2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by Autoconf 2.50.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
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 # Be Bourne compatible
11 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
18 # Name of the executable.
19 as_me=`echo "$0" |sed 's,.*[\\/],,'`
21 if expr a : '\(a\)' >/dev/null 2>&1; then
27 rm -f conf$$ conf$$.exe conf$$.file
29 if ln -s conf$$.file conf$$ 2>/dev/null; then
30 # We could just check for DJGPP; but this test a) works b) is more generic
31 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
32 if test -f conf$$.exe; then
33 # Don't use ln at all; we don't have any links
38 elif ln conf$$.file conf$$ 2>/dev/null; then
43 rm -f conf$$ conf$$.exe conf$$.file
45 as_executable_p="test -f"
47 # Support unset when possible.
48 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
55 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
56 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
57 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
58 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
59 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
60 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
61 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
62 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
65 # We need space, tab and new line, in precisely that order.
71 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
74 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
75 # so uname gets run too.
76 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
83 ac_default_prefix=/usr/local
87 SHELL=${CONFIG_SHELL-/bin/sh}
89 # Maximum number of lines to put in a shell here document.
90 # This variable seems obsolete. It should probably be removed, and
91 # only ac_max_sed_lines should be used.
92 : ${ac_max_here_lines=38}
94 # Avoid depending upon Character Ranges.
95 ac_cr_az='abcdefghijklmnopqrstuvwxyz'
96 ac_cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
98 ac_cr_alnum=$ac_cr_az$ac_cr_AZ$ac_cr_09
100 # Sed expression to map a string onto a valid sh and CPP variable names.
101 ac_tr_sh="sed y%*+%pp%;s%[^_$ac_cr_alnum]%_%g"
102 ac_tr_cpp="sed y%*$ac_cr_az%P$ac_cr_AZ%;s%[^_$ac_cr_alnum]%_%g"
104 ac_unique_file="ntpd/ntp_refclock.c"
105 # Factoring default headers for most tests.
106 ac_includes_default="\
108 #include <sys/types.h>
109 #include <sys/stat.h>
119 # if !STDC_HEADERS && HAVE_MEMORY_H
125 # include <strings.h>
129 # include <inttypes.h>
135 # Initialize some variables set by options.
137 ac_init_version=false
138 # The variables have the same names as the options, with
139 # dashes changed to underlines.
147 program_transform_name=s,x,x,
155 # Installation directory options.
156 # These are left unexpanded so users can "make install exec_prefix=/foo"
157 # and all the variables that are supposed to be based on exec_prefix
158 # by default will actually change.
159 # Use braces instead of parens because sh, perl, etc. also accept them.
160 bindir='${exec_prefix}/bin'
161 sbindir='${exec_prefix}/sbin'
162 libexecdir='${exec_prefix}/libexec'
163 datadir='${prefix}/share'
164 sysconfdir='${prefix}/etc'
165 sharedstatedir='${prefix}/com'
166 localstatedir='${prefix}/var'
167 libdir='${exec_prefix}/lib'
168 includedir='${prefix}/include'
169 oldincludedir='/usr/include'
170 infodir='${prefix}/info'
171 mandir='${prefix}/man'
173 # Identity of this package.
183 # If the previous option needs an argument, assign it.
184 if test -n "$ac_prev"; then
185 eval "$ac_prev=\$ac_option"
190 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
192 # Accept the important Cygnus configure options, so we can diagnose typos.
196 -bindir | --bindir | --bindi | --bind | --bin | --bi)
198 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
201 -build | --build | --buil | --bui | --bu)
202 ac_prev=build_alias ;;
203 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
204 build_alias=$ac_optarg ;;
206 -cache-file | --cache-file | --cache-fil | --cache-fi \
207 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
208 ac_prev=cache_file ;;
209 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
210 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
211 cache_file=$ac_optarg ;;
214 cache_file=config.cache ;;
216 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
218 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
220 datadir=$ac_optarg ;;
222 -disable-* | --disable-*)
223 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
224 # Reject names that are not valid shell variable names.
225 expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
226 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
227 { (exit 1); exit 1; }; }
228 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
229 eval "enable_$ac_feature=no" ;;
231 -enable-* | --enable-*)
232 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
233 # Reject names that are not valid shell variable names.
234 expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
235 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
236 { (exit 1); exit 1; }; }
237 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
239 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
242 eval "enable_$ac_feature='$ac_optarg'" ;;
244 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
245 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
246 | --exec | --exe | --ex)
247 ac_prev=exec_prefix ;;
248 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
249 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
250 | --exec=* | --exe=* | --ex=*)
251 exec_prefix=$ac_optarg ;;
253 -gas | --gas | --ga | --g)
254 # Obsolete; use --with-gas.
257 -help | --help | --hel | --he | -h)
259 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
260 ac_init_help=recursive ;;
261 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
262 ac_init_help=short ;;
264 -host | --host | --hos | --ho)
265 ac_prev=host_alias ;;
266 -host=* | --host=* | --hos=* | --ho=*)
267 host_alias=$ac_optarg ;;
269 -includedir | --includedir | --includedi | --included | --include \
270 | --includ | --inclu | --incl | --inc)
271 ac_prev=includedir ;;
272 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
273 | --includ=* | --inclu=* | --incl=* | --inc=*)
274 includedir=$ac_optarg ;;
276 -infodir | --infodir | --infodi | --infod | --info | --inf)
278 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
279 infodir=$ac_optarg ;;
281 -libdir | --libdir | --libdi | --libd)
283 -libdir=* | --libdir=* | --libdi=* | --libd=*)
286 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
287 | --libexe | --libex | --libe)
288 ac_prev=libexecdir ;;
289 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
290 | --libexe=* | --libex=* | --libe=*)
291 libexecdir=$ac_optarg ;;
293 -localstatedir | --localstatedir | --localstatedi | --localstated \
294 | --localstate | --localstat | --localsta | --localst \
295 | --locals | --local | --loca | --loc | --lo)
296 ac_prev=localstatedir ;;
297 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
298 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
299 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
300 localstatedir=$ac_optarg ;;
302 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
304 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
308 # Obsolete; use --without-fp.
311 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
315 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
316 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
319 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
320 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
321 | --oldin | --oldi | --old | --ol | --o)
322 ac_prev=oldincludedir ;;
323 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
324 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
325 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
326 oldincludedir=$ac_optarg ;;
328 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
330 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
333 -program-prefix | --program-prefix | --program-prefi | --program-pref \
334 | --program-pre | --program-pr | --program-p)
335 ac_prev=program_prefix ;;
336 -program-prefix=* | --program-prefix=* | --program-prefi=* \
337 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
338 program_prefix=$ac_optarg ;;
340 -program-suffix | --program-suffix | --program-suffi | --program-suff \
341 | --program-suf | --program-su | --program-s)
342 ac_prev=program_suffix ;;
343 -program-suffix=* | --program-suffix=* | --program-suffi=* \
344 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
345 program_suffix=$ac_optarg ;;
347 -program-transform-name | --program-transform-name \
348 | --program-transform-nam | --program-transform-na \
349 | --program-transform-n | --program-transform- \
350 | --program-transform | --program-transfor \
351 | --program-transfo | --program-transf \
352 | --program-trans | --program-tran \
353 | --progr-tra | --program-tr | --program-t)
354 ac_prev=program_transform_name ;;
355 -program-transform-name=* | --program-transform-name=* \
356 | --program-transform-nam=* | --program-transform-na=* \
357 | --program-transform-n=* | --program-transform-=* \
358 | --program-transform=* | --program-transfor=* \
359 | --program-transfo=* | --program-transf=* \
360 | --program-trans=* | --program-tran=* \
361 | --progr-tra=* | --program-tr=* | --program-t=*)
362 program_transform_name=$ac_optarg ;;
364 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
365 | -silent | --silent | --silen | --sile | --sil)
368 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
370 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
372 sbindir=$ac_optarg ;;
374 -sharedstatedir | --sharedstatedir | --sharedstatedi \
375 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
376 | --sharedst | --shareds | --shared | --share | --shar \
378 ac_prev=sharedstatedir ;;
379 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
380 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
381 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
383 sharedstatedir=$ac_optarg ;;
385 -site | --site | --sit)
387 -site=* | --site=* | --sit=*)
390 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
392 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
395 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
396 | --syscon | --sysco | --sysc | --sys | --sy)
397 ac_prev=sysconfdir ;;
398 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
399 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
400 sysconfdir=$ac_optarg ;;
402 -target | --target | --targe | --targ | --tar | --ta | --t)
403 ac_prev=target_alias ;;
404 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
405 target_alias=$ac_optarg ;;
407 -v | -verbose | --verbose | --verbos | --verbo | --verb)
410 -version | --version | --versio | --versi | --vers | -V)
414 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
415 # Reject names that are not valid shell variable names.
416 expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
417 { echo "$as_me: error: invalid package name: $ac_package" >&2
418 { (exit 1); exit 1; }; }
419 ac_package=`echo $ac_package| sed 's/-/_/g'`
421 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
424 eval "with_$ac_package='$ac_optarg'" ;;
426 -without-* | --without-*)
427 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
428 # Reject names that are not valid shell variable names.
429 expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
430 { echo "$as_me: error: invalid package name: $ac_package" >&2
431 { (exit 1); exit 1; }; }
432 ac_package=`echo $ac_package | sed 's/-/_/g'`
433 eval "with_$ac_package=no" ;;
436 # Obsolete; use --with-x.
439 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
440 | --x-incl | --x-inc | --x-in | --x-i)
441 ac_prev=x_includes ;;
442 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
443 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
444 x_includes=$ac_optarg ;;
446 -x-libraries | --x-libraries | --x-librarie | --x-librari \
447 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
448 ac_prev=x_libraries ;;
449 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
450 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
451 x_libraries=$ac_optarg ;;
453 -*) { echo "$as_me: error: unrecognized option: $ac_option
454 Try \`$0 --help' for more information." >&2
455 { (exit 1); exit 1; }; }
459 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
460 # Reject names that are not valid shell variable names.
461 expr "x$ac_envvar" : ".*[^_$ac_cr_alnum]" >/dev/null &&
462 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
463 { (exit 1); exit 1; }; }
464 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
465 eval "$ac_envvar='$ac_optarg'"
469 # FIXME: should be removed in autoconf 3.0.
470 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
471 expr "x$ac_option" : ".*[^-._$ac_cr_alnum]" >/dev/null &&
472 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
473 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
479 if test -n "$ac_prev"; then
480 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
481 { echo "$as_me: error: missing argument to $ac_option" >&2
482 { (exit 1); exit 1; }; }
485 # Be sure to have absolute paths.
486 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
487 localstatedir libdir includedir oldincludedir infodir mandir \
490 eval ac_val=$`echo $ac_var`
492 [\\/$]* | ?:[\\/]* ) ;;
494 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
495 { (exit 1); exit 1; }; };;
499 # There might be people who depend on the old broken behavior: `$host'
500 # used to hold the argument of --host etc.
505 # FIXME: should be removed in autoconf 3.0.
506 if test "x$host_alias" != x; then
507 if test "x$build_alias" = x; then
508 cross_compiling=maybe
509 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
510 If a cross compiler is detected then cross compile mode will be used." >&2
511 elif test "x$build_alias" != "x$host_alias"; then
517 test -n "$host_alias" && ac_tool_prefix=$host_alias-
519 test "$silent" = yes && exec 6>/dev/null
521 # Find the source files, if location was not specified.
522 if test -z "$srcdir"; then
523 ac_srcdir_defaulted=yes
524 # Try the directory containing this script, then its parent.
526 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
527 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
529 if test ! -r $srcdir/$ac_unique_file; then
533 ac_srcdir_defaulted=no
535 if test ! -r $srcdir/$ac_unique_file; then
536 if test "$ac_srcdir_defaulted" = yes; then
537 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
538 { (exit 1); exit 1; }; }
540 { echo "$as_me: error: cannot find sources in $srcdir" >&2
541 { (exit 1); exit 1; }; }
544 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
545 ac_env_build_alias_set=${build_alias+set}
546 ac_env_build_alias_value=$build_alias
547 ac_cv_env_build_alias_set=${build_alias+set}
548 ac_cv_env_build_alias_value=$build_alias
549 ac_env_host_alias_set=${host_alias+set}
550 ac_env_host_alias_value=$host_alias
551 ac_cv_env_host_alias_set=${host_alias+set}
552 ac_cv_env_host_alias_value=$host_alias
553 ac_env_target_alias_set=${target_alias+set}
554 ac_env_target_alias_value=$target_alias
555 ac_cv_env_target_alias_set=${target_alias+set}
556 ac_cv_env_target_alias_value=$target_alias
557 ac_env_CC_set=${CC+set}
559 ac_cv_env_CC_set=${CC+set}
560 ac_cv_env_CC_value=$CC
561 ac_env_CFLAGS_set=${CFLAGS+set}
562 ac_env_CFLAGS_value=$CFLAGS
563 ac_cv_env_CFLAGS_set=${CFLAGS+set}
564 ac_cv_env_CFLAGS_value=$CFLAGS
565 ac_env_LDFLAGS_set=${LDFLAGS+set}
566 ac_env_LDFLAGS_value=$LDFLAGS
567 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
568 ac_cv_env_LDFLAGS_value=$LDFLAGS
569 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
570 ac_env_CPPFLAGS_value=$CPPFLAGS
571 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
572 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
573 ac_env_CPP_set=${CPP+set}
574 ac_env_CPP_value=$CPP
575 ac_cv_env_CPP_set=${CPP+set}
576 ac_cv_env_CPP_value=$CPP
579 # Report the --help message.
581 if test "$ac_init_help" = "long"; then
582 # Omit some internal or obsolete options to make the list less imposing.
583 # This message is too long to be a string in the A/UX 3.1 sh.
585 \`configure' configures this package to adapt to many kinds of systems.
587 Usage: $0 [OPTION]... [VAR=VALUE]...
589 To assign environment variables (e.g., CC, CFLAGS...), specify them as
590 VAR=VALUE. See below for descriptions of some of the useful variables.
592 Defaults for the options are specified in brackets.
595 -h, --help display this help and exit
596 --help=short display options specific to this package
597 --help=recursive display the short help of all the included packages
598 -V, --version display version information and exit
599 -q, --quiet, --silent do not print \`checking...' messages
600 --cache-file=FILE cache test results in FILE [disabled]
601 -C, --config-cache alias for \`--cache-file=config.cache'
602 -n, --no-create do not create output files
603 --srcdir=DIR find the sources in DIR [configure dir or \`..']
608 Installation directories:
609 --prefix=PREFIX install architecture-independent files in PREFIX
611 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
614 By default, \`make install' will install all the files in
615 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
616 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
617 for instance \`--prefix=\$HOME'.
619 For better control, use the options below.
621 Fine tuning of the installation directories:
622 --bindir=DIR user executables [EPREFIX/bin]
623 --sbindir=DIR system admin executables [EPREFIX/sbin]
624 --libexecdir=DIR program executables [EPREFIX/libexec]
625 --datadir=DIR read-only architecture-independent data [PREFIX/share]
626 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
627 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
628 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
629 --libdir=DIR object code libraries [EPREFIX/lib]
630 --includedir=DIR C header files [PREFIX/include]
631 --oldincludedir=DIR C header files for non-gcc [/usr/include]
632 --infodir=DIR info documentation [PREFIX/info]
633 --mandir=DIR man documentation [PREFIX/man]
639 --program-prefix=PREFIX prepend PREFIX to installed program names
640 --program-suffix=SUFFIX append SUFFIX to installed program names
641 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
644 --build=BUILD configure for building on BUILD [guessed]
645 --host=HOST build programs to run on HOST [BUILD]
646 --target=TARGET configure for building compilers for TARGET [HOST]
650 if test -n "$ac_init_help"; then
655 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
656 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
657 --disable-dependency-tracking Speeds up one-time builds
658 --enable-dependency-tracking Do not reject slow dependency extractors
659 --enable-debugging + include debugging code
660 --enable-dst-minutes=60 + minutes per DST adjustment
661 --enable-HOPFSERIAL + hopf serial clock device
662 --enable-HOPFPCI + hopf 6039 PCI board
663 --enable-BANCOMM - Datum/Bancomm bc635/VME interface
664 --enable-GPSVME - TrueTime GPS receiver/VME interface
665 --enable-SHM - SHM clock attached thru shared memory
666 --enable-all-clocks + include all suitable non-PARSE clocks:
667 --enable-ACTS + ACTS modem service
668 --enable-ARBITER + Arbiter 1088A/B GPS receiver
669 --enable-ARCRON-MSF + Arcron MSF receiver
670 --enable-ATOM s ATOM PPS interface
671 --enable-AS2201 + Austron 2200A/2201A GPS receiver
672 --enable-CHU - CHU modem/decoder
673 --enable-AUDIO-CHU s CHU audio/decoder
674 --enable-DATUM s Datum Programmable Time System
675 --enable-FG + Forum Graphic GPS
676 --enable-HEATH s Heath GC-1000 WWV/WWVH receiver
677 --enable-HPGPS + HP 58503A GPS receiver
678 --enable-IRIG s Sun IRIG audio decoder
679 --enable-LEITCH + Leitch CSD 5300 Master Clock System Driver
680 --enable-LOCAL-CLOCK + local clock reference
681 --enable-MSFEES + EES M201 MSF receiver
682 --enable-MX4200 s Magnavox MX4200 GPS receiver
683 --enable-NMEA + NMEA GPS receiver
684 --enable-ONCORE s Motorola VP/UT Oncore GPS receiver
685 --enable-PALISADE + Palisade clock
686 --enable-PST + PST/Traconex 1020 WWV/WWVH receiver
687 --enable-JUPITER s Rockwell Jupiter GPS receiver
688 --enable-PTBACTS s PTB modem service
689 --enable-TPRO s KSI/Odetics TPRO/S GPS receiver/IRIG interface
690 --enable-TRAK + TRAK 8810 GPS receiver
691 --enable-CHRONOLOG + Chrono-log K-series WWVB receiver
692 --enable-DUMBCLOCK + Dumb generic hh:mm:ss local clock
693 --enable-PCF + Conrad parallel port radio clock
694 --enable-SPECTRACOM + Spectracom 8170/Netclock/2 WWVB receiver
695 --enable-TRUETIME s Kinemetrics/TrueTime receivers
696 --enable-ULINK + Ultralink WWVB receiver
697 --enable-WWV + WWV Audio receiver
698 --enable-USNO s USNO modem service
699 --enable-parse-clocks - include all suitable PARSE clocks:
700 --enable-COMPUTIME s Diem Computime Radio Clock
701 --enable-DCF7000 s ELV/DCF7000 clock
702 --enable-HOPF6021 s HOPF 6021 clock
703 --enable-MEINBERG s Meinberg clocks
704 --enable-RAWDCF s DCF77 raw time code
705 --enable-RCC8000 s RCC 8000 clock
706 --enable-SCHMID s Schmid DCF77 clock
707 --enable-TRIMTAIP s Trimble GPS receiver/TAIP protocol
708 --enable-TRIMTSIP s Trimble GPS receiver/TSIP protocol
709 --enable-WHARTON s WHARTON 400A Series clock
710 --enable-VARITEXT s VARITEXT clock
711 --enable-kmem s read /dev/kmem for tick and/or tickadj
712 --enable-accurate-adjtime
713 s the adjtime() call is accurate
714 --enable-tick=VALUE s force a value for 'tick'
715 --enable-tickadj=VALUE s force a value for 'tickadj'
716 --enable-udp-wildcard s use UDP wildcard delivery
717 --enable-slew-always s always slew the time
718 --enable-step-slew s step and slew the time
719 --enable-ntpdate-step s if ntpdate should step the time
720 --enable-hourly-todr-sync
721 s if we should sync TODR hourly
722 --enable-kernel-fll-bug s if we should avoid a kernel FLL bug
725 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
726 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
727 --with-openssl-libdir + =/something/reasonable
728 --with-openssl-incdir + =/something/reasonable
729 --with-crypto + ={autokey,rsaref}
730 --with-electricfence - compile with ElectricFence malloc debugger
732 Some influential environment variables:
733 CC C compiler command
734 CFLAGS C compiler flags
735 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
736 nonstandard directory <lib dir>
737 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
738 headers in a nonstandard directory <include dir>
741 Use these variables to override the choices made by `configure' or to help
742 it to find libraries and programs with nonstandard names/locations.
747 if test "$ac_init_help" = "recursive"; then
748 # If there are subdirs, report their specific --help.
750 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
752 # A "../" for each directory in /$ac_subdir.
753 ac_dots=`echo $ac_subdir |
754 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
757 .) # No --srcdir option. We are building in place.
758 ac_sub_srcdir=$srcdir ;;
759 [\\/]* | ?:[\\/]* ) # Absolute path.
760 ac_sub_srcdir=$srcdir/$ac_subdir ;;
762 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
765 # Check for guested configure; otherwise get Cygnus style configure.
766 if test -f $ac_sub_srcdir/configure.gnu; then
768 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
769 elif test -f $ac_sub_srcdir/configure; then
771 $SHELL $ac_sub_srcdir/configure --help=recursive
772 elif test -f $ac_sub_srcdir/configure.ac ||
773 test -f $ac_sub_srcdir/configure.in; then
777 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
783 test -n "$ac_init_help" && exit 0
784 if $ac_init_version; then
787 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
788 Free Software Foundation, Inc.
789 This configure script is free software; the Free Software Foundation
790 gives unlimited permission to copy, distribute and modify it.
796 This file contains any messages produced by compilers while
797 running configure, to aid debugging if configure makes a mistake.
799 It was created by $as_me, which was
800 generated by GNU Autoconf 2.50. Invocation command line was
811 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
812 uname -m = `(uname -m) 2>/dev/null || echo unknown`
813 uname -r = `(uname -r) 2>/dev/null || echo unknown`
814 uname -s = `(uname -s) 2>/dev/null || echo unknown`
815 uname -v = `(uname -v) 2>/dev/null || echo unknown`
817 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
818 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
820 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
821 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
822 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
823 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
824 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
825 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
826 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
840 # Keep a trace of the command line.
841 # Strip out --no-create and --no-recursion so they do not pile up.
842 # Also quote any args containing shell meta-characters.
848 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
849 | --no-cr | --no-c) ;;
850 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
851 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
852 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
853 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
854 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
856 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
859 # Get rid of the leading space.
862 # When interrupted or exit'd, cleanup temporary files, and complete
863 # config.log. We remove comments because anyway the quotes in there
864 # would cause problems or look ugly.
866 # Save into config.log some information that might help in debugging.
868 echo "## ----------------- ##" >&5
869 echo "## Cache variables. ##" >&5
870 echo "## ----------------- ##" >&5
872 # The following way of writing the cache mishandles newlines in values,
875 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
878 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
879 s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
883 "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
887 sed "/^$/d" confdefs.h >conftest.log
888 if test -s conftest.log; then
890 echo "## ------------ ##" >&5
891 echo "## confdefs.h. ##" >&5
892 echo "## ------------ ##" >&5
897 test "$ac_signal" != 0 &&
898 echo "$as_me: caught signal $ac_signal" >&5
899 echo "$as_me: exit $exit_status" >&5
900 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
903 for ac_signal in 1 2 13 15; do
904 trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal
908 # confdefs.h avoids OS command line length limits that DEFS can exceed.
909 rm -rf conftest* confdefs.h
910 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
913 # Let the site file select an alternate cache file if it wants to.
914 # Prefer explicitly selected file to automatically selected ones.
915 if test -z "$CONFIG_SITE"; then
916 if test "x$prefix" != xNONE; then
917 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
919 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
922 for ac_site_file in $CONFIG_SITE; do
923 if test -r "$ac_site_file"; then
924 { echo "$as_me:924: loading site script $ac_site_file" >&5
925 echo "$as_me: loading site script $ac_site_file" >&6;}
926 cat "$ac_site_file" >&5
931 if test -r "$cache_file"; then
932 # Some versions of bash will fail to source /dev/null (special
933 # files actually), so we avoid doing that.
934 if test -f "$cache_file"; then
935 { echo "$as_me:935: loading cache $cache_file" >&5
936 echo "$as_me: loading cache $cache_file" >&6;}
938 [\\/]* | ?:[\\/]* ) . $cache_file;;
943 { echo "$as_me:943: creating cache $cache_file" >&5
944 echo "$as_me: creating cache $cache_file" >&6;}
948 # Check that the precious variables saved in the cache have kept the same
950 ac_suggest_removing_cache=false
951 for ac_var in `(set) 2>&1 |
952 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
953 eval ac_old_set=\$ac_cv_env_${ac_var}_set
954 eval ac_new_set=\$ac_env_${ac_var}_set
955 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
956 eval ac_new_val="\$ac_env_${ac_var}_value"
957 case $ac_old_set,$ac_new_set in
959 { echo "$as_me:959: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
960 echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
961 ac_suggest_removing_cache=: ;;
963 { echo "$as_me:963: WARNING: \`$ac_var' was not set in the previous run" >&5
964 echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;}
965 ac_suggest_removing_cache=: ;;
968 if test "x$ac_old_val" != "x$ac_new_val"; then
969 { echo "$as_me:969: WARNING: \`$ac_var' has changed since the previous run:" >&5
970 echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;}
971 { echo "$as_me:971: WARNING: former value: $ac_old_val" >&5
972 echo "$as_me: WARNING: former value: $ac_old_val" >&2;}
973 { echo "$as_me:973: WARNING: current value: $ac_new_val" >&5
974 echo "$as_me: WARNING: current value: $ac_new_val" >&2;}
975 ac_suggest_removing_cache=:
979 if $ac_suggest_removing_cache; then
980 { echo "$as_me:980: WARNING: changes in the environment can compromise the build" >&5
981 echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;}
982 { echo "$as_me:982: WARNING: consider removing $cache_file and starting over" >&5
983 echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;}
987 ac_cpp='$CPP $CPPFLAGS'
988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
992 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
993 *c*,-n*) ECHO_N= ECHO_C='
995 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
996 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
998 echo "#! $SHELL" >conftest.sh
999 echo "exit 0" >>conftest.sh
1000 chmod +x conftest.sh
1001 if { (echo "$as_me:1001: PATH=\".;.\"; conftest.sh") >&5
1002 (PATH=".;."; conftest.sh) 2>&5
1004 echo "$as_me:1004: \$? = $ac_status" >&5
1005 (exit $ac_status); }; then
1006 ac_path_separator=';'
1010 PATH_SEPARATOR="$ac_path_separator"
1014 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1015 if test -f $ac_dir/install-sh; then
1017 ac_install_sh="$ac_aux_dir/install-sh -c"
1019 elif test -f $ac_dir/install.sh; then
1021 ac_install_sh="$ac_aux_dir/install.sh -c"
1023 elif test -f $ac_dir/shtool; then
1025 ac_install_sh="$ac_aux_dir/shtool install -c"
1029 if test -z "$ac_aux_dir"; then
1030 { { echo "$as_me:1030: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1031 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1032 { (exit 1); exit 1; }; }
1034 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1035 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1036 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1038 # Make sure we can run config.sub.
1039 $ac_config_sub sun4 >/dev/null 2>&1 ||
1040 { { echo "$as_me:1040: error: cannot run $ac_config_sub" >&5
1041 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1042 { (exit 1); exit 1; }; }
1044 echo "$as_me:1044: checking build system type" >&5
1045 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1046 if test "${ac_cv_build+set}" = set; then
1047 echo $ECHO_N "(cached) $ECHO_C" >&6
1049 ac_cv_build_alias=$build_alias
1050 test -z "$ac_cv_build_alias" &&
1051 ac_cv_build_alias=`$ac_config_guess`
1052 test -z "$ac_cv_build_alias" &&
1053 { { echo "$as_me:1053: error: cannot guess build type; you must specify one" >&5
1054 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1055 { (exit 1); exit 1; }; }
1056 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1057 { { echo "$as_me:1057: error: $ac_config_sub $ac_cv_build_alias failed." >&5
1058 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
1059 { (exit 1); exit 1; }; }
1062 echo "$as_me:1062: result: $ac_cv_build" >&5
1063 echo "${ECHO_T}$ac_cv_build" >&6
1065 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1066 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1067 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1069 echo "$as_me:1069: checking host system type" >&5
1070 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1071 if test "${ac_cv_host+set}" = set; then
1072 echo $ECHO_N "(cached) $ECHO_C" >&6
1074 ac_cv_host_alias=$host_alias
1075 test -z "$ac_cv_host_alias" &&
1076 ac_cv_host_alias=$ac_cv_build_alias
1077 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1078 { { echo "$as_me:1078: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1079 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1080 { (exit 1); exit 1; }; }
1083 echo "$as_me:1083: result: $ac_cv_host" >&5
1084 echo "${ECHO_T}$ac_cv_host" >&6
1086 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1087 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1088 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1090 echo "$as_me:1090: checking target system type" >&5
1091 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1092 if test "${ac_cv_target+set}" = set; then
1093 echo $ECHO_N "(cached) $ECHO_C" >&6
1095 ac_cv_target_alias=$target_alias
1096 test "x$ac_cv_target_alias" = "x" &&
1097 ac_cv_target_alias=$ac_cv_host_alias
1098 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1099 { { echo "$as_me:1099: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1100 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1101 { (exit 1); exit 1; }; }
1104 echo "$as_me:1104: result: $ac_cv_target" >&5
1105 echo "${ECHO_T}$ac_cv_target" >&6
1106 target=$ac_cv_target
1107 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1108 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1109 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1111 # The aliases save the names the user supplied, while $host etc.
1112 # will get canonicalized.
1113 test -n "$target_alias" &&
1114 test "$program_prefix$program_suffix$program_transform_name" = \
1116 program_prefix=${target_alias}-
1117 cat >>confdefs.h <<EOF
1118 #define STR_SYSTEM "$target"
1121 ac_config_headers="$ac_config_headers config.h"
1123 ac_config_commands="$ac_config_commands default-1"
1125 if test "$program_transform_name" = s,x,x,; then
1126 program_transform_name=
1128 # Double any \ or $. echo might interpret backslashes.
1129 cat <<\EOF >conftest.sed
1130 s,\\,\\\\,g; s,\$,$$,g
1132 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1135 test "$program_prefix" != NONE &&
1136 program_transform_name="s,^,${program_prefix},;$program_transform_name"
1137 # Use a double $ so make ignores it.
1138 test "$program_suffix" != NONE &&
1139 program_transform_name="s,\$\$,${program_suffix},;$program_transform_name"
1141 # sed with no file args requires a program.
1142 test -z "$program_transform_name" && program_transform_name="s,x,x,"
1144 # Find a good install program. We prefer a C program (faster),
1145 # so one script is as good as another. But avoid the broken or
1146 # incompatible versions:
1147 # SysV /etc/install, /usr/sbin/install
1148 # SunOS /usr/etc/install
1149 # IRIX /sbin/install
1151 # AmigaOS /C/install, which installs bootblocks on floppy discs
1152 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1153 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1154 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1155 # ./install, which can be erroneously created by make from ./install.sh.
1156 echo "$as_me:1156: checking for a BSD compatible install" >&5
1157 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
1158 if test -z "$INSTALL"; then
1159 if test "${ac_cv_path_install+set}" = set; then
1160 echo $ECHO_N "(cached) $ECHO_C" >&6
1162 ac_save_IFS=$IFS; IFS=$ac_path_separator
1163 for ac_dir in $PATH; do
1165 # Account for people who put trailing slashes in PATH elements.
1167 / | ./ | .// | /cC/* \
1168 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
1171 # OSF1 and SCO ODT 3.0 have their own names for install.
1172 # Don't use installbsd from OSF since it installs stuff as root
1174 for ac_prog in ginstall scoinst install; do
1175 if $as_executable_p "$ac_dir/$ac_prog"; then
1176 if test $ac_prog = install &&
1177 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1178 # AIX install. It has an incompatible calling convention.
1180 elif test $ac_prog = install &&
1181 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1182 # program-specific install script used by HP pwplus--don't use.
1185 ac_cv_path_install="$ac_dir/$ac_prog -c"
1195 if test "${ac_cv_path_install+set}" = set; then
1196 INSTALL=$ac_cv_path_install
1198 # As a last resort, use the slow shell script. We don't cache a
1199 # path for INSTALL within a source directory, because that will
1200 # break other packages using the cache if that directory is
1201 # removed, or if the path is relative.
1202 INSTALL=$ac_install_sh
1205 echo "$as_me:1205: result: $INSTALL" >&5
1206 echo "${ECHO_T}$INSTALL" >&6
1208 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1209 # It thinks the first close brace ends the variable substitution.
1210 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1212 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1214 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1216 echo "$as_me:1216: checking whether build environment is sane" >&5
1217 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1220 echo timestamp > conftest.file
1221 # Do `set' in a subshell so we don't clobber the current shell's
1222 # arguments. Must try -L first in case configure is actually a
1223 # symlink; some systems play weird games with the mod time of symlinks
1224 # (eg FreeBSD returns the mod time of the symlink's containing
1227 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1228 if test "$*" = "X"; then
1230 set X `ls -t $srcdir/configure conftest.file`
1232 if test "$*" != "X $srcdir/configure conftest.file" \
1233 && test "$*" != "X conftest.file $srcdir/configure"; then
1235 # If neither matched, then we have a broken ls. This can happen
1236 # if, for instance, CONFIG_SHELL is bash and it inherits a
1237 # broken ls alias from the environment. This has actually
1238 # happened. Such a system could not be considered "sane".
1239 { { echo "$as_me:1239: error: ls -t appears to fail. Make sure there is not a broken
1240 alias in your environment" >&5
1241 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1242 alias in your environment" >&2;}
1243 { (exit 1); exit 1; }; }
1246 test "$2" = conftest.file
1252 { { echo "$as_me:1252: error: newly created file is older than distributed files!
1253 Check your system clock" >&5
1254 echo "$as_me: error: newly created file is older than distributed files!
1255 Check your system clock" >&2;}
1256 { (exit 1); exit 1; }; }
1259 echo "$as_me:1259: result: yes" >&5
1260 echo "${ECHO_T}yes" >&6
1261 test x"${MISSING+set}" = xset ||
1262 MISSING="\${SHELL} `CDPATH=:; cd $ac_aux_dir && pwd`/missing"
1263 # Use eval to expand $SHELL
1264 if eval "$MISSING --run :"; then
1265 am_missing_run="$MISSING --run "
1269 { echo "$as_me:1269: WARNING: ${am_backtick}missing' script is too old or missing" >&5
1270 echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
1273 for ac_prog in mawk gawk nawk awk
1275 # Extract the first word of "$ac_prog", so it can be a program name with args.
1276 set dummy $ac_prog; ac_word=$2
1277 echo "$as_me:1277: checking for $ac_word" >&5
1278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1279 if test "${ac_cv_prog_AWK+set}" = set; then
1280 echo $ECHO_N "(cached) $ECHO_C" >&6
1282 if test -n "$AWK"; then
1283 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1285 ac_save_IFS=$IFS; IFS=$ac_path_separator
1287 for ac_dir in $ac_dummy; do
1289 test -z "$ac_dir" && ac_dir=.
1290 $as_executable_p "$ac_dir/$ac_word" || continue
1291 ac_cv_prog_AWK="$ac_prog"
1292 echo "$as_me:1292: found $ac_dir/$ac_word" >&5
1299 if test -n "$AWK"; then
1300 echo "$as_me:1300: result: $AWK" >&5
1301 echo "${ECHO_T}$AWK" >&6
1303 echo "$as_me:1303: result: no" >&5
1304 echo "${ECHO_T}no" >&6
1307 test -n "$AWK" && break
1310 echo "$as_me:1310: checking whether ${MAKE-make} sets \${MAKE}" >&5
1311 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1312 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1313 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1314 echo $ECHO_N "(cached) $ECHO_C" >&6
1316 cat >conftest.make <<\EOF
1318 @echo 'ac_maketemp="${MAKE}"'
1320 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1321 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1322 if test -n "$ac_maketemp"; then
1323 eval ac_cv_prog_make_${ac_make}_set=yes
1325 eval ac_cv_prog_make_${ac_make}_set=no
1329 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1330 echo "$as_me:1330: result: yes" >&5
1331 echo "${ECHO_T}yes" >&6
1334 echo "$as_me:1334: result: no" >&5
1335 echo "${ECHO_T}no" >&6
1336 SET_MAKE="MAKE=${MAKE-make}"
1339 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1340 if test "${enable_dependency_tracking+set}" = set; then
1341 enableval="$enable_dependency_tracking"
1344 if test "x$enable_dependency_tracking" = xno; then
1347 am_depcomp="$ac_aux_dir/depcomp"
1348 if test ! -f "$am_depcomp"; then
1355 if test -z "$AMDEP"; then
1361 if test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then
1363 # We redirect because .deps might already exist and be populated.
1364 # In this situation we don't want to see an error.
1365 rmdir .deps > /dev/null 2>&1
1370 # test to see if srcdir already configured
1371 if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
1372 test -f $srcdir/config.status; then
1373 { { echo "$as_me:1373: error: source directory already configured; run \"make distclean\" there first" >&5
1374 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1375 { (exit 1); exit 1; }; }
1378 # Define the identity of the package.
1382 cat >>confdefs.h <<EOF
1383 #define PACKAGE "$PACKAGE"
1386 cat >>confdefs.h <<EOF
1387 #define VERSION "$VERSION"
1390 # Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
1391 # the ones we care about.
1393 # Some tools Automake needs.
1395 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
1397 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1399 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
1401 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1403 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1405 AMTAR=${AMTAR-"${am_missing_run}tar"}
1407 if test -z "$install_sh"; then
1408 for install_sh in "$ac_aux_dir/install-sh" \
1409 "$ac_aux_dir/install.sh" \
1410 "${am_missing_run}${ac_auxdir}/install-sh";
1412 test -f "$install_sh" && break
1414 # FIXME: an evil hack: we remove the SHELL invocation from
1415 # install_sh because automake adds it back in. Sigh.
1416 install_sh=`echo $install_sh | sed -e 's/\${SHELL}//'`
1419 # We'd like to do this but we can't because it will unconditionally
1420 # require config.guess. One way would be if autoconf had the capability
1421 # to let us compile in this code only when config.guess was already
1423 #if test "$cross_compiling" != no; then
1424 # # since we are cross-compiling, we need to check for a suitable `strip'
1426 # if test -z "$STRIP"; then
1427 # AC_MSG_WARN([strip missing, install-strip will not strip binaries])
1431 # If $STRIP is defined (either by the user, or by AM_PROG_STRIP),
1432 # instruct install-strip to use install-sh and the given $STRIP program.
1433 # Otherwise, just use ${INSTALL}: the idea is to use the vendor install
1434 # as much as possible, because it's faster.
1435 if test -z "$STRIP"; then
1436 # The top level make will set INSTALL_PROGRAM=$(INSTALL_STRIP_PROGRAM)
1437 # and the double dolard below is there to make sure that ${INSTALL}
1438 # is substitued in the sub-makes, not at the top-level; this is
1439 # needed if ${INSTALL} is a relative path (ajusted in each subdirectory
1440 # by config.status).
1441 INSTALL_STRIP_PROGRAM='$${INSTALL} -s'
1442 INSTALL_STRIP_PROGRAM_ENV=''
1444 _am_dirpart="`echo $install_sh | sed -e 's,//*[^/]*$,,'`"
1445 INSTALL_STRIP_PROGRAM="\${SHELL} \`CDPATH=: && cd $_am_dirpart && pwd\`/install-sh -c -s"
1446 INSTALL_STRIP_PROGRAM_ENV="STRIPPROG='\$(STRIP)'"
1449 # We need awk for the "check" target. The system "awk" is bad on
1452 ac_cv_var_oncore_ok=no
1453 ac_cv_var_atom_ok=no
1458 ac_cpp='$CPP $CPPFLAGS'
1459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1462 if test -n "$ac_tool_prefix"; then
1463 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1464 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1465 echo "$as_me:1465: checking for $ac_word" >&5
1466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1467 if test "${ac_cv_prog_CC+set}" = set; then
1468 echo $ECHO_N "(cached) $ECHO_C" >&6
1470 if test -n "$CC"; then
1471 ac_cv_prog_CC="$CC" # Let the user override the test.
1473 ac_save_IFS=$IFS; IFS=$ac_path_separator
1475 for ac_dir in $ac_dummy; do
1477 test -z "$ac_dir" && ac_dir=.
1478 $as_executable_p "$ac_dir/$ac_word" || continue
1479 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1480 echo "$as_me:1480: found $ac_dir/$ac_word" >&5
1487 if test -n "$CC"; then
1488 echo "$as_me:1488: result: $CC" >&5
1489 echo "${ECHO_T}$CC" >&6
1491 echo "$as_me:1491: result: no" >&5
1492 echo "${ECHO_T}no" >&6
1496 if test -z "$ac_cv_prog_CC"; then
1498 # Extract the first word of "gcc", so it can be a program name with args.
1499 set dummy gcc; ac_word=$2
1500 echo "$as_me:1500: checking for $ac_word" >&5
1501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1502 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1503 echo $ECHO_N "(cached) $ECHO_C" >&6
1505 if test -n "$ac_ct_CC"; then
1506 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1508 ac_save_IFS=$IFS; IFS=$ac_path_separator
1510 for ac_dir in $ac_dummy; do
1512 test -z "$ac_dir" && ac_dir=.
1513 $as_executable_p "$ac_dir/$ac_word" || continue
1514 ac_cv_prog_ac_ct_CC="gcc"
1515 echo "$as_me:1515: found $ac_dir/$ac_word" >&5
1521 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1522 if test -n "$ac_ct_CC"; then
1523 echo "$as_me:1523: result: $ac_ct_CC" >&5
1524 echo "${ECHO_T}$ac_ct_CC" >&6
1526 echo "$as_me:1526: result: no" >&5
1527 echo "${ECHO_T}no" >&6
1535 if test -z "$CC"; then
1536 if test -n "$ac_tool_prefix"; then
1537 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1538 set dummy ${ac_tool_prefix}cc; ac_word=$2
1539 echo "$as_me:1539: checking for $ac_word" >&5
1540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1541 if test "${ac_cv_prog_CC+set}" = set; then
1542 echo $ECHO_N "(cached) $ECHO_C" >&6
1544 if test -n "$CC"; then
1545 ac_cv_prog_CC="$CC" # Let the user override the test.
1547 ac_save_IFS=$IFS; IFS=$ac_path_separator
1549 for ac_dir in $ac_dummy; do
1551 test -z "$ac_dir" && ac_dir=.
1552 $as_executable_p "$ac_dir/$ac_word" || continue
1553 ac_cv_prog_CC="${ac_tool_prefix}cc"
1554 echo "$as_me:1554: found $ac_dir/$ac_word" >&5
1561 if test -n "$CC"; then
1562 echo "$as_me:1562: result: $CC" >&5
1563 echo "${ECHO_T}$CC" >&6
1565 echo "$as_me:1565: result: no" >&5
1566 echo "${ECHO_T}no" >&6
1570 if test -z "$ac_cv_prog_CC"; then
1572 # Extract the first word of "cc", so it can be a program name with args.
1573 set dummy cc; ac_word=$2
1574 echo "$as_me:1574: checking for $ac_word" >&5
1575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1576 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1577 echo $ECHO_N "(cached) $ECHO_C" >&6
1579 if test -n "$ac_ct_CC"; then
1580 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1582 ac_save_IFS=$IFS; IFS=$ac_path_separator
1584 for ac_dir in $ac_dummy; do
1586 test -z "$ac_dir" && ac_dir=.
1587 $as_executable_p "$ac_dir/$ac_word" || continue
1588 ac_cv_prog_ac_ct_CC="cc"
1589 echo "$as_me:1589: found $ac_dir/$ac_word" >&5
1595 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1596 if test -n "$ac_ct_CC"; then
1597 echo "$as_me:1597: result: $ac_ct_CC" >&5
1598 echo "${ECHO_T}$ac_ct_CC" >&6
1600 echo "$as_me:1600: result: no" >&5
1601 echo "${ECHO_T}no" >&6
1610 if test -z "$CC"; then
1611 # Extract the first word of "cc", so it can be a program name with args.
1612 set dummy cc; ac_word=$2
1613 echo "$as_me:1613: checking for $ac_word" >&5
1614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1615 if test "${ac_cv_prog_CC+set}" = set; then
1616 echo $ECHO_N "(cached) $ECHO_C" >&6
1618 if test -n "$CC"; then
1619 ac_cv_prog_CC="$CC" # Let the user override the test.
1622 ac_save_IFS=$IFS; IFS=$ac_path_separator
1624 for ac_dir in $ac_dummy; do
1626 test -z "$ac_dir" && ac_dir=.
1627 $as_executable_p "$ac_dir/$ac_word" || continue
1628 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1629 ac_prog_rejected=yes
1633 echo "$as_me:1633: found $ac_dir/$ac_word" >&5
1637 if test $ac_prog_rejected = yes; then
1638 # We found a bogon in the path, so make sure we never use it.
1639 set dummy $ac_cv_prog_CC
1641 if test $# != 0; then
1642 # We chose a different compiler from the bogus one.
1643 # However, it has the same basename, so the bogon will be chosen
1644 # first if we set CC to just the basename; use the full file name.
1646 set dummy "$ac_dir/$ac_word" ${1+"$@"}
1654 if test -n "$CC"; then
1655 echo "$as_me:1655: result: $CC" >&5
1656 echo "${ECHO_T}$CC" >&6
1658 echo "$as_me:1658: result: no" >&5
1659 echo "${ECHO_T}no" >&6
1663 if test -z "$CC"; then
1664 if test -n "$ac_tool_prefix"; then
1667 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1668 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1669 echo "$as_me:1669: checking for $ac_word" >&5
1670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1671 if test "${ac_cv_prog_CC+set}" = set; then
1672 echo $ECHO_N "(cached) $ECHO_C" >&6
1674 if test -n "$CC"; then
1675 ac_cv_prog_CC="$CC" # Let the user override the test.
1677 ac_save_IFS=$IFS; IFS=$ac_path_separator
1679 for ac_dir in $ac_dummy; do
1681 test -z "$ac_dir" && ac_dir=.
1682 $as_executable_p "$ac_dir/$ac_word" || continue
1683 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1684 echo "$as_me:1684: found $ac_dir/$ac_word" >&5
1691 if test -n "$CC"; then
1692 echo "$as_me:1692: result: $CC" >&5
1693 echo "${ECHO_T}$CC" >&6
1695 echo "$as_me:1695: result: no" >&5
1696 echo "${ECHO_T}no" >&6
1699 test -n "$CC" && break
1702 if test -z "$CC"; then
1706 # Extract the first word of "$ac_prog", so it can be a program name with args.
1707 set dummy $ac_prog; ac_word=$2
1708 echo "$as_me:1708: checking for $ac_word" >&5
1709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1710 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1711 echo $ECHO_N "(cached) $ECHO_C" >&6
1713 if test -n "$ac_ct_CC"; then
1714 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1716 ac_save_IFS=$IFS; IFS=$ac_path_separator
1718 for ac_dir in $ac_dummy; do
1720 test -z "$ac_dir" && ac_dir=.
1721 $as_executable_p "$ac_dir/$ac_word" || continue
1722 ac_cv_prog_ac_ct_CC="$ac_prog"
1723 echo "$as_me:1723: found $ac_dir/$ac_word" >&5
1729 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1730 if test -n "$ac_ct_CC"; then
1731 echo "$as_me:1731: result: $ac_ct_CC" >&5
1732 echo "${ECHO_T}$ac_ct_CC" >&6
1734 echo "$as_me:1734: result: no" >&5
1735 echo "${ECHO_T}no" >&6
1738 test -n "$ac_ct_CC" && break
1746 test -z "$CC" && { { echo "$as_me:1746: error: no acceptable cc found in \$PATH" >&5
1747 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1748 { (exit 1); exit 1; }; }
1750 cat >conftest.$ac_ext <<_ACEOF
1751 #line 1751 "configure"
1752 #include "confdefs.h"
1762 ac_clean_files_save=$ac_clean_files
1763 ac_clean_files="$ac_clean_files a.out a.exe"
1764 # Try to create an executable without -o first, disregard a.out.
1765 # It will help us diagnose broken compiler, and finding out an intuition
1767 echo "$as_me:1767: checking for C compiler default output" >&5
1768 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1769 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1770 if { (eval echo "$as_me:1770: \"$ac_link_default\"") >&5
1771 (eval $ac_link_default) 2>&5
1773 echo "$as_me:1773: \$? = $ac_status" >&5
1774 (exit $ac_status); }; then
1775 for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do
1777 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1778 a.out ) # We found the default executable, but exeext='' is most
1781 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1788 echo "$as_me: failed program was:" >&5
1789 cat conftest.$ac_ext >&5
1790 { { echo "$as_me:1790: error: C compiler cannot create executables" >&5
1791 echo "$as_me: error: C compiler cannot create executables" >&2;}
1792 { (exit 77); exit 77; }; }
1795 ac_exeext=$ac_cv_exeext
1796 echo "$as_me:1796: result: $ac_file" >&5
1797 echo "${ECHO_T}$ac_file" >&6
1799 # Check the compiler produces executables we can run. If not, either
1800 # the compiler is broken, or we cross compile.
1801 echo "$as_me:1801: checking whether the C compiler works" >&5
1802 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1803 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1804 # If not cross compiling, check that we can run a simple program.
1805 if test "$cross_compiling" != yes; then
1806 if { ac_try='./$ac_file'
1807 { (eval echo "$as_me:1807: \"$ac_try\"") >&5
1810 echo "$as_me:1810: \$? = $ac_status" >&5
1811 (exit $ac_status); }; }; then
1814 if test "$cross_compiling" = maybe; then
1817 { { echo "$as_me:1817: error: cannot run C compiled programs.
1818 If you meant to cross compile, use \`--host'." >&5
1819 echo "$as_me: error: cannot run C compiled programs.
1820 If you meant to cross compile, use \`--host'." >&2;}
1821 { (exit 1); exit 1; }; }
1825 echo "$as_me:1825: result: yes" >&5
1826 echo "${ECHO_T}yes" >&6
1828 rm -f a.out a.exe conftest$ac_cv_exeext
1829 ac_clean_files=$ac_clean_files_save
1830 # Check the compiler produces executables we can run. If not, either
1831 # the compiler is broken, or we cross compile.
1832 echo "$as_me:1832: checking whether we are cross compiling" >&5
1833 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1834 echo "$as_me:1834: result: $cross_compiling" >&5
1835 echo "${ECHO_T}$cross_compiling" >&6
1837 echo "$as_me:1837: checking for executable suffix" >&5
1838 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1839 if { (eval echo "$as_me:1839: \"$ac_link\"") >&5
1840 (eval $ac_link) 2>&5
1842 echo "$as_me:1842: \$? = $ac_status" >&5
1843 (exit $ac_status); }; then
1844 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1845 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1846 # work properly (i.e., refer to `conftest.exe'), while it won't with
1848 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1850 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1851 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1858 { { echo "$as_me:1858: error: cannot compute EXEEXT: cannot compile and link" >&5
1859 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1860 { (exit 1); exit 1; }; }
1863 rm -f conftest$ac_cv_exeext
1864 echo "$as_me:1864: result: $ac_cv_exeext" >&5
1865 echo "${ECHO_T}$ac_cv_exeext" >&6
1867 rm -f conftest.$ac_ext
1868 EXEEXT=$ac_cv_exeext
1870 echo "$as_me:1870: checking for object suffix" >&5
1871 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1872 if test "${ac_cv_objext+set}" = set; then
1873 echo $ECHO_N "(cached) $ECHO_C" >&6
1875 cat >conftest.$ac_ext <<_ACEOF
1876 #line 1876 "configure"
1877 #include "confdefs.h"
1887 rm -f conftest.o conftest.obj
1888 if { (eval echo "$as_me:1888: \"$ac_compile\"") >&5
1889 (eval $ac_compile) 2>&5
1891 echo "$as_me:1891: \$? = $ac_status" >&5
1892 (exit $ac_status); }; then
1893 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1895 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1896 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1901 echo "$as_me: failed program was:" >&5
1902 cat conftest.$ac_ext >&5
1903 { { echo "$as_me:1903: error: cannot compute OBJEXT: cannot compile" >&5
1904 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1905 { (exit 1); exit 1; }; }
1908 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1910 echo "$as_me:1910: result: $ac_cv_objext" >&5
1911 echo "${ECHO_T}$ac_cv_objext" >&6
1912 OBJEXT=$ac_cv_objext
1914 echo "$as_me:1914: checking whether we are using the GNU C compiler" >&5
1915 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1916 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1917 echo $ECHO_N "(cached) $ECHO_C" >&6
1919 cat >conftest.$ac_ext <<_ACEOF
1920 #line 1920 "configure"
1921 #include "confdefs.h"
1934 rm -f conftest.$ac_objext
1935 if { (eval echo "$as_me:1935: \"$ac_compile\"") >&5
1936 (eval $ac_compile) 2>&5
1938 echo "$as_me:1938: \$? = $ac_status" >&5
1939 (exit $ac_status); } &&
1940 { ac_try='test -s conftest.$ac_objext'
1941 { (eval echo "$as_me:1941: \"$ac_try\"") >&5
1944 echo "$as_me:1944: \$? = $ac_status" >&5
1945 (exit $ac_status); }; }; then
1948 echo "$as_me: failed program was:" >&5
1949 cat conftest.$ac_ext >&5
1952 rm -f conftest.$ac_objext conftest.$ac_ext
1953 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1956 echo "$as_me:1956: result: $ac_cv_c_compiler_gnu" >&5
1957 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1958 GCC=`test $ac_compiler_gnu = yes && echo yes`
1959 ac_test_CFLAGS=${CFLAGS+set}
1960 ac_save_CFLAGS=$CFLAGS
1962 echo "$as_me:1962: checking whether $CC accepts -g" >&5
1963 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1964 if test "${ac_cv_prog_cc_g+set}" = set; then
1965 echo $ECHO_N "(cached) $ECHO_C" >&6
1967 cat >conftest.$ac_ext <<_ACEOF
1968 #line 1968 "configure"
1969 #include "confdefs.h"
1979 rm -f conftest.$ac_objext
1980 if { (eval echo "$as_me:1980: \"$ac_compile\"") >&5
1981 (eval $ac_compile) 2>&5
1983 echo "$as_me:1983: \$? = $ac_status" >&5
1984 (exit $ac_status); } &&
1985 { ac_try='test -s conftest.$ac_objext'
1986 { (eval echo "$as_me:1986: \"$ac_try\"") >&5
1989 echo "$as_me:1989: \$? = $ac_status" >&5
1990 (exit $ac_status); }; }; then
1993 echo "$as_me: failed program was:" >&5
1994 cat conftest.$ac_ext >&5
1997 rm -f conftest.$ac_objext conftest.$ac_ext
1999 echo "$as_me:1999: result: $ac_cv_prog_cc_g" >&5
2000 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2001 if test "$ac_test_CFLAGS" = set; then
2002 CFLAGS=$ac_save_CFLAGS
2003 elif test $ac_cv_prog_cc_g = yes; then
2004 if test "$GCC" = yes; then
2010 if test "$GCC" = yes; then
2016 # Some people use a C++ compiler to compile C. Since we use `exit',
2017 # in C++ we need to declare it. In case someone uses the same compiler
2018 # for both compiling C and C++ we need to have the C++ compiler decide
2019 # the declaration of exit, since it's the most demanding environment.
2020 cat >conftest.$ac_ext <<_ACEOF
2025 rm -f conftest.$ac_objext
2026 if { (eval echo "$as_me:2026: \"$ac_compile\"") >&5
2027 (eval $ac_compile) 2>&5
2029 echo "$as_me:2029: \$? = $ac_status" >&5
2030 (exit $ac_status); } &&
2031 { ac_try='test -s conftest.$ac_objext'
2032 { (eval echo "$as_me:2032: \"$ac_try\"") >&5
2035 echo "$as_me:2035: \$? = $ac_status" >&5
2036 (exit $ac_status); }; }; then
2037 for ac_declaration in \
2039 '#include <stdlib.h>' \
2040 'extern "C" void std::exit (int) throw (); using std::exit;' \
2041 'extern "C" void std::exit (int); using std::exit;' \
2042 'extern "C" void exit (int) throw ();' \
2043 'extern "C" void exit (int);' \
2046 cat >conftest.$ac_ext <<_ACEOF
2047 #line 2047 "configure"
2048 #include "confdefs.h"
2059 rm -f conftest.$ac_objext
2060 if { (eval echo "$as_me:2060: \"$ac_compile\"") >&5
2061 (eval $ac_compile) 2>&5
2063 echo "$as_me:2063: \$? = $ac_status" >&5
2064 (exit $ac_status); } &&
2065 { ac_try='test -s conftest.$ac_objext'
2066 { (eval echo "$as_me:2066: \"$ac_try\"") >&5
2069 echo "$as_me:2069: \$? = $ac_status" >&5
2070 (exit $ac_status); }; }; then
2073 echo "$as_me: failed program was:" >&5
2074 cat conftest.$ac_ext >&5
2077 rm -f conftest.$ac_objext conftest.$ac_ext
2078 cat >conftest.$ac_ext <<_ACEOF
2079 #line 2079 "configure"
2080 #include "confdefs.h"
2090 rm -f conftest.$ac_objext
2091 if { (eval echo "$as_me:2091: \"$ac_compile\"") >&5
2092 (eval $ac_compile) 2>&5
2094 echo "$as_me:2094: \$? = $ac_status" >&5
2095 (exit $ac_status); } &&
2096 { ac_try='test -s conftest.$ac_objext'
2097 { (eval echo "$as_me:2097: \"$ac_try\"") >&5
2100 echo "$as_me:2100: \$? = $ac_status" >&5
2101 (exit $ac_status); }; }; then
2104 echo "$as_me: failed program was:" >&5
2105 cat conftest.$ac_ext >&5
2107 rm -f conftest.$ac_objext conftest.$ac_ext
2109 echo '#ifdef __cplusplus' >>confdefs.h
2110 echo $ac_declaration >>confdefs.h
2111 echo '#endif' >>confdefs.h
2114 echo "$as_me: failed program was:" >&5
2115 cat conftest.$ac_ext >&5
2117 rm -f conftest.$ac_objext conftest.$ac_ext
2119 ac_cpp='$CPP $CPPFLAGS'
2120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2124 ac_config_commands="$ac_config_commands default-2"
2127 ac_cpp='$CPP $CPPFLAGS'
2128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2131 echo "$as_me:2131: checking how to run the C preprocessor" >&5
2132 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2133 # On Suns, sometimes $CPP names a directory.
2134 if test -n "$CPP" && test -d "$CPP"; then
2137 if test -z "$CPP"; then
2138 if test "${ac_cv_prog_CPP+set}" = set; then
2139 echo $ECHO_N "(cached) $ECHO_C" >&6
2141 # Double quotes because CPP needs to be expanded
2142 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2144 # break 2 since there is a loop in there.
2146 for ac_c_preproc_warn_flag in '' yes
2148 # Use a header file that comes with gcc, so configuring glibc
2149 # with a fresh cross-compiler works.
2150 # On the NeXT, cc -E runs the code through the compiler's parser,
2151 # not just through cpp. "Syntax error" is here to catch this case.
2152 cat >conftest.$ac_ext <<_ACEOF
2153 #line 2153 "configure"
2154 #include "confdefs.h"
2158 if { (eval echo "$as_me:2158: \"$ac_cpp conftest.$ac_ext\"") >&5
2159 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2161 egrep -v '^ *\+' conftest.er1 >conftest.err
2163 cat conftest.err >&5
2164 echo "$as_me:2164: \$? = $ac_status" >&5
2165 (exit $ac_status); } >/dev/null; then
2166 if test -s conftest.err; then
2167 ac_cpp_err=$ac_c_preproc_warn_flag
2174 if test -z "$ac_cpp_err"; then
2177 echo "$as_me: failed program was:" >&5
2178 cat conftest.$ac_ext >&5
2179 # Broken: fails on valid input.
2182 rm -f conftest.err conftest.$ac_ext
2184 # OK, works on sane cases. Now check whether non-existent headers
2185 # can be detected and how.
2186 cat >conftest.$ac_ext <<_ACEOF
2187 #line 2187 "configure"
2188 #include "confdefs.h"
2189 #include <ac_nonexistent.h>
2191 if { (eval echo "$as_me:2191: \"$ac_cpp conftest.$ac_ext\"") >&5
2192 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2194 egrep -v '^ *\+' conftest.er1 >conftest.err
2196 cat conftest.err >&5
2197 echo "$as_me:2197: \$? = $ac_status" >&5
2198 (exit $ac_status); } >/dev/null; then
2199 if test -s conftest.err; then
2200 ac_cpp_err=$ac_c_preproc_warn_flag
2207 if test -z "$ac_cpp_err"; then
2208 # Broken: success on invalid input.
2211 echo "$as_me: failed program was:" >&5
2212 cat conftest.$ac_ext >&5
2213 # Passes both tests.
2217 rm -f conftest.err conftest.$ac_ext
2220 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2221 rm -f conftest.err conftest.$ac_ext
2222 if $ac_preproc_ok; then
2234 echo "$as_me:2234: result: $CPP" >&5
2235 echo "${ECHO_T}$CPP" >&6
2237 for ac_c_preproc_warn_flag in '' yes
2239 # Use a header file that comes with gcc, so configuring glibc
2240 # with a fresh cross-compiler works.
2241 # On the NeXT, cc -E runs the code through the compiler's parser,
2242 # not just through cpp. "Syntax error" is here to catch this case.
2243 cat >conftest.$ac_ext <<_ACEOF
2244 #line 2244 "configure"
2245 #include "confdefs.h"
2249 if { (eval echo "$as_me:2249: \"$ac_cpp conftest.$ac_ext\"") >&5
2250 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2252 egrep -v '^ *\+' conftest.er1 >conftest.err
2254 cat conftest.err >&5
2255 echo "$as_me:2255: \$? = $ac_status" >&5
2256 (exit $ac_status); } >/dev/null; then
2257 if test -s conftest.err; then
2258 ac_cpp_err=$ac_c_preproc_warn_flag
2265 if test -z "$ac_cpp_err"; then
2268 echo "$as_me: failed program was:" >&5
2269 cat conftest.$ac_ext >&5
2270 # Broken: fails on valid input.
2273 rm -f conftest.err conftest.$ac_ext
2275 # OK, works on sane cases. Now check whether non-existent headers
2276 # can be detected and how.
2277 cat >conftest.$ac_ext <<_ACEOF
2278 #line 2278 "configure"
2279 #include "confdefs.h"
2280 #include <ac_nonexistent.h>
2282 if { (eval echo "$as_me:2282: \"$ac_cpp conftest.$ac_ext\"") >&5
2283 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2285 egrep -v '^ *\+' conftest.er1 >conftest.err
2287 cat conftest.err >&5
2288 echo "$as_me:2288: \$? = $ac_status" >&5
2289 (exit $ac_status); } >/dev/null; then
2290 if test -s conftest.err; then
2291 ac_cpp_err=$ac_c_preproc_warn_flag
2298 if test -z "$ac_cpp_err"; then
2299 # Broken: success on invalid input.
2302 echo "$as_me: failed program was:" >&5
2303 cat conftest.$ac_ext >&5
2304 # Passes both tests.
2308 rm -f conftest.err conftest.$ac_ext
2311 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2312 rm -f conftest.err conftest.$ac_ext
2313 if $ac_preproc_ok; then
2316 { { echo "$as_me:2316: error: C preprocessor \"$CPP\" fails sanity check" >&5
2317 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2318 { (exit 1); exit 1; }; }
2322 ac_cpp='$CPP $CPPFLAGS'
2323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2327 am_make=${MAKE-make}
2328 # BSD make uses .include
2329 cat > confinc << 'END'
2333 # If we don't find an include directive, just comment out the code.
2334 echo "$as_me:2334: checking for style of include used by $am_make" >&5
2335 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2337 for am_inc in include .include; do
2338 echo "$am_inc confinc" > confmf
2339 if test "`$am_make -f confmf 2> /dev/null`" = "done"; then
2345 echo "$as_me:2345: result: $_am_include" >&5
2346 echo "${ECHO_T}$_am_include" >&6
2347 rm -f confinc confmf
2352 echo "$as_me:2352: checking dependency style of $depcc" >&5
2353 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2354 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2355 echo $ECHO_N "(cached) $ECHO_C" >&6
2357 if test -z "$AMDEP"; then
2358 # We make a subdir and do the tests there. Otherwise we can end up
2359 # making bogus files that we don't know about and never remove. For
2360 # instance it was reported that on HP-UX the gcc test will end up
2361 # making a dummy file named `D' -- because `-MD' means `put the output
2364 # Copy depcomp to subdir because otherwise we won't find it if we're
2365 # using a relative directory.
2366 cp "$am_depcomp" confdir
2369 am_cv_CC_dependencies_compiler_type=none
2370 for depmode in `sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < "./depcomp"`; do
2371 # We need to recreate these files for each test, as the compiler may
2372 # overwrite some of them when testing with obscure command lines.
2373 # This happens at least with the AIX C compiler.
2374 echo '#include "conftest.h"' > conftest.c
2375 echo 'int i;' > conftest.h
2379 # after this tag, mechanisms are not by side-effect, so they'll
2380 # only be used when explicitly requested
2381 if test "x$enable_dependency_tracking" = xyes; then
2389 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2390 # mode. It turns out that the SunPro C++ compiler does not properly
2391 # handle `-M -o', and we need to detect this.
2392 if depmode="$depmode" \
2393 source=conftest.c object=conftest.o \
2394 depfile=conftest.Po tmpdepfile=conftest.TPo \
2395 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2396 grep conftest.h conftest.Po > /dev/null 2>&1; then
2397 am_cv_CC_dependencies_compiler_type="$depmode"
2405 am_cv_CC_dependencies_compiler_type=none
2409 echo "$as_me:2409: result: $am_cv_CC_dependencies_compiler_type" >&5
2410 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2411 CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
2413 echo "$as_me:2413: checking for $CC option to accept ANSI C" >&5
2414 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2415 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2416 echo $ECHO_N "(cached) $ECHO_C" >&6
2418 ac_cv_prog_cc_stdc=no
2420 cat >conftest.$ac_ext <<_ACEOF
2421 #line 2421 "configure"
2422 #include "confdefs.h"
2425 #include <sys/types.h>
2426 #include <sys/stat.h>
2427 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2428 struct buf { int x; };
2429 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2430 static char *e (p, i)
2436 static char *f (char * (*g) (char **, int), char **p, ...)
2441 s = g (p, va_arg (v,int));
2445 int test (int i, double x);
2446 struct s1 {int (*f) (int a);};
2447 struct s2 {int (*f) (double a);};
2448 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2454 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2459 # Don't try gcc -ansi; that turns off useful extensions and
2460 # breaks some systems' header files.
2461 # AIX -qlanglvl=ansi
2462 # Ultrix and OSF/1 -std1
2463 # HP-UX 10.20 and later -Ae
2464 # HP-UX older versions -Aa -D_HPUX_SOURCE
2465 # SVR4 -Xc -D__EXTENSIONS__
2466 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2468 CC="$ac_save_CC $ac_arg"
2469 rm -f conftest.$ac_objext
2470 if { (eval echo "$as_me:2470: \"$ac_compile\"") >&5
2471 (eval $ac_compile) 2>&5
2473 echo "$as_me:2473: \$? = $ac_status" >&5
2474 (exit $ac_status); } &&
2475 { ac_try='test -s conftest.$ac_objext'
2476 { (eval echo "$as_me:2476: \"$ac_try\"") >&5
2479 echo "$as_me:2479: \$? = $ac_status" >&5
2480 (exit $ac_status); }; }; then
2481 ac_cv_prog_cc_stdc=$ac_arg
2484 echo "$as_me: failed program was:" >&5
2485 cat conftest.$ac_ext >&5
2487 rm -f conftest.$ac_objext
2489 rm -f conftest.$ac_ext conftest.$ac_objext
2494 case "x$ac_cv_prog_cc_stdc" in
2496 echo "$as_me:2496: result: none needed" >&5
2497 echo "${ECHO_T}none needed" >&6 ;;
2499 echo "$as_me:2499: result: $ac_cv_prog_cc_stdc" >&5
2500 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2501 CC="$CC $ac_cv_prog_cc_stdc" ;;
2505 ac_cpp='$CPP $CPPFLAGS'
2506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2509 echo "$as_me:2509: checking how to run the C preprocessor" >&5
2510 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2511 # On Suns, sometimes $CPP names a directory.
2512 if test -n "$CPP" && test -d "$CPP"; then
2515 if test -z "$CPP"; then
2516 if test "${ac_cv_prog_CPP+set}" = set; then
2517 echo $ECHO_N "(cached) $ECHO_C" >&6
2519 # Double quotes because CPP needs to be expanded
2520 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2522 # break 2 since there is a loop in there.
2524 for ac_c_preproc_warn_flag in '' yes
2526 # Use a header file that comes with gcc, so configuring glibc
2527 # with a fresh cross-compiler works.
2528 # On the NeXT, cc -E runs the code through the compiler's parser,
2529 # not just through cpp. "Syntax error" is here to catch this case.
2530 cat >conftest.$ac_ext <<_ACEOF
2531 #line 2531 "configure"
2532 #include "confdefs.h"
2536 if { (eval echo "$as_me:2536: \"$ac_cpp conftest.$ac_ext\"") >&5
2537 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2539 egrep -v '^ *\+' conftest.er1 >conftest.err
2541 cat conftest.err >&5
2542 echo "$as_me:2542: \$? = $ac_status" >&5
2543 (exit $ac_status); } >/dev/null; then
2544 if test -s conftest.err; then
2545 ac_cpp_err=$ac_c_preproc_warn_flag
2552 if test -z "$ac_cpp_err"; then
2555 echo "$as_me: failed program was:" >&5
2556 cat conftest.$ac_ext >&5
2557 # Broken: fails on valid input.
2560 rm -f conftest.err conftest.$ac_ext
2562 # OK, works on sane cases. Now check whether non-existent headers
2563 # can be detected and how.
2564 cat >conftest.$ac_ext <<_ACEOF
2565 #line 2565 "configure"
2566 #include "confdefs.h"
2567 #include <ac_nonexistent.h>
2569 if { (eval echo "$as_me:2569: \"$ac_cpp conftest.$ac_ext\"") >&5
2570 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2572 egrep -v '^ *\+' conftest.er1 >conftest.err
2574 cat conftest.err >&5
2575 echo "$as_me:2575: \$? = $ac_status" >&5
2576 (exit $ac_status); } >/dev/null; then
2577 if test -s conftest.err; then
2578 ac_cpp_err=$ac_c_preproc_warn_flag
2585 if test -z "$ac_cpp_err"; then
2586 # Broken: success on invalid input.
2589 echo "$as_me: failed program was:" >&5
2590 cat conftest.$ac_ext >&5
2591 # Passes both tests.
2595 rm -f conftest.err conftest.$ac_ext
2598 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2599 rm -f conftest.err conftest.$ac_ext
2600 if $ac_preproc_ok; then
2612 echo "$as_me:2612: result: $CPP" >&5
2613 echo "${ECHO_T}$CPP" >&6
2615 for ac_c_preproc_warn_flag in '' yes
2617 # Use a header file that comes with gcc, so configuring glibc
2618 # with a fresh cross-compiler works.
2619 # On the NeXT, cc -E runs the code through the compiler's parser,
2620 # not just through cpp. "Syntax error" is here to catch this case.
2621 cat >conftest.$ac_ext <<_ACEOF
2622 #line 2622 "configure"
2623 #include "confdefs.h"
2627 if { (eval echo "$as_me:2627: \"$ac_cpp conftest.$ac_ext\"") >&5
2628 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2630 egrep -v '^ *\+' conftest.er1 >conftest.err
2632 cat conftest.err >&5
2633 echo "$as_me:2633: \$? = $ac_status" >&5
2634 (exit $ac_status); } >/dev/null; then
2635 if test -s conftest.err; then
2636 ac_cpp_err=$ac_c_preproc_warn_flag
2643 if test -z "$ac_cpp_err"; then
2646 echo "$as_me: failed program was:" >&5
2647 cat conftest.$ac_ext >&5
2648 # Broken: fails on valid input.
2651 rm -f conftest.err conftest.$ac_ext
2653 # OK, works on sane cases. Now check whether non-existent headers
2654 # can be detected and how.
2655 cat >conftest.$ac_ext <<_ACEOF
2656 #line 2656 "configure"
2657 #include "confdefs.h"
2658 #include <ac_nonexistent.h>
2660 if { (eval echo "$as_me:2660: \"$ac_cpp conftest.$ac_ext\"") >&5
2661 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2663 egrep -v '^ *\+' conftest.er1 >conftest.err
2665 cat conftest.err >&5
2666 echo "$as_me:2666: \$? = $ac_status" >&5
2667 (exit $ac_status); } >/dev/null; then
2668 if test -s conftest.err; then
2669 ac_cpp_err=$ac_c_preproc_warn_flag
2676 if test -z "$ac_cpp_err"; then
2677 # Broken: success on invalid input.
2680 echo "$as_me: failed program was:" >&5
2681 cat conftest.$ac_ext >&5
2682 # Passes both tests.
2686 rm -f conftest.err conftest.$ac_ext
2689 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2690 rm -f conftest.err conftest.$ac_ext
2691 if $ac_preproc_ok; then
2694 { { echo "$as_me:2694: error: C preprocessor \"$CPP\" fails sanity check" >&5
2695 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2696 { (exit 1); exit 1; }; }
2700 ac_cpp='$CPP $CPPFLAGS'
2701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2707 CFLAGS="$CFLAGS -DSYS_CYGWIN32"
2712 CFLAGS="$CFLAGS -Wc,+Abi-socket"
2719 CFLAGS="$CFLAGS -std1"
2728 *) case "$target" in
2730 # Quick and dirty sanity check
2731 case "$VX_KERNEL" in
2732 '') { { echo "$as_me:2732: error: Please follow the directions in html/vxworks.html!" >&5
2733 echo "$as_me: error: Please follow the directions in html/vxworks.html!" >&2;}
2734 { (exit 1); exit 1; }; }
2737 CFLAGS="$CFLAGS -DSYS_VXWORKS"
2743 for ac_prog in mawk gawk nawk awk
2745 # Extract the first word of "$ac_prog", so it can be a program name with args.
2746 set dummy $ac_prog; ac_word=$2
2747 echo "$as_me:2747: checking for $ac_word" >&5
2748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2749 if test "${ac_cv_prog_AWK+set}" = set; then
2750 echo $ECHO_N "(cached) $ECHO_C" >&6
2752 if test -n "$AWK"; then
2753 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2755 ac_save_IFS=$IFS; IFS=$ac_path_separator
2757 for ac_dir in $ac_dummy; do
2759 test -z "$ac_dir" && ac_dir=.
2760 $as_executable_p "$ac_dir/$ac_word" || continue
2761 ac_cv_prog_AWK="$ac_prog"
2762 echo "$as_me:2762: found $ac_dir/$ac_word" >&5
2769 if test -n "$AWK"; then
2770 echo "$as_me:2770: result: $AWK" >&5
2771 echo "${ECHO_T}$AWK" >&6
2773 echo "$as_me:2773: result: no" >&5
2774 echo "${ECHO_T}no" >&6
2777 test -n "$AWK" && break
2780 echo "$as_me:2780: checking whether ${MAKE-make} sets \${MAKE}" >&5
2781 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
2782 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
2783 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2784 echo $ECHO_N "(cached) $ECHO_C" >&6
2786 cat >conftest.make <<\EOF
2788 @echo 'ac_maketemp="${MAKE}"'
2790 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2791 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2792 if test -n "$ac_maketemp"; then
2793 eval ac_cv_prog_make_${ac_make}_set=yes
2795 eval ac_cv_prog_make_${ac_make}_set=no
2799 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2800 echo "$as_me:2800: result: yes" >&5
2801 echo "${ECHO_T}yes" >&6
2804 echo "$as_me:2804: result: no" >&5
2805 echo "${ECHO_T}no" >&6
2806 SET_MAKE="MAKE=${MAKE-make}"
2813 CFLAGS="$CFLAGS -Wall"
2814 # CFLAGS="$CFLAGS -Wcast-align"
2815 CFLAGS="$CFLAGS -Wcast-qual"
2816 # CFLAGS="$CFLAGS -Wconversion"
2817 # CFLAGS="$CFLAGS -Werror"
2818 CFLAGS="$CFLAGS -Wmissing-prototypes"
2819 CFLAGS="$CFLAGS -Wpointer-arith"
2820 CFLAGS="$CFLAGS -Wshadow"
2821 CFLAGS="$CFLAGS -Wstrict-prototypes"
2822 # CFLAGS="$CFLAGS -Wtraditional"
2823 # CFLAGS="$CFLAGS -Wwrite-strings"
2825 echo "$as_me:2825: checking whether ${CC-cc} -pipe works" >&5
2826 echo $ECHO_N "checking whether ${CC-cc} -pipe works... $ECHO_C" >&6
2827 if test "${ac_cv_prog_cc_pipe+set}" = set; then
2828 echo $ECHO_N "(cached) $ECHO_C" >&6
2830 echo 'void f(){}' > conftest.c
2831 if test -z "`${CC-cc} -pipe -c conftest.c 2>&1`" -a -s conftest.o; then
2832 ac_cv_prog_cc_pipe=yes
2834 ac_cv_prog_cc_pipe=no
2839 echo "$as_me:2839: result: $ac_cv_prog_cc_pipe" >&5
2840 echo "${ECHO_T}$ac_cv_prog_cc_pipe" >&6
2842 case "$ac_cv_prog_cc_pipe" in
2844 CFLAGS="$CFLAGS -pipe"
2850 ac_busted_vpath_in_make=no
2854 CFLAGS="$CFLAGS -posix"
2856 *-*-irix6.1*) # 64 bit only
2859 *-*-irix6*) # 6.2 (and later?)
2860 ac_busted_vpath_in_make=yes
2861 # don't pass -n32 to gcc, it cannot handle and doesn't need it
2862 if test "$GCC" != yes; then
2866 *) case "$iCFLAGS" in
2867 '') CFLAGS="-O2 -g3 -n32" ;;
2868 *) CFLAGS="$CFLAGS -n32" ;;
2875 *) LDFLAGS="$LDFLAGS -n32" ;;
2880 ac_busted_vpath_in_make=yes
2884 case "$ac_busted_vpath_in_make$srcdir" in
2887 *) case "`${MAKE-make} -v -f /dev/null 2>/dev/null | sed -e 's/GNU Make version \(1-9.]*\).*/\1/' -e q`" in
2889 { { echo "$as_me:2889: error: building outside of the main directory requires GNU make" >&5
2890 echo "$as_me: error: building outside of the main directory requires GNU make" >&2;}
2891 { (exit 1); exit 1; }; }
2898 echo "$as_me:2898: checking whether ln -s works" >&5
2899 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2901 if test "$LN_S" = "ln -s"; then
2902 echo "$as_me:2902: result: yes" >&5
2903 echo "${ECHO_T}yes" >&6
2905 echo "$as_me:2905: result: no, using $LN_S" >&5
2906 echo "${ECHO_T}no, using $LN_S" >&6
2909 if test $ac_cv_c_compiler_gnu = yes; then
2910 echo "$as_me:2910: checking whether $CC needs -traditional" >&5
2911 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
2912 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
2913 echo $ECHO_N "(cached) $ECHO_C" >&6
2915 ac_pattern="Autoconf.*'x'"
2916 cat >conftest.$ac_ext <<_ACEOF
2917 #line 2917 "configure"
2918 #include "confdefs.h"
2922 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2923 egrep "$ac_pattern" >/dev/null 2>&1; then
2924 ac_cv_prog_gcc_traditional=yes
2926 ac_cv_prog_gcc_traditional=no
2930 if test $ac_cv_prog_gcc_traditional = no; then
2931 cat >conftest.$ac_ext <<_ACEOF
2932 #line 2932 "configure"
2933 #include "confdefs.h"
2937 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2938 egrep "$ac_pattern" >/dev/null 2>&1; then
2939 ac_cv_prog_gcc_traditional=yes
2945 echo "$as_me:2945: result: $ac_cv_prog_gcc_traditional" >&5
2946 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
2947 if test $ac_cv_prog_gcc_traditional = yes; then
2948 CC="$CC -traditional"
2952 echo "$as_me:2952: checking for AIX" >&5
2953 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
2954 cat >conftest.$ac_ext <<_ACEOF
2955 #line 2955 "configure"
2956 #include "confdefs.h"
2962 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2963 egrep "yes" >/dev/null 2>&1; then
2964 echo "$as_me:2964: result: yes" >&5
2965 echo "${ECHO_T}yes" >&6
2966 cat >>confdefs.h <<\EOF
2967 #define _ALL_SOURCE 1
2971 echo "$as_me:2971: result: no" >&5
2972 echo "${ECHO_T}no" >&6
2976 echo "$as_me:2976: checking for minix/config.h" >&5
2977 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
2978 if test "${ac_cv_header_minix_config_h+set}" = set; then
2979 echo $ECHO_N "(cached) $ECHO_C" >&6
2981 cat >conftest.$ac_ext <<_ACEOF
2982 #line 2982 "configure"
2983 #include "confdefs.h"
2984 #include <minix/config.h>
2986 if { (eval echo "$as_me:2986: \"$ac_cpp conftest.$ac_ext\"") >&5
2987 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2989 egrep -v '^ *\+' conftest.er1 >conftest.err
2991 cat conftest.err >&5
2992 echo "$as_me:2992: \$? = $ac_status" >&5
2993 (exit $ac_status); } >/dev/null; then
2994 if test -s conftest.err; then
2995 ac_cpp_err=$ac_c_preproc_warn_flag
3002 if test -z "$ac_cpp_err"; then
3003 ac_cv_header_minix_config_h=yes
3005 echo "$as_me: failed program was:" >&5
3006 cat conftest.$ac_ext >&5
3007 ac_cv_header_minix_config_h=no
3009 rm -f conftest.err conftest.$ac_ext
3011 echo "$as_me:3011: result: $ac_cv_header_minix_config_h" >&5
3012 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3013 if test $ac_cv_header_minix_config_h = yes; then
3019 if test "$MINIX" = yes; then
3021 cat >>confdefs.h <<\EOF
3022 #define _POSIX_SOURCE 1
3025 cat >>confdefs.h <<\EOF
3026 #define _POSIX_1_SOURCE 2
3029 cat >>confdefs.h <<\EOF
3035 echo "$as_me:3035: checking for POSIXized ISC" >&5
3036 echo $ECHO_N "checking for POSIXized ISC... $ECHO_C" >&6
3037 if test -d /etc/conf/kconfig.d &&
3038 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
3040 echo "$as_me:3040: result: yes" >&5
3041 echo "${ECHO_T}yes" >&6
3042 ISC=yes # If later tests want to check for ISC.
3044 cat >>confdefs.h <<\EOF
3045 #define _POSIX_SOURCE 1
3048 if test "$GCC" = yes; then
3054 echo "$as_me:3054: result: no" >&5
3055 echo "${ECHO_T}no" >&6
3059 if test -n "$ac_tool_prefix"; then
3060 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3061 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3062 echo "$as_me:3062: checking for $ac_word" >&5
3063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3064 if test "${ac_cv_prog_RANLIB+set}" = set; then
3065 echo $ECHO_N "(cached) $ECHO_C" >&6
3067 if test -n "$RANLIB"; then
3068 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3070 ac_save_IFS=$IFS; IFS=$ac_path_separator
3072 for ac_dir in $ac_dummy; do
3074 test -z "$ac_dir" && ac_dir=.
3075 $as_executable_p "$ac_dir/$ac_word" || continue
3076 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3077 echo "$as_me:3077: found $ac_dir/$ac_word" >&5
3083 RANLIB=$ac_cv_prog_RANLIB
3084 if test -n "$RANLIB"; then
3085 echo "$as_me:3085: result: $RANLIB" >&5
3086 echo "${ECHO_T}$RANLIB" >&6
3088 echo "$as_me:3088: result: no" >&5
3089 echo "${ECHO_T}no" >&6
3093 if test -z "$ac_cv_prog_RANLIB"; then
3094 ac_ct_RANLIB=$RANLIB
3095 # Extract the first word of "ranlib", so it can be a program name with args.
3096 set dummy ranlib; ac_word=$2
3097 echo "$as_me:3097: checking for $ac_word" >&5
3098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3099 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3100 echo $ECHO_N "(cached) $ECHO_C" >&6
3102 if test -n "$ac_ct_RANLIB"; then
3103 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3105 ac_save_IFS=$IFS; IFS=$ac_path_separator
3107 for ac_dir in $ac_dummy; do
3109 test -z "$ac_dir" && ac_dir=.
3110 $as_executable_p "$ac_dir/$ac_word" || continue
3111 ac_cv_prog_ac_ct_RANLIB="ranlib"
3112 echo "$as_me:3112: found $ac_dir/$ac_word" >&5
3116 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3119 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3120 if test -n "$ac_ct_RANLIB"; then
3121 echo "$as_me:3121: result: $ac_ct_RANLIB" >&5
3122 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3124 echo "$as_me:3124: result: no" >&5
3125 echo "${ECHO_T}no" >&6
3128 RANLIB=$ac_ct_RANLIB
3130 RANLIB="$ac_cv_prog_RANLIB"
3133 # Extract the first word of "sh", so it can be a program name with args.
3134 set dummy sh; ac_word=$2
3135 echo "$as_me:3135: checking for $ac_word" >&5
3136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3137 if test "${ac_cv_path_PATH_SH+set}" = set; then
3138 echo $ECHO_N "(cached) $ECHO_C" >&6
3142 ac_cv_path_PATH_SH="$PATH_SH" # Let the user override the test with a path.
3145 ac_save_IFS=$IFS; IFS=$ac_path_separator
3147 for ac_dir in $ac_dummy; do
3149 test -z "$ac_dir" && ac_dir=.
3150 if $as_executable_p "$ac_dir/$ac_word"; then
3151 ac_cv_path_PATH_SH="$ac_dir/$ac_word"
3152 echo "$as_me:3152: found $ac_dir/$ac_word" >&5
3160 PATH_SH=$ac_cv_path_PATH_SH
3162 if test -n "$PATH_SH"; then
3163 echo "$as_me:3163: result: $PATH_SH" >&5
3164 echo "${ECHO_T}$PATH_SH" >&6
3166 echo "$as_me:3166: result: no" >&5
3167 echo "${ECHO_T}no" >&6
3170 # Extract the first word of "perl", so it can be a program name with args.
3171 set dummy perl; ac_word=$2
3172 echo "$as_me:3172: checking for $ac_word" >&5
3173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3174 if test "${ac_cv_path_PATH_PERL+set}" = set; then
3175 echo $ECHO_N "(cached) $ECHO_C" >&6
3179 ac_cv_path_PATH_PERL="$PATH_PERL" # Let the user override the test with a path.
3182 ac_save_IFS=$IFS; IFS=$ac_path_separator
3184 for ac_dir in $ac_dummy; do
3186 test -z "$ac_dir" && ac_dir=.
3187 if $as_executable_p "$ac_dir/$ac_word"; then
3188 ac_cv_path_PATH_PERL="$ac_dir/$ac_word"
3189 echo "$as_me:3189: found $ac_dir/$ac_word" >&5
3197 PATH_PERL=$ac_cv_path_PATH_PERL
3199 if test -n "$PATH_PERL"; then
3200 echo "$as_me:3200: result: $PATH_PERL" >&5
3201 echo "${ECHO_T}$PATH_PERL" >&6
3203 echo "$as_me:3203: result: no" >&5
3204 echo "${ECHO_T}no" >&6
3207 cat >conftest.$ac_ext <<_ACEOF
3208 #line 3208 "configure"
3209 #include "confdefs.h"
3210 #define ACAT(a,b)a ## b
3214 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3215 egrep "Circus" >/dev/null 2>&1; then
3216 cat >>confdefs.h <<\EOF
3217 #define ULONG_CONST(a) a ## UL
3221 cat >conftest.$ac_ext <<_ACEOF
3222 #line 3222 "configure"
3223 #include "confdefs.h"
3224 #define RCAT(a,b)a/**/b
3228 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3229 egrep "Reiser" >/dev/null 2>&1; then
3230 cat >>confdefs.h <<\EOF
3231 #define ULONG_CONST(a) a/**/L
3235 { { echo "$as_me:3235: error: How do we create an unsigned long constant?" >&5
3236 echo "$as_me: error: How do we create an unsigned long constant?" >&2;}
3237 { (exit 1); exit 1; }; }
3246 ac_link="$ac_link $VX_KERNEL"
3250 # Find a good install program. We prefer a C program (faster),
3251 # so one script is as good as another. But avoid the broken or
3252 # incompatible versions:
3253 # SysV /etc/install, /usr/sbin/install
3254 # SunOS /usr/etc/install
3255 # IRIX /sbin/install
3257 # AmigaOS /C/install, which installs bootblocks on floppy discs
3258 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3259 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3260 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3261 # ./install, which can be erroneously created by make from ./install.sh.
3262 echo "$as_me:3262: checking for a BSD compatible install" >&5
3263 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
3264 if test -z "$INSTALL"; then
3265 if test "${ac_cv_path_install+set}" = set; then
3266 echo $ECHO_N "(cached) $ECHO_C" >&6
3268 ac_save_IFS=$IFS; IFS=$ac_path_separator
3269 for ac_dir in $PATH; do
3271 # Account for people who put trailing slashes in PATH elements.
3273 / | ./ | .// | /cC/* \
3274 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
3277 # OSF1 and SCO ODT 3.0 have their own names for install.
3278 # Don't use installbsd from OSF since it installs stuff as root
3280 for ac_prog in ginstall scoinst install; do
3281 if $as_executable_p "$ac_dir/$ac_prog"; then
3282 if test $ac_prog = install &&
3283 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
3284 # AIX install. It has an incompatible calling convention.
3286 elif test $ac_prog = install &&
3287 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
3288 # program-specific install script used by HP pwplus--don't use.
3291 ac_cv_path_install="$ac_dir/$ac_prog -c"
3301 if test "${ac_cv_path_install+set}" = set; then
3302 INSTALL=$ac_cv_path_install
3304 # As a last resort, use the slow shell script. We don't cache a
3305 # path for INSTALL within a source directory, because that will
3306 # break other packages using the cache if that directory is
3307 # removed, or if the path is relative.
3308 INSTALL=$ac_install_sh
3311 echo "$as_me:3311: result: $INSTALL" >&5
3312 echo "${ECHO_T}$INSTALL" >&6
3314 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3315 # It thinks the first close brace ends the variable substitution.
3316 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3318 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3320 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3325 echo "$as_me:3325: checking for main in -ladvapi32" >&5
3326 echo $ECHO_N "checking for main in -ladvapi32... $ECHO_C" >&6
3327 if test "${ac_cv_lib_advapi32_main+set}" = set; then
3328 echo $ECHO_N "(cached) $ECHO_C" >&6
3330 ac_check_lib_save_LIBS=$LIBS
3331 LIBS="-ladvapi32 $LIBS"
3332 cat >conftest.$ac_ext <<_ACEOF
3333 #line 3333 "configure"
3334 #include "confdefs.h"
3344 rm -f conftest.$ac_objext conftest$ac_exeext
3345 if { (eval echo "$as_me:3345: \"$ac_link\"") >&5
3346 (eval $ac_link) 2>&5
3348 echo "$as_me:3348: \$? = $ac_status" >&5
3349 (exit $ac_status); } &&
3350 { ac_try='test -s conftest$ac_exeext'
3351 { (eval echo "$as_me:3351: \"$ac_try\"") >&5
3354 echo "$as_me:3354: \$? = $ac_status" >&5
3355 (exit $ac_status); }; }; then
3356 ac_cv_lib_advapi32_main=yes
3358 echo "$as_me: failed program was:" >&5
3359 cat conftest.$ac_ext >&5
3360 ac_cv_lib_advapi32_main=no
3362 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3363 LIBS=$ac_check_lib_save_LIBS
3365 echo "$as_me:3365: result: $ac_cv_lib_advapi32_main" >&5
3366 echo "${ECHO_T}$ac_cv_lib_advapi32_main" >&6
3367 if test $ac_cv_lib_advapi32_main = yes; then
3368 cat >>confdefs.h <<EOF
3369 #define HAVE_LIBADVAPI32 1
3372 LIBS="-ladvapi32 $LIBS"
3379 echo "$as_me:3379: checking for nlist in -lelf" >&5
3380 echo $ECHO_N "checking for nlist in -lelf... $ECHO_C" >&6
3381 if test "${ac_cv_lib_elf_nlist+set}" = set; then
3382 echo $ECHO_N "(cached) $ECHO_C" >&6
3384 ac_check_lib_save_LIBS=$LIBS
3386 cat >conftest.$ac_ext <<_ACEOF
3387 #line 3387 "configure"
3388 #include "confdefs.h"
3390 /* Override any gcc2 internal prototype to avoid an error. */
3394 /* We use char because int might match the return type of a gcc2
3395 builtin and then its argument prototype would still apply. */
3405 rm -f conftest.$ac_objext conftest$ac_exeext
3406 if { (eval echo "$as_me:3406: \"$ac_link\"") >&5
3407 (eval $ac_link) 2>&5
3409 echo "$as_me:3409: \$? = $ac_status" >&5
3410 (exit $ac_status); } &&
3411 { ac_try='test -s conftest$ac_exeext'
3412 { (eval echo "$as_me:3412: \"$ac_try\"") >&5
3415 echo "$as_me:3415: \$? = $ac_status" >&5
3416 (exit $ac_status); }; }; then
3417 ac_cv_lib_elf_nlist=yes
3419 echo "$as_me: failed program was:" >&5
3420 cat conftest.$ac_ext >&5
3421 ac_cv_lib_elf_nlist=no
3423 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3424 LIBS=$ac_check_lib_save_LIBS
3426 echo "$as_me:3426: result: $ac_cv_lib_elf_nlist" >&5
3427 echo "${ECHO_T}$ac_cv_lib_elf_nlist" >&6
3428 if test $ac_cv_lib_elf_nlist = yes; then
3429 cat >>confdefs.h <<EOF
3430 #define HAVE_LIBELF 1
3437 echo "$as_me:3437: checking for main in -lkvm" >&5
3438 echo $ECHO_N "checking for main in -lkvm... $ECHO_C" >&6
3439 if test "${ac_cv_lib_kvm_main+set}" = set; then
3440 echo $ECHO_N "(cached) $ECHO_C" >&6
3442 ac_check_lib_save_LIBS=$LIBS
3444 cat >conftest.$ac_ext <<_ACEOF
3445 #line 3445 "configure"
3446 #include "confdefs.h"
3456 rm -f conftest.$ac_objext conftest$ac_exeext
3457 if { (eval echo "$as_me:3457: \"$ac_link\"") >&5
3458 (eval $ac_link) 2>&5
3460 echo "$as_me:3460: \$? = $ac_status" >&5
3461 (exit $ac_status); } &&
3462 { ac_try='test -s conftest$ac_exeext'
3463 { (eval echo "$as_me:3463: \"$ac_try\"") >&5
3466 echo "$as_me:3466: \$? = $ac_status" >&5
3467 (exit $ac_status); }; }; then
3468 ac_cv_lib_kvm_main=yes
3470 echo "$as_me: failed program was:" >&5
3471 cat conftest.$ac_ext >&5
3472 ac_cv_lib_kvm_main=no
3474 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3475 LIBS=$ac_check_lib_save_LIBS
3477 echo "$as_me:3477: result: $ac_cv_lib_kvm_main" >&5
3478 echo "${ECHO_T}$ac_cv_lib_kvm_main" >&6
3479 if test $ac_cv_lib_kvm_main = yes; then
3480 cat >>confdefs.h <<EOF
3481 #define HAVE_LIBKVM 1
3488 echo "$as_me:3488: checking for nlist in -lld" >&5
3489 echo $ECHO_N "checking for nlist in -lld... $ECHO_C" >&6
3490 if test "${ac_cv_lib_ld_nlist+set}" = set; then
3491 echo $ECHO_N "(cached) $ECHO_C" >&6
3493 ac_check_lib_save_LIBS=$LIBS
3495 cat >conftest.$ac_ext <<_ACEOF
3496 #line 3496 "configure"
3497 #include "confdefs.h"
3499 /* Override any gcc2 internal prototype to avoid an error. */
3503 /* We use char because int might match the return type of a gcc2
3504 builtin and then its argument prototype would still apply. */
3514 rm -f conftest.$ac_objext conftest$ac_exeext
3515 if { (eval echo "$as_me:3515: \"$ac_link\"") >&5
3516 (eval $ac_link) 2>&5
3518 echo "$as_me:3518: \$? = $ac_status" >&5
3519 (exit $ac_status); } &&
3520 { ac_try='test -s conftest$ac_exeext'
3521 { (eval echo "$as_me:3521: \"$ac_try\"") >&5
3524 echo "$as_me:3524: \$? = $ac_status" >&5
3525 (exit $ac_status); }; }; then
3526 ac_cv_lib_ld_nlist=yes
3528 echo "$as_me: failed program was:" >&5
3529 cat conftest.$ac_ext >&5
3530 ac_cv_lib_ld_nlist=no
3532 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3533 LIBS=$ac_check_lib_save_LIBS
3535 echo "$as_me:3535: result: $ac_cv_lib_ld_nlist" >&5
3536 echo "${ECHO_T}$ac_cv_lib_ld_nlist" >&6
3537 if test $ac_cv_lib_ld_nlist = yes; then
3538 cat >>confdefs.h <<EOF
3539 #define HAVE_LIBLD 1
3546 echo "$as_me:3546: checking for nlist in -lmld" >&5
3547 echo $ECHO_N "checking for nlist in -lmld... $ECHO_C" >&6
3548 if test "${ac_cv_lib_mld_nlist+set}" = set; then
3549 echo $ECHO_N "(cached) $ECHO_C" >&6
3551 ac_check_lib_save_LIBS=$LIBS
3553 cat >conftest.$ac_ext <<_ACEOF
3554 #line 3554 "configure"
3555 #include "confdefs.h"
3557 /* Override any gcc2 internal prototype to avoid an error. */
3561 /* We use char because int might match the return type of a gcc2
3562 builtin and then its argument prototype would still apply. */
3572 rm -f conftest.$ac_objext conftest$ac_exeext
3573 if { (eval echo "$as_me:3573: \"$ac_link\"") >&5
3574 (eval $ac_link) 2>&5
3576 echo "$as_me:3576: \$? = $ac_status" >&5
3577 (exit $ac_status); } &&
3578 { ac_try='test -s conftest$ac_exeext'
3579 { (eval echo "$as_me:3579: \"$ac_try\"") >&5
3582 echo "$as_me:3582: \$? = $ac_status" >&5
3583 (exit $ac_status); }; }; then
3584 ac_cv_lib_mld_nlist=yes
3586 echo "$as_me: failed program was:" >&5
3587 cat conftest.$ac_ext >&5
3588 ac_cv_lib_mld_nlist=no
3590 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3591 LIBS=$ac_check_lib_save_LIBS
3593 echo "$as_me:3593: result: $ac_cv_lib_mld_nlist" >&5
3594 echo "${ECHO_T}$ac_cv_lib_mld_nlist" >&6
3595 if test $ac_cv_lib_mld_nlist = yes; then
3596 cat >>confdefs.h <<EOF
3597 #define HAVE_LIBMLD 1
3604 echo "$as_me:3604: checking for gethostent" >&5
3605 echo $ECHO_N "checking for gethostent... $ECHO_C" >&6
3606 if test "${ac_cv_func_gethostent+set}" = set; then
3607 echo $ECHO_N "(cached) $ECHO_C" >&6
3609 cat >conftest.$ac_ext <<_ACEOF
3610 #line 3610 "configure"
3611 #include "confdefs.h"
3612 /* System header to define __stub macros and hopefully few prototypes,
3613 which can conflict with char gethostent (); below. */
3615 /* Override any gcc2 internal prototype to avoid an error. */
3619 /* We use char because int might match the return type of a gcc2
3620 builtin and then its argument prototype would still apply. */
3627 /* The GNU C library defines this for functions which it implements
3628 to always fail with ENOSYS. Some functions are actually named
3629 something starting with __ and the normal name is an alias. */
3630 #if defined (__stub_gethostent) || defined (__stub___gethostent)
3640 rm -f conftest.$ac_objext conftest$ac_exeext
3641 if { (eval echo "$as_me:3641: \"$ac_link\"") >&5
3642 (eval $ac_link) 2>&5
3644 echo "$as_me:3644: \$? = $ac_status" >&5
3645 (exit $ac_status); } &&
3646 { ac_try='test -s conftest$ac_exeext'
3647 { (eval echo "$as_me:3647: \"$ac_try\"") >&5
3650 echo "$as_me:3650: \$? = $ac_status" >&5
3651 (exit $ac_status); }; }; then
3652 ac_cv_func_gethostent=yes
3654 echo "$as_me: failed program was:" >&5
3655 cat conftest.$ac_ext >&5
3656 ac_cv_func_gethostent=no
3658 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3660 echo "$as_me:3660: result: $ac_cv_func_gethostent" >&5
3661 echo "${ECHO_T}$ac_cv_func_gethostent" >&6
3662 if test $ac_cv_func_gethostent = yes; then
3666 echo "$as_me:3666: checking for gethostent in -lnsl" >&5
3667 echo $ECHO_N "checking for gethostent in -lnsl... $ECHO_C" >&6
3668 if test "${ac_cv_lib_nsl_gethostent+set}" = set; then
3669 echo $ECHO_N "(cached) $ECHO_C" >&6
3671 ac_check_lib_save_LIBS=$LIBS
3672 LIBS="-lnsl -lsocket $LIBS"
3673 cat >conftest.$ac_ext <<_ACEOF
3674 #line 3674 "configure"
3675 #include "confdefs.h"
3677 /* Override any gcc2 internal prototype to avoid an error. */
3681 /* We use char because int might match the return type of a gcc2
3682 builtin and then its argument prototype would still apply. */
3692 rm -f conftest.$ac_objext conftest$ac_exeext
3693 if { (eval echo "$as_me:3693: \"$ac_link\"") >&5
3694 (eval $ac_link) 2>&5
3696 echo "$as_me:3696: \$? = $ac_status" >&5
3697 (exit $ac_status); } &&
3698 { ac_try='test -s conftest$ac_exeext'
3699 { (eval echo "$as_me:3699: \"$ac_try\"") >&5
3702 echo "$as_me:3702: \$? = $ac_status" >&5
3703 (exit $ac_status); }; }; then
3704 ac_cv_lib_nsl_gethostent=yes
3706 echo "$as_me: failed program was:" >&5
3707 cat conftest.$ac_ext >&5
3708 ac_cv_lib_nsl_gethostent=no
3710 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3711 LIBS=$ac_check_lib_save_LIBS
3713 echo "$as_me:3713: result: $ac_cv_lib_nsl_gethostent" >&5
3714 echo "${ECHO_T}$ac_cv_lib_nsl_gethostent" >&6
3715 if test $ac_cv_lib_nsl_gethostent = yes; then
3716 cat >>confdefs.h <<EOF
3717 #define HAVE_LIBNSL 1
3726 echo "$as_me:3726: checking for openlog" >&5
3727 echo $ECHO_N "checking for openlog... $ECHO_C" >&6
3728 if test "${ac_cv_func_openlog+set}" = set; then
3729 echo $ECHO_N "(cached) $ECHO_C" >&6
3731 cat >conftest.$ac_ext <<_ACEOF
3732 #line 3732 "configure"
3733 #include "confdefs.h"
3734 /* System header to define __stub macros and hopefully few prototypes,
3735 which can conflict with char openlog (); below. */
3737 /* Override any gcc2 internal prototype to avoid an error. */
3741 /* We use char because int might match the return type of a gcc2
3742 builtin and then its argument prototype would still apply. */
3749 /* The GNU C library defines this for functions which it implements
3750 to always fail with ENOSYS. Some functions are actually named
3751 something starting with __ and the normal name is an alias. */
3752 #if defined (__stub_openlog) || defined (__stub___openlog)
3762 rm -f conftest.$ac_objext conftest$ac_exeext
3763 if { (eval echo "$as_me:3763: \"$ac_link\"") >&5
3764 (eval $ac_link) 2>&5
3766 echo "$as_me:3766: \$? = $ac_status" >&5
3767 (exit $ac_status); } &&
3768 { ac_try='test -s conftest$ac_exeext'
3769 { (eval echo "$as_me:3769: \"$ac_try\"") >&5
3772 echo "$as_me:3772: \$? = $ac_status" >&5
3773 (exit $ac_status); }; }; then
3774 ac_cv_func_openlog=yes
3776 echo "$as_me: failed program was:" >&5
3777 cat conftest.$ac_ext >&5
3778 ac_cv_func_openlog=no
3780 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3782 echo "$as_me:3782: result: $ac_cv_func_openlog" >&5
3783 echo "${ECHO_T}$ac_cv_func_openlog" >&6
3784 if test $ac_cv_func_openlog = yes; then
3788 echo "$as_me:3788: checking for openlog in -lgen" >&5
3789 echo $ECHO_N "checking for openlog in -lgen... $ECHO_C" >&6
3790 if test "${ac_cv_lib_gen_openlog+set}" = set; then
3791 echo $ECHO_N "(cached) $ECHO_C" >&6
3793 ac_check_lib_save_LIBS=$LIBS
3795 cat >conftest.$ac_ext <<_ACEOF
3796 #line 3796 "configure"
3797 #include "confdefs.h"
3799 /* Override any gcc2 internal prototype to avoid an error. */
3803 /* We use char because int might match the return type of a gcc2
3804 builtin and then its argument prototype would still apply. */
3814 rm -f conftest.$ac_objext conftest$ac_exeext
3815 if { (eval echo "$as_me:3815: \"$ac_link\"") >&5
3816 (eval $ac_link) 2>&5
3818 echo "$as_me:3818: \$? = $ac_status" >&5
3819 (exit $ac_status); } &&
3820 { ac_try='test -s conftest$ac_exeext'
3821 { (eval echo "$as_me:3821: \"$ac_try\"") >&5
3824 echo "$as_me:3824: \$? = $ac_status" >&5
3825 (exit $ac_status); }; }; then
3826 ac_cv_lib_gen_openlog=yes
3828 echo "$as_me: failed program was:" >&5
3829 cat conftest.$ac_ext >&5
3830 ac_cv_lib_gen_openlog=no
3832 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3833 LIBS=$ac_check_lib_save_LIBS
3835 echo "$as_me:3835: result: $ac_cv_lib_gen_openlog" >&5
3836 echo "${ECHO_T}$ac_cv_lib_gen_openlog" >&6
3837 if test $ac_cv_lib_gen_openlog = yes; then
3838 cat >>confdefs.h <<EOF
3839 #define HAVE_LIBGEN 1
3848 echo "$as_me:3848: checking for readline in -lreadline" >&5
3849 echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6
3850 if test "${ac_cv_lib_readline_readline+set}" = set; then
3851 echo $ECHO_N "(cached) $ECHO_C" >&6
3853 ac_check_lib_save_LIBS=$LIBS
3854 LIBS="-lreadline $LIBS"
3855 cat >conftest.$ac_ext <<_ACEOF
3856 #line 3856 "configure"
3857 #include "confdefs.h"
3859 /* Override any gcc2 internal prototype to avoid an error. */
3863 /* We use char because int might match the return type of a gcc2
3864 builtin and then its argument prototype would still apply. */
3874 rm -f conftest.$ac_objext conftest$ac_exeext
3875 if { (eval echo "$as_me:3875: \"$ac_link\"") >&5
3876 (eval $ac_link) 2>&5
3878 echo "$as_me:3878: \$? = $ac_status" >&5
3879 (exit $ac_status); } &&
3880 { ac_try='test -s conftest$ac_exeext'
3881 { (eval echo "$as_me:3881: \"$ac_try\"") >&5
3884 echo "$as_me:3884: \$? = $ac_status" >&5
3885 (exit $ac_status); }; }; then
3886 ac_cv_lib_readline_readline=yes
3888 echo "$as_me: failed program was:" >&5
3889 cat conftest.$ac_ext >&5
3890 ac_cv_lib_readline_readline=no
3892 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3893 LIBS=$ac_check_lib_save_LIBS
3895 echo "$as_me:3895: result: $ac_cv_lib_readline_readline" >&5
3896 echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6
3897 if test $ac_cv_lib_readline_readline = yes; then
3898 cat >>confdefs.h <<EOF
3899 #define HAVE_LIBREADLINE 1
3902 LIBS="-lreadline $LIBS"
3910 echo "$as_me:3910: checking for sched_setscheduler in -lrt" >&5
3911 echo $ECHO_N "checking for sched_setscheduler in -lrt... $ECHO_C" >&6
3912 if test "${ac_cv_lib_rt_sched_setscheduler+set}" = set; then
3913 echo $ECHO_N "(cached) $ECHO_C" >&6
3915 ac_check_lib_save_LIBS=$LIBS
3917 cat >conftest.$ac_ext <<_ACEOF
3918 #line 3918 "configure"
3919 #include "confdefs.h"
3921 /* Override any gcc2 internal prototype to avoid an error. */
3925 /* We use char because int might match the return type of a gcc2
3926 builtin and then its argument prototype would still apply. */
3927 char sched_setscheduler ();
3931 sched_setscheduler ();
3936 rm -f conftest.$ac_objext conftest$ac_exeext
3937 if { (eval echo "$as_me:3937: \"$ac_link\"") >&5
3938 (eval $ac_link) 2>&5
3940 echo "$as_me:3940: \$? = $ac_status" >&5
3941 (exit $ac_status); } &&
3942 { ac_try='test -s conftest$ac_exeext'
3943 { (eval echo "$as_me:3943: \"$ac_try\"") >&5
3946 echo "$as_me:3946: \$? = $ac_status" >&5
3947 (exit $ac_status); }; }; then
3948 ac_cv_lib_rt_sched_setscheduler=yes
3950 echo "$as_me: failed program was:" >&5
3951 cat conftest.$ac_ext >&5
3952 ac_cv_lib_rt_sched_setscheduler=no
3954 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3955 LIBS=$ac_check_lib_save_LIBS
3957 echo "$as_me:3957: result: $ac_cv_lib_rt_sched_setscheduler" >&5
3958 echo "${ECHO_T}$ac_cv_lib_rt_sched_setscheduler" >&6
3959 if test $ac_cv_lib_rt_sched_setscheduler = yes; then
3960 cat >>confdefs.h <<EOF
3961 #define HAVE_LIBRT 1
3968 echo "$as_me:3968: checking for sched_setscheduler in -lposix4" >&5
3969 echo $ECHO_N "checking for sched_setscheduler in -lposix4... $ECHO_C" >&6
3970 if test "${ac_cv_lib_posix4_sched_setscheduler+set}" = set; then
3971 echo $ECHO_N "(cached) $ECHO_C" >&6
3973 ac_check_lib_save_LIBS=$LIBS
3974 LIBS="-lposix4 $LIBS"
3975 cat >conftest.$ac_ext <<_ACEOF
3976 #line 3976 "configure"
3977 #include "confdefs.h"
3979 /* Override any gcc2 internal prototype to avoid an error. */
3983 /* We use char because int might match the return type of a gcc2
3984 builtin and then its argument prototype would still apply. */
3985 char sched_setscheduler ();
3989 sched_setscheduler ();
3994 rm -f conftest.$ac_objext conftest$ac_exeext
3995 if { (eval echo "$as_me:3995: \"$ac_link\"") >&5
3996 (eval $ac_link) 2>&5
3998 echo "$as_me:3998: \$? = $ac_status" >&5
3999 (exit $ac_status); } &&
4000 { ac_try='test -s conftest$ac_exeext'
4001 { (eval echo "$as_me:4001: \"$ac_try\"") >&5
4004 echo "$as_me:4004: \$? = $ac_status" >&5
4005 (exit $ac_status); }; }; then
4006 ac_cv_lib_posix4_sched_setscheduler=yes
4008 echo "$as_me: failed program was:" >&5
4009 cat conftest.$ac_ext >&5
4010 ac_cv_lib_posix4_sched_setscheduler=no
4012 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4013 LIBS=$ac_check_lib_save_LIBS
4015 echo "$as_me:4015: result: $ac_cv_lib_posix4_sched_setscheduler" >&5
4016 echo "${ECHO_T}$ac_cv_lib_posix4_sched_setscheduler" >&6
4017 if test $ac_cv_lib_posix4_sched_setscheduler = yes; then
4018 cat >>confdefs.h <<EOF
4019 #define HAVE_LIBPOSIX4 1
4022 LIBS="-lposix4 $LIBS"
4031 echo "$as_me:4031: checking for setsockopt" >&5
4032 echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
4033 if test "${ac_cv_func_setsockopt+set}" = set; then
4034 echo $ECHO_N "(cached) $ECHO_C" >&6
4036 cat >conftest.$ac_ext <<_ACEOF
4037 #line 4037 "configure"
4038 #include "confdefs.h"
4039 /* System header to define __stub macros and hopefully few prototypes,
4040 which can conflict with char setsockopt (); below. */
4042 /* Override any gcc2 internal prototype to avoid an error. */
4046 /* We use char because int might match the return type of a gcc2
4047 builtin and then its argument prototype would still apply. */
4054 /* The GNU C library defines this for functions which it implements
4055 to always fail with ENOSYS. Some functions are actually named
4056 something starting with __ and the normal name is an alias. */
4057 #if defined (__stub_setsockopt) || defined (__stub___setsockopt)
4067 rm -f conftest.$ac_objext conftest$ac_exeext
4068 if { (eval echo "$as_me:4068: \"$ac_link\"") >&5
4069 (eval $ac_link) 2>&5
4071 echo "$as_me:4071: \$? = $ac_status" >&5
4072 (exit $ac_status); } &&
4073 { ac_try='test -s conftest$ac_exeext'
4074 { (eval echo "$as_me:4074: \"$ac_try\"") >&5
4077 echo "$as_me:4077: \$? = $ac_status" >&5
4078 (exit $ac_status); }; }; then
4079 ac_cv_func_setsockopt=yes
4081 echo "$as_me: failed program was:" >&5
4082 cat conftest.$ac_ext >&5
4083 ac_cv_func_setsockopt=no
4085 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4087 echo "$as_me:4087: result: $ac_cv_func_setsockopt" >&5
4088 echo "${ECHO_T}$ac_cv_func_setsockopt" >&6
4089 if test $ac_cv_func_setsockopt = yes; then
4093 echo "$as_me:4093: checking for setsockopt in -lsocket" >&5
4094 echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6
4095 if test "${ac_cv_lib_socket_setsockopt+set}" = set; then
4096 echo $ECHO_N "(cached) $ECHO_C" >&6
4098 ac_check_lib_save_LIBS=$LIBS
4099 LIBS="-lsocket $LIBS"
4100 cat >conftest.$ac_ext <<_ACEOF
4101 #line 4101 "configure"
4102 #include "confdefs.h"
4104 /* Override any gcc2 internal prototype to avoid an error. */
4108 /* We use char because int might match the return type of a gcc2
4109 builtin and then its argument prototype would still apply. */
4119 rm -f conftest.$ac_objext conftest$ac_exeext
4120 if { (eval echo "$as_me:4120: \"$ac_link\"") >&5
4121 (eval $ac_link) 2>&5
4123 echo "$as_me:4123: \$? = $ac_status" >&5
4124 (exit $ac_status); } &&
4125 { ac_try='test -s conftest$ac_exeext'
4126 { (eval echo "$as_me:4126: \"$ac_try\"") >&5
4129 echo "$as_me:4129: \$? = $ac_status" >&5
4130 (exit $ac_status); }; }; then
4131 ac_cv_lib_socket_setsockopt=yes
4133 echo "$as_me: failed program was:" >&5
4134 cat conftest.$ac_ext >&5
4135 ac_cv_lib_socket_setsockopt=no
4137 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4138 LIBS=$ac_check_lib_save_LIBS
4140 echo "$as_me:4140: result: $ac_cv_lib_socket_setsockopt" >&5
4141 echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6
4142 if test $ac_cv_lib_socket_setsockopt = yes; then
4143 cat >>confdefs.h <<EOF
4144 #define HAVE_LIBSOCKET 1
4147 LIBS="-lsocket $LIBS"
4153 echo "$as_me:4153: checking for ANSI C header files" >&5
4154 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4155 if test "${ac_cv_header_stdc+set}" = set; then
4156 echo $ECHO_N "(cached) $ECHO_C" >&6
4158 cat >conftest.$ac_ext <<_ACEOF
4159 #line 4159 "configure"
4160 #include "confdefs.h"
4167 if { (eval echo "$as_me:4167: \"$ac_cpp conftest.$ac_ext\"") >&5
4168 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4170 egrep -v '^ *\+' conftest.er1 >conftest.err
4172 cat conftest.err >&5
4173 echo "$as_me:4173: \$? = $ac_status" >&5
4174 (exit $ac_status); } >/dev/null; then
4175 if test -s conftest.err; then
4176 ac_cpp_err=$ac_c_preproc_warn_flag
4183 if test -z "$ac_cpp_err"; then
4184 ac_cv_header_stdc=yes
4186 echo "$as_me: failed program was:" >&5
4187 cat conftest.$ac_ext >&5
4188 ac_cv_header_stdc=no
4190 rm -f conftest.err conftest.$ac_ext
4192 if test $ac_cv_header_stdc = yes; then
4193 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4194 cat >conftest.$ac_ext <<_ACEOF
4195 #line 4195 "configure"
4196 #include "confdefs.h"
4200 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4201 egrep "memchr" >/dev/null 2>&1; then
4204 ac_cv_header_stdc=no
4210 if test $ac_cv_header_stdc = yes; then
4211 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4212 cat >conftest.$ac_ext <<_ACEOF
4213 #line 4213 "configure"
4214 #include "confdefs.h"
4218 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4219 egrep "free" >/dev/null 2>&1; then
4222 ac_cv_header_stdc=no
4228 if test $ac_cv_header_stdc = yes; then
4229 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4230 if test "$cross_compiling" = yes; then
4233 cat >conftest.$ac_ext <<_ACEOF
4234 #line 4234 "configure"
4235 #include "confdefs.h"
4237 #if ((' ' & 0x0FF) == 0x020)
4238 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4239 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4241 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4242 || ('j' <= (c) && (c) <= 'r') \
4243 || ('s' <= (c) && (c) <= 'z'))
4244 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4247 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4252 for (i = 0; i < 256; i++)
4253 if (XOR (islower (i), ISLOWER (i))
4254 || toupper (i) != TOUPPER (i))
4259 rm -f conftest$ac_exeext
4260 if { (eval echo "$as_me:4260: \"$ac_link\"") >&5
4261 (eval $ac_link) 2>&5
4263 echo "$as_me:4263: \$? = $ac_status" >&5
4264 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4265 { (eval echo "$as_me:4265: \"$ac_try\"") >&5
4268 echo "$as_me:4268: \$? = $ac_status" >&5
4269 (exit $ac_status); }; }; then
4272 echo "$as_me: program exited with status $ac_status" >&5
4273 echo "$as_me: failed program was:" >&5
4274 cat conftest.$ac_ext >&5
4275 ac_cv_header_stdc=no
4277 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
4281 echo "$as_me:4281: result: $ac_cv_header_stdc" >&5
4282 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4283 if test $ac_cv_header_stdc = yes; then
4285 cat >>confdefs.h <<\EOF
4286 #define STDC_HEADERS 1
4291 for ac_header in bstring.h errno.h fcntl.h ieeefp.h math.h memory.h netdb.h
4293 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4294 echo "$as_me:4294: checking for $ac_header" >&5
4295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4296 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4297 echo $ECHO_N "(cached) $ECHO_C" >&6
4299 cat >conftest.$ac_ext <<_ACEOF
4300 #line 4300 "configure"
4301 #include "confdefs.h"
4302 #include <$ac_header>
4304 if { (eval echo "$as_me:4304: \"$ac_cpp conftest.$ac_ext\"") >&5
4305 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4307 egrep -v '^ *\+' conftest.er1 >conftest.err
4309 cat conftest.err >&5
4310 echo "$as_me:4310: \$? = $ac_status" >&5
4311 (exit $ac_status); } >/dev/null; then
4312 if test -s conftest.err; then
4313 ac_cpp_err=$ac_c_preproc_warn_flag
4320 if test -z "$ac_cpp_err"; then
4321 eval "$ac_ac_Header=yes"
4323 echo "$as_me: failed program was:" >&5
4324 cat conftest.$ac_ext >&5
4325 eval "$ac_ac_Header=no"
4327 rm -f conftest.err conftest.$ac_ext
4329 echo "$as_me:4329: result: `eval echo '${'$ac_ac_Header'}'`" >&5
4330 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
4331 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
4332 cat >>confdefs.h <<EOF
4333 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
4339 for ac_header in poll.h resolv.h sched.h sgtty.h stdlib.h string.h termio.h
4341 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4342 echo "$as_me:4342: checking for $ac_header" >&5
4343 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4344 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4345 echo $ECHO_N "(cached) $ECHO_C" >&6
4347 cat >conftest.$ac_ext <<_ACEOF
4348 #line 4348 "configure"
4349 #include "confdefs.h"
4350 #include <$ac_header>
4352 if { (eval echo "$as_me:4352: \"$ac_cpp conftest.$ac_ext\"") >&5
4353 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4355 egrep -v '^ *\+' conftest.er1 >conftest.err
4357 cat conftest.err >&5
4358 echo "$as_me:4358: \$? = $ac_status" >&5
4359 (exit $ac_status); } >/dev/null; then
4360 if test -s conftest.err; then
4361 ac_cpp_err=$ac_c_preproc_warn_flag
4368 if test -z "$ac_cpp_err"; then
4369 eval "$ac_ac_Header=yes"
4371 echo "$as_me: failed program was:" >&5
4372 cat conftest.$ac_ext >&5
4373 eval "$ac_ac_Header=no"
4375 rm -f conftest.err conftest.$ac_ext
4377 echo "$as_me:4377: result: `eval echo '${'$ac_ac_Header'}'`" >&5
4378 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
4379 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
4380 cat >>confdefs.h <<EOF
4381 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
4387 for ac_header in termios.h timepps.h timex.h unistd.h utmp.h utmpx.h
4389 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4390 echo "$as_me:4390: checking for $ac_header" >&5
4391 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4392 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4393 echo $ECHO_N "(cached) $ECHO_C" >&6
4395 cat >conftest.$ac_ext <<_ACEOF
4396 #line 4396 "configure"
4397 #include "confdefs.h"
4398 #include <$ac_header>
4400 if { (eval echo "$as_me:4400: \"$ac_cpp conftest.$ac_ext\"") >&5
4401 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4403 egrep -v '^ *\+' conftest.er1 >conftest.err
4405 cat conftest.err >&5
4406 echo "$as_me:4406: \$? = $ac_status" >&5
4407 (exit $ac_status); } >/dev/null; then
4408 if test -s conftest.err; then
4409 ac_cpp_err=$ac_c_preproc_warn_flag
4416 if test -z "$ac_cpp_err"; then
4417 eval "$ac_ac_Header=yes"
4419 echo "$as_me: failed program was:" >&5
4420 cat conftest.$ac_ext >&5
4421 eval "$ac_ac_Header=no"
4423 rm -f conftest.err conftest.$ac_ext
4425 echo "$as_me:4425: result: `eval echo '${'$ac_ac_Header'}'`" >&5
4426 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
4427 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
4428 cat >>confdefs.h <<EOF
4429 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
4435 for ac_header in arpa/nameser.h net/if.h netinet/in_systm.h netinet/in.h
4437 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4438 echo "$as_me:4438: checking for $ac_header" >&5
4439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4440 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4441 echo $ECHO_N "(cached) $ECHO_C" >&6
4443 cat >conftest.$ac_ext <<_ACEOF
4444 #line 4444 "configure"
4445 #include "confdefs.h"
4446 #include <$ac_header>
4448 if { (eval echo "$as_me:4448: \"$ac_cpp conftest.$ac_ext\"") >&5
4449 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4451 egrep -v '^ *\+' conftest.er1 >conftest.err
4453 cat conftest.err >&5
4454 echo "$as_me:4454: \$? = $ac_status" >&5
4455 (exit $ac_status); } >/dev/null; then
4456 if test -s conftest.err; then
4457 ac_cpp_err=$ac_c_preproc_warn_flag
4464 if test -z "$ac_cpp_err"; then
4465 eval "$ac_ac_Header=yes"
4467 echo "$as_me: failed program was:" >&5
4468 cat conftest.$ac_ext >&5
4469 eval "$ac_ac_Header=no"
4471 rm -f conftest.err conftest.$ac_ext
4473 echo "$as_me:4473: result: `eval echo '${'$ac_ac_Header'}'`" >&5
4474 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
4475 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
4476 cat >>confdefs.h <<EOF
4477 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
4483 for ac_header in netinfo/ni.h
4485 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4486 echo "$as_me:4486: checking for $ac_header" >&5
4487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4488 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4489 echo $ECHO_N "(cached) $ECHO_C" >&6
4491 cat >conftest.$ac_ext <<_ACEOF
4492 #line 4492 "configure"
4493 #include "confdefs.h"
4494 #include <$ac_header>
4496 if { (eval echo "$as_me:4496: \"$ac_cpp conftest.$ac_ext\"") >&5
4497 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4499 egrep -v '^ *\+' conftest.er1 >conftest.err
4501 cat conftest.err >&5
4502 echo "$as_me:4502: \$? = $ac_status" >&5
4503 (exit $ac_status); } >/dev/null; then
4504 if test -s conftest.err; then
4505 ac_cpp_err=$ac_c_preproc_warn_flag
4512 if test -z "$ac_cpp_err"; then
4513 eval "$ac_ac_Header=yes"
4515 echo "$as_me: failed program was:" >&5
4516 cat conftest.$ac_ext >&5
4517 eval "$ac_ac_Header=no"
4519 rm -f conftest.err conftest.$ac_ext
4521 echo "$as_me:4521: result: `eval echo '${'$ac_ac_Header'}'`" >&5
4522 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
4523 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
4524 cat >>confdefs.h <<EOF
4525 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
4527 cat >>confdefs.h <<\EOF
4528 #define HAVE_NETINFO 1
4534 for ac_header in sun/audioio.h sys/audioio.h
4536 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4537 echo "$as_me:4537: checking for $ac_header" >&5
4538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4539 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4540 echo $ECHO_N "(cached) $ECHO_C" >&6
4542 cat >conftest.$ac_ext <<_ACEOF
4543 #line 4543 "configure"
4544 #include "confdefs.h"
4545 #include <$ac_header>
4547 if { (eval echo "$as_me:4547: \"$ac_cpp conftest.$ac_ext\"") >&5
4548 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4550 egrep -v '^ *\+' conftest.er1 >conftest.err
4552 cat conftest.err >&5
4553 echo "$as_me:4553: \$? = $ac_status" >&5
4554 (exit $ac_status); } >/dev/null; then
4555 if test -s conftest.err; then
4556 ac_cpp_err=$ac_c_preproc_warn_flag
4563 if test -z "$ac_cpp_err"; then
4564 eval "$ac_ac_Header=yes"
4566 echo "$as_me: failed program was:" >&5
4567 cat conftest.$ac_ext >&5
4568 eval "$ac_ac_Header=no"
4570 rm -f conftest.err conftest.$ac_ext
4572 echo "$as_me:4572: result: `eval echo '${'$ac_ac_Header'}'`" >&5
4573 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
4574 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
4575 cat >>confdefs.h <<EOF
4576 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
4582 for ac_header in sys/clkdefs.h sys/file.h
4584 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4585 echo "$as_me:4585: checking for $ac_header" >&5
4586 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4587 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4588 echo $ECHO_N "(cached) $ECHO_C" >&6
4590 cat >conftest.$ac_ext <<_ACEOF
4591 #line 4591 "configure"
4592 #include "confdefs.h"
4593 #include <$ac_header>
4595 if { (eval echo "$as_me:4595: \"$ac_cpp conftest.$ac_ext\"") >&5
4596 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4598 egrep -v '^ *\+' conftest.er1 >conftest.err
4600 cat conftest.err >&5
4601 echo "$as_me:4601: \$? = $ac_status" >&5
4602 (exit $ac_status); } >/dev/null; then
4603 if test -s conftest.err; then
4604 ac_cpp_err=$ac_c_preproc_warn_flag
4611 if test -z "$ac_cpp_err"; then
4612 eval "$ac_ac_Header=yes"
4614 echo "$as_me: failed program was:" >&5
4615 cat conftest.$ac_ext >&5
4616 eval "$ac_ac_Header=no"
4618 rm -f conftest.err conftest.$ac_ext
4620 echo "$as_me:4620: result: `eval echo '${'$ac_ac_Header'}'`" >&5
4621 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
4622 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
4623 cat >>confdefs.h <<EOF
4624 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
4633 for ac_header in sys/ioctl.h
4635 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4636 echo "$as_me:4636: checking for $ac_header" >&5
4637 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4638 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4639 echo $ECHO_N "(cached) $ECHO_C" >&6
4641 cat >conftest.$ac_ext <<_ACEOF
4642 #line 4642 "configure"
4643 #include "confdefs.h"
4644 #include <$ac_header>
4646 if { (eval echo "$as_me:4646: \"$ac_cpp conftest.$ac_ext\"") >&5
4647 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4649 egrep -v '^ *\+' conftest.er1 >conftest.err
4651 cat conftest.err >&5
4652 echo "$as_me:4652: \$? = $ac_status" >&5
4653 (exit $ac_status); } >/dev/null; then
4654 if test -s conftest.err; then
4655 ac_cpp_err=$ac_c_preproc_warn_flag
4662 if test -z "$ac_cpp_err"; then
4663 eval "$ac_ac_Header=yes"
4665 echo "$as_me: failed program was:" >&5
4666 cat conftest.$ac_ext >&5
4667 eval "$ac_ac_Header=no"
4669 rm -f conftest.err conftest.$ac_ext
4671 echo "$as_me:4671: result: `eval echo '${'$ac_ac_Header'}'`" >&5
4672 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
4673 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
4674 cat >>confdefs.h <<EOF
4675 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
4684 for ac_header in sys/lock.h sys/mman.h sys/modem.h sys/param.h sys/ppsclock.h
4686 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4687 echo "$as_me:4687: checking for $ac_header" >&5
4688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4689 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4690 echo $ECHO_N "(cached) $ECHO_C" >&6
4692 cat >conftest.$ac_ext <<_ACEOF
4693 #line 4693 "configure"
4694 #include "confdefs.h"
4695 #include <$ac_header>
4697 if { (eval echo "$as_me:4697: \"$ac_cpp conftest.$ac_ext\"") >&5
4698 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4700 egrep -v '^ *\+' conftest.er1 >conftest.err
4702 cat conftest.err >&5
4703 echo "$as_me:4703: \$? = $ac_status" >&5
4704 (exit $ac_status); } >/dev/null; then
4705 if test -s conftest.err; then
4706 ac_cpp_err=$ac_c_preproc_warn_flag
4713 if test -z "$ac_cpp_err"; then
4714 eval "$ac_ac_Header=yes"
4716 echo "$as_me: failed program was:" >&5
4717 cat conftest.$ac_ext >&5
4718 eval "$ac_ac_Header=no"
4720 rm -f conftest.err conftest.$ac_ext
4722 echo "$as_me:4722: result: `eval echo '${'$ac_ac_Header'}'`" >&5
4723 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
4724 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
4725 cat >>confdefs.h <<EOF
4726 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
4732 for ac_header in sys/ppstime.h sys/proc.h sys/resource.h sys/sched.h
4734 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4735 echo "$as_me:4735: checking for $ac_header" >&5
4736 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4737 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4738 echo $ECHO_N "(cached) $ECHO_C" >&6
4740 cat >conftest.$ac_ext <<_ACEOF
4741 #line 4741 "configure"
4742 #include "confdefs.h"
4743 #include <$ac_header>
4745 if { (eval echo "$as_me:4745: \"$ac_cpp conftest.$ac_ext\"") >&5
4746 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4748 egrep -v '^ *\+' conftest.er1 >conftest.err
4750 cat conftest.err >&5
4751 echo "$as_me:4751: \$? = $ac_status" >&5
4752 (exit $ac_status); } >/dev/null; then
4753 if test -s conftest.err; then
4754 ac_cpp_err=$ac_c_preproc_warn_flag
4761 if test -z "$ac_cpp_err"; then
4762 eval "$ac_ac_Header=yes"
4764 echo "$as_me: failed program was:" >&5
4765 cat conftest.$ac_ext >&5
4766 eval "$ac_ac_Header=no"
4768 rm -f conftest.err conftest.$ac_ext
4770 echo "$as_me:4770: result: `eval echo '${'$ac_ac_Header'}'`" >&5
4771 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
4772 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
4773 cat >>confdefs.h <<EOF
4774 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
4783 for ac_header in sys/sio.h
4785 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4786 echo "$as_me:4786: checking for $ac_header" >&5
4787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4788 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4789 echo $ECHO_N "(cached) $ECHO_C" >&6
4791 cat >conftest.$ac_ext <<_ACEOF
4792 #line 4792 "configure"
4793 #include "confdefs.h"
4794 #include <$ac_header>
4796 if { (eval echo "$as_me:4796: \"$ac_cpp conftest.$ac_ext\"") >&5
4797 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4799 egrep -v '^ *\+' conftest.er1 >conftest.err
4801 cat conftest.err >&5
4802 echo "$as_me:4802: \$? = $ac_status" >&5
4803 (exit $ac_status); } >/dev/null; then
4804 if test -s conftest.err; then
4805 ac_cpp_err=$ac_c_preproc_warn_flag
4812 if test -z "$ac_cpp_err"; then
4813 eval "$ac_ac_Header=yes"
4815 echo "$as_me: failed program was:" >&5
4816 cat conftest.$ac_ext >&5
4817 eval "$ac_ac_Header=no"
4819 rm -f conftest.err conftest.$ac_ext
4821 echo "$as_me:4821: result: `eval echo '${'$ac_ac_Header'}'`" >&5
4822 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
4823 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
4824 cat >>confdefs.h <<EOF
4825 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
4834 for ac_header in sys/select.h sys/sockio.h sys/stat.h sys/stream.h
4836 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4837 echo "$as_me:4837: checking for $ac_header" >&5
4838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4839 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4840 echo $ECHO_N "(cached) $ECHO_C" >&6
4842 cat >conftest.$ac_ext <<_ACEOF
4843 #line 4843 "configure"
4844 #include "confdefs.h"
4845 #include <$ac_header>
4847 if { (eval echo "$as_me:4847: \"$ac_cpp conftest.$ac_ext\"") >&5
4848 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4850 egrep -v '^ *\+' conftest.er1 >conftest.err
4852 cat conftest.err >&5
4853 echo "$as_me:4853: \$? = $ac_status" >&5
4854 (exit $ac_status); } >/dev/null; then
4855 if test -s conftest.err; then
4856 ac_cpp_err=$ac_c_preproc_warn_flag
4863 if test -z "$ac_cpp_err"; then
4864 eval "$ac_ac_Header=yes"
4866 echo "$as_me: failed program was:" >&5
4867 cat conftest.$ac_ext >&5
4868 eval "$ac_ac_Header=no"
4870 rm -f conftest.err conftest.$ac_ext
4872 echo "$as_me:4872: result: `eval echo '${'$ac_ac_Header'}'`" >&5
4873 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
4874 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
4875 cat >>confdefs.h <<EOF
4876 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
4882 for ac_header in sys/stropts.h sys/sysctl.h sys/syssgi.h sys/termios.h
4884 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4885 echo "$as_me:4885: checking for $ac_header" >&5
4886 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4887 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4888 echo $ECHO_N "(cached) $ECHO_C" >&6
4890 cat >conftest.$ac_ext <<_ACEOF
4891 #line 4891 "configure"
4892 #include "confdefs.h"
4893 #include <$ac_header>
4895 if { (eval echo "$as_me:4895: \"$ac_cpp conftest.$ac_ext\"") >&5
4896 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4898 egrep -v '^ *\+' conftest.er1 >conftest.err
4900 cat conftest.err >&5
4901 echo "$as_me:4901: \$? = $ac_status" >&5
4902 (exit $ac_status); } >/dev/null; then
4903 if test -s conftest.err; then
4904 ac_cpp_err=$ac_c_preproc_warn_flag
4911 if test -z "$ac_cpp_err"; then
4912 eval "$ac_ac_Header=yes"
4914 echo "$as_me: failed program was:" >&5
4915 cat conftest.$ac_ext >&5
4916 eval "$ac_ac_Header=no"
4918 rm -f conftest.err conftest.$ac_ext
4920 echo "$as_me:4920: result: `eval echo '${'$ac_ac_Header'}'`" >&5
4921 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
4922 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
4923 cat >>confdefs.h <<EOF
4924 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
4930 for ac_header in sys/time.h
4932 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4933 echo "$as_me:4933: checking for $ac_header" >&5
4934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4935 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4936 echo $ECHO_N "(cached) $ECHO_C" >&6
4938 cat >conftest.$ac_ext <<_ACEOF
4939 #line 4939 "configure"
4940 #include "confdefs.h"
4941 #include <$ac_header>
4943 if { (eval echo "$as_me:4943: \"$ac_cpp conftest.$ac_ext\"") >&5
4944 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4946 egrep -v '^ *\+' conftest.er1 >conftest.err
4948 cat conftest.err >&5
4949 echo "$as_me:4949: \$? = $ac_status" >&5
4950 (exit $ac_status); } >/dev/null; then
4951 if test -s conftest.err; then
4952 ac_cpp_err=$ac_c_preproc_warn_flag
4959 if test -z "$ac_cpp_err"; then
4960 eval "$ac_ac_Header=yes"
4962 echo "$as_me: failed program was:" >&5
4963 cat conftest.$ac_ext >&5
4964 eval "$ac_ac_Header=no"
4966 rm -f conftest.err conftest.$ac_ext
4968 echo "$as_me:4968: result: `eval echo '${'$ac_ac_Header'}'`" >&5
4969 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
4970 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
4971 cat >>confdefs.h <<EOF
4972 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
4978 cat >conftest.$ac_ext <<_ACEOF
4979 #line 4979 "configure"
4980 #include "confdefs.h"
4981 #include <sys/timepps.h>
4982 #ifdef PPS_API_VERS_1
4987 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4988 egrep "yes" >/dev/null 2>&1; then
4990 for ac_header in sys/timepps.h
4992 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4993 echo "$as_me:4993: checking for $ac_header" >&5
4994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4995 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4996 echo $ECHO_N "(cached) $ECHO_C" >&6
4998 cat >conftest.$ac_ext <<_ACEOF
4999 #line 4999 "configure"
5000 #include "confdefs.h"
5001 #include <$ac_header>
5003 if { (eval echo "$as_me:5003: \"$ac_cpp conftest.$ac_ext\"") >&5
5004 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5006 egrep -v '^ *\+' conftest.er1 >conftest.err
5008 cat conftest.err >&5
5009 echo "$as_me:5009: \$? = $ac_status" >&5
5010 (exit $ac_status); } >/dev/null; then
5011 if test -s conftest.err; then
5012 ac_cpp_err=$ac_c_preproc_warn_flag
5019 if test -z "$ac_cpp_err"; then
5020 eval "$ac_ac_Header=yes"
5022 echo "$as_me: failed program was:" >&5
5023 cat conftest.$ac_ext >&5
5024 eval "$ac_ac_Header=no"
5026 rm -f conftest.err conftest.$ac_ext
5028 echo "$as_me:5028: result: `eval echo '${'$ac_ac_Header'}'`" >&5
5029 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
5030 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
5031 cat >>confdefs.h <<EOF
5032 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
5041 for ac_header in sys/timers.h sys/timex.h sys/tpro.h sys/types.h sys/wait.h
5043 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
5044 echo "$as_me:5044: checking for $ac_header" >&5
5045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5046 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
5047 echo $ECHO_N "(cached) $ECHO_C" >&6
5049 cat >conftest.$ac_ext <<_ACEOF
5050 #line 5050 "configure"
5051 #include "confdefs.h"
5052 #include <$ac_header>
5054 if { (eval echo "$as_me:5054: \"$ac_cpp conftest.$ac_ext\"") >&5
5055 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5057 egrep -v '^ *\+' conftest.er1 >conftest.err
5059 cat conftest.err >&5
5060 echo "$as_me:5060: \$? = $ac_status" >&5
5061 (exit $ac_status); } >/dev/null; then
5062 if test -s conftest.err; then
5063 ac_cpp_err=$ac_c_preproc_warn_flag
5070 if test -z "$ac_cpp_err"; then
5071 eval "$ac_ac_Header=yes"
5073 echo "$as_me: failed program was:" >&5
5074 cat conftest.$ac_ext >&5
5075 eval "$ac_ac_Header=no"
5077 rm -f conftest.err conftest.$ac_ext
5079 echo "$as_me:5079: result: `eval echo '${'$ac_ac_Header'}'`" >&5
5080 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
5081 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
5082 cat >>confdefs.h <<EOF
5083 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
5089 echo "$as_me:5089: checking whether time.h and sys/time.h may both be included" >&5
5090 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
5091 if test "${ac_cv_header_time+set}" = set; then
5092 echo $ECHO_N "(cached) $ECHO_C" >&6
5094 cat >conftest.$ac_ext <<_ACEOF
5095 #line 5095 "configure"
5096 #include "confdefs.h"
5097 #include <sys/types.h>
5098 #include <sys/time.h>
5109 rm -f conftest.$ac_objext
5110 if { (eval echo "$as_me:5110: \"$ac_compile\"") >&5
5111 (eval $ac_compile) 2>&5
5113 echo "$as_me:5113: \$? = $ac_status" >&5
5114 (exit $ac_status); } &&
5115 { ac_try='test -s conftest.$ac_objext'
5116 { (eval echo "$as_me:5116: \"$ac_try\"") >&5
5119 echo "$as_me:5119: \$? = $ac_status" >&5
5120 (exit $ac_status); }; }; then
5121 ac_cv_header_time=yes
5123 echo "$as_me: failed program was:" >&5
5124 cat conftest.$ac_ext >&5
5125 ac_cv_header_time=no
5127 rm -f conftest.$ac_objext conftest.$ac_ext
5129 echo "$as_me:5129: result: $ac_cv_header_time" >&5
5130 echo "${ECHO_T}$ac_cv_header_time" >&6
5131 if test $ac_cv_header_time = yes; then
5133 cat >>confdefs.h <<\EOF
5134 #define TIME_WITH_SYS_TIME 1
5142 for ac_header in /sys/sync/queue.h /sys/sync/sema.h
5144 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
5145 echo "$as_me:5145: checking for $ac_header" >&5
5146 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5147 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
5148 echo $ECHO_N "(cached) $ECHO_C" >&6
5150 cat >conftest.$ac_ext <<_ACEOF
5151 #line 5151 "configure"
5152 #include "confdefs.h"
5153 #include <$ac_header>
5155 if { (eval echo "$as_me:5155: \"$ac_cpp conftest.$ac_ext\"") >&5
5156 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5158 egrep -v '^ *\+' conftest.er1 >conftest.err
5160 cat conftest.err >&5
5161 echo "$as_me:5161: \$? = $ac_status" >&5
5162 (exit $ac_status); } >/dev/null; then
5163 if test -s conftest.err; then
5164 ac_cpp_err=$ac_c_preproc_warn_flag
5171 if test -z "$ac_cpp_err"; then
5172 eval "$ac_ac_Header=yes"
5174 echo "$as_me: failed program was:" >&5
5175 cat conftest.$ac_ext >&5
5176 eval "$ac_ac_Header=no"
5178 rm -f conftest.err conftest.$ac_ext
5180 echo "$as_me:5180: result: `eval echo '${'$ac_ac_Header'}'`" >&5
5181 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
5182 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
5183 cat >>confdefs.h <<EOF
5184 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
5193 for ac_header in machine/inline.h sys/pcl720.h sys/i8253.h
5195 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
5196 echo "$as_me:5196: checking for $ac_header" >&5
5197 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5198 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
5199 echo $ECHO_N "(cached) $ECHO_C" >&6
5201 cat >conftest.$ac_ext <<_ACEOF
5202 #line 5202 "configure"
5203 #include "confdefs.h"
5204 #include <$ac_header>
5206 if { (eval echo "$as_me:5206: \"$ac_cpp conftest.$ac_ext\"") >&5
5207 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5209 egrep -v '^ *\+' conftest.er1 >conftest.err
5211 cat conftest.err >&5
5212 echo "$as_me:5212: \$? = $ac_status" >&5
5213 (exit $ac_status); } >/dev/null; then
5214 if test -s conftest.err; then
5215 ac_cpp_err=$ac_c_preproc_warn_flag
5222 if test -z "$ac_cpp_err"; then
5223 eval "$ac_ac_Header=yes"
5225 echo "$as_me: failed program was:" >&5
5226 cat conftest.$ac_ext >&5
5227 eval "$ac_ac_Header=no"
5229 rm -f conftest.err conftest.$ac_ext
5231 echo "$as_me:5231: result: `eval echo '${'$ac_ac_Header'}'`" >&5
5232 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
5233 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
5234 cat >>confdefs.h <<EOF
5235 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
5244 echo "$as_me:5244: checking for nlist.h" >&5
5245 echo $ECHO_N "checking for nlist.h... $ECHO_C" >&6
5246 if test "${ac_cv_header_nlist_h+set}" = set; then
5247 echo $ECHO_N "(cached) $ECHO_C" >&6
5249 cat >conftest.$ac_ext <<_ACEOF
5250 #line 5250 "configure"
5251 #include "confdefs.h"
5254 if { (eval echo "$as_me:5254: \"$ac_cpp conftest.$ac_ext\"") >&5
5255 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5257 egrep -v '^ *\+' conftest.er1 >conftest.err
5259 cat conftest.err >&5
5260 echo "$as_me:5260: \$? = $ac_status" >&5
5261 (exit $ac_status); } >/dev/null; then
5262 if test -s conftest.err; then
5263 ac_cpp_err=$ac_c_preproc_warn_flag
5270 if test -z "$ac_cpp_err"; then
5271 ac_cv_header_nlist_h=yes
5273 echo "$as_me: failed program was:" >&5
5274 cat conftest.$ac_ext >&5
5275 ac_cv_header_nlist_h=no
5277 rm -f conftest.err conftest.$ac_ext
5279 echo "$as_me:5279: result: $ac_cv_header_nlist_h" >&5
5280 echo "${ECHO_T}$ac_cv_header_nlist_h" >&6
5281 if test $ac_cv_header_nlist_h = yes; then
5282 cat >>confdefs.h <<\EOF
5283 #define NLIST_STRUCT 1
5286 echo "$as_me:5286: checking for n_un in struct nlist" >&5
5287 echo $ECHO_N "checking for n_un in struct nlist... $ECHO_C" >&6
5288 if test "${ac_cv_struct_nlist_n_un+set}" = set; then
5289 echo $ECHO_N "(cached) $ECHO_C" >&6
5291 cat >conftest.$ac_ext <<_ACEOF
5292 #line 5292 "configure"
5293 #include "confdefs.h"
5298 struct nlist n; n.n_un.n_name = 0;
5303 rm -f conftest.$ac_objext
5304 if { (eval echo "$as_me:5304: \"$ac_compile\"") >&5
5305 (eval $ac_compile) 2>&5
5307 echo "$as_me:5307: \$? = $ac_status" >&5
5308 (exit $ac_status); } &&
5309 { ac_try='test -s conftest.$ac_objext'
5310 { (eval echo "$as_me:5310: \"$ac_try\"") >&5
5313 echo "$as_me:5313: \$? = $ac_status" >&5
5314 (exit $ac_status); }; }; then
5315 ac_cv_struct_nlist_n_un=yes
5317 echo "$as_me: failed program was:" >&5
5318 cat conftest.$ac_ext >&5
5319 ac_cv_struct_nlist_n_un=no
5321 rm -f conftest.$ac_objext conftest.$ac_ext
5323 echo "$as_me:5323: result: $ac_cv_struct_nlist_n_un" >&5
5324 echo "${ECHO_T}$ac_cv_struct_nlist_n_un" >&6
5325 if test $ac_cv_struct_nlist_n_un = yes; then
5326 cat >>confdefs.h <<\EOF
5327 #define NLIST_NAME_UNION 1
5334 echo "$as_me:5334: checking for basic volatile support" >&5
5335 echo $ECHO_N "checking for basic volatile support... $ECHO_C" >&6
5336 if test "${ac_cv_c_volatile+set}" = set; then
5337 echo $ECHO_N "(cached) $ECHO_C" >&6
5339 cat >conftest.$ac_ext <<_ACEOF
5340 #line 5340 "configure"
5341 #include "confdefs.h"
5352 rm -f conftest.$ac_objext
5353 if { (eval echo "$as_me:5353: \"$ac_compile\"") >&5
5354 (eval $ac_compile) 2>&5
5356 echo "$as_me:5356: \$? = $ac_status" >&5
5357 (exit $ac_status); } &&
5358 { ac_try='test -s conftest.$ac_objext'
5359 { (eval echo "$as_me:5359: \"$ac_try\"") >&5
5362 echo "$as_me:5362: \$? = $ac_status" >&5
5363 (exit $ac_status); }; }; then
5364 ac_cv_c_volatile=yes
5366 echo "$as_me: failed program was:" >&5
5367 cat conftest.$ac_ext >&5
5370 rm -f conftest.$ac_objext conftest.$ac_ext
5373 echo "$as_me:5373: result: $ac_cv_c_volatile" >&5
5374 echo "${ECHO_T}$ac_cv_c_volatile" >&6
5375 case "$ac_cv_c_volatile" in
5378 *) cat >>confdefs.h <<\EOF
5387 # Assume that solaris2 is Ansi C...
5391 echo "$as_me:5391: checking for ${CC-cc} option to accept ANSI C" >&5
5392 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
5393 if test "${am_cv_prog_cc_stdc+set}" = set; then
5394 echo $ECHO_N "(cached) $ECHO_C" >&6
5396 am_cv_prog_cc_stdc=no
5398 # Don't try gcc -ansi; that turns off useful extensions and
5399 # breaks some systems' header files.
5400 # AIX -qlanglvl=ansi
5401 # Ultrix and OSF/1 -std1
5402 # HP-UX 10.20 and later -Ae
5403 # HP-UX older versions -Aa -D_HPUX_SOURCE
5404 # SVR4 -Xc -D__EXTENSIONS__
5405 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5407 CC="$ac_save_CC $ac_arg"
5408 cat >conftest.$ac_ext <<_ACEOF
5409 #line 5409 "configure"
5410 #include "confdefs.h"
5413 #include <sys/types.h>
5414 #include <sys/stat.h>
5415 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5416 struct buf { int x; };
5417 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5418 static char *e (p, i)
5424 static char *f (char * (*g) (char **, int), char **p, ...)
5429 s = g (p, va_arg (v,int));
5433 int test (int i, double x);
5434 struct s1 {int (*f) (int a);};
5435 struct s2 {int (*f) (double a);};
5436 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5444 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5450 rm -f conftest.$ac_objext
5451 if { (eval echo "$as_me:5451: \"$ac_compile\"") >&5
5452 (eval $ac_compile) 2>&5
5454 echo "$as_me:5454: \$? = $ac_status" >&5
5455 (exit $ac_status); } &&
5456 { ac_try='test -s conftest.$ac_objext'
5457 { (eval echo "$as_me:5457: \"$ac_try\"") >&5
5460 echo "$as_me:5460: \$? = $ac_status" >&5
5461 (exit $ac_status); }; }; then
5462 am_cv_prog_cc_stdc="$ac_arg"; break
5464 echo "$as_me: failed program was:" >&5
5465 cat conftest.$ac_ext >&5
5467 rm -f conftest.$ac_objext conftest.$ac_ext
5473 if test -z "$am_cv_prog_cc_stdc"; then
5474 echo "$as_me:5474: result: none needed" >&5
5475 echo "${ECHO_T}none needed" >&6
5477 echo "$as_me:5477: result: $am_cv_prog_cc_stdc" >&5
5478 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
5480 case "x$am_cv_prog_cc_stdc" in
5482 *) CC="$CC $am_cv_prog_cc_stdc" ;;
5485 echo "$as_me:5485: checking for function prototypes" >&5
5486 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
5487 if test "$am_cv_prog_cc_stdc" != no; then
5488 echo "$as_me:5488: result: yes" >&5
5489 echo "${ECHO_T}yes" >&6
5491 cat >>confdefs.h <<\EOF
5492 #define PROTOTYPES 1
5497 echo "$as_me:5497: result: no" >&5
5498 echo "${ECHO_T}no" >&6
5499 U=_ ANSI2KNR=./ansi2knr
5501 # Ensure some checks needed by ansi2knr itself.
5502 echo "$as_me:5502: checking for ANSI C header files" >&5
5503 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5504 if test "${ac_cv_header_stdc+set}" = set; then
5505 echo $ECHO_N "(cached) $ECHO_C" >&6
5507 cat >conftest.$ac_ext <<_ACEOF
5508 #line 5508 "configure"
5509 #include "confdefs.h"
5516 if { (eval echo "$as_me:5516: \"$ac_cpp conftest.$ac_ext\"") >&5
5517 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5519 egrep -v '^ *\+' conftest.er1 >conftest.err
5521 cat conftest.err >&5
5522 echo "$as_me:5522: \$? = $ac_status" >&5
5523 (exit $ac_status); } >/dev/null; then
5524 if test -s conftest.err; then
5525 ac_cpp_err=$ac_c_preproc_warn_flag
5532 if test -z "$ac_cpp_err"; then
5533 ac_cv_header_stdc=yes
5535 echo "$as_me: failed program was:" >&5
5536 cat conftest.$ac_ext >&5
5537 ac_cv_header_stdc=no
5539 rm -f conftest.err conftest.$ac_ext
5541 if test $ac_cv_header_stdc = yes; then
5542 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5543 cat >conftest.$ac_ext <<_ACEOF
5544 #line 5544 "configure"
5545 #include "confdefs.h"
5549 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5550 egrep "memchr" >/dev/null 2>&1; then
5553 ac_cv_header_stdc=no
5559 if test $ac_cv_header_stdc = yes; then
5560 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5561 cat >conftest.$ac_ext <<_ACEOF
5562 #line 5562 "configure"
5563 #include "confdefs.h"
5567 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5568 egrep "free" >/dev/null 2>&1; then
5571 ac_cv_header_stdc=no
5577 if test $ac_cv_header_stdc = yes; then
5578 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5579 if test "$cross_compiling" = yes; then
5582 cat >conftest.$ac_ext <<_ACEOF
5583 #line 5583 "configure"
5584 #include "confdefs.h"
5586 #if ((' ' & 0x0FF) == 0x020)
5587 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5588 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5590 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
5591 || ('j' <= (c) && (c) <= 'r') \
5592 || ('s' <= (c) && (c) <= 'z'))
5593 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5596 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5601 for (i = 0; i < 256; i++)
5602 if (XOR (islower (i), ISLOWER (i))
5603 || toupper (i) != TOUPPER (i))
5608 rm -f conftest$ac_exeext
5609 if { (eval echo "$as_me:5609: \"$ac_link\"") >&5
5610 (eval $ac_link) 2>&5
5612 echo "$as_me:5612: \$? = $ac_status" >&5
5613 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5614 { (eval echo "$as_me:5614: \"$ac_try\"") >&5
5617 echo "$as_me:5617: \$? = $ac_status" >&5
5618 (exit $ac_status); }; }; then
5621 echo "$as_me: program exited with status $ac_status" >&5
5622 echo "$as_me: failed program was:" >&5
5623 cat conftest.$ac_ext >&5
5624 ac_cv_header_stdc=no
5626 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
5630 echo "$as_me:5630: result: $ac_cv_header_stdc" >&5
5631 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5632 if test $ac_cv_header_stdc = yes; then
5634 cat >>confdefs.h <<\EOF
5635 #define STDC_HEADERS 1
5640 for ac_header in string.h
5642 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
5643 echo "$as_me:5643: checking for $ac_header" >&5
5644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5645 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
5646 echo $ECHO_N "(cached) $ECHO_C" >&6
5648 cat >conftest.$ac_ext <<_ACEOF
5649 #line 5649 "configure"
5650 #include "confdefs.h"
5651 #include <$ac_header>
5653 if { (eval echo "$as_me:5653: \"$ac_cpp conftest.$ac_ext\"") >&5
5654 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5656 egrep -v '^ *\+' conftest.er1 >conftest.err
5658 cat conftest.err >&5
5659 echo "$as_me:5659: \$? = $ac_status" >&5
5660 (exit $ac_status); } >/dev/null; then
5661 if test -s conftest.err; then
5662 ac_cpp_err=$ac_c_preproc_warn_flag
5669 if test -z "$ac_cpp_err"; then
5670 eval "$ac_ac_Header=yes"
5672 echo "$as_me: failed program was:" >&5
5673 cat conftest.$ac_ext >&5
5674 eval "$ac_ac_Header=no"
5676 rm -f conftest.err conftest.$ac_ext
5678 echo "$as_me:5678: result: `eval echo '${'$ac_ac_Header'}'`" >&5
5679 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
5680 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
5681 cat >>confdefs.h <<EOF
5682 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
5690 echo "$as_me:5690: checking if C compiler permits function prototypes" >&5
5691 echo $ECHO_N "checking if C compiler permits function prototypes... $ECHO_C" >&6
5692 if test "${ac_cv_have_prototypes+set}" = set; then
5693 echo $ECHO_N "(cached) $ECHO_C" >&6
5695 cat >conftest.$ac_ext <<_ACEOF
5696 #line 5696 "configure"
5697 #include "confdefs.h"
5699 extern int foo (short);
5700 int foo(short i) { return i; }
5710 rm -f conftest.$ac_objext
5711 if { (eval echo "$as_me:5711: \"$ac_compile\"") >&5
5712 (eval $ac_compile) 2>&5
5714 echo "$as_me:5714: \$? = $ac_status" >&5
5715 (exit $ac_status); } &&
5716 { ac_try='test -s conftest.$ac_objext'
5717 { (eval echo "$as_me:5717: \"$ac_try\"") >&5
5720 echo "$as_me:5720: \$? = $ac_status" >&5
5721 (exit $ac_status); }; }; then
5722 ac_cv_have_prototypes=yes
5724 echo "$as_me: failed program was:" >&5
5725 cat conftest.$ac_ext >&5
5726 ac_cv_have_prototypes=no
5728 rm -f conftest.$ac_objext conftest.$ac_ext
5731 echo "$as_me:5731: result: $ac_cv_have_prototypes" >&5
5732 echo "${ECHO_T}$ac_cv_have_prototypes" >&6
5733 if test "$ac_cv_have_prototypes" = yes; then
5734 cat >>confdefs.h <<\EOF
5735 #define HAVE_PROTOTYPES 1
5740 echo "$as_me:5740: checking for an ANSI C-conforming const" >&5
5741 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
5742 if test "${ac_cv_c_const+set}" = set; then
5743 echo $ECHO_N "(cached) $ECHO_C" >&6
5745 cat >conftest.$ac_ext <<_ACEOF
5746 #line 5746 "configure"
5747 #include "confdefs.h"
5752 /* FIXME: Include the comments suggested by Paul. */
5754 /* Ultrix mips cc rejects this. */
5755 typedef int charset[2];
5757 /* SunOS 4.1.1 cc rejects this. */
5758 char const *const *ccp;
5760 /* NEC SVR4.0.2 mips cc rejects this. */
5761 struct point {int x, y;};
5762 static struct point const zero = {0,0};
5763 /* AIX XL C 1.02.0.0 rejects this.
5764 It does not let you subtract one const X* pointer from another in
5765 an arm of an if-expression whose if-part is not a constant
5767 const char *g = "string";
5768 ccp = &g + (g ? g-g : 0);
5769 /* HPUX 7.0 cc rejects these. */
5772 ccp = (char const *const *) p;
5773 { /* SCO 3.2v4 cc rejects this. */
5775 char const *s = 0 ? (char *) 0 : (char const *) 0;
5779 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5781 const int *foo = &x[0];
5784 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5785 typedef const int *iptr;
5789 { /* AIX XL C 1.02.0.0 rejects this saying
5790 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5791 struct s { int j; const int *ap[3]; };
5792 struct s *b; b->j = 5;
5794 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5803 rm -f conftest.$ac_objext
5804 if { (eval echo "$as_me:5804: \"$ac_compile\"") >&5
5805 (eval $ac_compile) 2>&5
5807 echo "$as_me:5807: \$? = $ac_status" >&5
5808 (exit $ac_status); } &&
5809 { ac_try='test -s conftest.$ac_objext'
5810 { (eval echo "$as_me:5810: \"$ac_try\"") >&5
5813 echo "$as_me:5813: \$? = $ac_status" >&5
5814 (exit $ac_status); }; }; then
5817 echo "$as_me: failed program was:" >&5
5818 cat conftest.$ac_ext >&5
5821 rm -f conftest.$ac_objext conftest.$ac_ext
5823 echo "$as_me:5823: result: $ac_cv_c_const" >&5
5824 echo "${ECHO_T}$ac_cv_c_const" >&6
5825 if test $ac_cv_c_const = no; then
5827 cat >>confdefs.h <<\EOF
5835 echo "$as_me:5835: checking whether byte ordering is bigendian" >&5
5836 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
5837 if test "${ac_cv_c_bigendian+set}" = set; then
5838 echo $ECHO_N "(cached) $ECHO_C" >&6
5840 ac_cv_c_bigendian=unknown
5841 # See if sys/param.h defines the BYTE_ORDER macro.
5842 cat >conftest.$ac_ext <<_ACEOF
5843 #line 5843 "configure"
5844 #include "confdefs.h"
5845 #include <sys/types.h>
5846 #include <sys/param.h>
5851 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
5859 rm -f conftest.$ac_objext
5860 if { (eval echo "$as_me:5860: \"$ac_compile\"") >&5
5861 (eval $ac_compile) 2>&5
5863 echo "$as_me:5863: \$? = $ac_status" >&5
5864 (exit $ac_status); } &&
5865 { ac_try='test -s conftest.$ac_objext'
5866 { (eval echo "$as_me:5866: \"$ac_try\"") >&5
5869 echo "$as_me:5869: \$? = $ac_status" >&5
5870 (exit $ac_status); }; }; then
5871 # It does; now see whether it defined to BIG_ENDIAN or not.
5872 cat >conftest.$ac_ext <<_ACEOF
5873 #line 5873 "configure"
5874 #include "confdefs.h"
5875 #include <sys/types.h>
5876 #include <sys/param.h>
5881 #if BYTE_ORDER != BIG_ENDIAN
5889 rm -f conftest.$ac_objext
5890 if { (eval echo "$as_me:5890: \"$ac_compile\"") >&5
5891 (eval $ac_compile) 2>&5
5893 echo "$as_me:5893: \$? = $ac_status" >&5
5894 (exit $ac_status); } &&
5895 { ac_try='test -s conftest.$ac_objext'
5896 { (eval echo "$as_me:5896: \"$ac_try\"") >&5
5899 echo "$as_me:5899: \$? = $ac_status" >&5
5900 (exit $ac_status); }; }; then
5901 ac_cv_c_bigendian=yes
5903 echo "$as_me: failed program was:" >&5
5904 cat conftest.$ac_ext >&5
5905 ac_cv_c_bigendian=no
5907 rm -f conftest.$ac_objext conftest.$ac_ext
5909 echo "$as_me: failed program was:" >&5
5910 cat conftest.$ac_ext >&5
5912 rm -f conftest.$ac_objext conftest.$ac_ext
5913 if test $ac_cv_c_bigendian = unknown; then
5914 if test "$cross_compiling" = yes; then
5915 { { echo "$as_me:5915: error: cannot run test program while cross compiling" >&5
5916 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
5917 { (exit 1); exit 1; }; }
5919 cat >conftest.$ac_ext <<_ACEOF
5920 #line 5920 "configure"
5921 #include "confdefs.h"
5925 /* Are we little or big endian? From Harbison&Steele. */
5929 char c[sizeof (long)];
5932 exit (u.c[sizeof (long) - 1] == 1);
5935 rm -f conftest$ac_exeext
5936 if { (eval echo "$as_me:5936: \"$ac_link\"") >&5
5937 (eval $ac_link) 2>&5
5939 echo "$as_me:5939: \$? = $ac_status" >&5
5940 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5941 { (eval echo "$as_me:5941: \"$ac_try\"") >&5
5944 echo "$as_me:5944: \$? = $ac_status" >&5
5945 (exit $ac_status); }; }; then
5946 ac_cv_c_bigendian=no
5948 echo "$as_me: program exited with status $ac_status" >&5
5949 echo "$as_me: failed program was:" >&5
5950 cat conftest.$ac_ext >&5
5951 ac_cv_c_bigendian=yes
5953 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
5957 echo "$as_me:5957: result: $ac_cv_c_bigendian" >&5
5958 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
5959 if test $ac_cv_c_bigendian = yes; then
5961 cat >>confdefs.h <<\EOF
5962 #define WORDS_BIGENDIAN 1
5968 *) case "$target" in
5973 cat >>confdefs.h <<\EOF
5974 #define WORDS_BIGENDIAN 1
5978 *) { { echo "$as_me:5978: error: Cross-compiling needs explicit byte order" >&5
5979 echo "$as_me: error: Cross-compiling needs explicit byte order" >&2;}
5980 { (exit 1); exit 1; }; }
5985 echo "$as_me:5985: checking return type of signal handlers" >&5
5986 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
5987 if test "${ac_cv_type_signal+set}" = set; then
5988 echo $ECHO_N "(cached) $ECHO_C" >&6
5990 cat >conftest.$ac_ext <<_ACEOF
5991 #line 5991 "configure"
5992 #include "confdefs.h"
5993 #include <sys/types.h>
5999 extern "C" void (*signal (int, void (*)(int)))(int);
6001 void (*signal ()) ();
6012 rm -f conftest.$ac_objext
6013 if { (eval echo "$as_me:6013: \"$ac_compile\"") >&5
6014 (eval $ac_compile) 2>&5
6016 echo "$as_me:6016: \$? = $ac_status" >&5
6017 (exit $ac_status); } &&
6018 { ac_try='test -s conftest.$ac_objext'
6019 { (eval echo "$as_me:6019: \"$ac_try\"") >&5
6022 echo "$as_me:6022: \$? = $ac_status" >&5
6023 (exit $ac_status); }; }; then
6024 ac_cv_type_signal=void
6026 echo "$as_me: failed program was:" >&5
6027 cat conftest.$ac_ext >&5
6028 ac_cv_type_signal=int
6030 rm -f conftest.$ac_objext conftest.$ac_ext
6032 echo "$as_me:6032: result: $ac_cv_type_signal" >&5
6033 echo "${ECHO_T}$ac_cv_type_signal" >&6
6035 cat >>confdefs.h <<EOF
6036 #define RETSIGTYPE $ac_cv_type_signal
6039 for ac_header in stdlib.h string.h memory.h strings.h inttypes.h unistd.h
6041 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
6042 echo "$as_me:6042: checking for $ac_header" >&5
6043 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6044 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
6045 echo $ECHO_N "(cached) $ECHO_C" >&6
6047 cat >conftest.$ac_ext <<_ACEOF
6048 #line 6048 "configure"
6049 #include "confdefs.h"
6050 #include <$ac_header>
6052 if { (eval echo "$as_me:6052: \"$ac_cpp conftest.$ac_ext\"") >&5
6053 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6055 egrep -v '^ *\+' conftest.er1 >conftest.err
6057 cat conftest.err >&5
6058 echo "$as_me:6058: \$? = $ac_status" >&5
6059 (exit $ac_status); } >/dev/null; then
6060 if test -s conftest.err; then
6061 ac_cpp_err=$ac_c_preproc_warn_flag
6068 if test -z "$ac_cpp_err"; then
6069 eval "$ac_ac_Header=yes"
6071 echo "$as_me: failed program was:" >&5
6072 cat conftest.$ac_ext >&5
6073 eval "$ac_ac_Header=no"
6075 rm -f conftest.err conftest.$ac_ext
6077 echo "$as_me:6077: result: `eval echo '${'$ac_ac_Header'}'`" >&5
6078 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
6079 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
6080 cat >>confdefs.h <<EOF
6081 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
6087 echo "$as_me:6087: checking for off_t" >&5
6088 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
6089 if test "${ac_cv_type_off_t+set}" = set; then
6090 echo $ECHO_N "(cached) $ECHO_C" >&6
6092 cat >conftest.$ac_ext <<_ACEOF
6093 #line 6093 "configure"
6094 #include "confdefs.h"
6095 $ac_includes_default
6107 rm -f conftest.$ac_objext
6108 if { (eval echo "$as_me:6108: \"$ac_compile\"") >&5
6109 (eval $ac_compile) 2>&5
6111 echo "$as_me:6111: \$? = $ac_status" >&5
6112 (exit $ac_status); } &&
6113 { ac_try='test -s conftest.$ac_objext'
6114 { (eval echo "$as_me:6114: \"$ac_try\"") >&5
6117 echo "$as_me:6117: \$? = $ac_status" >&5
6118 (exit $ac_status); }; }; then
6119 ac_cv_type_off_t=yes
6121 echo "$as_me: failed program was:" >&5
6122 cat conftest.$ac_ext >&5
6125 rm -f conftest.$ac_objext conftest.$ac_ext
6127 echo "$as_me:6127: result: $ac_cv_type_off_t" >&5
6128 echo "${ECHO_T}$ac_cv_type_off_t" >&6
6129 if test $ac_cv_type_off_t = yes; then
6133 cat >>confdefs.h <<EOF
6139 echo "$as_me:6139: checking for size_t" >&5
6140 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
6141 if test "${ac_cv_type_size_t+set}" = set; then
6142 echo $ECHO_N "(cached) $ECHO_C" >&6
6144 cat >conftest.$ac_ext <<_ACEOF
6145 #line 6145 "configure"
6146 #include "confdefs.h"
6147 $ac_includes_default
6153 if (sizeof (size_t))
6159 rm -f conftest.$ac_objext
6160 if { (eval echo "$as_me:6160: \"$ac_compile\"") >&5
6161 (eval $ac_compile) 2>&5
6163 echo "$as_me:6163: \$? = $ac_status" >&5
6164 (exit $ac_status); } &&
6165 { ac_try='test -s conftest.$ac_objext'
6166 { (eval echo "$as_me:6166: \"$ac_try\"") >&5
6169 echo "$as_me:6169: \$? = $ac_status" >&5
6170 (exit $ac_status); }; }; then
6171 ac_cv_type_size_t=yes
6173 echo "$as_me: failed program was:" >&5
6174 cat conftest.$ac_ext >&5
6175 ac_cv_type_size_t=no
6177 rm -f conftest.$ac_objext conftest.$ac_ext
6179 echo "$as_me:6179: result: $ac_cv_type_size_t" >&5
6180 echo "${ECHO_T}$ac_cv_type_size_t" >&6
6181 if test $ac_cv_type_size_t = yes; then
6185 cat >>confdefs.h <<EOF
6186 #define size_t unsigned
6191 echo "$as_me:6191: checking for time_t" >&5
6192 echo $ECHO_N "checking for time_t... $ECHO_C" >&6
6193 if test "${ac_cv_type_time_t+set}" = set; then
6194 echo $ECHO_N "(cached) $ECHO_C" >&6
6196 cat >conftest.$ac_ext <<_ACEOF
6197 #line 6197 "configure"
6198 #include "confdefs.h"
6199 $ac_includes_default
6205 if (sizeof (time_t))
6211 rm -f conftest.$ac_objext
6212 if { (eval echo "$as_me:6212: \"$ac_compile\"") >&5
6213 (eval $ac_compile) 2>&5
6215 echo "$as_me:6215: \$? = $ac_status" >&5
6216 (exit $ac_status); } &&
6217 { ac_try='test -s conftest.$ac_objext'
6218 { (eval echo "$as_me:6218: \"$ac_try\"") >&5
6221 echo "$as_me:6221: \$? = $ac_status" >&5
6222 (exit $ac_status); }; }; then
6223 ac_cv_type_time_t=yes
6225 echo "$as_me: failed program was:" >&5
6226 cat conftest.$ac_ext >&5
6227 ac_cv_type_time_t=no
6229 rm -f conftest.$ac_objext conftest.$ac_ext
6231 echo "$as_me:6231: result: $ac_cv_type_time_t" >&5
6232 echo "${ECHO_T}$ac_cv_type_time_t" >&6
6233 if test $ac_cv_type_time_t = yes; then
6237 cat >>confdefs.h <<EOF
6243 echo "$as_me:6243: checking whether struct tm is in sys/time.h or time.h" >&5
6244 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
6245 if test "${ac_cv_struct_tm+set}" = set; then
6246 echo $ECHO_N "(cached) $ECHO_C" >&6
6248 cat >conftest.$ac_ext <<_ACEOF
6249 #line 6249 "configure"
6250 #include "confdefs.h"
6251 #include <sys/types.h>
6257 struct tm *tp; tp->tm_sec;
6262 rm -f conftest.$ac_objext
6263 if { (eval echo "$as_me:6263: \"$ac_compile\"") >&5
6264 (eval $ac_compile) 2>&5
6266 echo "$as_me:6266: \$? = $ac_status" >&5
6267 (exit $ac_status); } &&
6268 { ac_try='test -s conftest.$ac_objext'
6269 { (eval echo "$as_me:6269: \"$ac_try\"") >&5
6272 echo "$as_me:6272: \$? = $ac_status" >&5
6273 (exit $ac_status); }; }; then
6274 ac_cv_struct_tm=time.h
6276 echo "$as_me: failed program was:" >&5
6277 cat conftest.$ac_ext >&5
6278 ac_cv_struct_tm=sys/time.h
6280 rm -f conftest.$ac_objext conftest.$ac_ext
6282 echo "$as_me:6282: result: $ac_cv_struct_tm" >&5
6283 echo "${ECHO_T}$ac_cv_struct_tm" >&6
6284 if test $ac_cv_struct_tm = sys/time.h; then
6286 cat >>confdefs.h <<\EOF
6287 #define TM_IN_SYS_TIME 1
6292 echo "$as_me:6292: checking for a fallback value for HZ" >&5
6293 echo $ECHO_N "checking for a fallback value for HZ... $ECHO_C" >&6
6294 if test "${ac_cv_var_default_hz+set}" = set; then
6295 echo $ECHO_N "(cached) $ECHO_C" >&6
6297 ac_cv_var_default_hz=100
6299 alpha*-dec-osf4*|alpha*-dec-osf5*)
6300 ac_cv_var_default_hz=1024
6303 ac_cv_var_default_hz=256
6307 echo "$as_me:6307: result: $ac_cv_var_default_hz" >&5
6308 echo "${ECHO_T}$ac_cv_var_default_hz" >&6
6309 cat >>confdefs.h <<EOF
6310 #define DEFAULT_HZ $ac_cv_var_default_hz
6313 echo "$as_me:6313: checking if we need to override the system's value for HZ" >&5
6314 echo $ECHO_N "checking if we need to override the system's value for HZ... $ECHO_C" >&6
6315 if test "${ac_cv_var_override_hz+set}" = set; then
6316 echo $ECHO_N "(cached) $ECHO_C" >&6
6318 ac_cv_var_override_hz=no
6320 alpha*-dec-osf4*|alpha*-dec-osf5*)
6321 ac_cv_var_override_hz=yes
6324 ac_cv_var_override_hz=yes
6327 ac_cv_var_override_hz=yes
6330 ac_cv_var_override_hz=yes
6334 echo "$as_me:6334: result: $ac_cv_var_override_hz" >&5
6335 echo "${ECHO_T}$ac_cv_var_override_hz" >&6
6336 case "$ac_cv_var_override_hz" in
6338 cat >>confdefs.h <<\EOF
6339 #define OVERRIDE_HZ 1
6345 echo "$as_me:6345: checking struct sigaction for sa_sigaction" >&5
6346 echo $ECHO_N "checking struct sigaction for sa_sigaction... $ECHO_C" >&6
6347 if test "${ac_cv_struct_sigaction_has_sa_sigaction+set}" = set; then
6348 echo $ECHO_N "(cached) $ECHO_C" >&6
6351 cat >conftest.$ac_ext <<_ACEOF
6352 #line 6352 "configure"
6353 #include "confdefs.h"
6358 struct sigaction act; act.sa_sigaction = 0;
6363 rm -f conftest.$ac_objext
6364 if { (eval echo "$as_me:6364: \"$ac_compile\"") >&5
6365 (eval $ac_compile) 2>&5
6367 echo "$as_me:6367: \$? = $ac_status" >&5
6368 (exit $ac_status); } &&
6369 { ac_try='test -s conftest.$ac_objext'
6370 { (eval echo "$as_me:6370: \"$ac_try\"") >&5
6373 echo "$as_me:6373: \$? = $ac_status" >&5
6374 (exit $ac_status); }; }; then
6375 ac_cv_struct_sigaction_has_sa_sigaction=yes
6377 echo "$as_me: failed program was:" >&5
6378 cat conftest.$ac_ext >&5
6379 ac_cv_struct_sigaction_has_sa_sigaction=no
6382 rm -f conftest.$ac_objext conftest.$ac_ext
6385 echo "$as_me:6385: result: $ac_cv_struct_sigaction_has_sa_sigaction" >&5
6386 echo "${ECHO_T}$ac_cv_struct_sigaction_has_sa_sigaction" >&6
6387 if test $ac_cv_struct_sigaction_has_sa_sigaction = yes; then
6388 cat >>confdefs.h <<\EOF
6389 #define HAVE_SA_SIGACTION_IN_STRUCT_SIGACTION 1
6394 echo "$as_me:6394: checking for struct ppsclockev" >&5
6395 echo $ECHO_N "checking for struct ppsclockev... $ECHO_C" >&6
6396 if test "${ac_cv_struct_ppsclockev+set}" = set; then
6397 echo $ECHO_N "(cached) $ECHO_C" >&6
6399 cat >conftest.$ac_ext <<_ACEOF
6400 #line 6400 "configure"
6401 #include "confdefs.h"
6403 #include <sys/types.h>
6404 #ifdef HAVE_SYS_TERMIOS_H
6405 # include <sys/termios.h>
6407 #ifdef HAVE_SYS_TIME_H
6408 # include <sys/time.h>
6410 #ifdef HAVE_SYS_PPSCLOCK_H
6411 # include <sys/ppsclock.h>
6417 extern struct ppsclockev *pce;
6423 rm -f conftest.$ac_objext
6424 if { (eval echo "$as_me:6424: \"$ac_compile\"") >&5
6425 (eval $ac_compile) 2>&5
6427 echo "$as_me:6427: \$? = $ac_status" >&5
6428 (exit $ac_status); } &&
6429 { ac_try='test -s conftest.$ac_objext'
6430 { (eval echo "$as_me:6430: \"$ac_try\"") >&5
6433 echo "$as_me:6433: \$? = $ac_status" >&5
6434 (exit $ac_status); }; }; then
6435 ac_cv_struct_ppsclockev=yes
6437 echo "$as_me: failed program was:" >&5
6438 cat conftest.$ac_ext >&5
6439 ac_cv_struct_ppsclockev=no
6441 rm -f conftest.$ac_objext conftest.$ac_ext
6444 echo "$as_me:6444: result: $ac_cv_struct_ppsclockev" >&5
6445 echo "${ECHO_T}$ac_cv_struct_ppsclockev" >&6
6446 if test $ac_cv_struct_ppsclockev = yes; then
6447 cat >>confdefs.h <<\EOF
6448 #define HAVE_STRUCT_PPSCLOCKEV 1
6453 echo "$as_me:6453: checking struct sockaddr for sa_len" >&5
6454 echo $ECHO_N "checking struct sockaddr for sa_len... $ECHO_C" >&6
6455 if test "${ac_cv_struct_sockaddr_has_sa_len+set}" = set; then
6456 echo $ECHO_N "(cached) $ECHO_C" >&6
6458 cat >conftest.$ac_ext <<_ACEOF
6459 #line 6459 "configure"
6460 #include "confdefs.h"
6462 #include <sys/types.h>
6463 #include <sys/socket.h>
6468 extern struct sockaddr *ps;
6474 rm -f conftest.$ac_objext
6475 if { (eval echo "$as_me:6475: \"$ac_compile\"") >&5
6476 (eval $ac_compile) 2>&5
6478 echo "$as_me:6478: \$? = $ac_status" >&5
6479 (exit $ac_status); } &&
6480 { ac_try='test -s conftest.$ac_objext'
6481 { (eval echo "$as_me:6481: \"$ac_try\"") >&5
6484 echo "$as_me:6484: \$? = $ac_status" >&5
6485 (exit $ac_status); }; }; then
6486 ac_cv_struct_sockaddr_has_sa_len=yes
6488 echo "$as_me: failed program was:" >&5
6489 cat conftest.$ac_ext >&5
6490 ac_cv_struct_sockaddr_has_sa_len=no
6492 rm -f conftest.$ac_objext conftest.$ac_ext
6495 echo "$as_me:6495: result: $ac_cv_struct_sockaddr_has_sa_len" >&5
6496 echo "${ECHO_T}$ac_cv_struct_sockaddr_has_sa_len" >&6
6497 if test $ac_cv_struct_sockaddr_has_sa_len = yes; then
6498 cat >>confdefs.h <<\EOF
6499 #define HAVE_SA_LEN_IN_STRUCT_SOCKADDR 1
6504 echo "$as_me:6504: checking struct clockinfo for hz" >&5
6505 echo $ECHO_N "checking struct clockinfo for hz... $ECHO_C" >&6
6506 if test "${ac_cv_struct_clockinfo_has_hz+set}" = set; then
6507 echo $ECHO_N "(cached) $ECHO_C" >&6
6509 cat >conftest.$ac_ext <<_ACEOF
6510 #line 6510 "configure"
6511 #include "confdefs.h"
6513 #include <sys/time.h>
6518 extern struct clockinfo *pc;
6524 rm -f conftest.$ac_objext
6525 if { (eval echo "$as_me:6525: \"$ac_compile\"") >&5
6526 (eval $ac_compile) 2>&5
6528 echo "$as_me:6528: \$? = $ac_status" >&5
6529 (exit $ac_status); } &&
6530 { ac_try='test -s conftest.$ac_objext'
6531 { (eval echo "$as_me:6531: \"$ac_try\"") >&5
6534 echo "$as_me:6534: \$? = $ac_status" >&5
6535 (exit $ac_status); }; }; then
6536 ac_cv_struct_clockinfo_has_hz=yes
6538 echo "$as_me: failed program was:" >&5
6539 cat conftest.$ac_ext >&5
6540 ac_cv_struct_clockinfo_has_hz=no
6542 rm -f conftest.$ac_objext conftest.$ac_ext
6545 echo "$as_me:6545: result: $ac_cv_struct_clockinfo_has_hz" >&5
6546 echo "${ECHO_T}$ac_cv_struct_clockinfo_has_hz" >&6
6547 if test $ac_cv_struct_clockinfo_has_hz = yes; then
6548 cat >>confdefs.h <<\EOF
6549 #define HAVE_HZ_IN_STRUCT_CLOCKINFO 1
6554 echo "$as_me:6554: checking struct clockinfo for tickadj" >&5
6555 echo $ECHO_N "checking struct clockinfo for tickadj... $ECHO_C" >&6
6556 if test "${ac_cv_struct_clockinfo_has_tickadj+set}" = set; then
6557 echo $ECHO_N "(cached) $ECHO_C" >&6
6559 cat >conftest.$ac_ext <<_ACEOF
6560 #line 6560 "configure"
6561 #include "confdefs.h"
6563 #include <sys/time.h>
6568 extern struct clockinfo *pc;
6574 rm -f conftest.$ac_objext
6575 if { (eval echo "$as_me:6575: \"$ac_compile\"") >&5
6576 (eval $ac_compile) 2>&5
6578 echo "$as_me:6578: \$? = $ac_status" >&5
6579 (exit $ac_status); } &&
6580 { ac_try='test -s conftest.$ac_objext'
6581 { (eval echo "$as_me:6581: \"$ac_try\"") >&5
6584 echo "$as_me:6584: \$? = $ac_status" >&5
6585 (exit $ac_status); }; }; then
6586 ac_cv_struct_clockinfo_has_tickadj=yes
6588 echo "$as_me: failed program was:" >&5
6589 cat conftest.$ac_ext >&5
6590 ac_cv_struct_clockinfo_has_tickadj=no
6592 rm -f conftest.$ac_objext conftest.$ac_ext
6595 echo "$as_me:6595: result: $ac_cv_struct_clockinfo_has_tickadj" >&5
6596 echo "${ECHO_T}$ac_cv_struct_clockinfo_has_tickadj" >&6
6597 if test $ac_cv_struct_clockinfo_has_tickadj = yes; then
6598 cat >>confdefs.h <<\EOF
6599 #define HAVE_TICKADJ_IN_STRUCT_CLOCKINFO 1
6604 echo "$as_me:6604: checking for struct timespec" >&5
6605 echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6
6606 if test "${ac_cv_struct_timespec+set}" = set; then
6607 echo $ECHO_N "(cached) $ECHO_C" >&6
6609 cat >conftest.$ac_ext <<_ACEOF
6610 #line 6610 "configure"
6611 #include "confdefs.h"
6613 #include <sys/time.h>
6614 /* Under SunOS, timespec is in sys/timepps.h, which needs errno.h and FRAC */
6618 #ifdef HAVE_SYS_TIMEPPS_H
6619 # define FRAC 4294967296
6620 # include <sys/timepps.h>
6630 rm -f conftest.$ac_objext
6631 if { (eval echo "$as_me:6631: \"$ac_compile\"") >&5
6632 (eval $ac_compile) 2>&5
6634 echo "$as_me:6634: \$? = $ac_status" >&5
6635 (exit $ac_status); } &&
6636 { ac_try='test -s conftest.$ac_objext'
6637 { (eval echo "$as_me:6637: \"$ac_try\"") >&5
6640 echo "$as_me:6640: \$? = $ac_status" >&5
6641 (exit $ac_status); }; }; then
6642 ac_cv_struct_timespec=yes
6644 echo "$as_me: failed program was:" >&5
6645 cat conftest.$ac_ext >&5
6646 ac_cv_struct_timespec=no
6648 rm -f conftest.$ac_objext conftest.$ac_ext
6650 echo "$as_me:6650: result: $ac_cv_struct_timespec" >&5
6651 echo "${ECHO_T}$ac_cv_struct_timespec" >&6
6652 if test $ac_cv_struct_timespec = yes; then
6654 cat >>confdefs.h <<\EOF
6655 #define HAVE_STRUCT_TIMESPEC 1
6660 echo "$as_me:6660: checking for struct ntptimeval" >&5
6661 echo $ECHO_N "checking for struct ntptimeval... $ECHO_C" >&6
6662 if test "${ac_cv_struct_ntptimeval+set}" = set; then
6663 echo $ECHO_N "(cached) $ECHO_C" >&6
6665 cat >conftest.$ac_ext <<_ACEOF
6666 #line 6666 "configure"
6667 #include "confdefs.h"
6669 #include <sys/time.h>
6670 #include <sys/timex.h>
6674 struct ntptimeval n;
6679 rm -f conftest.$ac_objext
6680 if { (eval echo "$as_me:6680: \"$ac_compile\"") >&5
6681 (eval $ac_compile) 2>&5
6683 echo "$as_me:6683: \$? = $ac_status" >&5
6684 (exit $ac_status); } &&
6685 { ac_try='test -s conftest.$ac_objext'
6686 { (eval echo "$as_me:6686: \"$ac_try\"") >&5
6689 echo "$as_me:6689: \$? = $ac_status" >&5
6690 (exit $ac_status); }; }; then
6691 ac_cv_struct_ntptimeval=yes
6693 echo "$as_me: failed program was:" >&5
6694 cat conftest.$ac_ext >&5
6695 ac_cv_struct_ntptimeval=no
6697 rm -f conftest.$ac_objext conftest.$ac_ext
6699 echo "$as_me:6699: result: $ac_cv_struct_ntptimeval" >&5
6700 echo "${ECHO_T}$ac_cv_struct_ntptimeval" >&6
6701 if test $ac_cv_struct_ntptimeval = yes; then
6703 cat >>confdefs.h <<\EOF
6704 #define HAVE_STRUCT_NTPTIMEVAL 1
6709 echo "$as_me:6709: checking for struct ntptimeval.time.tv_nsec" >&5
6710 echo $ECHO_N "checking for struct ntptimeval.time.tv_nsec... $ECHO_C" >&6
6711 if test "${ac_cv_member_struct_ntptimeval_time_tv_nsec+set}" = set; then
6712 echo $ECHO_N "(cached) $ECHO_C" >&6
6714 cat >conftest.$ac_ext <<_ACEOF
6715 #line 6715 "configure"
6716 #include "confdefs.h"
6717 #ifdef HAVE_SYS_TIME_H
6718 #include <sys/time.h>
6724 #ifdef HAVE_SYS_TIMEX_H
6725 #include <sys/timex.h>
6727 # ifdef HAVE_TIMEX_H
6735 struct ntptimeval foo;
6741 rm -f conftest.$ac_objext
6742 if { (eval echo "$as_me:6742: \"$ac_compile\"") >&5
6743 (eval $ac_compile) 2>&5
6745 echo "$as_me:6745: \$? = $ac_status" >&5
6746 (exit $ac_status); } &&
6747 { ac_try='test -s conftest.$ac_objext'
6748 { (eval echo "$as_me:6748: \"$ac_try\"") >&5
6751 echo "$as_me:6751: \$? = $ac_status" >&5
6752 (exit $ac_status); }; }; then
6753 ac_cv_member_struct_ntptimeval_time_tv_nsec=yes
6755 echo "$as_me: failed program was:" >&5
6756 cat conftest.$ac_ext >&5
6757 ac_cv_member_struct_ntptimeval_time_tv_nsec=no
6759 rm -f conftest.$ac_objext conftest.$ac_ext
6761 echo "$as_me:6761: result: $ac_cv_member_struct_ntptimeval_time_tv_nsec" >&5
6762 echo "${ECHO_T}$ac_cv_member_struct_ntptimeval_time_tv_nsec" >&6
6763 if test $ac_cv_member_struct_ntptimeval_time_tv_nsec = yes; then
6765 cat >>confdefs.h <<EOF
6766 #define HAVE_STRUCT_NTPTIMEVAL_TIME_TV_NSEC 1
6771 echo "$as_me:6771: checking for inline" >&5
6772 echo $ECHO_N "checking for inline... $ECHO_C" >&6
6773 if test "${ac_cv_c_inline+set}" = set; then
6774 echo $ECHO_N "(cached) $ECHO_C" >&6
6777 for ac_kw in inline __inline__ __inline; do
6778 cat >conftest.$ac_ext <<_ACEOF
6779 #line 6779 "configure"
6780 #include "confdefs.h"
6782 static $ac_kw int static_foo () {return 0; }
6783 $ac_kw int foo () {return 0; }
6787 rm -f conftest.$ac_objext
6788 if { (eval echo "$as_me:6788: \"$ac_compile\"") >&5
6789 (eval $ac_compile) 2>&5
6791 echo "$as_me:6791: \$? = $ac_status" >&5
6792 (exit $ac_status); } &&
6793 { ac_try='test -s conftest.$ac_objext'
6794 { (eval echo "$as_me:6794: \"$ac_try\"") >&5
6797 echo "$as_me:6797: \$? = $ac_status" >&5
6798 (exit $ac_status); }; }; then
6799 ac_cv_c_inline=$ac_kw; break
6801 echo "$as_me: failed program was:" >&5
6802 cat conftest.$ac_ext >&5
6804 rm -f conftest.$ac_objext conftest.$ac_ext
6808 echo "$as_me:6808: result: $ac_cv_c_inline" >&5
6809 echo "${ECHO_T}$ac_cv_c_inline" >&6
6810 case $ac_cv_c_inline in
6813 cat >>confdefs.h <<\EOF
6817 *) cat >>confdefs.h <<EOF
6818 #define inline $ac_cv_c_inline
6823 echo "$as_me:6823: checking whether char is unsigned" >&5
6824 echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6
6825 if test "${ac_cv_c_char_unsigned+set}" = set; then
6826 echo $ECHO_N "(cached) $ECHO_C" >&6
6828 cat >conftest.$ac_ext <<_ACEOF
6829 #line 6829 "configure"
6830 #include "confdefs.h"
6831 $ac_includes_default
6835 int _array_ [1 - 2 * !(((char) -1) < 0)]
6840 rm -f conftest.$ac_objext
6841 if { (eval echo "$as_me:6841: \"$ac_compile\"") >&5
6842 (eval $ac_compile) 2>&5
6844 echo "$as_me:6844: \$? = $ac_status" >&5
6845 (exit $ac_status); } &&
6846 { ac_try='test -s conftest.$ac_objext'
6847 { (eval echo "$as_me:6847: \"$ac_try\"") >&5
6850 echo "$as_me:6850: \$? = $ac_status" >&5
6851 (exit $ac_status); }; }; then
6852 ac_cv_c_char_unsigned=no
6854 echo "$as_me: failed program was:" >&5
6855 cat conftest.$ac_ext >&5
6856 ac_cv_c_char_unsigned=yes
6858 rm -f conftest.$ac_objext conftest.$ac_ext
6860 echo "$as_me:6860: result: $ac_cv_c_char_unsigned" >&5
6861 echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6
6862 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
6863 cat >>confdefs.h <<\EOF
6864 #define __CHAR_UNSIGNED__ 1
6870 echo "$as_me:6870: checking for signed char" >&5
6871 echo $ECHO_N "checking for signed char... $ECHO_C" >&6
6872 if test "${ac_cv_type_signed_char+set}" = set; then
6873 echo $ECHO_N "(cached) $ECHO_C" >&6
6875 cat >conftest.$ac_ext <<_ACEOF
6876 #line 6876 "configure"
6877 #include "confdefs.h"
6878 $ac_includes_default
6882 if ((signed char *) 0)
6884 if (sizeof (signed char))
6890 rm -f conftest.$ac_objext
6891 if { (eval echo "$as_me:6891: \"$ac_compile\"") >&5
6892 (eval $ac_compile) 2>&5
6894 echo "$as_me:6894: \$? = $ac_status" >&5
6895 (exit $ac_status); } &&
6896 { ac_try='test -s conftest.$ac_objext'
6897 { (eval echo "$as_me:6897: \"$ac_try\"") >&5
6900 echo "$as_me:6900: \$? = $ac_status" >&5
6901 (exit $ac_status); }; }; then
6902 ac_cv_type_signed_char=yes
6904 echo "$as_me: failed program was:" >&5
6905 cat conftest.$ac_ext >&5
6906 ac_cv_type_signed_char=no
6908 rm -f conftest.$ac_objext conftest.$ac_ext
6910 echo "$as_me:6910: result: $ac_cv_type_signed_char" >&5
6911 echo "${ECHO_T}$ac_cv_type_signed_char" >&6
6913 echo "$as_me:6913: checking size of signed char" >&5
6914 echo $ECHO_N "checking size of signed char... $ECHO_C" >&6
6915 if test "${ac_cv_sizeof_signed_char+set}" = set; then
6916 echo $ECHO_N "(cached) $ECHO_C" >&6
6918 if test "$ac_cv_type_signed_char" = yes; then
6919 if test "$cross_compiling" = yes; then
6920 # Depending upon the size, compute the lo and hi bounds.
6921 cat >conftest.$ac_ext <<_ACEOF
6922 #line 6922 "configure"
6923 #include "confdefs.h"
6924 $ac_includes_default
6928 int _array_ [1 - 2 * !((sizeof (signed char)) >= 0)]
6933 rm -f conftest.$ac_objext
6934 if { (eval echo "$as_me:6934: \"$ac_compile\"") >&5
6935 (eval $ac_compile) 2>&5
6937 echo "$as_me:6937: \$? = $ac_status" >&5
6938 (exit $ac_status); } &&
6939 { ac_try='test -s conftest.$ac_objext'
6940 { (eval echo "$as_me:6940: \"$ac_try\"") >&5
6943 echo "$as_me:6943: \$? = $ac_status" >&5
6944 (exit $ac_status); }; }; then
6947 cat >conftest.$ac_ext <<_ACEOF
6948 #line 6948 "configure"
6949 #include "confdefs.h"
6950 $ac_includes_default
6954 int _array_ [1 - 2 * !((sizeof (signed char)) <= $ac_mid)]
6959 rm -f conftest.$ac_objext
6960 if { (eval echo "$as_me:6960: \"$ac_compile\"") >&5
6961 (eval $ac_compile) 2>&5
6963 echo "$as_me:6963: \$? = $ac_status" >&5
6964 (exit $ac_status); } &&
6965 { ac_try='test -s conftest.$ac_objext'
6966 { (eval echo "$as_me:6966: \"$ac_try\"") >&5
6969 echo "$as_me:6969: \$? = $ac_status" >&5
6970 (exit $ac_status); }; }; then
6971 ac_hi=$ac_mid; break
6973 echo "$as_me: failed program was:" >&5
6974 cat conftest.$ac_ext >&5
6975 ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
6977 rm -f conftest.$ac_objext conftest.$ac_ext
6980 echo "$as_me: failed program was:" >&5
6981 cat conftest.$ac_ext >&5
6984 cat >conftest.$ac_ext <<_ACEOF
6985 #line 6985 "configure"
6986 #include "confdefs.h"
6987 $ac_includes_default
6991 int _array_ [1 - 2 * !((sizeof (signed char)) >= $ac_mid)]
6996 rm -f conftest.$ac_objext
6997 if { (eval echo "$as_me:6997: \"$ac_compile\"") >&5
6998 (eval $ac_compile) 2>&5
7000 echo "$as_me:7000: \$? = $ac_status" >&5
7001 (exit $ac_status); } &&
7002 { ac_try='test -s conftest.$ac_objext'
7003 { (eval echo "$as_me:7003: \"$ac_try\"") >&5
7006 echo "$as_me:7006: \$? = $ac_status" >&5
7007 (exit $ac_status); }; }; then
7008 ac_lo=$ac_mid; break
7010 echo "$as_me: failed program was:" >&5
7011 cat conftest.$ac_ext >&5
7012 ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
7014 rm -f conftest.$ac_objext conftest.$ac_ext
7017 rm -f conftest.$ac_objext conftest.$ac_ext
7018 # Binary search between lo and hi bounds.
7019 while test "x$ac_lo" != "x$ac_hi"; do
7020 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7021 cat >conftest.$ac_ext <<_ACEOF
7022 #line 7022 "configure"
7023 #include "confdefs.h"
7024 $ac_includes_default
7028 int _array_ [1 - 2 * !((sizeof (signed char)) <= $ac_mid)]
7033 rm -f conftest.$ac_objext
7034 if { (eval echo "$as_me:7034: \"$ac_compile\"") >&5
7035 (eval $ac_compile) 2>&5
7037 echo "$as_me:7037: \$? = $ac_status" >&5
7038 (exit $ac_status); } &&
7039 { ac_try='test -s conftest.$ac_objext'
7040 { (eval echo "$as_me:7040: \"$ac_try\"") >&5
7043 echo "$as_me:7043: \$? = $ac_status" >&5
7044 (exit $ac_status); }; }; then
7047 echo "$as_me: failed program was:" >&5
7048 cat conftest.$ac_ext >&5
7049 ac_lo=`expr $ac_mid + 1`
7051 rm -f conftest.$ac_objext conftest.$ac_ext
7053 ac_cv_sizeof_signed_char=$ac_lo
7055 if test "$cross_compiling" = yes; then
7056 { { echo "$as_me:7056: error: cannot run test program while cross compiling" >&5
7057 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
7058 { (exit 1); exit 1; }; }
7060 cat >conftest.$ac_ext <<_ACEOF
7061 #line 7061 "configure"
7062 #include "confdefs.h"
7063 $ac_includes_default
7067 FILE *f = fopen ("conftest.val", "w");
7070 fprintf (f, "%d", (sizeof (signed char)));
7076 rm -f conftest$ac_exeext
7077 if { (eval echo "$as_me:7077: \"$ac_link\"") >&5
7078 (eval $ac_link) 2>&5
7080 echo "$as_me:7080: \$? = $ac_status" >&5
7081 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7082 { (eval echo "$as_me:7082: \"$ac_try\"") >&5
7085 echo "$as_me:7085: \$? = $ac_status" >&5
7086 (exit $ac_status); }; }; then
7087 ac_cv_sizeof_signed_char=`cat conftest.val`
7089 echo "$as_me: program exited with status $ac_status" >&5
7090 echo "$as_me: failed program was:" >&5
7091 cat conftest.$ac_ext >&5
7093 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
7098 ac_cv_sizeof_signed_char=0
7101 echo "$as_me:7101: result: $ac_cv_sizeof_signed_char" >&5
7102 echo "${ECHO_T}$ac_cv_sizeof_signed_char" >&6
7103 cat >>confdefs.h <<EOF
7104 #define SIZEOF_SIGNED_CHAR $ac_cv_sizeof_signed_char
7108 *) case "$target" in
7110 echo "$as_me:7110: checking for signed char" >&5
7111 echo $ECHO_N "checking for signed char... $ECHO_C" >&6
7112 if test "${ac_cv_type_signed_char+set}" = set; then
7113 echo $ECHO_N "(cached) $ECHO_C" >&6
7115 cat >conftest.$ac_ext <<_ACEOF
7116 #line 7116 "configure"
7117 #include "confdefs.h"
7118 $ac_includes_default
7122 if ((signed char *) 0)
7124 if (sizeof (signed char))
7130 rm -f conftest.$ac_objext
7131 if { (eval echo "$as_me:7131: \"$ac_compile\"") >&5
7132 (eval $ac_compile) 2>&5
7134 echo "$as_me:7134: \$? = $ac_status" >&5
7135 (exit $ac_status); } &&
7136 { ac_try='test -s conftest.$ac_objext'
7137 { (eval echo "$as_me:7137: \"$ac_try\"") >&5
7140 echo "$as_me:7140: \$? = $ac_status" >&5
7141 (exit $ac_status); }; }; then
7142 ac_cv_type_signed_char=yes
7144 echo "$as_me: failed program was:" >&5
7145 cat conftest.$ac_ext >&5
7146 ac_cv_type_signed_char=no
7148 rm -f conftest.$ac_objext conftest.$ac_ext
7150 echo "$as_me:7150: result: $ac_cv_type_signed_char" >&5
7151 echo "${ECHO_T}$ac_cv_type_signed_char" >&6
7153 echo "$as_me:7153: checking size of signed char" >&5
7154 echo $ECHO_N "checking size of signed char... $ECHO_C" >&6
7155 if test "${ac_cv_sizeof_signed_char+set}" = set; then
7156 echo $ECHO_N "(cached) $ECHO_C" >&6
7158 if test "$ac_cv_type_signed_char" = yes; then
7159 if test "$cross_compiling" = yes; then
7160 # Depending upon the size, compute the lo and hi bounds.
7161 cat >conftest.$ac_ext <<_ACEOF
7162 #line 7162 "configure"
7163 #include "confdefs.h"
7164 $ac_includes_default
7168 int _array_ [1 - 2 * !((sizeof (signed char)) >= 0)]
7173 rm -f conftest.$ac_objext
7174 if { (eval echo "$as_me:7174: \"$ac_compile\"") >&5
7175 (eval $ac_compile) 2>&5
7177 echo "$as_me:7177: \$? = $ac_status" >&5
7178 (exit $ac_status); } &&
7179 { ac_try='test -s conftest.$ac_objext'
7180 { (eval echo "$as_me:7180: \"$ac_try\"") >&5
7183 echo "$as_me:7183: \$? = $ac_status" >&5
7184 (exit $ac_status); }; }; then
7187 cat >conftest.$ac_ext <<_ACEOF
7188 #line 7188 "configure"
7189 #include "confdefs.h"
7190 $ac_includes_default
7194 int _array_ [1 - 2 * !((sizeof (signed char)) <= $ac_mid)]
7199 rm -f conftest.$ac_objext
7200 if { (eval echo "$as_me:7200: \"$ac_compile\"") >&5
7201 (eval $ac_compile) 2>&5
7203 echo "$as_me:7203: \$? = $ac_status" >&5
7204 (exit $ac_status); } &&
7205 { ac_try='test -s conftest.$ac_objext'
7206 { (eval echo "$as_me:7206: \"$ac_try\"") >&5
7209 echo "$as_me:7209: \$? = $ac_status" >&5
7210 (exit $ac_status); }; }; then
7211 ac_hi=$ac_mid; break
7213 echo "$as_me: failed program was:" >&5
7214 cat conftest.$ac_ext >&5
7215 ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
7217 rm -f conftest.$ac_objext conftest.$ac_ext
7220 echo "$as_me: failed program was:" >&5
7221 cat conftest.$ac_ext >&5
7224 cat >conftest.$ac_ext <<_ACEOF
7225 #line 7225 "configure"
7226 #include "confdefs.h"
7227 $ac_includes_default
7231 int _array_ [1 - 2 * !((sizeof (signed char)) >= $ac_mid)]
7236 rm -f conftest.$ac_objext
7237 if { (eval echo "$as_me:7237: \"$ac_compile\"") >&5
7238 (eval $ac_compile) 2>&5
7240 echo "$as_me:7240: \$? = $ac_status" >&5
7241 (exit $ac_status); } &&
7242 { ac_try='test -s conftest.$ac_objext'
7243 { (eval echo "$as_me:7243: \"$ac_try\"") >&5
7246 echo "$as_me:7246: \$? = $ac_status" >&5
7247 (exit $ac_status); }; }; then
7248 ac_lo=$ac_mid; break
7250 echo "$as_me: failed program was:" >&5
7251 cat conftest.$ac_ext >&5
7252 ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
7254 rm -f conftest.$ac_objext conftest.$ac_ext
7257 rm -f conftest.$ac_objext conftest.$ac_ext
7258 # Binary search between lo and hi bounds.
7259 while test "x$ac_lo" != "x$ac_hi"; do
7260 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7261 cat >conftest.$ac_ext <<_ACEOF
7262 #line 7262 "configure"
7263 #include "confdefs.h"
7264 $ac_includes_default
7268 int _array_ [1 - 2 * !((sizeof (signed char)) <= $ac_mid)]
7273 rm -f conftest.$ac_objext
7274 if { (eval echo "$as_me:7274: \"$ac_compile\"") >&5
7275 (eval $ac_compile) 2>&5
7277 echo "$as_me:7277: \$? = $ac_status" >&5
7278 (exit $ac_status); } &&
7279 { ac_try='test -s conftest.$ac_objext'
7280 { (eval echo "$as_me:7280: \"$ac_try\"") >&5
7283 echo "$as_me:7283: \$? = $ac_status" >&5
7284 (exit $ac_status); }; }; then
7287 echo "$as_me: failed program was:" >&5
7288 cat conftest.$ac_ext >&5
7289 ac_lo=`expr $ac_mid + 1`
7291 rm -f conftest.$ac_objext conftest.$ac_ext
7293 ac_cv_sizeof_signed_char=$ac_lo
7295 if test "$cross_compiling" = yes; then
7296 { { echo "$as_me:7296: error: cannot run test program while cross compiling" >&5
7297 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
7298 { (exit 1); exit 1; }; }
7300 cat >conftest.$ac_ext <<_ACEOF
7301 #line 7301 "configure"
7302 #include "confdefs.h"
7303 $ac_includes_default
7307 FILE *f = fopen ("conftest.val", "w");
7310 fprintf (f, "%d", (sizeof (signed char)));
7316 rm -f conftest$ac_exeext
7317 if { (eval echo "$as_me:7317: \"$ac_link\"") >&5
7318 (eval $ac_link) 2>&5
7320 echo "$as_me:7320: \$? = $ac_status" >&5
7321 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7322 { (eval echo "$as_me:7322: \"$ac_try\"") >&5
7325 echo "$as_me:7325: \$? = $ac_status" >&5
7326 (exit $ac_status); }; }; then
7327 ac_cv_sizeof_signed_char=`cat conftest.val`
7329 echo "$as_me: program exited with status $ac_status" >&5
7330 echo "$as_me: failed program was:" >&5
7331 cat conftest.$ac_ext >&5
7333 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
7338 ac_cv_sizeof_signed_char=0
7341 echo "$as_me:7341: result: $ac_cv_sizeof_signed_char" >&5
7342 echo "${ECHO_T}$ac_cv_sizeof_signed_char" >&6
7343 cat >>confdefs.h <<EOF
7344 #define SIZEOF_SIGNED_CHAR $ac_cv_sizeof_signed_char
7348 *) { { echo "$as_me:7348: error: Cross-compiling needs explicit SIZEOF_SIGNED_LONG" >&5
7349 echo "$as_me: error: Cross-compiling needs explicit SIZEOF_SIGNED_LONG" >&2;}
7350 { (exit 1); exit 1; }; }
7358 echo "$as_me:7358: checking for int" >&5
7359 echo $ECHO_N "checking for int... $ECHO_C" >&6
7360 if test "${ac_cv_type_int+set}" = set; then
7361 echo $ECHO_N "(cached) $ECHO_C" >&6
7363 cat >conftest.$ac_ext <<_ACEOF
7364 #line 7364 "configure"
7365 #include "confdefs.h"
7366 $ac_includes_default
7378 rm -f conftest.$ac_objext
7379 if { (eval echo "$as_me:7379: \"$ac_compile\"") >&5
7380 (eval $ac_compile) 2>&5
7382 echo "$as_me:7382: \$? = $ac_status" >&5
7383 (exit $ac_status); } &&
7384 { ac_try='test -s conftest.$ac_objext'
7385 { (eval echo "$as_me:7385: \"$ac_try\"") >&5
7388 echo "$as_me:7388: \$? = $ac_status" >&5
7389 (exit $ac_status); }; }; then
7392 echo "$as_me: failed program was:" >&5
7393 cat conftest.$ac_ext >&5
7396 rm -f conftest.$ac_objext conftest.$ac_ext
7398 echo "$as_me:7398: result: $ac_cv_type_int" >&5
7399 echo "${ECHO_T}$ac_cv_type_int" >&6
7401 echo "$as_me:7401: checking size of int" >&5
7402 echo $ECHO_N "checking size of int... $ECHO_C" >&6
7403 if test "${ac_cv_sizeof_int+set}" = set; then
7404 echo $ECHO_N "(cached) $ECHO_C" >&6
7406 if test "$ac_cv_type_int" = yes; then
7407 if test "$cross_compiling" = yes; then
7408 # Depending upon the size, compute the lo and hi bounds.
7409 cat >conftest.$ac_ext <<_ACEOF
7410 #line 7410 "configure"
7411 #include "confdefs.h"
7412 $ac_includes_default
7416 int _array_ [1 - 2 * !((sizeof (int)) >= 0)]
7421 rm -f conftest.$ac_objext
7422 if { (eval echo "$as_me:7422: \"$ac_compile\"") >&5
7423 (eval $ac_compile) 2>&5
7425 echo "$as_me:7425: \$? = $ac_status" >&5
7426 (exit $ac_status); } &&
7427 { ac_try='test -s conftest.$ac_objext'
7428 { (eval echo "$as_me:7428: \"$ac_try\"") >&5
7431 echo "$as_me:7431: \$? = $ac_status" >&5
7432 (exit $ac_status); }; }; then
7435 cat >conftest.$ac_ext <<_ACEOF
7436 #line 7436 "configure"
7437 #include "confdefs.h"
7438 $ac_includes_default
7442 int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)]
7447 rm -f conftest.$ac_objext
7448 if { (eval echo "$as_me:7448: \"$ac_compile\"") >&5
7449 (eval $ac_compile) 2>&5
7451 echo "$as_me:7451: \$? = $ac_status" >&5
7452 (exit $ac_status); } &&
7453 { ac_try='test -s conftest.$ac_objext'
7454 { (eval echo "$as_me:7454: \"$ac_try\"") >&5
7457 echo "$as_me:7457: \$? = $ac_status" >&5
7458 (exit $ac_status); }; }; then
7459 ac_hi=$ac_mid; break
7461 echo "$as_me: failed program was:" >&5
7462 cat conftest.$ac_ext >&5
7463 ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
7465 rm -f conftest.$ac_objext conftest.$ac_ext
7468 echo "$as_me: failed program was:" >&5
7469 cat conftest.$ac_ext >&5
7472 cat >conftest.$ac_ext <<_ACEOF
7473 #line 7473 "configure"
7474 #include "confdefs.h"
7475 $ac_includes_default
7479 int _array_ [1 - 2 * !((sizeof (int)) >= $ac_mid)]
7484 rm -f conftest.$ac_objext
7485 if { (eval echo "$as_me:7485: \"$ac_compile\"") >&5
7486 (eval $ac_compile) 2>&5
7488 echo "$as_me:7488: \$? = $ac_status" >&5
7489 (exit $ac_status); } &&
7490 { ac_try='test -s conftest.$ac_objext'
7491 { (eval echo "$as_me:7491: \"$ac_try\"") >&5
7494 echo "$as_me:7494: \$? = $ac_status" >&5
7495 (exit $ac_status); }; }; then
7496 ac_lo=$ac_mid; break
7498 echo "$as_me: failed program was:" >&5
7499 cat conftest.$ac_ext >&5
7500 ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
7502 rm -f conftest.$ac_objext conftest.$ac_ext
7505 rm -f conftest.$ac_objext conftest.$ac_ext
7506 # Binary search between lo and hi bounds.
7507 while test "x$ac_lo" != "x$ac_hi"; do
7508 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7509 cat >conftest.$ac_ext <<_ACEOF
7510 #line 7510 "configure"
7511 #include "confdefs.h"
7512 $ac_includes_default
7516 int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)]
7521 rm -f conftest.$ac_objext
7522 if { (eval echo "$as_me:7522: \"$ac_compile\"") >&5
7523 (eval $ac_compile) 2>&5
7525 echo "$as_me:7525: \$? = $ac_status" >&5
7526 (exit $ac_status); } &&
7527 { ac_try='test -s conftest.$ac_objext'
7528 { (eval echo "$as_me:7528: \"$ac_try\"") >&5
7531 echo "$as_me:7531: \$? = $ac_status" >&5
7532 (exit $ac_status); }; }; then
7535 echo "$as_me: failed program was:" >&5
7536 cat conftest.$ac_ext >&5
7537 ac_lo=`expr $ac_mid + 1`
7539 rm -f conftest.$ac_objext conftest.$ac_ext
7541 ac_cv_sizeof_int=$ac_lo
7543 if test "$cross_compiling" = yes; then
7544 { { echo "$as_me:7544: error: cannot run test program while cross compiling" >&5
7545 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
7546 { (exit 1); exit 1; }; }
7548 cat >conftest.$ac_ext <<_ACEOF
7549 #line 7549 "configure"
7550 #include "confdefs.h"
7551 $ac_includes_default
7555 FILE *f = fopen ("conftest.val", "w");
7558 fprintf (f, "%d", (sizeof (int)));
7564 rm -f conftest$ac_exeext
7565 if { (eval echo "$as_me:7565: \"$ac_link\"") >&5
7566 (eval $ac_link) 2>&5
7568 echo "$as_me:7568: \$? = $ac_status" >&5
7569 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7570 { (eval echo "$as_me:7570: \"$ac_try\"") >&5
7573 echo "$as_me:7573: \$? = $ac_status" >&5
7574 (exit $ac_status); }; }; then
7575 ac_cv_sizeof_int=`cat conftest.val`
7577 echo "$as_me: program exited with status $ac_status" >&5
7578 echo "$as_me: failed program was:" >&5
7579 cat conftest.$ac_ext >&5
7581 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
7589 echo "$as_me:7589: result: $ac_cv_sizeof_int" >&5
7590 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
7591 cat >>confdefs.h <<EOF
7592 #define SIZEOF_INT $ac_cv_sizeof_int
7596 *) case "$target" in
7598 echo "$as_me:7598: checking for int" >&5
7599 echo $ECHO_N "checking for int... $ECHO_C" >&6
7600 if test "${ac_cv_type_int+set}" = set; then
7601 echo $ECHO_N "(cached) $ECHO_C" >&6
7603 cat >conftest.$ac_ext <<_ACEOF
7604 #line 7604 "configure"
7605 #include "confdefs.h"
7606 $ac_includes_default
7618 rm -f conftest.$ac_objext
7619 if { (eval echo "$as_me:7619: \"$ac_compile\"") >&5
7620 (eval $ac_compile) 2>&5
7622 echo "$as_me:7622: \$? = $ac_status" >&5
7623 (exit $ac_status); } &&
7624 { ac_try='test -s conftest.$ac_objext'
7625 { (eval echo "$as_me:7625: \"$ac_try\"") >&5
7628 echo "$as_me:7628: \$? = $ac_status" >&5
7629 (exit $ac_status); }; }; then
7632 echo "$as_me: failed program was:" >&5
7633 cat conftest.$ac_ext >&5
7636 rm -f conftest.$ac_objext conftest.$ac_ext
7638 echo "$as_me:7638: result: $ac_cv_type_int" >&5
7639 echo "${ECHO_T}$ac_cv_type_int" >&6
7641 echo "$as_me:7641: checking size of int" >&5
7642 echo $ECHO_N "checking size of int... $ECHO_C" >&6
7643 if test "${ac_cv_sizeof_int+set}" = set; then
7644 echo $ECHO_N "(cached) $ECHO_C" >&6
7646 if test "$ac_cv_type_int" = yes; then
7647 if test "$cross_compiling" = yes; then
7648 # Depending upon the size, compute the lo and hi bounds.
7649 cat >conftest.$ac_ext <<_ACEOF
7650 #line 7650 "configure"
7651 #include "confdefs.h"
7652 $ac_includes_default
7656 int _array_ [1 - 2 * !((sizeof (int)) >= 0)]
7661 rm -f conftest.$ac_objext
7662 if { (eval echo "$as_me:7662: \"$ac_compile\"") >&5
7663 (eval $ac_compile) 2>&5
7665 echo "$as_me:7665: \$? = $ac_status" >&5
7666 (exit $ac_status); } &&
7667 { ac_try='test -s conftest.$ac_objext'
7668 { (eval echo "$as_me:7668: \"$ac_try\"") >&5
7671 echo "$as_me:7671: \$? = $ac_status" >&5
7672 (exit $ac_status); }; }; then
7675 cat >conftest.$ac_ext <<_ACEOF
7676 #line 7676 "configure"
7677 #include "confdefs.h"
7678 $ac_includes_default
7682 int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)]
7687 rm -f conftest.$ac_objext
7688 if { (eval echo "$as_me:7688: \"$ac_compile\"") >&5
7689 (eval $ac_compile) 2>&5
7691 echo "$as_me:7691: \$? = $ac_status" >&5
7692 (exit $ac_status); } &&
7693 { ac_try='test -s conftest.$ac_objext'
7694 { (eval echo "$as_me:7694: \"$ac_try\"") >&5
7697 echo "$as_me:7697: \$? = $ac_status" >&5
7698 (exit $ac_status); }; }; then
7699 ac_hi=$ac_mid; break
7701 echo "$as_me: failed program was:" >&5
7702 cat conftest.$ac_ext >&5
7703 ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
7705 rm -f conftest.$ac_objext conftest.$ac_ext
7708 echo "$as_me: failed program was:" >&5
7709 cat conftest.$ac_ext >&5
7712 cat >conftest.$ac_ext <<_ACEOF
7713 #line 7713 "configure"
7714 #include "confdefs.h"
7715 $ac_includes_default
7719 int _array_ [1 - 2 * !((sizeof (int)) >= $ac_mid)]
7724 rm -f conftest.$ac_objext
7725 if { (eval echo "$as_me:7725: \"$ac_compile\"") >&5
7726 (eval $ac_compile) 2>&5
7728 echo "$as_me:7728: \$? = $ac_status" >&5
7729 (exit $ac_status); } &&
7730 { ac_try='test -s conftest.$ac_objext'
7731 { (eval echo "$as_me:7731: \"$ac_try\"") >&5
7734 echo "$as_me:7734: \$? = $ac_status" >&5
7735 (exit $ac_status); }; }; then
7736 ac_lo=$ac_mid; break
7738 echo "$as_me: failed program was:" >&5
7739 cat conftest.$ac_ext >&5
7740 ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
7742 rm -f conftest.$ac_objext conftest.$ac_ext
7745 rm -f conftest.$ac_objext conftest.$ac_ext
7746 # Binary search between lo and hi bounds.
7747 while test "x$ac_lo" != "x$ac_hi"; do
7748 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7749 cat >conftest.$ac_ext <<_ACEOF
7750 #line 7750 "configure"
7751 #include "confdefs.h"
7752 $ac_includes_default
7756 int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)]
7761 rm -f conftest.$ac_objext
7762 if { (eval echo "$as_me:7762: \"$ac_compile\"") >&5
7763 (eval $ac_compile) 2>&5
7765 echo "$as_me:7765: \$? = $ac_status" >&5
7766 (exit $ac_status); } &&
7767 { ac_try='test -s conftest.$ac_objext'
7768 { (eval echo "$as_me:7768: \"$ac_try\"") >&5
7771 echo "$as_me:7771: \$? = $ac_status" >&5
7772 (exit $ac_status); }; }; then
7775 echo "$as_me: failed program was:" >&5
7776 cat conftest.$ac_ext >&5
7777 ac_lo=`expr $ac_mid + 1`
7779 rm -f conftest.$ac_objext conftest.$ac_ext
7781 ac_cv_sizeof_int=$ac_lo
7783 if test "$cross_compiling" = yes; then
7784 { { echo "$as_me:7784: error: cannot run test program while cross compiling" >&5
7785 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
7786 { (exit 1); exit 1; }; }
7788 cat >conftest.$ac_ext <<_ACEOF
7789 #line 7789 "configure"
7790 #include "confdefs.h"
7791 $ac_includes_default
7795 FILE *f = fopen ("conftest.val", "w");
7798 fprintf (f, "%d", (sizeof (int)));
7804 rm -f conftest$ac_exeext
7805 if { (eval echo "$as_me:7805: \"$ac_link\"") >&5
7806 (eval $ac_link) 2>&5
7808 echo "$as_me:7808: \$? = $ac_status" >&5
7809 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7810 { (eval echo "$as_me:7810: \"$ac_try\"") >&5
7813 echo "$as_me:7813: \$? = $ac_status" >&5
7814 (exit $ac_status); }; }; then
7815 ac_cv_sizeof_int=`cat conftest.val`
7817 echo "$as_me: program exited with status $ac_status" >&5
7818 echo "$as_me: failed program was:" >&5
7819 cat conftest.$ac_ext >&5
7821 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
7829 echo "$as_me:7829: result: $ac_cv_sizeof_int" >&5
7830 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
7831 cat >>confdefs.h <<EOF
7832 #define SIZEOF_INT $ac_cv_sizeof_int
7836 *) { { echo "$as_me:7836: error: Cross-compiling needs explicit SIZEOF_INT" >&5
7837 echo "$as_me: error: Cross-compiling needs explicit SIZEOF_INT" >&2;}
7838 { (exit 1); exit 1; }; }
7846 echo "$as_me:7846: checking for long" >&5
7847 echo $ECHO_N "checking for long... $ECHO_C" >&6
7848 if test "${ac_cv_type_long+set}" = set; then
7849 echo $ECHO_N "(cached) $ECHO_C" >&6
7851 cat >conftest.$ac_ext <<_ACEOF
7852 #line 7852 "configure"
7853 #include "confdefs.h"
7854 $ac_includes_default
7866 rm -f conftest.$ac_objext
7867 if { (eval echo "$as_me:7867: \"$ac_compile\"") >&5
7868 (eval $ac_compile) 2>&5
7870 echo "$as_me:7870: \$? = $ac_status" >&5
7871 (exit $ac_status); } &&
7872 { ac_try='test -s conftest.$ac_objext'
7873 { (eval echo "$as_me:7873: \"$ac_try\"") >&5
7876 echo "$as_me:7876: \$? = $ac_status" >&5
7877 (exit $ac_status); }; }; then
7880 echo "$as_me: failed program was:" >&5
7881 cat conftest.$ac_ext >&5
7884 rm -f conftest.$ac_objext conftest.$ac_ext
7886 echo "$as_me:7886: result: $ac_cv_type_long" >&5
7887 echo "${ECHO_T}$ac_cv_type_long" >&6
7889 echo "$as_me:7889: checking size of long" >&5
7890 echo $ECHO_N "checking size of long... $ECHO_C" >&6
7891 if test "${ac_cv_sizeof_long+set}" = set; then
7892 echo $ECHO_N "(cached) $ECHO_C" >&6
7894 if test "$ac_cv_type_long" = yes; then
7895 if test "$cross_compiling" = yes; then
7896 # Depending upon the size, compute the lo and hi bounds.
7897 cat >conftest.$ac_ext <<_ACEOF
7898 #line 7898 "configure"
7899 #include "confdefs.h"
7900 $ac_includes_default
7904 int _array_ [1 - 2 * !((sizeof (long)) >= 0)]
7909 rm -f conftest.$ac_objext
7910 if { (eval echo "$as_me:7910: \"$ac_compile\"") >&5
7911 (eval $ac_compile) 2>&5
7913 echo "$as_me:7913: \$? = $ac_status" >&5
7914 (exit $ac_status); } &&
7915 { ac_try='test -s conftest.$ac_objext'
7916 { (eval echo "$as_me:7916: \"$ac_try\"") >&5
7919 echo "$as_me:7919: \$? = $ac_status" >&5
7920 (exit $ac_status); }; }; then
7923 cat >conftest.$ac_ext <<_ACEOF
7924 #line 7924 "configure"
7925 #include "confdefs.h"
7926 $ac_includes_default
7930 int _array_ [1 - 2 * !((sizeof (long)) <= $ac_mid)]
7935 rm -f conftest.$ac_objext
7936 if { (eval echo "$as_me:7936: \"$ac_compile\"") >&5
7937 (eval $ac_compile) 2>&5
7939 echo "$as_me:7939: \$? = $ac_status" >&5
7940 (exit $ac_status); } &&
7941 { ac_try='test -s conftest.$ac_objext'
7942 { (eval echo "$as_me:7942: \"$ac_try\"") >&5
7945 echo "$as_me:7945: \$? = $ac_status" >&5
7946 (exit $ac_status); }; }; then
7947 ac_hi=$ac_mid; break
7949 echo "$as_me: failed program was:" >&5
7950 cat conftest.$ac_ext >&5
7951 ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
7953 rm -f conftest.$ac_objext conftest.$ac_ext
7956 echo "$as_me: failed program was:" >&5
7957 cat conftest.$ac_ext >&5
7960 cat >conftest.$ac_ext <<_ACEOF
7961 #line 7961 "configure"
7962 #include "confdefs.h"
7963 $ac_includes_default
7967 int _array_ [1 - 2 * !((sizeof (long)) >= $ac_mid)]
7972 rm -f conftest.$ac_objext
7973 if { (eval echo "$as_me:7973: \"$ac_compile\"") >&5
7974 (eval $ac_compile) 2>&5
7976 echo "$as_me:7976: \$? = $ac_status" >&5
7977 (exit $ac_status); } &&
7978 { ac_try='test -s conftest.$ac_objext'
7979 { (eval echo "$as_me:7979: \"$ac_try\"") >&5
7982 echo "$as_me:7982: \$? = $ac_status" >&5
7983 (exit $ac_status); }; }; then
7984 ac_lo=$ac_mid; break
7986 echo "$as_me: failed program was:" >&5
7987 cat conftest.$ac_ext >&5
7988 ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
7990 rm -f conftest.$ac_objext conftest.$ac_ext
7993 rm -f conftest.$ac_objext conftest.$ac_ext
7994 # Binary search between lo and hi bounds.
7995 while test "x$ac_lo" != "x$ac_hi"; do
7996 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7997 cat >conftest.$ac_ext <<_ACEOF
7998 #line 7998 "configure"
7999 #include "confdefs.h"
8000 $ac_includes_default
8004 int _array_ [1 - 2 * !((sizeof (long)) <= $ac_mid)]
8009 rm -f conftest.$ac_objext
8010 if { (eval echo "$as_me:8010: \"$ac_compile\"") >&5
8011 (eval $ac_compile) 2>&5
8013 echo "$as_me:8013: \$? = $ac_status" >&5
8014 (exit $ac_status); } &&
8015 { ac_try='test -s conftest.$ac_objext'
8016 { (eval echo "$as_me:8016: \"$ac_try\"") >&5
8019 echo "$as_me:8019: \$? = $ac_status" >&5
8020 (exit $ac_status); }; }; then
8023 echo "$as_me: failed program was:" >&5
8024 cat conftest.$ac_ext >&5
8025 ac_lo=`expr $ac_mid + 1`
8027 rm -f conftest.$ac_objext conftest.$ac_ext
8029 ac_cv_sizeof_long=$ac_lo
8031 if test "$cross_compiling" = yes; then
8032 { { echo "$as_me:8032: error: cannot run test program while cross compiling" >&5
8033 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
8034 { (exit 1); exit 1; }; }
8036 cat >conftest.$ac_ext <<_ACEOF
8037 #line 8037 "configure"
8038 #include "confdefs.h"
8039 $ac_includes_default
8043 FILE *f = fopen ("conftest.val", "w");
8046 fprintf (f, "%d", (sizeof (long)));
8052 rm -f conftest$ac_exeext
8053 if { (eval echo "$as_me:8053: \"$ac_link\"") >&5
8054 (eval $ac_link) 2>&5
8056 echo "$as_me:8056: \$? = $ac_status" >&5
8057 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8058 { (eval echo "$as_me:8058: \"$ac_try\"") >&5
8061 echo "$as_me:8061: \$? = $ac_status" >&5
8062 (exit $ac_status); }; }; then
8063 ac_cv_sizeof_long=`cat conftest.val`
8065 echo "$as_me: program exited with status $ac_status" >&5
8066 echo "$as_me: failed program was:" >&5
8067 cat conftest.$ac_ext >&5
8069 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
8077 echo "$as_me:8077: result: $ac_cv_sizeof_long" >&5
8078 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
8079 cat >>confdefs.h <<EOF
8080 #define SIZEOF_LONG $ac_cv_sizeof_long
8084 *) case "$target" in
8086 echo "$as_me:8086: checking for long" >&5
8087 echo $ECHO_N "checking for long... $ECHO_C" >&6
8088 if test "${ac_cv_type_long+set}" = set; then
8089 echo $ECHO_N "(cached) $ECHO_C" >&6
8091 cat >conftest.$ac_ext <<_ACEOF
8092 #line 8092 "configure"
8093 #include "confdefs.h"
8094 $ac_includes_default
8106 rm -f conftest.$ac_objext
8107 if { (eval echo "$as_me:8107: \"$ac_compile\"") >&5
8108 (eval $ac_compile) 2>&5
8110 echo "$as_me:8110: \$? = $ac_status" >&5
8111 (exit $ac_status); } &&
8112 { ac_try='test -s conftest.$ac_objext'
8113 { (eval echo "$as_me:8113: \"$ac_try\"") >&5
8116 echo "$as_me:8116: \$? = $ac_status" >&5
8117 (exit $ac_status); }; }; then
8120 echo "$as_me: failed program was:" >&5
8121 cat conftest.$ac_ext >&5
8124 rm -f conftest.$ac_objext conftest.$ac_ext
8126 echo "$as_me:8126: result: $ac_cv_type_long" >&5
8127 echo "${ECHO_T}$ac_cv_type_long" >&6
8129 echo "$as_me:8129: checking size of long" >&5
8130 echo $ECHO_N "checking size of long... $ECHO_C" >&6
8131 if test "${ac_cv_sizeof_long+set}" = set; then
8132 echo $ECHO_N "(cached) $ECHO_C" >&6
8134 if test "$ac_cv_type_long" = yes; then
8135 if test "$cross_compiling" = yes; then
8136 # Depending upon the size, compute the lo and hi bounds.
8137 cat >conftest.$ac_ext <<_ACEOF
8138 #line 8138 "configure"
8139 #include "confdefs.h"
8140 $ac_includes_default
8144 int _array_ [1 - 2 * !((sizeof (long)) >= 0)]
8149 rm -f conftest.$ac_objext
8150 if { (eval echo "$as_me:8150: \"$ac_compile\"") >&5
8151 (eval $ac_compile) 2>&5
8153 echo "$as_me:8153: \$? = $ac_status" >&5
8154 (exit $ac_status); } &&
8155 { ac_try='test -s conftest.$ac_objext'
8156 { (eval echo "$as_me:8156: \"$ac_try\"") >&5
8159 echo "$as_me:8159: \$? = $ac_status" >&5
8160 (exit $ac_status); }; }; then
8163 cat >conftest.$ac_ext <<_ACEOF
8164 #line 8164 "configure"
8165 #include "confdefs.h"
8166 $ac_includes_default
8170 int _array_ [1 - 2 * !((sizeof (long)) <= $ac_mid)]
8175 rm -f conftest.$ac_objext
8176 if { (eval echo "$as_me:8176: \"$ac_compile\"") >&5
8177 (eval $ac_compile) 2>&5
8179 echo "$as_me:8179: \$? = $ac_status" >&5
8180 (exit $ac_status); } &&
8181 { ac_try='test -s conftest.$ac_objext'
8182 { (eval echo "$as_me:8182: \"$ac_try\"") >&5
8185 echo "$as_me:8185: \$? = $ac_status" >&5
8186 (exit $ac_status); }; }; then
8187 ac_hi=$ac_mid; break
8189 echo "$as_me: failed program was:" >&5
8190 cat conftest.$ac_ext >&5
8191 ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
8193 rm -f conftest.$ac_objext conftest.$ac_ext
8196 echo "$as_me: failed program was:" >&5
8197 cat conftest.$ac_ext >&5
8200 cat >conftest.$ac_ext <<_ACEOF
8201 #line 8201 "configure"
8202 #include "confdefs.h"
8203 $ac_includes_default
8207 int _array_ [1 - 2 * !((sizeof (long)) >= $ac_mid)]
8212 rm -f conftest.$ac_objext
8213 if { (eval echo "$as_me:8213: \"$ac_compile\"") >&5
8214 (eval $ac_compile) 2>&5
8216 echo "$as_me:8216: \$? = $ac_status" >&5
8217 (exit $ac_status); } &&
8218 { ac_try='test -s conftest.$ac_objext'
8219 { (eval echo "$as_me:8219: \"$ac_try\"") >&5
8222 echo "$as_me:8222: \$? = $ac_status" >&5
8223 (exit $ac_status); }; }; then
8224 ac_lo=$ac_mid; break
8226 echo "$as_me: failed program was:" >&5
8227 cat conftest.$ac_ext >&5
8228 ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
8230 rm -f conftest.$ac_objext conftest.$ac_ext
8233 rm -f conftest.$ac_objext conftest.$ac_ext
8234 # Binary search between lo and hi bounds.
8235 while test "x$ac_lo" != "x$ac_hi"; do
8236 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8237 cat >conftest.$ac_ext <<_ACEOF
8238 #line 8238 "configure"
8239 #include "confdefs.h"
8240 $ac_includes_default
8244 int _array_ [1 - 2 * !((sizeof (long)) <= $ac_mid)]
8249 rm -f conftest.$ac_objext
8250 if { (eval echo "$as_me:8250: \"$ac_compile\"") >&5
8251 (eval $ac_compile) 2>&5
8253 echo "$as_me:8253: \$? = $ac_status" >&5
8254 (exit $ac_status); } &&
8255 { ac_try='test -s conftest.$ac_objext'
8256 { (eval echo "$as_me:8256: \"$ac_try\"") >&5
8259 echo "$as_me:8259: \$? = $ac_status" >&5
8260 (exit $ac_status); }; }; then
8263 echo "$as_me: failed program was:" >&5
8264 cat conftest.$ac_ext >&5
8265 ac_lo=`expr $ac_mid + 1`
8267 rm -f conftest.$ac_objext conftest.$ac_ext
8269 ac_cv_sizeof_long=$ac_lo
8271 if test "$cross_compiling" = yes; then
8272 { { echo "$as_me:8272: error: cannot run test program while cross compiling" >&5
8273 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
8274 { (exit 1); exit 1; }; }
8276 cat >conftest.$ac_ext <<_ACEOF
8277 #line 8277 "configure"
8278 #include "confdefs.h"
8279 $ac_includes_default
8283 FILE *f = fopen ("conftest.val", "w");
8286 fprintf (f, "%d", (sizeof (long)));
8292 rm -f conftest$ac_exeext
8293 if { (eval echo "$as_me:8293: \"$ac_link\"") >&5
8294 (eval $ac_link) 2>&5
8296 echo "$as_me:8296: \$? = $ac_status" >&5
8297 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8298 { (eval echo "$as_me:8298: \"$ac_try\"") >&5
8301 echo "$as_me:8301: \$? = $ac_status" >&5
8302 (exit $ac_status); }; }; then
8303 ac_cv_sizeof_long=`cat conftest.val`
8305 echo "$as_me: program exited with status $ac_status" >&5
8306 echo "$as_me: failed program was:" >&5
8307 cat conftest.$ac_ext >&5
8309 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
8317 echo "$as_me:8317: result: $ac_cv_sizeof_long" >&5
8318 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
8319 cat >>confdefs.h <<EOF
8320 #define SIZEOF_LONG $ac_cv_sizeof_long
8324 *) { { echo "$as_me:8324: error: Cross-compiling needs explicit SIZEOF_LONG" >&5
8325 echo "$as_me: error: Cross-compiling needs explicit SIZEOF_LONG" >&2;}
8326 { (exit 1); exit 1; }; }
8332 echo "$as_me:8332: checking for s_char" >&5
8333 echo $ECHO_N "checking for s_char... $ECHO_C" >&6
8334 if test "${ac_cv_type_s_char+set}" = set; then
8335 echo $ECHO_N "(cached) $ECHO_C" >&6
8337 cat >conftest.$ac_ext <<_ACEOF
8338 #line 8338 "configure"
8339 #include "confdefs.h"
8340 $ac_includes_default
8346 if (sizeof (s_char))
8352 rm -f conftest.$ac_objext
8353 if { (eval echo "$as_me:8353: \"$ac_compile\"") >&5
8354 (eval $ac_compile) 2>&5
8356 echo "$as_me:8356: \$? = $ac_status" >&5
8357 (exit $ac_status); } &&
8358 { ac_try='test -s conftest.$ac_objext'
8359 { (eval echo "$as_me:8359: \"$ac_try\"") >&5
8362 echo "$as_me:8362: \$? = $ac_status" >&5
8363 (exit $ac_status); }; }; then
8364 ac_cv_type_s_char=yes
8366 echo "$as_me: failed program was:" >&5
8367 cat conftest.$ac_ext >&5
8368 ac_cv_type_s_char=no
8370 rm -f conftest.$ac_objext conftest.$ac_ext
8372 echo "$as_me:8372: result: $ac_cv_type_s_char" >&5
8373 echo "${ECHO_T}$ac_cv_type_s_char" >&6
8374 if test $ac_cv_type_s_char = yes; then
8376 cat >>confdefs.h <<EOF
8377 #define HAVE_S_CHAR 1
8382 case "$ac_cv_c_char_unsigned$ac_cv_sizeof_signed_char$ac_cv_type_s_char" in
8384 # We have a typedef for s_char. Might as well believe it...
8387 # We have signed chars, can't say 'signed char', no s_char typedef.
8388 cat >>confdefs.h <<\EOF
8389 #define NEED_S_CHAR_TYPEDEF 1
8394 # We have signed chars, can say 'signed char', no s_char typedef.
8395 cat >>confdefs.h <<\EOF
8396 #define NEED_S_CHAR_TYPEDEF 1
8401 # We have unsigned chars, can't say 'signed char', no s_char typedef.
8402 { { echo "$as_me:8402: error: No way to specify a signed character!" >&5
8403 echo "$as_me: error: No way to specify a signed character!" >&2;}
8404 { (exit 1); exit 1; }; }
8407 # We have unsigned chars, can say 'signed char', no s_char typedef.
8408 cat >>confdefs.h <<\EOF
8409 #define NEED_S_CHAR_TYPEDEF 1
8414 echo "$as_me:8414: checking for uid_t in sys/types.h" >&5
8415 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
8416 if test "${ac_cv_type_uid_t+set}" = set; then
8417 echo $ECHO_N "(cached) $ECHO_C" >&6
8419 cat >conftest.$ac_ext <<_ACEOF
8420 #line 8420 "configure"
8421 #include "confdefs.h"
8422 #include <sys/types.h>
8425 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8426 egrep "uid_t" >/dev/null 2>&1; then
8427 ac_cv_type_uid_t=yes
8434 echo "$as_me:8434: result: $ac_cv_type_uid_t" >&5
8435 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
8436 if test $ac_cv_type_uid_t = no; then
8438 cat >>confdefs.h <<\EOF
8442 cat >>confdefs.h <<\EOF
8451 for ac_func in __adjtimex __ntp_gettime
8453 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
8454 echo "$as_me:8454: checking for $ac_func" >&5
8455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8456 if eval "test \"\${$ac_ac_var+set}\" = set"; then
8457 echo $ECHO_N "(cached) $ECHO_C" >&6
8459 cat >conftest.$ac_ext <<_ACEOF
8460 #line 8460 "configure"
8461 #include "confdefs.h"
8462 /* System header to define __stub macros and hopefully few prototypes,
8463 which can conflict with char $ac_func (); below. */
8465 /* Override any gcc2 internal prototype to avoid an error. */
8469 /* We use char because int might match the return type of a gcc2
8470 builtin and then its argument prototype would still apply. */
8477 /* The GNU C library defines this for functions which it implements
8478 to always fail with ENOSYS. Some functions are actually named
8479 something starting with __ and the normal name is an alias. */
8480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8490 rm -f conftest.$ac_objext conftest$ac_exeext
8491 if { (eval echo "$as_me:8491: \"$ac_link\"") >&5
8492 (eval $ac_link) 2>&5
8494 echo "$as_me:8494: \$? = $ac_status" >&5
8495 (exit $ac_status); } &&
8496 { ac_try='test -s conftest$ac_exeext'
8497 { (eval echo "$as_me:8497: \"$ac_try\"") >&5
8500 echo "$as_me:8500: \$? = $ac_status" >&5
8501 (exit $ac_status); }; }; then
8502 eval "$ac_ac_var=yes"
8504 echo "$as_me: failed program was:" >&5
8505 cat conftest.$ac_ext >&5
8506 eval "$ac_ac_var=no"
8508 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8510 echo "$as_me:8510: result: `eval echo '${'$ac_ac_var'}'`" >&5
8511 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
8512 if test `eval echo '${'$ac_ac_var'}'` = yes; then
8513 cat >>confdefs.h <<EOF
8514 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
8524 # (prr) aix 4.1 doesn't have clock_settime, but in aix 4.3 it's a stub
8525 # (returning ENOSYS). I didn't check 4.2. If, in the future,
8526 # IBM pulls its thumbs out long enough to implement clock_settime,
8527 # this conditional will need to change. Maybe use AC_TRY_RUN
8528 # instead to try to set the time to itself and check errno.
8531 for ac_func in clock_settime
8533 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
8534 echo "$as_me:8534: checking for $ac_func" >&5
8535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8536 if eval "test \"\${$ac_ac_var+set}\" = set"; then
8537 echo $ECHO_N "(cached) $ECHO_C" >&6
8539 cat >conftest.$ac_ext <<_ACEOF
8540 #line 8540 "configure"
8541 #include "confdefs.h"
8542 /* System header to define __stub macros and hopefully few prototypes,
8543 which can conflict with char $ac_func (); below. */
8545 /* Override any gcc2 internal prototype to avoid an error. */
8549 /* We use char because int might match the return type of a gcc2
8550 builtin and then its argument prototype would still apply. */
8557 /* The GNU C library defines this for functions which it implements
8558 to always fail with ENOSYS. Some functions are actually named
8559 something starting with __ and the normal name is an alias. */
8560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8570 rm -f conftest.$ac_objext conftest$ac_exeext
8571 if { (eval echo "$as_me:8571: \"$ac_link\"") >&5
8572 (eval $ac_link) 2>&5
8574 echo "$as_me:8574: \$? = $ac_status" >&5
8575 (exit $ac_status); } &&
8576 { ac_try='test -s conftest$ac_exeext'
8577 { (eval echo "$as_me:8577: \"$ac_try\"") >&5
8580 echo "$as_me:8580: \$? = $ac_status" >&5
8581 (exit $ac_status); }; }; then
8582 eval "$ac_ac_var=yes"
8584 echo "$as_me: failed program was:" >&5
8585 cat conftest.$ac_ext >&5
8586 eval "$ac_ac_var=no"
8588 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8590 echo "$as_me:8590: result: `eval echo '${'$ac_ac_var'}'`" >&5
8591 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
8592 if test `eval echo '${'$ac_ac_var'}'` = yes; then
8593 cat >>confdefs.h <<EOF
8594 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
8603 for ac_func in daemon
8605 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
8606 echo "$as_me:8606: checking for $ac_func" >&5
8607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8608 if eval "test \"\${$ac_ac_var+set}\" = set"; then
8609 echo $ECHO_N "(cached) $ECHO_C" >&6
8611 cat >conftest.$ac_ext <<_ACEOF
8612 #line 8612 "configure"
8613 #include "confdefs.h"
8614 /* System header to define __stub macros and hopefully few prototypes,
8615 which can conflict with char $ac_func (); below. */
8617 /* Override any gcc2 internal prototype to avoid an error. */
8621 /* We use char because int might match the return type of a gcc2
8622 builtin and then its argument prototype would still apply. */
8629 /* The GNU C library defines this for functions which it implements
8630 to always fail with ENOSYS. Some functions are actually named
8631 something starting with __ and the normal name is an alias. */
8632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8642 rm -f conftest.$ac_objext conftest$ac_exeext
8643 if { (eval echo "$as_me:8643: \"$ac_link\"") >&5
8644 (eval $ac_link) 2>&5
8646 echo "$as_me:8646: \$? = $ac_status" >&5
8647 (exit $ac_status); } &&
8648 { ac_try='test -s conftest$ac_exeext'
8649 { (eval echo "$as_me:8649: \"$ac_try\"") >&5
8652 echo "$as_me:8652: \$? = $ac_status" >&5
8653 (exit $ac_status); }; }; then
8654 eval "$ac_ac_var=yes"
8656 echo "$as_me: failed program was:" >&5
8657 cat conftest.$ac_ext >&5
8658 eval "$ac_ac_var=no"
8660 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8662 echo "$as_me:8662: result: `eval echo '${'$ac_ac_var'}'`" >&5
8663 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
8664 if test `eval echo '${'$ac_ac_var'}'` = yes; then
8665 cat >>confdefs.h <<EOF
8666 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
8672 for ac_func in finite
8674 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
8675 echo "$as_me:8675: checking for $ac_func" >&5
8676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8677 if eval "test \"\${$ac_ac_var+set}\" = set"; then
8678 echo $ECHO_N "(cached) $ECHO_C" >&6
8680 cat >conftest.$ac_ext <<_ACEOF
8681 #line 8681 "configure"
8682 #include "confdefs.h"
8683 /* System header to define __stub macros and hopefully few prototypes,
8684 which can conflict with char $ac_func (); below. */
8686 /* Override any gcc2 internal prototype to avoid an error. */
8690 /* We use char because int might match the return type of a gcc2
8691 builtin and then its argument prototype would still apply. */
8698 /* The GNU C library defines this for functions which it implements
8699 to always fail with ENOSYS. Some functions are actually named
8700 something starting with __ and the normal name is an alias. */
8701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8711 rm -f conftest.$ac_objext conftest$ac_exeext
8712 if { (eval echo "$as_me:8712: \"$ac_link\"") >&5
8713 (eval $ac_link) 2>&5
8715 echo "$as_me:8715: \$? = $ac_status" >&5
8716 (exit $ac_status); } &&
8717 { ac_try='test -s conftest$ac_exeext'
8718 { (eval echo "$as_me:8718: \"$ac_try\"") >&5
8721 echo "$as_me:8721: \$? = $ac_status" >&5
8722 (exit $ac_status); }; }; then
8723 eval "$ac_ac_var=yes"
8725 echo "$as_me: failed program was:" >&5
8726 cat conftest.$ac_ext >&5
8727 eval "$ac_ac_var=no"
8729 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8731 echo "$as_me:8731: result: `eval echo '${'$ac_ac_var'}'`" >&5
8732 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
8733 if test `eval echo '${'$ac_ac_var'}'` = yes; then
8734 cat >>confdefs.h <<EOF
8735 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
8740 for ac_func in isfinite
8742 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
8743 echo "$as_me:8743: checking for $ac_func" >&5
8744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8745 if eval "test \"\${$ac_ac_var+set}\" = set"; then
8746 echo $ECHO_N "(cached) $ECHO_C" >&6
8748 cat >conftest.$ac_ext <<_ACEOF
8749 #line 8749 "configure"
8750 #include "confdefs.h"
8751 /* System header to define __stub macros and hopefully few prototypes,
8752 which can conflict with char $ac_func (); below. */
8754 /* Override any gcc2 internal prototype to avoid an error. */
8758 /* We use char because int might match the return type of a gcc2
8759 builtin and then its argument prototype would still apply. */
8766 /* The GNU C library defines this for functions which it implements
8767 to always fail with ENOSYS. Some functions are actually named
8768 something starting with __ and the normal name is an alias. */
8769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8779 rm -f conftest.$ac_objext conftest$ac_exeext
8780 if { (eval echo "$as_me:8780: \"$ac_link\"") >&5
8781 (eval $ac_link) 2>&5
8783 echo "$as_me:8783: \$? = $ac_status" >&5
8784 (exit $ac_status); } &&
8785 { ac_try='test -s conftest$ac_exeext'
8786 { (eval echo "$as_me:8786: \"$ac_try\"") >&5
8789 echo "$as_me:8789: \$? = $ac_status" >&5
8790 (exit $ac_status); }; }; then
8791 eval "$ac_ac_var=yes"
8793 echo "$as_me: failed program was:" >&5
8794 cat conftest.$ac_ext >&5
8795 eval "$ac_ac_var=no"
8797 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8799 echo "$as_me:8799: result: `eval echo '${'$ac_ac_var'}'`" >&5
8800 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
8801 if test `eval echo '${'$ac_ac_var'}'` = yes; then
8802 cat >>confdefs.h <<EOF
8803 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
8807 echo "$as_me:8807: checking for isfinite with <math.h>" >&5
8808 echo $ECHO_N "checking for isfinite with <math.h>... $ECHO_C" >&6
8811 cat >conftest.$ac_ext <<_ACEOF
8812 #line 8812 "configure"
8813 #include "confdefs.h"
8818 float f = 0.0; isfinite(f)
8823 rm -f conftest.$ac_objext conftest$ac_exeext
8824 if { (eval echo "$as_me:8824: \"$ac_link\"") >&5
8825 (eval $ac_link) 2>&5
8827 echo "$as_me:8827: \$? = $ac_status" >&5
8828 (exit $ac_status); } &&
8829 { ac_try='test -s conftest$ac_exeext'
8830 { (eval echo "$as_me:8830: \"$ac_try\"") >&5
8833 echo "$as_me:8833: \$? = $ac_status" >&5
8834 (exit $ac_status); }; }; then
8835 echo "$as_me:8835: result: yes" >&5
8836 echo "${ECHO_T}yes" >&6
8837 cat >>confdefs.h <<\EOF
8838 #define HAVE_ISFINITE 1
8842 echo "$as_me: failed program was:" >&5
8843 cat conftest.$ac_ext >&5
8844 echo "$as_me:8844: result: no" >&5
8845 echo "${ECHO_T}no" >&6
8847 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8855 for ac_func in getbootfile getclock getdtablesize getrusage gettimeofday
8857 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
8858 echo "$as_me:8858: checking for $ac_func" >&5
8859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8860 if eval "test \"\${$ac_ac_var+set}\" = set"; then
8861 echo $ECHO_N "(cached) $ECHO_C" >&6
8863 cat >conftest.$ac_ext <<_ACEOF
8864 #line 8864 "configure"
8865 #include "confdefs.h"
8866 /* System header to define __stub macros and hopefully few prototypes,
8867 which can conflict with char $ac_func (); below. */
8869 /* Override any gcc2 internal prototype to avoid an error. */
8873 /* We use char because int might match the return type of a gcc2
8874 builtin and then its argument prototype would still apply. */
8881 /* The GNU C library defines this for functions which it implements
8882 to always fail with ENOSYS. Some functions are actually named
8883 something starting with __ and the normal name is an alias. */
8884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8894 rm -f conftest.$ac_objext conftest$ac_exeext
8895 if { (eval echo "$as_me:8895: \"$ac_link\"") >&5
8896 (eval $ac_link) 2>&5
8898 echo "$as_me:8898: \$? = $ac_status" >&5
8899 (exit $ac_status); } &&
8900 { ac_try='test -s conftest$ac_exeext'
8901 { (eval echo "$as_me:8901: \"$ac_try\"") >&5
8904 echo "$as_me:8904: \$? = $ac_status" >&5
8905 (exit $ac_status); }; }; then
8906 eval "$ac_ac_var=yes"
8908 echo "$as_me: failed program was:" >&5
8909 cat conftest.$ac_ext >&5
8910 eval "$ac_ac_var=no"
8912 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8914 echo "$as_me:8914: result: `eval echo '${'$ac_ac_var'}'`" >&5
8915 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
8916 if test `eval echo '${'$ac_ac_var'}'` = yes; then
8917 cat >>confdefs.h <<EOF
8918 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
8928 for ac_func in getuid
8930 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
8931 echo "$as_me:8931: checking for $ac_func" >&5
8932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8933 if eval "test \"\${$ac_ac_var+set}\" = set"; then
8934 echo $ECHO_N "(cached) $ECHO_C" >&6
8936 cat >conftest.$ac_ext <<_ACEOF
8937 #line 8937 "configure"
8938 #include "confdefs.h"
8939 /* System header to define __stub macros and hopefully few prototypes,
8940 which can conflict with char $ac_func (); below. */
8942 /* Override any gcc2 internal prototype to avoid an error. */
8946 /* We use char because int might match the return type of a gcc2
8947 builtin and then its argument prototype would still apply. */
8954 /* The GNU C library defines this for functions which it implements
8955 to always fail with ENOSYS. Some functions are actually named
8956 something starting with __ and the normal name is an alias. */
8957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8967 rm -f conftest.$ac_objext conftest$ac_exeext
8968 if { (eval echo "$as_me:8968: \"$ac_link\"") >&5
8969 (eval $ac_link) 2>&5
8971 echo "$as_me:8971: \$? = $ac_status" >&5
8972 (exit $ac_status); } &&
8973 { ac_try='test -s conftest$ac_exeext'
8974 { (eval echo "$as_me:8974: \"$ac_try\"") >&5
8977 echo "$as_me:8977: \$? = $ac_status" >&5
8978 (exit $ac_status); }; }; then
8979 eval "$ac_ac_var=yes"
8981 echo "$as_me: failed program was:" >&5
8982 cat conftest.$ac_ext >&5
8983 eval "$ac_ac_var=no"
8985 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8987 echo "$as_me:8987: result: `eval echo '${'$ac_ac_var'}'`" >&5
8988 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
8989 if test `eval echo '${'$ac_ac_var'}'` = yes; then
8990 cat >>confdefs.h <<EOF
8991 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
9000 for ac_func in hstrerror K_open kvm_open memcpy memmove memset
9002 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
9003 echo "$as_me:9003: checking for $ac_func" >&5
9004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9005 if eval "test \"\${$ac_ac_var+set}\" = set"; then
9006 echo $ECHO_N "(cached) $ECHO_C" >&6
9008 cat >conftest.$ac_ext <<_ACEOF
9009 #line 9009 "configure"
9010 #include "confdefs.h"
9011 /* System header to define __stub macros and hopefully few prototypes,
9012 which can conflict with char $ac_func (); below. */
9014 /* Override any gcc2 internal prototype to avoid an error. */
9018 /* We use char because int might match the return type of a gcc2
9019 builtin and then its argument prototype would still apply. */
9026 /* The GNU C library defines this for functions which it implements
9027 to always fail with ENOSYS. Some functions are actually named
9028 something starting with __ and the normal name is an alias. */
9029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9039 rm -f conftest.$ac_objext conftest$ac_exeext
9040 if { (eval echo "$as_me:9040: \"$ac_link\"") >&5
9041 (eval $ac_link) 2>&5
9043 echo "$as_me:9043: \$? = $ac_status" >&5
9044 (exit $ac_status); } &&
9045 { ac_try='test -s conftest$ac_exeext'
9046 { (eval echo "$as_me:9046: \"$ac_try\"") >&5
9049 echo "$as_me:9049: \$? = $ac_status" >&5
9050 (exit $ac_status); }; }; then
9051 eval "$ac_ac_var=yes"
9053 echo "$as_me: failed program was:" >&5
9054 cat conftest.$ac_ext >&5
9055 eval "$ac_ac_var=no"
9057 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9059 echo "$as_me:9059: result: `eval echo '${'$ac_ac_var'}'`" >&5
9060 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
9061 if test `eval echo '${'$ac_ac_var'}'` = yes; then
9062 cat >>confdefs.h <<EOF
9063 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
9071 # Just stubs. Idiots.
9074 for ac_func in mkstemp
9076 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
9077 echo "$as_me:9077: checking for $ac_func" >&5
9078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9079 if eval "test \"\${$ac_ac_var+set}\" = set"; then
9080 echo $ECHO_N "(cached) $ECHO_C" >&6
9082 cat >conftest.$ac_ext <<_ACEOF
9083 #line 9083 "configure"
9084 #include "confdefs.h"
9085 /* System header to define __stub macros and hopefully few prototypes,
9086 which can conflict with char $ac_func (); below. */
9088 /* Override any gcc2 internal prototype to avoid an error. */
9092 /* We use char because int might match the return type of a gcc2
9093 builtin and then its argument prototype would still apply. */
9100 /* The GNU C library defines this for functions which it implements
9101 to always fail with ENOSYS. Some functions are actually named
9102 something starting with __ and the normal name is an alias. */
9103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9113 rm -f conftest.$ac_objext conftest$ac_exeext
9114 if { (eval echo "$as_me:9114: \"$ac_link\"") >&5
9115 (eval $ac_link) 2>&5
9117 echo "$as_me:9117: \$? = $ac_status" >&5
9118 (exit $ac_status); } &&
9119 { ac_try='test -s conftest$ac_exeext'
9120 { (eval echo "$as_me:9120: \"$ac_try\"") >&5
9123 echo "$as_me:9123: \$? = $ac_status" >&5
9124 (exit $ac_status); }; }; then
9125 eval "$ac_ac_var=yes"
9127 echo "$as_me: failed program was:" >&5
9128 cat conftest.$ac_ext >&5
9129 eval "$ac_ac_var=no"
9131 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9133 echo "$as_me:9133: result: `eval echo '${'$ac_ac_var'}'`" >&5
9134 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
9135 if test `eval echo '${'$ac_ac_var'}'` = yes; then
9136 cat >>confdefs.h <<EOF
9137 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
9146 for ac_func in mktime
9148 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
9149 echo "$as_me:9149: checking for $ac_func" >&5
9150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9151 if eval "test \"\${$ac_ac_var+set}\" = set"; then
9152 echo $ECHO_N "(cached) $ECHO_C" >&6
9154 cat >conftest.$ac_ext <<_ACEOF
9155 #line 9155 "configure"
9156 #include "confdefs.h"
9157 /* System header to define __stub macros and hopefully few prototypes,
9158 which can conflict with char $ac_func (); below. */
9160 /* Override any gcc2 internal prototype to avoid an error. */
9164 /* We use char because int might match the return type of a gcc2
9165 builtin and then its argument prototype would still apply. */
9172 /* The GNU C library defines this for functions which it implements
9173 to always fail with ENOSYS. Some functions are actually named
9174 something starting with __ and the normal name is an alias. */
9175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9185 rm -f conftest.$ac_objext conftest$ac_exeext
9186 if { (eval echo "$as_me:9186: \"$ac_link\"") >&5
9187 (eval $ac_link) 2>&5
9189 echo "$as_me:9189: \$? = $ac_status" >&5
9190 (exit $ac_status); } &&
9191 { ac_try='test -s conftest$ac_exeext'
9192 { (eval echo "$as_me:9192: \"$ac_try\"") >&5
9195 echo "$as_me:9195: \$? = $ac_status" >&5
9196 (exit $ac_status); }; }; then
9197 eval "$ac_ac_var=yes"
9199 echo "$as_me: failed program was:" >&5
9200 cat conftest.$ac_ext >&5
9201 eval "$ac_ac_var=no"
9203 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9205 echo "$as_me:9205: result: `eval echo '${'$ac_ac_var'}'`" >&5
9206 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
9207 if test `eval echo '${'$ac_ac_var'}'` = yes; then
9208 cat >>confdefs.h <<EOF
9209 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
9213 LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
9219 # Just a stub. Idiots.
9222 # Just stubs in Irix. Idiots.
9225 # Just stubs. Idiots.
9227 alpha*-dec-osf4*|alpha*-dec-osf5*)
9228 # mlockall is there, as a #define calling memlk via <sys/mman.h>
9229 # Not easy to test for - cheat.
9231 for ac_func in memlk
9233 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
9234 echo "$as_me:9234: checking for $ac_func" >&5
9235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9236 if eval "test \"\${$ac_ac_var+set}\" = set"; then
9237 echo $ECHO_N "(cached) $ECHO_C" >&6
9239 cat >conftest.$ac_ext <<_ACEOF
9240 #line 9240 "configure"
9241 #include "confdefs.h"
9242 /* System header to define __stub macros and hopefully few prototypes,
9243 which can conflict with char $ac_func (); below. */
9245 /* Override any gcc2 internal prototype to avoid an error. */
9249 /* We use char because int might match the return type of a gcc2
9250 builtin and then its argument prototype would still apply. */
9257 /* The GNU C library defines this for functions which it implements
9258 to always fail with ENOSYS. Some functions are actually named
9259 something starting with __ and the normal name is an alias. */
9260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9270 rm -f conftest.$ac_objext conftest$ac_exeext
9271 if { (eval echo "$as_me:9271: \"$ac_link\"") >&5
9272 (eval $ac_link) 2>&5
9274 echo "$as_me:9274: \$? = $ac_status" >&5
9275 (exit $ac_status); } &&
9276 { ac_try='test -s conftest$ac_exeext'
9277 { (eval echo "$as_me:9277: \"$ac_try\"") >&5
9280 echo "$as_me:9280: \$? = $ac_status" >&5
9281 (exit $ac_status); }; }; then
9282 eval "$ac_ac_var=yes"
9284 echo "$as_me: failed program was:" >&5
9285 cat conftest.$ac_ext >&5
9286 eval "$ac_ac_var=no"
9288 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9290 echo "$as_me:9290: result: `eval echo '${'$ac_ac_var'}'`" >&5
9291 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
9292 if test `eval echo '${'$ac_ac_var'}'` = yes; then
9293 cat >>confdefs.h <<EOF
9294 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
9296 ac_cv_func_mlockall='yes'
9300 for ac_func in mlockall
9302 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
9303 echo "$as_me:9303: checking for $ac_func" >&5
9304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9305 if eval "test \"\${$ac_ac_var+set}\" = set"; then
9306 echo $ECHO_N "(cached) $ECHO_C" >&6
9308 cat >conftest.$ac_ext <<_ACEOF
9309 #line 9309 "configure"
9310 #include "confdefs.h"
9311 /* System header to define __stub macros and hopefully few prototypes,
9312 which can conflict with char $ac_func (); below. */
9314 /* Override any gcc2 internal prototype to avoid an error. */
9318 /* We use char because int might match the return type of a gcc2
9319 builtin and then its argument prototype would still apply. */
9326 /* The GNU C library defines this for functions which it implements
9327 to always fail with ENOSYS. Some functions are actually named
9328 something starting with __ and the normal name is an alias. */
9329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9339 rm -f conftest.$ac_objext conftest$ac_exeext
9340 if { (eval echo "$as_me:9340: \"$ac_link\"") >&5
9341 (eval $ac_link) 2>&5
9343 echo "$as_me:9343: \$? = $ac_status" >&5
9344 (exit $ac_status); } &&
9345 { ac_try='test -s conftest$ac_exeext'
9346 { (eval echo "$as_me:9346: \"$ac_try\"") >&5
9349 echo "$as_me:9349: \$? = $ac_status" >&5
9350 (exit $ac_status); }; }; then
9351 eval "$ac_ac_var=yes"
9353 echo "$as_me: failed program was:" >&5
9354 cat conftest.$ac_ext >&5
9355 eval "$ac_ac_var=no"
9357 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9359 echo "$as_me:9359: result: `eval echo '${'$ac_ac_var'}'`" >&5
9360 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
9361 if test `eval echo '${'$ac_ac_var'}'` = yes; then
9362 cat >>confdefs.h <<EOF
9363 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
9371 for ac_func in mlockall
9373 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
9374 echo "$as_me:9374: checking for $ac_func" >&5
9375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9376 if eval "test \"\${$ac_ac_var+set}\" = set"; then
9377 echo $ECHO_N "(cached) $ECHO_C" >&6
9379 cat >conftest.$ac_ext <<_ACEOF
9380 #line 9380 "configure"
9381 #include "confdefs.h"
9382 /* System header to define __stub macros and hopefully few prototypes,
9383 which can conflict with char $ac_func (); below. */
9385 /* Override any gcc2 internal prototype to avoid an error. */
9389 /* We use char because int might match the return type of a gcc2
9390 builtin and then its argument prototype would still apply. */
9397 /* The GNU C library defines this for functions which it implements
9398 to always fail with ENOSYS. Some functions are actually named
9399 something starting with __ and the normal name is an alias. */
9400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9410 rm -f conftest.$ac_objext conftest$ac_exeext
9411 if { (eval echo "$as_me:9411: \"$ac_link\"") >&5
9412 (eval $ac_link) 2>&5
9414 echo "$as_me:9414: \$? = $ac_status" >&5
9415 (exit $ac_status); } &&
9416 { ac_try='test -s conftest$ac_exeext'
9417 { (eval echo "$as_me:9417: \"$ac_try\"") >&5
9420 echo "$as_me:9420: \$? = $ac_status" >&5
9421 (exit $ac_status); }; }; then
9422 eval "$ac_ac_var=yes"
9424 echo "$as_me: failed program was:" >&5
9425 cat conftest.$ac_ext >&5
9426 eval "$ac_ac_var=no"
9428 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9430 echo "$as_me:9430: result: `eval echo '${'$ac_ac_var'}'`" >&5
9431 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
9432 if test `eval echo '${'$ac_ac_var'}'` = yes; then
9433 cat >>confdefs.h <<EOF
9434 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
9443 for ac_func in mrand48 srand48 nice nlist
9445 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
9446 echo "$as_me:9446: checking for $ac_func" >&5
9447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9448 if eval "test \"\${$ac_ac_var+set}\" = set"; then
9449 echo $ECHO_N "(cached) $ECHO_C" >&6
9451 cat >conftest.$ac_ext <<_ACEOF
9452 #line 9452 "configure"
9453 #include "confdefs.h"
9454 /* System header to define __stub macros and hopefully few prototypes,
9455 which can conflict with char $ac_func (); below. */
9457 /* Override any gcc2 internal prototype to avoid an error. */
9461 /* We use char because int might match the return type of a gcc2
9462 builtin and then its argument prototype would still apply. */
9469 /* The GNU C library defines this for functions which it implements
9470 to always fail with ENOSYS. Some functions are actually named
9471 something starting with __ and the normal name is an alias. */
9472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9482 rm -f conftest.$ac_objext conftest$ac_exeext
9483 if { (eval echo "$as_me:9483: \"$ac_link\"") >&5
9484 (eval $ac_link) 2>&5
9486 echo "$as_me:9486: \$? = $ac_status" >&5
9487 (exit $ac_status); } &&
9488 { ac_try='test -s conftest$ac_exeext'
9489 { (eval echo "$as_me:9489: \"$ac_try\"") >&5
9492 echo "$as_me:9492: \$? = $ac_status" >&5
9493 (exit $ac_status); }; }; then
9494 eval "$ac_ac_var=yes"
9496 echo "$as_me: failed program was:" >&5
9497 cat conftest.$ac_ext >&5
9498 eval "$ac_ac_var=no"
9500 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9502 echo "$as_me:9502: result: `eval echo '${'$ac_ac_var'}'`" >&5
9503 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
9504 if test `eval echo '${'$ac_ac_var'}'` = yes; then
9505 cat >>confdefs.h <<EOF
9506 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
9518 for ac_func in ntp_adjtime ntp_gettime
9520 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
9521 echo "$as_me:9521: checking for $ac_func" >&5
9522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9523 if eval "test \"\${$ac_ac_var+set}\" = set"; then
9524 echo $ECHO_N "(cached) $ECHO_C" >&6
9526 cat >conftest.$ac_ext <<_ACEOF
9527 #line 9527 "configure"
9528 #include "confdefs.h"
9529 /* System header to define __stub macros and hopefully few prototypes,
9530 which can conflict with char $ac_func (); below. */
9532 /* Override any gcc2 internal prototype to avoid an error. */
9536 /* We use char because int might match the return type of a gcc2
9537 builtin and then its argument prototype would still apply. */
9544 /* The GNU C library defines this for functions which it implements
9545 to always fail with ENOSYS. Some functions are actually named
9546 something starting with __ and the normal name is an alias. */
9547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9557 rm -f conftest.$ac_objext conftest$ac_exeext
9558 if { (eval echo "$as_me:9558: \"$ac_link\"") >&5
9559 (eval $ac_link) 2>&5
9561 echo "$as_me:9561: \$? = $ac_status" >&5
9562 (exit $ac_status); } &&
9563 { ac_try='test -s conftest$ac_exeext'
9564 { (eval echo "$as_me:9564: \"$ac_try\"") >&5
9567 echo "$as_me:9567: \$? = $ac_status" >&5
9568 (exit $ac_status); }; }; then
9569 eval "$ac_ac_var=yes"
9571 echo "$as_me: failed program was:" >&5
9572 cat conftest.$ac_ext >&5
9573 eval "$ac_ac_var=no"
9575 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9577 echo "$as_me:9577: result: `eval echo '${'$ac_ac_var'}'`" >&5
9578 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
9579 if test `eval echo '${'$ac_ac_var'}'` = yes; then
9580 cat >>confdefs.h <<EOF
9581 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
9590 for ac_func in plock pututline pututxline readlink rtprio
9592 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
9593 echo "$as_me:9593: checking for $ac_func" >&5
9594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9595 if eval "test \"\${$ac_ac_var+set}\" = set"; then
9596 echo $ECHO_N "(cached) $ECHO_C" >&6
9598 cat >conftest.$ac_ext <<_ACEOF
9599 #line 9599 "configure"
9600 #include "confdefs.h"
9601 /* System header to define __stub macros and hopefully few prototypes,
9602 which can conflict with char $ac_func (); below. */
9604 /* Override any gcc2 internal prototype to avoid an error. */
9608 /* We use char because int might match the return type of a gcc2
9609 builtin and then its argument prototype would still apply. */
9616 /* The GNU C library defines this for functions which it implements
9617 to always fail with ENOSYS. Some functions are actually named
9618 something starting with __ and the normal name is an alias. */
9619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9629 rm -f conftest.$ac_objext conftest$ac_exeext
9630 if { (eval echo "$as_me:9630: \"$ac_link\"") >&5
9631 (eval $ac_link) 2>&5
9633 echo "$as_me:9633: \$? = $ac_status" >&5
9634 (exit $ac_status); } &&
9635 { ac_try='test -s conftest$ac_exeext'
9636 { (eval echo "$as_me:9636: \"$ac_try\"") >&5
9639 echo "$as_me:9639: \$? = $ac_status" >&5
9640 (exit $ac_status); }; }; then
9641 eval "$ac_ac_var=yes"
9643 echo "$as_me: failed program was:" >&5
9644 cat conftest.$ac_ext >&5
9645 eval "$ac_ac_var=no"
9647 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9649 echo "$as_me:9649: result: `eval echo '${'$ac_ac_var'}'`" >&5
9650 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
9651 if test `eval echo '${'$ac_ac_var'}'` = yes; then
9652 cat >>confdefs.h <<EOF
9653 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
9659 case "$ac_cv_func_mrand48" in
9662 for ac_func in random
9664 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
9665 echo "$as_me:9665: checking for $ac_func" >&5
9666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9667 if eval "test \"\${$ac_ac_var+set}\" = set"; then
9668 echo $ECHO_N "(cached) $ECHO_C" >&6
9670 cat >conftest.$ac_ext <<_ACEOF
9671 #line 9671 "configure"
9672 #include "confdefs.h"
9673 /* System header to define __stub macros and hopefully few prototypes,
9674 which can conflict with char $ac_func (); below. */
9676 /* Override any gcc2 internal prototype to avoid an error. */
9680 /* We use char because int might match the return type of a gcc2
9681 builtin and then its argument prototype would still apply. */
9688 /* The GNU C library defines this for functions which it implements
9689 to always fail with ENOSYS. Some functions are actually named
9690 something starting with __ and the normal name is an alias. */
9691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9701 rm -f conftest.$ac_objext conftest$ac_exeext
9702 if { (eval echo "$as_me:9702: \"$ac_link\"") >&5
9703 (eval $ac_link) 2>&5
9705 echo "$as_me:9705: \$? = $ac_status" >&5
9706 (exit $ac_status); } &&
9707 { ac_try='test -s conftest$ac_exeext'
9708 { (eval echo "$as_me:9708: \"$ac_try\"") >&5
9711 echo "$as_me:9711: \$? = $ac_status" >&5
9712 (exit $ac_status); }; }; then
9713 eval "$ac_ac_var=yes"
9715 echo "$as_me: failed program was:" >&5
9716 cat conftest.$ac_ext >&5
9717 eval "$ac_ac_var=no"
9719 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9721 echo "$as_me:9721: result: `eval echo '${'$ac_ac_var'}'`" >&5
9722 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
9723 if test `eval echo '${'$ac_ac_var'}'` = yes; then
9724 cat >>confdefs.h <<EOF
9725 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
9729 LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
9737 # Just a stub in AIX 4. Idiots.
9740 # Just stubs in solaris2.5. Idiots.
9743 for ac_func in sched_setscheduler
9745 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
9746 echo "$as_me:9746: checking for $ac_func" >&5
9747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9748 if eval "test \"\${$ac_ac_var+set}\" = set"; then
9749 echo $ECHO_N "(cached) $ECHO_C" >&6
9751 cat >conftest.$ac_ext <<_ACEOF
9752 #line 9752 "configure"
9753 #include "confdefs.h"
9754 /* System header to define __stub macros and hopefully few prototypes,
9755 which can conflict with char $ac_func (); below. */
9757 /* Override any gcc2 internal prototype to avoid an error. */
9761 /* We use char because int might match the return type of a gcc2
9762 builtin and then its argument prototype would still apply. */
9769 /* The GNU C library defines this for functions which it implements
9770 to always fail with ENOSYS. Some functions are actually named
9771 something starting with __ and the normal name is an alias. */
9772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9782 rm -f conftest.$ac_objext conftest$ac_exeext
9783 if { (eval echo "$as_me:9783: \"$ac_link\"") >&5
9784 (eval $ac_link) 2>&5
9786 echo "$as_me:9786: \$? = $ac_status" >&5
9787 (exit $ac_status); } &&
9788 { ac_try='test -s conftest$ac_exeext'
9789 { (eval echo "$as_me:9789: \"$ac_try\"") >&5
9792 echo "$as_me:9792: \$? = $ac_status" >&5
9793 (exit $ac_status); }; }; then
9794 eval "$ac_ac_var=yes"
9796 echo "$as_me: failed program was:" >&5
9797 cat conftest.$ac_ext >&5
9798 eval "$ac_ac_var=no"
9800 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9802 echo "$as_me:9802: result: `eval echo '${'$ac_ac_var'}'`" >&5
9803 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
9804 if test `eval echo '${'$ac_ac_var'}'` = yes; then
9805 cat >>confdefs.h <<EOF
9806 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
9815 for ac_func in setlinebuf
9817 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
9818 echo "$as_me:9818: checking for $ac_func" >&5
9819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9820 if eval "test \"\${$ac_ac_var+set}\" = set"; then
9821 echo $ECHO_N "(cached) $ECHO_C" >&6
9823 cat >conftest.$ac_ext <<_ACEOF
9824 #line 9824 "configure"
9825 #include "confdefs.h"
9826 /* System header to define __stub macros and hopefully few prototypes,
9827 which can conflict with char $ac_func (); below. */
9829 /* Override any gcc2 internal prototype to avoid an error. */
9833 /* We use char because int might match the return type of a gcc2
9834 builtin and then its argument prototype would still apply. */
9841 /* The GNU C library defines this for functions which it implements
9842 to always fail with ENOSYS. Some functions are actually named
9843 something starting with __ and the normal name is an alias. */
9844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9854 rm -f conftest.$ac_objext conftest$ac_exeext
9855 if { (eval echo "$as_me:9855: \"$ac_link\"") >&5
9856 (eval $ac_link) 2>&5
9858 echo "$as_me:9858: \$? = $ac_status" >&5
9859 (exit $ac_status); } &&
9860 { ac_try='test -s conftest$ac_exeext'
9861 { (eval echo "$as_me:9861: \"$ac_try\"") >&5
9864 echo "$as_me:9864: \$? = $ac_status" >&5
9865 (exit $ac_status); }; }; then
9866 eval "$ac_ac_var=yes"
9868 echo "$as_me: failed program was:" >&5
9869 cat conftest.$ac_ext >&5
9870 eval "$ac_ac_var=no"
9872 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9874 echo "$as_me:9874: result: `eval echo '${'$ac_ac_var'}'`" >&5
9875 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
9876 if test `eval echo '${'$ac_ac_var'}'` = yes; then
9877 cat >>confdefs.h <<EOF
9878 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
9884 for ac_func in setpgid setpriority setsid settimeofday setvbuf sigaction
9886 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
9887 echo "$as_me:9887: checking for $ac_func" >&5
9888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9889 if eval "test \"\${$ac_ac_var+set}\" = set"; then
9890 echo $ECHO_N "(cached) $ECHO_C" >&6
9892 cat >conftest.$ac_ext <<_ACEOF
9893 #line 9893 "configure"
9894 #include "confdefs.h"
9895 /* System header to define __stub macros and hopefully few prototypes,
9896 which can conflict with char $ac_func (); below. */
9898 /* Override any gcc2 internal prototype to avoid an error. */
9902 /* We use char because int might match the return type of a gcc2
9903 builtin and then its argument prototype would still apply. */
9910 /* The GNU C library defines this for functions which it implements
9911 to always fail with ENOSYS. Some functions are actually named
9912 something starting with __ and the normal name is an alias. */
9913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9923 rm -f conftest.$ac_objext conftest$ac_exeext
9924 if { (eval echo "$as_me:9924: \"$ac_link\"") >&5
9925 (eval $ac_link) 2>&5
9927 echo "$as_me:9927: \$? = $ac_status" >&5
9928 (exit $ac_status); } &&
9929 { ac_try='test -s conftest$ac_exeext'
9930 { (eval echo "$as_me:9930: \"$ac_try\"") >&5
9933 echo "$as_me:9933: \$? = $ac_status" >&5
9934 (exit $ac_status); }; }; then
9935 eval "$ac_ac_var=yes"
9937 echo "$as_me: failed program was:" >&5
9938 cat conftest.$ac_ext >&5
9939 eval "$ac_ac_var=no"
9941 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9943 echo "$as_me:9943: result: `eval echo '${'$ac_ac_var'}'`" >&5
9944 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
9945 if test `eval echo '${'$ac_ac_var'}'` = yes; then
9946 cat >>confdefs.h <<EOF
9947 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
9953 for ac_func in sigvec sigset sigsuspend stime strchr sysconf sysctl
9955 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
9956 echo "$as_me:9956: checking for $ac_func" >&5
9957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9958 if eval "test \"\${$ac_ac_var+set}\" = set"; then
9959 echo $ECHO_N "(cached) $ECHO_C" >&6
9961 cat >conftest.$ac_ext <<_ACEOF
9962 #line 9962 "configure"
9963 #include "confdefs.h"
9964 /* System header to define __stub macros and hopefully few prototypes,
9965 which can conflict with char $ac_func (); below. */
9967 /* Override any gcc2 internal prototype to avoid an error. */
9971 /* We use char because int might match the return type of a gcc2
9972 builtin and then its argument prototype would still apply. */
9979 /* The GNU C library defines this for functions which it implements
9980 to always fail with ENOSYS. Some functions are actually named
9981 something starting with __ and the normal name is an alias. */
9982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9992 rm -f conftest.$ac_objext conftest$ac_exeext
9993 if { (eval echo "$as_me:9993: \"$ac_link\"") >&5
9994 (eval $ac_link) 2>&5
9996 echo "$as_me:9996: \$? = $ac_status" >&5
9997 (exit $ac_status); } &&
9998 { ac_try='test -s conftest$ac_exeext'
9999 { (eval echo "$as_me:9999: \"$ac_try\"") >&5
10000 (eval $ac_try) 2>&5
10002 echo "$as_me:10002: \$? = $ac_status" >&5
10003 (exit $ac_status); }; }; then
10004 eval "$ac_ac_var=yes"
10006 echo "$as_me: failed program was:" >&5
10007 cat conftest.$ac_ext >&5
10008 eval "$ac_ac_var=no"
10010 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10012 echo "$as_me:10012: result: `eval echo '${'$ac_ac_var'}'`" >&5
10013 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
10014 if test `eval echo '${'$ac_ac_var'}'` = yes; then
10015 cat >>confdefs.h <<EOF
10016 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
10022 for ac_func in snprintf strdup strerror
10024 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
10025 echo "$as_me:10025: checking for $ac_func" >&5
10026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10027 if eval "test \"\${$ac_ac_var+set}\" = set"; then
10028 echo $ECHO_N "(cached) $ECHO_C" >&6
10030 cat >conftest.$ac_ext <<_ACEOF
10031 #line 10031 "configure"
10032 #include "confdefs.h"
10033 /* System header to define __stub macros and hopefully few prototypes,
10034 which can conflict with char $ac_func (); below. */
10035 #include <assert.h>
10036 /* Override any gcc2 internal prototype to avoid an error. */
10040 /* We use char because int might match the return type of a gcc2
10041 builtin and then its argument prototype would still apply. */
10048 /* The GNU C library defines this for functions which it implements
10049 to always fail with ENOSYS. Some functions are actually named
10050 something starting with __ and the normal name is an alias. */
10051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10061 rm -f conftest.$ac_objext conftest$ac_exeext
10062 if { (eval echo "$as_me:10062: \"$ac_link\"") >&5
10063 (eval $ac_link) 2>&5
10065 echo "$as_me:10065: \$? = $ac_status" >&5
10066 (exit $ac_status); } &&
10067 { ac_try='test -s conftest$ac_exeext'
10068 { (eval echo "$as_me:10068: \"$ac_try\"") >&5
10069 (eval $ac_try) 2>&5
10071 echo "$as_me:10071: \$? = $ac_status" >&5
10072 (exit $ac_status); }; }; then
10073 eval "$ac_ac_var=yes"
10075 echo "$as_me: failed program was:" >&5
10076 cat conftest.$ac_ext >&5
10077 eval "$ac_ac_var=no"
10079 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10081 echo "$as_me:10081: result: `eval echo '${'$ac_ac_var'}'`" >&5
10082 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
10083 if test `eval echo '${'$ac_ac_var'}'` = yes; then
10084 cat >>confdefs.h <<EOF
10085 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
10089 LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
10095 # Just stubs. Idiots.
10098 # Just stubs. Idiots.
10101 # Just stubs. Idiots.
10105 for ac_func in timer_create timer_settime
10107 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
10108 echo "$as_me:10108: checking for $ac_func" >&5
10109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10110 if eval "test \"\${$ac_ac_var+set}\" = set"; then
10111 echo $ECHO_N "(cached) $ECHO_C" >&6
10113 cat >conftest.$ac_ext <<_ACEOF
10114 #line 10114 "configure"
10115 #include "confdefs.h"
10116 /* System header to define __stub macros and hopefully few prototypes,
10117 which can conflict with char $ac_func (); below. */
10118 #include <assert.h>
10119 /* Override any gcc2 internal prototype to avoid an error. */
10123 /* We use char because int might match the return type of a gcc2
10124 builtin and then its argument prototype would still apply. */
10131 /* The GNU C library defines this for functions which it implements
10132 to always fail with ENOSYS. Some functions are actually named
10133 something starting with __ and the normal name is an alias. */
10134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10144 rm -f conftest.$ac_objext conftest$ac_exeext
10145 if { (eval echo "$as_me:10145: \"$ac_link\"") >&5
10146 (eval $ac_link) 2>&5
10148 echo "$as_me:10148: \$? = $ac_status" >&5
10149 (exit $ac_status); } &&
10150 { ac_try='test -s conftest$ac_exeext'
10151 { (eval echo "$as_me:10151: \"$ac_try\"") >&5
10152 (eval $ac_try) 2>&5
10154 echo "$as_me:10154: \$? = $ac_status" >&5
10155 (exit $ac_status); }; }; then
10156 eval "$ac_ac_var=yes"
10158 echo "$as_me: failed program was:" >&5
10159 cat conftest.$ac_ext >&5
10160 eval "$ac_ac_var=no"
10162 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10164 echo "$as_me:10164: result: `eval echo '${'$ac_ac_var'}'`" >&5
10165 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
10166 if test `eval echo '${'$ac_ac_var'}'` = yes; then
10167 cat >>confdefs.h <<EOF
10168 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
10178 # I have no idea...
10181 for ac_func in umask
10183 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
10184 echo "$as_me:10184: checking for $ac_func" >&5
10185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10186 if eval "test \"\${$ac_ac_var+set}\" = set"; then
10187 echo $ECHO_N "(cached) $ECHO_C" >&6
10189 cat >conftest.$ac_ext <<_ACEOF
10190 #line 10190 "configure"
10191 #include "confdefs.h"
10192 /* System header to define __stub macros and hopefully few prototypes,
10193 which can conflict with char $ac_func (); below. */
10194 #include <assert.h>
10195 /* Override any gcc2 internal prototype to avoid an error. */
10199 /* We use char because int might match the return type of a gcc2
10200 builtin and then its argument prototype would still apply. */
10207 /* The GNU C library defines this for functions which it implements
10208 to always fail with ENOSYS. Some functions are actually named
10209 something starting with __ and the normal name is an alias. */
10210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10220 rm -f conftest.$ac_objext conftest$ac_exeext
10221 if { (eval echo "$as_me:10221: \"$ac_link\"") >&5
10222 (eval $ac_link) 2>&5
10224 echo "$as_me:10224: \$? = $ac_status" >&5
10225 (exit $ac_status); } &&
10226 { ac_try='test -s conftest$ac_exeext'
10227 { (eval echo "$as_me:10227: \"$ac_try\"") >&5
10228 (eval $ac_try) 2>&5
10230 echo "$as_me:10230: \$? = $ac_status" >&5
10231 (exit $ac_status); }; }; then
10232 eval "$ac_ac_var=yes"
10234 echo "$as_me: failed program was:" >&5
10235 cat conftest.$ac_ext >&5
10236 eval "$ac_ac_var=no"
10238 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10240 echo "$as_me:10240: result: `eval echo '${'$ac_ac_var'}'`" >&5
10241 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
10242 if test `eval echo '${'$ac_ac_var'}'` = yes; then
10243 cat >>confdefs.h <<EOF
10244 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
10253 for ac_func in uname updwtmp updwtmpx vsprintf
10255 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
10256 echo "$as_me:10256: checking for $ac_func" >&5
10257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10258 if eval "test \"\${$ac_ac_var+set}\" = set"; then
10259 echo $ECHO_N "(cached) $ECHO_C" >&6
10261 cat >conftest.$ac_ext <<_ACEOF
10262 #line 10262 "configure"
10263 #include "confdefs.h"
10264 /* System header to define __stub macros and hopefully few prototypes,
10265 which can conflict with char $ac_func (); below. */
10266 #include <assert.h>
10267 /* Override any gcc2 internal prototype to avoid an error. */
10271 /* We use char because int might match the return type of a gcc2
10272 builtin and then its argument prototype would still apply. */
10279 /* The GNU C library defines this for functions which it implements
10280 to always fail with ENOSYS. Some functions are actually named
10281 something starting with __ and the normal name is an alias. */
10282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10292 rm -f conftest.$ac_objext conftest$ac_exeext
10293 if { (eval echo "$as_me:10293: \"$ac_link\"") >&5
10294 (eval $ac_link) 2>&5
10296 echo "$as_me:10296: \$? = $ac_status" >&5
10297 (exit $ac_status); } &&
10298 { ac_try='test -s conftest$ac_exeext'
10299 { (eval echo "$as_me:10299: \"$ac_try\"") >&5
10300 (eval $ac_try) 2>&5
10302 echo "$as_me:10302: \$? = $ac_status" >&5
10303 (exit $ac_status); }; }; then
10304 eval "$ac_ac_var=yes"
10306 echo "$as_me: failed program was:" >&5
10307 cat conftest.$ac_ext >&5
10308 eval "$ac_ac_var=no"
10310 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10312 echo "$as_me:10312: result: `eval echo '${'$ac_ac_var'}'`" >&5
10313 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
10314 if test `eval echo '${'$ac_ac_var'}'` = yes; then
10315 cat >>confdefs.h <<EOF
10316 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
10322 echo "$as_me:10322: checking number of arguments to gettimeofday()" >&5
10323 echo $ECHO_N "checking number of arguments to gettimeofday()... $ECHO_C" >&6
10324 if test "${ac_cv_func_Xettimeofday_nargs+set}" = set; then
10325 echo $ECHO_N "(cached) $ECHO_C" >&6
10327 cat >conftest.$ac_ext <<_ACEOF
10328 #line 10328 "configure"
10329 #include "confdefs.h"
10330 #include <sys/time.h>
10335 gettimeofday((struct timeval*)0,(struct timezone*)0);
10336 settimeofday((struct timeval*)0,(struct timezone*)0);
10342 rm -f conftest.$ac_objext
10343 if { (eval echo "$as_me:10343: \"$ac_compile\"") >&5
10344 (eval $ac_compile) 2>&5
10346 echo "$as_me:10346: \$? = $ac_status" >&5
10347 (exit $ac_status); } &&
10348 { ac_try='test -s conftest.$ac_objext'
10349 { (eval echo "$as_me:10349: \"$ac_try\"") >&5
10350 (eval $ac_try) 2>&5
10352 echo "$as_me:10352: \$? = $ac_status" >&5
10353 (exit $ac_status); }; }; then
10354 ac_cv_func_Xettimeofday_nargs=2
10356 echo "$as_me: failed program was:" >&5
10357 cat conftest.$ac_ext >&5
10358 ac_cv_func_Xettimeofday_nargs=1
10360 rm -f conftest.$ac_objext conftest.$ac_ext
10363 echo "$as_me:10363: result: $ac_cv_func_Xettimeofday_nargs" >&5
10364 echo "${ECHO_T}$ac_cv_func_Xettimeofday_nargs" >&6
10365 if test $ac_cv_func_Xettimeofday_nargs = 1; then
10366 cat >>confdefs.h <<\EOF
10367 #define SYSV_TIMEOFDAY 1
10372 echo "$as_me:10372: checking number of arguments taken by setpgrp()" >&5
10373 echo $ECHO_N "checking number of arguments taken by setpgrp()... $ECHO_C" >&6
10374 if test "${ac_cv_func_setpgrp_nargs+set}" = set; then
10375 echo $ECHO_N "(cached) $ECHO_C" >&6
10377 cat >conftest.$ac_ext <<_ACEOF
10378 #line 10378 "configure"
10379 #include "confdefs.h"
10381 #ifdef HAVE_SYS_TYPES_H
10382 # include <sys/types.h>
10384 #ifdef HAVE_UNISTD_H
10385 # include <unistd.h>
10396 rm -f conftest.$ac_objext
10397 if { (eval echo "$as_me:10397: \"$ac_compile\"") >&5
10398 (eval $ac_compile) 2>&5
10400 echo "$as_me:10400: \$? = $ac_status" >&5
10401 (exit $ac_status); } &&
10402 { ac_try='test -s conftest.$ac_objext'
10403 { (eval echo "$as_me:10403: \"$ac_try\"") >&5
10404 (eval $ac_try) 2>&5
10406 echo "$as_me:10406: \$? = $ac_status" >&5
10407 (exit $ac_status); }; }; then
10408 ac_cv_func_setpgrp_nargs=2
10410 echo "$as_me: failed program was:" >&5
10411 cat conftest.$ac_ext >&5
10412 ac_cv_func_setpgrp_nargs=0
10414 rm -f conftest.$ac_objext conftest.$ac_ext
10417 echo "$as_me:10417: result: $ac_cv_func_setpgrp_nargs" >&5
10418 echo "${ECHO_T}$ac_cv_func_setpgrp_nargs" >&6
10419 if test $ac_cv_func_setpgrp_nargs = 0; then
10420 cat >>confdefs.h <<\EOF
10421 #define HAVE_SETPGRP_0 1
10426 save_CFLAGS=$CFLAGS
10427 CFLAGS="$CFLAGS -I$srcdir/include"
10429 echo "$as_me:10429: checking argument pointer type of qsort()'s compare function and base" >&5
10430 echo $ECHO_N "checking argument pointer type of qsort()'s compare function and base... $ECHO_C" >&6
10431 if test "${ac_cv_func_qsort_argtype+set}" = set; then
10432 echo $ECHO_N "(cached) $ECHO_C" >&6
10434 cat >conftest.$ac_ext <<_ACEOF
10435 #line 10435 "configure"
10436 #include "confdefs.h"
10438 #include "l_stdlib.h"
10440 #ifdef HAVE_PROTOTYPES
10447 extern sortfunc P((const void *, const void *));
10450 const void *b; { return 0; }
10456 qsort(base, 2, sizeof(char *), sortfunc);
10462 rm -f conftest.$ac_objext
10463 if { (eval echo "$as_me:10463: \"$ac_compile\"") >&5
10464 (eval $ac_compile) 2>&5
10466 echo "$as_me:10466: \$? = $ac_status" >&5
10467 (exit $ac_status); } &&
10468 { ac_try='test -s conftest.$ac_objext'
10469 { (eval echo "$as_me:10469: \"$ac_try\"") >&5
10470 (eval $ac_try) 2>&5
10472 echo "$as_me:10472: \$? = $ac_status" >&5
10473 (exit $ac_status); }; }; then
10474 ac_cv_func_qsort_argtype=void
10476 echo "$as_me: failed program was:" >&5
10477 cat conftest.$ac_ext >&5
10478 ac_cv_func_qsort_argtype=char
10480 rm -f conftest.$ac_objext conftest.$ac_ext
10483 echo "$as_me:10483: result: $ac_cv_func_qsort_argtype" >&5
10484 echo "${ECHO_T}$ac_cv_func_qsort_argtype" >&6
10485 case "$ac_cv_func_qsort_argtype" in
10487 cat >>confdefs.h <<\EOF
10488 #define QSORT_USES_VOID_P 1
10494 CFLAGS=$save_CFLAGS
10496 echo "$as_me:10496: checking if we need to declare 'errno'" >&5
10497 echo $ECHO_N "checking if we need to declare 'errno'... $ECHO_C" >&6
10498 if test "${ac_cv_decl_errno+set}" = set; then
10499 echo $ECHO_N "(cached) $ECHO_C" >&6
10501 cat >conftest.$ac_ext <<_ACEOF
10502 #line 10502 "configure"
10503 #include "confdefs.h"
10504 #ifdef HAVE_ERRNO_H
10515 rm -f conftest.$ac_objext
10516 if { (eval echo "$as_me:10516: \"$ac_compile\"") >&5
10517 (eval $ac_compile) 2>&5
10519 echo "$as_me:10519: \$? = $ac_status" >&5
10520 (exit $ac_status); } &&
10521 { ac_try='test -s conftest.$ac_objext'
10522 { (eval echo "$as_me:10522: \"$ac_try\"") >&5
10523 (eval $ac_try) 2>&5
10525 echo "$as_me:10525: \$? = $ac_status" >&5
10526 (exit $ac_status); }; }; then
10527 ac_cv_decl_errno=no
10529 echo "$as_me: failed program was:" >&5
10530 cat conftest.$ac_ext >&5
10531 ac_cv_decl_errno=yes
10533 rm -f conftest.$ac_objext conftest.$ac_ext
10535 echo "$as_me:10535: result: $ac_cv_decl_errno" >&5
10536 echo "${ECHO_T}$ac_cv_decl_errno" >&6
10537 case "$ac_cv_decl_errno" in
10538 yes) cat >>confdefs.h <<\EOF
10539 #define DECL_ERRNO 1
10544 echo "$as_me:10544: checking if we may declare 'h_errno'" >&5
10545 echo $ECHO_N "checking if we may declare 'h_errno'... $ECHO_C" >&6
10546 if test "${ac_cv_decl_h_errno+set}" = set; then
10547 echo $ECHO_N "(cached) $ECHO_C" >&6
10549 cat >conftest.$ac_ext <<_ACEOF
10550 #line 10550 "configure"
10551 #include "confdefs.h"
10552 #include <sys/types.h>
10553 #ifdef HAVE_NETINET_IN_H
10554 #include <netinet/in.h>
10556 #ifdef HAVE_ARPA_NAMESER_H
10557 #include <arpa/nameser.h>
10559 #ifdef HAVE_NETDB_H
10562 #ifdef HAVE_RESOLV_H
10563 #include <resolv.h>
10568 extern int h_errno;
10573 rm -f conftest.$ac_objext
10574 if { (eval echo "$as_me:10574: \"$ac_compile\"") >&5
10575 (eval $ac_compile) 2>&5
10577 echo "$as_me:10577: \$? = $ac_status" >&5
10578 (exit $ac_status); } &&
10579 { ac_try='test -s conftest.$ac_objext'
10580 { (eval echo "$as_me:10580: \"$ac_try\"") >&5
10581 (eval $ac_try) 2>&5
10583 echo "$as_me:10583: \$? = $ac_status" >&5
10584 (exit $ac_status); }; }; then
10585 ac_cv_decl_h_errno=yes
10587 echo "$as_me: failed program was:" >&5
10588 cat conftest.$ac_ext >&5
10589 ac_cv_decl_h_errno=no
10591 rm -f conftest.$ac_objext conftest.$ac_ext
10593 echo "$as_me:10593: result: $ac_cv_decl_h_errno" >&5
10594 echo "${ECHO_T}$ac_cv_decl_h_errno" >&6
10595 case "$ac_cv_decl_h_errno" in
10596 yes) cat >>confdefs.h <<\EOF
10597 #define DECL_H_ERRNO 1
10602 echo "$as_me:10602: checking if declaring 'char *sys_errlist[]' is ok" >&5
10603 echo $ECHO_N "checking if declaring 'char *sys_errlist[]' is ok... $ECHO_C" >&6
10604 if test "${ac_cv_decl_sys_errlist+set}" = set; then
10605 echo $ECHO_N "(cached) $ECHO_C" >&6
10607 cat >conftest.$ac_ext <<_ACEOF
10608 #line 10608 "configure"
10609 #include "confdefs.h"
10611 #ifdef HAVE_ERRNO_H
10617 extern char *sys_errlist[];
10623 rm -f conftest.$ac_objext
10624 if { (eval echo "$as_me:10624: \"$ac_compile\"") >&5
10625 (eval $ac_compile) 2>&5
10627 echo "$as_me:10627: \$? = $ac_status" >&5
10628 (exit $ac_status); } &&
10629 { ac_try='test -s conftest.$ac_objext'
10630 { (eval echo "$as_me:10630: \"$ac_try\"") >&5
10631 (eval $ac_try) 2>&5
10633 echo "$as_me:10633: \$? = $ac_status" >&5
10634 (exit $ac_status); }; }; then
10635 ac_cv_decl_sys_errlist=yes
10637 echo "$as_me: failed program was:" >&5
10638 cat conftest.$ac_ext >&5
10639 ac_cv_decl_sys_errlist=no
10641 rm -f conftest.$ac_objext conftest.$ac_ext
10643 echo "$as_me:10643: result: $ac_cv_decl_sys_errlist" >&5
10644 echo "${ECHO_T}$ac_cv_decl_sys_errlist" >&6
10645 case "$ac_cv_decl_sys_errlist" in
10646 yes) cat >>confdefs.h <<\EOF
10647 #define CHAR_SYS_ERRLIST 1
10652 echo "$as_me:10652: checking if declaring 'syscall()' is ok" >&5
10653 echo $ECHO_N "checking if declaring 'syscall()' is ok... $ECHO_C" >&6
10654 if test "${ac_cv_decl_syscall+set}" = set; then
10655 echo $ECHO_N "(cached) $ECHO_C" >&6
10657 cat >conftest.$ac_ext <<_ACEOF
10658 #line 10658 "configure"
10659 #include "confdefs.h"
10661 #ifdef HAVE_SYS_TYPES_H
10662 # include <sys/types.h>
10664 #ifdef HAVE_UNISTD_H
10665 # include <unistd.h>
10667 #ifdef HAVE_PROTOTYPES
10676 extern int syscall P((int, ...));
10681 rm -f conftest.$ac_objext
10682 if { (eval echo "$as_me:10682: \"$ac_compile\"") >&5
10683 (eval $ac_compile) 2>&5
10685 echo "$as_me:10685: \$? = $ac_status" >&5
10686 (exit $ac_status); } &&
10687 { ac_try='test -s conftest.$ac_objext'
10688 { (eval echo "$as_me:10688: \"$ac_try\"") >&5
10689 (eval $ac_try) 2>&5
10691 echo "$as_me:10691: \$? = $ac_status" >&5
10692 (exit $ac_status); }; }; then
10693 ac_cv_decl_syscall=yes
10695 echo "$as_me: failed program was:" >&5
10696 cat conftest.$ac_ext >&5
10697 ac_cv_decl_syscall=no
10699 rm -f conftest.$ac_objext conftest.$ac_ext
10701 echo "$as_me:10701: result: $ac_cv_decl_syscall" >&5
10702 echo "${ECHO_T}$ac_cv_decl_syscall" >&6
10703 case "$ac_cv_decl_syscall" in
10704 yes) cat >>confdefs.h <<\EOF
10705 #define DECL_SYSCALL 1
10712 cat >>confdefs.h <<\EOF
10713 #define DECL_HSTRERROR_0 1
10715 # Needed for XLC under AIX 4.3.2
10718 cat >>confdefs.h <<\EOF
10719 #define DECL_PLOCK_0 1
10722 cat >>confdefs.h <<\EOF
10723 #define DECL_STIME_1 1
10728 cat >>confdefs.h <<\EOF
10729 #define DECL_ADJTIME_0 1
10732 cat >>confdefs.h <<\EOF
10733 #define DECL_BZERO_0 1
10736 cat >>confdefs.h <<\EOF
10737 #define DECL_IOCTL_0 1
10740 cat >>confdefs.h <<\EOF
10741 #define DECL_IPC_0 1
10744 cat >>confdefs.h <<\EOF
10745 #define DECL_MEMMOVE_0 1
10748 cat >>confdefs.h <<\EOF
10749 #define DECL_MKTEMP_0 1
10752 cat >>confdefs.h <<\EOF
10753 #define DECL_RENAME_0 1
10756 cat >>confdefs.h <<\EOF
10757 #define DECL_SELECT_0 1
10760 cat >>confdefs.h <<\EOF
10761 #define DECL_SETITIMER_0 1
10764 cat >>confdefs.h <<\EOF
10765 #define DECL_SETPRIORITY_0 1
10768 cat >>confdefs.h <<\EOF
10769 #define DECL_STDIO_0 1
10772 cat >>confdefs.h <<\EOF
10773 #define DECL_STRTOL_0 1
10776 cat >>confdefs.h <<\EOF
10777 #define DECL_SYSLOG_0 1
10780 cat >>confdefs.h <<\EOF
10781 #define DECL_TIME_0 1
10784 cat >>confdefs.h <<\EOF
10785 #define DECL_TIMEOFDAY_0 1
10788 cat >>confdefs.h <<\EOF
10789 #define DECL_TOLOWER_0 1
10794 cat >>confdefs.h <<\EOF
10795 #define DECL_MKSTEMP_0 1
10798 cat >>confdefs.h <<\EOF
10799 #define DECL_SETPRIORITY_1 1
10804 cat >>confdefs.h <<\EOF
10805 #define DECL_TIMEOFDAY_0 1
10812 cat >>confdefs.h <<\EOF
10813 #define DECL_ADJTIME_0 1
10816 cat >>confdefs.h <<\EOF
10817 #define DECL_BCOPY_0 1
10820 cat >>confdefs.h <<\EOF
10821 #define DECL_BZERO_0 1
10824 cat >>confdefs.h <<\EOF
10825 #define DECL_IOCTL_0 1
10828 cat >>confdefs.h <<\EOF
10829 #define DECL_IPC_0 1
10832 cat >>confdefs.h <<\EOF
10833 #define DECL_MEMMOVE_0 1
10836 cat >>confdefs.h <<\EOF
10837 #define DECL_MKTEMP_0 1
10840 cat >>confdefs.h <<\EOF
10841 #define DECL_MKSTEMP_0 1
10844 cat >>confdefs.h <<\EOF
10845 #define DECL_MRAND48_0 1
10848 cat >>confdefs.h <<\EOF
10849 #define DECL_RENAME_0 1
10852 cat >>confdefs.h <<\EOF
10853 #define DECL_SELECT_0 1
10856 cat >>confdefs.h <<\EOF
10857 #define DECL_SETITIMER_0 1
10860 cat >>confdefs.h <<\EOF
10861 #define DECL_SETPRIORITY_0 1
10864 cat >>confdefs.h <<\EOF
10865 #define DECL_SIGVEC_0 1
10868 cat >>confdefs.h <<\EOF
10869 #define DECL_SRAND48_0 1
10872 case "`basename $ac_cv_prog_CC`" in
10874 *) cat >>confdefs.h <<\EOF
10875 #define DECL_STDIO_0 1
10880 cat >>confdefs.h <<\EOF
10881 #define DECL_STRTOL_0 1
10884 cat >>confdefs.h <<\EOF
10885 #define DECL_SYSLOG_0 1
10888 cat >>confdefs.h <<\EOF
10889 #define DECL_TIME_0 1
10892 cat >>confdefs.h <<\EOF
10893 #define DECL_TIMEOFDAY_0 1
10896 cat >>confdefs.h <<\EOF
10897 #define DECL_TOLOWER_0 1
10900 cat >>confdefs.h <<\EOF
10901 #define DECL_TOUPPER_0 1
10904 cat >>confdefs.h <<\EOF
10905 #define DECL_STRERROR_0 1
10910 cat >>confdefs.h <<\EOF
10911 #define DECL_ADJTIME_0 1
10914 cat >>confdefs.h <<\EOF
10915 #define DECL_BZERO_0 1
10918 cat >>confdefs.h <<\EOF
10919 #define DECL_CFSETISPEED_0 1
10922 cat >>confdefs.h <<\EOF
10923 #define DECL_IOCTL_0 1
10926 cat >>confdefs.h <<\EOF
10927 #define DECL_IPC_0 1
10930 cat >>confdefs.h <<\EOF
10931 #define DECL_MKTEMP_0 1
10934 cat >>confdefs.h <<\EOF
10935 #define DECL_MRAND48_0 1
10938 cat >>confdefs.h <<\EOF
10939 #define DECL_NLIST_0 1
10942 cat >>confdefs.h <<\EOF
10943 #define DECL_PLOCK_0 1
10946 cat >>confdefs.h <<\EOF
10947 #define DECL_SELECT_0 1
10950 cat >>confdefs.h <<\EOF
10951 #define DECL_SETITIMER_0 1
10954 cat >>confdefs.h <<\EOF
10955 #define DECL_SETPRIORITY_0 1
10958 cat >>confdefs.h <<\EOF
10959 #define DECL_SRAND48_0 1
10962 cat >>confdefs.h <<\EOF
10963 #define DECL_STIME_0 1
10966 cat >>confdefs.h <<\EOF
10967 #define DECL_SYSLOG_0 1
10970 cat >>confdefs.h <<\EOF
10971 #define DECL_TIMEOFDAY_0 1
10979 cat >>confdefs.h <<\EOF
10980 #define TERMIOS_NEEDS__SVID3 1
10986 echo "$as_me:10986: checking if we should use a streams device for ifconfig" >&5
10987 echo $ECHO_N "checking if we should use a streams device for ifconfig... $ECHO_C" >&6
10988 if test "${ac_cv_var_use_streams_device_for_ifconfig+set}" = set; then
10989 echo $ECHO_N "(cached) $ECHO_C" >&6
10991 ac_cv_var_use_streams_device_for_ifconfig=no
10993 echo "$as_me:10993: result: $ac_cv_var_use_streams_device_for_ifconfig" >&5
10994 echo "${ECHO_T}$ac_cv_var_use_streams_device_for_ifconfig" >&6
10996 echo "$as_me:10996: checking if we need extra room for SO_RCVBUF" >&5
10997 echo $ECHO_N "checking if we need extra room for SO_RCVBUF... $ECHO_C" >&6
10998 if test "${ac_cv_var_rcvbuf_slop+set}" = set; then
10999 echo $ECHO_N "(cached) $ECHO_C" >&6
11007 ac_cv_var_rcvbuf_slop=$ans
11009 echo "$as_me:11009: result: $ac_cv_var_rcvbuf_slop" >&5
11010 echo "${ECHO_T}$ac_cv_var_rcvbuf_slop" >&6
11011 case "$ac_cv_var_rcvbuf_slop" in
11012 yes) cat >>confdefs.h <<\EOF
11013 #define NEED_RCVBUF_SLOP 1
11018 echo "$as_me:11018: checking if we will open the broadcast socket" >&5
11019 echo $ECHO_N "checking if we will open the broadcast socket... $ECHO_C" >&6
11020 if test "${ac_cv_var_open_bcast_socket+set}" = set; then
11021 echo $ECHO_N "(cached) $ECHO_C" >&6
11032 ac_cv_var_open_bcast_socket=$ans
11034 echo "$as_me:11034: result: $ac_cv_var_open_bcast_socket" >&5
11035 echo "${ECHO_T}$ac_cv_var_open_bcast_socket" >&6
11036 case "$ac_cv_var_open_bcast_socket" in
11037 yes) cat >>confdefs.h <<\EOF
11038 #define OPEN_BCAST_SOCKET 1
11043 echo "$as_me:11043: checking if we want the HPUX version of FindConfig()" >&5
11044 echo $ECHO_N "checking if we want the HPUX version of FindConfig()... $ECHO_C" >&6
11045 if test "${ac_cv_var_hpux_findconfig+set}" = set; then
11046 echo $ECHO_N "(cached) $ECHO_C" >&6
11054 ac_cv_var_hpux_findconfig=$ans
11056 echo "$as_me:11056: result: $ac_cv_var_hpux_findconfig" >&5
11057 echo "${ECHO_T}$ac_cv_var_hpux_findconfig" >&6
11058 case "$ac_cv_var_hpux_findconfig" in
11059 yes) cat >>confdefs.h <<\EOF
11060 #define NEED_HPUX_FINDCONFIG 1
11065 echo "$as_me:11065: checking if process groups are set with -pid" >&5
11066 echo $ECHO_N "checking if process groups are set with -pid... $ECHO_C" >&6
11067 if test "${ac_cv_arg_setpgrp_negpid+set}" = set; then
11068 echo $ECHO_N "(cached) $ECHO_C" >&6
11090 ac_cv_arg_setpgrp_negpid=$ans
11092 echo "$as_me:11092: result: $ac_cv_arg_setpgrp_negpid" >&5
11093 echo "${ECHO_T}$ac_cv_arg_setpgrp_negpid" >&6
11094 case "$ac_cv_arg_setpgrp_negpid" in
11095 yes) cat >>confdefs.h <<\EOF
11096 #define UDP_BACKWARDS_SETOWN 1
11101 echo "$as_me:11101: checking if we need a ctty for F_SETOWN" >&5
11102 echo $ECHO_N "checking if we need a ctty for F_SETOWN... $ECHO_C" >&6
11103 if test "${ac_cv_func_ctty_for_f_setown+set}" = set; then
11104 echo $ECHO_N "(cached) $ECHO_C" >&6
11125 ac_cv_func_ctty_for_f_setown=$ans
11127 echo "$as_me:11127: result: $ac_cv_func_ctty_for_f_setown" >&5
11128 echo "${ECHO_T}$ac_cv_func_ctty_for_f_setown" >&6
11129 case "$ac_cv_func_ctty_for_f_setown" in
11130 yes) cat >>confdefs.h <<\EOF
11131 #define USE_FSETOWNCTTY 1
11136 ntp_warning='GRONK'
11137 echo "$as_me:11137: checking if we'll use clock_settime or settimeofday or stime" >&5
11138 echo $ECHO_N "checking if we'll use clock_settime or settimeofday or stime... $ECHO_C" >&6
11139 case "$ac_cv_func_clock_settime$ac_cv_func_settimeofday$ac_cv_func_stime" in
11142 ans='clock_settime()'
11145 ntp_warning='But clock_settime() would be better (if we had it)'
11146 ans='settimeofday()'
11149 ntp_warning='Which is the worst of the three'
11154 $target) ntp_warning='Which leaves us with nothing to use!'
11159 echo "$as_me:11159: result: $ans" >&5
11160 echo "${ECHO_T}$ans" >&6
11161 case "$ntp_warning" in
11163 *) { echo "$as_me:11163: WARNING: *** $ntp_warning ***" >&5
11164 echo "$as_me: WARNING: *** $ntp_warning ***" >&2;}
11168 echo "$as_me:11168: checking if we have a losing syscall()" >&5
11169 echo $ECHO_N "checking if we have a losing syscall()... $ECHO_C" >&6
11170 if test "${ac_cv_var_syscall_bug+set}" = set; then
11171 echo $ECHO_N "(cached) $ECHO_C" >&6
11180 ac_cv_var_syscall_bug=$ans
11182 echo "$as_me:11182: result: $ac_cv_var_syscall_bug" >&5
11183 echo "${ECHO_T}$ac_cv_var_syscall_bug" >&6
11184 case "$ac_cv_var_syscall_bug" in
11185 yes) cat >>confdefs.h <<\EOF
11186 #define SYSCALL_BUG 1
11191 echo "$as_me:11191: checking for Streams/TLI" >&5
11192 echo $ECHO_N "checking for Streams/TLI... $ECHO_C" >&6
11193 if test "${ac_cv_var_streams_tli+set}" = set; then
11194 echo $ECHO_N "(cached) $ECHO_C" >&6
11196 case "$ac_cv_header_sys_stropts_h" in
11199 # There must be a better way...
11207 ac_cv_var_streams_tli=$ans
11209 echo "$as_me:11209: result: $ac_cv_var_streams_tli" >&5
11210 echo "${ECHO_T}$ac_cv_var_streams_tli" >&6
11211 case "$ac_cv_var_streams_tli" in
11213 cat >>confdefs.h <<\EOF
11214 #define STREAMS_TLI 1
11220 echo "$as_me:11220: checking for SIGIO" >&5
11221 echo $ECHO_N "checking for SIGIO... $ECHO_C" >&6
11222 if test "${ac_cv_hdr_def_sigio+set}" = set; then
11223 echo $ECHO_N "(cached) $ECHO_C" >&6
11225 cat >conftest.$ac_ext <<_ACEOF
11226 #line 11226 "configure"
11227 #include "confdefs.h"
11228 #include <signal.h>
11234 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11235 egrep "yes" >/dev/null 2>&1; then
11236 ac_cv_hdr_def_sigio=yes
11238 ac_cv_hdr_def_sigio=no
11243 echo "$as_me:11243: result: $ac_cv_hdr_def_sigio" >&5
11244 echo "${ECHO_T}$ac_cv_hdr_def_sigio" >&6
11246 echo "$as_me:11246: checking if we want to use signalled IO" >&5
11247 echo $ECHO_N "checking if we want to use signalled IO... $ECHO_C" >&6
11248 if test "${ac_cv_var_signalled_io+set}" = set; then
11249 echo $ECHO_N "(cached) $ECHO_C" >&6
11252 case "$ac_cv_hdr_def_sigio" in
11256 alpha*-dec-osf4*|alpha*-dec-osf5*)
11286 ac_cv_var_signalled_io=$ans
11288 echo "$as_me:11288: result: $ac_cv_var_signalled_io" >&5
11289 echo "${ECHO_T}$ac_cv_var_signalled_io" >&6
11290 case "$ac_cv_var_signalled_io" in
11291 yes) cat >>confdefs.h <<\EOF
11292 #define HAVE_SIGNALED_IO 1
11297 echo "$as_me:11297: checking for SIGPOLL" >&5
11298 echo $ECHO_N "checking for SIGPOLL... $ECHO_C" >&6
11299 if test "${ac_cv_hdr_def_sigpoll+set}" = set; then
11300 echo $ECHO_N "(cached) $ECHO_C" >&6
11302 cat >conftest.$ac_ext <<_ACEOF
11303 #line 11303 "configure"
11304 #include "confdefs.h"
11305 #include <signal.h>
11311 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11312 egrep "yes" >/dev/null 2>&1; then
11313 ac_cv_hdr_def_sigpoll=yes
11315 ac_cv_hdr_def_sigpoll=no
11320 echo "$as_me:11320: result: $ac_cv_hdr_def_sigpoll" >&5
11321 echo "${ECHO_T}$ac_cv_hdr_def_sigpoll" >&6
11323 echo "$as_me:11323: checking for SIGSYS" >&5
11324 echo $ECHO_N "checking for SIGSYS... $ECHO_C" >&6
11325 if test "${ac_cv_hdr_def_sigsys+set}" = set; then
11326 echo $ECHO_N "(cached) $ECHO_C" >&6
11328 cat >conftest.$ac_ext <<_ACEOF
11329 #line 11329 "configure"
11330 #include "confdefs.h"
11331 #include <signal.h>
11337 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11338 egrep "yes" >/dev/null 2>&1; then
11339 ac_cv_hdr_def_sigsys=yes
11341 ac_cv_hdr_def_sigsys=no
11346 echo "$as_me:11346: result: $ac_cv_hdr_def_sigsys" >&5
11347 echo "${ECHO_T}$ac_cv_hdr_def_sigsys" >&6
11349 echo "$as_me:11349: checking if we can use SIGPOLL for UDP I/O" >&5
11350 echo $ECHO_N "checking if we can use SIGPOLL for UDP I/O... $ECHO_C" >&6
11351 if test "${ac_cv_var_use_udp_sigpoll+set}" = set; then
11352 echo $ECHO_N "(cached) $ECHO_C" >&6
11355 case "$ac_cv_hdr_def_sigpoll" in
11393 ac_cv_var_use_udp_sigpoll=$ans
11395 echo "$as_me:11395: result: $ac_cv_var_use_udp_sigpoll" >&5
11396 echo "${ECHO_T}$ac_cv_var_use_udp_sigpoll" >&6
11397 case "$ac_cv_var_use_udp_sigpoll" in
11398 yes) cat >>confdefs.h <<\EOF
11399 #define USE_UDP_SIGPOLL 1
11404 echo "$as_me:11404: checking if we can use SIGPOLL for TTY I/O" >&5
11405 echo $ECHO_N "checking if we can use SIGPOLL for TTY I/O... $ECHO_C" >&6
11406 if test "${ac_cv_var_use_tty_sigpoll+set}" = set; then
11407 echo $ECHO_N "(cached) $ECHO_C" >&6
11410 case "$ac_cv_hdr_def_sigpoll" in
11448 ac_cv_var_use_tty_sigpoll=$ans
11450 echo "$as_me:11450: result: $ac_cv_var_use_tty_sigpoll" >&5
11451 echo "${ECHO_T}$ac_cv_var_use_tty_sigpoll" >&6
11452 case "$ac_cv_var_use_tty_sigpoll" in
11453 yes) cat >>confdefs.h <<\EOF
11454 #define USE_TTY_SIGPOLL 1
11459 case "$ac_cv_header_sys_sio_h" in
11461 echo "$as_me:11461: checking sys/sio.h for TIOCDCDTIMESTAMP" >&5
11462 echo $ECHO_N "checking sys/sio.h for TIOCDCDTIMESTAMP... $ECHO_C" >&6
11463 if test "${ac_cv_hdr_def_tiocdcdtimestamp+set}" = set; then
11464 echo $ECHO_N "(cached) $ECHO_C" >&6
11466 cat >conftest.$ac_ext <<_ACEOF
11467 #line 11467 "configure"
11468 #include "confdefs.h"
11469 #include <sys/sio.h>
11470 #ifdef TIOCDCDTIMESTAMP
11475 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11476 egrep "yes" >/dev/null 2>&1; then
11477 ac_cv_hdr_def_tiocdcdtimestamp=yes
11479 ac_cv_hdr_def_tiocdcdtimestamp=no
11484 echo "$as_me:11484: result: $ac_cv_hdr_def_tiocdcdtimestamp" >&5
11485 echo "${ECHO_T}$ac_cv_hdr_def_tiocdcdtimestamp" >&6
11489 case "$ac_cv_hdr_def_tiocdcdtimestamp" in
11491 ac_cv_var_oncore_ok=yes
11495 echo "$as_me:11495: checking if nlist() values might require extra indirection" >&5
11496 echo $ECHO_N "checking if nlist() values might require extra indirection... $ECHO_C" >&6
11497 if test "${ac_cv_var_nlist_extra_indirection+set}" = set; then
11498 echo $ECHO_N "(cached) $ECHO_C" >&6
11506 ac_cv_var_nlist_extra_indirection=$ans
11508 echo "$as_me:11508: result: $ac_cv_var_nlist_extra_indirection" >&5
11509 echo "${ECHO_T}$ac_cv_var_nlist_extra_indirection" >&6
11510 case "$ac_cv_var_nlist_extra_indirection" in
11511 yes) cat >>confdefs.h <<\EOF
11512 #define NLIST_EXTRA_INDIRECTION 1
11517 echo "$as_me:11517: checking for a minimum recommended value of tickadj" >&5
11518 echo $ECHO_N "checking for a minimum recommended value of tickadj... $ECHO_C" >&6
11519 if test "${ac_cv_var_min_rec_tickadj+set}" = set; then
11520 echo $ECHO_N "(cached) $ECHO_C" >&6
11528 ac_cv_var_min_rec_tickadj=$ans
11530 echo "$as_me:11530: result: $ac_cv_var_min_rec_tickadj" >&5
11531 echo "${ECHO_T}$ac_cv_var_min_rec_tickadj" >&6
11532 case "$ac_cv_var_min_rec_tickadj" in
11534 *) cat >>confdefs.h <<EOF
11535 #define MIN_REC_TICKADJ $ac_cv_var_min_rec_tickadj
11540 echo "$as_me:11540: checking if the TTY code permits PARENB and IGNPAR" >&5
11541 echo $ECHO_N "checking if the TTY code permits PARENB and IGNPAR... $ECHO_C" >&6
11542 if test "${ac_cv_var_no_parenb_ignpar+set}" = set; then
11543 echo $ECHO_N "(cached) $ECHO_C" >&6
11554 ac_cv_var_no_parenb_ignpar=$ans
11556 echo "$as_me:11556: result: $ac_cv_var_no_parenb_ignpar" >&5
11557 echo "${ECHO_T}$ac_cv_var_no_parenb_ignpar" >&6
11558 case "$ac_cv_var_no_parenb_ignpar" in
11559 yes) cat >>confdefs.h <<\EOF
11560 #define NO_PARENB_IGNPAR 1
11565 echo "$as_me:11565: checking if we're including debugging code" >&5
11566 echo $ECHO_N "checking if we're including debugging code... $ECHO_C" >&6
11567 # Check whether --enable-debugging or --disable-debugging was given.
11568 if test "${enable_debugging+set}" = set; then
11569 enableval="$enable_debugging"
11574 if test "$ntp_ok" = "yes"; then
11575 cat >>confdefs.h <<\EOF
11580 echo "$as_me:11580: result: $ntp_ok" >&5
11581 echo "${ECHO_T}$ntp_ok" >&6
11583 echo "$as_me:11583: checking for a the number of minutes in a DST adjustment" >&5
11584 echo $ECHO_N "checking for a the number of minutes in a DST adjustment... $ECHO_C" >&6
11585 # Check whether --enable-dst_minutes or --disable-dst_minutes was given.
11586 if test "${enable_dst_minutes+set}" = set; then
11587 enableval="$enable_dst_minutes"
11592 cat >>confdefs.h <<EOF
11593 #define DSTMINUTES $ans
11596 echo "$as_me:11596: result: $ans" >&5
11597 echo "${ECHO_T}$ans" >&6
11599 echo "$as_me:11599: checking if we have the tty_clk line discipline/streams module" >&5
11600 echo $ECHO_N "checking if we have the tty_clk line discipline/streams module... $ECHO_C" >&6
11601 if test "${ac_cv_var_tty_clk+set}" = set; then
11602 echo $ECHO_N "(cached) $ECHO_C" >&6
11604 case "$ac_cv_header_sys_clkdefs_h$ac_cv_hdr_def_tiocdcdtimestamp" in
11605 *yes*) ac_cv_var_tty_clk=yes ;;
11608 echo "$as_me:11608: result: $ac_cv_var_tty_clk" >&5
11609 echo "${ECHO_T}$ac_cv_var_tty_clk" >&6
11610 case "$ac_cv_var_tty_clk" in
11611 yes) cat >>confdefs.h <<\EOF
11617 echo "$as_me:11617: checking for the ppsclock streams module" >&5
11618 echo $ECHO_N "checking for the ppsclock streams module... $ECHO_C" >&6
11619 if test "${ac_cv_var_ppsclock+set}" = set; then
11620 echo $ECHO_N "(cached) $ECHO_C" >&6
11622 ac_cv_var_ppsclock=$ac_cv_struct_ppsclockev
11624 echo "$as_me:11624: result: $ac_cv_var_ppsclock" >&5
11625 echo "${ECHO_T}$ac_cv_var_ppsclock" >&6
11626 case "$ac_cv_var_ppsclock" in
11627 yes) cat >>confdefs.h <<\EOF
11633 echo "$as_me:11633: checking for kernel multicast support" >&5
11634 echo $ECHO_N "checking for kernel multicast support... $ECHO_C" >&6
11635 if test "${ac_cv_var_mcast+set}" = set; then
11636 echo $ECHO_N "(cached) $ECHO_C" >&6
11640 i386-sequent-sysv4) ;;
11641 *) cat >conftest.$ac_ext <<_ACEOF
11642 #line 11642 "configure"
11643 #include "confdefs.h"
11644 #include <netinet/in.h>
11645 #ifdef IP_ADD_MEMBERSHIP
11650 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11651 egrep "yes" >/dev/null 2>&1; then
11652 ac_cv_var_mcast=yes
11658 echo "$as_me:11658: result: $ac_cv_var_mcast" >&5
11659 echo "${ECHO_T}$ac_cv_var_mcast" >&6
11660 case "$ac_cv_var_mcast" in
11661 yes) cat >>confdefs.h <<\EOF
11667 echo "$as_me:11667: checking availability of ntp_{adj,get}time()" >&5
11668 echo $ECHO_N "checking availability of ntp_{adj,get}time()... $ECHO_C" >&6
11669 if test "${ac_cv_var_ntp_syscalls+set}" = set; then
11670 echo $ECHO_N "(cached) $ECHO_C" >&6
11672 ac_cv_var_ntp_syscalls=no
11673 case "$ac_cv_func___adjtimex" in
11675 ac_cv_var_ntp_syscalls=libc
11677 *) case "$ac_cv_func_ntp_adjtime$ac_cv_func_ntp_gettime" in
11679 ac_cv_var_ntp_syscalls=libc
11681 *) cat >conftest.$ac_ext <<_ACEOF
11682 #line 11682 "configure"
11683 #include "confdefs.h"
11684 #include <sys/syscall.h>
11685 #if defined(SYS_ntp_gettime) && defined(SYS_ntp_adjtime)
11690 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11691 egrep "yes" >/dev/null 2>&1; then
11692 ac_cv_var_ntp_syscalls=kernel
11701 echo "$as_me:11701: result: $ac_cv_var_ntp_syscalls" >&5
11702 echo "${ECHO_T}$ac_cv_var_ntp_syscalls" >&6
11703 case "$ac_cv_var_ntp_syscalls" in
11705 cat >>confdefs.h <<\EOF
11706 #define NTP_SYSCALLS_LIBC 1
11711 cat >>confdefs.h <<\EOF
11712 #define NTP_SYSCALLS_STD 1
11720 echo "$as_me:11720: checking if sys/timex.h has STA_FLL" >&5
11721 echo $ECHO_N "checking if sys/timex.h has STA_FLL... $ECHO_C" >&6
11722 if test "${ac_cv_var_sta_fll+set}" = set; then
11723 echo $ECHO_N "(cached) $ECHO_C" >&6
11725 cat >conftest.$ac_ext <<_ACEOF
11726 #line 11726 "configure"
11727 #include "confdefs.h"
11728 #include <sys/timex.h>
11734 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11735 egrep "yes" >/dev/null 2>&1; then
11736 ac_cv_var_sta_fll=yes
11738 ac_cv_var_sta_fll=no
11743 echo "$as_me:11743: result: $ac_cv_var_sta_fll" >&5
11744 echo "${ECHO_T}$ac_cv_var_sta_fll" >&6
11746 echo "$as_me:11746: checking if we have kernel PLL support" >&5
11747 echo $ECHO_N "checking if we have kernel PLL support... $ECHO_C" >&6
11748 if test "${ac_cv_var_kernel_pll+set}" = set; then
11749 echo $ECHO_N "(cached) $ECHO_C" >&6
11751 case "$ac_cv_header_sys_timex_h$ac_cv_struct_ntptimeval$ac_cv_var_sta_fll$ac_cv_var_ntp_syscalls" in
11753 ac_cv_var_kernel_pll=no
11755 *) ac_cv_var_kernel_pll=yes
11759 echo "$as_me:11759: result: $ac_cv_var_kernel_pll" >&5
11760 echo "${ECHO_T}$ac_cv_var_kernel_pll" >&6
11761 case "$ac_cv_var_kernel_pll" in
11763 cat >>confdefs.h <<\EOF
11764 #define KERNEL_PLL 1
11770 echo "$as_me:11770: checking if SIOCGIFCONF returns buffer size in the buffer" >&5
11771 echo $ECHO_N "checking if SIOCGIFCONF returns buffer size in the buffer... $ECHO_C" >&6
11772 if test "${ac_cv_var_size_returned_in_buffer+set}" = set; then
11773 echo $ECHO_N "(cached) $ECHO_C" >&6
11787 ac_cv_var_size_returned_in_buffer=$ans
11789 echo "$as_me:11789: result: $ac_cv_var_size_returned_in_buffer" >&5
11790 echo "${ECHO_T}$ac_cv_var_size_returned_in_buffer" >&6
11791 case "$ac_cv_var_size_returned_in_buffer" in
11792 yes) cat >>confdefs.h <<\EOF
11793 #define SIZE_RETURNED_IN_BUFFER 1
11798 # Check for ioctls TIOCGPPSEV
11799 echo "$as_me:11799: checking ioctl TIOCGPPSEV" >&5
11800 echo $ECHO_N "checking ioctl TIOCGPPSEV... $ECHO_C" >&6
11801 if test "$ac_cv_header_termios_h" = "yes"; then
11802 cat >conftest.$ac_ext <<_ACEOF
11803 #line 11803 "configure"
11804 #include "confdefs.h"
11805 #include <termios.h>
11811 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11812 egrep "yes" >/dev/null 2>&1; then
11822 if test "$ntp_ok" = "yes"; then
11823 cat >>confdefs.h <<\EOF
11824 #define HAVE_TIOCGPPSEV 1
11827 ac_cv_var_oncore_ok=yes
11829 echo "$as_me:11829: result: $ntp_ok" >&5
11830 echo "${ECHO_T}$ntp_ok" >&6
11832 # Check for ioctls TIOCSPPS
11833 echo "$as_me:11833: checking ioctl TIOCSPPS" >&5
11834 echo $ECHO_N "checking ioctl TIOCSPPS... $ECHO_C" >&6
11835 if test "$ac_cv_header_termios_h" = "yes"; then
11836 cat >conftest.$ac_ext <<_ACEOF
11837 #line 11837 "configure"
11838 #include "confdefs.h"
11839 #include <termios.h>
11845 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11846 egrep "yes" >/dev/null 2>&1; then
11857 if test "$ntp_ok" = "yes"; then
11858 cat >>confdefs.h <<\EOF
11859 #define HAVE_TIOCSPPS 1
11863 echo "$as_me:11863: result: $ntp_ok" >&5
11864 echo "${ECHO_T}$ntp_ok" >&6
11866 # Check for ioctls CIOGETEV
11867 echo "$as_me:11867: checking ioctl CIOGETEV" >&5
11868 echo $ECHO_N "checking ioctl CIOGETEV... $ECHO_C" >&6
11869 if test "$ac_cv_header_sys_ppsclock_h" = "yes"; then
11870 cat >conftest.$ac_ext <<_ACEOF
11871 #line 11871 "configure"
11872 #include "confdefs.h"
11873 #include <sys/ppsclock.h>
11879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11880 egrep "yes" >/dev/null 2>&1; then
11890 if test "$ntp_ok" = "yes"; then
11891 ac_cv_var_oncore_ok=yes
11892 cat >>confdefs.h <<\EOF
11893 #define HAVE_CIOGETEV 1
11897 echo "$as_me:11897: result: $ntp_ok" >&5
11898 echo "${ECHO_T}$ntp_ok" >&6
11900 # ATOM/PPSAPI stuff.
11902 # ATOM used to require struct timespec, but that's been fixed now.
11904 # case "$ac_cv_struct_timespec" in
11906 # ac_cv_var_atom_ok=yes
11909 ac_cv_var_atom_ok=yes
11911 # Check for header timepps.h, if found then we have PPS API (Draft RFC) stuff.
11913 # The PPSAPI headers need "inline" ($ac_cv_c_inline='inline')
11915 # The PPSAPI needs ATOM
11917 # The PPSAPI needs struct timespec.
11919 case "$ac_cv_c_inline$ac_cv_struct_timespec$ac_cv_header_timepps_h$ac_cv_header_sys_timepps_h" in
11921 cat >>confdefs.h <<\EOF
11922 #define HAVE_PPSAPI 1
11925 ac_cv_var_oncore_ok=yes
11929 # Check for ioctls TIOCGSERIAL, TIOCSSERIAL, ASYNC_PPS_CD_POS, ASYNC_PPS_CD_NEG
11930 echo "$as_me:11930: checking for linux/serial.h" >&5
11931 echo $ECHO_N "checking for linux/serial.h... $ECHO_C" >&6
11932 if test "${ac_cv_header_linux_serial_h+set}" = set; then
11933 echo $ECHO_N "(cached) $ECHO_C" >&6
11935 cat >conftest.$ac_ext <<_ACEOF
11936 #line 11936 "configure"
11937 #include "confdefs.h"
11938 #include <linux/serial.h>
11940 if { (eval echo "$as_me:11940: \"$ac_cpp conftest.$ac_ext\"") >&5
11941 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11943 egrep -v '^ *\+' conftest.er1 >conftest.err
11945 cat conftest.err >&5
11946 echo "$as_me:11946: \$? = $ac_status" >&5
11947 (exit $ac_status); } >/dev/null; then
11948 if test -s conftest.err; then
11949 ac_cpp_err=$ac_c_preproc_warn_flag
11956 if test -z "$ac_cpp_err"; then
11957 ac_cv_header_linux_serial_h=yes
11959 echo "$as_me: failed program was:" >&5
11960 cat conftest.$ac_ext >&5
11961 ac_cv_header_linux_serial_h=no
11963 rm -f conftest.err conftest.$ac_ext
11965 echo "$as_me:11965: result: $ac_cv_header_linux_serial_h" >&5
11966 echo "${ECHO_T}$ac_cv_header_linux_serial_h" >&6
11968 echo "$as_me:11968: checking ioctl TIOCGSERIAL" >&5
11969 echo $ECHO_N "checking ioctl TIOCGSERIAL... $ECHO_C" >&6
11970 case "$ac_cv_header_sys_ppsclock_h$ac_cv_header_linux_serial_h" in
11972 cat >conftest.$ac_ext <<_ACEOF
11973 #line 11973 "configure"
11974 #include "confdefs.h"
11975 #include <sys/time.h>
11978 #include <sys/ppsclock.h>
11979 #include <linux/serial.h>
11983 #ifdef ASYNC_PPS_CD_POS
11984 #ifdef ASYNC_PPS_CD_NEG
11994 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11995 egrep "yes" >/dev/null 2>&1; then
12005 if test "$ntp_ok" = "yes"; then
12006 cat >>confdefs.h <<\EOF
12007 #define HAVE_TIO_SERIAL_STUFF 1
12011 echo "$as_me:12011: result: $ntp_ok" >&5
12012 echo "${ECHO_T}$ntp_ok" >&6
12014 # Check for SHMEM_STATUS support
12015 echo "$as_me:12015: checking SHMEM_STATUS support" >&5
12016 echo $ECHO_N "checking SHMEM_STATUS support... $ECHO_C" >&6
12017 case "$ac_cv_header_sys_mman_h" in
12021 if test "$ntp_ok" = "yes"; then
12022 cat >>confdefs.h <<\EOF
12023 #define ONCORE_SHMEM_STATUS 1
12027 echo "$as_me:12027: result: $ntp_ok" >&5
12028 echo "${ECHO_T}$ntp_ok" >&6
12032 echo "$as_me:12032: checking for hopf serial clock device" >&5
12033 echo $ECHO_N "checking for hopf serial clock device... $ECHO_C" >&6
12034 # Check whether --enable-HOPFSERIAL or --disable-HOPFSERIAL was given.
12035 if test "${enable_HOPFSERIAL+set}" = set; then
12036 enableval="$enable_HOPFSERIAL"
12041 if test "$ntp_ok" = "yes"; then
12043 cat >>confdefs.h <<\EOF
12044 #define CLOCK_HOPF_SERIAL 1
12048 echo "$as_me:12048: result: $ntp_ok" >&5
12049 echo "${ECHO_T}$ntp_ok" >&6
12051 echo "$as_me:12051: checking for hopf PCI clock 6039" >&5
12052 echo $ECHO_N "checking for hopf PCI clock 6039... $ECHO_C" >&6
12053 # Check whether --enable-HOPFPCI or --disable-HOPFPCI was given.
12054 if test "${enable_HOPFPCI+set}" = set; then
12055 enableval="$enable_HOPFPCI"
12060 if test "$ntp_ok" = "yes"; then
12062 cat >>confdefs.h <<\EOF
12063 #define CLOCK_HOPF_PCI 1
12067 echo "$as_me:12067: result: $ntp_ok" >&5
12068 echo "${ECHO_T}$ntp_ok" >&6
12070 # HPUX only, and by explicit request
12071 echo "$as_me:12071: checking Datum/Bancomm bc635/VME interface" >&5
12072 echo $ECHO_N "checking Datum/Bancomm bc635/VME interface... $ECHO_C" >&6
12073 # Check whether --enable-BANCOMM or --disable-BANCOMM was given.
12074 if test "${enable_BANCOMM+set}" = set; then
12075 enableval="$enable_BANCOMM"
12080 if test "$ntp_ok" = "yes"; then
12082 cat >>confdefs.h <<\EOF
12083 #define CLOCK_BANC 1
12087 echo "$as_me:12087: result: $ntp_ok" >&5
12088 echo "${ECHO_T}$ntp_ok" >&6
12089 case "$ntp_ok$target" in
12091 yes*) { echo "$as_me:12091: WARNING: *** But the expected answer is... no ***" >&5
12092 echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;} ;;
12095 #HPUX only, and only by explicit request
12096 echo "$as_me:12096: checking TrueTime GPS receiver/VME interface" >&5
12097 echo $ECHO_N "checking TrueTime GPS receiver/VME interface... $ECHO_C" >&6
12098 # Check whether --enable-GPSVME or --disable-GPSVME was given.
12099 if test "${enable_GPSVME+set}" = set; then
12100 enableval="$enable_GPSVME"
12105 if test "$ntp_ok" = "yes"; then
12107 cat >>confdefs.h <<\EOF
12108 #define CLOCK_GPSVME 1
12112 echo "$as_me:12112: result: $ntp_ok" >&5
12113 echo "${ECHO_T}$ntp_ok" >&6
12114 case "$ntp_ok$target" in
12116 yes*) { echo "$as_me:12116: WARNING: *** But the expected answer is... no ***" >&5
12117 echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;} ;;
12120 echo "$as_me:12120: checking for PCL720 clock support" >&5
12121 echo $ECHO_N "checking for PCL720 clock support... $ECHO_C" >&6
12122 case "$ac_cv_header_machine_inline_h$ac_cv_header_sys_pcl720_h$ac_cv_header_sys_i8253_h" in
12124 cat >>confdefs.h <<\EOF
12125 #define CLOCK_PPS720 1
12134 echo "$as_me:12134: result: $ans" >&5
12135 echo "${ECHO_T}$ans" >&6
12137 echo "$as_me:12137: checking for SHM clock attached thru shared memory" >&5
12138 echo $ECHO_N "checking for SHM clock attached thru shared memory... $ECHO_C" >&6
12139 # Check whether --enable-SHM or --disable-SHM was given.
12140 if test "${enable_SHM+set}" = set; then
12141 enableval="$enable_SHM"
12146 if test "$ntp_ok" = "yes"; then
12148 cat >>confdefs.h <<\EOF
12149 #define CLOCK_SHM 1
12153 echo "$as_me:12153: result: $ntp_ok" >&5
12154 echo "${ECHO_T}$ntp_ok" >&6
12156 echo "$as_me:12156: checking for default inclusion of all suitable non-PARSE clocks" >&5
12157 echo $ECHO_N "checking for default inclusion of all suitable non-PARSE clocks... $ECHO_C" >&6
12158 # Check whether --enable-all-clocks or --disable-all-clocks was given.
12159 if test "${enable_all_clocks+set}" = set; then
12160 enableval="$enable_all_clocks"
12165 echo "$as_me:12165: result: $ntp_eac" >&5
12166 echo "${ECHO_T}$ntp_eac" >&6
12168 echo "$as_me:12168: checking if we have support for PARSE clocks" >&5
12169 echo $ECHO_N "checking if we have support for PARSE clocks... $ECHO_C" >&6
12170 case "$ac_cv_var_atom_ok$ac_cv_header_termio_h$ac_cv_header_termios_h" in
12177 echo "$as_me:12177: result: $ntp_canparse" >&5
12178 echo "${ECHO_T}$ntp_canparse" >&6
12180 echo "$as_me:12180: checking if we have support for audio clocks" >&5
12181 echo $ECHO_N "checking if we have support for audio clocks... $ECHO_C" >&6
12182 case "$ac_cv_header_sun_audioio_h$ac_cv_header_sys_audioio_h" in
12186 cat >>confdefs.h <<\EOF
12191 *) ntp_canaudio=no ;;
12193 echo "$as_me:12193: result: $ntp_canaudio" >&5
12194 echo "${ECHO_T}$ntp_canaudio" >&6
12196 # Requires modem control
12197 echo "$as_me:12197: checking ACTS modem service" >&5
12198 echo $ECHO_N "checking ACTS modem service... $ECHO_C" >&6
12199 # Check whether --enable-ACTS or --disable-ACTS was given.
12200 if test "${enable_ACTS+set}" = set; then
12201 enableval="$enable_ACTS"
12204 cat >conftest.$ac_ext <<_ACEOF
12205 #line 12205 "configure"
12206 #include "confdefs.h"
12207 #include <termios.h>
12208 #ifdef HAVE_SYS_IOCTL_H
12209 #include <sys/ioctl.h>
12216 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12217 egrep "yes" >/dev/null 2>&1; then
12225 if test "$ntp_ok" = "yes"; then
12227 cat >>confdefs.h <<\EOF
12228 #define CLOCK_ACTS 1
12232 echo "$as_me:12232: result: $ntp_ok" >&5
12233 echo "${ECHO_T}$ntp_ok" >&6
12235 echo "$as_me:12235: checking Arbiter 1088A/B GPS receiver" >&5
12236 echo $ECHO_N "checking Arbiter 1088A/B GPS receiver... $ECHO_C" >&6
12237 # Check whether --enable-ARBITER or --disable-ARBITER was given.
12238 if test "${enable_ARBITER+set}" = set; then
12239 enableval="$enable_ARBITER"
12244 if test "$ntp_ok" = "yes"; then
12246 cat >>confdefs.h <<\EOF
12247 #define CLOCK_ARBITER 1
12251 echo "$as_me:12251: result: $ntp_ok" >&5
12252 echo "${ECHO_T}$ntp_ok" >&6
12254 echo "$as_me:12254: checking Arcron MSF receiver" >&5
12255 echo $ECHO_N "checking Arcron MSF receiver... $ECHO_C" >&6
12256 # Check whether --enable-ARCRON_MSF or --disable-ARCRON_MSF was given.
12257 if test "${enable_ARCRON_MSF+set}" = set; then
12258 enableval="$enable_ARCRON_MSF"
12263 if test "$ntp_ok" = "yes"; then
12265 cat >>confdefs.h <<\EOF
12266 #define CLOCK_ARCRON_MSF 1
12270 echo "$as_me:12270: result: $ntp_ok" >&5
12271 echo "${ECHO_T}$ntp_ok" >&6
12273 echo "$as_me:12273: checking ATOM PPS interface" >&5
12274 echo $ECHO_N "checking ATOM PPS interface... $ECHO_C" >&6
12275 # Check whether --enable-ATOM or --disable-ATOM was given.
12276 if test "${enable_ATOM+set}" = set; then
12277 enableval="$enable_ATOM"
12282 case "$ac_cv_var_atom_ok" in
12285 if test "$ntp_ok" = "yes"; then
12287 cat >>confdefs.h <<\EOF
12288 #define CLOCK_ATOM 1
12292 echo "$as_me:12292: result: $ntp_ok" >&5
12293 echo "${ECHO_T}$ntp_ok" >&6
12295 echo "$as_me:12295: checking Austron 2200A/2201A GPS receiver" >&5
12296 echo $ECHO_N "checking Austron 2200A/2201A GPS receiver... $ECHO_C" >&6
12297 # Check whether --enable-AS2201 or --disable-AS2201 was given.
12298 if test "${enable_AS2201+set}" = set; then
12299 enableval="$enable_AS2201"
12304 if test "$ntp_ok" = "yes"; then
12306 cat >>confdefs.h <<\EOF
12307 #define CLOCK_AS2201 1
12311 echo "$as_me:12311: result: $ntp_ok" >&5
12312 echo "${ECHO_T}$ntp_ok" >&6
12314 echo "$as_me:12314: checking CHU modem/decoder" >&5
12315 echo $ECHO_N "checking CHU modem/decoder... $ECHO_C" >&6
12316 # Check whether --enable-CHU or --disable-CHU was given.
12317 if test "${enable_CHU+set}" = set; then
12318 enableval="$enable_CHU"
12323 if test "$ntp_ok" = "yes"; then
12325 cat >>confdefs.h <<\EOF
12326 #define CLOCK_CHU 1
12330 echo "$as_me:12330: result: $ntp_ok" >&5
12331 echo "${ECHO_T}$ntp_ok" >&6
12332 ac_refclock_chu=$ntp_ok
12334 echo "$as_me:12334: checking CHU audio/decoder" >&5
12335 echo $ECHO_N "checking CHU audio/decoder... $ECHO_C" >&6
12336 # Check whether --enable-AUDIO-CHU or --disable-AUDIO-CHU was given.
12337 if test "${enable_AUDIO_CHU+set}" = set; then
12338 enableval="$enable_AUDIO_CHU"
12341 case "$ntp_eac$ac_refclock_chu$ntp_canaudio" in
12346 if test "$ntp_ok" = "yes"; then
12347 cat >>confdefs.h <<\EOF
12348 #define AUDIO_CHU 1
12352 echo "$as_me:12352: result: $ntp_ok" >&5
12353 echo "${ECHO_T}$ntp_ok" >&6
12354 # We used to check for sunos/solaris target...
12355 case "$ntp_ok$ac_refclock_chu$ntp_canaudio" in
12356 yes*no*) { echo "$as_me:12356: WARNING: *** But the expected answer is...no ***" >&5
12357 echo "$as_me: WARNING: *** But the expected answer is...no ***" >&2;} ;;
12361 echo "$as_me:12361: checking Datum Programmable Time System" >&5
12362 echo $ECHO_N "checking Datum Programmable Time System... $ECHO_C" >&6
12363 # Check whether --enable-DATUM or --disable-DATUM was given.
12364 if test "${enable_DATUM+set}" = set; then
12365 enableval="$enable_DATUM"
12368 case "$ac_cv_header_termios_h" in
12376 if test "$ntp_ok" = "yes"; then
12378 cat >>confdefs.h <<\EOF
12379 #define CLOCK_DATUM 1
12383 echo "$as_me:12383: result: $ntp_ok" >&5
12384 echo "${ECHO_T}$ntp_ok" >&6
12386 echo "$as_me:12386: checking Forum Graphic GPS" >&5
12387 echo $ECHO_N "checking Forum Graphic GPS... $ECHO_C" >&6
12388 # Check whether --enable-FG or --disable-FG was given.
12389 if test "${enable_FG+set}" = set; then
12390 enableval="$enable_FG"
12395 if test "$ntp_ok" = "yes"; then
12397 cat >>confdefs.h <<\EOF
12402 echo "$as_me:12402: result: $ntp_ok" >&5
12403 echo "${ECHO_T}$ntp_ok" >&6
12405 # Requires modem control
12406 echo "$as_me:12406: checking Heath GC-1000 WWV/WWVH receiver" >&5
12407 echo $ECHO_N "checking Heath GC-1000 WWV/WWVH receiver... $ECHO_C" >&6
12408 # Check whether --enable-HEATH or --disable-HEATH was given.
12409 if test "${enable_HEATH+set}" = set; then
12410 enableval="$enable_HEATH"
12413 cat >conftest.$ac_ext <<_ACEOF
12414 #line 12414 "configure"
12415 #include "confdefs.h"
12416 #include <termios.h>
12417 #ifdef HAVE_SYS_IOCTL_H
12418 #include <sys/ioctl.h>
12425 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12426 egrep "yes" >/dev/null 2>&1; then
12434 if test "$ntp_ok" = "yes"; then
12436 cat >>confdefs.h <<\EOF
12437 #define CLOCK_HEATH 1
12441 echo "$as_me:12441: result: $ntp_ok" >&5
12442 echo "${ECHO_T}$ntp_ok" >&6
12444 echo "$as_me:12444: checking HP 58503A GPS receiver" >&5
12445 echo $ECHO_N "checking HP 58503A GPS receiver... $ECHO_C" >&6
12446 # Check whether --enable-HPGPS or --disable-HPGPS was given.
12447 if test "${enable_HPGPS+set}" = set; then
12448 enableval="$enable_HPGPS"
12453 if test "$ntp_ok" = "yes"; then
12455 cat >>confdefs.h <<\EOF
12456 #define CLOCK_HPGPS 1
12460 echo "$as_me:12460: result: $ntp_ok" >&5
12461 echo "${ECHO_T}$ntp_ok" >&6
12463 echo "$as_me:12463: checking Sun IRIG audio decoder" >&5
12464 echo $ECHO_N "checking Sun IRIG audio decoder... $ECHO_C" >&6
12465 # Check whether --enable-IRIG or --disable-IRIG was given.
12466 if test "${enable_IRIG+set}" = set; then
12467 enableval="$enable_IRIG"
12470 case "$ntp_eac$ntp_canaudio" in
12475 if test "$ntp_ok" = "yes"; then
12477 cat >>confdefs.h <<\EOF
12478 #define CLOCK_IRIG 1
12482 echo "$as_me:12482: result: $ntp_ok" >&5
12483 echo "${ECHO_T}$ntp_ok" >&6
12484 case "$ntp_ok$ntp_canaudio" in
12485 yesno) { echo "$as_me:12485: WARNING: *** But the expected answer is... no ***" >&5
12486 echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;} ;;
12489 echo "$as_me:12489: checking Leitch CSD 5300 Master Clock System Driver" >&5
12490 echo $ECHO_N "checking Leitch CSD 5300 Master Clock System Driver... $ECHO_C" >&6
12491 # Check whether --enable-LEITCH or --disable-LEITCH was given.
12492 if test "${enable_LEITCH+set}" = set; then
12493 enableval="$enable_LEITCH"
12498 if test "$ntp_ok" = "yes"; then
12500 cat >>confdefs.h <<\EOF
12501 #define CLOCK_LEITCH 1
12505 echo "$as_me:12505: result: $ntp_ok" >&5
12506 echo "${ECHO_T}$ntp_ok" >&6
12508 echo "$as_me:12508: checking local clock reference" >&5
12509 echo $ECHO_N "checking local clock reference... $ECHO_C" >&6
12510 # Check whether --enable-LOCAL-CLOCK or --disable-LOCAL-CLOCK was given.
12511 if test "${enable_LOCAL_CLOCK+set}" = set; then
12512 enableval="$enable_LOCAL_CLOCK"
12517 if test "$ntp_ok" = "yes"; then
12519 cat >>confdefs.h <<\EOF
12520 #define CLOCK_LOCAL 1
12524 echo "$as_me:12524: result: $ntp_ok" >&5
12525 echo "${ECHO_T}$ntp_ok" >&6
12527 echo "$as_me:12527: checking EES M201 MSF receiver" >&5
12528 echo $ECHO_N "checking EES M201 MSF receiver... $ECHO_C" >&6
12529 # Check whether --enable-MSFEES or --disable-MSFEES was given.
12530 if test "${enable_MSFEES+set}" = set; then
12531 enableval="$enable_MSFEES"
12536 if test "$ntp_ok" = "yes"; then
12538 cat >>confdefs.h <<\EOF
12539 #define CLOCK_MSFEES 1
12543 echo "$as_me:12543: result: $ntp_ok" >&5
12544 echo "${ECHO_T}$ntp_ok" >&6
12547 echo "$as_me:12547: checking Magnavox MX4200 GPS receiver" >&5
12548 echo $ECHO_N "checking Magnavox MX4200 GPS receiver... $ECHO_C" >&6
12549 # Check whether --enable-MX4200 or --disable-MX4200 was given.
12550 if test "${enable_MX4200+set}" = set; then
12551 enableval="$enable_MX4200"
12554 case "$ac_cv_var_ppsclock" in
12555 yes) ntp_ok=$ntp_eac
12561 if test "$ntp_ok" = "yes"; then
12563 cat >>confdefs.h <<\EOF
12564 #define CLOCK_MX4200 1
12568 echo "$as_me:12568: result: $ntp_ok" >&5
12569 echo "${ECHO_T}$ntp_ok" >&6
12570 case "$ntp_ok$target" in
12571 yes*-*-ultrix*) { echo "$as_me:12571: WARNING: *** But the expected answer is... no ***" >&5
12572 echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;} ;;
12575 echo "$as_me:12575: checking NMEA GPS receiver" >&5
12576 echo $ECHO_N "checking NMEA GPS receiver... $ECHO_C" >&6
12577 # Check whether --enable-NMEA or --disable-NMEA was given.
12578 if test "${enable_NMEA+set}" = set; then
12579 enableval="$enable_NMEA"
12584 if test "$ntp_ok" = "yes"; then
12586 cat >>confdefs.h <<\EOF
12587 #define CLOCK_NMEA 1
12591 echo "$as_me:12591: result: $ntp_ok" >&5
12592 echo "${ECHO_T}$ntp_ok" >&6
12594 echo "$as_me:12594: checking for ONCORE Motorola VP/UT Oncore GPS" >&5
12595 echo $ECHO_N "checking for ONCORE Motorola VP/UT Oncore GPS... $ECHO_C" >&6
12596 # Check whether --enable-ONCORE or --disable-ONCORE was given.
12597 if test "${enable_ONCORE+set}" = set; then
12598 enableval="$enable_ONCORE"
12603 case "$ac_cv_var_oncore_ok" in
12606 if test "$ntp_ok" = "yes"; then
12608 cat >>confdefs.h <<\EOF
12609 #define CLOCK_ONCORE 1
12613 echo "$as_me:12613: result: $ntp_ok" >&5
12614 echo "${ECHO_T}$ntp_ok" >&6
12616 echo "$as_me:12616: checking for Palisade clock" >&5
12617 echo $ECHO_N "checking for Palisade clock... $ECHO_C" >&6
12618 # Check whether --enable-PALISADE or --disable-PALISADE was given.
12619 if test "${enable_PALISADE+set}" = set; then
12620 enableval="$enable_PALISADE"
12623 case "$ac_cv_header_termios_h" in
12632 if test "$ntp_ok" = "yes"; then
12634 cat >>confdefs.h <<\EOF
12635 #define CLOCK_PALISADE 1
12639 echo "$as_me:12639: result: $ntp_ok" >&5
12640 echo "${ECHO_T}$ntp_ok" >&6
12642 echo "$as_me:12642: checking PST/Traconex 1020 WWV/WWVH receiver" >&5
12643 echo $ECHO_N "checking PST/Traconex 1020 WWV/WWVH receiver... $ECHO_C" >&6
12644 # Check whether --enable-PST or --disable-PST was given.
12645 if test "${enable_PST+set}" = set; then
12646 enableval="$enable_PST"
12651 if test "$ntp_ok" = "yes"; then
12653 cat >>confdefs.h <<\EOF
12654 #define CLOCK_PST 1
12658 echo "$as_me:12658: result: $ntp_ok" >&5
12659 echo "${ECHO_T}$ntp_ok" >&6
12662 echo "$as_me:12662: checking Rockwell Jupiter GPS receiver" >&5
12663 echo $ECHO_N "checking Rockwell Jupiter GPS receiver... $ECHO_C" >&6
12664 # Check whether --enable-JUPITER or --disable-JUPITER was given.
12665 if test "${enable_JUPITER+set}" = set; then
12666 enableval="$enable_JUPITER"
12669 case "$ac_cv_var_ppsclock" in
12670 # yes) ntp_ok=$ntp_eac
12676 if test "$ntp_ok" = "yes"; then
12678 cat >>confdefs.h <<\EOF
12679 #define CLOCK_JUPITER 1
12683 echo "$as_me:12683: result: $ntp_ok" >&5
12684 echo "${ECHO_T}$ntp_ok" >&6
12685 case "$ntp_ok$target" in
12686 yes*-*-ultrix*) { echo "$as_me:12686: WARNING: *** But the expected answer is... no ***" >&5
12687 echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;} ;;
12690 # Requires modem control
12691 echo "$as_me:12691: checking PTB modem service" >&5
12692 echo $ECHO_N "checking PTB modem service... $ECHO_C" >&6
12693 # Check whether --enable-PTBACTS or --disable-PTBACTS was given.
12694 if test "${enable_PTBACTS+set}" = set; then
12695 enableval="$enable_PTBACTS"
12698 cat >conftest.$ac_ext <<_ACEOF
12699 #line 12699 "configure"
12700 #include "confdefs.h"
12701 #include <termios.h>
12702 #ifdef HAVE_SYS_IOCTL_H
12703 #include <sys/ioctl.h>
12710 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12711 egrep "yes" >/dev/null 2>&1; then
12719 if test "$ntp_ok" = "yes"; then
12721 cat >>confdefs.h <<\EOF
12722 #define CLOCK_PTBACTS 1
12726 echo "$as_me:12726: result: $ntp_ok" >&5
12727 echo "${ECHO_T}$ntp_ok" >&6
12729 echo "$as_me:12729: checking KSI/Odetics TPRO/S GPS receiver/IRIG interface" >&5
12730 echo $ECHO_N "checking KSI/Odetics TPRO/S GPS receiver/IRIG interface... $ECHO_C" >&6
12731 # Check whether --enable-TPRO or --disable-TPRO was given.
12732 if test "${enable_TPRO+set}" = set; then
12733 enableval="$enable_TPRO"
12736 case "$ac_cv_header_sys_tpro_h" in
12744 if test "$ntp_ok" = "yes"; then
12746 cat >>confdefs.h <<\EOF
12747 #define CLOCK_TPRO 1
12751 echo "$as_me:12751: result: $ntp_ok" >&5
12752 echo "${ECHO_T}$ntp_ok" >&6
12753 case "$ntp_ok$ac_cv_header_sys_tpro" in
12754 yesno) { echo "$as_me:12754: WARNING: *** But the expected answer is... no ***" >&5
12755 echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;} ;;
12758 echo "$as_me:12758: checking TRAK 8810 GPS receiver" >&5
12759 echo $ECHO_N "checking TRAK 8810 GPS receiver... $ECHO_C" >&6
12760 # Check whether --enable-TRAK or --disable-TRAK was given.
12761 if test "${enable_TRAK+set}" = set; then
12762 enableval="$enable_TRAK"
12767 if test "$ntp_ok" = "yes"; then
12769 cat >>confdefs.h <<\EOF
12770 #define CLOCK_TRAK 1
12774 echo "$as_me:12774: result: $ntp_ok" >&5
12775 echo "${ECHO_T}$ntp_ok" >&6
12777 echo "$as_me:12777: checking Chrono-log K-series WWVB receiver" >&5
12778 echo $ECHO_N "checking Chrono-log K-series WWVB receiver... $ECHO_C" >&6
12779 # Check whether --enable-CHRONOLOG or --disable-CHRONOLOG was given.
12780 if test "${enable_CHRONOLOG+set}" = set; then
12781 enableval="$enable_CHRONOLOG"
12786 if test "$ntp_ok" = "yes"; then
12788 cat >>confdefs.h <<\EOF
12789 #define CLOCK_CHRONOLOG 1
12793 echo "$as_me:12793: result: $ntp_ok" >&5
12794 echo "${ECHO_T}$ntp_ok" >&6
12796 echo "$as_me:12796: checking Dumb generic hh:mm:ss local clock" >&5
12797 echo $ECHO_N "checking Dumb generic hh:mm:ss local clock... $ECHO_C" >&6
12798 # Check whether --enable-DUMBCLOCK or --disable-DUMBCLOCK was given.
12799 if test "${enable_DUMBCLOCK+set}" = set; then
12800 enableval="$enable_DUMBCLOCK"
12805 if test "$ntp_ok" = "yes"; then
12807 cat >>confdefs.h <<\EOF
12808 #define CLOCK_DUMBCLOCK 1
12812 echo "$as_me:12812: result: $ntp_ok" >&5
12813 echo "${ECHO_T}$ntp_ok" >&6
12815 echo "$as_me:12815: checking Conrad parallel port radio clock" >&5
12816 echo $ECHO_N "checking Conrad parallel port radio clock... $ECHO_C" >&6
12817 # Check whether --enable-PCF or --disable-PCF was given.
12818 if test "${enable_PCF+set}" = set; then
12819 enableval="$enable_PCF"
12824 if test "$ntp_ok" = "yes"; then
12826 cat >>confdefs.h <<\EOF
12827 #define CLOCK_PCF 1
12831 echo "$as_me:12831: result: $ntp_ok" >&5
12832 echo "${ECHO_T}$ntp_ok" >&6
12834 echo "$as_me:12834: checking Spectracom 8170/Netclock/2 WWVB receiver" >&5
12835 echo $ECHO_N "checking Spectracom 8170/Netclock/2 WWVB receiver... $ECHO_C" >&6
12836 # Check whether --enable-SPECTRACOM or --disable-SPECTRACOM was given.
12837 if test "${enable_SPECTRACOM+set}" = set; then
12838 enableval="$enable_SPECTRACOM"
12843 if test "$ntp_ok" = "yes"; then
12845 cat >>confdefs.h <<\EOF
12846 #define CLOCK_SPECTRACOM 1
12850 echo "$as_me:12850: result: $ntp_ok" >&5
12851 echo "${ECHO_T}$ntp_ok" >&6
12853 # Not on a vax-dec-bsd
12854 echo "$as_me:12854: checking Kinemetrics/TrueTime receivers" >&5
12855 echo $ECHO_N "checking Kinemetrics/TrueTime receivers... $ECHO_C" >&6
12856 # Check whether --enable-TRUETIME or --disable-TRUETIME was given.
12857 if test "${enable_TRUETIME+set}" = set; then
12858 enableval="$enable_TRUETIME"
12870 if test "$ntp_ok" = "yes"; then
12872 cat >>confdefs.h <<\EOF
12873 #define CLOCK_TRUETIME 1
12877 echo "$as_me:12877: result: $ntp_ok" >&5
12878 echo "${ECHO_T}$ntp_ok" >&6
12879 case "$ntp_ok$target" in
12880 yesvax-dec-bsd) { echo "$as_me:12880: WARNING: *** But the expected answer is... no ***" >&5
12881 echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;} ;;
12884 echo "$as_me:12884: checking Ultralink M320 WWVB receiver" >&5
12885 echo $ECHO_N "checking Ultralink M320 WWVB receiver... $ECHO_C" >&6
12886 # Check whether --enable-ULINK or --disable-ULINK was given.
12887 if test "${enable_ULINK+set}" = set; then
12888 enableval="$enable_ULINK"
12893 if test "$ntp_ok" = "yes"; then
12895 cat >>confdefs.h <<\EOF
12896 #define CLOCK_ULINK 1
12900 echo "$as_me:12900: result: $ntp_ok" >&5
12901 echo "${ECHO_T}$ntp_ok" >&6
12903 echo "$as_me:12903: checking WWV receiver" >&5
12904 echo $ECHO_N "checking WWV receiver... $ECHO_C" >&6
12905 # Check whether --enable-WWV or --disable-WWV was given.
12906 if test "${enable_WWV+set}" = set; then
12907 enableval="$enable_WWV"
12910 case "$ntp_eac$ntp_canaudio" in
12915 if test "$ntp_ok" = "yes"; then
12917 cat >>confdefs.h <<\EOF
12918 #define CLOCK_WWV 1
12922 echo "$as_me:12922: result: $ntp_ok" >&5
12923 echo "${ECHO_T}$ntp_ok" >&6
12924 case "$ntp_ok$ntp_canaudio" in
12925 yesno) { echo "$as_me:12925: WARNING: *** But the expected answer is... no ***" >&5
12926 echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;} ;;
12929 # Requires modem control
12930 echo "$as_me:12930: checking USNO modem service" >&5
12931 echo $ECHO_N "checking USNO modem service... $ECHO_C" >&6
12932 # Check whether --enable-USNO or --disable-USNO was given.
12933 if test "${enable_USNO+set}" = set; then
12934 enableval="$enable_USNO"
12937 cat >conftest.$ac_ext <<_ACEOF
12938 #line 12938 "configure"
12939 #include "confdefs.h"
12940 #include <termios.h>
12941 #ifdef HAVE_SYS_IOCTL_H
12942 #include <sys/ioctl.h>
12949 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12950 egrep "yes" >/dev/null 2>&1; then
12958 if test "$ntp_ok" = "yes"; then
12960 cat >>confdefs.h <<\EOF
12961 #define CLOCK_USNO 1
12965 echo "$as_me:12965: result: $ntp_ok" >&5
12966 echo "${ECHO_T}$ntp_ok" >&6
12968 echo "$as_me:12968: checking for default inclusion of all suitable PARSE clocks" >&5
12969 echo $ECHO_N "checking for default inclusion of all suitable PARSE clocks... $ECHO_C" >&6
12970 # Check whether --enable-parse-clocks or --disable-parse-clocks was given.
12971 if test "${enable_parse_clocks+set}" = set; then
12972 enableval="$enable_parse_clocks"
12973 ntp_eapc=$enableval
12976 yes) ntp_eapc=$ntp_canparse ;;
12981 echo "$as_me:12981: result: $ntp_eapc" >&5
12982 echo "${ECHO_T}$ntp_eapc" >&6
12984 case "$ntp_eac$ntp_eapc$ntp_canparse" in
12986 { { echo "$as_me:12986: error: \"--enable-parse-clocks\" requires \"--enable-all-clocks\"." >&5
12987 echo "$as_me: error: \"--enable-parse-clocks\" requires \"--enable-all-clocks\"." >&2;}
12988 { (exit 1); exit 1; }; }
12991 { { echo "$as_me:12991: error: You said \"--enable-parse-clocks\" but PARSE isn't supported on this platform!" >&5
12992 echo "$as_me: error: You said \"--enable-parse-clocks\" but PARSE isn't supported on this platform!" >&2;}
12993 { (exit 1); exit 1; }; }
13002 echo "$as_me:13002: checking Diem Computime Radio Clock" >&5
13003 echo $ECHO_N "checking Diem Computime Radio Clock... $ECHO_C" >&6
13004 # Check whether --enable-COMPUTIME or --disable-COMPUTIME was given.
13005 if test "${enable_COMPUTIME+set}" = set; then
13006 enableval="$enable_COMPUTIME"
13011 if test "$ntp_ok" = "yes"; then
13014 cat >>confdefs.h <<\EOF
13015 #define CLOCK_COMPUTIME 1
13019 echo "$as_me:13019: result: $ntp_ok" >&5
13020 echo "${ECHO_T}$ntp_ok" >&6
13021 case "$ntp_ok$ntp_canparse" in
13023 { { echo "$as_me:13023: error: That's a parse clock and this system doesn't support it!" >&5
13024 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
13025 { (exit 1); exit 1; }; }
13029 echo "$as_me:13029: checking ELV/DCF7000 clock" >&5
13030 echo $ECHO_N "checking ELV/DCF7000 clock... $ECHO_C" >&6
13031 # Check whether --enable-DCF7000 or --disable-DCF7000 was given.
13032 if test "${enable_DCF7000+set}" = set; then
13033 enableval="$enable_DCF7000"
13038 if test "$ntp_ok" = "yes"; then
13041 cat >>confdefs.h <<\EOF
13042 #define CLOCK_DCF7000 1
13046 echo "$as_me:13046: result: $ntp_ok" >&5
13047 echo "${ECHO_T}$ntp_ok" >&6
13048 case "$ntp_ok$ntp_canparse" in
13050 { { echo "$as_me:13050: error: That's a parse clock and this system doesn't support it!" >&5
13051 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
13052 { (exit 1); exit 1; }; }
13056 echo "$as_me:13056: checking HOPF 6021 clock" >&5
13057 echo $ECHO_N "checking HOPF 6021 clock... $ECHO_C" >&6
13058 # Check whether --enable-HOPF6021 or --disable-HOPF6021 was given.
13059 if test "${enable_HOPF6021+set}" = set; then
13060 enableval="$enable_HOPF6021"
13065 if test "$ntp_ok" = "yes"; then
13068 cat >>confdefs.h <<\EOF
13069 #define CLOCK_HOPF6021 1
13073 echo "$as_me:13073: result: $ntp_ok" >&5
13074 echo "${ECHO_T}$ntp_ok" >&6
13075 case "$ntp_ok$ntp_canparse" in
13077 { { echo "$as_me:13077: error: That's a parse clock and this system doesn't support it!" >&5
13078 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
13079 { (exit 1); exit 1; }; }
13083 echo "$as_me:13083: checking Meinberg clocks" >&5
13084 echo $ECHO_N "checking Meinberg clocks... $ECHO_C" >&6
13085 # Check whether --enable-MEINBERG or --disable-MEINBERG was given.
13086 if test "${enable_MEINBERG+set}" = set; then
13087 enableval="$enable_MEINBERG"
13092 if test "$ntp_ok" = "yes"; then
13095 cat >>confdefs.h <<\EOF
13096 #define CLOCK_MEINBERG 1
13100 echo "$as_me:13100: result: $ntp_ok" >&5
13101 echo "${ECHO_T}$ntp_ok" >&6
13102 case "$ntp_ok$ntp_canparse" in
13104 { { echo "$as_me:13104: error: That's a parse clock and this system doesn't support it!" >&5
13105 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
13106 { (exit 1); exit 1; }; }
13110 echo "$as_me:13110: checking DCF77 raw time code" >&5
13111 echo $ECHO_N "checking DCF77 raw time code... $ECHO_C" >&6
13112 # Check whether --enable-RAWDCF or --disable-RAWDCF was given.
13113 if test "${enable_RAWDCF+set}" = set; then
13114 enableval="$enable_RAWDCF"
13119 if test "$ntp_ok" = "yes"; then
13124 cat >>confdefs.h <<\EOF
13125 #define CLOCK_RAWDCF 1
13129 echo "$as_me:13129: result: $ntp_ok" >&5
13130 echo "${ECHO_T}$ntp_ok" >&6
13131 case "$ntp_ok$ntp_canparse" in
13133 { { echo "$as_me:13133: error: That's a parse clock and this system doesn't support it!" >&5
13134 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
13135 { (exit 1); exit 1; }; }
13139 case "$ntp_rawdcf" in
13141 echo "$as_me:13141: checking if we must enable parity for RAWDCF" >&5
13142 echo $ECHO_N "checking if we must enable parity for RAWDCF... $ECHO_C" >&6
13143 if test "${ac_cv_var_rawdcf_parity+set}" = set; then
13144 echo $ECHO_N "(cached) $ECHO_C" >&6
13152 ac_cv_var_rawdcf_parity=$ans
13154 echo "$as_me:13154: result: $ac_cv_var_rawdcf_parity" >&5
13155 echo "${ECHO_T}$ac_cv_var_rawdcf_parity" >&6
13156 case "$ac_cv_var_rawdcf_parity" in
13157 yes) cat >>confdefs.h <<\EOF
13158 #define RAWDCF_NO_IGNPAR 1
13164 *) # HMS: Is this a good idea?
13165 ac_cv_var_rawdcf_parity=no
13169 echo "$as_me:13169: checking RCC 8000 clock" >&5
13170 echo $ECHO_N "checking RCC 8000 clock... $ECHO_C" >&6
13171 # Check whether --enable-RCC8000 or --disable-RCC8000 was given.
13172 if test "${enable_RCC8000+set}" = set; then
13173 enableval="$enable_RCC8000"
13178 if test "$ntp_ok" = "yes"; then
13181 cat >>confdefs.h <<\EOF
13182 #define CLOCK_RCC8000 1
13186 echo "$as_me:13186: result: $ntp_ok" >&5
13187 echo "${ECHO_T}$ntp_ok" >&6
13188 case "$ntp_ok$ntp_canparse" in
13190 { { echo "$as_me:13190: error: That's a parse clock and this system doesn't support it!" >&5
13191 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
13192 { (exit 1); exit 1; }; }
13196 echo "$as_me:13196: checking Schmid DCF77 clock" >&5
13197 echo $ECHO_N "checking Schmid DCF77 clock... $ECHO_C" >&6
13198 # Check whether --enable-SCHMID or --disable-SCHMID was given.
13199 if test "${enable_SCHMID+set}" = set; then
13200 enableval="$enable_SCHMID"
13205 if test "$ntp_ok" = "yes"; then
13208 cat >>confdefs.h <<\EOF
13209 #define CLOCK_SCHMID 1
13213 echo "$as_me:13213: result: $ntp_ok" >&5
13214 echo "${ECHO_T}$ntp_ok" >&6
13215 case "$ntp_ok$ntp_canparse" in
13217 { { echo "$as_me:13217: error: That's a parse clock and this system doesn't support it!" >&5
13218 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
13219 { (exit 1); exit 1; }; }
13223 echo "$as_me:13223: checking Trimble GPS receiver/TAIP protocol" >&5
13224 echo $ECHO_N "checking Trimble GPS receiver/TAIP protocol... $ECHO_C" >&6
13225 # Check whether --enable-TRIMTAIP or --disable-TRIMTAIP was given.
13226 if test "${enable_TRIMTAIP+set}" = set; then
13227 enableval="$enable_TRIMTAIP"
13232 if test "$ntp_ok" = "yes"; then
13235 cat >>confdefs.h <<\EOF
13236 #define CLOCK_TRIMTAIP 1
13240 echo "$as_me:13240: result: $ntp_ok" >&5
13241 echo "${ECHO_T}$ntp_ok" >&6
13242 case "$ntp_ok$ntp_canparse" in
13244 { { echo "$as_me:13244: error: That's a parse clock and this system doesn't support it!" >&5
13245 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
13246 { (exit 1); exit 1; }; }
13250 echo "$as_me:13250: checking Trimble GPS receiver/TSIP protocol" >&5
13251 echo $ECHO_N "checking Trimble GPS receiver/TSIP protocol... $ECHO_C" >&6
13252 # Check whether --enable-TRIMTSIP or --disable-TRIMTSIP was given.
13253 if test "${enable_TRIMTSIP+set}" = set; then
13254 enableval="$enable_TRIMTSIP"
13259 if test "$ntp_ok" = "yes"; then
13262 cat >>confdefs.h <<\EOF
13263 #define CLOCK_TRIMTSIP 1
13267 echo "$as_me:13267: result: $ntp_ok" >&5
13268 echo "${ECHO_T}$ntp_ok" >&6
13269 case "$ntp_ok$ntp_canparse" in
13271 { { echo "$as_me:13271: error: That's a parse clock and this system doesn't support it!" >&5
13272 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
13273 { (exit 1); exit 1; }; }
13277 echo "$as_me:13277: checking WHARTON 400A Series clock" >&5
13278 echo $ECHO_N "checking WHARTON 400A Series clock... $ECHO_C" >&6
13279 # Check whether --enable-WHARTON or --disable-WHARTON was given.
13280 if test "${enable_WHARTON+set}" = set; then
13281 enableval="$enable_WHARTON"
13286 if test "$ntp_ok" = "yes"; then
13289 cat >>confdefs.h <<\EOF
13290 #define CLOCK_WHARTON_400A 1
13294 echo "$as_me:13294: result: $ntp_ok" >&5
13295 echo "${ECHO_T}$ntp_ok" >&6
13296 case "$ntp_ok$ntp_canparse" in
13298 { { echo "$as_me:13298: error: That's a parse clock and this system doesn't support it!" >&5
13299 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
13300 { (exit 1); exit 1; }; }
13304 echo "$as_me:13304: checking VARITEXT clock" >&5
13305 echo $ECHO_N "checking VARITEXT clock... $ECHO_C" >&6
13306 # Check whether --enable-VARITEXT or --disable-VARITEXT was given.
13307 if test "${enable_VARITEXT+set}" = set; then
13308 enableval="$enable_VARITEXT"
13313 if test "$ntp_ok" = "yes"; then
13316 cat >>confdefs.h <<\EOF
13317 #define CLOCK_VARITEXT 1
13321 echo "$as_me:13321: result: $ntp_ok" >&5
13322 echo "${ECHO_T}$ntp_ok" >&6
13323 case "$ntp_ok$ntp_canparse" in
13325 { { echo "$as_me:13325: error: That's a parse clock and this system doesn't support it!" >&5
13326 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
13327 { (exit 1); exit 1; }; }
13331 echo "$as_me:13331: checking if we need to make and use the parse libraries" >&5
13332 echo $ECHO_N "checking if we need to make and use the parse libraries... $ECHO_C" >&6
13334 case "$ntp_libparse" in
13337 cat >>confdefs.h <<\EOF
13338 #define CLOCK_PARSE 1
13341 LIBPARSE=../libparse/libparse.a
13342 MAKE_LIBPARSE=libparse.a
13343 MAKE_CHECK_Y2K=check_y2k
13344 cat >>confdefs.h <<\EOF
13345 #define PPS_SAMPLE 1
13348 cat >>confdefs.h <<\EOF
13349 #define CLOCK_ATOM 1
13354 echo "$as_me:13354: result: $ans" >&5
13355 echo "${ECHO_T}$ans" >&6
13357 echo "$as_me:13357: checking for openssl library directory" >&5
13358 echo $ECHO_N "checking for openssl library directory... $ECHO_C" >&6
13360 # Check whether --with-openssl-libdir or --without-openssl-libdir was given.
13361 if test "${with_openssl_libdir+set}" = set; then
13362 withval="$with_openssl_libdir"
13370 ans="/usr/lib /usr/local/lib /usr/local/ssl/lib"
13372 *) # Look where they said
13377 *) # Look for libcrypto.a and libssl.a:
13380 test -f $i/libcrypto.a -a -f $i/libssl.a && break
13393 echo "$as_me:13393: result: $ans" >&5
13394 echo "${ECHO_T}$ans" >&6
13396 echo "$as_me:13396: checking for openssl include directory" >&5
13397 echo $ECHO_N "checking for openssl include directory... $ECHO_C" >&6
13399 # Check whether --with-openssl-incdir or --without-openssl-incdir was given.
13400 if test "${with_openssl_incdir+set}" = set; then
13401 withval="$with_openssl_incdir"
13409 ans="/usr/include /usr/local/include /usr/local/ssl/include"
13411 *) # Look where they said
13416 *) # look for openssl/opensslconf.h:
13419 test -f $i/openssl/opensslconf.h && break
13432 echo "$as_me:13432: result: $ans" >&5
13433 echo "${ECHO_T}$ans" >&6
13435 echo "$as_me:13435: checking for the level of crypto support" >&5
13436 echo $ECHO_N "checking for the level of crypto support... $ECHO_C" >&6
13438 # Check whether --with-crypto or --without-crypto was given.
13439 if test "${with_crypto+set}" = set; then
13440 withval="$with_crypto"
13447 yes|rsaref|openssl)
13449 yes|rsaref) # Just "rsaref" when OpenSSL is ready
13453 if test -z "$OPENSSL_LIB" -o -z "$OPENSSL_INC"
13457 # We have OpenSSL inc/lib - use them.
13459 CPPFLAGS="$CPPFLAGS -I$OPENSSL_INC"
13460 LDFLAGS="$LDFLAGS -L$OPENSSL_LIB"
13461 LIBS="$LIBS -lcrypto"
13462 cat >>confdefs.h <<\EOF
13466 cat >>confdefs.h <<\EOF
13470 cat >>confdefs.h <<\EOF
13480 if test -f $srcdir/rsaref2/source/digit.c
13484 RSASRCS="digit.c digit.h"
13487 if test -f $srcdir/rsaeuro1/source/rsaeuro.h
13490 RSAOBJS="md4c.o shsc.o"
13491 RSASRCS="md4c.c shsc.c"
13494 if test "$ans" = "rsaref"; then
13495 LIBRSAREF=../librsaref/librsaref.a
13496 MAKE_LIBRSAREF=librsaref.a
13497 cat >>confdefs.h <<\EOF
13501 cat >>confdefs.h <<\EOF
13505 cat >>confdefs.h <<\EOF
13519 cat >>confdefs.h <<\EOF
13526 echo "$as_me:13526: result: $ans" >&5
13527 echo "${ECHO_T}$ans" >&6
13529 echo "$as_me:13529: checking if we want to compile with ElectricFence" >&5
13530 echo $ECHO_N "checking if we want to compile with ElectricFence... $ECHO_C" >&6
13532 # Check whether --with-electricfence or --without-electricfence was given.
13533 if test "${with_electricfence+set}" = set; then
13534 withval="$with_electricfence"
13542 LIBS="$LIBS \${top_builddir}/ElectricFence/libefence.a"
13543 EF_PROGS="eftest tstheap"
13545 EF_LIBS=libefence.a
13550 echo "$as_me:13550: result: $ans" >&5
13551 echo "${ECHO_T}$ans" >&6
13553 echo "$as_me:13553: checking if we can make dcf parse utilities" >&5
13554 echo $ECHO_N "checking if we can make dcf parse utilities... $ECHO_C" >&6
13556 if test "$ntp_parseutil" = "yes"; then
13558 *-*-sunos4*|*-*-solaris2*|*-*-linux*)
13565 echo "$as_me:13565: result: $ans" >&5
13566 echo "${ECHO_T}$ans" >&6
13568 echo "$as_me:13568: checking if we can build kernel streams modules for parse" >&5
13569 echo $ECHO_N "checking if we can build kernel streams modules for parse... $ECHO_C" >&6
13571 case "$ntp_parseutil$ac_cv_header_sys_stropts_h" in
13575 case "$ac_cv_var_kernel_pll" in
13577 cat >>confdefs.h <<\EOF
13584 MAKE_PARSEKMODULE=parsestreams.loadable_module.o
13588 MAKE_PARSEKMODULE=parse
13593 echo "$as_me:13593: result: $ans" >&5
13594 echo "${ECHO_T}$ans" >&6
13596 echo "$as_me:13596: checking if we need basic refclock support" >&5
13597 echo $ECHO_N "checking if we need basic refclock support... $ECHO_C" >&6
13598 if test "$ntp_refclock" = "yes"; then
13599 cat >>confdefs.h <<\EOF
13604 echo "$as_me:13604: result: $ntp_refclock" >&5
13605 echo "${ECHO_T}$ntp_refclock" >&6
13607 echo "$as_me:13607: checking if we want HP-UX adjtimed support" >&5
13608 echo $ECHO_N "checking if we want HP-UX adjtimed support... $ECHO_C" >&6
13616 if test "$ans" = "yes"; then
13617 MAKE_ADJTIMED=adjtimed
13618 cat >>confdefs.h <<\EOF
13619 #define NEED_HPUX_ADJTIME 1
13623 echo "$as_me:13623: result: $ans" >&5
13624 echo "${ECHO_T}$ans" >&6
13626 echo "$as_me:13626: checking if we can read kmem" >&5
13627 echo $ECHO_N "checking if we can read kmem... $ECHO_C" >&6
13628 if test "${ac_cv_var_can_kmem+set}" = set; then
13629 echo $ECHO_N "(cached) $ECHO_C" >&6
13631 # Check whether --enable-kmem or --disable-kmem was given.
13632 if test "${enable_kmem+set}" = set; then
13633 enableval="$enable_kmem"
13636 case "$ac_cv_func_nlist$ac_cv_func_K_open$ac_cv_func_kvm_open" in
13647 *-*-domainos) # Won't be found...
13665 ac_cv_var_can_kmem=$ans
13667 echo "$as_me:13667: result: $ac_cv_var_can_kmem" >&5
13668 echo "${ECHO_T}$ac_cv_var_can_kmem" >&6
13670 case "$ac_cv_var_can_kmem" in
13672 *) cat >>confdefs.h <<\EOF
13678 echo "$as_me:13678: checking if adjtime is accurate" >&5
13679 echo $ECHO_N "checking if adjtime is accurate... $ECHO_C" >&6
13680 if test "${ac_cv_var_adjtime_is_accurate+set}" = set; then
13681 echo $ECHO_N "(cached) $ECHO_C" >&6
13683 # Check whether --enable-accurate-adjtime or --disable-accurate-adjtime was given.
13684 if test "${enable_accurate_adjtime+set}" = set; then
13685 enableval="$enable_accurate_adjtime"
13692 i386-unknown-osf1*)
13695 mips-sgi-irix[456]*)
13707 *-*-solaris2.[01]*)
13718 ac_cv_var_adjtime_is_accurate=$ans
13720 echo "$as_me:13720: result: $ac_cv_var_adjtime_is_accurate" >&5
13721 echo "${ECHO_T}$ac_cv_var_adjtime_is_accurate" >&6
13722 case "$ac_cv_var_adjtime_is_accurate" in
13723 yes) cat >>confdefs.h <<\EOF
13724 #define ADJTIME_IS_ACCURATE 1
13729 echo "$as_me:13729: checking the name of 'tick' in the kernel" >&5
13730 echo $ECHO_N "checking the name of 'tick' in the kernel... $ECHO_C" >&6
13731 if test "${ac_cv_var_nlist_tick+set}" = set; then
13732 echo $ECHO_N "(cached) $ECHO_C" >&6
13736 m68*-hp-hpux*) # HP9000/300?
13761 ac_cv_var_nlist_tick=$ans
13763 echo "$as_me:13763: result: $ac_cv_var_nlist_tick" >&5
13764 echo "${ECHO_T}$ac_cv_var_nlist_tick" >&6
13765 case "$ac_cv_var_nlist_tick" in
13766 ''|no) ;; # HMS: I think we can only get 'no' here...
13767 *) cat >>confdefs.h <<EOF
13768 #define K_TICK_NAME "$ac_cv_var_nlist_tick"
13773 echo "$as_me:13773: checking for the units of 'tick'" >&5
13774 echo $ECHO_N "checking for the units of 'tick'... $ECHO_C" >&6
13775 if test "${ac_cv_var_tick_nano+set}" = set; then
13776 echo $ECHO_N "(cached) $ECHO_C" >&6
13784 ac_cv_var_tick_nano=$ans
13786 echo "$as_me:13786: result: $ac_cv_var_tick_nano" >&5
13787 echo "${ECHO_T}$ac_cv_var_tick_nano" >&6
13788 case "$ac_cv_var_tick_nano" in
13790 cat >>confdefs.h <<\EOF
13791 #define TICK_NANO 1
13797 echo "$as_me:13797: checking the name of 'tickadj' in the kernel" >&5
13798 echo $ECHO_N "checking the name of 'tickadj' in the kernel... $ECHO_C" >&6
13799 if test "${ac_cv_var_nlist_tickadj+set}" = set; then
13800 echo $ECHO_N "(cached) $ECHO_C" >&6
13804 m68*-hp-hpux*) # HP9000/300?
13832 ans=no # hrestime_adj
13838 ac_cv_var_nlist_tickadj=$ans
13840 echo "$as_me:13840: result: $ac_cv_var_nlist_tickadj" >&5
13841 echo "${ECHO_T}$ac_cv_var_nlist_tickadj" >&6
13842 case "$ac_cv_var_nlist_tickadj" in
13843 ''|no) ;; # HMS: I think we can only get 'no' here...
13844 *) cat >>confdefs.h <<EOF
13845 #define K_TICKADJ_NAME "$ac_cv_var_nlist_tickadj"
13850 echo "$as_me:13850: checking for the units of 'tickadj'" >&5
13851 echo $ECHO_N "checking for the units of 'tickadj'... $ECHO_C" >&6
13852 if test "${ac_cv_var_tickadj_nano+set}" = set; then
13853 echo $ECHO_N "(cached) $ECHO_C" >&6
13861 ac_cv_var_tickadj_nano=$ans
13863 echo "$as_me:13863: result: $ac_cv_var_tickadj_nano" >&5
13864 echo "${ECHO_T}$ac_cv_var_tickadj_nano" >&6
13865 case "$ac_cv_var_tickadj_nano" in
13867 cat >>confdefs.h <<\EOF
13868 #define TICKADJ_NANO 1
13874 echo "$as_me:13874: checking half-heartedly for 'dosynctodr' in the kernel" >&5
13875 echo $ECHO_N "checking half-heartedly for 'dosynctodr' in the kernel... $ECHO_C" >&6
13876 if test "${ac_cv_var_nlist_dosynctodr+set}" = set; then
13877 echo $ECHO_N "(cached) $ECHO_C" >&6
13914 ac_cv_var_nlist_dosynctodr=$ans
13916 echo "$as_me:13916: result: $ac_cv_var_nlist_dosynctodr" >&5
13917 echo "${ECHO_T}$ac_cv_var_nlist_dosynctodr" >&6
13918 case "$ac_cv_var_nlist_dosynctodr" in
13920 *) cat >>confdefs.h <<EOF
13921 #define K_DOSYNCTODR_NAME "$ac_cv_var_nlist_dosynctodr"
13927 echo "$as_me:13927: checking half-heartedly for 'noprintf' in the kernel" >&5
13928 echo $ECHO_N "checking half-heartedly for 'noprintf' in the kernel... $ECHO_C" >&6
13929 if test "${ac_cv_var_nlist_noprintf+set}" = set; then
13930 echo $ECHO_N "(cached) $ECHO_C" >&6
13961 ac_cv_var_nlist_noprintf=$ans
13963 echo "$as_me:13963: result: $ac_cv_var_nlist_noprintf" >&5
13964 echo "${ECHO_T}$ac_cv_var_nlist_noprintf" >&6
13965 case "$ac_cv_var_nlist_noprintf" in
13967 *) cat >>confdefs.h <<EOF
13968 #define K_NOPRINTF_NAME "$ac_cv_var_nlist_noprintf"
13974 echo "$as_me:13974: checking for a default value for 'tick'" >&5
13975 echo $ECHO_N "checking for a default value for 'tick'... $ECHO_C" >&6
13976 if test "${ac_cv_var_tick+set}" = set; then
13977 echo $ECHO_N "(cached) $ECHO_C" >&6
13979 # Check whether --enable-tick or --disable-tick was given.
13980 if test "${enable_tick+set}" = set; then
13981 enableval="$enable_tick"
14005 ac_cv_var_tick=$ans
14007 echo "$as_me:14007: result: $ac_cv_var_tick" >&5
14008 echo "${ECHO_T}$ac_cv_var_tick" >&6
14009 case "$ac_cv_var_tick" in
14010 ''|no) ;; # HMS: I think we can only get 'no' here...
14011 *) cat >>confdefs.h <<EOF
14012 #define PRESET_TICK $ac_cv_var_tick
14017 echo "$as_me:14017: checking for a default value for 'tickadj'" >&5
14018 echo $ECHO_N "checking for a default value for 'tickadj'... $ECHO_C" >&6
14019 if test "${ac_cv_var_tickadj+set}" = set; then
14020 echo $ECHO_N "(cached) $ECHO_C" >&6
14022 # Check whether --enable-tickadj or --disable-tickadj was given.
14023 if test "${enable_tickadj+set}" = set; then
14024 enableval="$enable_tickadj"
14030 case "$ac_cv_var_adjtime_is_accurate" in
14031 yes) ans='tick/16' ;;
14041 case "$ac_cv_var_can_kmem" in
14045 *-*-domainos) # Skippy: won't be found...
14046 case "$ac_cv_var_can_kmem" in
14051 case "$ac_cv_var_adjtime_is_accurate" in
14052 yes) ans='tick/16' ;;
14062 case "$ac_cv_var_adjtime_is_accurate" in
14073 ac_cv_var_tickadj=$ans
14075 echo "$as_me:14075: result: $ac_cv_var_tickadj" >&5
14076 echo "${ECHO_T}$ac_cv_var_tickadj" >&6
14077 case "$ac_cv_var_tickadj" in
14078 ''|no) ;; # HMS: I think we can only get 'no' here...
14079 *) cat >>confdefs.h <<EOF
14080 #define PRESET_TICKADJ $ac_cv_var_tickadj
14085 # Newer versions of ReliantUNIX round adjtime() values down to
14086 # 1/100s (system tick). Sigh ...
14087 # Unfortunately, there is no easy way to know if particular release
14088 # has this "feature" or any obvious way to test for it.
14090 mips-sni-sysv4*) cat >>confdefs.h <<\EOF
14091 #define RELIANTUNIX_CLOCK 1
14097 *-*-sco3.2v5*) cat >>confdefs.h <<\EOF
14098 #define SCO5_CLOCK 1
14103 ac_cv_make_tickadj=yes
14104 case "$ac_cv_var_can_kmem$ac_cv_var_tick$ac_cv_var_tickadj" in
14105 nonono) # Don't read KMEM, no presets. Bogus.
14106 { echo "$as_me:14106: WARNING: Can't read kmem" >&5
14107 echo "$as_me: WARNING: Can't read kmem" >&2;}
14108 ac_cv_make_tickadj=no
14110 nono*) # Don't read KMEM, no PRESET_TICK but PRESET_TICKADJ. Bogus.
14111 { echo "$as_me:14111: WARNING: Can't read kmem but no PRESET_TICK. No tickadj." >&5
14112 echo "$as_me: WARNING: Can't read kmem but no PRESET_TICK. No tickadj." >&2;}
14113 ac_cv_make_tickadj=no
14115 no*no) # Don't read KMEM, PRESET_TICK but no PRESET_TICKADJ. Bogus.
14116 { echo "$as_me:14116: WARNING: Can't read kmem but no PRESET_TICKADJ. No tickadj." >&5
14117 echo "$as_me: WARNING: Can't read kmem but no PRESET_TICKADJ. No tickadj." >&2;}
14118 ac_cv_make_tickadj=no
14120 no*) # Don't read KMEM, PRESET_TICK and PRESET_TICKADJ. Cool.
14122 yesnono) # Read KMEM, no presets. Cool.
14124 yesno*) # Read KMEM, no PRESET_TICK but PRESET_TICKADJ. Bogus.
14125 { echo "$as_me:14125: WARNING: PRESET_TICKADJ is defined but not PRESET_TICK. Please report this." >&5
14126 echo "$as_me: WARNING: PRESET_TICKADJ is defined but not PRESET_TICK. Please report this." >&2;}
14128 yes*no) # Read KMEM, PRESET_TICK but no PRESET_TICKADJ. Cool.
14130 yes*) # READ KMEM, PRESET_TICK and PRESET_TICKADJ.
14132 *) # Generally bogus.
14133 { { echo "$as_me:14133: error: This shouldn't happen." >&5
14134 echo "$as_me: error: This shouldn't happen." >&2;}
14135 { (exit 1); exit 1; }; }
14139 echo "$as_me:14139: checking if we want and can make the ntptime utility" >&5
14140 echo $ECHO_N "checking if we want and can make the ntptime utility... $ECHO_C" >&6
14141 if test "${ac_cv_make_ntptime+set}" = set; then
14142 echo $ECHO_N "(cached) $ECHO_C" >&6
14145 *) case "$ac_cv_struct_ntptimeval$ac_cv_var_kernel_pll" in
14155 ac_cv_make_ntptime=$ans
14157 echo "$as_me:14157: result: $ac_cv_make_ntptime" >&5
14158 echo "${ECHO_T}$ac_cv_make_ntptime" >&6
14159 case "$ac_cv_make_ntptime" in
14161 MAKE_NTPTIME=ntptime
14167 # tickadj is pretty useless on newer versions of ReliantUNIX
14169 ac_cv_make_tickadj=no
14172 ac_cv_make_tickadj=no
14175 # DLM says tickadj is a no-no starting with solaris2.5
14177 *-*-solaris2.0-4*) ;;
14178 *) ac_cv_make_tickadj=no ;;
14182 echo "$as_me:14182: checking if we want and can make the tickadj utility" >&5
14183 echo $ECHO_N "checking if we want and can make the tickadj utility... $ECHO_C" >&6
14184 if test "${ac_cv_make_tickadj+set}" = set; then
14185 echo $ECHO_N "(cached) $ECHO_C" >&6
14187 ac_cv_make_tickadj=yes
14189 echo "$as_me:14189: result: $ac_cv_make_tickadj" >&5
14190 echo "${ECHO_T}$ac_cv_make_tickadj" >&6
14191 case "$ac_cv_make_tickadj" in
14193 MAKE_TICKADJ=tickadj
14197 echo "$as_me:14197: checking if we want and can make the timetrim utility" >&5
14198 echo $ECHO_N "checking if we want and can make the timetrim utility... $ECHO_C" >&6
14199 if test "${ac_cv_make_timetrim+set}" = set; then
14200 echo $ECHO_N "(cached) $ECHO_C" >&6
14204 ac_cv_make_timetrim=yes
14207 ac_cv_make_timetrim=no
14211 echo "$as_me:14211: result: $ac_cv_make_timetrim" >&5
14212 echo "${ECHO_T}$ac_cv_make_timetrim" >&6
14213 case "$ac_cv_make_timetrim" in
14215 MAKE_TIMETRIM=timetrim
14219 echo "$as_me:14219: checking if we want UDP wildcard delivery" >&5
14220 echo $ECHO_N "checking if we want UDP wildcard delivery... $ECHO_C" >&6
14221 if test "${ac_cv_var_udp_wildcard_delivery+set}" = set; then
14222 echo $ECHO_N "(cached) $ECHO_C" >&6
14224 # Check whether --enable-udp-wildcard or --disable-udp-wildcard was given.
14225 if test "${enable_udp_wildcard+set}" = set; then
14226 enableval="$enable_udp_wildcard"
14275 ac_cv_var_udp_wildcard_delivery=$ans
14277 echo "$as_me:14277: result: $ac_cv_var_udp_wildcard_delivery" >&5
14278 echo "${ECHO_T}$ac_cv_var_udp_wildcard_delivery" >&6
14279 case "$ac_cv_var_udp_wildcard_delivery" in
14280 yes) cat >>confdefs.h <<\EOF
14281 #define UDP_WILDCARD_DELIVERY 1
14289 *) case "$target" in
14291 LDFLAGS="$LDFLAGS -r"
14297 echo "$as_me:14297: checking if we should always slew the time" >&5
14298 echo $ECHO_N "checking if we should always slew the time... $ECHO_C" >&6
14299 if test "${ac_cv_var_slew_always+set}" = set; then
14300 echo $ECHO_N "(cached) $ECHO_C" >&6
14302 # Check whether --enable-slew-always or --disable-slew-always was given.
14303 if test "${enable_slew_always+set}" = set; then
14304 enableval="$enable_slew_always"
14317 *-*-openvms*) # HMS: won't be found
14325 ac_cv_var_slew_always=$ans
14327 echo "$as_me:14327: result: $ac_cv_var_slew_always" >&5
14328 echo "${ECHO_T}$ac_cv_var_slew_always" >&6
14329 case "$ac_cv_var_slew_always" in
14330 yes) cat >>confdefs.h <<\EOF
14331 #define SLEWALWAYS 1
14336 echo "$as_me:14336: checking if we should step and slew the time" >&5
14337 echo $ECHO_N "checking if we should step and slew the time... $ECHO_C" >&6
14338 if test "${ac_cv_var_step_slew+set}" = set; then
14339 echo $ECHO_N "(cached) $ECHO_C" >&6
14341 # Check whether --enable-step-slew or --disable-step-slew was given.
14342 if test "${enable_step_slew+set}" = set; then
14343 enableval="$enable_step_slew"
14356 *-*-solaris2.[012]*)
14359 *-*-sysv4*) # HMS: Does this catch Fujitsu UXP?
14367 ac_cv_var_step_slew=$ans
14369 echo "$as_me:14369: result: $ac_cv_var_step_slew" >&5
14370 echo "${ECHO_T}$ac_cv_var_step_slew" >&6
14371 case "$ac_cv_var_step_slew" in
14372 yes) cat >>confdefs.h <<\EOF
14373 #define STEP_SLEW 1
14378 echo "$as_me:14378: checking if ntpdate should step the time" >&5
14379 echo $ECHO_N "checking if ntpdate should step the time... $ECHO_C" >&6
14380 if test "${ac_cv_var_ntpdate_step+set}" = set; then
14381 echo $ECHO_N "(cached) $ECHO_C" >&6
14383 # Check whether --enable-ntpdate-step or --disable-ntpdate-step was given.
14384 if test "${enable_ntpdate_step+set}" = set; then
14385 enableval="$enable_ntpdate_step"
14397 ac_cv_var_ntpdate_step=$ans
14399 echo "$as_me:14399: result: $ac_cv_var_ntpdate_step" >&5
14400 echo "${ECHO_T}$ac_cv_var_ntpdate_step" >&6
14401 case "$ac_cv_var_ntpdate_step" in
14402 yes) cat >>confdefs.h <<\EOF
14403 #define FORCE_NTPDATE_STEP 1
14408 echo "$as_me:14408: checking if we should sync TODR clock every hour" >&5
14409 echo $ECHO_N "checking if we should sync TODR clock every hour... $ECHO_C" >&6
14410 if test "${ac_cv_var_sync_todr+set}" = set; then
14411 echo $ECHO_N "(cached) $ECHO_C" >&6
14413 # Check whether --enable-hourly-todr-sync or --disable-hourly-todr-sync was given.
14414 if test "${enable_hourly_todr_sync+set}" = set; then
14415 enableval="$enable_hourly_todr_sync"
14422 *-*-openvms*) # HMS: won't be found
14429 ac_cv_var_sync_todr=$ans
14431 echo "$as_me:14431: result: $ac_cv_var_sync_todr" >&5
14432 echo "${ECHO_T}$ac_cv_var_sync_todr" >&6
14433 case "$ac_cv_var_sync_todr" in
14434 yes) cat >>confdefs.h <<\EOF
14435 #define DOSYNCTODR 1
14440 echo "$as_me:14440: checking if we should avoid kernel FLL bug" >&5
14441 echo $ECHO_N "checking if we should avoid kernel FLL bug... $ECHO_C" >&6
14442 if test "${ac_cv_var_kernel_fll_bug+set}" = set; then
14443 echo $ECHO_N "(cached) $ECHO_C" >&6
14445 # Check whether --enable-kernel-fll-bug or --disable-kernel-fll-bug was given.
14446 if test "${enable_kernel_fll_bug+set}" = set; then
14447 enableval="$enable_kernel_fll_bug"
14459 if test "$2" -ge 17
14461 # Generic_105181-17 and higher
14479 if test "$2" -ge 07
14481 # Generic_106541-07 and higher
14496 ac_cv_var_kernel_fll_bug=$ans
14498 echo "$as_me:14498: result: $ac_cv_var_kernel_fll_bug" >&5
14499 echo "${ECHO_T}$ac_cv_var_kernel_fll_bug" >&6
14500 case "$ac_cv_var_kernel_fll_bug" in
14501 yes) cat >>confdefs.h <<\EOF
14502 #define KERNEL_FLL_BUG 1
14510 *) case "$target" in
14512 LDFLAGS="$LDFLAGS -r"
14519 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
14520 test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
14521 eval echo \""$sysconfdir"\"
14524 cat >>confdefs.h <<EOF
14525 #define NTP_KEYSDIR "$ac_expanded"
14528 # This is necessary so that .o files in LIBOBJS are also built via
14529 # the ANSI2KNR-filtering rules.
14530 LIBOBJS=`echo $LIBOBJS|sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'`
14532 ac_config_files="$ac_config_files Makefile adjtimed/Makefile clockstuff/Makefile ElectricFence/Makefile include/Makefile kernel/Makefile kernel/sys/Makefile libntp/Makefile libparse/Makefile librsaref/Makefile ntpd/Makefile ntpdc/Makefile ntpdate/Makefile ntpq/Makefile ntptrace/Makefile parseutil/Makefile scripts/Makefile scripts/calc_tickadj scripts/checktime scripts/freq_adj scripts/mkver scripts/ntp-wait scripts/ntpsweep scripts/ntpver scripts/plot_summary scripts/summary util/Makefile"
14534 ac_config_commands="$ac_config_commands default"
14536 cat >confcache <<\_ACEOF
14537 # This file is a shell script that caches the results of configure
14538 # tests run on this system so they can be shared between configure
14539 # scripts and configure runs, see configure's option --config-cache.
14540 # It is not useful on other systems. If it contains results you don't
14541 # want to keep, you may remove or edit it.
14543 # config.status only pays attention to the cache file if you give it
14544 # the --recheck option to rerun configure.
14546 # `ac_cv_env_foo' variables (set or unset) will be overriden when
14547 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14548 # following values.
14552 # The following way of writing the cache mishandles newlines in values,
14553 # but we know of no workaround that is simple, portable, and efficient.
14554 # So, don't put newlines in cache variables' values.
14555 # Ultrix sh set writes to stderr and can't be redirected directly,
14556 # and sets the high bit in the cache file unless we assign to the vars.
14559 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14561 # `set' does not quote correctly, so add quotes (double-quote
14562 # substitution turns \\\\ into \\, and sed turns \\ into \).
14565 s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14568 # `set' quotes correctly as required by POSIX, so do not add quotes.
14570 "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
14577 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14579 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14581 if cmp -s $cache_file confcache; then :; else
14582 if test -w $cache_file; then
14583 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
14584 cat confcache >$cache_file
14586 echo "not updating unwritable cache $cache_file"
14591 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14592 # Let make expand exec_prefix.
14593 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14595 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14596 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14597 # trailing colons and then remove the whole line if VPATH becomes empty
14598 # (actually we leave an empty line to preserve line numbers).
14599 if test "x$srcdir" = x.; then
14600 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14601 s/:*\$(srcdir):*/:/;
14602 s/:*\${srcdir}:*/:/;
14604 s/^\([^=]*=[ ]*\):*/\1/;
14610 DEFS=-DHAVE_CONFIG_H
14612 : ${CONFIG_STATUS=./config.status}
14613 ac_clean_files_save=$ac_clean_files
14614 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14615 { echo "$as_me:14615: creating $CONFIG_STATUS" >&5
14616 echo "$as_me: creating $CONFIG_STATUS" >&6;}
14617 cat >$CONFIG_STATUS <<_ACEOF
14619 # Generated automatically by configure.
14620 # Run this file to recreate the current configuration.
14621 # Compiler output produced by configure, useful for debugging
14622 # configure, is in config.log if it exists.
14625 SHELL=\${CONFIG_SHELL-$SHELL}
14626 ac_cs_invocation="\$0 \$@"
14630 cat >>$CONFIG_STATUS <<\_ACEOF
14631 # Be Bourne compatible
14632 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14635 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
14639 # Name of the executable.
14640 as_me=`echo "$0" |sed 's,.*[\\/],,'`
14642 if expr a : '\(a\)' >/dev/null 2>&1; then
14648 rm -f conf$$ conf$$.exe conf$$.file
14650 if ln -s conf$$.file conf$$ 2>/dev/null; then
14651 # We could just check for DJGPP; but this test a) works b) is more generic
14652 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
14653 if test -f conf$$.exe; then
14654 # Don't use ln at all; we don't have any links
14659 elif ln conf$$.file conf$$ 2>/dev/null; then
14664 rm -f conf$$ conf$$.exe conf$$.file
14666 as_executable_p="test -f"
14668 # Support unset when possible.
14669 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
14676 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
14677 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
14678 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
14679 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
14680 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
14681 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
14682 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
14683 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
14686 # We need space, tab and new line, in precisely that order.
14692 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
14698 # Files that config.status was made for.
14699 if test -n "$ac_config_files"; then
14700 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
14703 if test -n "$ac_config_headers"; then
14704 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
14707 if test -n "$ac_config_links"; then
14708 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
14711 if test -n "$ac_config_commands"; then
14712 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
14715 cat >>$CONFIG_STATUS <<\EOF
14718 \`$as_me' instantiates files from templates according to the
14719 current configuration.
14721 Usage: $0 [OPTIONS] [FILE]...
14723 -h, --help print this help, then exit
14724 -V, --version print version number, then exit
14725 -d, --debug don't remove temporary files
14726 --recheck update $as_me by reconfiguring in the same conditions
14727 --file=FILE[:TEMPLATE]
14728 instantiate the configuration file FILE
14729 --header=FILE[:TEMPLATE]
14730 instantiate the configuration header FILE
14732 Configuration files:
14735 Configuration headers:
14738 Configuration commands:
14741 Report bugs to <bug-autoconf@gnu.org>."
14744 cat >>$CONFIG_STATUS <<EOF
14747 configured by $0, generated by GNU Autoconf 2.50,
14748 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
14750 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
14751 Free Software Foundation, Inc.
14752 This config.status script is free software; the Free Software Foundation
14753 gives unlimited permission to copy, distribute and modify it."
14758 cat >>$CONFIG_STATUS <<\EOF
14759 # If no file are specified by the user, then we need to provide default
14760 # value. By we need to know if files were specified by the user.
14766 ac_option=`expr "x$1" : 'x\([^=]*\)='`
14767 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
14769 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
14773 *) # This is not an option, so the user has probably given explicit
14775 ac_need_defaults=false;;
14779 # Handling of the options.
14781 cat >>$CONFIG_STATUS <<EOF
14782 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14783 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
14784 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
14786 cat >>$CONFIG_STATUS <<\EOF
14787 --version | --vers* | -V )
14788 echo "$ac_cs_version"; exit 0 ;;
14790 # Conflict between --help and --header
14791 { { echo "$as_me:14791: error: ambiguous option: $1
14792 Try \`$0 --help' for more information." >&5
14793 echo "$as_me: error: ambiguous option: $1
14794 Try \`$0 --help' for more information." >&2;}
14795 { (exit 1); exit 1; }; };;
14796 --help | --hel | -h )
14797 echo "$ac_cs_usage"; exit 0 ;;
14798 --debug | --d* | -d )
14800 --file | --fil | --fi | --f )
14802 CONFIG_FILES="$CONFIG_FILES $1"
14803 ac_need_defaults=false;;
14804 --header | --heade | --head | --hea )
14806 CONFIG_HEADERS="$CONFIG_HEADERS $1"
14807 ac_need_defaults=false;;
14809 # Handling of arguments.
14810 'Makefile' ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14811 'adjtimed/Makefile' ) CONFIG_FILES="$CONFIG_FILES adjtimed/Makefile" ;;
14812 'clockstuff/Makefile' ) CONFIG_FILES="$CONFIG_FILES clockstuff/Makefile" ;;
14813 'ElectricFence/Makefile' ) CONFIG_FILES="$CONFIG_FILES ElectricFence/Makefile" ;;
14814 'include/Makefile' ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
14815 'kernel/Makefile' ) CONFIG_FILES="$CONFIG_FILES kernel/Makefile" ;;
14816 'kernel/sys/Makefile' ) CONFIG_FILES="$CONFIG_FILES kernel/sys/Makefile" ;;
14817 'libntp/Makefile' ) CONFIG_FILES="$CONFIG_FILES libntp/Makefile" ;;
14818 'libparse/Makefile' ) CONFIG_FILES="$CONFIG_FILES libparse/Makefile" ;;
14819 'librsaref/Makefile' ) CONFIG_FILES="$CONFIG_FILES librsaref/Makefile" ;;
14820 'ntpd/Makefile' ) CONFIG_FILES="$CONFIG_FILES ntpd/Makefile" ;;
14821 'ntpdc/Makefile' ) CONFIG_FILES="$CONFIG_FILES ntpdc/Makefile" ;;
14822 'ntpdate/Makefile' ) CONFIG_FILES="$CONFIG_FILES ntpdate/Makefile" ;;
14823 'ntpq/Makefile' ) CONFIG_FILES="$CONFIG_FILES ntpq/Makefile" ;;
14824 'ntptrace/Makefile' ) CONFIG_FILES="$CONFIG_FILES ntptrace/Makefile" ;;
14825 'parseutil/Makefile' ) CONFIG_FILES="$CONFIG_FILES parseutil/Makefile" ;;
14826 'scripts/Makefile' ) CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
14827 'scripts/calc_tickadj' ) CONFIG_FILES="$CONFIG_FILES scripts/calc_tickadj" ;;
14828 'scripts/checktime' ) CONFIG_FILES="$CONFIG_FILES scripts/checktime" ;;
14829 'scripts/freq_adj' ) CONFIG_FILES="$CONFIG_FILES scripts/freq_adj" ;;
14830 'scripts/mkver' ) CONFIG_FILES="$CONFIG_FILES scripts/mkver" ;;
14831 'scripts/ntp-wait' ) CONFIG_FILES="$CONFIG_FILES scripts/ntp-wait" ;;
14832 'scripts/ntpsweep' ) CONFIG_FILES="$CONFIG_FILES scripts/ntpsweep" ;;
14833 'scripts/ntpver' ) CONFIG_FILES="$CONFIG_FILES scripts/ntpver" ;;
14834 'scripts/plot_summary' ) CONFIG_FILES="$CONFIG_FILES scripts/plot_summary" ;;
14835 'scripts/summary' ) CONFIG_FILES="$CONFIG_FILES scripts/summary" ;;
14836 'util/Makefile' ) CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
14837 'default-1' ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
14838 'default-2' ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;;
14839 'default' ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
14840 'config.h' ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14842 # This is an error.
14843 -*) { { echo "$as_me:14843: error: unrecognized option: $1
14844 Try \`$0 --help' for more information." >&5
14845 echo "$as_me: error: unrecognized option: $1
14846 Try \`$0 --help' for more information." >&2;}
14847 { (exit 1); exit 1; }; } ;;
14848 *) { { echo "$as_me:14848: error: invalid argument: $1" >&5
14849 echo "$as_me: error: invalid argument: $1" >&2;}
14850 { (exit 1); exit 1; }; };;
14858 ## ----------------------- ##
14859 ## Running config.status. ##
14860 ## ----------------------- ##
14862 This file was extended by $as_me 2.50, executed with
14863 > $ac_cs_invocation
14864 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14869 cat >>$CONFIG_STATUS <<\EOF
14870 # If the user did not use the arguments to specify the items to instantiate,
14871 # then the envvar interface is used. Set only those that are not.
14872 # We use the long form for the default assignment because of an extremely
14873 # bizarre bug on SunOS 4.1.3.
14874 if $ac_need_defaults; then
14875 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14876 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14877 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14880 # Create a temporary directory, and hook for its removal unless debugging.
14883 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
14884 trap '{ (exit $?); exit $?; }' 1 2 13 15
14887 # Create a (secure) tmp directory for tmp files.
14890 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
14891 test -n "$tmp" && test -d "$tmp"
14894 tmp=$TMPDIR/cs$$-$RANDOM
14895 (umask 077 && mkdir $tmp)
14898 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
14899 { (exit 1); exit 1; }
14904 cat >>$CONFIG_STATUS <<EOF
14906 # INIT-COMMANDS section.
14910 for am_file in config.h; do
14911 case " $CONFIG_HEADERS " in
14913 echo timestamp > `echo $am_file | sed 's%:.*%%;s%[^/]*$%%'`stamp-h$am_indx
14916 am_indx=\`expr \$am_indx + 1\`
14919 ac_aux_dir="$ac_aux_dir"
14923 cat >>$CONFIG_STATUS <<EOF
14926 # CONFIG_FILES section.
14929 # No need to generate the scripts if there are no CONFIG_FILES.
14930 # This happens for instance when ./config.status config.h
14931 if test -n "\$CONFIG_FILES"; then
14932 # Protect against being on the right side of a sed subst in config.status.
14933 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
14934 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
14935 s,@SHELL@,$SHELL,;t t
14936 s,@exec_prefix@,$exec_prefix,;t t
14937 s,@prefix@,$prefix,;t t
14938 s,@program_transform_name@,$program_transform_name,;t t
14939 s,@bindir@,$bindir,;t t
14940 s,@sbindir@,$sbindir,;t t
14941 s,@libexecdir@,$libexecdir,;t t
14942 s,@datadir@,$datadir,;t t
14943 s,@sysconfdir@,$sysconfdir,;t t
14944 s,@sharedstatedir@,$sharedstatedir,;t t
14945 s,@localstatedir@,$localstatedir,;t t
14946 s,@libdir@,$libdir,;t t
14947 s,@includedir@,$includedir,;t t
14948 s,@oldincludedir@,$oldincludedir,;t t
14949 s,@infodir@,$infodir,;t t
14950 s,@mandir@,$mandir,;t t
14951 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
14952 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
14953 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
14954 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
14955 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
14956 s,@ECHO_C@,$ECHO_C,;t t
14957 s,@ECHO_N@,$ECHO_N,;t t
14958 s,@ECHO_T@,$ECHO_T,;t t
14959 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
14960 s,@DEFS@,$DEFS,;t t
14961 s,@LIBS@,$LIBS,;t t
14962 s,@build@,$build,;t t
14963 s,@build_cpu@,$build_cpu,;t t
14964 s,@build_vendor@,$build_vendor,;t t
14965 s,@build_os@,$build_os,;t t
14966 s,@host@,$host,;t t
14967 s,@host_cpu@,$host_cpu,;t t
14968 s,@host_vendor@,$host_vendor,;t t
14969 s,@host_os@,$host_os,;t t
14970 s,@target@,$target,;t t
14971 s,@target_cpu@,$target_cpu,;t t
14972 s,@target_vendor@,$target_vendor,;t t
14973 s,@target_os@,$target_os,;t t
14974 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
14975 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
14976 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
14977 s,@PACKAGE@,$PACKAGE,;t t
14978 s,@VERSION@,$VERSION,;t t
14979 s,@ACLOCAL@,$ACLOCAL,;t t
14980 s,@AUTOCONF@,$AUTOCONF,;t t
14981 s,@AUTOMAKE@,$AUTOMAKE,;t t
14982 s,@AUTOHEADER@,$AUTOHEADER,;t t
14983 s,@MAKEINFO@,$MAKEINFO,;t t
14984 s,@AMTAR@,$AMTAR,;t t
14985 s,@install_sh@,$install_sh,;t t
14986 s,@STRIP@,$STRIP,;t t
14987 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
14988 s,@INSTALL_STRIP_PROGRAM_ENV@,$INSTALL_STRIP_PROGRAM_ENV,;t t
14990 s,@SET_MAKE@,$SET_MAKE,;t t
14991 s,@AMDEP@,$AMDEP,;t t
14992 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
14993 s,@DEPDIR@,$DEPDIR,;t t
14995 s,@CFLAGS@,$CFLAGS,;t t
14996 s,@LDFLAGS@,$LDFLAGS,;t t
14997 s,@CPPFLAGS@,$CPPFLAGS,;t t
14998 s,@ac_ct_CC@,$ac_ct_CC,;t t
14999 s,@EXEEXT@,$EXEEXT,;t t
15000 s,@OBJEXT@,$OBJEXT,;t t
15002 s,@_am_include@,$_am_include,;t t
15003 s,@CCDEPMODE@,$CCDEPMODE,;t t
15004 s,@LN_S@,$LN_S,;t t
15005 s,@RANLIB@,$RANLIB,;t t
15006 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
15007 s,@PATH_SH@,$PATH_SH,;t t
15008 s,@PATH_PERL@,$PATH_PERL,;t t
15010 s,@ANSI2KNR@,$ANSI2KNR,;t t
15011 s,@LIBOBJS@,$LIBOBJS,;t t
15012 s,@LIBPARSE@,$LIBPARSE,;t t
15013 s,@MAKE_LIBPARSE@,$MAKE_LIBPARSE,;t t
15014 s,@MAKE_LIBPARSE_KERNEL@,$MAKE_LIBPARSE_KERNEL,;t t
15015 s,@MAKE_CHECK_Y2K@,$MAKE_CHECK_Y2K,;t t
15016 s,@RSAOBJS@,$RSAOBJS,;t t
15017 s,@RSASRCS@,$RSASRCS,;t t
15018 s,@RSADIR@,$RSADIR,;t t
15019 s,@RSAREF@,$RSAREF,;t t
15020 s,@LIBRSAREF@,$LIBRSAREF,;t t
15021 s,@MAKE_LIBRSAREF@,$MAKE_LIBRSAREF,;t t
15022 s,@OPENSSL@,$OPENSSL,;t t
15023 s,@OPENSSL_INC@,$OPENSSL_INC,;t t
15024 s,@OPENSSL_LIB@,$OPENSSL_LIB,;t t
15025 s,@MAKE_NTP_GENKEYS@,$MAKE_NTP_GENKEYS,;t t
15026 s,@AUTOKEY@,$AUTOKEY,;t t
15027 s,@EF_PROGS@,$EF_PROGS,;t t
15028 s,@EF_LIBS@,$EF_LIBS,;t t
15029 s,@TESTDCF@,$TESTDCF,;t t
15030 s,@DCFD@,$DCFD,;t t
15031 s,@MAKE_PARSEKMODULE@,$MAKE_PARSEKMODULE,;t t
15032 s,@PROPDELAY@,$PROPDELAY,;t t
15033 s,@CHUTEST@,$CHUTEST,;t t
15034 s,@CLKTEST@,$CLKTEST,;t t
15035 s,@MAKE_ADJTIMED@,$MAKE_ADJTIMED,;t t
15036 s,@MAKE_NTPTIME@,$MAKE_NTPTIME,;t t
15037 s,@MAKE_TICKADJ@,$MAKE_TICKADJ,;t t
15038 s,@MAKE_TIMETRIM@,$MAKE_TIMETRIM,;t t
15043 cat >>$CONFIG_STATUS <<\EOF
15044 # Split the substitutions into bite-sized pieces for seds with
15045 # small command number limits, like on Digital OSF/1 and HP-UX.
15046 ac_max_sed_lines=48
15047 ac_sed_frag=1 # Number of current file.
15048 ac_beg=1 # First line for current file.
15049 ac_end=$ac_max_sed_lines # Line after last line for current file.
15052 while $ac_more_lines; do
15053 if test $ac_beg -gt 1; then
15054 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
15056 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
15058 if test ! -s $tmp/subs.frag; then
15059 ac_more_lines=false
15061 # The purpose of the label and of the branching condition is to
15062 # speed up the sed processing (if there are no `@' at all, there
15063 # is no need to browse any of the substitutions).
15064 # These are the two extra sed commands mentioned above.
15066 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
15067 if test -z "$ac_sed_cmds"; then
15068 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
15070 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
15072 ac_sed_frag=`expr $ac_sed_frag + 1`
15074 ac_end=`expr $ac_end + $ac_max_sed_lines`
15077 if test -z "$ac_sed_cmds"; then
15080 fi # test -n "$CONFIG_FILES"
15083 cat >>$CONFIG_STATUS <<\EOF
15084 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
15085 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15087 - | *:- | *:-:* ) # input from stdin
15089 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15090 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15091 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15092 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15093 * ) ac_file_in=$ac_file.in ;;
15096 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
15097 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15098 X"$ac_file" : 'X\(//\)[^/]' \| \
15099 X"$ac_file" : 'X\(//\)$' \| \
15100 X"$ac_file" : 'X\(/\)' \| \
15101 . : '\(.\)' 2>/dev/null ||
15103 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15104 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15105 /^X\(\/\/\)$/{ s//\1/; q; }
15106 /^X\(\/\).*/{ s//\1/; q; }
15108 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
15109 { case "$ac_dir" in
15110 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
15114 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
15115 case $as_mkdir_dir in
15116 # Skip DOS drivespec
15117 ?:) as_incr_dir=$as_mkdir_dir ;;
15119 as_incr_dir=$as_incr_dir/$as_mkdir_dir
15120 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
15125 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
15126 # A "../" for each directory in $ac_dir_suffix.
15127 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
15129 ac_dir_suffix= ac_dots=
15134 if test -z "$ac_dots"; then
15137 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
15139 [\\/]* | ?:[\\/]* )
15140 ac_srcdir=$srcdir$ac_dir_suffix;
15141 ac_top_srcdir=$srcdir ;;
15142 *) # Relative path.
15143 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
15144 ac_top_srcdir=$ac_dots$srcdir ;;
15148 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15149 *) ac_INSTALL=$ac_dots$INSTALL ;;
15152 if test x"$ac_file" != x-; then
15153 { echo "$as_me:15153: creating $ac_file" >&5
15154 echo "$as_me: creating $ac_file" >&6;}
15157 # Let's still pretend it is `configure' which instantiates (i.e., don't
15158 # use $as_me), people would be surprised to read:
15159 # /* config.h. Generated automatically by config.status. */
15160 configure_input="Generated automatically from `echo $ac_file_in |
15161 sed 's,.*/,,'` by configure."
15163 # First look for the input files in the build tree, otherwise in the
15165 ac_file_inputs=`IFS=:
15166 for f in $ac_file_in; do
15168 -) echo $tmp/stdin ;;
15170 # Absolute (can't be DOS-style, as IFS=:)
15171 test -f "$f" || { { echo "$as_me:15171: error: cannot find input file: $f" >&5
15172 echo "$as_me: error: cannot find input file: $f" >&2;}
15173 { (exit 1); exit 1; }; }
15176 if test -f "$f"; then
15179 elif test -f "$srcdir/$f"; then
15184 { { echo "$as_me:15184: error: cannot find input file: $f" >&5
15185 echo "$as_me: error: cannot find input file: $f" >&2;}
15186 { (exit 1); exit 1; }; }
15189 done` || { (exit 1); exit 1; }
15191 cat >>$CONFIG_STATUS <<EOF
15195 cat >>$CONFIG_STATUS <<\EOF
15197 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15198 s,@configure_input@,$configure_input,;t t
15199 s,@srcdir@,$ac_srcdir,;t t
15200 s,@top_srcdir@,$ac_top_srcdir,;t t
15201 s,@INSTALL@,$ac_INSTALL,;t t
15202 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
15204 if test x"$ac_file" != x-; then
15205 mv $tmp/out $ac_file
15213 cat >>$CONFIG_STATUS <<\EOF
15216 # CONFIG_HEADER section.
15219 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
15220 # NAME is the cpp macro being defined and VALUE is the value it is being given.
15222 # ac_d sets the value in "#define NAME VALUE" lines.
15223 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
15224 ac_dB='[ ].*$,\1#\2'
15227 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
15228 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15229 ac_uB='$,\1#\2define\3'
15233 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
15234 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15236 - | *:- | *:-:* ) # input from stdin
15238 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15239 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15240 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15241 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15242 * ) ac_file_in=$ac_file.in ;;
15245 test x"$ac_file" != x- && { echo "$as_me:15245: creating $ac_file" >&5
15246 echo "$as_me: creating $ac_file" >&6;}
15248 # First look for the input files in the build tree, otherwise in the
15250 ac_file_inputs=`IFS=:
15251 for f in $ac_file_in; do
15253 -) echo $tmp/stdin ;;
15255 # Absolute (can't be DOS-style, as IFS=:)
15256 test -f "$f" || { { echo "$as_me:15256: error: cannot find input file: $f" >&5
15257 echo "$as_me: error: cannot find input file: $f" >&2;}
15258 { (exit 1); exit 1; }; }
15261 if test -f "$f"; then
15264 elif test -f "$srcdir/$f"; then
15269 { { echo "$as_me:15269: error: cannot find input file: $f" >&5
15270 echo "$as_me: error: cannot find input file: $f" >&2;}
15271 { (exit 1); exit 1; }; }
15274 done` || { (exit 1); exit 1; }
15275 # Remove the trailing spaces.
15276 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
15280 # Transform confdefs.h into two sed scripts, `conftest.defines' and
15281 # `conftest.undefs', that substitutes the proper values into
15282 # config.h.in to produce config.h. The first handles `#define'
15283 # templates, and the second `#undef' templates.
15284 # And first: Protect against being on the right side of a sed subst in
15285 # config.status. Protect against being in an unquoted here document
15286 # in config.status.
15287 rm -f conftest.defines conftest.undefs
15288 # Using a here document instead of a string reduces the quoting nightmare.
15289 # Putting comments in sed scripts is not portable.
15291 # `end' is used to avoid that the second main sed command (meant for
15292 # 0-ary CPP macros) applies to n-ary macro definitions.
15293 # See the Autoconf documentation for `clear'.
15294 cat >confdef2sed.sed <<\EOF
15299 s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
15301 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
15304 # If some macros were called several times there might be several times
15305 # the same #defines, which is useless. Nevertheless, we may not want to
15306 # sort them, since we want the *last* AC-DEFINE to be honored.
15307 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
15308 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
15309 rm -f confdef2sed.sed
15311 # This sed command replaces #undef with comments. This is necessary, for
15312 # example, in the case of _POSIX_SOURCE, which is predefined and required
15313 # on some systems where configure will not decide to define it.
15314 cat >>conftest.undefs <<\EOF
15315 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
15318 # Break up conftest.defines because some shells have a limit on the size
15319 # of here documents, and old seds have small limits too (100 cmds).
15320 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
15321 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
15322 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
15323 echo ' :' >>$CONFIG_STATUS
15324 rm -f conftest.tail
15325 while grep . conftest.defines >/dev/null
15327 # Write a limited-size here document to $tmp/defines.sed.
15328 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
15329 # Speed up: don't consider the non `#define' lines.
15330 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
15331 # Work around the forget-to-reset-the-flag bug.
15332 echo 't clr' >>$CONFIG_STATUS
15333 echo ': clr' >>$CONFIG_STATUS
15334 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
15336 sed -f $tmp/defines.sed $tmp/in >$tmp/out
15338 mv $tmp/out $tmp/in
15340 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
15341 rm -f conftest.defines
15342 mv conftest.tail conftest.defines
15344 rm -f conftest.defines
15345 echo ' fi # egrep' >>$CONFIG_STATUS
15346 echo >>$CONFIG_STATUS
15348 # Break up conftest.undefs because some shells have a limit on the size
15349 # of here documents, and old seds have small limits too (100 cmds).
15350 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
15351 rm -f conftest.tail
15352 while grep . conftest.undefs >/dev/null
15354 # Write a limited-size here document to $tmp/undefs.sed.
15355 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
15356 # Speed up: don't consider the non `#undef'
15357 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
15358 # Work around the forget-to-reset-the-flag bug.
15359 echo 't clr' >>$CONFIG_STATUS
15360 echo ': clr' >>$CONFIG_STATUS
15361 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
15363 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
15365 mv $tmp/out $tmp/in
15367 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
15368 rm -f conftest.undefs
15369 mv conftest.tail conftest.undefs
15371 rm -f conftest.undefs
15373 cat >>$CONFIG_STATUS <<\EOF
15374 # Let's still pretend it is `configure' which instantiates (i.e., don't
15375 # use $as_me), people would be surprised to read:
15376 # /* config.h. Generated automatically by config.status. */
15377 if test x"$ac_file" = x-; then
15378 echo "/* Generated automatically by configure. */" >$tmp/config.h
15380 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
15382 cat $tmp/in >>$tmp/config.h
15384 if test x"$ac_file" != x-; then
15385 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
15386 { echo "$as_me:15386: $ac_file is unchanged" >&5
15387 echo "$as_me: $ac_file is unchanged" >&6;}
15389 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15390 X"$ac_file" : 'X\(//\)[^/]' \| \
15391 X"$ac_file" : 'X\(//\)$' \| \
15392 X"$ac_file" : 'X\(/\)' \| \
15393 . : '\(.\)' 2>/dev/null ||
15395 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15396 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15397 /^X\(\/\/\)$/{ s//\1/; q; }
15398 /^X\(\/\).*/{ s//\1/; q; }
15400 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
15401 { case "$ac_dir" in
15402 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
15406 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
15407 case $as_mkdir_dir in
15408 # Skip DOS drivespec
15409 ?:) as_incr_dir=$as_mkdir_dir ;;
15411 as_incr_dir=$as_incr_dir/$as_mkdir_dir
15412 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
15419 mv $tmp/config.h $ac_file
15423 rm -f $tmp/config.h
15427 cat >>$CONFIG_STATUS <<\EOF
15430 # CONFIG_COMMANDS section.
15432 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
15433 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
15434 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
15437 default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
15439 test x"$AMDEP" != x"" ||
15440 for mf in $CONFIG_FILES; do
15442 Makefile) dirpart=.;;
15443 */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
15446 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
15447 # Extract the definition of DEP_FILES from the Makefile without
15449 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
15450 test -z "$DEPDIR" && continue
15451 # When using ansi2knr, U may be empty or an underscore; expand it
15452 U=`sed -n -e '/^U = / s///p' < "$mf"`
15453 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
15454 # We invoke sed twice because it is the simplest approach to
15455 # changing $(DEPDIR) to its actual value in the expansion.
15456 for file in `sed -n -e '
15457 /^DEP_FILES = .*\\\\$/ {
15466 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
15467 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15468 # Make sure the directory exists.
15469 test -f "$dirpart/$file" && continue
15470 fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
15471 $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
15472 # echo "creating $dirpart/$file"
15473 echo '# dummy' > "$dirpart/$file"
15477 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 ;;
15482 cat >>$CONFIG_STATUS <<\EOF
15484 { (exit 0); exit 0; }
15486 chmod +x $CONFIG_STATUS
15487 ac_clean_files=$ac_clean_files_save
15489 # configure is writing to config.log, and then calls config.status.
15490 # config.status does its own redirection, appending to config.log.
15491 # Unfortunately, on DOS this fails, as config.log is still kept open
15492 # by configure, so config.status won't be able to write to it; its
15493 # output is simply discarded. So we exec the FD to /dev/null,
15494 # effectively closing config.log, so it can be properly (re)opened and
15495 # appended to by config.status. When coming back to configure, we
15496 # need to make the FD available again.
15497 if test "$no_create" != yes; then
15500 $SHELL $CONFIG_STATUS || ac_cs_success=false
15502 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15503 # would make configure fail if this is the last instruction.
15504 $ac_cs_success || { (exit 1); exit 1; }
15507 #test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h])