2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for ntp 4.2.4p5.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # Check that we are running under the correct shell.
246 SHELL=${CONFIG_SHELL-/bin/sh}
250 # Remove one level of quotation (which was required for Make).
251 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
256 if test "X$1" = X--no-reexec; then
257 # Discard the --no-reexec flag, and continue.
259 elif test "X$1" = X--fallback-echo; then
260 # Avoid inline document here, it may be left over
262 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $echo works!
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo; then
271 # used as fallback echo
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
283 if test -z "$ECHO"; then
284 if test "X${echo_test_string+set}" != Xset; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if (echo_test_string=`eval $cmd`) 2>/dev/null &&
289 echo_test_string=`eval $cmd` &&
290 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
297 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
298 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
299 test "X$echo_testing_string" = "X$echo_test_string"; then
302 # The Solaris, AIX, and Digital Unix default echo programs unquote
303 # backslashes. This makes it impossible to quote backslashes using
304 # echo "$something" | sed 's/\\/\\\\/g'
306 # So, first we look for a working echo in the user's PATH.
308 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
309 for dir in $PATH /usr/ucb; do
311 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
312 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
313 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
314 test "X$echo_testing_string" = "X$echo_test_string"; then
321 if test "X$echo" = Xecho; then
322 # We didn't find a better echo, so look for alternatives.
323 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
324 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
325 test "X$echo_testing_string" = "X$echo_test_string"; then
326 # This shell has a builtin print -r that does the trick.
328 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
329 test "X$CONFIG_SHELL" != X/bin/ksh; then
330 # If we have ksh, try running configure again with it.
331 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
332 export ORIGINAL_CONFIG_SHELL
333 CONFIG_SHELL=/bin/ksh
335 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
339 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
340 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
341 test "X$echo_testing_string" = "X$echo_test_string"; then
344 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
345 test "X$echo_testing_string" = 'X\t' &&
346 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
347 test "X$echo_testing_string" = "X$echo_test_string"; then
348 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
350 SHELL="$CONFIG_SHELL"
352 echo="$CONFIG_SHELL $0 --fallback-echo"
353 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
354 test "X$echo_testing_string" = 'X\t' &&
355 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
356 test "X$echo_testing_string" = "X$echo_test_string"; then
357 echo="$CONFIG_SHELL $0 --fallback-echo"
359 # maybe with a smaller string...
362 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
363 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
370 if test "$prev" != 'sed 50q "$0"'; then
371 echo_test_string=`eval $prev`
372 export echo_test_string
373 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
375 # Oops. We lost completely, so just stick with echo.
384 # Copy echo and quote the copy suitably for passing to libtool from
385 # the Makefile, instead of quoting the original, which is used later.
387 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
388 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
394 tagnames=${tagnames+${tagnames},}CXX
396 tagnames=${tagnames+${tagnames},}F77
399 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
400 # so uname gets run too.
401 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
408 ac_default_prefix=/usr/local
409 ac_config_libobj_dir=.
414 SHELL=${CONFIG_SHELL-/bin/sh}
416 # Maximum number of lines to put in a shell here document.
417 # This variable seems obsolete. It should probably be removed, and
418 # only ac_max_sed_lines should be used.
419 : ${ac_max_here_lines=38}
421 # Identity of this package.
423 PACKAGE_TARNAME='ntp'
424 PACKAGE_VERSION='4.2.4p5'
425 PACKAGE_STRING='ntp 4.2.4p5'
428 # Factoring default headers for most tests.
429 ac_includes_default="\
432 # include <sys/types.h>
435 # include <sys/stat.h>
446 # if !STDC_HEADERS && HAVE_MEMORY_H
452 # include <strings.h>
455 # include <inttypes.h>
465 ac_subdirs_all="$ac_subdirs_all arlib"
466 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP LIBOPTS_DIR INSTALL_LIBOPTS_TRUE INSTALL_LIBOPTS_FALSE NEED_LIBOPTS_TRUE NEED_LIBOPTS_FALSE LIBOPTS_LDADD LIBOPTS_CFLAGS BINSUBDIR subdirs ARLIB_DIR LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL PATH_SH PATH_PERL READLINE_LIBS U ANSI2KNR LIBPARSE MAKE_LIBPARSE MAKE_LIBPARSE_KERNEL MAKE_CHECK_Y2K OPENSSL OPENSSL_INC OPENSSL_LIB LCRYPTO EF_PROGS EF_LIBS MAKE_CHECK_LAYOUT TESTDCF DCFD MAKE_PARSEKMODULE PROPDELAY CHUTEST CLKTEST MAKE_ADJTIMED MAKE_NTPTIME MAKE_TICKADJ MAKE_TIMETRIM MAKE_LIBNTPSIM MAKE_NTPDSIM LIBOBJS LTLIBOBJS'
469 # Initialize some variables set by options.
471 ac_init_version=false
472 # The variables have the same names as the options, with
473 # dashes changed to underlines.
481 program_transform_name=s,x,x,
489 # Installation directory options.
490 # These are left unexpanded so users can "make install exec_prefix=/foo"
491 # and all the variables that are supposed to be based on exec_prefix
492 # by default will actually change.
493 # Use braces instead of parens because sh, perl, etc. also accept them.
494 bindir='${exec_prefix}/bin'
495 sbindir='${exec_prefix}/sbin'
496 libexecdir='${exec_prefix}/libexec'
497 datadir='${prefix}/share'
498 sysconfdir='${prefix}/etc'
499 sharedstatedir='${prefix}/com'
500 localstatedir='${prefix}/var'
501 libdir='${exec_prefix}/lib'
502 includedir='${prefix}/include'
503 oldincludedir='/usr/include'
504 infodir='${prefix}/info'
505 mandir='${prefix}/man'
510 # If the previous option needs an argument, assign it.
511 if test -n "$ac_prev"; then
512 eval "$ac_prev=\$ac_option"
517 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
519 # Accept the important Cygnus configure options, so we can diagnose typos.
523 -bindir | --bindir | --bindi | --bind | --bin | --bi)
525 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
528 -build | --build | --buil | --bui | --bu)
529 ac_prev=build_alias ;;
530 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
531 build_alias=$ac_optarg ;;
533 -cache-file | --cache-file | --cache-fil | --cache-fi \
534 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
535 ac_prev=cache_file ;;
536 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
537 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
538 cache_file=$ac_optarg ;;
541 cache_file=config.cache ;;
543 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
545 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
547 datadir=$ac_optarg ;;
549 -disable-* | --disable-*)
550 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
551 # Reject names that are not valid shell variable names.
552 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
553 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
554 { (exit 1); exit 1; }; }
555 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
556 eval "enable_$ac_feature=no" ;;
558 -enable-* | --enable-*)
559 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
560 # Reject names that are not valid shell variable names.
561 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
562 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
563 { (exit 1); exit 1; }; }
564 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
566 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
569 eval "enable_$ac_feature='$ac_optarg'" ;;
571 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
572 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
573 | --exec | --exe | --ex)
574 ac_prev=exec_prefix ;;
575 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
576 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
577 | --exec=* | --exe=* | --ex=*)
578 exec_prefix=$ac_optarg ;;
580 -gas | --gas | --ga | --g)
581 # Obsolete; use --with-gas.
584 -help | --help | --hel | --he | -h)
586 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
587 ac_init_help=recursive ;;
588 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
589 ac_init_help=short ;;
591 -host | --host | --hos | --ho)
592 ac_prev=host_alias ;;
593 -host=* | --host=* | --hos=* | --ho=*)
594 host_alias=$ac_optarg ;;
596 -includedir | --includedir | --includedi | --included | --include \
597 | --includ | --inclu | --incl | --inc)
598 ac_prev=includedir ;;
599 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
600 | --includ=* | --inclu=* | --incl=* | --inc=*)
601 includedir=$ac_optarg ;;
603 -infodir | --infodir | --infodi | --infod | --info | --inf)
605 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
606 infodir=$ac_optarg ;;
608 -libdir | --libdir | --libdi | --libd)
610 -libdir=* | --libdir=* | --libdi=* | --libd=*)
613 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
614 | --libexe | --libex | --libe)
615 ac_prev=libexecdir ;;
616 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
617 | --libexe=* | --libex=* | --libe=*)
618 libexecdir=$ac_optarg ;;
620 -localstatedir | --localstatedir | --localstatedi | --localstated \
621 | --localstate | --localstat | --localsta | --localst \
622 | --locals | --local | --loca | --loc | --lo)
623 ac_prev=localstatedir ;;
624 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
625 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
626 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
627 localstatedir=$ac_optarg ;;
629 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
631 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
635 # Obsolete; use --without-fp.
638 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
639 | --no-cr | --no-c | -n)
642 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
643 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
646 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
647 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
648 | --oldin | --oldi | --old | --ol | --o)
649 ac_prev=oldincludedir ;;
650 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
651 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
652 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
653 oldincludedir=$ac_optarg ;;
655 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
657 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
660 -program-prefix | --program-prefix | --program-prefi | --program-pref \
661 | --program-pre | --program-pr | --program-p)
662 ac_prev=program_prefix ;;
663 -program-prefix=* | --program-prefix=* | --program-prefi=* \
664 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
665 program_prefix=$ac_optarg ;;
667 -program-suffix | --program-suffix | --program-suffi | --program-suff \
668 | --program-suf | --program-su | --program-s)
669 ac_prev=program_suffix ;;
670 -program-suffix=* | --program-suffix=* | --program-suffi=* \
671 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
672 program_suffix=$ac_optarg ;;
674 -program-transform-name | --program-transform-name \
675 | --program-transform-nam | --program-transform-na \
676 | --program-transform-n | --program-transform- \
677 | --program-transform | --program-transfor \
678 | --program-transfo | --program-transf \
679 | --program-trans | --program-tran \
680 | --progr-tra | --program-tr | --program-t)
681 ac_prev=program_transform_name ;;
682 -program-transform-name=* | --program-transform-name=* \
683 | --program-transform-nam=* | --program-transform-na=* \
684 | --program-transform-n=* | --program-transform-=* \
685 | --program-transform=* | --program-transfor=* \
686 | --program-transfo=* | --program-transf=* \
687 | --program-trans=* | --program-tran=* \
688 | --progr-tra=* | --program-tr=* | --program-t=*)
689 program_transform_name=$ac_optarg ;;
691 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
692 | -silent | --silent | --silen | --sile | --sil)
695 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
697 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
699 sbindir=$ac_optarg ;;
701 -sharedstatedir | --sharedstatedir | --sharedstatedi \
702 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
703 | --sharedst | --shareds | --shared | --share | --shar \
705 ac_prev=sharedstatedir ;;
706 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
707 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
708 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
710 sharedstatedir=$ac_optarg ;;
712 -site | --site | --sit)
714 -site=* | --site=* | --sit=*)
717 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
719 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
722 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
723 | --syscon | --sysco | --sysc | --sys | --sy)
724 ac_prev=sysconfdir ;;
725 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
726 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
727 sysconfdir=$ac_optarg ;;
729 -target | --target | --targe | --targ | --tar | --ta | --t)
730 ac_prev=target_alias ;;
731 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
732 target_alias=$ac_optarg ;;
734 -v | -verbose | --verbose | --verbos | --verbo | --verb)
737 -version | --version | --versio | --versi | --vers | -V)
741 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
742 # Reject names that are not valid shell variable names.
743 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
744 { echo "$as_me: error: invalid package name: $ac_package" >&2
745 { (exit 1); exit 1; }; }
746 ac_package=`echo $ac_package| sed 's/-/_/g'`
748 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
751 eval "with_$ac_package='$ac_optarg'" ;;
753 -without-* | --without-*)
754 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
755 # Reject names that are not valid shell variable names.
756 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
757 { echo "$as_me: error: invalid package name: $ac_package" >&2
758 { (exit 1); exit 1; }; }
759 ac_package=`echo $ac_package | sed 's/-/_/g'`
760 eval "with_$ac_package=no" ;;
763 # Obsolete; use --with-x.
766 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
767 | --x-incl | --x-inc | --x-in | --x-i)
768 ac_prev=x_includes ;;
769 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
770 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
771 x_includes=$ac_optarg ;;
773 -x-libraries | --x-libraries | --x-librarie | --x-librari \
774 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
775 ac_prev=x_libraries ;;
776 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
777 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
778 x_libraries=$ac_optarg ;;
780 -*) { echo "$as_me: error: unrecognized option: $ac_option
781 Try \`$0 --help' for more information." >&2
782 { (exit 1); exit 1; }; }
786 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
787 # Reject names that are not valid shell variable names.
788 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
789 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
790 { (exit 1); exit 1; }; }
791 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
792 eval "$ac_envvar='$ac_optarg'"
796 # FIXME: should be removed in autoconf 3.0.
797 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
798 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
799 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
800 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
806 if test -n "$ac_prev"; then
807 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
808 { echo "$as_me: error: missing argument to $ac_option" >&2
809 { (exit 1); exit 1; }; }
812 # Be sure to have absolute paths.
813 for ac_var in exec_prefix prefix
815 eval ac_val=$`echo $ac_var`
817 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
818 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
819 { (exit 1); exit 1; }; };;
823 # Be sure to have absolute paths.
824 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
825 localstatedir libdir includedir oldincludedir infodir mandir
827 eval ac_val=$`echo $ac_var`
829 [\\/$]* | ?:[\\/]* ) ;;
830 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
831 { (exit 1); exit 1; }; };;
835 # There might be people who depend on the old broken behavior: `$host'
836 # used to hold the argument of --host etc.
837 # FIXME: To remove some day.
842 # FIXME: To remove some day.
843 if test "x$host_alias" != x; then
844 if test "x$build_alias" = x; then
845 cross_compiling=maybe
846 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
847 If a cross compiler is detected then cross compile mode will be used." >&2
848 elif test "x$build_alias" != "x$host_alias"; then
854 test -n "$host_alias" && ac_tool_prefix=$host_alias-
856 test "$silent" = yes && exec 6>/dev/null
859 # Find the source files, if location was not specified.
860 if test -z "$srcdir"; then
861 ac_srcdir_defaulted=yes
862 # Try the directory containing this script, then its parent.
863 ac_confdir=`(dirname "$0") 2>/dev/null ||
864 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
865 X"$0" : 'X\(//\)[^/]' \| \
866 X"$0" : 'X\(//\)$' \| \
867 X"$0" : 'X\(/\)' \| \
868 . : '\(.\)' 2>/dev/null ||
870 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
871 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
872 /^X\(\/\/\)$/{ s//\1/; q; }
873 /^X\(\/\).*/{ s//\1/; q; }
876 if test ! -r $srcdir/$ac_unique_file; then
880 ac_srcdir_defaulted=no
882 if test ! -r $srcdir/$ac_unique_file; then
883 if test "$ac_srcdir_defaulted" = yes; then
884 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
885 { (exit 1); exit 1; }; }
887 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
888 { (exit 1); exit 1; }; }
891 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
892 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
893 { (exit 1); exit 1; }; }
894 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
895 ac_env_build_alias_set=${build_alias+set}
896 ac_env_build_alias_value=$build_alias
897 ac_cv_env_build_alias_set=${build_alias+set}
898 ac_cv_env_build_alias_value=$build_alias
899 ac_env_host_alias_set=${host_alias+set}
900 ac_env_host_alias_value=$host_alias
901 ac_cv_env_host_alias_set=${host_alias+set}
902 ac_cv_env_host_alias_value=$host_alias
903 ac_env_target_alias_set=${target_alias+set}
904 ac_env_target_alias_value=$target_alias
905 ac_cv_env_target_alias_set=${target_alias+set}
906 ac_cv_env_target_alias_value=$target_alias
907 ac_env_CC_set=${CC+set}
909 ac_cv_env_CC_set=${CC+set}
910 ac_cv_env_CC_value=$CC
911 ac_env_CFLAGS_set=${CFLAGS+set}
912 ac_env_CFLAGS_value=$CFLAGS
913 ac_cv_env_CFLAGS_set=${CFLAGS+set}
914 ac_cv_env_CFLAGS_value=$CFLAGS
915 ac_env_LDFLAGS_set=${LDFLAGS+set}
916 ac_env_LDFLAGS_value=$LDFLAGS
917 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
918 ac_cv_env_LDFLAGS_value=$LDFLAGS
919 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
920 ac_env_CPPFLAGS_value=$CPPFLAGS
921 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
922 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
923 ac_env_CPP_set=${CPP+set}
924 ac_env_CPP_value=$CPP
925 ac_cv_env_CPP_set=${CPP+set}
926 ac_cv_env_CPP_value=$CPP
927 ac_env_CXX_set=${CXX+set}
928 ac_env_CXX_value=$CXX
929 ac_cv_env_CXX_set=${CXX+set}
930 ac_cv_env_CXX_value=$CXX
931 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
932 ac_env_CXXFLAGS_value=$CXXFLAGS
933 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
934 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
935 ac_env_CXXCPP_set=${CXXCPP+set}
936 ac_env_CXXCPP_value=$CXXCPP
937 ac_cv_env_CXXCPP_set=${CXXCPP+set}
938 ac_cv_env_CXXCPP_value=$CXXCPP
939 ac_env_F77_set=${F77+set}
940 ac_env_F77_value=$F77
941 ac_cv_env_F77_set=${F77+set}
942 ac_cv_env_F77_value=$F77
943 ac_env_FFLAGS_set=${FFLAGS+set}
944 ac_env_FFLAGS_value=$FFLAGS
945 ac_cv_env_FFLAGS_set=${FFLAGS+set}
946 ac_cv_env_FFLAGS_value=$FFLAGS
949 # Report the --help message.
951 if test "$ac_init_help" = "long"; then
952 # Omit some internal or obsolete options to make the list less imposing.
953 # This message is too long to be a string in the A/UX 3.1 sh.
955 \`configure' configures ntp 4.2.4p5 to adapt to many kinds of systems.
957 Usage: $0 [OPTION]... [VAR=VALUE]...
959 To assign environment variables (e.g., CC, CFLAGS...), specify them as
960 VAR=VALUE. See below for descriptions of some of the useful variables.
962 Defaults for the options are specified in brackets.
965 -h, --help display this help and exit
966 --help=short display options specific to this package
967 --help=recursive display the short help of all the included packages
968 -V, --version display version information and exit
969 -q, --quiet, --silent do not print \`checking...' messages
970 --cache-file=FILE cache test results in FILE [disabled]
971 -C, --config-cache alias for \`--cache-file=config.cache'
972 -n, --no-create do not create output files
973 --srcdir=DIR find the sources in DIR [configure dir or \`..']
978 Installation directories:
979 --prefix=PREFIX install architecture-independent files in PREFIX
981 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
984 By default, \`make install' will install all the files in
985 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
986 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
987 for instance \`--prefix=\$HOME'.
989 For better control, use the options below.
991 Fine tuning of the installation directories:
992 --bindir=DIR user executables [EPREFIX/bin]
993 --sbindir=DIR system admin executables [EPREFIX/sbin]
994 --libexecdir=DIR program executables [EPREFIX/libexec]
995 --datadir=DIR read-only architecture-independent data [PREFIX/share]
996 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
997 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
998 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
999 --libdir=DIR object code libraries [EPREFIX/lib]
1000 --includedir=DIR C header files [PREFIX/include]
1001 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1002 --infodir=DIR info documentation [PREFIX/info]
1003 --mandir=DIR man documentation [PREFIX/man]
1009 --program-prefix=PREFIX prepend PREFIX to installed program names
1010 --program-suffix=SUFFIX append SUFFIX to installed program names
1011 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1014 --build=BUILD configure for building on BUILD [guessed]
1015 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1019 if test -n "$ac_init_help"; then
1020 case $ac_init_help in
1021 short | recursive ) echo "Configuration of ntp 4.2.4p5:";;
1026 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1027 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1028 --disable-dependency-tracking speeds up one-time build
1029 --enable-dependency-tracking do not reject slow dependency extractors
1030 --enable-local-libopts Force using the supplied libopts tearoff code
1031 --disable-libopts-install
1032 Do not install libopts with client installation
1033 --disable-optional-args not wanting optional option args
1034 --enable-clockctl s Use /dev/clockctl for non-root clock control
1035 --enable-linuxcaps s Use Linux capabilities for non-root clock control
1036 --enable-shared[=PKGS]
1037 build shared libraries [default=no]
1038 --enable-static[=PKGS]
1039 build static libraries [default=yes]
1040 --enable-fast-install[=PKGS]
1041 optimize for fast installation [default=yes]
1042 --disable-libtool-lock avoid locking (might break parallel builds)
1043 --enable-getifaddrs s Enable the use of getifaddrs() [yes|no|glibc].
1044 glibc: Use getifaddrs() in glibc if you know it
1046 --enable-debugging + include debugging code
1047 --enable-debug-timing - include processing time debugging code (costs
1049 --enable-dst-minutes=60 + minutes per DST adjustment
1050 --enable-BANCOMM - Datum/Bancomm bc635/VME interface
1051 --enable-GPSVME - TrueTime GPS receiver/VME interface
1052 --enable-all-clocks + include all suitable non-PARSE clocks:
1053 --enable-ACTS s ACTS modem service
1054 --enable-ARBITER + Arbiter 1088A/B GPS receiver
1055 --enable-ARCRON-MSF + Arcron MSF receiver
1056 --enable-AS2201 + Austron 2200A/2201A GPS receiver
1057 --enable-ATOM s ATOM PPS interface
1058 --enable-CHRONOLOG + Chrono-log K-series WWVB receiver
1059 --enable-CHU + CHU modem/decoder
1060 --enable-AUDIO-CHU s CHU audio/decoder
1061 --enable-DATUM s Datum Programmable Time System
1062 --enable-DUMBCLOCK + Dumb generic hh:mm:ss local clock
1063 --enable-FG + Forum Graphic GPS
1064 --enable-HEATH s Heath GC-1000 WWV/WWVH receiver
1065 --enable-HOPFSERIAL + hopf serial clock device
1066 --enable-HOPFPCI + hopf 6039 PCI board
1067 --enable-HPGPS + HP 58503A GPS receiver
1068 --enable-IRIG s IRIG audio decoder
1069 --enable-JJY + JJY receiver
1070 --enable-JUPITER s Rockwell Jupiter GPS receiver
1071 --enable-LEITCH + Leitch CSD 5300 Master Clock System Driver
1072 --enable-LOCAL-CLOCK + local clock reference
1073 --enable-MX4200 s Magnavox MX4200 GPS receiver
1074 --enable-NEOCLOCK4X + NeoClock4X DCF77 / TDF receiver
1075 --enable-NMEA + NMEA GPS receiver
1076 --enable-ONCORE s Motorola VP/UT Oncore GPS receiver
1077 --enable-PALISADE s Palisade clock
1078 --enable-PCF + Conrad parallel port radio clock
1079 --enable-PST + PST/Traconex 1020 WWV/WWVH receiver
1080 --enable-RIPENCC - RIPENCC specific Trimble driver
1081 --enable-SHM s SHM clock attached thru shared memory
1082 --enable-SPECTRACOM + Spectracom 8170/Netclock/2 WWVB receiver
1083 --enable-TPRO s KSI/Odetics TPRO/S GPS receiver/IRIG interface
1084 --enable-TRUETIME s Kinemetrics/TrueTime receivers
1085 --enable-TT560 - TrueTime 560 IRIG-B decoder
1086 --enable-ULINK + Ultralink WWVB receiver
1087 --enable-WWV s WWV Audio receiver
1088 --enable-ZYFER + Zyfer GPStarplus receiver
1089 --enable-parse-clocks - include all suitable PARSE clocks:
1090 --enable-COMPUTIME s Diem Computime Radio Clock
1091 --enable-DCF7000 s ELV/DCF7000 clock
1092 --enable-HOPF6021 s HOPF 6021 clock
1093 --enable-MEINBERG s Meinberg clocks
1094 --enable-RAWDCF s DCF77 raw time code
1095 --enable-RCC8000 s RCC 8000 clock
1096 --enable-SCHMID s Schmid DCF77 clock
1097 --enable-TRIMTAIP s Trimble GPS receiver/TAIP protocol
1098 --enable-TRIMTSIP s Trimble GPS receiver/TSIP protocol
1099 --enable-WHARTON s WHARTON 400A Series clock
1100 --enable-VARITEXT s VARITEXT clock
1101 --enable-kmem s read /dev/kmem for tick and/or tickadj
1102 --enable-accurate-adjtime
1103 s the adjtime() call is accurate
1104 --enable-tick=VALUE s force a value for 'tick'
1105 --enable-tickadj=VALUE s force a value for 'tickadj'
1106 --enable-simulator - build/install the NTPD simulator?
1107 --enable-slew-always s always slew the time
1108 --enable-step-slew s step and slew the time
1109 --enable-ntpdate-step s if ntpdate should step the time
1110 --enable-hourly-todr-sync
1111 s if we should sync TODR hourly
1112 --enable-kernel-fll-bug s if we should avoid a kernel FLL bug
1113 --enable-irig-sawtooth s if we should enable the IRIG sawtooth filter
1114 --enable-nist - if we should enable the NIST lockclock scheme
1115 --enable-ipv6 s use IPv6?
1118 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1119 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1120 --with-autoopts-config specify the config-info script
1121 --with-regex-header a reg expr header is specified
1122 --with-libregex libregex installation prefix
1123 --with-libregex-cflags libregex compile flags
1124 --with-libregex-libs libregex link command arguments
1125 --with-binsubdir bin ={bin,sbin}
1126 --with-arlib - Compile the async resolver library?
1127 --without-rpath s Disable auto-added -R linker paths
1128 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1129 --with-pic try to use only PIC/non-PIC objects [default=use
1132 include additional configurations [automatic]
1133 --with-openssl-libdir + =/something/reasonable
1134 --with-openssl-incdir + =/something/reasonable
1135 --with-crypto + =openssl
1136 --with-electricfence - compile with ElectricFence malloc debugger
1137 --with-kame - =/usr/local/v6
1139 Some influential environment variables:
1140 CC C compiler command
1141 CFLAGS C compiler flags
1142 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1143 nonstandard directory <lib dir>
1144 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1145 headers in a nonstandard directory <include dir>
1147 CXX C++ compiler command
1148 CXXFLAGS C++ compiler flags
1149 CXXCPP C++ preprocessor
1150 F77 Fortran 77 compiler command
1151 FFLAGS Fortran 77 compiler flags
1153 Use these variables to override the choices made by `configure' or to help
1154 it to find libraries and programs with nonstandard names/locations.
1159 if test "$ac_init_help" = "recursive"; then
1160 # If there are subdirs, report their specific --help.
1162 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1163 test -d $ac_dir || continue
1166 if test "$ac_dir" != .; then
1167 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1168 # A "../" for each directory in $ac_dir_suffix.
1169 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1171 ac_dir_suffix= ac_top_builddir=
1175 .) # No --srcdir option. We are building in place.
1177 if test -z "$ac_top_builddir"; then
1180 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1182 [\\/]* | ?:[\\/]* ) # Absolute path.
1183 ac_srcdir=$srcdir$ac_dir_suffix;
1184 ac_top_srcdir=$srcdir ;;
1186 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1187 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1190 # Do not use `cd foo && pwd` to compute absolute paths, because
1191 # the directories may not exist.
1193 .) ac_abs_builddir="$ac_dir";;
1196 .) ac_abs_builddir=`pwd`;;
1197 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1198 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1201 case $ac_abs_builddir in
1202 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1204 case ${ac_top_builddir}. in
1205 .) ac_abs_top_builddir=$ac_abs_builddir;;
1206 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1207 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1210 case $ac_abs_builddir in
1211 .) ac_abs_srcdir=$ac_srcdir;;
1214 .) ac_abs_srcdir=$ac_abs_builddir;;
1215 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1216 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1219 case $ac_abs_builddir in
1220 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1222 case $ac_top_srcdir in
1223 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1224 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1225 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1230 # Check for guested configure; otherwise get Cygnus style configure.
1231 if test -f $ac_srcdir/configure.gnu; then
1233 $SHELL $ac_srcdir/configure.gnu --help=recursive
1234 elif test -f $ac_srcdir/configure; then
1236 $SHELL $ac_srcdir/configure --help=recursive
1237 elif test -f $ac_srcdir/configure.ac ||
1238 test -f $ac_srcdir/configure.in; then
1240 $ac_configure --help
1242 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1248 test -n "$ac_init_help" && exit 0
1249 if $ac_init_version; then
1251 ntp configure 4.2.4p5
1252 generated by GNU Autoconf 2.59
1254 Copyright (C) 2003 Free Software Foundation, Inc.
1255 This configure script is free software; the Free Software Foundation
1256 gives unlimited permission to copy, distribute and modify it.
1262 This file contains any messages produced by compilers while
1263 running configure, to aid debugging if configure makes a mistake.
1265 It was created by ntp $as_me 4.2.4p5, which was
1266 generated by GNU Autoconf 2.59. Invocation command line was
1277 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1278 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1279 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1280 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1281 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1283 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1284 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1286 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1287 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1288 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1289 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1290 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1291 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1292 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1300 test -z "$as_dir" && as_dir=.
1301 echo "PATH: $as_dir"
1316 # Keep a trace of the command line.
1317 # Strip out --no-create and --no-recursion so they do not pile up.
1318 # Strip out --silent because we don't want to record it for future runs.
1319 # Also quote any args containing shell meta-characters.
1320 # Make two passes to allow for proper duplicate-argument suppression.
1325 ac_must_keep_next=false
1331 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1332 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1333 | -silent | --silent | --silen | --sile | --sil)
1335 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1336 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1339 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1341 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1342 if test $ac_must_keep_next = true; then
1343 ac_must_keep_next=false # Got value, back to normal.
1346 *=* | --config-cache | -C | -disable-* | --disable-* \
1347 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1348 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1349 | -with-* | --with-* | -without-* | --without-* | --x)
1350 case "$ac_configure_args0 " in
1351 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1354 -* ) ac_must_keep_next=true ;;
1357 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1358 # Get rid of the leading space.
1364 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1365 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1367 # When interrupted or exit'd, cleanup temporary files, and complete
1368 # config.log. We remove comments because anyway the quotes in there
1369 # would cause problems or look ugly.
1370 # WARNING: Be sure not to use single quotes in there, as some shells,
1371 # such as our DU 5.0 friend, will then `close' the trap.
1372 trap 'exit_status=$?
1373 # Save into config.log some information that might help in debugging.
1378 ## ---------------- ##
1379 ## Cache variables. ##
1380 ## ---------------- ##
1383 # The following way of writing the cache mishandles newlines in values,
1386 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1389 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1390 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1394 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1401 ## ----------------- ##
1402 ## Output variables. ##
1403 ## ----------------- ##
1406 for ac_var in $ac_subst_vars
1408 eval ac_val=$`echo $ac_var`
1409 echo "$ac_var='"'"'$ac_val'"'"'"
1413 if test -n "$ac_subst_files"; then
1420 for ac_var in $ac_subst_files
1422 eval ac_val=$`echo $ac_var`
1423 echo "$ac_var='"'"'$ac_val'"'"'"
1428 if test -s confdefs.h; then
1435 sed "/^$/d" confdefs.h | sort
1438 test "$ac_signal" != 0 &&
1439 echo "$as_me: caught signal $ac_signal"
1440 echo "$as_me: exit $exit_status"
1442 rm -f core *.core &&
1443 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1446 for ac_signal in 1 2 13 15; do
1447 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1451 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1452 rm -rf conftest* confdefs.h
1453 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1456 # Predefined preprocessor variables.
1458 cat >>confdefs.h <<_ACEOF
1459 #define PACKAGE_NAME "$PACKAGE_NAME"
1463 cat >>confdefs.h <<_ACEOF
1464 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1468 cat >>confdefs.h <<_ACEOF
1469 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1473 cat >>confdefs.h <<_ACEOF
1474 #define PACKAGE_STRING "$PACKAGE_STRING"
1478 cat >>confdefs.h <<_ACEOF
1479 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1483 # Let the site file select an alternate cache file if it wants to.
1484 # Prefer explicitly selected file to automatically selected ones.
1485 if test -z "$CONFIG_SITE"; then
1486 if test "x$prefix" != xNONE; then
1487 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1489 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1492 for ac_site_file in $CONFIG_SITE; do
1493 if test -r "$ac_site_file"; then
1494 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1495 echo "$as_me: loading site script $ac_site_file" >&6;}
1496 sed 's/^/| /' "$ac_site_file" >&5
1501 if test -r "$cache_file"; then
1502 # Some versions of bash will fail to source /dev/null (special
1503 # files actually), so we avoid doing that.
1504 if test -f "$cache_file"; then
1505 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1506 echo "$as_me: loading cache $cache_file" >&6;}
1508 [\\/]* | ?:[\\/]* ) . $cache_file;;
1509 *) . ./$cache_file;;
1513 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1514 echo "$as_me: creating cache $cache_file" >&6;}
1518 # Check that the precious variables saved in the cache have kept the same
1520 ac_cache_corrupted=false
1521 for ac_var in `(set) 2>&1 |
1522 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1523 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1524 eval ac_new_set=\$ac_env_${ac_var}_set
1525 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1526 eval ac_new_val="\$ac_env_${ac_var}_value"
1527 case $ac_old_set,$ac_new_set in
1529 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1530 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1531 ac_cache_corrupted=: ;;
1533 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1534 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1535 ac_cache_corrupted=: ;;
1538 if test "x$ac_old_val" != "x$ac_new_val"; then
1539 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1540 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1541 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1542 echo "$as_me: former value: $ac_old_val" >&2;}
1543 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1544 echo "$as_me: current value: $ac_new_val" >&2;}
1545 ac_cache_corrupted=:
1548 # Pass precious variables to config.status.
1549 if test "$ac_new_set" = set; then
1551 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1552 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1553 *) ac_arg=$ac_var=$ac_new_val ;;
1555 case " $ac_configure_args " in
1556 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1557 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1561 if $ac_cache_corrupted; then
1562 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1563 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1564 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1565 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1566 { (exit 1); exit 1; }; }
1570 ac_cpp='$CPP $CPPFLAGS'
1571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1601 am__api_version="1.9"
1603 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1604 if test -f $ac_dir/install-sh; then
1606 ac_install_sh="$ac_aux_dir/install-sh -c"
1608 elif test -f $ac_dir/install.sh; then
1610 ac_install_sh="$ac_aux_dir/install.sh -c"
1612 elif test -f $ac_dir/shtool; then
1614 ac_install_sh="$ac_aux_dir/shtool install -c"
1618 if test -z "$ac_aux_dir"; then
1619 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1620 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1621 { (exit 1); exit 1; }; }
1623 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1624 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1625 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1627 # Find a good install program. We prefer a C program (faster),
1628 # so one script is as good as another. But avoid the broken or
1629 # incompatible versions:
1630 # SysV /etc/install, /usr/sbin/install
1631 # SunOS /usr/etc/install
1632 # IRIX /sbin/install
1634 # AmigaOS /C/install, which installs bootblocks on floppy discs
1635 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1636 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1637 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1638 # OS/2's system install, which has a completely different semantic
1639 # ./install, which can be erroneously created by make from ./install.sh.
1640 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1641 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1642 if test -z "$INSTALL"; then
1643 if test "${ac_cv_path_install+set}" = set; then
1644 echo $ECHO_N "(cached) $ECHO_C" >&6
1646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1650 test -z "$as_dir" && as_dir=.
1651 # Account for people who put trailing slashes in PATH elements.
1653 ./ | .// | /cC/* | \
1654 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1655 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1658 # OSF1 and SCO ODT 3.0 have their own names for install.
1659 # Don't use installbsd from OSF since it installs stuff as root
1661 for ac_prog in ginstall scoinst install; do
1662 for ac_exec_ext in '' $ac_executable_extensions; do
1663 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1664 if test $ac_prog = install &&
1665 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1666 # AIX install. It has an incompatible calling convention.
1668 elif test $ac_prog = install &&
1669 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1670 # program-specific install script used by HP pwplus--don't use.
1673 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1685 if test "${ac_cv_path_install+set}" = set; then
1686 INSTALL=$ac_cv_path_install
1688 # As a last resort, use the slow shell script. We don't cache a
1689 # path for INSTALL within a source directory, because that will
1690 # break other packages using the cache if that directory is
1691 # removed, or if the path is relative.
1692 INSTALL=$ac_install_sh
1695 echo "$as_me:$LINENO: result: $INSTALL" >&5
1696 echo "${ECHO_T}$INSTALL" >&6
1698 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1699 # It thinks the first close brace ends the variable substitution.
1700 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1702 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1704 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1706 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1707 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1710 echo timestamp > conftest.file
1711 # Do `set' in a subshell so we don't clobber the current shell's
1712 # arguments. Must try -L first in case configure is actually a
1713 # symlink; some systems play weird games with the mod time of symlinks
1714 # (eg FreeBSD returns the mod time of the symlink's containing
1717 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1718 if test "$*" = "X"; then
1720 set X `ls -t $srcdir/configure conftest.file`
1723 if test "$*" != "X $srcdir/configure conftest.file" \
1724 && test "$*" != "X conftest.file $srcdir/configure"; then
1726 # If neither matched, then we have a broken ls. This can happen
1727 # if, for instance, CONFIG_SHELL is bash and it inherits a
1728 # broken ls alias from the environment. This has actually
1729 # happened. Such a system could not be considered "sane".
1730 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1731 alias in your environment" >&5
1732 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1733 alias in your environment" >&2;}
1734 { (exit 1); exit 1; }; }
1737 test "$2" = conftest.file
1743 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1744 Check your system clock" >&5
1745 echo "$as_me: error: newly created file is older than distributed files!
1746 Check your system clock" >&2;}
1747 { (exit 1); exit 1; }; }
1749 echo "$as_me:$LINENO: result: yes" >&5
1750 echo "${ECHO_T}yes" >&6
1751 test "$program_prefix" != NONE &&
1752 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1753 # Use a double $ so make ignores it.
1754 test "$program_suffix" != NONE &&
1755 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1756 # Double any \ or $. echo might interpret backslashes.
1757 # By default was `s,x,x', remove it if useless.
1758 cat <<\_ACEOF >conftest.sed
1759 s/[\\$]/&&/g;s/;s,x,x,$//
1761 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1764 # expand $ac_aux_dir to an absolute path
1765 am_aux_dir=`cd $ac_aux_dir && pwd`
1767 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1768 # Use eval to expand $SHELL
1769 if eval "$MISSING --run true"; then
1770 am_missing_run="$MISSING --run "
1773 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1774 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1777 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1778 # We used to keeping the `.' as first argument, in order to
1779 # allow $(mkdir_p) to be used without argument. As in
1780 # $(mkdir_p) $(somedir)
1781 # where $(somedir) is conditionally defined. However this is wrong
1783 # 1. if the package is installed by a user who cannot write `.'
1784 # make install will fail,
1785 # 2. the above comment should most certainly read
1786 # $(mkdir_p) $(DESTDIR)$(somedir)
1787 # so it does not work when $(somedir) is undefined and
1788 # $(DESTDIR) is not.
1789 # To support the latter case, we have to write
1790 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1791 # so the `.' trick is pointless.
1792 mkdir_p='mkdir -p --'
1794 # On NextStep and OpenStep, the `mkdir' command does not
1795 # recognize any option. It will interpret all options as
1796 # directories to create, and then abort because `.' already
1798 for d in ./-p ./--version;
1800 test -d $d && rmdir $d
1802 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1803 if test -f "$ac_aux_dir/mkinstalldirs"; then
1804 mkdir_p='$(mkinstalldirs)'
1806 mkdir_p='$(install_sh) -d'
1810 for ac_prog in gawk mawk nawk awk
1812 # Extract the first word of "$ac_prog", so it can be a program name with args.
1813 set dummy $ac_prog; ac_word=$2
1814 echo "$as_me:$LINENO: checking for $ac_word" >&5
1815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1816 if test "${ac_cv_prog_AWK+set}" = set; then
1817 echo $ECHO_N "(cached) $ECHO_C" >&6
1819 if test -n "$AWK"; then
1820 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1826 test -z "$as_dir" && as_dir=.
1827 for ac_exec_ext in '' $ac_executable_extensions; do
1828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1829 ac_cv_prog_AWK="$ac_prog"
1830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1839 if test -n "$AWK"; then
1840 echo "$as_me:$LINENO: result: $AWK" >&5
1841 echo "${ECHO_T}$AWK" >&6
1843 echo "$as_me:$LINENO: result: no" >&5
1844 echo "${ECHO_T}no" >&6
1847 test -n "$AWK" && break
1850 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1851 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1852 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1853 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1854 echo $ECHO_N "(cached) $ECHO_C" >&6
1856 cat >conftest.make <<\_ACEOF
1858 @echo 'ac_maketemp="$(MAKE)"'
1860 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1861 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1862 if test -n "$ac_maketemp"; then
1863 eval ac_cv_prog_make_${ac_make}_set=yes
1865 eval ac_cv_prog_make_${ac_make}_set=no
1869 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1870 echo "$as_me:$LINENO: result: yes" >&5
1871 echo "${ECHO_T}yes" >&6
1874 echo "$as_me:$LINENO: result: no" >&5
1875 echo "${ECHO_T}no" >&6
1876 SET_MAKE="MAKE=${MAKE-make}"
1879 rm -rf .tst 2>/dev/null
1880 mkdir .tst 2>/dev/null
1881 if test -d .tst; then
1886 rmdir .tst 2>/dev/null
1888 # test to see if srcdir already configured
1889 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1890 test -f $srcdir/config.status; then
1891 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1892 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1893 { (exit 1); exit 1; }; }
1896 # test whether we have cygpath
1897 if test -z "$CYGPATH_W"; then
1898 if (cygpath --version) >/dev/null 2>/dev/null; then
1899 CYGPATH_W='cygpath -w'
1906 # Define the identity of the package.
1911 cat >>confdefs.h <<_ACEOF
1912 #define PACKAGE "$PACKAGE"
1916 cat >>confdefs.h <<_ACEOF
1917 #define VERSION "$VERSION"
1920 # Some tools Automake needs.
1922 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1925 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1928 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1931 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1934 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1936 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1938 # Installed binaries are usually stripped using `strip' when the user
1939 # run `make install-strip'. However `strip' might not be the right
1940 # tool to use in cross-compilation environments, therefore Automake
1941 # will honor the `STRIP' environment variable to overrule this program.
1942 if test "$cross_compiling" != no; then
1943 if test -n "$ac_tool_prefix"; then
1944 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1945 set dummy ${ac_tool_prefix}strip; ac_word=$2
1946 echo "$as_me:$LINENO: checking for $ac_word" >&5
1947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1948 if test "${ac_cv_prog_STRIP+set}" = set; then
1949 echo $ECHO_N "(cached) $ECHO_C" >&6
1951 if test -n "$STRIP"; then
1952 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1958 test -z "$as_dir" && as_dir=.
1959 for ac_exec_ext in '' $ac_executable_extensions; do
1960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1961 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1970 STRIP=$ac_cv_prog_STRIP
1971 if test -n "$STRIP"; then
1972 echo "$as_me:$LINENO: result: $STRIP" >&5
1973 echo "${ECHO_T}$STRIP" >&6
1975 echo "$as_me:$LINENO: result: no" >&5
1976 echo "${ECHO_T}no" >&6
1980 if test -z "$ac_cv_prog_STRIP"; then
1982 # Extract the first word of "strip", so it can be a program name with args.
1983 set dummy strip; ac_word=$2
1984 echo "$as_me:$LINENO: checking for $ac_word" >&5
1985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1986 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1987 echo $ECHO_N "(cached) $ECHO_C" >&6
1989 if test -n "$ac_ct_STRIP"; then
1990 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1996 test -z "$as_dir" && as_dir=.
1997 for ac_exec_ext in '' $ac_executable_extensions; do
1998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1999 ac_cv_prog_ac_ct_STRIP="strip"
2000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2006 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2009 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2010 if test -n "$ac_ct_STRIP"; then
2011 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2012 echo "${ECHO_T}$ac_ct_STRIP" >&6
2014 echo "$as_me:$LINENO: result: no" >&5
2015 echo "${ECHO_T}no" >&6
2020 STRIP="$ac_cv_prog_STRIP"
2024 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2026 # We need awk for the "check" target. The system "awk" is bad on
2028 # Always define AMTAR for backward compatibility.
2030 AMTAR=${AMTAR-"${am_missing_run}tar"}
2032 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2038 # Make sure we can run config.sub.
2039 $ac_config_sub sun4 >/dev/null 2>&1 ||
2040 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2041 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2042 { (exit 1); exit 1; }; }
2044 echo "$as_me:$LINENO: checking build system type" >&5
2045 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2046 if test "${ac_cv_build+set}" = set; then
2047 echo $ECHO_N "(cached) $ECHO_C" >&6
2049 ac_cv_build_alias=$build_alias
2050 test -z "$ac_cv_build_alias" &&
2051 ac_cv_build_alias=`$ac_config_guess`
2052 test -z "$ac_cv_build_alias" &&
2053 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2054 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2055 { (exit 1); exit 1; }; }
2056 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2057 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2058 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2059 { (exit 1); exit 1; }; }
2062 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2063 echo "${ECHO_T}$ac_cv_build" >&6
2065 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2066 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2067 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2070 echo "$as_me:$LINENO: checking host system type" >&5
2071 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2072 if test "${ac_cv_host+set}" = set; then
2073 echo $ECHO_N "(cached) $ECHO_C" >&6
2075 ac_cv_host_alias=$host_alias
2076 test -z "$ac_cv_host_alias" &&
2077 ac_cv_host_alias=$ac_cv_build_alias
2078 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2079 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2080 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2081 { (exit 1); exit 1; }; }
2084 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2085 echo "${ECHO_T}$ac_cv_host" >&6
2087 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2088 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2089 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2093 cat >>confdefs.h <<_ACEOF
2094 #define STR_SYSTEM "$host"
2097 ac_config_headers="$ac_config_headers config.h"
2101 ac_cv_var_atom_ok=no
2102 ac_cv_var_oncore_ok=no
2103 ac_cv_var_parse_ok=no
2104 ac_cv_var_ripe_ncc_ok=no
2105 ac_cv_var_jupiter_ok=no
2109 DEPDIR="${am__leading_dot}deps"
2111 ac_config_commands="$ac_config_commands depfiles"
2114 am_make=${MAKE-make}
2115 cat > confinc << 'END'
2120 # If we don't find an include directive, just comment out the code.
2121 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2122 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2126 # First try GNU make style include.
2127 echo "include confinc" > confmf
2128 # We grep out `Entering directory' and `Leaving directory'
2129 # messages which can occur if `w' ends up in MAKEFLAGS.
2130 # In particular we don't look at `^make:' because GNU make might
2131 # be invoked under some other name (usually "gmake"), in which
2132 # case it prints its new name instead of `make'.
2133 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2138 # Now try BSD make style include.
2139 if test "$am__include" = "#"; then
2140 echo '.include "confinc"' > confmf
2141 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2142 am__include=.include
2149 echo "$as_me:$LINENO: result: $_am_result" >&5
2150 echo "${ECHO_T}$_am_result" >&6
2151 rm -f confinc confmf
2153 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2154 if test "${enable_dependency_tracking+set}" = set; then
2155 enableval="$enable_dependency_tracking"
2158 if test "x$enable_dependency_tracking" != xno; then
2159 am_depcomp="$ac_aux_dir/depcomp"
2164 if test "x$enable_dependency_tracking" != xno; then
2175 ac_cpp='$CPP $CPPFLAGS'
2176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2179 if test -n "$ac_tool_prefix"; then
2180 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2181 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2182 echo "$as_me:$LINENO: checking for $ac_word" >&5
2183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2184 if test "${ac_cv_prog_CC+set}" = set; then
2185 echo $ECHO_N "(cached) $ECHO_C" >&6
2187 if test -n "$CC"; then
2188 ac_cv_prog_CC="$CC" # Let the user override the test.
2190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2194 test -z "$as_dir" && as_dir=.
2195 for ac_exec_ext in '' $ac_executable_extensions; do
2196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2197 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2207 if test -n "$CC"; then
2208 echo "$as_me:$LINENO: result: $CC" >&5
2209 echo "${ECHO_T}$CC" >&6
2211 echo "$as_me:$LINENO: result: no" >&5
2212 echo "${ECHO_T}no" >&6
2216 if test -z "$ac_cv_prog_CC"; then
2218 # Extract the first word of "gcc", so it can be a program name with args.
2219 set dummy gcc; ac_word=$2
2220 echo "$as_me:$LINENO: checking for $ac_word" >&5
2221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2222 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2223 echo $ECHO_N "(cached) $ECHO_C" >&6
2225 if test -n "$ac_ct_CC"; then
2226 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2232 test -z "$as_dir" && as_dir=.
2233 for ac_exec_ext in '' $ac_executable_extensions; do
2234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2235 ac_cv_prog_ac_ct_CC="gcc"
2236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2244 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2245 if test -n "$ac_ct_CC"; then
2246 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2247 echo "${ECHO_T}$ac_ct_CC" >&6
2249 echo "$as_me:$LINENO: result: no" >&5
2250 echo "${ECHO_T}no" >&6
2258 if test -z "$CC"; then
2259 if test -n "$ac_tool_prefix"; then
2260 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2261 set dummy ${ac_tool_prefix}cc; ac_word=$2
2262 echo "$as_me:$LINENO: checking for $ac_word" >&5
2263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2264 if test "${ac_cv_prog_CC+set}" = set; then
2265 echo $ECHO_N "(cached) $ECHO_C" >&6
2267 if test -n "$CC"; then
2268 ac_cv_prog_CC="$CC" # Let the user override the test.
2270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2274 test -z "$as_dir" && as_dir=.
2275 for ac_exec_ext in '' $ac_executable_extensions; do
2276 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2277 ac_cv_prog_CC="${ac_tool_prefix}cc"
2278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2287 if test -n "$CC"; then
2288 echo "$as_me:$LINENO: result: $CC" >&5
2289 echo "${ECHO_T}$CC" >&6
2291 echo "$as_me:$LINENO: result: no" >&5
2292 echo "${ECHO_T}no" >&6
2296 if test -z "$ac_cv_prog_CC"; then
2298 # Extract the first word of "cc", so it can be a program name with args.
2299 set dummy cc; ac_word=$2
2300 echo "$as_me:$LINENO: checking for $ac_word" >&5
2301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2302 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2303 echo $ECHO_N "(cached) $ECHO_C" >&6
2305 if test -n "$ac_ct_CC"; then
2306 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2312 test -z "$as_dir" && as_dir=.
2313 for ac_exec_ext in '' $ac_executable_extensions; do
2314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2315 ac_cv_prog_ac_ct_CC="cc"
2316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2324 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2325 if test -n "$ac_ct_CC"; then
2326 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2327 echo "${ECHO_T}$ac_ct_CC" >&6
2329 echo "$as_me:$LINENO: result: no" >&5
2330 echo "${ECHO_T}no" >&6
2339 if test -z "$CC"; then
2340 # Extract the first word of "cc", so it can be a program name with args.
2341 set dummy cc; ac_word=$2
2342 echo "$as_me:$LINENO: checking for $ac_word" >&5
2343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2344 if test "${ac_cv_prog_CC+set}" = set; then
2345 echo $ECHO_N "(cached) $ECHO_C" >&6
2347 if test -n "$CC"; then
2348 ac_cv_prog_CC="$CC" # Let the user override the test.
2351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2355 test -z "$as_dir" && as_dir=.
2356 for ac_exec_ext in '' $ac_executable_extensions; do
2357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2358 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2359 ac_prog_rejected=yes
2363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2369 if test $ac_prog_rejected = yes; then
2370 # We found a bogon in the path, so make sure we never use it.
2371 set dummy $ac_cv_prog_CC
2373 if test $# != 0; then
2374 # We chose a different compiler from the bogus one.
2375 # However, it has the same basename, so the bogon will be chosen
2376 # first if we set CC to just the basename; use the full file name.
2378 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2384 if test -n "$CC"; then
2385 echo "$as_me:$LINENO: result: $CC" >&5
2386 echo "${ECHO_T}$CC" >&6
2388 echo "$as_me:$LINENO: result: no" >&5
2389 echo "${ECHO_T}no" >&6
2393 if test -z "$CC"; then
2394 if test -n "$ac_tool_prefix"; then
2397 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2398 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2399 echo "$as_me:$LINENO: checking for $ac_word" >&5
2400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2401 if test "${ac_cv_prog_CC+set}" = set; then
2402 echo $ECHO_N "(cached) $ECHO_C" >&6
2404 if test -n "$CC"; then
2405 ac_cv_prog_CC="$CC" # Let the user override the test.
2407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2411 test -z "$as_dir" && as_dir=.
2412 for ac_exec_ext in '' $ac_executable_extensions; do
2413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2414 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2424 if test -n "$CC"; then
2425 echo "$as_me:$LINENO: result: $CC" >&5
2426 echo "${ECHO_T}$CC" >&6
2428 echo "$as_me:$LINENO: result: no" >&5
2429 echo "${ECHO_T}no" >&6
2432 test -n "$CC" && break
2435 if test -z "$CC"; then
2439 # Extract the first word of "$ac_prog", so it can be a program name with args.
2440 set dummy $ac_prog; ac_word=$2
2441 echo "$as_me:$LINENO: checking for $ac_word" >&5
2442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2443 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2444 echo $ECHO_N "(cached) $ECHO_C" >&6
2446 if test -n "$ac_ct_CC"; then
2447 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2453 test -z "$as_dir" && as_dir=.
2454 for ac_exec_ext in '' $ac_executable_extensions; do
2455 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2456 ac_cv_prog_ac_ct_CC="$ac_prog"
2457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2465 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2466 if test -n "$ac_ct_CC"; then
2467 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2468 echo "${ECHO_T}$ac_ct_CC" >&6
2470 echo "$as_me:$LINENO: result: no" >&5
2471 echo "${ECHO_T}no" >&6
2474 test -n "$ac_ct_CC" && break
2483 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2484 See \`config.log' for more details." >&5
2485 echo "$as_me: error: no acceptable C compiler found in \$PATH
2486 See \`config.log' for more details." >&2;}
2487 { (exit 1); exit 1; }; }
2489 # Provide some information about the compiler.
2490 echo "$as_me:$LINENO:" \
2491 "checking for C compiler version" >&5
2492 ac_compiler=`set X $ac_compile; echo $2`
2493 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2494 (eval $ac_compiler --version </dev/null >&5) 2>&5
2496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497 (exit $ac_status); }
2498 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2499 (eval $ac_compiler -v </dev/null >&5) 2>&5
2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); }
2503 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2504 (eval $ac_compiler -V </dev/null >&5) 2>&5
2506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507 (exit $ac_status); }
2509 cat >conftest.$ac_ext <<_ACEOF
2512 cat confdefs.h >>conftest.$ac_ext
2513 cat >>conftest.$ac_ext <<_ACEOF
2514 /* end confdefs.h. */
2524 ac_clean_files_save=$ac_clean_files
2525 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2526 # Try to create an executable without -o first, disregard a.out.
2527 # It will help us diagnose broken compilers, and finding out an intuition
2529 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2530 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2531 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2532 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2533 (eval $ac_link_default) 2>&5
2535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2536 (exit $ac_status); }; then
2537 # Find the output, starting from the most likely. This scheme is
2538 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2541 # Be careful to initialize this variable, since it used to be cached.
2542 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2544 # b.out is created by i960 compilers.
2545 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2547 test -f "$ac_file" || continue
2549 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2552 # This is the source file.
2555 # We found the default executable, but exeext='' is most
2559 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2560 # FIXME: I believe we export ac_cv_exeext for Libtool,
2561 # but it would be cool to find out if it's true. Does anybody
2562 # maintain Libtool? --akim.
2570 echo "$as_me: failed program was:" >&5
2571 sed 's/^/| /' conftest.$ac_ext >&5
2573 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2574 See \`config.log' for more details." >&5
2575 echo "$as_me: error: C compiler cannot create executables
2576 See \`config.log' for more details." >&2;}
2577 { (exit 77); exit 77; }; }
2580 ac_exeext=$ac_cv_exeext
2581 echo "$as_me:$LINENO: result: $ac_file" >&5
2582 echo "${ECHO_T}$ac_file" >&6
2584 # Check the compiler produces executables we can run. If not, either
2585 # the compiler is broken, or we cross compile.
2586 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2587 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2588 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2589 # If not cross compiling, check that we can run a simple program.
2590 if test "$cross_compiling" != yes; then
2591 if { ac_try='./$ac_file'
2592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2596 (exit $ac_status); }; }; then
2599 if test "$cross_compiling" = maybe; then
2602 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2603 If you meant to cross compile, use \`--host'.
2604 See \`config.log' for more details." >&5
2605 echo "$as_me: error: cannot run C compiled programs.
2606 If you meant to cross compile, use \`--host'.
2607 See \`config.log' for more details." >&2;}
2608 { (exit 1); exit 1; }; }
2612 echo "$as_me:$LINENO: result: yes" >&5
2613 echo "${ECHO_T}yes" >&6
2615 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2616 ac_clean_files=$ac_clean_files_save
2617 # Check the compiler produces executables we can run. If not, either
2618 # the compiler is broken, or we cross compile.
2619 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2620 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2621 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2622 echo "${ECHO_T}$cross_compiling" >&6
2624 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2625 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2627 (eval $ac_link) 2>&5
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); }; then
2631 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2632 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2633 # work properly (i.e., refer to `conftest.exe'), while it won't with
2635 for ac_file in conftest.exe conftest conftest.*; do
2636 test -f "$ac_file" || continue
2638 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2639 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2646 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2647 See \`config.log' for more details." >&5
2648 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2649 See \`config.log' for more details." >&2;}
2650 { (exit 1); exit 1; }; }
2653 rm -f conftest$ac_cv_exeext
2654 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2655 echo "${ECHO_T}$ac_cv_exeext" >&6
2657 rm -f conftest.$ac_ext
2658 EXEEXT=$ac_cv_exeext
2660 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2661 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2662 if test "${ac_cv_objext+set}" = set; then
2663 echo $ECHO_N "(cached) $ECHO_C" >&6
2665 cat >conftest.$ac_ext <<_ACEOF
2668 cat confdefs.h >>conftest.$ac_ext
2669 cat >>conftest.$ac_ext <<_ACEOF
2670 /* end confdefs.h. */
2680 rm -f conftest.o conftest.obj
2681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2682 (eval $ac_compile) 2>&5
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); }; then
2686 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2688 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2689 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2694 echo "$as_me: failed program was:" >&5
2695 sed 's/^/| /' conftest.$ac_ext >&5
2697 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2698 See \`config.log' for more details." >&5
2699 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2700 See \`config.log' for more details." >&2;}
2701 { (exit 1); exit 1; }; }
2704 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2706 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2707 echo "${ECHO_T}$ac_cv_objext" >&6
2708 OBJEXT=$ac_cv_objext
2710 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2711 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2712 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2713 echo $ECHO_N "(cached) $ECHO_C" >&6
2715 cat >conftest.$ac_ext <<_ACEOF
2718 cat confdefs.h >>conftest.$ac_ext
2719 cat >>conftest.$ac_ext <<_ACEOF
2720 /* end confdefs.h. */
2733 rm -f conftest.$ac_objext
2734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2735 (eval $ac_compile) 2>conftest.er1
2737 grep -v '^ *+' conftest.er1 >conftest.err
2739 cat conftest.err >&5
2740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741 (exit $ac_status); } &&
2742 { ac_try='test -z "$ac_c_werror_flag"
2743 || test ! -s conftest.err'
2744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); }; } &&
2749 { ac_try='test -s conftest.$ac_objext'
2750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2754 (exit $ac_status); }; }; then
2757 echo "$as_me: failed program was:" >&5
2758 sed 's/^/| /' conftest.$ac_ext >&5
2762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2763 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2766 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2767 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2768 GCC=`test $ac_compiler_gnu = yes && echo yes`
2769 ac_test_CFLAGS=${CFLAGS+set}
2770 ac_save_CFLAGS=$CFLAGS
2772 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2773 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2774 if test "${ac_cv_prog_cc_g+set}" = set; then
2775 echo $ECHO_N "(cached) $ECHO_C" >&6
2777 cat >conftest.$ac_ext <<_ACEOF
2780 cat confdefs.h >>conftest.$ac_ext
2781 cat >>conftest.$ac_ext <<_ACEOF
2782 /* end confdefs.h. */
2792 rm -f conftest.$ac_objext
2793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2794 (eval $ac_compile) 2>conftest.er1
2796 grep -v '^ *+' conftest.er1 >conftest.err
2798 cat conftest.err >&5
2799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800 (exit $ac_status); } &&
2801 { ac_try='test -z "$ac_c_werror_flag"
2802 || test ! -s conftest.err'
2803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2807 (exit $ac_status); }; } &&
2808 { ac_try='test -s conftest.$ac_objext'
2809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813 (exit $ac_status); }; }; then
2816 echo "$as_me: failed program was:" >&5
2817 sed 's/^/| /' conftest.$ac_ext >&5
2821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2823 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2824 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2825 if test "$ac_test_CFLAGS" = set; then
2826 CFLAGS=$ac_save_CFLAGS
2827 elif test $ac_cv_prog_cc_g = yes; then
2828 if test "$GCC" = yes; then
2834 if test "$GCC" = yes; then
2840 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2841 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2842 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2843 echo $ECHO_N "(cached) $ECHO_C" >&6
2845 ac_cv_prog_cc_stdc=no
2847 cat >conftest.$ac_ext <<_ACEOF
2850 cat confdefs.h >>conftest.$ac_ext
2851 cat >>conftest.$ac_ext <<_ACEOF
2852 /* end confdefs.h. */
2855 #include <sys/types.h>
2856 #include <sys/stat.h>
2857 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2858 struct buf { int x; };
2859 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2860 static char *e (p, i)
2866 static char *f (char * (*g) (char **, int), char **p, ...)
2871 s = g (p, va_arg (v,int));
2876 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2877 function prototypes and stuff, but not '\xHH' hex character constants.
2878 These don't provoke an error unfortunately, instead are silently treated
2879 as 'x'. The following induces an error, until -std1 is added to get
2880 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2881 array size at least. It's necessary to write '\x00'==0 to get something
2882 that's true only with -std1. */
2883 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2885 int test (int i, double x);
2886 struct s1 {int (*f) (int a);};
2887 struct s2 {int (*f) (double a);};
2888 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2894 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2899 # Don't try gcc -ansi; that turns off useful extensions and
2900 # breaks some systems' header files.
2901 # AIX -qlanglvl=ansi
2902 # Ultrix and OSF/1 -std1
2903 # HP-UX 10.20 and later -Ae
2904 # HP-UX older versions -Aa -D_HPUX_SOURCE
2905 # SVR4 -Xc -D__EXTENSIONS__
2906 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2908 CC="$ac_save_CC $ac_arg"
2909 rm -f conftest.$ac_objext
2910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2911 (eval $ac_compile) 2>conftest.er1
2913 grep -v '^ *+' conftest.er1 >conftest.err
2915 cat conftest.err >&5
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); } &&
2918 { ac_try='test -z "$ac_c_werror_flag"
2919 || test ! -s conftest.err'
2920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924 (exit $ac_status); }; } &&
2925 { ac_try='test -s conftest.$ac_objext'
2926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); }; }; then
2931 ac_cv_prog_cc_stdc=$ac_arg
2934 echo "$as_me: failed program was:" >&5
2935 sed 's/^/| /' conftest.$ac_ext >&5
2938 rm -f conftest.err conftest.$ac_objext
2940 rm -f conftest.$ac_ext conftest.$ac_objext
2945 case "x$ac_cv_prog_cc_stdc" in
2947 echo "$as_me:$LINENO: result: none needed" >&5
2948 echo "${ECHO_T}none needed" >&6 ;;
2950 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2951 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2952 CC="$CC $ac_cv_prog_cc_stdc" ;;
2955 # Some people use a C++ compiler to compile C. Since we use `exit',
2956 # in C++ we need to declare it. In case someone uses the same compiler
2957 # for both compiling C and C++ we need to have the C++ compiler decide
2958 # the declaration of exit, since it's the most demanding environment.
2959 cat >conftest.$ac_ext <<_ACEOF
2964 rm -f conftest.$ac_objext
2965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2966 (eval $ac_compile) 2>conftest.er1
2968 grep -v '^ *+' conftest.er1 >conftest.err
2970 cat conftest.err >&5
2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 (exit $ac_status); } &&
2973 { ac_try='test -z "$ac_c_werror_flag"
2974 || test ! -s conftest.err'
2975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979 (exit $ac_status); }; } &&
2980 { ac_try='test -s conftest.$ac_objext'
2981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985 (exit $ac_status); }; }; then
2986 for ac_declaration in \
2988 'extern "C" void std::exit (int) throw (); using std::exit;' \
2989 'extern "C" void std::exit (int); using std::exit;' \
2990 'extern "C" void exit (int) throw ();' \
2991 'extern "C" void exit (int);' \
2994 cat >conftest.$ac_ext <<_ACEOF
2997 cat confdefs.h >>conftest.$ac_ext
2998 cat >>conftest.$ac_ext <<_ACEOF
2999 /* end confdefs.h. */
3010 rm -f conftest.$ac_objext
3011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3012 (eval $ac_compile) 2>conftest.er1
3014 grep -v '^ *+' conftest.er1 >conftest.err
3016 cat conftest.err >&5
3017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3018 (exit $ac_status); } &&
3019 { ac_try='test -z "$ac_c_werror_flag"
3020 || test ! -s conftest.err'
3021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025 (exit $ac_status); }; } &&
3026 { ac_try='test -s conftest.$ac_objext'
3027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031 (exit $ac_status); }; }; then
3034 echo "$as_me: failed program was:" >&5
3035 sed 's/^/| /' conftest.$ac_ext >&5
3039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3040 cat >conftest.$ac_ext <<_ACEOF
3043 cat confdefs.h >>conftest.$ac_ext
3044 cat >>conftest.$ac_ext <<_ACEOF
3045 /* end confdefs.h. */
3055 rm -f conftest.$ac_objext
3056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3057 (eval $ac_compile) 2>conftest.er1
3059 grep -v '^ *+' conftest.er1 >conftest.err
3061 cat conftest.err >&5
3062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063 (exit $ac_status); } &&
3064 { ac_try='test -z "$ac_c_werror_flag"
3065 || test ! -s conftest.err'
3066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3070 (exit $ac_status); }; } &&
3071 { ac_try='test -s conftest.$ac_objext'
3072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3076 (exit $ac_status); }; }; then
3079 echo "$as_me: failed program was:" >&5
3080 sed 's/^/| /' conftest.$ac_ext >&5
3083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3086 if test -n "$ac_declaration"; then
3087 echo '#ifdef __cplusplus' >>confdefs.h
3088 echo $ac_declaration >>confdefs.h
3089 echo '#endif' >>confdefs.h
3093 echo "$as_me: failed program was:" >&5
3094 sed 's/^/| /' conftest.$ac_ext >&5
3097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3099 ac_cpp='$CPP $CPPFLAGS'
3100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3104 depcc="$CC" am_compiler_list=
3106 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3107 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3108 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3109 echo $ECHO_N "(cached) $ECHO_C" >&6
3111 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3112 # We make a subdir and do the tests there. Otherwise we can end up
3113 # making bogus files that we don't know about and never remove. For
3114 # instance it was reported that on HP-UX the gcc test will end up
3115 # making a dummy file named `D' -- because `-MD' means `put the output
3118 # Copy depcomp to subdir because otherwise we won't find it if we're
3119 # using a relative directory.
3120 cp "$am_depcomp" conftest.dir
3122 # We will build objects and dependencies in a subdirectory because
3123 # it helps to detect inapplicable dependency modes. For instance
3124 # both Tru64's cc and ICC support -MD to output dependencies as a
3125 # side effect of compilation, but ICC will put the dependencies in
3126 # the current directory while Tru64 will put them in the object
3130 am_cv_CC_dependencies_compiler_type=none
3131 if test "$am_compiler_list" = ""; then
3132 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3134 for depmode in $am_compiler_list; do
3135 # Setup a source with many dependencies, because some compilers
3136 # like to wrap large dependency lists on column 80 (with \), and
3137 # we should not choose a depcomp mode which is confused by this.
3139 # We need to recreate these files for each test, as the compiler may
3140 # overwrite some of them when testing with obscure command lines.
3141 # This happens at least with the AIX C compiler.
3143 for i in 1 2 3 4 5 6; do
3144 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3145 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3146 # Solaris 8's {/usr,}/bin/sh.
3147 touch sub/conftst$i.h
3149 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3153 # after this tag, mechanisms are not by side-effect, so they'll
3154 # only be used when explicitly requested
3155 if test "x$enable_dependency_tracking" = xyes; then
3163 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3164 # mode. It turns out that the SunPro C++ compiler does not properly
3165 # handle `-M -o', and we need to detect this.
3166 if depmode=$depmode \
3167 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3168 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3169 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3170 >/dev/null 2>conftest.err &&
3171 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3172 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3173 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3174 # icc doesn't choke on unknown options, it will just issue warnings
3175 # or remarks (even with -Werror). So we grep stderr for any message
3176 # that says an option was ignored or not supported.
3177 # When given -MP, icc 7.0 and 7.1 complain thusly:
3178 # icc: Command line warning: ignoring option '-M'; no argument required
3179 # The diagnosis changed in icc 8.0:
3180 # icc: Command line remark: option '-MP' not supported
3181 if (grep 'ignoring option' conftest.err ||
3182 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3183 am_cv_CC_dependencies_compiler_type=$depmode
3192 am_cv_CC_dependencies_compiler_type=none
3196 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3197 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3198 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3203 test "x$enable_dependency_tracking" != xno \
3204 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3206 am__fastdepCC_FALSE='#'
3208 am__fastdepCC_TRUE='#'
3209 am__fastdepCC_FALSE=
3215 ac_cpp='$CPP $CPPFLAGS'
3216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3219 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3220 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3221 # On Suns, sometimes $CPP names a directory.
3222 if test -n "$CPP" && test -d "$CPP"; then
3225 if test -z "$CPP"; then
3226 if test "${ac_cv_prog_CPP+set}" = set; then
3227 echo $ECHO_N "(cached) $ECHO_C" >&6
3229 # Double quotes because CPP needs to be expanded
3230 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3233 for ac_c_preproc_warn_flag in '' yes
3235 # Use a header file that comes with gcc, so configuring glibc
3236 # with a fresh cross-compiler works.
3237 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3238 # <limits.h> exists even on freestanding compilers.
3239 # On the NeXT, cc -E runs the code through the compiler's parser,
3240 # not just through cpp. "Syntax error" is here to catch this case.
3241 cat >conftest.$ac_ext <<_ACEOF
3244 cat confdefs.h >>conftest.$ac_ext
3245 cat >>conftest.$ac_ext <<_ACEOF
3246 /* end confdefs.h. */
3248 # include <limits.h>
3250 # include <assert.h>
3254 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3255 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3257 grep -v '^ *+' conftest.er1 >conftest.err
3259 cat conftest.err >&5
3260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261 (exit $ac_status); } >/dev/null; then
3262 if test -s conftest.err; then
3263 ac_cpp_err=$ac_c_preproc_warn_flag
3264 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3271 if test -z "$ac_cpp_err"; then
3274 echo "$as_me: failed program was:" >&5
3275 sed 's/^/| /' conftest.$ac_ext >&5
3277 # Broken: fails on valid input.
3280 rm -f conftest.err conftest.$ac_ext
3282 # OK, works on sane cases. Now check whether non-existent headers
3283 # can be detected and how.
3284 cat >conftest.$ac_ext <<_ACEOF
3287 cat confdefs.h >>conftest.$ac_ext
3288 cat >>conftest.$ac_ext <<_ACEOF
3289 /* end confdefs.h. */
3290 #include <ac_nonexistent.h>
3292 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3293 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3295 grep -v '^ *+' conftest.er1 >conftest.err
3297 cat conftest.err >&5
3298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299 (exit $ac_status); } >/dev/null; then
3300 if test -s conftest.err; then
3301 ac_cpp_err=$ac_c_preproc_warn_flag
3302 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3309 if test -z "$ac_cpp_err"; then
3310 # Broken: success on invalid input.
3313 echo "$as_me: failed program was:" >&5
3314 sed 's/^/| /' conftest.$ac_ext >&5
3316 # Passes both tests.
3320 rm -f conftest.err conftest.$ac_ext
3323 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3324 rm -f conftest.err conftest.$ac_ext
3325 if $ac_preproc_ok; then
3337 echo "$as_me:$LINENO: result: $CPP" >&5
3338 echo "${ECHO_T}$CPP" >&6
3340 for ac_c_preproc_warn_flag in '' yes
3342 # Use a header file that comes with gcc, so configuring glibc
3343 # with a fresh cross-compiler works.
3344 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3345 # <limits.h> exists even on freestanding compilers.
3346 # On the NeXT, cc -E runs the code through the compiler's parser,
3347 # not just through cpp. "Syntax error" is here to catch this case.
3348 cat >conftest.$ac_ext <<_ACEOF
3351 cat confdefs.h >>conftest.$ac_ext
3352 cat >>conftest.$ac_ext <<_ACEOF
3353 /* end confdefs.h. */
3355 # include <limits.h>
3357 # include <assert.h>
3361 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3362 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3364 grep -v '^ *+' conftest.er1 >conftest.err
3366 cat conftest.err >&5
3367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3368 (exit $ac_status); } >/dev/null; then
3369 if test -s conftest.err; then
3370 ac_cpp_err=$ac_c_preproc_warn_flag
3371 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3378 if test -z "$ac_cpp_err"; then
3381 echo "$as_me: failed program was:" >&5
3382 sed 's/^/| /' conftest.$ac_ext >&5
3384 # Broken: fails on valid input.
3387 rm -f conftest.err conftest.$ac_ext
3389 # OK, works on sane cases. Now check whether non-existent headers
3390 # can be detected and how.
3391 cat >conftest.$ac_ext <<_ACEOF
3394 cat confdefs.h >>conftest.$ac_ext
3395 cat >>conftest.$ac_ext <<_ACEOF
3396 /* end confdefs.h. */
3397 #include <ac_nonexistent.h>
3399 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3400 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3402 grep -v '^ *+' conftest.er1 >conftest.err
3404 cat conftest.err >&5
3405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3406 (exit $ac_status); } >/dev/null; then
3407 if test -s conftest.err; then
3408 ac_cpp_err=$ac_c_preproc_warn_flag
3409 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3416 if test -z "$ac_cpp_err"; then
3417 # Broken: success on invalid input.
3420 echo "$as_me: failed program was:" >&5
3421 sed 's/^/| /' conftest.$ac_ext >&5
3423 # Passes both tests.
3427 rm -f conftest.err conftest.$ac_ext
3430 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3431 rm -f conftest.err conftest.$ac_ext
3432 if $ac_preproc_ok; then
3435 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3436 See \`config.log' for more details." >&5
3437 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3438 See \`config.log' for more details." >&2;}
3439 { (exit 1); exit 1; }; }
3443 ac_cpp='$CPP $CPPFLAGS'
3444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3449 echo "$as_me:$LINENO: checking for egrep" >&5
3450 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3451 if test "${ac_cv_prog_egrep+set}" = set; then
3452 echo $ECHO_N "(cached) $ECHO_C" >&6
3454 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3455 then ac_cv_prog_egrep='grep -E'
3456 else ac_cv_prog_egrep='egrep'
3459 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3460 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3461 EGREP=$ac_cv_prog_egrep
3465 echo "$as_me:$LINENO: checking for AIX" >&5
3466 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3467 cat >conftest.$ac_ext <<_ACEOF
3470 cat confdefs.h >>conftest.$ac_ext
3471 cat >>conftest.$ac_ext <<_ACEOF
3472 /* end confdefs.h. */
3478 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3479 $EGREP "yes" >/dev/null 2>&1; then
3480 echo "$as_me:$LINENO: result: yes" >&5
3481 echo "${ECHO_T}yes" >&6
3482 cat >>confdefs.h <<\_ACEOF
3483 #define _ALL_SOURCE 1
3487 echo "$as_me:$LINENO: result: no" >&5
3488 echo "${ECHO_T}no" >&6
3493 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3494 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3495 if test "${ac_cv_header_stdc+set}" = set; then
3496 echo $ECHO_N "(cached) $ECHO_C" >&6
3498 cat >conftest.$ac_ext <<_ACEOF
3501 cat confdefs.h >>conftest.$ac_ext
3502 cat >>conftest.$ac_ext <<_ACEOF
3503 /* end confdefs.h. */
3517 rm -f conftest.$ac_objext
3518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3519 (eval $ac_compile) 2>conftest.er1
3521 grep -v '^ *+' conftest.er1 >conftest.err
3523 cat conftest.err >&5
3524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3525 (exit $ac_status); } &&
3526 { ac_try='test -z "$ac_c_werror_flag"
3527 || test ! -s conftest.err'
3528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3532 (exit $ac_status); }; } &&
3533 { ac_try='test -s conftest.$ac_objext'
3534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538 (exit $ac_status); }; }; then
3539 ac_cv_header_stdc=yes
3541 echo "$as_me: failed program was:" >&5
3542 sed 's/^/| /' conftest.$ac_ext >&5
3544 ac_cv_header_stdc=no
3546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3548 if test $ac_cv_header_stdc = yes; then
3549 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3550 cat >conftest.$ac_ext <<_ACEOF
3553 cat confdefs.h >>conftest.$ac_ext
3554 cat >>conftest.$ac_ext <<_ACEOF
3555 /* end confdefs.h. */
3559 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3560 $EGREP "memchr" >/dev/null 2>&1; then
3563 ac_cv_header_stdc=no
3569 if test $ac_cv_header_stdc = yes; then
3570 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3571 cat >conftest.$ac_ext <<_ACEOF
3574 cat confdefs.h >>conftest.$ac_ext
3575 cat >>conftest.$ac_ext <<_ACEOF
3576 /* end confdefs.h. */
3580 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3581 $EGREP "free" >/dev/null 2>&1; then
3584 ac_cv_header_stdc=no
3590 if test $ac_cv_header_stdc = yes; then
3591 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3592 if test "$cross_compiling" = yes; then
3595 cat >conftest.$ac_ext <<_ACEOF
3598 cat confdefs.h >>conftest.$ac_ext
3599 cat >>conftest.$ac_ext <<_ACEOF
3600 /* end confdefs.h. */
3602 #if ((' ' & 0x0FF) == 0x020)
3603 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3604 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3606 # define ISLOWER(c) \
3607 (('a' <= (c) && (c) <= 'i') \
3608 || ('j' <= (c) && (c) <= 'r') \
3609 || ('s' <= (c) && (c) <= 'z'))
3610 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3613 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3618 for (i = 0; i < 256; i++)
3619 if (XOR (islower (i), ISLOWER (i))
3620 || toupper (i) != TOUPPER (i))
3625 rm -f conftest$ac_exeext
3626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3627 (eval $ac_link) 2>&5
3629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3630 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3635 (exit $ac_status); }; }; then
3638 echo "$as_me: program exited with status $ac_status" >&5
3639 echo "$as_me: failed program was:" >&5
3640 sed 's/^/| /' conftest.$ac_ext >&5
3643 ac_cv_header_stdc=no
3645 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3649 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3650 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3651 if test $ac_cv_header_stdc = yes; then
3653 cat >>confdefs.h <<\_ACEOF
3654 #define STDC_HEADERS 1
3659 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3669 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3670 inttypes.h stdint.h unistd.h
3672 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3673 echo "$as_me:$LINENO: checking for $ac_header" >&5
3674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3675 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3676 echo $ECHO_N "(cached) $ECHO_C" >&6
3678 cat >conftest.$ac_ext <<_ACEOF
3681 cat confdefs.h >>conftest.$ac_ext
3682 cat >>conftest.$ac_ext <<_ACEOF
3683 /* end confdefs.h. */
3684 $ac_includes_default
3686 #include <$ac_header>
3688 rm -f conftest.$ac_objext
3689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3690 (eval $ac_compile) 2>conftest.er1
3692 grep -v '^ *+' conftest.er1 >conftest.err
3694 cat conftest.err >&5
3695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3696 (exit $ac_status); } &&
3697 { ac_try='test -z "$ac_c_werror_flag"
3698 || test ! -s conftest.err'
3699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3703 (exit $ac_status); }; } &&
3704 { ac_try='test -s conftest.$ac_objext'
3705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3709 (exit $ac_status); }; }; then
3710 eval "$as_ac_Header=yes"
3712 echo "$as_me: failed program was:" >&5
3713 sed 's/^/| /' conftest.$ac_ext >&5
3715 eval "$as_ac_Header=no"
3717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3720 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3721 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3722 cat >>confdefs.h <<_ACEOF
3723 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3731 if test "${ac_cv_header_minix_config_h+set}" = set; then
3732 echo "$as_me:$LINENO: checking for minix/config.h" >&5
3733 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3734 if test "${ac_cv_header_minix_config_h+set}" = set; then
3735 echo $ECHO_N "(cached) $ECHO_C" >&6
3737 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3738 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3740 # Is the header compilable?
3741 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3742 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
3743 cat >conftest.$ac_ext <<_ACEOF
3746 cat confdefs.h >>conftest.$ac_ext
3747 cat >>conftest.$ac_ext <<_ACEOF
3748 /* end confdefs.h. */
3749 $ac_includes_default
3750 #include <minix/config.h>
3752 rm -f conftest.$ac_objext
3753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3754 (eval $ac_compile) 2>conftest.er1
3756 grep -v '^ *+' conftest.er1 >conftest.err
3758 cat conftest.err >&5
3759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3760 (exit $ac_status); } &&
3761 { ac_try='test -z "$ac_c_werror_flag"
3762 || test ! -s conftest.err'
3763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3767 (exit $ac_status); }; } &&
3768 { ac_try='test -s conftest.$ac_objext'
3769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3773 (exit $ac_status); }; }; then
3774 ac_header_compiler=yes
3776 echo "$as_me: failed program was:" >&5
3777 sed 's/^/| /' conftest.$ac_ext >&5
3779 ac_header_compiler=no
3781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3782 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3783 echo "${ECHO_T}$ac_header_compiler" >&6
3785 # Is the header present?
3786 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3787 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
3788 cat >conftest.$ac_ext <<_ACEOF
3791 cat confdefs.h >>conftest.$ac_ext
3792 cat >>conftest.$ac_ext <<_ACEOF
3793 /* end confdefs.h. */
3794 #include <minix/config.h>
3796 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3797 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3799 grep -v '^ *+' conftest.er1 >conftest.err
3801 cat conftest.err >&5
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); } >/dev/null; then
3804 if test -s conftest.err; then
3805 ac_cpp_err=$ac_c_preproc_warn_flag
3806 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3813 if test -z "$ac_cpp_err"; then
3814 ac_header_preproc=yes
3816 echo "$as_me: failed program was:" >&5
3817 sed 's/^/| /' conftest.$ac_ext >&5
3819 ac_header_preproc=no
3821 rm -f conftest.err conftest.$ac_ext
3822 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3823 echo "${ECHO_T}$ac_header_preproc" >&6
3825 # So? What about this header?
3826 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3828 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3829 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3830 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3831 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3832 ac_header_preproc=yes
3835 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3836 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3837 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3838 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3839 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3840 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3841 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3842 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3843 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3844 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3845 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3846 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3849 ## ------------------------------ ##
3850 ## Report this to the ntp lists. ##
3851 ## ------------------------------ ##
3854 sed "s/^/$as_me: WARNING: /" >&2
3857 echo "$as_me:$LINENO: checking for minix/config.h" >&5
3858 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3859 if test "${ac_cv_header_minix_config_h+set}" = set; then
3860 echo $ECHO_N "(cached) $ECHO_C" >&6
3862 ac_cv_header_minix_config_h=$ac_header_preproc
3864 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3865 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3868 if test $ac_cv_header_minix_config_h = yes; then
3875 if test "$MINIX" = yes; then
3877 cat >>confdefs.h <<\_ACEOF
3878 #define _POSIX_SOURCE 1
3882 cat >>confdefs.h <<\_ACEOF
3883 #define _POSIX_1_SOURCE 2
3887 cat >>confdefs.h <<\_ACEOF
3895 ac_cpp='$CPP $CPPFLAGS'
3896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3899 if test -n "$ac_tool_prefix"; then
3900 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3901 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3902 echo "$as_me:$LINENO: checking for $ac_word" >&5
3903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3904 if test "${ac_cv_prog_CC+set}" = set; then
3905 echo $ECHO_N "(cached) $ECHO_C" >&6
3907 if test -n "$CC"; then
3908 ac_cv_prog_CC="$CC" # Let the user override the test.
3910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3914 test -z "$as_dir" && as_dir=.
3915 for ac_exec_ext in '' $ac_executable_extensions; do
3916 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3917 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3927 if test -n "$CC"; then
3928 echo "$as_me:$LINENO: result: $CC" >&5
3929 echo "${ECHO_T}$CC" >&6
3931 echo "$as_me:$LINENO: result: no" >&5
3932 echo "${ECHO_T}no" >&6
3936 if test -z "$ac_cv_prog_CC"; then
3938 # Extract the first word of "gcc", so it can be a program name with args.
3939 set dummy gcc; ac_word=$2
3940 echo "$as_me:$LINENO: checking for $ac_word" >&5
3941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3942 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3943 echo $ECHO_N "(cached) $ECHO_C" >&6
3945 if test -n "$ac_ct_CC"; then
3946 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3952 test -z "$as_dir" && as_dir=.
3953 for ac_exec_ext in '' $ac_executable_extensions; do
3954 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3955 ac_cv_prog_ac_ct_CC="gcc"
3956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3964 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3965 if test -n "$ac_ct_CC"; then
3966 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3967 echo "${ECHO_T}$ac_ct_CC" >&6
3969 echo "$as_me:$LINENO: result: no" >&5
3970 echo "${ECHO_T}no" >&6
3978 if test -z "$CC"; then
3979 if test -n "$ac_tool_prefix"; then
3980 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3981 set dummy ${ac_tool_prefix}cc; ac_word=$2
3982 echo "$as_me:$LINENO: checking for $ac_word" >&5
3983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3984 if test "${ac_cv_prog_CC+set}" = set; then
3985 echo $ECHO_N "(cached) $ECHO_C" >&6
3987 if test -n "$CC"; then
3988 ac_cv_prog_CC="$CC" # Let the user override the test.
3990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3994 test -z "$as_dir" && as_dir=.
3995 for ac_exec_ext in '' $ac_executable_extensions; do
3996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3997 ac_cv_prog_CC="${ac_tool_prefix}cc"
3998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4007 if test -n "$CC"; then
4008 echo "$as_me:$LINENO: result: $CC" >&5
4009 echo "${ECHO_T}$CC" >&6
4011 echo "$as_me:$LINENO: result: no" >&5
4012 echo "${ECHO_T}no" >&6
4016 if test -z "$ac_cv_prog_CC"; then
4018 # Extract the first word of "cc", so it can be a program name with args.
4019 set dummy cc; ac_word=$2
4020 echo "$as_me:$LINENO: checking for $ac_word" >&5
4021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4022 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4023 echo $ECHO_N "(cached) $ECHO_C" >&6
4025 if test -n "$ac_ct_CC"; then
4026 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4032 test -z "$as_dir" && as_dir=.
4033 for ac_exec_ext in '' $ac_executable_extensions; do
4034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4035 ac_cv_prog_ac_ct_CC="cc"
4036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4044 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4045 if test -n "$ac_ct_CC"; then
4046 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4047 echo "${ECHO_T}$ac_ct_CC" >&6
4049 echo "$as_me:$LINENO: result: no" >&5
4050 echo "${ECHO_T}no" >&6
4059 if test -z "$CC"; then
4060 # Extract the first word of "cc", so it can be a program name with args.
4061 set dummy cc; ac_word=$2
4062 echo "$as_me:$LINENO: checking for $ac_word" >&5
4063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4064 if test "${ac_cv_prog_CC+set}" = set; then
4065 echo $ECHO_N "(cached) $ECHO_C" >&6
4067 if test -n "$CC"; then
4068 ac_cv_prog_CC="$CC" # Let the user override the test.
4071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4075 test -z "$as_dir" && as_dir=.
4076 for ac_exec_ext in '' $ac_executable_extensions; do
4077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4078 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4079 ac_prog_rejected=yes
4083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4089 if test $ac_prog_rejected = yes; then
4090 # We found a bogon in the path, so make sure we never use it.
4091 set dummy $ac_cv_prog_CC
4093 if test $# != 0; then
4094 # We chose a different compiler from the bogus one.
4095 # However, it has the same basename, so the bogon will be chosen
4096 # first if we set CC to just the basename; use the full file name.
4098 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4104 if test -n "$CC"; then
4105 echo "$as_me:$LINENO: result: $CC" >&5
4106 echo "${ECHO_T}$CC" >&6
4108 echo "$as_me:$LINENO: result: no" >&5
4109 echo "${ECHO_T}no" >&6
4113 if test -z "$CC"; then
4114 if test -n "$ac_tool_prefix"; then
4117 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4118 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4119 echo "$as_me:$LINENO: checking for $ac_word" >&5
4120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4121 if test "${ac_cv_prog_CC+set}" = set; then
4122 echo $ECHO_N "(cached) $ECHO_C" >&6
4124 if test -n "$CC"; then
4125 ac_cv_prog_CC="$CC" # Let the user override the test.
4127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4131 test -z "$as_dir" && as_dir=.
4132 for ac_exec_ext in '' $ac_executable_extensions; do
4133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4134 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4144 if test -n "$CC"; then
4145 echo "$as_me:$LINENO: result: $CC" >&5
4146 echo "${ECHO_T}$CC" >&6
4148 echo "$as_me:$LINENO: result: no" >&5
4149 echo "${ECHO_T}no" >&6
4152 test -n "$CC" && break
4155 if test -z "$CC"; then
4159 # Extract the first word of "$ac_prog", so it can be a program name with args.
4160 set dummy $ac_prog; ac_word=$2
4161 echo "$as_me:$LINENO: checking for $ac_word" >&5
4162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4163 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4164 echo $ECHO_N "(cached) $ECHO_C" >&6
4166 if test -n "$ac_ct_CC"; then
4167 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4173 test -z "$as_dir" && as_dir=.
4174 for ac_exec_ext in '' $ac_executable_extensions; do
4175 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4176 ac_cv_prog_ac_ct_CC="$ac_prog"
4177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4185 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4186 if test -n "$ac_ct_CC"; then
4187 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4188 echo "${ECHO_T}$ac_ct_CC" >&6
4190 echo "$as_me:$LINENO: result: no" >&5
4191 echo "${ECHO_T}no" >&6
4194 test -n "$ac_ct_CC" && break
4203 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4204 See \`config.log' for more details." >&5
4205 echo "$as_me: error: no acceptable C compiler found in \$PATH
4206 See \`config.log' for more details." >&2;}
4207 { (exit 1); exit 1; }; }
4209 # Provide some information about the compiler.
4210 echo "$as_me:$LINENO:" \
4211 "checking for C compiler version" >&5
4212 ac_compiler=`set X $ac_compile; echo $2`
4213 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4214 (eval $ac_compiler --version </dev/null >&5) 2>&5
4216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4217 (exit $ac_status); }
4218 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4219 (eval $ac_compiler -v </dev/null >&5) 2>&5
4221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4222 (exit $ac_status); }
4223 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4224 (eval $ac_compiler -V </dev/null >&5) 2>&5
4226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4227 (exit $ac_status); }
4229 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4230 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4231 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4232 echo $ECHO_N "(cached) $ECHO_C" >&6
4234 cat >conftest.$ac_ext <<_ACEOF
4237 cat confdefs.h >>conftest.$ac_ext
4238 cat >>conftest.$ac_ext <<_ACEOF
4239 /* end confdefs.h. */
4252 rm -f conftest.$ac_objext
4253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4254 (eval $ac_compile) 2>conftest.er1
4256 grep -v '^ *+' conftest.er1 >conftest.err
4258 cat conftest.err >&5
4259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4260 (exit $ac_status); } &&
4261 { ac_try='test -z "$ac_c_werror_flag"
4262 || test ! -s conftest.err'
4263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4267 (exit $ac_status); }; } &&
4268 { ac_try='test -s conftest.$ac_objext'
4269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4273 (exit $ac_status); }; }; then
4276 echo "$as_me: failed program was:" >&5
4277 sed 's/^/| /' conftest.$ac_ext >&5
4281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4282 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4285 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4286 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4287 GCC=`test $ac_compiler_gnu = yes && echo yes`
4288 ac_test_CFLAGS=${CFLAGS+set}
4289 ac_save_CFLAGS=$CFLAGS
4291 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4292 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4293 if test "${ac_cv_prog_cc_g+set}" = set; then
4294 echo $ECHO_N "(cached) $ECHO_C" >&6
4296 cat >conftest.$ac_ext <<_ACEOF
4299 cat confdefs.h >>conftest.$ac_ext
4300 cat >>conftest.$ac_ext <<_ACEOF
4301 /* end confdefs.h. */
4311 rm -f conftest.$ac_objext
4312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4313 (eval $ac_compile) 2>conftest.er1
4315 grep -v '^ *+' conftest.er1 >conftest.err
4317 cat conftest.err >&5
4318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4319 (exit $ac_status); } &&
4320 { ac_try='test -z "$ac_c_werror_flag"
4321 || test ! -s conftest.err'
4322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4326 (exit $ac_status); }; } &&
4327 { ac_try='test -s conftest.$ac_objext'
4328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4332 (exit $ac_status); }; }; then
4335 echo "$as_me: failed program was:" >&5
4336 sed 's/^/| /' conftest.$ac_ext >&5
4340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4342 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4343 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4344 if test "$ac_test_CFLAGS" = set; then
4345 CFLAGS=$ac_save_CFLAGS
4346 elif test $ac_cv_prog_cc_g = yes; then
4347 if test "$GCC" = yes; then
4353 if test "$GCC" = yes; then
4359 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4360 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4361 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4362 echo $ECHO_N "(cached) $ECHO_C" >&6
4364 ac_cv_prog_cc_stdc=no
4366 cat >conftest.$ac_ext <<_ACEOF
4369 cat confdefs.h >>conftest.$ac_ext
4370 cat >>conftest.$ac_ext <<_ACEOF
4371 /* end confdefs.h. */
4374 #include <sys/types.h>
4375 #include <sys/stat.h>
4376 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4377 struct buf { int x; };
4378 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4379 static char *e (p, i)
4385 static char *f (char * (*g) (char **, int), char **p, ...)
4390 s = g (p, va_arg (v,int));
4395 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4396 function prototypes and stuff, but not '\xHH' hex character constants.
4397 These don't provoke an error unfortunately, instead are silently treated
4398 as 'x'. The following induces an error, until -std1 is added to get
4399 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4400 array size at least. It's necessary to write '\x00'==0 to get something
4401 that's true only with -std1. */
4402 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4404 int test (int i, double x);
4405 struct s1 {int (*f) (int a);};
4406 struct s2 {int (*f) (double a);};
4407 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4413 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4418 # Don't try gcc -ansi; that turns off useful extensions and
4419 # breaks some systems' header files.
4420 # AIX -qlanglvl=ansi
4421 # Ultrix and OSF/1 -std1
4422 # HP-UX 10.20 and later -Ae
4423 # HP-UX older versions -Aa -D_HPUX_SOURCE
4424 # SVR4 -Xc -D__EXTENSIONS__
4425 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4427 CC="$ac_save_CC $ac_arg"
4428 rm -f conftest.$ac_objext
4429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4430 (eval $ac_compile) 2>conftest.er1
4432 grep -v '^ *+' conftest.er1 >conftest.err
4434 cat conftest.err >&5
4435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4436 (exit $ac_status); } &&
4437 { ac_try='test -z "$ac_c_werror_flag"
4438 || test ! -s conftest.err'
4439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4443 (exit $ac_status); }; } &&
4444 { ac_try='test -s conftest.$ac_objext'
4445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4449 (exit $ac_status); }; }; then
4450 ac_cv_prog_cc_stdc=$ac_arg
4453 echo "$as_me: failed program was:" >&5
4454 sed 's/^/| /' conftest.$ac_ext >&5
4457 rm -f conftest.err conftest.$ac_objext
4459 rm -f conftest.$ac_ext conftest.$ac_objext
4464 case "x$ac_cv_prog_cc_stdc" in
4466 echo "$as_me:$LINENO: result: none needed" >&5
4467 echo "${ECHO_T}none needed" >&6 ;;
4469 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4470 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4471 CC="$CC $ac_cv_prog_cc_stdc" ;;
4474 # Some people use a C++ compiler to compile C. Since we use `exit',
4475 # in C++ we need to declare it. In case someone uses the same compiler
4476 # for both compiling C and C++ we need to have the C++ compiler decide
4477 # the declaration of exit, since it's the most demanding environment.
4478 cat >conftest.$ac_ext <<_ACEOF
4483 rm -f conftest.$ac_objext
4484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4485 (eval $ac_compile) 2>conftest.er1
4487 grep -v '^ *+' conftest.er1 >conftest.err
4489 cat conftest.err >&5
4490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4491 (exit $ac_status); } &&
4492 { ac_try='test -z "$ac_c_werror_flag"
4493 || test ! -s conftest.err'
4494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4498 (exit $ac_status); }; } &&
4499 { ac_try='test -s conftest.$ac_objext'
4500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4504 (exit $ac_status); }; }; then
4505 for ac_declaration in \
4507 'extern "C" void std::exit (int) throw (); using std::exit;' \
4508 'extern "C" void std::exit (int); using std::exit;' \
4509 'extern "C" void exit (int) throw ();' \
4510 'extern "C" void exit (int);' \
4513 cat >conftest.$ac_ext <<_ACEOF
4516 cat confdefs.h >>conftest.$ac_ext
4517 cat >>conftest.$ac_ext <<_ACEOF
4518 /* end confdefs.h. */
4529 rm -f conftest.$ac_objext
4530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4531 (eval $ac_compile) 2>conftest.er1
4533 grep -v '^ *+' conftest.er1 >conftest.err
4535 cat conftest.err >&5
4536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4537 (exit $ac_status); } &&
4538 { ac_try='test -z "$ac_c_werror_flag"
4539 || test ! -s conftest.err'
4540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4544 (exit $ac_status); }; } &&
4545 { ac_try='test -s conftest.$ac_objext'
4546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4550 (exit $ac_status); }; }; then
4553 echo "$as_me: failed program was:" >&5
4554 sed 's/^/| /' conftest.$ac_ext >&5
4558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4559 cat >conftest.$ac_ext <<_ACEOF
4562 cat confdefs.h >>conftest.$ac_ext
4563 cat >>conftest.$ac_ext <<_ACEOF
4564 /* end confdefs.h. */
4574 rm -f conftest.$ac_objext
4575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4576 (eval $ac_compile) 2>conftest.er1
4578 grep -v '^ *+' conftest.er1 >conftest.err
4580 cat conftest.err >&5
4581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4582 (exit $ac_status); } &&
4583 { ac_try='test -z "$ac_c_werror_flag"
4584 || test ! -s conftest.err'
4585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4589 (exit $ac_status); }; } &&
4590 { ac_try='test -s conftest.$ac_objext'
4591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595 (exit $ac_status); }; }; then
4598 echo "$as_me: failed program was:" >&5
4599 sed 's/^/| /' conftest.$ac_ext >&5
4602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4605 if test -n "$ac_declaration"; then
4606 echo '#ifdef __cplusplus' >>confdefs.h
4607 echo $ac_declaration >>confdefs.h
4608 echo '#endif' >>confdefs.h
4612 echo "$as_me: failed program was:" >&5
4613 sed 's/^/| /' conftest.$ac_ext >&5
4616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4618 ac_cpp='$CPP $CPPFLAGS'
4619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4623 depcc="$CC" am_compiler_list=
4625 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4626 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4627 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4628 echo $ECHO_N "(cached) $ECHO_C" >&6
4630 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4631 # We make a subdir and do the tests there. Otherwise we can end up
4632 # making bogus files that we don't know about and never remove. For
4633 # instance it was reported that on HP-UX the gcc test will end up
4634 # making a dummy file named `D' -- because `-MD' means `put the output
4637 # Copy depcomp to subdir because otherwise we won't find it if we're
4638 # using a relative directory.
4639 cp "$am_depcomp" conftest.dir
4641 # We will build objects and dependencies in a subdirectory because
4642 # it helps to detect inapplicable dependency modes. For instance
4643 # both Tru64's cc and ICC support -MD to output dependencies as a
4644 # side effect of compilation, but ICC will put the dependencies in
4645 # the current directory while Tru64 will put them in the object
4649 am_cv_CC_dependencies_compiler_type=none
4650 if test "$am_compiler_list" = ""; then
4651 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4653 for depmode in $am_compiler_list; do
4654 # Setup a source with many dependencies, because some compilers
4655 # like to wrap large dependency lists on column 80 (with \), and
4656 # we should not choose a depcomp mode which is confused by this.
4658 # We need to recreate these files for each test, as the compiler may
4659 # overwrite some of them when testing with obscure command lines.
4660 # This happens at least with the AIX C compiler.
4662 for i in 1 2 3 4 5 6; do
4663 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4664 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4665 # Solaris 8's {/usr,}/bin/sh.
4666 touch sub/conftst$i.h
4668 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4672 # after this tag, mechanisms are not by side-effect, so they'll
4673 # only be used when explicitly requested
4674 if test "x$enable_dependency_tracking" = xyes; then
4682 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4683 # mode. It turns out that the SunPro C++ compiler does not properly
4684 # handle `-M -o', and we need to detect this.
4685 if depmode=$depmode \
4686 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4687 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4688 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4689 >/dev/null 2>conftest.err &&
4690 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4691 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4692 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4693 # icc doesn't choke on unknown options, it will just issue warnings
4694 # or remarks (even with -Werror). So we grep stderr for any message
4695 # that says an option was ignored or not supported.
4696 # When given -MP, icc 7.0 and 7.1 complain thusly:
4697 # icc: Command line warning: ignoring option '-M'; no argument required
4698 # The diagnosis changed in icc 8.0:
4699 # icc: Command line remark: option '-MP' not supported
4700 if (grep 'ignoring option' conftest.err ||
4701 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4702 am_cv_CC_dependencies_compiler_type=$depmode
4711 am_cv_CC_dependencies_compiler_type=none
4715 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4716 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
4717 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4722 test "x$enable_dependency_tracking" != xno \
4723 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4725 am__fastdepCC_FALSE='#'
4727 am__fastdepCC_TRUE='#'
4728 am__fastdepCC_FALSE=
4732 # Ralf Wildenhues: With per-target flags we need CC_C_O
4733 if test "x$CC" != xcc; then
4734 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
4735 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
4737 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
4738 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
4740 set dummy $CC; ac_cc=`echo $2 |
4741 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4742 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
4743 echo $ECHO_N "(cached) $ECHO_C" >&6
4745 cat >conftest.$ac_ext <<_ACEOF
4748 cat confdefs.h >>conftest.$ac_ext
4749 cat >>conftest.$ac_ext <<_ACEOF
4750 /* end confdefs.h. */
4760 # Make sure it works both with $CC and with simple cc.
4761 # We do the test twice because some compilers refuse to overwrite an
4762 # existing .o file with -o, though they will create one.
4763 ac_try='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
4764 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768 (exit $ac_status); } &&
4769 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773 (exit $ac_status); };
4775 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4776 if test "x$CC" != xcc; then
4777 # Test first that cc exists at all.
4778 if { ac_try='cc -c conftest.$ac_ext >&5'
4779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4783 (exit $ac_status); }; }; then
4784 ac_try='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
4785 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4789 (exit $ac_status); } &&
4790 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4794 (exit $ac_status); };
4799 # cc exists but doesn't like -o.
4800 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4805 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4810 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
4811 echo "$as_me:$LINENO: result: yes" >&5
4812 echo "${ECHO_T}yes" >&6
4814 echo "$as_me:$LINENO: result: no" >&5
4815 echo "${ECHO_T}no" >&6
4817 cat >>confdefs.h <<\_ACEOF
4818 #define NO_MINUS_C_MINUS_O 1
4825 ac_cpp='$CPP $CPPFLAGS'
4826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4829 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4830 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4831 # On Suns, sometimes $CPP names a directory.
4832 if test -n "$CPP" && test -d "$CPP"; then
4835 if test -z "$CPP"; then
4836 if test "${ac_cv_prog_CPP+set}" = set; then
4837 echo $ECHO_N "(cached) $ECHO_C" >&6
4839 # Double quotes because CPP needs to be expanded
4840 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4843 for ac_c_preproc_warn_flag in '' yes
4845 # Use a header file that comes with gcc, so configuring glibc
4846 # with a fresh cross-compiler works.
4847 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4848 # <limits.h> exists even on freestanding compilers.
4849 # On the NeXT, cc -E runs the code through the compiler's parser,
4850 # not just through cpp. "Syntax error" is here to catch this case.
4851 cat >conftest.$ac_ext <<_ACEOF
4854 cat confdefs.h >>conftest.$ac_ext
4855 cat >>conftest.$ac_ext <<_ACEOF
4856 /* end confdefs.h. */
4858 # include <limits.h>
4860 # include <assert.h>
4864 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4865 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4867 grep -v '^ *+' conftest.er1 >conftest.err
4869 cat conftest.err >&5
4870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4871 (exit $ac_status); } >/dev/null; then
4872 if test -s conftest.err; then
4873 ac_cpp_err=$ac_c_preproc_warn_flag
4874 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4881 if test -z "$ac_cpp_err"; then
4884 echo "$as_me: failed program was:" >&5
4885 sed 's/^/| /' conftest.$ac_ext >&5
4887 # Broken: fails on valid input.
4890 rm -f conftest.err conftest.$ac_ext
4892 # OK, works on sane cases. Now check whether non-existent headers
4893 # can be detected and how.
4894 cat >conftest.$ac_ext <<_ACEOF
4897 cat confdefs.h >>conftest.$ac_ext
4898 cat >>conftest.$ac_ext <<_ACEOF
4899 /* end confdefs.h. */
4900 #include <ac_nonexistent.h>
4902 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4903 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4905 grep -v '^ *+' conftest.er1 >conftest.err
4907 cat conftest.err >&5
4908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4909 (exit $ac_status); } >/dev/null; then
4910 if test -s conftest.err; then
4911 ac_cpp_err=$ac_c_preproc_warn_flag
4912 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4919 if test -z "$ac_cpp_err"; then
4920 # Broken: success on invalid input.
4923 echo "$as_me: failed program was:" >&5
4924 sed 's/^/| /' conftest.$ac_ext >&5
4926 # Passes both tests.
4930 rm -f conftest.err conftest.$ac_ext
4933 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4934 rm -f conftest.err conftest.$ac_ext
4935 if $ac_preproc_ok; then
4947 echo "$as_me:$LINENO: result: $CPP" >&5
4948 echo "${ECHO_T}$CPP" >&6
4950 for ac_c_preproc_warn_flag in '' yes
4952 # Use a header file that comes with gcc, so configuring glibc
4953 # with a fresh cross-compiler works.
4954 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4955 # <limits.h> exists even on freestanding compilers.
4956 # On the NeXT, cc -E runs the code through the compiler's parser,
4957 # not just through cpp. "Syntax error" is here to catch this case.
4958 cat >conftest.$ac_ext <<_ACEOF
4961 cat confdefs.h >>conftest.$ac_ext
4962 cat >>conftest.$ac_ext <<_ACEOF
4963 /* end confdefs.h. */
4965 # include <limits.h>
4967 # include <assert.h>
4971 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4972 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4974 grep -v '^ *+' conftest.er1 >conftest.err
4976 cat conftest.err >&5
4977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4978 (exit $ac_status); } >/dev/null; then
4979 if test -s conftest.err; then
4980 ac_cpp_err=$ac_c_preproc_warn_flag
4981 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4988 if test -z "$ac_cpp_err"; then
4991 echo "$as_me: failed program was:" >&5
4992 sed 's/^/| /' conftest.$ac_ext >&5
4994 # Broken: fails on valid input.
4997 rm -f conftest.err conftest.$ac_ext
4999 # OK, works on sane cases. Now check whether non-existent headers
5000 # can be detected and how.
5001 cat >conftest.$ac_ext <<_ACEOF
5004 cat confdefs.h >>conftest.$ac_ext
5005 cat >>conftest.$ac_ext <<_ACEOF
5006 /* end confdefs.h. */
5007 #include <ac_nonexistent.h>
5009 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5010 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5012 grep -v '^ *+' conftest.er1 >conftest.err
5014 cat conftest.err >&5
5015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5016 (exit $ac_status); } >/dev/null; then
5017 if test -s conftest.err; then
5018 ac_cpp_err=$ac_c_preproc_warn_flag
5019 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5026 if test -z "$ac_cpp_err"; then
5027 # Broken: success on invalid input.
5030 echo "$as_me: failed program was:" >&5
5031 sed 's/^/| /' conftest.$ac_ext >&5
5033 # Passes both tests.
5037 rm -f conftest.err conftest.$ac_ext
5040 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5041 rm -f conftest.err conftest.$ac_ext
5042 if $ac_preproc_ok; then
5045 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5046 See \`config.log' for more details." >&5
5047 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5048 See \`config.log' for more details." >&2;}
5049 { (exit 1); exit 1; }; }
5053 ac_cpp='$CPP $CPPFLAGS'
5054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5059 # HMS: These need to be moved to AM_CPPFLAGS and/or AM_CFLAGS
5062 CFLAGS="$CFLAGS -Dfork=vfork -DSYS_AMIGA"
5064 *-*-hpux10.*) # at least for hppa2.0-hp-hpux10.20
5068 *) CFLAGS="$CFLAGS -Wp,-H18816"
5073 CFLAGS="$CFLAGS -DSYS_CYGWIN32"
5078 CFLAGS="$CFLAGS -Wc,+abi-socket"
5083 CPPFLAGS="$CPPFLAGS -DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE -I/SYSLOG/PUB"
5084 LDFLAGS="$LDFLAGS -L/SYSLOG/PUB"
5085 LIBS="$LIBS -lcurses"
5088 # see "man standards".
5089 # -D_XOPEN_SOURCE=500 is probably OK for c89 and before
5090 # -D_XOPEN_SOURCE=600 seems OK for c99
5091 #CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=500 -D__EXTENSIONS__"
5092 CPPFLAGS="$CPPFLAGS -D__EXTENSIONS__"
5098 echo "$as_me:$LINENO: checking additional compiler flags" >&5
5099 echo $ECHO_N "checking additional compiler flags... $ECHO_C" >&6
5100 if test "${ac_cv_os_cflags+set}" = set; then
5101 echo $ECHO_N "(cached) $ECHO_C" >&6
5104 case "${host_os}" in
5108 # do not use 64-bit compiler
5109 ac_cv_os_cflags="-n32 -mips3 -Wl,-woff,84"
5113 # HMS: am-utils needed this but we don't (apparently)
5115 # # get the right version of struct sockaddr
5118 # ac_cv_os_cflags="-std -D_SOCKADDR_LEN -D_NO_PROTO"
5121 # ac_cv_os_cflags="-D_SOCKADDR_LEN -D_NO_PROTO"
5126 # # get the right version of struct sockaddr
5129 # ac_cv_os_cflags="-std -D_SOCKADDR_LEN"
5132 # ac_cv_os_cflags="-D_SOCKADDR_LEN"
5137 ac_cv_os_cflags="" ;;
5139 # turn on additional headers
5140 ac_cv_os_cflags="-D_XOPEN_EXTENDED_SOURCE"
5143 # avoid circular dependencies in yp headers
5144 ac_cv_os_cflags="-DHAVE_BAD_HEADERS -D_XOPEN_EXTENDED_SOURCE"
5147 # make sure passing whole structures is handled in gcc
5150 ac_cv_os_cflags="-fpcc-struct-return"
5154 sunos[34]* | solaris1* | solaris2.[0-5]* | sunos5.[0-5]* )
5155 ac_cv_os_cflags="" ;;
5157 # turn on 64-bit file offset interface
5160 ac_cv_os_cflags="-D_LARGEFILE64_SOURCE"
5165 # use Ansi compiler on HPUX
5168 ac_cv_os_cflags="-Ae"
5172 darwin* | rhapsody* )
5173 ac_cv_os_cflags="-D_P1003_1B_VISIBLE"
5181 echo "$as_me:$LINENO: result: $ac_cv_os_cflags" >&5
5182 echo "${ECHO_T}$ac_cv_os_cflags" >&6
5183 CFLAGS="$CFLAGS $ac_cv_os_cflags"
5186 # NTP has (so far) been relying on leading-edge autogen.
5187 # Therefore, by default:
5188 # - use the version we ship with
5189 # - do not install it
5190 # - build a static copy (AC_DISABLE_SHARED - done earlier)
5191 case "${enable_local_libopts+set}" in
5193 *) enable_local_libopts=yes ;;
5195 case "${enable_libopts_install+set}" in
5197 *) enable_libopts_install=no ;;
5204 # Check whether --enable-local-libopts or --disable-local-libopts was given.
5205 if test "${enable_local_libopts+set}" = set; then
5206 enableval="$enable_local_libopts"
5208 if test x$enableval = xyes ; then
5209 { echo "$as_me:$LINENO: Using supplied libopts tearoff" >&5
5210 echo "$as_me: Using supplied libopts tearoff" >&6;}
5211 LIBOPTS_LDADD='$(top_builddir)/libopts/libopts.la'
5212 LIBOPTS_CFLAGS='-I$(top_srcdir)/libopts'
5213 NEED_LIBOPTS_DIR=true
5217 # Check whether --enable-libopts-install or --disable-libopts-install was given.
5218 if test "${enable_libopts_install+set}" = set; then
5219 enableval="$enable_libopts_install"
5224 if test "X${enable_libopts_install}" != Xno; then
5225 INSTALL_LIBOPTS_TRUE=
5226 INSTALL_LIBOPTS_FALSE='#'
5228 INSTALL_LIBOPTS_TRUE='#'
5229 INSTALL_LIBOPTS_FALSE=
5233 if test -z "${NEED_LIBOPTS_DIR}" ; then
5234 echo "$as_me:$LINENO: checking whether autoopts-config can be found" >&5
5235 echo $ECHO_N "checking whether autoopts-config can be found... $ECHO_C" >&6
5237 # Check whether --with-autoopts-config or --without-autoopts-config was given.
5238 if test "${with_autoopts_config+set}" = set; then
5239 withval="$with_autoopts_config"
5240 lo_cv_with_autoopts_config=${with_autoopts_config}
5242 echo "$as_me:$LINENO: checking whether autoopts-config is specified" >&5
5243 echo $ECHO_N "checking whether autoopts-config is specified... $ECHO_C" >&6
5244 if test "${lo_cv_with_autoopts_config+set}" = set; then
5245 echo $ECHO_N "(cached) $ECHO_C" >&6
5247 if autoopts-config --help 2>/dev/null 1>&2
5248 then lo_cv_with_autoopts_config=autoopts-config
5249 elif libopts-config --help 2>/dev/null 1>&2
5250 then lo_cv_with_autoopts_config=libopts-config
5251 else lo_cv_with_autoopts_config=no ; fi
5253 echo "$as_me:$LINENO: result: $lo_cv_with_autoopts_config" >&5
5254 echo "${ECHO_T}$lo_cv_with_autoopts_config" >&6
5256 fi; # end of AC_ARG_WITH
5258 if test "${lo_cv_test_autoopts+set}" = set; then
5259 echo $ECHO_N "(cached) $ECHO_C" >&6
5262 if test -z "${lo_cv_with_autoopts_config}" \
5263 -o X"${lo_cv_with_autoopts_config}" = Xno
5265 if autoopts-config --help 2>/dev/null 1>&2
5266 then lo_cv_with_autoopts_config=autoopts-config
5267 elif libopts-config --help 2>/dev/null 1>&2
5268 then lo_cv_with_autoopts_config=libopts-config
5269 else lo_cv_with_autoopts_config=false ; fi
5271 lo_cv_test_autoopts=`
5272 ${lo_cv_with_autoopts_config} --libs` 2> /dev/null
5273 if test $? -ne 0 -o -z "${lo_cv_test_autoopts}"
5274 then lo_cv_test_autoopts=no ; fi
5278 echo "$as_me:$LINENO: result: ${lo_cv_test_autoopts}" >&5
5279 echo "${ECHO_T}${lo_cv_test_autoopts}" >&6
5281 if test "X${lo_cv_test_autoopts}" != Xno
5283 LIBOPTS_LDADD="${lo_cv_test_autoopts}"
5284 LIBOPTS_CFLAGS="`${lo_cv_with_autoopts_config} --cflags`"
5286 LIBOPTS_LDADD='$(top_builddir)/libopts/libopts.la'
5287 LIBOPTS_CFLAGS='-I$(top_srcdir)/libopts'
5288 NEED_LIBOPTS_DIR=true
5290 fi # end of if test -z "${NEED_LIBOPTS_DIR}"
5294 if test -n "${NEED_LIBOPTS_DIR}"; then
5296 NEED_LIBOPTS_FALSE='#'
5298 NEED_LIBOPTS_TRUE='#'
5306 ac_config_files="$ac_config_files libopts/Makefile"
5310 if test -n "${NEED_LIBOPTS_DIR}" ; then
5313 if test X${INVOKE_LIBOPTS_MACROS_FIRST_done} != Xyes ; then
5317 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5318 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5319 if test "${ac_cv_header_stdc+set}" = set; then
5320 echo $ECHO_N "(cached) $ECHO_C" >&6
5322 cat >conftest.$ac_ext <<_ACEOF
5325 cat confdefs.h >>conftest.$ac_ext
5326 cat >>conftest.$ac_ext <<_ACEOF
5327 /* end confdefs.h. */
5341 rm -f conftest.$ac_objext
5342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5343 (eval $ac_compile) 2>conftest.er1
5345 grep -v '^ *+' conftest.er1 >conftest.err
5347 cat conftest.err >&5
5348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5349 (exit $ac_status); } &&
5350 { ac_try='test -z "$ac_c_werror_flag"
5351 || test ! -s conftest.err'
5352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5356 (exit $ac_status); }; } &&
5357 { ac_try='test -s conftest.$ac_objext'
5358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5362 (exit $ac_status); }; }; then
5363 ac_cv_header_stdc=yes
5365 echo "$as_me: failed program was:" >&5
5366 sed 's/^/| /' conftest.$ac_ext >&5
5368 ac_cv_header_stdc=no
5370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5372 if test $ac_cv_header_stdc = yes; then
5373 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5374 cat >conftest.$ac_ext <<_ACEOF
5377 cat confdefs.h >>conftest.$ac_ext
5378 cat >>conftest.$ac_ext <<_ACEOF
5379 /* end confdefs.h. */
5383 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5384 $EGREP "memchr" >/dev/null 2>&1; then
5387 ac_cv_header_stdc=no
5393 if test $ac_cv_header_stdc = yes; then
5394 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5395 cat >conftest.$ac_ext <<_ACEOF
5398 cat confdefs.h >>conftest.$ac_ext
5399 cat >>conftest.$ac_ext <<_ACEOF
5400 /* end confdefs.h. */
5404 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5405 $EGREP "free" >/dev/null 2>&1; then
5408 ac_cv_header_stdc=no
5414 if test $ac_cv_header_stdc = yes; then
5415 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5416 if test "$cross_compiling" = yes; then
5419 cat >conftest.$ac_ext <<_ACEOF
5422 cat confdefs.h >>conftest.$ac_ext
5423 cat >>conftest.$ac_ext <<_ACEOF
5424 /* end confdefs.h. */
5426 #if ((' ' & 0x0FF) == 0x020)
5427 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5428 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5430 # define ISLOWER(c) \
5431 (('a' <= (c) && (c) <= 'i') \
5432 || ('j' <= (c) && (c) <= 'r') \
5433 || ('s' <= (c) && (c) <= 'z'))
5434 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5437 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5442 for (i = 0; i < 256; i++)
5443 if (XOR (islower (i), ISLOWER (i))
5444 || toupper (i) != TOUPPER (i))
5449 rm -f conftest$ac_exeext
5450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5451 (eval $ac_link) 2>&5
5453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5454 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5459 (exit $ac_status); }; }; then
5462 echo "$as_me: program exited with status $ac_status" >&5
5463 echo "$as_me: failed program was:" >&5
5464 sed 's/^/| /' conftest.$ac_ext >&5
5467 ac_cv_header_stdc=no
5469 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5473 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5474 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5475 if test $ac_cv_header_stdc = yes; then
5477 cat >>confdefs.h <<\_ACEOF
5478 #define STDC_HEADERS 1
5492 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5493 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5494 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
5495 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
5496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5497 echo $ECHO_N "(cached) $ECHO_C" >&6
5499 cat >conftest.$ac_ext <<_ACEOF
5502 cat confdefs.h >>conftest.$ac_ext
5503 cat >>conftest.$ac_ext <<_ACEOF
5504 /* end confdefs.h. */
5505 #include <sys/types.h>
5517 rm -f conftest.$ac_objext
5518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5519 (eval $ac_compile) 2>conftest.er1
5521 grep -v '^ *+' conftest.er1 >conftest.err
5523 cat conftest.err >&5
5524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5525 (exit $ac_status); } &&
5526 { ac_try='test -z "$ac_c_werror_flag"
5527 || test ! -s conftest.err'
5528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5532 (exit $ac_status); }; } &&
5533 { ac_try='test -s conftest.$ac_objext'
5534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5538 (exit $ac_status); }; }; then
5539 eval "$as_ac_Header=yes"
5541 echo "$as_me: failed program was:" >&5
5542 sed 's/^/| /' conftest.$ac_ext >&5
5544 eval "$as_ac_Header=no"
5546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5549 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5550 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5551 cat >>confdefs.h <<_ACEOF
5552 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5555 ac_header_dirent=$ac_hdr; break
5559 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5560 if test $ac_header_dirent = dirent.h; then
5561 echo "$as_me:$LINENO: checking for library containing opendir" >&5
5562 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
5563 if test "${ac_cv_search_opendir+set}" = set; then
5564 echo $ECHO_N "(cached) $ECHO_C" >&6
5566 ac_func_search_save_LIBS=$LIBS
5567 ac_cv_search_opendir=no
5568 cat >conftest.$ac_ext <<_ACEOF
5571 cat confdefs.h >>conftest.$ac_ext
5572 cat >>conftest.$ac_ext <<_ACEOF
5573 /* end confdefs.h. */
5575 /* Override any gcc2 internal prototype to avoid an error. */
5579 /* We use char because int might match the return type of a gcc2
5580 builtin and then its argument prototype would still apply. */
5590 rm -f conftest.$ac_objext conftest$ac_exeext
5591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5592 (eval $ac_link) 2>conftest.er1
5594 grep -v '^ *+' conftest.er1 >conftest.err
5596 cat conftest.err >&5
5597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5598 (exit $ac_status); } &&
5599 { ac_try='test -z "$ac_c_werror_flag"
5600 || test ! -s conftest.err'
5601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5605 (exit $ac_status); }; } &&
5606 { ac_try='test -s conftest$ac_exeext'
5607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5611 (exit $ac_status); }; }; then
5612 ac_cv_search_opendir="none required"
5614 echo "$as_me: failed program was:" >&5
5615 sed 's/^/| /' conftest.$ac_ext >&5
5618 rm -f conftest.err conftest.$ac_objext \
5619 conftest$ac_exeext conftest.$ac_ext
5620 if test "$ac_cv_search_opendir" = no; then
5621 for ac_lib in dir; do
5622 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5623 cat >conftest.$ac_ext <<_ACEOF
5626 cat confdefs.h >>conftest.$ac_ext
5627 cat >>conftest.$ac_ext <<_ACEOF
5628 /* end confdefs.h. */
5630 /* Override any gcc2 internal prototype to avoid an error. */
5634 /* We use char because int might match the return type of a gcc2
5635 builtin and then its argument prototype would still apply. */
5645 rm -f conftest.$ac_objext conftest$ac_exeext
5646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5647 (eval $ac_link) 2>conftest.er1
5649 grep -v '^ *+' conftest.er1 >conftest.err
5651 cat conftest.err >&5
5652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5653 (exit $ac_status); } &&
5654 { ac_try='test -z "$ac_c_werror_flag"
5655 || test ! -s conftest.err'
5656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5660 (exit $ac_status); }; } &&
5661 { ac_try='test -s conftest$ac_exeext'
5662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5666 (exit $ac_status); }; }; then
5667 ac_cv_search_opendir="-l$ac_lib"
5670 echo "$as_me: failed program was:" >&5
5671 sed 's/^/| /' conftest.$ac_ext >&5
5674 rm -f conftest.err conftest.$ac_objext \
5675 conftest$ac_exeext conftest.$ac_ext
5678 LIBS=$ac_func_search_save_LIBS
5680 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5681 echo "${ECHO_T}$ac_cv_search_opendir" >&6
5682 if test "$ac_cv_search_opendir" != no; then
5683 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
5688 echo "$as_me:$LINENO: checking for library containing opendir" >&5
5689 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
5690 if test "${ac_cv_search_opendir+set}" = set; then
5691 echo $ECHO_N "(cached) $ECHO_C" >&6
5693 ac_func_search_save_LIBS=$LIBS
5694 ac_cv_search_opendir=no
5695 cat >conftest.$ac_ext <<_ACEOF
5698 cat confdefs.h >>conftest.$ac_ext
5699 cat >>conftest.$ac_ext <<_ACEOF
5700 /* end confdefs.h. */
5702 /* Override any gcc2 internal prototype to avoid an error. */
5706 /* We use char because int might match the return type of a gcc2
5707 builtin and then its argument prototype would still apply. */
5717 rm -f conftest.$ac_objext conftest$ac_exeext
5718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5719 (eval $ac_link) 2>conftest.er1
5721 grep -v '^ *+' conftest.er1 >conftest.err
5723 cat conftest.err >&5
5724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5725 (exit $ac_status); } &&
5726 { ac_try='test -z "$ac_c_werror_flag"
5727 || test ! -s conftest.err'
5728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5732 (exit $ac_status); }; } &&
5733 { ac_try='test -s conftest$ac_exeext'
5734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5738 (exit $ac_status); }; }; then
5739 ac_cv_search_opendir="none required"
5741 echo "$as_me: failed program was:" >&5
5742 sed 's/^/| /' conftest.$ac_ext >&5
5745 rm -f conftest.err conftest.$ac_objext \
5746 conftest$ac_exeext conftest.$ac_ext
5747 if test "$ac_cv_search_opendir" = no; then
5749 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5750 cat >conftest.$ac_ext <<_ACEOF
5753 cat confdefs.h >>conftest.$ac_ext
5754 cat >>conftest.$ac_ext <<_ACEOF
5755 /* end confdefs.h. */
5757 /* Override any gcc2 internal prototype to avoid an error. */
5761 /* We use char because int might match the return type of a gcc2
5762 builtin and then its argument prototype would still apply. */
5772 rm -f conftest.$ac_objext conftest$ac_exeext
5773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5774 (eval $ac_link) 2>conftest.er1
5776 grep -v '^ *+' conftest.er1 >conftest.err
5778 cat conftest.err >&5
5779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5780 (exit $ac_status); } &&
5781 { ac_try='test -z "$ac_c_werror_flag"
5782 || test ! -s conftest.err'
5783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5787 (exit $ac_status); }; } &&
5788 { ac_try='test -s conftest$ac_exeext'
5789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5793 (exit $ac_status); }; }; then
5794 ac_cv_search_opendir="-l$ac_lib"
5797 echo "$as_me: failed program was:" >&5
5798 sed 's/^/| /' conftest.$ac_ext >&5
5801 rm -f conftest.err conftest.$ac_objext \
5802 conftest$ac_exeext conftest.$ac_ext
5805 LIBS=$ac_func_search_save_LIBS
5807 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5808 echo "${ECHO_T}$ac_cv_search_opendir" >&6
5809 if test "$ac_cv_search_opendir" != no; then
5810 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
5840 for ac_header in dlfcn.h errno.h fcntl.h libgen.h memory.h netinet/in.h \
5841 setjmp.h sys/mman.h sys/param.h sys/poll.h sys/procset.h sys/select.h \
5842 sys/socket.h sys/stropts.h sys/time.h sys/un.h sys/wait.h unistd.h \
5845 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5846 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5847 echo "$as_me:$LINENO: checking for $ac_header" >&5
5848 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5849 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5850 echo $ECHO_N "(cached) $ECHO_C" >&6
5852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5853 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5855 # Is the header compilable?
5856 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5857 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5858 cat >conftest.$ac_ext <<_ACEOF
5861 cat confdefs.h >>conftest.$ac_ext
5862 cat >>conftest.$ac_ext <<_ACEOF
5863 /* end confdefs.h. */
5864 $ac_includes_default
5865 #include <$ac_header>
5867 rm -f conftest.$ac_objext
5868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5869 (eval $ac_compile) 2>conftest.er1
5871 grep -v '^ *+' conftest.er1 >conftest.err
5873 cat conftest.err >&5
5874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5875 (exit $ac_status); } &&
5876 { ac_try='test -z "$ac_c_werror_flag"
5877 || test ! -s conftest.err'
5878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5882 (exit $ac_status); }; } &&
5883 { ac_try='test -s conftest.$ac_objext'
5884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5888 (exit $ac_status); }; }; then
5889 ac_header_compiler=yes
5891 echo "$as_me: failed program was:" >&5
5892 sed 's/^/| /' conftest.$ac_ext >&5
5894 ac_header_compiler=no
5896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5897 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5898 echo "${ECHO_T}$ac_header_compiler" >&6
5900 # Is the header present?
5901 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5902 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5903 cat >conftest.$ac_ext <<_ACEOF
5906 cat confdefs.h >>conftest.$ac_ext
5907 cat >>conftest.$ac_ext <<_ACEOF
5908 /* end confdefs.h. */
5909 #include <$ac_header>
5911 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5912 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5914 grep -v '^ *+' conftest.er1 >conftest.err
5916 cat conftest.err >&5
5917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5918 (exit $ac_status); } >/dev/null; then
5919 if test -s conftest.err; then
5920 ac_cpp_err=$ac_c_preproc_warn_flag
5921 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5928 if test -z "$ac_cpp_err"; then
5929 ac_header_preproc=yes
5931 echo "$as_me: failed program was:" >&5
5932 sed 's/^/| /' conftest.$ac_ext >&5
5934 ac_header_preproc=no
5936 rm -f conftest.err conftest.$ac_ext
5937 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5938 echo "${ECHO_T}$ac_header_preproc" >&6
5940 # So? What about this header?
5941 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5943 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5944 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5945 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5946 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5947 ac_header_preproc=yes
5950 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5951 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5952 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5953 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5954 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5955 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5956 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5957 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5958 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5959 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5960 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5961 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5964 ## ------------------------------ ##
5965 ## Report this to the ntp lists. ##
5966 ## ------------------------------ ##
5969 sed "s/^/$as_me: WARNING: /" >&2
5972 echo "$as_me:$LINENO: checking for $ac_header" >&5
5973 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5974 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5975 echo $ECHO_N "(cached) $ECHO_C" >&6
5977 eval "$as_ac_Header=\$ac_header_preproc"
5979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5980 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5983 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5984 cat >>confdefs.h <<_ACEOF
5985 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5993 # --------------------------------------------
5994 # Verify certain entries from AC_CHECK_HEADERS
5995 # --------------------------------------------
5996 for f in sys_types sys_mman sys_param sys_stat sys_wait \
5997 string errno stdlib memory setjmp
5998 do eval as_ac_var=\${ac_cv_header_${f}_h+set}
5999 test "${as_ac_var}" = set || \
6000 { { echo "$as_me:$LINENO: error: You must have ${f}.h on your system" >&5
6001 echo "$as_me: error: You must have ${f}.h on your system" >&2;}
6002 { (exit 1); exit 1; }; }
6005 # ================================================
6006 # AC_CHECK_HEADERS: stdarg.h is present define HAVE_STDARG_H, otherwise
6007 # if varargs.h is present define HAVE_VARARGS_H.
6008 # ================================================
6011 for ac_header in stdarg.h varargs.h
6013 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6014 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6015 echo "$as_me:$LINENO: checking for $ac_header" >&5
6016 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6017 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6018 echo $ECHO_N "(cached) $ECHO_C" >&6
6020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6021 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6023 # Is the header compilable?
6024 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6025 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6026 cat >conftest.$ac_ext <<_ACEOF
6029 cat confdefs.h >>conftest.$ac_ext
6030 cat >>conftest.$ac_ext <<_ACEOF
6031 /* end confdefs.h. */
6032 $ac_includes_default
6033 #include <$ac_header>
6035 rm -f conftest.$ac_objext
6036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6037 (eval $ac_compile) 2>conftest.er1
6039 grep -v '^ *+' conftest.er1 >conftest.err
6041 cat conftest.err >&5
6042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6043 (exit $ac_status); } &&
6044 { ac_try='test -z "$ac_c_werror_flag"
6045 || test ! -s conftest.err'
6046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6050 (exit $ac_status); }; } &&
6051 { ac_try='test -s conftest.$ac_objext'
6052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6056 (exit $ac_status); }; }; then
6057 ac_header_compiler=yes
6059 echo "$as_me: failed program was:" >&5
6060 sed 's/^/| /' conftest.$ac_ext >&5
6062 ac_header_compiler=no
6064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6065 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6066 echo "${ECHO_T}$ac_header_compiler" >&6
6068 # Is the header present?
6069 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6070 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6071 cat >conftest.$ac_ext <<_ACEOF
6074 cat confdefs.h >>conftest.$ac_ext
6075 cat >>conftest.$ac_ext <<_ACEOF
6076 /* end confdefs.h. */
6077 #include <$ac_header>
6079 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6080 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6082 grep -v '^ *+' conftest.er1 >conftest.err
6084 cat conftest.err >&5
6085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6086 (exit $ac_status); } >/dev/null; then
6087 if test -s conftest.err; then
6088 ac_cpp_err=$ac_c_preproc_warn_flag
6089 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6096 if test -z "$ac_cpp_err"; then
6097 ac_header_preproc=yes
6099 echo "$as_me: failed program was:" >&5
6100 sed 's/^/| /' conftest.$ac_ext >&5
6102 ac_header_preproc=no
6104 rm -f conftest.err conftest.$ac_ext
6105 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6106 echo "${ECHO_T}$ac_header_preproc" >&6
6108 # So? What about this header?
6109 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6111 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6112 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6113 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6114 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6115 ac_header_preproc=yes
6118 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6119 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6120 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6121 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6122 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6123 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6124 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6125 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6126 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6127 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6128 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6129 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6132 ## ------------------------------ ##
6133 ## Report this to the ntp lists. ##
6134 ## ------------------------------ ##
6137 sed "s/^/$as_me: WARNING: /" >&2
6140 echo "$as_me:$LINENO: checking for $ac_header" >&5
6141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6143 echo $ECHO_N "(cached) $ECHO_C" >&6
6145 eval "$as_ac_Header=\$ac_header_preproc"
6147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6148 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6151 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6152 cat >>confdefs.h <<_ACEOF
6153 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6160 if test `eval echo '${'$as_ac_Header'}'` != yes; then
6161 { { echo "$as_me:$LINENO: error: You must have stdarg.h or varargs.h on your system" >&5
6162 echo "$as_me: error: You must have stdarg.h or varargs.h on your system" >&2;}
6163 { (exit 1); exit 1; }; }
6166 # ================================================
6167 # Similarly for the string.h and strings.h headers
6168 # ================================================
6171 for ac_header in string.h strings.h
6173 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6174 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6175 echo "$as_me:$LINENO: checking for $ac_header" >&5
6176 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6177 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6178 echo $ECHO_N "(cached) $ECHO_C" >&6
6180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6181 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6183 # Is the header compilable?
6184 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6185 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6186 cat >conftest.$ac_ext <<_ACEOF
6189 cat confdefs.h >>conftest.$ac_ext
6190 cat >>conftest.$ac_ext <<_ACEOF
6191 /* end confdefs.h. */
6192 $ac_includes_default
6193 #include <$ac_header>
6195 rm -f conftest.$ac_objext
6196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6197 (eval $ac_compile) 2>conftest.er1
6199 grep -v '^ *+' conftest.er1 >conftest.err
6201 cat conftest.err >&5
6202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6203 (exit $ac_status); } &&
6204 { ac_try='test -z "$ac_c_werror_flag"
6205 || test ! -s conftest.err'
6206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6210 (exit $ac_status); }; } &&
6211 { ac_try='test -s conftest.$ac_objext'
6212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6216 (exit $ac_status); }; }; then
6217 ac_header_compiler=yes
6219 echo "$as_me: failed program was:" >&5
6220 sed 's/^/| /' conftest.$ac_ext >&5
6222 ac_header_compiler=no
6224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6225 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6226 echo "${ECHO_T}$ac_header_compiler" >&6
6228 # Is the header present?
6229 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6230 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6231 cat >conftest.$ac_ext <<_ACEOF
6234 cat confdefs.h >>conftest.$ac_ext
6235 cat >>conftest.$ac_ext <<_ACEOF
6236 /* end confdefs.h. */
6237 #include <$ac_header>
6239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6240 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6242 grep -v '^ *+' conftest.er1 >conftest.err
6244 cat conftest.err >&5
6245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6246 (exit $ac_status); } >/dev/null; then
6247 if test -s conftest.err; then
6248 ac_cpp_err=$ac_c_preproc_warn_flag
6249 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6256 if test -z "$ac_cpp_err"; then
6257 ac_header_preproc=yes
6259 echo "$as_me: failed program was:" >&5
6260 sed 's/^/| /' conftest.$ac_ext >&5
6262 ac_header_preproc=no
6264 rm -f conftest.err conftest.$ac_ext
6265 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6266 echo "${ECHO_T}$ac_header_preproc" >&6
6268 # So? What about this header?
6269 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6271 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6272 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6273 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6274 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6275 ac_header_preproc=yes
6278 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6279 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6280 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6281 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6282 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6283 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6284 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6285 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6286 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6287 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6288 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6289 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6292 ## ------------------------------ ##
6293 ## Report this to the ntp lists. ##
6294 ## ------------------------------ ##
6297 sed "s/^/$as_me: WARNING: /" >&2
6300 echo "$as_me:$LINENO: checking for $ac_header" >&5
6301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6302 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6303 echo $ECHO_N "(cached) $ECHO_C" >&6
6305 eval "$as_ac_Header=\$ac_header_preproc"
6307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6308 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6311 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6312 cat >>confdefs.h <<_ACEOF
6313 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6320 if test `eval echo '${'$as_ac_Header'}'` != yes; then
6321 { { echo "$as_me:$LINENO: error: You must have string.h or strings.h on your system" >&5
6322 echo "$as_me: error: You must have string.h or strings.h on your system" >&2;}
6323 { (exit 1); exit 1; }; }
6326 # =====================
6327 # ...and limits headers
6328 # =====================
6332 for ac_header in limits.h sys/limits.h values.h
6334 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6336 echo "$as_me:$LINENO: checking for $ac_header" >&5
6337 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6339 echo $ECHO_N "(cached) $ECHO_C" >&6
6341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6342 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6344 # Is the header compilable?
6345 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6346 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6347 cat >conftest.$ac_ext <<_ACEOF
6350 cat confdefs.h >>conftest.$ac_ext
6351 cat >>conftest.$ac_ext <<_ACEOF
6352 /* end confdefs.h. */
6353 $ac_includes_default
6354 #include <$ac_header>
6356 rm -f conftest.$ac_objext
6357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6358 (eval $ac_compile) 2>conftest.er1
6360 grep -v '^ *+' conftest.er1 >conftest.err
6362 cat conftest.err >&5
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); } &&
6365 { ac_try='test -z "$ac_c_werror_flag"
6366 || test ! -s conftest.err'
6367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6371 (exit $ac_status); }; } &&
6372 { ac_try='test -s conftest.$ac_objext'
6373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6377 (exit $ac_status); }; }; then
6378 ac_header_compiler=yes
6380 echo "$as_me: failed program was:" >&5
6381 sed 's/^/| /' conftest.$ac_ext >&5
6383 ac_header_compiler=no
6385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6386 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6387 echo "${ECHO_T}$ac_header_compiler" >&6
6389 # Is the header present?
6390 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6391 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6392 cat >conftest.$ac_ext <<_ACEOF
6395 cat confdefs.h >>conftest.$ac_ext
6396 cat >>conftest.$ac_ext <<_ACEOF
6397 /* end confdefs.h. */
6398 #include <$ac_header>
6400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6401 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6403 grep -v '^ *+' conftest.er1 >conftest.err
6405 cat conftest.err >&5
6406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6407 (exit $ac_status); } >/dev/null; then
6408 if test -s conftest.err; then
6409 ac_cpp_err=$ac_c_preproc_warn_flag
6410 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6417 if test -z "$ac_cpp_err"; then
6418 ac_header_preproc=yes
6420 echo "$as_me: failed program was:" >&5
6421 sed 's/^/| /' conftest.$ac_ext >&5
6423 ac_header_preproc=no
6425 rm -f conftest.err conftest.$ac_ext
6426 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6427 echo "${ECHO_T}$ac_header_preproc" >&6
6429 # So? What about this header?
6430 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6432 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6433 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6434 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6435 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6436 ac_header_preproc=yes
6439 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6440 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6441 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6442 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6443 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6444 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6445 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6446 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6447 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6448 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6449 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6450 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6453 ## ------------------------------ ##
6454 ## Report this to the ntp lists. ##
6455 ## ------------------------------ ##
6458 sed "s/^/$as_me: WARNING: /" >&2
6461 echo "$as_me:$LINENO: checking for $ac_header" >&5
6462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6464 echo $ECHO_N "(cached) $ECHO_C" >&6
6466 eval "$as_ac_Header=\$ac_header_preproc"
6468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6469 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6473 cat >>confdefs.h <<_ACEOF
6474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6481 if test `eval echo '${'$as_ac_Header'}'` != yes; then
6482 { { echo "$as_me:$LINENO: error: You must have one of limits.h, sys/limits.h or values.h" >&5
6483 echo "$as_me: error: You must have one of limits.h, sys/limits.h or values.h" >&2;}
6484 { (exit 1); exit 1; }; }
6487 # ========================
6488 # ...and int types headers
6489 # ========================
6492 for ac_header in stdint.h inttypes.h
6494 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6495 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6496 echo "$as_me:$LINENO: checking for $ac_header" >&5
6497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6499 echo $ECHO_N "(cached) $ECHO_C" >&6
6501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6502 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6504 # Is the header compilable?
6505 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6506 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6507 cat >conftest.$ac_ext <<_ACEOF
6510 cat confdefs.h >>conftest.$ac_ext
6511 cat >>conftest.$ac_ext <<_ACEOF
6512 /* end confdefs.h. */
6513 $ac_includes_default
6514 #include <$ac_header>
6516 rm -f conftest.$ac_objext
6517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6518 (eval $ac_compile) 2>conftest.er1
6520 grep -v '^ *+' conftest.er1 >conftest.err
6522 cat conftest.err >&5
6523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6524 (exit $ac_status); } &&
6525 { ac_try='test -z "$ac_c_werror_flag"
6526 || test ! -s conftest.err'
6527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6531 (exit $ac_status); }; } &&
6532 { ac_try='test -s conftest.$ac_objext'
6533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6537 (exit $ac_status); }; }; then
6538 ac_header_compiler=yes
6540 echo "$as_me: failed program was:" >&5
6541 sed 's/^/| /' conftest.$ac_ext >&5
6543 ac_header_compiler=no
6545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6546 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6547 echo "${ECHO_T}$ac_header_compiler" >&6
6549 # Is the header present?
6550 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6551 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6552 cat >conftest.$ac_ext <<_ACEOF
6555 cat confdefs.h >>conftest.$ac_ext
6556 cat >>conftest.$ac_ext <<_ACEOF
6557 /* end confdefs.h. */
6558 #include <$ac_header>
6560 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6561 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6563 grep -v '^ *+' conftest.er1 >conftest.err
6565 cat conftest.err >&5
6566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6567 (exit $ac_status); } >/dev/null; then
6568 if test -s conftest.err; then
6569 ac_cpp_err=$ac_c_preproc_warn_flag
6570 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6577 if test -z "$ac_cpp_err"; then
6578 ac_header_preproc=yes
6580 echo "$as_me: failed program was:" >&5
6581 sed 's/^/| /' conftest.$ac_ext >&5
6583 ac_header_preproc=no
6585 rm -f conftest.err conftest.$ac_ext
6586 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6587 echo "${ECHO_T}$ac_header_preproc" >&6
6589 # So? What about this header?
6590 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6592 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6593 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6594 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6595 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6596 ac_header_preproc=yes
6599 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6600 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6601 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6602 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6603 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6604 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6605 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6606 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6608 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6609 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6610 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6613 ## ------------------------------ ##
6614 ## Report this to the ntp lists. ##
6615 ## ------------------------------ ##
6618 sed "s/^/$as_me: WARNING: /" >&2
6621 echo "$as_me:$LINENO: checking for $ac_header" >&5
6622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6623 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6624 echo $ECHO_N "(cached) $ECHO_C" >&6
6626 eval "$as_ac_Header=\$ac_header_preproc"
6628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6629 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6632 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6633 cat >>confdefs.h <<_ACEOF
6634 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6641 echo "$as_me:$LINENO: checking for int8_t" >&5
6642 echo $ECHO_N "checking for int8_t... $ECHO_C" >&6
6643 if test "${ac_cv_type_int8_t+set}" = set; then
6644 echo $ECHO_N "(cached) $ECHO_C" >&6
6646 cat >conftest.$ac_ext <<_ACEOF
6649 cat confdefs.h >>conftest.$ac_ext
6650 cat >>conftest.$ac_ext <<_ACEOF
6651 /* end confdefs.h. */
6652 $ac_includes_default
6658 if (sizeof (int8_t))
6664 rm -f conftest.$ac_objext
6665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6666 (eval $ac_compile) 2>conftest.er1
6668 grep -v '^ *+' conftest.er1 >conftest.err
6670 cat conftest.err >&5
6671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6672 (exit $ac_status); } &&
6673 { ac_try='test -z "$ac_c_werror_flag"
6674 || test ! -s conftest.err'
6675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6679 (exit $ac_status); }; } &&
6680 { ac_try='test -s conftest.$ac_objext'
6681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6685 (exit $ac_status); }; }; then
6686 ac_cv_type_int8_t=yes
6688 echo "$as_me: failed program was:" >&5
6689 sed 's/^/| /' conftest.$ac_ext >&5
6691 ac_cv_type_int8_t=no
6693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6695 echo "$as_me:$LINENO: result: $ac_cv_type_int8_t" >&5
6696 echo "${ECHO_T}$ac_cv_type_int8_t" >&6
6697 if test $ac_cv_type_int8_t = yes; then
6699 cat >>confdefs.h <<_ACEOF
6700 #define HAVE_INT8_T 1
6705 echo "$as_me:$LINENO: checking for uint8_t" >&5
6706 echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6
6707 if test "${ac_cv_type_uint8_t+set}" = set; then
6708 echo $ECHO_N "(cached) $ECHO_C" >&6
6710 cat >conftest.$ac_ext <<_ACEOF
6713 cat confdefs.h >>conftest.$ac_ext
6714 cat >>conftest.$ac_ext <<_ACEOF
6715 /* end confdefs.h. */
6716 $ac_includes_default
6722 if (sizeof (uint8_t))
6728 rm -f conftest.$ac_objext
6729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6730 (eval $ac_compile) 2>conftest.er1
6732 grep -v '^ *+' conftest.er1 >conftest.err
6734 cat conftest.err >&5
6735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6736 (exit $ac_status); } &&
6737 { ac_try='test -z "$ac_c_werror_flag"
6738 || test ! -s conftest.err'
6739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6743 (exit $ac_status); }; } &&
6744 { ac_try='test -s conftest.$ac_objext'
6745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6749 (exit $ac_status); }; }; then
6750 ac_cv_type_uint8_t=yes
6752 echo "$as_me: failed program was:" >&5
6753 sed 's/^/| /' conftest.$ac_ext >&5
6755 ac_cv_type_uint8_t=no
6757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6759 echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
6760 echo "${ECHO_T}$ac_cv_type_uint8_t" >&6
6761 if test $ac_cv_type_uint8_t = yes; then
6763 cat >>confdefs.h <<_ACEOF
6764 #define HAVE_UINT8_T 1
6769 echo "$as_me:$LINENO: checking for int16_t" >&5
6770 echo $ECHO_N "checking for int16_t... $ECHO_C" >&6
6771 if test "${ac_cv_type_int16_t+set}" = set; then
6772 echo $ECHO_N "(cached) $ECHO_C" >&6
6774 cat >conftest.$ac_ext <<_ACEOF
6777 cat confdefs.h >>conftest.$ac_ext
6778 cat >>conftest.$ac_ext <<_ACEOF
6779 /* end confdefs.h. */
6780 $ac_includes_default
6786 if (sizeof (int16_t))
6792 rm -f conftest.$ac_objext
6793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6794 (eval $ac_compile) 2>conftest.er1
6796 grep -v '^ *+' conftest.er1 >conftest.err
6798 cat conftest.err >&5
6799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6800 (exit $ac_status); } &&
6801 { ac_try='test -z "$ac_c_werror_flag"
6802 || test ! -s conftest.err'
6803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6807 (exit $ac_status); }; } &&
6808 { ac_try='test -s conftest.$ac_objext'
6809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6813 (exit $ac_status); }; }; then
6814 ac_cv_type_int16_t=yes
6816 echo "$as_me: failed program was:" >&5
6817 sed 's/^/| /' conftest.$ac_ext >&5
6819 ac_cv_type_int16_t=no
6821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6823 echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5
6824 echo "${ECHO_T}$ac_cv_type_int16_t" >&6
6825 if test $ac_cv_type_int16_t = yes; then
6827 cat >>confdefs.h <<_ACEOF
6828 #define HAVE_INT16_T 1
6833 echo "$as_me:$LINENO: checking for uint16_t" >&5
6834 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6
6835 if test "${ac_cv_type_uint16_t+set}" = set; then
6836 echo $ECHO_N "(cached) $ECHO_C" >&6
6838 cat >conftest.$ac_ext <<_ACEOF
6841 cat confdefs.h >>conftest.$ac_ext
6842 cat >>conftest.$ac_ext <<_ACEOF
6843 /* end confdefs.h. */
6844 $ac_includes_default
6850 if (sizeof (uint16_t))
6856 rm -f conftest.$ac_objext
6857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6858 (eval $ac_compile) 2>conftest.er1
6860 grep -v '^ *+' conftest.er1 >conftest.err
6862 cat conftest.err >&5
6863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6864 (exit $ac_status); } &&
6865 { ac_try='test -z "$ac_c_werror_flag"
6866 || test ! -s conftest.err'
6867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6871 (exit $ac_status); }; } &&
6872 { ac_try='test -s conftest.$ac_objext'
6873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6877 (exit $ac_status); }; }; then
6878 ac_cv_type_uint16_t=yes
6880 echo "$as_me: failed program was:" >&5
6881 sed 's/^/| /' conftest.$ac_ext >&5
6883 ac_cv_type_uint16_t=no
6885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6887 echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
6888 echo "${ECHO_T}$ac_cv_type_uint16_t" >&6
6889 if test $ac_cv_type_uint16_t = yes; then
6891 cat >>confdefs.h <<_ACEOF
6892 #define HAVE_UINT16_T 1
6897 echo "$as_me:$LINENO: checking for int32_t" >&5
6898 echo $ECHO_N "checking for int32_t... $ECHO_C" >&6
6899 if test "${ac_cv_type_int32_t+set}" = set; then
6900 echo $ECHO_N "(cached) $ECHO_C" >&6
6902 cat >conftest.$ac_ext <<_ACEOF
6905 cat confdefs.h >>conftest.$ac_ext
6906 cat >>conftest.$ac_ext <<_ACEOF
6907 /* end confdefs.h. */
6908 $ac_includes_default
6914 if (sizeof (int32_t))
6920 rm -f conftest.$ac_objext
6921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6922 (eval $ac_compile) 2>conftest.er1
6924 grep -v '^ *+' conftest.er1 >conftest.err
6926 cat conftest.err >&5
6927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6928 (exit $ac_status); } &&
6929 { ac_try='test -z "$ac_c_werror_flag"
6930 || test ! -s conftest.err'
6931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6935 (exit $ac_status); }; } &&
6936 { ac_try='test -s conftest.$ac_objext'
6937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6941 (exit $ac_status); }; }; then
6942 ac_cv_type_int32_t=yes
6944 echo "$as_me: failed program was:" >&5
6945 sed 's/^/| /' conftest.$ac_ext >&5
6947 ac_cv_type_int32_t=no
6949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6951 echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
6952 echo "${ECHO_T}$ac_cv_type_int32_t" >&6
6953 if test $ac_cv_type_int32_t = yes; then
6955 cat >>confdefs.h <<_ACEOF
6956 #define HAVE_INT32_T 1
6961 echo "$as_me:$LINENO: checking for uint32_t" >&5
6962 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
6963 if test "${ac_cv_type_uint32_t+set}" = set; then
6964 echo $ECHO_N "(cached) $ECHO_C" >&6
6966 cat >conftest.$ac_ext <<_ACEOF
6969 cat confdefs.h >>conftest.$ac_ext
6970 cat >>conftest.$ac_ext <<_ACEOF
6971 /* end confdefs.h. */
6972 $ac_includes_default
6978 if (sizeof (uint32_t))
6984 rm -f conftest.$ac_objext
6985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6986 (eval $ac_compile) 2>conftest.er1
6988 grep -v '^ *+' conftest.er1 >conftest.err
6990 cat conftest.err >&5
6991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6992 (exit $ac_status); } &&
6993 { ac_try='test -z "$ac_c_werror_flag"
6994 || test ! -s conftest.err'
6995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6999 (exit $ac_status); }; } &&
7000 { ac_try='test -s conftest.$ac_objext'
7001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7005 (exit $ac_status); }; }; then
7006 ac_cv_type_uint32_t=yes
7008 echo "$as_me: failed program was:" >&5
7009 sed 's/^/| /' conftest.$ac_ext >&5
7011 ac_cv_type_uint32_t=no
7013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7015 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
7016 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
7017 if test $ac_cv_type_uint32_t = yes; then
7019 cat >>confdefs.h <<_ACEOF
7020 #define HAVE_UINT32_T 1
7025 echo "$as_me:$LINENO: checking for intptr_t" >&5
7026 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
7027 if test "${ac_cv_type_intptr_t+set}" = set; then
7028 echo $ECHO_N "(cached) $ECHO_C" >&6
7030 cat >conftest.$ac_ext <<_ACEOF
7033 cat confdefs.h >>conftest.$ac_ext
7034 cat >>conftest.$ac_ext <<_ACEOF
7035 /* end confdefs.h. */
7036 $ac_includes_default
7042 if (sizeof (intptr_t))
7048 rm -f conftest.$ac_objext
7049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7050 (eval $ac_compile) 2>conftest.er1
7052 grep -v '^ *+' conftest.er1 >conftest.err
7054 cat conftest.err >&5
7055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7056 (exit $ac_status); } &&
7057 { ac_try='test -z "$ac_c_werror_flag"
7058 || test ! -s conftest.err'
7059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7063 (exit $ac_status); }; } &&
7064 { ac_try='test -s conftest.$ac_objext'
7065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7069 (exit $ac_status); }; }; then
7070 ac_cv_type_intptr_t=yes
7072 echo "$as_me: failed program was:" >&5
7073 sed 's/^/| /' conftest.$ac_ext >&5
7075 ac_cv_type_intptr_t=no
7077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7079 echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
7080 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
7081 if test $ac_cv_type_intptr_t = yes; then
7083 cat >>confdefs.h <<_ACEOF
7084 #define HAVE_INTPTR_T 1
7089 echo "$as_me:$LINENO: checking for uint_t" >&5
7090 echo $ECHO_N "checking for uint_t... $ECHO_C" >&6
7091 if test "${ac_cv_type_uint_t+set}" = set; then
7092 echo $ECHO_N "(cached) $ECHO_C" >&6
7094 cat >conftest.$ac_ext <<_ACEOF
7097 cat confdefs.h >>conftest.$ac_ext
7098 cat >>conftest.$ac_ext <<_ACEOF
7099 /* end confdefs.h. */
7100 $ac_includes_default
7106 if (sizeof (uint_t))
7112 rm -f conftest.$ac_objext
7113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7114 (eval $ac_compile) 2>conftest.er1
7116 grep -v '^ *+' conftest.er1 >conftest.err
7118 cat conftest.err >&5
7119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7120 (exit $ac_status); } &&
7121 { ac_try='test -z "$ac_c_werror_flag"
7122 || test ! -s conftest.err'
7123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7127 (exit $ac_status); }; } &&
7128 { ac_try='test -s conftest.$ac_objext'
7129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7133 (exit $ac_status); }; }; then
7134 ac_cv_type_uint_t=yes
7136 echo "$as_me: failed program was:" >&5
7137 sed 's/^/| /' conftest.$ac_ext >&5
7139 ac_cv_type_uint_t=no
7141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7143 echo "$as_me:$LINENO: result: $ac_cv_type_uint_t" >&5
7144 echo "${ECHO_T}$ac_cv_type_uint_t" >&6
7145 if test $ac_cv_type_uint_t = yes; then
7147 cat >>confdefs.h <<_ACEOF
7148 #define HAVE_UINT_T 1
7155 # ====================
7156 # uintptr type & sizes
7157 # ====================
7158 echo "$as_me:$LINENO: checking for uintptr_t" >&5
7159 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
7160 if test "${ac_cv_type_uintptr_t+set}" = set; then
7161 echo $ECHO_N "(cached) $ECHO_C" >&6
7163 cat >conftest.$ac_ext <<_ACEOF
7166 cat confdefs.h >>conftest.$ac_ext
7167 cat >>conftest.$ac_ext <<_ACEOF
7168 /* end confdefs.h. */
7169 $ac_includes_default
7173 if ((uintptr_t *) 0)
7175 if (sizeof (uintptr_t))
7181 rm -f conftest.$ac_objext
7182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7183 (eval $ac_compile) 2>conftest.er1
7185 grep -v '^ *+' conftest.er1 >conftest.err
7187 cat conftest.err >&5
7188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7189 (exit $ac_status); } &&
7190 { ac_try='test -z "$ac_c_werror_flag"
7191 || test ! -s conftest.err'
7192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7196 (exit $ac_status); }; } &&
7197 { ac_try='test -s conftest.$ac_objext'
7198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7202 (exit $ac_status); }; }; then
7203 ac_cv_type_uintptr_t=yes
7205 echo "$as_me: failed program was:" >&5
7206 sed 's/^/| /' conftest.$ac_ext >&5
7208 ac_cv_type_uintptr_t=no
7210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7212 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
7213 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
7214 if test $ac_cv_type_uintptr_t = yes; then
7216 cat >>confdefs.h <<_ACEOF
7217 #define HAVE_UINTPTR_T 1
7223 cat >>confdefs.h <<\_ACEOF
7224 #define uintptr_t unsigned long
7229 echo "$as_me:$LINENO: checking for char*" >&5
7230 echo $ECHO_N "checking for char*... $ECHO_C" >&6
7231 if test "${ac_cv_type_charp+set}" = set; then
7232 echo $ECHO_N "(cached) $ECHO_C" >&6
7234 cat >conftest.$ac_ext <<_ACEOF
7237 cat confdefs.h >>conftest.$ac_ext
7238 cat >>conftest.$ac_ext <<_ACEOF
7239 /* end confdefs.h. */
7240 $ac_includes_default
7252 rm -f conftest.$ac_objext
7253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7254 (eval $ac_compile) 2>conftest.er1
7256 grep -v '^ *+' conftest.er1 >conftest.err
7258 cat conftest.err >&5
7259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7260 (exit $ac_status); } &&
7261 { ac_try='test -z "$ac_c_werror_flag"
7262 || test ! -s conftest.err'
7263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7267 (exit $ac_status); }; } &&
7268 { ac_try='test -s conftest.$ac_objext'
7269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7273 (exit $ac_status); }; }; then
7274 ac_cv_type_charp=yes
7276 echo "$as_me: failed program was:" >&5
7277 sed 's/^/| /' conftest.$ac_ext >&5
7281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7283 echo "$as_me:$LINENO: result: $ac_cv_type_charp" >&5
7284 echo "${ECHO_T}$ac_cv_type_charp" >&6
7286 echo "$as_me:$LINENO: checking size of char*" >&5
7287 echo $ECHO_N "checking size of char*... $ECHO_C" >&6
7288 if test "${ac_cv_sizeof_charp+set}" = set; then
7289 echo $ECHO_N "(cached) $ECHO_C" >&6
7291 if test "$ac_cv_type_charp" = yes; then
7292 # The cast to unsigned long works around a bug in the HP C Compiler
7293 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7294 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7295 # This bug is HP SR number 8606223364.
7296 if test "$cross_compiling" = yes; then
7297 # Depending upon the size, compute the lo and hi bounds.
7298 cat >conftest.$ac_ext <<_ACEOF
7301 cat confdefs.h >>conftest.$ac_ext
7302 cat >>conftest.$ac_ext <<_ACEOF
7303 /* end confdefs.h. */
7304 $ac_includes_default
7308 static int test_array [1 - 2 * !(((long) (sizeof (char*))) >= 0)];
7315 rm -f conftest.$ac_objext
7316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7317 (eval $ac_compile) 2>conftest.er1
7319 grep -v '^ *+' conftest.er1 >conftest.err
7321 cat conftest.err >&5
7322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7323 (exit $ac_status); } &&
7324 { ac_try='test -z "$ac_c_werror_flag"
7325 || test ! -s conftest.err'
7326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7330 (exit $ac_status); }; } &&
7331 { ac_try='test -s conftest.$ac_objext'
7332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7336 (exit $ac_status); }; }; then
7339 cat >conftest.$ac_ext <<_ACEOF
7342 cat confdefs.h >>conftest.$ac_ext
7343 cat >>conftest.$ac_ext <<_ACEOF
7344 /* end confdefs.h. */
7345 $ac_includes_default
7349 static int test_array [1 - 2 * !(((long) (sizeof (char*))) <= $ac_mid)];
7356 rm -f conftest.$ac_objext
7357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7358 (eval $ac_compile) 2>conftest.er1
7360 grep -v '^ *+' conftest.er1 >conftest.err
7362 cat conftest.err >&5
7363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364 (exit $ac_status); } &&
7365 { ac_try='test -z "$ac_c_werror_flag"
7366 || test ! -s conftest.err'
7367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7371 (exit $ac_status); }; } &&
7372 { ac_try='test -s conftest.$ac_objext'
7373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7377 (exit $ac_status); }; }; then
7378 ac_hi=$ac_mid; break
7380 echo "$as_me: failed program was:" >&5
7381 sed 's/^/| /' conftest.$ac_ext >&5
7383 ac_lo=`expr $ac_mid + 1`
7384 if test $ac_lo -le $ac_mid; then
7388 ac_mid=`expr 2 '*' $ac_mid + 1`
7390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7393 echo "$as_me: failed program was:" >&5
7394 sed 's/^/| /' conftest.$ac_ext >&5
7396 cat >conftest.$ac_ext <<_ACEOF
7399 cat confdefs.h >>conftest.$ac_ext
7400 cat >>conftest.$ac_ext <<_ACEOF
7401 /* end confdefs.h. */
7402 $ac_includes_default
7406 static int test_array [1 - 2 * !(((long) (sizeof (char*))) < 0)];
7413 rm -f conftest.$ac_objext
7414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7415 (eval $ac_compile) 2>conftest.er1
7417 grep -v '^ *+' conftest.er1 >conftest.err
7419 cat conftest.err >&5
7420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7421 (exit $ac_status); } &&
7422 { ac_try='test -z "$ac_c_werror_flag"
7423 || test ! -s conftest.err'
7424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7428 (exit $ac_status); }; } &&
7429 { ac_try='test -s conftest.$ac_objext'
7430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7434 (exit $ac_status); }; }; then
7437 cat >conftest.$ac_ext <<_ACEOF
7440 cat confdefs.h >>conftest.$ac_ext
7441 cat >>conftest.$ac_ext <<_ACEOF
7442 /* end confdefs.h. */
7443 $ac_includes_default
7447 static int test_array [1 - 2 * !(((long) (sizeof (char*))) >= $ac_mid)];
7454 rm -f conftest.$ac_objext
7455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7456 (eval $ac_compile) 2>conftest.er1
7458 grep -v '^ *+' conftest.er1 >conftest.err
7460 cat conftest.err >&5
7461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7462 (exit $ac_status); } &&
7463 { ac_try='test -z "$ac_c_werror_flag"
7464 || test ! -s conftest.err'
7465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7469 (exit $ac_status); }; } &&
7470 { ac_try='test -s conftest.$ac_objext'
7471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7475 (exit $ac_status); }; }; then
7476 ac_lo=$ac_mid; break
7478 echo "$as_me: failed program was:" >&5
7479 sed 's/^/| /' conftest.$ac_ext >&5
7481 ac_hi=`expr '(' $ac_mid ')' - 1`
7482 if test $ac_mid -le $ac_hi; then
7486 ac_mid=`expr 2 '*' $ac_mid`
7488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7491 echo "$as_me: failed program was:" >&5
7492 sed 's/^/| /' conftest.$ac_ext >&5
7496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7499 # Binary search between lo and hi bounds.
7500 while test "x$ac_lo" != "x$ac_hi"; do
7501 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7502 cat >conftest.$ac_ext <<_ACEOF
7505 cat confdefs.h >>conftest.$ac_ext
7506 cat >>conftest.$ac_ext <<_ACEOF
7507 /* end confdefs.h. */
7508 $ac_includes_default
7512 static int test_array [1 - 2 * !(((long) (sizeof (char*))) <= $ac_mid)];
7519 rm -f conftest.$ac_objext
7520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7521 (eval $ac_compile) 2>conftest.er1
7523 grep -v '^ *+' conftest.er1 >conftest.err
7525 cat conftest.err >&5
7526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7527 (exit $ac_status); } &&
7528 { ac_try='test -z "$ac_c_werror_flag"
7529 || test ! -s conftest.err'
7530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7534 (exit $ac_status); }; } &&
7535 { ac_try='test -s conftest.$ac_objext'
7536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7540 (exit $ac_status); }; }; then
7543 echo "$as_me: failed program was:" >&5
7544 sed 's/^/| /' conftest.$ac_ext >&5
7546 ac_lo=`expr '(' $ac_mid ')' + 1`
7548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7551 ?*) ac_cv_sizeof_charp=$ac_lo;;
7552 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char*), 77
7553 See \`config.log' for more details." >&5
7554 echo "$as_me: error: cannot compute sizeof (char*), 77
7555 See \`config.log' for more details." >&2;}
7556 { (exit 1); exit 1; }; } ;;
7559 if test "$cross_compiling" = yes; then
7560 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7561 See \`config.log' for more details." >&5
7562 echo "$as_me: error: cannot run test program while cross compiling
7563 See \`config.log' for more details." >&2;}
7564 { (exit 1); exit 1; }; }
7566 cat >conftest.$ac_ext <<_ACEOF
7569 cat confdefs.h >>conftest.$ac_ext
7570 cat >>conftest.$ac_ext <<_ACEOF
7571 /* end confdefs.h. */
7572 $ac_includes_default
7573 long longval () { return (long) (sizeof (char*)); }
7574 unsigned long ulongval () { return (long) (sizeof (char*)); }
7581 FILE *f = fopen ("conftest.val", "w");
7584 if (((long) (sizeof (char*))) < 0)
7586 long i = longval ();
7587 if (i != ((long) (sizeof (char*))))
7589 fprintf (f, "%ld\n", i);
7593 unsigned long i = ulongval ();
7594 if (i != ((long) (sizeof (char*))))
7596 fprintf (f, "%lu\n", i);
7598 exit (ferror (f) || fclose (f) != 0);
7604 rm -f conftest$ac_exeext
7605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7606 (eval $ac_link) 2>&5
7608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7609 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7614 (exit $ac_status); }; }; then
7615 ac_cv_sizeof_charp=`cat conftest.val`
7617 echo "$as_me: program exited with status $ac_status" >&5
7618 echo "$as_me: failed program was:" >&5
7619 sed 's/^/| /' conftest.$ac_ext >&5
7622 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char*), 77
7623 See \`config.log' for more details." >&5
7624 echo "$as_me: error: cannot compute sizeof (char*), 77
7625 See \`config.log' for more details." >&2;}
7626 { (exit 1); exit 1; }; }
7628 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7633 ac_cv_sizeof_charp=0
7636 echo "$as_me:$LINENO: result: $ac_cv_sizeof_charp" >&5
7637 echo "${ECHO_T}$ac_cv_sizeof_charp" >&6
7638 cat >>confdefs.h <<_ACEOF
7639 #define SIZEOF_CHARP $ac_cv_sizeof_charp
7643 echo "$as_me:$LINENO: checking for int" >&5
7644 echo $ECHO_N "checking for int... $ECHO_C" >&6
7645 if test "${ac_cv_type_int+set}" = set; then
7646 echo $ECHO_N "(cached) $ECHO_C" >&6
7648 cat >conftest.$ac_ext <<_ACEOF
7651 cat confdefs.h >>conftest.$ac_ext
7652 cat >>conftest.$ac_ext <<_ACEOF
7653 /* end confdefs.h. */
7654 $ac_includes_default
7666 rm -f conftest.$ac_objext
7667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7668 (eval $ac_compile) 2>conftest.er1
7670 grep -v '^ *+' conftest.er1 >conftest.err
7672 cat conftest.err >&5
7673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7674 (exit $ac_status); } &&
7675 { ac_try='test -z "$ac_c_werror_flag"
7676 || test ! -s conftest.err'
7677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7681 (exit $ac_status); }; } &&
7682 { ac_try='test -s conftest.$ac_objext'
7683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7687 (exit $ac_status); }; }; then
7690 echo "$as_me: failed program was:" >&5
7691 sed 's/^/| /' conftest.$ac_ext >&5
7695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7697 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
7698 echo "${ECHO_T}$ac_cv_type_int" >&6
7700 echo "$as_me:$LINENO: checking size of int" >&5
7701 echo $ECHO_N "checking size of int... $ECHO_C" >&6
7702 if test "${ac_cv_sizeof_int+set}" = set; then
7703 echo $ECHO_N "(cached) $ECHO_C" >&6
7705 if test "$ac_cv_type_int" = yes; then
7706 # The cast to unsigned long works around a bug in the HP C Compiler
7707 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7708 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7709 # This bug is HP SR number 8606223364.
7710 if test "$cross_compiling" = yes; then
7711 # Depending upon the size, compute the lo and hi bounds.
7712 cat >conftest.$ac_ext <<_ACEOF
7715 cat confdefs.h >>conftest.$ac_ext
7716 cat >>conftest.$ac_ext <<_ACEOF
7717 /* end confdefs.h. */
7718 $ac_includes_default
7722 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
7729 rm -f conftest.$ac_objext
7730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7731 (eval $ac_compile) 2>conftest.er1
7733 grep -v '^ *+' conftest.er1 >conftest.err
7735 cat conftest.err >&5
7736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7737 (exit $ac_status); } &&
7738 { ac_try='test -z "$ac_c_werror_flag"
7739 || test ! -s conftest.err'
7740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7744 (exit $ac_status); }; } &&
7745 { ac_try='test -s conftest.$ac_objext'
7746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7750 (exit $ac_status); }; }; then
7753 cat >conftest.$ac_ext <<_ACEOF
7756 cat confdefs.h >>conftest.$ac_ext
7757 cat >>conftest.$ac_ext <<_ACEOF
7758 /* end confdefs.h. */
7759 $ac_includes_default
7763 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
7770 rm -f conftest.$ac_objext
7771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7772 (eval $ac_compile) 2>conftest.er1
7774 grep -v '^ *+' conftest.er1 >conftest.err
7776 cat conftest.err >&5
7777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7778 (exit $ac_status); } &&
7779 { ac_try='test -z "$ac_c_werror_flag"
7780 || test ! -s conftest.err'
7781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7785 (exit $ac_status); }; } &&
7786 { ac_try='test -s conftest.$ac_objext'
7787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7791 (exit $ac_status); }; }; then
7792 ac_hi=$ac_mid; break
7794 echo "$as_me: failed program was:" >&5
7795 sed 's/^/| /' conftest.$ac_ext >&5
7797 ac_lo=`expr $ac_mid + 1`
7798 if test $ac_lo -le $ac_mid; then
7802 ac_mid=`expr 2 '*' $ac_mid + 1`
7804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7807 echo "$as_me: failed program was:" >&5
7808 sed 's/^/| /' conftest.$ac_ext >&5
7810 cat >conftest.$ac_ext <<_ACEOF
7813 cat confdefs.h >>conftest.$ac_ext
7814 cat >>conftest.$ac_ext <<_ACEOF
7815 /* end confdefs.h. */
7816 $ac_includes_default
7820 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
7827 rm -f conftest.$ac_objext
7828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7829 (eval $ac_compile) 2>conftest.er1
7831 grep -v '^ *+' conftest.er1 >conftest.err
7833 cat conftest.err >&5
7834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7835 (exit $ac_status); } &&
7836 { ac_try='test -z "$ac_c_werror_flag"
7837 || test ! -s conftest.err'
7838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7842 (exit $ac_status); }; } &&
7843 { ac_try='test -s conftest.$ac_objext'
7844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7848 (exit $ac_status); }; }; then
7851 cat >conftest.$ac_ext <<_ACEOF
7854 cat confdefs.h >>conftest.$ac_ext
7855 cat >>conftest.$ac_ext <<_ACEOF
7856 /* end confdefs.h. */
7857 $ac_includes_default
7861 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
7868 rm -f conftest.$ac_objext
7869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7870 (eval $ac_compile) 2>conftest.er1
7872 grep -v '^ *+' conftest.er1 >conftest.err
7874 cat conftest.err >&5
7875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7876 (exit $ac_status); } &&
7877 { ac_try='test -z "$ac_c_werror_flag"
7878 || test ! -s conftest.err'
7879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7883 (exit $ac_status); }; } &&
7884 { ac_try='test -s conftest.$ac_objext'
7885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7889 (exit $ac_status); }; }; then
7890 ac_lo=$ac_mid; break
7892 echo "$as_me: failed program was:" >&5
7893 sed 's/^/| /' conftest.$ac_ext >&5
7895 ac_hi=`expr '(' $ac_mid ')' - 1`
7896 if test $ac_mid -le $ac_hi; then
7900 ac_mid=`expr 2 '*' $ac_mid`
7902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7905 echo "$as_me: failed program was:" >&5
7906 sed 's/^/| /' conftest.$ac_ext >&5
7910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7913 # Binary search between lo and hi bounds.
7914 while test "x$ac_lo" != "x$ac_hi"; do
7915 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7916 cat >conftest.$ac_ext <<_ACEOF
7919 cat confdefs.h >>conftest.$ac_ext
7920 cat >>conftest.$ac_ext <<_ACEOF
7921 /* end confdefs.h. */
7922 $ac_includes_default
7926 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
7933 rm -f conftest.$ac_objext
7934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7935 (eval $ac_compile) 2>conftest.er1
7937 grep -v '^ *+' conftest.er1 >conftest.err
7939 cat conftest.err >&5
7940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7941 (exit $ac_status); } &&
7942 { ac_try='test -z "$ac_c_werror_flag"
7943 || test ! -s conftest.err'
7944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7948 (exit $ac_status); }; } &&
7949 { ac_try='test -s conftest.$ac_objext'
7950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7954 (exit $ac_status); }; }; then
7957 echo "$as_me: failed program was:" >&5
7958 sed 's/^/| /' conftest.$ac_ext >&5
7960 ac_lo=`expr '(' $ac_mid ')' + 1`
7962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7965 ?*) ac_cv_sizeof_int=$ac_lo;;
7966 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
7967 See \`config.log' for more details." >&5
7968 echo "$as_me: error: cannot compute sizeof (int), 77
7969 See \`config.log' for more details." >&2;}
7970 { (exit 1); exit 1; }; } ;;
7973 if test "$cross_compiling" = yes; then
7974 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7975 See \`config.log' for more details." >&5
7976 echo "$as_me: error: cannot run test program while cross compiling
7977 See \`config.log' for more details." >&2;}
7978 { (exit 1); exit 1; }; }
7980 cat >conftest.$ac_ext <<_ACEOF
7983 cat confdefs.h >>conftest.$ac_ext
7984 cat >>conftest.$ac_ext <<_ACEOF
7985 /* end confdefs.h. */
7986 $ac_includes_default
7987 long longval () { return (long) (sizeof (int)); }
7988 unsigned long ulongval () { return (long) (sizeof (int)); }
7995 FILE *f = fopen ("conftest.val", "w");
7998 if (((long) (sizeof (int))) < 0)
8000 long i = longval ();
8001 if (i != ((long) (sizeof (int))))
8003 fprintf (f, "%ld\n", i);
8007 unsigned long i = ulongval ();
8008 if (i != ((long) (sizeof (int))))
8010 fprintf (f, "%lu\n", i);
8012 exit (ferror (f) || fclose (f) != 0);
8018 rm -f conftest$ac_exeext
8019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8020 (eval $ac_link) 2>&5
8022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8023 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8028 (exit $ac_status); }; }; then
8029 ac_cv_sizeof_int=`cat conftest.val`
8031 echo "$as_me: program exited with status $ac_status" >&5
8032 echo "$as_me: failed program was:" >&5
8033 sed 's/^/| /' conftest.$ac_ext >&5
8036 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
8037 See \`config.log' for more details." >&5
8038 echo "$as_me: error: cannot compute sizeof (int), 77
8039 See \`config.log' for more details." >&2;}
8040 { (exit 1); exit 1; }; }
8042 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8050 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
8051 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
8052 cat >>confdefs.h <<_ACEOF
8053 #define SIZEOF_INT $ac_cv_sizeof_int
8057 echo "$as_me:$LINENO: checking for long" >&5
8058 echo $ECHO_N "checking for long... $ECHO_C" >&6
8059 if test "${ac_cv_type_long+set}" = set; then
8060 echo $ECHO_N "(cached) $ECHO_C" >&6
8062 cat >conftest.$ac_ext <<_ACEOF
8065 cat confdefs.h >>conftest.$ac_ext
8066 cat >>conftest.$ac_ext <<_ACEOF
8067 /* end confdefs.h. */
8068 $ac_includes_default
8080 rm -f conftest.$ac_objext
8081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8082 (eval $ac_compile) 2>conftest.er1
8084 grep -v '^ *+' conftest.er1 >conftest.err
8086 cat conftest.err >&5
8087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8088 (exit $ac_status); } &&
8089 { ac_try='test -z "$ac_c_werror_flag"
8090 || test ! -s conftest.err'
8091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8095 (exit $ac_status); }; } &&
8096 { ac_try='test -s conftest.$ac_objext'
8097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8101 (exit $ac_status); }; }; then
8104 echo "$as_me: failed program was:" >&5
8105 sed 's/^/| /' conftest.$ac_ext >&5
8109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8111 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
8112 echo "${ECHO_T}$ac_cv_type_long" >&6
8114 echo "$as_me:$LINENO: checking size of long" >&5
8115 echo $ECHO_N "checking size of long... $ECHO_C" >&6
8116 if test "${ac_cv_sizeof_long+set}" = set; then
8117 echo $ECHO_N "(cached) $ECHO_C" >&6
8119 if test "$ac_cv_type_long" = yes; then
8120 # The cast to unsigned long works around a bug in the HP C Compiler
8121 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8122 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8123 # This bug is HP SR number 8606223364.
8124 if test "$cross_compiling" = yes; then
8125 # Depending upon the size, compute the lo and hi bounds.
8126 cat >conftest.$ac_ext <<_ACEOF
8129 cat confdefs.h >>conftest.$ac_ext
8130 cat >>conftest.$ac_ext <<_ACEOF
8131 /* end confdefs.h. */
8132 $ac_includes_default
8136 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
8143 rm -f conftest.$ac_objext
8144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8145 (eval $ac_compile) 2>conftest.er1
8147 grep -v '^ *+' conftest.er1 >conftest.err
8149 cat conftest.err >&5
8150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8151 (exit $ac_status); } &&
8152 { ac_try='test -z "$ac_c_werror_flag"
8153 || test ! -s conftest.err'
8154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8158 (exit $ac_status); }; } &&
8159 { ac_try='test -s conftest.$ac_objext'
8160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8164 (exit $ac_status); }; }; then
8167 cat >conftest.$ac_ext <<_ACEOF
8170 cat confdefs.h >>conftest.$ac_ext
8171 cat >>conftest.$ac_ext <<_ACEOF
8172 /* end confdefs.h. */
8173 $ac_includes_default
8177 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
8184 rm -f conftest.$ac_objext
8185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8186 (eval $ac_compile) 2>conftest.er1
8188 grep -v '^ *+' conftest.er1 >conftest.err
8190 cat conftest.err >&5
8191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8192 (exit $ac_status); } &&
8193 { ac_try='test -z "$ac_c_werror_flag"
8194 || test ! -s conftest.err'
8195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199 (exit $ac_status); }; } &&
8200 { ac_try='test -s conftest.$ac_objext'
8201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 (exit $ac_status); }; }; then
8206 ac_hi=$ac_mid; break
8208 echo "$as_me: failed program was:" >&5
8209 sed 's/^/| /' conftest.$ac_ext >&5
8211 ac_lo=`expr $ac_mid + 1`
8212 if test $ac_lo -le $ac_mid; then
8216 ac_mid=`expr 2 '*' $ac_mid + 1`
8218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8221 echo "$as_me: failed program was:" >&5
8222 sed 's/^/| /' conftest.$ac_ext >&5
8224 cat >conftest.$ac_ext <<_ACEOF
8227 cat confdefs.h >>conftest.$ac_ext
8228 cat >>conftest.$ac_ext <<_ACEOF
8229 /* end confdefs.h. */
8230 $ac_includes_default
8234 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
8241 rm -f conftest.$ac_objext
8242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8243 (eval $ac_compile) 2>conftest.er1
8245 grep -v '^ *+' conftest.er1 >conftest.err
8247 cat conftest.err >&5
8248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8249 (exit $ac_status); } &&
8250 { ac_try='test -z "$ac_c_werror_flag"
8251 || test ! -s conftest.err'
8252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8256 (exit $ac_status); }; } &&
8257 { ac_try='test -s conftest.$ac_objext'
8258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8262 (exit $ac_status); }; }; then
8265 cat >conftest.$ac_ext <<_ACEOF
8268 cat confdefs.h >>conftest.$ac_ext
8269 cat >>conftest.$ac_ext <<_ACEOF
8270 /* end confdefs.h. */
8271 $ac_includes_default
8275 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
8282 rm -f conftest.$ac_objext
8283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8284 (eval $ac_compile) 2>conftest.er1
8286 grep -v '^ *+' conftest.er1 >conftest.err
8288 cat conftest.err >&5
8289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8290 (exit $ac_status); } &&
8291 { ac_try='test -z "$ac_c_werror_flag"
8292 || test ! -s conftest.err'
8293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8297 (exit $ac_status); }; } &&
8298 { ac_try='test -s conftest.$ac_objext'
8299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8303 (exit $ac_status); }; }; then
8304 ac_lo=$ac_mid; break
8306 echo "$as_me: failed program was:" >&5
8307 sed 's/^/| /' conftest.$ac_ext >&5
8309 ac_hi=`expr '(' $ac_mid ')' - 1`
8310 if test $ac_mid -le $ac_hi; then
8314 ac_mid=`expr 2 '*' $ac_mid`
8316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8319 echo "$as_me: failed program was:" >&5
8320 sed 's/^/| /' conftest.$ac_ext >&5
8324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8327 # Binary search between lo and hi bounds.
8328 while test "x$ac_lo" != "x$ac_hi"; do
8329 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8330 cat >conftest.$ac_ext <<_ACEOF
8333 cat confdefs.h >>conftest.$ac_ext
8334 cat >>conftest.$ac_ext <<_ACEOF
8335 /* end confdefs.h. */
8336 $ac_includes_default
8340 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
8347 rm -f conftest.$ac_objext
8348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8349 (eval $ac_compile) 2>conftest.er1
8351 grep -v '^ *+' conftest.er1 >conftest.err
8353 cat conftest.err >&5
8354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8355 (exit $ac_status); } &&
8356 { ac_try='test -z "$ac_c_werror_flag"
8357 || test ! -s conftest.err'
8358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8362 (exit $ac_status); }; } &&
8363 { ac_try='test -s conftest.$ac_objext'
8364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8368 (exit $ac_status); }; }; then
8371 echo "$as_me: failed program was:" >&5
8372 sed 's/^/| /' conftest.$ac_ext >&5
8374 ac_lo=`expr '(' $ac_mid ')' + 1`
8376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8379 ?*) ac_cv_sizeof_long=$ac_lo;;
8380 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
8381 See \`config.log' for more details." >&5
8382 echo "$as_me: error: cannot compute sizeof (long), 77
8383 See \`config.log' for more details." >&2;}
8384 { (exit 1); exit 1; }; } ;;
8387 if test "$cross_compiling" = yes; then
8388 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8389 See \`config.log' for more details." >&5
8390 echo "$as_me: error: cannot run test program while cross compiling
8391 See \`config.log' for more details." >&2;}
8392 { (exit 1); exit 1; }; }
8394 cat >conftest.$ac_ext <<_ACEOF
8397 cat confdefs.h >>conftest.$ac_ext
8398 cat >>conftest.$ac_ext <<_ACEOF
8399 /* end confdefs.h. */
8400 $ac_includes_default
8401 long longval () { return (long) (sizeof (long)); }
8402 unsigned long ulongval () { return (long) (sizeof (long)); }
8409 FILE *f = fopen ("conftest.val", "w");
8412 if (((long) (sizeof (long))) < 0)
8414 long i = longval ();
8415 if (i != ((long) (sizeof (long))))
8417 fprintf (f, "%ld\n", i);
8421 unsigned long i = ulongval ();
8422 if (i != ((long) (sizeof (long))))
8424 fprintf (f, "%lu\n", i);
8426 exit (ferror (f) || fclose (f) != 0);
8432 rm -f conftest$ac_exeext
8433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8434 (eval $ac_link) 2>&5
8436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8437 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8442 (exit $ac_status); }; }; then
8443 ac_cv_sizeof_long=`cat conftest.val`
8445 echo "$as_me: program exited with status $ac_status" >&5
8446 echo "$as_me: failed program was:" >&5
8447 sed 's/^/| /' conftest.$ac_ext >&5
8450 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
8451 See \`config.log' for more details." >&5
8452 echo "$as_me: error: cannot compute sizeof (long), 77
8453 See \`config.log' for more details." >&2;}
8454 { (exit 1); exit 1; }; }
8456 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8464 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
8465 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
8466 cat >>confdefs.h <<_ACEOF
8467 #define SIZEOF_LONG $ac_cv_sizeof_long
8471 echo "$as_me:$LINENO: checking for short" >&5
8472 echo $ECHO_N "checking for short... $ECHO_C" >&6
8473 if test "${ac_cv_type_short+set}" = set; then
8474 echo $ECHO_N "(cached) $ECHO_C" >&6
8476 cat >conftest.$ac_ext <<_ACEOF
8479 cat confdefs.h >>conftest.$ac_ext
8480 cat >>conftest.$ac_ext <<_ACEOF
8481 /* end confdefs.h. */
8482 $ac_includes_default
8494 rm -f conftest.$ac_objext
8495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8496 (eval $ac_compile) 2>conftest.er1
8498 grep -v '^ *+' conftest.er1 >conftest.err
8500 cat conftest.err >&5
8501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8502 (exit $ac_status); } &&
8503 { ac_try='test -z "$ac_c_werror_flag"
8504 || test ! -s conftest.err'
8505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8509 (exit $ac_status); }; } &&
8510 { ac_try='test -s conftest.$ac_objext'
8511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8515 (exit $ac_status); }; }; then
8516 ac_cv_type_short=yes
8518 echo "$as_me: failed program was:" >&5
8519 sed 's/^/| /' conftest.$ac_ext >&5
8523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8525 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
8526 echo "${ECHO_T}$ac_cv_type_short" >&6
8528 echo "$as_me:$LINENO: checking size of short" >&5
8529 echo $ECHO_N "checking size of short... $ECHO_C" >&6
8530 if test "${ac_cv_sizeof_short+set}" = set; then
8531 echo $ECHO_N "(cached) $ECHO_C" >&6
8533 if test "$ac_cv_type_short" = yes; then
8534 # The cast to unsigned long works around a bug in the HP C Compiler
8535 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8536 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8537 # This bug is HP SR number 8606223364.
8538 if test "$cross_compiling" = yes; then
8539 # Depending upon the size, compute the lo and hi bounds.
8540 cat >conftest.$ac_ext <<_ACEOF
8543 cat confdefs.h >>conftest.$ac_ext
8544 cat >>conftest.$ac_ext <<_ACEOF
8545 /* end confdefs.h. */
8546 $ac_includes_default
8550 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
8557 rm -f conftest.$ac_objext
8558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8559 (eval $ac_compile) 2>conftest.er1
8561 grep -v '^ *+' conftest.er1 >conftest.err
8563 cat conftest.err >&5
8564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8565 (exit $ac_status); } &&
8566 { ac_try='test -z "$ac_c_werror_flag"
8567 || test ! -s conftest.err'
8568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8572 (exit $ac_status); }; } &&
8573 { ac_try='test -s conftest.$ac_objext'
8574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8578 (exit $ac_status); }; }; then
8581 cat >conftest.$ac_ext <<_ACEOF
8584 cat confdefs.h >>conftest.$ac_ext
8585 cat >>conftest.$ac_ext <<_ACEOF
8586 /* end confdefs.h. */
8587 $ac_includes_default
8591 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
8598 rm -f conftest.$ac_objext
8599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8600 (eval $ac_compile) 2>conftest.er1
8602 grep -v '^ *+' conftest.er1 >conftest.err
8604 cat conftest.err >&5
8605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8606 (exit $ac_status); } &&
8607 { ac_try='test -z "$ac_c_werror_flag"
8608 || test ! -s conftest.err'
8609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8613 (exit $ac_status); }; } &&
8614 { ac_try='test -s conftest.$ac_objext'
8615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8619 (exit $ac_status); }; }; then
8620 ac_hi=$ac_mid; break
8622 echo "$as_me: failed program was:" >&5
8623 sed 's/^/| /' conftest.$ac_ext >&5
8625 ac_lo=`expr $ac_mid + 1`
8626 if test $ac_lo -le $ac_mid; then
8630 ac_mid=`expr 2 '*' $ac_mid + 1`
8632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8635 echo "$as_me: failed program was:" >&5
8636 sed 's/^/| /' conftest.$ac_ext >&5
8638 cat >conftest.$ac_ext <<_ACEOF
8641 cat confdefs.h >>conftest.$ac_ext
8642 cat >>conftest.$ac_ext <<_ACEOF
8643 /* end confdefs.h. */
8644 $ac_includes_default
8648 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
8655 rm -f conftest.$ac_objext
8656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8657 (eval $ac_compile) 2>conftest.er1
8659 grep -v '^ *+' conftest.er1 >conftest.err
8661 cat conftest.err >&5
8662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8663 (exit $ac_status); } &&
8664 { ac_try='test -z "$ac_c_werror_flag"
8665 || test ! -s conftest.err'
8666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8670 (exit $ac_status); }; } &&
8671 { ac_try='test -s conftest.$ac_objext'
8672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8676 (exit $ac_status); }; }; then
8679 cat >conftest.$ac_ext <<_ACEOF
8682 cat confdefs.h >>conftest.$ac_ext
8683 cat >>conftest.$ac_ext <<_ACEOF
8684 /* end confdefs.h. */
8685 $ac_includes_default
8689 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
8696 rm -f conftest.$ac_objext
8697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8698 (eval $ac_compile) 2>conftest.er1
8700 grep -v '^ *+' conftest.er1 >conftest.err
8702 cat conftest.err >&5
8703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8704 (exit $ac_status); } &&
8705 { ac_try='test -z "$ac_c_werror_flag"
8706 || test ! -s conftest.err'
8707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8711 (exit $ac_status); }; } &&
8712 { ac_try='test -s conftest.$ac_objext'
8713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717 (exit $ac_status); }; }; then
8718 ac_lo=$ac_mid; break
8720 echo "$as_me: failed program was:" >&5
8721 sed 's/^/| /' conftest.$ac_ext >&5
8723 ac_hi=`expr '(' $ac_mid ')' - 1`
8724 if test $ac_mid -le $ac_hi; then
8728 ac_mid=`expr 2 '*' $ac_mid`
8730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8733 echo "$as_me: failed program was:" >&5
8734 sed 's/^/| /' conftest.$ac_ext >&5
8738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8741 # Binary search between lo and hi bounds.
8742 while test "x$ac_lo" != "x$ac_hi"; do
8743 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8744 cat >conftest.$ac_ext <<_ACEOF
8747 cat confdefs.h >>conftest.$ac_ext
8748 cat >>conftest.$ac_ext <<_ACEOF
8749 /* end confdefs.h. */
8750 $ac_includes_default
8754 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
8761 rm -f conftest.$ac_objext
8762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8763 (eval $ac_compile) 2>conftest.er1
8765 grep -v '^ *+' conftest.er1 >conftest.err
8767 cat conftest.err >&5
8768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8769 (exit $ac_status); } &&
8770 { ac_try='test -z "$ac_c_werror_flag"
8771 || test ! -s conftest.err'
8772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8776 (exit $ac_status); }; } &&
8777 { ac_try='test -s conftest.$ac_objext'
8778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8782 (exit $ac_status); }; }; then
8785 echo "$as_me: failed program was:" >&5
8786 sed 's/^/| /' conftest.$ac_ext >&5
8788 ac_lo=`expr '(' $ac_mid ')' + 1`
8790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8793 ?*) ac_cv_sizeof_short=$ac_lo;;
8794 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
8795 See \`config.log' for more details." >&5
8796 echo "$as_me: error: cannot compute sizeof (short), 77
8797 See \`config.log' for more details." >&2;}
8798 { (exit 1); exit 1; }; } ;;
8801 if test "$cross_compiling" = yes; then
8802 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8803 See \`config.log' for more details." >&5
8804 echo "$as_me: error: cannot run test program while cross compiling
8805 See \`config.log' for more details." >&2;}
8806 { (exit 1); exit 1; }; }
8808 cat >conftest.$ac_ext <<_ACEOF
8811 cat confdefs.h >>conftest.$ac_ext
8812 cat >>conftest.$ac_ext <<_ACEOF
8813 /* end confdefs.h. */
8814 $ac_includes_default
8815 long longval () { return (long) (sizeof (short)); }
8816 unsigned long ulongval () { return (long) (sizeof (short)); }
8823 FILE *f = fopen ("conftest.val", "w");
8826 if (((long) (sizeof (short))) < 0)
8828 long i = longval ();
8829 if (i != ((long) (sizeof (short))))
8831 fprintf (f, "%ld\n", i);
8835 unsigned long i = ulongval ();
8836 if (i != ((long) (sizeof (short))))
8838 fprintf (f, "%lu\n", i);
8840 exit (ferror (f) || fclose (f) != 0);
8846 rm -f conftest$ac_exeext
8847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8848 (eval $ac_link) 2>&5
8850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8851 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8856 (exit $ac_status); }; }; then
8857 ac_cv_sizeof_short=`cat conftest.val`
8859 echo "$as_me: program exited with status $ac_status" >&5
8860 echo "$as_me: failed program was:" >&5
8861 sed 's/^/| /' conftest.$ac_ext >&5
8864 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
8865 See \`config.log' for more details." >&5
8866 echo "$as_me: error: cannot compute sizeof (short), 77
8867 See \`config.log' for more details." >&2;}
8868 { (exit 1); exit 1; }; }
8870 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8875 ac_cv_sizeof_short=0
8878 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
8879 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
8880 cat >>confdefs.h <<_ACEOF
8881 #define SIZEOF_SHORT $ac_cv_sizeof_short
8886 # ----------------------------------------------------------------------
8887 # AC_CHECK_LIB for SVR4 libgen, and use it if it defines pathfind.
8888 # ----------------------------------------------------------------------
8890 echo "$as_me:$LINENO: checking for pathfind in -lgen" >&5
8891 echo $ECHO_N "checking for pathfind in -lgen... $ECHO_C" >&6
8892 if test "${ac_cv_lib_gen_pathfind+set}" = set; then
8893 echo $ECHO_N "(cached) $ECHO_C" >&6
8895 ac_check_lib_save_LIBS=$LIBS
8897 cat >conftest.$ac_ext <<_ACEOF
8900 cat confdefs.h >>conftest.$ac_ext
8901 cat >>conftest.$ac_ext <<_ACEOF
8902 /* end confdefs.h. */
8904 /* Override any gcc2 internal prototype to avoid an error. */
8908 /* We use char because int might match the return type of a gcc2
8909 builtin and then its argument prototype would still apply. */
8919 rm -f conftest.$ac_objext conftest$ac_exeext
8920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8921 (eval $ac_link) 2>conftest.er1
8923 grep -v '^ *+' conftest.er1 >conftest.err
8925 cat conftest.err >&5
8926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8927 (exit $ac_status); } &&
8928 { ac_try='test -z "$ac_c_werror_flag"
8929 || test ! -s conftest.err'
8930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8934 (exit $ac_status); }; } &&
8935 { ac_try='test -s conftest$ac_exeext'
8936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8940 (exit $ac_status); }; }; then
8941 ac_cv_lib_gen_pathfind=yes
8943 echo "$as_me: failed program was:" >&5
8944 sed 's/^/| /' conftest.$ac_ext >&5
8946 ac_cv_lib_gen_pathfind=no
8948 rm -f conftest.err conftest.$ac_objext \
8949 conftest$ac_exeext conftest.$ac_ext
8950 LIBS=$ac_check_lib_save_LIBS
8952 echo "$as_me:$LINENO: result: $ac_cv_lib_gen_pathfind" >&5
8953 echo "${ECHO_T}$ac_cv_lib_gen_pathfind" >&6
8954 if test $ac_cv_lib_gen_pathfind = yes; then
8955 cat >>confdefs.h <<_ACEOF
8956 #define HAVE_LIBGEN 1
8964 for ac_func in vprintf
8966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8967 echo "$as_me:$LINENO: checking for $ac_func" >&5
8968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8969 if eval "test \"\${$as_ac_var+set}\" = set"; then
8970 echo $ECHO_N "(cached) $ECHO_C" >&6
8972 cat >conftest.$ac_ext <<_ACEOF
8975 cat confdefs.h >>conftest.$ac_ext
8976 cat >>conftest.$ac_ext <<_ACEOF
8977 /* end confdefs.h. */
8978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8980 #define $ac_func innocuous_$ac_func
8982 /* System header to define __stub macros and hopefully few prototypes,
8983 which can conflict with char $ac_func (); below.
8984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8985 <limits.h> exists even on freestanding compilers. */
8988 # include <limits.h>
8990 # include <assert.h>
8995 /* Override any gcc2 internal prototype to avoid an error. */
9000 /* We use char because int might match the return type of a gcc2
9001 builtin and then its argument prototype would still apply. */
9003 /* The GNU C library defines this for functions which it implements
9004 to always fail with ENOSYS. Some functions are actually named
9005 something starting with __ and the normal name is an alias. */
9006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9009 char (*f) () = $ac_func;
9018 return f != $ac_func;
9023 rm -f conftest.$ac_objext conftest$ac_exeext
9024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9025 (eval $ac_link) 2>conftest.er1
9027 grep -v '^ *+' conftest.er1 >conftest.err
9029 cat conftest.err >&5
9030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9031 (exit $ac_status); } &&
9032 { ac_try='test -z "$ac_c_werror_flag"
9033 || test ! -s conftest.err'
9034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9038 (exit $ac_status); }; } &&
9039 { ac_try='test -s conftest$ac_exeext'
9040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9044 (exit $ac_status); }; }; then
9045 eval "$as_ac_var=yes"
9047 echo "$as_me: failed program was:" >&5
9048 sed 's/^/| /' conftest.$ac_ext >&5
9050 eval "$as_ac_var=no"
9052 rm -f conftest.err conftest.$ac_objext \
9053 conftest$ac_exeext conftest.$ac_ext
9055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9057 if test `eval echo '${'$as_ac_var'}'` = yes; then
9058 cat >>confdefs.h <<_ACEOF
9059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9062 echo "$as_me:$LINENO: checking for _doprnt" >&5
9063 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
9064 if test "${ac_cv_func__doprnt+set}" = set; then
9065 echo $ECHO_N "(cached) $ECHO_C" >&6
9067 cat >conftest.$ac_ext <<_ACEOF
9070 cat confdefs.h >>conftest.$ac_ext
9071 cat >>conftest.$ac_ext <<_ACEOF
9072 /* end confdefs.h. */
9073 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
9074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9075 #define _doprnt innocuous__doprnt
9077 /* System header to define __stub macros and hopefully few prototypes,
9078 which can conflict with char _doprnt (); below.
9079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9080 <limits.h> exists even on freestanding compilers. */
9083 # include <limits.h>
9085 # include <assert.h>
9090 /* Override any gcc2 internal prototype to avoid an error. */
9095 /* We use char because int might match the return type of a gcc2
9096 builtin and then its argument prototype would still apply. */
9098 /* The GNU C library defines this for functions which it implements
9099 to always fail with ENOSYS. Some functions are actually named
9100 something starting with __ and the normal name is an alias. */
9101 #if defined (__stub__doprnt) || defined (__stub____doprnt)
9104 char (*f) () = _doprnt;
9113 return f != _doprnt;
9118 rm -f conftest.$ac_objext conftest$ac_exeext
9119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9120 (eval $ac_link) 2>conftest.er1
9122 grep -v '^ *+' conftest.er1 >conftest.err
9124 cat conftest.err >&5
9125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9126 (exit $ac_status); } &&
9127 { ac_try='test -z "$ac_c_werror_flag"
9128 || test ! -s conftest.err'
9129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9133 (exit $ac_status); }; } &&
9134 { ac_try='test -s conftest$ac_exeext'
9135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9139 (exit $ac_status); }; }; then
9140 ac_cv_func__doprnt=yes
9142 echo "$as_me: failed program was:" >&5
9143 sed 's/^/| /' conftest.$ac_ext >&5
9145 ac_cv_func__doprnt=no
9147 rm -f conftest.err conftest.$ac_objext \
9148 conftest$ac_exeext conftest.$ac_ext
9150 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
9151 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
9152 if test $ac_cv_func__doprnt = yes; then
9154 cat >>confdefs.h <<\_ACEOF
9155 #define HAVE_DOPRNT 1
9170 for ac_func in mmap canonicalize_file_name snprintf strdup strchr strrchr
9172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9173 echo "$as_me:$LINENO: checking for $ac_func" >&5
9174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9175 if eval "test \"\${$as_ac_var+set}\" = set"; then
9176 echo $ECHO_N "(cached) $ECHO_C" >&6
9178 cat >conftest.$ac_ext <<_ACEOF
9181 cat confdefs.h >>conftest.$ac_ext
9182 cat >>conftest.$ac_ext <<_ACEOF
9183 /* end confdefs.h. */
9184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9186 #define $ac_func innocuous_$ac_func
9188 /* System header to define __stub macros and hopefully few prototypes,
9189 which can conflict with char $ac_func (); below.
9190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9191 <limits.h> exists even on freestanding compilers. */
9194 # include <limits.h>
9196 # include <assert.h>
9201 /* Override any gcc2 internal prototype to avoid an error. */
9206 /* We use char because int might match the return type of a gcc2
9207 builtin and then its argument prototype would still apply. */
9209 /* The GNU C library defines this for functions which it implements
9210 to always fail with ENOSYS. Some functions are actually named
9211 something starting with __ and the normal name is an alias. */
9212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9215 char (*f) () = $ac_func;
9224 return f != $ac_func;
9229 rm -f conftest.$ac_objext conftest$ac_exeext
9230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9231 (eval $ac_link) 2>conftest.er1
9233 grep -v '^ *+' conftest.er1 >conftest.err
9235 cat conftest.err >&5
9236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9237 (exit $ac_status); } &&
9238 { ac_try='test -z "$ac_c_werror_flag"
9239 || test ! -s conftest.err'
9240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9244 (exit $ac_status); }; } &&
9245 { ac_try='test -s conftest$ac_exeext'
9246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9250 (exit $ac_status); }; }; then
9251 eval "$as_ac_var=yes"
9253 echo "$as_me: failed program was:" >&5
9254 sed 's/^/| /' conftest.$ac_ext >&5
9256 eval "$as_ac_var=no"
9258 rm -f conftest.err conftest.$ac_objext \
9259 conftest$ac_exeext conftest.$ac_ext
9261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9262 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9263 if test `eval echo '${'$as_ac_var'}'` = yes; then
9264 cat >>confdefs.h <<_ACEOF
9265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9271 INVOKE_LIBOPTS_MACROS_FIRST_done=yes
9273 # Check to see if a reg expr header is specified.
9276 # Check whether --with-regex-header or --without-regex-header was given.
9277 if test "${with_regex_header+set}" = set; then
9278 withval="$with_regex_header"
9279 libopts_cv_with_regex_header=${with_regex_header}
9281 echo "$as_me:$LINENO: checking whether a reg expr header is specified" >&5
9282 echo $ECHO_N "checking whether a reg expr header is specified... $ECHO_C" >&6
9283 if test "${libopts_cv_with_regex_header+set}" = set; then
9284 echo $ECHO_N "(cached) $ECHO_C" >&6
9286 libopts_cv_with_regex_header=no
9288 echo "$as_me:$LINENO: result: $libopts_cv_with_regex_header" >&5
9289 echo "${ECHO_T}$libopts_cv_with_regex_header" >&6
9291 fi; # end of AC_ARG_WITH
9293 if test "X${libopts_cv_with_regex_header}" != Xno
9295 cat >>confdefs.h <<_ACEOF
9296 #define REGEX_HEADER <${libopts_cv_with_regex_header}>
9301 cat >>confdefs.h <<\_ACEOF
9302 #define REGEX_HEADER <regex.h>
9309 # Check to see if a working libregex can be found.
9312 # Check whether --with-libregex or --without-libregex was given.
9313 if test "${with_libregex+set}" = set; then
9314 withval="$with_libregex"
9315 libopts_cv_with_libregex_root=${with_libregex}
9317 echo "$as_me:$LINENO: checking whether with-libregex was specified" >&5
9318 echo $ECHO_N "checking whether with-libregex was specified... $ECHO_C" >&6
9319 if test "${libopts_cv_with_libregex_root+set}" = set; then
9320 echo $ECHO_N "(cached) $ECHO_C" >&6
9322 libopts_cv_with_libregex_root=no
9324 echo "$as_me:$LINENO: result: $libopts_cv_with_libregex_root" >&5
9325 echo "${ECHO_T}$libopts_cv_with_libregex_root" >&6
9327 fi; # end of AC_ARG_WITH libregex
9329 if test "${with_libguile+set}" = set && \
9330 test "${withval}" = no
9331 then ## disabled by request
9332 libopts_cv_with_libregex_root=no
9333 libopts_cv_with_libregex_cflags=no
9334 libopts_cv_with_libregex_libs=no
9338 # Check whether --with-libregex-cflags or --without-libregex-cflags was given.
9339 if test "${with_libregex_cflags+set}" = set; then
9340 withval="$with_libregex_cflags"
9341 libopts_cv_with_libregex_cflags=${with_regex_cflags}
9343 echo "$as_me:$LINENO: checking whether with-libregex-cflags was specified" >&5
9344 echo $ECHO_N "checking whether with-libregex-cflags was specified... $ECHO_C" >&6
9345 if test "${libopts_cv_with_libregex_cflags+set}" = set; then
9346 echo $ECHO_N "(cached) $ECHO_C" >&6
9348 libopts_cv_with_libregex_cflags=no
9350 echo "$as_me:$LINENO: result: $libopts_cv_with_libregex_cflags" >&5
9351 echo "${ECHO_T}$libopts_cv_with_libregex_cflags" >&6
9353 fi; # end of AC_ARG_WITH libregex-cflags
9356 # Check whether --with-libregex-libs or --without-libregex-libs was given.
9357 if test "${with_libregex_libs+set}" = set; then
9358 withval="$with_libregex_libs"
9359 libopts_cv_with_libregex_libs=${with_regex_libs}
9361 echo "$as_me:$LINENO: checking whether with-libregex-libs was specified" >&5
9362 echo $ECHO_N "checking whether with-libregex-libs was specified... $ECHO_C" >&6
9363 if test "${libopts_cv_with_libregex_libs+set}" = set; then
9364 echo $ECHO_N "(cached) $ECHO_C" >&6
9366 libopts_cv_with_libregex_libs=no
9368 echo "$as_me:$LINENO: result: $libopts_cv_with_libregex_libs" >&5
9369 echo "${ECHO_T}$libopts_cv_with_libregex_libs" >&6
9371 fi; # end of AC_ARG_WITH libregex-libs
9373 case "X${libopts_cv_with_libregex_cflags}" in
9375 case "X${libopts_cv_with_libregex_root}" in
9376 Xyes|Xno|X ) libopts_cv_with_libregex_cflags=no ;;
9377 * ) libopts_cv_with_libregex_cflags=-I${libopts_cv_with_libregex_root}/include ;;
9380 case "X${libopts_cv_with_libregex_libs}" in
9382 case "X${libopts_cv_with_libregex_root}" in
9383 Xyes|Xno|X ) libopts_cv_with_libregex_libs=no ;;
9384 * ) libopts_cv_with_libregex_libs="-L${libopts_cv_with_libregex_root}/lib -lregex";;
9387 libopts_save_CPPFLAGS="${CPPFLAGS}"
9388 libopts_save_LIBS="${LIBS}"
9389 fi ## disabled by request
9391 case "X${libopts_cv_with_libregex_cflags}" in
9393 libopts_cv_with_libregex_cflags="" ;;
9394 * ) CPPFLAGS="${CPPFLAGS} ${libopts_cv_with_libregex_cflags}" ;;
9396 case "X${libopts_cv_with_libregex_libs}" in
9398 libopts_cv_with_libregex_libs="" ;;
9400 LIBS="${LIBS} ${libopts_cv_with_libregex_libs}" ;;
9404 echo "$as_me:$LINENO: checking whether libregex functions properly" >&5
9405 echo $ECHO_N "checking whether libregex functions properly... $ECHO_C" >&6
9406 if test "${libopts_cv_with_libregex+set}" = set; then
9407 echo $ECHO_N "(cached) $ECHO_C" >&6
9410 if test "$cross_compiling" = yes; then
9411 libopts_cv_with_libregex=no
9413 cat >conftest.$ac_ext <<_ACEOF
9416 cat confdefs.h >>conftest.$ac_ext
9417 cat >>conftest.$ac_ext <<_ACEOF
9418 /* end confdefs.h. */
9421 #include <sys/types.h>
9422 #include REGEX_HEADER
9424 void comp_re( char const* pzPat ) {
9425 int res = regcomp( &re, pzPat, REG_EXTENDED|REG_ICASE|REG_NEWLINE );
9426 if (res == 0) return;
9431 comp_re( "()|no.*" );
9433 if (regexec( &re, "X", 2, m, 0 ) != 0) return 1;
9434 if ((m[0].rm_so != 0) || (m[0].rm_eo != 1)) {
9435 fputs( "error: regex -->.<-- did not match\n", stderr );
9440 rm -f conftest$ac_exeext
9441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9442 (eval $ac_link) 2>&5
9444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9445 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9450 (exit $ac_status); }; }; then
9451 libopts_cv_with_libregex=yes
9453 echo "$as_me: program exited with status $ac_status" >&5
9454 echo "$as_me: failed program was:" >&5
9455 sed 's/^/| /' conftest.$ac_ext >&5
9458 libopts_cv_with_libregex=no
9460 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9461 fi # end of AC_TRY_RUN
9464 # end of AC_CACHE_VAL for libopts_cv_with_libregex
9465 echo "$as_me:$LINENO: result: ${libopts_cv_with_libregex}" >&5
9466 echo "${ECHO_T}${libopts_cv_with_libregex}" >&6
9468 if test "X${libopts_cv_with_libregex}" != Xno
9471 cat >>confdefs.h <<\_ACEOF
9472 #define WITH_LIBREGEX 1
9476 CPPFLAGS="${libopts_save_CPPFLAGS}"
9477 LIBS="${libopts_save_LIBS}"
9482 # Check to see if pathfind(3) works.
9484 echo "$as_me:$LINENO: checking whether pathfind(3) works" >&5
9485 echo $ECHO_N "checking whether pathfind(3) works... $ECHO_C" >&6
9486 if test "${libopts_cv_run_pathfind+set}" = set; then
9487 echo $ECHO_N "(cached) $ECHO_C" >&6
9490 if test "$cross_compiling" = yes; then
9491 libopts_cv_run_pathfind=no
9494 cat >conftest.$ac_ext <<_ACEOF
9497 cat confdefs.h >>conftest.$ac_ext
9498 cat >>conftest.$ac_ext <<_ACEOF
9499 /* end confdefs.h. */
9502 int main (int argc, char** argv) {
9503 char* pz = pathfind( getenv( "PATH" ), "sh", "x" );
9504 return (pz == 0) ? 1 : 0;
9507 rm -f conftest$ac_exeext
9508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9509 (eval $ac_link) 2>&5
9511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9512 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9517 (exit $ac_status); }; }; then
9518 libopts_cv_run_pathfind=yes
9520 echo "$as_me: program exited with status $ac_status" >&5
9521 echo "$as_me: failed program was:" >&5
9522 sed 's/^/| /' conftest.$ac_ext >&5
9525 libopts_cv_run_pathfind=no
9527 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9531 # end of AC_CACHE_VAL for libopts_cv_run_pathfind
9532 echo "$as_me:$LINENO: result: ${libopts_cv_run_pathfind}" >&5
9533 echo "${ECHO_T}${libopts_cv_run_pathfind}" >&6
9535 if test "X${libopts_cv_run_pathfind}" != Xno
9538 cat >>confdefs.h <<\_ACEOF
9539 #define HAVE_PATHFIND 1
9546 # Check to see if /dev/zero is readable device.
9548 echo "$as_me:$LINENO: checking whether /dev/zero is readable device" >&5
9549 echo $ECHO_N "checking whether /dev/zero is readable device... $ECHO_C" >&6
9550 if test "${libopts_cv_test_dev_zero+set}" = set; then
9551 echo $ECHO_N "(cached) $ECHO_C" >&6
9554 libopts_cv_test_dev_zero=`exec 2> /dev/null
9555 dzero=\`ls -lL /dev/zero | egrep ^c......r\`
9556 test -z "${dzero}" && exit 1
9559 then libopts_cv_test_dev_zero=no
9560 elif test -z "$libopts_cv_test_dev_zero"
9561 then libopts_cv_test_dev_zero=no
9565 # end of CACHE_VAL of libopts_cv_test_dev_zero
9566 echo "$as_me:$LINENO: result: ${libopts_cv_test_dev_zero}" >&5
9567 echo "${ECHO_T}${libopts_cv_test_dev_zero}" >&6
9569 if test "X${libopts_cv_test_dev_zero}" != Xno
9572 cat >>confdefs.h <<\_ACEOF
9573 #define HAVE_DEV_ZERO 1
9580 # Check to see if we have a functional realpath(3C).
9582 echo "$as_me:$LINENO: checking whether we have a functional realpath(3C)" >&5
9583 echo $ECHO_N "checking whether we have a functional realpath(3C)... $ECHO_C" >&6
9584 if test "${libopts_cv_run_realpath+set}" = set; then
9585 echo $ECHO_N "(cached) $ECHO_C" >&6
9588 if test "$cross_compiling" = yes; then
9589 libopts_cv_run_realpath=no
9592 cat >conftest.$ac_ext <<_ACEOF
9595 cat confdefs.h >>conftest.$ac_ext
9596 cat >>conftest.$ac_ext <<_ACEOF
9597 /* end confdefs.h. */
9600 int main (int argc, char** argv) {
9604 char zPath[PATH_MAX+1];
9606 char *pz = realpath(argv[0], zPath);
9607 return (pz == zPath) ? 0 : 1;
9610 rm -f conftest$ac_exeext
9611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9612 (eval $ac_link) 2>&5
9614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9615 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9620 (exit $ac_status); }; }; then
9621 libopts_cv_run_realpath=yes
9623 echo "$as_me: program exited with status $ac_status" >&5
9624 echo "$as_me: failed program was:" >&5
9625 sed 's/^/| /' conftest.$ac_ext >&5
9628 libopts_cv_run_realpath=no
9630 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9634 # end of AC_CACHE_VAL for libopts_cv_run_realpath
9635 echo "$as_me:$LINENO: result: ${libopts_cv_run_realpath}" >&5
9636 echo "${ECHO_T}${libopts_cv_run_realpath}" >&6
9638 if test "X${libopts_cv_run_realpath}" != Xno
9641 cat >>confdefs.h <<\_ACEOF
9642 #define HAVE_REALPATH 1
9649 # Check to see if strftime() works.
9651 echo "$as_me:$LINENO: checking whether strftime() works" >&5
9652 echo $ECHO_N "checking whether strftime() works... $ECHO_C" >&6
9653 if test "${libopts_cv_run_strftime+set}" = set; then
9654 echo $ECHO_N "(cached) $ECHO_C" >&6
9657 if test "$cross_compiling" = yes; then
9658 libopts_cv_run_strftime=no
9661 cat >conftest.$ac_ext <<_ACEOF
9664 cat confdefs.h >>conftest.$ac_ext
9665 cat >>conftest.$ac_ext <<_ACEOF
9666 /* end confdefs.h. */
9671 static char const z[] = "Thursday Aug 28 240";
9673 tm.tm_sec = 36; /* seconds after the minute [0, 61] */
9674 tm.tm_min = 44; /* minutes after the hour [0, 59] */
9675 tm.tm_hour = 12; /* hour since midnight [0, 23] */
9676 tm.tm_mday = 28; /* day of the month [1, 31] */
9677 tm.tm_mon = 7; /* months since January [0, 11] */
9678 tm.tm_year = 86; /* years since 1900 */
9679 tm.tm_wday = 4; /* days since Sunday [0, 6] */
9680 tm.tm_yday = 239; /* days since January 1 [0, 365] */
9681 tm.tm_isdst = 1; /* flag for daylight savings time */
9682 strftime( t_buf, sizeof( t_buf ), "%A %b %d %j", &tm );
9683 return (strcmp( t_buf, z ) != 0); }
9685 rm -f conftest$ac_exeext
9686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9687 (eval $ac_link) 2>&5
9689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9690 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9695 (exit $ac_status); }; }; then
9696 libopts_cv_run_strftime=yes
9698 echo "$as_me: program exited with status $ac_status" >&5
9699 echo "$as_me: failed program was:" >&5
9700 sed 's/^/| /' conftest.$ac_ext >&5
9703 libopts_cv_run_strftime=no
9705 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9709 # end of AC_CACHE_VAL for libopts_cv_run_strftime
9710 echo "$as_me:$LINENO: result: ${libopts_cv_run_strftime}" >&5
9711 echo "${ECHO_T}${libopts_cv_run_strftime}" >&6
9713 if test "X${libopts_cv_run_strftime}" != Xno
9716 cat >>confdefs.h <<\_ACEOF
9717 #define HAVE_STRFTIME 1
9724 # Check to see if fopen accepts "b" mode.
9726 echo "$as_me:$LINENO: checking whether fopen accepts \"b\" mode" >&5
9727 echo $ECHO_N "checking whether fopen accepts \"b\" mode... $ECHO_C" >&6
9728 if test "${libopts_cv_run_fopen_binary+set}" = set; then
9729 echo $ECHO_N "(cached) $ECHO_C" >&6
9732 if test "$cross_compiling" = yes; then
9733 libopts_cv_run_fopen_binary=no
9736 cat >conftest.$ac_ext <<_ACEOF
9739 cat confdefs.h >>conftest.$ac_ext
9740 cat >>conftest.$ac_ext <<_ACEOF
9741 /* end confdefs.h. */
9743 int main (int argc, char** argv) {
9744 FILE* fp = fopen("conftest.$ac_ext", "rb");
9745 return (fp == NULL) ? 1 : fclose(fp); }
9747 rm -f conftest$ac_exeext
9748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9749 (eval $ac_link) 2>&5
9751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9752 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9757 (exit $ac_status); }; }; then
9758 libopts_cv_run_fopen_binary=yes
9760 echo "$as_me: program exited with status $ac_status" >&5
9761 echo "$as_me: failed program was:" >&5
9762 sed 's/^/| /' conftest.$ac_ext >&5
9765 libopts_cv_run_fopen_binary=no
9767 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9771 # end of AC_CACHE_VAL for libopts_cv_run_fopen_binary
9772 echo "$as_me:$LINENO: result: ${libopts_cv_run_fopen_binary}" >&5
9773 echo "${ECHO_T}${libopts_cv_run_fopen_binary}" >&6
9775 if test "X${libopts_cv_run_fopen_binary}" != Xno
9778 cat >>confdefs.h <<\_ACEOF
9779 #define FOPEN_BINARY_FLAG "b"
9784 cat >>confdefs.h <<\_ACEOF
9785 #define FOPEN_BINARY_FLAG ""
9792 # Check to see if fopen accepts "t" mode.
9794 echo "$as_me:$LINENO: checking whether fopen accepts \"t\" mode" >&5
9795 echo $ECHO_N "checking whether fopen accepts \"t\" mode... $ECHO_C" >&6
9796 if test "${libopts_cv_run_fopen_text+set}" = set; then
9797 echo $ECHO_N "(cached) $ECHO_C" >&6
9800 if test "$cross_compiling" = yes; then
9801 libopts_cv_run_fopen_text=no
9804 cat >conftest.$ac_ext <<_ACEOF
9807 cat confdefs.h >>conftest.$ac_ext
9808 cat >>conftest.$ac_ext <<_ACEOF
9809 /* end confdefs.h. */
9811 int main (int argc, char** argv) {
9812 FILE* fp = fopen("conftest.$ac_ext", "rt");
9813 return (fp == NULL) ? 1 : fclose(fp); }
9815 rm -f conftest$ac_exeext
9816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9817 (eval $ac_link) 2>&5
9819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9820 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9825 (exit $ac_status); }; }; then
9826 libopts_cv_run_fopen_text=yes
9828 echo "$as_me: program exited with status $ac_status" >&5
9829 echo "$as_me: failed program was:" >&5
9830 sed 's/^/| /' conftest.$ac_ext >&5
9833 libopts_cv_run_fopen_text=no
9835 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9839 # end of AC_CACHE_VAL for libopts_cv_run_fopen_text
9840 echo "$as_me:$LINENO: result: ${libopts_cv_run_fopen_text}" >&5
9841 echo "${ECHO_T}${libopts_cv_run_fopen_text}" >&6
9843 if test "X${libopts_cv_run_fopen_text}" != Xno
9846 cat >>confdefs.h <<\_ACEOF
9847 #define FOPEN_TEXT_FLAG "t"
9852 cat >>confdefs.h <<\_ACEOF
9853 #define FOPEN_TEXT_FLAG ""
9860 # Check to see if not wanting optional option args.
9862 # Check whether --enable-optional-args or --disable-optional-args was given.
9863 if test "${enable_optional_args+set}" = set; then
9864 enableval="$enable_optional_args"
9865 libopts_cv_enable_optional_args=${enable_optional_args}
9867 echo "$as_me:$LINENO: checking whether not wanting optional option args" >&5
9868 echo $ECHO_N "checking whether not wanting optional option args... $ECHO_C" >&6
9869 if test "${libopts_cv_enable_optional_args+set}" = set; then
9870 echo $ECHO_N "(cached) $ECHO_C" >&6
9872 libopts_cv_enable_optional_args=yes
9874 echo "$as_me:$LINENO: result: $libopts_cv_enable_optional_args" >&5
9875 echo "${ECHO_T}$libopts_cv_enable_optional_args" >&6
9877 fi; # end of AC_ARG_ENABLE
9879 if test "X${libopts_cv_enable_optional_args}" = Xno
9882 cat >>confdefs.h <<\_ACEOF
9883 #define NO_OPTIONAL_OPT_ARGS 1
9893 if test X${INVOKE_LIBOPTS_MACROS_FIRST_done} != Xyes ; then
9897 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
9898 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
9899 if test "${ac_cv_header_stdc+set}" = set; then
9900 echo $ECHO_N "(cached) $ECHO_C" >&6
9902 cat >conftest.$ac_ext <<_ACEOF
9905 cat confdefs.h >>conftest.$ac_ext
9906 cat >>conftest.$ac_ext <<_ACEOF
9907 /* end confdefs.h. */
9921 rm -f conftest.$ac_objext
9922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9923 (eval $ac_compile) 2>conftest.er1
9925 grep -v '^ *+' conftest.er1 >conftest.err
9927 cat conftest.err >&5
9928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9929 (exit $ac_status); } &&
9930 { ac_try='test -z "$ac_c_werror_flag"
9931 || test ! -s conftest.err'
9932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9936 (exit $ac_status); }; } &&
9937 { ac_try='test -s conftest.$ac_objext'
9938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9942 (exit $ac_status); }; }; then
9943 ac_cv_header_stdc=yes
9945 echo "$as_me: failed program was:" >&5
9946 sed 's/^/| /' conftest.$ac_ext >&5
9948 ac_cv_header_stdc=no
9950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9952 if test $ac_cv_header_stdc = yes; then
9953 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9954 cat >conftest.$ac_ext <<_ACEOF
9957 cat confdefs.h >>conftest.$ac_ext
9958 cat >>conftest.$ac_ext <<_ACEOF
9959 /* end confdefs.h. */
9963 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9964 $EGREP "memchr" >/dev/null 2>&1; then
9967 ac_cv_header_stdc=no
9973 if test $ac_cv_header_stdc = yes; then
9974 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9975 cat >conftest.$ac_ext <<_ACEOF
9978 cat confdefs.h >>conftest.$ac_ext
9979 cat >>conftest.$ac_ext <<_ACEOF
9980 /* end confdefs.h. */
9984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9985 $EGREP "free" >/dev/null 2>&1; then
9988 ac_cv_header_stdc=no
9994 if test $ac_cv_header_stdc = yes; then
9995 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9996 if test "$cross_compiling" = yes; then
9999 cat >conftest.$ac_ext <<_ACEOF
10002 cat confdefs.h >>conftest.$ac_ext
10003 cat >>conftest.$ac_ext <<_ACEOF
10004 /* end confdefs.h. */
10006 #if ((' ' & 0x0FF) == 0x020)
10007 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10008 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10010 # define ISLOWER(c) \
10011 (('a' <= (c) && (c) <= 'i') \
10012 || ('j' <= (c) && (c) <= 'r') \
10013 || ('s' <= (c) && (c) <= 'z'))
10014 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10017 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10022 for (i = 0; i < 256; i++)
10023 if (XOR (islower (i), ISLOWER (i))
10024 || toupper (i) != TOUPPER (i))
10029 rm -f conftest$ac_exeext
10030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10031 (eval $ac_link) 2>&5
10033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10034 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10036 (eval $ac_try) 2>&5
10038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10039 (exit $ac_status); }; }; then
10042 echo "$as_me: program exited with status $ac_status" >&5
10043 echo "$as_me: failed program was:" >&5
10044 sed 's/^/| /' conftest.$ac_ext >&5
10046 ( exit $ac_status )
10047 ac_cv_header_stdc=no
10049 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10053 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
10054 echo "${ECHO_T}$ac_cv_header_stdc" >&6
10055 if test $ac_cv_header_stdc = yes; then
10057 cat >>confdefs.h <<\_ACEOF
10058 #define STDC_HEADERS 1
10063 # =================
10065 # =================
10071 ac_header_dirent=no
10072 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
10073 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
10074 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
10075 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
10076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10077 echo $ECHO_N "(cached) $ECHO_C" >&6
10079 cat >conftest.$ac_ext <<_ACEOF
10082 cat confdefs.h >>conftest.$ac_ext
10083 cat >>conftest.$ac_ext <<_ACEOF
10084 /* end confdefs.h. */
10085 #include <sys/types.h>
10097 rm -f conftest.$ac_objext
10098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10099 (eval $ac_compile) 2>conftest.er1
10101 grep -v '^ *+' conftest.er1 >conftest.err
10103 cat conftest.err >&5
10104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10105 (exit $ac_status); } &&
10106 { ac_try='test -z "$ac_c_werror_flag"
10107 || test ! -s conftest.err'
10108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10109 (eval $ac_try) 2>&5
10111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10112 (exit $ac_status); }; } &&
10113 { ac_try='test -s conftest.$ac_objext'
10114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10115 (eval $ac_try) 2>&5
10117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10118 (exit $ac_status); }; }; then
10119 eval "$as_ac_Header=yes"
10121 echo "$as_me: failed program was:" >&5
10122 sed 's/^/| /' conftest.$ac_ext >&5
10124 eval "$as_ac_Header=no"
10126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10129 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10130 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10131 cat >>confdefs.h <<_ACEOF
10132 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
10135 ac_header_dirent=$ac_hdr; break
10139 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
10140 if test $ac_header_dirent = dirent.h; then
10141 echo "$as_me:$LINENO: checking for library containing opendir" >&5
10142 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
10143 if test "${ac_cv_search_opendir+set}" = set; then
10144 echo $ECHO_N "(cached) $ECHO_C" >&6
10146 ac_func_search_save_LIBS=$LIBS
10147 ac_cv_search_opendir=no
10148 cat >conftest.$ac_ext <<_ACEOF
10151 cat confdefs.h >>conftest.$ac_ext
10152 cat >>conftest.$ac_ext <<_ACEOF
10153 /* end confdefs.h. */
10155 /* Override any gcc2 internal prototype to avoid an error. */
10159 /* We use char because int might match the return type of a gcc2
10160 builtin and then its argument prototype would still apply. */
10170 rm -f conftest.$ac_objext conftest$ac_exeext
10171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10172 (eval $ac_link) 2>conftest.er1
10174 grep -v '^ *+' conftest.er1 >conftest.err
10176 cat conftest.err >&5
10177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10178 (exit $ac_status); } &&
10179 { ac_try='test -z "$ac_c_werror_flag"
10180 || test ! -s conftest.err'
10181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10182 (eval $ac_try) 2>&5
10184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10185 (exit $ac_status); }; } &&
10186 { ac_try='test -s conftest$ac_exeext'
10187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10188 (eval $ac_try) 2>&5
10190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10191 (exit $ac_status); }; }; then
10192 ac_cv_search_opendir="none required"
10194 echo "$as_me: failed program was:" >&5
10195 sed 's/^/| /' conftest.$ac_ext >&5
10198 rm -f conftest.err conftest.$ac_objext \
10199 conftest$ac_exeext conftest.$ac_ext
10200 if test "$ac_cv_search_opendir" = no; then
10201 for ac_lib in dir; do
10202 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10203 cat >conftest.$ac_ext <<_ACEOF
10206 cat confdefs.h >>conftest.$ac_ext
10207 cat >>conftest.$ac_ext <<_ACEOF
10208 /* end confdefs.h. */
10210 /* Override any gcc2 internal prototype to avoid an error. */
10214 /* We use char because int might match the return type of a gcc2
10215 builtin and then its argument prototype would still apply. */
10225 rm -f conftest.$ac_objext conftest$ac_exeext
10226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10227 (eval $ac_link) 2>conftest.er1
10229 grep -v '^ *+' conftest.er1 >conftest.err
10231 cat conftest.err >&5
10232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10233 (exit $ac_status); } &&
10234 { ac_try='test -z "$ac_c_werror_flag"
10235 || test ! -s conftest.err'
10236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10237 (eval $ac_try) 2>&5
10239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10240 (exit $ac_status); }; } &&
10241 { ac_try='test -s conftest$ac_exeext'
10242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10243 (eval $ac_try) 2>&5
10245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10246 (exit $ac_status); }; }; then
10247 ac_cv_search_opendir="-l$ac_lib"
10250 echo "$as_me: failed program was:" >&5
10251 sed 's/^/| /' conftest.$ac_ext >&5
10254 rm -f conftest.err conftest.$ac_objext \
10255 conftest$ac_exeext conftest.$ac_ext
10258 LIBS=$ac_func_search_save_LIBS
10260 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
10261 echo "${ECHO_T}$ac_cv_search_opendir" >&6
10262 if test "$ac_cv_search_opendir" != no; then
10263 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
10268 echo "$as_me:$LINENO: checking for library containing opendir" >&5
10269 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
10270 if test "${ac_cv_search_opendir+set}" = set; then
10271 echo $ECHO_N "(cached) $ECHO_C" >&6
10273 ac_func_search_save_LIBS=$LIBS
10274 ac_cv_search_opendir=no
10275 cat >conftest.$ac_ext <<_ACEOF
10278 cat confdefs.h >>conftest.$ac_ext
10279 cat >>conftest.$ac_ext <<_ACEOF
10280 /* end confdefs.h. */
10282 /* Override any gcc2 internal prototype to avoid an error. */
10286 /* We use char because int might match the return type of a gcc2
10287 builtin and then its argument prototype would still apply. */
10297 rm -f conftest.$ac_objext conftest$ac_exeext
10298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10299 (eval $ac_link) 2>conftest.er1
10301 grep -v '^ *+' conftest.er1 >conftest.err
10303 cat conftest.err >&5
10304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10305 (exit $ac_status); } &&
10306 { ac_try='test -z "$ac_c_werror_flag"
10307 || test ! -s conftest.err'
10308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10309 (eval $ac_try) 2>&5
10311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10312 (exit $ac_status); }; } &&
10313 { ac_try='test -s conftest$ac_exeext'
10314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10315 (eval $ac_try) 2>&5
10317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10318 (exit $ac_status); }; }; then
10319 ac_cv_search_opendir="none required"
10321 echo "$as_me: failed program was:" >&5
10322 sed 's/^/| /' conftest.$ac_ext >&5
10325 rm -f conftest.err conftest.$ac_objext \
10326 conftest$ac_exeext conftest.$ac_ext
10327 if test "$ac_cv_search_opendir" = no; then
10328 for ac_lib in x; do
10329 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10330 cat >conftest.$ac_ext <<_ACEOF
10333 cat confdefs.h >>conftest.$ac_ext
10334 cat >>conftest.$ac_ext <<_ACEOF
10335 /* end confdefs.h. */
10337 /* Override any gcc2 internal prototype to avoid an error. */
10341 /* We use char because int might match the return type of a gcc2
10342 builtin and then its argument prototype would still apply. */
10352 rm -f conftest.$ac_objext conftest$ac_exeext
10353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10354 (eval $ac_link) 2>conftest.er1
10356 grep -v '^ *+' conftest.er1 >conftest.err
10358 cat conftest.err >&5
10359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10360 (exit $ac_status); } &&
10361 { ac_try='test -z "$ac_c_werror_flag"
10362 || test ! -s conftest.err'
10363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10364 (eval $ac_try) 2>&5
10366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10367 (exit $ac_status); }; } &&
10368 { ac_try='test -s conftest$ac_exeext'
10369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10370 (eval $ac_try) 2>&5
10372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10373 (exit $ac_status); }; }; then
10374 ac_cv_search_opendir="-l$ac_lib"
10377 echo "$as_me: failed program was:" >&5
10378 sed 's/^/| /' conftest.$ac_ext >&5
10381 rm -f conftest.err conftest.$ac_objext \
10382 conftest$ac_exeext conftest.$ac_ext
10385 LIBS=$ac_func_search_save_LIBS
10387 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
10388 echo "${ECHO_T}$ac_cv_search_opendir" >&6
10389 if test "$ac_cv_search_opendir" != no; then
10390 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
10397 # =================
10399 # =================
10420 for ac_header in dlfcn.h errno.h fcntl.h libgen.h memory.h netinet/in.h \
10421 setjmp.h sys/mman.h sys/param.h sys/poll.h sys/procset.h sys/select.h \
10422 sys/socket.h sys/stropts.h sys/time.h sys/un.h sys/wait.h unistd.h \
10425 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10426 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10427 echo "$as_me:$LINENO: checking for $ac_header" >&5
10428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10430 echo $ECHO_N "(cached) $ECHO_C" >&6
10432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10433 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10435 # Is the header compilable?
10436 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10437 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10438 cat >conftest.$ac_ext <<_ACEOF
10441 cat confdefs.h >>conftest.$ac_ext
10442 cat >>conftest.$ac_ext <<_ACEOF
10443 /* end confdefs.h. */
10444 $ac_includes_default
10445 #include <$ac_header>
10447 rm -f conftest.$ac_objext
10448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10449 (eval $ac_compile) 2>conftest.er1
10451 grep -v '^ *+' conftest.er1 >conftest.err
10453 cat conftest.err >&5
10454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10455 (exit $ac_status); } &&
10456 { ac_try='test -z "$ac_c_werror_flag"
10457 || test ! -s conftest.err'
10458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10459 (eval $ac_try) 2>&5
10461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10462 (exit $ac_status); }; } &&
10463 { ac_try='test -s conftest.$ac_objext'
10464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10465 (eval $ac_try) 2>&5
10467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10468 (exit $ac_status); }; }; then
10469 ac_header_compiler=yes
10471 echo "$as_me: failed program was:" >&5
10472 sed 's/^/| /' conftest.$ac_ext >&5
10474 ac_header_compiler=no
10476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10477 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10478 echo "${ECHO_T}$ac_header_compiler" >&6
10480 # Is the header present?
10481 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10482 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10483 cat >conftest.$ac_ext <<_ACEOF
10486 cat confdefs.h >>conftest.$ac_ext
10487 cat >>conftest.$ac_ext <<_ACEOF
10488 /* end confdefs.h. */
10489 #include <$ac_header>
10491 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10492 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10494 grep -v '^ *+' conftest.er1 >conftest.err
10496 cat conftest.err >&5
10497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10498 (exit $ac_status); } >/dev/null; then
10499 if test -s conftest.err; then
10500 ac_cpp_err=$ac_c_preproc_warn_flag
10501 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10508 if test -z "$ac_cpp_err"; then
10509 ac_header_preproc=yes
10511 echo "$as_me: failed program was:" >&5
10512 sed 's/^/| /' conftest.$ac_ext >&5
10514 ac_header_preproc=no
10516 rm -f conftest.err conftest.$ac_ext
10517 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10518 echo "${ECHO_T}$ac_header_preproc" >&6
10520 # So? What about this header?
10521 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10523 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10524 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10525 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10526 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10527 ac_header_preproc=yes
10530 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10531 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10532 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10533 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10534 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10535 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10536 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10537 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10538 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10539 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10540 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10541 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10544 ## ------------------------------ ##
10545 ## Report this to the ntp lists. ##
10546 ## ------------------------------ ##
10549 sed "s/^/$as_me: WARNING: /" >&2
10552 echo "$as_me:$LINENO: checking for $ac_header" >&5
10553 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10554 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10555 echo $ECHO_N "(cached) $ECHO_C" >&6
10557 eval "$as_ac_Header=\$ac_header_preproc"
10559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10560 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10563 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10564 cat >>confdefs.h <<_ACEOF
10565 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10573 # --------------------------------------------
10574 # Verify certain entries from AC_CHECK_HEADERS
10575 # --------------------------------------------
10576 for f in sys_types sys_mman sys_param sys_stat sys_wait \
10577 string errno stdlib memory setjmp
10578 do eval as_ac_var=\${ac_cv_header_${f}_h+set}
10579 test "${as_ac_var}" = set || \
10580 { { echo "$as_me:$LINENO: error: You must have ${f}.h on your system" >&5
10581 echo "$as_me: error: You must have ${f}.h on your system" >&2;}
10582 { (exit 1); exit 1; }; }
10585 # ================================================
10586 # AC_CHECK_HEADERS: stdarg.h is present define HAVE_STDARG_H, otherwise
10587 # if varargs.h is present define HAVE_VARARGS_H.
10588 # ================================================
10591 for ac_header in stdarg.h varargs.h
10593 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10595 echo "$as_me:$LINENO: checking for $ac_header" >&5
10596 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10598 echo $ECHO_N "(cached) $ECHO_C" >&6
10600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10601 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10603 # Is the header compilable?
10604 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10605 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10606 cat >conftest.$ac_ext <<_ACEOF
10609 cat confdefs.h >>conftest.$ac_ext
10610 cat >>conftest.$ac_ext <<_ACEOF
10611 /* end confdefs.h. */
10612 $ac_includes_default
10613 #include <$ac_header>
10615 rm -f conftest.$ac_objext
10616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10617 (eval $ac_compile) 2>conftest.er1
10619 grep -v '^ *+' conftest.er1 >conftest.err
10621 cat conftest.err >&5
10622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10623 (exit $ac_status); } &&
10624 { ac_try='test -z "$ac_c_werror_flag"
10625 || test ! -s conftest.err'
10626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10627 (eval $ac_try) 2>&5
10629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10630 (exit $ac_status); }; } &&
10631 { ac_try='test -s conftest.$ac_objext'
10632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10633 (eval $ac_try) 2>&5
10635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10636 (exit $ac_status); }; }; then
10637 ac_header_compiler=yes
10639 echo "$as_me: failed program was:" >&5
10640 sed 's/^/| /' conftest.$ac_ext >&5
10642 ac_header_compiler=no
10644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10645 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10646 echo "${ECHO_T}$ac_header_compiler" >&6
10648 # Is the header present?
10649 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10650 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10651 cat >conftest.$ac_ext <<_ACEOF
10654 cat confdefs.h >>conftest.$ac_ext
10655 cat >>conftest.$ac_ext <<_ACEOF
10656 /* end confdefs.h. */
10657 #include <$ac_header>
10659 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10660 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10662 grep -v '^ *+' conftest.er1 >conftest.err
10664 cat conftest.err >&5
10665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10666 (exit $ac_status); } >/dev/null; then
10667 if test -s conftest.err; then
10668 ac_cpp_err=$ac_c_preproc_warn_flag
10669 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10676 if test -z "$ac_cpp_err"; then
10677 ac_header_preproc=yes
10679 echo "$as_me: failed program was:" >&5
10680 sed 's/^/| /' conftest.$ac_ext >&5
10682 ac_header_preproc=no
10684 rm -f conftest.err conftest.$ac_ext
10685 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10686 echo "${ECHO_T}$ac_header_preproc" >&6
10688 # So? What about this header?
10689 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10691 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10692 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10693 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10694 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10695 ac_header_preproc=yes
10698 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10699 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10700 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10701 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10702 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10703 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10704 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10705 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10706 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10707 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10708 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10709 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10712 ## ------------------------------ ##
10713 ## Report this to the ntp lists. ##
10714 ## ------------------------------ ##
10717 sed "s/^/$as_me: WARNING: /" >&2
10720 echo "$as_me:$LINENO: checking for $ac_header" >&5
10721 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10723 echo $ECHO_N "(cached) $ECHO_C" >&6
10725 eval "$as_ac_Header=\$ac_header_preproc"
10727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10728 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10731 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10732 cat >>confdefs.h <<_ACEOF
10733 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10740 if test `eval echo '${'$as_ac_Header'}'` != yes; then
10741 { { echo "$as_me:$LINENO: error: You must have stdarg.h or varargs.h on your system" >&5
10742 echo "$as_me: error: You must have stdarg.h or varargs.h on your system" >&2;}
10743 { (exit 1); exit 1; }; }
10746 # ================================================
10747 # Similarly for the string.h and strings.h headers
10748 # ================================================
10751 for ac_header in string.h strings.h
10753 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10755 echo "$as_me:$LINENO: checking for $ac_header" >&5
10756 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10757 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10758 echo $ECHO_N "(cached) $ECHO_C" >&6
10760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10761 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10763 # Is the header compilable?
10764 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10765 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10766 cat >conftest.$ac_ext <<_ACEOF
10769 cat confdefs.h >>conftest.$ac_ext
10770 cat >>conftest.$ac_ext <<_ACEOF
10771 /* end confdefs.h. */
10772 $ac_includes_default
10773 #include <$ac_header>
10775 rm -f conftest.$ac_objext
10776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10777 (eval $ac_compile) 2>conftest.er1
10779 grep -v '^ *+' conftest.er1 >conftest.err
10781 cat conftest.err >&5
10782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10783 (exit $ac_status); } &&
10784 { ac_try='test -z "$ac_c_werror_flag"
10785 || test ! -s conftest.err'
10786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10787 (eval $ac_try) 2>&5
10789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10790 (exit $ac_status); }; } &&
10791 { ac_try='test -s conftest.$ac_objext'
10792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10793 (eval $ac_try) 2>&5
10795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10796 (exit $ac_status); }; }; then
10797 ac_header_compiler=yes
10799 echo "$as_me: failed program was:" >&5
10800 sed 's/^/| /' conftest.$ac_ext >&5
10802 ac_header_compiler=no
10804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10805 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10806 echo "${ECHO_T}$ac_header_compiler" >&6
10808 # Is the header present?
10809 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10810 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10811 cat >conftest.$ac_ext <<_ACEOF
10814 cat confdefs.h >>conftest.$ac_ext
10815 cat >>conftest.$ac_ext <<_ACEOF
10816 /* end confdefs.h. */
10817 #include <$ac_header>
10819 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10820 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10822 grep -v '^ *+' conftest.er1 >conftest.err
10824 cat conftest.err >&5
10825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10826 (exit $ac_status); } >/dev/null; then
10827 if test -s conftest.err; then
10828 ac_cpp_err=$ac_c_preproc_warn_flag
10829 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10836 if test -z "$ac_cpp_err"; then
10837 ac_header_preproc=yes
10839 echo "$as_me: failed program was:" >&5
10840 sed 's/^/| /' conftest.$ac_ext >&5
10842 ac_header_preproc=no
10844 rm -f conftest.err conftest.$ac_ext
10845 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10846 echo "${ECHO_T}$ac_header_preproc" >&6
10848 # So? What about this header?
10849 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10851 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10852 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10853 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10854 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10855 ac_header_preproc=yes
10858 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10859 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10860 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10861 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10862 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10863 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10864 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10865 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10866 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10867 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10868 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10869 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10872 ## ------------------------------ ##
10873 ## Report this to the ntp lists. ##
10874 ## ------------------------------ ##
10877 sed "s/^/$as_me: WARNING: /" >&2
10880 echo "$as_me:$LINENO: checking for $ac_header" >&5
10881 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10883 echo $ECHO_N "(cached) $ECHO_C" >&6
10885 eval "$as_ac_Header=\$ac_header_preproc"
10887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10888 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10891 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10892 cat >>confdefs.h <<_ACEOF
10893 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10900 if test `eval echo '${'$as_ac_Header'}'` != yes; then
10901 { { echo "$as_me:$LINENO: error: You must have string.h or strings.h on your system" >&5
10902 echo "$as_me: error: You must have string.h or strings.h on your system" >&2;}
10903 { (exit 1); exit 1; }; }
10906 # =====================
10907 # ...and limits headers
10908 # =====================
10912 for ac_header in limits.h sys/limits.h values.h
10914 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10915 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10916 echo "$as_me:$LINENO: checking for $ac_header" >&5
10917 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10918 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10919 echo $ECHO_N "(cached) $ECHO_C" >&6
10921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10922 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10924 # Is the header compilable?
10925 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10926 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10927 cat >conftest.$ac_ext <<_ACEOF
10930 cat confdefs.h >>conftest.$ac_ext
10931 cat >>conftest.$ac_ext <<_ACEOF
10932 /* end confdefs.h. */
10933 $ac_includes_default
10934 #include <$ac_header>
10936 rm -f conftest.$ac_objext
10937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10938 (eval $ac_compile) 2>conftest.er1
10940 grep -v '^ *+' conftest.er1 >conftest.err
10942 cat conftest.err >&5
10943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10944 (exit $ac_status); } &&
10945 { ac_try='test -z "$ac_c_werror_flag"
10946 || test ! -s conftest.err'
10947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10948 (eval $ac_try) 2>&5
10950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10951 (exit $ac_status); }; } &&
10952 { ac_try='test -s conftest.$ac_objext'
10953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10954 (eval $ac_try) 2>&5
10956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10957 (exit $ac_status); }; }; then
10958 ac_header_compiler=yes
10960 echo "$as_me: failed program was:" >&5
10961 sed 's/^/| /' conftest.$ac_ext >&5
10963 ac_header_compiler=no
10965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10966 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10967 echo "${ECHO_T}$ac_header_compiler" >&6
10969 # Is the header present?
10970 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10971 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10972 cat >conftest.$ac_ext <<_ACEOF
10975 cat confdefs.h >>conftest.$ac_ext
10976 cat >>conftest.$ac_ext <<_ACEOF
10977 /* end confdefs.h. */
10978 #include <$ac_header>
10980 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10981 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10983 grep -v '^ *+' conftest.er1 >conftest.err
10985 cat conftest.err >&5
10986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10987 (exit $ac_status); } >/dev/null; then
10988 if test -s conftest.err; then
10989 ac_cpp_err=$ac_c_preproc_warn_flag
10990 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10997 if test -z "$ac_cpp_err"; then
10998 ac_header_preproc=yes
11000 echo "$as_me: failed program was:" >&5
11001 sed 's/^/| /' conftest.$ac_ext >&5
11003 ac_header_preproc=no
11005 rm -f conftest.err conftest.$ac_ext
11006 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11007 echo "${ECHO_T}$ac_header_preproc" >&6
11009 # So? What about this header?
11010 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11012 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11013 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11014 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11015 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11016 ac_header_preproc=yes
11019 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11020 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11021 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11022 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11023 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11024 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11025 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11026 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11027 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11028 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11029 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11030 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11033 ## ------------------------------ ##
11034 ## Report this to the ntp lists. ##
11035 ## ------------------------------ ##
11038 sed "s/^/$as_me: WARNING: /" >&2
11041 echo "$as_me:$LINENO: checking for $ac_header" >&5
11042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11044 echo $ECHO_N "(cached) $ECHO_C" >&6
11046 eval "$as_ac_Header=\$ac_header_preproc"
11048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11052 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11053 cat >>confdefs.h <<_ACEOF
11054 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11061 if test `eval echo '${'$as_ac_Header'}'` != yes; then
11062 { { echo "$as_me:$LINENO: error: You must have one of limits.h, sys/limits.h or values.h" >&5
11063 echo "$as_me: error: You must have one of limits.h, sys/limits.h or values.h" >&2;}
11064 { (exit 1); exit 1; }; }
11067 # ========================
11068 # ...and int types headers
11069 # ========================
11072 for ac_header in stdint.h inttypes.h
11074 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11076 echo "$as_me:$LINENO: checking for $ac_header" >&5
11077 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11078 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11079 echo $ECHO_N "(cached) $ECHO_C" >&6
11081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11082 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11084 # Is the header compilable?
11085 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11086 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11087 cat >conftest.$ac_ext <<_ACEOF
11090 cat confdefs.h >>conftest.$ac_ext
11091 cat >>conftest.$ac_ext <<_ACEOF
11092 /* end confdefs.h. */
11093 $ac_includes_default
11094 #include <$ac_header>
11096 rm -f conftest.$ac_objext
11097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11098 (eval $ac_compile) 2>conftest.er1
11100 grep -v '^ *+' conftest.er1 >conftest.err
11102 cat conftest.err >&5
11103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11104 (exit $ac_status); } &&
11105 { ac_try='test -z "$ac_c_werror_flag"
11106 || test ! -s conftest.err'
11107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11108 (eval $ac_try) 2>&5
11110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11111 (exit $ac_status); }; } &&
11112 { ac_try='test -s conftest.$ac_objext'
11113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11114 (eval $ac_try) 2>&5
11116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11117 (exit $ac_status); }; }; then
11118 ac_header_compiler=yes
11120 echo "$as_me: failed program was:" >&5
11121 sed 's/^/| /' conftest.$ac_ext >&5
11123 ac_header_compiler=no
11125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11126 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11127 echo "${ECHO_T}$ac_header_compiler" >&6
11129 # Is the header present?
11130 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11131 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11132 cat >conftest.$ac_ext <<_ACEOF
11135 cat confdefs.h >>conftest.$ac_ext
11136 cat >>conftest.$ac_ext <<_ACEOF
11137 /* end confdefs.h. */
11138 #include <$ac_header>
11140 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11141 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11143 grep -v '^ *+' conftest.er1 >conftest.err
11145 cat conftest.err >&5
11146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11147 (exit $ac_status); } >/dev/null; then
11148 if test -s conftest.err; then
11149 ac_cpp_err=$ac_c_preproc_warn_flag
11150 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11157 if test -z "$ac_cpp_err"; then
11158 ac_header_preproc=yes
11160 echo "$as_me: failed program was:" >&5
11161 sed 's/^/| /' conftest.$ac_ext >&5
11163 ac_header_preproc=no
11165 rm -f conftest.err conftest.$ac_ext
11166 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11167 echo "${ECHO_T}$ac_header_preproc" >&6
11169 # So? What about this header?
11170 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11172 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11173 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11175 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11176 ac_header_preproc=yes
11179 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11180 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11181 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11182 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11183 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11184 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11185 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11186 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11187 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11188 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11189 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11190 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11193 ## ------------------------------ ##
11194 ## Report this to the ntp lists. ##
11195 ## ------------------------------ ##
11198 sed "s/^/$as_me: WARNING: /" >&2
11201 echo "$as_me:$LINENO: checking for $ac_header" >&5
11202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11204 echo $ECHO_N "(cached) $ECHO_C" >&6
11206 eval "$as_ac_Header=\$ac_header_preproc"
11208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11209 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11212 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11213 cat >>confdefs.h <<_ACEOF
11214 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11221 echo "$as_me:$LINENO: checking for int8_t" >&5
11222 echo $ECHO_N "checking for int8_t... $ECHO_C" >&6
11223 if test "${ac_cv_type_int8_t+set}" = set; then
11224 echo $ECHO_N "(cached) $ECHO_C" >&6
11226 cat >conftest.$ac_ext <<_ACEOF
11229 cat confdefs.h >>conftest.$ac_ext
11230 cat >>conftest.$ac_ext <<_ACEOF
11231 /* end confdefs.h. */
11232 $ac_includes_default
11238 if (sizeof (int8_t))
11244 rm -f conftest.$ac_objext
11245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11246 (eval $ac_compile) 2>conftest.er1
11248 grep -v '^ *+' conftest.er1 >conftest.err
11250 cat conftest.err >&5
11251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11252 (exit $ac_status); } &&
11253 { ac_try='test -z "$ac_c_werror_flag"
11254 || test ! -s conftest.err'
11255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11256 (eval $ac_try) 2>&5
11258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11259 (exit $ac_status); }; } &&
11260 { ac_try='test -s conftest.$ac_objext'
11261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11262 (eval $ac_try) 2>&5
11264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11265 (exit $ac_status); }; }; then
11266 ac_cv_type_int8_t=yes
11268 echo "$as_me: failed program was:" >&5
11269 sed 's/^/| /' conftest.$ac_ext >&5
11271 ac_cv_type_int8_t=no
11273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11275 echo "$as_me:$LINENO: result: $ac_cv_type_int8_t" >&5
11276 echo "${ECHO_T}$ac_cv_type_int8_t" >&6
11277 if test $ac_cv_type_int8_t = yes; then
11279 cat >>confdefs.h <<_ACEOF
11280 #define HAVE_INT8_T 1
11285 echo "$as_me:$LINENO: checking for uint8_t" >&5
11286 echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6
11287 if test "${ac_cv_type_uint8_t+set}" = set; then
11288 echo $ECHO_N "(cached) $ECHO_C" >&6
11290 cat >conftest.$ac_ext <<_ACEOF
11293 cat confdefs.h >>conftest.$ac_ext
11294 cat >>conftest.$ac_ext <<_ACEOF
11295 /* end confdefs.h. */
11296 $ac_includes_default
11302 if (sizeof (uint8_t))
11308 rm -f conftest.$ac_objext
11309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11310 (eval $ac_compile) 2>conftest.er1
11312 grep -v '^ *+' conftest.er1 >conftest.err
11314 cat conftest.err >&5
11315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11316 (exit $ac_status); } &&
11317 { ac_try='test -z "$ac_c_werror_flag"
11318 || test ! -s conftest.err'
11319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11320 (eval $ac_try) 2>&5
11322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11323 (exit $ac_status); }; } &&
11324 { ac_try='test -s conftest.$ac_objext'
11325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11326 (eval $ac_try) 2>&5
11328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11329 (exit $ac_status); }; }; then
11330 ac_cv_type_uint8_t=yes
11332 echo "$as_me: failed program was:" >&5
11333 sed 's/^/| /' conftest.$ac_ext >&5
11335 ac_cv_type_uint8_t=no
11337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11339 echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
11340 echo "${ECHO_T}$ac_cv_type_uint8_t" >&6
11341 if test $ac_cv_type_uint8_t = yes; then
11343 cat >>confdefs.h <<_ACEOF
11344 #define HAVE_UINT8_T 1
11349 echo "$as_me:$LINENO: checking for int16_t" >&5
11350 echo $ECHO_N "checking for int16_t... $ECHO_C" >&6
11351 if test "${ac_cv_type_int16_t+set}" = set; then
11352 echo $ECHO_N "(cached) $ECHO_C" >&6
11354 cat >conftest.$ac_ext <<_ACEOF
11357 cat confdefs.h >>conftest.$ac_ext
11358 cat >>conftest.$ac_ext <<_ACEOF
11359 /* end confdefs.h. */
11360 $ac_includes_default
11366 if (sizeof (int16_t))
11372 rm -f conftest.$ac_objext
11373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11374 (eval $ac_compile) 2>conftest.er1
11376 grep -v '^ *+' conftest.er1 >conftest.err
11378 cat conftest.err >&5
11379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11380 (exit $ac_status); } &&
11381 { ac_try='test -z "$ac_c_werror_flag"
11382 || test ! -s conftest.err'
11383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11384 (eval $ac_try) 2>&5
11386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11387 (exit $ac_status); }; } &&
11388 { ac_try='test -s conftest.$ac_objext'
11389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11390 (eval $ac_try) 2>&5
11392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11393 (exit $ac_status); }; }; then
11394 ac_cv_type_int16_t=yes
11396 echo "$as_me: failed program was:" >&5
11397 sed 's/^/| /' conftest.$ac_ext >&5
11399 ac_cv_type_int16_t=no
11401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11403 echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5
11404 echo "${ECHO_T}$ac_cv_type_int16_t" >&6
11405 if test $ac_cv_type_int16_t = yes; then
11407 cat >>confdefs.h <<_ACEOF
11408 #define HAVE_INT16_T 1
11413 echo "$as_me:$LINENO: checking for uint16_t" >&5
11414 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6
11415 if test "${ac_cv_type_uint16_t+set}" = set; then
11416 echo $ECHO_N "(cached) $ECHO_C" >&6
11418 cat >conftest.$ac_ext <<_ACEOF
11421 cat confdefs.h >>conftest.$ac_ext
11422 cat >>conftest.$ac_ext <<_ACEOF
11423 /* end confdefs.h. */
11424 $ac_includes_default
11428 if ((uint16_t *) 0)
11430 if (sizeof (uint16_t))
11436 rm -f conftest.$ac_objext
11437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11438 (eval $ac_compile) 2>conftest.er1
11440 grep -v '^ *+' conftest.er1 >conftest.err
11442 cat conftest.err >&5
11443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11444 (exit $ac_status); } &&
11445 { ac_try='test -z "$ac_c_werror_flag"
11446 || test ! -s conftest.err'
11447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11448 (eval $ac_try) 2>&5
11450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11451 (exit $ac_status); }; } &&
11452 { ac_try='test -s conftest.$ac_objext'
11453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11454 (eval $ac_try) 2>&5
11456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457 (exit $ac_status); }; }; then
11458 ac_cv_type_uint16_t=yes
11460 echo "$as_me: failed program was:" >&5
11461 sed 's/^/| /' conftest.$ac_ext >&5
11463 ac_cv_type_uint16_t=no
11465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11467 echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
11468 echo "${ECHO_T}$ac_cv_type_uint16_t" >&6
11469 if test $ac_cv_type_uint16_t = yes; then
11471 cat >>confdefs.h <<_ACEOF
11472 #define HAVE_UINT16_T 1
11477 echo "$as_me:$LINENO: checking for int32_t" >&5
11478 echo $ECHO_N "checking for int32_t... $ECHO_C" >&6
11479 if test "${ac_cv_type_int32_t+set}" = set; then
11480 echo $ECHO_N "(cached) $ECHO_C" >&6
11482 cat >conftest.$ac_ext <<_ACEOF
11485 cat confdefs.h >>conftest.$ac_ext
11486 cat >>conftest.$ac_ext <<_ACEOF
11487 /* end confdefs.h. */
11488 $ac_includes_default
11494 if (sizeof (int32_t))
11500 rm -f conftest.$ac_objext
11501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11502 (eval $ac_compile) 2>conftest.er1
11504 grep -v '^ *+' conftest.er1 >conftest.err
11506 cat conftest.err >&5
11507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11508 (exit $ac_status); } &&
11509 { ac_try='test -z "$ac_c_werror_flag"
11510 || test ! -s conftest.err'
11511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11512 (eval $ac_try) 2>&5
11514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11515 (exit $ac_status); }; } &&
11516 { ac_try='test -s conftest.$ac_objext'
11517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11518 (eval $ac_try) 2>&5
11520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11521 (exit $ac_status); }; }; then
11522 ac_cv_type_int32_t=yes
11524 echo "$as_me: failed program was:" >&5
11525 sed 's/^/| /' conftest.$ac_ext >&5
11527 ac_cv_type_int32_t=no
11529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11531 echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
11532 echo "${ECHO_T}$ac_cv_type_int32_t" >&6
11533 if test $ac_cv_type_int32_t = yes; then
11535 cat >>confdefs.h <<_ACEOF
11536 #define HAVE_INT32_T 1
11541 echo "$as_me:$LINENO: checking for uint32_t" >&5
11542 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
11543 if test "${ac_cv_type_uint32_t+set}" = set; then
11544 echo $ECHO_N "(cached) $ECHO_C" >&6
11546 cat >conftest.$ac_ext <<_ACEOF
11549 cat confdefs.h >>conftest.$ac_ext
11550 cat >>conftest.$ac_ext <<_ACEOF
11551 /* end confdefs.h. */
11552 $ac_includes_default
11556 if ((uint32_t *) 0)
11558 if (sizeof (uint32_t))
11564 rm -f conftest.$ac_objext
11565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11566 (eval $ac_compile) 2>conftest.er1
11568 grep -v '^ *+' conftest.er1 >conftest.err
11570 cat conftest.err >&5
11571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11572 (exit $ac_status); } &&
11573 { ac_try='test -z "$ac_c_werror_flag"
11574 || test ! -s conftest.err'
11575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11576 (eval $ac_try) 2>&5
11578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11579 (exit $ac_status); }; } &&
11580 { ac_try='test -s conftest.$ac_objext'
11581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11582 (eval $ac_try) 2>&5
11584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11585 (exit $ac_status); }; }; then
11586 ac_cv_type_uint32_t=yes
11588 echo "$as_me: failed program was:" >&5
11589 sed 's/^/| /' conftest.$ac_ext >&5
11591 ac_cv_type_uint32_t=no
11593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11595 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
11596 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
11597 if test $ac_cv_type_uint32_t = yes; then
11599 cat >>confdefs.h <<_ACEOF
11600 #define HAVE_UINT32_T 1
11605 echo "$as_me:$LINENO: checking for intptr_t" >&5
11606 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
11607 if test "${ac_cv_type_intptr_t+set}" = set; then
11608 echo $ECHO_N "(cached) $ECHO_C" >&6
11610 cat >conftest.$ac_ext <<_ACEOF
11613 cat confdefs.h >>conftest.$ac_ext
11614 cat >>conftest.$ac_ext <<_ACEOF
11615 /* end confdefs.h. */
11616 $ac_includes_default
11620 if ((intptr_t *) 0)
11622 if (sizeof (intptr_t))
11628 rm -f conftest.$ac_objext
11629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11630 (eval $ac_compile) 2>conftest.er1
11632 grep -v '^ *+' conftest.er1 >conftest.err
11634 cat conftest.err >&5
11635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11636 (exit $ac_status); } &&
11637 { ac_try='test -z "$ac_c_werror_flag"
11638 || test ! -s conftest.err'
11639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11640 (eval $ac_try) 2>&5
11642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11643 (exit $ac_status); }; } &&
11644 { ac_try='test -s conftest.$ac_objext'
11645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11646 (eval $ac_try) 2>&5
11648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11649 (exit $ac_status); }; }; then
11650 ac_cv_type_intptr_t=yes
11652 echo "$as_me: failed program was:" >&5
11653 sed 's/^/| /' conftest.$ac_ext >&5
11655 ac_cv_type_intptr_t=no
11657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11659 echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
11660 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
11661 if test $ac_cv_type_intptr_t = yes; then
11663 cat >>confdefs.h <<_ACEOF
11664 #define HAVE_INTPTR_T 1
11669 echo "$as_me:$LINENO: checking for uint_t" >&5
11670 echo $ECHO_N "checking for uint_t... $ECHO_C" >&6
11671 if test "${ac_cv_type_uint_t+set}" = set; then
11672 echo $ECHO_N "(cached) $ECHO_C" >&6
11674 cat >conftest.$ac_ext <<_ACEOF
11677 cat confdefs.h >>conftest.$ac_ext
11678 cat >>conftest.$ac_ext <<_ACEOF
11679 /* end confdefs.h. */
11680 $ac_includes_default
11686 if (sizeof (uint_t))
11692 rm -f conftest.$ac_objext
11693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11694 (eval $ac_compile) 2>conftest.er1
11696 grep -v '^ *+' conftest.er1 >conftest.err
11698 cat conftest.err >&5
11699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11700 (exit $ac_status); } &&
11701 { ac_try='test -z "$ac_c_werror_flag"
11702 || test ! -s conftest.err'
11703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11704 (eval $ac_try) 2>&5
11706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11707 (exit $ac_status); }; } &&
11708 { ac_try='test -s conftest.$ac_objext'
11709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11710 (eval $ac_try) 2>&5
11712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11713 (exit $ac_status); }; }; then
11714 ac_cv_type_uint_t=yes
11716 echo "$as_me: failed program was:" >&5
11717 sed 's/^/| /' conftest.$ac_ext >&5
11719 ac_cv_type_uint_t=no
11721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11723 echo "$as_me:$LINENO: result: $ac_cv_type_uint_t" >&5
11724 echo "${ECHO_T}$ac_cv_type_uint_t" >&6
11725 if test $ac_cv_type_uint_t = yes; then
11727 cat >>confdefs.h <<_ACEOF
11728 #define HAVE_UINT_T 1
11735 # ====================
11736 # uintptr type & sizes
11737 # ====================
11738 echo "$as_me:$LINENO: checking for uintptr_t" >&5
11739 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
11740 if test "${ac_cv_type_uintptr_t+set}" = set; then
11741 echo $ECHO_N "(cached) $ECHO_C" >&6
11743 cat >conftest.$ac_ext <<_ACEOF
11746 cat confdefs.h >>conftest.$ac_ext
11747 cat >>conftest.$ac_ext <<_ACEOF
11748 /* end confdefs.h. */
11749 $ac_includes_default
11753 if ((uintptr_t *) 0)
11755 if (sizeof (uintptr_t))
11761 rm -f conftest.$ac_objext
11762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11763 (eval $ac_compile) 2>conftest.er1
11765 grep -v '^ *+' conftest.er1 >conftest.err
11767 cat conftest.err >&5
11768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11769 (exit $ac_status); } &&
11770 { ac_try='test -z "$ac_c_werror_flag"
11771 || test ! -s conftest.err'
11772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11773 (eval $ac_try) 2>&5
11775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11776 (exit $ac_status); }; } &&
11777 { ac_try='test -s conftest.$ac_objext'
11778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11779 (eval $ac_try) 2>&5
11781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11782 (exit $ac_status); }; }; then
11783 ac_cv_type_uintptr_t=yes
11785 echo "$as_me: failed program was:" >&5
11786 sed 's/^/| /' conftest.$ac_ext >&5
11788 ac_cv_type_uintptr_t=no
11790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11792 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
11793 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
11794 if test $ac_cv_type_uintptr_t = yes; then
11796 cat >>confdefs.h <<_ACEOF
11797 #define HAVE_UINTPTR_T 1
11803 cat >>confdefs.h <<\_ACEOF
11804 #define uintptr_t unsigned long
11809 echo "$as_me:$LINENO: checking for char*" >&5
11810 echo $ECHO_N "checking for char*... $ECHO_C" >&6
11811 if test "${ac_cv_type_charp+set}" = set; then
11812 echo $ECHO_N "(cached) $ECHO_C" >&6
11814 cat >conftest.$ac_ext <<_ACEOF
11817 cat confdefs.h >>conftest.$ac_ext
11818 cat >>conftest.$ac_ext <<_ACEOF
11819 /* end confdefs.h. */
11820 $ac_includes_default
11826 if (sizeof (char*))
11832 rm -f conftest.$ac_objext
11833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11834 (eval $ac_compile) 2>conftest.er1
11836 grep -v '^ *+' conftest.er1 >conftest.err
11838 cat conftest.err >&5
11839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11840 (exit $ac_status); } &&
11841 { ac_try='test -z "$ac_c_werror_flag"
11842 || test ! -s conftest.err'
11843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11844 (eval $ac_try) 2>&5
11846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11847 (exit $ac_status); }; } &&
11848 { ac_try='test -s conftest.$ac_objext'
11849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11850 (eval $ac_try) 2>&5
11852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11853 (exit $ac_status); }; }; then
11854 ac_cv_type_charp=yes
11856 echo "$as_me: failed program was:" >&5
11857 sed 's/^/| /' conftest.$ac_ext >&5
11859 ac_cv_type_charp=no
11861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11863 echo "$as_me:$LINENO: result: $ac_cv_type_charp" >&5
11864 echo "${ECHO_T}$ac_cv_type_charp" >&6
11866 echo "$as_me:$LINENO: checking size of char*" >&5
11867 echo $ECHO_N "checking size of char*... $ECHO_C" >&6
11868 if test "${ac_cv_sizeof_charp+set}" = set; then
11869 echo $ECHO_N "(cached) $ECHO_C" >&6
11871 if test "$ac_cv_type_charp" = yes; then
11872 # The cast to unsigned long works around a bug in the HP C Compiler
11873 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11874 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11875 # This bug is HP SR number 8606223364.
11876 if test "$cross_compiling" = yes; then
11877 # Depending upon the size, compute the lo and hi bounds.
11878 cat >conftest.$ac_ext <<_ACEOF
11881 cat confdefs.h >>conftest.$ac_ext
11882 cat >>conftest.$ac_ext <<_ACEOF
11883 /* end confdefs.h. */
11884 $ac_includes_default
11888 static int test_array [1 - 2 * !(((long) (sizeof (char*))) >= 0)];
11895 rm -f conftest.$ac_objext
11896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11897 (eval $ac_compile) 2>conftest.er1
11899 grep -v '^ *+' conftest.er1 >conftest.err
11901 cat conftest.err >&5
11902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11903 (exit $ac_status); } &&
11904 { ac_try='test -z "$ac_c_werror_flag"
11905 || test ! -s conftest.err'
11906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11907 (eval $ac_try) 2>&5
11909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11910 (exit $ac_status); }; } &&
11911 { ac_try='test -s conftest.$ac_objext'
11912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11913 (eval $ac_try) 2>&5
11915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11916 (exit $ac_status); }; }; then
11919 cat >conftest.$ac_ext <<_ACEOF
11922 cat confdefs.h >>conftest.$ac_ext
11923 cat >>conftest.$ac_ext <<_ACEOF
11924 /* end confdefs.h. */
11925 $ac_includes_default
11929 static int test_array [1 - 2 * !(((long) (sizeof (char*))) <= $ac_mid)];
11936 rm -f conftest.$ac_objext
11937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11938 (eval $ac_compile) 2>conftest.er1
11940 grep -v '^ *+' conftest.er1 >conftest.err
11942 cat conftest.err >&5
11943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11944 (exit $ac_status); } &&
11945 { ac_try='test -z "$ac_c_werror_flag"
11946 || test ! -s conftest.err'
11947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11948 (eval $ac_try) 2>&5
11950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11951 (exit $ac_status); }; } &&
11952 { ac_try='test -s conftest.$ac_objext'
11953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11954 (eval $ac_try) 2>&5
11956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11957 (exit $ac_status); }; }; then
11958 ac_hi=$ac_mid; break
11960 echo "$as_me: failed program was:" >&5
11961 sed 's/^/| /' conftest.$ac_ext >&5
11963 ac_lo=`expr $ac_mid + 1`
11964 if test $ac_lo -le $ac_mid; then
11968 ac_mid=`expr 2 '*' $ac_mid + 1`
11970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11973 echo "$as_me: failed program was:" >&5
11974 sed 's/^/| /' conftest.$ac_ext >&5
11976 cat >conftest.$ac_ext <<_ACEOF
11979 cat confdefs.h >>conftest.$ac_ext
11980 cat >>conftest.$ac_ext <<_ACEOF
11981 /* end confdefs.h. */
11982 $ac_includes_default
11986 static int test_array [1 - 2 * !(((long) (sizeof (char*))) < 0)];
11993 rm -f conftest.$ac_objext
11994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11995 (eval $ac_compile) 2>conftest.er1
11997 grep -v '^ *+' conftest.er1 >conftest.err
11999 cat conftest.err >&5
12000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12001 (exit $ac_status); } &&
12002 { ac_try='test -z "$ac_c_werror_flag"
12003 || test ! -s conftest.err'
12004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12005 (eval $ac_try) 2>&5
12007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12008 (exit $ac_status); }; } &&
12009 { ac_try='test -s conftest.$ac_objext'
12010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12011 (eval $ac_try) 2>&5
12013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12014 (exit $ac_status); }; }; then
12017 cat >conftest.$ac_ext <<_ACEOF
12020 cat confdefs.h >>conftest.$ac_ext
12021 cat >>conftest.$ac_ext <<_ACEOF
12022 /* end confdefs.h. */
12023 $ac_includes_default
12027 static int test_array [1 - 2 * !(((long) (sizeof (char*))) >= $ac_mid)];
12034 rm -f conftest.$ac_objext
12035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12036 (eval $ac_compile) 2>conftest.er1
12038 grep -v '^ *+' conftest.er1 >conftest.err
12040 cat conftest.err >&5
12041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12042 (exit $ac_status); } &&
12043 { ac_try='test -z "$ac_c_werror_flag"
12044 || test ! -s conftest.err'
12045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12046 (eval $ac_try) 2>&5
12048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12049 (exit $ac_status); }; } &&
12050 { ac_try='test -s conftest.$ac_objext'
12051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12052 (eval $ac_try) 2>&5
12054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12055 (exit $ac_status); }; }; then
12056 ac_lo=$ac_mid; break
12058 echo "$as_me: failed program was:" >&5
12059 sed 's/^/| /' conftest.$ac_ext >&5
12061 ac_hi=`expr '(' $ac_mid ')' - 1`
12062 if test $ac_mid -le $ac_hi; then
12066 ac_mid=`expr 2 '*' $ac_mid`
12068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12071 echo "$as_me: failed program was:" >&5
12072 sed 's/^/| /' conftest.$ac_ext >&5
12076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12079 # Binary search between lo and hi bounds.
12080 while test "x$ac_lo" != "x$ac_hi"; do
12081 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12082 cat >conftest.$ac_ext <<_ACEOF
12085 cat confdefs.h >>conftest.$ac_ext
12086 cat >>conftest.$ac_ext <<_ACEOF
12087 /* end confdefs.h. */
12088 $ac_includes_default
12092 static int test_array [1 - 2 * !(((long) (sizeof (char*))) <= $ac_mid)];
12099 rm -f conftest.$ac_objext
12100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12101 (eval $ac_compile) 2>conftest.er1
12103 grep -v '^ *+' conftest.er1 >conftest.err
12105 cat conftest.err >&5
12106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12107 (exit $ac_status); } &&
12108 { ac_try='test -z "$ac_c_werror_flag"
12109 || test ! -s conftest.err'
12110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12111 (eval $ac_try) 2>&5
12113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12114 (exit $ac_status); }; } &&
12115 { ac_try='test -s conftest.$ac_objext'
12116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12117 (eval $ac_try) 2>&5
12119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12120 (exit $ac_status); }; }; then
12123 echo "$as_me: failed program was:" >&5
12124 sed 's/^/| /' conftest.$ac_ext >&5
12126 ac_lo=`expr '(' $ac_mid ')' + 1`
12128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12131 ?*) ac_cv_sizeof_charp=$ac_lo;;
12132 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char*), 77
12133 See \`config.log' for more details." >&5
12134 echo "$as_me: error: cannot compute sizeof (char*), 77
12135 See \`config.log' for more details." >&2;}
12136 { (exit 1); exit 1; }; } ;;
12139 if test "$cross_compiling" = yes; then
12140 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12141 See \`config.log' for more details." >&5
12142 echo "$as_me: error: cannot run test program while cross compiling
12143 See \`config.log' for more details." >&2;}
12144 { (exit 1); exit 1; }; }
12146 cat >conftest.$ac_ext <<_ACEOF
12149 cat confdefs.h >>conftest.$ac_ext
12150 cat >>conftest.$ac_ext <<_ACEOF
12151 /* end confdefs.h. */
12152 $ac_includes_default
12153 long longval () { return (long) (sizeof (char*)); }
12154 unsigned long ulongval () { return (long) (sizeof (char*)); }
12156 #include <stdlib.h>
12161 FILE *f = fopen ("conftest.val", "w");
12164 if (((long) (sizeof (char*))) < 0)
12166 long i = longval ();
12167 if (i != ((long) (sizeof (char*))))
12169 fprintf (f, "%ld\n", i);
12173 unsigned long i = ulongval ();
12174 if (i != ((long) (sizeof (char*))))
12176 fprintf (f, "%lu\n", i);
12178 exit (ferror (f) || fclose (f) != 0);
12184 rm -f conftest$ac_exeext
12185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12186 (eval $ac_link) 2>&5
12188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12189 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12191 (eval $ac_try) 2>&5
12193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12194 (exit $ac_status); }; }; then
12195 ac_cv_sizeof_charp=`cat conftest.val`
12197 echo "$as_me: program exited with status $ac_status" >&5
12198 echo "$as_me: failed program was:" >&5
12199 sed 's/^/| /' conftest.$ac_ext >&5
12201 ( exit $ac_status )
12202 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char*), 77
12203 See \`config.log' for more details." >&5
12204 echo "$as_me: error: cannot compute sizeof (char*), 77
12205 See \`config.log' for more details." >&2;}
12206 { (exit 1); exit 1; }; }
12208 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12213 ac_cv_sizeof_charp=0
12216 echo "$as_me:$LINENO: result: $ac_cv_sizeof_charp" >&5
12217 echo "${ECHO_T}$ac_cv_sizeof_charp" >&6
12218 cat >>confdefs.h <<_ACEOF
12219 #define SIZEOF_CHARP $ac_cv_sizeof_charp
12223 echo "$as_me:$LINENO: checking for int" >&5
12224 echo $ECHO_N "checking for int... $ECHO_C" >&6
12225 if test "${ac_cv_type_int+set}" = set; then
12226 echo $ECHO_N "(cached) $ECHO_C" >&6
12228 cat >conftest.$ac_ext <<_ACEOF
12231 cat confdefs.h >>conftest.$ac_ext
12232 cat >>conftest.$ac_ext <<_ACEOF
12233 /* end confdefs.h. */
12234 $ac_includes_default
12246 rm -f conftest.$ac_objext
12247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12248 (eval $ac_compile) 2>conftest.er1
12250 grep -v '^ *+' conftest.er1 >conftest.err
12252 cat conftest.err >&5
12253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12254 (exit $ac_status); } &&
12255 { ac_try='test -z "$ac_c_werror_flag"
12256 || test ! -s conftest.err'
12257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12258 (eval $ac_try) 2>&5
12260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12261 (exit $ac_status); }; } &&
12262 { ac_try='test -s conftest.$ac_objext'
12263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12264 (eval $ac_try) 2>&5
12266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12267 (exit $ac_status); }; }; then
12270 echo "$as_me: failed program was:" >&5
12271 sed 's/^/| /' conftest.$ac_ext >&5
12275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12277 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
12278 echo "${ECHO_T}$ac_cv_type_int" >&6
12280 echo "$as_me:$LINENO: checking size of int" >&5
12281 echo $ECHO_N "checking size of int... $ECHO_C" >&6
12282 if test "${ac_cv_sizeof_int+set}" = set; then
12283 echo $ECHO_N "(cached) $ECHO_C" >&6
12285 if test "$ac_cv_type_int" = yes; then
12286 # The cast to unsigned long works around a bug in the HP C Compiler
12287 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12288 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12289 # This bug is HP SR number 8606223364.
12290 if test "$cross_compiling" = yes; then
12291 # Depending upon the size, compute the lo and hi bounds.
12292 cat >conftest.$ac_ext <<_ACEOF
12295 cat confdefs.h >>conftest.$ac_ext
12296 cat >>conftest.$ac_ext <<_ACEOF
12297 /* end confdefs.h. */
12298 $ac_includes_default
12302 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
12309 rm -f conftest.$ac_objext
12310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12311 (eval $ac_compile) 2>conftest.er1
12313 grep -v '^ *+' conftest.er1 >conftest.err
12315 cat conftest.err >&5
12316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12317 (exit $ac_status); } &&
12318 { ac_try='test -z "$ac_c_werror_flag"
12319 || test ! -s conftest.err'
12320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12321 (eval $ac_try) 2>&5
12323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12324 (exit $ac_status); }; } &&
12325 { ac_try='test -s conftest.$ac_objext'
12326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12327 (eval $ac_try) 2>&5
12329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12330 (exit $ac_status); }; }; then
12333 cat >conftest.$ac_ext <<_ACEOF
12336 cat confdefs.h >>conftest.$ac_ext
12337 cat >>conftest.$ac_ext <<_ACEOF
12338 /* end confdefs.h. */
12339 $ac_includes_default
12343 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
12350 rm -f conftest.$ac_objext
12351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12352 (eval $ac_compile) 2>conftest.er1
12354 grep -v '^ *+' conftest.er1 >conftest.err
12356 cat conftest.err >&5
12357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12358 (exit $ac_status); } &&
12359 { ac_try='test -z "$ac_c_werror_flag"
12360 || test ! -s conftest.err'
12361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12362 (eval $ac_try) 2>&5
12364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12365 (exit $ac_status); }; } &&
12366 { ac_try='test -s conftest.$ac_objext'
12367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12368 (eval $ac_try) 2>&5
12370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371 (exit $ac_status); }; }; then
12372 ac_hi=$ac_mid; break
12374 echo "$as_me: failed program was:" >&5
12375 sed 's/^/| /' conftest.$ac_ext >&5
12377 ac_lo=`expr $ac_mid + 1`
12378 if test $ac_lo -le $ac_mid; then
12382 ac_mid=`expr 2 '*' $ac_mid + 1`
12384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12387 echo "$as_me: failed program was:" >&5
12388 sed 's/^/| /' conftest.$ac_ext >&5
12390 cat >conftest.$ac_ext <<_ACEOF
12393 cat confdefs.h >>conftest.$ac_ext
12394 cat >>conftest.$ac_ext <<_ACEOF
12395 /* end confdefs.h. */
12396 $ac_includes_default
12400 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
12407 rm -f conftest.$ac_objext
12408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12409 (eval $ac_compile) 2>conftest.er1
12411 grep -v '^ *+' conftest.er1 >conftest.err
12413 cat conftest.err >&5
12414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12415 (exit $ac_status); } &&
12416 { ac_try='test -z "$ac_c_werror_flag"
12417 || test ! -s conftest.err'
12418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12419 (eval $ac_try) 2>&5
12421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12422 (exit $ac_status); }; } &&
12423 { ac_try='test -s conftest.$ac_objext'
12424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12425 (eval $ac_try) 2>&5
12427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12428 (exit $ac_status); }; }; then
12431 cat >conftest.$ac_ext <<_ACEOF
12434 cat confdefs.h >>conftest.$ac_ext
12435 cat >>conftest.$ac_ext <<_ACEOF
12436 /* end confdefs.h. */
12437 $ac_includes_default
12441 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
12448 rm -f conftest.$ac_objext
12449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12450 (eval $ac_compile) 2>conftest.er1
12452 grep -v '^ *+' conftest.er1 >conftest.err
12454 cat conftest.err >&5
12455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12456 (exit $ac_status); } &&
12457 { ac_try='test -z "$ac_c_werror_flag"
12458 || test ! -s conftest.err'
12459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12460 (eval $ac_try) 2>&5
12462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12463 (exit $ac_status); }; } &&
12464 { ac_try='test -s conftest.$ac_objext'
12465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12466 (eval $ac_try) 2>&5
12468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12469 (exit $ac_status); }; }; then
12470 ac_lo=$ac_mid; break
12472 echo "$as_me: failed program was:" >&5
12473 sed 's/^/| /' conftest.$ac_ext >&5
12475 ac_hi=`expr '(' $ac_mid ')' - 1`
12476 if test $ac_mid -le $ac_hi; then
12480 ac_mid=`expr 2 '*' $ac_mid`
12482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12485 echo "$as_me: failed program was:" >&5
12486 sed 's/^/| /' conftest.$ac_ext >&5
12490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12493 # Binary search between lo and hi bounds.
12494 while test "x$ac_lo" != "x$ac_hi"; do
12495 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12496 cat >conftest.$ac_ext <<_ACEOF
12499 cat confdefs.h >>conftest.$ac_ext
12500 cat >>conftest.$ac_ext <<_ACEOF
12501 /* end confdefs.h. */
12502 $ac_includes_default
12506 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
12513 rm -f conftest.$ac_objext
12514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12515 (eval $ac_compile) 2>conftest.er1
12517 grep -v '^ *+' conftest.er1 >conftest.err
12519 cat conftest.err >&5
12520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12521 (exit $ac_status); } &&
12522 { ac_try='test -z "$ac_c_werror_flag"
12523 || test ! -s conftest.err'
12524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12525 (eval $ac_try) 2>&5
12527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12528 (exit $ac_status); }; } &&
12529 { ac_try='test -s conftest.$ac_objext'
12530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12531 (eval $ac_try) 2>&5
12533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12534 (exit $ac_status); }; }; then
12537 echo "$as_me: failed program was:" >&5
12538 sed 's/^/| /' conftest.$ac_ext >&5
12540 ac_lo=`expr '(' $ac_mid ')' + 1`
12542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12545 ?*) ac_cv_sizeof_int=$ac_lo;;
12546 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
12547 See \`config.log' for more details." >&5
12548 echo "$as_me: error: cannot compute sizeof (int), 77
12549 See \`config.log' for more details." >&2;}
12550 { (exit 1); exit 1; }; } ;;
12553 if test "$cross_compiling" = yes; then
12554 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12555 See \`config.log' for more details." >&5
12556 echo "$as_me: error: cannot run test program while cross compiling
12557 See \`config.log' for more details." >&2;}
12558 { (exit 1); exit 1; }; }
12560 cat >conftest.$ac_ext <<_ACEOF
12563 cat confdefs.h >>conftest.$ac_ext
12564 cat >>conftest.$ac_ext <<_ACEOF
12565 /* end confdefs.h. */
12566 $ac_includes_default
12567 long longval () { return (long) (sizeof (int)); }
12568 unsigned long ulongval () { return (long) (sizeof (int)); }
12570 #include <stdlib.h>
12575 FILE *f = fopen ("conftest.val", "w");
12578 if (((long) (sizeof (int))) < 0)
12580 long i = longval ();
12581 if (i != ((long) (sizeof (int))))
12583 fprintf (f, "%ld\n", i);
12587 unsigned long i = ulongval ();
12588 if (i != ((long) (sizeof (int))))
12590 fprintf (f, "%lu\n", i);
12592 exit (ferror (f) || fclose (f) != 0);
12598 rm -f conftest$ac_exeext
12599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12600 (eval $ac_link) 2>&5
12602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12603 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12605 (eval $ac_try) 2>&5
12607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12608 (exit $ac_status); }; }; then
12609 ac_cv_sizeof_int=`cat conftest.val`
12611 echo "$as_me: program exited with status $ac_status" >&5
12612 echo "$as_me: failed program was:" >&5
12613 sed 's/^/| /' conftest.$ac_ext >&5
12615 ( exit $ac_status )
12616 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
12617 See \`config.log' for more details." >&5
12618 echo "$as_me: error: cannot compute sizeof (int), 77
12619 See \`config.log' for more details." >&2;}
12620 { (exit 1); exit 1; }; }
12622 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12630 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
12631 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
12632 cat >>confdefs.h <<_ACEOF
12633 #define SIZEOF_INT $ac_cv_sizeof_int
12637 echo "$as_me:$LINENO: checking for long" >&5
12638 echo $ECHO_N "checking for long... $ECHO_C" >&6
12639 if test "${ac_cv_type_long+set}" = set; then
12640 echo $ECHO_N "(cached) $ECHO_C" >&6
12642 cat >conftest.$ac_ext <<_ACEOF
12645 cat confdefs.h >>conftest.$ac_ext
12646 cat >>conftest.$ac_ext <<_ACEOF
12647 /* end confdefs.h. */
12648 $ac_includes_default
12660 rm -f conftest.$ac_objext
12661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12662 (eval $ac_compile) 2>conftest.er1
12664 grep -v '^ *+' conftest.er1 >conftest.err
12666 cat conftest.err >&5
12667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12668 (exit $ac_status); } &&
12669 { ac_try='test -z "$ac_c_werror_flag"
12670 || test ! -s conftest.err'
12671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12672 (eval $ac_try) 2>&5
12674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12675 (exit $ac_status); }; } &&
12676 { ac_try='test -s conftest.$ac_objext'
12677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12678 (eval $ac_try) 2>&5
12680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12681 (exit $ac_status); }; }; then
12682 ac_cv_type_long=yes
12684 echo "$as_me: failed program was:" >&5
12685 sed 's/^/| /' conftest.$ac_ext >&5
12689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12691 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
12692 echo "${ECHO_T}$ac_cv_type_long" >&6
12694 echo "$as_me:$LINENO: checking size of long" >&5
12695 echo $ECHO_N "checking size of long... $ECHO_C" >&6
12696 if test "${ac_cv_sizeof_long+set}" = set; then
12697 echo $ECHO_N "(cached) $ECHO_C" >&6
12699 if test "$ac_cv_type_long" = yes; then
12700 # The cast to unsigned long works around a bug in the HP C Compiler
12701 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12702 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12703 # This bug is HP SR number 8606223364.
12704 if test "$cross_compiling" = yes; then
12705 # Depending upon the size, compute the lo and hi bounds.
12706 cat >conftest.$ac_ext <<_ACEOF
12709 cat confdefs.h >>conftest.$ac_ext
12710 cat >>conftest.$ac_ext <<_ACEOF
12711 /* end confdefs.h. */
12712 $ac_includes_default
12716 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
12723 rm -f conftest.$ac_objext
12724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12725 (eval $ac_compile) 2>conftest.er1
12727 grep -v '^ *+' conftest.er1 >conftest.err
12729 cat conftest.err >&5
12730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12731 (exit $ac_status); } &&
12732 { ac_try='test -z "$ac_c_werror_flag"
12733 || test ! -s conftest.err'
12734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12735 (eval $ac_try) 2>&5
12737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12738 (exit $ac_status); }; } &&
12739 { ac_try='test -s conftest.$ac_objext'
12740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12741 (eval $ac_try) 2>&5
12743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12744 (exit $ac_status); }; }; then
12747 cat >conftest.$ac_ext <<_ACEOF
12750 cat confdefs.h >>conftest.$ac_ext
12751 cat >>conftest.$ac_ext <<_ACEOF
12752 /* end confdefs.h. */
12753 $ac_includes_default
12757 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
12764 rm -f conftest.$ac_objext
12765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12766 (eval $ac_compile) 2>conftest.er1
12768 grep -v '^ *+' conftest.er1 >conftest.err
12770 cat conftest.err >&5
12771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12772 (exit $ac_status); } &&
12773 { ac_try='test -z "$ac_c_werror_flag"
12774 || test ! -s conftest.err'
12775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12776 (eval $ac_try) 2>&5
12778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12779 (exit $ac_status); }; } &&
12780 { ac_try='test -s conftest.$ac_objext'
12781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12782 (eval $ac_try) 2>&5
12784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12785 (exit $ac_status); }; }; then
12786 ac_hi=$ac_mid; break
12788 echo "$as_me: failed program was:" >&5
12789 sed 's/^/| /' conftest.$ac_ext >&5
12791 ac_lo=`expr $ac_mid + 1`
12792 if test $ac_lo -le $ac_mid; then
12796 ac_mid=`expr 2 '*' $ac_mid + 1`
12798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12801 echo "$as_me: failed program was:" >&5
12802 sed 's/^/| /' conftest.$ac_ext >&5
12804 cat >conftest.$ac_ext <<_ACEOF
12807 cat confdefs.h >>conftest.$ac_ext
12808 cat >>conftest.$ac_ext <<_ACEOF
12809 /* end confdefs.h. */
12810 $ac_includes_default
12814 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
12821 rm -f conftest.$ac_objext
12822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12823 (eval $ac_compile) 2>conftest.er1
12825 grep -v '^ *+' conftest.er1 >conftest.err
12827 cat conftest.err >&5
12828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12829 (exit $ac_status); } &&
12830 { ac_try='test -z "$ac_c_werror_flag"
12831 || test ! -s conftest.err'
12832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12833 (eval $ac_try) 2>&5
12835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12836 (exit $ac_status); }; } &&
12837 { ac_try='test -s conftest.$ac_objext'
12838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12839 (eval $ac_try) 2>&5
12841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12842 (exit $ac_status); }; }; then
12845 cat >conftest.$ac_ext <<_ACEOF
12848 cat confdefs.h >>conftest.$ac_ext
12849 cat >>conftest.$ac_ext <<_ACEOF
12850 /* end confdefs.h. */
12851 $ac_includes_default
12855 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
12862 rm -f conftest.$ac_objext
12863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12864 (eval $ac_compile) 2>conftest.er1
12866 grep -v '^ *+' conftest.er1 >conftest.err
12868 cat conftest.err >&5
12869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12870 (exit $ac_status); } &&
12871 { ac_try='test -z "$ac_c_werror_flag"
12872 || test ! -s conftest.err'
12873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12874 (eval $ac_try) 2>&5
12876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12877 (exit $ac_status); }; } &&
12878 { ac_try='test -s conftest.$ac_objext'
12879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12880 (eval $ac_try) 2>&5
12882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12883 (exit $ac_status); }; }; then
12884 ac_lo=$ac_mid; break
12886 echo "$as_me: failed program was:" >&5
12887 sed 's/^/| /' conftest.$ac_ext >&5
12889 ac_hi=`expr '(' $ac_mid ')' - 1`
12890 if test $ac_mid -le $ac_hi; then
12894 ac_mid=`expr 2 '*' $ac_mid`
12896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12899 echo "$as_me: failed program was:" >&5
12900 sed 's/^/| /' conftest.$ac_ext >&5
12904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12907 # Binary search between lo and hi bounds.
12908 while test "x$ac_lo" != "x$ac_hi"; do
12909 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12910 cat >conftest.$ac_ext <<_ACEOF
12913 cat confdefs.h >>conftest.$ac_ext
12914 cat >>conftest.$ac_ext <<_ACEOF
12915 /* end confdefs.h. */
12916 $ac_includes_default
12920 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
12927 rm -f conftest.$ac_objext
12928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12929 (eval $ac_compile) 2>conftest.er1
12931 grep -v '^ *+' conftest.er1 >conftest.err
12933 cat conftest.err >&5
12934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12935 (exit $ac_status); } &&
12936 { ac_try='test -z "$ac_c_werror_flag"
12937 || test ! -s conftest.err'
12938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12939 (eval $ac_try) 2>&5
12941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12942 (exit $ac_status); }; } &&
12943 { ac_try='test -s conftest.$ac_objext'
12944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12945 (eval $ac_try) 2>&5
12947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12948 (exit $ac_status); }; }; then
12951 echo "$as_me: failed program was:" >&5
12952 sed 's/^/| /' conftest.$ac_ext >&5
12954 ac_lo=`expr '(' $ac_mid ')' + 1`
12956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12959 ?*) ac_cv_sizeof_long=$ac_lo;;
12960 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
12961 See \`config.log' for more details." >&5
12962 echo "$as_me: error: cannot compute sizeof (long), 77
12963 See \`config.log' for more details." >&2;}
12964 { (exit 1); exit 1; }; } ;;
12967 if test "$cross_compiling" = yes; then
12968 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12969 See \`config.log' for more details." >&5
12970 echo "$as_me: error: cannot run test program while cross compiling
12971 See \`config.log' for more details." >&2;}
12972 { (exit 1); exit 1; }; }
12974 cat >conftest.$ac_ext <<_ACEOF
12977 cat confdefs.h >>conftest.$ac_ext
12978 cat >>conftest.$ac_ext <<_ACEOF
12979 /* end confdefs.h. */
12980 $ac_includes_default
12981 long longval () { return (long) (sizeof (long)); }
12982 unsigned long ulongval () { return (long) (sizeof (long)); }
12984 #include <stdlib.h>
12989 FILE *f = fopen ("conftest.val", "w");
12992 if (((long) (sizeof (long))) < 0)
12994 long i = longval ();
12995 if (i != ((long) (sizeof (long))))
12997 fprintf (f, "%ld\n", i);
13001 unsigned long i = ulongval ();
13002 if (i != ((long) (sizeof (long))))
13004 fprintf (f, "%lu\n", i);
13006 exit (ferror (f) || fclose (f) != 0);
13012 rm -f conftest$ac_exeext
13013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13014 (eval $ac_link) 2>&5
13016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13017 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13019 (eval $ac_try) 2>&5
13021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13022 (exit $ac_status); }; }; then
13023 ac_cv_sizeof_long=`cat conftest.val`
13025 echo "$as_me: program exited with status $ac_status" >&5
13026 echo "$as_me: failed program was:" >&5
13027 sed 's/^/| /' conftest.$ac_ext >&5
13029 ( exit $ac_status )
13030 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
13031 See \`config.log' for more details." >&5
13032 echo "$as_me: error: cannot compute sizeof (long), 77
13033 See \`config.log' for more details." >&2;}
13034 { (exit 1); exit 1; }; }
13036 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13041 ac_cv_sizeof_long=0
13044 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
13045 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
13046 cat >>confdefs.h <<_ACEOF
13047 #define SIZEOF_LONG $ac_cv_sizeof_long
13051 echo "$as_me:$LINENO: checking for short" >&5
13052 echo $ECHO_N "checking for short... $ECHO_C" >&6
13053 if test "${ac_cv_type_short+set}" = set; then
13054 echo $ECHO_N "(cached) $ECHO_C" >&6
13056 cat >conftest.$ac_ext <<_ACEOF
13059 cat confdefs.h >>conftest.$ac_ext
13060 cat >>conftest.$ac_ext <<_ACEOF
13061 /* end confdefs.h. */
13062 $ac_includes_default
13068 if (sizeof (short))
13074 rm -f conftest.$ac_objext
13075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13076 (eval $ac_compile) 2>conftest.er1
13078 grep -v '^ *+' conftest.er1 >conftest.err
13080 cat conftest.err >&5
13081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13082 (exit $ac_status); } &&
13083 { ac_try='test -z "$ac_c_werror_flag"
13084 || test ! -s conftest.err'
13085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13086 (eval $ac_try) 2>&5
13088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13089 (exit $ac_status); }; } &&
13090 { ac_try='test -s conftest.$ac_objext'
13091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13092 (eval $ac_try) 2>&5
13094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13095 (exit $ac_status); }; }; then
13096 ac_cv_type_short=yes
13098 echo "$as_me: failed program was:" >&5
13099 sed 's/^/| /' conftest.$ac_ext >&5
13101 ac_cv_type_short=no
13103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13105 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
13106 echo "${ECHO_T}$ac_cv_type_short" >&6
13108 echo "$as_me:$LINENO: checking size of short" >&5
13109 echo $ECHO_N "checking size of short... $ECHO_C" >&6
13110 if test "${ac_cv_sizeof_short+set}" = set; then
13111 echo $ECHO_N "(cached) $ECHO_C" >&6
13113 if test "$ac_cv_type_short" = yes; then
13114 # The cast to unsigned long works around a bug in the HP C Compiler
13115 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13116 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13117 # This bug is HP SR number 8606223364.
13118 if test "$cross_compiling" = yes; then
13119 # Depending upon the size, compute the lo and hi bounds.
13120 cat >conftest.$ac_ext <<_ACEOF
13123 cat confdefs.h >>conftest.$ac_ext
13124 cat >>conftest.$ac_ext <<_ACEOF
13125 /* end confdefs.h. */
13126 $ac_includes_default
13130 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
13137 rm -f conftest.$ac_objext
13138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13139 (eval $ac_compile) 2>conftest.er1
13141 grep -v '^ *+' conftest.er1 >conftest.err
13143 cat conftest.err >&5
13144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13145 (exit $ac_status); } &&
13146 { ac_try='test -z "$ac_c_werror_flag"
13147 || test ! -s conftest.err'
13148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13149 (eval $ac_try) 2>&5
13151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13152 (exit $ac_status); }; } &&
13153 { ac_try='test -s conftest.$ac_objext'
13154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13155 (eval $ac_try) 2>&5
13157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13158 (exit $ac_status); }; }; then
13161 cat >conftest.$ac_ext <<_ACEOF
13164 cat confdefs.h >>conftest.$ac_ext
13165 cat >>conftest.$ac_ext <<_ACEOF
13166 /* end confdefs.h. */
13167 $ac_includes_default
13171 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
13178 rm -f conftest.$ac_objext
13179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13180 (eval $ac_compile) 2>conftest.er1
13182 grep -v '^ *+' conftest.er1 >conftest.err
13184 cat conftest.err >&5
13185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13186 (exit $ac_status); } &&
13187 { ac_try='test -z "$ac_c_werror_flag"
13188 || test ! -s conftest.err'
13189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13190 (eval $ac_try) 2>&5
13192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13193 (exit $ac_status); }; } &&
13194 { ac_try='test -s conftest.$ac_objext'
13195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13196 (eval $ac_try) 2>&5
13198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13199 (exit $ac_status); }; }; then
13200 ac_hi=$ac_mid; break
13202 echo "$as_me: failed program was:" >&5
13203 sed 's/^/| /' conftest.$ac_ext >&5
13205 ac_lo=`expr $ac_mid + 1`
13206 if test $ac_lo -le $ac_mid; then
13210 ac_mid=`expr 2 '*' $ac_mid + 1`
13212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13215 echo "$as_me: failed program was:" >&5
13216 sed 's/^/| /' conftest.$ac_ext >&5
13218 cat >conftest.$ac_ext <<_ACEOF
13221 cat confdefs.h >>conftest.$ac_ext
13222 cat >>conftest.$ac_ext <<_ACEOF
13223 /* end confdefs.h. */
13224 $ac_includes_default
13228 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
13235 rm -f conftest.$ac_objext
13236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13237 (eval $ac_compile) 2>conftest.er1
13239 grep -v '^ *+' conftest.er1 >conftest.err
13241 cat conftest.err >&5
13242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13243 (exit $ac_status); } &&
13244 { ac_try='test -z "$ac_c_werror_flag"
13245 || test ! -s conftest.err'
13246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13247 (eval $ac_try) 2>&5
13249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13250 (exit $ac_status); }; } &&
13251 { ac_try='test -s conftest.$ac_objext'
13252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13253 (eval $ac_try) 2>&5
13255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13256 (exit $ac_status); }; }; then
13259 cat >conftest.$ac_ext <<_ACEOF
13262 cat confdefs.h >>conftest.$ac_ext
13263 cat >>conftest.$ac_ext <<_ACEOF
13264 /* end confdefs.h. */
13265 $ac_includes_default
13269 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
13276 rm -f conftest.$ac_objext
13277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13278 (eval $ac_compile) 2>conftest.er1
13280 grep -v '^ *+' conftest.er1 >conftest.err
13282 cat conftest.err >&5
13283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13284 (exit $ac_status); } &&
13285 { ac_try='test -z "$ac_c_werror_flag"
13286 || test ! -s conftest.err'
13287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13288 (eval $ac_try) 2>&5
13290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13291 (exit $ac_status); }; } &&
13292 { ac_try='test -s conftest.$ac_objext'
13293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13294 (eval $ac_try) 2>&5
13296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13297 (exit $ac_status); }; }; then
13298 ac_lo=$ac_mid; break
13300 echo "$as_me: failed program was:" >&5
13301 sed 's/^/| /' conftest.$ac_ext >&5
13303 ac_hi=`expr '(' $ac_mid ')' - 1`
13304 if test $ac_mid -le $ac_hi; then
13308 ac_mid=`expr 2 '*' $ac_mid`
13310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13313 echo "$as_me: failed program was:" >&5
13314 sed 's/^/| /' conftest.$ac_ext >&5
13318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13321 # Binary search between lo and hi bounds.
13322 while test "x$ac_lo" != "x$ac_hi"; do
13323 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13324 cat >conftest.$ac_ext <<_ACEOF
13327 cat confdefs.h >>conftest.$ac_ext
13328 cat >>conftest.$ac_ext <<_ACEOF
13329 /* end confdefs.h. */
13330 $ac_includes_default
13334 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
13341 rm -f conftest.$ac_objext
13342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13343 (eval $ac_compile) 2>conftest.er1
13345 grep -v '^ *+' conftest.er1 >conftest.err
13347 cat conftest.err >&5
13348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13349 (exit $ac_status); } &&
13350 { ac_try='test -z "$ac_c_werror_flag"
13351 || test ! -s conftest.err'
13352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13353 (eval $ac_try) 2>&5
13355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13356 (exit $ac_status); }; } &&
13357 { ac_try='test -s conftest.$ac_objext'
13358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13359 (eval $ac_try) 2>&5
13361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13362 (exit $ac_status); }; }; then
13365 echo "$as_me: failed program was:" >&5
13366 sed 's/^/| /' conftest.$ac_ext >&5
13368 ac_lo=`expr '(' $ac_mid ')' + 1`
13370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13373 ?*) ac_cv_sizeof_short=$ac_lo;;
13374 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
13375 See \`config.log' for more details." >&5
13376 echo "$as_me: error: cannot compute sizeof (short), 77
13377 See \`config.log' for more details." >&2;}
13378 { (exit 1); exit 1; }; } ;;
13381 if test "$cross_compiling" = yes; then
13382 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13383 See \`config.log' for more details." >&5
13384 echo "$as_me: error: cannot run test program while cross compiling
13385 See \`config.log' for more details." >&2;}
13386 { (exit 1); exit 1; }; }
13388 cat >conftest.$ac_ext <<_ACEOF
13391 cat confdefs.h >>conftest.$ac_ext
13392 cat >>conftest.$ac_ext <<_ACEOF
13393 /* end confdefs.h. */
13394 $ac_includes_default
13395 long longval () { return (long) (sizeof (short)); }
13396 unsigned long ulongval () { return (long) (sizeof (short)); }
13398 #include <stdlib.h>
13403 FILE *f = fopen ("conftest.val", "w");
13406 if (((long) (sizeof (short))) < 0)
13408 long i = longval ();
13409 if (i != ((long) (sizeof (short))))
13411 fprintf (f, "%ld\n", i);
13415 unsigned long i = ulongval ();
13416 if (i != ((long) (sizeof (short))))
13418 fprintf (f, "%lu\n", i);
13420 exit (ferror (f) || fclose (f) != 0);
13426 rm -f conftest$ac_exeext
13427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13428 (eval $ac_link) 2>&5
13430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13431 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13433 (eval $ac_try) 2>&5
13435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13436 (exit $ac_status); }; }; then
13437 ac_cv_sizeof_short=`cat conftest.val`
13439 echo "$as_me: program exited with status $ac_status" >&5
13440 echo "$as_me: failed program was:" >&5
13441 sed 's/^/| /' conftest.$ac_ext >&5
13443 ( exit $ac_status )
13444 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
13445 See \`config.log' for more details." >&5
13446 echo "$as_me: error: cannot compute sizeof (short), 77
13447 See \`config.log' for more details." >&2;}
13448 { (exit 1); exit 1; }; }
13450 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13455 ac_cv_sizeof_short=0
13458 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
13459 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
13460 cat >>confdefs.h <<_ACEOF
13461 #define SIZEOF_SHORT $ac_cv_sizeof_short
13466 # ----------------------------------------------------------------------
13467 # AC_CHECK_LIB for SVR4 libgen, and use it if it defines pathfind.
13468 # ----------------------------------------------------------------------
13470 echo "$as_me:$LINENO: checking for pathfind in -lgen" >&5
13471 echo $ECHO_N "checking for pathfind in -lgen... $ECHO_C" >&6
13472 if test "${ac_cv_lib_gen_pathfind+set}" = set; then
13473 echo $ECHO_N "(cached) $ECHO_C" >&6
13475 ac_check_lib_save_LIBS=$LIBS
13477 cat >conftest.$ac_ext <<_ACEOF
13480 cat confdefs.h >>conftest.$ac_ext
13481 cat >>conftest.$ac_ext <<_ACEOF
13482 /* end confdefs.h. */
13484 /* Override any gcc2 internal prototype to avoid an error. */
13488 /* We use char because int might match the return type of a gcc2
13489 builtin and then its argument prototype would still apply. */
13499 rm -f conftest.$ac_objext conftest$ac_exeext
13500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13501 (eval $ac_link) 2>conftest.er1
13503 grep -v '^ *+' conftest.er1 >conftest.err
13505 cat conftest.err >&5
13506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13507 (exit $ac_status); } &&
13508 { ac_try='test -z "$ac_c_werror_flag"
13509 || test ! -s conftest.err'
13510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13511 (eval $ac_try) 2>&5
13513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13514 (exit $ac_status); }; } &&
13515 { ac_try='test -s conftest$ac_exeext'
13516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13517 (eval $ac_try) 2>&5
13519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13520 (exit $ac_status); }; }; then
13521 ac_cv_lib_gen_pathfind=yes
13523 echo "$as_me: failed program was:" >&5
13524 sed 's/^/| /' conftest.$ac_ext >&5
13526 ac_cv_lib_gen_pathfind=no
13528 rm -f conftest.err conftest.$ac_objext \
13529 conftest$ac_exeext conftest.$ac_ext
13530 LIBS=$ac_check_lib_save_LIBS
13532 echo "$as_me:$LINENO: result: $ac_cv_lib_gen_pathfind" >&5
13533 echo "${ECHO_T}$ac_cv_lib_gen_pathfind" >&6
13534 if test $ac_cv_lib_gen_pathfind = yes; then
13535 cat >>confdefs.h <<_ACEOF
13536 #define HAVE_LIBGEN 1
13544 for ac_func in vprintf
13546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13547 echo "$as_me:$LINENO: checking for $ac_func" >&5
13548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13549 if eval "test \"\${$as_ac_var+set}\" = set"; then
13550 echo $ECHO_N "(cached) $ECHO_C" >&6
13552 cat >conftest.$ac_ext <<_ACEOF
13555 cat confdefs.h >>conftest.$ac_ext
13556 cat >>conftest.$ac_ext <<_ACEOF
13557 /* end confdefs.h. */
13558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13560 #define $ac_func innocuous_$ac_func
13562 /* System header to define __stub macros and hopefully few prototypes,
13563 which can conflict with char $ac_func (); below.
13564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13565 <limits.h> exists even on freestanding compilers. */
13568 # include <limits.h>
13570 # include <assert.h>
13575 /* Override any gcc2 internal prototype to avoid an error. */
13580 /* We use char because int might match the return type of a gcc2
13581 builtin and then its argument prototype would still apply. */
13583 /* The GNU C library defines this for functions which it implements
13584 to always fail with ENOSYS. Some functions are actually named
13585 something starting with __ and the normal name is an alias. */
13586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13589 char (*f) () = $ac_func;
13598 return f != $ac_func;
13603 rm -f conftest.$ac_objext conftest$ac_exeext
13604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13605 (eval $ac_link) 2>conftest.er1
13607 grep -v '^ *+' conftest.er1 >conftest.err
13609 cat conftest.err >&5
13610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13611 (exit $ac_status); } &&
13612 { ac_try='test -z "$ac_c_werror_flag"
13613 || test ! -s conftest.err'
13614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13615 (eval $ac_try) 2>&5
13617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13618 (exit $ac_status); }; } &&
13619 { ac_try='test -s conftest$ac_exeext'
13620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13621 (eval $ac_try) 2>&5
13623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13624 (exit $ac_status); }; }; then
13625 eval "$as_ac_var=yes"
13627 echo "$as_me: failed program was:" >&5
13628 sed 's/^/| /' conftest.$ac_ext >&5
13630 eval "$as_ac_var=no"
13632 rm -f conftest.err conftest.$ac_objext \
13633 conftest$ac_exeext conftest.$ac_ext
13635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13637 if test `eval echo '${'$as_ac_var'}'` = yes; then
13638 cat >>confdefs.h <<_ACEOF
13639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13642 echo "$as_me:$LINENO: checking for _doprnt" >&5
13643 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
13644 if test "${ac_cv_func__doprnt+set}" = set; then
13645 echo $ECHO_N "(cached) $ECHO_C" >&6
13647 cat >conftest.$ac_ext <<_ACEOF
13650 cat confdefs.h >>conftest.$ac_ext
13651 cat >>conftest.$ac_ext <<_ACEOF
13652 /* end confdefs.h. */
13653 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
13654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13655 #define _doprnt innocuous__doprnt
13657 /* System header to define __stub macros and hopefully few prototypes,
13658 which can conflict with char _doprnt (); below.
13659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13660 <limits.h> exists even on freestanding compilers. */
13663 # include <limits.h>
13665 # include <assert.h>
13670 /* Override any gcc2 internal prototype to avoid an error. */
13675 /* We use char because int might match the return type of a gcc2
13676 builtin and then its argument prototype would still apply. */
13678 /* The GNU C library defines this for functions which it implements
13679 to always fail with ENOSYS. Some functions are actually named
13680 something starting with __ and the normal name is an alias. */
13681 #if defined (__stub__doprnt) || defined (__stub____doprnt)
13684 char (*f) () = _doprnt;
13693 return f != _doprnt;
13698 rm -f conftest.$ac_objext conftest$ac_exeext
13699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13700 (eval $ac_link) 2>conftest.er1
13702 grep -v '^ *+' conftest.er1 >conftest.err
13704 cat conftest.err >&5
13705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13706 (exit $ac_status); } &&
13707 { ac_try='test -z "$ac_c_werror_flag"
13708 || test ! -s conftest.err'
13709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13710 (eval $ac_try) 2>&5
13712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13713 (exit $ac_status); }; } &&
13714 { ac_try='test -s conftest$ac_exeext'
13715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13716 (eval $ac_try) 2>&5
13718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13719 (exit $ac_status); }; }; then
13720 ac_cv_func__doprnt=yes
13722 echo "$as_me: failed program was:" >&5
13723 sed 's/^/| /' conftest.$ac_ext >&5
13725 ac_cv_func__doprnt=no
13727 rm -f conftest.err conftest.$ac_objext \
13728 conftest$ac_exeext conftest.$ac_ext
13730 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
13731 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
13732 if test $ac_cv_func__doprnt = yes; then
13734 cat >>confdefs.h <<\_ACEOF
13735 #define HAVE_DOPRNT 1
13750 for ac_func in mmap canonicalize_file_name snprintf strdup strchr strrchr
13752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13753 echo "$as_me:$LINENO: checking for $ac_func" >&5
13754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13755 if eval "test \"\${$as_ac_var+set}\" = set"; then
13756 echo $ECHO_N "(cached) $ECHO_C" >&6
13758 cat >conftest.$ac_ext <<_ACEOF
13761 cat confdefs.h >>conftest.$ac_ext
13762 cat >>conftest.$ac_ext <<_ACEOF
13763 /* end confdefs.h. */
13764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13766 #define $ac_func innocuous_$ac_func
13768 /* System header to define __stub macros and hopefully few prototypes,
13769 which can conflict with char $ac_func (); below.
13770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13771 <limits.h> exists even on freestanding compilers. */
13774 # include <limits.h>
13776 # include <assert.h>
13781 /* Override any gcc2 internal prototype to avoid an error. */
13786 /* We use char because int might match the return type of a gcc2
13787 builtin and then its argument prototype would still apply. */
13789 /* The GNU C library defines this for functions which it implements
13790 to always fail with ENOSYS. Some functions are actually named
13791 something starting with __ and the normal name is an alias. */
13792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13795 char (*f) () = $ac_func;
13804 return f != $ac_func;
13809 rm -f conftest.$ac_objext conftest$ac_exeext
13810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13811 (eval $ac_link) 2>conftest.er1
13813 grep -v '^ *+' conftest.er1 >conftest.err
13815 cat conftest.err >&5
13816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13817 (exit $ac_status); } &&
13818 { ac_try='test -z "$ac_c_werror_flag"
13819 || test ! -s conftest.err'
13820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13821 (eval $ac_try) 2>&5
13823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13824 (exit $ac_status); }; } &&
13825 { ac_try='test -s conftest$ac_exeext'
13826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13827 (eval $ac_try) 2>&5
13829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13830 (exit $ac_status); }; }; then
13831 eval "$as_ac_var=yes"
13833 echo "$as_me: failed program was:" >&5
13834 sed 's/^/| /' conftest.$ac_ext >&5
13836 eval "$as_ac_var=no"
13838 rm -f conftest.err conftest.$ac_objext \
13839 conftest$ac_exeext conftest.$ac_ext
13841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13843 if test `eval echo '${'$as_ac_var'}'` = yes; then
13844 cat >>confdefs.h <<_ACEOF
13845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13851 INVOKE_LIBOPTS_MACROS_FIRST_done=yes
13854 # end of AC_DEFUN of LIBOPTS_CHECK
13857 echo "$as_me:$LINENO: checking if $CC can handle #warning" >&5
13858 echo $ECHO_N "checking if $CC can handle #warning... $ECHO_C" >&6
13859 cat >conftest.$ac_ext <<_ACEOF
13862 cat confdefs.h >>conftest.$ac_ext
13863 cat >>conftest.$ac_ext <<_ACEOF
13864 /* end confdefs.h. */
13874 rm -f conftest.$ac_objext
13875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13876 (eval $ac_compile) 2>conftest.er1
13878 grep -v '^ *+' conftest.er1 >conftest.err
13880 cat conftest.err >&5
13881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13882 (exit $ac_status); } &&
13883 { ac_try='test -z "$ac_c_werror_flag"
13884 || test ! -s conftest.err'
13885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13886 (eval $ac_try) 2>&5
13888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13889 (exit $ac_status); }; } &&
13890 { ac_try='test -s conftest.$ac_objext'
13891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13892 (eval $ac_try) 2>&5
13894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13895 (exit $ac_status); }; }; then
13896 ac_cv_cpp_warning=yes
13898 echo "$as_me: failed program was:" >&5
13899 sed 's/^/| /' conftest.$ac_ext >&5
13901 ac_cv_cpp_warning=no
13903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13904 echo "$as_me:$LINENO: result: $ac_cv_cpp_warning" >&5
13905 echo "${ECHO_T}$ac_cv_cpp_warning" >&6
13907 case "$ac_cv_cpp_warning" in
13910 cat >>confdefs.h <<\_ACEOF
13911 #define NO_OPTION_NAME_WARNINGS 1
13914 echo "$as_me:$LINENO: result: Enabling NO_OPTION_NAME_WARNINGS as #warning does not work" >&5
13915 echo "${ECHO_T}Enabling NO_OPTION_NAME_WARNINGS as #warning does not work" >&6
13919 echo "$as_me:$LINENO: checking for bin subdirectory" >&5
13920 echo $ECHO_N "checking for bin subdirectory... $ECHO_C" >&6
13922 # Check whether --with-binsubdir or --without-binsubdir was given.
13923 if test "${with_binsubdir+set}" = set; then
13924 withval="$with_binsubdir"
13925 use_binsubdir="$withval"
13927 use_binsubdir="bin"
13930 case "$use_binsubdir" in
13936 { { echo "$as_me:$LINENO: error: <$use_binsubdir> is illegal - must be \"bin\" or \"sbin\"" >&5
13937 echo "$as_me: error: <$use_binsubdir> is illegal - must be \"bin\" or \"sbin\"" >&2;}
13938 { (exit 1); exit 1; }; }
13941 echo "$as_me:$LINENO: result: $use_binsubdir" >&5
13942 echo "${ECHO_T}$use_binsubdir" >&6
13943 BINSUBDIR=$use_binsubdir
13946 echo "$as_me:$LINENO: checking if we want to use arlib" >&5
13947 echo $ECHO_N "checking if we want to use arlib... $ECHO_C" >&6
13949 # Check whether --with-arlib or --without-arlib was given.
13950 if test "${with_arlib+set}" = set; then
13951 withval="$with_arlib"
13956 echo "$as_me:$LINENO: result: $ans" >&5
13957 echo "${ECHO_T}$ans" >&6
13959 if test -d $srcdir/arlib
13966 subdirs="$subdirs arlib"
13974 # Check whether --with-rpath or --without-rpath was given.
13975 if test "${with_rpath+set}" = set; then
13976 withval="$with_rpath"
13989 # HMS: Why isn't this $build?
13990 # Well, that depends on if we need this for the build toolchain or
13991 # for info in the host executable...
13992 # I still have no idea which way this should go, but nobody has complained.
13995 case "$need_dash_r" in
14002 case "$need_dash_r" in
14010 echo "$as_me:$LINENO: checking if we should use /dev/clockctl" >&5
14011 echo $ECHO_N "checking if we should use /dev/clockctl... $ECHO_C" >&6
14012 if test "${ac_clockctl+set}" = set; then
14013 echo $ECHO_N "(cached) $ECHO_C" >&6
14015 # Check whether --enable-clockctl or --disable-clockctl was given.
14016 if test "${enable_clockctl+set}" = set; then
14017 enableval="$enable_clockctl"
14031 echo "$as_me:$LINENO: result: $ac_clockctl" >&5
14032 echo "${ECHO_T}$ac_clockctl" >&6
14033 # End of AC_CACHE_CHECK for clockctl
14035 for ac_header in sys/clockctl.h
14037 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14038 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14039 echo "$as_me:$LINENO: checking for $ac_header" >&5
14040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14042 echo $ECHO_N "(cached) $ECHO_C" >&6
14044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14045 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14047 # Is the header compilable?
14048 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14049 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14050 cat >conftest.$ac_ext <<_ACEOF
14053 cat confdefs.h >>conftest.$ac_ext
14054 cat >>conftest.$ac_ext <<_ACEOF
14055 /* end confdefs.h. */
14056 $ac_includes_default
14057 #include <$ac_header>
14059 rm -f conftest.$ac_objext
14060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14061 (eval $ac_compile) 2>conftest.er1
14063 grep -v '^ *+' conftest.er1 >conftest.err
14065 cat conftest.err >&5
14066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14067 (exit $ac_status); } &&
14068 { ac_try='test -z "$ac_c_werror_flag"
14069 || test ! -s conftest.err'
14070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14071 (eval $ac_try) 2>&5
14073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14074 (exit $ac_status); }; } &&
14075 { ac_try='test -s conftest.$ac_objext'
14076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14077 (eval $ac_try) 2>&5
14079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14080 (exit $ac_status); }; }; then
14081 ac_header_compiler=yes
14083 echo "$as_me: failed program was:" >&5
14084 sed 's/^/| /' conftest.$ac_ext >&5
14086 ac_header_compiler=no
14088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14089 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14090 echo "${ECHO_T}$ac_header_compiler" >&6
14092 # Is the header present?
14093 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14094 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14095 cat >conftest.$ac_ext <<_ACEOF
14098 cat confdefs.h >>conftest.$ac_ext
14099 cat >>conftest.$ac_ext <<_ACEOF
14100 /* end confdefs.h. */
14101 #include <$ac_header>
14103 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14104 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14106 grep -v '^ *+' conftest.er1 >conftest.err
14108 cat conftest.err >&5
14109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14110 (exit $ac_status); } >/dev/null; then
14111 if test -s conftest.err; then
14112 ac_cpp_err=$ac_c_preproc_warn_flag
14113 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14120 if test -z "$ac_cpp_err"; then
14121 ac_header_preproc=yes
14123 echo "$as_me: failed program was:" >&5
14124 sed 's/^/| /' conftest.$ac_ext >&5
14126 ac_header_preproc=no
14128 rm -f conftest.err conftest.$ac_ext
14129 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14130 echo "${ECHO_T}$ac_header_preproc" >&6
14132 # So? What about this header?
14133 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14135 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14136 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14137 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14138 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14139 ac_header_preproc=yes
14142 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14143 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14144 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14145 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14146 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14147 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14148 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14149 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14150 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14151 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14152 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14153 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14156 ## ------------------------------ ##
14157 ## Report this to the ntp lists. ##
14158 ## ------------------------------ ##
14161 sed "s/^/$as_me: WARNING: /" >&2
14164 echo "$as_me:$LINENO: checking for $ac_header" >&5
14165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14167 echo $ECHO_N "(cached) $ECHO_C" >&6
14169 eval "$as_ac_Header=\$ac_header_preproc"
14171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14172 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14175 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14176 cat >>confdefs.h <<_ACEOF
14177 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14184 case "$ac_clockctl$ac_cv_header_sys_clockctl_h" in
14187 cat >>confdefs.h <<\_ACEOF
14188 #define HAVE_DROPROOT
14194 echo "$as_me:$LINENO: checking if we have linux capabilities (libcap)" >&5
14195 echo $ECHO_N "checking if we have linux capabilities (libcap)... $ECHO_C" >&6
14196 if test "${ac_linuxcaps+set}" = set; then
14197 echo $ECHO_N "(cached) $ECHO_C" >&6
14199 # Check whether --enable-linuxcaps or --disable-linuxcaps was given.
14200 if test "${enable_linuxcaps+set}" = set; then
14201 enableval="$enable_linuxcaps"
14208 echo "$as_me:$LINENO: result: $ac_linuxcaps" >&5
14209 echo "${ECHO_T}$ac_linuxcaps" >&6
14210 # End of AC_CACHE_CHECK for linuxcaps
14212 for ac_header in sys/capability.h
14214 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14216 echo "$as_me:$LINENO: checking for $ac_header" >&5
14217 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14218 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14219 echo $ECHO_N "(cached) $ECHO_C" >&6
14221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14222 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14224 # Is the header compilable?
14225 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14226 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14227 cat >conftest.$ac_ext <<_ACEOF
14230 cat confdefs.h >>conftest.$ac_ext
14231 cat >>conftest.$ac_ext <<_ACEOF
14232 /* end confdefs.h. */
14233 $ac_includes_default
14234 #include <$ac_header>
14236 rm -f conftest.$ac_objext
14237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14238 (eval $ac_compile) 2>conftest.er1
14240 grep -v '^ *+' conftest.er1 >conftest.err
14242 cat conftest.err >&5
14243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14244 (exit $ac_status); } &&
14245 { ac_try='test -z "$ac_c_werror_flag"
14246 || test ! -s conftest.err'
14247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14248 (eval $ac_try) 2>&5
14250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14251 (exit $ac_status); }; } &&
14252 { ac_try='test -s conftest.$ac_objext'
14253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14254 (eval $ac_try) 2>&5
14256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14257 (exit $ac_status); }; }; then
14258 ac_header_compiler=yes
14260 echo "$as_me: failed program was:" >&5
14261 sed 's/^/| /' conftest.$ac_ext >&5
14263 ac_header_compiler=no
14265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14266 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14267 echo "${ECHO_T}$ac_header_compiler" >&6
14269 # Is the header present?
14270 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14271 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14272 cat >conftest.$ac_ext <<_ACEOF
14275 cat confdefs.h >>conftest.$ac_ext
14276 cat >>conftest.$ac_ext <<_ACEOF
14277 /* end confdefs.h. */
14278 #include <$ac_header>
14280 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14281 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14283 grep -v '^ *+' conftest.er1 >conftest.err
14285 cat conftest.err >&5
14286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14287 (exit $ac_status); } >/dev/null; then
14288 if test -s conftest.err; then
14289 ac_cpp_err=$ac_c_preproc_warn_flag
14290 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14297 if test -z "$ac_cpp_err"; then
14298 ac_header_preproc=yes
14300 echo "$as_me: failed program was:" >&5
14301 sed 's/^/| /' conftest.$ac_ext >&5
14303 ac_header_preproc=no
14305 rm -f conftest.err conftest.$ac_ext
14306 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14307 echo "${ECHO_T}$ac_header_preproc" >&6
14309 # So? What about this header?
14310 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14312 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14313 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14314 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14315 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14316 ac_header_preproc=yes
14319 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14320 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14321 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14322 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14323 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14324 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14325 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14326 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14327 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14328 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14329 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14330 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14333 ## ------------------------------ ##
14334 ## Report this to the ntp lists. ##
14335 ## ------------------------------ ##
14338 sed "s/^/$as_me: WARNING: /" >&2
14341 echo "$as_me:$LINENO: checking for $ac_header" >&5
14342 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14343 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14344 echo $ECHO_N "(cached) $ECHO_C" >&6
14346 eval "$as_ac_Header=\$ac_header_preproc"
14348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14349 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14352 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14353 cat >>confdefs.h <<_ACEOF
14354 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14362 for ac_header in sys/prctl.h
14364 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14366 echo "$as_me:$LINENO: checking for $ac_header" >&5
14367 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14369 echo $ECHO_N "(cached) $ECHO_C" >&6
14371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14372 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14374 # Is the header compilable?
14375 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14376 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14377 cat >conftest.$ac_ext <<_ACEOF
14380 cat confdefs.h >>conftest.$ac_ext
14381 cat >>conftest.$ac_ext <<_ACEOF
14382 /* end confdefs.h. */
14383 $ac_includes_default
14384 #include <$ac_header>
14386 rm -f conftest.$ac_objext
14387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14388 (eval $ac_compile) 2>conftest.er1
14390 grep -v '^ *+' conftest.er1 >conftest.err
14392 cat conftest.err >&5
14393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14394 (exit $ac_status); } &&
14395 { ac_try='test -z "$ac_c_werror_flag"
14396 || test ! -s conftest.err'
14397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14398 (eval $ac_try) 2>&5
14400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14401 (exit $ac_status); }; } &&
14402 { ac_try='test -s conftest.$ac_objext'
14403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14404 (eval $ac_try) 2>&5
14406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407 (exit $ac_status); }; }; then
14408 ac_header_compiler=yes
14410 echo "$as_me: failed program was:" >&5
14411 sed 's/^/| /' conftest.$ac_ext >&5
14413 ac_header_compiler=no
14415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14416 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14417 echo "${ECHO_T}$ac_header_compiler" >&6
14419 # Is the header present?
14420 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14421 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14422 cat >conftest.$ac_ext <<_ACEOF
14425 cat confdefs.h >>conftest.$ac_ext
14426 cat >>conftest.$ac_ext <<_ACEOF
14427 /* end confdefs.h. */
14428 #include <$ac_header>
14430 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14431 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14433 grep -v '^ *+' conftest.er1 >conftest.err
14435 cat conftest.err >&5
14436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14437 (exit $ac_status); } >/dev/null; then
14438 if test -s conftest.err; then
14439 ac_cpp_err=$ac_c_preproc_warn_flag
14440 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14447 if test -z "$ac_cpp_err"; then
14448 ac_header_preproc=yes
14450 echo "$as_me: failed program was:" >&5
14451 sed 's/^/| /' conftest.$ac_ext >&5
14453 ac_header_preproc=no
14455 rm -f conftest.err conftest.$ac_ext
14456 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14457 echo "${ECHO_T}$ac_header_preproc" >&6
14459 # So? What about this header?
14460 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14462 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14463 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14464 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14465 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14466 ac_header_preproc=yes
14469 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14470 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14471 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14472 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14473 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14474 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14475 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14476 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14477 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14478 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14479 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14480 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14483 ## ------------------------------ ##
14484 ## Report this to the ntp lists. ##
14485 ## ------------------------------ ##
14488 sed "s/^/$as_me: WARNING: /" >&2
14491 echo "$as_me:$LINENO: checking for $ac_header" >&5
14492 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14493 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14494 echo $ECHO_N "(cached) $ECHO_C" >&6
14496 eval "$as_ac_Header=\$ac_header_preproc"
14498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14499 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14502 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14503 cat >>confdefs.h <<_ACEOF
14504 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14511 case "$ac_linuxcaps$ac_cv_header_sys_capability_h$ac_cv_header_sys_prctl_h" in
14514 cat >>confdefs.h <<\_ACEOF
14515 #define HAVE_LINUX_CAPABILITIES
14519 cat >>confdefs.h <<\_ACEOF
14520 #define HAVE_DROPROOT
14532 # Quick and dirty sanity check
14533 case "$VX_KERNEL" in
14534 '') { { echo "$as_me:$LINENO: error: Please follow the directions in html/build/hints/vxworks.html!" >&5
14535 echo "$as_me: error: Please follow the directions in html/build/hints/vxworks.html!" >&2;}
14536 { (exit 1); exit 1; }; }
14539 CFLAGS="$CFLAGS -DSYS_VXWORKS"
14545 for ac_prog in gawk mawk nawk awk
14547 # Extract the first word of "$ac_prog", so it can be a program name with args.
14548 set dummy $ac_prog; ac_word=$2
14549 echo "$as_me:$LINENO: checking for $ac_word" >&5
14550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14551 if test "${ac_cv_prog_AWK+set}" = set; then
14552 echo $ECHO_N "(cached) $ECHO_C" >&6
14554 if test -n "$AWK"; then
14555 ac_cv_prog_AWK="$AWK" # Let the user override the test.
14557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14558 for as_dir in $PATH
14561 test -z "$as_dir" && as_dir=.
14562 for ac_exec_ext in '' $ac_executable_extensions; do
14563 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14564 ac_cv_prog_AWK="$ac_prog"
14565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14573 AWK=$ac_cv_prog_AWK
14574 if test -n "$AWK"; then
14575 echo "$as_me:$LINENO: result: $AWK" >&5
14576 echo "${ECHO_T}$AWK" >&6
14578 echo "$as_me:$LINENO: result: no" >&5
14579 echo "${ECHO_T}no" >&6
14582 test -n "$AWK" && break
14585 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
14586 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
14587 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
14588 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
14589 echo $ECHO_N "(cached) $ECHO_C" >&6
14591 cat >conftest.make <<\_ACEOF
14593 @echo 'ac_maketemp="$(MAKE)"'
14595 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
14596 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
14597 if test -n "$ac_maketemp"; then
14598 eval ac_cv_prog_make_${ac_make}_set=yes
14600 eval ac_cv_prog_make_${ac_make}_set=no
14602 rm -f conftest.make
14604 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
14605 echo "$as_me:$LINENO: result: yes" >&5
14606 echo "${ECHO_T}yes" >&6
14609 echo "$as_me:$LINENO: result: no" >&5
14610 echo "${ECHO_T}no" >&6
14611 SET_MAKE="MAKE=${MAKE-make}"
14619 CFLAGS="$CFLAGS -Wall"
14620 # CFLAGS="$CFLAGS -Wcast-align"
14621 CFLAGS="$CFLAGS -Wcast-qual"
14622 # CFLAGS="$CFLAGS -Wconversion"
14623 # CFLAGS="$CFLAGS -Werror"
14624 # CFLAGS="$CFLAGS -Wextra"
14625 # CFLAGS="$CFLAGS -Wfloat-equal"
14626 CFLAGS="$CFLAGS -Wmissing-prototypes"
14627 CFLAGS="$CFLAGS -Wpointer-arith"
14628 CFLAGS="$CFLAGS -Wshadow"
14629 CFLAGS="$CFLAGS -Wstrict-prototypes"
14630 # CFLAGS="$CFLAGS -Wtraditional"
14631 # CFLAGS="$CFLAGS -Wwrite-strings"
14638 CFLAGS="$CFLAGS -posix"
14642 ac_busted_vpath_in_make=no
14645 *-*-irix6.1*) # 64 bit only
14648 *-*-irix6*) # 6.2 (and later?)
14649 ac_busted_vpath_in_make=yes
14652 ac_busted_vpath_in_make=yes
14655 ac_busted_vpath_in_make=yes
14659 case "$ac_busted_vpath_in_make$srcdir" in
14662 *) case "`${MAKE-make} -v -f /dev/null 2>/dev/null | sed -e 's/GNU Make version \(1-9.]*\).*/\1/' -e q`" in
14664 { { echo "$as_me:$LINENO: error: building outside of the main directory requires GNU make" >&5
14665 echo "$as_me: error: building outside of the main directory requires GNU make" >&2;}
14666 { (exit 1); exit 1; }; }
14674 # HMS: From bunnylou/cowbird
14677 # Check whether --enable-shared or --disable-shared was given.
14678 if test "${enable_shared+set}" = set; then
14679 enableval="$enable_shared"
14680 p=${PACKAGE-default}
14682 yes) enable_shared=yes ;;
14683 no) enable_shared=no ;;
14686 # Look at the argument we got. We use all the common list separators.
14687 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
14688 for pkg in $enableval; do
14690 if test "X$pkg" = "X$p"; then
14703 *) # So far, the only shared library we might use is libopts.
14704 # It's a small library - we might as well use a static version of it.
14705 # Check whether --enable-shared or --disable-shared was given.
14706 if test "${enable_shared+set}" = set; then
14707 enableval="$enable_shared"
14708 p=${PACKAGE-default}
14710 yes) enable_shared=yes ;;
14711 no) enable_shared=no ;;
14714 # Look at the argument we got. We use all the common list separators.
14715 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
14716 for pkg in $enableval; do
14718 if test "X$pkg" = "X$p"; then
14733 # Check whether --enable-static or --disable-static was given.
14734 if test "${enable_static+set}" = set; then
14735 enableval="$enable_static"
14736 p=${PACKAGE-default}
14738 yes) enable_static=yes ;;
14739 no) enable_static=no ;;
14742 # Look at the argument we got. We use all the common list separators.
14743 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
14744 for pkg in $enableval; do
14746 if test "X$pkg" = "X$p"; then
14757 # Check whether --enable-fast-install or --disable-fast-install was given.
14758 if test "${enable_fast_install+set}" = set; then
14759 enableval="$enable_fast_install"
14760 p=${PACKAGE-default}
14762 yes) enable_fast_install=yes ;;
14763 no) enable_fast_install=no ;;
14765 enable_fast_install=no
14766 # Look at the argument we got. We use all the common list separators.
14767 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
14768 for pkg in $enableval; do
14770 if test "X$pkg" = "X$p"; then
14771 enable_fast_install=yes
14778 enable_fast_install=yes
14781 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
14782 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
14783 if test "${lt_cv_path_SED+set}" = set; then
14784 echo $ECHO_N "(cached) $ECHO_C" >&6
14786 # Loop through the user's path and test for sed and gsed.
14787 # Then use that list of sed's as ones to test for truncation.
14788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14789 for as_dir in $PATH
14792 test -z "$as_dir" && as_dir=.
14793 for lt_ac_prog in sed gsed; do
14794 for ac_exec_ext in '' $ac_executable_extensions; do
14795 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
14796 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
14803 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
14804 # along with /bin/sed that truncates output.
14805 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
14806 test ! -f $lt_ac_sed && continue
14807 cat /dev/null > conftest.in
14809 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
14810 # Check for GNU sed and select it if it is found.
14811 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
14812 lt_cv_path_SED=$lt_ac_sed
14816 cat conftest.in conftest.in >conftest.tmp
14817 mv conftest.tmp conftest.in
14818 cp conftest.in conftest.nl
14820 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
14821 cmp -s conftest.out conftest.nl || break
14822 # 10000 chars as input seems more than enough
14823 test $lt_ac_count -gt 10 && break
14824 lt_ac_count=`expr $lt_ac_count + 1`
14825 if test $lt_ac_count -gt $lt_ac_max; then
14826 lt_ac_max=$lt_ac_count
14827 lt_cv_path_SED=$lt_ac_sed
14834 SED=$lt_cv_path_SED
14835 echo "$as_me:$LINENO: result: $SED" >&5
14836 echo "${ECHO_T}$SED" >&6
14839 # Check whether --with-gnu-ld or --without-gnu-ld was given.
14840 if test "${with_gnu_ld+set}" = set; then
14841 withval="$with_gnu_ld"
14842 test "$withval" = no || with_gnu_ld=yes
14847 if test "$GCC" = yes; then
14848 # Check if gcc -print-prog-name=ld gives a path.
14849 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
14850 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
14853 # gcc leaves a trailing carriage return which upsets mingw
14854 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14856 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14859 # Accept absolute paths.
14861 re_direlt='/[^/][^/]*/\.\./'
14862 # Canonicalize the pathname of ld
14863 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
14864 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
14865 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
14867 test -z "$LD" && LD="$ac_prog"
14870 # If it fails, then pretend we aren't using GCC.
14874 # If it is relative, then search for the first ld in PATH.
14875 with_gnu_ld=unknown
14878 elif test "$with_gnu_ld" = yes; then
14879 echo "$as_me:$LINENO: checking for GNU ld" >&5
14880 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
14882 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
14883 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
14885 if test "${lt_cv_path_LD+set}" = set; then
14886 echo $ECHO_N "(cached) $ECHO_C" >&6
14888 if test -z "$LD"; then
14889 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14890 for ac_dir in $PATH; do
14892 test -z "$ac_dir" && ac_dir=.
14893 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14894 lt_cv_path_LD="$ac_dir/$ac_prog"
14895 # Check to see if the program is GNU ld. I'd rather use --version,
14896 # but apparently some variants of GNU ld only accept -v.
14897 # Break only if it was the GNU/non-GNU ld that we prefer.
14898 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14899 *GNU* | *'with BFD'*)
14900 test "$with_gnu_ld" != no && break
14903 test "$with_gnu_ld" != yes && break
14910 lt_cv_path_LD="$LD" # Let the user override the test with a path.
14914 LD="$lt_cv_path_LD"
14915 if test -n "$LD"; then
14916 echo "$as_me:$LINENO: result: $LD" >&5
14917 echo "${ECHO_T}$LD" >&6
14919 echo "$as_me:$LINENO: result: no" >&5
14920 echo "${ECHO_T}no" >&6
14922 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
14923 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
14924 { (exit 1); exit 1; }; }
14925 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
14926 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
14927 if test "${lt_cv_prog_gnu_ld+set}" = set; then
14928 echo $ECHO_N "(cached) $ECHO_C" >&6
14930 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14931 case `$LD -v 2>&1 </dev/null` in
14932 *GNU* | *'with BFD'*)
14933 lt_cv_prog_gnu_ld=yes
14936 lt_cv_prog_gnu_ld=no
14940 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
14941 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
14942 with_gnu_ld=$lt_cv_prog_gnu_ld
14945 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
14946 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
14947 if test "${lt_cv_ld_reload_flag+set}" = set; then
14948 echo $ECHO_N "(cached) $ECHO_C" >&6
14950 lt_cv_ld_reload_flag='-r'
14952 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
14953 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
14954 reload_flag=$lt_cv_ld_reload_flag
14955 case $reload_flag in
14957 *) reload_flag=" $reload_flag" ;;
14959 reload_cmds='$LD$reload_flag -o $output$reload_objs'
14962 if test "$GCC" = yes; then
14963 reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
14965 reload_cmds='$LD$reload_flag -o $output$reload_objs'
14970 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
14971 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
14972 if test "${lt_cv_path_NM+set}" = set; then
14973 echo $ECHO_N "(cached) $ECHO_C" >&6
14975 if test -n "$NM"; then
14976 # Let the user override the test.
14977 lt_cv_path_NM="$NM"
14979 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14980 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
14982 test -z "$ac_dir" && ac_dir=.
14983 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
14984 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
14985 # Check to see if the nm accepts a BSD-compat flag.
14986 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
14987 # nm: unknown option "B" ignored
14988 # Tru64's nm complains that /dev/null is an invalid object file
14989 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
14990 */dev/null* | *'Invalid file or object type'*)
14991 lt_cv_path_NM="$tmp_nm -B"
14995 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
14997 lt_cv_path_NM="$tmp_nm -p"
15001 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
15002 continue # so that we can try to find one that supports BSD flags
15009 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
15012 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
15013 echo "${ECHO_T}$lt_cv_path_NM" >&6
15014 NM="$lt_cv_path_NM"
15016 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15017 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15019 if test "$LN_S" = "ln -s"; then
15020 echo "$as_me:$LINENO: result: yes" >&5
15021 echo "${ECHO_T}yes" >&6
15023 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15024 echo "${ECHO_T}no, using $LN_S" >&6
15027 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
15028 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
15029 if test "${lt_cv_deplibs_check_method+set}" = set; then
15030 echo $ECHO_N "(cached) $ECHO_C" >&6
15032 lt_cv_file_magic_cmd='$MAGIC_CMD'
15033 lt_cv_file_magic_test_file=
15034 lt_cv_deplibs_check_method='unknown'
15035 # Need to set the preceding variable on all platforms that support
15036 # interlibrary dependencies.
15037 # 'none' -- dependencies not supported.
15038 # `unknown' -- same as none, but documents that we really don't know.
15039 # 'pass_all' -- all dependencies passed with no checks.
15040 # 'test_compile' -- check by making test program.
15041 # 'file_magic [[regex]]' -- check by looking for files in library path
15042 # which responds to the $file_magic_cmd with a given extended regex.
15043 # If you have `file' or equivalent on your system and you're not sure
15044 # whether `pass_all' will *always* work, you probably want this one.
15048 lt_cv_deplibs_check_method=pass_all
15052 lt_cv_deplibs_check_method=pass_all
15056 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
15057 lt_cv_file_magic_cmd='/usr/bin/file -L'
15058 lt_cv_file_magic_test_file=/shlib/libc.so
15062 # func_win32_libid is a shell function defined in ltmain.sh
15063 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
15064 lt_cv_file_magic_cmd='func_win32_libid'
15068 # Base MSYS/MinGW do not provide the 'file' command needed by
15069 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
15070 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
15071 lt_cv_file_magic_cmd='$OBJDUMP -f'
15074 darwin* | rhapsody*)
15075 lt_cv_deplibs_check_method=pass_all
15078 freebsd* | kfreebsd*-gnu | dragonfly*)
15079 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
15082 # Not sure whether the presence of OpenBSD here was a mistake.
15083 # Let's accept both of them until this is cleared up.
15084 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
15085 lt_cv_file_magic_cmd=/usr/bin/file
15086 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
15090 lt_cv_deplibs_check_method=pass_all
15095 lt_cv_deplibs_check_method=pass_all
15098 hpux10.20* | hpux11*)
15099 lt_cv_file_magic_cmd=/usr/bin/file
15102 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
15103 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
15106 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
15107 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
15110 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
15111 lt_cv_file_magic_test_file=/usr/lib/libc.sl
15116 irix5* | irix6* | nonstopux*)
15118 *-32|*"-32 ") libmagic=32-bit;;
15119 *-n32|*"-n32 ") libmagic=N32;;
15120 *-64|*"-64 ") libmagic=64-bit;;
15121 *) libmagic=never-match;;
15123 lt_cv_deplibs_check_method=pass_all
15126 # This must be Linux ELF.
15128 lt_cv_deplibs_check_method=pass_all
15132 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
15133 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
15135 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
15140 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
15141 lt_cv_file_magic_cmd=/usr/bin/file
15142 lt_cv_file_magic_test_file=/usr/lib/libnls.so
15146 lt_cv_deplibs_check_method=unknown
15150 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15151 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
15153 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
15157 osf3* | osf4* | osf5*)
15158 lt_cv_deplibs_check_method=pass_all
15162 lt_cv_deplibs_check_method=pass_all
15166 lt_cv_deplibs_check_method=pass_all
15169 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15170 case $host_vendor in
15172 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
15173 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
15176 lt_cv_deplibs_check_method=pass_all
15179 lt_cv_file_magic_cmd='/bin/file'
15180 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
15183 lt_cv_file_magic_cmd='/bin/file'
15184 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
15185 lt_cv_file_magic_test_file=/lib/libc.so
15188 lt_cv_deplibs_check_method=pass_all
15193 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
15194 lt_cv_deplibs_check_method=pass_all
15199 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
15200 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
15201 file_magic_cmd=$lt_cv_file_magic_cmd
15202 deplibs_check_method=$lt_cv_deplibs_check_method
15203 test -z "$deplibs_check_method" && deplibs_check_method=unknown
15208 # If no C compiler was specified, use CC.
15211 # Allow CC to be a program name with arguments.
15214 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
15215 if test "${enable_libtool_lock+set}" = set; then
15216 enableval="$enable_libtool_lock"
15219 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
15221 # Some flags need to be propagated to the compiler or linker for good
15225 # Find out which ABI we are using.
15226 echo 'int i;' > conftest.$ac_ext
15227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15228 (eval $ac_compile) 2>&5
15230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15231 (exit $ac_status); }; then
15232 case `/usr/bin/file conftest.$ac_objext` in
15234 HPUX_IA64_MODE="32"
15237 HPUX_IA64_MODE="64"
15244 # Find out which ABI we are using.
15245 echo '#line 15245 "configure"' > conftest.$ac_ext
15246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15247 (eval $ac_compile) 2>&5
15249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15250 (exit $ac_status); }; then
15251 if test "$lt_cv_prog_gnu_ld" = yes; then
15252 case `/usr/bin/file conftest.$ac_objext` in
15254 LD="${LD-ld} -melf32bsmip"
15257 LD="${LD-ld} -melf32bmipn32"
15260 LD="${LD-ld} -melf64bmip"
15264 case `/usr/bin/file conftest.$ac_objext` in
15280 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
15281 # Find out which ABI we are using.
15282 echo 'int i;' > conftest.$ac_ext
15283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15284 (eval $ac_compile) 2>&5
15286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15287 (exit $ac_status); }; then
15288 case `/usr/bin/file conftest.o` in
15292 LD="${LD-ld} -m elf_i386"
15294 ppc64-*linux*|powerpc64-*linux*)
15295 LD="${LD-ld} -m elf32ppclinux"
15298 LD="${LD-ld} -m elf_s390"
15301 LD="${LD-ld} -m elf32_sparc"
15308 LD="${LD-ld} -m elf_x86_64"
15310 ppc*-*linux*|powerpc*-*linux*)
15311 LD="${LD-ld} -m elf64ppc"
15314 LD="${LD-ld} -m elf64_s390"
15317 LD="${LD-ld} -m elf64_sparc"
15327 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
15328 SAVE_CFLAGS="$CFLAGS"
15329 CFLAGS="$CFLAGS -belf"
15330 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
15331 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
15332 if test "${lt_cv_cc_needs_belf+set}" = set; then
15333 echo $ECHO_N "(cached) $ECHO_C" >&6
15336 ac_cpp='$CPP $CPPFLAGS'
15337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15341 cat >conftest.$ac_ext <<_ACEOF
15344 cat confdefs.h >>conftest.$ac_ext
15345 cat >>conftest.$ac_ext <<_ACEOF
15346 /* end confdefs.h. */
15356 rm -f conftest.$ac_objext conftest$ac_exeext
15357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15358 (eval $ac_link) 2>conftest.er1
15360 grep -v '^ *+' conftest.er1 >conftest.err
15362 cat conftest.err >&5
15363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 (exit $ac_status); } &&
15365 { ac_try='test -z "$ac_c_werror_flag"
15366 || test ! -s conftest.err'
15367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15368 (eval $ac_try) 2>&5
15370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15371 (exit $ac_status); }; } &&
15372 { ac_try='test -s conftest$ac_exeext'
15373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15374 (eval $ac_try) 2>&5
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); }; }; then
15378 lt_cv_cc_needs_belf=yes
15380 echo "$as_me: failed program was:" >&5
15381 sed 's/^/| /' conftest.$ac_ext >&5
15383 lt_cv_cc_needs_belf=no
15385 rm -f conftest.err conftest.$ac_objext \
15386 conftest$ac_exeext conftest.$ac_ext
15388 ac_cpp='$CPP $CPPFLAGS'
15389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15394 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
15395 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
15396 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
15397 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
15398 CFLAGS="$SAVE_CFLAGS"
15404 need_locks="$enable_libtool_lock"
15408 for ac_header in dlfcn.h
15410 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15411 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15412 echo "$as_me:$LINENO: checking for $ac_header" >&5
15413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15415 echo $ECHO_N "(cached) $ECHO_C" >&6
15417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15418 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15420 # Is the header compilable?
15421 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15422 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15423 cat >conftest.$ac_ext <<_ACEOF
15426 cat confdefs.h >>conftest.$ac_ext
15427 cat >>conftest.$ac_ext <<_ACEOF
15428 /* end confdefs.h. */
15429 $ac_includes_default
15430 #include <$ac_header>
15432 rm -f conftest.$ac_objext
15433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15434 (eval $ac_compile) 2>conftest.er1
15436 grep -v '^ *+' conftest.er1 >conftest.err
15438 cat conftest.err >&5
15439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15440 (exit $ac_status); } &&
15441 { ac_try='test -z "$ac_c_werror_flag"
15442 || test ! -s conftest.err'
15443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15444 (eval $ac_try) 2>&5
15446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15447 (exit $ac_status); }; } &&
15448 { ac_try='test -s conftest.$ac_objext'
15449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15450 (eval $ac_try) 2>&5
15452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15453 (exit $ac_status); }; }; then
15454 ac_header_compiler=yes
15456 echo "$as_me: failed program was:" >&5
15457 sed 's/^/| /' conftest.$ac_ext >&5
15459 ac_header_compiler=no
15461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15462 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15463 echo "${ECHO_T}$ac_header_compiler" >&6
15465 # Is the header present?
15466 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15467 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15468 cat >conftest.$ac_ext <<_ACEOF
15471 cat confdefs.h >>conftest.$ac_ext
15472 cat >>conftest.$ac_ext <<_ACEOF
15473 /* end confdefs.h. */
15474 #include <$ac_header>
15476 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15477 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15479 grep -v '^ *+' conftest.er1 >conftest.err
15481 cat conftest.err >&5
15482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15483 (exit $ac_status); } >/dev/null; then
15484 if test -s conftest.err; then
15485 ac_cpp_err=$ac_c_preproc_warn_flag
15486 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15493 if test -z "$ac_cpp_err"; then
15494 ac_header_preproc=yes
15496 echo "$as_me: failed program was:" >&5
15497 sed 's/^/| /' conftest.$ac_ext >&5
15499 ac_header_preproc=no
15501 rm -f conftest.err conftest.$ac_ext
15502 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15503 echo "${ECHO_T}$ac_header_preproc" >&6
15505 # So? What about this header?
15506 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15508 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15509 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15510 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15511 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15512 ac_header_preproc=yes
15515 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15516 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15517 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15518 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15519 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15520 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15521 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15522 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15523 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15524 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15525 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15526 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15529 ## ------------------------------ ##
15530 ## Report this to the ntp lists. ##
15531 ## ------------------------------ ##
15534 sed "s/^/$as_me: WARNING: /" >&2
15537 echo "$as_me:$LINENO: checking for $ac_header" >&5
15538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15539 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15540 echo $ECHO_N "(cached) $ECHO_C" >&6
15542 eval "$as_ac_Header=\$ac_header_preproc"
15544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15545 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15548 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15549 cat >>confdefs.h <<_ACEOF
15550 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15558 ac_cpp='$CXXCPP $CPPFLAGS'
15559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15562 if test -n "$ac_tool_prefix"; then
15563 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
15565 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15566 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15567 echo "$as_me:$LINENO: checking for $ac_word" >&5
15568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15569 if test "${ac_cv_prog_CXX+set}" = set; then
15570 echo $ECHO_N "(cached) $ECHO_C" >&6
15572 if test -n "$CXX"; then
15573 ac_cv_prog_CXX="$CXX" # Let the user override the test.
15575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15576 for as_dir in $PATH
15579 test -z "$as_dir" && as_dir=.
15580 for ac_exec_ext in '' $ac_executable_extensions; do
15581 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15582 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
15583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15591 CXX=$ac_cv_prog_CXX
15592 if test -n "$CXX"; then
15593 echo "$as_me:$LINENO: result: $CXX" >&5
15594 echo "${ECHO_T}$CXX" >&6
15596 echo "$as_me:$LINENO: result: no" >&5
15597 echo "${ECHO_T}no" >&6
15600 test -n "$CXX" && break
15603 if test -z "$CXX"; then
15605 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
15607 # Extract the first word of "$ac_prog", so it can be a program name with args.
15608 set dummy $ac_prog; ac_word=$2
15609 echo "$as_me:$LINENO: checking for $ac_word" >&5
15610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15611 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15612 echo $ECHO_N "(cached) $ECHO_C" >&6
15614 if test -n "$ac_ct_CXX"; then
15615 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15618 for as_dir in $PATH
15621 test -z "$as_dir" && as_dir=.
15622 for ac_exec_ext in '' $ac_executable_extensions; do
15623 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15624 ac_cv_prog_ac_ct_CXX="$ac_prog"
15625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15633 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15634 if test -n "$ac_ct_CXX"; then
15635 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15636 echo "${ECHO_T}$ac_ct_CXX" >&6
15638 echo "$as_me:$LINENO: result: no" >&5
15639 echo "${ECHO_T}no" >&6
15642 test -n "$ac_ct_CXX" && break
15644 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
15650 # Provide some information about the compiler.
15651 echo "$as_me:$LINENO:" \
15652 "checking for C++ compiler version" >&5
15653 ac_compiler=`set X $ac_compile; echo $2`
15654 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
15655 (eval $ac_compiler --version </dev/null >&5) 2>&5
15657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15658 (exit $ac_status); }
15659 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
15660 (eval $ac_compiler -v </dev/null >&5) 2>&5
15662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15663 (exit $ac_status); }
15664 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
15665 (eval $ac_compiler -V </dev/null >&5) 2>&5
15667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15668 (exit $ac_status); }
15670 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15671 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
15672 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15673 echo $ECHO_N "(cached) $ECHO_C" >&6
15675 cat >conftest.$ac_ext <<_ACEOF
15678 cat confdefs.h >>conftest.$ac_ext
15679 cat >>conftest.$ac_ext <<_ACEOF
15680 /* end confdefs.h. */
15693 rm -f conftest.$ac_objext
15694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15695 (eval $ac_compile) 2>conftest.er1
15697 grep -v '^ *+' conftest.er1 >conftest.err
15699 cat conftest.err >&5
15700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15701 (exit $ac_status); } &&
15702 { ac_try='test -z "$ac_cxx_werror_flag"
15703 || test ! -s conftest.err'
15704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15705 (eval $ac_try) 2>&5
15707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15708 (exit $ac_status); }; } &&
15709 { ac_try='test -s conftest.$ac_objext'
15710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15711 (eval $ac_try) 2>&5
15713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15714 (exit $ac_status); }; }; then
15715 ac_compiler_gnu=yes
15717 echo "$as_me: failed program was:" >&5
15718 sed 's/^/| /' conftest.$ac_ext >&5
15722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15723 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15726 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15727 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
15728 GXX=`test $ac_compiler_gnu = yes && echo yes`
15729 ac_test_CXXFLAGS=${CXXFLAGS+set}
15730 ac_save_CXXFLAGS=$CXXFLAGS
15732 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15733 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
15734 if test "${ac_cv_prog_cxx_g+set}" = set; then
15735 echo $ECHO_N "(cached) $ECHO_C" >&6
15737 cat >conftest.$ac_ext <<_ACEOF
15740 cat confdefs.h >>conftest.$ac_ext
15741 cat >>conftest.$ac_ext <<_ACEOF
15742 /* end confdefs.h. */
15752 rm -f conftest.$ac_objext
15753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15754 (eval $ac_compile) 2>conftest.er1
15756 grep -v '^ *+' conftest.er1 >conftest.err
15758 cat conftest.err >&5
15759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15760 (exit $ac_status); } &&
15761 { ac_try='test -z "$ac_cxx_werror_flag"
15762 || test ! -s conftest.err'
15763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15764 (eval $ac_try) 2>&5
15766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15767 (exit $ac_status); }; } &&
15768 { ac_try='test -s conftest.$ac_objext'
15769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15770 (eval $ac_try) 2>&5
15772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15773 (exit $ac_status); }; }; then
15774 ac_cv_prog_cxx_g=yes
15776 echo "$as_me: failed program was:" >&5
15777 sed 's/^/| /' conftest.$ac_ext >&5
15779 ac_cv_prog_cxx_g=no
15781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15783 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15784 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
15785 if test "$ac_test_CXXFLAGS" = set; then
15786 CXXFLAGS=$ac_save_CXXFLAGS
15787 elif test $ac_cv_prog_cxx_g = yes; then
15788 if test "$GXX" = yes; then
15794 if test "$GXX" = yes; then
15800 for ac_declaration in \
15802 'extern "C" void std::exit (int) throw (); using std::exit;' \
15803 'extern "C" void std::exit (int); using std::exit;' \
15804 'extern "C" void exit (int) throw ();' \
15805 'extern "C" void exit (int);' \
15808 cat >conftest.$ac_ext <<_ACEOF
15811 cat confdefs.h >>conftest.$ac_ext
15812 cat >>conftest.$ac_ext <<_ACEOF
15813 /* end confdefs.h. */
15815 #include <stdlib.h>
15824 rm -f conftest.$ac_objext
15825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15826 (eval $ac_compile) 2>conftest.er1
15828 grep -v '^ *+' conftest.er1 >conftest.err
15830 cat conftest.err >&5
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); } &&
15833 { ac_try='test -z "$ac_cxx_werror_flag"
15834 || test ! -s conftest.err'
15835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15836 (eval $ac_try) 2>&5
15838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839 (exit $ac_status); }; } &&
15840 { ac_try='test -s conftest.$ac_objext'
15841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15842 (eval $ac_try) 2>&5
15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); }; }; then
15848 echo "$as_me: failed program was:" >&5
15849 sed 's/^/| /' conftest.$ac_ext >&5
15853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15854 cat >conftest.$ac_ext <<_ACEOF
15857 cat confdefs.h >>conftest.$ac_ext
15858 cat >>conftest.$ac_ext <<_ACEOF
15859 /* end confdefs.h. */
15869 rm -f conftest.$ac_objext
15870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15871 (eval $ac_compile) 2>conftest.er1
15873 grep -v '^ *+' conftest.er1 >conftest.err
15875 cat conftest.err >&5
15876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15877 (exit $ac_status); } &&
15878 { ac_try='test -z "$ac_cxx_werror_flag"
15879 || test ! -s conftest.err'
15880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15881 (eval $ac_try) 2>&5
15883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15884 (exit $ac_status); }; } &&
15885 { ac_try='test -s conftest.$ac_objext'
15886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15887 (eval $ac_try) 2>&5
15889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15890 (exit $ac_status); }; }; then
15893 echo "$as_me: failed program was:" >&5
15894 sed 's/^/| /' conftest.$ac_ext >&5
15897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15900 if test -n "$ac_declaration"; then
15901 echo '#ifdef __cplusplus' >>confdefs.h
15902 echo $ac_declaration >>confdefs.h
15903 echo '#endif' >>confdefs.h
15907 ac_cpp='$CXXCPP $CPPFLAGS'
15908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15912 depcc="$CXX" am_compiler_list=
15914 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
15915 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
15916 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
15917 echo $ECHO_N "(cached) $ECHO_C" >&6
15919 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15920 # We make a subdir and do the tests there. Otherwise we can end up
15921 # making bogus files that we don't know about and never remove. For
15922 # instance it was reported that on HP-UX the gcc test will end up
15923 # making a dummy file named `D' -- because `-MD' means `put the output
15926 # Copy depcomp to subdir because otherwise we won't find it if we're
15927 # using a relative directory.
15928 cp "$am_depcomp" conftest.dir
15930 # We will build objects and dependencies in a subdirectory because
15931 # it helps to detect inapplicable dependency modes. For instance
15932 # both Tru64's cc and ICC support -MD to output dependencies as a
15933 # side effect of compilation, but ICC will put the dependencies in
15934 # the current directory while Tru64 will put them in the object
15938 am_cv_CXX_dependencies_compiler_type=none
15939 if test "$am_compiler_list" = ""; then
15940 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15942 for depmode in $am_compiler_list; do
15943 # Setup a source with many dependencies, because some compilers
15944 # like to wrap large dependency lists on column 80 (with \), and
15945 # we should not choose a depcomp mode which is confused by this.
15947 # We need to recreate these files for each test, as the compiler may
15948 # overwrite some of them when testing with obscure command lines.
15949 # This happens at least with the AIX C compiler.
15951 for i in 1 2 3 4 5 6; do
15952 echo '#include "conftst'$i'.h"' >> sub/conftest.c
15953 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15954 # Solaris 8's {/usr,}/bin/sh.
15955 touch sub/conftst$i.h
15957 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15961 # after this tag, mechanisms are not by side-effect, so they'll
15962 # only be used when explicitly requested
15963 if test "x$enable_dependency_tracking" = xyes; then
15971 # We check with `-c' and `-o' for the sake of the "dashmstdout"
15972 # mode. It turns out that the SunPro C++ compiler does not properly
15973 # handle `-M -o', and we need to detect this.
15974 if depmode=$depmode \
15975 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
15976 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
15977 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
15978 >/dev/null 2>conftest.err &&
15979 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
15980 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
15981 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
15982 # icc doesn't choke on unknown options, it will just issue warnings
15983 # or remarks (even with -Werror). So we grep stderr for any message
15984 # that says an option was ignored or not supported.
15985 # When given -MP, icc 7.0 and 7.1 complain thusly:
15986 # icc: Command line warning: ignoring option '-M'; no argument required
15987 # The diagnosis changed in icc 8.0:
15988 # icc: Command line remark: option '-MP' not supported
15989 if (grep 'ignoring option' conftest.err ||
15990 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
15991 am_cv_CXX_dependencies_compiler_type=$depmode
15998 rm -rf conftest.dir
16000 am_cv_CXX_dependencies_compiler_type=none
16004 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
16005 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
16006 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
16011 test "x$enable_dependency_tracking" != xno \
16012 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
16013 am__fastdepCXX_TRUE=
16014 am__fastdepCXX_FALSE='#'
16016 am__fastdepCXX_TRUE='#'
16017 am__fastdepCXX_FALSE=
16023 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
16024 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
16025 (test "X$CXX" != "Xg++"))) ; then
16027 ac_cpp='$CXXCPP $CPPFLAGS'
16028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16031 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16032 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16033 if test -z "$CXXCPP"; then
16034 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16035 echo $ECHO_N "(cached) $ECHO_C" >&6
16037 # Double quotes because CXXCPP needs to be expanded
16038 for CXXCPP in "$CXX -E" "/lib/cpp"
16040 ac_preproc_ok=false
16041 for ac_cxx_preproc_warn_flag in '' yes
16043 # Use a header file that comes with gcc, so configuring glibc
16044 # with a fresh cross-compiler works.
16045 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16046 # <limits.h> exists even on freestanding compilers.
16047 # On the NeXT, cc -E runs the code through the compiler's parser,
16048 # not just through cpp. "Syntax error" is here to catch this case.
16049 cat >conftest.$ac_ext <<_ACEOF
16052 cat confdefs.h >>conftest.$ac_ext
16053 cat >>conftest.$ac_ext <<_ACEOF
16054 /* end confdefs.h. */
16056 # include <limits.h>
16058 # include <assert.h>
16062 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16063 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16065 grep -v '^ *+' conftest.er1 >conftest.err
16067 cat conftest.err >&5
16068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16069 (exit $ac_status); } >/dev/null; then
16070 if test -s conftest.err; then
16071 ac_cpp_err=$ac_cxx_preproc_warn_flag
16072 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16079 if test -z "$ac_cpp_err"; then
16082 echo "$as_me: failed program was:" >&5
16083 sed 's/^/| /' conftest.$ac_ext >&5
16085 # Broken: fails on valid input.
16088 rm -f conftest.err conftest.$ac_ext
16090 # OK, works on sane cases. Now check whether non-existent headers
16091 # can be detected and how.
16092 cat >conftest.$ac_ext <<_ACEOF
16095 cat confdefs.h >>conftest.$ac_ext
16096 cat >>conftest.$ac_ext <<_ACEOF
16097 /* end confdefs.h. */
16098 #include <ac_nonexistent.h>
16100 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16101 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16103 grep -v '^ *+' conftest.er1 >conftest.err
16105 cat conftest.err >&5
16106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16107 (exit $ac_status); } >/dev/null; then
16108 if test -s conftest.err; then
16109 ac_cpp_err=$ac_cxx_preproc_warn_flag
16110 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16117 if test -z "$ac_cpp_err"; then
16118 # Broken: success on invalid input.
16121 echo "$as_me: failed program was:" >&5
16122 sed 's/^/| /' conftest.$ac_ext >&5
16124 # Passes both tests.
16128 rm -f conftest.err conftest.$ac_ext
16131 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16132 rm -f conftest.err conftest.$ac_ext
16133 if $ac_preproc_ok; then
16138 ac_cv_prog_CXXCPP=$CXXCPP
16141 CXXCPP=$ac_cv_prog_CXXCPP
16143 ac_cv_prog_CXXCPP=$CXXCPP
16145 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16146 echo "${ECHO_T}$CXXCPP" >&6
16147 ac_preproc_ok=false
16148 for ac_cxx_preproc_warn_flag in '' yes
16150 # Use a header file that comes with gcc, so configuring glibc
16151 # with a fresh cross-compiler works.
16152 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16153 # <limits.h> exists even on freestanding compilers.
16154 # On the NeXT, cc -E runs the code through the compiler's parser,
16155 # not just through cpp. "Syntax error" is here to catch this case.
16156 cat >conftest.$ac_ext <<_ACEOF
16159 cat confdefs.h >>conftest.$ac_ext
16160 cat >>conftest.$ac_ext <<_ACEOF
16161 /* end confdefs.h. */
16163 # include <limits.h>
16165 # include <assert.h>
16169 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16170 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16172 grep -v '^ *+' conftest.er1 >conftest.err
16174 cat conftest.err >&5
16175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16176 (exit $ac_status); } >/dev/null; then
16177 if test -s conftest.err; then
16178 ac_cpp_err=$ac_cxx_preproc_warn_flag
16179 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16186 if test -z "$ac_cpp_err"; then
16189 echo "$as_me: failed program was:" >&5
16190 sed 's/^/| /' conftest.$ac_ext >&5
16192 # Broken: fails on valid input.
16195 rm -f conftest.err conftest.$ac_ext
16197 # OK, works on sane cases. Now check whether non-existent headers
16198 # can be detected and how.
16199 cat >conftest.$ac_ext <<_ACEOF
16202 cat confdefs.h >>conftest.$ac_ext
16203 cat >>conftest.$ac_ext <<_ACEOF
16204 /* end confdefs.h. */
16205 #include <ac_nonexistent.h>
16207 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16208 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16210 grep -v '^ *+' conftest.er1 >conftest.err
16212 cat conftest.err >&5
16213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16214 (exit $ac_status); } >/dev/null; then
16215 if test -s conftest.err; then
16216 ac_cpp_err=$ac_cxx_preproc_warn_flag
16217 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16224 if test -z "$ac_cpp_err"; then
16225 # Broken: success on invalid input.
16228 echo "$as_me: failed program was:" >&5
16229 sed 's/^/| /' conftest.$ac_ext >&5
16231 # Passes both tests.
16235 rm -f conftest.err conftest.$ac_ext
16238 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16239 rm -f conftest.err conftest.$ac_ext
16240 if $ac_preproc_ok; then
16243 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16244 See \`config.log' for more details." >&5
16245 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16246 See \`config.log' for more details." >&2;}
16247 { (exit 1); exit 1; }; }
16251 ac_cpp='$CXXCPP $CPPFLAGS'
16252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16260 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
16261 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16262 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
16263 if test -n "$ac_tool_prefix"; then
16264 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
16266 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16267 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16268 echo "$as_me:$LINENO: checking for $ac_word" >&5
16269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16270 if test "${ac_cv_prog_F77+set}" = set; then
16271 echo $ECHO_N "(cached) $ECHO_C" >&6
16273 if test -n "$F77"; then
16274 ac_cv_prog_F77="$F77" # Let the user override the test.
16276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16277 for as_dir in $PATH
16280 test -z "$as_dir" && as_dir=.
16281 for ac_exec_ext in '' $ac_executable_extensions; do
16282 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16283 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
16284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16292 F77=$ac_cv_prog_F77
16293 if test -n "$F77"; then
16294 echo "$as_me:$LINENO: result: $F77" >&5
16295 echo "${ECHO_T}$F77" >&6
16297 echo "$as_me:$LINENO: result: no" >&5
16298 echo "${ECHO_T}no" >&6
16301 test -n "$F77" && break
16304 if test -z "$F77"; then
16306 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
16308 # Extract the first word of "$ac_prog", so it can be a program name with args.
16309 set dummy $ac_prog; ac_word=$2
16310 echo "$as_me:$LINENO: checking for $ac_word" >&5
16311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16312 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
16313 echo $ECHO_N "(cached) $ECHO_C" >&6
16315 if test -n "$ac_ct_F77"; then
16316 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
16318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16319 for as_dir in $PATH
16322 test -z "$as_dir" && as_dir=.
16323 for ac_exec_ext in '' $ac_executable_extensions; do
16324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16325 ac_cv_prog_ac_ct_F77="$ac_prog"
16326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16334 ac_ct_F77=$ac_cv_prog_ac_ct_F77
16335 if test -n "$ac_ct_F77"; then
16336 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
16337 echo "${ECHO_T}$ac_ct_F77" >&6
16339 echo "$as_me:$LINENO: result: no" >&5
16340 echo "${ECHO_T}no" >&6
16343 test -n "$ac_ct_F77" && break
16350 # Provide some information about the compiler.
16351 echo "$as_me:16351:" \
16352 "checking for Fortran 77 compiler version" >&5
16353 ac_compiler=`set X $ac_compile; echo $2`
16354 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
16355 (eval $ac_compiler --version </dev/null >&5) 2>&5
16357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16358 (exit $ac_status); }
16359 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
16360 (eval $ac_compiler -v </dev/null >&5) 2>&5
16362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16363 (exit $ac_status); }
16364 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
16365 (eval $ac_compiler -V </dev/null >&5) 2>&5
16367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16368 (exit $ac_status); }
16371 # If we don't use `.F' as extension, the preprocessor is not run on the
16372 # input file. (Note that this only needs to work for GNU compilers.)
16373 ac_save_ext=$ac_ext
16375 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
16376 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
16377 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
16378 echo $ECHO_N "(cached) $ECHO_C" >&6
16380 cat >conftest.$ac_ext <<_ACEOF
16388 rm -f conftest.$ac_objext
16389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16390 (eval $ac_compile) 2>conftest.er1
16392 grep -v '^ *+' conftest.er1 >conftest.err
16394 cat conftest.err >&5
16395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16396 (exit $ac_status); } &&
16397 { ac_try='test -z "$ac_f77_werror_flag"
16398 || test ! -s conftest.err'
16399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16400 (eval $ac_try) 2>&5
16402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); }; } &&
16404 { ac_try='test -s conftest.$ac_objext'
16405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16406 (eval $ac_try) 2>&5
16408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16409 (exit $ac_status); }; }; then
16410 ac_compiler_gnu=yes
16412 echo "$as_me: failed program was:" >&5
16413 sed 's/^/| /' conftest.$ac_ext >&5
16417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16418 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
16421 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
16422 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
16423 ac_ext=$ac_save_ext
16424 ac_test_FFLAGS=${FFLAGS+set}
16425 ac_save_FFLAGS=$FFLAGS
16427 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
16428 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
16429 if test "${ac_cv_prog_f77_g+set}" = set; then
16430 echo $ECHO_N "(cached) $ECHO_C" >&6
16433 cat >conftest.$ac_ext <<_ACEOF
16438 rm -f conftest.$ac_objext
16439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16440 (eval $ac_compile) 2>conftest.er1
16442 grep -v '^ *+' conftest.er1 >conftest.err
16444 cat conftest.err >&5
16445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16446 (exit $ac_status); } &&
16447 { ac_try='test -z "$ac_f77_werror_flag"
16448 || test ! -s conftest.err'
16449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16450 (eval $ac_try) 2>&5
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); }; } &&
16454 { ac_try='test -s conftest.$ac_objext'
16455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16456 (eval $ac_try) 2>&5
16458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459 (exit $ac_status); }; }; then
16460 ac_cv_prog_f77_g=yes
16462 echo "$as_me: failed program was:" >&5
16463 sed 's/^/| /' conftest.$ac_ext >&5
16465 ac_cv_prog_f77_g=no
16467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16470 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
16471 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
16472 if test "$ac_test_FFLAGS" = set; then
16473 FFLAGS=$ac_save_FFLAGS
16474 elif test $ac_cv_prog_f77_g = yes; then
16475 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
16481 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
16488 G77=`test $ac_compiler_gnu = yes && echo yes`
16490 ac_cpp='$CPP $CPPFLAGS'
16491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16497 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
16499 # find the maximum length of command line arguments
16500 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
16501 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
16502 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
16503 echo $ECHO_N "(cached) $ECHO_C" >&6
16510 # On DJGPP, this test can blow up pretty badly due to problems in libc
16511 # (any single argument exceeding 2000 bytes causes a buffer overrun
16512 # during glob expansion). Even if it were fixed, the result of this
16513 # check would be larger than it should be.
16514 lt_cv_sys_max_cmd_len=12288; # 12K is about right
16518 # Under GNU Hurd, this test is not required because there is
16519 # no limit to the length of command line arguments.
16520 # Libtool will interpret -1 as no limit whatsoever
16521 lt_cv_sys_max_cmd_len=-1;
16525 # On Win9x/ME, this test blows up -- it succeeds, but takes
16526 # about 5 minutes as the teststring grows exponentially.
16527 # Worse, since 9x/ME are not pre-emptively multitasking,
16528 # you end up with a "frozen" computer, even though with patience
16529 # the test eventually succeeds (with a max line length of 256k).
16530 # Instead, let's just punt: use the minimum linelength reported by
16531 # all of the supported platforms: 8192 (on NT/2K/XP).
16532 lt_cv_sys_max_cmd_len=8192;
16536 # On AmigaOS with pdksh, this test takes hours, literally.
16537 # So we just punt and use a minimum line length of 8192.
16538 lt_cv_sys_max_cmd_len=8192;
16541 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
16542 # This has been around since 386BSD, at least. Likely further.
16543 if test -x /sbin/sysctl; then
16544 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
16545 elif test -x /usr/sbin/sysctl; then
16546 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
16548 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
16550 # And add a safety zone
16551 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
16552 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
16555 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
16556 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
16557 # nice to cause kernel panics so lets avoid the loop below.
16558 # First set a reasonable default.
16559 lt_cv_sys_max_cmd_len=16384
16561 if test -x /sbin/sysconfig; then
16562 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
16563 *1*) lt_cv_sys_max_cmd_len=-1 ;;
16568 # If test is not a shell built-in, we'll probably end up computing a
16569 # maximum length that is only half of the actual maximum length, but
16571 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
16572 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
16573 = "XX$teststring") >/dev/null 2>&1 &&
16574 new_result=`expr "X$teststring" : ".*" 2>&1` &&
16575 lt_cv_sys_max_cmd_len=$new_result &&
16576 test $i != 17 # 1/2 MB should be enough
16579 teststring=$teststring$teststring
16582 # Add a significant safety factor because C++ compilers can tack on massive
16583 # amounts of additional arguments before passing them to the linker.
16584 # It appears as though 1/2 is a usable value.
16585 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
16591 if test -n $lt_cv_sys_max_cmd_len ; then
16592 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
16593 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
16595 echo "$as_me:$LINENO: result: none" >&5
16596 echo "${ECHO_T}none" >&6
16602 # Check for command to grab the raw symbol name followed by C symbol from nm.
16603 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
16604 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
16605 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
16606 echo $ECHO_N "(cached) $ECHO_C" >&6
16609 # These are sane defaults that work on at least a few old systems.
16610 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
16612 # Character class describing NM global symbol codes.
16613 symcode='[BCDEGRST]'
16615 # Regexp to match symbols that can be accessed directly from C.
16616 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
16618 # Transform an extracted symbol line into a proper C declaration
16619 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
16621 # Transform an extracted symbol line into symbol name and symbol address
16622 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
16624 # Define system-specific variables.
16629 cygwin* | mingw* | pw32*)
16630 symcode='[ABCDGISTW]'
16632 hpux*) # Its linker distinguishes data from code symbols
16633 if test "$host_cpu" = ia64; then
16634 symcode='[ABCDEGRST]'
16636 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
16637 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
16640 if test "$host_cpu" = ia64; then
16641 symcode='[ABCDGIRSTW]'
16642 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
16643 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
16646 irix* | nonstopux*)
16647 symcode='[BCDEGRST]'
16650 symcode='[BCDEGQRST]'
16660 # Handle CRLF in mingw tool chain
16664 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
16668 # If we're using GNU nm, then use its standard symbol codes.
16669 case `$NM -V 2>&1` in
16670 *GNU* | *'with BFD'*)
16671 symcode='[ABCDGIRSTW]' ;;
16674 # Try without a prefix undercore, then with it.
16675 for ac_symprfx in "" "_"; do
16677 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
16678 symxfrm="\\1 $ac_symprfx\\2 \\2"
16680 # Write the raw and C identifiers.
16681 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
16683 # Check to see that the pipe works correctly.
16687 cat > conftest.$ac_ext <<EOF
16692 void nm_test_func(){}
16696 int main(){nm_test_var='a';nm_test_func();return(0);}
16699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16700 (eval $ac_compile) 2>&5
16702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16703 (exit $ac_status); }; then
16704 # Now try to grab the symbols.
16706 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
16707 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
16709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16710 (exit $ac_status); } && test -s "$nlist"; then
16711 # Try sorting and uniquifying the output.
16712 if sort "$nlist" | uniq > "$nlist"T; then
16713 mv -f "$nlist"T "$nlist"
16718 # Make sure that we snagged all the symbols we need.
16719 if grep ' nm_test_var$' "$nlist" >/dev/null; then
16720 if grep ' nm_test_func$' "$nlist" >/dev/null; then
16721 cat <<EOF > conftest.$ac_ext
16727 # Now generate the symbol file.
16728 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
16730 cat <<EOF >> conftest.$ac_ext
16731 #if defined (__STDC__) && __STDC__
16732 # define lt_ptr_t void *
16734 # define lt_ptr_t char *
16738 /* The mapping between symbol names and symbols. */
16743 lt_preloaded_symbols[] =
16746 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
16747 cat <<\EOF >> conftest.$ac_ext
16755 # Now try linking the two files.
16756 mv conftest.$ac_objext conftstm.$ac_objext
16757 lt_save_LIBS="$LIBS"
16758 lt_save_CFLAGS="$CFLAGS"
16759 LIBS="conftstm.$ac_objext"
16760 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
16761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16762 (eval $ac_link) 2>&5
16764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16765 (exit $ac_status); } && test -s conftest${ac_exeext}; then
16768 LIBS="$lt_save_LIBS"
16769 CFLAGS="$lt_save_CFLAGS"
16771 echo "cannot find nm_test_func in $nlist" >&5
16774 echo "cannot find nm_test_var in $nlist" >&5
16777 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
16780 echo "$progname: failed program was:" >&5
16781 cat conftest.$ac_ext >&5
16783 rm -f conftest* conftst*
16785 # Do not use the global_symbol_pipe unless it works.
16786 if test "$pipe_works" = yes; then
16789 lt_cv_sys_global_symbol_pipe=
16795 if test -z "$lt_cv_sys_global_symbol_pipe"; then
16796 lt_cv_sys_global_symbol_to_cdecl=
16798 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
16799 echo "$as_me:$LINENO: result: failed" >&5
16800 echo "${ECHO_T}failed" >&6
16802 echo "$as_me:$LINENO: result: ok" >&5
16803 echo "${ECHO_T}ok" >&6
16806 echo "$as_me:$LINENO: checking for objdir" >&5
16807 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
16808 if test "${lt_cv_objdir+set}" = set; then
16809 echo $ECHO_N "(cached) $ECHO_C" >&6
16811 rm -f .libs 2>/dev/null
16812 mkdir .libs 2>/dev/null
16813 if test -d .libs; then
16816 # MS-DOS does not allow filenames that begin with a dot.
16819 rmdir .libs 2>/dev/null
16821 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
16822 echo "${ECHO_T}$lt_cv_objdir" >&6
16823 objdir=$lt_cv_objdir
16831 # AIX sometimes has problems with the GCC collect2 program. For some
16832 # reason, if we set the COLLECT_NAMES environment variable, the problems
16833 # vanish in a puff of smoke.
16834 if test "X${COLLECT_NAMES+set}" != Xset; then
16836 export COLLECT_NAMES
16841 # Sed substitution that helps us do robust quoting. It backslashifies
16842 # metacharacters that are still active within double-quoted strings.
16843 Xsed='sed -e 1s/^X//'
16844 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
16846 # Same as above, but do not quote variable references.
16847 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
16849 # Sed substitution to delay expansion of an escaped shell variable in a
16850 # double_quote_subst'ed string.
16851 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
16853 # Sed substitution to avoid accidental globbing in evaled expressions
16854 no_glob_subst='s/\*/\\\*/g'
16859 # Global variables:
16860 default_ofile=libtool
16861 can_build_shared=yes
16863 # All known linkers require a `.a' archive for static linking (except MSVC,
16864 # which needs '.lib').
16866 ltmain="$ac_aux_dir/ltmain.sh"
16867 ofile="$default_ofile"
16868 with_gnu_ld="$lt_cv_prog_gnu_ld"
16870 if test -n "$ac_tool_prefix"; then
16871 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16872 set dummy ${ac_tool_prefix}ar; ac_word=$2
16873 echo "$as_me:$LINENO: checking for $ac_word" >&5
16874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16875 if test "${ac_cv_prog_AR+set}" = set; then
16876 echo $ECHO_N "(cached) $ECHO_C" >&6
16878 if test -n "$AR"; then
16879 ac_cv_prog_AR="$AR" # Let the user override the test.
16881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16882 for as_dir in $PATH
16885 test -z "$as_dir" && as_dir=.
16886 for ac_exec_ext in '' $ac_executable_extensions; do
16887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16888 ac_cv_prog_AR="${ac_tool_prefix}ar"
16889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16898 if test -n "$AR"; then
16899 echo "$as_me:$LINENO: result: $AR" >&5
16900 echo "${ECHO_T}$AR" >&6
16902 echo "$as_me:$LINENO: result: no" >&5
16903 echo "${ECHO_T}no" >&6
16907 if test -z "$ac_cv_prog_AR"; then
16909 # Extract the first word of "ar", so it can be a program name with args.
16910 set dummy ar; ac_word=$2
16911 echo "$as_me:$LINENO: checking for $ac_word" >&5
16912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16913 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16914 echo $ECHO_N "(cached) $ECHO_C" >&6
16916 if test -n "$ac_ct_AR"; then
16917 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
16919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16920 for as_dir in $PATH
16923 test -z "$as_dir" && as_dir=.
16924 for ac_exec_ext in '' $ac_executable_extensions; do
16925 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16926 ac_cv_prog_ac_ct_AR="ar"
16927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16933 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
16936 ac_ct_AR=$ac_cv_prog_ac_ct_AR
16937 if test -n "$ac_ct_AR"; then
16938 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16939 echo "${ECHO_T}$ac_ct_AR" >&6
16941 echo "$as_me:$LINENO: result: no" >&5
16942 echo "${ECHO_T}no" >&6
16947 AR="$ac_cv_prog_AR"
16950 if test -n "$ac_tool_prefix"; then
16951 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16952 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
16953 echo "$as_me:$LINENO: checking for $ac_word" >&5
16954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16955 if test "${ac_cv_prog_RANLIB+set}" = set; then
16956 echo $ECHO_N "(cached) $ECHO_C" >&6
16958 if test -n "$RANLIB"; then
16959 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
16961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16962 for as_dir in $PATH
16965 test -z "$as_dir" && as_dir=.
16966 for ac_exec_ext in '' $ac_executable_extensions; do
16967 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16968 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
16969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16977 RANLIB=$ac_cv_prog_RANLIB
16978 if test -n "$RANLIB"; then
16979 echo "$as_me:$LINENO: result: $RANLIB" >&5
16980 echo "${ECHO_T}$RANLIB" >&6
16982 echo "$as_me:$LINENO: result: no" >&5
16983 echo "${ECHO_T}no" >&6
16987 if test -z "$ac_cv_prog_RANLIB"; then
16988 ac_ct_RANLIB=$RANLIB
16989 # Extract the first word of "ranlib", so it can be a program name with args.
16990 set dummy ranlib; ac_word=$2
16991 echo "$as_me:$LINENO: checking for $ac_word" >&5
16992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16993 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16994 echo $ECHO_N "(cached) $ECHO_C" >&6
16996 if test -n "$ac_ct_RANLIB"; then
16997 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
16999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17000 for as_dir in $PATH
17003 test -z "$as_dir" && as_dir=.
17004 for ac_exec_ext in '' $ac_executable_extensions; do
17005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17006 ac_cv_prog_ac_ct_RANLIB="ranlib"
17007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17013 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
17016 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
17017 if test -n "$ac_ct_RANLIB"; then
17018 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
17019 echo "${ECHO_T}$ac_ct_RANLIB" >&6
17021 echo "$as_me:$LINENO: result: no" >&5
17022 echo "${ECHO_T}no" >&6
17025 RANLIB=$ac_ct_RANLIB
17027 RANLIB="$ac_cv_prog_RANLIB"
17030 if test -n "$ac_tool_prefix"; then
17031 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
17032 set dummy ${ac_tool_prefix}strip; ac_word=$2
17033 echo "$as_me:$LINENO: checking for $ac_word" >&5
17034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17035 if test "${ac_cv_prog_STRIP+set}" = set; then
17036 echo $ECHO_N "(cached) $ECHO_C" >&6
17038 if test -n "$STRIP"; then
17039 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
17041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17042 for as_dir in $PATH
17045 test -z "$as_dir" && as_dir=.
17046 for ac_exec_ext in '' $ac_executable_extensions; do
17047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17048 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
17049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17057 STRIP=$ac_cv_prog_STRIP
17058 if test -n "$STRIP"; then
17059 echo "$as_me:$LINENO: result: $STRIP" >&5
17060 echo "${ECHO_T}$STRIP" >&6
17062 echo "$as_me:$LINENO: result: no" >&5
17063 echo "${ECHO_T}no" >&6
17067 if test -z "$ac_cv_prog_STRIP"; then
17069 # Extract the first word of "strip", so it can be a program name with args.
17070 set dummy strip; ac_word=$2
17071 echo "$as_me:$LINENO: checking for $ac_word" >&5
17072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17073 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
17074 echo $ECHO_N "(cached) $ECHO_C" >&6
17076 if test -n "$ac_ct_STRIP"; then
17077 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
17079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17080 for as_dir in $PATH
17083 test -z "$as_dir" && as_dir=.
17084 for ac_exec_ext in '' $ac_executable_extensions; do
17085 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17086 ac_cv_prog_ac_ct_STRIP="strip"
17087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17093 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
17096 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
17097 if test -n "$ac_ct_STRIP"; then
17098 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
17099 echo "${ECHO_T}$ac_ct_STRIP" >&6
17101 echo "$as_me:$LINENO: result: no" >&5
17102 echo "${ECHO_T}no" >&6
17107 STRIP="$ac_cv_prog_STRIP"
17112 old_CFLAGS="$CFLAGS"
17114 # Set sane defaults for various variables
17115 test -z "$AR" && AR=ar
17116 test -z "$AR_FLAGS" && AR_FLAGS=cru
17117 test -z "$AS" && AS=as
17118 test -z "$CC" && CC=cc
17119 test -z "$LTCC" && LTCC=$CC
17120 test -z "$DLLTOOL" && DLLTOOL=dlltool
17121 test -z "$LD" && LD=ld
17122 test -z "$LN_S" && LN_S="ln -s"
17123 test -z "$MAGIC_CMD" && MAGIC_CMD=file
17124 test -z "$NM" && NM=nm
17125 test -z "$SED" && SED=sed
17126 test -z "$OBJDUMP" && OBJDUMP=objdump
17127 test -z "$RANLIB" && RANLIB=:
17128 test -z "$STRIP" && STRIP=:
17129 test -z "$ac_objext" && ac_objext=o
17131 # Determine commands to create old-style static archives.
17132 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
17133 old_postinstall_cmds='chmod 644 $oldlib'
17134 old_postuninstall_cmds=
17136 if test -n "$RANLIB"; then
17139 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
17142 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
17145 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
17148 for cc_temp in $compiler""; do
17150 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17151 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17156 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17159 # Only perform the check for file, if the check method requires it
17160 case $deplibs_check_method in
17162 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
17163 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
17164 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
17165 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
17166 echo $ECHO_N "(cached) $ECHO_C" >&6
17170 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
17173 lt_save_MAGIC_CMD="$MAGIC_CMD"
17174 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
17175 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
17176 for ac_dir in $ac_dummy; do
17178 test -z "$ac_dir" && ac_dir=.
17179 if test -f $ac_dir/${ac_tool_prefix}file; then
17180 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
17181 if test -n "$file_magic_test_file"; then
17182 case $deplibs_check_method in
17184 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
17185 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
17186 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
17187 $EGREP "$file_magic_regex" > /dev/null; then
17192 *** Warning: the command libtool uses to detect shared libraries,
17193 *** $file_magic_cmd, produces output that libtool cannot recognize.
17194 *** The result is that libtool may fail to recognize shared libraries
17195 *** as such. This will affect the creation of libtool libraries that
17196 *** depend on shared libraries, but programs linked with such libtool
17197 *** libraries will work regardless of this problem. Nevertheless, you
17198 *** may want to report the problem to your system manager and/or to
17199 *** bug-libtool@gnu.org
17209 MAGIC_CMD="$lt_save_MAGIC_CMD"
17214 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
17215 if test -n "$MAGIC_CMD"; then
17216 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
17217 echo "${ECHO_T}$MAGIC_CMD" >&6
17219 echo "$as_me:$LINENO: result: no" >&5
17220 echo "${ECHO_T}no" >&6
17223 if test -z "$lt_cv_path_MAGIC_CMD"; then
17224 if test -n "$ac_tool_prefix"; then
17225 echo "$as_me:$LINENO: checking for file" >&5
17226 echo $ECHO_N "checking for file... $ECHO_C" >&6
17227 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
17228 echo $ECHO_N "(cached) $ECHO_C" >&6
17232 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
17235 lt_save_MAGIC_CMD="$MAGIC_CMD"
17236 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
17237 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
17238 for ac_dir in $ac_dummy; do
17240 test -z "$ac_dir" && ac_dir=.
17241 if test -f $ac_dir/file; then
17242 lt_cv_path_MAGIC_CMD="$ac_dir/file"
17243 if test -n "$file_magic_test_file"; then
17244 case $deplibs_check_method in
17246 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
17247 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
17248 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
17249 $EGREP "$file_magic_regex" > /dev/null; then
17254 *** Warning: the command libtool uses to detect shared libraries,
17255 *** $file_magic_cmd, produces output that libtool cannot recognize.
17256 *** The result is that libtool may fail to recognize shared libraries
17257 *** as such. This will affect the creation of libtool libraries that
17258 *** depend on shared libraries, but programs linked with such libtool
17259 *** libraries will work regardless of this problem. Nevertheless, you
17260 *** may want to report the problem to your system manager and/or to
17261 *** bug-libtool@gnu.org
17271 MAGIC_CMD="$lt_save_MAGIC_CMD"
17276 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
17277 if test -n "$MAGIC_CMD"; then
17278 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
17279 echo "${ECHO_T}$MAGIC_CMD" >&6
17281 echo "$as_me:$LINENO: result: no" >&5
17282 echo "${ECHO_T}no" >&6
17295 enable_win32_dll=no
17297 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
17298 if test "${enable_libtool_lock+set}" = set; then
17299 enableval="$enable_libtool_lock"
17302 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
17305 # Check whether --with-pic or --without-pic was given.
17306 if test "${with_pic+set}" = set; then
17307 withval="$with_pic"
17308 pic_mode="$withval"
17312 test -z "$pic_mode" && pic_mode=default
17314 # Use C for the default configuration in the libtool script
17318 ac_cpp='$CPP $CPPFLAGS'
17319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17324 # Source file extension for C test sources.
17327 # Object file extension for compiled C test sources.
17331 # Code to be used in simple compile tests
17332 lt_simple_compile_test_code="int some_variable = 0;\n"
17334 # Code to be used in simple link tests
17335 lt_simple_link_test_code='int main(){return(0);}\n'
17338 # If no C compiler was specified, use CC.
17341 # Allow CC to be a program name with arguments.
17345 # save warnings/boilerplate of simple test code
17346 ac_outfile=conftest.$ac_objext
17347 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
17348 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
17349 _lt_compiler_boilerplate=`cat conftest.err`
17352 ac_outfile=conftest.$ac_objext
17353 printf "$lt_simple_link_test_code" >conftest.$ac_ext
17354 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
17355 _lt_linker_boilerplate=`cat conftest.err`
17360 # Check for any special shared library compilation flags.
17363 if test "$GCC" = no; then
17366 lt_prog_cc_shlib='-belf'
17370 if test -n "$lt_prog_cc_shlib"; then
17371 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
17372 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
17373 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
17375 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
17376 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
17377 lt_cv_prog_cc_can_build_shared=no
17383 # Check to make sure the static flag actually works.
17385 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
17386 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
17387 if test "${lt_prog_compiler_static_works+set}" = set; then
17388 echo $ECHO_N "(cached) $ECHO_C" >&6
17390 lt_prog_compiler_static_works=no
17391 save_LDFLAGS="$LDFLAGS"
17392 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
17393 printf "$lt_simple_link_test_code" > conftest.$ac_ext
17394 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17395 # The linker can only warn and ignore the option if not recognized
17396 # So say no if there are warnings
17397 if test -s conftest.err; then
17398 # Append any errors to the config.log.
17399 cat conftest.err 1>&5
17400 $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
17401 $SED '/^$/d' conftest.err >conftest.er2
17402 if diff conftest.exp conftest.er2 >/dev/null; then
17403 lt_prog_compiler_static_works=yes
17406 lt_prog_compiler_static_works=yes
17410 LDFLAGS="$save_LDFLAGS"
17413 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
17414 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
17416 if test x"$lt_prog_compiler_static_works" = xyes; then
17419 lt_prog_compiler_static=
17425 lt_prog_compiler_no_builtin_flag=
17427 if test "$GCC" = yes; then
17428 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
17431 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17432 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
17433 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17434 echo $ECHO_N "(cached) $ECHO_C" >&6
17436 lt_cv_prog_compiler_rtti_exceptions=no
17437 ac_outfile=conftest.$ac_objext
17438 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17439 lt_compiler_flag="-fno-rtti -fno-exceptions"
17440 # Insert the option either (1) after the last *FLAGS variable, or
17441 # (2) before a word containing "conftest.", or (3) at the end.
17442 # Note that $ac_compile itself does not contain backslashes and begins
17443 # with a dollar sign (not a hyphen), so the echo should work correctly.
17444 # The option is referenced via a variable to avoid confusing sed.
17445 lt_compile=`echo "$ac_compile" | $SED \
17446 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17447 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17448 -e 's:$: $lt_compiler_flag:'`
17449 (eval echo "\"\$as_me:17449: $lt_compile\"" >&5)
17450 (eval "$lt_compile" 2>conftest.err)
17452 cat conftest.err >&5
17453 echo "$as_me:17453: \$? = $ac_status" >&5
17454 if (exit $ac_status) && test -s "$ac_outfile"; then
17455 # The compiler can only warn and ignore the option if not recognized
17456 # So say no if there are warnings other than the usual output.
17457 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
17458 $SED '/^$/d' conftest.err >conftest.er2
17459 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
17460 lt_cv_prog_compiler_rtti_exceptions=yes
17466 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17467 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
17469 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
17470 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
17477 lt_prog_compiler_wl=
17478 lt_prog_compiler_pic=
17479 lt_prog_compiler_static=
17481 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17482 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17484 if test "$GCC" = yes; then
17485 lt_prog_compiler_wl='-Wl,'
17486 lt_prog_compiler_static='-static'
17490 # All AIX code is PIC.
17491 if test "$host_cpu" = ia64; then
17492 # AIX 5 now supports IA64 processor
17493 lt_prog_compiler_static='-Bstatic'
17498 # FIXME: we need at least 68020 code to build shared libraries, but
17499 # adding the `-m68020' flag to GCC prevents building anything better,
17501 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
17504 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17505 # PIC is the default for these OSes.
17508 mingw* | pw32* | os2*)
17509 # This hack is so that the source file can tell whether it is being
17510 # built for inclusion in a dll (and should export symbols for example).
17511 lt_prog_compiler_pic='-DDLL_EXPORT'
17514 darwin* | rhapsody*)
17515 # PIC is the default on this platform
17516 # Common symbols not allowed in MH_DYLIB files
17517 lt_prog_compiler_pic='-fno-common'
17521 # Just because we use GCC doesn't mean we suddenly get shared libraries
17522 # on systems that don't support them.
17523 lt_prog_compiler_can_build_shared=no
17528 if test -d /usr/nec; then
17529 lt_prog_compiler_pic=-Kconform_pic
17534 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17535 # not for PA HP-UX.
17541 lt_prog_compiler_pic='-fPIC'
17547 lt_prog_compiler_pic='-fPIC'
17551 # PORTME Check for flag to pass linker flags through the system compiler.
17554 lt_prog_compiler_wl='-Wl,'
17555 if test "$host_cpu" = ia64; then
17556 # AIX 5 now supports IA64 processor
17557 lt_prog_compiler_static='-Bstatic'
17559 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
17563 # PIC is the default on this platform
17564 # Common symbols not allowed in MH_DYLIB files
17565 case $cc_basename in
17567 lt_prog_compiler_pic='-qnocommon'
17568 lt_prog_compiler_wl='-Wl,'
17573 mingw* | pw32* | os2*)
17574 # This hack is so that the source file can tell whether it is being
17575 # built for inclusion in a dll (and should export symbols for example).
17576 lt_prog_compiler_pic='-DDLL_EXPORT'
17579 hpux9* | hpux10* | hpux11*)
17580 lt_prog_compiler_wl='-Wl,'
17581 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17582 # not for PA HP-UX.
17588 lt_prog_compiler_pic='+Z'
17591 # Is there a better lt_prog_compiler_static that works with the bundled CC?
17592 lt_prog_compiler_static='${wl}-a ${wl}archive'
17595 irix5* | irix6* | nonstopux*)
17596 lt_prog_compiler_wl='-Wl,'
17597 # PIC (with -KPIC) is the default.
17598 lt_prog_compiler_static='-non_shared'
17602 lt_prog_compiler_pic='-KPIC'
17603 lt_prog_compiler_static='-Bstatic'
17607 case $cc_basename in
17609 lt_prog_compiler_wl='-Wl,'
17610 lt_prog_compiler_pic='-KPIC'
17611 lt_prog_compiler_static='-static'
17613 pgcc* | pgf77* | pgf90* | pgf95*)
17614 # Portland Group compilers (*not* the Pentium gcc compiler,
17615 # which looks to be a dead project)
17616 lt_prog_compiler_wl='-Wl,'
17617 lt_prog_compiler_pic='-fpic'
17618 lt_prog_compiler_static='-Bstatic'
17621 lt_prog_compiler_wl='-Wl,'
17622 # All Alpha code is PIC.
17623 lt_prog_compiler_static='-non_shared'
17628 osf3* | osf4* | osf5*)
17629 lt_prog_compiler_wl='-Wl,'
17630 # All OSF/1 code is PIC.
17631 lt_prog_compiler_static='-non_shared'
17635 lt_prog_compiler_pic='-Kpic'
17636 lt_prog_compiler_static='-dn'
17640 lt_prog_compiler_pic='-KPIC'
17641 lt_prog_compiler_static='-Bstatic'
17642 case $cc_basename in
17643 f77* | f90* | f95*)
17644 lt_prog_compiler_wl='-Qoption ld ';;
17646 lt_prog_compiler_wl='-Wl,';;
17651 lt_prog_compiler_wl='-Qoption ld '
17652 lt_prog_compiler_pic='-PIC'
17653 lt_prog_compiler_static='-Bstatic'
17656 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
17657 lt_prog_compiler_wl='-Wl,'
17658 lt_prog_compiler_pic='-KPIC'
17659 lt_prog_compiler_static='-Bstatic'
17663 if test -d /usr/nec ;then
17664 lt_prog_compiler_pic='-Kconform_pic'
17665 lt_prog_compiler_static='-Bstatic'
17670 lt_prog_compiler_wl='-Wl,'
17671 lt_prog_compiler_can_build_shared=no
17675 lt_prog_compiler_pic='-pic'
17676 lt_prog_compiler_static='-Bstatic'
17680 lt_prog_compiler_can_build_shared=no
17685 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
17686 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
17689 # Check to make sure the PIC flag actually works.
17691 if test -n "$lt_prog_compiler_pic"; then
17693 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
17694 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
17695 if test "${lt_prog_compiler_pic_works+set}" = set; then
17696 echo $ECHO_N "(cached) $ECHO_C" >&6
17698 lt_prog_compiler_pic_works=no
17699 ac_outfile=conftest.$ac_objext
17700 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17701 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
17702 # Insert the option either (1) after the last *FLAGS variable, or
17703 # (2) before a word containing "conftest.", or (3) at the end.
17704 # Note that $ac_compile itself does not contain backslashes and begins
17705 # with a dollar sign (not a hyphen), so the echo should work correctly.
17706 # The option is referenced via a variable to avoid confusing sed.
17707 lt_compile=`echo "$ac_compile" | $SED \
17708 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17709 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17710 -e 's:$: $lt_compiler_flag:'`
17711 (eval echo "\"\$as_me:17711: $lt_compile\"" >&5)
17712 (eval "$lt_compile" 2>conftest.err)
17714 cat conftest.err >&5
17715 echo "$as_me:17715: \$? = $ac_status" >&5
17716 if (exit $ac_status) && test -s "$ac_outfile"; then
17717 # The compiler can only warn and ignore the option if not recognized
17718 # So say no if there are warnings other than the usual output.
17719 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
17720 $SED '/^$/d' conftest.err >conftest.er2
17721 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
17722 lt_prog_compiler_pic_works=yes
17728 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
17729 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
17731 if test x"$lt_prog_compiler_pic_works" = xyes; then
17732 case $lt_prog_compiler_pic in
17734 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
17737 lt_prog_compiler_pic=
17738 lt_prog_compiler_can_build_shared=no
17743 # For platforms which do not support PIC, -DPIC is meaningless:
17745 lt_prog_compiler_pic=
17748 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
17752 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17753 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
17754 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
17755 echo $ECHO_N "(cached) $ECHO_C" >&6
17757 lt_cv_prog_compiler_c_o=no
17758 $rm -r conftest 2>/dev/null
17762 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17764 lt_compiler_flag="-o out/conftest2.$ac_objext"
17765 # Insert the option either (1) after the last *FLAGS variable, or
17766 # (2) before a word containing "conftest.", or (3) at the end.
17767 # Note that $ac_compile itself does not contain backslashes and begins
17768 # with a dollar sign (not a hyphen), so the echo should work correctly.
17769 lt_compile=`echo "$ac_compile" | $SED \
17770 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17771 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17772 -e 's:$: $lt_compiler_flag:'`
17773 (eval echo "\"\$as_me:17773: $lt_compile\"" >&5)
17774 (eval "$lt_compile" 2>out/conftest.err)
17776 cat out/conftest.err >&5
17777 echo "$as_me:17777: \$? = $ac_status" >&5
17778 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17780 # The compiler can only warn and ignore the option if not recognized
17781 # So say no if there are warnings
17782 $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
17783 $SED '/^$/d' out/conftest.err >out/conftest.er2
17784 if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17785 lt_cv_prog_compiler_c_o=yes
17790 # SGI C++ compiler will create directory out/ii_files/ for
17791 # template instantiation
17792 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17793 $rm out/* && rmdir out
17799 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
17800 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
17803 hard_links="nottested"
17804 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
17805 # do not overwrite the value of need_locks provided by the user
17806 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17807 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
17810 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17812 ln conftest.a conftest.b 2>&5 || hard_links=no
17813 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17814 echo "$as_me:$LINENO: result: $hard_links" >&5
17815 echo "${ECHO_T}$hard_links" >&6
17816 if test "$hard_links" = no; then
17817 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17818 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17825 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17826 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
17829 allow_undefined_flag=
17830 enable_shared_with_static_runtimes=no
17832 archive_expsym_cmds=
17833 old_archive_From_new_cmds=
17834 old_archive_from_expsyms_cmds=
17835 export_dynamic_flag_spec=
17836 whole_archive_flag_spec=
17837 thread_safe_flag_spec=
17838 hardcode_libdir_flag_spec=
17839 hardcode_libdir_flag_spec_ld=
17840 hardcode_libdir_separator=
17842 hardcode_minus_L=no
17843 hardcode_shlibpath_var=unsupported
17844 link_all_deplibs=unknown
17845 hardcode_automatic=no
17847 module_expsym_cmds=
17848 always_export_symbols=no
17849 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17850 # include_expsyms should be a list of space-separated symbols to be *always*
17851 # included in the symbol list
17853 # exclude_expsyms can be an extended regexp of symbols to exclude
17854 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17855 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17856 # as well as any symbol that contains `d'.
17857 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
17858 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17859 # platforms (ab)use it in PIC code, but their linkers get confused if
17860 # the symbol is explicitly referenced. Since portable code cannot
17861 # rely on this symbol name, it's probably fine to never include it in
17862 # preloaded symbol tables.
17863 extract_expsyms_cmds=
17864 # Just being paranoid about ensuring that cc_basename is set.
17865 for cc_temp in $compiler""; do
17867 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17868 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17873 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17876 cygwin* | mingw* | pw32*)
17877 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17878 # When not using gcc, we currently assume that we are using
17879 # Microsoft Visual C++.
17880 if test "$GCC" != yes; then
17890 if test "$with_gnu_ld" = yes; then
17891 # If archive_cmds runs LD, not CC, wlarc should be empty
17894 # Set some defaults for GNU ld with shared library support. These
17895 # are reset later if shared libraries are not supported. Putting them
17896 # here allows them to be overridden if necessary.
17897 runpath_var=LD_RUN_PATH
17898 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
17899 export_dynamic_flag_spec='${wl}--export-dynamic'
17900 # ancient GNU ld didn't support --whole-archive et. al.
17901 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17902 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17904 whole_archive_flag_spec=
17906 supports_anon_versioning=no
17907 case `$LD -v 2>/dev/null` in
17908 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17909 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17910 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17911 *\ 2.11.*) ;; # other 2.11 versions
17912 *) supports_anon_versioning=yes ;;
17915 # See if GNU ld supports shared libraries.
17917 aix3* | aix4* | aix5*)
17918 # On AIX/PPC, the GNU linker is very broken
17919 if test "$host_cpu" != ia64; then
17923 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17924 *** to be unable to reliably create shared libraries on AIX.
17925 *** Therefore, libtool is disabling shared libraries support. If you
17926 *** really care for shared libraries, you may want to modify your PATH
17927 *** so that a non-GNU linker is found, and then restart.
17934 archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
17935 hardcode_libdir_flag_spec='-L$libdir'
17936 hardcode_minus_L=yes
17938 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17939 # that the semantics of dynamic libraries on AmigaOS, at least up
17940 # to version 4, is to share data among multiple programs linked
17941 # with the same dynamic library. Since this doesn't match the
17942 # behavior of shared libraries on other platforms, we can't use
17948 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17949 allow_undefined_flag=unsupported
17950 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17951 # support --undefined. This deserves some investigation. FIXME
17952 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17958 cygwin* | mingw* | pw32*)
17959 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
17960 # as there is no search path for DLLs.
17961 hardcode_libdir_flag_spec='-L$libdir'
17962 allow_undefined_flag=unsupported
17963 always_export_symbols=no
17964 enable_shared_with_static_runtimes=yes
17965 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17967 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17968 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17969 # If the export-symbols file already is a .def file (1st line
17970 # is EXPORTS), use it as is; otherwise, prepend...
17971 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17972 cp $export_symbols $output_objdir/$soname.def;
17974 echo EXPORTS > $output_objdir/$soname.def;
17975 cat $export_symbols >> $output_objdir/$soname.def;
17977 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17984 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17986 case $cc_basename,$host_cpu in
17987 pgcc*) # Portland Group C compiler
17988 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17989 tmp_addflag=' $pic_flag'
17991 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
17992 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17993 tmp_addflag=' $pic_flag -Mnomain' ;;
17994 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
17995 tmp_addflag=' -i_dynamic' ;;
17996 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
17997 tmp_addflag=' -i_dynamic -nofor_main' ;;
17998 ifc* | ifort*) # Intel Fortran compiler
17999 tmp_addflag=' -nofor_main' ;;
18001 archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18003 if test $supports_anon_versioning = yes; then
18004 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
18005 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18006 $echo "local: *; };" >> $output_objdir/$libname.ver~
18007 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18015 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18016 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18019 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18020 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18025 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
18029 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
18030 *** create shared libraries on Solaris systems. Therefore, libtool
18031 *** is disabling shared libraries support. We urge you to upgrade GNU
18032 *** binutils to release 2.9.1 or newer. Another option is to modify
18033 *** your PATH or compiler configuration so that the native linker is
18034 *** used, and then restart.
18037 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18038 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18039 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18046 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18048 hardcode_direct=yes
18049 hardcode_shlibpath_var=no
18053 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18054 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18055 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18062 if test "$ld_shlibs" = no; then
18064 hardcode_libdir_flag_spec=
18065 export_dynamic_flag_spec=
18066 whole_archive_flag_spec=
18069 # PORTME fill in a description of your system's linker (not GNU ld)
18072 allow_undefined_flag=unsupported
18073 always_export_symbols=yes
18074 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
18075 # Note: this linker hardcodes the directories in LIBPATH if there
18076 # are no directories specified by -L.
18077 hardcode_minus_L=yes
18078 if test "$GCC" = yes && test -z "$link_static_flag"; then
18079 # Neither direct hardcoding nor static linking is supported with a
18081 hardcode_direct=unsupported
18086 if test "$host_cpu" = ia64; then
18087 # On IA64, the linker does run time linking by default, so we don't
18088 # have to do anything special.
18089 aix_use_runtimelinking=no
18090 exp_sym_flag='-Bexport'
18093 # If we're using GNU nm, then we don't want the "-C" option.
18094 # -C means demangle to AIX nm, but means don't demangle with GNU nm
18095 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
18096 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
18098 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
18100 aix_use_runtimelinking=no
18102 # Test if we are trying to use run time linking or normal
18103 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18104 # need to do runtime linking.
18105 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
18106 for ld_flag in $LDFLAGS; do
18107 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
18108 aix_use_runtimelinking=yes
18114 exp_sym_flag='-bexport'
18115 no_entry_flag='-bnoentry'
18118 # When large executables or shared objects are built, AIX ld can
18119 # have problems creating the table of contents. If linking a library
18120 # or program results in "error TOC overflow" add -mminimal-toc to
18121 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18122 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18125 hardcode_direct=yes
18126 hardcode_libdir_separator=':'
18127 link_all_deplibs=yes
18129 if test "$GCC" = yes; then
18130 case $host_os in aix4.[012]|aix4.[012].*)
18131 # We only want to do this on AIX 4.2 and lower, the check
18132 # below for broken collect2 doesn't work under 4.3+
18133 collect2name=`${CC} -print-prog-name=collect2`
18134 if test -f "$collect2name" && \
18135 strings "$collect2name" | grep resolve_lib_name >/dev/null
18137 # We have reworked collect2
18138 hardcode_direct=yes
18140 # We have old collect2
18141 hardcode_direct=unsupported
18142 # It fails to find uninstalled libraries when the uninstalled
18143 # path is not listed in the libpath. Setting hardcode_minus_L
18144 # to unsupported forces relinking
18145 hardcode_minus_L=yes
18146 hardcode_libdir_flag_spec='-L$libdir'
18147 hardcode_libdir_separator=
18150 shared_flag='-shared'
18151 if test "$aix_use_runtimelinking" = yes; then
18152 shared_flag="$shared_flag "'${wl}-G'
18156 if test "$host_cpu" = ia64; then
18157 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18158 # chokes on -Wl,-G. The following line is correct:
18161 if test "$aix_use_runtimelinking" = yes; then
18162 shared_flag='${wl}-G'
18164 shared_flag='${wl}-bM:SRE'
18169 # It seems that -bexpall does not export symbols beginning with
18170 # underscore (_), so it is better to generate a list of symbols to export.
18171 always_export_symbols=yes
18172 if test "$aix_use_runtimelinking" = yes; then
18173 # Warning - without using the other runtime loading flags (-brtl),
18174 # -berok will link without error, but may produce a broken library.
18175 allow_undefined_flag='-berok'
18176 # Determine the default libpath from the value encoded in an empty executable.
18177 cat >conftest.$ac_ext <<_ACEOF
18180 cat confdefs.h >>conftest.$ac_ext
18181 cat >>conftest.$ac_ext <<_ACEOF
18182 /* end confdefs.h. */
18192 rm -f conftest.$ac_objext conftest$ac_exeext
18193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18194 (eval $ac_link) 2>conftest.er1
18196 grep -v '^ *+' conftest.er1 >conftest.err
18198 cat conftest.err >&5
18199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18200 (exit $ac_status); } &&
18201 { ac_try='test -z "$ac_c_werror_flag"
18202 || test ! -s conftest.err'
18203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18204 (eval $ac_try) 2>&5
18206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18207 (exit $ac_status); }; } &&
18208 { ac_try='test -s conftest$ac_exeext'
18209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18210 (eval $ac_try) 2>&5
18212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18213 (exit $ac_status); }; }; then
18215 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18217 # Check for a 64-bit object if we didn't find anything.
18218 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18221 echo "$as_me: failed program was:" >&5
18222 sed 's/^/| /' conftest.$ac_ext >&5
18225 rm -f conftest.err conftest.$ac_objext \
18226 conftest$ac_exeext conftest.$ac_ext
18227 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18229 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
18230 archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
18232 if test "$host_cpu" = ia64; then
18233 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
18234 allow_undefined_flag="-z nodefs"
18235 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
18237 # Determine the default libpath from the value encoded in an empty executable.
18238 cat >conftest.$ac_ext <<_ACEOF
18241 cat confdefs.h >>conftest.$ac_ext
18242 cat >>conftest.$ac_ext <<_ACEOF
18243 /* end confdefs.h. */
18253 rm -f conftest.$ac_objext conftest$ac_exeext
18254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18255 (eval $ac_link) 2>conftest.er1
18257 grep -v '^ *+' conftest.er1 >conftest.err
18259 cat conftest.err >&5
18260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18261 (exit $ac_status); } &&
18262 { ac_try='test -z "$ac_c_werror_flag"
18263 || test ! -s conftest.err'
18264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18265 (eval $ac_try) 2>&5
18267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18268 (exit $ac_status); }; } &&
18269 { ac_try='test -s conftest$ac_exeext'
18270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18271 (eval $ac_try) 2>&5
18273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18274 (exit $ac_status); }; }; then
18276 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18278 # Check for a 64-bit object if we didn't find anything.
18279 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18282 echo "$as_me: failed program was:" >&5
18283 sed 's/^/| /' conftest.$ac_ext >&5
18286 rm -f conftest.err conftest.$ac_objext \
18287 conftest$ac_exeext conftest.$ac_ext
18288 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18290 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
18291 # Warning - without using the other run time loading flags,
18292 # -berok will link without error, but may produce a broken library.
18293 no_undefined_flag=' ${wl}-bernotok'
18294 allow_undefined_flag=' ${wl}-berok'
18295 # -bexpall does not export symbols beginning with underscore (_)
18296 always_export_symbols=yes
18297 # Exported symbols can be pulled into shared objects from archives
18298 whole_archive_flag_spec=' '
18299 archive_cmds_need_lc=yes
18300 # This is similar to how AIX traditionally builds its shared libraries.
18301 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
18307 archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
18308 hardcode_libdir_flag_spec='-L$libdir'
18309 hardcode_minus_L=yes
18310 # see comment about different semantics on the GNU ld section
18315 export_dynamic_flag_spec=-rdynamic
18318 cygwin* | mingw* | pw32*)
18319 # When not using gcc, we currently assume that we are using
18320 # Microsoft Visual C++.
18321 # hardcode_libdir_flag_spec is actually meaningless, as there is
18322 # no search path for DLLs.
18323 hardcode_libdir_flag_spec=' '
18324 allow_undefined_flag=unsupported
18325 # Tell ltmain to make .lib files, not .a files.
18327 # Tell ltmain to make .dll files, not .so files.
18329 # FIXME: Setting linknames here is a bad hack.
18330 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18331 # The linker will automatically build a .lib file if we build a DLL.
18332 old_archive_From_new_cmds='true'
18333 # FIXME: Should let the user specify the lib program.
18334 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
18335 fix_srcfile_path='`cygpath -w "$srcfile"`'
18336 enable_shared_with_static_runtimes=yes
18339 darwin* | rhapsody*)
18341 rhapsody* | darwin1.[012])
18342 allow_undefined_flag='${wl}-undefined ${wl}suppress'
18345 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18346 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18348 case ${MACOSX_DEPLOYMENT_TARGET} in
18350 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18353 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
18359 archive_cmds_need_lc=no
18361 hardcode_automatic=yes
18362 hardcode_shlibpath_var=unsupported
18363 whole_archive_flag_spec=''
18364 link_all_deplibs=yes
18365 if test "$GCC" = yes ; then
18366 output_verbose_link_cmd='echo'
18367 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18368 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18369 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18370 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18371 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18373 case $cc_basename in
18375 output_verbose_link_cmd='echo'
18376 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
18377 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18378 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18379 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18380 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18390 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18391 hardcode_libdir_flag_spec='-L$libdir'
18392 hardcode_shlibpath_var=no
18399 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18400 # support. Future versions do this automatically, but an explicit c++rt0.o
18401 # does not break anything, and helps significantly (at the cost of a little
18404 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18405 hardcode_libdir_flag_spec='-R$libdir'
18406 hardcode_direct=yes
18407 hardcode_shlibpath_var=no
18410 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18412 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18413 hardcode_direct=yes
18414 hardcode_minus_L=yes
18415 hardcode_shlibpath_var=no
18418 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18419 freebsd* | kfreebsd*-gnu | dragonfly*)
18420 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18421 hardcode_libdir_flag_spec='-R$libdir'
18422 hardcode_direct=yes
18423 hardcode_shlibpath_var=no
18427 if test "$GCC" = yes; then
18428 archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18430 archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18432 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
18433 hardcode_libdir_separator=:
18434 hardcode_direct=yes
18436 # hardcode_minus_L: Not really in the search PATH,
18437 # but as the default location of the library.
18438 hardcode_minus_L=yes
18439 export_dynamic_flag_spec='${wl}-E'
18443 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18446 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18449 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18455 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
18458 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18462 if test "$with_gnu_ld" = no; then
18465 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
18466 hardcode_libdir_flag_spec_ld='+b $libdir'
18467 hardcode_libdir_separator=:
18469 hardcode_shlibpath_var=no
18472 hardcode_libdir_flag_spec='-L$libdir'
18474 hardcode_shlibpath_var=no
18476 # hardcode_minus_L: Not really in the search PATH,
18477 # but as the default location of the library.
18478 hardcode_minus_L=yes
18481 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
18482 hardcode_libdir_separator=:
18483 hardcode_direct=yes
18484 export_dynamic_flag_spec='${wl}-E'
18486 # hardcode_minus_L: Not really in the search PATH,
18487 # but as the default location of the library.
18488 hardcode_minus_L=yes
18494 irix5* | irix6* | nonstopux*)
18495 if test "$GCC" = yes; then
18496 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18498 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18499 hardcode_libdir_flag_spec_ld='-rpath $libdir'
18501 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
18502 hardcode_libdir_separator=:
18503 link_all_deplibs=yes
18507 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18508 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18510 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18512 hardcode_libdir_flag_spec='-R$libdir'
18513 hardcode_direct=yes
18514 hardcode_shlibpath_var=no
18518 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18519 hardcode_direct=yes
18520 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
18521 hardcode_libdir_separator=:
18522 hardcode_shlibpath_var=no
18526 hardcode_direct=yes
18527 hardcode_shlibpath_var=no
18528 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18529 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18530 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18531 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
18532 export_dynamic_flag_spec='${wl}-E'
18535 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18536 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18537 hardcode_libdir_flag_spec='-R$libdir'
18540 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18541 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
18548 hardcode_libdir_flag_spec='-L$libdir'
18549 hardcode_minus_L=yes
18550 allow_undefined_flag=unsupported
18551 archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
18552 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18556 if test "$GCC" = yes; then
18557 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
18558 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18560 allow_undefined_flag=' -expect_unresolved \*'
18561 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18563 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
18564 hardcode_libdir_separator=:
18567 osf4* | osf5*) # as osf3* with the addition of -msym flag
18568 if test "$GCC" = yes; then
18569 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
18570 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18571 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
18573 allow_undefined_flag=' -expect_unresolved \*'
18574 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18575 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
18576 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
18578 # Both c and cxx compiler support -rpath directly
18579 hardcode_libdir_flag_spec='-rpath $libdir'
18581 hardcode_libdir_separator=:
18585 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18586 hardcode_shlibpath_var=no
18587 export_dynamic_flag_spec='${wl}-Bexport'
18588 runpath_var=LD_RUN_PATH
18589 hardcode_runpath_var=yes
18593 no_undefined_flag=' -z text'
18594 if test "$GCC" = yes; then
18596 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18597 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18598 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18601 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18602 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18603 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18605 hardcode_libdir_flag_spec='-R$libdir'
18606 hardcode_shlibpath_var=no
18608 solaris2.[0-5] | solaris2.[0-5].*) ;;
18610 # The compiler driver will combine linker options so we
18611 # cannot just pass the convience library names through
18612 # without $wl, iff we do not link with $LD.
18613 # Luckily, gcc supports the same syntax we need for Sun Studio.
18614 # Supported since Solaris 2.6 (maybe 2.5.1?)
18617 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
18619 whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
18622 link_all_deplibs=yes
18626 if test "x$host_vendor" = xsequent; then
18627 # Use $CC to link under sequent, because it throws in some extra .o
18628 # files that make .init and .fini sections work.
18629 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18631 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18633 hardcode_libdir_flag_spec='-L$libdir'
18634 hardcode_direct=yes
18635 hardcode_minus_L=yes
18636 hardcode_shlibpath_var=no
18640 case $host_vendor in
18642 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18643 hardcode_direct=yes # is this really true???
18646 ## LD is ld it makes a PLAMLIB
18647 ## CC just makes a GrossModule.
18648 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18649 reload_cmds='$CC -r -o $output$reload_objs'
18653 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18654 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
18657 runpath_var='LD_RUN_PATH'
18658 hardcode_shlibpath_var=no
18662 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18663 hardcode_shlibpath_var=no
18664 export_dynamic_flag_spec='-Bexport'
18668 if test -d /usr/nec; then
18669 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18670 hardcode_shlibpath_var=no
18671 runpath_var=LD_RUN_PATH
18672 hardcode_runpath_var=yes
18678 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18679 hardcode_direct=yes
18680 hardcode_minus_L=no
18681 hardcode_shlibpath_var=no
18682 hardcode_runpath_var=yes
18683 runpath_var=LD_RUN_PATH
18686 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
18687 no_undefined_flag='${wl}-z ${wl}text'
18688 if test "$GCC" = yes; then
18689 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18691 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18693 runpath_var='LD_RUN_PATH'
18694 hardcode_shlibpath_var=no
18698 no_undefined_flag=' -z text'
18699 # $CC -shared without GNU ld will not create a library from C++
18700 # object files and a static libstdc++, better avoid it by now
18701 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18702 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18703 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18704 hardcode_libdir_flag_spec=
18705 hardcode_shlibpath_var=no
18706 runpath_var='LD_RUN_PATH'
18710 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18711 hardcode_libdir_flag_spec='-L$libdir'
18712 hardcode_shlibpath_var=no
18721 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
18722 echo "${ECHO_T}$ld_shlibs" >&6
18723 test "$ld_shlibs" = no && can_build_shared=no
18725 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18726 if test "$GCC" = yes; then
18727 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18731 # Do we need to explicitly link libc?
18733 case "x$archive_cmds_need_lc" in
18735 # Assume -lc should be added
18736 archive_cmds_need_lc=yes
18738 if test "$enable_shared" = yes && test "$GCC" = yes; then
18739 case $archive_cmds in
18741 # FIXME: we may have to deal with multi-command sequences.
18744 # Test whether the compiler implicitly links with -lc since on some
18745 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18746 # to ld, don't add -lc before -lgcc.
18747 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18748 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
18750 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18753 (eval $ac_compile) 2>&5
18755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18756 (exit $ac_status); } 2>conftest.err; then
18759 libobjs=conftest.$ac_objext
18761 wl=$lt_prog_compiler_wl
18767 lt_save_allow_undefined_flag=$allow_undefined_flag
18768 allow_undefined_flag=
18769 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18770 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18773 (exit $ac_status); }
18775 archive_cmds_need_lc=no
18777 archive_cmds_need_lc=yes
18779 allow_undefined_flag=$lt_save_allow_undefined_flag
18781 cat conftest.err 1>&5
18784 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
18785 echo "${ECHO_T}$archive_cmds_need_lc" >&6
18792 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18793 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
18794 library_names_spec=
18795 libname_spec='lib$name'
18799 postuninstall_cmds=
18803 shlibpath_overrides_runpath=unknown
18805 dynamic_linker="$host_os ld.so"
18806 sys_lib_dlsearch_path_spec="/lib /usr/lib"
18807 if test "$GCC" = yes; then
18808 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18809 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
18810 # if the path contains ";" then we assume it to be the separator
18811 # otherwise default to the standard path separator (i.e. ":") - it is
18812 # assumed that no part of a normal pathname contains ";" but that should
18813 # okay in the real world where ";" in dirpaths is itself problematic.
18814 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18816 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18819 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18821 need_lib_prefix=unknown
18822 hardcode_into_libs=no
18824 # when you set need_version to no, make sure it does not cause -set_version
18825 # flags to be left without arguments
18826 need_version=unknown
18831 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18832 shlibpath_var=LIBPATH
18834 # AIX 3 has no versioning support, so we append a major version to the name.
18835 soname_spec='${libname}${release}${shared_ext}$major'
18842 hardcode_into_libs=yes
18843 if test "$host_cpu" = ia64; then
18844 # AIX 5 supports IA64
18845 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18846 shlibpath_var=LD_LIBRARY_PATH
18848 # With GCC up to 2.95.x, collect2 would create an import file
18849 # for dependence libraries. The import file would start with
18850 # the line `#! .'. This would cause the generated library to
18851 # depend on `.', always an invalid library. This was fixed in
18852 # development snapshots of GCC prior to 3.0.
18854 aix4 | aix4.[01] | aix4.[01].*)
18855 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18857 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18860 can_build_shared=no
18864 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18865 # soname into executable. Probably we can add versioning support to
18866 # collect2, so additional links can be useful in future.
18867 if test "$aix_use_runtimelinking" = yes; then
18868 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18869 # instead of lib<name>.a to let people know that these are not
18870 # typical AIX shared libraries.
18871 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18873 # We preserve .a as extension for shared libraries through AIX4.2
18874 # and later when we are not doing run time linking.
18875 library_names_spec='${libname}${release}.a $libname.a'
18876 soname_spec='${libname}${release}${shared_ext}$major'
18878 shlibpath_var=LIBPATH
18883 library_names_spec='$libname.ixlibrary $libname.a'
18884 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18885 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
18889 library_names_spec='${libname}${shared_ext}'
18890 dynamic_linker="$host_os ld.so"
18891 shlibpath_var=LIBRARY_PATH
18897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18898 soname_spec='${libname}${release}${shared_ext}$major'
18899 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18900 shlibpath_var=LD_LIBRARY_PATH
18901 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18902 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18903 # the default ld.so.conf also contains /usr/contrib/lib and
18904 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18905 # libtool to hard-code these into programs
18908 cygwin* | mingw* | pw32*)
18909 version_type=windows
18914 case $GCC,$host_os in
18915 yes,cygwin* | yes,mingw* | yes,pw32*)
18916 library_names_spec='$libname.dll.a'
18917 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18918 postinstall_cmds='base_file=`basename \${file}`~
18919 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18920 dldir=$destdir/`dirname \$dlpath`~
18921 test -d \$dldir || mkdir -p \$dldir~
18922 $install_prog $dir/$dlname \$dldir/$dlname~
18923 chmod a+x \$dldir/$dlname'
18924 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18925 dlpath=$dir/\$dldll~
18927 shlibpath_overrides_runpath=yes
18931 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18932 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18933 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18936 # MinGW DLLs use traditional 'lib' prefix
18937 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18938 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18939 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18940 # It is most probably a Windows format PATH printed by
18941 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18942 # path with ; separators, and with drive letters. We can handle the
18943 # drive letters (cygwin fileutils understands them), so leave them,
18944 # especially as we might pass files found there to a mingw objdump,
18945 # which wouldn't understand a cygwinified path. Ahh.
18946 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18948 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18952 # pw32 DLLs use 'pw' prefix rather than 'lib'
18953 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18959 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18962 dynamic_linker='Win32 ld.exe'
18963 # FIXME: first we should search . and the directory the executable is in
18967 darwin* | rhapsody*)
18968 dynamic_linker="$host_os dyld"
18969 version_type=darwin
18972 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18973 soname_spec='${libname}${release}${major}$shared_ext'
18974 shlibpath_overrides_runpath=yes
18975 shlibpath_var=DYLD_LIBRARY_PATH
18976 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18977 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18978 if test "$GCC" = yes; then
18979 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
18981 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
18983 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18991 soname_spec='${libname}${release}${shared_ext}$major'
18992 shlibpath_var=LD_LIBRARY_PATH
19003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19004 soname_spec='${libname}${release}${shared_ext}$major'
19005 shlibpath_var=LD_LIBRARY_PATH
19006 shlibpath_overrides_runpath=no
19007 hardcode_into_libs=yes
19008 dynamic_linker='GNU ld.so'
19011 freebsd* | dragonfly*)
19012 # DragonFly does not have aout. When/if they implement a new
19013 # versioning mechanism, adjust this.
19014 if test -x /usr/bin/objformat; then
19015 objformat=`/usr/bin/objformat`
19018 freebsd[123]*) objformat=aout ;;
19019 *) objformat=elf ;;
19022 version_type=freebsd-$objformat
19023 case $version_type in
19025 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19030 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19034 shlibpath_var=LD_LIBRARY_PATH
19037 shlibpath_overrides_runpath=yes
19039 freebsd3.[01]* | freebsdelf3.[01]*)
19040 shlibpath_overrides_runpath=yes
19041 hardcode_into_libs=yes
19044 shlibpath_overrides_runpath=no
19045 hardcode_into_libs=yes
19054 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19055 soname_spec='${libname}${release}${shared_ext}$major'
19056 shlibpath_var=LD_LIBRARY_PATH
19057 hardcode_into_libs=yes
19060 hpux9* | hpux10* | hpux11*)
19061 # Give a soname corresponding to the major version so that dld.sl refuses to
19062 # link against other versions.
19069 hardcode_into_libs=yes
19070 dynamic_linker="$host_os dld.so"
19071 shlibpath_var=LD_LIBRARY_PATH
19072 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19074 soname_spec='${libname}${release}${shared_ext}$major'
19075 if test "X$HPUX_IA64_MODE" = X32; then
19076 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19078 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
19080 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19084 hardcode_into_libs=yes
19085 dynamic_linker="$host_os dld.sl"
19086 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19087 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19088 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19089 soname_spec='${libname}${release}${shared_ext}$major'
19090 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19091 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19095 dynamic_linker="$host_os dld.sl"
19096 shlibpath_var=SHLIB_PATH
19097 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
19098 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19099 soname_spec='${libname}${release}${shared_ext}$major'
19102 # HP-UX runs *really* slowly unless shared libraries are mode 555.
19103 postinstall_cmds='chmod 555 $lib'
19106 irix5* | irix6* | nonstopux*)
19108 nonstopux*) version_type=nonstopux ;;
19110 if test "$lt_cv_prog_gnu_ld" = yes; then
19118 soname_spec='${libname}${release}${shared_ext}$major'
19119 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19121 irix5* | nonstopux*)
19122 libsuff= shlibsuff=
19125 case $LD in # libtool.m4 will add one of these switches to LD
19126 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19127 libsuff= shlibsuff= libmagic=32-bit;;
19128 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19129 libsuff=32 shlibsuff=N32 libmagic=N32;;
19130 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19131 libsuff=64 shlibsuff=64 libmagic=64-bit;;
19132 *) libsuff= shlibsuff= libmagic=never-match;;
19136 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19137 shlibpath_overrides_runpath=no
19138 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19139 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19140 hardcode_into_libs=yes
19143 # No shared lib support for Linux oldld, aout, or coff.
19144 linux*oldld* | linux*aout* | linux*coff*)
19148 # This must be Linux ELF.
19153 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19154 soname_spec='${libname}${release}${shared_ext}$major'
19155 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19156 shlibpath_var=LD_LIBRARY_PATH
19157 shlibpath_overrides_runpath=no
19158 # This implies no fast_install, which is unacceptable.
19159 # Some rework will be needed to allow for fast_install
19160 # before this can be enabled.
19161 hardcode_into_libs=yes
19163 # Append ld.so.conf contents to the search path
19164 if test -f /etc/ld.so.conf; then
19165 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
19166 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
19169 # We used to test for /lib/ld.so.1 and disable shared libraries on
19170 # powerpc, because MkLinux only supported shared libraries with the
19171 # GNU dynamic linker. Since this was broken with cross compilers,
19172 # most powerpc-linux boxes support dynamic linking these days and
19173 # people can always --disable-shared, the test was removed, and we
19174 # assume the GNU/Linux dynamic linker is in use.
19175 dynamic_linker='GNU/Linux ld.so'
19182 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19183 soname_spec='${libname}${release}${shared_ext}$major'
19184 shlibpath_var=LD_LIBRARY_PATH
19185 shlibpath_overrides_runpath=no
19186 hardcode_into_libs=yes
19187 dynamic_linker='GNU ld.so'
19194 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19195 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19196 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19197 dynamic_linker='NetBSD (a.out) ld.so'
19199 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19200 soname_spec='${libname}${release}${shared_ext}$major'
19201 dynamic_linker='NetBSD ld.elf_so'
19203 shlibpath_var=LD_LIBRARY_PATH
19204 shlibpath_overrides_runpath=yes
19205 hardcode_into_libs=yes
19210 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19211 shlibpath_var=LD_LIBRARY_PATH
19212 shlibpath_overrides_runpath=yes
19219 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19220 soname_spec='${libname}${release}${shared_ext}$major'
19221 shlibpath_var=LD_LIBRARY_PATH
19222 shlibpath_overrides_runpath=yes
19228 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19230 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
19231 *) need_version=no ;;
19233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19234 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19235 shlibpath_var=LD_LIBRARY_PATH
19236 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19238 openbsd2.[89] | openbsd2.[89].*)
19239 shlibpath_overrides_runpath=no
19242 shlibpath_overrides_runpath=yes
19246 shlibpath_overrides_runpath=yes
19251 libname_spec='$name'
19254 library_names_spec='$libname${shared_ext} $libname.a'
19255 dynamic_linker='OS/2 ld.exe'
19256 shlibpath_var=LIBPATH
19259 osf3* | osf4* | osf5*)
19263 soname_spec='${libname}${release}${shared_ext}$major'
19264 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19265 shlibpath_var=LD_LIBRARY_PATH
19266 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19267 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19272 soname_spec='${libname}${release}${shared_ext}$major'
19273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19274 shlibpath_var=LD_LIBRARY_PATH
19281 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19282 soname_spec='${libname}${release}${shared_ext}$major'
19283 shlibpath_var=LD_LIBRARY_PATH
19284 shlibpath_overrides_runpath=yes
19285 hardcode_into_libs=yes
19286 # ldd complains unless libraries are executable
19287 postinstall_cmds='chmod +x $lib'
19292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19293 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19294 shlibpath_var=LD_LIBRARY_PATH
19295 shlibpath_overrides_runpath=yes
19296 if test "$with_gnu_ld" = yes; then
19302 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
19304 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19305 soname_spec='${libname}${release}${shared_ext}$major'
19306 shlibpath_var=LD_LIBRARY_PATH
19307 case $host_vendor in
19309 shlibpath_overrides_runpath=no
19311 export_dynamic_flag_spec='${wl}-Blargedynsym'
19312 runpath_var=LD_RUN_PATH
19320 shlibpath_overrides_runpath=no
19321 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19327 if test -d /usr/nec ;then
19329 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19330 soname_spec='$libname${shared_ext}.$major'
19331 shlibpath_var=LD_LIBRARY_PATH
19337 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19338 soname_spec='${libname}${release}${shared_ext}$major'
19339 shlibpath_var=LD_LIBRARY_PATH
19346 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19347 echo "${ECHO_T}$dynamic_linker" >&6
19348 test "$dynamic_linker" = no && can_build_shared=no
19350 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19351 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
19353 if test -n "$hardcode_libdir_flag_spec" || \
19354 test -n "$runpath_var" || \
19355 test "X$hardcode_automatic" = "Xyes" ; then
19357 # We can hardcode non-existant directories.
19358 if test "$hardcode_direct" != no &&
19359 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19360 # have to relink, otherwise we might link with an installed library
19361 # when we should be linking with a yet-to-be-installed one
19362 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
19363 test "$hardcode_minus_L" != no; then
19364 # Linking always hardcodes the temporary library directory.
19365 hardcode_action=relink
19367 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19368 hardcode_action=immediate
19371 # We cannot hardcode anything, or else we can only hardcode existing
19373 hardcode_action=unsupported
19375 echo "$as_me:$LINENO: result: $hardcode_action" >&5
19376 echo "${ECHO_T}$hardcode_action" >&6
19378 if test "$hardcode_action" = relink; then
19379 # Fast installation is not supported
19380 enable_fast_install=no
19381 elif test "$shlibpath_overrides_runpath" = yes ||
19382 test "$enable_shared" = no; then
19383 # Fast installation is not necessary
19384 enable_fast_install=needless
19389 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
19390 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
19391 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
19392 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
19393 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
19394 echo "$as_me:$LINENO: result: yes" >&5
19395 echo "${ECHO_T}yes" >&6
19397 # FIXME - insert some real tests, host_os isn't really good enough
19400 if test -n "$STRIP" ; then
19401 striplib="$STRIP -x"
19402 echo "$as_me:$LINENO: result: yes" >&5
19403 echo "${ECHO_T}yes" >&6
19405 echo "$as_me:$LINENO: result: no" >&5
19406 echo "${ECHO_T}no" >&6
19410 echo "$as_me:$LINENO: result: no" >&5
19411 echo "${ECHO_T}no" >&6
19416 if test "x$enable_dlopen" != xyes; then
19417 enable_dlopen=unknown
19418 enable_dlopen_self=unknown
19419 enable_dlopen_self_static=unknown
19426 lt_cv_dlopen="load_add_on"
19428 lt_cv_dlopen_self=yes
19432 lt_cv_dlopen="LoadLibrary"
19437 lt_cv_dlopen="dlopen"
19442 # if libdl is installed we need to link against it
19443 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19444 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
19445 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19446 echo $ECHO_N "(cached) $ECHO_C" >&6
19448 ac_check_lib_save_LIBS=$LIBS
19450 cat >conftest.$ac_ext <<_ACEOF
19453 cat confdefs.h >>conftest.$ac_ext
19454 cat >>conftest.$ac_ext <<_ACEOF
19455 /* end confdefs.h. */
19457 /* Override any gcc2 internal prototype to avoid an error. */
19461 /* We use char because int might match the return type of a gcc2
19462 builtin and then its argument prototype would still apply. */
19472 rm -f conftest.$ac_objext conftest$ac_exeext
19473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19474 (eval $ac_link) 2>conftest.er1
19476 grep -v '^ *+' conftest.er1 >conftest.err
19478 cat conftest.err >&5
19479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19480 (exit $ac_status); } &&
19481 { ac_try='test -z "$ac_c_werror_flag"
19482 || test ! -s conftest.err'
19483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19484 (eval $ac_try) 2>&5
19486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19487 (exit $ac_status); }; } &&
19488 { ac_try='test -s conftest$ac_exeext'
19489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19490 (eval $ac_try) 2>&5
19492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19493 (exit $ac_status); }; }; then
19494 ac_cv_lib_dl_dlopen=yes
19496 echo "$as_me: failed program was:" >&5
19497 sed 's/^/| /' conftest.$ac_ext >&5
19499 ac_cv_lib_dl_dlopen=no
19501 rm -f conftest.err conftest.$ac_objext \
19502 conftest$ac_exeext conftest.$ac_ext
19503 LIBS=$ac_check_lib_save_LIBS
19505 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19506 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
19507 if test $ac_cv_lib_dl_dlopen = yes; then
19508 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
19511 lt_cv_dlopen="dyld"
19513 lt_cv_dlopen_self=yes
19520 echo "$as_me:$LINENO: checking for shl_load" >&5
19521 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
19522 if test "${ac_cv_func_shl_load+set}" = set; then
19523 echo $ECHO_N "(cached) $ECHO_C" >&6
19525 cat >conftest.$ac_ext <<_ACEOF
19528 cat confdefs.h >>conftest.$ac_ext
19529 cat >>conftest.$ac_ext <<_ACEOF
19530 /* end confdefs.h. */
19531 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
19532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19533 #define shl_load innocuous_shl_load
19535 /* System header to define __stub macros and hopefully few prototypes,
19536 which can conflict with char shl_load (); below.
19537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19538 <limits.h> exists even on freestanding compilers. */
19541 # include <limits.h>
19543 # include <assert.h>
19548 /* Override any gcc2 internal prototype to avoid an error. */
19553 /* We use char because int might match the return type of a gcc2
19554 builtin and then its argument prototype would still apply. */
19556 /* The GNU C library defines this for functions which it implements
19557 to always fail with ENOSYS. Some functions are actually named
19558 something starting with __ and the normal name is an alias. */
19559 #if defined (__stub_shl_load) || defined (__stub___shl_load)
19562 char (*f) () = shl_load;
19571 return f != shl_load;
19576 rm -f conftest.$ac_objext conftest$ac_exeext
19577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19578 (eval $ac_link) 2>conftest.er1
19580 grep -v '^ *+' conftest.er1 >conftest.err
19582 cat conftest.err >&5
19583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19584 (exit $ac_status); } &&
19585 { ac_try='test -z "$ac_c_werror_flag"
19586 || test ! -s conftest.err'
19587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19588 (eval $ac_try) 2>&5
19590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19591 (exit $ac_status); }; } &&
19592 { ac_try='test -s conftest$ac_exeext'
19593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19594 (eval $ac_try) 2>&5
19596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19597 (exit $ac_status); }; }; then
19598 ac_cv_func_shl_load=yes
19600 echo "$as_me: failed program was:" >&5
19601 sed 's/^/| /' conftest.$ac_ext >&5
19603 ac_cv_func_shl_load=no
19605 rm -f conftest.err conftest.$ac_objext \
19606 conftest$ac_exeext conftest.$ac_ext
19608 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
19609 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
19610 if test $ac_cv_func_shl_load = yes; then
19611 lt_cv_dlopen="shl_load"
19613 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
19614 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
19615 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
19616 echo $ECHO_N "(cached) $ECHO_C" >&6
19618 ac_check_lib_save_LIBS=$LIBS
19620 cat >conftest.$ac_ext <<_ACEOF
19623 cat confdefs.h >>conftest.$ac_ext
19624 cat >>conftest.$ac_ext <<_ACEOF
19625 /* end confdefs.h. */
19627 /* Override any gcc2 internal prototype to avoid an error. */
19631 /* We use char because int might match the return type of a gcc2
19632 builtin and then its argument prototype would still apply. */
19642 rm -f conftest.$ac_objext conftest$ac_exeext
19643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19644 (eval $ac_link) 2>conftest.er1
19646 grep -v '^ *+' conftest.er1 >conftest.err
19648 cat conftest.err >&5
19649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19650 (exit $ac_status); } &&
19651 { ac_try='test -z "$ac_c_werror_flag"
19652 || test ! -s conftest.err'
19653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19654 (eval $ac_try) 2>&5
19656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19657 (exit $ac_status); }; } &&
19658 { ac_try='test -s conftest$ac_exeext'
19659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19660 (eval $ac_try) 2>&5
19662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19663 (exit $ac_status); }; }; then
19664 ac_cv_lib_dld_shl_load=yes
19666 echo "$as_me: failed program was:" >&5
19667 sed 's/^/| /' conftest.$ac_ext >&5
19669 ac_cv_lib_dld_shl_load=no
19671 rm -f conftest.err conftest.$ac_objext \
19672 conftest$ac_exeext conftest.$ac_ext
19673 LIBS=$ac_check_lib_save_LIBS
19675 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
19676 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
19677 if test $ac_cv_lib_dld_shl_load = yes; then
19678 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
19680 echo "$as_me:$LINENO: checking for dlopen" >&5
19681 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
19682 if test "${ac_cv_func_dlopen+set}" = set; then
19683 echo $ECHO_N "(cached) $ECHO_C" >&6
19685 cat >conftest.$ac_ext <<_ACEOF
19688 cat confdefs.h >>conftest.$ac_ext
19689 cat >>conftest.$ac_ext <<_ACEOF
19690 /* end confdefs.h. */
19691 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
19692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19693 #define dlopen innocuous_dlopen
19695 /* System header to define __stub macros and hopefully few prototypes,
19696 which can conflict with char dlopen (); below.
19697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19698 <limits.h> exists even on freestanding compilers. */
19701 # include <limits.h>
19703 # include <assert.h>
19708 /* Override any gcc2 internal prototype to avoid an error. */
19713 /* We use char because int might match the return type of a gcc2
19714 builtin and then its argument prototype would still apply. */
19716 /* The GNU C library defines this for functions which it implements
19717 to always fail with ENOSYS. Some functions are actually named
19718 something starting with __ and the normal name is an alias. */
19719 #if defined (__stub_dlopen) || defined (__stub___dlopen)
19722 char (*f) () = dlopen;
19731 return f != dlopen;
19736 rm -f conftest.$ac_objext conftest$ac_exeext
19737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19738 (eval $ac_link) 2>conftest.er1
19740 grep -v '^ *+' conftest.er1 >conftest.err
19742 cat conftest.err >&5
19743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19744 (exit $ac_status); } &&
19745 { ac_try='test -z "$ac_c_werror_flag"
19746 || test ! -s conftest.err'
19747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19748 (eval $ac_try) 2>&5
19750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19751 (exit $ac_status); }; } &&
19752 { ac_try='test -s conftest$ac_exeext'
19753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19754 (eval $ac_try) 2>&5
19756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19757 (exit $ac_status); }; }; then
19758 ac_cv_func_dlopen=yes
19760 echo "$as_me: failed program was:" >&5
19761 sed 's/^/| /' conftest.$ac_ext >&5
19763 ac_cv_func_dlopen=no
19765 rm -f conftest.err conftest.$ac_objext \
19766 conftest$ac_exeext conftest.$ac_ext
19768 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
19769 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
19770 if test $ac_cv_func_dlopen = yes; then
19771 lt_cv_dlopen="dlopen"
19773 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19774 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
19775 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19776 echo $ECHO_N "(cached) $ECHO_C" >&6
19778 ac_check_lib_save_LIBS=$LIBS
19780 cat >conftest.$ac_ext <<_ACEOF
19783 cat confdefs.h >>conftest.$ac_ext
19784 cat >>conftest.$ac_ext <<_ACEOF
19785 /* end confdefs.h. */
19787 /* Override any gcc2 internal prototype to avoid an error. */
19791 /* We use char because int might match the return type of a gcc2
19792 builtin and then its argument prototype would still apply. */
19802 rm -f conftest.$ac_objext conftest$ac_exeext
19803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19804 (eval $ac_link) 2>conftest.er1
19806 grep -v '^ *+' conftest.er1 >conftest.err
19808 cat conftest.err >&5
19809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19810 (exit $ac_status); } &&
19811 { ac_try='test -z "$ac_c_werror_flag"
19812 || test ! -s conftest.err'
19813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19814 (eval $ac_try) 2>&5
19816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19817 (exit $ac_status); }; } &&
19818 { ac_try='test -s conftest$ac_exeext'
19819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19820 (eval $ac_try) 2>&5
19822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19823 (exit $ac_status); }; }; then
19824 ac_cv_lib_dl_dlopen=yes
19826 echo "$as_me: failed program was:" >&5
19827 sed 's/^/| /' conftest.$ac_ext >&5
19829 ac_cv_lib_dl_dlopen=no
19831 rm -f conftest.err conftest.$ac_objext \
19832 conftest$ac_exeext conftest.$ac_ext
19833 LIBS=$ac_check_lib_save_LIBS
19835 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19836 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
19837 if test $ac_cv_lib_dl_dlopen = yes; then
19838 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
19840 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
19841 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
19842 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
19843 echo $ECHO_N "(cached) $ECHO_C" >&6
19845 ac_check_lib_save_LIBS=$LIBS
19846 LIBS="-lsvld $LIBS"
19847 cat >conftest.$ac_ext <<_ACEOF
19850 cat confdefs.h >>conftest.$ac_ext
19851 cat >>conftest.$ac_ext <<_ACEOF
19852 /* end confdefs.h. */
19854 /* Override any gcc2 internal prototype to avoid an error. */
19858 /* We use char because int might match the return type of a gcc2
19859 builtin and then its argument prototype would still apply. */
19869 rm -f conftest.$ac_objext conftest$ac_exeext
19870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19871 (eval $ac_link) 2>conftest.er1
19873 grep -v '^ *+' conftest.er1 >conftest.err
19875 cat conftest.err >&5
19876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19877 (exit $ac_status); } &&
19878 { ac_try='test -z "$ac_c_werror_flag"
19879 || test ! -s conftest.err'
19880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19881 (eval $ac_try) 2>&5
19883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19884 (exit $ac_status); }; } &&
19885 { ac_try='test -s conftest$ac_exeext'
19886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19887 (eval $ac_try) 2>&5
19889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19890 (exit $ac_status); }; }; then
19891 ac_cv_lib_svld_dlopen=yes
19893 echo "$as_me: failed program was:" >&5
19894 sed 's/^/| /' conftest.$ac_ext >&5
19896 ac_cv_lib_svld_dlopen=no
19898 rm -f conftest.err conftest.$ac_objext \
19899 conftest$ac_exeext conftest.$ac_ext
19900 LIBS=$ac_check_lib_save_LIBS
19902 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
19903 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
19904 if test $ac_cv_lib_svld_dlopen = yes; then
19905 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
19907 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
19908 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
19909 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
19910 echo $ECHO_N "(cached) $ECHO_C" >&6
19912 ac_check_lib_save_LIBS=$LIBS
19914 cat >conftest.$ac_ext <<_ACEOF
19917 cat confdefs.h >>conftest.$ac_ext
19918 cat >>conftest.$ac_ext <<_ACEOF
19919 /* end confdefs.h. */
19921 /* Override any gcc2 internal prototype to avoid an error. */
19925 /* We use char because int might match the return type of a gcc2
19926 builtin and then its argument prototype would still apply. */
19936 rm -f conftest.$ac_objext conftest$ac_exeext
19937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19938 (eval $ac_link) 2>conftest.er1
19940 grep -v '^ *+' conftest.er1 >conftest.err
19942 cat conftest.err >&5
19943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944 (exit $ac_status); } &&
19945 { ac_try='test -z "$ac_c_werror_flag"
19946 || test ! -s conftest.err'
19947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19948 (eval $ac_try) 2>&5
19950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19951 (exit $ac_status); }; } &&
19952 { ac_try='test -s conftest$ac_exeext'
19953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19954 (eval $ac_try) 2>&5
19956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19957 (exit $ac_status); }; }; then
19958 ac_cv_lib_dld_dld_link=yes
19960 echo "$as_me: failed program was:" >&5
19961 sed 's/^/| /' conftest.$ac_ext >&5
19963 ac_cv_lib_dld_dld_link=no
19965 rm -f conftest.err conftest.$ac_objext \
19966 conftest$ac_exeext conftest.$ac_ext
19967 LIBS=$ac_check_lib_save_LIBS
19969 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
19970 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
19971 if test $ac_cv_lib_dld_dld_link = yes; then
19972 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
19993 if test "x$lt_cv_dlopen" != xno; then
19999 case $lt_cv_dlopen in
20001 save_CPPFLAGS="$CPPFLAGS"
20002 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
20004 save_LDFLAGS="$LDFLAGS"
20005 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
20008 LIBS="$lt_cv_dlopen_libs $LIBS"
20010 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
20011 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
20012 if test "${lt_cv_dlopen_self+set}" = set; then
20013 echo $ECHO_N "(cached) $ECHO_C" >&6
20015 if test "$cross_compiling" = yes; then :
20016 lt_cv_dlopen_self=cross
20018 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
20019 lt_status=$lt_dlunknown
20020 cat > conftest.$ac_ext <<EOF
20021 #line 20021 "configure"
20022 #include "confdefs.h"
20031 # define LT_DLGLOBAL RTLD_GLOBAL
20034 # define LT_DLGLOBAL DL_GLOBAL
20036 # define LT_DLGLOBAL 0
20040 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
20041 find out it does not work in some platform. */
20042 #ifndef LT_DLLAZY_OR_NOW
20044 # define LT_DLLAZY_OR_NOW RTLD_LAZY
20047 # define LT_DLLAZY_OR_NOW DL_LAZY
20050 # define LT_DLLAZY_OR_NOW RTLD_NOW
20053 # define LT_DLLAZY_OR_NOW DL_NOW
20055 # define LT_DLLAZY_OR_NOW 0
20063 extern "C" void exit (int);
20066 void fnord() { int i=42;}
20069 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
20070 int status = $lt_dlunknown;
20074 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
20075 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
20076 /* dlclose (self); */
20082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20083 (eval $ac_link) 2>&5
20085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20086 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
20087 (./conftest; exit; ) >&5 2>/dev/null
20089 case x$lt_status in
20090 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
20091 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
20092 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
20095 # compilation failed
20096 lt_cv_dlopen_self=no
20103 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
20104 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
20106 if test "x$lt_cv_dlopen_self" = xyes; then
20107 LDFLAGS="$LDFLAGS $link_static_flag"
20108 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
20109 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
20110 if test "${lt_cv_dlopen_self_static+set}" = set; then
20111 echo $ECHO_N "(cached) $ECHO_C" >&6
20113 if test "$cross_compiling" = yes; then :
20114 lt_cv_dlopen_self_static=cross
20116 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
20117 lt_status=$lt_dlunknown
20118 cat > conftest.$ac_ext <<EOF
20119 #line 20119 "configure"
20120 #include "confdefs.h"
20129 # define LT_DLGLOBAL RTLD_GLOBAL
20132 # define LT_DLGLOBAL DL_GLOBAL
20134 # define LT_DLGLOBAL 0
20138 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
20139 find out it does not work in some platform. */
20140 #ifndef LT_DLLAZY_OR_NOW
20142 # define LT_DLLAZY_OR_NOW RTLD_LAZY
20145 # define LT_DLLAZY_OR_NOW DL_LAZY
20148 # define LT_DLLAZY_OR_NOW RTLD_NOW
20151 # define LT_DLLAZY_OR_NOW DL_NOW
20153 # define LT_DLLAZY_OR_NOW 0
20161 extern "C" void exit (int);
20164 void fnord() { int i=42;}
20167 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
20168 int status = $lt_dlunknown;
20172 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
20173 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
20174 /* dlclose (self); */
20180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20181 (eval $ac_link) 2>&5
20183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20184 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
20185 (./conftest; exit; ) >&5 2>/dev/null
20187 case x$lt_status in
20188 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
20189 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
20190 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
20193 # compilation failed
20194 lt_cv_dlopen_self_static=no
20201 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
20202 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
20205 CPPFLAGS="$save_CPPFLAGS"
20206 LDFLAGS="$save_LDFLAGS"
20211 case $lt_cv_dlopen_self in
20212 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
20213 *) enable_dlopen_self=unknown ;;
20216 case $lt_cv_dlopen_self_static in
20217 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
20218 *) enable_dlopen_self_static=unknown ;;
20223 # Report which librarie types wil actually be built
20224 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
20225 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
20226 echo "$as_me:$LINENO: result: $can_build_shared" >&5
20227 echo "${ECHO_T}$can_build_shared" >&6
20229 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
20230 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
20231 test "$can_build_shared" = "no" && enable_shared=no
20233 # On AIX, shared libraries and static libraries use the same namespace, and
20234 # are all built from PIC.
20237 test "$enable_shared" = yes && enable_static=no
20238 if test -n "$RANLIB"; then
20239 archive_cmds="$archive_cmds~\$RANLIB \$lib"
20240 postinstall_cmds='$RANLIB $lib'
20245 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
20246 test "$enable_shared" = yes && enable_static=no
20250 echo "$as_me:$LINENO: result: $enable_shared" >&5
20251 echo "${ECHO_T}$enable_shared" >&6
20253 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
20254 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
20255 # Make sure either enable_shared or enable_static is yes.
20256 test "$enable_shared" = yes || enable_static=yes
20257 echo "$as_me:$LINENO: result: $enable_static" >&5
20258 echo "${ECHO_T}$enable_static" >&6
20260 # The else clause should only fire when bootstrapping the
20261 # libtool distribution, otherwise you forgot to ship ltmain.sh
20262 # with your package, and you will get complaints that there are
20263 # no rules to generate ltmain.sh.
20264 if test -f "$ltmain"; then
20265 # See if we are running on zsh, and set the options which allow our commands through
20266 # without removal of \ escapes.
20267 if test -n "${ZSH_VERSION+set}" ; then
20268 setopt NO_GLOB_SUBST
20270 # Now quote all the things that may contain metacharacters while being
20271 # careful not to overquote the AC_SUBSTed values. We take copies of the
20272 # variables and quote the copies for generation of the libtool script.
20273 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
20275 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20276 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20277 deplibs_check_method reload_flag reload_cmds need_locks \
20278 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20279 lt_cv_sys_global_symbol_to_c_name_address \
20280 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20281 old_postinstall_cmds old_postuninstall_cmds \
20285 lt_prog_compiler_wl \
20286 lt_prog_compiler_pic \
20287 lt_prog_compiler_static \
20288 lt_prog_compiler_no_builtin_flag \
20289 export_dynamic_flag_spec \
20290 thread_safe_flag_spec \
20291 whole_archive_flag_spec \
20292 enable_shared_with_static_runtimes \
20294 old_archive_from_new_cmds \
20299 compiler_lib_search_path \
20301 archive_expsym_cmds \
20303 postuninstall_cmds \
20304 old_archive_from_expsyms_cmds \
20305 allow_undefined_flag \
20306 no_undefined_flag \
20307 export_symbols_cmds \
20308 hardcode_libdir_flag_spec \
20309 hardcode_libdir_flag_spec_ld \
20310 hardcode_libdir_separator \
20311 hardcode_automatic \
20313 module_expsym_cmds \
20314 lt_cv_prog_compiler_c_o \
20316 include_expsyms; do
20319 old_archive_cmds | \
20320 old_archive_from_new_cmds | \
20322 archive_expsym_cmds | \
20324 module_expsym_cmds | \
20325 old_archive_from_expsyms_cmds | \
20326 export_symbols_cmds | \
20327 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20328 postinstall_cmds | postuninstall_cmds | \
20329 old_postinstall_cmds | old_postuninstall_cmds | \
20330 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20331 # Double-quote double-evaled strings.
20332 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20335 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20341 *'\$0 --fallback-echo"')
20342 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20346 cfgfile="${ofile}T"
20347 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
20349 { echo "$as_me:$LINENO: creating $ofile" >&5
20350 echo "$as_me: creating $ofile" >&6;}
20352 cat <<__EOF__ >> "$cfgfile"
20355 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
20356 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
20357 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
20359 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
20360 # Free Software Foundation, Inc.
20362 # This file is part of GNU Libtool:
20363 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
20365 # This program is free software; you can redistribute it and/or modify
20366 # it under the terms of the GNU General Public License as published by
20367 # the Free Software Foundation; either version 2 of the License, or
20368 # (at your option) any later version.
20370 # This program is distributed in the hope that it will be useful, but
20371 # WITHOUT ANY WARRANTY; without even the implied warranty of
20372 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20373 # General Public License for more details.
20375 # You should have received a copy of the GNU General Public License
20376 # along with this program; if not, write to the Free Software
20377 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20379 # As a special exception to the GNU General Public License, if you
20380 # distribute this file as part of a program that contains a
20381 # configuration script generated by Autoconf, you may include it under
20382 # the same distribution terms that you use for the rest of that program.
20384 # A sed program that does not truncate output.
20387 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
20388 Xsed="$SED -e 1s/^X//"
20390 # The HP-UX ksh and POSIX shell print the target directory to stdout
20391 # if CDPATH is set.
20392 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20394 # The names of the tagged configurations supported by this script.
20397 # ### BEGIN LIBTOOL CONFIG
20399 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20401 # Shell to use when invoking shell scripts.
20404 # Whether or not to build shared libraries.
20405 build_libtool_libs=$enable_shared
20407 # Whether or not to build static libraries.
20408 build_old_libs=$enable_static
20410 # Whether or not to add -lc for building shared libraries.
20411 build_libtool_need_lc=$archive_cmds_need_lc
20413 # Whether or not to disallow shared libs when runtime libs are static
20414 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20416 # Whether or not to optimize for fast installation.
20417 fast_install=$enable_fast_install
20420 host_alias=$host_alias
20424 # The build system.
20425 build_alias=$build_alias
20429 # An echo program that does not interpret backslashes.
20434 AR_FLAGS=$lt_AR_FLAGS
20439 # A language-specific compiler.
20442 # Is the compiler the GNU C compiler?
20448 # The linker used to build libraries.
20451 # Whether we need hard or soft links.
20454 # A BSD-compatible nm program.
20457 # A symbol stripping program
20460 # Used to examine libraries when file_magic_cmd begins "file"
20461 MAGIC_CMD=$MAGIC_CMD
20463 # Used on cygwin: DLL creation program.
20466 # Used on cygwin: object dumper.
20469 # Used on cygwin: assembler.
20472 # The name of the directory that contains temporary libtool files.
20475 # How to create reloadable object files.
20476 reload_flag=$lt_reload_flag
20477 reload_cmds=$lt_reload_cmds
20479 # How to pass a linker flag through the compiler.
20480 wl=$lt_lt_prog_compiler_wl
20482 # Object file suffix (normally "o").
20483 objext="$ac_objext"
20485 # Old archive suffix (normally "a").
20488 # Shared library suffix (normally ".so").
20489 shrext_cmds='$shrext_cmds'
20491 # Executable file suffix (normally "").
20494 # Additional compiler flags for building library objects.
20495 pic_flag=$lt_lt_prog_compiler_pic
20498 # What is the maximum length of a command?
20499 max_cmd_len=$lt_cv_sys_max_cmd_len
20501 # Does compiler simultaneously support -c and -o options?
20502 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20504 # Must we lock files when doing compilation?
20505 need_locks=$lt_need_locks
20507 # Do we need the lib prefix for modules?
20508 need_lib_prefix=$need_lib_prefix
20510 # Do we need a version for libraries?
20511 need_version=$need_version
20513 # Whether dlopen is supported.
20514 dlopen_support=$enable_dlopen
20516 # Whether dlopen of programs is supported.
20517 dlopen_self=$enable_dlopen_self
20519 # Whether dlopen of statically linked programs is supported.
20520 dlopen_self_static=$enable_dlopen_self_static
20522 # Compiler flag to prevent dynamic linking.
20523 link_static_flag=$lt_lt_prog_compiler_static
20525 # Compiler flag to turn off builtin functions.
20526 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20528 # Compiler flag to allow reflexive dlopens.
20529 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20531 # Compiler flag to generate shared objects directly from archives.
20532 whole_archive_flag_spec=$lt_whole_archive_flag_spec
20534 # Compiler flag to generate thread-safe objects.
20535 thread_safe_flag_spec=$lt_thread_safe_flag_spec
20537 # Library versioning type.
20538 version_type=$version_type
20540 # Format of library name prefix.
20541 libname_spec=$lt_libname_spec
20543 # List of archive names. First name is the real one, the rest are links.
20544 # The last name is the one that the linker finds with -lNAME.
20545 library_names_spec=$lt_library_names_spec
20547 # The coded name of the library, if different from the real name.
20548 soname_spec=$lt_soname_spec
20550 # Commands used to build and install an old-style archive.
20552 old_archive_cmds=$lt_old_archive_cmds
20553 old_postinstall_cmds=$lt_old_postinstall_cmds
20554 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20556 # Create an old-style archive from a shared archive.
20557 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20559 # Create a temporary old-style archive to link instead of a shared archive.
20560 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20562 # Commands used to build and install a shared archive.
20563 archive_cmds=$lt_archive_cmds
20564 archive_expsym_cmds=$lt_archive_expsym_cmds
20565 postinstall_cmds=$lt_postinstall_cmds
20566 postuninstall_cmds=$lt_postuninstall_cmds
20568 # Commands used to build a loadable module (assumed same as above if empty)
20569 module_cmds=$lt_module_cmds
20570 module_expsym_cmds=$lt_module_expsym_cmds
20572 # Commands to strip libraries.
20573 old_striplib=$lt_old_striplib
20574 striplib=$lt_striplib
20576 # Dependencies to place before the objects being linked to create a
20578 predep_objects=$lt_predep_objects
20580 # Dependencies to place after the objects being linked to create a
20582 postdep_objects=$lt_postdep_objects
20584 # Dependencies to place before the objects being linked to create a
20586 predeps=$lt_predeps
20588 # Dependencies to place after the objects being linked to create a
20590 postdeps=$lt_postdeps
20592 # The library search path used internally by the compiler when linking
20593 # a shared library.
20594 compiler_lib_search_path=$lt_compiler_lib_search_path
20596 # Method to check whether dependent libraries are shared objects.
20597 deplibs_check_method=$lt_deplibs_check_method
20599 # Command to use when deplibs_check_method == file_magic.
20600 file_magic_cmd=$lt_file_magic_cmd
20602 # Flag that allows shared libraries with undefined symbols to be built.
20603 allow_undefined_flag=$lt_allow_undefined_flag
20605 # Flag that forces no undefined symbols.
20606 no_undefined_flag=$lt_no_undefined_flag
20608 # Commands used to finish a libtool library installation in a directory.
20609 finish_cmds=$lt_finish_cmds
20611 # Same as above, but a single script fragment to be evaled but not shown.
20612 finish_eval=$lt_finish_eval
20614 # Take the output of nm and produce a listing of raw symbols and C names.
20615 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20617 # Transform the output of nm in a proper C declaration
20618 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20620 # Transform the output of nm in a C name address pair
20621 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20623 # This is the shared library runtime path variable.
20624 runpath_var=$runpath_var
20626 # This is the shared library path variable.
20627 shlibpath_var=$shlibpath_var
20629 # Is shlibpath searched before the hard-coded library search path?
20630 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20632 # How to hardcode a shared library path into an executable.
20633 hardcode_action=$hardcode_action
20635 # Whether we should hardcode library paths into libraries.
20636 hardcode_into_libs=$hardcode_into_libs
20638 # Flag to hardcode \$libdir into a binary during linking.
20639 # This must work even if \$libdir does not exist.
20640 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20642 # If ld is used when linking, flag to hardcode \$libdir into
20643 # a binary during linking. This must work even if \$libdir does
20645 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
20647 # Whether we need a single -rpath flag with a separated argument.
20648 hardcode_libdir_separator=$lt_hardcode_libdir_separator
20650 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20651 # resulting binary.
20652 hardcode_direct=$hardcode_direct
20654 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20655 # resulting binary.
20656 hardcode_minus_L=$hardcode_minus_L
20658 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20659 # the resulting binary.
20660 hardcode_shlibpath_var=$hardcode_shlibpath_var
20662 # Set to yes if building a shared library automatically hardcodes DIR into the library
20663 # and all subsequent libraries and executables linked against it.
20664 hardcode_automatic=$hardcode_automatic
20666 # Variables whose values should be saved in libtool wrapper scripts and
20667 # restored at relink time.
20668 variables_saved_for_relink="$variables_saved_for_relink"
20670 # Whether libtool must link a program against all its dependency libraries.
20671 link_all_deplibs=$link_all_deplibs
20673 # Compile-time system search path for libraries
20674 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20676 # Run-time system search path for libraries
20677 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20679 # Fix the shell variable \$srcfile for the compiler.
20680 fix_srcfile_path="$fix_srcfile_path"
20682 # Set to yes if exported symbols are required.
20683 always_export_symbols=$always_export_symbols
20685 # The commands to list exported symbols.
20686 export_symbols_cmds=$lt_export_symbols_cmds
20688 # The commands to extract the exported symbol list from a shared archive.
20689 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20691 # Symbols that should not be listed in the preloaded symbols.
20692 exclude_expsyms=$lt_exclude_expsyms
20694 # Symbols that must always be exported.
20695 include_expsyms=$lt_include_expsyms
20697 # ### END LIBTOOL CONFIG
20704 cat <<\EOF >> "$cfgfile"
20706 # AIX sometimes has problems with the GCC collect2 program. For some
20707 # reason, if we set the COLLECT_NAMES environment variable, the problems
20708 # vanish in a puff of smoke.
20709 if test "X${COLLECT_NAMES+set}" != Xset; then
20711 export COLLECT_NAMES
20717 # We use sed instead of cat because bash on DJGPP gets confused if
20718 # if finds mixed CR/LF and LF-only lines. Since sed operates in
20719 # text mode, it properly converts lines to CR/LF. This bash problem
20720 # is reportedly fixed, but why not run on old versions too?
20721 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
20723 mv -f "$cfgfile" "$ofile" || \
20724 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20728 # If there is no Makefile yet, we rely on a make rule to execute
20729 # `config.status --recheck' to rerun these tests and create the
20730 # libtool script then.
20731 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20732 if test -f "$ltmain_in"; then
20733 test -f Makefile && make "$ltmain"
20739 ac_cpp='$CPP $CPPFLAGS'
20740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20747 # Check whether --with-tags or --without-tags was given.
20748 if test "${with_tags+set}" = set; then
20749 withval="$with_tags"
20750 tagnames="$withval"
20753 if test -f "$ltmain" && test -n "$tagnames"; then
20754 if test ! -f "${ofile}"; then
20755 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
20756 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
20759 if test -z "$LTCC"; then
20760 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
20761 if test -z "$LTCC"; then
20762 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
20763 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
20765 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
20766 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
20770 # Extract list of available tagged configurations in $ofile.
20771 # Note that this assumes the entire list is on one line.
20772 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
20774 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
20775 for tagname in $tagnames; do
20777 # Check whether tagname contains only valid characters
20778 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
20780 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
20781 echo "$as_me: error: invalid tag name: $tagname" >&2;}
20782 { (exit 1); exit 1; }; }
20786 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
20788 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
20789 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
20790 { (exit 1); exit 1; }; }
20793 # Update the list of available tags.
20794 if test -n "$tagname"; then
20795 echo appending configuration tag \"$tagname\" to $ofile
20799 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
20800 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
20801 (test "X$CXX" != "Xg++"))) ; then
20803 ac_cpp='$CXXCPP $CPPFLAGS'
20804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20811 archive_cmds_need_lc_CXX=no
20812 allow_undefined_flag_CXX=
20813 always_export_symbols_CXX=no
20814 archive_expsym_cmds_CXX=
20815 export_dynamic_flag_spec_CXX=
20816 hardcode_direct_CXX=no
20817 hardcode_libdir_flag_spec_CXX=
20818 hardcode_libdir_flag_spec_ld_CXX=
20819 hardcode_libdir_separator_CXX=
20820 hardcode_minus_L_CXX=no
20821 hardcode_automatic_CXX=no
20823 module_expsym_cmds_CXX=
20824 link_all_deplibs_CXX=unknown
20825 old_archive_cmds_CXX=$old_archive_cmds
20826 no_undefined_flag_CXX=
20827 whole_archive_flag_spec_CXX=
20828 enable_shared_with_static_runtimes_CXX=no
20830 # Dependencies to place before and after the object being linked:
20831 predep_objects_CXX=
20832 postdep_objects_CXX=
20835 compiler_lib_search_path_CXX=
20837 # Source file extension for C++ test sources.
20840 # Object file extension for compiled C++ test sources.
20844 # Code to be used in simple compile tests
20845 lt_simple_compile_test_code="int some_variable = 0;\n"
20847 # Code to be used in simple link tests
20848 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
20850 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
20852 # If no C compiler was specified, use CC.
20855 # Allow CC to be a program name with arguments.
20859 # save warnings/boilerplate of simple test code
20860 ac_outfile=conftest.$ac_objext
20861 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
20862 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
20863 _lt_compiler_boilerplate=`cat conftest.err`
20866 ac_outfile=conftest.$ac_objext
20867 printf "$lt_simple_link_test_code" >conftest.$ac_ext
20868 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
20869 _lt_linker_boilerplate=`cat conftest.err`
20873 # Allow CC to be a program name with arguments.
20878 lt_save_with_gnu_ld=$with_gnu_ld
20879 lt_save_path_LD=$lt_cv_path_LD
20880 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
20881 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
20883 unset lt_cv_prog_gnu_ld
20885 if test -n "${lt_cv_path_LDCXX+set}"; then
20886 lt_cv_path_LD=$lt_cv_path_LDCXX
20888 unset lt_cv_path_LD
20890 test -z "${LDCXX+set}" || LD=$LDCXX
20894 for cc_temp in $compiler""; do
20896 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20897 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20902 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20905 # We don't want -fno-exception wen compiling C++ code, so set the
20906 # no_builtin_flag separately
20907 if test "$GXX" = yes; then
20908 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
20910 lt_prog_compiler_no_builtin_flag_CXX=
20913 if test "$GXX" = yes; then
20914 # Set up default GNU C++ configuration
20917 # Check whether --with-gnu-ld or --without-gnu-ld was given.
20918 if test "${with_gnu_ld+set}" = set; then
20919 withval="$with_gnu_ld"
20920 test "$withval" = no || with_gnu_ld=yes
20925 if test "$GCC" = yes; then
20926 # Check if gcc -print-prog-name=ld gives a path.
20927 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
20928 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
20931 # gcc leaves a trailing carriage return which upsets mingw
20932 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20934 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20937 # Accept absolute paths.
20939 re_direlt='/[^/][^/]*/\.\./'
20940 # Canonicalize the pathname of ld
20941 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
20942 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
20943 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
20945 test -z "$LD" && LD="$ac_prog"
20948 # If it fails, then pretend we aren't using GCC.
20952 # If it is relative, then search for the first ld in PATH.
20953 with_gnu_ld=unknown
20956 elif test "$with_gnu_ld" = yes; then
20957 echo "$as_me:$LINENO: checking for GNU ld" >&5
20958 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
20960 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
20961 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
20963 if test "${lt_cv_path_LD+set}" = set; then
20964 echo $ECHO_N "(cached) $ECHO_C" >&6
20966 if test -z "$LD"; then
20967 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20968 for ac_dir in $PATH; do
20970 test -z "$ac_dir" && ac_dir=.
20971 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20972 lt_cv_path_LD="$ac_dir/$ac_prog"
20973 # Check to see if the program is GNU ld. I'd rather use --version,
20974 # but apparently some variants of GNU ld only accept -v.
20975 # Break only if it was the GNU/non-GNU ld that we prefer.
20976 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20977 *GNU* | *'with BFD'*)
20978 test "$with_gnu_ld" != no && break
20981 test "$with_gnu_ld" != yes && break
20988 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20992 LD="$lt_cv_path_LD"
20993 if test -n "$LD"; then
20994 echo "$as_me:$LINENO: result: $LD" >&5
20995 echo "${ECHO_T}$LD" >&6
20997 echo "$as_me:$LINENO: result: no" >&5
20998 echo "${ECHO_T}no" >&6
21000 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
21001 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
21002 { (exit 1); exit 1; }; }
21003 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
21004 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
21005 if test "${lt_cv_prog_gnu_ld+set}" = set; then
21006 echo $ECHO_N "(cached) $ECHO_C" >&6
21008 # I'd rather use --version here, but apparently some GNU lds only accept -v.
21009 case `$LD -v 2>&1 </dev/null` in
21010 *GNU* | *'with BFD'*)
21011 lt_cv_prog_gnu_ld=yes
21014 lt_cv_prog_gnu_ld=no
21018 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
21019 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
21020 with_gnu_ld=$lt_cv_prog_gnu_ld
21024 # Check if GNU C++ uses GNU ld as the underlying linker, since the
21025 # archiving commands below assume that GNU ld is being used.
21026 if test "$with_gnu_ld" = yes; then
21027 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
21028 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21030 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
21031 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
21033 # If archive_cmds runs LD, not CC, wlarc should be empty
21034 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
21035 # investigate it a little bit more. (MM)
21038 # ancient GNU ld didn't support --whole-archive et. al.
21039 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
21040 grep 'no-whole-archive' > /dev/null; then
21041 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
21043 whole_archive_flag_spec_CXX=
21049 # A generic and very simple default shared library creation
21050 # command for GNU C++ for the case where it uses the native
21051 # linker, instead of GNU ld. If possible, this setting should
21052 # overridden to take advantage of the native linker features on
21053 # the platform it is being used on.
21054 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
21057 # Commands to make compiler produce verbose output that lists
21058 # what "hidden" libraries, object files and flags are used when
21059 # linking a shared library.
21060 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
21068 # PORTME: fill in a description of your system's C++ link characteristics
21069 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
21070 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
21074 # FIXME: insert proper C++ library support
21078 if test "$host_cpu" = ia64; then
21079 # On IA64, the linker does run time linking by default, so we don't
21080 # have to do anything special.
21081 aix_use_runtimelinking=no
21082 exp_sym_flag='-Bexport'
21085 aix_use_runtimelinking=no
21087 # Test if we are trying to use run time linking or normal
21088 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
21089 # need to do runtime linking.
21090 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
21091 for ld_flag in $LDFLAGS; do
21094 aix_use_runtimelinking=yes
21101 exp_sym_flag='-bexport'
21102 no_entry_flag='-bnoentry'
21105 # When large executables or shared objects are built, AIX ld can
21106 # have problems creating the table of contents. If linking a library
21107 # or program results in "error TOC overflow" add -mminimal-toc to
21108 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
21109 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
21111 archive_cmds_CXX=''
21112 hardcode_direct_CXX=yes
21113 hardcode_libdir_separator_CXX=':'
21114 link_all_deplibs_CXX=yes
21116 if test "$GXX" = yes; then
21117 case $host_os in aix4.[012]|aix4.[012].*)
21118 # We only want to do this on AIX 4.2 and lower, the check
21119 # below for broken collect2 doesn't work under 4.3+
21120 collect2name=`${CC} -print-prog-name=collect2`
21121 if test -f "$collect2name" && \
21122 strings "$collect2name" | grep resolve_lib_name >/dev/null
21124 # We have reworked collect2
21125 hardcode_direct_CXX=yes
21127 # We have old collect2
21128 hardcode_direct_CXX=unsupported
21129 # It fails to find uninstalled libraries when the uninstalled
21130 # path is not listed in the libpath. Setting hardcode_minus_L
21131 # to unsupported forces relinking
21132 hardcode_minus_L_CXX=yes
21133 hardcode_libdir_flag_spec_CXX='-L$libdir'
21134 hardcode_libdir_separator_CXX=
21137 shared_flag='-shared'
21138 if test "$aix_use_runtimelinking" = yes; then
21139 shared_flag="$shared_flag "'${wl}-G'
21143 if test "$host_cpu" = ia64; then
21144 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
21145 # chokes on -Wl,-G. The following line is correct:
21148 if test "$aix_use_runtimelinking" = yes; then
21149 shared_flag='${wl}-G'
21151 shared_flag='${wl}-bM:SRE'
21156 # It seems that -bexpall does not export symbols beginning with
21157 # underscore (_), so it is better to generate a list of symbols to export.
21158 always_export_symbols_CXX=yes
21159 if test "$aix_use_runtimelinking" = yes; then
21160 # Warning - without using the other runtime loading flags (-brtl),
21161 # -berok will link without error, but may produce a broken library.
21162 allow_undefined_flag_CXX='-berok'
21163 # Determine the default libpath from the value encoded in an empty executable.
21164 cat >conftest.$ac_ext <<_ACEOF
21167 cat confdefs.h >>conftest.$ac_ext
21168 cat >>conftest.$ac_ext <<_ACEOF
21169 /* end confdefs.h. */
21179 rm -f conftest.$ac_objext conftest$ac_exeext
21180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21181 (eval $ac_link) 2>conftest.er1
21183 grep -v '^ *+' conftest.er1 >conftest.err
21185 cat conftest.err >&5
21186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21187 (exit $ac_status); } &&
21188 { ac_try='test -z "$ac_cxx_werror_flag"
21189 || test ! -s conftest.err'
21190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21191 (eval $ac_try) 2>&5
21193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21194 (exit $ac_status); }; } &&
21195 { ac_try='test -s conftest$ac_exeext'
21196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21197 (eval $ac_try) 2>&5
21199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21200 (exit $ac_status); }; }; then
21202 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
21204 # Check for a 64-bit object if we didn't find anything.
21205 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
21208 echo "$as_me: failed program was:" >&5
21209 sed 's/^/| /' conftest.$ac_ext >&5
21212 rm -f conftest.err conftest.$ac_objext \
21213 conftest$ac_exeext conftest.$ac_ext
21214 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21216 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
21218 archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
21220 if test "$host_cpu" = ia64; then
21221 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
21222 allow_undefined_flag_CXX="-z nodefs"
21223 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
21225 # Determine the default libpath from the value encoded in an empty executable.
21226 cat >conftest.$ac_ext <<_ACEOF
21229 cat confdefs.h >>conftest.$ac_ext
21230 cat >>conftest.$ac_ext <<_ACEOF
21231 /* end confdefs.h. */
21241 rm -f conftest.$ac_objext conftest$ac_exeext
21242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21243 (eval $ac_link) 2>conftest.er1
21245 grep -v '^ *+' conftest.er1 >conftest.err
21247 cat conftest.err >&5
21248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21249 (exit $ac_status); } &&
21250 { ac_try='test -z "$ac_cxx_werror_flag"
21251 || test ! -s conftest.err'
21252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21253 (eval $ac_try) 2>&5
21255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21256 (exit $ac_status); }; } &&
21257 { ac_try='test -s conftest$ac_exeext'
21258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21259 (eval $ac_try) 2>&5
21261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21262 (exit $ac_status); }; }; then
21264 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
21266 # Check for a 64-bit object if we didn't find anything.
21267 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
21270 echo "$as_me: failed program was:" >&5
21271 sed 's/^/| /' conftest.$ac_ext >&5
21274 rm -f conftest.err conftest.$ac_objext \
21275 conftest$ac_exeext conftest.$ac_ext
21276 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21278 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
21279 # Warning - without using the other run time loading flags,
21280 # -berok will link without error, but may produce a broken library.
21281 no_undefined_flag_CXX=' ${wl}-bernotok'
21282 allow_undefined_flag_CXX=' ${wl}-berok'
21283 # -bexpall does not export symbols beginning with underscore (_)
21284 always_export_symbols_CXX=yes
21285 # Exported symbols can be pulled into shared objects from archives
21286 whole_archive_flag_spec_CXX=' '
21287 archive_cmds_need_lc_CXX=yes
21288 # This is similar to how AIX traditionally builds its shared libraries.
21289 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
21294 case $cc_basename in
21296 # FIXME: insert proper C++ library support
21303 cygwin* | mingw* | pw32*)
21304 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
21305 # as there is no search path for DLLs.
21306 hardcode_libdir_flag_spec_CXX='-L$libdir'
21307 allow_undefined_flag_CXX=unsupported
21308 always_export_symbols_CXX=no
21309 enable_shared_with_static_runtimes_CXX=yes
21311 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
21312 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
21313 # If the export-symbols file already is a .def file (1st line
21314 # is EXPORTS), use it as is; otherwise, prepend...
21315 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
21316 cp $export_symbols $output_objdir/$soname.def;
21318 echo EXPORTS > $output_objdir/$soname.def;
21319 cat $export_symbols >> $output_objdir/$soname.def;
21321 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
21326 darwin* | rhapsody*)
21328 rhapsody* | darwin1.[012])
21329 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
21332 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
21333 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
21335 case ${MACOSX_DEPLOYMENT_TARGET} in
21337 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
21340 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
21346 archive_cmds_need_lc_CXX=no
21347 hardcode_direct_CXX=no
21348 hardcode_automatic_CXX=yes
21349 hardcode_shlibpath_var_CXX=unsupported
21350 whole_archive_flag_spec_CXX=''
21351 link_all_deplibs_CXX=yes
21353 if test "$GXX" = yes ; then
21354 lt_int_apple_cc_single_mod=no
21355 output_verbose_link_cmd='echo'
21356 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
21357 lt_int_apple_cc_single_mod=yes
21359 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
21360 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
21362 archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
21364 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
21365 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
21366 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
21367 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
21369 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
21371 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
21373 case $cc_basename in
21375 output_verbose_link_cmd='echo'
21376 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
21377 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
21378 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
21379 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
21380 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
21390 case $cc_basename in
21392 # FIXME: insert proper C++ library support
21396 # Green Hills C++ Compiler
21397 # FIXME: insert proper C++ library support
21401 # FIXME: insert proper C++ library support
21407 # C++ shared libraries reported to be fairly broken before switch to ELF
21411 archive_cmds_need_lc_CXX=no
21413 freebsd* | kfreebsd*-gnu | dragonfly*)
21414 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
21421 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
21422 hardcode_libdir_separator_CXX=:
21423 export_dynamic_flag_spec_CXX='${wl}-E'
21424 hardcode_direct_CXX=yes
21425 hardcode_minus_L_CXX=yes # Not in the search PATH,
21426 # but as the default
21427 # location of the library.
21429 case $cc_basename in
21431 # FIXME: insert proper C++ library support
21435 archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
21436 # Commands to make compiler produce verbose output that lists
21437 # what "hidden" libraries, object files and flags are used when
21438 # linking a shared library.
21440 # There doesn't appear to be a way to prevent this compiler from
21441 # explicitly linking system object files so we need to strip them
21442 # from the output so that they don't get included in the library
21444 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
21447 if test "$GXX" = yes; then
21448 archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
21450 # FIXME: insert proper C++ library support
21457 if test $with_gnu_ld = no; then
21460 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
21461 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
21462 hardcode_libdir_separator_CXX=:
21465 hardcode_libdir_flag_spec_CXX='-L$libdir'
21468 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
21469 hardcode_libdir_separator_CXX=:
21470 export_dynamic_flag_spec_CXX='${wl}-E'
21476 hardcode_direct_CXX=no
21477 hardcode_shlibpath_var_CXX=no
21480 hardcode_direct_CXX=no
21481 hardcode_shlibpath_var_CXX=no
21482 hardcode_minus_L_CXX=yes # Not in the search PATH,
21483 # but as the default
21484 # location of the library.
21487 hardcode_direct_CXX=yes
21488 hardcode_minus_L_CXX=yes # Not in the search PATH,
21489 # but as the default
21490 # location of the library.
21494 case $cc_basename in
21496 # FIXME: insert proper C++ library support
21502 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
21505 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
21508 # Commands to make compiler produce verbose output that lists
21509 # what "hidden" libraries, object files and flags are used when
21510 # linking a shared library.
21512 # There doesn't appear to be a way to prevent this compiler from
21513 # explicitly linking system object files so we need to strip them
21514 # from the output so that they don't get included in the library
21516 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
21519 if test "$GXX" = yes; then
21520 if test $with_gnu_ld = no; then
21523 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
21526 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
21531 # FIXME: insert proper C++ library support
21538 case $cc_basename in
21541 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
21543 # Archives containing C++ object files must be created using
21544 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
21545 # necessary to make sure instantiated templates are included
21547 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
21550 if test "$GXX" = yes; then
21551 if test "$with_gnu_ld" = no; then
21552 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
21554 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
21557 link_all_deplibs_CXX=yes
21560 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
21561 hardcode_libdir_separator_CXX=:
21564 case $cc_basename in
21566 # Kuck and Associates, Inc. (KAI) C++ Compiler
21568 # KCC will only create a shared library if the output file
21569 # ends with ".so" (or ".sl" for HP-UX), so rename the library
21570 # to its proper name (with version) after linking.
21571 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
21572 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
21573 # Commands to make compiler produce verbose output that lists
21574 # what "hidden" libraries, object files and flags are used when
21575 # linking a shared library.
21577 # There doesn't appear to be a way to prevent this compiler from
21578 # explicitly linking system object files so we need to strip them
21579 # from the output so that they don't get included in the library
21581 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
21583 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
21584 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
21586 # Archives containing C++ object files must be created using
21587 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
21588 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
21593 # version 8.0 and above of icpc choke on multiply defined symbols
21594 # if we add $predep_objects and $postdep_objects, however 7.1 and
21595 # earlier do not add the objects themselves.
21596 case `$CC -V 2>&1` in
21598 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
21599 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21601 *) # Version 8.0 or newer
21604 ia64*) tmp_idyn=' -i_dynamic';;
21606 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21607 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21610 archive_cmds_need_lc_CXX=no
21611 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
21612 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
21613 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
21616 # Portland Group C++ compiler
21617 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
21618 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
21620 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
21621 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
21622 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
21626 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
21627 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
21629 runpath_var=LD_RUN_PATH
21630 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
21631 hardcode_libdir_separator_CXX=:
21633 # Commands to make compiler produce verbose output that lists
21634 # what "hidden" libraries, object files and flags are used when
21635 # linking a shared library.
21637 # There doesn't appear to be a way to prevent this compiler from
21638 # explicitly linking system object files so we need to strip them
21639 # from the output so that they don't get included in the library
21641 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
21646 # FIXME: insert proper C++ library support
21650 # FIXME: insert proper C++ library support
21654 case $cc_basename in
21656 # FIXME: insert proper C++ library support
21660 # FIXME: insert proper C++ library support
21666 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
21667 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
21669 hardcode_libdir_flag_spec_CXX='-R$libdir'
21670 hardcode_direct_CXX=yes
21671 hardcode_shlibpath_var_CXX=no
21673 # Workaround some broken pre-1.5 toolchains
21674 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
21677 # C++ shared libraries are fairly broken
21681 hardcode_direct_CXX=yes
21682 hardcode_shlibpath_var_CXX=no
21683 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
21684 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
21685 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
21686 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
21687 export_dynamic_flag_spec_CXX='${wl}-E'
21688 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
21690 output_verbose_link_cmd='echo'
21693 case $cc_basename in
21695 # Kuck and Associates, Inc. (KAI) C++ Compiler
21697 # KCC will only create a shared library if the output file
21698 # ends with ".so" (or ".sl" for HP-UX), so rename the library
21699 # to its proper name (with version) after linking.
21700 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
21702 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
21703 hardcode_libdir_separator_CXX=:
21705 # Archives containing C++ object files must be created using
21706 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
21707 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
21711 # Rational C++ 2.4.1
21712 # FIXME: insert proper C++ library support
21716 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
21717 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
21719 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
21720 hardcode_libdir_separator_CXX=:
21722 # Commands to make compiler produce verbose output that lists
21723 # what "hidden" libraries, object files and flags are used when
21724 # linking a shared library.
21726 # There doesn't appear to be a way to prevent this compiler from
21727 # explicitly linking system object files so we need to strip them
21728 # from the output so that they don't get included in the library
21730 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
21733 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
21734 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
21735 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
21737 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
21738 hardcode_libdir_separator_CXX=:
21740 # Commands to make compiler produce verbose output that lists
21741 # what "hidden" libraries, object files and flags are used when
21742 # linking a shared library.
21743 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
21746 # FIXME: insert proper C++ library support
21753 case $cc_basename in
21755 # Kuck and Associates, Inc. (KAI) C++ Compiler
21757 # KCC will only create a shared library if the output file
21758 # ends with ".so" (or ".sl" for HP-UX), so rename the library
21759 # to its proper name (with version) after linking.
21760 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
21762 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
21763 hardcode_libdir_separator_CXX=:
21765 # Archives containing C++ object files must be created using
21766 # the KAI C++ compiler.
21767 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
21770 # Rational C++ 2.4.1
21771 # FIXME: insert proper C++ library support
21775 allow_undefined_flag_CXX=' -expect_unresolved \*'
21776 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
21777 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
21778 echo "-hidden">> $lib.exp~
21779 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
21782 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
21783 hardcode_libdir_separator_CXX=:
21785 # Commands to make compiler produce verbose output that lists
21786 # what "hidden" libraries, object files and flags are used when
21787 # linking a shared library.
21789 # There doesn't appear to be a way to prevent this compiler from
21790 # explicitly linking system object files so we need to strip them
21791 # from the output so that they don't get included in the library
21793 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
21796 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
21797 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
21798 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
21800 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
21801 hardcode_libdir_separator_CXX=:
21803 # Commands to make compiler produce verbose output that lists
21804 # what "hidden" libraries, object files and flags are used when
21805 # linking a shared library.
21806 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
21809 # FIXME: insert proper C++ library support
21816 # FIXME: insert proper C++ library support
21820 archive_cmds_need_lc_CXX=no
21821 case $cc_basename in
21823 # FIXME: insert proper C++ library support
21827 # FIXME: insert proper C++ library support
21833 case $cc_basename in
21836 # FIXME: insert proper C++ library support
21841 # FIXME: insert proper C++ library support
21845 # FIXME: insert proper C++ library support
21851 case $cc_basename in
21853 # Sun C++ 4.2, 5.x and Centerline C++
21854 archive_cmds_need_lc_CXX=yes
21855 no_undefined_flag_CXX=' -zdefs'
21856 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
21857 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
21858 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
21860 hardcode_libdir_flag_spec_CXX='-R$libdir'
21861 hardcode_shlibpath_var_CXX=no
21863 solaris2.[0-5] | solaris2.[0-5].*) ;;
21865 # The C++ compiler is used as linker so we must use $wl
21866 # flag to pass the commands to the underlying system
21867 # linker. We must also pass each convience library through
21868 # to the system linker between allextract/defaultextract.
21869 # The C++ compiler will combine linker options so we
21870 # cannot just pass the convience library names through
21872 # Supported since Solaris 2.6 (maybe 2.5.1?)
21873 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
21876 link_all_deplibs_CXX=yes
21878 output_verbose_link_cmd='echo'
21880 # Archives containing C++ object files must be created using
21881 # "CC -xar", where "CC" is the Sun C++ compiler. This is
21882 # necessary to make sure instantiated templates are included
21884 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
21887 # Green Hills C++ Compiler
21888 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
21890 # The C++ compiler must be used to create the archive.
21891 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
21894 # GNU C++ compiler with Solaris linker
21895 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
21896 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
21897 if $CC --version | grep -v '^2\.7' > /dev/null; then
21898 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
21899 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
21900 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
21902 # Commands to make compiler produce verbose output that lists
21903 # what "hidden" libraries, object files and flags are used when
21904 # linking a shared library.
21905 output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
21907 # g++ 2.7 appears to require `-G' NOT `-shared' on this
21909 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
21910 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
21911 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
21913 # Commands to make compiler produce verbose output that lists
21914 # what "hidden" libraries, object files and flags are used when
21915 # linking a shared library.
21916 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
21919 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
21924 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
21925 archive_cmds_need_lc_CXX=no
21928 case $cc_basename in
21930 # NonStop-UX NCC 3.20
21931 # FIXME: insert proper C++ library support
21935 # FIXME: insert proper C++ library support
21941 # FIXME: insert proper C++ library support
21945 # FIXME: insert proper C++ library support
21949 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
21950 echo "${ECHO_T}$ld_shlibs_CXX" >&6
21951 test "$ld_shlibs_CXX" = no && can_build_shared=no
21957 cat > conftest.$ac_ext <<EOF
21961 Foo (void) { a = 0; }
21967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21968 (eval $ac_compile) 2>&5
21970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21971 (exit $ac_status); }; then
21972 # Parse the compiler output and extract the necessary
21973 # objects, libraries and library flags.
21975 # Sentinel used to keep track of whether or not we are before
21976 # the conftest object file.
21977 pre_test_object_deps_done=no
21979 # The `*' in the case matches for architectures that use `case' in
21980 # $output_verbose_cmd can trigger glob expansion during the loop
21981 # eval without this substitution.
21982 output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
21984 for p in `eval $output_verbose_link_cmd`; do
21988 # Some compilers place space between "-{L,R}" and the path.
21989 # Remove the space.
21990 if test $p = "-L" \
21991 || test $p = "-R"; then
21998 if test "$pre_test_object_deps_done" = no; then
22001 # Internal compiler library paths should come after those
22002 # provided the user. The postdeps already come after the
22003 # user supplied libs so there is no need to process them.
22004 if test -z "$compiler_lib_search_path_CXX"; then
22005 compiler_lib_search_path_CXX="${prev}${p}"
22007 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
22010 # The "-l" case would never come before the object being
22011 # linked, so don't bother handling this case.
22014 if test -z "$postdeps_CXX"; then
22015 postdeps_CXX="${prev}${p}"
22017 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
22023 # This assumes that the test object file only shows up
22024 # once in the compiler output.
22025 if test "$p" = "conftest.$objext"; then
22026 pre_test_object_deps_done=yes
22030 if test "$pre_test_object_deps_done" = no; then
22031 if test -z "$predep_objects_CXX"; then
22032 predep_objects_CXX="$p"
22034 predep_objects_CXX="$predep_objects_CXX $p"
22037 if test -z "$postdep_objects_CXX"; then
22038 postdep_objects_CXX="$p"
22040 postdep_objects_CXX="$postdep_objects_CXX $p"
22045 *) ;; # Ignore the rest.
22053 echo "libtool.m4: error: problem compiling CXX test program"
22056 $rm -f confest.$objext
22058 # PORTME: override above test on systems where it is broken
22061 case $cc_basename in
22063 # Adding this requires a known-good setup of shared libraries for
22064 # Sun compiler versions before 5.6, else PIC objects from an old
22065 # archive will be linked into the output, leading to subtle bugs.
22066 postdeps_CXX='-lCstd -lCrun'
22072 case " $postdeps_CXX " in
22073 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
22076 lt_prog_compiler_wl_CXX=
22077 lt_prog_compiler_pic_CXX=
22078 lt_prog_compiler_static_CXX=
22080 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
22081 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
22083 # C++ specific cases for pic, static, wl, etc.
22084 if test "$GXX" = yes; then
22085 lt_prog_compiler_wl_CXX='-Wl,'
22086 lt_prog_compiler_static_CXX='-static'
22090 # All AIX code is PIC.
22091 if test "$host_cpu" = ia64; then
22092 # AIX 5 now supports IA64 processor
22093 lt_prog_compiler_static_CXX='-Bstatic'
22097 # FIXME: we need at least 68020 code to build shared libraries, but
22098 # adding the `-m68020' flag to GCC prevents building anything better,
22100 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
22102 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
22103 # PIC is the default for these OSes.
22105 mingw* | os2* | pw32*)
22106 # This hack is so that the source file can tell whether it is being
22107 # built for inclusion in a dll (and should export symbols for example).
22108 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
22110 darwin* | rhapsody*)
22111 # PIC is the default on this platform
22112 # Common symbols not allowed in MH_DYLIB files
22113 lt_prog_compiler_pic_CXX='-fno-common'
22116 # DJGPP does not support shared libraries at all
22117 lt_prog_compiler_pic_CXX=
22120 if test -d /usr/nec; then
22121 lt_prog_compiler_pic_CXX=-Kconform_pic
22125 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
22126 # not for PA HP-UX.
22131 lt_prog_compiler_pic_CXX='-fPIC'
22136 lt_prog_compiler_pic_CXX='-fPIC'
22142 # All AIX code is PIC.
22143 if test "$host_cpu" = ia64; then
22144 # AIX 5 now supports IA64 processor
22145 lt_prog_compiler_static_CXX='-Bstatic'
22147 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
22151 case $cc_basename in
22153 # Green Hills C++ Compiler
22154 # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
22159 # PIC is the default on this platform
22160 # Common symbols not allowed in MH_DYLIB files
22161 case $cc_basename in
22163 lt_prog_compiler_pic_CXX='-qnocommon'
22164 lt_prog_compiler_wl_CXX='-Wl,'
22169 case $cc_basename in
22171 lt_prog_compiler_pic_CXX='-KPIC'
22174 # Green Hills C++ Compiler
22175 lt_prog_compiler_pic_CXX='-pic'
22181 freebsd* | kfreebsd*-gnu | dragonfly*)
22182 # FreeBSD uses GNU C++
22184 hpux9* | hpux10* | hpux11*)
22185 case $cc_basename in
22187 lt_prog_compiler_wl_CXX='-Wl,'
22188 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
22189 if test "$host_cpu" != ia64; then
22190 lt_prog_compiler_pic_CXX='+Z'
22194 lt_prog_compiler_wl_CXX='-Wl,'
22195 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
22201 lt_prog_compiler_pic_CXX='+Z'
22209 irix5* | irix6* | nonstopux*)
22210 case $cc_basename in
22212 lt_prog_compiler_wl_CXX='-Wl,'
22213 lt_prog_compiler_static_CXX='-non_shared'
22214 # CC pic flag -KPIC is the default.
22221 case $cc_basename in
22224 lt_prog_compiler_wl_CXX='--backend -Wl,'
22225 lt_prog_compiler_pic_CXX='-fPIC'
22229 lt_prog_compiler_wl_CXX='-Wl,'
22230 lt_prog_compiler_pic_CXX='-KPIC'
22231 lt_prog_compiler_static_CXX='-static'
22234 # Portland Group C++ compiler.
22235 lt_prog_compiler_wl_CXX='-Wl,'
22236 lt_prog_compiler_pic_CXX='-fpic'
22237 lt_prog_compiler_static_CXX='-Bstatic'
22241 # Make sure the PIC flag is empty. It appears that all Alpha
22242 # Linux and Compaq Tru64 Unix objects are PIC.
22243 lt_prog_compiler_pic_CXX=
22244 lt_prog_compiler_static_CXX='-non_shared'
22255 case $cc_basename in
22257 lt_prog_compiler_pic_CXX='-W c,exportall'
22265 osf3* | osf4* | osf5*)
22266 case $cc_basename in
22268 lt_prog_compiler_wl_CXX='--backend -Wl,'
22271 # Rational C++ 2.4.1
22272 lt_prog_compiler_pic_CXX='-pic'
22275 # Digital/Compaq C++
22276 lt_prog_compiler_wl_CXX='-Wl,'
22277 # Make sure the PIC flag is empty. It appears that all Alpha
22278 # Linux and Compaq Tru64 Unix objects are PIC.
22279 lt_prog_compiler_pic_CXX=
22280 lt_prog_compiler_static_CXX='-non_shared'
22289 case $cc_basename in
22291 lt_prog_compiler_pic_CXX='-fPIC'
22298 case $cc_basename in
22300 # Sun C++ 4.2, 5.x and Centerline C++
22301 lt_prog_compiler_pic_CXX='-KPIC'
22302 lt_prog_compiler_static_CXX='-Bstatic'
22303 lt_prog_compiler_wl_CXX='-Qoption ld '
22306 # Green Hills C++ Compiler
22307 lt_prog_compiler_pic_CXX='-PIC'
22314 case $cc_basename in
22317 lt_prog_compiler_pic_CXX='-pic'
22318 lt_prog_compiler_static_CXX='-Bstatic'
22322 lt_prog_compiler_pic_CXX='-pic'
22329 case $cc_basename in
22331 # NonStop-UX NCC 3.20
22332 lt_prog_compiler_pic_CXX='-KPIC'
22343 lt_prog_compiler_can_build_shared_CXX=no
22348 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
22349 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
22352 # Check to make sure the PIC flag actually works.
22354 if test -n "$lt_prog_compiler_pic_CXX"; then
22356 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
22357 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
22358 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
22359 echo $ECHO_N "(cached) $ECHO_C" >&6
22361 lt_prog_compiler_pic_works_CXX=no
22362 ac_outfile=conftest.$ac_objext
22363 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
22364 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
22365 # Insert the option either (1) after the last *FLAGS variable, or
22366 # (2) before a word containing "conftest.", or (3) at the end.
22367 # Note that $ac_compile itself does not contain backslashes and begins
22368 # with a dollar sign (not a hyphen), so the echo should work correctly.
22369 # The option is referenced via a variable to avoid confusing sed.
22370 lt_compile=`echo "$ac_compile" | $SED \
22371 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
22372 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22373 -e 's:$: $lt_compiler_flag:'`
22374 (eval echo "\"\$as_me:22374: $lt_compile\"" >&5)
22375 (eval "$lt_compile" 2>conftest.err)
22377 cat conftest.err >&5
22378 echo "$as_me:22378: \$? = $ac_status" >&5
22379 if (exit $ac_status) && test -s "$ac_outfile"; then
22380 # The compiler can only warn and ignore the option if not recognized
22381 # So say no if there are warnings other than the usual output.
22382 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
22383 $SED '/^$/d' conftest.err >conftest.er2
22384 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
22385 lt_prog_compiler_pic_works_CXX=yes
22391 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
22392 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
22394 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
22395 case $lt_prog_compiler_pic_CXX in
22397 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
22400 lt_prog_compiler_pic_CXX=
22401 lt_prog_compiler_can_build_shared_CXX=no
22406 # For platforms which do not support PIC, -DPIC is meaningless:
22408 lt_prog_compiler_pic_CXX=
22411 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
22415 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
22416 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
22417 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
22418 echo $ECHO_N "(cached) $ECHO_C" >&6
22420 lt_cv_prog_compiler_c_o_CXX=no
22421 $rm -r conftest 2>/dev/null
22425 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
22427 lt_compiler_flag="-o out/conftest2.$ac_objext"
22428 # Insert the option either (1) after the last *FLAGS variable, or
22429 # (2) before a word containing "conftest.", or (3) at the end.
22430 # Note that $ac_compile itself does not contain backslashes and begins
22431 # with a dollar sign (not a hyphen), so the echo should work correctly.
22432 lt_compile=`echo "$ac_compile" | $SED \
22433 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
22434 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22435 -e 's:$: $lt_compiler_flag:'`
22436 (eval echo "\"\$as_me:22436: $lt_compile\"" >&5)
22437 (eval "$lt_compile" 2>out/conftest.err)
22439 cat out/conftest.err >&5
22440 echo "$as_me:22440: \$? = $ac_status" >&5
22441 if (exit $ac_status) && test -s out/conftest2.$ac_objext
22443 # The compiler can only warn and ignore the option if not recognized
22444 # So say no if there are warnings
22445 $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
22446 $SED '/^$/d' out/conftest.err >out/conftest.er2
22447 if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
22448 lt_cv_prog_compiler_c_o_CXX=yes
22453 # SGI C++ compiler will create directory out/ii_files/ for
22454 # template instantiation
22455 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
22456 $rm out/* && rmdir out
22462 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
22463 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
22466 hard_links="nottested"
22467 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
22468 # do not overwrite the value of need_locks provided by the user
22469 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
22470 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
22473 ln conftest.a conftest.b 2>/dev/null && hard_links=no
22475 ln conftest.a conftest.b 2>&5 || hard_links=no
22476 ln conftest.a conftest.b 2>/dev/null && hard_links=no
22477 echo "$as_me:$LINENO: result: $hard_links" >&5
22478 echo "${ECHO_T}$hard_links" >&6
22479 if test "$hard_links" = no; then
22480 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
22481 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
22488 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
22489 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
22491 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
22494 # If we're using GNU nm, then we don't want the "-C" option.
22495 # -C means demangle to AIX nm, but means don't demangle with GNU nm
22496 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
22497 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
22499 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
22503 export_symbols_cmds_CXX="$ltdll_cmds"
22506 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
22509 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
22513 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
22514 echo "${ECHO_T}$ld_shlibs_CXX" >&6
22515 test "$ld_shlibs_CXX" = no && can_build_shared=no
22517 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
22518 if test "$GCC" = yes; then
22519 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
22523 # Do we need to explicitly link libc?
22525 case "x$archive_cmds_need_lc_CXX" in
22527 # Assume -lc should be added
22528 archive_cmds_need_lc_CXX=yes
22530 if test "$enable_shared" = yes && test "$GCC" = yes; then
22531 case $archive_cmds_CXX in
22533 # FIXME: we may have to deal with multi-command sequences.
22536 # Test whether the compiler implicitly links with -lc since on some
22537 # systems, -lgcc has to come before -lc. If gcc already passes -lc
22538 # to ld, don't add -lc before -lgcc.
22539 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
22540 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
22542 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
22544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22545 (eval $ac_compile) 2>&5
22547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22548 (exit $ac_status); } 2>conftest.err; then
22551 libobjs=conftest.$ac_objext
22553 wl=$lt_prog_compiler_wl_CXX
22559 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
22560 allow_undefined_flag_CXX=
22561 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
22562 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
22564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22565 (exit $ac_status); }
22567 archive_cmds_need_lc_CXX=no
22569 archive_cmds_need_lc_CXX=yes
22571 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
22573 cat conftest.err 1>&5
22576 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
22577 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
22584 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
22585 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
22586 library_names_spec=
22587 libname_spec='lib$name'
22591 postuninstall_cmds=
22595 shlibpath_overrides_runpath=unknown
22597 dynamic_linker="$host_os ld.so"
22598 sys_lib_dlsearch_path_spec="/lib /usr/lib"
22599 if test "$GCC" = yes; then
22600 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22601 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
22602 # if the path contains ";" then we assume it to be the separator
22603 # otherwise default to the standard path separator (i.e. ":") - it is
22604 # assumed that no part of a normal pathname contains ";" but that should
22605 # okay in the real world where ";" in dirpaths is itself problematic.
22606 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22608 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22611 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
22613 need_lib_prefix=unknown
22614 hardcode_into_libs=no
22616 # when you set need_version to no, make sure it does not cause -set_version
22617 # flags to be left without arguments
22618 need_version=unknown
22623 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
22624 shlibpath_var=LIBPATH
22626 # AIX 3 has no versioning support, so we append a major version to the name.
22627 soname_spec='${libname}${release}${shared_ext}$major'
22634 hardcode_into_libs=yes
22635 if test "$host_cpu" = ia64; then
22636 # AIX 5 supports IA64
22637 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
22638 shlibpath_var=LD_LIBRARY_PATH
22640 # With GCC up to 2.95.x, collect2 would create an import file
22641 # for dependence libraries. The import file would start with
22642 # the line `#! .'. This would cause the generated library to
22643 # depend on `.', always an invalid library. This was fixed in
22644 # development snapshots of GCC prior to 3.0.
22646 aix4 | aix4.[01] | aix4.[01].*)
22647 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
22649 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
22652 can_build_shared=no
22656 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
22657 # soname into executable. Probably we can add versioning support to
22658 # collect2, so additional links can be useful in future.
22659 if test "$aix_use_runtimelinking" = yes; then
22660 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
22661 # instead of lib<name>.a to let people know that these are not
22662 # typical AIX shared libraries.
22663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22665 # We preserve .a as extension for shared libraries through AIX4.2
22666 # and later when we are not doing run time linking.
22667 library_names_spec='${libname}${release}.a $libname.a'
22668 soname_spec='${libname}${release}${shared_ext}$major'
22670 shlibpath_var=LIBPATH
22675 library_names_spec='$libname.ixlibrary $libname.a'
22676 # Create ${libname}_ixlibrary.a entries in /sys/libs.
22677 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
22681 library_names_spec='${libname}${shared_ext}'
22682 dynamic_linker="$host_os ld.so"
22683 shlibpath_var=LIBRARY_PATH
22689 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22690 soname_spec='${libname}${release}${shared_ext}$major'
22691 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
22692 shlibpath_var=LD_LIBRARY_PATH
22693 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
22694 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
22695 # the default ld.so.conf also contains /usr/contrib/lib and
22696 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
22697 # libtool to hard-code these into programs
22700 cygwin* | mingw* | pw32*)
22701 version_type=windows
22706 case $GCC,$host_os in
22707 yes,cygwin* | yes,mingw* | yes,pw32*)
22708 library_names_spec='$libname.dll.a'
22709 # DLL is installed to $(libdir)/../bin by postinstall_cmds
22710 postinstall_cmds='base_file=`basename \${file}`~
22711 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
22712 dldir=$destdir/`dirname \$dlpath`~
22713 test -d \$dldir || mkdir -p \$dldir~
22714 $install_prog $dir/$dlname \$dldir/$dlname~
22715 chmod a+x \$dldir/$dlname'
22716 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
22717 dlpath=$dir/\$dldll~
22719 shlibpath_overrides_runpath=yes
22723 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
22724 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22725 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
22728 # MinGW DLLs use traditional 'lib' prefix
22729 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22730 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22731 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
22732 # It is most probably a Windows format PATH printed by
22733 # mingw gcc, but we are running on Cygwin. Gcc prints its search
22734 # path with ; separators, and with drive letters. We can handle the
22735 # drive letters (cygwin fileutils understands them), so leave them,
22736 # especially as we might pass files found there to a mingw objdump,
22737 # which wouldn't understand a cygwinified path. Ahh.
22738 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22740 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22744 # pw32 DLLs use 'pw' prefix rather than 'lib'
22745 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22751 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
22754 dynamic_linker='Win32 ld.exe'
22755 # FIXME: first we should search . and the directory the executable is in
22759 darwin* | rhapsody*)
22760 dynamic_linker="$host_os dyld"
22761 version_type=darwin
22764 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
22765 soname_spec='${libname}${release}${major}$shared_ext'
22766 shlibpath_overrides_runpath=yes
22767 shlibpath_var=DYLD_LIBRARY_PATH
22768 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
22769 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
22770 if test "$GCC" = yes; then
22771 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
22773 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
22775 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
22782 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
22783 soname_spec='${libname}${release}${shared_ext}$major'
22784 shlibpath_var=LD_LIBRARY_PATH
22795 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22796 soname_spec='${libname}${release}${shared_ext}$major'
22797 shlibpath_var=LD_LIBRARY_PATH
22798 shlibpath_overrides_runpath=no
22799 hardcode_into_libs=yes
22800 dynamic_linker='GNU ld.so'
22803 freebsd* | dragonfly*)
22804 # DragonFly does not have aout. When/if they implement a new
22805 # versioning mechanism, adjust this.
22806 if test -x /usr/bin/objformat; then
22807 objformat=`/usr/bin/objformat`
22810 freebsd[123]*) objformat=aout ;;
22811 *) objformat=elf ;;
22814 version_type=freebsd-$objformat
22815 case $version_type in
22817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22822 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
22826 shlibpath_var=LD_LIBRARY_PATH
22829 shlibpath_overrides_runpath=yes
22831 freebsd3.[01]* | freebsdelf3.[01]*)
22832 shlibpath_overrides_runpath=yes
22833 hardcode_into_libs=yes
22836 shlibpath_overrides_runpath=no
22837 hardcode_into_libs=yes
22846 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
22847 soname_spec='${libname}${release}${shared_ext}$major'
22848 shlibpath_var=LD_LIBRARY_PATH
22849 hardcode_into_libs=yes
22852 hpux9* | hpux10* | hpux11*)
22853 # Give a soname corresponding to the major version so that dld.sl refuses to
22854 # link against other versions.
22861 hardcode_into_libs=yes
22862 dynamic_linker="$host_os dld.so"
22863 shlibpath_var=LD_LIBRARY_PATH
22864 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
22865 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22866 soname_spec='${libname}${release}${shared_ext}$major'
22867 if test "X$HPUX_IA64_MODE" = X32; then
22868 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
22870 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
22872 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
22876 hardcode_into_libs=yes
22877 dynamic_linker="$host_os dld.sl"
22878 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
22879 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
22880 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22881 soname_spec='${libname}${release}${shared_ext}$major'
22882 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
22883 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
22887 dynamic_linker="$host_os dld.sl"
22888 shlibpath_var=SHLIB_PATH
22889 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
22890 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22891 soname_spec='${libname}${release}${shared_ext}$major'
22894 # HP-UX runs *really* slowly unless shared libraries are mode 555.
22895 postinstall_cmds='chmod 555 $lib'
22898 irix5* | irix6* | nonstopux*)
22900 nonstopux*) version_type=nonstopux ;;
22902 if test "$lt_cv_prog_gnu_ld" = yes; then
22910 soname_spec='${libname}${release}${shared_ext}$major'
22911 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
22913 irix5* | nonstopux*)
22914 libsuff= shlibsuff=
22917 case $LD in # libtool.m4 will add one of these switches to LD
22918 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
22919 libsuff= shlibsuff= libmagic=32-bit;;
22920 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
22921 libsuff=32 shlibsuff=N32 libmagic=N32;;
22922 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
22923 libsuff=64 shlibsuff=64 libmagic=64-bit;;
22924 *) libsuff= shlibsuff= libmagic=never-match;;
22928 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
22929 shlibpath_overrides_runpath=no
22930 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
22931 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
22932 hardcode_into_libs=yes
22935 # No shared lib support for Linux oldld, aout, or coff.
22936 linux*oldld* | linux*aout* | linux*coff*)
22940 # This must be Linux ELF.
22945 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22946 soname_spec='${libname}${release}${shared_ext}$major'
22947 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
22948 shlibpath_var=LD_LIBRARY_PATH
22949 shlibpath_overrides_runpath=no
22950 # This implies no fast_install, which is unacceptable.
22951 # Some rework will be needed to allow for fast_install
22952 # before this can be enabled.
22953 hardcode_into_libs=yes
22955 # Append ld.so.conf contents to the search path
22956 if test -f /etc/ld.so.conf; then
22957 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
22958 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
22961 # We used to test for /lib/ld.so.1 and disable shared libraries on
22962 # powerpc, because MkLinux only supported shared libraries with the
22963 # GNU dynamic linker. Since this was broken with cross compilers,
22964 # most powerpc-linux boxes support dynamic linking these days and
22965 # people can always --disable-shared, the test was removed, and we
22966 # assume the GNU/Linux dynamic linker is in use.
22967 dynamic_linker='GNU/Linux ld.so'
22974 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22975 soname_spec='${libname}${release}${shared_ext}$major'
22976 shlibpath_var=LD_LIBRARY_PATH
22977 shlibpath_overrides_runpath=no
22978 hardcode_into_libs=yes
22979 dynamic_linker='GNU ld.so'
22986 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
22987 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22988 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22989 dynamic_linker='NetBSD (a.out) ld.so'
22991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22992 soname_spec='${libname}${release}${shared_ext}$major'
22993 dynamic_linker='NetBSD ld.elf_so'
22995 shlibpath_var=LD_LIBRARY_PATH
22996 shlibpath_overrides_runpath=yes
22997 hardcode_into_libs=yes
23002 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23003 shlibpath_var=LD_LIBRARY_PATH
23004 shlibpath_overrides_runpath=yes
23011 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23012 soname_spec='${libname}${release}${shared_ext}$major'
23013 shlibpath_var=LD_LIBRARY_PATH
23014 shlibpath_overrides_runpath=yes
23020 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
23022 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
23023 *) need_version=no ;;
23025 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23026 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23027 shlibpath_var=LD_LIBRARY_PATH
23028 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
23030 openbsd2.[89] | openbsd2.[89].*)
23031 shlibpath_overrides_runpath=no
23034 shlibpath_overrides_runpath=yes
23038 shlibpath_overrides_runpath=yes
23043 libname_spec='$name'
23046 library_names_spec='$libname${shared_ext} $libname.a'
23047 dynamic_linker='OS/2 ld.exe'
23048 shlibpath_var=LIBPATH
23051 osf3* | osf4* | osf5*)
23055 soname_spec='${libname}${release}${shared_ext}$major'
23056 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23057 shlibpath_var=LD_LIBRARY_PATH
23058 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
23059 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
23064 soname_spec='${libname}${release}${shared_ext}$major'
23065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23066 shlibpath_var=LD_LIBRARY_PATH
23073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23074 soname_spec='${libname}${release}${shared_ext}$major'
23075 shlibpath_var=LD_LIBRARY_PATH
23076 shlibpath_overrides_runpath=yes
23077 hardcode_into_libs=yes
23078 # ldd complains unless libraries are executable
23079 postinstall_cmds='chmod +x $lib'
23084 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23085 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
23086 shlibpath_var=LD_LIBRARY_PATH
23087 shlibpath_overrides_runpath=yes
23088 if test "$with_gnu_ld" = yes; then
23094 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
23096 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23097 soname_spec='${libname}${release}${shared_ext}$major'
23098 shlibpath_var=LD_LIBRARY_PATH
23099 case $host_vendor in
23101 shlibpath_overrides_runpath=no
23103 export_dynamic_flag_spec='${wl}-Blargedynsym'
23104 runpath_var=LD_RUN_PATH
23112 shlibpath_overrides_runpath=no
23113 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
23119 if test -d /usr/nec ;then
23121 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
23122 soname_spec='$libname${shared_ext}.$major'
23123 shlibpath_var=LD_LIBRARY_PATH
23129 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23130 soname_spec='${libname}${release}${shared_ext}$major'
23131 shlibpath_var=LD_LIBRARY_PATH
23138 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
23139 echo "${ECHO_T}$dynamic_linker" >&6
23140 test "$dynamic_linker" = no && can_build_shared=no
23142 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
23143 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
23144 hardcode_action_CXX=
23145 if test -n "$hardcode_libdir_flag_spec_CXX" || \
23146 test -n "$runpath_var_CXX" || \
23147 test "X$hardcode_automatic_CXX" = "Xyes" ; then
23149 # We can hardcode non-existant directories.
23150 if test "$hardcode_direct_CXX" != no &&
23151 # If the only mechanism to avoid hardcoding is shlibpath_var, we
23152 # have to relink, otherwise we might link with an installed library
23153 # when we should be linking with a yet-to-be-installed one
23154 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
23155 test "$hardcode_minus_L_CXX" != no; then
23156 # Linking always hardcodes the temporary library directory.
23157 hardcode_action_CXX=relink
23159 # We can link without hardcoding, and we can hardcode nonexisting dirs.
23160 hardcode_action_CXX=immediate
23163 # We cannot hardcode anything, or else we can only hardcode existing
23165 hardcode_action_CXX=unsupported
23167 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
23168 echo "${ECHO_T}$hardcode_action_CXX" >&6
23170 if test "$hardcode_action_CXX" = relink; then
23171 # Fast installation is not supported
23172 enable_fast_install=no
23173 elif test "$shlibpath_overrides_runpath" = yes ||
23174 test "$enable_shared" = no; then
23175 # Fast installation is not necessary
23176 enable_fast_install=needless
23181 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
23182 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
23183 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
23184 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
23185 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
23186 echo "$as_me:$LINENO: result: yes" >&5
23187 echo "${ECHO_T}yes" >&6
23189 # FIXME - insert some real tests, host_os isn't really good enough
23192 if test -n "$STRIP" ; then
23193 striplib="$STRIP -x"
23194 echo "$as_me:$LINENO: result: yes" >&5
23195 echo "${ECHO_T}yes" >&6
23197 echo "$as_me:$LINENO: result: no" >&5
23198 echo "${ECHO_T}no" >&6
23202 echo "$as_me:$LINENO: result: no" >&5
23203 echo "${ECHO_T}no" >&6
23208 if test "x$enable_dlopen" != xyes; then
23209 enable_dlopen=unknown
23210 enable_dlopen_self=unknown
23211 enable_dlopen_self_static=unknown
23218 lt_cv_dlopen="load_add_on"
23220 lt_cv_dlopen_self=yes
23224 lt_cv_dlopen="LoadLibrary"
23229 lt_cv_dlopen="dlopen"
23234 # if libdl is installed we need to link against it
23235 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
23236 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
23237 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
23238 echo $ECHO_N "(cached) $ECHO_C" >&6
23240 ac_check_lib_save_LIBS=$LIBS
23242 cat >conftest.$ac_ext <<_ACEOF
23245 cat confdefs.h >>conftest.$ac_ext
23246 cat >>conftest.$ac_ext <<_ACEOF
23247 /* end confdefs.h. */
23249 /* Override any gcc2 internal prototype to avoid an error. */
23253 /* We use char because int might match the return type of a gcc2
23254 builtin and then its argument prototype would still apply. */
23264 rm -f conftest.$ac_objext conftest$ac_exeext
23265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23266 (eval $ac_link) 2>conftest.er1
23268 grep -v '^ *+' conftest.er1 >conftest.err
23270 cat conftest.err >&5
23271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23272 (exit $ac_status); } &&
23273 { ac_try='test -z "$ac_cxx_werror_flag"
23274 || test ! -s conftest.err'
23275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23276 (eval $ac_try) 2>&5
23278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23279 (exit $ac_status); }; } &&
23280 { ac_try='test -s conftest$ac_exeext'
23281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23282 (eval $ac_try) 2>&5
23284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23285 (exit $ac_status); }; }; then
23286 ac_cv_lib_dl_dlopen=yes
23288 echo "$as_me: failed program was:" >&5
23289 sed 's/^/| /' conftest.$ac_ext >&5
23291 ac_cv_lib_dl_dlopen=no
23293 rm -f conftest.err conftest.$ac_objext \
23294 conftest$ac_exeext conftest.$ac_ext
23295 LIBS=$ac_check_lib_save_LIBS
23297 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
23298 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
23299 if test $ac_cv_lib_dl_dlopen = yes; then
23300 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
23303 lt_cv_dlopen="dyld"
23305 lt_cv_dlopen_self=yes
23312 echo "$as_me:$LINENO: checking for shl_load" >&5
23313 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
23314 if test "${ac_cv_func_shl_load+set}" = set; then
23315 echo $ECHO_N "(cached) $ECHO_C" >&6
23317 cat >conftest.$ac_ext <<_ACEOF
23320 cat confdefs.h >>conftest.$ac_ext
23321 cat >>conftest.$ac_ext <<_ACEOF
23322 /* end confdefs.h. */
23323 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
23324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23325 #define shl_load innocuous_shl_load
23327 /* System header to define __stub macros and hopefully few prototypes,
23328 which can conflict with char shl_load (); below.
23329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23330 <limits.h> exists even on freestanding compilers. */
23333 # include <limits.h>
23335 # include <assert.h>
23340 /* Override any gcc2 internal prototype to avoid an error. */
23345 /* We use char because int might match the return type of a gcc2
23346 builtin and then its argument prototype would still apply. */
23348 /* The GNU C library defines this for functions which it implements
23349 to always fail with ENOSYS. Some functions are actually named
23350 something starting with __ and the normal name is an alias. */
23351 #if defined (__stub_shl_load) || defined (__stub___shl_load)
23354 char (*f) () = shl_load;
23363 return f != shl_load;
23368 rm -f conftest.$ac_objext conftest$ac_exeext
23369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23370 (eval $ac_link) 2>conftest.er1
23372 grep -v '^ *+' conftest.er1 >conftest.err
23374 cat conftest.err >&5
23375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23376 (exit $ac_status); } &&
23377 { ac_try='test -z "$ac_cxx_werror_flag"
23378 || test ! -s conftest.err'
23379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23380 (eval $ac_try) 2>&5
23382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23383 (exit $ac_status); }; } &&
23384 { ac_try='test -s conftest$ac_exeext'
23385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23386 (eval $ac_try) 2>&5
23388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23389 (exit $ac_status); }; }; then
23390 ac_cv_func_shl_load=yes
23392 echo "$as_me: failed program was:" >&5
23393 sed 's/^/| /' conftest.$ac_ext >&5
23395 ac_cv_func_shl_load=no
23397 rm -f conftest.err conftest.$ac_objext \
23398 conftest$ac_exeext conftest.$ac_ext
23400 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
23401 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
23402 if test $ac_cv_func_shl_load = yes; then
23403 lt_cv_dlopen="shl_load"
23405 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
23406 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
23407 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
23408 echo $ECHO_N "(cached) $ECHO_C" >&6
23410 ac_check_lib_save_LIBS=$LIBS
23412 cat >conftest.$ac_ext <<_ACEOF
23415 cat confdefs.h >>conftest.$ac_ext
23416 cat >>conftest.$ac_ext <<_ACEOF
23417 /* end confdefs.h. */
23419 /* Override any gcc2 internal prototype to avoid an error. */
23423 /* We use char because int might match the return type of a gcc2
23424 builtin and then its argument prototype would still apply. */
23434 rm -f conftest.$ac_objext conftest$ac_exeext
23435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23436 (eval $ac_link) 2>conftest.er1
23438 grep -v '^ *+' conftest.er1 >conftest.err
23440 cat conftest.err >&5
23441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23442 (exit $ac_status); } &&
23443 { ac_try='test -z "$ac_cxx_werror_flag"
23444 || test ! -s conftest.err'
23445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23446 (eval $ac_try) 2>&5
23448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23449 (exit $ac_status); }; } &&
23450 { ac_try='test -s conftest$ac_exeext'
23451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23452 (eval $ac_try) 2>&5
23454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23455 (exit $ac_status); }; }; then
23456 ac_cv_lib_dld_shl_load=yes
23458 echo "$as_me: failed program was:" >&5
23459 sed 's/^/| /' conftest.$ac_ext >&5
23461 ac_cv_lib_dld_shl_load=no
23463 rm -f conftest.err conftest.$ac_objext \
23464 conftest$ac_exeext conftest.$ac_ext
23465 LIBS=$ac_check_lib_save_LIBS
23467 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
23468 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
23469 if test $ac_cv_lib_dld_shl_load = yes; then
23470 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
23472 echo "$as_me:$LINENO: checking for dlopen" >&5
23473 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
23474 if test "${ac_cv_func_dlopen+set}" = set; then
23475 echo $ECHO_N "(cached) $ECHO_C" >&6
23477 cat >conftest.$ac_ext <<_ACEOF
23480 cat confdefs.h >>conftest.$ac_ext
23481 cat >>conftest.$ac_ext <<_ACEOF
23482 /* end confdefs.h. */
23483 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
23484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23485 #define dlopen innocuous_dlopen
23487 /* System header to define __stub macros and hopefully few prototypes,
23488 which can conflict with char dlopen (); below.
23489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23490 <limits.h> exists even on freestanding compilers. */
23493 # include <limits.h>
23495 # include <assert.h>
23500 /* Override any gcc2 internal prototype to avoid an error. */
23505 /* We use char because int might match the return type of a gcc2
23506 builtin and then its argument prototype would still apply. */
23508 /* The GNU C library defines this for functions which it implements
23509 to always fail with ENOSYS. Some functions are actually named
23510 something starting with __ and the normal name is an alias. */
23511 #if defined (__stub_dlopen) || defined (__stub___dlopen)
23514 char (*f) () = dlopen;
23523 return f != dlopen;
23528 rm -f conftest.$ac_objext conftest$ac_exeext
23529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23530 (eval $ac_link) 2>conftest.er1
23532 grep -v '^ *+' conftest.er1 >conftest.err
23534 cat conftest.err >&5
23535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23536 (exit $ac_status); } &&
23537 { ac_try='test -z "$ac_cxx_werror_flag"
23538 || test ! -s conftest.err'
23539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23540 (eval $ac_try) 2>&5
23542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23543 (exit $ac_status); }; } &&
23544 { ac_try='test -s conftest$ac_exeext'
23545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23546 (eval $ac_try) 2>&5
23548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23549 (exit $ac_status); }; }; then
23550 ac_cv_func_dlopen=yes
23552 echo "$as_me: failed program was:" >&5
23553 sed 's/^/| /' conftest.$ac_ext >&5
23555 ac_cv_func_dlopen=no
23557 rm -f conftest.err conftest.$ac_objext \
23558 conftest$ac_exeext conftest.$ac_ext
23560 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
23561 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
23562 if test $ac_cv_func_dlopen = yes; then
23563 lt_cv_dlopen="dlopen"
23565 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
23566 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
23567 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
23568 echo $ECHO_N "(cached) $ECHO_C" >&6
23570 ac_check_lib_save_LIBS=$LIBS
23572 cat >conftest.$ac_ext <<_ACEOF
23575 cat confdefs.h >>conftest.$ac_ext
23576 cat >>conftest.$ac_ext <<_ACEOF
23577 /* end confdefs.h. */
23579 /* Override any gcc2 internal prototype to avoid an error. */
23583 /* We use char because int might match the return type of a gcc2
23584 builtin and then its argument prototype would still apply. */
23594 rm -f conftest.$ac_objext conftest$ac_exeext
23595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23596 (eval $ac_link) 2>conftest.er1
23598 grep -v '^ *+' conftest.er1 >conftest.err
23600 cat conftest.err >&5
23601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23602 (exit $ac_status); } &&
23603 { ac_try='test -z "$ac_cxx_werror_flag"
23604 || test ! -s conftest.err'
23605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23606 (eval $ac_try) 2>&5
23608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23609 (exit $ac_status); }; } &&
23610 { ac_try='test -s conftest$ac_exeext'
23611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23612 (eval $ac_try) 2>&5
23614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23615 (exit $ac_status); }; }; then
23616 ac_cv_lib_dl_dlopen=yes
23618 echo "$as_me: failed program was:" >&5
23619 sed 's/^/| /' conftest.$ac_ext >&5
23621 ac_cv_lib_dl_dlopen=no
23623 rm -f conftest.err conftest.$ac_objext \
23624 conftest$ac_exeext conftest.$ac_ext
23625 LIBS=$ac_check_lib_save_LIBS
23627 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
23628 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
23629 if test $ac_cv_lib_dl_dlopen = yes; then
23630 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
23632 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
23633 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
23634 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
23635 echo $ECHO_N "(cached) $ECHO_C" >&6
23637 ac_check_lib_save_LIBS=$LIBS
23638 LIBS="-lsvld $LIBS"
23639 cat >conftest.$ac_ext <<_ACEOF
23642 cat confdefs.h >>conftest.$ac_ext
23643 cat >>conftest.$ac_ext <<_ACEOF
23644 /* end confdefs.h. */
23646 /* Override any gcc2 internal prototype to avoid an error. */
23650 /* We use char because int might match the return type of a gcc2
23651 builtin and then its argument prototype would still apply. */
23661 rm -f conftest.$ac_objext conftest$ac_exeext
23662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23663 (eval $ac_link) 2>conftest.er1
23665 grep -v '^ *+' conftest.er1 >conftest.err
23667 cat conftest.err >&5
23668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23669 (exit $ac_status); } &&
23670 { ac_try='test -z "$ac_cxx_werror_flag"
23671 || test ! -s conftest.err'
23672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23673 (eval $ac_try) 2>&5
23675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23676 (exit $ac_status); }; } &&
23677 { ac_try='test -s conftest$ac_exeext'
23678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23679 (eval $ac_try) 2>&5
23681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23682 (exit $ac_status); }; }; then
23683 ac_cv_lib_svld_dlopen=yes
23685 echo "$as_me: failed program was:" >&5
23686 sed 's/^/| /' conftest.$ac_ext >&5
23688 ac_cv_lib_svld_dlopen=no
23690 rm -f conftest.err conftest.$ac_objext \
23691 conftest$ac_exeext conftest.$ac_ext
23692 LIBS=$ac_check_lib_save_LIBS
23694 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
23695 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
23696 if test $ac_cv_lib_svld_dlopen = yes; then
23697 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
23699 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
23700 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
23701 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
23702 echo $ECHO_N "(cached) $ECHO_C" >&6
23704 ac_check_lib_save_LIBS=$LIBS
23706 cat >conftest.$ac_ext <<_ACEOF
23709 cat confdefs.h >>conftest.$ac_ext
23710 cat >>conftest.$ac_ext <<_ACEOF
23711 /* end confdefs.h. */
23713 /* Override any gcc2 internal prototype to avoid an error. */
23717 /* We use char because int might match the return type of a gcc2
23718 builtin and then its argument prototype would still apply. */
23728 rm -f conftest.$ac_objext conftest$ac_exeext
23729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23730 (eval $ac_link) 2>conftest.er1
23732 grep -v '^ *+' conftest.er1 >conftest.err
23734 cat conftest.err >&5
23735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23736 (exit $ac_status); } &&
23737 { ac_try='test -z "$ac_cxx_werror_flag"
23738 || test ! -s conftest.err'
23739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23740 (eval $ac_try) 2>&5
23742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23743 (exit $ac_status); }; } &&
23744 { ac_try='test -s conftest$ac_exeext'
23745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23746 (eval $ac_try) 2>&5
23748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23749 (exit $ac_status); }; }; then
23750 ac_cv_lib_dld_dld_link=yes
23752 echo "$as_me: failed program was:" >&5
23753 sed 's/^/| /' conftest.$ac_ext >&5
23755 ac_cv_lib_dld_dld_link=no
23757 rm -f conftest.err conftest.$ac_objext \
23758 conftest$ac_exeext conftest.$ac_ext
23759 LIBS=$ac_check_lib_save_LIBS
23761 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
23762 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
23763 if test $ac_cv_lib_dld_dld_link = yes; then
23764 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
23785 if test "x$lt_cv_dlopen" != xno; then
23791 case $lt_cv_dlopen in
23793 save_CPPFLAGS="$CPPFLAGS"
23794 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
23796 save_LDFLAGS="$LDFLAGS"
23797 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
23800 LIBS="$lt_cv_dlopen_libs $LIBS"
23802 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
23803 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
23804 if test "${lt_cv_dlopen_self+set}" = set; then
23805 echo $ECHO_N "(cached) $ECHO_C" >&6
23807 if test "$cross_compiling" = yes; then :
23808 lt_cv_dlopen_self=cross
23810 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
23811 lt_status=$lt_dlunknown
23812 cat > conftest.$ac_ext <<EOF
23813 #line 23813 "configure"
23814 #include "confdefs.h"
23823 # define LT_DLGLOBAL RTLD_GLOBAL
23826 # define LT_DLGLOBAL DL_GLOBAL
23828 # define LT_DLGLOBAL 0
23832 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
23833 find out it does not work in some platform. */
23834 #ifndef LT_DLLAZY_OR_NOW
23836 # define LT_DLLAZY_OR_NOW RTLD_LAZY
23839 # define LT_DLLAZY_OR_NOW DL_LAZY
23842 # define LT_DLLAZY_OR_NOW RTLD_NOW
23845 # define LT_DLLAZY_OR_NOW DL_NOW
23847 # define LT_DLLAZY_OR_NOW 0
23855 extern "C" void exit (int);
23858 void fnord() { int i=42;}
23861 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
23862 int status = $lt_dlunknown;
23866 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
23867 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
23868 /* dlclose (self); */
23874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23875 (eval $ac_link) 2>&5
23877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23878 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
23879 (./conftest; exit; ) >&5 2>/dev/null
23881 case x$lt_status in
23882 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
23883 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
23884 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
23887 # compilation failed
23888 lt_cv_dlopen_self=no
23895 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
23896 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
23898 if test "x$lt_cv_dlopen_self" = xyes; then
23899 LDFLAGS="$LDFLAGS $link_static_flag"
23900 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
23901 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
23902 if test "${lt_cv_dlopen_self_static+set}" = set; then
23903 echo $ECHO_N "(cached) $ECHO_C" >&6
23905 if test "$cross_compiling" = yes; then :
23906 lt_cv_dlopen_self_static=cross
23908 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
23909 lt_status=$lt_dlunknown
23910 cat > conftest.$ac_ext <<EOF
23911 #line 23911 "configure"
23912 #include "confdefs.h"
23921 # define LT_DLGLOBAL RTLD_GLOBAL
23924 # define LT_DLGLOBAL DL_GLOBAL
23926 # define LT_DLGLOBAL 0
23930 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
23931 find out it does not work in some platform. */
23932 #ifndef LT_DLLAZY_OR_NOW
23934 # define LT_DLLAZY_OR_NOW RTLD_LAZY
23937 # define LT_DLLAZY_OR_NOW DL_LAZY
23940 # define LT_DLLAZY_OR_NOW RTLD_NOW
23943 # define LT_DLLAZY_OR_NOW DL_NOW
23945 # define LT_DLLAZY_OR_NOW 0
23953 extern "C" void exit (int);
23956 void fnord() { int i=42;}
23959 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
23960 int status = $lt_dlunknown;
23964 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
23965 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
23966 /* dlclose (self); */
23972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23973 (eval $ac_link) 2>&5
23975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23976 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
23977 (./conftest; exit; ) >&5 2>/dev/null
23979 case x$lt_status in
23980 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
23981 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
23982 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
23985 # compilation failed
23986 lt_cv_dlopen_self_static=no
23993 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
23994 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
23997 CPPFLAGS="$save_CPPFLAGS"
23998 LDFLAGS="$save_LDFLAGS"
24003 case $lt_cv_dlopen_self in
24004 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
24005 *) enable_dlopen_self=unknown ;;
24008 case $lt_cv_dlopen_self_static in
24009 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
24010 *) enable_dlopen_self_static=unknown ;;
24015 # The else clause should only fire when bootstrapping the
24016 # libtool distribution, otherwise you forgot to ship ltmain.sh
24017 # with your package, and you will get complaints that there are
24018 # no rules to generate ltmain.sh.
24019 if test -f "$ltmain"; then
24020 # See if we are running on zsh, and set the options which allow our commands through
24021 # without removal of \ escapes.
24022 if test -n "${ZSH_VERSION+set}" ; then
24023 setopt NO_GLOB_SUBST
24025 # Now quote all the things that may contain metacharacters while being
24026 # careful not to overquote the AC_SUBSTed values. We take copies of the
24027 # variables and quote the copies for generation of the libtool script.
24028 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
24030 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
24031 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
24032 deplibs_check_method reload_flag reload_cmds need_locks \
24033 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
24034 lt_cv_sys_global_symbol_to_c_name_address \
24035 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
24036 old_postinstall_cmds old_postuninstall_cmds \
24040 lt_prog_compiler_wl_CXX \
24041 lt_prog_compiler_pic_CXX \
24042 lt_prog_compiler_static_CXX \
24043 lt_prog_compiler_no_builtin_flag_CXX \
24044 export_dynamic_flag_spec_CXX \
24045 thread_safe_flag_spec_CXX \
24046 whole_archive_flag_spec_CXX \
24047 enable_shared_with_static_runtimes_CXX \
24048 old_archive_cmds_CXX \
24049 old_archive_from_new_cmds_CXX \
24050 predep_objects_CXX \
24051 postdep_objects_CXX \
24054 compiler_lib_search_path_CXX \
24056 archive_expsym_cmds_CXX \
24057 postinstall_cmds_CXX \
24058 postuninstall_cmds_CXX \
24059 old_archive_from_expsyms_cmds_CXX \
24060 allow_undefined_flag_CXX \
24061 no_undefined_flag_CXX \
24062 export_symbols_cmds_CXX \
24063 hardcode_libdir_flag_spec_CXX \
24064 hardcode_libdir_flag_spec_ld_CXX \
24065 hardcode_libdir_separator_CXX \
24066 hardcode_automatic_CXX \
24068 module_expsym_cmds_CXX \
24069 lt_cv_prog_compiler_c_o_CXX \
24070 exclude_expsyms_CXX \
24071 include_expsyms_CXX; do
24074 old_archive_cmds_CXX | \
24075 old_archive_from_new_cmds_CXX | \
24076 archive_cmds_CXX | \
24077 archive_expsym_cmds_CXX | \
24078 module_cmds_CXX | \
24079 module_expsym_cmds_CXX | \
24080 old_archive_from_expsyms_cmds_CXX | \
24081 export_symbols_cmds_CXX | \
24082 extract_expsyms_cmds | reload_cmds | finish_cmds | \
24083 postinstall_cmds | postuninstall_cmds | \
24084 old_postinstall_cmds | old_postuninstall_cmds | \
24085 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
24086 # Double-quote double-evaled strings.
24087 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
24090 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
24096 *'\$0 --fallback-echo"')
24097 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
24103 cat <<__EOF__ >> "$cfgfile"
24104 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
24106 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
24108 # Shell to use when invoking shell scripts.
24111 # Whether or not to build shared libraries.
24112 build_libtool_libs=$enable_shared
24114 # Whether or not to build static libraries.
24115 build_old_libs=$enable_static
24117 # Whether or not to add -lc for building shared libraries.
24118 build_libtool_need_lc=$archive_cmds_need_lc_CXX
24120 # Whether or not to disallow shared libs when runtime libs are static
24121 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
24123 # Whether or not to optimize for fast installation.
24124 fast_install=$enable_fast_install
24127 host_alias=$host_alias
24131 # The build system.
24132 build_alias=$build_alias
24136 # An echo program that does not interpret backslashes.
24141 AR_FLAGS=$lt_AR_FLAGS
24146 # A language-specific compiler.
24147 CC=$lt_compiler_CXX
24149 # Is the compiler the GNU C compiler?
24155 # The linker used to build libraries.
24158 # Whether we need hard or soft links.
24161 # A BSD-compatible nm program.
24164 # A symbol stripping program
24167 # Used to examine libraries when file_magic_cmd begins "file"
24168 MAGIC_CMD=$MAGIC_CMD
24170 # Used on cygwin: DLL creation program.
24173 # Used on cygwin: object dumper.
24176 # Used on cygwin: assembler.
24179 # The name of the directory that contains temporary libtool files.
24182 # How to create reloadable object files.
24183 reload_flag=$lt_reload_flag
24184 reload_cmds=$lt_reload_cmds
24186 # How to pass a linker flag through the compiler.
24187 wl=$lt_lt_prog_compiler_wl_CXX
24189 # Object file suffix (normally "o").
24190 objext="$ac_objext"
24192 # Old archive suffix (normally "a").
24195 # Shared library suffix (normally ".so").
24196 shrext_cmds='$shrext_cmds'
24198 # Executable file suffix (normally "").
24201 # Additional compiler flags for building library objects.
24202 pic_flag=$lt_lt_prog_compiler_pic_CXX
24205 # What is the maximum length of a command?
24206 max_cmd_len=$lt_cv_sys_max_cmd_len
24208 # Does compiler simultaneously support -c and -o options?
24209 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
24211 # Must we lock files when doing compilation?
24212 need_locks=$lt_need_locks
24214 # Do we need the lib prefix for modules?
24215 need_lib_prefix=$need_lib_prefix
24217 # Do we need a version for libraries?
24218 need_version=$need_version
24220 # Whether dlopen is supported.
24221 dlopen_support=$enable_dlopen
24223 # Whether dlopen of programs is supported.
24224 dlopen_self=$enable_dlopen_self
24226 # Whether dlopen of statically linked programs is supported.
24227 dlopen_self_static=$enable_dlopen_self_static
24229 # Compiler flag to prevent dynamic linking.
24230 link_static_flag=$lt_lt_prog_compiler_static_CXX
24232 # Compiler flag to turn off builtin functions.
24233 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
24235 # Compiler flag to allow reflexive dlopens.
24236 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
24238 # Compiler flag to generate shared objects directly from archives.
24239 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
24241 # Compiler flag to generate thread-safe objects.
24242 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
24244 # Library versioning type.
24245 version_type=$version_type
24247 # Format of library name prefix.
24248 libname_spec=$lt_libname_spec
24250 # List of archive names. First name is the real one, the rest are links.
24251 # The last name is the one that the linker finds with -lNAME.
24252 library_names_spec=$lt_library_names_spec
24254 # The coded name of the library, if different from the real name.
24255 soname_spec=$lt_soname_spec
24257 # Commands used to build and install an old-style archive.
24259 old_archive_cmds=$lt_old_archive_cmds_CXX
24260 old_postinstall_cmds=$lt_old_postinstall_cmds
24261 old_postuninstall_cmds=$lt_old_postuninstall_cmds
24263 # Create an old-style archive from a shared archive.
24264 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
24266 # Create a temporary old-style archive to link instead of a shared archive.
24267 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
24269 # Commands used to build and install a shared archive.
24270 archive_cmds=$lt_archive_cmds_CXX
24271 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
24272 postinstall_cmds=$lt_postinstall_cmds
24273 postuninstall_cmds=$lt_postuninstall_cmds
24275 # Commands used to build a loadable module (assumed same as above if empty)
24276 module_cmds=$lt_module_cmds_CXX
24277 module_expsym_cmds=$lt_module_expsym_cmds_CXX
24279 # Commands to strip libraries.
24280 old_striplib=$lt_old_striplib
24281 striplib=$lt_striplib
24283 # Dependencies to place before the objects being linked to create a
24285 predep_objects=$lt_predep_objects_CXX
24287 # Dependencies to place after the objects being linked to create a
24289 postdep_objects=$lt_postdep_objects_CXX
24291 # Dependencies to place before the objects being linked to create a
24293 predeps=$lt_predeps_CXX
24295 # Dependencies to place after the objects being linked to create a
24297 postdeps=$lt_postdeps_CXX
24299 # The library search path used internally by the compiler when linking
24300 # a shared library.
24301 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
24303 # Method to check whether dependent libraries are shared objects.
24304 deplibs_check_method=$lt_deplibs_check_method
24306 # Command to use when deplibs_check_method == file_magic.
24307 file_magic_cmd=$lt_file_magic_cmd
24309 # Flag that allows shared libraries with undefined symbols to be built.
24310 allow_undefined_flag=$lt_allow_undefined_flag_CXX
24312 # Flag that forces no undefined symbols.
24313 no_undefined_flag=$lt_no_undefined_flag_CXX
24315 # Commands used to finish a libtool library installation in a directory.
24316 finish_cmds=$lt_finish_cmds
24318 # Same as above, but a single script fragment to be evaled but not shown.
24319 finish_eval=$lt_finish_eval
24321 # Take the output of nm and produce a listing of raw symbols and C names.
24322 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
24324 # Transform the output of nm in a proper C declaration
24325 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
24327 # Transform the output of nm in a C name address pair
24328 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
24330 # This is the shared library runtime path variable.
24331 runpath_var=$runpath_var
24333 # This is the shared library path variable.
24334 shlibpath_var=$shlibpath_var
24336 # Is shlibpath searched before the hard-coded library search path?
24337 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
24339 # How to hardcode a shared library path into an executable.
24340 hardcode_action=$hardcode_action_CXX
24342 # Whether we should hardcode library paths into libraries.
24343 hardcode_into_libs=$hardcode_into_libs
24345 # Flag to hardcode \$libdir into a binary during linking.
24346 # This must work even if \$libdir does not exist.
24347 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
24349 # If ld is used when linking, flag to hardcode \$libdir into
24350 # a binary during linking. This must work even if \$libdir does
24352 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
24354 # Whether we need a single -rpath flag with a separated argument.
24355 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
24357 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
24358 # resulting binary.
24359 hardcode_direct=$hardcode_direct_CXX
24361 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
24362 # resulting binary.
24363 hardcode_minus_L=$hardcode_minus_L_CXX
24365 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
24366 # the resulting binary.
24367 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
24369 # Set to yes if building a shared library automatically hardcodes DIR into the library
24370 # and all subsequent libraries and executables linked against it.
24371 hardcode_automatic=$hardcode_automatic_CXX
24373 # Variables whose values should be saved in libtool wrapper scripts and
24374 # restored at relink time.
24375 variables_saved_for_relink="$variables_saved_for_relink"
24377 # Whether libtool must link a program against all its dependency libraries.
24378 link_all_deplibs=$link_all_deplibs_CXX
24380 # Compile-time system search path for libraries
24381 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
24383 # Run-time system search path for libraries
24384 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
24386 # Fix the shell variable \$srcfile for the compiler.
24387 fix_srcfile_path="$fix_srcfile_path_CXX"
24389 # Set to yes if exported symbols are required.
24390 always_export_symbols=$always_export_symbols_CXX
24392 # The commands to list exported symbols.
24393 export_symbols_cmds=$lt_export_symbols_cmds_CXX
24395 # The commands to extract the exported symbol list from a shared archive.
24396 extract_expsyms_cmds=$lt_extract_expsyms_cmds
24398 # Symbols that should not be listed in the preloaded symbols.
24399 exclude_expsyms=$lt_exclude_expsyms_CXX
24401 # Symbols that must always be exported.
24402 include_expsyms=$lt_include_expsyms_CXX
24404 # ### END LIBTOOL TAG CONFIG: $tagname
24410 # If there is no Makefile yet, we rely on a make rule to execute
24411 # `config.status --recheck' to rerun these tests and create the
24412 # libtool script then.
24413 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
24414 if test -f "$ltmain_in"; then
24415 test -f Makefile && make "$ltmain"
24421 ac_cpp='$CPP $CPPFLAGS'
24422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24430 with_gnu_ldcxx=$with_gnu_ld
24431 with_gnu_ld=$lt_save_with_gnu_ld
24432 lt_cv_path_LDCXX=$lt_cv_path_LD
24433 lt_cv_path_LD=$lt_save_path_LD
24434 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
24435 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
24443 if test -n "$F77" && test "X$F77" != "Xno"; then
24446 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
24447 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24448 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
24451 archive_cmds_need_lc_F77=no
24452 allow_undefined_flag_F77=
24453 always_export_symbols_F77=no
24454 archive_expsym_cmds_F77=
24455 export_dynamic_flag_spec_F77=
24456 hardcode_direct_F77=no
24457 hardcode_libdir_flag_spec_F77=
24458 hardcode_libdir_flag_spec_ld_F77=
24459 hardcode_libdir_separator_F77=
24460 hardcode_minus_L_F77=no
24461 hardcode_automatic_F77=no
24463 module_expsym_cmds_F77=
24464 link_all_deplibs_F77=unknown
24465 old_archive_cmds_F77=$old_archive_cmds
24466 no_undefined_flag_F77=
24467 whole_archive_flag_spec_F77=
24468 enable_shared_with_static_runtimes_F77=no
24470 # Source file extension for f77 test sources.
24473 # Object file extension for compiled f77 test sources.
24477 # Code to be used in simple compile tests
24478 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
24480 # Code to be used in simple link tests
24481 lt_simple_link_test_code=" program t\n end\n"
24483 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
24485 # If no C compiler was specified, use CC.
24488 # Allow CC to be a program name with arguments.
24492 # save warnings/boilerplate of simple test code
24493 ac_outfile=conftest.$ac_objext
24494 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
24495 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
24496 _lt_compiler_boilerplate=`cat conftest.err`
24499 ac_outfile=conftest.$ac_objext
24500 printf "$lt_simple_link_test_code" >conftest.$ac_ext
24501 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
24502 _lt_linker_boilerplate=`cat conftest.err`
24506 # Allow CC to be a program name with arguments.
24511 for cc_temp in $compiler""; do
24513 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
24514 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
24519 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
24522 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
24523 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
24524 echo "$as_me:$LINENO: result: $can_build_shared" >&5
24525 echo "${ECHO_T}$can_build_shared" >&6
24527 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
24528 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
24529 test "$can_build_shared" = "no" && enable_shared=no
24531 # On AIX, shared libraries and static libraries use the same namespace, and
24532 # are all built from PIC.
24535 test "$enable_shared" = yes && enable_static=no
24536 if test -n "$RANLIB"; then
24537 archive_cmds="$archive_cmds~\$RANLIB \$lib"
24538 postinstall_cmds='$RANLIB $lib'
24542 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
24543 test "$enable_shared" = yes && enable_static=no
24547 echo "$as_me:$LINENO: result: $enable_shared" >&5
24548 echo "${ECHO_T}$enable_shared" >&6
24550 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
24551 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
24552 # Make sure either enable_shared or enable_static is yes.
24553 test "$enable_shared" = yes || enable_static=yes
24554 echo "$as_me:$LINENO: result: $enable_static" >&5
24555 echo "${ECHO_T}$enable_static" >&6
24557 test "$ld_shlibs_F77" = no && can_build_shared=no
24562 lt_prog_compiler_wl_F77=
24563 lt_prog_compiler_pic_F77=
24564 lt_prog_compiler_static_F77=
24566 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
24567 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
24569 if test "$GCC" = yes; then
24570 lt_prog_compiler_wl_F77='-Wl,'
24571 lt_prog_compiler_static_F77='-static'
24575 # All AIX code is PIC.
24576 if test "$host_cpu" = ia64; then
24577 # AIX 5 now supports IA64 processor
24578 lt_prog_compiler_static_F77='-Bstatic'
24583 # FIXME: we need at least 68020 code to build shared libraries, but
24584 # adding the `-m68020' flag to GCC prevents building anything better,
24586 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
24589 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
24590 # PIC is the default for these OSes.
24593 mingw* | pw32* | os2*)
24594 # This hack is so that the source file can tell whether it is being
24595 # built for inclusion in a dll (and should export symbols for example).
24596 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
24599 darwin* | rhapsody*)
24600 # PIC is the default on this platform
24601 # Common symbols not allowed in MH_DYLIB files
24602 lt_prog_compiler_pic_F77='-fno-common'
24606 # Just because we use GCC doesn't mean we suddenly get shared libraries
24607 # on systems that don't support them.
24608 lt_prog_compiler_can_build_shared_F77=no
24613 if test -d /usr/nec; then
24614 lt_prog_compiler_pic_F77=-Kconform_pic
24619 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
24620 # not for PA HP-UX.
24626 lt_prog_compiler_pic_F77='-fPIC'
24632 lt_prog_compiler_pic_F77='-fPIC'
24636 # PORTME Check for flag to pass linker flags through the system compiler.
24639 lt_prog_compiler_wl_F77='-Wl,'
24640 if test "$host_cpu" = ia64; then
24641 # AIX 5 now supports IA64 processor
24642 lt_prog_compiler_static_F77='-Bstatic'
24644 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
24648 # PIC is the default on this platform
24649 # Common symbols not allowed in MH_DYLIB files
24650 case $cc_basename in
24652 lt_prog_compiler_pic_F77='-qnocommon'
24653 lt_prog_compiler_wl_F77='-Wl,'
24658 mingw* | pw32* | os2*)
24659 # This hack is so that the source file can tell whether it is being
24660 # built for inclusion in a dll (and should export symbols for example).
24661 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
24664 hpux9* | hpux10* | hpux11*)
24665 lt_prog_compiler_wl_F77='-Wl,'
24666 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
24667 # not for PA HP-UX.
24673 lt_prog_compiler_pic_F77='+Z'
24676 # Is there a better lt_prog_compiler_static that works with the bundled CC?
24677 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
24680 irix5* | irix6* | nonstopux*)
24681 lt_prog_compiler_wl_F77='-Wl,'
24682 # PIC (with -KPIC) is the default.
24683 lt_prog_compiler_static_F77='-non_shared'
24687 lt_prog_compiler_pic_F77='-KPIC'
24688 lt_prog_compiler_static_F77='-Bstatic'
24692 case $cc_basename in
24694 lt_prog_compiler_wl_F77='-Wl,'
24695 lt_prog_compiler_pic_F77='-KPIC'
24696 lt_prog_compiler_static_F77='-static'
24698 pgcc* | pgf77* | pgf90* | pgf95*)
24699 # Portland Group compilers (*not* the Pentium gcc compiler,
24700 # which looks to be a dead project)
24701 lt_prog_compiler_wl_F77='-Wl,'
24702 lt_prog_compiler_pic_F77='-fpic'
24703 lt_prog_compiler_static_F77='-Bstatic'
24706 lt_prog_compiler_wl_F77='-Wl,'
24707 # All Alpha code is PIC.
24708 lt_prog_compiler_static_F77='-non_shared'
24713 osf3* | osf4* | osf5*)
24714 lt_prog_compiler_wl_F77='-Wl,'
24715 # All OSF/1 code is PIC.
24716 lt_prog_compiler_static_F77='-non_shared'
24720 lt_prog_compiler_pic_F77='-Kpic'
24721 lt_prog_compiler_static_F77='-dn'
24725 lt_prog_compiler_pic_F77='-KPIC'
24726 lt_prog_compiler_static_F77='-Bstatic'
24727 case $cc_basename in
24728 f77* | f90* | f95*)
24729 lt_prog_compiler_wl_F77='-Qoption ld ';;
24731 lt_prog_compiler_wl_F77='-Wl,';;
24736 lt_prog_compiler_wl_F77='-Qoption ld '
24737 lt_prog_compiler_pic_F77='-PIC'
24738 lt_prog_compiler_static_F77='-Bstatic'
24741 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
24742 lt_prog_compiler_wl_F77='-Wl,'
24743 lt_prog_compiler_pic_F77='-KPIC'
24744 lt_prog_compiler_static_F77='-Bstatic'
24748 if test -d /usr/nec ;then
24749 lt_prog_compiler_pic_F77='-Kconform_pic'
24750 lt_prog_compiler_static_F77='-Bstatic'
24755 lt_prog_compiler_wl_F77='-Wl,'
24756 lt_prog_compiler_can_build_shared_F77=no
24760 lt_prog_compiler_pic_F77='-pic'
24761 lt_prog_compiler_static_F77='-Bstatic'
24765 lt_prog_compiler_can_build_shared_F77=no
24770 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
24771 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
24774 # Check to make sure the PIC flag actually works.
24776 if test -n "$lt_prog_compiler_pic_F77"; then
24778 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
24779 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
24780 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
24781 echo $ECHO_N "(cached) $ECHO_C" >&6
24783 lt_prog_compiler_pic_works_F77=no
24784 ac_outfile=conftest.$ac_objext
24785 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
24786 lt_compiler_flag="$lt_prog_compiler_pic_F77"
24787 # Insert the option either (1) after the last *FLAGS variable, or
24788 # (2) before a word containing "conftest.", or (3) at the end.
24789 # Note that $ac_compile itself does not contain backslashes and begins
24790 # with a dollar sign (not a hyphen), so the echo should work correctly.
24791 # The option is referenced via a variable to avoid confusing sed.
24792 lt_compile=`echo "$ac_compile" | $SED \
24793 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24794 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24795 -e 's:$: $lt_compiler_flag:'`
24796 (eval echo "\"\$as_me:24796: $lt_compile\"" >&5)
24797 (eval "$lt_compile" 2>conftest.err)
24799 cat conftest.err >&5
24800 echo "$as_me:24800: \$? = $ac_status" >&5
24801 if (exit $ac_status) && test -s "$ac_outfile"; then
24802 # The compiler can only warn and ignore the option if not recognized
24803 # So say no if there are warnings other than the usual output.
24804 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
24805 $SED '/^$/d' conftest.err >conftest.er2
24806 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
24807 lt_prog_compiler_pic_works_F77=yes
24813 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
24814 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
24816 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
24817 case $lt_prog_compiler_pic_F77 in
24819 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
24822 lt_prog_compiler_pic_F77=
24823 lt_prog_compiler_can_build_shared_F77=no
24828 # For platforms which do not support PIC, -DPIC is meaningless:
24830 lt_prog_compiler_pic_F77=
24833 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
24837 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
24838 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
24839 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
24840 echo $ECHO_N "(cached) $ECHO_C" >&6
24842 lt_cv_prog_compiler_c_o_F77=no
24843 $rm -r conftest 2>/dev/null
24847 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
24849 lt_compiler_flag="-o out/conftest2.$ac_objext"
24850 # Insert the option either (1) after the last *FLAGS variable, or
24851 # (2) before a word containing "conftest.", or (3) at the end.
24852 # Note that $ac_compile itself does not contain backslashes and begins
24853 # with a dollar sign (not a hyphen), so the echo should work correctly.
24854 lt_compile=`echo "$ac_compile" | $SED \
24855 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24856 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24857 -e 's:$: $lt_compiler_flag:'`
24858 (eval echo "\"\$as_me:24858: $lt_compile\"" >&5)
24859 (eval "$lt_compile" 2>out/conftest.err)
24861 cat out/conftest.err >&5
24862 echo "$as_me:24862: \$? = $ac_status" >&5
24863 if (exit $ac_status) && test -s out/conftest2.$ac_objext
24865 # The compiler can only warn and ignore the option if not recognized
24866 # So say no if there are warnings
24867 $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
24868 $SED '/^$/d' out/conftest.err >out/conftest.er2
24869 if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
24870 lt_cv_prog_compiler_c_o_F77=yes
24875 # SGI C++ compiler will create directory out/ii_files/ for
24876 # template instantiation
24877 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
24878 $rm out/* && rmdir out
24884 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
24885 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
24888 hard_links="nottested"
24889 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
24890 # do not overwrite the value of need_locks provided by the user
24891 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
24892 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
24895 ln conftest.a conftest.b 2>/dev/null && hard_links=no
24897 ln conftest.a conftest.b 2>&5 || hard_links=no
24898 ln conftest.a conftest.b 2>/dev/null && hard_links=no
24899 echo "$as_me:$LINENO: result: $hard_links" >&5
24900 echo "${ECHO_T}$hard_links" >&6
24901 if test "$hard_links" = no; then
24902 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
24903 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
24910 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
24911 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
24914 allow_undefined_flag_F77=
24915 enable_shared_with_static_runtimes_F77=no
24917 archive_expsym_cmds_F77=
24918 old_archive_From_new_cmds_F77=
24919 old_archive_from_expsyms_cmds_F77=
24920 export_dynamic_flag_spec_F77=
24921 whole_archive_flag_spec_F77=
24922 thread_safe_flag_spec_F77=
24923 hardcode_libdir_flag_spec_F77=
24924 hardcode_libdir_flag_spec_ld_F77=
24925 hardcode_libdir_separator_F77=
24926 hardcode_direct_F77=no
24927 hardcode_minus_L_F77=no
24928 hardcode_shlibpath_var_F77=unsupported
24929 link_all_deplibs_F77=unknown
24930 hardcode_automatic_F77=no
24932 module_expsym_cmds_F77=
24933 always_export_symbols_F77=no
24934 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
24935 # include_expsyms should be a list of space-separated symbols to be *always*
24936 # included in the symbol list
24937 include_expsyms_F77=
24938 # exclude_expsyms can be an extended regexp of symbols to exclude
24939 # it will be wrapped by ` (' and `)$', so one must not match beginning or
24940 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
24941 # as well as any symbol that contains `d'.
24942 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
24943 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
24944 # platforms (ab)use it in PIC code, but their linkers get confused if
24945 # the symbol is explicitly referenced. Since portable code cannot
24946 # rely on this symbol name, it's probably fine to never include it in
24947 # preloaded symbol tables.
24948 extract_expsyms_cmds=
24949 # Just being paranoid about ensuring that cc_basename is set.
24950 for cc_temp in $compiler""; do
24952 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
24953 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
24958 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
24961 cygwin* | mingw* | pw32*)
24962 # FIXME: the MSVC++ port hasn't been tested in a loooong time
24963 # When not using gcc, we currently assume that we are using
24964 # Microsoft Visual C++.
24965 if test "$GCC" != yes; then
24975 if test "$with_gnu_ld" = yes; then
24976 # If archive_cmds runs LD, not CC, wlarc should be empty
24979 # Set some defaults for GNU ld with shared library support. These
24980 # are reset later if shared libraries are not supported. Putting them
24981 # here allows them to be overridden if necessary.
24982 runpath_var=LD_RUN_PATH
24983 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
24984 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
24985 # ancient GNU ld didn't support --whole-archive et. al.
24986 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
24987 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
24989 whole_archive_flag_spec_F77=
24991 supports_anon_versioning=no
24992 case `$LD -v 2>/dev/null` in
24993 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
24994 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
24995 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
24996 *\ 2.11.*) ;; # other 2.11 versions
24997 *) supports_anon_versioning=yes ;;
25000 # See if GNU ld supports shared libraries.
25002 aix3* | aix4* | aix5*)
25003 # On AIX/PPC, the GNU linker is very broken
25004 if test "$host_cpu" != ia64; then
25008 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
25009 *** to be unable to reliably create shared libraries on AIX.
25010 *** Therefore, libtool is disabling shared libraries support. If you
25011 *** really care for shared libraries, you may want to modify your PATH
25012 *** so that a non-GNU linker is found, and then restart.
25019 archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
25020 hardcode_libdir_flag_spec_F77='-L$libdir'
25021 hardcode_minus_L_F77=yes
25023 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
25024 # that the semantics of dynamic libraries on AmigaOS, at least up
25025 # to version 4, is to share data among multiple programs linked
25026 # with the same dynamic library. Since this doesn't match the
25027 # behavior of shared libraries on other platforms, we can't use
25033 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
25034 allow_undefined_flag_F77=unsupported
25035 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
25036 # support --undefined. This deserves some investigation. FIXME
25037 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
25043 cygwin* | mingw* | pw32*)
25044 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
25045 # as there is no search path for DLLs.
25046 hardcode_libdir_flag_spec_F77='-L$libdir'
25047 allow_undefined_flag_F77=unsupported
25048 always_export_symbols_F77=no
25049 enable_shared_with_static_runtimes_F77=yes
25050 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
25052 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
25053 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
25054 # If the export-symbols file already is a .def file (1st line
25055 # is EXPORTS), use it as is; otherwise, prepend...
25056 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
25057 cp $export_symbols $output_objdir/$soname.def;
25059 echo EXPORTS > $output_objdir/$soname.def;
25060 cat $export_symbols >> $output_objdir/$soname.def;
25062 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
25069 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
25071 case $cc_basename,$host_cpu in
25072 pgcc*) # Portland Group C compiler
25073 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
25074 tmp_addflag=' $pic_flag'
25076 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
25077 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
25078 tmp_addflag=' $pic_flag -Mnomain' ;;
25079 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
25080 tmp_addflag=' -i_dynamic' ;;
25081 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
25082 tmp_addflag=' -i_dynamic -nofor_main' ;;
25083 ifc* | ifort*) # Intel Fortran compiler
25084 tmp_addflag=' -nofor_main' ;;
25086 archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
25088 if test $supports_anon_versioning = yes; then
25089 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
25090 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
25091 $echo "local: *; };" >> $output_objdir/$libname.ver~
25092 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
25100 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
25101 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
25104 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
25105 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
25110 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
25114 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
25115 *** create shared libraries on Solaris systems. Therefore, libtool
25116 *** is disabling shared libraries support. We urge you to upgrade GNU
25117 *** binutils to release 2.9.1 or newer. Another option is to modify
25118 *** your PATH or compiler configuration so that the native linker is
25119 *** used, and then restart.
25122 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
25123 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
25124 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
25131 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
25133 hardcode_direct_F77=yes
25134 hardcode_shlibpath_var_F77=no
25138 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
25139 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
25140 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
25147 if test "$ld_shlibs_F77" = no; then
25149 hardcode_libdir_flag_spec_F77=
25150 export_dynamic_flag_spec_F77=
25151 whole_archive_flag_spec_F77=
25154 # PORTME fill in a description of your system's linker (not GNU ld)
25157 allow_undefined_flag_F77=unsupported
25158 always_export_symbols_F77=yes
25159 archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
25160 # Note: this linker hardcodes the directories in LIBPATH if there
25161 # are no directories specified by -L.
25162 hardcode_minus_L_F77=yes
25163 if test "$GCC" = yes && test -z "$link_static_flag"; then
25164 # Neither direct hardcoding nor static linking is supported with a
25166 hardcode_direct_F77=unsupported
25171 if test "$host_cpu" = ia64; then
25172 # On IA64, the linker does run time linking by default, so we don't
25173 # have to do anything special.
25174 aix_use_runtimelinking=no
25175 exp_sym_flag='-Bexport'
25178 # If we're using GNU nm, then we don't want the "-C" option.
25179 # -C means demangle to AIX nm, but means don't demangle with GNU nm
25180 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
25181 export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
25183 export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
25185 aix_use_runtimelinking=no
25187 # Test if we are trying to use run time linking or normal
25188 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
25189 # need to do runtime linking.
25190 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
25191 for ld_flag in $LDFLAGS; do
25192 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
25193 aix_use_runtimelinking=yes
25199 exp_sym_flag='-bexport'
25200 no_entry_flag='-bnoentry'
25203 # When large executables or shared objects are built, AIX ld can
25204 # have problems creating the table of contents. If linking a library
25205 # or program results in "error TOC overflow" add -mminimal-toc to
25206 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
25207 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
25209 archive_cmds_F77=''
25210 hardcode_direct_F77=yes
25211 hardcode_libdir_separator_F77=':'
25212 link_all_deplibs_F77=yes
25214 if test "$GCC" = yes; then
25215 case $host_os in aix4.[012]|aix4.[012].*)
25216 # We only want to do this on AIX 4.2 and lower, the check
25217 # below for broken collect2 doesn't work under 4.3+
25218 collect2name=`${CC} -print-prog-name=collect2`
25219 if test -f "$collect2name" && \
25220 strings "$collect2name" | grep resolve_lib_name >/dev/null
25222 # We have reworked collect2
25223 hardcode_direct_F77=yes
25225 # We have old collect2
25226 hardcode_direct_F77=unsupported
25227 # It fails to find uninstalled libraries when the uninstalled
25228 # path is not listed in the libpath. Setting hardcode_minus_L
25229 # to unsupported forces relinking
25230 hardcode_minus_L_F77=yes
25231 hardcode_libdir_flag_spec_F77='-L$libdir'
25232 hardcode_libdir_separator_F77=
25235 shared_flag='-shared'
25236 if test "$aix_use_runtimelinking" = yes; then
25237 shared_flag="$shared_flag "'${wl}-G'
25241 if test "$host_cpu" = ia64; then
25242 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
25243 # chokes on -Wl,-G. The following line is correct:
25246 if test "$aix_use_runtimelinking" = yes; then
25247 shared_flag='${wl}-G'
25249 shared_flag='${wl}-bM:SRE'
25254 # It seems that -bexpall does not export symbols beginning with
25255 # underscore (_), so it is better to generate a list of symbols to export.
25256 always_export_symbols_F77=yes
25257 if test "$aix_use_runtimelinking" = yes; then
25258 # Warning - without using the other runtime loading flags (-brtl),
25259 # -berok will link without error, but may produce a broken library.
25260 allow_undefined_flag_F77='-berok'
25261 # Determine the default libpath from the value encoded in an empty executable.
25262 cat >conftest.$ac_ext <<_ACEOF
25267 rm -f conftest.$ac_objext conftest$ac_exeext
25268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25269 (eval $ac_link) 2>conftest.er1
25271 grep -v '^ *+' conftest.er1 >conftest.err
25273 cat conftest.err >&5
25274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25275 (exit $ac_status); } &&
25276 { ac_try='test -z "$ac_f77_werror_flag"
25277 || test ! -s conftest.err'
25278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25279 (eval $ac_try) 2>&5
25281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25282 (exit $ac_status); }; } &&
25283 { ac_try='test -s conftest$ac_exeext'
25284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25285 (eval $ac_try) 2>&5
25287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25288 (exit $ac_status); }; }; then
25290 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
25292 # Check for a 64-bit object if we didn't find anything.
25293 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
25296 echo "$as_me: failed program was:" >&5
25297 sed 's/^/| /' conftest.$ac_ext >&5
25300 rm -f conftest.err conftest.$ac_objext \
25301 conftest$ac_exeext conftest.$ac_ext
25302 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
25304 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
25305 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
25307 if test "$host_cpu" = ia64; then
25308 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
25309 allow_undefined_flag_F77="-z nodefs"
25310 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
25312 # Determine the default libpath from the value encoded in an empty executable.
25313 cat >conftest.$ac_ext <<_ACEOF
25318 rm -f conftest.$ac_objext conftest$ac_exeext
25319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25320 (eval $ac_link) 2>conftest.er1
25322 grep -v '^ *+' conftest.er1 >conftest.err
25324 cat conftest.err >&5
25325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25326 (exit $ac_status); } &&
25327 { ac_try='test -z "$ac_f77_werror_flag"
25328 || test ! -s conftest.err'
25329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25330 (eval $ac_try) 2>&5
25332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25333 (exit $ac_status); }; } &&
25334 { ac_try='test -s conftest$ac_exeext'
25335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25336 (eval $ac_try) 2>&5
25338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25339 (exit $ac_status); }; }; then
25341 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
25343 # Check for a 64-bit object if we didn't find anything.
25344 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
25347 echo "$as_me: failed program was:" >&5
25348 sed 's/^/| /' conftest.$ac_ext >&5
25351 rm -f conftest.err conftest.$ac_objext \
25352 conftest$ac_exeext conftest.$ac_ext
25353 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
25355 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
25356 # Warning - without using the other run time loading flags,
25357 # -berok will link without error, but may produce a broken library.
25358 no_undefined_flag_F77=' ${wl}-bernotok'
25359 allow_undefined_flag_F77=' ${wl}-berok'
25360 # -bexpall does not export symbols beginning with underscore (_)
25361 always_export_symbols_F77=yes
25362 # Exported symbols can be pulled into shared objects from archives
25363 whole_archive_flag_spec_F77=' '
25364 archive_cmds_need_lc_F77=yes
25365 # This is similar to how AIX traditionally builds its shared libraries.
25366 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
25372 archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
25373 hardcode_libdir_flag_spec_F77='-L$libdir'
25374 hardcode_minus_L_F77=yes
25375 # see comment about different semantics on the GNU ld section
25380 export_dynamic_flag_spec_F77=-rdynamic
25383 cygwin* | mingw* | pw32*)
25384 # When not using gcc, we currently assume that we are using
25385 # Microsoft Visual C++.
25386 # hardcode_libdir_flag_spec is actually meaningless, as there is
25387 # no search path for DLLs.
25388 hardcode_libdir_flag_spec_F77=' '
25389 allow_undefined_flag_F77=unsupported
25390 # Tell ltmain to make .lib files, not .a files.
25392 # Tell ltmain to make .dll files, not .so files.
25394 # FIXME: Setting linknames here is a bad hack.
25395 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
25396 # The linker will automatically build a .lib file if we build a DLL.
25397 old_archive_From_new_cmds_F77='true'
25398 # FIXME: Should let the user specify the lib program.
25399 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
25400 fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
25401 enable_shared_with_static_runtimes_F77=yes
25404 darwin* | rhapsody*)
25406 rhapsody* | darwin1.[012])
25407 allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
25410 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
25411 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
25413 case ${MACOSX_DEPLOYMENT_TARGET} in
25415 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
25418 allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
25424 archive_cmds_need_lc_F77=no
25425 hardcode_direct_F77=no
25426 hardcode_automatic_F77=yes
25427 hardcode_shlibpath_var_F77=unsupported
25428 whole_archive_flag_spec_F77=''
25429 link_all_deplibs_F77=yes
25430 if test "$GCC" = yes ; then
25431 output_verbose_link_cmd='echo'
25432 archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
25433 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
25434 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
25435 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
25436 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
25438 case $cc_basename in
25440 output_verbose_link_cmd='echo'
25441 archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
25442 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
25443 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
25444 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
25445 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
25455 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25456 hardcode_libdir_flag_spec_F77='-L$libdir'
25457 hardcode_shlibpath_var_F77=no
25464 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
25465 # support. Future versions do this automatically, but an explicit c++rt0.o
25466 # does not break anything, and helps significantly (at the cost of a little
25469 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
25470 hardcode_libdir_flag_spec_F77='-R$libdir'
25471 hardcode_direct_F77=yes
25472 hardcode_shlibpath_var_F77=no
25475 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
25477 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
25478 hardcode_direct_F77=yes
25479 hardcode_minus_L_F77=yes
25480 hardcode_shlibpath_var_F77=no
25483 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
25484 freebsd* | kfreebsd*-gnu | dragonfly*)
25485 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
25486 hardcode_libdir_flag_spec_F77='-R$libdir'
25487 hardcode_direct_F77=yes
25488 hardcode_shlibpath_var_F77=no
25492 if test "$GCC" = yes; then
25493 archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
25495 archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
25497 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
25498 hardcode_libdir_separator_F77=:
25499 hardcode_direct_F77=yes
25501 # hardcode_minus_L: Not really in the search PATH,
25502 # but as the default location of the library.
25503 hardcode_minus_L_F77=yes
25504 export_dynamic_flag_spec_F77='${wl}-E'
25508 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
25511 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25514 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
25520 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
25523 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
25527 if test "$with_gnu_ld" = no; then
25530 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
25531 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
25532 hardcode_libdir_separator_F77=:
25533 hardcode_direct_F77=no
25534 hardcode_shlibpath_var_F77=no
25537 hardcode_libdir_flag_spec_F77='-L$libdir'
25538 hardcode_direct_F77=no
25539 hardcode_shlibpath_var_F77=no
25541 # hardcode_minus_L: Not really in the search PATH,
25542 # but as the default location of the library.
25543 hardcode_minus_L_F77=yes
25546 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
25547 hardcode_libdir_separator_F77=:
25548 hardcode_direct_F77=yes
25549 export_dynamic_flag_spec_F77='${wl}-E'
25551 # hardcode_minus_L: Not really in the search PATH,
25552 # but as the default location of the library.
25553 hardcode_minus_L_F77=yes
25559 irix5* | irix6* | nonstopux*)
25560 if test "$GCC" = yes; then
25561 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
25563 archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
25564 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
25566 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
25567 hardcode_libdir_separator_F77=:
25568 link_all_deplibs_F77=yes
25572 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
25573 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
25575 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
25577 hardcode_libdir_flag_spec_F77='-R$libdir'
25578 hardcode_direct_F77=yes
25579 hardcode_shlibpath_var_F77=no
25583 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25584 hardcode_direct_F77=yes
25585 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
25586 hardcode_libdir_separator_F77=:
25587 hardcode_shlibpath_var_F77=no
25591 hardcode_direct_F77=yes
25592 hardcode_shlibpath_var_F77=no
25593 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
25594 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
25595 archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
25596 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
25597 export_dynamic_flag_spec_F77='${wl}-E'
25600 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
25601 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
25602 hardcode_libdir_flag_spec_F77='-R$libdir'
25605 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
25606 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
25613 hardcode_libdir_flag_spec_F77='-L$libdir'
25614 hardcode_minus_L_F77=yes
25615 allow_undefined_flag_F77=unsupported
25616 archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
25617 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
25621 if test "$GCC" = yes; then
25622 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
25623 archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
25625 allow_undefined_flag_F77=' -expect_unresolved \*'
25626 archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
25628 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
25629 hardcode_libdir_separator_F77=:
25632 osf4* | osf5*) # as osf3* with the addition of -msym flag
25633 if test "$GCC" = yes; then
25634 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
25635 archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
25636 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
25638 allow_undefined_flag_F77=' -expect_unresolved \*'
25639 archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
25640 archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
25641 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
25643 # Both c and cxx compiler support -rpath directly
25644 hardcode_libdir_flag_spec_F77='-rpath $libdir'
25646 hardcode_libdir_separator_F77=:
25650 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25651 hardcode_shlibpath_var_F77=no
25652 export_dynamic_flag_spec_F77='${wl}-Bexport'
25653 runpath_var=LD_RUN_PATH
25654 hardcode_runpath_var=yes
25658 no_undefined_flag_F77=' -z text'
25659 if test "$GCC" = yes; then
25661 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25662 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
25663 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
25666 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
25667 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
25668 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
25670 hardcode_libdir_flag_spec_F77='-R$libdir'
25671 hardcode_shlibpath_var_F77=no
25673 solaris2.[0-5] | solaris2.[0-5].*) ;;
25675 # The compiler driver will combine linker options so we
25676 # cannot just pass the convience library names through
25677 # without $wl, iff we do not link with $LD.
25678 # Luckily, gcc supports the same syntax we need for Sun Studio.
25679 # Supported since Solaris 2.6 (maybe 2.5.1?)
25682 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
25684 whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
25687 link_all_deplibs_F77=yes
25691 if test "x$host_vendor" = xsequent; then
25692 # Use $CC to link under sequent, because it throws in some extra .o
25693 # files that make .init and .fini sections work.
25694 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
25696 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
25698 hardcode_libdir_flag_spec_F77='-L$libdir'
25699 hardcode_direct_F77=yes
25700 hardcode_minus_L_F77=yes
25701 hardcode_shlibpath_var_F77=no
25705 case $host_vendor in
25707 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25708 hardcode_direct_F77=yes # is this really true???
25711 ## LD is ld it makes a PLAMLIB
25712 ## CC just makes a GrossModule.
25713 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
25714 reload_cmds_F77='$CC -r -o $output$reload_objs'
25715 hardcode_direct_F77=no
25718 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25719 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
25722 runpath_var='LD_RUN_PATH'
25723 hardcode_shlibpath_var_F77=no
25727 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25728 hardcode_shlibpath_var_F77=no
25729 export_dynamic_flag_spec_F77='-Bexport'
25733 if test -d /usr/nec; then
25734 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25735 hardcode_shlibpath_var_F77=no
25736 runpath_var=LD_RUN_PATH
25737 hardcode_runpath_var=yes
25743 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
25744 hardcode_direct_F77=yes
25745 hardcode_minus_L_F77=no
25746 hardcode_shlibpath_var_F77=no
25747 hardcode_runpath_var=yes
25748 runpath_var=LD_RUN_PATH
25751 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
25752 no_undefined_flag_F77='${wl}-z ${wl}text'
25753 if test "$GCC" = yes; then
25754 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25756 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25758 runpath_var='LD_RUN_PATH'
25759 hardcode_shlibpath_var_F77=no
25763 no_undefined_flag_F77=' -z text'
25764 # $CC -shared without GNU ld will not create a library from C++
25765 # object files and a static libstdc++, better avoid it by now
25766 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
25767 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
25768 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
25769 hardcode_libdir_flag_spec_F77=
25770 hardcode_shlibpath_var_F77=no
25771 runpath_var='LD_RUN_PATH'
25775 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25776 hardcode_libdir_flag_spec_F77='-L$libdir'
25777 hardcode_shlibpath_var_F77=no
25786 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
25787 echo "${ECHO_T}$ld_shlibs_F77" >&6
25788 test "$ld_shlibs_F77" = no && can_build_shared=no
25790 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
25791 if test "$GCC" = yes; then
25792 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
25796 # Do we need to explicitly link libc?
25798 case "x$archive_cmds_need_lc_F77" in
25800 # Assume -lc should be added
25801 archive_cmds_need_lc_F77=yes
25803 if test "$enable_shared" = yes && test "$GCC" = yes; then
25804 case $archive_cmds_F77 in
25806 # FIXME: we may have to deal with multi-command sequences.
25809 # Test whether the compiler implicitly links with -lc since on some
25810 # systems, -lgcc has to come before -lc. If gcc already passes -lc
25811 # to ld, don't add -lc before -lgcc.
25812 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
25813 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
25815 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
25817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25818 (eval $ac_compile) 2>&5
25820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25821 (exit $ac_status); } 2>conftest.err; then
25824 libobjs=conftest.$ac_objext
25826 wl=$lt_prog_compiler_wl_F77
25832 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
25833 allow_undefined_flag_F77=
25834 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
25835 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
25837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25838 (exit $ac_status); }
25840 archive_cmds_need_lc_F77=no
25842 archive_cmds_need_lc_F77=yes
25844 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
25846 cat conftest.err 1>&5
25849 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
25850 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
25857 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
25858 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
25859 library_names_spec=
25860 libname_spec='lib$name'
25864 postuninstall_cmds=
25868 shlibpath_overrides_runpath=unknown
25870 dynamic_linker="$host_os ld.so"
25871 sys_lib_dlsearch_path_spec="/lib /usr/lib"
25872 if test "$GCC" = yes; then
25873 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25874 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
25875 # if the path contains ";" then we assume it to be the separator
25876 # otherwise default to the standard path separator (i.e. ":") - it is
25877 # assumed that no part of a normal pathname contains ";" but that should
25878 # okay in the real world where ";" in dirpaths is itself problematic.
25879 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25881 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25884 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
25886 need_lib_prefix=unknown
25887 hardcode_into_libs=no
25889 # when you set need_version to no, make sure it does not cause -set_version
25890 # flags to be left without arguments
25891 need_version=unknown
25896 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
25897 shlibpath_var=LIBPATH
25899 # AIX 3 has no versioning support, so we append a major version to the name.
25900 soname_spec='${libname}${release}${shared_ext}$major'
25907 hardcode_into_libs=yes
25908 if test "$host_cpu" = ia64; then
25909 # AIX 5 supports IA64
25910 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
25911 shlibpath_var=LD_LIBRARY_PATH
25913 # With GCC up to 2.95.x, collect2 would create an import file
25914 # for dependence libraries. The import file would start with
25915 # the line `#! .'. This would cause the generated library to
25916 # depend on `.', always an invalid library. This was fixed in
25917 # development snapshots of GCC prior to 3.0.
25919 aix4 | aix4.[01] | aix4.[01].*)
25920 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
25922 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
25925 can_build_shared=no
25929 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
25930 # soname into executable. Probably we can add versioning support to
25931 # collect2, so additional links can be useful in future.
25932 if test "$aix_use_runtimelinking" = yes; then
25933 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
25934 # instead of lib<name>.a to let people know that these are not
25935 # typical AIX shared libraries.
25936 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25938 # We preserve .a as extension for shared libraries through AIX4.2
25939 # and later when we are not doing run time linking.
25940 library_names_spec='${libname}${release}.a $libname.a'
25941 soname_spec='${libname}${release}${shared_ext}$major'
25943 shlibpath_var=LIBPATH
25948 library_names_spec='$libname.ixlibrary $libname.a'
25949 # Create ${libname}_ixlibrary.a entries in /sys/libs.
25950 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
25954 library_names_spec='${libname}${shared_ext}'
25955 dynamic_linker="$host_os ld.so"
25956 shlibpath_var=LIBRARY_PATH
25962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25963 soname_spec='${libname}${release}${shared_ext}$major'
25964 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
25965 shlibpath_var=LD_LIBRARY_PATH
25966 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
25967 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
25968 # the default ld.so.conf also contains /usr/contrib/lib and
25969 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
25970 # libtool to hard-code these into programs
25973 cygwin* | mingw* | pw32*)
25974 version_type=windows
25979 case $GCC,$host_os in
25980 yes,cygwin* | yes,mingw* | yes,pw32*)
25981 library_names_spec='$libname.dll.a'
25982 # DLL is installed to $(libdir)/../bin by postinstall_cmds
25983 postinstall_cmds='base_file=`basename \${file}`~
25984 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
25985 dldir=$destdir/`dirname \$dlpath`~
25986 test -d \$dldir || mkdir -p \$dldir~
25987 $install_prog $dir/$dlname \$dldir/$dlname~
25988 chmod a+x \$dldir/$dlname'
25989 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
25990 dlpath=$dir/\$dldll~
25992 shlibpath_overrides_runpath=yes
25996 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
25997 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25998 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
26001 # MinGW DLLs use traditional 'lib' prefix
26002 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
26003 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
26004 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
26005 # It is most probably a Windows format PATH printed by
26006 # mingw gcc, but we are running on Cygwin. Gcc prints its search
26007 # path with ; separators, and with drive letters. We can handle the
26008 # drive letters (cygwin fileutils understands them), so leave them,
26009 # especially as we might pass files found there to a mingw objdump,
26010 # which wouldn't understand a cygwinified path. Ahh.
26011 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
26013 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
26017 # pw32 DLLs use 'pw' prefix rather than 'lib'
26018 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
26024 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
26027 dynamic_linker='Win32 ld.exe'
26028 # FIXME: first we should search . and the directory the executable is in
26032 darwin* | rhapsody*)
26033 dynamic_linker="$host_os dyld"
26034 version_type=darwin
26037 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
26038 soname_spec='${libname}${release}${major}$shared_ext'
26039 shlibpath_overrides_runpath=yes
26040 shlibpath_var=DYLD_LIBRARY_PATH
26041 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
26042 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
26043 if test "$GCC" = yes; then
26044 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
26046 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
26048 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
26055 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
26056 soname_spec='${libname}${release}${shared_ext}$major'
26057 shlibpath_var=LD_LIBRARY_PATH
26068 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
26069 soname_spec='${libname}${release}${shared_ext}$major'
26070 shlibpath_var=LD_LIBRARY_PATH
26071 shlibpath_overrides_runpath=no
26072 hardcode_into_libs=yes
26073 dynamic_linker='GNU ld.so'
26076 freebsd* | dragonfly*)
26077 # DragonFly does not have aout. When/if they implement a new
26078 # versioning mechanism, adjust this.
26079 if test -x /usr/bin/objformat; then
26080 objformat=`/usr/bin/objformat`
26083 freebsd[123]*) objformat=aout ;;
26084 *) objformat=elf ;;
26087 version_type=freebsd-$objformat
26088 case $version_type in
26090 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
26095 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
26099 shlibpath_var=LD_LIBRARY_PATH
26102 shlibpath_overrides_runpath=yes
26104 freebsd3.[01]* | freebsdelf3.[01]*)
26105 shlibpath_overrides_runpath=yes
26106 hardcode_into_libs=yes
26109 shlibpath_overrides_runpath=no
26110 hardcode_into_libs=yes
26119 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
26120 soname_spec='${libname}${release}${shared_ext}$major'
26121 shlibpath_var=LD_LIBRARY_PATH
26122 hardcode_into_libs=yes
26125 hpux9* | hpux10* | hpux11*)
26126 # Give a soname corresponding to the major version so that dld.sl refuses to
26127 # link against other versions.
26134 hardcode_into_libs=yes
26135 dynamic_linker="$host_os dld.so"
26136 shlibpath_var=LD_LIBRARY_PATH
26137 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
26138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26139 soname_spec='${libname}${release}${shared_ext}$major'
26140 if test "X$HPUX_IA64_MODE" = X32; then
26141 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
26143 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
26145 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
26149 hardcode_into_libs=yes
26150 dynamic_linker="$host_os dld.sl"
26151 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
26152 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
26153 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26154 soname_spec='${libname}${release}${shared_ext}$major'
26155 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
26156 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
26160 dynamic_linker="$host_os dld.sl"
26161 shlibpath_var=SHLIB_PATH
26162 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
26163 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26164 soname_spec='${libname}${release}${shared_ext}$major'
26167 # HP-UX runs *really* slowly unless shared libraries are mode 555.
26168 postinstall_cmds='chmod 555 $lib'
26171 irix5* | irix6* | nonstopux*)
26173 nonstopux*) version_type=nonstopux ;;
26175 if test "$lt_cv_prog_gnu_ld" = yes; then
26183 soname_spec='${libname}${release}${shared_ext}$major'
26184 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
26186 irix5* | nonstopux*)
26187 libsuff= shlibsuff=
26190 case $LD in # libtool.m4 will add one of these switches to LD
26191 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
26192 libsuff= shlibsuff= libmagic=32-bit;;
26193 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
26194 libsuff=32 shlibsuff=N32 libmagic=N32;;
26195 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
26196 libsuff=64 shlibsuff=64 libmagic=64-bit;;
26197 *) libsuff= shlibsuff= libmagic=never-match;;
26201 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
26202 shlibpath_overrides_runpath=no
26203 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
26204 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
26205 hardcode_into_libs=yes
26208 # No shared lib support for Linux oldld, aout, or coff.
26209 linux*oldld* | linux*aout* | linux*coff*)
26213 # This must be Linux ELF.
26218 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26219 soname_spec='${libname}${release}${shared_ext}$major'
26220 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
26221 shlibpath_var=LD_LIBRARY_PATH
26222 shlibpath_overrides_runpath=no
26223 # This implies no fast_install, which is unacceptable.
26224 # Some rework will be needed to allow for fast_install
26225 # before this can be enabled.
26226 hardcode_into_libs=yes
26228 # Append ld.so.conf contents to the search path
26229 if test -f /etc/ld.so.conf; then
26230 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
26231 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
26234 # We used to test for /lib/ld.so.1 and disable shared libraries on
26235 # powerpc, because MkLinux only supported shared libraries with the
26236 # GNU dynamic linker. Since this was broken with cross compilers,
26237 # most powerpc-linux boxes support dynamic linking these days and
26238 # people can always --disable-shared, the test was removed, and we
26239 # assume the GNU/Linux dynamic linker is in use.
26240 dynamic_linker='GNU/Linux ld.so'
26247 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
26248 soname_spec='${libname}${release}${shared_ext}$major'
26249 shlibpath_var=LD_LIBRARY_PATH
26250 shlibpath_overrides_runpath=no
26251 hardcode_into_libs=yes
26252 dynamic_linker='GNU ld.so'
26259 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
26260 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
26261 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
26262 dynamic_linker='NetBSD (a.out) ld.so'
26264 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
26265 soname_spec='${libname}${release}${shared_ext}$major'
26266 dynamic_linker='NetBSD ld.elf_so'
26268 shlibpath_var=LD_LIBRARY_PATH
26269 shlibpath_overrides_runpath=yes
26270 hardcode_into_libs=yes
26275 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26276 shlibpath_var=LD_LIBRARY_PATH
26277 shlibpath_overrides_runpath=yes
26284 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26285 soname_spec='${libname}${release}${shared_ext}$major'
26286 shlibpath_var=LD_LIBRARY_PATH
26287 shlibpath_overrides_runpath=yes
26293 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
26295 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
26296 *) need_version=no ;;
26298 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
26299 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
26300 shlibpath_var=LD_LIBRARY_PATH
26301 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
26303 openbsd2.[89] | openbsd2.[89].*)
26304 shlibpath_overrides_runpath=no
26307 shlibpath_overrides_runpath=yes
26311 shlibpath_overrides_runpath=yes
26316 libname_spec='$name'
26319 library_names_spec='$libname${shared_ext} $libname.a'
26320 dynamic_linker='OS/2 ld.exe'
26321 shlibpath_var=LIBPATH
26324 osf3* | osf4* | osf5*)
26328 soname_spec='${libname}${release}${shared_ext}$major'
26329 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26330 shlibpath_var=LD_LIBRARY_PATH
26331 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
26332 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
26337 soname_spec='${libname}${release}${shared_ext}$major'
26338 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26339 shlibpath_var=LD_LIBRARY_PATH
26346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26347 soname_spec='${libname}${release}${shared_ext}$major'
26348 shlibpath_var=LD_LIBRARY_PATH
26349 shlibpath_overrides_runpath=yes
26350 hardcode_into_libs=yes
26351 # ldd complains unless libraries are executable
26352 postinstall_cmds='chmod +x $lib'
26357 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
26358 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
26359 shlibpath_var=LD_LIBRARY_PATH
26360 shlibpath_overrides_runpath=yes
26361 if test "$with_gnu_ld" = yes; then
26367 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
26369 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26370 soname_spec='${libname}${release}${shared_ext}$major'
26371 shlibpath_var=LD_LIBRARY_PATH
26372 case $host_vendor in
26374 shlibpath_overrides_runpath=no
26376 export_dynamic_flag_spec='${wl}-Blargedynsym'
26377 runpath_var=LD_RUN_PATH
26385 shlibpath_overrides_runpath=no
26386 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
26392 if test -d /usr/nec ;then
26394 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
26395 soname_spec='$libname${shared_ext}.$major'
26396 shlibpath_var=LD_LIBRARY_PATH
26402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26403 soname_spec='${libname}${release}${shared_ext}$major'
26404 shlibpath_var=LD_LIBRARY_PATH
26411 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
26412 echo "${ECHO_T}$dynamic_linker" >&6
26413 test "$dynamic_linker" = no && can_build_shared=no
26415 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
26416 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
26417 hardcode_action_F77=
26418 if test -n "$hardcode_libdir_flag_spec_F77" || \
26419 test -n "$runpath_var_F77" || \
26420 test "X$hardcode_automatic_F77" = "Xyes" ; then
26422 # We can hardcode non-existant directories.
26423 if test "$hardcode_direct_F77" != no &&
26424 # If the only mechanism to avoid hardcoding is shlibpath_var, we
26425 # have to relink, otherwise we might link with an installed library
26426 # when we should be linking with a yet-to-be-installed one
26427 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
26428 test "$hardcode_minus_L_F77" != no; then
26429 # Linking always hardcodes the temporary library directory.
26430 hardcode_action_F77=relink
26432 # We can link without hardcoding, and we can hardcode nonexisting dirs.
26433 hardcode_action_F77=immediate
26436 # We cannot hardcode anything, or else we can only hardcode existing
26438 hardcode_action_F77=unsupported
26440 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
26441 echo "${ECHO_T}$hardcode_action_F77" >&6
26443 if test "$hardcode_action_F77" = relink; then
26444 # Fast installation is not supported
26445 enable_fast_install=no
26446 elif test "$shlibpath_overrides_runpath" = yes ||
26447 test "$enable_shared" = no; then
26448 # Fast installation is not necessary
26449 enable_fast_install=needless
26454 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
26455 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
26456 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
26457 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
26458 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
26459 echo "$as_me:$LINENO: result: yes" >&5
26460 echo "${ECHO_T}yes" >&6
26462 # FIXME - insert some real tests, host_os isn't really good enough
26465 if test -n "$STRIP" ; then
26466 striplib="$STRIP -x"
26467 echo "$as_me:$LINENO: result: yes" >&5
26468 echo "${ECHO_T}yes" >&6
26470 echo "$as_me:$LINENO: result: no" >&5
26471 echo "${ECHO_T}no" >&6
26475 echo "$as_me:$LINENO: result: no" >&5
26476 echo "${ECHO_T}no" >&6
26483 # The else clause should only fire when bootstrapping the
26484 # libtool distribution, otherwise you forgot to ship ltmain.sh
26485 # with your package, and you will get complaints that there are
26486 # no rules to generate ltmain.sh.
26487 if test -f "$ltmain"; then
26488 # See if we are running on zsh, and set the options which allow our commands through
26489 # without removal of \ escapes.
26490 if test -n "${ZSH_VERSION+set}" ; then
26491 setopt NO_GLOB_SUBST
26493 # Now quote all the things that may contain metacharacters while being
26494 # careful not to overquote the AC_SUBSTed values. We take copies of the
26495 # variables and quote the copies for generation of the libtool script.
26496 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
26498 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
26499 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
26500 deplibs_check_method reload_flag reload_cmds need_locks \
26501 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
26502 lt_cv_sys_global_symbol_to_c_name_address \
26503 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
26504 old_postinstall_cmds old_postuninstall_cmds \
26508 lt_prog_compiler_wl_F77 \
26509 lt_prog_compiler_pic_F77 \
26510 lt_prog_compiler_static_F77 \
26511 lt_prog_compiler_no_builtin_flag_F77 \
26512 export_dynamic_flag_spec_F77 \
26513 thread_safe_flag_spec_F77 \
26514 whole_archive_flag_spec_F77 \
26515 enable_shared_with_static_runtimes_F77 \
26516 old_archive_cmds_F77 \
26517 old_archive_from_new_cmds_F77 \
26518 predep_objects_F77 \
26519 postdep_objects_F77 \
26522 compiler_lib_search_path_F77 \
26524 archive_expsym_cmds_F77 \
26525 postinstall_cmds_F77 \
26526 postuninstall_cmds_F77 \
26527 old_archive_from_expsyms_cmds_F77 \
26528 allow_undefined_flag_F77 \
26529 no_undefined_flag_F77 \
26530 export_symbols_cmds_F77 \
26531 hardcode_libdir_flag_spec_F77 \
26532 hardcode_libdir_flag_spec_ld_F77 \
26533 hardcode_libdir_separator_F77 \
26534 hardcode_automatic_F77 \
26536 module_expsym_cmds_F77 \
26537 lt_cv_prog_compiler_c_o_F77 \
26538 exclude_expsyms_F77 \
26539 include_expsyms_F77; do
26542 old_archive_cmds_F77 | \
26543 old_archive_from_new_cmds_F77 | \
26544 archive_cmds_F77 | \
26545 archive_expsym_cmds_F77 | \
26546 module_cmds_F77 | \
26547 module_expsym_cmds_F77 | \
26548 old_archive_from_expsyms_cmds_F77 | \
26549 export_symbols_cmds_F77 | \
26550 extract_expsyms_cmds | reload_cmds | finish_cmds | \
26551 postinstall_cmds | postuninstall_cmds | \
26552 old_postinstall_cmds | old_postuninstall_cmds | \
26553 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
26554 # Double-quote double-evaled strings.
26555 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
26558 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
26564 *'\$0 --fallback-echo"')
26565 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
26571 cat <<__EOF__ >> "$cfgfile"
26572 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
26574 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26576 # Shell to use when invoking shell scripts.
26579 # Whether or not to build shared libraries.
26580 build_libtool_libs=$enable_shared
26582 # Whether or not to build static libraries.
26583 build_old_libs=$enable_static
26585 # Whether or not to add -lc for building shared libraries.
26586 build_libtool_need_lc=$archive_cmds_need_lc_F77
26588 # Whether or not to disallow shared libs when runtime libs are static
26589 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
26591 # Whether or not to optimize for fast installation.
26592 fast_install=$enable_fast_install
26595 host_alias=$host_alias
26599 # The build system.
26600 build_alias=$build_alias
26604 # An echo program that does not interpret backslashes.
26609 AR_FLAGS=$lt_AR_FLAGS
26614 # A language-specific compiler.
26615 CC=$lt_compiler_F77
26617 # Is the compiler the GNU C compiler?
26623 # The linker used to build libraries.
26626 # Whether we need hard or soft links.
26629 # A BSD-compatible nm program.
26632 # A symbol stripping program
26635 # Used to examine libraries when file_magic_cmd begins "file"
26636 MAGIC_CMD=$MAGIC_CMD
26638 # Used on cygwin: DLL creation program.
26641 # Used on cygwin: object dumper.
26644 # Used on cygwin: assembler.
26647 # The name of the directory that contains temporary libtool files.
26650 # How to create reloadable object files.
26651 reload_flag=$lt_reload_flag
26652 reload_cmds=$lt_reload_cmds
26654 # How to pass a linker flag through the compiler.
26655 wl=$lt_lt_prog_compiler_wl_F77
26657 # Object file suffix (normally "o").
26658 objext="$ac_objext"
26660 # Old archive suffix (normally "a").
26663 # Shared library suffix (normally ".so").
26664 shrext_cmds='$shrext_cmds'
26666 # Executable file suffix (normally "").
26669 # Additional compiler flags for building library objects.
26670 pic_flag=$lt_lt_prog_compiler_pic_F77
26673 # What is the maximum length of a command?
26674 max_cmd_len=$lt_cv_sys_max_cmd_len
26676 # Does compiler simultaneously support -c and -o options?
26677 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
26679 # Must we lock files when doing compilation?
26680 need_locks=$lt_need_locks
26682 # Do we need the lib prefix for modules?
26683 need_lib_prefix=$need_lib_prefix
26685 # Do we need a version for libraries?
26686 need_version=$need_version
26688 # Whether dlopen is supported.
26689 dlopen_support=$enable_dlopen
26691 # Whether dlopen of programs is supported.
26692 dlopen_self=$enable_dlopen_self
26694 # Whether dlopen of statically linked programs is supported.
26695 dlopen_self_static=$enable_dlopen_self_static
26697 # Compiler flag to prevent dynamic linking.
26698 link_static_flag=$lt_lt_prog_compiler_static_F77
26700 # Compiler flag to turn off builtin functions.
26701 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
26703 # Compiler flag to allow reflexive dlopens.
26704 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
26706 # Compiler flag to generate shared objects directly from archives.
26707 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
26709 # Compiler flag to generate thread-safe objects.
26710 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
26712 # Library versioning type.
26713 version_type=$version_type
26715 # Format of library name prefix.
26716 libname_spec=$lt_libname_spec
26718 # List of archive names. First name is the real one, the rest are links.
26719 # The last name is the one that the linker finds with -lNAME.
26720 library_names_spec=$lt_library_names_spec
26722 # The coded name of the library, if different from the real name.
26723 soname_spec=$lt_soname_spec
26725 # Commands used to build and install an old-style archive.
26727 old_archive_cmds=$lt_old_archive_cmds_F77
26728 old_postinstall_cmds=$lt_old_postinstall_cmds
26729 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26731 # Create an old-style archive from a shared archive.
26732 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
26734 # Create a temporary old-style archive to link instead of a shared archive.
26735 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
26737 # Commands used to build and install a shared archive.
26738 archive_cmds=$lt_archive_cmds_F77
26739 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
26740 postinstall_cmds=$lt_postinstall_cmds
26741 postuninstall_cmds=$lt_postuninstall_cmds
26743 # Commands used to build a loadable module (assumed same as above if empty)
26744 module_cmds=$lt_module_cmds_F77
26745 module_expsym_cmds=$lt_module_expsym_cmds_F77
26747 # Commands to strip libraries.
26748 old_striplib=$lt_old_striplib
26749 striplib=$lt_striplib
26751 # Dependencies to place before the objects being linked to create a
26753 predep_objects=$lt_predep_objects_F77
26755 # Dependencies to place after the objects being linked to create a
26757 postdep_objects=$lt_postdep_objects_F77
26759 # Dependencies to place before the objects being linked to create a
26761 predeps=$lt_predeps_F77
26763 # Dependencies to place after the objects being linked to create a
26765 postdeps=$lt_postdeps_F77
26767 # The library search path used internally by the compiler when linking
26768 # a shared library.
26769 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
26771 # Method to check whether dependent libraries are shared objects.
26772 deplibs_check_method=$lt_deplibs_check_method
26774 # Command to use when deplibs_check_method == file_magic.
26775 file_magic_cmd=$lt_file_magic_cmd
26777 # Flag that allows shared libraries with undefined symbols to be built.
26778 allow_undefined_flag=$lt_allow_undefined_flag_F77
26780 # Flag that forces no undefined symbols.
26781 no_undefined_flag=$lt_no_undefined_flag_F77
26783 # Commands used to finish a libtool library installation in a directory.
26784 finish_cmds=$lt_finish_cmds
26786 # Same as above, but a single script fragment to be evaled but not shown.
26787 finish_eval=$lt_finish_eval
26789 # Take the output of nm and produce a listing of raw symbols and C names.
26790 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26792 # Transform the output of nm in a proper C declaration
26793 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26795 # Transform the output of nm in a C name address pair
26796 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26798 # This is the shared library runtime path variable.
26799 runpath_var=$runpath_var
26801 # This is the shared library path variable.
26802 shlibpath_var=$shlibpath_var
26804 # Is shlibpath searched before the hard-coded library search path?
26805 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26807 # How to hardcode a shared library path into an executable.
26808 hardcode_action=$hardcode_action_F77
26810 # Whether we should hardcode library paths into libraries.
26811 hardcode_into_libs=$hardcode_into_libs
26813 # Flag to hardcode \$libdir into a binary during linking.
26814 # This must work even if \$libdir does not exist.
26815 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
26817 # If ld is used when linking, flag to hardcode \$libdir into
26818 # a binary during linking. This must work even if \$libdir does
26820 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
26822 # Whether we need a single -rpath flag with a separated argument.
26823 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
26825 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26826 # resulting binary.
26827 hardcode_direct=$hardcode_direct_F77
26829 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26830 # resulting binary.
26831 hardcode_minus_L=$hardcode_minus_L_F77
26833 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26834 # the resulting binary.
26835 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
26837 # Set to yes if building a shared library automatically hardcodes DIR into the library
26838 # and all subsequent libraries and executables linked against it.
26839 hardcode_automatic=$hardcode_automatic_F77
26841 # Variables whose values should be saved in libtool wrapper scripts and
26842 # restored at relink time.
26843 variables_saved_for_relink="$variables_saved_for_relink"
26845 # Whether libtool must link a program against all its dependency libraries.
26846 link_all_deplibs=$link_all_deplibs_F77
26848 # Compile-time system search path for libraries
26849 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26851 # Run-time system search path for libraries
26852 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26854 # Fix the shell variable \$srcfile for the compiler.
26855 fix_srcfile_path="$fix_srcfile_path_F77"
26857 # Set to yes if exported symbols are required.
26858 always_export_symbols=$always_export_symbols_F77
26860 # The commands to list exported symbols.
26861 export_symbols_cmds=$lt_export_symbols_cmds_F77
26863 # The commands to extract the exported symbol list from a shared archive.
26864 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26866 # Symbols that should not be listed in the preloaded symbols.
26867 exclude_expsyms=$lt_exclude_expsyms_F77
26869 # Symbols that must always be exported.
26870 include_expsyms=$lt_include_expsyms_F77
26872 # ### END LIBTOOL TAG CONFIG: $tagname
26878 # If there is no Makefile yet, we rely on a make rule to execute
26879 # `config.status --recheck' to rerun these tests and create the
26880 # libtool script then.
26881 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26882 if test -f "$ltmain_in"; then
26883 test -f Makefile && make "$ltmain"
26889 ac_cpp='$CPP $CPPFLAGS'
26890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26902 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
26906 # Source file extension for Java test sources.
26909 # Object file extension for compiled Java test sources.
26913 # Code to be used in simple compile tests
26914 lt_simple_compile_test_code="class foo {}\n"
26916 # Code to be used in simple link tests
26917 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
26919 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
26921 # If no C compiler was specified, use CC.
26924 # Allow CC to be a program name with arguments.
26928 # save warnings/boilerplate of simple test code
26929 ac_outfile=conftest.$ac_objext
26930 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
26931 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
26932 _lt_compiler_boilerplate=`cat conftest.err`
26935 ac_outfile=conftest.$ac_objext
26936 printf "$lt_simple_link_test_code" >conftest.$ac_ext
26937 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
26938 _lt_linker_boilerplate=`cat conftest.err`
26942 # Allow CC to be a program name with arguments.
26947 for cc_temp in $compiler""; do
26949 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
26950 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
26955 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
26958 # GCJ did not exist at the time GCC didn't implicitly link libc in.
26959 archive_cmds_need_lc_GCJ=no
26961 old_archive_cmds_GCJ=$old_archive_cmds
26964 lt_prog_compiler_no_builtin_flag_GCJ=
26966 if test "$GCC" = yes; then
26967 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
26970 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
26971 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
26972 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
26973 echo $ECHO_N "(cached) $ECHO_C" >&6
26975 lt_cv_prog_compiler_rtti_exceptions=no
26976 ac_outfile=conftest.$ac_objext
26977 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
26978 lt_compiler_flag="-fno-rtti -fno-exceptions"
26979 # Insert the option either (1) after the last *FLAGS variable, or
26980 # (2) before a word containing "conftest.", or (3) at the end.
26981 # Note that $ac_compile itself does not contain backslashes and begins
26982 # with a dollar sign (not a hyphen), so the echo should work correctly.
26983 # The option is referenced via a variable to avoid confusing sed.
26984 lt_compile=`echo "$ac_compile" | $SED \
26985 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
26986 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
26987 -e 's:$: $lt_compiler_flag:'`
26988 (eval echo "\"\$as_me:26988: $lt_compile\"" >&5)
26989 (eval "$lt_compile" 2>conftest.err)
26991 cat conftest.err >&5
26992 echo "$as_me:26992: \$? = $ac_status" >&5
26993 if (exit $ac_status) && test -s "$ac_outfile"; then
26994 # The compiler can only warn and ignore the option if not recognized
26995 # So say no if there are warnings other than the usual output.
26996 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
26997 $SED '/^$/d' conftest.err >conftest.er2
26998 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
26999 lt_cv_prog_compiler_rtti_exceptions=yes
27005 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
27006 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
27008 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
27009 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
27016 lt_prog_compiler_wl_GCJ=
27017 lt_prog_compiler_pic_GCJ=
27018 lt_prog_compiler_static_GCJ=
27020 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
27021 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
27023 if test "$GCC" = yes; then
27024 lt_prog_compiler_wl_GCJ='-Wl,'
27025 lt_prog_compiler_static_GCJ='-static'
27029 # All AIX code is PIC.
27030 if test "$host_cpu" = ia64; then
27031 # AIX 5 now supports IA64 processor
27032 lt_prog_compiler_static_GCJ='-Bstatic'
27037 # FIXME: we need at least 68020 code to build shared libraries, but
27038 # adding the `-m68020' flag to GCC prevents building anything better,
27040 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
27043 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
27044 # PIC is the default for these OSes.
27047 mingw* | pw32* | os2*)
27048 # This hack is so that the source file can tell whether it is being
27049 # built for inclusion in a dll (and should export symbols for example).
27050 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
27053 darwin* | rhapsody*)
27054 # PIC is the default on this platform
27055 # Common symbols not allowed in MH_DYLIB files
27056 lt_prog_compiler_pic_GCJ='-fno-common'
27060 # Just because we use GCC doesn't mean we suddenly get shared libraries
27061 # on systems that don't support them.
27062 lt_prog_compiler_can_build_shared_GCJ=no
27067 if test -d /usr/nec; then
27068 lt_prog_compiler_pic_GCJ=-Kconform_pic
27073 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
27074 # not for PA HP-UX.
27080 lt_prog_compiler_pic_GCJ='-fPIC'
27086 lt_prog_compiler_pic_GCJ='-fPIC'
27090 # PORTME Check for flag to pass linker flags through the system compiler.
27093 lt_prog_compiler_wl_GCJ='-Wl,'
27094 if test "$host_cpu" = ia64; then
27095 # AIX 5 now supports IA64 processor
27096 lt_prog_compiler_static_GCJ='-Bstatic'
27098 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
27102 # PIC is the default on this platform
27103 # Common symbols not allowed in MH_DYLIB files
27104 case $cc_basename in
27106 lt_prog_compiler_pic_GCJ='-qnocommon'
27107 lt_prog_compiler_wl_GCJ='-Wl,'
27112 mingw* | pw32* | os2*)
27113 # This hack is so that the source file can tell whether it is being
27114 # built for inclusion in a dll (and should export symbols for example).
27115 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
27118 hpux9* | hpux10* | hpux11*)
27119 lt_prog_compiler_wl_GCJ='-Wl,'
27120 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
27121 # not for PA HP-UX.
27127 lt_prog_compiler_pic_GCJ='+Z'
27130 # Is there a better lt_prog_compiler_static that works with the bundled CC?
27131 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
27134 irix5* | irix6* | nonstopux*)
27135 lt_prog_compiler_wl_GCJ='-Wl,'
27136 # PIC (with -KPIC) is the default.
27137 lt_prog_compiler_static_GCJ='-non_shared'
27141 lt_prog_compiler_pic_GCJ='-KPIC'
27142 lt_prog_compiler_static_GCJ='-Bstatic'
27146 case $cc_basename in
27148 lt_prog_compiler_wl_GCJ='-Wl,'
27149 lt_prog_compiler_pic_GCJ='-KPIC'
27150 lt_prog_compiler_static_GCJ='-static'
27152 pgcc* | pgf77* | pgf90* | pgf95*)
27153 # Portland Group compilers (*not* the Pentium gcc compiler,
27154 # which looks to be a dead project)
27155 lt_prog_compiler_wl_GCJ='-Wl,'
27156 lt_prog_compiler_pic_GCJ='-fpic'
27157 lt_prog_compiler_static_GCJ='-Bstatic'
27160 lt_prog_compiler_wl_GCJ='-Wl,'
27161 # All Alpha code is PIC.
27162 lt_prog_compiler_static_GCJ='-non_shared'
27167 osf3* | osf4* | osf5*)
27168 lt_prog_compiler_wl_GCJ='-Wl,'
27169 # All OSF/1 code is PIC.
27170 lt_prog_compiler_static_GCJ='-non_shared'
27174 lt_prog_compiler_pic_GCJ='-Kpic'
27175 lt_prog_compiler_static_GCJ='-dn'
27179 lt_prog_compiler_pic_GCJ='-KPIC'
27180 lt_prog_compiler_static_GCJ='-Bstatic'
27181 case $cc_basename in
27182 f77* | f90* | f95*)
27183 lt_prog_compiler_wl_GCJ='-Qoption ld ';;
27185 lt_prog_compiler_wl_GCJ='-Wl,';;
27190 lt_prog_compiler_wl_GCJ='-Qoption ld '
27191 lt_prog_compiler_pic_GCJ='-PIC'
27192 lt_prog_compiler_static_GCJ='-Bstatic'
27195 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
27196 lt_prog_compiler_wl_GCJ='-Wl,'
27197 lt_prog_compiler_pic_GCJ='-KPIC'
27198 lt_prog_compiler_static_GCJ='-Bstatic'
27202 if test -d /usr/nec ;then
27203 lt_prog_compiler_pic_GCJ='-Kconform_pic'
27204 lt_prog_compiler_static_GCJ='-Bstatic'
27209 lt_prog_compiler_wl_GCJ='-Wl,'
27210 lt_prog_compiler_can_build_shared_GCJ=no
27214 lt_prog_compiler_pic_GCJ='-pic'
27215 lt_prog_compiler_static_GCJ='-Bstatic'
27219 lt_prog_compiler_can_build_shared_GCJ=no
27224 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
27225 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
27228 # Check to make sure the PIC flag actually works.
27230 if test -n "$lt_prog_compiler_pic_GCJ"; then
27232 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
27233 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
27234 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
27235 echo $ECHO_N "(cached) $ECHO_C" >&6
27237 lt_prog_compiler_pic_works_GCJ=no
27238 ac_outfile=conftest.$ac_objext
27239 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
27240 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
27241 # Insert the option either (1) after the last *FLAGS variable, or
27242 # (2) before a word containing "conftest.", or (3) at the end.
27243 # Note that $ac_compile itself does not contain backslashes and begins
27244 # with a dollar sign (not a hyphen), so the echo should work correctly.
27245 # The option is referenced via a variable to avoid confusing sed.
27246 lt_compile=`echo "$ac_compile" | $SED \
27247 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
27248 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
27249 -e 's:$: $lt_compiler_flag:'`
27250 (eval echo "\"\$as_me:27250: $lt_compile\"" >&5)
27251 (eval "$lt_compile" 2>conftest.err)
27253 cat conftest.err >&5
27254 echo "$as_me:27254: \$? = $ac_status" >&5
27255 if (exit $ac_status) && test -s "$ac_outfile"; then
27256 # The compiler can only warn and ignore the option if not recognized
27257 # So say no if there are warnings other than the usual output.
27258 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
27259 $SED '/^$/d' conftest.err >conftest.er2
27260 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
27261 lt_prog_compiler_pic_works_GCJ=yes
27267 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
27268 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
27270 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
27271 case $lt_prog_compiler_pic_GCJ in
27273 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
27276 lt_prog_compiler_pic_GCJ=
27277 lt_prog_compiler_can_build_shared_GCJ=no
27282 # For platforms which do not support PIC, -DPIC is meaningless:
27284 lt_prog_compiler_pic_GCJ=
27287 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
27291 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
27292 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
27293 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
27294 echo $ECHO_N "(cached) $ECHO_C" >&6
27296 lt_cv_prog_compiler_c_o_GCJ=no
27297 $rm -r conftest 2>/dev/null
27301 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
27303 lt_compiler_flag="-o out/conftest2.$ac_objext"
27304 # Insert the option either (1) after the last *FLAGS variable, or
27305 # (2) before a word containing "conftest.", or (3) at the end.
27306 # Note that $ac_compile itself does not contain backslashes and begins
27307 # with a dollar sign (not a hyphen), so the echo should work correctly.
27308 lt_compile=`echo "$ac_compile" | $SED \
27309 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
27310 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
27311 -e 's:$: $lt_compiler_flag:'`
27312 (eval echo "\"\$as_me:27312: $lt_compile\"" >&5)
27313 (eval "$lt_compile" 2>out/conftest.err)
27315 cat out/conftest.err >&5
27316 echo "$as_me:27316: \$? = $ac_status" >&5
27317 if (exit $ac_status) && test -s out/conftest2.$ac_objext
27319 # The compiler can only warn and ignore the option if not recognized
27320 # So say no if there are warnings
27321 $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
27322 $SED '/^$/d' out/conftest.err >out/conftest.er2
27323 if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
27324 lt_cv_prog_compiler_c_o_GCJ=yes
27329 # SGI C++ compiler will create directory out/ii_files/ for
27330 # template instantiation
27331 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
27332 $rm out/* && rmdir out
27338 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
27339 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
27342 hard_links="nottested"
27343 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
27344 # do not overwrite the value of need_locks provided by the user
27345 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
27346 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
27349 ln conftest.a conftest.b 2>/dev/null && hard_links=no
27351 ln conftest.a conftest.b 2>&5 || hard_links=no
27352 ln conftest.a conftest.b 2>/dev/null && hard_links=no
27353 echo "$as_me:$LINENO: result: $hard_links" >&5
27354 echo "${ECHO_T}$hard_links" >&6
27355 if test "$hard_links" = no; then
27356 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
27357 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
27364 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
27365 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
27368 allow_undefined_flag_GCJ=
27369 enable_shared_with_static_runtimes_GCJ=no
27371 archive_expsym_cmds_GCJ=
27372 old_archive_From_new_cmds_GCJ=
27373 old_archive_from_expsyms_cmds_GCJ=
27374 export_dynamic_flag_spec_GCJ=
27375 whole_archive_flag_spec_GCJ=
27376 thread_safe_flag_spec_GCJ=
27377 hardcode_libdir_flag_spec_GCJ=
27378 hardcode_libdir_flag_spec_ld_GCJ=
27379 hardcode_libdir_separator_GCJ=
27380 hardcode_direct_GCJ=no
27381 hardcode_minus_L_GCJ=no
27382 hardcode_shlibpath_var_GCJ=unsupported
27383 link_all_deplibs_GCJ=unknown
27384 hardcode_automatic_GCJ=no
27386 module_expsym_cmds_GCJ=
27387 always_export_symbols_GCJ=no
27388 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
27389 # include_expsyms should be a list of space-separated symbols to be *always*
27390 # included in the symbol list
27391 include_expsyms_GCJ=
27392 # exclude_expsyms can be an extended regexp of symbols to exclude
27393 # it will be wrapped by ` (' and `)$', so one must not match beginning or
27394 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
27395 # as well as any symbol that contains `d'.
27396 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
27397 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
27398 # platforms (ab)use it in PIC code, but their linkers get confused if
27399 # the symbol is explicitly referenced. Since portable code cannot
27400 # rely on this symbol name, it's probably fine to never include it in
27401 # preloaded symbol tables.
27402 extract_expsyms_cmds=
27403 # Just being paranoid about ensuring that cc_basename is set.
27404 for cc_temp in $compiler""; do
27406 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
27407 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
27412 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
27415 cygwin* | mingw* | pw32*)
27416 # FIXME: the MSVC++ port hasn't been tested in a loooong time
27417 # When not using gcc, we currently assume that we are using
27418 # Microsoft Visual C++.
27419 if test "$GCC" != yes; then
27429 if test "$with_gnu_ld" = yes; then
27430 # If archive_cmds runs LD, not CC, wlarc should be empty
27433 # Set some defaults for GNU ld with shared library support. These
27434 # are reset later if shared libraries are not supported. Putting them
27435 # here allows them to be overridden if necessary.
27436 runpath_var=LD_RUN_PATH
27437 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
27438 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
27439 # ancient GNU ld didn't support --whole-archive et. al.
27440 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
27441 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
27443 whole_archive_flag_spec_GCJ=
27445 supports_anon_versioning=no
27446 case `$LD -v 2>/dev/null` in
27447 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
27448 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
27449 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
27450 *\ 2.11.*) ;; # other 2.11 versions
27451 *) supports_anon_versioning=yes ;;
27454 # See if GNU ld supports shared libraries.
27456 aix3* | aix4* | aix5*)
27457 # On AIX/PPC, the GNU linker is very broken
27458 if test "$host_cpu" != ia64; then
27462 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
27463 *** to be unable to reliably create shared libraries on AIX.
27464 *** Therefore, libtool is disabling shared libraries support. If you
27465 *** really care for shared libraries, you may want to modify your PATH
27466 *** so that a non-GNU linker is found, and then restart.
27473 archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
27474 hardcode_libdir_flag_spec_GCJ='-L$libdir'
27475 hardcode_minus_L_GCJ=yes
27477 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
27478 # that the semantics of dynamic libraries on AmigaOS, at least up
27479 # to version 4, is to share data among multiple programs linked
27480 # with the same dynamic library. Since this doesn't match the
27481 # behavior of shared libraries on other platforms, we can't use
27487 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
27488 allow_undefined_flag_GCJ=unsupported
27489 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
27490 # support --undefined. This deserves some investigation. FIXME
27491 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
27497 cygwin* | mingw* | pw32*)
27498 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
27499 # as there is no search path for DLLs.
27500 hardcode_libdir_flag_spec_GCJ='-L$libdir'
27501 allow_undefined_flag_GCJ=unsupported
27502 always_export_symbols_GCJ=no
27503 enable_shared_with_static_runtimes_GCJ=yes
27504 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
27506 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
27507 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
27508 # If the export-symbols file already is a .def file (1st line
27509 # is EXPORTS), use it as is; otherwise, prepend...
27510 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
27511 cp $export_symbols $output_objdir/$soname.def;
27513 echo EXPORTS > $output_objdir/$soname.def;
27514 cat $export_symbols >> $output_objdir/$soname.def;
27516 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
27523 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
27525 case $cc_basename,$host_cpu in
27526 pgcc*) # Portland Group C compiler
27527 whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
27528 tmp_addflag=' $pic_flag'
27530 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
27531 whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
27532 tmp_addflag=' $pic_flag -Mnomain' ;;
27533 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
27534 tmp_addflag=' -i_dynamic' ;;
27535 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
27536 tmp_addflag=' -i_dynamic -nofor_main' ;;
27537 ifc* | ifort*) # Intel Fortran compiler
27538 tmp_addflag=' -nofor_main' ;;
27540 archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
27542 if test $supports_anon_versioning = yes; then
27543 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
27544 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
27545 $echo "local: *; };" >> $output_objdir/$libname.ver~
27546 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
27554 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
27555 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
27558 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
27559 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
27564 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
27568 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
27569 *** create shared libraries on Solaris systems. Therefore, libtool
27570 *** is disabling shared libraries support. We urge you to upgrade GNU
27571 *** binutils to release 2.9.1 or newer. Another option is to modify
27572 *** your PATH or compiler configuration so that the native linker is
27573 *** used, and then restart.
27576 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
27577 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
27578 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
27585 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
27587 hardcode_direct_GCJ=yes
27588 hardcode_shlibpath_var_GCJ=no
27592 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
27593 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
27594 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
27601 if test "$ld_shlibs_GCJ" = no; then
27603 hardcode_libdir_flag_spec_GCJ=
27604 export_dynamic_flag_spec_GCJ=
27605 whole_archive_flag_spec_GCJ=
27608 # PORTME fill in a description of your system's linker (not GNU ld)
27611 allow_undefined_flag_GCJ=unsupported
27612 always_export_symbols_GCJ=yes
27613 archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
27614 # Note: this linker hardcodes the directories in LIBPATH if there
27615 # are no directories specified by -L.
27616 hardcode_minus_L_GCJ=yes
27617 if test "$GCC" = yes && test -z "$link_static_flag"; then
27618 # Neither direct hardcoding nor static linking is supported with a
27620 hardcode_direct_GCJ=unsupported
27625 if test "$host_cpu" = ia64; then
27626 # On IA64, the linker does run time linking by default, so we don't
27627 # have to do anything special.
27628 aix_use_runtimelinking=no
27629 exp_sym_flag='-Bexport'
27632 # If we're using GNU nm, then we don't want the "-C" option.
27633 # -C means demangle to AIX nm, but means don't demangle with GNU nm
27634 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
27635 export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
27637 export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
27639 aix_use_runtimelinking=no
27641 # Test if we are trying to use run time linking or normal
27642 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
27643 # need to do runtime linking.
27644 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
27645 for ld_flag in $LDFLAGS; do
27646 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
27647 aix_use_runtimelinking=yes
27653 exp_sym_flag='-bexport'
27654 no_entry_flag='-bnoentry'
27657 # When large executables or shared objects are built, AIX ld can
27658 # have problems creating the table of contents. If linking a library
27659 # or program results in "error TOC overflow" add -mminimal-toc to
27660 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
27661 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
27663 archive_cmds_GCJ=''
27664 hardcode_direct_GCJ=yes
27665 hardcode_libdir_separator_GCJ=':'
27666 link_all_deplibs_GCJ=yes
27668 if test "$GCC" = yes; then
27669 case $host_os in aix4.[012]|aix4.[012].*)
27670 # We only want to do this on AIX 4.2 and lower, the check
27671 # below for broken collect2 doesn't work under 4.3+
27672 collect2name=`${CC} -print-prog-name=collect2`
27673 if test -f "$collect2name" && \
27674 strings "$collect2name" | grep resolve_lib_name >/dev/null
27676 # We have reworked collect2
27677 hardcode_direct_GCJ=yes
27679 # We have old collect2
27680 hardcode_direct_GCJ=unsupported
27681 # It fails to find uninstalled libraries when the uninstalled
27682 # path is not listed in the libpath. Setting hardcode_minus_L
27683 # to unsupported forces relinking
27684 hardcode_minus_L_GCJ=yes
27685 hardcode_libdir_flag_spec_GCJ='-L$libdir'
27686 hardcode_libdir_separator_GCJ=
27689 shared_flag='-shared'
27690 if test "$aix_use_runtimelinking" = yes; then
27691 shared_flag="$shared_flag "'${wl}-G'
27695 if test "$host_cpu" = ia64; then
27696 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
27697 # chokes on -Wl,-G. The following line is correct:
27700 if test "$aix_use_runtimelinking" = yes; then
27701 shared_flag='${wl}-G'
27703 shared_flag='${wl}-bM:SRE'
27708 # It seems that -bexpall does not export symbols beginning with
27709 # underscore (_), so it is better to generate a list of symbols to export.
27710 always_export_symbols_GCJ=yes
27711 if test "$aix_use_runtimelinking" = yes; then
27712 # Warning - without using the other runtime loading flags (-brtl),
27713 # -berok will link without error, but may produce a broken library.
27714 allow_undefined_flag_GCJ='-berok'
27715 # Determine the default libpath from the value encoded in an empty executable.
27716 cat >conftest.$ac_ext <<_ACEOF
27719 cat confdefs.h >>conftest.$ac_ext
27720 cat >>conftest.$ac_ext <<_ACEOF
27721 /* end confdefs.h. */
27731 rm -f conftest.$ac_objext conftest$ac_exeext
27732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27733 (eval $ac_link) 2>conftest.er1
27735 grep -v '^ *+' conftest.er1 >conftest.err
27737 cat conftest.err >&5
27738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27739 (exit $ac_status); } &&
27740 { ac_try='test -z "$ac_c_werror_flag"
27741 || test ! -s conftest.err'
27742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27743 (eval $ac_try) 2>&5
27745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27746 (exit $ac_status); }; } &&
27747 { ac_try='test -s conftest$ac_exeext'
27748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27749 (eval $ac_try) 2>&5
27751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27752 (exit $ac_status); }; }; then
27754 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
27756 # Check for a 64-bit object if we didn't find anything.
27757 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
27760 echo "$as_me: failed program was:" >&5
27761 sed 's/^/| /' conftest.$ac_ext >&5
27764 rm -f conftest.err conftest.$ac_objext \
27765 conftest$ac_exeext conftest.$ac_ext
27766 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
27768 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
27769 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
27771 if test "$host_cpu" = ia64; then
27772 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
27773 allow_undefined_flag_GCJ="-z nodefs"
27774 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
27776 # Determine the default libpath from the value encoded in an empty executable.
27777 cat >conftest.$ac_ext <<_ACEOF
27780 cat confdefs.h >>conftest.$ac_ext
27781 cat >>conftest.$ac_ext <<_ACEOF
27782 /* end confdefs.h. */
27792 rm -f conftest.$ac_objext conftest$ac_exeext
27793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27794 (eval $ac_link) 2>conftest.er1
27796 grep -v '^ *+' conftest.er1 >conftest.err
27798 cat conftest.err >&5
27799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27800 (exit $ac_status); } &&
27801 { ac_try='test -z "$ac_c_werror_flag"
27802 || test ! -s conftest.err'
27803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27804 (eval $ac_try) 2>&5
27806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27807 (exit $ac_status); }; } &&
27808 { ac_try='test -s conftest$ac_exeext'
27809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27810 (eval $ac_try) 2>&5
27812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27813 (exit $ac_status); }; }; then
27815 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
27817 # Check for a 64-bit object if we didn't find anything.
27818 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
27821 echo "$as_me: failed program was:" >&5
27822 sed 's/^/| /' conftest.$ac_ext >&5
27825 rm -f conftest.err conftest.$ac_objext \
27826 conftest$ac_exeext conftest.$ac_ext
27827 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
27829 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
27830 # Warning - without using the other run time loading flags,
27831 # -berok will link without error, but may produce a broken library.
27832 no_undefined_flag_GCJ=' ${wl}-bernotok'
27833 allow_undefined_flag_GCJ=' ${wl}-berok'
27834 # -bexpall does not export symbols beginning with underscore (_)
27835 always_export_symbols_GCJ=yes
27836 # Exported symbols can be pulled into shared objects from archives
27837 whole_archive_flag_spec_GCJ=' '
27838 archive_cmds_need_lc_GCJ=yes
27839 # This is similar to how AIX traditionally builds its shared libraries.
27840 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
27846 archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
27847 hardcode_libdir_flag_spec_GCJ='-L$libdir'
27848 hardcode_minus_L_GCJ=yes
27849 # see comment about different semantics on the GNU ld section
27854 export_dynamic_flag_spec_GCJ=-rdynamic
27857 cygwin* | mingw* | pw32*)
27858 # When not using gcc, we currently assume that we are using
27859 # Microsoft Visual C++.
27860 # hardcode_libdir_flag_spec is actually meaningless, as there is
27861 # no search path for DLLs.
27862 hardcode_libdir_flag_spec_GCJ=' '
27863 allow_undefined_flag_GCJ=unsupported
27864 # Tell ltmain to make .lib files, not .a files.
27866 # Tell ltmain to make .dll files, not .so files.
27868 # FIXME: Setting linknames here is a bad hack.
27869 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
27870 # The linker will automatically build a .lib file if we build a DLL.
27871 old_archive_From_new_cmds_GCJ='true'
27872 # FIXME: Should let the user specify the lib program.
27873 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
27874 fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
27875 enable_shared_with_static_runtimes_GCJ=yes
27878 darwin* | rhapsody*)
27880 rhapsody* | darwin1.[012])
27881 allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
27884 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
27885 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
27887 case ${MACOSX_DEPLOYMENT_TARGET} in
27889 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
27892 allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
27898 archive_cmds_need_lc_GCJ=no
27899 hardcode_direct_GCJ=no
27900 hardcode_automatic_GCJ=yes
27901 hardcode_shlibpath_var_GCJ=unsupported
27902 whole_archive_flag_spec_GCJ=''
27903 link_all_deplibs_GCJ=yes
27904 if test "$GCC" = yes ; then
27905 output_verbose_link_cmd='echo'
27906 archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
27907 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
27908 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
27909 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
27910 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
27912 case $cc_basename in
27914 output_verbose_link_cmd='echo'
27915 archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
27916 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
27917 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
27918 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
27919 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
27929 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
27930 hardcode_libdir_flag_spec_GCJ='-L$libdir'
27931 hardcode_shlibpath_var_GCJ=no
27938 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
27939 # support. Future versions do this automatically, but an explicit c++rt0.o
27940 # does not break anything, and helps significantly (at the cost of a little
27943 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
27944 hardcode_libdir_flag_spec_GCJ='-R$libdir'
27945 hardcode_direct_GCJ=yes
27946 hardcode_shlibpath_var_GCJ=no
27949 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
27951 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
27952 hardcode_direct_GCJ=yes
27953 hardcode_minus_L_GCJ=yes
27954 hardcode_shlibpath_var_GCJ=no
27957 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
27958 freebsd* | kfreebsd*-gnu | dragonfly*)
27959 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
27960 hardcode_libdir_flag_spec_GCJ='-R$libdir'
27961 hardcode_direct_GCJ=yes
27962 hardcode_shlibpath_var_GCJ=no
27966 if test "$GCC" = yes; then
27967 archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
27969 archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
27971 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
27972 hardcode_libdir_separator_GCJ=:
27973 hardcode_direct_GCJ=yes
27975 # hardcode_minus_L: Not really in the search PATH,
27976 # but as the default location of the library.
27977 hardcode_minus_L_GCJ=yes
27978 export_dynamic_flag_spec_GCJ='${wl}-E'
27982 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
27985 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
27988 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
27994 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
27997 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
28001 if test "$with_gnu_ld" = no; then
28004 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
28005 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
28006 hardcode_libdir_separator_GCJ=:
28007 hardcode_direct_GCJ=no
28008 hardcode_shlibpath_var_GCJ=no
28011 hardcode_libdir_flag_spec_GCJ='-L$libdir'
28012 hardcode_direct_GCJ=no
28013 hardcode_shlibpath_var_GCJ=no
28015 # hardcode_minus_L: Not really in the search PATH,
28016 # but as the default location of the library.
28017 hardcode_minus_L_GCJ=yes
28020 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
28021 hardcode_libdir_separator_GCJ=:
28022 hardcode_direct_GCJ=yes
28023 export_dynamic_flag_spec_GCJ='${wl}-E'
28025 # hardcode_minus_L: Not really in the search PATH,
28026 # but as the default location of the library.
28027 hardcode_minus_L_GCJ=yes
28033 irix5* | irix6* | nonstopux*)
28034 if test "$GCC" = yes; then
28035 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
28037 archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
28038 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
28040 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
28041 hardcode_libdir_separator_GCJ=:
28042 link_all_deplibs_GCJ=yes
28046 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
28047 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
28049 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
28051 hardcode_libdir_flag_spec_GCJ='-R$libdir'
28052 hardcode_direct_GCJ=yes
28053 hardcode_shlibpath_var_GCJ=no
28057 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28058 hardcode_direct_GCJ=yes
28059 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
28060 hardcode_libdir_separator_GCJ=:
28061 hardcode_shlibpath_var_GCJ=no
28065 hardcode_direct_GCJ=yes
28066 hardcode_shlibpath_var_GCJ=no
28067 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
28068 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
28069 archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
28070 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
28071 export_dynamic_flag_spec_GCJ='${wl}-E'
28074 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
28075 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
28076 hardcode_libdir_flag_spec_GCJ='-R$libdir'
28079 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
28080 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
28087 hardcode_libdir_flag_spec_GCJ='-L$libdir'
28088 hardcode_minus_L_GCJ=yes
28089 allow_undefined_flag_GCJ=unsupported
28090 archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
28091 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
28095 if test "$GCC" = yes; then
28096 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
28097 archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
28099 allow_undefined_flag_GCJ=' -expect_unresolved \*'
28100 archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
28102 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
28103 hardcode_libdir_separator_GCJ=:
28106 osf4* | osf5*) # as osf3* with the addition of -msym flag
28107 if test "$GCC" = yes; then
28108 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
28109 archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
28110 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
28112 allow_undefined_flag_GCJ=' -expect_unresolved \*'
28113 archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
28114 archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
28115 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
28117 # Both c and cxx compiler support -rpath directly
28118 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
28120 hardcode_libdir_separator_GCJ=:
28124 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28125 hardcode_shlibpath_var_GCJ=no
28126 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
28127 runpath_var=LD_RUN_PATH
28128 hardcode_runpath_var=yes
28132 no_undefined_flag_GCJ=' -z text'
28133 if test "$GCC" = yes; then
28135 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
28136 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
28137 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
28140 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
28141 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
28142 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
28144 hardcode_libdir_flag_spec_GCJ='-R$libdir'
28145 hardcode_shlibpath_var_GCJ=no
28147 solaris2.[0-5] | solaris2.[0-5].*) ;;
28149 # The compiler driver will combine linker options so we
28150 # cannot just pass the convience library names through
28151 # without $wl, iff we do not link with $LD.
28152 # Luckily, gcc supports the same syntax we need for Sun Studio.
28153 # Supported since Solaris 2.6 (maybe 2.5.1?)
28156 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
28158 whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
28161 link_all_deplibs_GCJ=yes
28165 if test "x$host_vendor" = xsequent; then
28166 # Use $CC to link under sequent, because it throws in some extra .o
28167 # files that make .init and .fini sections work.
28168 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
28170 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
28172 hardcode_libdir_flag_spec_GCJ='-L$libdir'
28173 hardcode_direct_GCJ=yes
28174 hardcode_minus_L_GCJ=yes
28175 hardcode_shlibpath_var_GCJ=no
28179 case $host_vendor in
28181 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28182 hardcode_direct_GCJ=yes # is this really true???
28185 ## LD is ld it makes a PLAMLIB
28186 ## CC just makes a GrossModule.
28187 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
28188 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
28189 hardcode_direct_GCJ=no
28192 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28193 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
28196 runpath_var='LD_RUN_PATH'
28197 hardcode_shlibpath_var_GCJ=no
28201 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28202 hardcode_shlibpath_var_GCJ=no
28203 export_dynamic_flag_spec_GCJ='-Bexport'
28207 if test -d /usr/nec; then
28208 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28209 hardcode_shlibpath_var_GCJ=no
28210 runpath_var=LD_RUN_PATH
28211 hardcode_runpath_var=yes
28217 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
28218 hardcode_direct_GCJ=yes
28219 hardcode_minus_L_GCJ=no
28220 hardcode_shlibpath_var_GCJ=no
28221 hardcode_runpath_var=yes
28222 runpath_var=LD_RUN_PATH
28225 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
28226 no_undefined_flag_GCJ='${wl}-z ${wl}text'
28227 if test "$GCC" = yes; then
28228 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
28230 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
28232 runpath_var='LD_RUN_PATH'
28233 hardcode_shlibpath_var_GCJ=no
28237 no_undefined_flag_GCJ=' -z text'
28238 # $CC -shared without GNU ld will not create a library from C++
28239 # object files and a static libstdc++, better avoid it by now
28240 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
28241 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
28242 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
28243 hardcode_libdir_flag_spec_GCJ=
28244 hardcode_shlibpath_var_GCJ=no
28245 runpath_var='LD_RUN_PATH'
28249 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28250 hardcode_libdir_flag_spec_GCJ='-L$libdir'
28251 hardcode_shlibpath_var_GCJ=no
28260 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
28261 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
28262 test "$ld_shlibs_GCJ" = no && can_build_shared=no
28264 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
28265 if test "$GCC" = yes; then
28266 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
28270 # Do we need to explicitly link libc?
28272 case "x$archive_cmds_need_lc_GCJ" in
28274 # Assume -lc should be added
28275 archive_cmds_need_lc_GCJ=yes
28277 if test "$enable_shared" = yes && test "$GCC" = yes; then
28278 case $archive_cmds_GCJ in
28280 # FIXME: we may have to deal with multi-command sequences.
28283 # Test whether the compiler implicitly links with -lc since on some
28284 # systems, -lgcc has to come before -lc. If gcc already passes -lc
28285 # to ld, don't add -lc before -lgcc.
28286 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
28287 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
28289 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
28291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28292 (eval $ac_compile) 2>&5
28294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28295 (exit $ac_status); } 2>conftest.err; then
28298 libobjs=conftest.$ac_objext
28300 wl=$lt_prog_compiler_wl_GCJ
28306 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
28307 allow_undefined_flag_GCJ=
28308 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
28309 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
28311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28312 (exit $ac_status); }
28314 archive_cmds_need_lc_GCJ=no
28316 archive_cmds_need_lc_GCJ=yes
28318 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
28320 cat conftest.err 1>&5
28323 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
28324 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
28331 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
28332 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
28333 library_names_spec=
28334 libname_spec='lib$name'
28338 postuninstall_cmds=
28342 shlibpath_overrides_runpath=unknown
28344 dynamic_linker="$host_os ld.so"
28345 sys_lib_dlsearch_path_spec="/lib /usr/lib"
28346 if test "$GCC" = yes; then
28347 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
28348 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
28349 # if the path contains ";" then we assume it to be the separator
28350 # otherwise default to the standard path separator (i.e. ":") - it is
28351 # assumed that no part of a normal pathname contains ";" but that should
28352 # okay in the real world where ";" in dirpaths is itself problematic.
28353 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
28355 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
28358 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
28360 need_lib_prefix=unknown
28361 hardcode_into_libs=no
28363 # when you set need_version to no, make sure it does not cause -set_version
28364 # flags to be left without arguments
28365 need_version=unknown
28370 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
28371 shlibpath_var=LIBPATH
28373 # AIX 3 has no versioning support, so we append a major version to the name.
28374 soname_spec='${libname}${release}${shared_ext}$major'
28381 hardcode_into_libs=yes
28382 if test "$host_cpu" = ia64; then
28383 # AIX 5 supports IA64
28384 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
28385 shlibpath_var=LD_LIBRARY_PATH
28387 # With GCC up to 2.95.x, collect2 would create an import file
28388 # for dependence libraries. The import file would start with
28389 # the line `#! .'. This would cause the generated library to
28390 # depend on `.', always an invalid library. This was fixed in
28391 # development snapshots of GCC prior to 3.0.
28393 aix4 | aix4.[01] | aix4.[01].*)
28394 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
28396 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
28399 can_build_shared=no
28403 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
28404 # soname into executable. Probably we can add versioning support to
28405 # collect2, so additional links can be useful in future.
28406 if test "$aix_use_runtimelinking" = yes; then
28407 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
28408 # instead of lib<name>.a to let people know that these are not
28409 # typical AIX shared libraries.
28410 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28412 # We preserve .a as extension for shared libraries through AIX4.2
28413 # and later when we are not doing run time linking.
28414 library_names_spec='${libname}${release}.a $libname.a'
28415 soname_spec='${libname}${release}${shared_ext}$major'
28417 shlibpath_var=LIBPATH
28422 library_names_spec='$libname.ixlibrary $libname.a'
28423 # Create ${libname}_ixlibrary.a entries in /sys/libs.
28424 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
28428 library_names_spec='${libname}${shared_ext}'
28429 dynamic_linker="$host_os ld.so"
28430 shlibpath_var=LIBRARY_PATH
28436 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28437 soname_spec='${libname}${release}${shared_ext}$major'
28438 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
28439 shlibpath_var=LD_LIBRARY_PATH
28440 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
28441 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
28442 # the default ld.so.conf also contains /usr/contrib/lib and
28443 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
28444 # libtool to hard-code these into programs
28447 cygwin* | mingw* | pw32*)
28448 version_type=windows
28453 case $GCC,$host_os in
28454 yes,cygwin* | yes,mingw* | yes,pw32*)
28455 library_names_spec='$libname.dll.a'
28456 # DLL is installed to $(libdir)/../bin by postinstall_cmds
28457 postinstall_cmds='base_file=`basename \${file}`~
28458 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
28459 dldir=$destdir/`dirname \$dlpath`~
28460 test -d \$dldir || mkdir -p \$dldir~
28461 $install_prog $dir/$dlname \$dldir/$dlname~
28462 chmod a+x \$dldir/$dlname'
28463 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
28464 dlpath=$dir/\$dldll~
28466 shlibpath_overrides_runpath=yes
28470 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
28471 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
28472 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
28475 # MinGW DLLs use traditional 'lib' prefix
28476 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
28477 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
28478 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
28479 # It is most probably a Windows format PATH printed by
28480 # mingw gcc, but we are running on Cygwin. Gcc prints its search
28481 # path with ; separators, and with drive letters. We can handle the
28482 # drive letters (cygwin fileutils understands them), so leave them,
28483 # especially as we might pass files found there to a mingw objdump,
28484 # which wouldn't understand a cygwinified path. Ahh.
28485 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
28487 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
28491 # pw32 DLLs use 'pw' prefix rather than 'lib'
28492 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
28498 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
28501 dynamic_linker='Win32 ld.exe'
28502 # FIXME: first we should search . and the directory the executable is in
28506 darwin* | rhapsody*)
28507 dynamic_linker="$host_os dyld"
28508 version_type=darwin
28511 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
28512 soname_spec='${libname}${release}${major}$shared_ext'
28513 shlibpath_overrides_runpath=yes
28514 shlibpath_var=DYLD_LIBRARY_PATH
28515 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
28516 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
28517 if test "$GCC" = yes; then
28518 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
28520 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
28522 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
28529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
28530 soname_spec='${libname}${release}${shared_ext}$major'
28531 shlibpath_var=LD_LIBRARY_PATH
28542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
28543 soname_spec='${libname}${release}${shared_ext}$major'
28544 shlibpath_var=LD_LIBRARY_PATH
28545 shlibpath_overrides_runpath=no
28546 hardcode_into_libs=yes
28547 dynamic_linker='GNU ld.so'
28550 freebsd* | dragonfly*)
28551 # DragonFly does not have aout. When/if they implement a new
28552 # versioning mechanism, adjust this.
28553 if test -x /usr/bin/objformat; then
28554 objformat=`/usr/bin/objformat`
28557 freebsd[123]*) objformat=aout ;;
28558 *) objformat=elf ;;
28561 version_type=freebsd-$objformat
28562 case $version_type in
28564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
28569 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
28573 shlibpath_var=LD_LIBRARY_PATH
28576 shlibpath_overrides_runpath=yes
28578 freebsd3.[01]* | freebsdelf3.[01]*)
28579 shlibpath_overrides_runpath=yes
28580 hardcode_into_libs=yes
28583 shlibpath_overrides_runpath=no
28584 hardcode_into_libs=yes
28593 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
28594 soname_spec='${libname}${release}${shared_ext}$major'
28595 shlibpath_var=LD_LIBRARY_PATH
28596 hardcode_into_libs=yes
28599 hpux9* | hpux10* | hpux11*)
28600 # Give a soname corresponding to the major version so that dld.sl refuses to
28601 # link against other versions.
28608 hardcode_into_libs=yes
28609 dynamic_linker="$host_os dld.so"
28610 shlibpath_var=LD_LIBRARY_PATH
28611 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
28612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28613 soname_spec='${libname}${release}${shared_ext}$major'
28614 if test "X$HPUX_IA64_MODE" = X32; then
28615 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
28617 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
28619 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
28623 hardcode_into_libs=yes
28624 dynamic_linker="$host_os dld.sl"
28625 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
28626 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
28627 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28628 soname_spec='${libname}${release}${shared_ext}$major'
28629 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
28630 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
28634 dynamic_linker="$host_os dld.sl"
28635 shlibpath_var=SHLIB_PATH
28636 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
28637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28638 soname_spec='${libname}${release}${shared_ext}$major'
28641 # HP-UX runs *really* slowly unless shared libraries are mode 555.
28642 postinstall_cmds='chmod 555 $lib'
28645 irix5* | irix6* | nonstopux*)
28647 nonstopux*) version_type=nonstopux ;;
28649 if test "$lt_cv_prog_gnu_ld" = yes; then
28657 soname_spec='${libname}${release}${shared_ext}$major'
28658 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
28660 irix5* | nonstopux*)
28661 libsuff= shlibsuff=
28664 case $LD in # libtool.m4 will add one of these switches to LD
28665 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
28666 libsuff= shlibsuff= libmagic=32-bit;;
28667 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
28668 libsuff=32 shlibsuff=N32 libmagic=N32;;
28669 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
28670 libsuff=64 shlibsuff=64 libmagic=64-bit;;
28671 *) libsuff= shlibsuff= libmagic=never-match;;
28675 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
28676 shlibpath_overrides_runpath=no
28677 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
28678 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
28679 hardcode_into_libs=yes
28682 # No shared lib support for Linux oldld, aout, or coff.
28683 linux*oldld* | linux*aout* | linux*coff*)
28687 # This must be Linux ELF.
28692 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28693 soname_spec='${libname}${release}${shared_ext}$major'
28694 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
28695 shlibpath_var=LD_LIBRARY_PATH
28696 shlibpath_overrides_runpath=no
28697 # This implies no fast_install, which is unacceptable.
28698 # Some rework will be needed to allow for fast_install
28699 # before this can be enabled.
28700 hardcode_into_libs=yes
28702 # Append ld.so.conf contents to the search path
28703 if test -f /etc/ld.so.conf; then
28704 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
28705 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
28708 # We used to test for /lib/ld.so.1 and disable shared libraries on
28709 # powerpc, because MkLinux only supported shared libraries with the
28710 # GNU dynamic linker. Since this was broken with cross compilers,
28711 # most powerpc-linux boxes support dynamic linking these days and
28712 # people can always --disable-shared, the test was removed, and we
28713 # assume the GNU/Linux dynamic linker is in use.
28714 dynamic_linker='GNU/Linux ld.so'
28721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
28722 soname_spec='${libname}${release}${shared_ext}$major'
28723 shlibpath_var=LD_LIBRARY_PATH
28724 shlibpath_overrides_runpath=no
28725 hardcode_into_libs=yes
28726 dynamic_linker='GNU ld.so'
28733 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
28734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
28735 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
28736 dynamic_linker='NetBSD (a.out) ld.so'
28738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
28739 soname_spec='${libname}${release}${shared_ext}$major'
28740 dynamic_linker='NetBSD ld.elf_so'
28742 shlibpath_var=LD_LIBRARY_PATH
28743 shlibpath_overrides_runpath=yes
28744 hardcode_into_libs=yes
28749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28750 shlibpath_var=LD_LIBRARY_PATH
28751 shlibpath_overrides_runpath=yes
28758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28759 soname_spec='${libname}${release}${shared_ext}$major'
28760 shlibpath_var=LD_LIBRARY_PATH
28761 shlibpath_overrides_runpath=yes
28767 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
28769 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
28770 *) need_version=no ;;
28772 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
28773 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
28774 shlibpath_var=LD_LIBRARY_PATH
28775 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
28777 openbsd2.[89] | openbsd2.[89].*)
28778 shlibpath_overrides_runpath=no
28781 shlibpath_overrides_runpath=yes
28785 shlibpath_overrides_runpath=yes
28790 libname_spec='$name'
28793 library_names_spec='$libname${shared_ext} $libname.a'
28794 dynamic_linker='OS/2 ld.exe'
28795 shlibpath_var=LIBPATH
28798 osf3* | osf4* | osf5*)
28802 soname_spec='${libname}${release}${shared_ext}$major'
28803 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28804 shlibpath_var=LD_LIBRARY_PATH
28805 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
28806 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
28811 soname_spec='${libname}${release}${shared_ext}$major'
28812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28813 shlibpath_var=LD_LIBRARY_PATH
28820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28821 soname_spec='${libname}${release}${shared_ext}$major'
28822 shlibpath_var=LD_LIBRARY_PATH
28823 shlibpath_overrides_runpath=yes
28824 hardcode_into_libs=yes
28825 # ldd complains unless libraries are executable
28826 postinstall_cmds='chmod +x $lib'
28831 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
28832 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
28833 shlibpath_var=LD_LIBRARY_PATH
28834 shlibpath_overrides_runpath=yes
28835 if test "$with_gnu_ld" = yes; then
28841 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
28843 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28844 soname_spec='${libname}${release}${shared_ext}$major'
28845 shlibpath_var=LD_LIBRARY_PATH
28846 case $host_vendor in
28848 shlibpath_overrides_runpath=no
28850 export_dynamic_flag_spec='${wl}-Blargedynsym'
28851 runpath_var=LD_RUN_PATH
28859 shlibpath_overrides_runpath=no
28860 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
28866 if test -d /usr/nec ;then
28868 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
28869 soname_spec='$libname${shared_ext}.$major'
28870 shlibpath_var=LD_LIBRARY_PATH
28876 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
28877 soname_spec='${libname}${release}${shared_ext}$major'
28878 shlibpath_var=LD_LIBRARY_PATH
28885 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
28886 echo "${ECHO_T}$dynamic_linker" >&6
28887 test "$dynamic_linker" = no && can_build_shared=no
28889 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
28890 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
28891 hardcode_action_GCJ=
28892 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
28893 test -n "$runpath_var_GCJ" || \
28894 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
28896 # We can hardcode non-existant directories.
28897 if test "$hardcode_direct_GCJ" != no &&
28898 # If the only mechanism to avoid hardcoding is shlibpath_var, we
28899 # have to relink, otherwise we might link with an installed library
28900 # when we should be linking with a yet-to-be-installed one
28901 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
28902 test "$hardcode_minus_L_GCJ" != no; then
28903 # Linking always hardcodes the temporary library directory.
28904 hardcode_action_GCJ=relink
28906 # We can link without hardcoding, and we can hardcode nonexisting dirs.
28907 hardcode_action_GCJ=immediate
28910 # We cannot hardcode anything, or else we can only hardcode existing
28912 hardcode_action_GCJ=unsupported
28914 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
28915 echo "${ECHO_T}$hardcode_action_GCJ" >&6
28917 if test "$hardcode_action_GCJ" = relink; then
28918 # Fast installation is not supported
28919 enable_fast_install=no
28920 elif test "$shlibpath_overrides_runpath" = yes ||
28921 test "$enable_shared" = no; then
28922 # Fast installation is not necessary
28923 enable_fast_install=needless
28928 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
28929 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
28930 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
28931 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
28932 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
28933 echo "$as_me:$LINENO: result: yes" >&5
28934 echo "${ECHO_T}yes" >&6
28936 # FIXME - insert some real tests, host_os isn't really good enough
28939 if test -n "$STRIP" ; then
28940 striplib="$STRIP -x"
28941 echo "$as_me:$LINENO: result: yes" >&5
28942 echo "${ECHO_T}yes" >&6
28944 echo "$as_me:$LINENO: result: no" >&5
28945 echo "${ECHO_T}no" >&6
28949 echo "$as_me:$LINENO: result: no" >&5
28950 echo "${ECHO_T}no" >&6
28955 if test "x$enable_dlopen" != xyes; then
28956 enable_dlopen=unknown
28957 enable_dlopen_self=unknown
28958 enable_dlopen_self_static=unknown
28965 lt_cv_dlopen="load_add_on"
28967 lt_cv_dlopen_self=yes
28971 lt_cv_dlopen="LoadLibrary"
28976 lt_cv_dlopen="dlopen"
28981 # if libdl is installed we need to link against it
28982 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
28983 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
28984 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
28985 echo $ECHO_N "(cached) $ECHO_C" >&6
28987 ac_check_lib_save_LIBS=$LIBS
28989 cat >conftest.$ac_ext <<_ACEOF
28992 cat confdefs.h >>conftest.$ac_ext
28993 cat >>conftest.$ac_ext <<_ACEOF
28994 /* end confdefs.h. */
28996 /* Override any gcc2 internal prototype to avoid an error. */
29000 /* We use char because int might match the return type of a gcc2
29001 builtin and then its argument prototype would still apply. */
29011 rm -f conftest.$ac_objext conftest$ac_exeext
29012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29013 (eval $ac_link) 2>conftest.er1
29015 grep -v '^ *+' conftest.er1 >conftest.err
29017 cat conftest.err >&5
29018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29019 (exit $ac_status); } &&
29020 { ac_try='test -z "$ac_c_werror_flag"
29021 || test ! -s conftest.err'
29022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29023 (eval $ac_try) 2>&5
29025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29026 (exit $ac_status); }; } &&
29027 { ac_try='test -s conftest$ac_exeext'
29028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29029 (eval $ac_try) 2>&5
29031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29032 (exit $ac_status); }; }; then
29033 ac_cv_lib_dl_dlopen=yes
29035 echo "$as_me: failed program was:" >&5
29036 sed 's/^/| /' conftest.$ac_ext >&5
29038 ac_cv_lib_dl_dlopen=no
29040 rm -f conftest.err conftest.$ac_objext \
29041 conftest$ac_exeext conftest.$ac_ext
29042 LIBS=$ac_check_lib_save_LIBS
29044 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
29045 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
29046 if test $ac_cv_lib_dl_dlopen = yes; then
29047 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
29050 lt_cv_dlopen="dyld"
29052 lt_cv_dlopen_self=yes
29059 echo "$as_me:$LINENO: checking for shl_load" >&5
29060 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
29061 if test "${ac_cv_func_shl_load+set}" = set; then
29062 echo $ECHO_N "(cached) $ECHO_C" >&6
29064 cat >conftest.$ac_ext <<_ACEOF
29067 cat confdefs.h >>conftest.$ac_ext
29068 cat >>conftest.$ac_ext <<_ACEOF
29069 /* end confdefs.h. */
29070 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
29071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29072 #define shl_load innocuous_shl_load
29074 /* System header to define __stub macros and hopefully few prototypes,
29075 which can conflict with char shl_load (); below.
29076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29077 <limits.h> exists even on freestanding compilers. */
29080 # include <limits.h>
29082 # include <assert.h>
29087 /* Override any gcc2 internal prototype to avoid an error. */
29092 /* We use char because int might match the return type of a gcc2
29093 builtin and then its argument prototype would still apply. */
29095 /* The GNU C library defines this for functions which it implements
29096 to always fail with ENOSYS. Some functions are actually named
29097 something starting with __ and the normal name is an alias. */
29098 #if defined (__stub_shl_load) || defined (__stub___shl_load)
29101 char (*f) () = shl_load;
29110 return f != shl_load;
29115 rm -f conftest.$ac_objext conftest$ac_exeext
29116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29117 (eval $ac_link) 2>conftest.er1
29119 grep -v '^ *+' conftest.er1 >conftest.err
29121 cat conftest.err >&5
29122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29123 (exit $ac_status); } &&
29124 { ac_try='test -z "$ac_c_werror_flag"
29125 || test ! -s conftest.err'
29126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29127 (eval $ac_try) 2>&5
29129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29130 (exit $ac_status); }; } &&
29131 { ac_try='test -s conftest$ac_exeext'
29132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29133 (eval $ac_try) 2>&5
29135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29136 (exit $ac_status); }; }; then
29137 ac_cv_func_shl_load=yes
29139 echo "$as_me: failed program was:" >&5
29140 sed 's/^/| /' conftest.$ac_ext >&5
29142 ac_cv_func_shl_load=no
29144 rm -f conftest.err conftest.$ac_objext \
29145 conftest$ac_exeext conftest.$ac_ext
29147 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
29148 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
29149 if test $ac_cv_func_shl_load = yes; then
29150 lt_cv_dlopen="shl_load"
29152 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
29153 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
29154 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
29155 echo $ECHO_N "(cached) $ECHO_C" >&6
29157 ac_check_lib_save_LIBS=$LIBS
29159 cat >conftest.$ac_ext <<_ACEOF
29162 cat confdefs.h >>conftest.$ac_ext
29163 cat >>conftest.$ac_ext <<_ACEOF
29164 /* end confdefs.h. */
29166 /* Override any gcc2 internal prototype to avoid an error. */
29170 /* We use char because int might match the return type of a gcc2
29171 builtin and then its argument prototype would still apply. */
29181 rm -f conftest.$ac_objext conftest$ac_exeext
29182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29183 (eval $ac_link) 2>conftest.er1
29185 grep -v '^ *+' conftest.er1 >conftest.err
29187 cat conftest.err >&5
29188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29189 (exit $ac_status); } &&
29190 { ac_try='test -z "$ac_c_werror_flag"
29191 || test ! -s conftest.err'
29192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29193 (eval $ac_try) 2>&5
29195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29196 (exit $ac_status); }; } &&
29197 { ac_try='test -s conftest$ac_exeext'
29198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29199 (eval $ac_try) 2>&5
29201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29202 (exit $ac_status); }; }; then
29203 ac_cv_lib_dld_shl_load=yes
29205 echo "$as_me: failed program was:" >&5
29206 sed 's/^/| /' conftest.$ac_ext >&5
29208 ac_cv_lib_dld_shl_load=no
29210 rm -f conftest.err conftest.$ac_objext \
29211 conftest$ac_exeext conftest.$ac_ext
29212 LIBS=$ac_check_lib_save_LIBS
29214 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
29215 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
29216 if test $ac_cv_lib_dld_shl_load = yes; then
29217 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
29219 echo "$as_me:$LINENO: checking for dlopen" >&5
29220 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
29221 if test "${ac_cv_func_dlopen+set}" = set; then
29222 echo $ECHO_N "(cached) $ECHO_C" >&6
29224 cat >conftest.$ac_ext <<_ACEOF
29227 cat confdefs.h >>conftest.$ac_ext
29228 cat >>conftest.$ac_ext <<_ACEOF
29229 /* end confdefs.h. */
29230 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
29231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29232 #define dlopen innocuous_dlopen
29234 /* System header to define __stub macros and hopefully few prototypes,
29235 which can conflict with char dlopen (); below.
29236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29237 <limits.h> exists even on freestanding compilers. */
29240 # include <limits.h>
29242 # include <assert.h>
29247 /* Override any gcc2 internal prototype to avoid an error. */
29252 /* We use char because int might match the return type of a gcc2
29253 builtin and then its argument prototype would still apply. */
29255 /* The GNU C library defines this for functions which it implements
29256 to always fail with ENOSYS. Some functions are actually named
29257 something starting with __ and the normal name is an alias. */
29258 #if defined (__stub_dlopen) || defined (__stub___dlopen)
29261 char (*f) () = dlopen;
29270 return f != dlopen;
29275 rm -f conftest.$ac_objext conftest$ac_exeext
29276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29277 (eval $ac_link) 2>conftest.er1
29279 grep -v '^ *+' conftest.er1 >conftest.err
29281 cat conftest.err >&5
29282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29283 (exit $ac_status); } &&
29284 { ac_try='test -z "$ac_c_werror_flag"
29285 || test ! -s conftest.err'
29286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29287 (eval $ac_try) 2>&5
29289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29290 (exit $ac_status); }; } &&
29291 { ac_try='test -s conftest$ac_exeext'
29292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29293 (eval $ac_try) 2>&5
29295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29296 (exit $ac_status); }; }; then
29297 ac_cv_func_dlopen=yes
29299 echo "$as_me: failed program was:" >&5
29300 sed 's/^/| /' conftest.$ac_ext >&5
29302 ac_cv_func_dlopen=no
29304 rm -f conftest.err conftest.$ac_objext \
29305 conftest$ac_exeext conftest.$ac_ext
29307 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
29308 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
29309 if test $ac_cv_func_dlopen = yes; then
29310 lt_cv_dlopen="dlopen"
29312 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
29313 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
29314 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
29315 echo $ECHO_N "(cached) $ECHO_C" >&6
29317 ac_check_lib_save_LIBS=$LIBS
29319 cat >conftest.$ac_ext <<_ACEOF
29322 cat confdefs.h >>conftest.$ac_ext
29323 cat >>conftest.$ac_ext <<_ACEOF
29324 /* end confdefs.h. */
29326 /* Override any gcc2 internal prototype to avoid an error. */
29330 /* We use char because int might match the return type of a gcc2
29331 builtin and then its argument prototype would still apply. */
29341 rm -f conftest.$ac_objext conftest$ac_exeext
29342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29343 (eval $ac_link) 2>conftest.er1
29345 grep -v '^ *+' conftest.er1 >conftest.err
29347 cat conftest.err >&5
29348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29349 (exit $ac_status); } &&
29350 { ac_try='test -z "$ac_c_werror_flag"
29351 || test ! -s conftest.err'
29352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29353 (eval $ac_try) 2>&5
29355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29356 (exit $ac_status); }; } &&
29357 { ac_try='test -s conftest$ac_exeext'
29358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29359 (eval $ac_try) 2>&5
29361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29362 (exit $ac_status); }; }; then
29363 ac_cv_lib_dl_dlopen=yes
29365 echo "$as_me: failed program was:" >&5
29366 sed 's/^/| /' conftest.$ac_ext >&5
29368 ac_cv_lib_dl_dlopen=no
29370 rm -f conftest.err conftest.$ac_objext \
29371 conftest$ac_exeext conftest.$ac_ext
29372 LIBS=$ac_check_lib_save_LIBS
29374 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
29375 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
29376 if test $ac_cv_lib_dl_dlopen = yes; then
29377 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
29379 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
29380 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
29381 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
29382 echo $ECHO_N "(cached) $ECHO_C" >&6
29384 ac_check_lib_save_LIBS=$LIBS
29385 LIBS="-lsvld $LIBS"
29386 cat >conftest.$ac_ext <<_ACEOF
29389 cat confdefs.h >>conftest.$ac_ext
29390 cat >>conftest.$ac_ext <<_ACEOF
29391 /* end confdefs.h. */
29393 /* Override any gcc2 internal prototype to avoid an error. */
29397 /* We use char because int might match the return type of a gcc2
29398 builtin and then its argument prototype would still apply. */
29408 rm -f conftest.$ac_objext conftest$ac_exeext
29409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29410 (eval $ac_link) 2>conftest.er1
29412 grep -v '^ *+' conftest.er1 >conftest.err
29414 cat conftest.err >&5
29415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29416 (exit $ac_status); } &&
29417 { ac_try='test -z "$ac_c_werror_flag"
29418 || test ! -s conftest.err'
29419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29420 (eval $ac_try) 2>&5
29422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29423 (exit $ac_status); }; } &&
29424 { ac_try='test -s conftest$ac_exeext'
29425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29426 (eval $ac_try) 2>&5
29428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29429 (exit $ac_status); }; }; then
29430 ac_cv_lib_svld_dlopen=yes
29432 echo "$as_me: failed program was:" >&5
29433 sed 's/^/| /' conftest.$ac_ext >&5
29435 ac_cv_lib_svld_dlopen=no
29437 rm -f conftest.err conftest.$ac_objext \
29438 conftest$ac_exeext conftest.$ac_ext
29439 LIBS=$ac_check_lib_save_LIBS
29441 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
29442 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
29443 if test $ac_cv_lib_svld_dlopen = yes; then
29444 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
29446 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
29447 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
29448 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
29449 echo $ECHO_N "(cached) $ECHO_C" >&6
29451 ac_check_lib_save_LIBS=$LIBS
29453 cat >conftest.$ac_ext <<_ACEOF
29456 cat confdefs.h >>conftest.$ac_ext
29457 cat >>conftest.$ac_ext <<_ACEOF
29458 /* end confdefs.h. */
29460 /* Override any gcc2 internal prototype to avoid an error. */
29464 /* We use char because int might match the return type of a gcc2
29465 builtin and then its argument prototype would still apply. */
29475 rm -f conftest.$ac_objext conftest$ac_exeext
29476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29477 (eval $ac_link) 2>conftest.er1
29479 grep -v '^ *+' conftest.er1 >conftest.err
29481 cat conftest.err >&5
29482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29483 (exit $ac_status); } &&
29484 { ac_try='test -z "$ac_c_werror_flag"
29485 || test ! -s conftest.err'
29486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29487 (eval $ac_try) 2>&5
29489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29490 (exit $ac_status); }; } &&
29491 { ac_try='test -s conftest$ac_exeext'
29492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29493 (eval $ac_try) 2>&5
29495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29496 (exit $ac_status); }; }; then
29497 ac_cv_lib_dld_dld_link=yes
29499 echo "$as_me: failed program was:" >&5
29500 sed 's/^/| /' conftest.$ac_ext >&5
29502 ac_cv_lib_dld_dld_link=no
29504 rm -f conftest.err conftest.$ac_objext \
29505 conftest$ac_exeext conftest.$ac_ext
29506 LIBS=$ac_check_lib_save_LIBS
29508 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
29509 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
29510 if test $ac_cv_lib_dld_dld_link = yes; then
29511 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
29532 if test "x$lt_cv_dlopen" != xno; then
29538 case $lt_cv_dlopen in
29540 save_CPPFLAGS="$CPPFLAGS"
29541 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
29543 save_LDFLAGS="$LDFLAGS"
29544 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
29547 LIBS="$lt_cv_dlopen_libs $LIBS"
29549 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
29550 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
29551 if test "${lt_cv_dlopen_self+set}" = set; then
29552 echo $ECHO_N "(cached) $ECHO_C" >&6
29554 if test "$cross_compiling" = yes; then :
29555 lt_cv_dlopen_self=cross
29557 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
29558 lt_status=$lt_dlunknown
29559 cat > conftest.$ac_ext <<EOF
29560 #line 29560 "configure"
29561 #include "confdefs.h"
29570 # define LT_DLGLOBAL RTLD_GLOBAL
29573 # define LT_DLGLOBAL DL_GLOBAL
29575 # define LT_DLGLOBAL 0
29579 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
29580 find out it does not work in some platform. */
29581 #ifndef LT_DLLAZY_OR_NOW
29583 # define LT_DLLAZY_OR_NOW RTLD_LAZY
29586 # define LT_DLLAZY_OR_NOW DL_LAZY
29589 # define LT_DLLAZY_OR_NOW RTLD_NOW
29592 # define LT_DLLAZY_OR_NOW DL_NOW
29594 # define LT_DLLAZY_OR_NOW 0
29602 extern "C" void exit (int);
29605 void fnord() { int i=42;}
29608 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
29609 int status = $lt_dlunknown;
29613 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
29614 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
29615 /* dlclose (self); */
29621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29622 (eval $ac_link) 2>&5
29624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29625 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
29626 (./conftest; exit; ) >&5 2>/dev/null
29628 case x$lt_status in
29629 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
29630 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
29631 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
29634 # compilation failed
29635 lt_cv_dlopen_self=no
29642 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
29643 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
29645 if test "x$lt_cv_dlopen_self" = xyes; then
29646 LDFLAGS="$LDFLAGS $link_static_flag"
29647 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
29648 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
29649 if test "${lt_cv_dlopen_self_static+set}" = set; then
29650 echo $ECHO_N "(cached) $ECHO_C" >&6
29652 if test "$cross_compiling" = yes; then :
29653 lt_cv_dlopen_self_static=cross
29655 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
29656 lt_status=$lt_dlunknown
29657 cat > conftest.$ac_ext <<EOF
29658 #line 29658 "configure"
29659 #include "confdefs.h"
29668 # define LT_DLGLOBAL RTLD_GLOBAL
29671 # define LT_DLGLOBAL DL_GLOBAL
29673 # define LT_DLGLOBAL 0
29677 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
29678 find out it does not work in some platform. */
29679 #ifndef LT_DLLAZY_OR_NOW
29681 # define LT_DLLAZY_OR_NOW RTLD_LAZY
29684 # define LT_DLLAZY_OR_NOW DL_LAZY
29687 # define LT_DLLAZY_OR_NOW RTLD_NOW
29690 # define LT_DLLAZY_OR_NOW DL_NOW
29692 # define LT_DLLAZY_OR_NOW 0
29700 extern "C" void exit (int);
29703 void fnord() { int i=42;}
29706 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
29707 int status = $lt_dlunknown;
29711 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
29712 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
29713 /* dlclose (self); */
29719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29720 (eval $ac_link) 2>&5
29722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29723 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
29724 (./conftest; exit; ) >&5 2>/dev/null
29726 case x$lt_status in
29727 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
29728 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
29729 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
29732 # compilation failed
29733 lt_cv_dlopen_self_static=no
29740 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
29741 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
29744 CPPFLAGS="$save_CPPFLAGS"
29745 LDFLAGS="$save_LDFLAGS"
29750 case $lt_cv_dlopen_self in
29751 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
29752 *) enable_dlopen_self=unknown ;;
29755 case $lt_cv_dlopen_self_static in
29756 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
29757 *) enable_dlopen_self_static=unknown ;;
29762 # The else clause should only fire when bootstrapping the
29763 # libtool distribution, otherwise you forgot to ship ltmain.sh
29764 # with your package, and you will get complaints that there are
29765 # no rules to generate ltmain.sh.
29766 if test -f "$ltmain"; then
29767 # See if we are running on zsh, and set the options which allow our commands through
29768 # without removal of \ escapes.
29769 if test -n "${ZSH_VERSION+set}" ; then
29770 setopt NO_GLOB_SUBST
29772 # Now quote all the things that may contain metacharacters while being
29773 # careful not to overquote the AC_SUBSTed values. We take copies of the
29774 # variables and quote the copies for generation of the libtool script.
29775 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
29777 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
29778 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
29779 deplibs_check_method reload_flag reload_cmds need_locks \
29780 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
29781 lt_cv_sys_global_symbol_to_c_name_address \
29782 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
29783 old_postinstall_cmds old_postuninstall_cmds \
29787 lt_prog_compiler_wl_GCJ \
29788 lt_prog_compiler_pic_GCJ \
29789 lt_prog_compiler_static_GCJ \
29790 lt_prog_compiler_no_builtin_flag_GCJ \
29791 export_dynamic_flag_spec_GCJ \
29792 thread_safe_flag_spec_GCJ \
29793 whole_archive_flag_spec_GCJ \
29794 enable_shared_with_static_runtimes_GCJ \
29795 old_archive_cmds_GCJ \
29796 old_archive_from_new_cmds_GCJ \
29797 predep_objects_GCJ \
29798 postdep_objects_GCJ \
29801 compiler_lib_search_path_GCJ \
29803 archive_expsym_cmds_GCJ \
29804 postinstall_cmds_GCJ \
29805 postuninstall_cmds_GCJ \
29806 old_archive_from_expsyms_cmds_GCJ \
29807 allow_undefined_flag_GCJ \
29808 no_undefined_flag_GCJ \
29809 export_symbols_cmds_GCJ \
29810 hardcode_libdir_flag_spec_GCJ \
29811 hardcode_libdir_flag_spec_ld_GCJ \
29812 hardcode_libdir_separator_GCJ \
29813 hardcode_automatic_GCJ \
29815 module_expsym_cmds_GCJ \
29816 lt_cv_prog_compiler_c_o_GCJ \
29817 exclude_expsyms_GCJ \
29818 include_expsyms_GCJ; do
29821 old_archive_cmds_GCJ | \
29822 old_archive_from_new_cmds_GCJ | \
29823 archive_cmds_GCJ | \
29824 archive_expsym_cmds_GCJ | \
29825 module_cmds_GCJ | \
29826 module_expsym_cmds_GCJ | \
29827 old_archive_from_expsyms_cmds_GCJ | \
29828 export_symbols_cmds_GCJ | \
29829 extract_expsyms_cmds | reload_cmds | finish_cmds | \
29830 postinstall_cmds | postuninstall_cmds | \
29831 old_postinstall_cmds | old_postuninstall_cmds | \
29832 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
29833 # Double-quote double-evaled strings.
29834 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
29837 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
29843 *'\$0 --fallback-echo"')
29844 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
29850 cat <<__EOF__ >> "$cfgfile"
29851 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
29853 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
29855 # Shell to use when invoking shell scripts.
29858 # Whether or not to build shared libraries.
29859 build_libtool_libs=$enable_shared
29861 # Whether or not to build static libraries.
29862 build_old_libs=$enable_static
29864 # Whether or not to add -lc for building shared libraries.
29865 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
29867 # Whether or not to disallow shared libs when runtime libs are static
29868 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
29870 # Whether or not to optimize for fast installation.
29871 fast_install=$enable_fast_install
29874 host_alias=$host_alias
29878 # The build system.
29879 build_alias=$build_alias
29883 # An echo program that does not interpret backslashes.
29888 AR_FLAGS=$lt_AR_FLAGS
29893 # A language-specific compiler.
29894 CC=$lt_compiler_GCJ
29896 # Is the compiler the GNU C compiler?
29902 # The linker used to build libraries.
29905 # Whether we need hard or soft links.
29908 # A BSD-compatible nm program.
29911 # A symbol stripping program
29914 # Used to examine libraries when file_magic_cmd begins "file"
29915 MAGIC_CMD=$MAGIC_CMD
29917 # Used on cygwin: DLL creation program.
29920 # Used on cygwin: object dumper.
29923 # Used on cygwin: assembler.
29926 # The name of the directory that contains temporary libtool files.
29929 # How to create reloadable object files.
29930 reload_flag=$lt_reload_flag
29931 reload_cmds=$lt_reload_cmds
29933 # How to pass a linker flag through the compiler.
29934 wl=$lt_lt_prog_compiler_wl_GCJ
29936 # Object file suffix (normally "o").
29937 objext="$ac_objext"
29939 # Old archive suffix (normally "a").
29942 # Shared library suffix (normally ".so").
29943 shrext_cmds='$shrext_cmds'
29945 # Executable file suffix (normally "").
29948 # Additional compiler flags for building library objects.
29949 pic_flag=$lt_lt_prog_compiler_pic_GCJ
29952 # What is the maximum length of a command?
29953 max_cmd_len=$lt_cv_sys_max_cmd_len
29955 # Does compiler simultaneously support -c and -o options?
29956 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
29958 # Must we lock files when doing compilation?
29959 need_locks=$lt_need_locks
29961 # Do we need the lib prefix for modules?
29962 need_lib_prefix=$need_lib_prefix
29964 # Do we need a version for libraries?
29965 need_version=$need_version
29967 # Whether dlopen is supported.
29968 dlopen_support=$enable_dlopen
29970 # Whether dlopen of programs is supported.
29971 dlopen_self=$enable_dlopen_self
29973 # Whether dlopen of statically linked programs is supported.
29974 dlopen_self_static=$enable_dlopen_self_static
29976 # Compiler flag to prevent dynamic linking.
29977 link_static_flag=$lt_lt_prog_compiler_static_GCJ
29979 # Compiler flag to turn off builtin functions.
29980 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
29982 # Compiler flag to allow reflexive dlopens.
29983 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
29985 # Compiler flag to generate shared objects directly from archives.
29986 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
29988 # Compiler flag to generate thread-safe objects.
29989 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
29991 # Library versioning type.
29992 version_type=$version_type
29994 # Format of library name prefix.
29995 libname_spec=$lt_libname_spec
29997 # List of archive names. First name is the real one, the rest are links.
29998 # The last name is the one that the linker finds with -lNAME.
29999 library_names_spec=$lt_library_names_spec
30001 # The coded name of the library, if different from the real name.
30002 soname_spec=$lt_soname_spec
30004 # Commands used to build and install an old-style archive.
30006 old_archive_cmds=$lt_old_archive_cmds_GCJ
30007 old_postinstall_cmds=$lt_old_postinstall_cmds
30008 old_postuninstall_cmds=$lt_old_postuninstall_cmds
30010 # Create an old-style archive from a shared archive.
30011 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
30013 # Create a temporary old-style archive to link instead of a shared archive.
30014 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
30016 # Commands used to build and install a shared archive.
30017 archive_cmds=$lt_archive_cmds_GCJ
30018 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
30019 postinstall_cmds=$lt_postinstall_cmds
30020 postuninstall_cmds=$lt_postuninstall_cmds
30022 # Commands used to build a loadable module (assumed same as above if empty)
30023 module_cmds=$lt_module_cmds_GCJ
30024 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
30026 # Commands to strip libraries.
30027 old_striplib=$lt_old_striplib
30028 striplib=$lt_striplib
30030 # Dependencies to place before the objects being linked to create a
30032 predep_objects=$lt_predep_objects_GCJ
30034 # Dependencies to place after the objects being linked to create a
30036 postdep_objects=$lt_postdep_objects_GCJ
30038 # Dependencies to place before the objects being linked to create a
30040 predeps=$lt_predeps_GCJ
30042 # Dependencies to place after the objects being linked to create a
30044 postdeps=$lt_postdeps_GCJ
30046 # The library search path used internally by the compiler when linking
30047 # a shared library.
30048 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
30050 # Method to check whether dependent libraries are shared objects.
30051 deplibs_check_method=$lt_deplibs_check_method
30053 # Command to use when deplibs_check_method == file_magic.
30054 file_magic_cmd=$lt_file_magic_cmd
30056 # Flag that allows shared libraries with undefined symbols to be built.
30057 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
30059 # Flag that forces no undefined symbols.
30060 no_undefined_flag=$lt_no_undefined_flag_GCJ
30062 # Commands used to finish a libtool library installation in a directory.
30063 finish_cmds=$lt_finish_cmds
30065 # Same as above, but a single script fragment to be evaled but not shown.
30066 finish_eval=$lt_finish_eval
30068 # Take the output of nm and produce a listing of raw symbols and C names.
30069 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
30071 # Transform the output of nm in a proper C declaration
30072 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
30074 # Transform the output of nm in a C name address pair
30075 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
30077 # This is the shared library runtime path variable.
30078 runpath_var=$runpath_var
30080 # This is the shared library path variable.
30081 shlibpath_var=$shlibpath_var
30083 # Is shlibpath searched before the hard-coded library search path?
30084 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
30086 # How to hardcode a shared library path into an executable.
30087 hardcode_action=$hardcode_action_GCJ
30089 # Whether we should hardcode library paths into libraries.
30090 hardcode_into_libs=$hardcode_into_libs
30092 # Flag to hardcode \$libdir into a binary during linking.
30093 # This must work even if \$libdir does not exist.
30094 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
30096 # If ld is used when linking, flag to hardcode \$libdir into
30097 # a binary during linking. This must work even if \$libdir does
30099 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
30101 # Whether we need a single -rpath flag with a separated argument.
30102 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
30104 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
30105 # resulting binary.
30106 hardcode_direct=$hardcode_direct_GCJ
30108 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
30109 # resulting binary.
30110 hardcode_minus_L=$hardcode_minus_L_GCJ
30112 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
30113 # the resulting binary.
30114 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
30116 # Set to yes if building a shared library automatically hardcodes DIR into the library
30117 # and all subsequent libraries and executables linked against it.
30118 hardcode_automatic=$hardcode_automatic_GCJ
30120 # Variables whose values should be saved in libtool wrapper scripts and
30121 # restored at relink time.
30122 variables_saved_for_relink="$variables_saved_for_relink"
30124 # Whether libtool must link a program against all its dependency libraries.
30125 link_all_deplibs=$link_all_deplibs_GCJ
30127 # Compile-time system search path for libraries
30128 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
30130 # Run-time system search path for libraries
30131 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
30133 # Fix the shell variable \$srcfile for the compiler.
30134 fix_srcfile_path="$fix_srcfile_path_GCJ"
30136 # Set to yes if exported symbols are required.
30137 always_export_symbols=$always_export_symbols_GCJ
30139 # The commands to list exported symbols.
30140 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
30142 # The commands to extract the exported symbol list from a shared archive.
30143 extract_expsyms_cmds=$lt_extract_expsyms_cmds
30145 # Symbols that should not be listed in the preloaded symbols.
30146 exclude_expsyms=$lt_exclude_expsyms_GCJ
30148 # Symbols that must always be exported.
30149 include_expsyms=$lt_include_expsyms_GCJ
30151 # ### END LIBTOOL TAG CONFIG: $tagname
30157 # If there is no Makefile yet, we rely on a make rule to execute
30158 # `config.status --recheck' to rerun these tests and create the
30159 # libtool script then.
30160 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
30161 if test -f "$ltmain_in"; then
30162 test -f Makefile && make "$ltmain"
30168 ac_cpp='$CPP $CPPFLAGS'
30169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30184 # Source file extension for RC test sources.
30187 # Object file extension for compiled RC test sources.
30191 # Code to be used in simple compile tests
30192 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
30194 # Code to be used in simple link tests
30195 lt_simple_link_test_code="$lt_simple_compile_test_code"
30197 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
30199 # If no C compiler was specified, use CC.
30202 # Allow CC to be a program name with arguments.
30206 # save warnings/boilerplate of simple test code
30207 ac_outfile=conftest.$ac_objext
30208 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
30209 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
30210 _lt_compiler_boilerplate=`cat conftest.err`
30213 ac_outfile=conftest.$ac_objext
30214 printf "$lt_simple_link_test_code" >conftest.$ac_ext
30215 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
30216 _lt_linker_boilerplate=`cat conftest.err`
30220 # Allow CC to be a program name with arguments.
30225 for cc_temp in $compiler""; do
30227 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
30228 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
30233 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
30235 lt_cv_prog_compiler_c_o_RC=yes
30237 # The else clause should only fire when bootstrapping the
30238 # libtool distribution, otherwise you forgot to ship ltmain.sh
30239 # with your package, and you will get complaints that there are
30240 # no rules to generate ltmain.sh.
30241 if test -f "$ltmain"; then
30242 # See if we are running on zsh, and set the options which allow our commands through
30243 # without removal of \ escapes.
30244 if test -n "${ZSH_VERSION+set}" ; then
30245 setopt NO_GLOB_SUBST
30247 # Now quote all the things that may contain metacharacters while being
30248 # careful not to overquote the AC_SUBSTed values. We take copies of the
30249 # variables and quote the copies for generation of the libtool script.
30250 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
30252 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
30253 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
30254 deplibs_check_method reload_flag reload_cmds need_locks \
30255 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
30256 lt_cv_sys_global_symbol_to_c_name_address \
30257 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
30258 old_postinstall_cmds old_postuninstall_cmds \
30262 lt_prog_compiler_wl_RC \
30263 lt_prog_compiler_pic_RC \
30264 lt_prog_compiler_static_RC \
30265 lt_prog_compiler_no_builtin_flag_RC \
30266 export_dynamic_flag_spec_RC \
30267 thread_safe_flag_spec_RC \
30268 whole_archive_flag_spec_RC \
30269 enable_shared_with_static_runtimes_RC \
30270 old_archive_cmds_RC \
30271 old_archive_from_new_cmds_RC \
30272 predep_objects_RC \
30273 postdep_objects_RC \
30276 compiler_lib_search_path_RC \
30278 archive_expsym_cmds_RC \
30279 postinstall_cmds_RC \
30280 postuninstall_cmds_RC \
30281 old_archive_from_expsyms_cmds_RC \
30282 allow_undefined_flag_RC \
30283 no_undefined_flag_RC \
30284 export_symbols_cmds_RC \
30285 hardcode_libdir_flag_spec_RC \
30286 hardcode_libdir_flag_spec_ld_RC \
30287 hardcode_libdir_separator_RC \
30288 hardcode_automatic_RC \
30290 module_expsym_cmds_RC \
30291 lt_cv_prog_compiler_c_o_RC \
30292 exclude_expsyms_RC \
30293 include_expsyms_RC; do
30296 old_archive_cmds_RC | \
30297 old_archive_from_new_cmds_RC | \
30298 archive_cmds_RC | \
30299 archive_expsym_cmds_RC | \
30301 module_expsym_cmds_RC | \
30302 old_archive_from_expsyms_cmds_RC | \
30303 export_symbols_cmds_RC | \
30304 extract_expsyms_cmds | reload_cmds | finish_cmds | \
30305 postinstall_cmds | postuninstall_cmds | \
30306 old_postinstall_cmds | old_postuninstall_cmds | \
30307 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
30308 # Double-quote double-evaled strings.
30309 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
30312 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
30318 *'\$0 --fallback-echo"')
30319 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
30325 cat <<__EOF__ >> "$cfgfile"
30326 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
30328 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
30330 # Shell to use when invoking shell scripts.
30333 # Whether or not to build shared libraries.
30334 build_libtool_libs=$enable_shared
30336 # Whether or not to build static libraries.
30337 build_old_libs=$enable_static
30339 # Whether or not to add -lc for building shared libraries.
30340 build_libtool_need_lc=$archive_cmds_need_lc_RC
30342 # Whether or not to disallow shared libs when runtime libs are static
30343 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
30345 # Whether or not to optimize for fast installation.
30346 fast_install=$enable_fast_install
30349 host_alias=$host_alias
30353 # The build system.
30354 build_alias=$build_alias
30358 # An echo program that does not interpret backslashes.
30363 AR_FLAGS=$lt_AR_FLAGS
30368 # A language-specific compiler.
30371 # Is the compiler the GNU C compiler?
30377 # The linker used to build libraries.
30380 # Whether we need hard or soft links.
30383 # A BSD-compatible nm program.
30386 # A symbol stripping program
30389 # Used to examine libraries when file_magic_cmd begins "file"
30390 MAGIC_CMD=$MAGIC_CMD
30392 # Used on cygwin: DLL creation program.
30395 # Used on cygwin: object dumper.
30398 # Used on cygwin: assembler.
30401 # The name of the directory that contains temporary libtool files.
30404 # How to create reloadable object files.
30405 reload_flag=$lt_reload_flag
30406 reload_cmds=$lt_reload_cmds
30408 # How to pass a linker flag through the compiler.
30409 wl=$lt_lt_prog_compiler_wl_RC
30411 # Object file suffix (normally "o").
30412 objext="$ac_objext"
30414 # Old archive suffix (normally "a").
30417 # Shared library suffix (normally ".so").
30418 shrext_cmds='$shrext_cmds'
30420 # Executable file suffix (normally "").
30423 # Additional compiler flags for building library objects.
30424 pic_flag=$lt_lt_prog_compiler_pic_RC
30427 # What is the maximum length of a command?
30428 max_cmd_len=$lt_cv_sys_max_cmd_len
30430 # Does compiler simultaneously support -c and -o options?
30431 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
30433 # Must we lock files when doing compilation?
30434 need_locks=$lt_need_locks
30436 # Do we need the lib prefix for modules?
30437 need_lib_prefix=$need_lib_prefix
30439 # Do we need a version for libraries?
30440 need_version=$need_version
30442 # Whether dlopen is supported.
30443 dlopen_support=$enable_dlopen
30445 # Whether dlopen of programs is supported.
30446 dlopen_self=$enable_dlopen_self
30448 # Whether dlopen of statically linked programs is supported.
30449 dlopen_self_static=$enable_dlopen_self_static
30451 # Compiler flag to prevent dynamic linking.
30452 link_static_flag=$lt_lt_prog_compiler_static_RC
30454 # Compiler flag to turn off builtin functions.
30455 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
30457 # Compiler flag to allow reflexive dlopens.
30458 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
30460 # Compiler flag to generate shared objects directly from archives.
30461 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
30463 # Compiler flag to generate thread-safe objects.
30464 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
30466 # Library versioning type.
30467 version_type=$version_type
30469 # Format of library name prefix.
30470 libname_spec=$lt_libname_spec
30472 # List of archive names. First name is the real one, the rest are links.
30473 # The last name is the one that the linker finds with -lNAME.
30474 library_names_spec=$lt_library_names_spec
30476 # The coded name of the library, if different from the real name.
30477 soname_spec=$lt_soname_spec
30479 # Commands used to build and install an old-style archive.
30481 old_archive_cmds=$lt_old_archive_cmds_RC
30482 old_postinstall_cmds=$lt_old_postinstall_cmds
30483 old_postuninstall_cmds=$lt_old_postuninstall_cmds
30485 # Create an old-style archive from a shared archive.
30486 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
30488 # Create a temporary old-style archive to link instead of a shared archive.
30489 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
30491 # Commands used to build and install a shared archive.
30492 archive_cmds=$lt_archive_cmds_RC
30493 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
30494 postinstall_cmds=$lt_postinstall_cmds
30495 postuninstall_cmds=$lt_postuninstall_cmds
30497 # Commands used to build a loadable module (assumed same as above if empty)
30498 module_cmds=$lt_module_cmds_RC
30499 module_expsym_cmds=$lt_module_expsym_cmds_RC
30501 # Commands to strip libraries.
30502 old_striplib=$lt_old_striplib
30503 striplib=$lt_striplib
30505 # Dependencies to place before the objects being linked to create a
30507 predep_objects=$lt_predep_objects_RC
30509 # Dependencies to place after the objects being linked to create a
30511 postdep_objects=$lt_postdep_objects_RC
30513 # Dependencies to place before the objects being linked to create a
30515 predeps=$lt_predeps_RC
30517 # Dependencies to place after the objects being linked to create a
30519 postdeps=$lt_postdeps_RC
30521 # The library search path used internally by the compiler when linking
30522 # a shared library.
30523 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
30525 # Method to check whether dependent libraries are shared objects.
30526 deplibs_check_method=$lt_deplibs_check_method
30528 # Command to use when deplibs_check_method == file_magic.
30529 file_magic_cmd=$lt_file_magic_cmd
30531 # Flag that allows shared libraries with undefined symbols to be built.
30532 allow_undefined_flag=$lt_allow_undefined_flag_RC
30534 # Flag that forces no undefined symbols.
30535 no_undefined_flag=$lt_no_undefined_flag_RC
30537 # Commands used to finish a libtool library installation in a directory.
30538 finish_cmds=$lt_finish_cmds
30540 # Same as above, but a single script fragment to be evaled but not shown.
30541 finish_eval=$lt_finish_eval
30543 # Take the output of nm and produce a listing of raw symbols and C names.
30544 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
30546 # Transform the output of nm in a proper C declaration
30547 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
30549 # Transform the output of nm in a C name address pair
30550 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
30552 # This is the shared library runtime path variable.
30553 runpath_var=$runpath_var
30555 # This is the shared library path variable.
30556 shlibpath_var=$shlibpath_var
30558 # Is shlibpath searched before the hard-coded library search path?
30559 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
30561 # How to hardcode a shared library path into an executable.
30562 hardcode_action=$hardcode_action_RC
30564 # Whether we should hardcode library paths into libraries.
30565 hardcode_into_libs=$hardcode_into_libs
30567 # Flag to hardcode \$libdir into a binary during linking.
30568 # This must work even if \$libdir does not exist.
30569 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
30571 # If ld is used when linking, flag to hardcode \$libdir into
30572 # a binary during linking. This must work even if \$libdir does
30574 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
30576 # Whether we need a single -rpath flag with a separated argument.
30577 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
30579 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
30580 # resulting binary.
30581 hardcode_direct=$hardcode_direct_RC
30583 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
30584 # resulting binary.
30585 hardcode_minus_L=$hardcode_minus_L_RC
30587 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
30588 # the resulting binary.
30589 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
30591 # Set to yes if building a shared library automatically hardcodes DIR into the library
30592 # and all subsequent libraries and executables linked against it.
30593 hardcode_automatic=$hardcode_automatic_RC
30595 # Variables whose values should be saved in libtool wrapper scripts and
30596 # restored at relink time.
30597 variables_saved_for_relink="$variables_saved_for_relink"
30599 # Whether libtool must link a program against all its dependency libraries.
30600 link_all_deplibs=$link_all_deplibs_RC
30602 # Compile-time system search path for libraries
30603 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
30605 # Run-time system search path for libraries
30606 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
30608 # Fix the shell variable \$srcfile for the compiler.
30609 fix_srcfile_path="$fix_srcfile_path_RC"
30611 # Set to yes if exported symbols are required.
30612 always_export_symbols=$always_export_symbols_RC
30614 # The commands to list exported symbols.
30615 export_symbols_cmds=$lt_export_symbols_cmds_RC
30617 # The commands to extract the exported symbol list from a shared archive.
30618 extract_expsyms_cmds=$lt_extract_expsyms_cmds
30620 # Symbols that should not be listed in the preloaded symbols.
30621 exclude_expsyms=$lt_exclude_expsyms_RC
30623 # Symbols that must always be exported.
30624 include_expsyms=$lt_include_expsyms_RC
30626 # ### END LIBTOOL TAG CONFIG: $tagname
30632 # If there is no Makefile yet, we rely on a make rule to execute
30633 # `config.status --recheck' to rerun these tests and create the
30634 # libtool script then.
30635 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
30636 if test -f "$ltmain_in"; then
30637 test -f Makefile && make "$ltmain"
30643 ac_cpp='$CPP $CPPFLAGS'
30644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30653 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
30654 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
30655 { (exit 1); exit 1; }; }
30659 # Append the new tag name to the list of available tags.
30660 if test -n "$tagname" ; then
30661 available_tags="$available_tags $tagname"
30667 # Now substitute the updated list of available tags.
30668 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
30669 mv "${ofile}T" "$ofile"
30673 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
30674 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
30675 { (exit 1); exit 1; }; }
30681 # This can be used to rebuild libtool when needed
30682 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
30684 # Always use our own libtool.
30685 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
30687 # Prevent multiple expansion
30708 echo "$as_me:$LINENO: checking whether ln -s works" >&5
30709 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
30711 if test "$LN_S" = "ln -s"; then
30712 echo "$as_me:$LINENO: result: yes" >&5
30713 echo "${ECHO_T}yes" >&6
30715 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
30716 echo "${ECHO_T}no, using $LN_S" >&6
30719 if test $ac_cv_c_compiler_gnu = yes; then
30720 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
30721 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
30722 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
30723 echo $ECHO_N "(cached) $ECHO_C" >&6
30725 ac_pattern="Autoconf.*'x'"
30726 cat >conftest.$ac_ext <<_ACEOF
30729 cat confdefs.h >>conftest.$ac_ext
30730 cat >>conftest.$ac_ext <<_ACEOF
30731 /* end confdefs.h. */
30735 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30736 $EGREP "$ac_pattern" >/dev/null 2>&1; then
30737 ac_cv_prog_gcc_traditional=yes
30739 ac_cv_prog_gcc_traditional=no
30744 if test $ac_cv_prog_gcc_traditional = no; then
30745 cat >conftest.$ac_ext <<_ACEOF
30748 cat confdefs.h >>conftest.$ac_ext
30749 cat >>conftest.$ac_ext <<_ACEOF
30750 /* end confdefs.h. */
30751 #include <termio.h>
30754 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30755 $EGREP "$ac_pattern" >/dev/null 2>&1; then
30756 ac_cv_prog_gcc_traditional=yes
30762 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
30763 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
30764 if test $ac_cv_prog_gcc_traditional = yes; then
30765 CC="$CC -traditional"
30769 echo "$as_me:$LINENO: checking for working volatile" >&5
30770 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
30771 if test "${ac_cv_c_volatile+set}" = set; then
30772 echo $ECHO_N "(cached) $ECHO_C" >&6
30774 cat >conftest.$ac_ext <<_ACEOF
30777 cat confdefs.h >>conftest.$ac_ext
30778 cat >>conftest.$ac_ext <<_ACEOF
30779 /* end confdefs.h. */
30791 rm -f conftest.$ac_objext
30792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30793 (eval $ac_compile) 2>conftest.er1
30795 grep -v '^ *+' conftest.er1 >conftest.err
30797 cat conftest.err >&5
30798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30799 (exit $ac_status); } &&
30800 { ac_try='test -z "$ac_c_werror_flag"
30801 || test ! -s conftest.err'
30802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30803 (eval $ac_try) 2>&5
30805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30806 (exit $ac_status); }; } &&
30807 { ac_try='test -s conftest.$ac_objext'
30808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30809 (eval $ac_try) 2>&5
30811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30812 (exit $ac_status); }; }; then
30813 ac_cv_c_volatile=yes
30815 echo "$as_me: failed program was:" >&5
30816 sed 's/^/| /' conftest.$ac_ext >&5
30818 ac_cv_c_volatile=no
30820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30822 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
30823 echo "${ECHO_T}$ac_cv_c_volatile" >&6
30824 if test $ac_cv_c_volatile = no; then
30826 cat >>confdefs.h <<\_ACEOF
30832 echo "$as_me:$LINENO: checking for library containing strerror" >&5
30833 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
30834 if test "${ac_cv_search_strerror+set}" = set; then
30835 echo $ECHO_N "(cached) $ECHO_C" >&6
30837 ac_func_search_save_LIBS=$LIBS
30838 ac_cv_search_strerror=no
30839 cat >conftest.$ac_ext <<_ACEOF
30842 cat confdefs.h >>conftest.$ac_ext
30843 cat >>conftest.$ac_ext <<_ACEOF
30844 /* end confdefs.h. */
30846 /* Override any gcc2 internal prototype to avoid an error. */
30850 /* We use char because int might match the return type of a gcc2
30851 builtin and then its argument prototype would still apply. */
30861 rm -f conftest.$ac_objext conftest$ac_exeext
30862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30863 (eval $ac_link) 2>conftest.er1
30865 grep -v '^ *+' conftest.er1 >conftest.err
30867 cat conftest.err >&5
30868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30869 (exit $ac_status); } &&
30870 { ac_try='test -z "$ac_c_werror_flag"
30871 || test ! -s conftest.err'
30872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30873 (eval $ac_try) 2>&5
30875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30876 (exit $ac_status); }; } &&
30877 { ac_try='test -s conftest$ac_exeext'
30878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30879 (eval $ac_try) 2>&5
30881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30882 (exit $ac_status); }; }; then
30883 ac_cv_search_strerror="none required"
30885 echo "$as_me: failed program was:" >&5
30886 sed 's/^/| /' conftest.$ac_ext >&5
30889 rm -f conftest.err conftest.$ac_objext \
30890 conftest$ac_exeext conftest.$ac_ext
30891 if test "$ac_cv_search_strerror" = no; then
30892 for ac_lib in cposix; do
30893 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
30894 cat >conftest.$ac_ext <<_ACEOF
30897 cat confdefs.h >>conftest.$ac_ext
30898 cat >>conftest.$ac_ext <<_ACEOF
30899 /* end confdefs.h. */
30901 /* Override any gcc2 internal prototype to avoid an error. */
30905 /* We use char because int might match the return type of a gcc2
30906 builtin and then its argument prototype would still apply. */
30916 rm -f conftest.$ac_objext conftest$ac_exeext
30917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30918 (eval $ac_link) 2>conftest.er1
30920 grep -v '^ *+' conftest.er1 >conftest.err
30922 cat conftest.err >&5
30923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30924 (exit $ac_status); } &&
30925 { ac_try='test -z "$ac_c_werror_flag"
30926 || test ! -s conftest.err'
30927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30928 (eval $ac_try) 2>&5
30930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30931 (exit $ac_status); }; } &&
30932 { ac_try='test -s conftest$ac_exeext'
30933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30934 (eval $ac_try) 2>&5
30936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30937 (exit $ac_status); }; }; then
30938 ac_cv_search_strerror="-l$ac_lib"
30941 echo "$as_me: failed program was:" >&5
30942 sed 's/^/| /' conftest.$ac_ext >&5
30945 rm -f conftest.err conftest.$ac_objext \
30946 conftest$ac_exeext conftest.$ac_ext
30949 LIBS=$ac_func_search_save_LIBS
30951 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
30952 echo "${ECHO_T}$ac_cv_search_strerror" >&6
30953 if test "$ac_cv_search_strerror" != no; then
30954 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
30958 # Extract the first word of "sh", so it can be a program name with args.
30959 set dummy sh; ac_word=$2
30960 echo "$as_me:$LINENO: checking for $ac_word" >&5
30961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30962 if test "${ac_cv_path_PATH_SH+set}" = set; then
30963 echo $ECHO_N "(cached) $ECHO_C" >&6
30967 ac_cv_path_PATH_SH="$PATH_SH" # Let the user override the test with a path.
30970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30971 for as_dir in $PATH
30974 test -z "$as_dir" && as_dir=.
30975 for ac_exec_ext in '' $ac_executable_extensions; do
30976 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30977 ac_cv_path_PATH_SH="$as_dir/$ac_word$ac_exec_ext"
30978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30987 PATH_SH=$ac_cv_path_PATH_SH
30989 if test -n "$PATH_SH"; then
30990 echo "$as_me:$LINENO: result: $PATH_SH" >&5
30991 echo "${ECHO_T}$PATH_SH" >&6
30993 echo "$as_me:$LINENO: result: no" >&5
30994 echo "${ECHO_T}no" >&6
30997 # Extract the first word of "perl", so it can be a program name with args.
30998 set dummy perl; ac_word=$2
30999 echo "$as_me:$LINENO: checking for $ac_word" >&5
31000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31001 if test "${ac_cv_path_PATH_PERL+set}" = set; then
31002 echo $ECHO_N "(cached) $ECHO_C" >&6
31006 ac_cv_path_PATH_PERL="$PATH_PERL" # Let the user override the test with a path.
31009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31010 for as_dir in $PATH
31013 test -z "$as_dir" && as_dir=.
31014 for ac_exec_ext in '' $ac_executable_extensions; do
31015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31016 ac_cv_path_PATH_PERL="$as_dir/$ac_word$ac_exec_ext"
31017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31026 PATH_PERL=$ac_cv_path_PATH_PERL
31028 if test -n "$PATH_PERL"; then
31029 echo "$as_me:$LINENO: result: $PATH_PERL" >&5
31030 echo "${ECHO_T}$PATH_PERL" >&6
31032 echo "$as_me:$LINENO: result: no" >&5
31033 echo "${ECHO_T}no" >&6
31039 cat >conftest.$ac_ext <<_ACEOF
31042 cat confdefs.h >>conftest.$ac_ext
31043 cat >>conftest.$ac_ext <<_ACEOF
31044 /* end confdefs.h. */
31045 #define ACAT(a,b)a ## b
31049 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
31050 $EGREP "Circus" >/dev/null 2>&1; then
31051 cat >>confdefs.h <<\_ACEOF
31052 #define ULONG_CONST(a) a ## UL
31056 cat >conftest.$ac_ext <<_ACEOF
31059 cat confdefs.h >>conftest.$ac_ext
31060 cat >>conftest.$ac_ext <<_ACEOF
31061 /* end confdefs.h. */
31062 #define RCAT(a,b)a/**/b
31066 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
31067 $EGREP "Reiser" >/dev/null 2>&1; then
31068 cat >>confdefs.h <<\_ACEOF
31069 #define ULONG_CONST(a) a/**/L
31073 { { echo "$as_me:$LINENO: error: How do we create an unsigned long constant?" >&5
31074 echo "$as_me: error: How do we create an unsigned long constant?" >&2;}
31075 { (exit 1); exit 1; }; }
31085 ac_link="$ac_link $VX_KERNEL"
31089 # Find a good install program. We prefer a C program (faster),
31090 # so one script is as good as another. But avoid the broken or
31091 # incompatible versions:
31092 # SysV /etc/install, /usr/sbin/install
31093 # SunOS /usr/etc/install
31094 # IRIX /sbin/install
31096 # AmigaOS /C/install, which installs bootblocks on floppy discs
31097 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
31098 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
31099 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
31100 # OS/2's system install, which has a completely different semantic
31101 # ./install, which can be erroneously created by make from ./install.sh.
31102 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
31103 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
31104 if test -z "$INSTALL"; then
31105 if test "${ac_cv_path_install+set}" = set; then
31106 echo $ECHO_N "(cached) $ECHO_C" >&6
31108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31109 for as_dir in $PATH
31112 test -z "$as_dir" && as_dir=.
31113 # Account for people who put trailing slashes in PATH elements.
31115 ./ | .// | /cC/* | \
31116 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
31117 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
31120 # OSF1 and SCO ODT 3.0 have their own names for install.
31121 # Don't use installbsd from OSF since it installs stuff as root
31123 for ac_prog in ginstall scoinst install; do
31124 for ac_exec_ext in '' $ac_executable_extensions; do
31125 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
31126 if test $ac_prog = install &&
31127 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
31128 # AIX install. It has an incompatible calling convention.
31130 elif test $ac_prog = install &&
31131 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
31132 # program-specific install script used by HP pwplus--don't use.
31135 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
31147 if test "${ac_cv_path_install+set}" = set; then
31148 INSTALL=$ac_cv_path_install
31150 # As a last resort, use the slow shell script. We don't cache a
31151 # path for INSTALL within a source directory, because that will
31152 # break other packages using the cache if that directory is
31153 # removed, or if the path is relative.
31154 INSTALL=$ac_install_sh
31157 echo "$as_me:$LINENO: result: $INSTALL" >&5
31158 echo "${ECHO_T}$INSTALL" >&6
31160 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
31161 # It thinks the first close brace ends the variable substitution.
31162 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
31164 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
31166 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
31172 echo "$as_me:$LINENO: checking for main in -ladvapi32" >&5
31173 echo $ECHO_N "checking for main in -ladvapi32... $ECHO_C" >&6
31174 if test "${ac_cv_lib_advapi32_main+set}" = set; then
31175 echo $ECHO_N "(cached) $ECHO_C" >&6
31177 ac_check_lib_save_LIBS=$LIBS
31178 LIBS="-ladvapi32 $LIBS"
31179 cat >conftest.$ac_ext <<_ACEOF
31182 cat confdefs.h >>conftest.$ac_ext
31183 cat >>conftest.$ac_ext <<_ACEOF
31184 /* end confdefs.h. */
31195 rm -f conftest.$ac_objext conftest$ac_exeext
31196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31197 (eval $ac_link) 2>conftest.er1
31199 grep -v '^ *+' conftest.er1 >conftest.err
31201 cat conftest.err >&5
31202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31203 (exit $ac_status); } &&
31204 { ac_try='test -z "$ac_c_werror_flag"
31205 || test ! -s conftest.err'
31206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31207 (eval $ac_try) 2>&5
31209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31210 (exit $ac_status); }; } &&
31211 { ac_try='test -s conftest$ac_exeext'
31212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31213 (eval $ac_try) 2>&5
31215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31216 (exit $ac_status); }; }; then
31217 ac_cv_lib_advapi32_main=yes
31219 echo "$as_me: failed program was:" >&5
31220 sed 's/^/| /' conftest.$ac_ext >&5
31222 ac_cv_lib_advapi32_main=no
31224 rm -f conftest.err conftest.$ac_objext \
31225 conftest$ac_exeext conftest.$ac_ext
31226 LIBS=$ac_check_lib_save_LIBS
31228 echo "$as_me:$LINENO: result: $ac_cv_lib_advapi32_main" >&5
31229 echo "${ECHO_T}$ac_cv_lib_advapi32_main" >&6
31230 if test $ac_cv_lib_advapi32_main = yes; then
31231 cat >>confdefs.h <<_ACEOF
31232 #define HAVE_LIBADVAPI32 1
31235 LIBS="-ladvapi32 $LIBS"
31242 echo "$as_me:$LINENO: checking for gethostent" >&5
31243 echo $ECHO_N "checking for gethostent... $ECHO_C" >&6
31244 if test "${ac_cv_func_gethostent+set}" = set; then
31245 echo $ECHO_N "(cached) $ECHO_C" >&6
31247 cat >conftest.$ac_ext <<_ACEOF
31250 cat confdefs.h >>conftest.$ac_ext
31251 cat >>conftest.$ac_ext <<_ACEOF
31252 /* end confdefs.h. */
31253 /* Define gethostent to an innocuous variant, in case <limits.h> declares gethostent.
31254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31255 #define gethostent innocuous_gethostent
31257 /* System header to define __stub macros and hopefully few prototypes,
31258 which can conflict with char gethostent (); below.
31259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31260 <limits.h> exists even on freestanding compilers. */
31263 # include <limits.h>
31265 # include <assert.h>
31270 /* Override any gcc2 internal prototype to avoid an error. */
31275 /* We use char because int might match the return type of a gcc2
31276 builtin and then its argument prototype would still apply. */
31277 char gethostent ();
31278 /* The GNU C library defines this for functions which it implements
31279 to always fail with ENOSYS. Some functions are actually named
31280 something starting with __ and the normal name is an alias. */
31281 #if defined (__stub_gethostent) || defined (__stub___gethostent)
31284 char (*f) () = gethostent;
31293 return f != gethostent;
31298 rm -f conftest.$ac_objext conftest$ac_exeext
31299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31300 (eval $ac_link) 2>conftest.er1
31302 grep -v '^ *+' conftest.er1 >conftest.err
31304 cat conftest.err >&5
31305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31306 (exit $ac_status); } &&
31307 { ac_try='test -z "$ac_c_werror_flag"
31308 || test ! -s conftest.err'
31309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31310 (eval $ac_try) 2>&5
31312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31313 (exit $ac_status); }; } &&
31314 { ac_try='test -s conftest$ac_exeext'
31315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31316 (eval $ac_try) 2>&5
31318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31319 (exit $ac_status); }; }; then
31320 ac_cv_func_gethostent=yes
31322 echo "$as_me: failed program was:" >&5
31323 sed 's/^/| /' conftest.$ac_ext >&5
31325 ac_cv_func_gethostent=no
31327 rm -f conftest.err conftest.$ac_objext \
31328 conftest$ac_exeext conftest.$ac_ext
31330 echo "$as_me:$LINENO: result: $ac_cv_func_gethostent" >&5
31331 echo "${ECHO_T}$ac_cv_func_gethostent" >&6
31332 if test $ac_cv_func_gethostent = yes; then
31336 echo "$as_me:$LINENO: checking for gethostent in -lnsl" >&5
31337 echo $ECHO_N "checking for gethostent in -lnsl... $ECHO_C" >&6
31338 if test "${ac_cv_lib_nsl_gethostent+set}" = set; then
31339 echo $ECHO_N "(cached) $ECHO_C" >&6
31341 ac_check_lib_save_LIBS=$LIBS
31342 LIBS="-lnsl $libxnet -lsocket $LIBS"
31343 cat >conftest.$ac_ext <<_ACEOF
31346 cat confdefs.h >>conftest.$ac_ext
31347 cat >>conftest.$ac_ext <<_ACEOF
31348 /* end confdefs.h. */
31350 /* Override any gcc2 internal prototype to avoid an error. */
31354 /* We use char because int might match the return type of a gcc2
31355 builtin and then its argument prototype would still apply. */
31356 char gethostent ();
31365 rm -f conftest.$ac_objext conftest$ac_exeext
31366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31367 (eval $ac_link) 2>conftest.er1
31369 grep -v '^ *+' conftest.er1 >conftest.err
31371 cat conftest.err >&5
31372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31373 (exit $ac_status); } &&
31374 { ac_try='test -z "$ac_c_werror_flag"
31375 || test ! -s conftest.err'
31376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31377 (eval $ac_try) 2>&5
31379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31380 (exit $ac_status); }; } &&
31381 { ac_try='test -s conftest$ac_exeext'
31382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31383 (eval $ac_try) 2>&5
31385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31386 (exit $ac_status); }; }; then
31387 ac_cv_lib_nsl_gethostent=yes
31389 echo "$as_me: failed program was:" >&5
31390 sed 's/^/| /' conftest.$ac_ext >&5
31392 ac_cv_lib_nsl_gethostent=no
31394 rm -f conftest.err conftest.$ac_objext \
31395 conftest$ac_exeext conftest.$ac_ext
31396 LIBS=$ac_check_lib_save_LIBS
31398 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostent" >&5
31399 echo "${ECHO_T}$ac_cv_lib_nsl_gethostent" >&6
31400 if test $ac_cv_lib_nsl_gethostent = yes; then
31401 cat >>confdefs.h <<_ACEOF
31402 #define HAVE_LIBNSL 1
31411 echo "$as_me:$LINENO: checking for openlog" >&5
31412 echo $ECHO_N "checking for openlog... $ECHO_C" >&6
31413 if test "${ac_cv_func_openlog+set}" = set; then
31414 echo $ECHO_N "(cached) $ECHO_C" >&6
31416 cat >conftest.$ac_ext <<_ACEOF
31419 cat confdefs.h >>conftest.$ac_ext
31420 cat >>conftest.$ac_ext <<_ACEOF
31421 /* end confdefs.h. */
31422 /* Define openlog to an innocuous variant, in case <limits.h> declares openlog.
31423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31424 #define openlog innocuous_openlog
31426 /* System header to define __stub macros and hopefully few prototypes,
31427 which can conflict with char openlog (); below.
31428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31429 <limits.h> exists even on freestanding compilers. */
31432 # include <limits.h>
31434 # include <assert.h>
31439 /* Override any gcc2 internal prototype to avoid an error. */
31444 /* We use char because int might match the return type of a gcc2
31445 builtin and then its argument prototype would still apply. */
31447 /* The GNU C library defines this for functions which it implements
31448 to always fail with ENOSYS. Some functions are actually named
31449 something starting with __ and the normal name is an alias. */
31450 #if defined (__stub_openlog) || defined (__stub___openlog)
31453 char (*f) () = openlog;
31462 return f != openlog;
31467 rm -f conftest.$ac_objext conftest$ac_exeext
31468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31469 (eval $ac_link) 2>conftest.er1
31471 grep -v '^ *+' conftest.er1 >conftest.err
31473 cat conftest.err >&5
31474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31475 (exit $ac_status); } &&
31476 { ac_try='test -z "$ac_c_werror_flag"
31477 || test ! -s conftest.err'
31478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31479 (eval $ac_try) 2>&5
31481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31482 (exit $ac_status); }; } &&
31483 { ac_try='test -s conftest$ac_exeext'
31484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31485 (eval $ac_try) 2>&5
31487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31488 (exit $ac_status); }; }; then
31489 ac_cv_func_openlog=yes
31491 echo "$as_me: failed program was:" >&5
31492 sed 's/^/| /' conftest.$ac_ext >&5
31494 ac_cv_func_openlog=no
31496 rm -f conftest.err conftest.$ac_objext \
31497 conftest$ac_exeext conftest.$ac_ext
31499 echo "$as_me:$LINENO: result: $ac_cv_func_openlog" >&5
31500 echo "${ECHO_T}$ac_cv_func_openlog" >&6
31501 if test $ac_cv_func_openlog = yes; then
31505 echo "$as_me:$LINENO: checking for openlog in -lgen" >&5
31506 echo $ECHO_N "checking for openlog in -lgen... $ECHO_C" >&6
31507 if test "${ac_cv_lib_gen_openlog+set}" = set; then
31508 echo $ECHO_N "(cached) $ECHO_C" >&6
31510 ac_check_lib_save_LIBS=$LIBS
31512 cat >conftest.$ac_ext <<_ACEOF
31515 cat confdefs.h >>conftest.$ac_ext
31516 cat >>conftest.$ac_ext <<_ACEOF
31517 /* end confdefs.h. */
31519 /* Override any gcc2 internal prototype to avoid an error. */
31523 /* We use char because int might match the return type of a gcc2
31524 builtin and then its argument prototype would still apply. */
31534 rm -f conftest.$ac_objext conftest$ac_exeext
31535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31536 (eval $ac_link) 2>conftest.er1
31538 grep -v '^ *+' conftest.er1 >conftest.err
31540 cat conftest.err >&5
31541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31542 (exit $ac_status); } &&
31543 { ac_try='test -z "$ac_c_werror_flag"
31544 || test ! -s conftest.err'
31545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31546 (eval $ac_try) 2>&5
31548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31549 (exit $ac_status); }; } &&
31550 { ac_try='test -s conftest$ac_exeext'
31551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31552 (eval $ac_try) 2>&5
31554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31555 (exit $ac_status); }; }; then
31556 ac_cv_lib_gen_openlog=yes
31558 echo "$as_me: failed program was:" >&5
31559 sed 's/^/| /' conftest.$ac_ext >&5
31561 ac_cv_lib_gen_openlog=no
31563 rm -f conftest.err conftest.$ac_objext \
31564 conftest$ac_exeext conftest.$ac_ext
31565 LIBS=$ac_check_lib_save_LIBS
31567 echo "$as_me:$LINENO: result: $ac_cv_lib_gen_openlog" >&5
31568 echo "${ECHO_T}$ac_cv_lib_gen_openlog" >&6
31569 if test $ac_cv_lib_gen_openlog = yes; then
31570 cat >>confdefs.h <<_ACEOF
31571 #define HAVE_LIBGEN 1
31578 echo "$as_me:$LINENO: checking for openlog in -lsyslog" >&5
31579 echo $ECHO_N "checking for openlog in -lsyslog... $ECHO_C" >&6
31580 if test "${ac_cv_lib_syslog_openlog+set}" = set; then
31581 echo $ECHO_N "(cached) $ECHO_C" >&6
31583 ac_check_lib_save_LIBS=$LIBS
31584 LIBS="-lsyslog $libxnet -lsocket $LIBS"
31585 cat >conftest.$ac_ext <<_ACEOF
31588 cat confdefs.h >>conftest.$ac_ext
31589 cat >>conftest.$ac_ext <<_ACEOF
31590 /* end confdefs.h. */
31592 /* Override any gcc2 internal prototype to avoid an error. */
31596 /* We use char because int might match the return type of a gcc2
31597 builtin and then its argument prototype would still apply. */
31607 rm -f conftest.$ac_objext conftest$ac_exeext
31608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31609 (eval $ac_link) 2>conftest.er1
31611 grep -v '^ *+' conftest.er1 >conftest.err
31613 cat conftest.err >&5
31614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31615 (exit $ac_status); } &&
31616 { ac_try='test -z "$ac_c_werror_flag"
31617 || test ! -s conftest.err'
31618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31619 (eval $ac_try) 2>&5
31621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31622 (exit $ac_status); }; } &&
31623 { ac_try='test -s conftest$ac_exeext'
31624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31625 (eval $ac_try) 2>&5
31627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31628 (exit $ac_status); }; }; then
31629 ac_cv_lib_syslog_openlog=yes
31631 echo "$as_me: failed program was:" >&5
31632 sed 's/^/| /' conftest.$ac_ext >&5
31634 ac_cv_lib_syslog_openlog=no
31636 rm -f conftest.err conftest.$ac_objext \
31637 conftest$ac_exeext conftest.$ac_ext
31638 LIBS=$ac_check_lib_save_LIBS
31640 echo "$as_me:$LINENO: result: $ac_cv_lib_syslog_openlog" >&5
31641 echo "${ECHO_T}$ac_cv_lib_syslog_openlog" >&6
31642 if test $ac_cv_lib_syslog_openlog = yes; then
31643 cat >>confdefs.h <<_ACEOF
31644 #define HAVE_LIBSYSLOG 1
31647 LIBS="-lsyslog $LIBS"
31656 echo "$as_me:$LINENO: checking for MD5Init in -lmd5" >&5
31657 echo $ECHO_N "checking for MD5Init in -lmd5... $ECHO_C" >&6
31658 if test "${ac_cv_lib_md5_MD5Init+set}" = set; then
31659 echo $ECHO_N "(cached) $ECHO_C" >&6
31661 ac_check_lib_save_LIBS=$LIBS
31663 cat >conftest.$ac_ext <<_ACEOF
31666 cat confdefs.h >>conftest.$ac_ext
31667 cat >>conftest.$ac_ext <<_ACEOF
31668 /* end confdefs.h. */
31670 /* Override any gcc2 internal prototype to avoid an error. */
31674 /* We use char because int might match the return type of a gcc2
31675 builtin and then its argument prototype would still apply. */
31685 rm -f conftest.$ac_objext conftest$ac_exeext
31686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31687 (eval $ac_link) 2>conftest.er1
31689 grep -v '^ *+' conftest.er1 >conftest.err
31691 cat conftest.err >&5
31692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31693 (exit $ac_status); } &&
31694 { ac_try='test -z "$ac_c_werror_flag"
31695 || test ! -s conftest.err'
31696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31697 (eval $ac_try) 2>&5
31699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31700 (exit $ac_status); }; } &&
31701 { ac_try='test -s conftest$ac_exeext'
31702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31703 (eval $ac_try) 2>&5
31705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31706 (exit $ac_status); }; }; then
31707 ac_cv_lib_md5_MD5Init=yes
31709 echo "$as_me: failed program was:" >&5
31710 sed 's/^/| /' conftest.$ac_ext >&5
31712 ac_cv_lib_md5_MD5Init=no
31714 rm -f conftest.err conftest.$ac_objext \
31715 conftest$ac_exeext conftest.$ac_ext
31716 LIBS=$ac_check_lib_save_LIBS
31718 echo "$as_me:$LINENO: result: $ac_cv_lib_md5_MD5Init" >&5
31719 echo "${ECHO_T}$ac_cv_lib_md5_MD5Init" >&6
31720 if test $ac_cv_lib_md5_MD5Init = yes; then
31721 cat >>confdefs.h <<_ACEOF
31722 #define HAVE_LIBMD5 1
31729 echo "$as_me:$LINENO: checking for MD5Init in -lmd" >&5
31730 echo $ECHO_N "checking for MD5Init in -lmd... $ECHO_C" >&6
31731 if test "${ac_cv_lib_md_MD5Init+set}" = set; then
31732 echo $ECHO_N "(cached) $ECHO_C" >&6
31734 ac_check_lib_save_LIBS=$LIBS
31736 cat >conftest.$ac_ext <<_ACEOF
31739 cat confdefs.h >>conftest.$ac_ext
31740 cat >>conftest.$ac_ext <<_ACEOF
31741 /* end confdefs.h. */
31743 /* Override any gcc2 internal prototype to avoid an error. */
31747 /* We use char because int might match the return type of a gcc2
31748 builtin and then its argument prototype would still apply. */
31758 rm -f conftest.$ac_objext conftest$ac_exeext
31759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31760 (eval $ac_link) 2>conftest.er1
31762 grep -v '^ *+' conftest.er1 >conftest.err
31764 cat conftest.err >&5
31765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31766 (exit $ac_status); } &&
31767 { ac_try='test -z "$ac_c_werror_flag"
31768 || test ! -s conftest.err'
31769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31770 (eval $ac_try) 2>&5
31772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31773 (exit $ac_status); }; } &&
31774 { ac_try='test -s conftest$ac_exeext'
31775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31776 (eval $ac_try) 2>&5
31778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31779 (exit $ac_status); }; }; then
31780 ac_cv_lib_md_MD5Init=yes
31782 echo "$as_me: failed program was:" >&5
31783 sed 's/^/| /' conftest.$ac_ext >&5
31785 ac_cv_lib_md_MD5Init=no
31787 rm -f conftest.err conftest.$ac_objext \
31788 conftest$ac_exeext conftest.$ac_ext
31789 LIBS=$ac_check_lib_save_LIBS
31791 echo "$as_me:$LINENO: result: $ac_cv_lib_md_MD5Init" >&5
31792 echo "${ECHO_T}$ac_cv_lib_md_MD5Init" >&6
31793 if test $ac_cv_lib_md_MD5Init = yes; then
31794 cat >>confdefs.h <<_ACEOF
31795 #define HAVE_LIBMD 1
31805 for ac_func in MD5Init
31807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31808 echo "$as_me:$LINENO: checking for $ac_func" >&5
31809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31810 if eval "test \"\${$as_ac_var+set}\" = set"; then
31811 echo $ECHO_N "(cached) $ECHO_C" >&6
31813 cat >conftest.$ac_ext <<_ACEOF
31816 cat confdefs.h >>conftest.$ac_ext
31817 cat >>conftest.$ac_ext <<_ACEOF
31818 /* end confdefs.h. */
31819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31821 #define $ac_func innocuous_$ac_func
31823 /* System header to define __stub macros and hopefully few prototypes,
31824 which can conflict with char $ac_func (); below.
31825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31826 <limits.h> exists even on freestanding compilers. */
31829 # include <limits.h>
31831 # include <assert.h>
31836 /* Override any gcc2 internal prototype to avoid an error. */
31841 /* We use char because int might match the return type of a gcc2
31842 builtin and then its argument prototype would still apply. */
31844 /* The GNU C library defines this for functions which it implements
31845 to always fail with ENOSYS. Some functions are actually named
31846 something starting with __ and the normal name is an alias. */
31847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31850 char (*f) () = $ac_func;
31859 return f != $ac_func;
31864 rm -f conftest.$ac_objext conftest$ac_exeext
31865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31866 (eval $ac_link) 2>conftest.er1
31868 grep -v '^ *+' conftest.er1 >conftest.err
31870 cat conftest.err >&5
31871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31872 (exit $ac_status); } &&
31873 { ac_try='test -z "$ac_c_werror_flag"
31874 || test ! -s conftest.err'
31875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31876 (eval $ac_try) 2>&5
31878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31879 (exit $ac_status); }; } &&
31880 { ac_try='test -s conftest$ac_exeext'
31881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31882 (eval $ac_try) 2>&5
31884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31885 (exit $ac_status); }; }; then
31886 eval "$as_ac_var=yes"
31888 echo "$as_me: failed program was:" >&5
31889 sed 's/^/| /' conftest.$ac_ext >&5
31891 eval "$as_ac_var=no"
31893 rm -f conftest.err conftest.$ac_objext \
31894 conftest$ac_exeext conftest.$ac_ext
31896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31898 if test `eval echo '${'$as_ac_var'}'` = yes; then
31899 cat >>confdefs.h <<_ACEOF
31900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31908 for ac_header in readline/history.h readline/readline.h
31910 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31912 echo "$as_me:$LINENO: checking for $ac_header" >&5
31913 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31915 echo $ECHO_N "(cached) $ECHO_C" >&6
31917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31920 # Is the header compilable?
31921 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31922 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31923 cat >conftest.$ac_ext <<_ACEOF
31926 cat confdefs.h >>conftest.$ac_ext
31927 cat >>conftest.$ac_ext <<_ACEOF
31928 /* end confdefs.h. */
31929 $ac_includes_default
31930 #include <$ac_header>
31932 rm -f conftest.$ac_objext
31933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31934 (eval $ac_compile) 2>conftest.er1
31936 grep -v '^ *+' conftest.er1 >conftest.err
31938 cat conftest.err >&5
31939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31940 (exit $ac_status); } &&
31941 { ac_try='test -z "$ac_c_werror_flag"
31942 || test ! -s conftest.err'
31943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31944 (eval $ac_try) 2>&5
31946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31947 (exit $ac_status); }; } &&
31948 { ac_try='test -s conftest.$ac_objext'
31949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31950 (eval $ac_try) 2>&5
31952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31953 (exit $ac_status); }; }; then
31954 ac_header_compiler=yes
31956 echo "$as_me: failed program was:" >&5
31957 sed 's/^/| /' conftest.$ac_ext >&5
31959 ac_header_compiler=no
31961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31962 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31963 echo "${ECHO_T}$ac_header_compiler" >&6
31965 # Is the header present?
31966 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31967 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31968 cat >conftest.$ac_ext <<_ACEOF
31971 cat confdefs.h >>conftest.$ac_ext
31972 cat >>conftest.$ac_ext <<_ACEOF
31973 /* end confdefs.h. */
31974 #include <$ac_header>
31976 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31977 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31979 grep -v '^ *+' conftest.er1 >conftest.err
31981 cat conftest.err >&5
31982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31983 (exit $ac_status); } >/dev/null; then
31984 if test -s conftest.err; then
31985 ac_cpp_err=$ac_c_preproc_warn_flag
31986 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31993 if test -z "$ac_cpp_err"; then
31994 ac_header_preproc=yes
31996 echo "$as_me: failed program was:" >&5
31997 sed 's/^/| /' conftest.$ac_ext >&5
31999 ac_header_preproc=no
32001 rm -f conftest.err conftest.$ac_ext
32002 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32003 echo "${ECHO_T}$ac_header_preproc" >&6
32005 # So? What about this header?
32006 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32008 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32009 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32010 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32011 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32012 ac_header_preproc=yes
32015 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32016 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32017 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32018 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32019 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32020 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32021 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32022 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32023 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32024 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32025 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32026 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32029 ## ------------------------------ ##
32030 ## Report this to the ntp lists. ##
32031 ## ------------------------------ ##
32034 sed "s/^/$as_me: WARNING: /" >&2
32037 echo "$as_me:$LINENO: checking for $ac_header" >&5
32038 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32040 echo $ECHO_N "(cached) $ECHO_C" >&6
32042 eval "$as_ac_Header=\$ac_header_preproc"
32044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32045 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32048 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32049 cat >>confdefs.h <<_ACEOF
32050 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32057 case "$ac_cv_header_readline_history_h$ac_cv_header_readline_readline_h" in
32061 # Ralf Wildenhues: either unset ... or cache READLINE_LIBS
32062 unset ac_cv_lib_readline_readline
32064 echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
32065 echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6
32066 if test "${ac_cv_lib_readline_readline+set}" = set; then
32067 echo $ECHO_N "(cached) $ECHO_C" >&6
32069 ac_check_lib_save_LIBS=$LIBS
32070 LIBS="-lreadline $LIBS"
32071 cat >conftest.$ac_ext <<_ACEOF
32074 cat confdefs.h >>conftest.$ac_ext
32075 cat >>conftest.$ac_ext <<_ACEOF
32076 /* end confdefs.h. */
32078 /* Override any gcc2 internal prototype to avoid an error. */
32082 /* We use char because int might match the return type of a gcc2
32083 builtin and then its argument prototype would still apply. */
32093 rm -f conftest.$ac_objext conftest$ac_exeext
32094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32095 (eval $ac_link) 2>conftest.er1
32097 grep -v '^ *+' conftest.er1 >conftest.err
32099 cat conftest.err >&5
32100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32101 (exit $ac_status); } &&
32102 { ac_try='test -z "$ac_c_werror_flag"
32103 || test ! -s conftest.err'
32104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32105 (eval $ac_try) 2>&5
32107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32108 (exit $ac_status); }; } &&
32109 { ac_try='test -s conftest$ac_exeext'
32110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32111 (eval $ac_try) 2>&5
32113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32114 (exit $ac_status); }; }; then
32115 ac_cv_lib_readline_readline=yes
32117 echo "$as_me: failed program was:" >&5
32118 sed 's/^/| /' conftest.$ac_ext >&5
32120 ac_cv_lib_readline_readline=no
32122 rm -f conftest.err conftest.$ac_objext \
32123 conftest$ac_exeext conftest.$ac_ext
32124 LIBS=$ac_check_lib_save_LIBS
32126 echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
32127 echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6
32128 if test $ac_cv_lib_readline_readline = yes; then
32129 cat >>confdefs.h <<_ACEOF
32130 #define HAVE_LIBREADLINE 1
32133 LIBS="-lreadline $LIBS"
32136 { echo "$as_me:$LINENO: Trying again with -lcurses" >&5
32137 echo "$as_me: Trying again with -lcurses" >&6;}
32138 unset ac_cv_lib_readline_readline
32139 echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
32140 echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6
32141 if test "${ac_cv_lib_readline_readline+set}" = set; then
32142 echo $ECHO_N "(cached) $ECHO_C" >&6
32144 ac_check_lib_save_LIBS=$LIBS
32145 LIBS="-lreadline -lcurses $LIBS"
32146 cat >conftest.$ac_ext <<_ACEOF
32149 cat confdefs.h >>conftest.$ac_ext
32150 cat >>conftest.$ac_ext <<_ACEOF
32151 /* end confdefs.h. */
32153 /* Override any gcc2 internal prototype to avoid an error. */
32157 /* We use char because int might match the return type of a gcc2
32158 builtin and then its argument prototype would still apply. */
32168 rm -f conftest.$ac_objext conftest$ac_exeext
32169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32170 (eval $ac_link) 2>conftest.er1
32172 grep -v '^ *+' conftest.er1 >conftest.err
32174 cat conftest.err >&5
32175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32176 (exit $ac_status); } &&
32177 { ac_try='test -z "$ac_c_werror_flag"
32178 || test ! -s conftest.err'
32179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32180 (eval $ac_try) 2>&5
32182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32183 (exit $ac_status); }; } &&
32184 { ac_try='test -s conftest$ac_exeext'
32185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32186 (eval $ac_try) 2>&5
32188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32189 (exit $ac_status); }; }; then
32190 ac_cv_lib_readline_readline=yes
32192 echo "$as_me: failed program was:" >&5
32193 sed 's/^/| /' conftest.$ac_ext >&5
32195 ac_cv_lib_readline_readline=no
32197 rm -f conftest.err conftest.$ac_objext \
32198 conftest$ac_exeext conftest.$ac_ext
32199 LIBS=$ac_check_lib_save_LIBS
32201 echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
32202 echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6
32203 if test $ac_cv_lib_readline_readline = yes; then
32204 LIBS="-lreadline -lcurses $LIBS"
32205 cat >>confdefs.h <<\_ACEOF
32206 #define HAVE_LIBREADLINE 1
32210 cat >>confdefs.h <<\_ACEOF
32211 #define HAVE_LIBCURSES
32215 echo "$as_me:$LINENO: checking for readline in -ledit" >&5
32216 echo $ECHO_N "checking for readline in -ledit... $ECHO_C" >&6
32217 if test "${ac_cv_lib_edit_readline+set}" = set; then
32218 echo $ECHO_N "(cached) $ECHO_C" >&6
32220 ac_check_lib_save_LIBS=$LIBS
32221 LIBS="-ledit -lcurses $LIBS"
32222 cat >conftest.$ac_ext <<_ACEOF
32225 cat confdefs.h >>conftest.$ac_ext
32226 cat >>conftest.$ac_ext <<_ACEOF
32227 /* end confdefs.h. */
32229 /* Override any gcc2 internal prototype to avoid an error. */
32233 /* We use char because int might match the return type of a gcc2
32234 builtin and then its argument prototype would still apply. */
32244 rm -f conftest.$ac_objext conftest$ac_exeext
32245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32246 (eval $ac_link) 2>conftest.er1
32248 grep -v '^ *+' conftest.er1 >conftest.err
32250 cat conftest.err >&5
32251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32252 (exit $ac_status); } &&
32253 { ac_try='test -z "$ac_c_werror_flag"
32254 || test ! -s conftest.err'
32255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32256 (eval $ac_try) 2>&5
32258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32259 (exit $ac_status); }; } &&
32260 { ac_try='test -s conftest$ac_exeext'
32261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32262 (eval $ac_try) 2>&5
32264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32265 (exit $ac_status); }; }; then
32266 ac_cv_lib_edit_readline=yes
32268 echo "$as_me: failed program was:" >&5
32269 sed 's/^/| /' conftest.$ac_ext >&5
32271 ac_cv_lib_edit_readline=no
32273 rm -f conftest.err conftest.$ac_objext \
32274 conftest$ac_exeext conftest.$ac_ext
32275 LIBS=$ac_check_lib_save_LIBS
32277 echo "$as_me:$LINENO: result: $ac_cv_lib_edit_readline" >&5
32278 echo "${ECHO_T}$ac_cv_lib_edit_readline" >&6
32279 if test $ac_cv_lib_edit_readline = yes; then
32280 LIBS="-ledit -lcurses"
32282 cat >>confdefs.h <<\_ACEOF
32283 #define HAVE_LIBEDIT
32287 cat >>confdefs.h <<\_ACEOF
32288 #define HAVE_LIBCURSES
32299 READLINE_LIBS=$LIBS
32310 echo "$as_me:$LINENO: checking for sched_setscheduler in -lrt" >&5
32311 echo $ECHO_N "checking for sched_setscheduler in -lrt... $ECHO_C" >&6
32312 if test "${ac_cv_lib_rt_sched_setscheduler+set}" = set; then
32313 echo $ECHO_N "(cached) $ECHO_C" >&6
32315 ac_check_lib_save_LIBS=$LIBS
32317 cat >conftest.$ac_ext <<_ACEOF
32320 cat confdefs.h >>conftest.$ac_ext
32321 cat >>conftest.$ac_ext <<_ACEOF
32322 /* end confdefs.h. */
32324 /* Override any gcc2 internal prototype to avoid an error. */
32328 /* We use char because int might match the return type of a gcc2
32329 builtin and then its argument prototype would still apply. */
32330 char sched_setscheduler ();
32334 sched_setscheduler ();
32339 rm -f conftest.$ac_objext conftest$ac_exeext
32340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32341 (eval $ac_link) 2>conftest.er1
32343 grep -v '^ *+' conftest.er1 >conftest.err
32345 cat conftest.err >&5
32346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32347 (exit $ac_status); } &&
32348 { ac_try='test -z "$ac_c_werror_flag"
32349 || test ! -s conftest.err'
32350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32351 (eval $ac_try) 2>&5
32353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32354 (exit $ac_status); }; } &&
32355 { ac_try='test -s conftest$ac_exeext'
32356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32357 (eval $ac_try) 2>&5
32359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32360 (exit $ac_status); }; }; then
32361 ac_cv_lib_rt_sched_setscheduler=yes
32363 echo "$as_me: failed program was:" >&5
32364 sed 's/^/| /' conftest.$ac_ext >&5
32366 ac_cv_lib_rt_sched_setscheduler=no
32368 rm -f conftest.err conftest.$ac_objext \
32369 conftest$ac_exeext conftest.$ac_ext
32370 LIBS=$ac_check_lib_save_LIBS
32372 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_setscheduler" >&5
32373 echo "${ECHO_T}$ac_cv_lib_rt_sched_setscheduler" >&6
32374 if test $ac_cv_lib_rt_sched_setscheduler = yes; then
32375 cat >>confdefs.h <<_ACEOF
32376 #define HAVE_LIBRT 1
32383 echo "$as_me:$LINENO: checking for sched_setscheduler in -lposix4" >&5
32384 echo $ECHO_N "checking for sched_setscheduler in -lposix4... $ECHO_C" >&6
32385 if test "${ac_cv_lib_posix4_sched_setscheduler+set}" = set; then
32386 echo $ECHO_N "(cached) $ECHO_C" >&6
32388 ac_check_lib_save_LIBS=$LIBS
32389 LIBS="-lposix4 $LIBS"
32390 cat >conftest.$ac_ext <<_ACEOF
32393 cat confdefs.h >>conftest.$ac_ext
32394 cat >>conftest.$ac_ext <<_ACEOF
32395 /* end confdefs.h. */
32397 /* Override any gcc2 internal prototype to avoid an error. */
32401 /* We use char because int might match the return type of a gcc2
32402 builtin and then its argument prototype would still apply. */
32403 char sched_setscheduler ();
32407 sched_setscheduler ();
32412 rm -f conftest.$ac_objext conftest$ac_exeext
32413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32414 (eval $ac_link) 2>conftest.er1
32416 grep -v '^ *+' conftest.er1 >conftest.err
32418 cat conftest.err >&5
32419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32420 (exit $ac_status); } &&
32421 { ac_try='test -z "$ac_c_werror_flag"
32422 || test ! -s conftest.err'
32423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32424 (eval $ac_try) 2>&5
32426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32427 (exit $ac_status); }; } &&
32428 { ac_try='test -s conftest$ac_exeext'
32429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32430 (eval $ac_try) 2>&5
32432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32433 (exit $ac_status); }; }; then
32434 ac_cv_lib_posix4_sched_setscheduler=yes
32436 echo "$as_me: failed program was:" >&5
32437 sed 's/^/| /' conftest.$ac_ext >&5
32439 ac_cv_lib_posix4_sched_setscheduler=no
32441 rm -f conftest.err conftest.$ac_objext \
32442 conftest$ac_exeext conftest.$ac_ext
32443 LIBS=$ac_check_lib_save_LIBS
32445 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_setscheduler" >&5
32446 echo "${ECHO_T}$ac_cv_lib_posix4_sched_setscheduler" >&6
32447 if test $ac_cv_lib_posix4_sched_setscheduler = yes; then
32448 cat >>confdefs.h <<_ACEOF
32449 #define HAVE_LIBPOSIX4 1
32452 LIBS="-lposix4 $LIBS"
32461 echo "$as_me:$LINENO: checking for setsockopt" >&5
32462 echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
32463 if test "${ac_cv_func_setsockopt+set}" = set; then
32464 echo $ECHO_N "(cached) $ECHO_C" >&6
32466 cat >conftest.$ac_ext <<_ACEOF
32469 cat confdefs.h >>conftest.$ac_ext
32470 cat >>conftest.$ac_ext <<_ACEOF
32471 /* end confdefs.h. */
32472 /* Define setsockopt to an innocuous variant, in case <limits.h> declares setsockopt.
32473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32474 #define setsockopt innocuous_setsockopt
32476 /* System header to define __stub macros and hopefully few prototypes,
32477 which can conflict with char setsockopt (); below.
32478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32479 <limits.h> exists even on freestanding compilers. */
32482 # include <limits.h>
32484 # include <assert.h>
32489 /* Override any gcc2 internal prototype to avoid an error. */
32494 /* We use char because int might match the return type of a gcc2
32495 builtin and then its argument prototype would still apply. */
32496 char setsockopt ();
32497 /* The GNU C library defines this for functions which it implements
32498 to always fail with ENOSYS. Some functions are actually named
32499 something starting with __ and the normal name is an alias. */
32500 #if defined (__stub_setsockopt) || defined (__stub___setsockopt)
32503 char (*f) () = setsockopt;
32512 return f != setsockopt;
32517 rm -f conftest.$ac_objext conftest$ac_exeext
32518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32519 (eval $ac_link) 2>conftest.er1
32521 grep -v '^ *+' conftest.er1 >conftest.err
32523 cat conftest.err >&5
32524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32525 (exit $ac_status); } &&
32526 { ac_try='test -z "$ac_c_werror_flag"
32527 || test ! -s conftest.err'
32528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32529 (eval $ac_try) 2>&5
32531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32532 (exit $ac_status); }; } &&
32533 { ac_try='test -s conftest$ac_exeext'
32534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32535 (eval $ac_try) 2>&5
32537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32538 (exit $ac_status); }; }; then
32539 ac_cv_func_setsockopt=yes
32541 echo "$as_me: failed program was:" >&5
32542 sed 's/^/| /' conftest.$ac_ext >&5
32544 ac_cv_func_setsockopt=no
32546 rm -f conftest.err conftest.$ac_objext \
32547 conftest$ac_exeext conftest.$ac_ext
32549 echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5
32550 echo "${ECHO_T}$ac_cv_func_setsockopt" >&6
32551 if test $ac_cv_func_setsockopt = yes; then
32555 echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5
32556 echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6
32557 if test "${ac_cv_lib_socket_setsockopt+set}" = set; then
32558 echo $ECHO_N "(cached) $ECHO_C" >&6
32560 ac_check_lib_save_LIBS=$LIBS
32561 LIBS="-lsocket $LIBS"
32562 cat >conftest.$ac_ext <<_ACEOF
32565 cat confdefs.h >>conftest.$ac_ext
32566 cat >>conftest.$ac_ext <<_ACEOF
32567 /* end confdefs.h. */
32569 /* Override any gcc2 internal prototype to avoid an error. */
32573 /* We use char because int might match the return type of a gcc2
32574 builtin and then its argument prototype would still apply. */
32575 char setsockopt ();
32584 rm -f conftest.$ac_objext conftest$ac_exeext
32585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32586 (eval $ac_link) 2>conftest.er1
32588 grep -v '^ *+' conftest.er1 >conftest.err
32590 cat conftest.err >&5
32591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32592 (exit $ac_status); } &&
32593 { ac_try='test -z "$ac_c_werror_flag"
32594 || test ! -s conftest.err'
32595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32596 (eval $ac_try) 2>&5
32598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32599 (exit $ac_status); }; } &&
32600 { ac_try='test -s conftest$ac_exeext'
32601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32602 (eval $ac_try) 2>&5
32604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32605 (exit $ac_status); }; }; then
32606 ac_cv_lib_socket_setsockopt=yes
32608 echo "$as_me: failed program was:" >&5
32609 sed 's/^/| /' conftest.$ac_ext >&5
32611 ac_cv_lib_socket_setsockopt=no
32613 rm -f conftest.err conftest.$ac_objext \
32614 conftest$ac_exeext conftest.$ac_ext
32615 LIBS=$ac_check_lib_save_LIBS
32617 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5
32618 echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6
32619 if test $ac_cv_lib_socket_setsockopt = yes; then
32620 cat >>confdefs.h <<_ACEOF
32621 #define HAVE_LIBSOCKET 1
32624 LIBS="-lsocket $LIBS"
32629 echo "$as_me:$LINENO: checking for setsockopt in -lxnet" >&5
32630 echo $ECHO_N "checking for setsockopt in -lxnet... $ECHO_C" >&6
32631 if test "${ac_cv_lib_xnet_setsockopt+set}" = set; then
32632 echo $ECHO_N "(cached) $ECHO_C" >&6
32634 ac_check_lib_save_LIBS=$LIBS
32635 LIBS="-lxnet $LIBS"
32636 cat >conftest.$ac_ext <<_ACEOF
32639 cat confdefs.h >>conftest.$ac_ext
32640 cat >>conftest.$ac_ext <<_ACEOF
32641 /* end confdefs.h. */
32643 /* Override any gcc2 internal prototype to avoid an error. */
32647 /* We use char because int might match the return type of a gcc2
32648 builtin and then its argument prototype would still apply. */
32649 char setsockopt ();
32658 rm -f conftest.$ac_objext conftest$ac_exeext
32659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32660 (eval $ac_link) 2>conftest.er1
32662 grep -v '^ *+' conftest.er1 >conftest.err
32664 cat conftest.err >&5
32665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32666 (exit $ac_status); } &&
32667 { ac_try='test -z "$ac_c_werror_flag"
32668 || test ! -s conftest.err'
32669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32670 (eval $ac_try) 2>&5
32672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32673 (exit $ac_status); }; } &&
32674 { ac_try='test -s conftest$ac_exeext'
32675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32676 (eval $ac_try) 2>&5
32678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32679 (exit $ac_status); }; }; then
32680 ac_cv_lib_xnet_setsockopt=yes
32682 echo "$as_me: failed program was:" >&5
32683 sed 's/^/| /' conftest.$ac_ext >&5
32685 ac_cv_lib_xnet_setsockopt=no
32687 rm -f conftest.err conftest.$ac_objext \
32688 conftest$ac_exeext conftest.$ac_ext
32689 LIBS=$ac_check_lib_save_LIBS
32691 echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_setsockopt" >&5
32692 echo "${ECHO_T}$ac_cv_lib_xnet_setsockopt" >&6
32693 if test $ac_cv_lib_xnet_setsockopt = yes; then
32694 cat >>confdefs.h <<_ACEOF
32695 #define HAVE_LIBXNET 1
32698 LIBS="-lxnet $LIBS"
32705 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
32706 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
32707 if test "${ac_cv_header_stdc+set}" = set; then
32708 echo $ECHO_N "(cached) $ECHO_C" >&6
32710 cat >conftest.$ac_ext <<_ACEOF
32713 cat confdefs.h >>conftest.$ac_ext
32714 cat >>conftest.$ac_ext <<_ACEOF
32715 /* end confdefs.h. */
32716 #include <stdlib.h>
32717 #include <stdarg.h>
32718 #include <string.h>
32729 rm -f conftest.$ac_objext
32730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32731 (eval $ac_compile) 2>conftest.er1
32733 grep -v '^ *+' conftest.er1 >conftest.err
32735 cat conftest.err >&5
32736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32737 (exit $ac_status); } &&
32738 { ac_try='test -z "$ac_c_werror_flag"
32739 || test ! -s conftest.err'
32740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32741 (eval $ac_try) 2>&5
32743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32744 (exit $ac_status); }; } &&
32745 { ac_try='test -s conftest.$ac_objext'
32746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32747 (eval $ac_try) 2>&5
32749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32750 (exit $ac_status); }; }; then
32751 ac_cv_header_stdc=yes
32753 echo "$as_me: failed program was:" >&5
32754 sed 's/^/| /' conftest.$ac_ext >&5
32756 ac_cv_header_stdc=no
32758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32760 if test $ac_cv_header_stdc = yes; then
32761 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
32762 cat >conftest.$ac_ext <<_ACEOF
32765 cat confdefs.h >>conftest.$ac_ext
32766 cat >>conftest.$ac_ext <<_ACEOF
32767 /* end confdefs.h. */
32768 #include <string.h>
32771 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32772 $EGREP "memchr" >/dev/null 2>&1; then
32775 ac_cv_header_stdc=no
32781 if test $ac_cv_header_stdc = yes; then
32782 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
32783 cat >conftest.$ac_ext <<_ACEOF
32786 cat confdefs.h >>conftest.$ac_ext
32787 cat >>conftest.$ac_ext <<_ACEOF
32788 /* end confdefs.h. */
32789 #include <stdlib.h>
32792 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32793 $EGREP "free" >/dev/null 2>&1; then
32796 ac_cv_header_stdc=no
32802 if test $ac_cv_header_stdc = yes; then
32803 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
32804 if test "$cross_compiling" = yes; then
32807 cat >conftest.$ac_ext <<_ACEOF
32810 cat confdefs.h >>conftest.$ac_ext
32811 cat >>conftest.$ac_ext <<_ACEOF
32812 /* end confdefs.h. */
32814 #if ((' ' & 0x0FF) == 0x020)
32815 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
32816 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
32818 # define ISLOWER(c) \
32819 (('a' <= (c) && (c) <= 'i') \
32820 || ('j' <= (c) && (c) <= 'r') \
32821 || ('s' <= (c) && (c) <= 'z'))
32822 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
32825 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
32830 for (i = 0; i < 256; i++)
32831 if (XOR (islower (i), ISLOWER (i))
32832 || toupper (i) != TOUPPER (i))
32837 rm -f conftest$ac_exeext
32838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32839 (eval $ac_link) 2>&5
32841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32842 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32844 (eval $ac_try) 2>&5
32846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32847 (exit $ac_status); }; }; then
32850 echo "$as_me: program exited with status $ac_status" >&5
32851 echo "$as_me: failed program was:" >&5
32852 sed 's/^/| /' conftest.$ac_ext >&5
32854 ( exit $ac_status )
32855 ac_cv_header_stdc=no
32857 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32861 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
32862 echo "${ECHO_T}$ac_cv_header_stdc" >&6
32863 if test $ac_cv_header_stdc = yes; then
32865 cat >>confdefs.h <<\_ACEOF
32866 #define STDC_HEADERS 1
32872 for ac_header in bstring.h
32874 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32876 echo "$as_me:$LINENO: checking for $ac_header" >&5
32877 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32878 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32879 echo $ECHO_N "(cached) $ECHO_C" >&6
32881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32882 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32884 # Is the header compilable?
32885 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32886 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32887 cat >conftest.$ac_ext <<_ACEOF
32890 cat confdefs.h >>conftest.$ac_ext
32891 cat >>conftest.$ac_ext <<_ACEOF
32892 /* end confdefs.h. */
32893 $ac_includes_default
32894 #include <$ac_header>
32896 rm -f conftest.$ac_objext
32897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32898 (eval $ac_compile) 2>conftest.er1
32900 grep -v '^ *+' conftest.er1 >conftest.err
32902 cat conftest.err >&5
32903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32904 (exit $ac_status); } &&
32905 { ac_try='test -z "$ac_c_werror_flag"
32906 || test ! -s conftest.err'
32907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32908 (eval $ac_try) 2>&5
32910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32911 (exit $ac_status); }; } &&
32912 { ac_try='test -s conftest.$ac_objext'
32913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32914 (eval $ac_try) 2>&5
32916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32917 (exit $ac_status); }; }; then
32918 ac_header_compiler=yes
32920 echo "$as_me: failed program was:" >&5
32921 sed 's/^/| /' conftest.$ac_ext >&5
32923 ac_header_compiler=no
32925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32926 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32927 echo "${ECHO_T}$ac_header_compiler" >&6
32929 # Is the header present?
32930 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32931 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32932 cat >conftest.$ac_ext <<_ACEOF
32935 cat confdefs.h >>conftest.$ac_ext
32936 cat >>conftest.$ac_ext <<_ACEOF
32937 /* end confdefs.h. */
32938 #include <$ac_header>
32940 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32941 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32943 grep -v '^ *+' conftest.er1 >conftest.err
32945 cat conftest.err >&5
32946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32947 (exit $ac_status); } >/dev/null; then
32948 if test -s conftest.err; then
32949 ac_cpp_err=$ac_c_preproc_warn_flag
32950 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32957 if test -z "$ac_cpp_err"; then
32958 ac_header_preproc=yes
32960 echo "$as_me: failed program was:" >&5
32961 sed 's/^/| /' conftest.$ac_ext >&5
32963 ac_header_preproc=no
32965 rm -f conftest.err conftest.$ac_ext
32966 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32967 echo "${ECHO_T}$ac_header_preproc" >&6
32969 # So? What about this header?
32970 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32972 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32973 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32974 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32975 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32976 ac_header_preproc=yes
32979 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32980 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32981 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32982 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32983 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32984 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32985 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32986 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32987 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32988 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32989 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32990 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32993 ## ------------------------------ ##
32994 ## Report this to the ntp lists. ##
32995 ## ------------------------------ ##
32998 sed "s/^/$as_me: WARNING: /" >&2
33001 echo "$as_me:$LINENO: checking for $ac_header" >&5
33002 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33003 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33004 echo $ECHO_N "(cached) $ECHO_C" >&6
33006 eval "$as_ac_Header=\$ac_header_preproc"
33008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33009 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33012 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33013 cat >>confdefs.h <<_ACEOF
33014 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33021 if test "${ac_cv_header_dns_sd_h+set}" = set; then
33022 echo "$as_me:$LINENO: checking for dns_sd.h" >&5
33023 echo $ECHO_N "checking for dns_sd.h... $ECHO_C" >&6
33024 if test "${ac_cv_header_dns_sd_h+set}" = set; then
33025 echo $ECHO_N "(cached) $ECHO_C" >&6
33027 echo "$as_me:$LINENO: result: $ac_cv_header_dns_sd_h" >&5
33028 echo "${ECHO_T}$ac_cv_header_dns_sd_h" >&6
33030 # Is the header compilable?
33031 echo "$as_me:$LINENO: checking dns_sd.h usability" >&5
33032 echo $ECHO_N "checking dns_sd.h usability... $ECHO_C" >&6
33033 cat >conftest.$ac_ext <<_ACEOF
33036 cat confdefs.h >>conftest.$ac_ext
33037 cat >>conftest.$ac_ext <<_ACEOF
33038 /* end confdefs.h. */
33039 $ac_includes_default
33040 #include <dns_sd.h>
33042 rm -f conftest.$ac_objext
33043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33044 (eval $ac_compile) 2>conftest.er1
33046 grep -v '^ *+' conftest.er1 >conftest.err
33048 cat conftest.err >&5
33049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33050 (exit $ac_status); } &&
33051 { ac_try='test -z "$ac_c_werror_flag"
33052 || test ! -s conftest.err'
33053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33054 (eval $ac_try) 2>&5
33056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33057 (exit $ac_status); }; } &&
33058 { ac_try='test -s conftest.$ac_objext'
33059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33060 (eval $ac_try) 2>&5
33062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33063 (exit $ac_status); }; }; then
33064 ac_header_compiler=yes
33066 echo "$as_me: failed program was:" >&5
33067 sed 's/^/| /' conftest.$ac_ext >&5
33069 ac_header_compiler=no
33071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33072 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33073 echo "${ECHO_T}$ac_header_compiler" >&6
33075 # Is the header present?
33076 echo "$as_me:$LINENO: checking dns_sd.h presence" >&5
33077 echo $ECHO_N "checking dns_sd.h presence... $ECHO_C" >&6
33078 cat >conftest.$ac_ext <<_ACEOF
33081 cat confdefs.h >>conftest.$ac_ext
33082 cat >>conftest.$ac_ext <<_ACEOF
33083 /* end confdefs.h. */
33084 #include <dns_sd.h>
33086 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33087 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33089 grep -v '^ *+' conftest.er1 >conftest.err
33091 cat conftest.err >&5
33092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33093 (exit $ac_status); } >/dev/null; then
33094 if test -s conftest.err; then
33095 ac_cpp_err=$ac_c_preproc_warn_flag
33096 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33103 if test -z "$ac_cpp_err"; then
33104 ac_header_preproc=yes
33106 echo "$as_me: failed program was:" >&5
33107 sed 's/^/| /' conftest.$ac_ext >&5
33109 ac_header_preproc=no
33111 rm -f conftest.err conftest.$ac_ext
33112 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33113 echo "${ECHO_T}$ac_header_preproc" >&6
33115 # So? What about this header?
33116 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33118 { echo "$as_me:$LINENO: WARNING: dns_sd.h: accepted by the compiler, rejected by the preprocessor!" >&5
33119 echo "$as_me: WARNING: dns_sd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33120 { echo "$as_me:$LINENO: WARNING: dns_sd.h: proceeding with the compiler's result" >&5
33121 echo "$as_me: WARNING: dns_sd.h: proceeding with the compiler's result" >&2;}
33122 ac_header_preproc=yes
33125 { echo "$as_me:$LINENO: WARNING: dns_sd.h: present but cannot be compiled" >&5
33126 echo "$as_me: WARNING: dns_sd.h: present but cannot be compiled" >&2;}
33127 { echo "$as_me:$LINENO: WARNING: dns_sd.h: check for missing prerequisite headers?" >&5
33128 echo "$as_me: WARNING: dns_sd.h: check for missing prerequisite headers?" >&2;}
33129 { echo "$as_me:$LINENO: WARNING: dns_sd.h: see the Autoconf documentation" >&5
33130 echo "$as_me: WARNING: dns_sd.h: see the Autoconf documentation" >&2;}
33131 { echo "$as_me:$LINENO: WARNING: dns_sd.h: section \"Present But Cannot Be Compiled\"" >&5
33132 echo "$as_me: WARNING: dns_sd.h: section \"Present But Cannot Be Compiled\"" >&2;}
33133 { echo "$as_me:$LINENO: WARNING: dns_sd.h: proceeding with the preprocessor's result" >&5
33134 echo "$as_me: WARNING: dns_sd.h: proceeding with the preprocessor's result" >&2;}
33135 { echo "$as_me:$LINENO: WARNING: dns_sd.h: in the future, the compiler will take precedence" >&5
33136 echo "$as_me: WARNING: dns_sd.h: in the future, the compiler will take precedence" >&2;}
33139 ## ------------------------------ ##
33140 ## Report this to the ntp lists. ##
33141 ## ------------------------------ ##
33144 sed "s/^/$as_me: WARNING: /" >&2
33147 echo "$as_me:$LINENO: checking for dns_sd.h" >&5
33148 echo $ECHO_N "checking for dns_sd.h... $ECHO_C" >&6
33149 if test "${ac_cv_header_dns_sd_h+set}" = set; then
33150 echo $ECHO_N "(cached) $ECHO_C" >&6
33152 ac_cv_header_dns_sd_h=$ac_header_preproc
33154 echo "$as_me:$LINENO: result: $ac_cv_header_dns_sd_h" >&5
33155 echo "${ECHO_T}$ac_cv_header_dns_sd_h" >&6
33158 if test $ac_cv_header_dns_sd_h = yes; then
33159 echo "$as_me:$LINENO: checking for DNSServiceRegister in -ldns_sd" >&5
33160 echo $ECHO_N "checking for DNSServiceRegister in -ldns_sd... $ECHO_C" >&6
33161 if test "${ac_cv_lib_dns_sd_DNSServiceRegister+set}" = set; then
33162 echo $ECHO_N "(cached) $ECHO_C" >&6
33164 ac_check_lib_save_LIBS=$LIBS
33165 LIBS="-ldns_sd $LIBS"
33166 cat >conftest.$ac_ext <<_ACEOF
33169 cat confdefs.h >>conftest.$ac_ext
33170 cat >>conftest.$ac_ext <<_ACEOF
33171 /* end confdefs.h. */
33173 /* Override any gcc2 internal prototype to avoid an error. */
33177 /* We use char because int might match the return type of a gcc2
33178 builtin and then its argument prototype would still apply. */
33179 char DNSServiceRegister ();
33183 DNSServiceRegister ();
33188 rm -f conftest.$ac_objext conftest$ac_exeext
33189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33190 (eval $ac_link) 2>conftest.er1
33192 grep -v '^ *+' conftest.er1 >conftest.err
33194 cat conftest.err >&5
33195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33196 (exit $ac_status); } &&
33197 { ac_try='test -z "$ac_c_werror_flag"
33198 || test ! -s conftest.err'
33199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33200 (eval $ac_try) 2>&5
33202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33203 (exit $ac_status); }; } &&
33204 { ac_try='test -s conftest$ac_exeext'
33205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33206 (eval $ac_try) 2>&5
33208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33209 (exit $ac_status); }; }; then
33210 ac_cv_lib_dns_sd_DNSServiceRegister=yes
33212 echo "$as_me: failed program was:" >&5
33213 sed 's/^/| /' conftest.$ac_ext >&5
33215 ac_cv_lib_dns_sd_DNSServiceRegister=no
33217 rm -f conftest.err conftest.$ac_objext \
33218 conftest$ac_exeext conftest.$ac_ext
33219 LIBS=$ac_check_lib_save_LIBS
33221 echo "$as_me:$LINENO: result: $ac_cv_lib_dns_sd_DNSServiceRegister" >&5
33222 echo "${ECHO_T}$ac_cv_lib_dns_sd_DNSServiceRegister" >&6
33223 if test $ac_cv_lib_dns_sd_DNSServiceRegister = yes; then
33225 cat >>confdefs.h <<\_ACEOF
33226 #define HAVE_DNSREGISTRATION 1
33234 case "$ac_cv_lib_dns_sd_DNSServiceRegister" in
33235 yes) LIBS="-ldns_sd $LIBS" ;;
33241 for ac_header in errno.h fcntl.h ieeefp.h math.h
33243 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33244 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33245 echo "$as_me:$LINENO: checking for $ac_header" >&5
33246 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33248 echo $ECHO_N "(cached) $ECHO_C" >&6
33250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33251 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33253 # Is the header compilable?
33254 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33255 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33256 cat >conftest.$ac_ext <<_ACEOF
33259 cat confdefs.h >>conftest.$ac_ext
33260 cat >>conftest.$ac_ext <<_ACEOF
33261 /* end confdefs.h. */
33262 $ac_includes_default
33263 #include <$ac_header>
33265 rm -f conftest.$ac_objext
33266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33267 (eval $ac_compile) 2>conftest.er1
33269 grep -v '^ *+' conftest.er1 >conftest.err
33271 cat conftest.err >&5
33272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33273 (exit $ac_status); } &&
33274 { ac_try='test -z "$ac_c_werror_flag"
33275 || test ! -s conftest.err'
33276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33277 (eval $ac_try) 2>&5
33279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33280 (exit $ac_status); }; } &&
33281 { ac_try='test -s conftest.$ac_objext'
33282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33283 (eval $ac_try) 2>&5
33285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33286 (exit $ac_status); }; }; then
33287 ac_header_compiler=yes
33289 echo "$as_me: failed program was:" >&5
33290 sed 's/^/| /' conftest.$ac_ext >&5
33292 ac_header_compiler=no
33294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33295 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33296 echo "${ECHO_T}$ac_header_compiler" >&6
33298 # Is the header present?
33299 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33300 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33301 cat >conftest.$ac_ext <<_ACEOF
33304 cat confdefs.h >>conftest.$ac_ext
33305 cat >>conftest.$ac_ext <<_ACEOF
33306 /* end confdefs.h. */
33307 #include <$ac_header>
33309 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33310 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33312 grep -v '^ *+' conftest.er1 >conftest.err
33314 cat conftest.err >&5
33315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33316 (exit $ac_status); } >/dev/null; then
33317 if test -s conftest.err; then
33318 ac_cpp_err=$ac_c_preproc_warn_flag
33319 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33326 if test -z "$ac_cpp_err"; then
33327 ac_header_preproc=yes
33329 echo "$as_me: failed program was:" >&5
33330 sed 's/^/| /' conftest.$ac_ext >&5
33332 ac_header_preproc=no
33334 rm -f conftest.err conftest.$ac_ext
33335 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33336 echo "${ECHO_T}$ac_header_preproc" >&6
33338 # So? What about this header?
33339 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33341 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33342 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33343 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33344 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33345 ac_header_preproc=yes
33348 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33349 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33350 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33351 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33352 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33353 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33354 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33355 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33356 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33357 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33358 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33359 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33362 ## ------------------------------ ##
33363 ## Report this to the ntp lists. ##
33364 ## ------------------------------ ##
33367 sed "s/^/$as_me: WARNING: /" >&2
33370 echo "$as_me:$LINENO: checking for $ac_header" >&5
33371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33373 echo $ECHO_N "(cached) $ECHO_C" >&6
33375 eval "$as_ac_Header=\$ac_header_preproc"
33377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33378 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33381 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33382 cat >>confdefs.h <<_ACEOF
33383 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33391 # HMS: Lame, but fast.
33392 if test -f /etc/redhat-release
33397 for ac_header in md5.h
33399 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33400 echo "$as_me:$LINENO: checking for $ac_header" >&5
33401 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33402 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33403 echo $ECHO_N "(cached) $ECHO_C" >&6
33405 cat >conftest.$ac_ext <<_ACEOF
33408 cat confdefs.h >>conftest.$ac_ext
33409 cat >>conftest.$ac_ext <<_ACEOF
33410 /* end confdefs.h. */
33411 #if HAVE_SYS_TYPES_H
33412 #include <sys/types.h>
33416 #include <$ac_header>
33418 rm -f conftest.$ac_objext
33419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33420 (eval $ac_compile) 2>conftest.er1
33422 grep -v '^ *+' conftest.er1 >conftest.err
33424 cat conftest.err >&5
33425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33426 (exit $ac_status); } &&
33427 { ac_try='test -z "$ac_c_werror_flag"
33428 || test ! -s conftest.err'
33429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33430 (eval $ac_try) 2>&5
33432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33433 (exit $ac_status); }; } &&
33434 { ac_try='test -s conftest.$ac_objext'
33435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33436 (eval $ac_try) 2>&5
33438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33439 (exit $ac_status); }; }; then
33440 eval "$as_ac_Header=yes"
33442 echo "$as_me: failed program was:" >&5
33443 sed 's/^/| /' conftest.$ac_ext >&5
33445 eval "$as_ac_Header=no"
33447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33450 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33451 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33452 cat >>confdefs.h <<_ACEOF
33453 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33464 for ac_header in memory.h netdb.h poll.h
33466 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33467 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33468 echo "$as_me:$LINENO: checking for $ac_header" >&5
33469 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33470 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33471 echo $ECHO_N "(cached) $ECHO_C" >&6
33473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33474 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33476 # Is the header compilable?
33477 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33478 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33479 cat >conftest.$ac_ext <<_ACEOF
33482 cat confdefs.h >>conftest.$ac_ext
33483 cat >>conftest.$ac_ext <<_ACEOF
33484 /* end confdefs.h. */
33485 $ac_includes_default
33486 #include <$ac_header>
33488 rm -f conftest.$ac_objext
33489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33490 (eval $ac_compile) 2>conftest.er1
33492 grep -v '^ *+' conftest.er1 >conftest.err
33494 cat conftest.err >&5
33495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33496 (exit $ac_status); } &&
33497 { ac_try='test -z "$ac_c_werror_flag"
33498 || test ! -s conftest.err'
33499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33500 (eval $ac_try) 2>&5
33502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33503 (exit $ac_status); }; } &&
33504 { ac_try='test -s conftest.$ac_objext'
33505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33506 (eval $ac_try) 2>&5
33508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33509 (exit $ac_status); }; }; then
33510 ac_header_compiler=yes
33512 echo "$as_me: failed program was:" >&5
33513 sed 's/^/| /' conftest.$ac_ext >&5
33515 ac_header_compiler=no
33517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33518 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33519 echo "${ECHO_T}$ac_header_compiler" >&6
33521 # Is the header present?
33522 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33523 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33524 cat >conftest.$ac_ext <<_ACEOF
33527 cat confdefs.h >>conftest.$ac_ext
33528 cat >>conftest.$ac_ext <<_ACEOF
33529 /* end confdefs.h. */
33530 #include <$ac_header>
33532 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33533 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33535 grep -v '^ *+' conftest.er1 >conftest.err
33537 cat conftest.err >&5
33538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33539 (exit $ac_status); } >/dev/null; then
33540 if test -s conftest.err; then
33541 ac_cpp_err=$ac_c_preproc_warn_flag
33542 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33549 if test -z "$ac_cpp_err"; then
33550 ac_header_preproc=yes
33552 echo "$as_me: failed program was:" >&5
33553 sed 's/^/| /' conftest.$ac_ext >&5
33555 ac_header_preproc=no
33557 rm -f conftest.err conftest.$ac_ext
33558 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33559 echo "${ECHO_T}$ac_header_preproc" >&6
33561 # So? What about this header?
33562 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33564 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33565 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33566 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33567 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33568 ac_header_preproc=yes
33571 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33572 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33573 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33574 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33575 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33576 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33577 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33578 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33579 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33580 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33581 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33582 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33585 ## ------------------------------ ##
33586 ## Report this to the ntp lists. ##
33587 ## ------------------------------ ##
33590 sed "s/^/$as_me: WARNING: /" >&2
33593 echo "$as_me:$LINENO: checking for $ac_header" >&5
33594 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33595 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33596 echo $ECHO_N "(cached) $ECHO_C" >&6
33598 eval "$as_ac_Header=\$ac_header_preproc"
33600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33601 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33604 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33605 cat >>confdefs.h <<_ACEOF
33606 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33618 for ac_header in sched.h sgtty.h stdlib.h string.h termio.h
33620 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33622 echo "$as_me:$LINENO: checking for $ac_header" >&5
33623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33625 echo $ECHO_N "(cached) $ECHO_C" >&6
33627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33628 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33630 # Is the header compilable?
33631 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33632 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33633 cat >conftest.$ac_ext <<_ACEOF
33636 cat confdefs.h >>conftest.$ac_ext
33637 cat >>conftest.$ac_ext <<_ACEOF
33638 /* end confdefs.h. */
33639 $ac_includes_default
33640 #include <$ac_header>
33642 rm -f conftest.$ac_objext
33643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33644 (eval $ac_compile) 2>conftest.er1
33646 grep -v '^ *+' conftest.er1 >conftest.err
33648 cat conftest.err >&5
33649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33650 (exit $ac_status); } &&
33651 { ac_try='test -z "$ac_c_werror_flag"
33652 || test ! -s conftest.err'
33653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33654 (eval $ac_try) 2>&5
33656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33657 (exit $ac_status); }; } &&
33658 { ac_try='test -s conftest.$ac_objext'
33659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33660 (eval $ac_try) 2>&5
33662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33663 (exit $ac_status); }; }; then
33664 ac_header_compiler=yes
33666 echo "$as_me: failed program was:" >&5
33667 sed 's/^/| /' conftest.$ac_ext >&5
33669 ac_header_compiler=no
33671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33672 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33673 echo "${ECHO_T}$ac_header_compiler" >&6
33675 # Is the header present?
33676 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33677 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33678 cat >conftest.$ac_ext <<_ACEOF
33681 cat confdefs.h >>conftest.$ac_ext
33682 cat >>conftest.$ac_ext <<_ACEOF
33683 /* end confdefs.h. */
33684 #include <$ac_header>
33686 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33687 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33689 grep -v '^ *+' conftest.er1 >conftest.err
33691 cat conftest.err >&5
33692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33693 (exit $ac_status); } >/dev/null; then
33694 if test -s conftest.err; then
33695 ac_cpp_err=$ac_c_preproc_warn_flag
33696 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33703 if test -z "$ac_cpp_err"; then
33704 ac_header_preproc=yes
33706 echo "$as_me: failed program was:" >&5
33707 sed 's/^/| /' conftest.$ac_ext >&5
33709 ac_header_preproc=no
33711 rm -f conftest.err conftest.$ac_ext
33712 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33713 echo "${ECHO_T}$ac_header_preproc" >&6
33715 # So? What about this header?
33716 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33718 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33719 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33721 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33722 ac_header_preproc=yes
33725 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33726 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33727 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33728 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33729 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33730 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33731 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33732 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33733 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33734 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33735 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33736 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33739 ## ------------------------------ ##
33740 ## Report this to the ntp lists. ##
33741 ## ------------------------------ ##
33744 sed "s/^/$as_me: WARNING: /" >&2
33747 echo "$as_me:$LINENO: checking for $ac_header" >&5
33748 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33750 echo $ECHO_N "(cached) $ECHO_C" >&6
33752 eval "$as_ac_Header=\$ac_header_preproc"
33754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33755 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33758 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33759 cat >>confdefs.h <<_ACEOF
33760 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33771 for ac_header in termios.h timepps.h timex.h unistd.h
33773 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33775 echo "$as_me:$LINENO: checking for $ac_header" >&5
33776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33778 echo $ECHO_N "(cached) $ECHO_C" >&6
33780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33781 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33783 # Is the header compilable?
33784 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33785 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33786 cat >conftest.$ac_ext <<_ACEOF
33789 cat confdefs.h >>conftest.$ac_ext
33790 cat >>conftest.$ac_ext <<_ACEOF
33791 /* end confdefs.h. */
33792 $ac_includes_default
33793 #include <$ac_header>
33795 rm -f conftest.$ac_objext
33796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33797 (eval $ac_compile) 2>conftest.er1
33799 grep -v '^ *+' conftest.er1 >conftest.err
33801 cat conftest.err >&5
33802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33803 (exit $ac_status); } &&
33804 { ac_try='test -z "$ac_c_werror_flag"
33805 || test ! -s conftest.err'
33806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33807 (eval $ac_try) 2>&5
33809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33810 (exit $ac_status); }; } &&
33811 { ac_try='test -s conftest.$ac_objext'
33812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33813 (eval $ac_try) 2>&5
33815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33816 (exit $ac_status); }; }; then
33817 ac_header_compiler=yes
33819 echo "$as_me: failed program was:" >&5
33820 sed 's/^/| /' conftest.$ac_ext >&5
33822 ac_header_compiler=no
33824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33825 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33826 echo "${ECHO_T}$ac_header_compiler" >&6
33828 # Is the header present?
33829 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33830 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33831 cat >conftest.$ac_ext <<_ACEOF
33834 cat confdefs.h >>conftest.$ac_ext
33835 cat >>conftest.$ac_ext <<_ACEOF
33836 /* end confdefs.h. */
33837 #include <$ac_header>
33839 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33840 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33842 grep -v '^ *+' conftest.er1 >conftest.err
33844 cat conftest.err >&5
33845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33846 (exit $ac_status); } >/dev/null; then
33847 if test -s conftest.err; then
33848 ac_cpp_err=$ac_c_preproc_warn_flag
33849 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33856 if test -z "$ac_cpp_err"; then
33857 ac_header_preproc=yes
33859 echo "$as_me: failed program was:" >&5
33860 sed 's/^/| /' conftest.$ac_ext >&5
33862 ac_header_preproc=no
33864 rm -f conftest.err conftest.$ac_ext
33865 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33866 echo "${ECHO_T}$ac_header_preproc" >&6
33868 # So? What about this header?
33869 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33871 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33872 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33873 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33874 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33875 ac_header_preproc=yes
33878 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33879 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33880 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33881 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33882 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33883 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33884 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33885 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33886 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33887 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33888 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33889 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33892 ## ------------------------------ ##
33893 ## Report this to the ntp lists. ##
33894 ## ------------------------------ ##
33897 sed "s/^/$as_me: WARNING: /" >&2
33900 echo "$as_me:$LINENO: checking for $ac_header" >&5
33901 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33903 echo $ECHO_N "(cached) $ECHO_C" >&6
33905 eval "$as_ac_Header=\$ac_header_preproc"
33907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33908 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33911 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33912 cat >>confdefs.h <<_ACEOF
33913 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33923 for ac_header in utmpx.h
33925 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33927 echo "$as_me:$LINENO: checking for $ac_header" >&5
33928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33929 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33930 echo $ECHO_N "(cached) $ECHO_C" >&6
33932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33933 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33935 # Is the header compilable?
33936 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33937 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33938 cat >conftest.$ac_ext <<_ACEOF
33941 cat confdefs.h >>conftest.$ac_ext
33942 cat >>conftest.$ac_ext <<_ACEOF
33943 /* end confdefs.h. */
33944 $ac_includes_default
33945 #include <$ac_header>
33947 rm -f conftest.$ac_objext
33948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33949 (eval $ac_compile) 2>conftest.er1
33951 grep -v '^ *+' conftest.er1 >conftest.err
33953 cat conftest.err >&5
33954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33955 (exit $ac_status); } &&
33956 { ac_try='test -z "$ac_c_werror_flag"
33957 || test ! -s conftest.err'
33958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33959 (eval $ac_try) 2>&5
33961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33962 (exit $ac_status); }; } &&
33963 { ac_try='test -s conftest.$ac_objext'
33964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33965 (eval $ac_try) 2>&5
33967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33968 (exit $ac_status); }; }; then
33969 ac_header_compiler=yes
33971 echo "$as_me: failed program was:" >&5
33972 sed 's/^/| /' conftest.$ac_ext >&5
33974 ac_header_compiler=no
33976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33977 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33978 echo "${ECHO_T}$ac_header_compiler" >&6
33980 # Is the header present?
33981 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33982 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33983 cat >conftest.$ac_ext <<_ACEOF
33986 cat confdefs.h >>conftest.$ac_ext
33987 cat >>conftest.$ac_ext <<_ACEOF
33988 /* end confdefs.h. */
33989 #include <$ac_header>
33991 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33992 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33994 grep -v '^ *+' conftest.er1 >conftest.err
33996 cat conftest.err >&5
33997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33998 (exit $ac_status); } >/dev/null; then
33999 if test -s conftest.err; then
34000 ac_cpp_err=$ac_c_preproc_warn_flag
34001 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34008 if test -z "$ac_cpp_err"; then
34009 ac_header_preproc=yes
34011 echo "$as_me: failed program was:" >&5
34012 sed 's/^/| /' conftest.$ac_ext >&5
34014 ac_header_preproc=no
34016 rm -f conftest.err conftest.$ac_ext
34017 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34018 echo "${ECHO_T}$ac_header_preproc" >&6
34020 # So? What about this header?
34021 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34023 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34024 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34025 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34026 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34027 ac_header_preproc=yes
34030 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34031 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34032 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34033 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34034 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34035 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34036 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34037 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34038 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34039 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34040 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34041 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34044 ## ------------------------------ ##
34045 ## Report this to the ntp lists. ##
34046 ## ------------------------------ ##
34049 sed "s/^/$as_me: WARNING: /" >&2
34052 echo "$as_me:$LINENO: checking for $ac_header" >&5
34053 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34054 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34055 echo $ECHO_N "(cached) $ECHO_C" >&6
34057 eval "$as_ac_Header=\$ac_header_preproc"
34059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34060 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34063 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34064 cat >>confdefs.h <<_ACEOF
34065 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34072 case "$ac_cv_header_utmpx_h" in
34075 for ac_header in utmp.h
34077 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34078 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34079 echo "$as_me:$LINENO: checking for $ac_header" >&5
34080 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34081 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34082 echo $ECHO_N "(cached) $ECHO_C" >&6
34084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34085 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34087 # Is the header compilable?
34088 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34089 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34090 cat >conftest.$ac_ext <<_ACEOF
34093 cat confdefs.h >>conftest.$ac_ext
34094 cat >>conftest.$ac_ext <<_ACEOF
34095 /* end confdefs.h. */
34096 $ac_includes_default
34097 #include <$ac_header>
34099 rm -f conftest.$ac_objext
34100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34101 (eval $ac_compile) 2>conftest.er1
34103 grep -v '^ *+' conftest.er1 >conftest.err
34105 cat conftest.err >&5
34106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34107 (exit $ac_status); } &&
34108 { ac_try='test -z "$ac_c_werror_flag"
34109 || test ! -s conftest.err'
34110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34111 (eval $ac_try) 2>&5
34113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34114 (exit $ac_status); }; } &&
34115 { ac_try='test -s conftest.$ac_objext'
34116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34117 (eval $ac_try) 2>&5
34119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34120 (exit $ac_status); }; }; then
34121 ac_header_compiler=yes
34123 echo "$as_me: failed program was:" >&5
34124 sed 's/^/| /' conftest.$ac_ext >&5
34126 ac_header_compiler=no
34128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34129 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34130 echo "${ECHO_T}$ac_header_compiler" >&6
34132 # Is the header present?
34133 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34134 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34135 cat >conftest.$ac_ext <<_ACEOF
34138 cat confdefs.h >>conftest.$ac_ext
34139 cat >>conftest.$ac_ext <<_ACEOF
34140 /* end confdefs.h. */
34141 #include <$ac_header>
34143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34144 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34146 grep -v '^ *+' conftest.er1 >conftest.err
34148 cat conftest.err >&5
34149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34150 (exit $ac_status); } >/dev/null; then
34151 if test -s conftest.err; then
34152 ac_cpp_err=$ac_c_preproc_warn_flag
34153 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34160 if test -z "$ac_cpp_err"; then
34161 ac_header_preproc=yes
34163 echo "$as_me: failed program was:" >&5
34164 sed 's/^/| /' conftest.$ac_ext >&5
34166 ac_header_preproc=no
34168 rm -f conftest.err conftest.$ac_ext
34169 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34170 echo "${ECHO_T}$ac_header_preproc" >&6
34172 # So? What about this header?
34173 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34175 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34176 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34177 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34178 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34179 ac_header_preproc=yes
34182 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34183 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34184 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34185 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34186 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34187 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34188 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34189 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34190 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34191 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34192 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34193 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34196 ## ------------------------------ ##
34197 ## Report this to the ntp lists. ##
34198 ## ------------------------------ ##
34201 sed "s/^/$as_me: WARNING: /" >&2
34204 echo "$as_me:$LINENO: checking for $ac_header" >&5
34205 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34207 echo $ECHO_N "(cached) $ECHO_C" >&6
34209 eval "$as_ac_Header=\$ac_header_preproc"
34211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34212 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34215 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34216 cat >>confdefs.h <<_ACEOF
34217 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34228 for ac_header in utmp.h utmpx.h
34230 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34231 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34232 echo "$as_me:$LINENO: checking for $ac_header" >&5
34233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34235 echo $ECHO_N "(cached) $ECHO_C" >&6
34237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34240 # Is the header compilable?
34241 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34242 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34243 cat >conftest.$ac_ext <<_ACEOF
34246 cat confdefs.h >>conftest.$ac_ext
34247 cat >>conftest.$ac_ext <<_ACEOF
34248 /* end confdefs.h. */
34249 $ac_includes_default
34250 #include <$ac_header>
34252 rm -f conftest.$ac_objext
34253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34254 (eval $ac_compile) 2>conftest.er1
34256 grep -v '^ *+' conftest.er1 >conftest.err
34258 cat conftest.err >&5
34259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34260 (exit $ac_status); } &&
34261 { ac_try='test -z "$ac_c_werror_flag"
34262 || test ! -s conftest.err'
34263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34264 (eval $ac_try) 2>&5
34266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34267 (exit $ac_status); }; } &&
34268 { ac_try='test -s conftest.$ac_objext'
34269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34270 (eval $ac_try) 2>&5
34272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34273 (exit $ac_status); }; }; then
34274 ac_header_compiler=yes
34276 echo "$as_me: failed program was:" >&5
34277 sed 's/^/| /' conftest.$ac_ext >&5
34279 ac_header_compiler=no
34281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34282 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34283 echo "${ECHO_T}$ac_header_compiler" >&6
34285 # Is the header present?
34286 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34287 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34288 cat >conftest.$ac_ext <<_ACEOF
34291 cat confdefs.h >>conftest.$ac_ext
34292 cat >>conftest.$ac_ext <<_ACEOF
34293 /* end confdefs.h. */
34294 #include <$ac_header>
34296 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34297 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34299 grep -v '^ *+' conftest.er1 >conftest.err
34301 cat conftest.err >&5
34302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34303 (exit $ac_status); } >/dev/null; then
34304 if test -s conftest.err; then
34305 ac_cpp_err=$ac_c_preproc_warn_flag
34306 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34313 if test -z "$ac_cpp_err"; then
34314 ac_header_preproc=yes
34316 echo "$as_me: failed program was:" >&5
34317 sed 's/^/| /' conftest.$ac_ext >&5
34319 ac_header_preproc=no
34321 rm -f conftest.err conftest.$ac_ext
34322 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34323 echo "${ECHO_T}$ac_header_preproc" >&6
34325 # So? What about this header?
34326 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34328 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34329 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34330 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34331 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34332 ac_header_preproc=yes
34335 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34336 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34337 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34338 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34339 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34340 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34341 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34342 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34343 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34344 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34345 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34346 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34349 ## ------------------------------ ##
34350 ## Report this to the ntp lists. ##
34351 ## ------------------------------ ##
34354 sed "s/^/$as_me: WARNING: /" >&2
34357 echo "$as_me:$LINENO: checking for $ac_header" >&5
34358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34360 echo $ECHO_N "(cached) $ECHO_C" >&6
34362 eval "$as_ac_Header=\$ac_header_preproc"
34364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34365 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34368 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34369 cat >>confdefs.h <<_ACEOF
34370 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34379 for ac_header in arpa/nameser.h
34381 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34382 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34383 echo "$as_me:$LINENO: checking for $ac_header" >&5
34384 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34385 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34386 echo $ECHO_N "(cached) $ECHO_C" >&6
34388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34389 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34391 # Is the header compilable?
34392 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34393 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34394 cat >conftest.$ac_ext <<_ACEOF
34397 cat confdefs.h >>conftest.$ac_ext
34398 cat >>conftest.$ac_ext <<_ACEOF
34399 /* end confdefs.h. */
34400 $ac_includes_default
34401 #include <$ac_header>
34403 rm -f conftest.$ac_objext
34404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34405 (eval $ac_compile) 2>conftest.er1
34407 grep -v '^ *+' conftest.er1 >conftest.err
34409 cat conftest.err >&5
34410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34411 (exit $ac_status); } &&
34412 { ac_try='test -z "$ac_c_werror_flag"
34413 || test ! -s conftest.err'
34414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34415 (eval $ac_try) 2>&5
34417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34418 (exit $ac_status); }; } &&
34419 { ac_try='test -s conftest.$ac_objext'
34420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34421 (eval $ac_try) 2>&5
34423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34424 (exit $ac_status); }; }; then
34425 ac_header_compiler=yes
34427 echo "$as_me: failed program was:" >&5
34428 sed 's/^/| /' conftest.$ac_ext >&5
34430 ac_header_compiler=no
34432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34433 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34434 echo "${ECHO_T}$ac_header_compiler" >&6
34436 # Is the header present?
34437 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34438 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34439 cat >conftest.$ac_ext <<_ACEOF
34442 cat confdefs.h >>conftest.$ac_ext
34443 cat >>conftest.$ac_ext <<_ACEOF
34444 /* end confdefs.h. */
34445 #include <$ac_header>
34447 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34448 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34450 grep -v '^ *+' conftest.er1 >conftest.err
34452 cat conftest.err >&5
34453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34454 (exit $ac_status); } >/dev/null; then
34455 if test -s conftest.err; then
34456 ac_cpp_err=$ac_c_preproc_warn_flag
34457 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34464 if test -z "$ac_cpp_err"; then
34465 ac_header_preproc=yes
34467 echo "$as_me: failed program was:" >&5
34468 sed 's/^/| /' conftest.$ac_ext >&5
34470 ac_header_preproc=no
34472 rm -f conftest.err conftest.$ac_ext
34473 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34474 echo "${ECHO_T}$ac_header_preproc" >&6
34476 # So? What about this header?
34477 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34479 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34480 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34481 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34482 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34483 ac_header_preproc=yes
34486 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34487 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34488 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34489 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34490 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34491 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34492 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34493 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34494 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34495 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34496 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34497 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34500 ## ------------------------------ ##
34501 ## Report this to the ntp lists. ##
34502 ## ------------------------------ ##
34505 sed "s/^/$as_me: WARNING: /" >&2
34508 echo "$as_me:$LINENO: checking for $ac_header" >&5
34509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34510 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34511 echo $ECHO_N "(cached) $ECHO_C" >&6
34513 eval "$as_ac_Header=\$ac_header_preproc"
34515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34516 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34519 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34520 cat >>confdefs.h <<_ACEOF
34521 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34529 for ac_header in sys/socket.h
34531 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34532 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34533 echo "$as_me:$LINENO: checking for $ac_header" >&5
34534 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34535 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34536 echo $ECHO_N "(cached) $ECHO_C" >&6
34538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34539 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34541 # Is the header compilable?
34542 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34543 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34544 cat >conftest.$ac_ext <<_ACEOF
34547 cat confdefs.h >>conftest.$ac_ext
34548 cat >>conftest.$ac_ext <<_ACEOF
34549 /* end confdefs.h. */
34550 $ac_includes_default
34551 #include <$ac_header>
34553 rm -f conftest.$ac_objext
34554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34555 (eval $ac_compile) 2>conftest.er1
34557 grep -v '^ *+' conftest.er1 >conftest.err
34559 cat conftest.err >&5
34560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34561 (exit $ac_status); } &&
34562 { ac_try='test -z "$ac_c_werror_flag"
34563 || test ! -s conftest.err'
34564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34565 (eval $ac_try) 2>&5
34567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34568 (exit $ac_status); }; } &&
34569 { ac_try='test -s conftest.$ac_objext'
34570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34571 (eval $ac_try) 2>&5
34573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34574 (exit $ac_status); }; }; then
34575 ac_header_compiler=yes
34577 echo "$as_me: failed program was:" >&5
34578 sed 's/^/| /' conftest.$ac_ext >&5
34580 ac_header_compiler=no
34582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34583 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34584 echo "${ECHO_T}$ac_header_compiler" >&6
34586 # Is the header present?
34587 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34588 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34589 cat >conftest.$ac_ext <<_ACEOF
34592 cat confdefs.h >>conftest.$ac_ext
34593 cat >>conftest.$ac_ext <<_ACEOF
34594 /* end confdefs.h. */
34595 #include <$ac_header>
34597 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34598 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34600 grep -v '^ *+' conftest.er1 >conftest.err
34602 cat conftest.err >&5
34603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34604 (exit $ac_status); } >/dev/null; then
34605 if test -s conftest.err; then
34606 ac_cpp_err=$ac_c_preproc_warn_flag
34607 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34614 if test -z "$ac_cpp_err"; then
34615 ac_header_preproc=yes
34617 echo "$as_me: failed program was:" >&5
34618 sed 's/^/| /' conftest.$ac_ext >&5
34620 ac_header_preproc=no
34622 rm -f conftest.err conftest.$ac_ext
34623 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34624 echo "${ECHO_T}$ac_header_preproc" >&6
34626 # So? What about this header?
34627 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34629 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34630 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34631 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34632 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34633 ac_header_preproc=yes
34636 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34637 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34638 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34639 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34640 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34641 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34642 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34643 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34644 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34645 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34646 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34647 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34650 ## ------------------------------ ##
34651 ## Report this to the ntp lists. ##
34652 ## ------------------------------ ##
34655 sed "s/^/$as_me: WARNING: /" >&2
34658 echo "$as_me:$LINENO: checking for $ac_header" >&5
34659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34661 echo $ECHO_N "(cached) $ECHO_C" >&6
34663 eval "$as_ac_Header=\$ac_header_preproc"
34665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34666 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34669 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34670 cat >>confdefs.h <<_ACEOF
34671 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34679 for ac_header in net/if.h
34681 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34682 echo "$as_me:$LINENO: checking for $ac_header" >&5
34683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34685 echo $ECHO_N "(cached) $ECHO_C" >&6
34687 cat >conftest.$ac_ext <<_ACEOF
34690 cat confdefs.h >>conftest.$ac_ext
34691 cat >>conftest.$ac_ext <<_ACEOF
34692 /* end confdefs.h. */
34693 #if HAVE_SYS_SOCKET_H
34694 #include <sys/socket.h>
34698 #include <$ac_header>
34700 rm -f conftest.$ac_objext
34701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34702 (eval $ac_compile) 2>conftest.er1
34704 grep -v '^ *+' conftest.er1 >conftest.err
34706 cat conftest.err >&5
34707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34708 (exit $ac_status); } &&
34709 { ac_try='test -z "$ac_c_werror_flag"
34710 || test ! -s conftest.err'
34711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34712 (eval $ac_try) 2>&5
34714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34715 (exit $ac_status); }; } &&
34716 { ac_try='test -s conftest.$ac_objext'
34717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34718 (eval $ac_try) 2>&5
34720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34721 (exit $ac_status); }; }; then
34722 eval "$as_ac_Header=yes"
34724 echo "$as_me: failed program was:" >&5
34725 sed 's/^/| /' conftest.$ac_ext >&5
34727 eval "$as_ac_Header=no"
34729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34733 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34734 cat >>confdefs.h <<_ACEOF
34735 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34743 for ac_header in net/if6.h
34745 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34746 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34747 echo "$as_me:$LINENO: checking for $ac_header" >&5
34748 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34750 echo $ECHO_N "(cached) $ECHO_C" >&6
34752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34753 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34755 # Is the header compilable?
34756 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34757 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34758 cat >conftest.$ac_ext <<_ACEOF
34761 cat confdefs.h >>conftest.$ac_ext
34762 cat >>conftest.$ac_ext <<_ACEOF
34763 /* end confdefs.h. */
34764 $ac_includes_default
34765 #include <$ac_header>
34767 rm -f conftest.$ac_objext
34768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34769 (eval $ac_compile) 2>conftest.er1
34771 grep -v '^ *+' conftest.er1 >conftest.err
34773 cat conftest.err >&5
34774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34775 (exit $ac_status); } &&
34776 { ac_try='test -z "$ac_c_werror_flag"
34777 || test ! -s conftest.err'
34778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34779 (eval $ac_try) 2>&5
34781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34782 (exit $ac_status); }; } &&
34783 { ac_try='test -s conftest.$ac_objext'
34784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34785 (eval $ac_try) 2>&5
34787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34788 (exit $ac_status); }; }; then
34789 ac_header_compiler=yes
34791 echo "$as_me: failed program was:" >&5
34792 sed 's/^/| /' conftest.$ac_ext >&5
34794 ac_header_compiler=no
34796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34797 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34798 echo "${ECHO_T}$ac_header_compiler" >&6
34800 # Is the header present?
34801 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34802 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34803 cat >conftest.$ac_ext <<_ACEOF
34806 cat confdefs.h >>conftest.$ac_ext
34807 cat >>conftest.$ac_ext <<_ACEOF
34808 /* end confdefs.h. */
34809 #include <$ac_header>
34811 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34812 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34814 grep -v '^ *+' conftest.er1 >conftest.err
34816 cat conftest.err >&5
34817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34818 (exit $ac_status); } >/dev/null; then
34819 if test -s conftest.err; then
34820 ac_cpp_err=$ac_c_preproc_warn_flag
34821 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34828 if test -z "$ac_cpp_err"; then
34829 ac_header_preproc=yes
34831 echo "$as_me: failed program was:" >&5
34832 sed 's/^/| /' conftest.$ac_ext >&5
34834 ac_header_preproc=no
34836 rm -f conftest.err conftest.$ac_ext
34837 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34838 echo "${ECHO_T}$ac_header_preproc" >&6
34840 # So? What about this header?
34841 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34843 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34844 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34845 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34846 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34847 ac_header_preproc=yes
34850 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34851 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34852 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34853 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34854 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34855 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34856 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34857 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34858 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34859 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34860 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34861 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34864 ## ------------------------------ ##
34865 ## Report this to the ntp lists. ##
34866 ## ------------------------------ ##
34869 sed "s/^/$as_me: WARNING: /" >&2
34872 echo "$as_me:$LINENO: checking for $ac_header" >&5
34873 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34874 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34875 echo $ECHO_N "(cached) $ECHO_C" >&6
34877 eval "$as_ac_Header=\$ac_header_preproc"
34879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34880 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34883 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34884 cat >>confdefs.h <<_ACEOF
34885 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34893 for ac_header in net/route.h
34895 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34896 echo "$as_me:$LINENO: checking for $ac_header" >&5
34897 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34898 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34899 echo $ECHO_N "(cached) $ECHO_C" >&6
34901 cat >conftest.$ac_ext <<_ACEOF
34904 cat confdefs.h >>conftest.$ac_ext
34905 cat >>conftest.$ac_ext <<_ACEOF
34906 /* end confdefs.h. */
34908 #include <sys/types.h>
34909 #include <sys/socket.h>
34910 #include <net/if.h>
34913 #include <$ac_header>
34915 rm -f conftest.$ac_objext
34916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34917 (eval $ac_compile) 2>conftest.er1
34919 grep -v '^ *+' conftest.er1 >conftest.err
34921 cat conftest.err >&5
34922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34923 (exit $ac_status); } &&
34924 { ac_try='test -z "$ac_c_werror_flag"
34925 || test ! -s conftest.err'
34926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34927 (eval $ac_try) 2>&5
34929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34930 (exit $ac_status); }; } &&
34931 { ac_try='test -s conftest.$ac_objext'
34932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34933 (eval $ac_try) 2>&5
34935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34936 (exit $ac_status); }; }; then
34937 eval "$as_ac_Header=yes"
34939 echo "$as_me: failed program was:" >&5
34940 sed 's/^/| /' conftest.$ac_ext >&5
34942 eval "$as_ac_Header=no"
34944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34947 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34948 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34949 cat >>confdefs.h <<_ACEOF
34950 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34959 for ac_header in netinet/in_system.h netinet/in_systm.h
34961 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34963 echo "$as_me:$LINENO: checking for $ac_header" >&5
34964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34965 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34966 echo $ECHO_N "(cached) $ECHO_C" >&6
34968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34969 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34971 # Is the header compilable?
34972 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34973 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34974 cat >conftest.$ac_ext <<_ACEOF
34977 cat confdefs.h >>conftest.$ac_ext
34978 cat >>conftest.$ac_ext <<_ACEOF
34979 /* end confdefs.h. */
34980 $ac_includes_default
34981 #include <$ac_header>
34983 rm -f conftest.$ac_objext
34984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34985 (eval $ac_compile) 2>conftest.er1
34987 grep -v '^ *+' conftest.er1 >conftest.err
34989 cat conftest.err >&5
34990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34991 (exit $ac_status); } &&
34992 { ac_try='test -z "$ac_c_werror_flag"
34993 || test ! -s conftest.err'
34994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34995 (eval $ac_try) 2>&5
34997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34998 (exit $ac_status); }; } &&
34999 { ac_try='test -s conftest.$ac_objext'
35000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35001 (eval $ac_try) 2>&5
35003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35004 (exit $ac_status); }; }; then
35005 ac_header_compiler=yes
35007 echo "$as_me: failed program was:" >&5
35008 sed 's/^/| /' conftest.$ac_ext >&5
35010 ac_header_compiler=no
35012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35013 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35014 echo "${ECHO_T}$ac_header_compiler" >&6
35016 # Is the header present?
35017 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35018 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35019 cat >conftest.$ac_ext <<_ACEOF
35022 cat confdefs.h >>conftest.$ac_ext
35023 cat >>conftest.$ac_ext <<_ACEOF
35024 /* end confdefs.h. */
35025 #include <$ac_header>
35027 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35028 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35030 grep -v '^ *+' conftest.er1 >conftest.err
35032 cat conftest.err >&5
35033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35034 (exit $ac_status); } >/dev/null; then
35035 if test -s conftest.err; then
35036 ac_cpp_err=$ac_c_preproc_warn_flag
35037 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35044 if test -z "$ac_cpp_err"; then
35045 ac_header_preproc=yes
35047 echo "$as_me: failed program was:" >&5
35048 sed 's/^/| /' conftest.$ac_ext >&5
35050 ac_header_preproc=no
35052 rm -f conftest.err conftest.$ac_ext
35053 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35054 echo "${ECHO_T}$ac_header_preproc" >&6
35056 # So? What about this header?
35057 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35059 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35060 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35061 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35062 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35063 ac_header_preproc=yes
35066 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35067 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35068 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35069 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35070 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35071 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35072 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35073 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35074 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35075 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35076 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35077 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35080 ## ------------------------------ ##
35081 ## Report this to the ntp lists. ##
35082 ## ------------------------------ ##
35085 sed "s/^/$as_me: WARNING: /" >&2
35088 echo "$as_me:$LINENO: checking for $ac_header" >&5
35089 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35090 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35091 echo $ECHO_N "(cached) $ECHO_C" >&6
35093 eval "$as_ac_Header=\$ac_header_preproc"
35095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35096 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35099 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35100 cat >>confdefs.h <<_ACEOF
35101 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35109 for ac_header in netinet/in.h
35111 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35113 echo "$as_me:$LINENO: checking for $ac_header" >&5
35114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35116 echo $ECHO_N "(cached) $ECHO_C" >&6
35118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35119 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35121 # Is the header compilable?
35122 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35123 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35124 cat >conftest.$ac_ext <<_ACEOF
35127 cat confdefs.h >>conftest.$ac_ext
35128 cat >>conftest.$ac_ext <<_ACEOF
35129 /* end confdefs.h. */
35130 $ac_includes_default
35131 #include <$ac_header>
35133 rm -f conftest.$ac_objext
35134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35135 (eval $ac_compile) 2>conftest.er1
35137 grep -v '^ *+' conftest.er1 >conftest.err
35139 cat conftest.err >&5
35140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35141 (exit $ac_status); } &&
35142 { ac_try='test -z "$ac_c_werror_flag"
35143 || test ! -s conftest.err'
35144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35145 (eval $ac_try) 2>&5
35147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35148 (exit $ac_status); }; } &&
35149 { ac_try='test -s conftest.$ac_objext'
35150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35151 (eval $ac_try) 2>&5
35153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35154 (exit $ac_status); }; }; then
35155 ac_header_compiler=yes
35157 echo "$as_me: failed program was:" >&5
35158 sed 's/^/| /' conftest.$ac_ext >&5
35160 ac_header_compiler=no
35162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35163 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35164 echo "${ECHO_T}$ac_header_compiler" >&6
35166 # Is the header present?
35167 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35168 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35169 cat >conftest.$ac_ext <<_ACEOF
35172 cat confdefs.h >>conftest.$ac_ext
35173 cat >>conftest.$ac_ext <<_ACEOF
35174 /* end confdefs.h. */
35175 #include <$ac_header>
35177 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35178 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35180 grep -v '^ *+' conftest.er1 >conftest.err
35182 cat conftest.err >&5
35183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35184 (exit $ac_status); } >/dev/null; then
35185 if test -s conftest.err; then
35186 ac_cpp_err=$ac_c_preproc_warn_flag
35187 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35194 if test -z "$ac_cpp_err"; then
35195 ac_header_preproc=yes
35197 echo "$as_me: failed program was:" >&5
35198 sed 's/^/| /' conftest.$ac_ext >&5
35200 ac_header_preproc=no
35202 rm -f conftest.err conftest.$ac_ext
35203 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35204 echo "${ECHO_T}$ac_header_preproc" >&6
35206 # So? What about this header?
35207 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35209 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35210 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35211 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35212 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35213 ac_header_preproc=yes
35216 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35217 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35218 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35219 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35220 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35221 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35222 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35223 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35224 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35225 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35226 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35227 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35230 ## ------------------------------ ##
35231 ## Report this to the ntp lists. ##
35232 ## ------------------------------ ##
35235 sed "s/^/$as_me: WARNING: /" >&2
35238 echo "$as_me:$LINENO: checking for $ac_header" >&5
35239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35241 echo $ECHO_N "(cached) $ECHO_C" >&6
35243 eval "$as_ac_Header=\$ac_header_preproc"
35245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35246 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35249 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35250 cat >>confdefs.h <<_ACEOF
35251 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35259 for ac_header in netinet/ip.h
35261 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35262 echo "$as_me:$LINENO: checking for $ac_header" >&5
35263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35265 echo $ECHO_N "(cached) $ECHO_C" >&6
35267 cat >conftest.$ac_ext <<_ACEOF
35270 cat confdefs.h >>conftest.$ac_ext
35271 cat >>conftest.$ac_ext <<_ACEOF
35272 /* end confdefs.h. */
35273 #if HAVE_SYS_TYPES_H
35274 #include <sys/types.h>
35276 #if HAVE_NETINET_IN_H
35277 #include <netinet/in.h>
35279 #if HAVE_NETINET_IN_SYSTM_H
35280 #include <netinet/in_systm.h>
35284 #include <$ac_header>
35286 rm -f conftest.$ac_objext
35287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35288 (eval $ac_compile) 2>conftest.er1
35290 grep -v '^ *+' conftest.er1 >conftest.err
35292 cat conftest.err >&5
35293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35294 (exit $ac_status); } &&
35295 { ac_try='test -z "$ac_c_werror_flag"
35296 || test ! -s conftest.err'
35297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35298 (eval $ac_try) 2>&5
35300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35301 (exit $ac_status); }; } &&
35302 { ac_try='test -s conftest.$ac_objext'
35303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35304 (eval $ac_try) 2>&5
35306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35307 (exit $ac_status); }; }; then
35308 eval "$as_ac_Header=yes"
35310 echo "$as_me: failed program was:" >&5
35311 sed 's/^/| /' conftest.$ac_ext >&5
35313 eval "$as_ac_Header=no"
35315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35318 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35319 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35320 cat >>confdefs.h <<_ACEOF
35321 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35329 for ac_header in netinfo/ni.h
35331 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35333 echo "$as_me:$LINENO: checking for $ac_header" >&5
35334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35336 echo $ECHO_N "(cached) $ECHO_C" >&6
35338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35341 # Is the header compilable?
35342 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35343 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35344 cat >conftest.$ac_ext <<_ACEOF
35347 cat confdefs.h >>conftest.$ac_ext
35348 cat >>conftest.$ac_ext <<_ACEOF
35349 /* end confdefs.h. */
35350 $ac_includes_default
35351 #include <$ac_header>
35353 rm -f conftest.$ac_objext
35354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35355 (eval $ac_compile) 2>conftest.er1
35357 grep -v '^ *+' conftest.er1 >conftest.err
35359 cat conftest.err >&5
35360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35361 (exit $ac_status); } &&
35362 { ac_try='test -z "$ac_c_werror_flag"
35363 || test ! -s conftest.err'
35364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35365 (eval $ac_try) 2>&5
35367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35368 (exit $ac_status); }; } &&
35369 { ac_try='test -s conftest.$ac_objext'
35370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35371 (eval $ac_try) 2>&5
35373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35374 (exit $ac_status); }; }; then
35375 ac_header_compiler=yes
35377 echo "$as_me: failed program was:" >&5
35378 sed 's/^/| /' conftest.$ac_ext >&5
35380 ac_header_compiler=no
35382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35383 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35384 echo "${ECHO_T}$ac_header_compiler" >&6
35386 # Is the header present?
35387 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35388 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35389 cat >conftest.$ac_ext <<_ACEOF
35392 cat confdefs.h >>conftest.$ac_ext
35393 cat >>conftest.$ac_ext <<_ACEOF
35394 /* end confdefs.h. */
35395 #include <$ac_header>
35397 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35398 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35400 grep -v '^ *+' conftest.er1 >conftest.err
35402 cat conftest.err >&5
35403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35404 (exit $ac_status); } >/dev/null; then
35405 if test -s conftest.err; then
35406 ac_cpp_err=$ac_c_preproc_warn_flag
35407 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35414 if test -z "$ac_cpp_err"; then
35415 ac_header_preproc=yes
35417 echo "$as_me: failed program was:" >&5
35418 sed 's/^/| /' conftest.$ac_ext >&5
35420 ac_header_preproc=no
35422 rm -f conftest.err conftest.$ac_ext
35423 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35424 echo "${ECHO_T}$ac_header_preproc" >&6
35426 # So? What about this header?
35427 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35429 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35430 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35431 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35432 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35433 ac_header_preproc=yes
35436 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35437 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35438 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35439 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35440 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35441 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35442 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35443 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35444 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35445 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35446 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35447 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35450 ## ------------------------------ ##
35451 ## Report this to the ntp lists. ##
35452 ## ------------------------------ ##
35455 sed "s/^/$as_me: WARNING: /" >&2
35458 echo "$as_me:$LINENO: checking for $ac_header" >&5
35459 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35461 echo $ECHO_N "(cached) $ECHO_C" >&6
35463 eval "$as_ac_Header=\$ac_header_preproc"
35465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35466 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35469 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35470 cat >>confdefs.h <<_ACEOF
35471 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35474 cat >>confdefs.h <<\_ACEOF
35475 #define HAVE_NETINFO 1
35484 for ac_header in sun/audioio.h sys/audioio.h
35486 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35487 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35488 echo "$as_me:$LINENO: checking for $ac_header" >&5
35489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35490 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35491 echo $ECHO_N "(cached) $ECHO_C" >&6
35493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35494 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35496 # Is the header compilable?
35497 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35498 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35499 cat >conftest.$ac_ext <<_ACEOF
35502 cat confdefs.h >>conftest.$ac_ext
35503 cat >>conftest.$ac_ext <<_ACEOF
35504 /* end confdefs.h. */
35505 $ac_includes_default
35506 #include <$ac_header>
35508 rm -f conftest.$ac_objext
35509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35510 (eval $ac_compile) 2>conftest.er1
35512 grep -v '^ *+' conftest.er1 >conftest.err
35514 cat conftest.err >&5
35515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35516 (exit $ac_status); } &&
35517 { ac_try='test -z "$ac_c_werror_flag"
35518 || test ! -s conftest.err'
35519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35520 (eval $ac_try) 2>&5
35522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35523 (exit $ac_status); }; } &&
35524 { ac_try='test -s conftest.$ac_objext'
35525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35526 (eval $ac_try) 2>&5
35528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35529 (exit $ac_status); }; }; then
35530 ac_header_compiler=yes
35532 echo "$as_me: failed program was:" >&5
35533 sed 's/^/| /' conftest.$ac_ext >&5
35535 ac_header_compiler=no
35537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35538 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35539 echo "${ECHO_T}$ac_header_compiler" >&6
35541 # Is the header present?
35542 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35543 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35544 cat >conftest.$ac_ext <<_ACEOF
35547 cat confdefs.h >>conftest.$ac_ext
35548 cat >>conftest.$ac_ext <<_ACEOF
35549 /* end confdefs.h. */
35550 #include <$ac_header>
35552 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35553 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35555 grep -v '^ *+' conftest.er1 >conftest.err
35557 cat conftest.err >&5
35558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35559 (exit $ac_status); } >/dev/null; then
35560 if test -s conftest.err; then
35561 ac_cpp_err=$ac_c_preproc_warn_flag
35562 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35569 if test -z "$ac_cpp_err"; then
35570 ac_header_preproc=yes
35572 echo "$as_me: failed program was:" >&5
35573 sed 's/^/| /' conftest.$ac_ext >&5
35575 ac_header_preproc=no
35577 rm -f conftest.err conftest.$ac_ext
35578 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35579 echo "${ECHO_T}$ac_header_preproc" >&6
35581 # So? What about this header?
35582 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35584 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35585 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35586 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35587 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35588 ac_header_preproc=yes
35591 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35592 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35593 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35594 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35595 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35596 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35597 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35598 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35599 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35600 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35601 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35602 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35605 ## ------------------------------ ##
35606 ## Report this to the ntp lists. ##
35607 ## ------------------------------ ##
35610 sed "s/^/$as_me: WARNING: /" >&2
35613 echo "$as_me:$LINENO: checking for $ac_header" >&5
35614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35616 echo $ECHO_N "(cached) $ECHO_C" >&6
35618 eval "$as_ac_Header=\$ac_header_preproc"
35620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35621 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35624 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35625 cat >>confdefs.h <<_ACEOF
35626 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35635 for ac_header in sys/clkdefs.h sys/file.h
35637 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35638 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35639 echo "$as_me:$LINENO: checking for $ac_header" >&5
35640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35642 echo $ECHO_N "(cached) $ECHO_C" >&6
35644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35645 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35647 # Is the header compilable?
35648 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35649 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35650 cat >conftest.$ac_ext <<_ACEOF
35653 cat confdefs.h >>conftest.$ac_ext
35654 cat >>conftest.$ac_ext <<_ACEOF
35655 /* end confdefs.h. */
35656 $ac_includes_default
35657 #include <$ac_header>
35659 rm -f conftest.$ac_objext
35660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35661 (eval $ac_compile) 2>conftest.er1
35663 grep -v '^ *+' conftest.er1 >conftest.err
35665 cat conftest.err >&5
35666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35667 (exit $ac_status); } &&
35668 { ac_try='test -z "$ac_c_werror_flag"
35669 || test ! -s conftest.err'
35670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35671 (eval $ac_try) 2>&5
35673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35674 (exit $ac_status); }; } &&
35675 { ac_try='test -s conftest.$ac_objext'
35676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35677 (eval $ac_try) 2>&5
35679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35680 (exit $ac_status); }; }; then
35681 ac_header_compiler=yes
35683 echo "$as_me: failed program was:" >&5
35684 sed 's/^/| /' conftest.$ac_ext >&5
35686 ac_header_compiler=no
35688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35689 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35690 echo "${ECHO_T}$ac_header_compiler" >&6
35692 # Is the header present?
35693 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35694 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35695 cat >conftest.$ac_ext <<_ACEOF
35698 cat confdefs.h >>conftest.$ac_ext
35699 cat >>conftest.$ac_ext <<_ACEOF
35700 /* end confdefs.h. */
35701 #include <$ac_header>
35703 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35704 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35706 grep -v '^ *+' conftest.er1 >conftest.err
35708 cat conftest.err >&5
35709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35710 (exit $ac_status); } >/dev/null; then
35711 if test -s conftest.err; then
35712 ac_cpp_err=$ac_c_preproc_warn_flag
35713 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35720 if test -z "$ac_cpp_err"; then
35721 ac_header_preproc=yes
35723 echo "$as_me: failed program was:" >&5
35724 sed 's/^/| /' conftest.$ac_ext >&5
35726 ac_header_preproc=no
35728 rm -f conftest.err conftest.$ac_ext
35729 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35730 echo "${ECHO_T}$ac_header_preproc" >&6
35732 # So? What about this header?
35733 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35735 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35736 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35737 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35738 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35739 ac_header_preproc=yes
35742 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35743 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35744 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35745 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35746 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35747 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35748 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35749 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35750 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35751 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35752 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35753 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35756 ## ------------------------------ ##
35757 ## Report this to the ntp lists. ##
35758 ## ------------------------------ ##
35761 sed "s/^/$as_me: WARNING: /" >&2
35764 echo "$as_me:$LINENO: checking for $ac_header" >&5
35765 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35766 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35767 echo $ECHO_N "(cached) $ECHO_C" >&6
35769 eval "$as_ac_Header=\$ac_header_preproc"
35771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35772 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35775 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35776 cat >>confdefs.h <<_ACEOF
35777 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35787 for ac_header in sys/ioctl.h
35789 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35791 echo "$as_me:$LINENO: checking for $ac_header" >&5
35792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35794 echo $ECHO_N "(cached) $ECHO_C" >&6
35796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35797 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35799 # Is the header compilable?
35800 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35801 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35802 cat >conftest.$ac_ext <<_ACEOF
35805 cat confdefs.h >>conftest.$ac_ext
35806 cat >>conftest.$ac_ext <<_ACEOF
35807 /* end confdefs.h. */
35808 $ac_includes_default
35809 #include <$ac_header>
35811 rm -f conftest.$ac_objext
35812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35813 (eval $ac_compile) 2>conftest.er1
35815 grep -v '^ *+' conftest.er1 >conftest.err
35817 cat conftest.err >&5
35818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35819 (exit $ac_status); } &&
35820 { ac_try='test -z "$ac_c_werror_flag"
35821 || test ! -s conftest.err'
35822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35823 (eval $ac_try) 2>&5
35825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35826 (exit $ac_status); }; } &&
35827 { ac_try='test -s conftest.$ac_objext'
35828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35829 (eval $ac_try) 2>&5
35831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35832 (exit $ac_status); }; }; then
35833 ac_header_compiler=yes
35835 echo "$as_me: failed program was:" >&5
35836 sed 's/^/| /' conftest.$ac_ext >&5
35838 ac_header_compiler=no
35840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35841 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35842 echo "${ECHO_T}$ac_header_compiler" >&6
35844 # Is the header present?
35845 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35846 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35847 cat >conftest.$ac_ext <<_ACEOF
35850 cat confdefs.h >>conftest.$ac_ext
35851 cat >>conftest.$ac_ext <<_ACEOF
35852 /* end confdefs.h. */
35853 #include <$ac_header>
35855 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35856 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35858 grep -v '^ *+' conftest.er1 >conftest.err
35860 cat conftest.err >&5
35861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35862 (exit $ac_status); } >/dev/null; then
35863 if test -s conftest.err; then
35864 ac_cpp_err=$ac_c_preproc_warn_flag
35865 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35872 if test -z "$ac_cpp_err"; then
35873 ac_header_preproc=yes
35875 echo "$as_me: failed program was:" >&5
35876 sed 's/^/| /' conftest.$ac_ext >&5
35878 ac_header_preproc=no
35880 rm -f conftest.err conftest.$ac_ext
35881 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35882 echo "${ECHO_T}$ac_header_preproc" >&6
35884 # So? What about this header?
35885 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35887 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35888 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35889 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35890 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35891 ac_header_preproc=yes
35894 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35895 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35896 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35897 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35898 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35899 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35900 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35901 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35902 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35903 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35904 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35905 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35908 ## ------------------------------ ##
35909 ## Report this to the ntp lists. ##
35910 ## ------------------------------ ##
35913 sed "s/^/$as_me: WARNING: /" >&2
35916 echo "$as_me:$LINENO: checking for $ac_header" >&5
35917 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35918 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35919 echo $ECHO_N "(cached) $ECHO_C" >&6
35921 eval "$as_ac_Header=\$ac_header_preproc"
35923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35924 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35927 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35928 cat >>confdefs.h <<_ACEOF
35929 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35939 for ac_header in sys/ipc.h
35941 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35943 echo "$as_me:$LINENO: checking for $ac_header" >&5
35944 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35945 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35946 echo $ECHO_N "(cached) $ECHO_C" >&6
35948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35949 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35951 # Is the header compilable?
35952 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35953 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35954 cat >conftest.$ac_ext <<_ACEOF
35957 cat confdefs.h >>conftest.$ac_ext
35958 cat >>conftest.$ac_ext <<_ACEOF
35959 /* end confdefs.h. */
35960 $ac_includes_default
35961 #include <$ac_header>
35963 rm -f conftest.$ac_objext
35964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35965 (eval $ac_compile) 2>conftest.er1
35967 grep -v '^ *+' conftest.er1 >conftest.err
35969 cat conftest.err >&5
35970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35971 (exit $ac_status); } &&
35972 { ac_try='test -z "$ac_c_werror_flag"
35973 || test ! -s conftest.err'
35974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35975 (eval $ac_try) 2>&5
35977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35978 (exit $ac_status); }; } &&
35979 { ac_try='test -s conftest.$ac_objext'
35980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35981 (eval $ac_try) 2>&5
35983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35984 (exit $ac_status); }; }; then
35985 ac_header_compiler=yes
35987 echo "$as_me: failed program was:" >&5
35988 sed 's/^/| /' conftest.$ac_ext >&5
35990 ac_header_compiler=no
35992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35993 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35994 echo "${ECHO_T}$ac_header_compiler" >&6
35996 # Is the header present?
35997 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35998 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35999 cat >conftest.$ac_ext <<_ACEOF
36002 cat confdefs.h >>conftest.$ac_ext
36003 cat >>conftest.$ac_ext <<_ACEOF
36004 /* end confdefs.h. */
36005 #include <$ac_header>
36007 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36008 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36010 grep -v '^ *+' conftest.er1 >conftest.err
36012 cat conftest.err >&5
36013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36014 (exit $ac_status); } >/dev/null; then
36015 if test -s conftest.err; then
36016 ac_cpp_err=$ac_c_preproc_warn_flag
36017 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36024 if test -z "$ac_cpp_err"; then
36025 ac_header_preproc=yes
36027 echo "$as_me: failed program was:" >&5
36028 sed 's/^/| /' conftest.$ac_ext >&5
36030 ac_header_preproc=no
36032 rm -f conftest.err conftest.$ac_ext
36033 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36034 echo "${ECHO_T}$ac_header_preproc" >&6
36036 # So? What about this header?
36037 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36039 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36040 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36041 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36042 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36043 ac_header_preproc=yes
36046 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36047 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36048 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36049 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36050 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36051 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36052 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36053 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36054 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36055 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36056 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36057 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36060 ## ------------------------------ ##
36061 ## Report this to the ntp lists. ##
36062 ## ------------------------------ ##
36065 sed "s/^/$as_me: WARNING: /" >&2
36068 echo "$as_me:$LINENO: checking for $ac_header" >&5
36069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36070 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36071 echo $ECHO_N "(cached) $ECHO_C" >&6
36073 eval "$as_ac_Header=\$ac_header_preproc"
36075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36076 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36079 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36080 cat >>confdefs.h <<_ACEOF
36081 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36093 for ac_header in sys/lock.h sys/mman.h sys/modem.h sys/param.h sys/ppsclock.h
36095 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36097 echo "$as_me:$LINENO: checking for $ac_header" >&5
36098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36100 echo $ECHO_N "(cached) $ECHO_C" >&6
36102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36105 # Is the header compilable?
36106 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36107 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36108 cat >conftest.$ac_ext <<_ACEOF
36111 cat confdefs.h >>conftest.$ac_ext
36112 cat >>conftest.$ac_ext <<_ACEOF
36113 /* end confdefs.h. */
36114 $ac_includes_default
36115 #include <$ac_header>
36117 rm -f conftest.$ac_objext
36118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36119 (eval $ac_compile) 2>conftest.er1
36121 grep -v '^ *+' conftest.er1 >conftest.err
36123 cat conftest.err >&5
36124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36125 (exit $ac_status); } &&
36126 { ac_try='test -z "$ac_c_werror_flag"
36127 || test ! -s conftest.err'
36128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36129 (eval $ac_try) 2>&5
36131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36132 (exit $ac_status); }; } &&
36133 { ac_try='test -s conftest.$ac_objext'
36134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36135 (eval $ac_try) 2>&5
36137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36138 (exit $ac_status); }; }; then
36139 ac_header_compiler=yes
36141 echo "$as_me: failed program was:" >&5
36142 sed 's/^/| /' conftest.$ac_ext >&5
36144 ac_header_compiler=no
36146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36147 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36148 echo "${ECHO_T}$ac_header_compiler" >&6
36150 # Is the header present?
36151 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36152 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36153 cat >conftest.$ac_ext <<_ACEOF
36156 cat confdefs.h >>conftest.$ac_ext
36157 cat >>conftest.$ac_ext <<_ACEOF
36158 /* end confdefs.h. */
36159 #include <$ac_header>
36161 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36162 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36164 grep -v '^ *+' conftest.er1 >conftest.err
36166 cat conftest.err >&5
36167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36168 (exit $ac_status); } >/dev/null; then
36169 if test -s conftest.err; then
36170 ac_cpp_err=$ac_c_preproc_warn_flag
36171 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36178 if test -z "$ac_cpp_err"; then
36179 ac_header_preproc=yes
36181 echo "$as_me: failed program was:" >&5
36182 sed 's/^/| /' conftest.$ac_ext >&5
36184 ac_header_preproc=no
36186 rm -f conftest.err conftest.$ac_ext
36187 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36188 echo "${ECHO_T}$ac_header_preproc" >&6
36190 # So? What about this header?
36191 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36193 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36194 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36195 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36196 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36197 ac_header_preproc=yes
36200 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36201 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36202 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36203 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36204 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36205 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36206 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36207 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36208 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36209 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36210 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36211 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36214 ## ------------------------------ ##
36215 ## Report this to the ntp lists. ##
36216 ## ------------------------------ ##
36219 sed "s/^/$as_me: WARNING: /" >&2
36222 echo "$as_me:$LINENO: checking for $ac_header" >&5
36223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36225 echo $ECHO_N "(cached) $ECHO_C" >&6
36227 eval "$as_ac_Header=\$ac_header_preproc"
36229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36230 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36233 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36234 cat >>confdefs.h <<_ACEOF
36235 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36242 # HMS: Check sys/proc.h and sys/resource.h after some others
36244 for ac_header in sys/ppstime.h
36246 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36248 echo "$as_me:$LINENO: checking for $ac_header" >&5
36249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36251 echo $ECHO_N "(cached) $ECHO_C" >&6
36253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36254 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36256 # Is the header compilable?
36257 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36258 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36259 cat >conftest.$ac_ext <<_ACEOF
36262 cat confdefs.h >>conftest.$ac_ext
36263 cat >>conftest.$ac_ext <<_ACEOF
36264 /* end confdefs.h. */
36265 $ac_includes_default
36266 #include <$ac_header>
36268 rm -f conftest.$ac_objext
36269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36270 (eval $ac_compile) 2>conftest.er1
36272 grep -v '^ *+' conftest.er1 >conftest.err
36274 cat conftest.err >&5
36275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36276 (exit $ac_status); } &&
36277 { ac_try='test -z "$ac_c_werror_flag"
36278 || test ! -s conftest.err'
36279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36280 (eval $ac_try) 2>&5
36282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36283 (exit $ac_status); }; } &&
36284 { ac_try='test -s conftest.$ac_objext'
36285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36286 (eval $ac_try) 2>&5
36288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36289 (exit $ac_status); }; }; then
36290 ac_header_compiler=yes
36292 echo "$as_me: failed program was:" >&5
36293 sed 's/^/| /' conftest.$ac_ext >&5
36295 ac_header_compiler=no
36297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36298 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36299 echo "${ECHO_T}$ac_header_compiler" >&6
36301 # Is the header present?
36302 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36303 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36304 cat >conftest.$ac_ext <<_ACEOF
36307 cat confdefs.h >>conftest.$ac_ext
36308 cat >>conftest.$ac_ext <<_ACEOF
36309 /* end confdefs.h. */
36310 #include <$ac_header>
36312 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36313 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36315 grep -v '^ *+' conftest.er1 >conftest.err
36317 cat conftest.err >&5
36318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36319 (exit $ac_status); } >/dev/null; then
36320 if test -s conftest.err; then
36321 ac_cpp_err=$ac_c_preproc_warn_flag
36322 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36329 if test -z "$ac_cpp_err"; then
36330 ac_header_preproc=yes
36332 echo "$as_me: failed program was:" >&5
36333 sed 's/^/| /' conftest.$ac_ext >&5
36335 ac_header_preproc=no
36337 rm -f conftest.err conftest.$ac_ext
36338 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36339 echo "${ECHO_T}$ac_header_preproc" >&6
36341 # So? What about this header?
36342 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36344 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36345 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36347 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36348 ac_header_preproc=yes
36351 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36352 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36353 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36354 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36355 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36356 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36357 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36358 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36359 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36360 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36361 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36362 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36365 ## ------------------------------ ##
36366 ## Report this to the ntp lists. ##
36367 ## ------------------------------ ##
36370 sed "s/^/$as_me: WARNING: /" >&2
36373 echo "$as_me:$LINENO: checking for $ac_header" >&5
36374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36376 echo $ECHO_N "(cached) $ECHO_C" >&6
36378 eval "$as_ac_Header=\$ac_header_preproc"
36380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36381 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36384 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36385 cat >>confdefs.h <<_ACEOF
36386 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36393 case "$ac_cv_header_sched_h" in
36396 for ac_header in sys/sched.h
36398 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36400 echo "$as_me:$LINENO: checking for $ac_header" >&5
36401 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36402 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36403 echo $ECHO_N "(cached) $ECHO_C" >&6
36405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36406 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36408 # Is the header compilable?
36409 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36410 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36411 cat >conftest.$ac_ext <<_ACEOF
36414 cat confdefs.h >>conftest.$ac_ext
36415 cat >>conftest.$ac_ext <<_ACEOF
36416 /* end confdefs.h. */
36417 $ac_includes_default
36418 #include <$ac_header>
36420 rm -f conftest.$ac_objext
36421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36422 (eval $ac_compile) 2>conftest.er1
36424 grep -v '^ *+' conftest.er1 >conftest.err
36426 cat conftest.err >&5
36427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36428 (exit $ac_status); } &&
36429 { ac_try='test -z "$ac_c_werror_flag"
36430 || test ! -s conftest.err'
36431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36432 (eval $ac_try) 2>&5
36434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36435 (exit $ac_status); }; } &&
36436 { ac_try='test -s conftest.$ac_objext'
36437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36438 (eval $ac_try) 2>&5
36440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36441 (exit $ac_status); }; }; then
36442 ac_header_compiler=yes
36444 echo "$as_me: failed program was:" >&5
36445 sed 's/^/| /' conftest.$ac_ext >&5
36447 ac_header_compiler=no
36449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36450 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36451 echo "${ECHO_T}$ac_header_compiler" >&6
36453 # Is the header present?
36454 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36455 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36456 cat >conftest.$ac_ext <<_ACEOF
36459 cat confdefs.h >>conftest.$ac_ext
36460 cat >>conftest.$ac_ext <<_ACEOF
36461 /* end confdefs.h. */
36462 #include <$ac_header>
36464 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36465 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36467 grep -v '^ *+' conftest.er1 >conftest.err
36469 cat conftest.err >&5
36470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36471 (exit $ac_status); } >/dev/null; then
36472 if test -s conftest.err; then
36473 ac_cpp_err=$ac_c_preproc_warn_flag
36474 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36481 if test -z "$ac_cpp_err"; then
36482 ac_header_preproc=yes
36484 echo "$as_me: failed program was:" >&5
36485 sed 's/^/| /' conftest.$ac_ext >&5
36487 ac_header_preproc=no
36489 rm -f conftest.err conftest.$ac_ext
36490 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36491 echo "${ECHO_T}$ac_header_preproc" >&6
36493 # So? What about this header?
36494 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36496 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36497 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36498 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36499 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36500 ac_header_preproc=yes
36503 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36504 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36505 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36506 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36507 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36508 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36509 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36510 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36511 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36512 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36513 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36514 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36517 ## ------------------------------ ##
36518 ## Report this to the ntp lists. ##
36519 ## ------------------------------ ##
36522 sed "s/^/$as_me: WARNING: /" >&2
36525 echo "$as_me:$LINENO: checking for $ac_header" >&5
36526 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36527 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36528 echo $ECHO_N "(cached) $ECHO_C" >&6
36530 eval "$as_ac_Header=\$ac_header_preproc"
36532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36533 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36536 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36537 cat >>confdefs.h <<_ACEOF
36538 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36549 for ac_header in sys/sio.h
36551 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36552 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36553 echo "$as_me:$LINENO: checking for $ac_header" >&5
36554 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36555 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36556 echo $ECHO_N "(cached) $ECHO_C" >&6
36558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36559 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36561 # Is the header compilable?
36562 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36563 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36564 cat >conftest.$ac_ext <<_ACEOF
36567 cat confdefs.h >>conftest.$ac_ext
36568 cat >>conftest.$ac_ext <<_ACEOF
36569 /* end confdefs.h. */
36570 $ac_includes_default
36571 #include <$ac_header>
36573 rm -f conftest.$ac_objext
36574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36575 (eval $ac_compile) 2>conftest.er1
36577 grep -v '^ *+' conftest.er1 >conftest.err
36579 cat conftest.err >&5
36580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36581 (exit $ac_status); } &&
36582 { ac_try='test -z "$ac_c_werror_flag"
36583 || test ! -s conftest.err'
36584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36585 (eval $ac_try) 2>&5
36587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36588 (exit $ac_status); }; } &&
36589 { ac_try='test -s conftest.$ac_objext'
36590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36591 (eval $ac_try) 2>&5
36593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36594 (exit $ac_status); }; }; then
36595 ac_header_compiler=yes
36597 echo "$as_me: failed program was:" >&5
36598 sed 's/^/| /' conftest.$ac_ext >&5
36600 ac_header_compiler=no
36602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36603 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36604 echo "${ECHO_T}$ac_header_compiler" >&6
36606 # Is the header present?
36607 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36608 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36609 cat >conftest.$ac_ext <<_ACEOF
36612 cat confdefs.h >>conftest.$ac_ext
36613 cat >>conftest.$ac_ext <<_ACEOF
36614 /* end confdefs.h. */
36615 #include <$ac_header>
36617 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36618 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36620 grep -v '^ *+' conftest.er1 >conftest.err
36622 cat conftest.err >&5
36623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36624 (exit $ac_status); } >/dev/null; then
36625 if test -s conftest.err; then
36626 ac_cpp_err=$ac_c_preproc_warn_flag
36627 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36634 if test -z "$ac_cpp_err"; then
36635 ac_header_preproc=yes
36637 echo "$as_me: failed program was:" >&5
36638 sed 's/^/| /' conftest.$ac_ext >&5
36640 ac_header_preproc=no
36642 rm -f conftest.err conftest.$ac_ext
36643 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36644 echo "${ECHO_T}$ac_header_preproc" >&6
36646 # So? What about this header?
36647 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36649 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36650 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36651 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36652 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36653 ac_header_preproc=yes
36656 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36657 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36658 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36659 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36660 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36661 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36662 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36663 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36664 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36665 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36666 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36667 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36670 ## ------------------------------ ##
36671 ## Report this to the ntp lists. ##
36672 ## ------------------------------ ##
36675 sed "s/^/$as_me: WARNING: /" >&2
36678 echo "$as_me:$LINENO: checking for $ac_header" >&5
36679 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36680 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36681 echo $ECHO_N "(cached) $ECHO_C" >&6
36683 eval "$as_ac_Header=\$ac_header_preproc"
36685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36686 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36689 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36690 cat >>confdefs.h <<_ACEOF
36691 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36700 # HMS: Check sys/shm.h after some others
36704 for ac_header in sys/select.h sys/signal.h sys/sockio.h
36706 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36707 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36708 echo "$as_me:$LINENO: checking for $ac_header" >&5
36709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36711 echo $ECHO_N "(cached) $ECHO_C" >&6
36713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36714 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36716 # Is the header compilable?
36717 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36718 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36719 cat >conftest.$ac_ext <<_ACEOF
36722 cat confdefs.h >>conftest.$ac_ext
36723 cat >>conftest.$ac_ext <<_ACEOF
36724 /* end confdefs.h. */
36725 $ac_includes_default
36726 #include <$ac_header>
36728 rm -f conftest.$ac_objext
36729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36730 (eval $ac_compile) 2>conftest.er1
36732 grep -v '^ *+' conftest.er1 >conftest.err
36734 cat conftest.err >&5
36735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36736 (exit $ac_status); } &&
36737 { ac_try='test -z "$ac_c_werror_flag"
36738 || test ! -s conftest.err'
36739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36740 (eval $ac_try) 2>&5
36742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36743 (exit $ac_status); }; } &&
36744 { ac_try='test -s conftest.$ac_objext'
36745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36746 (eval $ac_try) 2>&5
36748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36749 (exit $ac_status); }; }; then
36750 ac_header_compiler=yes
36752 echo "$as_me: failed program was:" >&5
36753 sed 's/^/| /' conftest.$ac_ext >&5
36755 ac_header_compiler=no
36757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36758 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36759 echo "${ECHO_T}$ac_header_compiler" >&6
36761 # Is the header present?
36762 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36763 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36764 cat >conftest.$ac_ext <<_ACEOF
36767 cat confdefs.h >>conftest.$ac_ext
36768 cat >>conftest.$ac_ext <<_ACEOF
36769 /* end confdefs.h. */
36770 #include <$ac_header>
36772 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36773 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36775 grep -v '^ *+' conftest.er1 >conftest.err
36777 cat conftest.err >&5
36778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36779 (exit $ac_status); } >/dev/null; then
36780 if test -s conftest.err; then
36781 ac_cpp_err=$ac_c_preproc_warn_flag
36782 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36789 if test -z "$ac_cpp_err"; then
36790 ac_header_preproc=yes
36792 echo "$as_me: failed program was:" >&5
36793 sed 's/^/| /' conftest.$ac_ext >&5
36795 ac_header_preproc=no
36797 rm -f conftest.err conftest.$ac_ext
36798 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36799 echo "${ECHO_T}$ac_header_preproc" >&6
36801 # So? What about this header?
36802 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36804 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36805 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36806 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36807 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36808 ac_header_preproc=yes
36811 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36812 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36813 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36814 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36815 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36816 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36817 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36818 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36819 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36820 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36821 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36822 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36825 ## ------------------------------ ##
36826 ## Report this to the ntp lists. ##
36827 ## ------------------------------ ##
36830 sed "s/^/$as_me: WARNING: /" >&2
36833 echo "$as_me:$LINENO: checking for $ac_header" >&5
36834 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36835 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36836 echo $ECHO_N "(cached) $ECHO_C" >&6
36838 eval "$as_ac_Header=\$ac_header_preproc"
36840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36841 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36844 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36845 cat >>confdefs.h <<_ACEOF
36846 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36853 # HMS: Checked sys/socket.h earlier
36858 for ac_header in machine/soundcard.h sys/soundcard.h
36860 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36861 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36862 echo "$as_me:$LINENO: checking for $ac_header" >&5
36863 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36864 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36865 echo $ECHO_N "(cached) $ECHO_C" >&6
36867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36868 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36870 # Is the header compilable?
36871 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36872 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36873 cat >conftest.$ac_ext <<_ACEOF
36876 cat confdefs.h >>conftest.$ac_ext
36877 cat >>conftest.$ac_ext <<_ACEOF
36878 /* end confdefs.h. */
36879 $ac_includes_default
36880 #include <$ac_header>
36882 rm -f conftest.$ac_objext
36883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36884 (eval $ac_compile) 2>conftest.er1
36886 grep -v '^ *+' conftest.er1 >conftest.err
36888 cat conftest.err >&5
36889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36890 (exit $ac_status); } &&
36891 { ac_try='test -z "$ac_c_werror_flag"
36892 || test ! -s conftest.err'
36893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36894 (eval $ac_try) 2>&5
36896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36897 (exit $ac_status); }; } &&
36898 { ac_try='test -s conftest.$ac_objext'
36899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36900 (eval $ac_try) 2>&5
36902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36903 (exit $ac_status); }; }; then
36904 ac_header_compiler=yes
36906 echo "$as_me: failed program was:" >&5
36907 sed 's/^/| /' conftest.$ac_ext >&5
36909 ac_header_compiler=no
36911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36912 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36913 echo "${ECHO_T}$ac_header_compiler" >&6
36915 # Is the header present?
36916 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36917 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36918 cat >conftest.$ac_ext <<_ACEOF
36921 cat confdefs.h >>conftest.$ac_ext
36922 cat >>conftest.$ac_ext <<_ACEOF
36923 /* end confdefs.h. */
36924 #include <$ac_header>
36926 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36927 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36929 grep -v '^ *+' conftest.er1 >conftest.err
36931 cat conftest.err >&5
36932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36933 (exit $ac_status); } >/dev/null; then
36934 if test -s conftest.err; then
36935 ac_cpp_err=$ac_c_preproc_warn_flag
36936 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36943 if test -z "$ac_cpp_err"; then
36944 ac_header_preproc=yes
36946 echo "$as_me: failed program was:" >&5
36947 sed 's/^/| /' conftest.$ac_ext >&5
36949 ac_header_preproc=no
36951 rm -f conftest.err conftest.$ac_ext
36952 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36953 echo "${ECHO_T}$ac_header_preproc" >&6
36955 # So? What about this header?
36956 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36958 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36959 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36960 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36961 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36962 ac_header_preproc=yes
36965 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36966 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36967 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36968 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36969 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36970 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36971 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36972 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36973 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36974 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36975 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36976 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36979 ## ------------------------------ ##
36980 ## Report this to the ntp lists. ##
36981 ## ------------------------------ ##
36984 sed "s/^/$as_me: WARNING: /" >&2
36987 echo "$as_me:$LINENO: checking for $ac_header" >&5
36988 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36989 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36990 echo $ECHO_N "(cached) $ECHO_C" >&6
36992 eval "$as_ac_Header=\$ac_header_preproc"
36994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36995 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36998 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36999 cat >>confdefs.h <<_ACEOF
37000 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37011 for ac_header in sys/stat.h sys/stream.h
37013 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37014 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37015 echo "$as_me:$LINENO: checking for $ac_header" >&5
37016 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37017 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37018 echo $ECHO_N "(cached) $ECHO_C" >&6
37020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37021 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37023 # Is the header compilable?
37024 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37025 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37026 cat >conftest.$ac_ext <<_ACEOF
37029 cat confdefs.h >>conftest.$ac_ext
37030 cat >>conftest.$ac_ext <<_ACEOF
37031 /* end confdefs.h. */
37032 $ac_includes_default
37033 #include <$ac_header>
37035 rm -f conftest.$ac_objext
37036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37037 (eval $ac_compile) 2>conftest.er1
37039 grep -v '^ *+' conftest.er1 >conftest.err
37041 cat conftest.err >&5
37042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37043 (exit $ac_status); } &&
37044 { ac_try='test -z "$ac_c_werror_flag"
37045 || test ! -s conftest.err'
37046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37047 (eval $ac_try) 2>&5
37049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37050 (exit $ac_status); }; } &&
37051 { ac_try='test -s conftest.$ac_objext'
37052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37053 (eval $ac_try) 2>&5
37055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37056 (exit $ac_status); }; }; then
37057 ac_header_compiler=yes
37059 echo "$as_me: failed program was:" >&5
37060 sed 's/^/| /' conftest.$ac_ext >&5
37062 ac_header_compiler=no
37064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37065 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37066 echo "${ECHO_T}$ac_header_compiler" >&6
37068 # Is the header present?
37069 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37070 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37071 cat >conftest.$ac_ext <<_ACEOF
37074 cat confdefs.h >>conftest.$ac_ext
37075 cat >>conftest.$ac_ext <<_ACEOF
37076 /* end confdefs.h. */
37077 #include <$ac_header>
37079 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37080 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37082 grep -v '^ *+' conftest.er1 >conftest.err
37084 cat conftest.err >&5
37085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37086 (exit $ac_status); } >/dev/null; then
37087 if test -s conftest.err; then
37088 ac_cpp_err=$ac_c_preproc_warn_flag
37089 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37096 if test -z "$ac_cpp_err"; then
37097 ac_header_preproc=yes
37099 echo "$as_me: failed program was:" >&5
37100 sed 's/^/| /' conftest.$ac_ext >&5
37102 ac_header_preproc=no
37104 rm -f conftest.err conftest.$ac_ext
37105 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37106 echo "${ECHO_T}$ac_header_preproc" >&6
37108 # So? What about this header?
37109 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37111 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37112 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37113 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37114 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37115 ac_header_preproc=yes
37118 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37119 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37120 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37121 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37122 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37123 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37124 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37125 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37126 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37127 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37128 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37129 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37132 ## ------------------------------ ##
37133 ## Report this to the ntp lists. ##
37134 ## ------------------------------ ##
37137 sed "s/^/$as_me: WARNING: /" >&2
37140 echo "$as_me:$LINENO: checking for $ac_header" >&5
37141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37143 echo $ECHO_N "(cached) $ECHO_C" >&6
37145 eval "$as_ac_Header=\$ac_header_preproc"
37147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37148 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37151 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37152 cat >>confdefs.h <<_ACEOF
37153 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37164 for ac_header in sys/stropts.h sys/sysctl.h sys/syssgi.h sys/systune.h
37166 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37168 echo "$as_me:$LINENO: checking for $ac_header" >&5
37169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37171 echo $ECHO_N "(cached) $ECHO_C" >&6
37173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37174 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37176 # Is the header compilable?
37177 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37178 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37179 cat >conftest.$ac_ext <<_ACEOF
37182 cat confdefs.h >>conftest.$ac_ext
37183 cat >>conftest.$ac_ext <<_ACEOF
37184 /* end confdefs.h. */
37185 $ac_includes_default
37186 #include <$ac_header>
37188 rm -f conftest.$ac_objext
37189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37190 (eval $ac_compile) 2>conftest.er1
37192 grep -v '^ *+' conftest.er1 >conftest.err
37194 cat conftest.err >&5
37195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37196 (exit $ac_status); } &&
37197 { ac_try='test -z "$ac_c_werror_flag"
37198 || test ! -s conftest.err'
37199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37200 (eval $ac_try) 2>&5
37202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37203 (exit $ac_status); }; } &&
37204 { ac_try='test -s conftest.$ac_objext'
37205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37206 (eval $ac_try) 2>&5
37208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37209 (exit $ac_status); }; }; then
37210 ac_header_compiler=yes
37212 echo "$as_me: failed program was:" >&5
37213 sed 's/^/| /' conftest.$ac_ext >&5
37215 ac_header_compiler=no
37217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37218 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37219 echo "${ECHO_T}$ac_header_compiler" >&6
37221 # Is the header present?
37222 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37223 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37224 cat >conftest.$ac_ext <<_ACEOF
37227 cat confdefs.h >>conftest.$ac_ext
37228 cat >>conftest.$ac_ext <<_ACEOF
37229 /* end confdefs.h. */
37230 #include <$ac_header>
37232 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37233 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37235 grep -v '^ *+' conftest.er1 >conftest.err
37237 cat conftest.err >&5
37238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37239 (exit $ac_status); } >/dev/null; then
37240 if test -s conftest.err; then
37241 ac_cpp_err=$ac_c_preproc_warn_flag
37242 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37249 if test -z "$ac_cpp_err"; then
37250 ac_header_preproc=yes
37252 echo "$as_me: failed program was:" >&5
37253 sed 's/^/| /' conftest.$ac_ext >&5
37255 ac_header_preproc=no
37257 rm -f conftest.err conftest.$ac_ext
37258 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37259 echo "${ECHO_T}$ac_header_preproc" >&6
37261 # So? What about this header?
37262 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37264 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37265 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37266 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37267 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37268 ac_header_preproc=yes
37271 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37272 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37273 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37274 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37275 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37276 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37277 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37278 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37279 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37280 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37281 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37282 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37285 ## ------------------------------ ##
37286 ## Report this to the ntp lists. ##
37287 ## ------------------------------ ##
37290 sed "s/^/$as_me: WARNING: /" >&2
37293 echo "$as_me:$LINENO: checking for $ac_header" >&5
37294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37296 echo $ECHO_N "(cached) $ECHO_C" >&6
37298 eval "$as_ac_Header=\$ac_header_preproc"
37300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37304 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37305 cat >>confdefs.h <<_ACEOF
37306 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37316 for ac_header in sys/termios.h sys/time.h sys/signal.h
37318 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37320 echo "$as_me:$LINENO: checking for $ac_header" >&5
37321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37323 echo $ECHO_N "(cached) $ECHO_C" >&6
37325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37326 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37328 # Is the header compilable?
37329 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37330 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37331 cat >conftest.$ac_ext <<_ACEOF
37334 cat confdefs.h >>conftest.$ac_ext
37335 cat >>conftest.$ac_ext <<_ACEOF
37336 /* end confdefs.h. */
37337 $ac_includes_default
37338 #include <$ac_header>
37340 rm -f conftest.$ac_objext
37341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37342 (eval $ac_compile) 2>conftest.er1
37344 grep -v '^ *+' conftest.er1 >conftest.err
37346 cat conftest.err >&5
37347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37348 (exit $ac_status); } &&
37349 { ac_try='test -z "$ac_c_werror_flag"
37350 || test ! -s conftest.err'
37351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37352 (eval $ac_try) 2>&5
37354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37355 (exit $ac_status); }; } &&
37356 { ac_try='test -s conftest.$ac_objext'
37357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37358 (eval $ac_try) 2>&5
37360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37361 (exit $ac_status); }; }; then
37362 ac_header_compiler=yes
37364 echo "$as_me: failed program was:" >&5
37365 sed 's/^/| /' conftest.$ac_ext >&5
37367 ac_header_compiler=no
37369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37370 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37371 echo "${ECHO_T}$ac_header_compiler" >&6
37373 # Is the header present?
37374 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37375 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37376 cat >conftest.$ac_ext <<_ACEOF
37379 cat confdefs.h >>conftest.$ac_ext
37380 cat >>conftest.$ac_ext <<_ACEOF
37381 /* end confdefs.h. */
37382 #include <$ac_header>
37384 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37385 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37387 grep -v '^ *+' conftest.er1 >conftest.err
37389 cat conftest.err >&5
37390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37391 (exit $ac_status); } >/dev/null; then
37392 if test -s conftest.err; then
37393 ac_cpp_err=$ac_c_preproc_warn_flag
37394 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37401 if test -z "$ac_cpp_err"; then
37402 ac_header_preproc=yes
37404 echo "$as_me: failed program was:" >&5
37405 sed 's/^/| /' conftest.$ac_ext >&5
37407 ac_header_preproc=no
37409 rm -f conftest.err conftest.$ac_ext
37410 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37411 echo "${ECHO_T}$ac_header_preproc" >&6
37413 # So? What about this header?
37414 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37416 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37417 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37418 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37419 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37420 ac_header_preproc=yes
37423 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37424 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37425 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37426 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37427 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37428 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37429 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37430 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37431 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37432 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37433 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37434 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37437 ## ------------------------------ ##
37438 ## Report this to the ntp lists. ##
37439 ## ------------------------------ ##
37442 sed "s/^/$as_me: WARNING: /" >&2
37445 echo "$as_me:$LINENO: checking for $ac_header" >&5
37446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37448 echo $ECHO_N "(cached) $ECHO_C" >&6
37450 eval "$as_ac_Header=\$ac_header_preproc"
37452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37453 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37456 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37457 cat >>confdefs.h <<_ACEOF
37458 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37465 cat >conftest.$ac_ext <<_ACEOF
37468 cat confdefs.h >>conftest.$ac_ext
37469 cat >>conftest.$ac_ext <<_ACEOF
37470 /* end confdefs.h. */
37471 #if HAVE_SYS_TIME_H
37472 # include <sys/time.h>
37475 # include <errno.h>
37477 #include <sys/timepps.h>
37478 #ifdef PPS_API_VERS_1
37483 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
37484 $EGREP "yes" >/dev/null 2>&1; then
37486 for ac_header in sys/timepps.h
37488 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37489 echo "$as_me:$LINENO: checking for $ac_header" >&5
37490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37492 echo $ECHO_N "(cached) $ECHO_C" >&6
37494 cat >conftest.$ac_ext <<_ACEOF
37497 cat confdefs.h >>conftest.$ac_ext
37498 cat >>conftest.$ac_ext <<_ACEOF
37499 /* end confdefs.h. */
37500 #if HAVE_SYS_TIME_H
37501 # include <sys/time.h>
37504 # include <errno.h>
37508 #include <$ac_header>
37510 rm -f conftest.$ac_objext
37511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37512 (eval $ac_compile) 2>conftest.er1
37514 grep -v '^ *+' conftest.er1 >conftest.err
37516 cat conftest.err >&5
37517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37518 (exit $ac_status); } &&
37519 { ac_try='test -z "$ac_c_werror_flag"
37520 || test ! -s conftest.err'
37521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37522 (eval $ac_try) 2>&5
37524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37525 (exit $ac_status); }; } &&
37526 { ac_try='test -s conftest.$ac_objext'
37527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37528 (eval $ac_try) 2>&5
37530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37531 (exit $ac_status); }; }; then
37532 eval "$as_ac_Header=yes"
37534 echo "$as_me: failed program was:" >&5
37535 sed 's/^/| /' conftest.$ac_ext >&5
37537 eval "$as_ac_Header=no"
37539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37542 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37543 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37544 cat >>confdefs.h <<_ACEOF
37545 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37560 for ac_header in sys/timers.h sys/tpro.h sys/types.h sys/wait.h
37562 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37563 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37564 echo "$as_me:$LINENO: checking for $ac_header" >&5
37565 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37566 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37567 echo $ECHO_N "(cached) $ECHO_C" >&6
37569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37570 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37572 # Is the header compilable?
37573 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37574 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37575 cat >conftest.$ac_ext <<_ACEOF
37578 cat confdefs.h >>conftest.$ac_ext
37579 cat >>conftest.$ac_ext <<_ACEOF
37580 /* end confdefs.h. */
37581 $ac_includes_default
37582 #include <$ac_header>
37584 rm -f conftest.$ac_objext
37585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37586 (eval $ac_compile) 2>conftest.er1
37588 grep -v '^ *+' conftest.er1 >conftest.err
37590 cat conftest.err >&5
37591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37592 (exit $ac_status); } &&
37593 { ac_try='test -z "$ac_c_werror_flag"
37594 || test ! -s conftest.err'
37595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37596 (eval $ac_try) 2>&5
37598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37599 (exit $ac_status); }; } &&
37600 { ac_try='test -s conftest.$ac_objext'
37601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37602 (eval $ac_try) 2>&5
37604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37605 (exit $ac_status); }; }; then
37606 ac_header_compiler=yes
37608 echo "$as_me: failed program was:" >&5
37609 sed 's/^/| /' conftest.$ac_ext >&5
37611 ac_header_compiler=no
37613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37614 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37615 echo "${ECHO_T}$ac_header_compiler" >&6
37617 # Is the header present?
37618 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37619 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37620 cat >conftest.$ac_ext <<_ACEOF
37623 cat confdefs.h >>conftest.$ac_ext
37624 cat >>conftest.$ac_ext <<_ACEOF
37625 /* end confdefs.h. */
37626 #include <$ac_header>
37628 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37629 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37631 grep -v '^ *+' conftest.er1 >conftest.err
37633 cat conftest.err >&5
37634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37635 (exit $ac_status); } >/dev/null; then
37636 if test -s conftest.err; then
37637 ac_cpp_err=$ac_c_preproc_warn_flag
37638 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37645 if test -z "$ac_cpp_err"; then
37646 ac_header_preproc=yes
37648 echo "$as_me: failed program was:" >&5
37649 sed 's/^/| /' conftest.$ac_ext >&5
37651 ac_header_preproc=no
37653 rm -f conftest.err conftest.$ac_ext
37654 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37655 echo "${ECHO_T}$ac_header_preproc" >&6
37657 # So? What about this header?
37658 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37660 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37661 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37662 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37663 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37664 ac_header_preproc=yes
37667 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37668 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37669 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37670 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37671 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37672 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37673 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37674 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37675 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37676 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37677 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37678 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37681 ## ------------------------------ ##
37682 ## Report this to the ntp lists. ##
37683 ## ------------------------------ ##
37686 sed "s/^/$as_me: WARNING: /" >&2
37689 echo "$as_me:$LINENO: checking for $ac_header" >&5
37690 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37691 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37692 echo $ECHO_N "(cached) $ECHO_C" >&6
37694 eval "$as_ac_Header=\$ac_header_preproc"
37696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37697 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37700 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37701 cat >>confdefs.h <<_ACEOF
37702 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37709 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
37710 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
37711 if test "${ac_cv_header_time+set}" = set; then
37712 echo $ECHO_N "(cached) $ECHO_C" >&6
37714 cat >conftest.$ac_ext <<_ACEOF
37717 cat confdefs.h >>conftest.$ac_ext
37718 cat >>conftest.$ac_ext <<_ACEOF
37719 /* end confdefs.h. */
37720 #include <sys/types.h>
37721 #include <sys/time.h>
37727 if ((struct tm *) 0)
37733 rm -f conftest.$ac_objext
37734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37735 (eval $ac_compile) 2>conftest.er1
37737 grep -v '^ *+' conftest.er1 >conftest.err
37739 cat conftest.err >&5
37740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37741 (exit $ac_status); } &&
37742 { ac_try='test -z "$ac_c_werror_flag"
37743 || test ! -s conftest.err'
37744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37745 (eval $ac_try) 2>&5
37747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37748 (exit $ac_status); }; } &&
37749 { ac_try='test -s conftest.$ac_objext'
37750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37751 (eval $ac_try) 2>&5
37753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37754 (exit $ac_status); }; }; then
37755 ac_cv_header_time=yes
37757 echo "$as_me: failed program was:" >&5
37758 sed 's/^/| /' conftest.$ac_ext >&5
37760 ac_cv_header_time=no
37762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37764 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
37765 echo "${ECHO_T}$ac_cv_header_time" >&6
37766 if test $ac_cv_header_time = yes; then
37768 cat >>confdefs.h <<\_ACEOF
37769 #define TIME_WITH_SYS_TIME 1
37778 for ac_header in /sys/sync/queue.h /sys/sync/sema.h
37780 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37782 echo "$as_me:$LINENO: checking for $ac_header" >&5
37783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37785 echo $ECHO_N "(cached) $ECHO_C" >&6
37787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37788 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37790 # Is the header compilable?
37791 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37792 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37793 cat >conftest.$ac_ext <<_ACEOF
37796 cat confdefs.h >>conftest.$ac_ext
37797 cat >>conftest.$ac_ext <<_ACEOF
37798 /* end confdefs.h. */
37799 $ac_includes_default
37800 #include <$ac_header>
37802 rm -f conftest.$ac_objext
37803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37804 (eval $ac_compile) 2>conftest.er1
37806 grep -v '^ *+' conftest.er1 >conftest.err
37808 cat conftest.err >&5
37809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37810 (exit $ac_status); } &&
37811 { ac_try='test -z "$ac_c_werror_flag"
37812 || test ! -s conftest.err'
37813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37814 (eval $ac_try) 2>&5
37816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37817 (exit $ac_status); }; } &&
37818 { ac_try='test -s conftest.$ac_objext'
37819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37820 (eval $ac_try) 2>&5
37822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37823 (exit $ac_status); }; }; then
37824 ac_header_compiler=yes
37826 echo "$as_me: failed program was:" >&5
37827 sed 's/^/| /' conftest.$ac_ext >&5
37829 ac_header_compiler=no
37831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37832 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37833 echo "${ECHO_T}$ac_header_compiler" >&6
37835 # Is the header present?
37836 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37837 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37838 cat >conftest.$ac_ext <<_ACEOF
37841 cat confdefs.h >>conftest.$ac_ext
37842 cat >>conftest.$ac_ext <<_ACEOF
37843 /* end confdefs.h. */
37844 #include <$ac_header>
37846 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37847 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37849 grep -v '^ *+' conftest.er1 >conftest.err
37851 cat conftest.err >&5
37852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37853 (exit $ac_status); } >/dev/null; then
37854 if test -s conftest.err; then
37855 ac_cpp_err=$ac_c_preproc_warn_flag
37856 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37863 if test -z "$ac_cpp_err"; then
37864 ac_header_preproc=yes
37866 echo "$as_me: failed program was:" >&5
37867 sed 's/^/| /' conftest.$ac_ext >&5
37869 ac_header_preproc=no
37871 rm -f conftest.err conftest.$ac_ext
37872 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37873 echo "${ECHO_T}$ac_header_preproc" >&6
37875 # So? What about this header?
37876 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37878 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37879 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37881 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37882 ac_header_preproc=yes
37885 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37886 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37887 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37888 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37889 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37890 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37891 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37892 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37893 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37894 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37895 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37896 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37899 ## ------------------------------ ##
37900 ## Report this to the ntp lists. ##
37901 ## ------------------------------ ##
37904 sed "s/^/$as_me: WARNING: /" >&2
37907 echo "$as_me:$LINENO: checking for $ac_header" >&5
37908 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37909 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37910 echo $ECHO_N "(cached) $ECHO_C" >&6
37912 eval "$as_ac_Header=\$ac_header_preproc"
37914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37915 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37918 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37919 cat >>confdefs.h <<_ACEOF
37920 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37932 for ac_header in machine/inline.h sys/pcl720.h sys/i8253.h
37934 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37935 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37936 echo "$as_me:$LINENO: checking for $ac_header" >&5
37937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37939 echo $ECHO_N "(cached) $ECHO_C" >&6
37941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37942 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37944 # Is the header compilable?
37945 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37946 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37947 cat >conftest.$ac_ext <<_ACEOF
37950 cat confdefs.h >>conftest.$ac_ext
37951 cat >>conftest.$ac_ext <<_ACEOF
37952 /* end confdefs.h. */
37953 $ac_includes_default
37954 #include <$ac_header>
37956 rm -f conftest.$ac_objext
37957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37958 (eval $ac_compile) 2>conftest.er1
37960 grep -v '^ *+' conftest.er1 >conftest.err
37962 cat conftest.err >&5
37963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37964 (exit $ac_status); } &&
37965 { ac_try='test -z "$ac_c_werror_flag"
37966 || test ! -s conftest.err'
37967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37968 (eval $ac_try) 2>&5
37970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37971 (exit $ac_status); }; } &&
37972 { ac_try='test -s conftest.$ac_objext'
37973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37974 (eval $ac_try) 2>&5
37976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37977 (exit $ac_status); }; }; then
37978 ac_header_compiler=yes
37980 echo "$as_me: failed program was:" >&5
37981 sed 's/^/| /' conftest.$ac_ext >&5
37983 ac_header_compiler=no
37985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37986 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37987 echo "${ECHO_T}$ac_header_compiler" >&6
37989 # Is the header present?
37990 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37991 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37992 cat >conftest.$ac_ext <<_ACEOF
37995 cat confdefs.h >>conftest.$ac_ext
37996 cat >>conftest.$ac_ext <<_ACEOF
37997 /* end confdefs.h. */
37998 #include <$ac_header>
38000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38001 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38003 grep -v '^ *+' conftest.er1 >conftest.err
38005 cat conftest.err >&5
38006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38007 (exit $ac_status); } >/dev/null; then
38008 if test -s conftest.err; then
38009 ac_cpp_err=$ac_c_preproc_warn_flag
38010 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38017 if test -z "$ac_cpp_err"; then
38018 ac_header_preproc=yes
38020 echo "$as_me: failed program was:" >&5
38021 sed 's/^/| /' conftest.$ac_ext >&5
38023 ac_header_preproc=no
38025 rm -f conftest.err conftest.$ac_ext
38026 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38027 echo "${ECHO_T}$ac_header_preproc" >&6
38029 # So? What about this header?
38030 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38032 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38033 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38035 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38036 ac_header_preproc=yes
38039 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38040 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38041 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38042 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38043 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38044 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38045 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38046 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38047 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38048 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38049 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38050 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38053 ## ------------------------------ ##
38054 ## Report this to the ntp lists. ##
38055 ## ------------------------------ ##
38058 sed "s/^/$as_me: WARNING: /" >&2
38061 echo "$as_me:$LINENO: checking for $ac_header" >&5
38062 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38064 echo $ECHO_N "(cached) $ECHO_C" >&6
38066 eval "$as_ac_Header=\$ac_header_preproc"
38068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38072 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38073 cat >>confdefs.h <<_ACEOF
38074 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38088 for ac_func in __adjtimex __ntp_gettime
38090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38091 echo "$as_me:$LINENO: checking for $ac_func" >&5
38092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38093 if eval "test \"\${$as_ac_var+set}\" = set"; then
38094 echo $ECHO_N "(cached) $ECHO_C" >&6
38096 cat >conftest.$ac_ext <<_ACEOF
38099 cat confdefs.h >>conftest.$ac_ext
38100 cat >>conftest.$ac_ext <<_ACEOF
38101 /* end confdefs.h. */
38102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38104 #define $ac_func innocuous_$ac_func
38106 /* System header to define __stub macros and hopefully few prototypes,
38107 which can conflict with char $ac_func (); below.
38108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38109 <limits.h> exists even on freestanding compilers. */
38112 # include <limits.h>
38114 # include <assert.h>
38119 /* Override any gcc2 internal prototype to avoid an error. */
38124 /* We use char because int might match the return type of a gcc2
38125 builtin and then its argument prototype would still apply. */
38127 /* The GNU C library defines this for functions which it implements
38128 to always fail with ENOSYS. Some functions are actually named
38129 something starting with __ and the normal name is an alias. */
38130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38133 char (*f) () = $ac_func;
38142 return f != $ac_func;
38147 rm -f conftest.$ac_objext conftest$ac_exeext
38148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38149 (eval $ac_link) 2>conftest.er1
38151 grep -v '^ *+' conftest.er1 >conftest.err
38153 cat conftest.err >&5
38154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38155 (exit $ac_status); } &&
38156 { ac_try='test -z "$ac_c_werror_flag"
38157 || test ! -s conftest.err'
38158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38159 (eval $ac_try) 2>&5
38161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38162 (exit $ac_status); }; } &&
38163 { ac_try='test -s conftest$ac_exeext'
38164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38165 (eval $ac_try) 2>&5
38167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38168 (exit $ac_status); }; }; then
38169 eval "$as_ac_var=yes"
38171 echo "$as_me: failed program was:" >&5
38172 sed 's/^/| /' conftest.$ac_ext >&5
38174 eval "$as_ac_var=no"
38176 rm -f conftest.err conftest.$ac_objext \
38177 conftest$ac_exeext conftest.$ac_ext
38179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38181 if test `eval echo '${'$as_ac_var'}'` = yes; then
38182 cat >>confdefs.h <<_ACEOF
38183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38191 case "$ac_cv_func___adjtimex" in
38195 echo "$as_me:$LINENO: checking for nlist in -lelf" >&5
38196 echo $ECHO_N "checking for nlist in -lelf... $ECHO_C" >&6
38197 if test "${ac_cv_lib_elf_nlist+set}" = set; then
38198 echo $ECHO_N "(cached) $ECHO_C" >&6
38200 ac_check_lib_save_LIBS=$LIBS
38202 cat >conftest.$ac_ext <<_ACEOF
38205 cat confdefs.h >>conftest.$ac_ext
38206 cat >>conftest.$ac_ext <<_ACEOF
38207 /* end confdefs.h. */
38209 /* Override any gcc2 internal prototype to avoid an error. */
38213 /* We use char because int might match the return type of a gcc2
38214 builtin and then its argument prototype would still apply. */
38224 rm -f conftest.$ac_objext conftest$ac_exeext
38225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38226 (eval $ac_link) 2>conftest.er1
38228 grep -v '^ *+' conftest.er1 >conftest.err
38230 cat conftest.err >&5
38231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38232 (exit $ac_status); } &&
38233 { ac_try='test -z "$ac_c_werror_flag"
38234 || test ! -s conftest.err'
38235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38236 (eval $ac_try) 2>&5
38238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38239 (exit $ac_status); }; } &&
38240 { ac_try='test -s conftest$ac_exeext'
38241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38242 (eval $ac_try) 2>&5
38244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38245 (exit $ac_status); }; }; then
38246 ac_cv_lib_elf_nlist=yes
38248 echo "$as_me: failed program was:" >&5
38249 sed 's/^/| /' conftest.$ac_ext >&5
38251 ac_cv_lib_elf_nlist=no
38253 rm -f conftest.err conftest.$ac_objext \
38254 conftest$ac_exeext conftest.$ac_ext
38255 LIBS=$ac_check_lib_save_LIBS
38257 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_nlist" >&5
38258 echo "${ECHO_T}$ac_cv_lib_elf_nlist" >&6
38259 if test $ac_cv_lib_elf_nlist = yes; then
38260 cat >>confdefs.h <<_ACEOF
38261 #define HAVE_LIBELF 1
38268 echo "$as_me:$LINENO: checking for main in -lkvm" >&5
38269 echo $ECHO_N "checking for main in -lkvm... $ECHO_C" >&6
38270 if test "${ac_cv_lib_kvm_main+set}" = set; then
38271 echo $ECHO_N "(cached) $ECHO_C" >&6
38273 ac_check_lib_save_LIBS=$LIBS
38275 cat >conftest.$ac_ext <<_ACEOF
38278 cat confdefs.h >>conftest.$ac_ext
38279 cat >>conftest.$ac_ext <<_ACEOF
38280 /* end confdefs.h. */
38291 rm -f conftest.$ac_objext conftest$ac_exeext
38292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38293 (eval $ac_link) 2>conftest.er1
38295 grep -v '^ *+' conftest.er1 >conftest.err
38297 cat conftest.err >&5
38298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38299 (exit $ac_status); } &&
38300 { ac_try='test -z "$ac_c_werror_flag"
38301 || test ! -s conftest.err'
38302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38303 (eval $ac_try) 2>&5
38305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38306 (exit $ac_status); }; } &&
38307 { ac_try='test -s conftest$ac_exeext'
38308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38309 (eval $ac_try) 2>&5
38311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38312 (exit $ac_status); }; }; then
38313 ac_cv_lib_kvm_main=yes
38315 echo "$as_me: failed program was:" >&5
38316 sed 's/^/| /' conftest.$ac_ext >&5
38318 ac_cv_lib_kvm_main=no
38320 rm -f conftest.err conftest.$ac_objext \
38321 conftest$ac_exeext conftest.$ac_ext
38322 LIBS=$ac_check_lib_save_LIBS
38324 echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_main" >&5
38325 echo "${ECHO_T}$ac_cv_lib_kvm_main" >&6
38326 if test $ac_cv_lib_kvm_main = yes; then
38327 cat >>confdefs.h <<_ACEOF
38328 #define HAVE_LIBKVM 1
38335 echo "$as_me:$LINENO: checking for nlist in -lld" >&5
38336 echo $ECHO_N "checking for nlist in -lld... $ECHO_C" >&6
38337 if test "${ac_cv_lib_ld_nlist+set}" = set; then
38338 echo $ECHO_N "(cached) $ECHO_C" >&6
38340 ac_check_lib_save_LIBS=$LIBS
38342 cat >conftest.$ac_ext <<_ACEOF
38345 cat confdefs.h >>conftest.$ac_ext
38346 cat >>conftest.$ac_ext <<_ACEOF
38347 /* end confdefs.h. */
38349 /* Override any gcc2 internal prototype to avoid an error. */
38353 /* We use char because int might match the return type of a gcc2
38354 builtin and then its argument prototype would still apply. */
38364 rm -f conftest.$ac_objext conftest$ac_exeext
38365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38366 (eval $ac_link) 2>conftest.er1
38368 grep -v '^ *+' conftest.er1 >conftest.err
38370 cat conftest.err >&5
38371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38372 (exit $ac_status); } &&
38373 { ac_try='test -z "$ac_c_werror_flag"
38374 || test ! -s conftest.err'
38375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38376 (eval $ac_try) 2>&5
38378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38379 (exit $ac_status); }; } &&
38380 { ac_try='test -s conftest$ac_exeext'
38381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38382 (eval $ac_try) 2>&5
38384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38385 (exit $ac_status); }; }; then
38386 ac_cv_lib_ld_nlist=yes
38388 echo "$as_me: failed program was:" >&5
38389 sed 's/^/| /' conftest.$ac_ext >&5
38391 ac_cv_lib_ld_nlist=no
38393 rm -f conftest.err conftest.$ac_objext \
38394 conftest$ac_exeext conftest.$ac_ext
38395 LIBS=$ac_check_lib_save_LIBS
38397 echo "$as_me:$LINENO: result: $ac_cv_lib_ld_nlist" >&5
38398 echo "${ECHO_T}$ac_cv_lib_ld_nlist" >&6
38399 if test $ac_cv_lib_ld_nlist = yes; then
38400 cat >>confdefs.h <<_ACEOF
38401 #define HAVE_LIBLD 1
38409 echo "$as_me:$LINENO: checking for nlist in -lmld" >&5
38410 echo $ECHO_N "checking for nlist in -lmld... $ECHO_C" >&6
38411 if test "${ac_cv_lib_mld_nlist+set}" = set; then
38412 echo $ECHO_N "(cached) $ECHO_C" >&6
38414 ac_check_lib_save_LIBS=$LIBS
38416 cat >conftest.$ac_ext <<_ACEOF
38419 cat confdefs.h >>conftest.$ac_ext
38420 cat >>conftest.$ac_ext <<_ACEOF
38421 /* end confdefs.h. */
38423 /* Override any gcc2 internal prototype to avoid an error. */
38427 /* We use char because int might match the return type of a gcc2
38428 builtin and then its argument prototype would still apply. */
38438 rm -f conftest.$ac_objext conftest$ac_exeext
38439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38440 (eval $ac_link) 2>conftest.er1
38442 grep -v '^ *+' conftest.er1 >conftest.err
38444 cat conftest.err >&5
38445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38446 (exit $ac_status); } &&
38447 { ac_try='test -z "$ac_c_werror_flag"
38448 || test ! -s conftest.err'
38449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38450 (eval $ac_try) 2>&5
38452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38453 (exit $ac_status); }; } &&
38454 { ac_try='test -s conftest$ac_exeext'
38455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38456 (eval $ac_try) 2>&5
38458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38459 (exit $ac_status); }; }; then
38460 ac_cv_lib_mld_nlist=yes
38462 echo "$as_me: failed program was:" >&5
38463 sed 's/^/| /' conftest.$ac_ext >&5
38465 ac_cv_lib_mld_nlist=no
38467 rm -f conftest.err conftest.$ac_objext \
38468 conftest$ac_exeext conftest.$ac_ext
38469 LIBS=$ac_check_lib_save_LIBS
38471 echo "$as_me:$LINENO: result: $ac_cv_lib_mld_nlist" >&5
38472 echo "${ECHO_T}$ac_cv_lib_mld_nlist" >&6
38473 if test $ac_cv_lib_mld_nlist = yes; then
38474 cat >>confdefs.h <<_ACEOF
38475 #define HAVE_LIBMLD 1
38482 if test "${ac_cv_header_nlist_h+set}" = set; then
38483 echo "$as_me:$LINENO: checking for nlist.h" >&5
38484 echo $ECHO_N "checking for nlist.h... $ECHO_C" >&6
38485 if test "${ac_cv_header_nlist_h+set}" = set; then
38486 echo $ECHO_N "(cached) $ECHO_C" >&6
38488 echo "$as_me:$LINENO: result: $ac_cv_header_nlist_h" >&5
38489 echo "${ECHO_T}$ac_cv_header_nlist_h" >&6
38491 # Is the header compilable?
38492 echo "$as_me:$LINENO: checking nlist.h usability" >&5
38493 echo $ECHO_N "checking nlist.h usability... $ECHO_C" >&6
38494 cat >conftest.$ac_ext <<_ACEOF
38497 cat confdefs.h >>conftest.$ac_ext
38498 cat >>conftest.$ac_ext <<_ACEOF
38499 /* end confdefs.h. */
38500 $ac_includes_default
38503 rm -f conftest.$ac_objext
38504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38505 (eval $ac_compile) 2>conftest.er1
38507 grep -v '^ *+' conftest.er1 >conftest.err
38509 cat conftest.err >&5
38510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38511 (exit $ac_status); } &&
38512 { ac_try='test -z "$ac_c_werror_flag"
38513 || test ! -s conftest.err'
38514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38515 (eval $ac_try) 2>&5
38517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38518 (exit $ac_status); }; } &&
38519 { ac_try='test -s conftest.$ac_objext'
38520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38521 (eval $ac_try) 2>&5
38523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38524 (exit $ac_status); }; }; then
38525 ac_header_compiler=yes
38527 echo "$as_me: failed program was:" >&5
38528 sed 's/^/| /' conftest.$ac_ext >&5
38530 ac_header_compiler=no
38532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38533 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38534 echo "${ECHO_T}$ac_header_compiler" >&6
38536 # Is the header present?
38537 echo "$as_me:$LINENO: checking nlist.h presence" >&5
38538 echo $ECHO_N "checking nlist.h presence... $ECHO_C" >&6
38539 cat >conftest.$ac_ext <<_ACEOF
38542 cat confdefs.h >>conftest.$ac_ext
38543 cat >>conftest.$ac_ext <<_ACEOF
38544 /* end confdefs.h. */
38547 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38548 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38550 grep -v '^ *+' conftest.er1 >conftest.err
38552 cat conftest.err >&5
38553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38554 (exit $ac_status); } >/dev/null; then
38555 if test -s conftest.err; then
38556 ac_cpp_err=$ac_c_preproc_warn_flag
38557 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38564 if test -z "$ac_cpp_err"; then
38565 ac_header_preproc=yes
38567 echo "$as_me: failed program was:" >&5
38568 sed 's/^/| /' conftest.$ac_ext >&5
38570 ac_header_preproc=no
38572 rm -f conftest.err conftest.$ac_ext
38573 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38574 echo "${ECHO_T}$ac_header_preproc" >&6
38576 # So? What about this header?
38577 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38579 { echo "$as_me:$LINENO: WARNING: nlist.h: accepted by the compiler, rejected by the preprocessor!" >&5
38580 echo "$as_me: WARNING: nlist.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
38581 { echo "$as_me:$LINENO: WARNING: nlist.h: proceeding with the compiler's result" >&5
38582 echo "$as_me: WARNING: nlist.h: proceeding with the compiler's result" >&2;}
38583 ac_header_preproc=yes
38586 { echo "$as_me:$LINENO: WARNING: nlist.h: present but cannot be compiled" >&5
38587 echo "$as_me: WARNING: nlist.h: present but cannot be compiled" >&2;}
38588 { echo "$as_me:$LINENO: WARNING: nlist.h: check for missing prerequisite headers?" >&5
38589 echo "$as_me: WARNING: nlist.h: check for missing prerequisite headers?" >&2;}
38590 { echo "$as_me:$LINENO: WARNING: nlist.h: see the Autoconf documentation" >&5
38591 echo "$as_me: WARNING: nlist.h: see the Autoconf documentation" >&2;}
38592 { echo "$as_me:$LINENO: WARNING: nlist.h: section \"Present But Cannot Be Compiled\"" >&5
38593 echo "$as_me: WARNING: nlist.h: section \"Present But Cannot Be Compiled\"" >&2;}
38594 { echo "$as_me:$LINENO: WARNING: nlist.h: proceeding with the preprocessor's result" >&5
38595 echo "$as_me: WARNING: nlist.h: proceeding with the preprocessor's result" >&2;}
38596 { echo "$as_me:$LINENO: WARNING: nlist.h: in the future, the compiler will take precedence" >&5
38597 echo "$as_me: WARNING: nlist.h: in the future, the compiler will take precedence" >&2;}
38600 ## ------------------------------ ##
38601 ## Report this to the ntp lists. ##
38602 ## ------------------------------ ##
38605 sed "s/^/$as_me: WARNING: /" >&2
38608 echo "$as_me:$LINENO: checking for nlist.h" >&5
38609 echo $ECHO_N "checking for nlist.h... $ECHO_C" >&6
38610 if test "${ac_cv_header_nlist_h+set}" = set; then
38611 echo $ECHO_N "(cached) $ECHO_C" >&6
38613 ac_cv_header_nlist_h=$ac_header_preproc
38615 echo "$as_me:$LINENO: result: $ac_cv_header_nlist_h" >&5
38616 echo "${ECHO_T}$ac_cv_header_nlist_h" >&6
38619 if test $ac_cv_header_nlist_h = yes; then
38621 cat >>confdefs.h <<\_ACEOF
38622 #define NLIST_STRUCT 1
38625 echo "$as_me:$LINENO: checking for n_un in struct nlist" >&5
38626 echo $ECHO_N "checking for n_un in struct nlist... $ECHO_C" >&6
38627 if test "${ac_cv_struct_nlist_n_un+set}" = set; then
38628 echo $ECHO_N "(cached) $ECHO_C" >&6
38630 cat >conftest.$ac_ext <<_ACEOF
38633 cat confdefs.h >>conftest.$ac_ext
38634 cat >>conftest.$ac_ext <<_ACEOF
38635 /* end confdefs.h. */
38640 struct nlist n; n.n_un.n_name = 0;
38645 rm -f conftest.$ac_objext
38646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38647 (eval $ac_compile) 2>conftest.er1
38649 grep -v '^ *+' conftest.er1 >conftest.err
38651 cat conftest.err >&5
38652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38653 (exit $ac_status); } &&
38654 { ac_try='test -z "$ac_c_werror_flag"
38655 || test ! -s conftest.err'
38656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38657 (eval $ac_try) 2>&5
38659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38660 (exit $ac_status); }; } &&
38661 { ac_try='test -s conftest.$ac_objext'
38662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38663 (eval $ac_try) 2>&5
38665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38666 (exit $ac_status); }; }; then
38667 ac_cv_struct_nlist_n_un=yes
38669 echo "$as_me: failed program was:" >&5
38670 sed 's/^/| /' conftest.$ac_ext >&5
38672 ac_cv_struct_nlist_n_un=no
38674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38676 echo "$as_me:$LINENO: result: $ac_cv_struct_nlist_n_un" >&5
38677 echo "${ECHO_T}$ac_cv_struct_nlist_n_un" >&6
38678 if test $ac_cv_struct_nlist_n_un = yes; then
38680 cat >>confdefs.h <<\_ACEOF
38681 #define NLIST_NAME_UNION 1
38693 for ac_header in sys/proc.h
38695 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38696 echo "$as_me:$LINENO: checking for $ac_header" >&5
38697 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38698 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38699 echo $ECHO_N "(cached) $ECHO_C" >&6
38701 cat >conftest.$ac_ext <<_ACEOF
38704 cat confdefs.h >>conftest.$ac_ext
38705 cat >>conftest.$ac_ext <<_ACEOF
38706 /* end confdefs.h. */
38707 #if HAVE_SYS_TYPES_H
38708 # include <sys/types.h>
38710 #if HAVE_SYS_TIME_H
38711 # include <sys/time.h>
38715 #include <$ac_header>
38717 rm -f conftest.$ac_objext
38718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38719 (eval $ac_compile) 2>conftest.er1
38721 grep -v '^ *+' conftest.er1 >conftest.err
38723 cat conftest.err >&5
38724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38725 (exit $ac_status); } &&
38726 { ac_try='test -z "$ac_c_werror_flag"
38727 || test ! -s conftest.err'
38728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38729 (eval $ac_try) 2>&5
38731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38732 (exit $ac_status); }; } &&
38733 { ac_try='test -s conftest.$ac_objext'
38734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38735 (eval $ac_try) 2>&5
38737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38738 (exit $ac_status); }; }; then
38739 eval "$as_ac_Header=yes"
38741 echo "$as_me: failed program was:" >&5
38742 sed 's/^/| /' conftest.$ac_ext >&5
38744 eval "$as_ac_Header=no"
38746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38749 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38750 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38751 cat >>confdefs.h <<_ACEOF
38752 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38761 for ac_header in sys/resource.h
38763 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38764 echo "$as_me:$LINENO: checking for $ac_header" >&5
38765 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38766 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38767 echo $ECHO_N "(cached) $ECHO_C" >&6
38769 cat >conftest.$ac_ext <<_ACEOF
38772 cat confdefs.h >>conftest.$ac_ext
38773 cat >>conftest.$ac_ext <<_ACEOF
38774 /* end confdefs.h. */
38775 #if HAVE_SYS_TIME_H
38776 # include <sys/time.h>
38780 #include <$ac_header>
38782 rm -f conftest.$ac_objext
38783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38784 (eval $ac_compile) 2>conftest.er1
38786 grep -v '^ *+' conftest.er1 >conftest.err
38788 cat conftest.err >&5
38789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38790 (exit $ac_status); } &&
38791 { ac_try='test -z "$ac_c_werror_flag"
38792 || test ! -s conftest.err'
38793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38794 (eval $ac_try) 2>&5
38796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38797 (exit $ac_status); }; } &&
38798 { ac_try='test -s conftest.$ac_objext'
38799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38800 (eval $ac_try) 2>&5
38802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38803 (exit $ac_status); }; }; then
38804 eval "$as_ac_Header=yes"
38806 echo "$as_me: failed program was:" >&5
38807 sed 's/^/| /' conftest.$ac_ext >&5
38809 eval "$as_ac_Header=no"
38811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38814 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38815 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38816 cat >>confdefs.h <<_ACEOF
38817 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38826 for ac_header in sys/shm.h
38828 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38829 echo "$as_me:$LINENO: checking for $ac_header" >&5
38830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38831 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38832 echo $ECHO_N "(cached) $ECHO_C" >&6
38834 cat >conftest.$ac_ext <<_ACEOF
38837 cat confdefs.h >>conftest.$ac_ext
38838 cat >>conftest.$ac_ext <<_ACEOF
38839 /* end confdefs.h. */
38840 #if HAVE_SYS_TYPES_H
38841 # include <sys/types.h>
38844 # include <sys/ipc.h>
38848 #include <$ac_header>
38850 rm -f conftest.$ac_objext
38851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38852 (eval $ac_compile) 2>conftest.er1
38854 grep -v '^ *+' conftest.er1 >conftest.err
38856 cat conftest.err >&5
38857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38858 (exit $ac_status); } &&
38859 { ac_try='test -z "$ac_c_werror_flag"
38860 || test ! -s conftest.err'
38861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38862 (eval $ac_try) 2>&5
38864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38865 (exit $ac_status); }; } &&
38866 { ac_try='test -s conftest.$ac_objext'
38867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38868 (eval $ac_try) 2>&5
38870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38871 (exit $ac_status); }; }; then
38872 eval "$as_ac_Header=yes"
38874 echo "$as_me: failed program was:" >&5
38875 sed 's/^/| /' conftest.$ac_ext >&5
38877 eval "$as_ac_Header=no"
38879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38882 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38883 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38884 cat >>confdefs.h <<_ACEOF
38885 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38894 for ac_header in sys/timex.h
38896 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38897 echo "$as_me:$LINENO: checking for $ac_header" >&5
38898 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38899 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38900 echo $ECHO_N "(cached) $ECHO_C" >&6
38902 cat >conftest.$ac_ext <<_ACEOF
38905 cat confdefs.h >>conftest.$ac_ext
38906 cat >>conftest.$ac_ext <<_ACEOF
38907 /* end confdefs.h. */
38908 #if HAVE_SYS_TIME_H
38909 # include <sys/time.h>
38913 #include <$ac_header>
38915 rm -f conftest.$ac_objext
38916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38917 (eval $ac_compile) 2>conftest.er1
38919 grep -v '^ *+' conftest.er1 >conftest.err
38921 cat conftest.err >&5
38922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38923 (exit $ac_status); } &&
38924 { ac_try='test -z "$ac_c_werror_flag"
38925 || test ! -s conftest.err'
38926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38927 (eval $ac_try) 2>&5
38929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38930 (exit $ac_status); }; } &&
38931 { ac_try='test -s conftest.$ac_objext'
38932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38933 (eval $ac_try) 2>&5
38935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38936 (exit $ac_status); }; }; then
38937 eval "$as_ac_Header=yes"
38939 echo "$as_me: failed program was:" >&5
38940 sed 's/^/| /' conftest.$ac_ext >&5
38942 eval "$as_ac_Header=no"
38944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38947 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38948 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38949 cat >>confdefs.h <<_ACEOF
38950 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38959 for ac_header in resolv.h
38961 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38962 echo "$as_me:$LINENO: checking for $ac_header" >&5
38963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38965 echo $ECHO_N "(cached) $ECHO_C" >&6
38967 cat >conftest.$ac_ext <<_ACEOF
38970 cat confdefs.h >>conftest.$ac_ext
38971 cat >>conftest.$ac_ext <<_ACEOF
38972 /* end confdefs.h. */
38973 #if HAVE_SYS_TYPES_H
38974 #include <sys/types.h>
38976 #if HAVE_NETINET_IN_H
38977 #include <netinet/in.h>
38979 #if HAVE_ARPA_NAMESER_H
38980 #include <arpa/nameser.h>
38984 #include <$ac_header>
38986 rm -f conftest.$ac_objext
38987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38988 (eval $ac_compile) 2>conftest.er1
38990 grep -v '^ *+' conftest.er1 >conftest.err
38992 cat conftest.err >&5
38993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38994 (exit $ac_status); } &&
38995 { ac_try='test -z "$ac_c_werror_flag"
38996 || test ! -s conftest.err'
38997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38998 (eval $ac_try) 2>&5
39000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39001 (exit $ac_status); }; } &&
39002 { ac_try='test -s conftest.$ac_objext'
39003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39004 (eval $ac_try) 2>&5
39006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39007 (exit $ac_status); }; }; then
39008 eval "$as_ac_Header=yes"
39010 echo "$as_me: failed program was:" >&5
39011 sed 's/^/| /' conftest.$ac_ext >&5
39013 eval "$as_ac_Header=no"
39015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39018 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39019 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39020 cat >>confdefs.h <<_ACEOF
39021 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39029 echo "$as_me:$LINENO: checking for basic volatile support" >&5
39030 echo $ECHO_N "checking for basic volatile support... $ECHO_C" >&6
39031 if test "${ac_cv_c_volatile+set}" = set; then
39032 echo $ECHO_N "(cached) $ECHO_C" >&6
39034 cat >conftest.$ac_ext <<_ACEOF
39037 cat confdefs.h >>conftest.$ac_ext
39038 cat >>conftest.$ac_ext <<_ACEOF
39039 /* end confdefs.h. */
39050 rm -f conftest.$ac_objext
39051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39052 (eval $ac_compile) 2>conftest.er1
39054 grep -v '^ *+' conftest.er1 >conftest.err
39056 cat conftest.err >&5
39057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39058 (exit $ac_status); } &&
39059 { ac_try='test -z "$ac_c_werror_flag"
39060 || test ! -s conftest.err'
39061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39062 (eval $ac_try) 2>&5
39064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39065 (exit $ac_status); }; } &&
39066 { ac_try='test -s conftest.$ac_objext'
39067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39068 (eval $ac_try) 2>&5
39070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39071 (exit $ac_status); }; }; then
39072 ac_cv_c_volatile=yes
39074 echo "$as_me: failed program was:" >&5
39075 sed 's/^/| /' conftest.$ac_ext >&5
39077 ac_cv_c_volatile=no
39079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39082 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
39083 echo "${ECHO_T}$ac_cv_c_volatile" >&6
39084 case "$ac_cv_c_volatile" in
39088 cat >>confdefs.h <<\_ACEOF
39095 # AM_C_PROTOTYPES gives us ansi2knr
39098 # Assume that solaris2 is Ansi C...
39101 echo "$as_me:$LINENO: checking for function prototypes" >&5
39102 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
39103 if test "$ac_cv_prog_cc_stdc" != no; then
39104 echo "$as_me:$LINENO: result: yes" >&5
39105 echo "${ECHO_T}yes" >&6
39107 cat >>confdefs.h <<\_ACEOF
39108 #define PROTOTYPES 1
39112 cat >>confdefs.h <<\_ACEOF
39113 #define __PROTOTYPES 1
39117 echo "$as_me:$LINENO: result: no" >&5
39118 echo "${ECHO_T}no" >&6
39122 if test "$ac_cv_prog_cc_stdc" != no; then
39125 U=_ ANSI2KNR=./ansi2knr
39127 # Ensure some checks needed by ansi2knr itself.
39130 for ac_header in string.h
39132 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39134 echo "$as_me:$LINENO: checking for $ac_header" >&5
39135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39137 echo $ECHO_N "(cached) $ECHO_C" >&6
39139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39140 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39142 # Is the header compilable?
39143 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39144 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39145 cat >conftest.$ac_ext <<_ACEOF
39148 cat confdefs.h >>conftest.$ac_ext
39149 cat >>conftest.$ac_ext <<_ACEOF
39150 /* end confdefs.h. */
39151 $ac_includes_default
39152 #include <$ac_header>
39154 rm -f conftest.$ac_objext
39155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39156 (eval $ac_compile) 2>conftest.er1
39158 grep -v '^ *+' conftest.er1 >conftest.err
39160 cat conftest.err >&5
39161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39162 (exit $ac_status); } &&
39163 { ac_try='test -z "$ac_c_werror_flag"
39164 || test ! -s conftest.err'
39165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39166 (eval $ac_try) 2>&5
39168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39169 (exit $ac_status); }; } &&
39170 { ac_try='test -s conftest.$ac_objext'
39171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39172 (eval $ac_try) 2>&5
39174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39175 (exit $ac_status); }; }; then
39176 ac_header_compiler=yes
39178 echo "$as_me: failed program was:" >&5
39179 sed 's/^/| /' conftest.$ac_ext >&5
39181 ac_header_compiler=no
39183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39184 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39185 echo "${ECHO_T}$ac_header_compiler" >&6
39187 # Is the header present?
39188 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39189 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39190 cat >conftest.$ac_ext <<_ACEOF
39193 cat confdefs.h >>conftest.$ac_ext
39194 cat >>conftest.$ac_ext <<_ACEOF
39195 /* end confdefs.h. */
39196 #include <$ac_header>
39198 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39199 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39201 grep -v '^ *+' conftest.er1 >conftest.err
39203 cat conftest.err >&5
39204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39205 (exit $ac_status); } >/dev/null; then
39206 if test -s conftest.err; then
39207 ac_cpp_err=$ac_c_preproc_warn_flag
39208 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39215 if test -z "$ac_cpp_err"; then
39216 ac_header_preproc=yes
39218 echo "$as_me: failed program was:" >&5
39219 sed 's/^/| /' conftest.$ac_ext >&5
39221 ac_header_preproc=no
39223 rm -f conftest.err conftest.$ac_ext
39224 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39225 echo "${ECHO_T}$ac_header_preproc" >&6
39227 # So? What about this header?
39228 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39230 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39231 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39232 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39233 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39234 ac_header_preproc=yes
39237 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39238 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39239 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39240 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39241 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39242 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39243 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39244 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39245 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39246 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39247 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39248 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39251 ## ------------------------------ ##
39252 ## Report this to the ntp lists. ##
39253 ## ------------------------------ ##
39256 sed "s/^/$as_me: WARNING: /" >&2
39259 echo "$as_me:$LINENO: checking for $ac_header" >&5
39260 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39261 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39262 echo $ECHO_N "(cached) $ECHO_C" >&6
39264 eval "$as_ac_Header=\$ac_header_preproc"
39266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39267 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39270 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39271 cat >>confdefs.h <<_ACEOF
39272 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39282 echo "$as_me:$LINENO: checking if C compiler permits function prototypes" >&5
39283 echo $ECHO_N "checking if C compiler permits function prototypes... $ECHO_C" >&6
39284 if test "${ac_cv_have_prototypes+set}" = set; then
39285 echo $ECHO_N "(cached) $ECHO_C" >&6
39287 cat >conftest.$ac_ext <<_ACEOF
39290 cat confdefs.h >>conftest.$ac_ext
39291 cat >>conftest.$ac_ext <<_ACEOF
39292 /* end confdefs.h. */
39294 extern int foo (short);
39295 int foo(short i) { return i; }
39305 rm -f conftest.$ac_objext
39306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39307 (eval $ac_compile) 2>conftest.er1
39309 grep -v '^ *+' conftest.er1 >conftest.err
39311 cat conftest.err >&5
39312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39313 (exit $ac_status); } &&
39314 { ac_try='test -z "$ac_c_werror_flag"
39315 || test ! -s conftest.err'
39316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39317 (eval $ac_try) 2>&5
39319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39320 (exit $ac_status); }; } &&
39321 { ac_try='test -s conftest.$ac_objext'
39322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39323 (eval $ac_try) 2>&5
39325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39326 (exit $ac_status); }; }; then
39327 ac_cv_have_prototypes=yes
39329 echo "$as_me: failed program was:" >&5
39330 sed 's/^/| /' conftest.$ac_ext >&5
39332 ac_cv_have_prototypes=no
39334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39337 echo "$as_me:$LINENO: result: $ac_cv_have_prototypes" >&5
39338 echo "${ECHO_T}$ac_cv_have_prototypes" >&6
39339 if test "$ac_cv_have_prototypes" = yes; then
39341 cat >>confdefs.h <<\_ACEOF
39342 #define HAVE_PROTOTYPES 1
39347 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
39348 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
39349 if test "${ac_cv_c_const+set}" = set; then
39350 echo $ECHO_N "(cached) $ECHO_C" >&6
39352 cat >conftest.$ac_ext <<_ACEOF
39355 cat confdefs.h >>conftest.$ac_ext
39356 cat >>conftest.$ac_ext <<_ACEOF
39357 /* end confdefs.h. */
39362 /* FIXME: Include the comments suggested by Paul. */
39363 #ifndef __cplusplus
39364 /* Ultrix mips cc rejects this. */
39365 typedef int charset[2];
39367 /* SunOS 4.1.1 cc rejects this. */
39368 char const *const *ccp;
39370 /* NEC SVR4.0.2 mips cc rejects this. */
39371 struct point {int x, y;};
39372 static struct point const zero = {0,0};
39373 /* AIX XL C 1.02.0.0 rejects this.
39374 It does not let you subtract one const X* pointer from another in
39375 an arm of an if-expression whose if-part is not a constant
39377 const char *g = "string";
39378 ccp = &g + (g ? g-g : 0);
39379 /* HPUX 7.0 cc rejects these. */
39382 ccp = (char const *const *) p;
39383 { /* SCO 3.2v4 cc rejects this. */
39385 char const *s = 0 ? (char *) 0 : (char const *) 0;
39389 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
39390 int x[] = {25, 17};
39391 const int *foo = &x[0];
39394 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
39395 typedef const int *iptr;
39399 { /* AIX XL C 1.02.0.0 rejects this saying
39400 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
39401 struct s { int j; const int *ap[3]; };
39402 struct s *b; b->j = 5;
39404 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
39405 const int foo = 10;
39413 rm -f conftest.$ac_objext
39414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39415 (eval $ac_compile) 2>conftest.er1
39417 grep -v '^ *+' conftest.er1 >conftest.err
39419 cat conftest.err >&5
39420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39421 (exit $ac_status); } &&
39422 { ac_try='test -z "$ac_c_werror_flag"
39423 || test ! -s conftest.err'
39424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39425 (eval $ac_try) 2>&5
39427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39428 (exit $ac_status); }; } &&
39429 { ac_try='test -s conftest.$ac_objext'
39430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39431 (eval $ac_try) 2>&5
39433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39434 (exit $ac_status); }; }; then
39437 echo "$as_me: failed program was:" >&5
39438 sed 's/^/| /' conftest.$ac_ext >&5
39442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39444 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
39445 echo "${ECHO_T}$ac_cv_c_const" >&6
39446 if test $ac_cv_c_const = no; then
39448 cat >>confdefs.h <<\_ACEOF
39454 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
39455 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
39456 if test "${ac_cv_c_bigendian+set}" = set; then
39457 echo $ECHO_N "(cached) $ECHO_C" >&6
39459 # See if sys/param.h defines the BYTE_ORDER macro.
39460 cat >conftest.$ac_ext <<_ACEOF
39463 cat confdefs.h >>conftest.$ac_ext
39464 cat >>conftest.$ac_ext <<_ACEOF
39465 /* end confdefs.h. */
39466 #include <sys/types.h>
39467 #include <sys/param.h>
39472 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
39473 bogus endian macros
39480 rm -f conftest.$ac_objext
39481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39482 (eval $ac_compile) 2>conftest.er1
39484 grep -v '^ *+' conftest.er1 >conftest.err
39486 cat conftest.err >&5
39487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39488 (exit $ac_status); } &&
39489 { ac_try='test -z "$ac_c_werror_flag"
39490 || test ! -s conftest.err'
39491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39492 (eval $ac_try) 2>&5
39494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39495 (exit $ac_status); }; } &&
39496 { ac_try='test -s conftest.$ac_objext'
39497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39498 (eval $ac_try) 2>&5
39500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39501 (exit $ac_status); }; }; then
39502 # It does; now see whether it defined to BIG_ENDIAN or not.
39503 cat >conftest.$ac_ext <<_ACEOF
39506 cat confdefs.h >>conftest.$ac_ext
39507 cat >>conftest.$ac_ext <<_ACEOF
39508 /* end confdefs.h. */
39509 #include <sys/types.h>
39510 #include <sys/param.h>
39515 #if BYTE_ORDER != BIG_ENDIAN
39523 rm -f conftest.$ac_objext
39524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39525 (eval $ac_compile) 2>conftest.er1
39527 grep -v '^ *+' conftest.er1 >conftest.err
39529 cat conftest.err >&5
39530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39531 (exit $ac_status); } &&
39532 { ac_try='test -z "$ac_c_werror_flag"
39533 || test ! -s conftest.err'
39534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39535 (eval $ac_try) 2>&5
39537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39538 (exit $ac_status); }; } &&
39539 { ac_try='test -s conftest.$ac_objext'
39540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39541 (eval $ac_try) 2>&5
39543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39544 (exit $ac_status); }; }; then
39545 ac_cv_c_bigendian=yes
39547 echo "$as_me: failed program was:" >&5
39548 sed 's/^/| /' conftest.$ac_ext >&5
39550 ac_cv_c_bigendian=no
39552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39554 echo "$as_me: failed program was:" >&5
39555 sed 's/^/| /' conftest.$ac_ext >&5
39557 # It does not; compile a test program.
39558 if test "$cross_compiling" = yes; then
39559 # try to guess the endianness by grepping values into an object file
39560 ac_cv_c_bigendian=unknown
39561 cat >conftest.$ac_ext <<_ACEOF
39564 cat confdefs.h >>conftest.$ac_ext
39565 cat >>conftest.$ac_ext <<_ACEOF
39566 /* end confdefs.h. */
39567 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
39568 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
39569 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
39570 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
39571 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
39572 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
39576 _ascii (); _ebcdic ();
39581 rm -f conftest.$ac_objext
39582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39583 (eval $ac_compile) 2>conftest.er1
39585 grep -v '^ *+' conftest.er1 >conftest.err
39587 cat conftest.err >&5
39588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39589 (exit $ac_status); } &&
39590 { ac_try='test -z "$ac_c_werror_flag"
39591 || test ! -s conftest.err'
39592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39593 (eval $ac_try) 2>&5
39595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39596 (exit $ac_status); }; } &&
39597 { ac_try='test -s conftest.$ac_objext'
39598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39599 (eval $ac_try) 2>&5
39601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39602 (exit $ac_status); }; }; then
39603 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
39604 ac_cv_c_bigendian=yes
39606 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
39607 if test "$ac_cv_c_bigendian" = unknown; then
39608 ac_cv_c_bigendian=no
39610 # finding both strings is unlikely to happen, but who knows?
39611 ac_cv_c_bigendian=unknown
39615 echo "$as_me: failed program was:" >&5
39616 sed 's/^/| /' conftest.$ac_ext >&5
39619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39621 cat >conftest.$ac_ext <<_ACEOF
39624 cat confdefs.h >>conftest.$ac_ext
39625 cat >>conftest.$ac_ext <<_ACEOF
39626 /* end confdefs.h. */
39630 /* Are we little or big endian? From Harbison&Steele. */
39634 char c[sizeof (long)];
39637 exit (u.c[sizeof (long) - 1] == 1);
39640 rm -f conftest$ac_exeext
39641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39642 (eval $ac_link) 2>&5
39644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39645 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39647 (eval $ac_try) 2>&5
39649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39650 (exit $ac_status); }; }; then
39651 ac_cv_c_bigendian=no
39653 echo "$as_me: program exited with status $ac_status" >&5
39654 echo "$as_me: failed program was:" >&5
39655 sed 's/^/| /' conftest.$ac_ext >&5
39657 ( exit $ac_status )
39658 ac_cv_c_bigendian=yes
39660 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
39663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39665 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
39666 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
39667 case $ac_cv_c_bigendian in
39670 cat >>confdefs.h <<\_ACEOF
39671 #define WORDS_BIGENDIAN 1
39677 { { echo "$as_me:$LINENO: error: unknown endianness
39678 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
39679 echo "$as_me: error: unknown endianness
39680 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
39681 { (exit 1); exit 1; }; } ;;
39684 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
39685 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
39686 if test "${ac_cv_type_signal+set}" = set; then
39687 echo $ECHO_N "(cached) $ECHO_C" >&6
39689 cat >conftest.$ac_ext <<_ACEOF
39692 cat confdefs.h >>conftest.$ac_ext
39693 cat >>conftest.$ac_ext <<_ACEOF
39694 /* end confdefs.h. */
39695 #include <sys/types.h>
39696 #include <signal.h>
39701 extern "C" void (*signal (int, void (*)(int)))(int);
39703 void (*signal ()) ();
39714 rm -f conftest.$ac_objext
39715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39716 (eval $ac_compile) 2>conftest.er1
39718 grep -v '^ *+' conftest.er1 >conftest.err
39720 cat conftest.err >&5
39721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39722 (exit $ac_status); } &&
39723 { ac_try='test -z "$ac_c_werror_flag"
39724 || test ! -s conftest.err'
39725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39726 (eval $ac_try) 2>&5
39728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39729 (exit $ac_status); }; } &&
39730 { ac_try='test -s conftest.$ac_objext'
39731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39732 (eval $ac_try) 2>&5
39734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39735 (exit $ac_status); }; }; then
39736 ac_cv_type_signal=void
39738 echo "$as_me: failed program was:" >&5
39739 sed 's/^/| /' conftest.$ac_ext >&5
39741 ac_cv_type_signal=int
39743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39745 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
39746 echo "${ECHO_T}$ac_cv_type_signal" >&6
39748 cat >>confdefs.h <<_ACEOF
39749 #define RETSIGTYPE $ac_cv_type_signal
39753 echo "$as_me:$LINENO: checking for off_t" >&5
39754 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
39755 if test "${ac_cv_type_off_t+set}" = set; then
39756 echo $ECHO_N "(cached) $ECHO_C" >&6
39758 cat >conftest.$ac_ext <<_ACEOF
39761 cat confdefs.h >>conftest.$ac_ext
39762 cat >>conftest.$ac_ext <<_ACEOF
39763 /* end confdefs.h. */
39764 $ac_includes_default
39770 if (sizeof (off_t))
39776 rm -f conftest.$ac_objext
39777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39778 (eval $ac_compile) 2>conftest.er1
39780 grep -v '^ *+' conftest.er1 >conftest.err
39782 cat conftest.err >&5
39783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39784 (exit $ac_status); } &&
39785 { ac_try='test -z "$ac_c_werror_flag"
39786 || test ! -s conftest.err'
39787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39788 (eval $ac_try) 2>&5
39790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39791 (exit $ac_status); }; } &&
39792 { ac_try='test -s conftest.$ac_objext'
39793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39794 (eval $ac_try) 2>&5
39796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39797 (exit $ac_status); }; }; then
39798 ac_cv_type_off_t=yes
39800 echo "$as_me: failed program was:" >&5
39801 sed 's/^/| /' conftest.$ac_ext >&5
39803 ac_cv_type_off_t=no
39805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39807 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
39808 echo "${ECHO_T}$ac_cv_type_off_t" >&6
39809 if test $ac_cv_type_off_t = yes; then
39813 cat >>confdefs.h <<_ACEOF
39819 echo "$as_me:$LINENO: checking for size_t" >&5
39820 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
39821 if test "${ac_cv_type_size_t+set}" = set; then
39822 echo $ECHO_N "(cached) $ECHO_C" >&6
39824 cat >conftest.$ac_ext <<_ACEOF
39827 cat confdefs.h >>conftest.$ac_ext
39828 cat >>conftest.$ac_ext <<_ACEOF
39829 /* end confdefs.h. */
39830 $ac_includes_default
39836 if (sizeof (size_t))
39842 rm -f conftest.$ac_objext
39843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39844 (eval $ac_compile) 2>conftest.er1
39846 grep -v '^ *+' conftest.er1 >conftest.err
39848 cat conftest.err >&5
39849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39850 (exit $ac_status); } &&
39851 { ac_try='test -z "$ac_c_werror_flag"
39852 || test ! -s conftest.err'
39853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39854 (eval $ac_try) 2>&5
39856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39857 (exit $ac_status); }; } &&
39858 { ac_try='test -s conftest.$ac_objext'
39859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39860 (eval $ac_try) 2>&5
39862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39863 (exit $ac_status); }; }; then
39864 ac_cv_type_size_t=yes
39866 echo "$as_me: failed program was:" >&5
39867 sed 's/^/| /' conftest.$ac_ext >&5
39869 ac_cv_type_size_t=no
39871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39873 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
39874 echo "${ECHO_T}$ac_cv_type_size_t" >&6
39875 if test $ac_cv_type_size_t = yes; then
39879 cat >>confdefs.h <<_ACEOF
39880 #define size_t unsigned
39885 echo "$as_me:$LINENO: checking for time_t" >&5
39886 echo $ECHO_N "checking for time_t... $ECHO_C" >&6
39887 if test "${ac_cv_type_time_t+set}" = set; then
39888 echo $ECHO_N "(cached) $ECHO_C" >&6
39890 cat >conftest.$ac_ext <<_ACEOF
39893 cat confdefs.h >>conftest.$ac_ext
39894 cat >>conftest.$ac_ext <<_ACEOF
39895 /* end confdefs.h. */
39896 $ac_includes_default
39902 if (sizeof (time_t))
39908 rm -f conftest.$ac_objext
39909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39910 (eval $ac_compile) 2>conftest.er1
39912 grep -v '^ *+' conftest.er1 >conftest.err
39914 cat conftest.err >&5
39915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39916 (exit $ac_status); } &&
39917 { ac_try='test -z "$ac_c_werror_flag"
39918 || test ! -s conftest.err'
39919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39920 (eval $ac_try) 2>&5
39922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39923 (exit $ac_status); }; } &&
39924 { ac_try='test -s conftest.$ac_objext'
39925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39926 (eval $ac_try) 2>&5
39928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39929 (exit $ac_status); }; }; then
39930 ac_cv_type_time_t=yes
39932 echo "$as_me: failed program was:" >&5
39933 sed 's/^/| /' conftest.$ac_ext >&5
39935 ac_cv_type_time_t=no
39937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39939 echo "$as_me:$LINENO: result: $ac_cv_type_time_t" >&5
39940 echo "${ECHO_T}$ac_cv_type_time_t" >&6
39941 if test $ac_cv_type_time_t = yes; then
39945 cat >>confdefs.h <<_ACEOF
39946 #define time_t long
39951 echo "$as_me:$LINENO: checking for time_t" >&5
39952 echo $ECHO_N "checking for time_t... $ECHO_C" >&6
39953 if test "${ac_cv_type_time_t+set}" = set; then
39954 echo $ECHO_N "(cached) $ECHO_C" >&6
39956 cat >conftest.$ac_ext <<_ACEOF
39959 cat confdefs.h >>conftest.$ac_ext
39960 cat >>conftest.$ac_ext <<_ACEOF
39961 /* end confdefs.h. */
39962 $ac_includes_default
39968 if (sizeof (time_t))
39974 rm -f conftest.$ac_objext
39975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39976 (eval $ac_compile) 2>conftest.er1
39978 grep -v '^ *+' conftest.er1 >conftest.err
39980 cat conftest.err >&5
39981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39982 (exit $ac_status); } &&
39983 { ac_try='test -z "$ac_c_werror_flag"
39984 || test ! -s conftest.err'
39985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39986 (eval $ac_try) 2>&5
39988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39989 (exit $ac_status); }; } &&
39990 { ac_try='test -s conftest.$ac_objext'
39991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39992 (eval $ac_try) 2>&5
39994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39995 (exit $ac_status); }; }; then
39996 ac_cv_type_time_t=yes
39998 echo "$as_me: failed program was:" >&5
39999 sed 's/^/| /' conftest.$ac_ext >&5
40001 ac_cv_type_time_t=no
40003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40005 echo "$as_me:$LINENO: result: $ac_cv_type_time_t" >&5
40006 echo "${ECHO_T}$ac_cv_type_time_t" >&6
40008 echo "$as_me:$LINENO: checking size of time_t" >&5
40009 echo $ECHO_N "checking size of time_t... $ECHO_C" >&6
40010 if test "${ac_cv_sizeof_time_t+set}" = set; then
40011 echo $ECHO_N "(cached) $ECHO_C" >&6
40013 if test "$ac_cv_type_time_t" = yes; then
40014 # The cast to unsigned long works around a bug in the HP C Compiler
40015 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
40016 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
40017 # This bug is HP SR number 8606223364.
40018 if test "$cross_compiling" = yes; then
40019 # Depending upon the size, compute the lo and hi bounds.
40020 cat >conftest.$ac_ext <<_ACEOF
40023 cat confdefs.h >>conftest.$ac_ext
40024 cat >>conftest.$ac_ext <<_ACEOF
40025 /* end confdefs.h. */
40026 $ac_includes_default
40030 static int test_array [1 - 2 * !(((long) (sizeof (time_t))) >= 0)];
40037 rm -f conftest.$ac_objext
40038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40039 (eval $ac_compile) 2>conftest.er1
40041 grep -v '^ *+' conftest.er1 >conftest.err
40043 cat conftest.err >&5
40044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40045 (exit $ac_status); } &&
40046 { ac_try='test -z "$ac_c_werror_flag"
40047 || test ! -s conftest.err'
40048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40049 (eval $ac_try) 2>&5
40051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40052 (exit $ac_status); }; } &&
40053 { ac_try='test -s conftest.$ac_objext'
40054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40055 (eval $ac_try) 2>&5
40057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40058 (exit $ac_status); }; }; then
40061 cat >conftest.$ac_ext <<_ACEOF
40064 cat confdefs.h >>conftest.$ac_ext
40065 cat >>conftest.$ac_ext <<_ACEOF
40066 /* end confdefs.h. */
40067 $ac_includes_default
40071 static int test_array [1 - 2 * !(((long) (sizeof (time_t))) <= $ac_mid)];
40078 rm -f conftest.$ac_objext
40079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40080 (eval $ac_compile) 2>conftest.er1
40082 grep -v '^ *+' conftest.er1 >conftest.err
40084 cat conftest.err >&5
40085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40086 (exit $ac_status); } &&
40087 { ac_try='test -z "$ac_c_werror_flag"
40088 || test ! -s conftest.err'
40089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40090 (eval $ac_try) 2>&5
40092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40093 (exit $ac_status); }; } &&
40094 { ac_try='test -s conftest.$ac_objext'
40095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40096 (eval $ac_try) 2>&5
40098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40099 (exit $ac_status); }; }; then
40100 ac_hi=$ac_mid; break
40102 echo "$as_me: failed program was:" >&5
40103 sed 's/^/| /' conftest.$ac_ext >&5
40105 ac_lo=`expr $ac_mid + 1`
40106 if test $ac_lo -le $ac_mid; then
40110 ac_mid=`expr 2 '*' $ac_mid + 1`
40112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40115 echo "$as_me: failed program was:" >&5
40116 sed 's/^/| /' conftest.$ac_ext >&5
40118 cat >conftest.$ac_ext <<_ACEOF
40121 cat confdefs.h >>conftest.$ac_ext
40122 cat >>conftest.$ac_ext <<_ACEOF
40123 /* end confdefs.h. */
40124 $ac_includes_default
40128 static int test_array [1 - 2 * !(((long) (sizeof (time_t))) < 0)];
40135 rm -f conftest.$ac_objext
40136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40137 (eval $ac_compile) 2>conftest.er1
40139 grep -v '^ *+' conftest.er1 >conftest.err
40141 cat conftest.err >&5
40142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40143 (exit $ac_status); } &&
40144 { ac_try='test -z "$ac_c_werror_flag"
40145 || test ! -s conftest.err'
40146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40147 (eval $ac_try) 2>&5
40149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40150 (exit $ac_status); }; } &&
40151 { ac_try='test -s conftest.$ac_objext'
40152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40153 (eval $ac_try) 2>&5
40155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40156 (exit $ac_status); }; }; then
40159 cat >conftest.$ac_ext <<_ACEOF
40162 cat confdefs.h >>conftest.$ac_ext
40163 cat >>conftest.$ac_ext <<_ACEOF
40164 /* end confdefs.h. */
40165 $ac_includes_default
40169 static int test_array [1 - 2 * !(((long) (sizeof (time_t))) >= $ac_mid)];
40176 rm -f conftest.$ac_objext
40177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40178 (eval $ac_compile) 2>conftest.er1
40180 grep -v '^ *+' conftest.er1 >conftest.err
40182 cat conftest.err >&5
40183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40184 (exit $ac_status); } &&
40185 { ac_try='test -z "$ac_c_werror_flag"
40186 || test ! -s conftest.err'
40187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40188 (eval $ac_try) 2>&5
40190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40191 (exit $ac_status); }; } &&
40192 { ac_try='test -s conftest.$ac_objext'
40193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40194 (eval $ac_try) 2>&5
40196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40197 (exit $ac_status); }; }; then
40198 ac_lo=$ac_mid; break
40200 echo "$as_me: failed program was:" >&5
40201 sed 's/^/| /' conftest.$ac_ext >&5
40203 ac_hi=`expr '(' $ac_mid ')' - 1`
40204 if test $ac_mid -le $ac_hi; then
40208 ac_mid=`expr 2 '*' $ac_mid`
40210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40213 echo "$as_me: failed program was:" >&5
40214 sed 's/^/| /' conftest.$ac_ext >&5
40218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40221 # Binary search between lo and hi bounds.
40222 while test "x$ac_lo" != "x$ac_hi"; do
40223 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
40224 cat >conftest.$ac_ext <<_ACEOF
40227 cat confdefs.h >>conftest.$ac_ext
40228 cat >>conftest.$ac_ext <<_ACEOF
40229 /* end confdefs.h. */
40230 $ac_includes_default
40234 static int test_array [1 - 2 * !(((long) (sizeof (time_t))) <= $ac_mid)];
40241 rm -f conftest.$ac_objext
40242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40243 (eval $ac_compile) 2>conftest.er1
40245 grep -v '^ *+' conftest.er1 >conftest.err
40247 cat conftest.err >&5
40248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40249 (exit $ac_status); } &&
40250 { ac_try='test -z "$ac_c_werror_flag"
40251 || test ! -s conftest.err'
40252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40253 (eval $ac_try) 2>&5
40255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40256 (exit $ac_status); }; } &&
40257 { ac_try='test -s conftest.$ac_objext'
40258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40259 (eval $ac_try) 2>&5
40261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40262 (exit $ac_status); }; }; then
40265 echo "$as_me: failed program was:" >&5
40266 sed 's/^/| /' conftest.$ac_ext >&5
40268 ac_lo=`expr '(' $ac_mid ')' + 1`
40270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40273 ?*) ac_cv_sizeof_time_t=$ac_lo;;
40274 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (time_t), 77
40275 See \`config.log' for more details." >&5
40276 echo "$as_me: error: cannot compute sizeof (time_t), 77
40277 See \`config.log' for more details." >&2;}
40278 { (exit 1); exit 1; }; } ;;
40281 if test "$cross_compiling" = yes; then
40282 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
40283 See \`config.log' for more details." >&5
40284 echo "$as_me: error: cannot run test program while cross compiling
40285 See \`config.log' for more details." >&2;}
40286 { (exit 1); exit 1; }; }
40288 cat >conftest.$ac_ext <<_ACEOF
40291 cat confdefs.h >>conftest.$ac_ext
40292 cat >>conftest.$ac_ext <<_ACEOF
40293 /* end confdefs.h. */
40294 $ac_includes_default
40295 long longval () { return (long) (sizeof (time_t)); }
40296 unsigned long ulongval () { return (long) (sizeof (time_t)); }
40298 #include <stdlib.h>
40303 FILE *f = fopen ("conftest.val", "w");
40306 if (((long) (sizeof (time_t))) < 0)
40308 long i = longval ();
40309 if (i != ((long) (sizeof (time_t))))
40311 fprintf (f, "%ld\n", i);
40315 unsigned long i = ulongval ();
40316 if (i != ((long) (sizeof (time_t))))
40318 fprintf (f, "%lu\n", i);
40320 exit (ferror (f) || fclose (f) != 0);
40326 rm -f conftest$ac_exeext
40327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40328 (eval $ac_link) 2>&5
40330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40331 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40333 (eval $ac_try) 2>&5
40335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40336 (exit $ac_status); }; }; then
40337 ac_cv_sizeof_time_t=`cat conftest.val`
40339 echo "$as_me: program exited with status $ac_status" >&5
40340 echo "$as_me: failed program was:" >&5
40341 sed 's/^/| /' conftest.$ac_ext >&5
40343 ( exit $ac_status )
40344 { { echo "$as_me:$LINENO: error: cannot compute sizeof (time_t), 77
40345 See \`config.log' for more details." >&5
40346 echo "$as_me: error: cannot compute sizeof (time_t), 77
40347 See \`config.log' for more details." >&2;}
40348 { (exit 1); exit 1; }; }
40350 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40355 ac_cv_sizeof_time_t=0
40358 echo "$as_me:$LINENO: result: $ac_cv_sizeof_time_t" >&5
40359 echo "${ECHO_T}$ac_cv_sizeof_time_t" >&6
40360 cat >>confdefs.h <<_ACEOF
40361 #define SIZEOF_TIME_T $ac_cv_sizeof_time_t
40365 echo "$as_me:$LINENO: checking for uintptr_t" >&5
40366 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
40367 if test "${ac_cv_type_uintptr_t+set}" = set; then
40368 echo $ECHO_N "(cached) $ECHO_C" >&6
40370 cat >conftest.$ac_ext <<_ACEOF
40373 cat confdefs.h >>conftest.$ac_ext
40374 cat >>conftest.$ac_ext <<_ACEOF
40375 /* end confdefs.h. */
40376 $ac_includes_default
40380 if ((uintptr_t *) 0)
40382 if (sizeof (uintptr_t))
40388 rm -f conftest.$ac_objext
40389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40390 (eval $ac_compile) 2>conftest.er1
40392 grep -v '^ *+' conftest.er1 >conftest.err
40394 cat conftest.err >&5
40395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40396 (exit $ac_status); } &&
40397 { ac_try='test -z "$ac_c_werror_flag"
40398 || test ! -s conftest.err'
40399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40400 (eval $ac_try) 2>&5
40402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40403 (exit $ac_status); }; } &&
40404 { ac_try='test -s conftest.$ac_objext'
40405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40406 (eval $ac_try) 2>&5
40408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40409 (exit $ac_status); }; }; then
40410 ac_cv_type_uintptr_t=yes
40412 echo "$as_me: failed program was:" >&5
40413 sed 's/^/| /' conftest.$ac_ext >&5
40415 ac_cv_type_uintptr_t=no
40417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40419 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
40420 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
40421 if test $ac_cv_type_uintptr_t = yes; then
40423 cat >>confdefs.h <<_ACEOF
40424 #define HAVE_UINTPTR_T 1
40434 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
40435 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
40436 if test "${ac_cv_struct_tm+set}" = set; then
40437 echo $ECHO_N "(cached) $ECHO_C" >&6
40439 cat >conftest.$ac_ext <<_ACEOF
40442 cat confdefs.h >>conftest.$ac_ext
40443 cat >>conftest.$ac_ext <<_ACEOF
40444 /* end confdefs.h. */
40445 #include <sys/types.h>
40451 struct tm *tp; tp->tm_sec;
40456 rm -f conftest.$ac_objext
40457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40458 (eval $ac_compile) 2>conftest.er1
40460 grep -v '^ *+' conftest.er1 >conftest.err
40462 cat conftest.err >&5
40463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40464 (exit $ac_status); } &&
40465 { ac_try='test -z "$ac_c_werror_flag"
40466 || test ! -s conftest.err'
40467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40468 (eval $ac_try) 2>&5
40470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40471 (exit $ac_status); }; } &&
40472 { ac_try='test -s conftest.$ac_objext'
40473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40474 (eval $ac_try) 2>&5
40476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40477 (exit $ac_status); }; }; then
40478 ac_cv_struct_tm=time.h
40480 echo "$as_me: failed program was:" >&5
40481 sed 's/^/| /' conftest.$ac_ext >&5
40483 ac_cv_struct_tm=sys/time.h
40485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40487 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
40488 echo "${ECHO_T}$ac_cv_struct_tm" >&6
40489 if test $ac_cv_struct_tm = sys/time.h; then
40491 cat >>confdefs.h <<\_ACEOF
40492 #define TM_IN_SYS_TIME 1
40498 echo "$as_me:$LINENO: checking for u_int8_t" >&5
40499 echo $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
40500 if test "${ac_cv_type_u_int8_t+set}" = set; then
40501 echo $ECHO_N "(cached) $ECHO_C" >&6
40503 cat >conftest.$ac_ext <<_ACEOF
40506 cat confdefs.h >>conftest.$ac_ext
40507 cat >>conftest.$ac_ext <<_ACEOF
40508 /* end confdefs.h. */
40509 #include <sys/types.h>
40513 u_int8_t len = 42; return 0;
40518 rm -f conftest.$ac_objext
40519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40520 (eval $ac_compile) 2>conftest.er1
40522 grep -v '^ *+' conftest.er1 >conftest.err
40524 cat conftest.err >&5
40525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40526 (exit $ac_status); } &&
40527 { ac_try='test -z "$ac_c_werror_flag"
40528 || test ! -s conftest.err'
40529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40530 (eval $ac_try) 2>&5
40532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40533 (exit $ac_status); }; } &&
40534 { ac_try='test -s conftest.$ac_objext'
40535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40536 (eval $ac_try) 2>&5
40538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40539 (exit $ac_status); }; }; then
40540 ac_cv_type_u_int8_t=yes
40542 echo "$as_me: failed program was:" >&5
40543 sed 's/^/| /' conftest.$ac_ext >&5
40545 ac_cv_type_u_int8_t=no
40547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40550 echo "$as_me:$LINENO: result: $ac_cv_type_u_int8_t" >&5
40551 echo "${ECHO_T}$ac_cv_type_u_int8_t" >&6
40552 if test $ac_cv_type_u_int8_t = yes; then
40554 cat >>confdefs.h <<\_ACEOF
40555 #define HAVE_TYPE_U_INT8_T 1
40560 echo "$as_me:$LINENO: checking for u_int64_t" >&5
40561 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
40562 if test "${ac_cv_type_u_int64_t+set}" = set; then
40563 echo $ECHO_N "(cached) $ECHO_C" >&6
40565 cat >conftest.$ac_ext <<_ACEOF
40568 cat confdefs.h >>conftest.$ac_ext
40569 cat >>conftest.$ac_ext <<_ACEOF
40570 /* end confdefs.h. */
40571 #include <sys/types.h>
40575 u_int64_t len = 42; return 0;
40580 rm -f conftest.$ac_objext
40581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40582 (eval $ac_compile) 2>conftest.er1
40584 grep -v '^ *+' conftest.er1 >conftest.err
40586 cat conftest.err >&5
40587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40588 (exit $ac_status); } &&
40589 { ac_try='test -z "$ac_c_werror_flag"
40590 || test ! -s conftest.err'
40591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40592 (eval $ac_try) 2>&5
40594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40595 (exit $ac_status); }; } &&
40596 { ac_try='test -s conftest.$ac_objext'
40597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40598 (eval $ac_try) 2>&5
40600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40601 (exit $ac_status); }; }; then
40602 ac_cv_type_u_int64_t=yes
40604 echo "$as_me: failed program was:" >&5
40605 sed 's/^/| /' conftest.$ac_ext >&5
40607 ac_cv_type_u_int64_t=no
40609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40612 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
40613 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
40614 if test $ac_cv_type_u_int64_t = yes; then
40616 cat >>confdefs.h <<\_ACEOF
40617 #define HAVE_TYPE_U_INT64_T 1
40623 # Look for in_port_t.
40625 echo "$as_me:$LINENO: checking for in_port_t" >&5
40626 echo $ECHO_N "checking for in_port_t... $ECHO_C" >&6
40627 cat >conftest.$ac_ext <<_ACEOF
40630 cat confdefs.h >>conftest.$ac_ext
40631 cat >>conftest.$ac_ext <<_ACEOF
40632 /* end confdefs.h. */
40634 #include <sys/types.h>
40635 #include <netinet/in.h>
40639 in_port_t port = 25; return (0);
40644 rm -f conftest.$ac_objext
40645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40646 (eval $ac_compile) 2>conftest.er1
40648 grep -v '^ *+' conftest.er1 >conftest.err
40650 cat conftest.err >&5
40651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40652 (exit $ac_status); } &&
40653 { ac_try='test -z "$ac_c_werror_flag"
40654 || test ! -s conftest.err'
40655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40656 (eval $ac_try) 2>&5
40658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40659 (exit $ac_status); }; } &&
40660 { ac_try='test -s conftest.$ac_objext'
40661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40662 (eval $ac_try) 2>&5
40664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40665 (exit $ac_status); }; }; then
40666 echo "$as_me:$LINENO: result: yes" >&5
40667 echo "${ECHO_T}yes" >&6
40670 echo "$as_me: failed program was:" >&5
40671 sed 's/^/| /' conftest.$ac_ext >&5
40673 echo "$as_me:$LINENO: result: no" >&5
40674 echo "${ECHO_T}no" >&6
40676 cat >>confdefs.h <<\_ACEOF
40677 #define ISC_PLATFORM_NEEDPORTT 1
40682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40684 echo "$as_me:$LINENO: checking for a fallback value for HZ" >&5
40685 echo $ECHO_N "checking for a fallback value for HZ... $ECHO_C" >&6
40686 if test "${ac_cv_var_default_hz+set}" = set; then
40687 echo $ECHO_N "(cached) $ECHO_C" >&6
40689 ac_cv_var_default_hz=100
40691 alpha*-dec-osf4*|alpha*-dec-osf5*)
40692 ac_cv_var_default_hz=1024
40695 ac_cv_var_default_hz=256
40699 echo "$as_me:$LINENO: result: $ac_cv_var_default_hz" >&5
40700 echo "${ECHO_T}$ac_cv_var_default_hz" >&6
40702 cat >>confdefs.h <<_ACEOF
40703 #define DEFAULT_HZ $ac_cv_var_default_hz
40707 echo "$as_me:$LINENO: checking if we need to override the system's value for HZ" >&5
40708 echo $ECHO_N "checking if we need to override the system's value for HZ... $ECHO_C" >&6
40709 if test "${ac_cv_var_override_hz+set}" = set; then
40710 echo $ECHO_N "(cached) $ECHO_C" >&6
40712 ac_cv_var_override_hz=no
40714 alpha*-dec-osf4*|alpha*-dec-osf5*)
40715 ac_cv_var_override_hz=yes
40718 ac_cv_var_override_hz=yes
40721 ac_cv_var_override_hz=yes
40724 ac_cv_var_override_hz=yes
40728 echo "$as_me:$LINENO: result: $ac_cv_var_override_hz" >&5
40729 echo "${ECHO_T}$ac_cv_var_override_hz" >&6
40730 case "$ac_cv_var_override_hz" in
40733 cat >>confdefs.h <<\_ACEOF
40734 #define OVERRIDE_HZ 1
40742 echo "$as_me:$LINENO: checking for struct rt_msghdr" >&5
40743 echo $ECHO_N "checking for struct rt_msghdr... $ECHO_C" >&6
40744 if test "${ac_cv_struct_rt_msghdr+set}" = set; then
40745 echo $ECHO_N "(cached) $ECHO_C" >&6
40747 cat >conftest.$ac_ext <<_ACEOF
40750 cat confdefs.h >>conftest.$ac_ext
40751 cat >>conftest.$ac_ext <<_ACEOF
40752 /* end confdefs.h. */
40754 #include <sys/types.h>
40755 #include <sys/socket.h>
40756 #include <net/if.h>
40757 #include <net/route.h>
40761 struct rt_msghdr p;
40766 rm -f conftest.$ac_objext
40767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40768 (eval $ac_compile) 2>conftest.er1
40770 grep -v '^ *+' conftest.er1 >conftest.err
40772 cat conftest.err >&5
40773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40774 (exit $ac_status); } &&
40775 { ac_try='test -z "$ac_c_werror_flag"
40776 || test ! -s conftest.err'
40777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40778 (eval $ac_try) 2>&5
40780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40781 (exit $ac_status); }; } &&
40782 { ac_try='test -s conftest.$ac_objext'
40783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40784 (eval $ac_try) 2>&5
40786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40787 (exit $ac_status); }; }; then
40788 ac_cv_struct_rt_msghdr=yes
40790 echo "$as_me: failed program was:" >&5
40791 sed 's/^/| /' conftest.$ac_ext >&5
40793 ac_cv_struct_rt_msghdr=no
40795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40798 echo "$as_me:$LINENO: result: $ac_cv_struct_rt_msghdr" >&5
40799 echo "${ECHO_T}$ac_cv_struct_rt_msghdr" >&6
40800 if test $ac_cv_struct_rt_msghdr = yes; then
40802 cat >>confdefs.h <<\_ACEOF
40803 #define HAS_ROUTING_SOCKET 1
40808 echo "$as_me:$LINENO: checking struct sigaction for sa_sigaction" >&5
40809 echo $ECHO_N "checking struct sigaction for sa_sigaction... $ECHO_C" >&6
40810 if test "${ac_cv_struct_sigaction_has_sa_sigaction+set}" = set; then
40811 echo $ECHO_N "(cached) $ECHO_C" >&6
40814 cat >conftest.$ac_ext <<_ACEOF
40817 cat confdefs.h >>conftest.$ac_ext
40818 cat >>conftest.$ac_ext <<_ACEOF
40819 /* end confdefs.h. */
40820 #include <signal.h>
40824 struct sigaction act; act.sa_sigaction = 0;
40829 rm -f conftest.$ac_objext
40830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40831 (eval $ac_compile) 2>conftest.er1
40833 grep -v '^ *+' conftest.er1 >conftest.err
40835 cat conftest.err >&5
40836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40837 (exit $ac_status); } &&
40838 { ac_try='test -z "$ac_c_werror_flag"
40839 || test ! -s conftest.err'
40840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40841 (eval $ac_try) 2>&5
40843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40844 (exit $ac_status); }; } &&
40845 { ac_try='test -s conftest.$ac_objext'
40846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40847 (eval $ac_try) 2>&5
40849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40850 (exit $ac_status); }; }; then
40851 ac_cv_struct_sigaction_has_sa_sigaction=yes
40853 echo "$as_me: failed program was:" >&5
40854 sed 's/^/| /' conftest.$ac_ext >&5
40856 ac_cv_struct_sigaction_has_sa_sigaction=no
40859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40863 echo "$as_me:$LINENO: result: $ac_cv_struct_sigaction_has_sa_sigaction" >&5
40864 echo "${ECHO_T}$ac_cv_struct_sigaction_has_sa_sigaction" >&6
40865 if test $ac_cv_struct_sigaction_has_sa_sigaction = yes; then
40867 cat >>confdefs.h <<\_ACEOF
40868 #define HAVE_SA_SIGACTION_IN_STRUCT_SIGACTION 1
40873 echo "$as_me:$LINENO: checking for struct ppsclockev" >&5
40874 echo $ECHO_N "checking for struct ppsclockev... $ECHO_C" >&6
40875 if test "${ac_cv_struct_ppsclockev+set}" = set; then
40876 echo $ECHO_N "(cached) $ECHO_C" >&6
40878 cat >conftest.$ac_ext <<_ACEOF
40881 cat confdefs.h >>conftest.$ac_ext
40882 cat >>conftest.$ac_ext <<_ACEOF
40883 /* end confdefs.h. */
40885 #include <sys/types.h>
40886 #ifdef HAVE_SYS_TERMIOS_H
40887 # include <sys/termios.h>
40889 #ifdef HAVE_SYS_TIME_H
40890 # include <sys/time.h>
40892 #ifdef HAVE_SYS_PPSCLOCK_H
40893 # include <sys/ppsclock.h>
40899 extern struct ppsclockev *pce;
40900 return pce->serial;
40905 rm -f conftest.$ac_objext
40906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40907 (eval $ac_compile) 2>conftest.er1
40909 grep -v '^ *+' conftest.er1 >conftest.err
40911 cat conftest.err >&5
40912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40913 (exit $ac_status); } &&
40914 { ac_try='test -z "$ac_c_werror_flag"
40915 || test ! -s conftest.err'
40916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40917 (eval $ac_try) 2>&5
40919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40920 (exit $ac_status); }; } &&
40921 { ac_try='test -s conftest.$ac_objext'
40922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40923 (eval $ac_try) 2>&5
40925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40926 (exit $ac_status); }; }; then
40927 ac_cv_struct_ppsclockev=yes
40929 echo "$as_me: failed program was:" >&5
40930 sed 's/^/| /' conftest.$ac_ext >&5
40932 ac_cv_struct_ppsclockev=no
40934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40937 echo "$as_me:$LINENO: result: $ac_cv_struct_ppsclockev" >&5
40938 echo "${ECHO_T}$ac_cv_struct_ppsclockev" >&6
40939 if test $ac_cv_struct_ppsclockev = yes; then
40941 cat >>confdefs.h <<\_ACEOF
40942 #define HAVE_STRUCT_PPSCLOCKEV 1
40947 echo "$as_me:$LINENO: checking struct sockaddr for sa_len" >&5
40948 echo $ECHO_N "checking struct sockaddr for sa_len... $ECHO_C" >&6
40949 if test "${ac_cv_struct_sockaddr_has_sa_len+set}" = set; then
40950 echo $ECHO_N "(cached) $ECHO_C" >&6
40952 cat >conftest.$ac_ext <<_ACEOF
40955 cat confdefs.h >>conftest.$ac_ext
40956 cat >>conftest.$ac_ext <<_ACEOF
40957 /* end confdefs.h. */
40959 #include <sys/types.h>
40960 #include <sys/socket.h>
40965 extern struct sockaddr *ps;
40971 rm -f conftest.$ac_objext
40972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40973 (eval $ac_compile) 2>conftest.er1
40975 grep -v '^ *+' conftest.er1 >conftest.err
40977 cat conftest.err >&5
40978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40979 (exit $ac_status); } &&
40980 { ac_try='test -z "$ac_c_werror_flag"
40981 || test ! -s conftest.err'
40982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40983 (eval $ac_try) 2>&5
40985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40986 (exit $ac_status); }; } &&
40987 { ac_try='test -s conftest.$ac_objext'
40988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40989 (eval $ac_try) 2>&5
40991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40992 (exit $ac_status); }; }; then
40993 ac_cv_struct_sockaddr_has_sa_len=yes
40995 echo "$as_me: failed program was:" >&5
40996 sed 's/^/| /' conftest.$ac_ext >&5
40998 ac_cv_struct_sockaddr_has_sa_len=no
41000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41003 echo "$as_me:$LINENO: result: $ac_cv_struct_sockaddr_has_sa_len" >&5
41004 echo "${ECHO_T}$ac_cv_struct_sockaddr_has_sa_len" >&6
41005 if test $ac_cv_struct_sockaddr_has_sa_len = yes; then
41007 cat >>confdefs.h <<\_ACEOF
41008 #define HAVE_SA_LEN_IN_STRUCT_SOCKADDR 1
41013 echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
41014 echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
41015 if test "${ac_cv_struct_sockaddr_storage+set}" = set; then
41016 echo $ECHO_N "(cached) $ECHO_C" >&6
41018 cat >conftest.$ac_ext <<_ACEOF
41021 cat confdefs.h >>conftest.$ac_ext
41022 cat >>conftest.$ac_ext <<_ACEOF
41023 /* end confdefs.h. */
41025 #include <sys/types.h>
41026 #include <sys/socket.h>
41027 #include <netinet/in.h>
41033 struct sockaddr_storage n;
41038 rm -f conftest.$ac_objext
41039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41040 (eval $ac_compile) 2>conftest.er1
41042 grep -v '^ *+' conftest.er1 >conftest.err
41044 cat conftest.err >&5
41045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41046 (exit $ac_status); } &&
41047 { ac_try='test -z "$ac_c_werror_flag"
41048 || test ! -s conftest.err'
41049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41050 (eval $ac_try) 2>&5
41052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41053 (exit $ac_status); }; } &&
41054 { ac_try='test -s conftest.$ac_objext'
41055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41056 (eval $ac_try) 2>&5
41058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41059 (exit $ac_status); }; }; then
41060 ac_cv_struct_sockaddr_storage=yes
41062 echo "$as_me: failed program was:" >&5
41063 sed 's/^/| /' conftest.$ac_ext >&5
41065 ac_cv_struct_sockaddr_storage=no
41067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41070 echo "$as_me:$LINENO: result: $ac_cv_struct_sockaddr_storage" >&5
41071 echo "${ECHO_T}$ac_cv_struct_sockaddr_storage" >&6
41072 if test $ac_cv_struct_sockaddr_storage = yes; then
41074 cat >>confdefs.h <<\_ACEOF
41075 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
41080 echo "$as_me:$LINENO: checking for ss_family field in struct sockaddr_storage" >&5
41081 echo $ECHO_N "checking for ss_family field in struct sockaddr_storage... $ECHO_C" >&6
41082 if test "${ac_cv_have_ss_family_in_struct_ss+set}" = set; then
41083 echo $ECHO_N "(cached) $ECHO_C" >&6
41086 cat >conftest.$ac_ext <<_ACEOF
41089 cat confdefs.h >>conftest.$ac_ext
41090 cat >>conftest.$ac_ext <<_ACEOF
41091 /* end confdefs.h. */
41093 #include <sys/types.h>
41094 #include <sys/socket.h>
41099 struct sockaddr_storage s; s.ss_family = 1;
41104 rm -f conftest.$ac_objext
41105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41106 (eval $ac_compile) 2>conftest.er1
41108 grep -v '^ *+' conftest.er1 >conftest.err
41110 cat conftest.err >&5
41111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41112 (exit $ac_status); } &&
41113 { ac_try='test -z "$ac_c_werror_flag"
41114 || test ! -s conftest.err'
41115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41116 (eval $ac_try) 2>&5
41118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41119 (exit $ac_status); }; } &&
41120 { ac_try='test -s conftest.$ac_objext'
41121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41122 (eval $ac_try) 2>&5
41124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41125 (exit $ac_status); }; }; then
41126 ac_cv_have_ss_family_in_struct_ss="yes"
41128 echo "$as_me: failed program was:" >&5
41129 sed 's/^/| /' conftest.$ac_ext >&5
41131 ac_cv_have_ss_family_in_struct_ss="no"
41133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41136 echo "$as_me:$LINENO: result: $ac_cv_have_ss_family_in_struct_ss" >&5
41137 echo "${ECHO_T}$ac_cv_have_ss_family_in_struct_ss" >&6
41138 if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then
41140 cat >>confdefs.h <<\_ACEOF
41141 #define HAVE_SS_FAMILY_IN_SS 1
41145 # Hack around a problem...
41146 # HMS: This is $host because we need the -D if we are building *for* it.
41147 # HMS: 061029: Now that we separate the ss_* checks this is causing
41148 # a problem - disable it until we get to the bottom of it.
41150 XXX*-*-hpux11.11) CPPFLAGS="$CPPFLAGS -D_NETINET_IN6_H"
41155 echo "$as_me:$LINENO: checking for __ss_family field in struct sockaddr_storage" >&5
41156 echo $ECHO_N "checking for __ss_family field in struct sockaddr_storage... $ECHO_C" >&6
41157 if test "${ac_cv_have___ss_family_in_struct_ss+set}" = set; then
41158 echo $ECHO_N "(cached) $ECHO_C" >&6
41161 cat >conftest.$ac_ext <<_ACEOF
41164 cat confdefs.h >>conftest.$ac_ext
41165 cat >>conftest.$ac_ext <<_ACEOF
41166 /* end confdefs.h. */
41168 #include <sys/types.h>
41169 #include <sys/socket.h>
41174 struct sockaddr_storage s; s.__ss_family = 1;
41179 rm -f conftest.$ac_objext
41180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41181 (eval $ac_compile) 2>conftest.er1
41183 grep -v '^ *+' conftest.er1 >conftest.err
41185 cat conftest.err >&5
41186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41187 (exit $ac_status); } &&
41188 { ac_try='test -z "$ac_c_werror_flag"
41189 || test ! -s conftest.err'
41190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41191 (eval $ac_try) 2>&5
41193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41194 (exit $ac_status); }; } &&
41195 { ac_try='test -s conftest.$ac_objext'
41196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41197 (eval $ac_try) 2>&5
41199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41200 (exit $ac_status); }; }; then
41201 ac_cv_have___ss_family_in_struct_ss="yes"
41203 echo "$as_me: failed program was:" >&5
41204 sed 's/^/| /' conftest.$ac_ext >&5
41206 ac_cv_have___ss_family_in_struct_ss="no"
41209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41212 echo "$as_me:$LINENO: result: $ac_cv_have___ss_family_in_struct_ss" >&5
41213 echo "${ECHO_T}$ac_cv_have___ss_family_in_struct_ss" >&6
41214 if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then
41216 cat >>confdefs.h <<\_ACEOF
41217 #define HAVE___SS_FAMILY_IN_SS 1
41225 echo "$as_me:$LINENO: checking for ss_len field in struct sockaddr_storage" >&5
41226 echo $ECHO_N "checking for ss_len field in struct sockaddr_storage... $ECHO_C" >&6
41227 if test "${ac_cv_have_ss_len_in_struct_ss+set}" = set; then
41228 echo $ECHO_N "(cached) $ECHO_C" >&6
41231 cat >conftest.$ac_ext <<_ACEOF
41234 cat confdefs.h >>conftest.$ac_ext
41235 cat >>conftest.$ac_ext <<_ACEOF
41236 /* end confdefs.h. */
41238 #include <sys/types.h>
41239 #include <sys/socket.h>
41244 struct sockaddr_storage s; s.ss_len = 1;
41249 rm -f conftest.$ac_objext
41250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41251 (eval $ac_compile) 2>conftest.er1
41253 grep -v '^ *+' conftest.er1 >conftest.err
41255 cat conftest.err >&5
41256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41257 (exit $ac_status); } &&
41258 { ac_try='test -z "$ac_c_werror_flag"
41259 || test ! -s conftest.err'
41260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41261 (eval $ac_try) 2>&5
41263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41264 (exit $ac_status); }; } &&
41265 { ac_try='test -s conftest.$ac_objext'
41266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41267 (eval $ac_try) 2>&5
41269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41270 (exit $ac_status); }; }; then
41271 ac_cv_have_ss_len_in_struct_ss="yes"
41273 echo "$as_me: failed program was:" >&5
41274 sed 's/^/| /' conftest.$ac_ext >&5
41276 ac_cv_have_ss_len_in_struct_ss="no"
41278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41281 echo "$as_me:$LINENO: result: $ac_cv_have_ss_len_in_struct_ss" >&5
41282 echo "${ECHO_T}$ac_cv_have_ss_len_in_struct_ss" >&6
41283 if test "x$ac_cv_have_ss_len_in_struct_ss" = "xyes" ; then
41285 cat >>confdefs.h <<\_ACEOF
41286 #define HAVE_SS_LEN_IN_SS 1
41291 echo "$as_me:$LINENO: checking for __ss_len field in struct sockaddr_storage" >&5
41292 echo $ECHO_N "checking for __ss_len field in struct sockaddr_storage... $ECHO_C" >&6
41293 if test "${ac_cv_have___ss_len_in_struct_ss+set}" = set; then
41294 echo $ECHO_N "(cached) $ECHO_C" >&6
41297 cat >conftest.$ac_ext <<_ACEOF
41300 cat confdefs.h >>conftest.$ac_ext
41301 cat >>conftest.$ac_ext <<_ACEOF
41302 /* end confdefs.h. */
41304 #include <sys/types.h>
41305 #include <sys/socket.h>
41310 struct sockaddr_storage s; s.__ss_len = 1;
41315 rm -f conftest.$ac_objext
41316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41317 (eval $ac_compile) 2>conftest.er1
41319 grep -v '^ *+' conftest.er1 >conftest.err
41321 cat conftest.err >&5
41322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41323 (exit $ac_status); } &&
41324 { ac_try='test -z "$ac_c_werror_flag"
41325 || test ! -s conftest.err'
41326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41327 (eval $ac_try) 2>&5
41329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41330 (exit $ac_status); }; } &&
41331 { ac_try='test -s conftest.$ac_objext'
41332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41333 (eval $ac_try) 2>&5
41335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41336 (exit $ac_status); }; }; then
41337 ac_cv_have___ss_len_in_struct_ss="yes"
41339 echo "$as_me: failed program was:" >&5
41340 sed 's/^/| /' conftest.$ac_ext >&5
41342 ac_cv_have___ss_len_in_struct_ss="no"
41345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41348 echo "$as_me:$LINENO: result: $ac_cv_have___ss_len_in_struct_ss" >&5
41349 echo "${ECHO_T}$ac_cv_have___ss_len_in_struct_ss" >&6
41350 if test "x$ac_cv_have___ss_len_in_struct_ss" = "xyes" ; then
41352 cat >>confdefs.h <<\_ACEOF
41353 #define HAVE___SS_LEN_IN_SS 1
41361 case "$ac_cv_header_machine_soundcard_h$ac_cv_header_sys_soundcard_h" in
41363 echo "$as_me:$LINENO: checking for struct snd_size" >&5
41364 echo $ECHO_N "checking for struct snd_size... $ECHO_C" >&6
41365 if test "${ac_cv_struct_snd_size+set}" = set; then
41366 echo $ECHO_N "(cached) $ECHO_C" >&6
41368 cat >conftest.$ac_ext <<_ACEOF
41371 cat confdefs.h >>conftest.$ac_ext
41372 cat >>conftest.$ac_ext <<_ACEOF
41373 /* end confdefs.h. */
41375 #ifdef HAVE_MACHINE_SOUNDCARD_H
41376 # include <machine/soundcard.h>
41378 #ifdef HAVE_SYS_SOUNDCARD_H
41379 # include <sys/soundcard.h>
41385 extern struct snd_size *ss;
41386 return ss->rec_size;
41391 rm -f conftest.$ac_objext
41392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41393 (eval $ac_compile) 2>conftest.er1
41395 grep -v '^ *+' conftest.er1 >conftest.err
41397 cat conftest.err >&5
41398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41399 (exit $ac_status); } &&
41400 { ac_try='test -z "$ac_c_werror_flag"
41401 || test ! -s conftest.err'
41402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41403 (eval $ac_try) 2>&5
41405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41406 (exit $ac_status); }; } &&
41407 { ac_try='test -s conftest.$ac_objext'
41408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41409 (eval $ac_try) 2>&5
41411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41412 (exit $ac_status); }; }; then
41413 ac_cv_struct_snd_size=yes
41415 echo "$as_me: failed program was:" >&5
41416 sed 's/^/| /' conftest.$ac_ext >&5
41418 ac_cv_struct_snd_size=no
41420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41423 echo "$as_me:$LINENO: result: $ac_cv_struct_snd_size" >&5
41424 echo "${ECHO_T}$ac_cv_struct_snd_size" >&6
41425 case "$ac_cv_struct_snd_size" in
41427 cat >>confdefs.h <<\_ACEOF
41428 #define HAVE_STRUCT_SND_SIZE 1
41435 echo "$as_me:$LINENO: checking struct clockinfo for hz" >&5
41436 echo $ECHO_N "checking struct clockinfo for hz... $ECHO_C" >&6
41437 if test "${ac_cv_struct_clockinfo_has_hz+set}" = set; then
41438 echo $ECHO_N "(cached) $ECHO_C" >&6
41440 cat >conftest.$ac_ext <<_ACEOF
41443 cat confdefs.h >>conftest.$ac_ext
41444 cat >>conftest.$ac_ext <<_ACEOF
41445 /* end confdefs.h. */
41447 #include <sys/time.h>
41452 extern struct clockinfo *pc;
41458 rm -f conftest.$ac_objext
41459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41460 (eval $ac_compile) 2>conftest.er1
41462 grep -v '^ *+' conftest.er1 >conftest.err
41464 cat conftest.err >&5
41465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41466 (exit $ac_status); } &&
41467 { ac_try='test -z "$ac_c_werror_flag"
41468 || test ! -s conftest.err'
41469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41470 (eval $ac_try) 2>&5
41472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41473 (exit $ac_status); }; } &&
41474 { ac_try='test -s conftest.$ac_objext'
41475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41476 (eval $ac_try) 2>&5
41478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41479 (exit $ac_status); }; }; then
41480 ac_cv_struct_clockinfo_has_hz=yes
41482 echo "$as_me: failed program was:" >&5
41483 sed 's/^/| /' conftest.$ac_ext >&5
41485 ac_cv_struct_clockinfo_has_hz=no
41487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41490 echo "$as_me:$LINENO: result: $ac_cv_struct_clockinfo_has_hz" >&5
41491 echo "${ECHO_T}$ac_cv_struct_clockinfo_has_hz" >&6
41492 if test $ac_cv_struct_clockinfo_has_hz = yes; then
41494 cat >>confdefs.h <<\_ACEOF
41495 #define HAVE_HZ_IN_STRUCT_CLOCKINFO 1
41500 echo "$as_me:$LINENO: checking struct clockinfo for tickadj" >&5
41501 echo $ECHO_N "checking struct clockinfo for tickadj... $ECHO_C" >&6
41502 if test "${ac_cv_struct_clockinfo_has_tickadj+set}" = set; then
41503 echo $ECHO_N "(cached) $ECHO_C" >&6
41505 cat >conftest.$ac_ext <<_ACEOF
41508 cat confdefs.h >>conftest.$ac_ext
41509 cat >>conftest.$ac_ext <<_ACEOF
41510 /* end confdefs.h. */
41512 #include <sys/time.h>
41517 extern struct clockinfo *pc;
41518 return pc->tickadj;
41523 rm -f conftest.$ac_objext
41524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41525 (eval $ac_compile) 2>conftest.er1
41527 grep -v '^ *+' conftest.er1 >conftest.err
41529 cat conftest.err >&5
41530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41531 (exit $ac_status); } &&
41532 { ac_try='test -z "$ac_c_werror_flag"
41533 || test ! -s conftest.err'
41534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41535 (eval $ac_try) 2>&5
41537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41538 (exit $ac_status); }; } &&
41539 { ac_try='test -s conftest.$ac_objext'
41540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41541 (eval $ac_try) 2>&5
41543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41544 (exit $ac_status); }; }; then
41545 ac_cv_struct_clockinfo_has_tickadj=yes
41547 echo "$as_me: failed program was:" >&5
41548 sed 's/^/| /' conftest.$ac_ext >&5
41550 ac_cv_struct_clockinfo_has_tickadj=no
41552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41555 echo "$as_me:$LINENO: result: $ac_cv_struct_clockinfo_has_tickadj" >&5
41556 echo "${ECHO_T}$ac_cv_struct_clockinfo_has_tickadj" >&6
41557 if test $ac_cv_struct_clockinfo_has_tickadj = yes; then
41559 cat >>confdefs.h <<\_ACEOF
41560 #define HAVE_TICKADJ_IN_STRUCT_CLOCKINFO 1
41565 echo "$as_me:$LINENO: checking for struct timespec" >&5
41566 echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6
41567 if test "${ac_cv_struct_timespec+set}" = set; then
41568 echo $ECHO_N "(cached) $ECHO_C" >&6
41570 cat >conftest.$ac_ext <<_ACEOF
41573 cat confdefs.h >>conftest.$ac_ext
41574 cat >>conftest.$ac_ext <<_ACEOF
41575 /* end confdefs.h. */
41577 #include <sys/time.h>
41578 /* Under SunOS, timespec is in sys/timepps.h, which needs errno.h and FRAC */
41579 #ifdef HAVE_ERRNO_H
41580 # include <errno.h>
41582 #ifdef HAVE_SYS_TIMEPPS_H
41583 # define FRAC 4294967296
41584 # include <sys/timepps.h>
41594 rm -f conftest.$ac_objext
41595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41596 (eval $ac_compile) 2>conftest.er1
41598 grep -v '^ *+' conftest.er1 >conftest.err
41600 cat conftest.err >&5
41601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41602 (exit $ac_status); } &&
41603 { ac_try='test -z "$ac_c_werror_flag"
41604 || test ! -s conftest.err'
41605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41606 (eval $ac_try) 2>&5
41608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41609 (exit $ac_status); }; } &&
41610 { ac_try='test -s conftest.$ac_objext'
41611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41612 (eval $ac_try) 2>&5
41614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41615 (exit $ac_status); }; }; then
41616 ac_cv_struct_timespec=yes
41618 echo "$as_me: failed program was:" >&5
41619 sed 's/^/| /' conftest.$ac_ext >&5
41621 ac_cv_struct_timespec=no
41623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41625 echo "$as_me:$LINENO: result: $ac_cv_struct_timespec" >&5
41626 echo "${ECHO_T}$ac_cv_struct_timespec" >&6
41627 if test $ac_cv_struct_timespec = yes; then
41629 cat >>confdefs.h <<\_ACEOF
41630 #define HAVE_STRUCT_TIMESPEC 1
41635 echo "$as_me:$LINENO: checking for struct ntptimeval" >&5
41636 echo $ECHO_N "checking for struct ntptimeval... $ECHO_C" >&6
41637 if test "${ac_cv_struct_ntptimeval+set}" = set; then
41638 echo $ECHO_N "(cached) $ECHO_C" >&6
41640 cat >conftest.$ac_ext <<_ACEOF
41643 cat confdefs.h >>conftest.$ac_ext
41644 cat >>conftest.$ac_ext <<_ACEOF
41645 /* end confdefs.h. */
41647 #include <sys/time.h>
41648 #include <sys/timex.h>
41652 struct ntptimeval n;
41657 rm -f conftest.$ac_objext
41658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41659 (eval $ac_compile) 2>conftest.er1
41661 grep -v '^ *+' conftest.er1 >conftest.err
41663 cat conftest.err >&5
41664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41665 (exit $ac_status); } &&
41666 { ac_try='test -z "$ac_c_werror_flag"
41667 || test ! -s conftest.err'
41668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41669 (eval $ac_try) 2>&5
41671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41672 (exit $ac_status); }; } &&
41673 { ac_try='test -s conftest.$ac_objext'
41674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41675 (eval $ac_try) 2>&5
41677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41678 (exit $ac_status); }; }; then
41679 ac_cv_struct_ntptimeval=yes
41681 echo "$as_me: failed program was:" >&5
41682 sed 's/^/| /' conftest.$ac_ext >&5
41684 ac_cv_struct_ntptimeval=no
41686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41688 echo "$as_me:$LINENO: result: $ac_cv_struct_ntptimeval" >&5
41689 echo "${ECHO_T}$ac_cv_struct_ntptimeval" >&6
41690 if test $ac_cv_struct_ntptimeval = yes; then
41692 cat >>confdefs.h <<\_ACEOF
41693 #define HAVE_STRUCT_NTPTIMEVAL 1
41698 echo "$as_me:$LINENO: checking for struct ntptimeval.time.tv_nsec" >&5
41699 echo $ECHO_N "checking for struct ntptimeval.time.tv_nsec... $ECHO_C" >&6
41700 if test "${ac_cv_member_struct_ntptimeval_time_tv_nsec+set}" = set; then
41701 echo $ECHO_N "(cached) $ECHO_C" >&6
41703 cat >conftest.$ac_ext <<_ACEOF
41706 cat confdefs.h >>conftest.$ac_ext
41707 cat >>conftest.$ac_ext <<_ACEOF
41708 /* end confdefs.h. */
41709 #ifdef HAVE_SYS_TIME_H
41710 #include <sys/time.h>
41712 # ifdef HAVE_TIME_H
41716 #ifdef HAVE_SYS_TIMEX_H
41717 #include <sys/timex.h>
41719 # ifdef HAVE_TIMEX_H
41720 # include <timex.h>
41727 static struct ntptimeval ac_aggr;
41728 if (ac_aggr.time.tv_nsec)
41734 rm -f conftest.$ac_objext
41735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41736 (eval $ac_compile) 2>conftest.er1
41738 grep -v '^ *+' conftest.er1 >conftest.err
41740 cat conftest.err >&5
41741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41742 (exit $ac_status); } &&
41743 { ac_try='test -z "$ac_c_werror_flag"
41744 || test ! -s conftest.err'
41745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41746 (eval $ac_try) 2>&5
41748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41749 (exit $ac_status); }; } &&
41750 { ac_try='test -s conftest.$ac_objext'
41751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41752 (eval $ac_try) 2>&5
41754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41755 (exit $ac_status); }; }; then
41756 ac_cv_member_struct_ntptimeval_time_tv_nsec=yes
41758 echo "$as_me: failed program was:" >&5
41759 sed 's/^/| /' conftest.$ac_ext >&5
41761 cat >conftest.$ac_ext <<_ACEOF
41764 cat confdefs.h >>conftest.$ac_ext
41765 cat >>conftest.$ac_ext <<_ACEOF
41766 /* end confdefs.h. */
41767 #ifdef HAVE_SYS_TIME_H
41768 #include <sys/time.h>
41770 # ifdef HAVE_TIME_H
41774 #ifdef HAVE_SYS_TIMEX_H
41775 #include <sys/timex.h>
41777 # ifdef HAVE_TIMEX_H
41778 # include <timex.h>
41785 static struct ntptimeval ac_aggr;
41786 if (sizeof ac_aggr.time.tv_nsec)
41792 rm -f conftest.$ac_objext
41793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41794 (eval $ac_compile) 2>conftest.er1
41796 grep -v '^ *+' conftest.er1 >conftest.err
41798 cat conftest.err >&5
41799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41800 (exit $ac_status); } &&
41801 { ac_try='test -z "$ac_c_werror_flag"
41802 || test ! -s conftest.err'
41803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41804 (eval $ac_try) 2>&5
41806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41807 (exit $ac_status); }; } &&
41808 { ac_try='test -s conftest.$ac_objext'
41809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41810 (eval $ac_try) 2>&5
41812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41813 (exit $ac_status); }; }; then
41814 ac_cv_member_struct_ntptimeval_time_tv_nsec=yes
41816 echo "$as_me: failed program was:" >&5
41817 sed 's/^/| /' conftest.$ac_ext >&5
41819 ac_cv_member_struct_ntptimeval_time_tv_nsec=no
41821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41825 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ntptimeval_time_tv_nsec" >&5
41826 echo "${ECHO_T}$ac_cv_member_struct_ntptimeval_time_tv_nsec" >&6
41827 if test $ac_cv_member_struct_ntptimeval_time_tv_nsec = yes; then
41829 cat >>confdefs.h <<_ACEOF
41830 #define HAVE_STRUCT_NTPTIMEVAL_TIME_TV_NSEC 1
41837 echo "$as_me:$LINENO: checking for inline" >&5
41838 echo $ECHO_N "checking for inline... $ECHO_C" >&6
41839 if test "${ac_cv_c_inline+set}" = set; then
41840 echo $ECHO_N "(cached) $ECHO_C" >&6
41843 for ac_kw in inline __inline__ __inline; do
41844 cat >conftest.$ac_ext <<_ACEOF
41847 cat confdefs.h >>conftest.$ac_ext
41848 cat >>conftest.$ac_ext <<_ACEOF
41849 /* end confdefs.h. */
41850 #ifndef __cplusplus
41852 static $ac_kw foo_t static_foo () {return 0; }
41853 $ac_kw foo_t foo () {return 0; }
41857 rm -f conftest.$ac_objext
41858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41859 (eval $ac_compile) 2>conftest.er1
41861 grep -v '^ *+' conftest.er1 >conftest.err
41863 cat conftest.err >&5
41864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41865 (exit $ac_status); } &&
41866 { ac_try='test -z "$ac_c_werror_flag"
41867 || test ! -s conftest.err'
41868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41869 (eval $ac_try) 2>&5
41871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41872 (exit $ac_status); }; } &&
41873 { ac_try='test -s conftest.$ac_objext'
41874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41875 (eval $ac_try) 2>&5
41877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41878 (exit $ac_status); }; }; then
41879 ac_cv_c_inline=$ac_kw; break
41881 echo "$as_me: failed program was:" >&5
41882 sed 's/^/| /' conftest.$ac_ext >&5
41885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41889 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
41890 echo "${ECHO_T}$ac_cv_c_inline" >&6
41893 case $ac_cv_c_inline in
41896 case $ac_cv_c_inline in
41898 *) ac_val=$ac_cv_c_inline;;
41900 cat >>confdefs.h <<_ACEOF
41901 #ifndef __cplusplus
41902 #define inline $ac_val
41909 echo "$as_me:$LINENO: checking whether char is unsigned" >&5
41910 echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6
41911 if test "${ac_cv_c_char_unsigned+set}" = set; then
41912 echo $ECHO_N "(cached) $ECHO_C" >&6
41914 cat >conftest.$ac_ext <<_ACEOF
41917 cat confdefs.h >>conftest.$ac_ext
41918 cat >>conftest.$ac_ext <<_ACEOF
41919 /* end confdefs.h. */
41920 $ac_includes_default
41924 static int test_array [1 - 2 * !(((char) -1) < 0)];
41931 rm -f conftest.$ac_objext
41932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41933 (eval $ac_compile) 2>conftest.er1
41935 grep -v '^ *+' conftest.er1 >conftest.err
41937 cat conftest.err >&5
41938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41939 (exit $ac_status); } &&
41940 { ac_try='test -z "$ac_c_werror_flag"
41941 || test ! -s conftest.err'
41942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41943 (eval $ac_try) 2>&5
41945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41946 (exit $ac_status); }; } &&
41947 { ac_try='test -s conftest.$ac_objext'
41948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41949 (eval $ac_try) 2>&5
41951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41952 (exit $ac_status); }; }; then
41953 ac_cv_c_char_unsigned=no
41955 echo "$as_me: failed program was:" >&5
41956 sed 's/^/| /' conftest.$ac_ext >&5
41958 ac_cv_c_char_unsigned=yes
41960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41962 echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5
41963 echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6
41964 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
41965 cat >>confdefs.h <<\_ACEOF
41966 #define __CHAR_UNSIGNED__ 1
41970 echo "$as_me:$LINENO: checking for signed char" >&5
41971 echo $ECHO_N "checking for signed char... $ECHO_C" >&6
41972 if test "${ac_cv_type_signed_char+set}" = set; then
41973 echo $ECHO_N "(cached) $ECHO_C" >&6
41975 cat >conftest.$ac_ext <<_ACEOF
41978 cat confdefs.h >>conftest.$ac_ext
41979 cat >>conftest.$ac_ext <<_ACEOF
41980 /* end confdefs.h. */
41981 $ac_includes_default
41985 if ((signed char *) 0)
41987 if (sizeof (signed char))
41993 rm -f conftest.$ac_objext
41994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41995 (eval $ac_compile) 2>conftest.er1
41997 grep -v '^ *+' conftest.er1 >conftest.err
41999 cat conftest.err >&5
42000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42001 (exit $ac_status); } &&
42002 { ac_try='test -z "$ac_c_werror_flag"
42003 || test ! -s conftest.err'
42004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42005 (eval $ac_try) 2>&5
42007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42008 (exit $ac_status); }; } &&
42009 { ac_try='test -s conftest.$ac_objext'
42010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42011 (eval $ac_try) 2>&5
42013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42014 (exit $ac_status); }; }; then
42015 ac_cv_type_signed_char=yes
42017 echo "$as_me: failed program was:" >&5
42018 sed 's/^/| /' conftest.$ac_ext >&5
42020 ac_cv_type_signed_char=no
42022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42024 echo "$as_me:$LINENO: result: $ac_cv_type_signed_char" >&5
42025 echo "${ECHO_T}$ac_cv_type_signed_char" >&6
42027 echo "$as_me:$LINENO: checking size of signed char" >&5
42028 echo $ECHO_N "checking size of signed char... $ECHO_C" >&6
42029 if test "${ac_cv_sizeof_signed_char+set}" = set; then
42030 echo $ECHO_N "(cached) $ECHO_C" >&6
42032 if test "$ac_cv_type_signed_char" = yes; then
42033 # The cast to unsigned long works around a bug in the HP C Compiler
42034 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
42035 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
42036 # This bug is HP SR number 8606223364.
42037 if test "$cross_compiling" = yes; then
42038 # Depending upon the size, compute the lo and hi bounds.
42039 cat >conftest.$ac_ext <<_ACEOF
42042 cat confdefs.h >>conftest.$ac_ext
42043 cat >>conftest.$ac_ext <<_ACEOF
42044 /* end confdefs.h. */
42045 $ac_includes_default
42049 static int test_array [1 - 2 * !(((long) (sizeof (signed char))) >= 0)];
42056 rm -f conftest.$ac_objext
42057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42058 (eval $ac_compile) 2>conftest.er1
42060 grep -v '^ *+' conftest.er1 >conftest.err
42062 cat conftest.err >&5
42063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42064 (exit $ac_status); } &&
42065 { ac_try='test -z "$ac_c_werror_flag"
42066 || test ! -s conftest.err'
42067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42068 (eval $ac_try) 2>&5
42070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42071 (exit $ac_status); }; } &&
42072 { ac_try='test -s conftest.$ac_objext'
42073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42074 (eval $ac_try) 2>&5
42076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42077 (exit $ac_status); }; }; then
42080 cat >conftest.$ac_ext <<_ACEOF
42083 cat confdefs.h >>conftest.$ac_ext
42084 cat >>conftest.$ac_ext <<_ACEOF
42085 /* end confdefs.h. */
42086 $ac_includes_default
42090 static int test_array [1 - 2 * !(((long) (sizeof (signed char))) <= $ac_mid)];
42097 rm -f conftest.$ac_objext
42098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42099 (eval $ac_compile) 2>conftest.er1
42101 grep -v '^ *+' conftest.er1 >conftest.err
42103 cat conftest.err >&5
42104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42105 (exit $ac_status); } &&
42106 { ac_try='test -z "$ac_c_werror_flag"
42107 || test ! -s conftest.err'
42108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42109 (eval $ac_try) 2>&5
42111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42112 (exit $ac_status); }; } &&
42113 { ac_try='test -s conftest.$ac_objext'
42114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42115 (eval $ac_try) 2>&5
42117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42118 (exit $ac_status); }; }; then
42119 ac_hi=$ac_mid; break
42121 echo "$as_me: failed program was:" >&5
42122 sed 's/^/| /' conftest.$ac_ext >&5
42124 ac_lo=`expr $ac_mid + 1`
42125 if test $ac_lo -le $ac_mid; then
42129 ac_mid=`expr 2 '*' $ac_mid + 1`
42131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42134 echo "$as_me: failed program was:" >&5
42135 sed 's/^/| /' conftest.$ac_ext >&5
42137 cat >conftest.$ac_ext <<_ACEOF
42140 cat confdefs.h >>conftest.$ac_ext
42141 cat >>conftest.$ac_ext <<_ACEOF
42142 /* end confdefs.h. */
42143 $ac_includes_default
42147 static int test_array [1 - 2 * !(((long) (sizeof (signed char))) < 0)];
42154 rm -f conftest.$ac_objext
42155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42156 (eval $ac_compile) 2>conftest.er1
42158 grep -v '^ *+' conftest.er1 >conftest.err
42160 cat conftest.err >&5
42161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42162 (exit $ac_status); } &&
42163 { ac_try='test -z "$ac_c_werror_flag"
42164 || test ! -s conftest.err'
42165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42166 (eval $ac_try) 2>&5
42168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42169 (exit $ac_status); }; } &&
42170 { ac_try='test -s conftest.$ac_objext'
42171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42172 (eval $ac_try) 2>&5
42174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42175 (exit $ac_status); }; }; then
42178 cat >conftest.$ac_ext <<_ACEOF
42181 cat confdefs.h >>conftest.$ac_ext
42182 cat >>conftest.$ac_ext <<_ACEOF
42183 /* end confdefs.h. */
42184 $ac_includes_default
42188 static int test_array [1 - 2 * !(((long) (sizeof (signed char))) >= $ac_mid)];
42195 rm -f conftest.$ac_objext
42196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42197 (eval $ac_compile) 2>conftest.er1
42199 grep -v '^ *+' conftest.er1 >conftest.err
42201 cat conftest.err >&5
42202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42203 (exit $ac_status); } &&
42204 { ac_try='test -z "$ac_c_werror_flag"
42205 || test ! -s conftest.err'
42206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42207 (eval $ac_try) 2>&5
42209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42210 (exit $ac_status); }; } &&
42211 { ac_try='test -s conftest.$ac_objext'
42212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42213 (eval $ac_try) 2>&5
42215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42216 (exit $ac_status); }; }; then
42217 ac_lo=$ac_mid; break
42219 echo "$as_me: failed program was:" >&5
42220 sed 's/^/| /' conftest.$ac_ext >&5
42222 ac_hi=`expr '(' $ac_mid ')' - 1`
42223 if test $ac_mid -le $ac_hi; then
42227 ac_mid=`expr 2 '*' $ac_mid`
42229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42232 echo "$as_me: failed program was:" >&5
42233 sed 's/^/| /' conftest.$ac_ext >&5
42237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42240 # Binary search between lo and hi bounds.
42241 while test "x$ac_lo" != "x$ac_hi"; do
42242 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
42243 cat >conftest.$ac_ext <<_ACEOF
42246 cat confdefs.h >>conftest.$ac_ext
42247 cat >>conftest.$ac_ext <<_ACEOF
42248 /* end confdefs.h. */
42249 $ac_includes_default
42253 static int test_array [1 - 2 * !(((long) (sizeof (signed char))) <= $ac_mid)];
42260 rm -f conftest.$ac_objext
42261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42262 (eval $ac_compile) 2>conftest.er1
42264 grep -v '^ *+' conftest.er1 >conftest.err
42266 cat conftest.err >&5
42267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42268 (exit $ac_status); } &&
42269 { ac_try='test -z "$ac_c_werror_flag"
42270 || test ! -s conftest.err'
42271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42272 (eval $ac_try) 2>&5
42274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42275 (exit $ac_status); }; } &&
42276 { ac_try='test -s conftest.$ac_objext'
42277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42278 (eval $ac_try) 2>&5
42280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42281 (exit $ac_status); }; }; then
42284 echo "$as_me: failed program was:" >&5
42285 sed 's/^/| /' conftest.$ac_ext >&5
42287 ac_lo=`expr '(' $ac_mid ')' + 1`
42289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42292 ?*) ac_cv_sizeof_signed_char=$ac_lo;;
42293 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (signed char), 77
42294 See \`config.log' for more details." >&5
42295 echo "$as_me: error: cannot compute sizeof (signed char), 77
42296 See \`config.log' for more details." >&2;}
42297 { (exit 1); exit 1; }; } ;;
42300 if test "$cross_compiling" = yes; then
42301 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
42302 See \`config.log' for more details." >&5
42303 echo "$as_me: error: cannot run test program while cross compiling
42304 See \`config.log' for more details." >&2;}
42305 { (exit 1); exit 1; }; }
42307 cat >conftest.$ac_ext <<_ACEOF
42310 cat confdefs.h >>conftest.$ac_ext
42311 cat >>conftest.$ac_ext <<_ACEOF
42312 /* end confdefs.h. */
42313 $ac_includes_default
42314 long longval () { return (long) (sizeof (signed char)); }
42315 unsigned long ulongval () { return (long) (sizeof (signed char)); }
42317 #include <stdlib.h>
42322 FILE *f = fopen ("conftest.val", "w");
42325 if (((long) (sizeof (signed char))) < 0)
42327 long i = longval ();
42328 if (i != ((long) (sizeof (signed char))))
42330 fprintf (f, "%ld\n", i);
42334 unsigned long i = ulongval ();
42335 if (i != ((long) (sizeof (signed char))))
42337 fprintf (f, "%lu\n", i);
42339 exit (ferror (f) || fclose (f) != 0);
42345 rm -f conftest$ac_exeext
42346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42347 (eval $ac_link) 2>&5
42349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42350 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42352 (eval $ac_try) 2>&5
42354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42355 (exit $ac_status); }; }; then
42356 ac_cv_sizeof_signed_char=`cat conftest.val`
42358 echo "$as_me: program exited with status $ac_status" >&5
42359 echo "$as_me: failed program was:" >&5
42360 sed 's/^/| /' conftest.$ac_ext >&5
42362 ( exit $ac_status )
42363 { { echo "$as_me:$LINENO: error: cannot compute sizeof (signed char), 77
42364 See \`config.log' for more details." >&5
42365 echo "$as_me: error: cannot compute sizeof (signed char), 77
42366 See \`config.log' for more details." >&2;}
42367 { (exit 1); exit 1; }; }
42369 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42374 ac_cv_sizeof_signed_char=0
42377 echo "$as_me:$LINENO: result: $ac_cv_sizeof_signed_char" >&5
42378 echo "${ECHO_T}$ac_cv_sizeof_signed_char" >&6
42379 cat >>confdefs.h <<_ACEOF
42380 #define SIZEOF_SIGNED_CHAR $ac_cv_sizeof_signed_char
42384 echo "$as_me:$LINENO: checking for int" >&5
42385 echo $ECHO_N "checking for int... $ECHO_C" >&6
42386 if test "${ac_cv_type_int+set}" = set; then
42387 echo $ECHO_N "(cached) $ECHO_C" >&6
42389 cat >conftest.$ac_ext <<_ACEOF
42392 cat confdefs.h >>conftest.$ac_ext
42393 cat >>conftest.$ac_ext <<_ACEOF
42394 /* end confdefs.h. */
42395 $ac_includes_default
42407 rm -f conftest.$ac_objext
42408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42409 (eval $ac_compile) 2>conftest.er1
42411 grep -v '^ *+' conftest.er1 >conftest.err
42413 cat conftest.err >&5
42414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42415 (exit $ac_status); } &&
42416 { ac_try='test -z "$ac_c_werror_flag"
42417 || test ! -s conftest.err'
42418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42419 (eval $ac_try) 2>&5
42421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42422 (exit $ac_status); }; } &&
42423 { ac_try='test -s conftest.$ac_objext'
42424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42425 (eval $ac_try) 2>&5
42427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42428 (exit $ac_status); }; }; then
42431 echo "$as_me: failed program was:" >&5
42432 sed 's/^/| /' conftest.$ac_ext >&5
42436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42438 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
42439 echo "${ECHO_T}$ac_cv_type_int" >&6
42441 echo "$as_me:$LINENO: checking size of int" >&5
42442 echo $ECHO_N "checking size of int... $ECHO_C" >&6
42443 if test "${ac_cv_sizeof_int+set}" = set; then
42444 echo $ECHO_N "(cached) $ECHO_C" >&6
42446 if test "$ac_cv_type_int" = yes; then
42447 # The cast to unsigned long works around a bug in the HP C Compiler
42448 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
42449 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
42450 # This bug is HP SR number 8606223364.
42451 if test "$cross_compiling" = yes; then
42452 # Depending upon the size, compute the lo and hi bounds.
42453 cat >conftest.$ac_ext <<_ACEOF
42456 cat confdefs.h >>conftest.$ac_ext
42457 cat >>conftest.$ac_ext <<_ACEOF
42458 /* end confdefs.h. */
42459 $ac_includes_default
42463 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
42470 rm -f conftest.$ac_objext
42471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42472 (eval $ac_compile) 2>conftest.er1
42474 grep -v '^ *+' conftest.er1 >conftest.err
42476 cat conftest.err >&5
42477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42478 (exit $ac_status); } &&
42479 { ac_try='test -z "$ac_c_werror_flag"
42480 || test ! -s conftest.err'
42481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42482 (eval $ac_try) 2>&5
42484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42485 (exit $ac_status); }; } &&
42486 { ac_try='test -s conftest.$ac_objext'
42487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42488 (eval $ac_try) 2>&5
42490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42491 (exit $ac_status); }; }; then
42494 cat >conftest.$ac_ext <<_ACEOF
42497 cat confdefs.h >>conftest.$ac_ext
42498 cat >>conftest.$ac_ext <<_ACEOF
42499 /* end confdefs.h. */
42500 $ac_includes_default
42504 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
42511 rm -f conftest.$ac_objext
42512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42513 (eval $ac_compile) 2>conftest.er1
42515 grep -v '^ *+' conftest.er1 >conftest.err
42517 cat conftest.err >&5
42518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42519 (exit $ac_status); } &&
42520 { ac_try='test -z "$ac_c_werror_flag"
42521 || test ! -s conftest.err'
42522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42523 (eval $ac_try) 2>&5
42525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42526 (exit $ac_status); }; } &&
42527 { ac_try='test -s conftest.$ac_objext'
42528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42529 (eval $ac_try) 2>&5
42531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42532 (exit $ac_status); }; }; then
42533 ac_hi=$ac_mid; break
42535 echo "$as_me: failed program was:" >&5
42536 sed 's/^/| /' conftest.$ac_ext >&5
42538 ac_lo=`expr $ac_mid + 1`
42539 if test $ac_lo -le $ac_mid; then
42543 ac_mid=`expr 2 '*' $ac_mid + 1`
42545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42548 echo "$as_me: failed program was:" >&5
42549 sed 's/^/| /' conftest.$ac_ext >&5
42551 cat >conftest.$ac_ext <<_ACEOF
42554 cat confdefs.h >>conftest.$ac_ext
42555 cat >>conftest.$ac_ext <<_ACEOF
42556 /* end confdefs.h. */
42557 $ac_includes_default
42561 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
42568 rm -f conftest.$ac_objext
42569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42570 (eval $ac_compile) 2>conftest.er1
42572 grep -v '^ *+' conftest.er1 >conftest.err
42574 cat conftest.err >&5
42575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42576 (exit $ac_status); } &&
42577 { ac_try='test -z "$ac_c_werror_flag"
42578 || test ! -s conftest.err'
42579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42580 (eval $ac_try) 2>&5
42582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42583 (exit $ac_status); }; } &&
42584 { ac_try='test -s conftest.$ac_objext'
42585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42586 (eval $ac_try) 2>&5
42588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42589 (exit $ac_status); }; }; then
42592 cat >conftest.$ac_ext <<_ACEOF
42595 cat confdefs.h >>conftest.$ac_ext
42596 cat >>conftest.$ac_ext <<_ACEOF
42597 /* end confdefs.h. */
42598 $ac_includes_default
42602 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
42609 rm -f conftest.$ac_objext
42610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42611 (eval $ac_compile) 2>conftest.er1
42613 grep -v '^ *+' conftest.er1 >conftest.err
42615 cat conftest.err >&5
42616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42617 (exit $ac_status); } &&
42618 { ac_try='test -z "$ac_c_werror_flag"
42619 || test ! -s conftest.err'
42620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42621 (eval $ac_try) 2>&5
42623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42624 (exit $ac_status); }; } &&
42625 { ac_try='test -s conftest.$ac_objext'
42626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42627 (eval $ac_try) 2>&5
42629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42630 (exit $ac_status); }; }; then
42631 ac_lo=$ac_mid; break
42633 echo "$as_me: failed program was:" >&5
42634 sed 's/^/| /' conftest.$ac_ext >&5
42636 ac_hi=`expr '(' $ac_mid ')' - 1`
42637 if test $ac_mid -le $ac_hi; then
42641 ac_mid=`expr 2 '*' $ac_mid`
42643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42646 echo "$as_me: failed program was:" >&5
42647 sed 's/^/| /' conftest.$ac_ext >&5
42651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42654 # Binary search between lo and hi bounds.
42655 while test "x$ac_lo" != "x$ac_hi"; do
42656 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
42657 cat >conftest.$ac_ext <<_ACEOF
42660 cat confdefs.h >>conftest.$ac_ext
42661 cat >>conftest.$ac_ext <<_ACEOF
42662 /* end confdefs.h. */
42663 $ac_includes_default
42667 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
42674 rm -f conftest.$ac_objext
42675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42676 (eval $ac_compile) 2>conftest.er1
42678 grep -v '^ *+' conftest.er1 >conftest.err
42680 cat conftest.err >&5
42681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42682 (exit $ac_status); } &&
42683 { ac_try='test -z "$ac_c_werror_flag"
42684 || test ! -s conftest.err'
42685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42686 (eval $ac_try) 2>&5
42688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42689 (exit $ac_status); }; } &&
42690 { ac_try='test -s conftest.$ac_objext'
42691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42692 (eval $ac_try) 2>&5
42694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42695 (exit $ac_status); }; }; then
42698 echo "$as_me: failed program was:" >&5
42699 sed 's/^/| /' conftest.$ac_ext >&5
42701 ac_lo=`expr '(' $ac_mid ')' + 1`
42703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42706 ?*) ac_cv_sizeof_int=$ac_lo;;
42707 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
42708 See \`config.log' for more details." >&5
42709 echo "$as_me: error: cannot compute sizeof (int), 77
42710 See \`config.log' for more details." >&2;}
42711 { (exit 1); exit 1; }; } ;;
42714 if test "$cross_compiling" = yes; then
42715 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
42716 See \`config.log' for more details." >&5
42717 echo "$as_me: error: cannot run test program while cross compiling
42718 See \`config.log' for more details." >&2;}
42719 { (exit 1); exit 1; }; }
42721 cat >conftest.$ac_ext <<_ACEOF
42724 cat confdefs.h >>conftest.$ac_ext
42725 cat >>conftest.$ac_ext <<_ACEOF
42726 /* end confdefs.h. */
42727 $ac_includes_default
42728 long longval () { return (long) (sizeof (int)); }
42729 unsigned long ulongval () { return (long) (sizeof (int)); }
42731 #include <stdlib.h>
42736 FILE *f = fopen ("conftest.val", "w");
42739 if (((long) (sizeof (int))) < 0)
42741 long i = longval ();
42742 if (i != ((long) (sizeof (int))))
42744 fprintf (f, "%ld\n", i);
42748 unsigned long i = ulongval ();
42749 if (i != ((long) (sizeof (int))))
42751 fprintf (f, "%lu\n", i);
42753 exit (ferror (f) || fclose (f) != 0);
42759 rm -f conftest$ac_exeext
42760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42761 (eval $ac_link) 2>&5
42763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42764 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42766 (eval $ac_try) 2>&5
42768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42769 (exit $ac_status); }; }; then
42770 ac_cv_sizeof_int=`cat conftest.val`
42772 echo "$as_me: program exited with status $ac_status" >&5
42773 echo "$as_me: failed program was:" >&5
42774 sed 's/^/| /' conftest.$ac_ext >&5
42776 ( exit $ac_status )
42777 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
42778 See \`config.log' for more details." >&5
42779 echo "$as_me: error: cannot compute sizeof (int), 77
42780 See \`config.log' for more details." >&2;}
42781 { (exit 1); exit 1; }; }
42783 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42791 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
42792 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
42793 cat >>confdefs.h <<_ACEOF
42794 #define SIZEOF_INT $ac_cv_sizeof_int
42798 echo "$as_me:$LINENO: checking for long" >&5
42799 echo $ECHO_N "checking for long... $ECHO_C" >&6
42800 if test "${ac_cv_type_long+set}" = set; then
42801 echo $ECHO_N "(cached) $ECHO_C" >&6
42803 cat >conftest.$ac_ext <<_ACEOF
42806 cat confdefs.h >>conftest.$ac_ext
42807 cat >>conftest.$ac_ext <<_ACEOF
42808 /* end confdefs.h. */
42809 $ac_includes_default
42821 rm -f conftest.$ac_objext
42822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42823 (eval $ac_compile) 2>conftest.er1
42825 grep -v '^ *+' conftest.er1 >conftest.err
42827 cat conftest.err >&5
42828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42829 (exit $ac_status); } &&
42830 { ac_try='test -z "$ac_c_werror_flag"
42831 || test ! -s conftest.err'
42832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42833 (eval $ac_try) 2>&5
42835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42836 (exit $ac_status); }; } &&
42837 { ac_try='test -s conftest.$ac_objext'
42838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42839 (eval $ac_try) 2>&5
42841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42842 (exit $ac_status); }; }; then
42843 ac_cv_type_long=yes
42845 echo "$as_me: failed program was:" >&5
42846 sed 's/^/| /' conftest.$ac_ext >&5
42850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42852 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
42853 echo "${ECHO_T}$ac_cv_type_long" >&6
42855 echo "$as_me:$LINENO: checking size of long" >&5
42856 echo $ECHO_N "checking size of long... $ECHO_C" >&6
42857 if test "${ac_cv_sizeof_long+set}" = set; then
42858 echo $ECHO_N "(cached) $ECHO_C" >&6
42860 if test "$ac_cv_type_long" = yes; then
42861 # The cast to unsigned long works around a bug in the HP C Compiler
42862 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
42863 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
42864 # This bug is HP SR number 8606223364.
42865 if test "$cross_compiling" = yes; then
42866 # Depending upon the size, compute the lo and hi bounds.
42867 cat >conftest.$ac_ext <<_ACEOF
42870 cat confdefs.h >>conftest.$ac_ext
42871 cat >>conftest.$ac_ext <<_ACEOF
42872 /* end confdefs.h. */
42873 $ac_includes_default
42877 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
42884 rm -f conftest.$ac_objext
42885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42886 (eval $ac_compile) 2>conftest.er1
42888 grep -v '^ *+' conftest.er1 >conftest.err
42890 cat conftest.err >&5
42891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42892 (exit $ac_status); } &&
42893 { ac_try='test -z "$ac_c_werror_flag"
42894 || test ! -s conftest.err'
42895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42896 (eval $ac_try) 2>&5
42898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42899 (exit $ac_status); }; } &&
42900 { ac_try='test -s conftest.$ac_objext'
42901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42902 (eval $ac_try) 2>&5
42904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42905 (exit $ac_status); }; }; then
42908 cat >conftest.$ac_ext <<_ACEOF
42911 cat confdefs.h >>conftest.$ac_ext
42912 cat >>conftest.$ac_ext <<_ACEOF
42913 /* end confdefs.h. */
42914 $ac_includes_default
42918 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
42925 rm -f conftest.$ac_objext
42926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42927 (eval $ac_compile) 2>conftest.er1
42929 grep -v '^ *+' conftest.er1 >conftest.err
42931 cat conftest.err >&5
42932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42933 (exit $ac_status); } &&
42934 { ac_try='test -z "$ac_c_werror_flag"
42935 || test ! -s conftest.err'
42936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42937 (eval $ac_try) 2>&5
42939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42940 (exit $ac_status); }; } &&
42941 { ac_try='test -s conftest.$ac_objext'
42942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42943 (eval $ac_try) 2>&5
42945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42946 (exit $ac_status); }; }; then
42947 ac_hi=$ac_mid; break
42949 echo "$as_me: failed program was:" >&5
42950 sed 's/^/| /' conftest.$ac_ext >&5
42952 ac_lo=`expr $ac_mid + 1`
42953 if test $ac_lo -le $ac_mid; then
42957 ac_mid=`expr 2 '*' $ac_mid + 1`
42959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42962 echo "$as_me: failed program was:" >&5
42963 sed 's/^/| /' conftest.$ac_ext >&5
42965 cat >conftest.$ac_ext <<_ACEOF
42968 cat confdefs.h >>conftest.$ac_ext
42969 cat >>conftest.$ac_ext <<_ACEOF
42970 /* end confdefs.h. */
42971 $ac_includes_default
42975 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
42982 rm -f conftest.$ac_objext
42983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42984 (eval $ac_compile) 2>conftest.er1
42986 grep -v '^ *+' conftest.er1 >conftest.err
42988 cat conftest.err >&5
42989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42990 (exit $ac_status); } &&
42991 { ac_try='test -z "$ac_c_werror_flag"
42992 || test ! -s conftest.err'
42993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42994 (eval $ac_try) 2>&5
42996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42997 (exit $ac_status); }; } &&
42998 { ac_try='test -s conftest.$ac_objext'
42999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43000 (eval $ac_try) 2>&5
43002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43003 (exit $ac_status); }; }; then
43006 cat >conftest.$ac_ext <<_ACEOF
43009 cat confdefs.h >>conftest.$ac_ext
43010 cat >>conftest.$ac_ext <<_ACEOF
43011 /* end confdefs.h. */
43012 $ac_includes_default
43016 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
43023 rm -f conftest.$ac_objext
43024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43025 (eval $ac_compile) 2>conftest.er1
43027 grep -v '^ *+' conftest.er1 >conftest.err
43029 cat conftest.err >&5
43030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43031 (exit $ac_status); } &&
43032 { ac_try='test -z "$ac_c_werror_flag"
43033 || test ! -s conftest.err'
43034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43035 (eval $ac_try) 2>&5
43037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43038 (exit $ac_status); }; } &&
43039 { ac_try='test -s conftest.$ac_objext'
43040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43041 (eval $ac_try) 2>&5
43043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43044 (exit $ac_status); }; }; then
43045 ac_lo=$ac_mid; break
43047 echo "$as_me: failed program was:" >&5
43048 sed 's/^/| /' conftest.$ac_ext >&5
43050 ac_hi=`expr '(' $ac_mid ')' - 1`
43051 if test $ac_mid -le $ac_hi; then
43055 ac_mid=`expr 2 '*' $ac_mid`
43057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43060 echo "$as_me: failed program was:" >&5
43061 sed 's/^/| /' conftest.$ac_ext >&5
43065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43068 # Binary search between lo and hi bounds.
43069 while test "x$ac_lo" != "x$ac_hi"; do
43070 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
43071 cat >conftest.$ac_ext <<_ACEOF
43074 cat confdefs.h >>conftest.$ac_ext
43075 cat >>conftest.$ac_ext <<_ACEOF
43076 /* end confdefs.h. */
43077 $ac_includes_default
43081 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
43088 rm -f conftest.$ac_objext
43089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43090 (eval $ac_compile) 2>conftest.er1
43092 grep -v '^ *+' conftest.er1 >conftest.err
43094 cat conftest.err >&5
43095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43096 (exit $ac_status); } &&
43097 { ac_try='test -z "$ac_c_werror_flag"
43098 || test ! -s conftest.err'
43099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43100 (eval $ac_try) 2>&5
43102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43103 (exit $ac_status); }; } &&
43104 { ac_try='test -s conftest.$ac_objext'
43105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43106 (eval $ac_try) 2>&5
43108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43109 (exit $ac_status); }; }; then
43112 echo "$as_me: failed program was:" >&5
43113 sed 's/^/| /' conftest.$ac_ext >&5
43115 ac_lo=`expr '(' $ac_mid ')' + 1`
43117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43120 ?*) ac_cv_sizeof_long=$ac_lo;;
43121 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
43122 See \`config.log' for more details." >&5
43123 echo "$as_me: error: cannot compute sizeof (long), 77
43124 See \`config.log' for more details." >&2;}
43125 { (exit 1); exit 1; }; } ;;
43128 if test "$cross_compiling" = yes; then
43129 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
43130 See \`config.log' for more details." >&5
43131 echo "$as_me: error: cannot run test program while cross compiling
43132 See \`config.log' for more details." >&2;}
43133 { (exit 1); exit 1; }; }
43135 cat >conftest.$ac_ext <<_ACEOF
43138 cat confdefs.h >>conftest.$ac_ext
43139 cat >>conftest.$ac_ext <<_ACEOF
43140 /* end confdefs.h. */
43141 $ac_includes_default
43142 long longval () { return (long) (sizeof (long)); }
43143 unsigned long ulongval () { return (long) (sizeof (long)); }
43145 #include <stdlib.h>
43150 FILE *f = fopen ("conftest.val", "w");
43153 if (((long) (sizeof (long))) < 0)
43155 long i = longval ();
43156 if (i != ((long) (sizeof (long))))
43158 fprintf (f, "%ld\n", i);
43162 unsigned long i = ulongval ();
43163 if (i != ((long) (sizeof (long))))
43165 fprintf (f, "%lu\n", i);
43167 exit (ferror (f) || fclose (f) != 0);
43173 rm -f conftest$ac_exeext
43174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43175 (eval $ac_link) 2>&5
43177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43178 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43180 (eval $ac_try) 2>&5
43182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43183 (exit $ac_status); }; }; then
43184 ac_cv_sizeof_long=`cat conftest.val`
43186 echo "$as_me: program exited with status $ac_status" >&5
43187 echo "$as_me: failed program was:" >&5
43188 sed 's/^/| /' conftest.$ac_ext >&5
43190 ( exit $ac_status )
43191 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
43192 See \`config.log' for more details." >&5
43193 echo "$as_me: error: cannot compute sizeof (long), 77
43194 See \`config.log' for more details." >&2;}
43195 { (exit 1); exit 1; }; }
43197 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43202 ac_cv_sizeof_long=0
43205 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
43206 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
43207 cat >>confdefs.h <<_ACEOF
43208 #define SIZEOF_LONG $ac_cv_sizeof_long
43213 echo "$as_me:$LINENO: checking for s_char" >&5
43214 echo $ECHO_N "checking for s_char... $ECHO_C" >&6
43215 if test "${ac_cv_type_s_char+set}" = set; then
43216 echo $ECHO_N "(cached) $ECHO_C" >&6
43218 cat >conftest.$ac_ext <<_ACEOF
43221 cat confdefs.h >>conftest.$ac_ext
43222 cat >>conftest.$ac_ext <<_ACEOF
43223 /* end confdefs.h. */
43224 $ac_includes_default
43230 if (sizeof (s_char))
43236 rm -f conftest.$ac_objext
43237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43238 (eval $ac_compile) 2>conftest.er1
43240 grep -v '^ *+' conftest.er1 >conftest.err
43242 cat conftest.err >&5
43243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43244 (exit $ac_status); } &&
43245 { ac_try='test -z "$ac_c_werror_flag"
43246 || test ! -s conftest.err'
43247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43248 (eval $ac_try) 2>&5
43250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43251 (exit $ac_status); }; } &&
43252 { ac_try='test -s conftest.$ac_objext'
43253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43254 (eval $ac_try) 2>&5
43256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43257 (exit $ac_status); }; }; then
43258 ac_cv_type_s_char=yes
43260 echo "$as_me: failed program was:" >&5
43261 sed 's/^/| /' conftest.$ac_ext >&5
43263 ac_cv_type_s_char=no
43265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43267 echo "$as_me:$LINENO: result: $ac_cv_type_s_char" >&5
43268 echo "${ECHO_T}$ac_cv_type_s_char" >&6
43269 if test $ac_cv_type_s_char = yes; then
43271 cat >>confdefs.h <<_ACEOF
43272 #define HAVE_S_CHAR 1
43278 case "$ac_cv_c_char_unsigned$ac_cv_sizeof_signed_char$ac_cv_type_s_char" in
43280 # We have a typedef for s_char. Might as well believe it...
43283 # We have signed chars, can't say 'signed char', no s_char typedef.
43285 cat >>confdefs.h <<\_ACEOF
43286 #define NEED_S_CHAR_TYPEDEF 1
43291 # We have signed chars, can say 'signed char', no s_char typedef.
43292 cat >>confdefs.h <<\_ACEOF
43293 #define NEED_S_CHAR_TYPEDEF 1
43298 # We have unsigned chars, can't say 'signed char', no s_char typedef.
43299 { { echo "$as_me:$LINENO: error: No way to specify a signed character!" >&5
43300 echo "$as_me: error: No way to specify a signed character!" >&2;}
43301 { (exit 1); exit 1; }; }
43304 # We have unsigned chars, can say 'signed char', no s_char typedef.
43305 cat >>confdefs.h <<\_ACEOF
43306 #define NEED_S_CHAR_TYPEDEF 1
43311 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
43312 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
43313 if test "${ac_cv_type_uid_t+set}" = set; then
43314 echo $ECHO_N "(cached) $ECHO_C" >&6
43316 cat >conftest.$ac_ext <<_ACEOF
43319 cat confdefs.h >>conftest.$ac_ext
43320 cat >>conftest.$ac_ext <<_ACEOF
43321 /* end confdefs.h. */
43322 #include <sys/types.h>
43325 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
43326 $EGREP "uid_t" >/dev/null 2>&1; then
43327 ac_cv_type_uid_t=yes
43329 ac_cv_type_uid_t=no
43334 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
43335 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
43336 if test $ac_cv_type_uid_t = no; then
43338 cat >>confdefs.h <<\_ACEOF
43343 cat >>confdefs.h <<\_ACEOF
43352 # (prr) aix 4.1 doesn't have clock_settime, but in aix 4.3 it's a stub
43353 # (returning ENOSYS). I didn't check 4.2. If, in the future,
43354 # IBM pulls its thumbs out long enough to implement clock_settime,
43355 # this conditional will need to change. Maybe use AC_TRY_RUN
43356 # instead to try to set the time to itself and check errno.
43360 for ac_func in clock_gettime clock_settime
43362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43363 echo "$as_me:$LINENO: checking for $ac_func" >&5
43364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43365 if eval "test \"\${$as_ac_var+set}\" = set"; then
43366 echo $ECHO_N "(cached) $ECHO_C" >&6
43368 cat >conftest.$ac_ext <<_ACEOF
43371 cat confdefs.h >>conftest.$ac_ext
43372 cat >>conftest.$ac_ext <<_ACEOF
43373 /* end confdefs.h. */
43374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43376 #define $ac_func innocuous_$ac_func
43378 /* System header to define __stub macros and hopefully few prototypes,
43379 which can conflict with char $ac_func (); below.
43380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43381 <limits.h> exists even on freestanding compilers. */
43384 # include <limits.h>
43386 # include <assert.h>
43391 /* Override any gcc2 internal prototype to avoid an error. */
43396 /* We use char because int might match the return type of a gcc2
43397 builtin and then its argument prototype would still apply. */
43399 /* The GNU C library defines this for functions which it implements
43400 to always fail with ENOSYS. Some functions are actually named
43401 something starting with __ and the normal name is an alias. */
43402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43405 char (*f) () = $ac_func;
43414 return f != $ac_func;
43419 rm -f conftest.$ac_objext conftest$ac_exeext
43420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43421 (eval $ac_link) 2>conftest.er1
43423 grep -v '^ *+' conftest.er1 >conftest.err
43425 cat conftest.err >&5
43426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43427 (exit $ac_status); } &&
43428 { ac_try='test -z "$ac_c_werror_flag"
43429 || test ! -s conftest.err'
43430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43431 (eval $ac_try) 2>&5
43433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43434 (exit $ac_status); }; } &&
43435 { ac_try='test -s conftest$ac_exeext'
43436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43437 (eval $ac_try) 2>&5
43439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43440 (exit $ac_status); }; }; then
43441 eval "$as_ac_var=yes"
43443 echo "$as_me: failed program was:" >&5
43444 sed 's/^/| /' conftest.$ac_ext >&5
43446 eval "$as_ac_var=no"
43448 rm -f conftest.err conftest.$ac_objext \
43449 conftest$ac_exeext conftest.$ac_ext
43451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43453 if test `eval echo '${'$as_ac_var'}'` = yes; then
43454 cat >>confdefs.h <<_ACEOF
43455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43464 for ac_func in daemon
43466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43467 echo "$as_me:$LINENO: checking for $ac_func" >&5
43468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43469 if eval "test \"\${$as_ac_var+set}\" = set"; then
43470 echo $ECHO_N "(cached) $ECHO_C" >&6
43472 cat >conftest.$ac_ext <<_ACEOF
43475 cat confdefs.h >>conftest.$ac_ext
43476 cat >>conftest.$ac_ext <<_ACEOF
43477 /* end confdefs.h. */
43478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43480 #define $ac_func innocuous_$ac_func
43482 /* System header to define __stub macros and hopefully few prototypes,
43483 which can conflict with char $ac_func (); below.
43484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43485 <limits.h> exists even on freestanding compilers. */
43488 # include <limits.h>
43490 # include <assert.h>
43495 /* Override any gcc2 internal prototype to avoid an error. */
43500 /* We use char because int might match the return type of a gcc2
43501 builtin and then its argument prototype would still apply. */
43503 /* The GNU C library defines this for functions which it implements
43504 to always fail with ENOSYS. Some functions are actually named
43505 something starting with __ and the normal name is an alias. */
43506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43509 char (*f) () = $ac_func;
43518 return f != $ac_func;
43523 rm -f conftest.$ac_objext conftest$ac_exeext
43524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43525 (eval $ac_link) 2>conftest.er1
43527 grep -v '^ *+' conftest.er1 >conftest.err
43529 cat conftest.err >&5
43530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43531 (exit $ac_status); } &&
43532 { ac_try='test -z "$ac_c_werror_flag"
43533 || test ! -s conftest.err'
43534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43535 (eval $ac_try) 2>&5
43537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43538 (exit $ac_status); }; } &&
43539 { ac_try='test -s conftest$ac_exeext'
43540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43541 (eval $ac_try) 2>&5
43543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43544 (exit $ac_status); }; }; then
43545 eval "$as_ac_var=yes"
43547 echo "$as_me: failed program was:" >&5
43548 sed 's/^/| /' conftest.$ac_ext >&5
43550 eval "$as_ac_var=no"
43552 rm -f conftest.err conftest.$ac_objext \
43553 conftest$ac_exeext conftest.$ac_ext
43555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43557 if test `eval echo '${'$as_ac_var'}'` = yes; then
43558 cat >>confdefs.h <<_ACEOF
43559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43566 for ac_func in finite
43568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43569 echo "$as_me:$LINENO: checking for $ac_func" >&5
43570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43571 if eval "test \"\${$as_ac_var+set}\" = set"; then
43572 echo $ECHO_N "(cached) $ECHO_C" >&6
43574 cat >conftest.$ac_ext <<_ACEOF
43577 cat confdefs.h >>conftest.$ac_ext
43578 cat >>conftest.$ac_ext <<_ACEOF
43579 /* end confdefs.h. */
43580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43582 #define $ac_func innocuous_$ac_func
43584 /* System header to define __stub macros and hopefully few prototypes,
43585 which can conflict with char $ac_func (); below.
43586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43587 <limits.h> exists even on freestanding compilers. */
43590 # include <limits.h>
43592 # include <assert.h>
43597 /* Override any gcc2 internal prototype to avoid an error. */
43602 /* We use char because int might match the return type of a gcc2
43603 builtin and then its argument prototype would still apply. */
43605 /* The GNU C library defines this for functions which it implements
43606 to always fail with ENOSYS. Some functions are actually named
43607 something starting with __ and the normal name is an alias. */
43608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43611 char (*f) () = $ac_func;
43620 return f != $ac_func;
43625 rm -f conftest.$ac_objext conftest$ac_exeext
43626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43627 (eval $ac_link) 2>conftest.er1
43629 grep -v '^ *+' conftest.er1 >conftest.err
43631 cat conftest.err >&5
43632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43633 (exit $ac_status); } &&
43634 { ac_try='test -z "$ac_c_werror_flag"
43635 || test ! -s conftest.err'
43636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43637 (eval $ac_try) 2>&5
43639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43640 (exit $ac_status); }; } &&
43641 { ac_try='test -s conftest$ac_exeext'
43642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43643 (eval $ac_try) 2>&5
43645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43646 (exit $ac_status); }; }; then
43647 eval "$as_ac_var=yes"
43649 echo "$as_me: failed program was:" >&5
43650 sed 's/^/| /' conftest.$ac_ext >&5
43652 eval "$as_ac_var=no"
43654 rm -f conftest.err conftest.$ac_objext \
43655 conftest$ac_exeext conftest.$ac_ext
43657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43659 if test `eval echo '${'$as_ac_var'}'` = yes; then
43660 cat >>confdefs.h <<_ACEOF
43661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43666 for ac_func in isfinite
43668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43669 echo "$as_me:$LINENO: checking for $ac_func" >&5
43670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43671 if eval "test \"\${$as_ac_var+set}\" = set"; then
43672 echo $ECHO_N "(cached) $ECHO_C" >&6
43674 cat >conftest.$ac_ext <<_ACEOF
43677 cat confdefs.h >>conftest.$ac_ext
43678 cat >>conftest.$ac_ext <<_ACEOF
43679 /* end confdefs.h. */
43680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43682 #define $ac_func innocuous_$ac_func
43684 /* System header to define __stub macros and hopefully few prototypes,
43685 which can conflict with char $ac_func (); below.
43686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43687 <limits.h> exists even on freestanding compilers. */
43690 # include <limits.h>
43692 # include <assert.h>
43697 /* Override any gcc2 internal prototype to avoid an error. */
43702 /* We use char because int might match the return type of a gcc2
43703 builtin and then its argument prototype would still apply. */
43705 /* The GNU C library defines this for functions which it implements
43706 to always fail with ENOSYS. Some functions are actually named
43707 something starting with __ and the normal name is an alias. */
43708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43711 char (*f) () = $ac_func;
43720 return f != $ac_func;
43725 rm -f conftest.$ac_objext conftest$ac_exeext
43726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43727 (eval $ac_link) 2>conftest.er1
43729 grep -v '^ *+' conftest.er1 >conftest.err
43731 cat conftest.err >&5
43732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43733 (exit $ac_status); } &&
43734 { ac_try='test -z "$ac_c_werror_flag"
43735 || test ! -s conftest.err'
43736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43737 (eval $ac_try) 2>&5
43739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43740 (exit $ac_status); }; } &&
43741 { ac_try='test -s conftest$ac_exeext'
43742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43743 (eval $ac_try) 2>&5
43745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43746 (exit $ac_status); }; }; then
43747 eval "$as_ac_var=yes"
43749 echo "$as_me: failed program was:" >&5
43750 sed 's/^/| /' conftest.$ac_ext >&5
43752 eval "$as_ac_var=no"
43754 rm -f conftest.err conftest.$ac_objext \
43755 conftest$ac_exeext conftest.$ac_ext
43757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43759 if test `eval echo '${'$as_ac_var'}'` = yes; then
43760 cat >>confdefs.h <<_ACEOF
43761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43765 echo "$as_me:$LINENO: checking for isfinite with <math.h>" >&5
43766 echo $ECHO_N "checking for isfinite with <math.h>... $ECHO_C" >&6
43769 cat >conftest.$ac_ext <<_ACEOF
43772 cat confdefs.h >>conftest.$ac_ext
43773 cat >>conftest.$ac_ext <<_ACEOF
43774 /* end confdefs.h. */
43779 float f = 0.0; isfinite(f)
43784 rm -f conftest.$ac_objext conftest$ac_exeext
43785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43786 (eval $ac_link) 2>conftest.er1
43788 grep -v '^ *+' conftest.er1 >conftest.err
43790 cat conftest.err >&5
43791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43792 (exit $ac_status); } &&
43793 { ac_try='test -z "$ac_c_werror_flag"
43794 || test ! -s conftest.err'
43795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43796 (eval $ac_try) 2>&5
43798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43799 (exit $ac_status); }; } &&
43800 { ac_try='test -s conftest$ac_exeext'
43801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43802 (eval $ac_try) 2>&5
43804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43805 (exit $ac_status); }; }; then
43806 echo "$as_me:$LINENO: result: yes" >&5
43807 echo "${ECHO_T}yes" >&6
43808 cat >>confdefs.h <<\_ACEOF
43809 #define HAVE_ISFINITE 1
43813 echo "$as_me: failed program was:" >&5
43814 sed 's/^/| /' conftest.$ac_ext >&5
43816 echo "$as_me:$LINENO: result: no" >&5
43817 echo "${ECHO_T}no" >&6
43819 rm -f conftest.err conftest.$ac_objext \
43820 conftest$ac_exeext conftest.$ac_ext
43831 for ac_func in getbootfile getclock getdtablesize
43833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43834 echo "$as_me:$LINENO: checking for $ac_func" >&5
43835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43836 if eval "test \"\${$as_ac_var+set}\" = set"; then
43837 echo $ECHO_N "(cached) $ECHO_C" >&6
43839 cat >conftest.$ac_ext <<_ACEOF
43842 cat confdefs.h >>conftest.$ac_ext
43843 cat >>conftest.$ac_ext <<_ACEOF
43844 /* end confdefs.h. */
43845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43847 #define $ac_func innocuous_$ac_func
43849 /* System header to define __stub macros and hopefully few prototypes,
43850 which can conflict with char $ac_func (); below.
43851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43852 <limits.h> exists even on freestanding compilers. */
43855 # include <limits.h>
43857 # include <assert.h>
43862 /* Override any gcc2 internal prototype to avoid an error. */
43867 /* We use char because int might match the return type of a gcc2
43868 builtin and then its argument prototype would still apply. */
43870 /* The GNU C library defines this for functions which it implements
43871 to always fail with ENOSYS. Some functions are actually named
43872 something starting with __ and the normal name is an alias. */
43873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43876 char (*f) () = $ac_func;
43885 return f != $ac_func;
43890 rm -f conftest.$ac_objext conftest$ac_exeext
43891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43892 (eval $ac_link) 2>conftest.er1
43894 grep -v '^ *+' conftest.er1 >conftest.err
43896 cat conftest.err >&5
43897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43898 (exit $ac_status); } &&
43899 { ac_try='test -z "$ac_c_werror_flag"
43900 || test ! -s conftest.err'
43901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43902 (eval $ac_try) 2>&5
43904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43905 (exit $ac_status); }; } &&
43906 { ac_try='test -s conftest$ac_exeext'
43907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43908 (eval $ac_try) 2>&5
43910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43911 (exit $ac_status); }; }; then
43912 eval "$as_ac_var=yes"
43914 echo "$as_me: failed program was:" >&5
43915 sed 's/^/| /' conftest.$ac_ext >&5
43917 eval "$as_ac_var=no"
43919 rm -f conftest.err conftest.$ac_objext \
43920 conftest$ac_exeext conftest.$ac_ext
43922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43924 if test `eval echo '${'$as_ac_var'}'` = yes; then
43925 cat >>confdefs.h <<_ACEOF
43926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43933 # Check whether --enable-getifaddrs or --disable-getifaddrs was given.
43934 if test "${enable_getifaddrs+set}" = set; then
43935 enableval="$enable_getifaddrs"
43936 want_getifaddrs="$enableval"
43938 want_getifaddrs="yes"
43941 case $want_getifaddrs in
43944 # Do we have getifaddrs() ?
43948 # Some recent versions of glibc support getifaddrs() which does not
43949 # provide AF_INET6 addresses while the function provided by the USAGI
43950 # project handles the AF_INET6 case correctly. We need to avoid
43951 # using the former but prefer the latter unless overridden by
43952 # --enable-getifaddrs=glibc.
43953 if test $want_getifaddrs = glibc
43956 for ac_func in getifaddrs
43958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43959 echo "$as_me:$LINENO: checking for $ac_func" >&5
43960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43961 if eval "test \"\${$as_ac_var+set}\" = set"; then
43962 echo $ECHO_N "(cached) $ECHO_C" >&6
43964 cat >conftest.$ac_ext <<_ACEOF
43967 cat confdefs.h >>conftest.$ac_ext
43968 cat >>conftest.$ac_ext <<_ACEOF
43969 /* end confdefs.h. */
43970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43972 #define $ac_func innocuous_$ac_func
43974 /* System header to define __stub macros and hopefully few prototypes,
43975 which can conflict with char $ac_func (); below.
43976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43977 <limits.h> exists even on freestanding compilers. */
43980 # include <limits.h>
43982 # include <assert.h>
43987 /* Override any gcc2 internal prototype to avoid an error. */
43992 /* We use char because int might match the return type of a gcc2
43993 builtin and then its argument prototype would still apply. */
43995 /* The GNU C library defines this for functions which it implements
43996 to always fail with ENOSYS. Some functions are actually named
43997 something starting with __ and the normal name is an alias. */
43998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44001 char (*f) () = $ac_func;
44010 return f != $ac_func;
44015 rm -f conftest.$ac_objext conftest$ac_exeext
44016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44017 (eval $ac_link) 2>conftest.er1
44019 grep -v '^ *+' conftest.er1 >conftest.err
44021 cat conftest.err >&5
44022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44023 (exit $ac_status); } &&
44024 { ac_try='test -z "$ac_c_werror_flag"
44025 || test ! -s conftest.err'
44026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44027 (eval $ac_try) 2>&5
44029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44030 (exit $ac_status); }; } &&
44031 { ac_try='test -s conftest$ac_exeext'
44032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44033 (eval $ac_try) 2>&5
44035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44036 (exit $ac_status); }; }; then
44037 eval "$as_ac_var=yes"
44039 echo "$as_me: failed program was:" >&5
44040 sed 's/^/| /' conftest.$ac_ext >&5
44042 eval "$as_ac_var=no"
44044 rm -f conftest.err conftest.$ac_objext \
44045 conftest$ac_exeext conftest.$ac_ext
44047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44049 if test `eval echo '${'$as_ac_var'}'` = yes; then
44050 cat >>confdefs.h <<_ACEOF
44051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44059 LIBS="-L/usr/local/v6/lib $LIBS"
44060 echo "$as_me:$LINENO: checking for getifaddrs in -linet6" >&5
44061 echo $ECHO_N "checking for getifaddrs in -linet6... $ECHO_C" >&6
44062 if test "${ac_cv_lib_inet6_getifaddrs+set}" = set; then
44063 echo $ECHO_N "(cached) $ECHO_C" >&6
44065 ac_check_lib_save_LIBS=$LIBS
44066 LIBS="-linet6 $LIBS"
44067 cat >conftest.$ac_ext <<_ACEOF
44070 cat confdefs.h >>conftest.$ac_ext
44071 cat >>conftest.$ac_ext <<_ACEOF
44072 /* end confdefs.h. */
44074 /* Override any gcc2 internal prototype to avoid an error. */
44078 /* We use char because int might match the return type of a gcc2
44079 builtin and then its argument prototype would still apply. */
44080 char getifaddrs ();
44089 rm -f conftest.$ac_objext conftest$ac_exeext
44090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44091 (eval $ac_link) 2>conftest.er1
44093 grep -v '^ *+' conftest.er1 >conftest.err
44095 cat conftest.err >&5
44096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44097 (exit $ac_status); } &&
44098 { ac_try='test -z "$ac_c_werror_flag"
44099 || test ! -s conftest.err'
44100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44101 (eval $ac_try) 2>&5
44103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44104 (exit $ac_status); }; } &&
44105 { ac_try='test -s conftest$ac_exeext'
44106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44107 (eval $ac_try) 2>&5
44109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44110 (exit $ac_status); }; }; then
44111 ac_cv_lib_inet6_getifaddrs=yes
44113 echo "$as_me: failed program was:" >&5
44114 sed 's/^/| /' conftest.$ac_ext >&5
44116 ac_cv_lib_inet6_getifaddrs=no
44118 rm -f conftest.err conftest.$ac_objext \
44119 conftest$ac_exeext conftest.$ac_ext
44120 LIBS=$ac_check_lib_save_LIBS
44122 echo "$as_me:$LINENO: result: $ac_cv_lib_inet6_getifaddrs" >&5
44123 echo "${ECHO_T}$ac_cv_lib_inet6_getifaddrs" >&6
44124 if test $ac_cv_lib_inet6_getifaddrs = yes; then
44125 LIBS="$LIBS -linet6"
44126 cat >>confdefs.h <<\_ACEOF
44127 #define HAVE_GETIFADDRS 1
44138 for ac_func in getifaddrs
44140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44141 echo "$as_me:$LINENO: checking for $ac_func" >&5
44142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44143 if eval "test \"\${$as_ac_var+set}\" = set"; then
44144 echo $ECHO_N "(cached) $ECHO_C" >&6
44146 cat >conftest.$ac_ext <<_ACEOF
44149 cat confdefs.h >>conftest.$ac_ext
44150 cat >>conftest.$ac_ext <<_ACEOF
44151 /* end confdefs.h. */
44152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44154 #define $ac_func innocuous_$ac_func
44156 /* System header to define __stub macros and hopefully few prototypes,
44157 which can conflict with char $ac_func (); below.
44158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44159 <limits.h> exists even on freestanding compilers. */
44162 # include <limits.h>
44164 # include <assert.h>
44169 /* Override any gcc2 internal prototype to avoid an error. */
44174 /* We use char because int might match the return type of a gcc2
44175 builtin and then its argument prototype would still apply. */
44177 /* The GNU C library defines this for functions which it implements
44178 to always fail with ENOSYS. Some functions are actually named
44179 something starting with __ and the normal name is an alias. */
44180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44183 char (*f) () = $ac_func;
44192 return f != $ac_func;
44197 rm -f conftest.$ac_objext conftest$ac_exeext
44198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44199 (eval $ac_link) 2>conftest.er1
44201 grep -v '^ *+' conftest.er1 >conftest.err
44203 cat conftest.err >&5
44204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44205 (exit $ac_status); } &&
44206 { ac_try='test -z "$ac_c_werror_flag"
44207 || test ! -s conftest.err'
44208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44209 (eval $ac_try) 2>&5
44211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44212 (exit $ac_status); }; } &&
44213 { ac_try='test -s conftest$ac_exeext'
44214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44215 (eval $ac_try) 2>&5
44217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44218 (exit $ac_status); }; }; then
44219 eval "$as_ac_var=yes"
44221 echo "$as_me: failed program was:" >&5
44222 sed 's/^/| /' conftest.$ac_ext >&5
44224 eval "$as_ac_var=no"
44226 rm -f conftest.err conftest.$ac_objext \
44227 conftest$ac_exeext conftest.$ac_ext
44229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44231 if test `eval echo '${'$as_ac_var'}'` = yes; then
44232 cat >>confdefs.h <<_ACEOF
44233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44246 echo "$as_me:$LINENO: checking type of socklen arg for getsockname()" >&5
44247 echo $ECHO_N "checking type of socklen arg for getsockname()... $ECHO_C" >&6
44248 if test "${ac_cv_func_getsockname_arg2+set}" = set; then
44249 echo $ECHO_N "(cached) $ECHO_C" >&6
44251 if test "${ac_cv_func_getsockname_socklen_type+set}" = set; then
44252 echo $ECHO_N "(cached) $ECHO_C" >&6
44254 for ac_cv_func_getsockname_arg2 in 'struct sockaddr *' 'void *'; do
44255 for ac_cv_func_getsockname_socklen_type in 'socklen_t' 'size_t' 'unsigned int' 'int'; do
44256 cat >conftest.$ac_ext <<_ACEOF
44259 cat confdefs.h >>conftest.$ac_ext
44260 cat >>conftest.$ac_ext <<_ACEOF
44261 /* end confdefs.h. */
44262 #ifdef HAVE_SYS_TYPES_H
44263 #include <sys/types.h>
44265 #ifdef HAVE_SYS_SOCKET_H
44266 #include <sys/socket.h>
44268 extern getsockname (int, $ac_cv_func_getsockname_arg2, $ac_cv_func_getsockname_socklen_type *);
44277 rm -f conftest.$ac_objext
44278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44279 (eval $ac_compile) 2>conftest.er1
44281 grep -v '^ *+' conftest.er1 >conftest.err
44283 cat conftest.err >&5
44284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44285 (exit $ac_status); } &&
44286 { ac_try='test -z "$ac_c_werror_flag"
44287 || test ! -s conftest.err'
44288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44289 (eval $ac_try) 2>&5
44291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44292 (exit $ac_status); }; } &&
44293 { ac_try='test -s conftest.$ac_objext'
44294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44295 (eval $ac_try) 2>&5
44297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44298 (exit $ac_status); }; }; then
44299 ac_not_found=no ; break 2
44301 echo "$as_me: failed program was:" >&5
44302 sed 's/^/| /' conftest.$ac_ext >&5
44306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44313 if test "$ac_not_found" = yes; then
44314 ac_cv_func_getsockname_socklen_type='socklen_t'
44316 echo "$as_me:$LINENO: result: $ac_cv_func_getsockname_socklen_type" >&5
44317 echo "${ECHO_T}$ac_cv_func_getsockname_socklen_type" >&6
44319 cat >>confdefs.h <<_ACEOF
44320 #define GETSOCKNAME_SOCKLEN_TYPE $ac_cv_func_getsockname_socklen_type
44325 for ac_func in getrusage
44327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44328 echo "$as_me:$LINENO: checking for $ac_func" >&5
44329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44330 if eval "test \"\${$as_ac_var+set}\" = set"; then
44331 echo $ECHO_N "(cached) $ECHO_C" >&6
44333 cat >conftest.$ac_ext <<_ACEOF
44336 cat confdefs.h >>conftest.$ac_ext
44337 cat >>conftest.$ac_ext <<_ACEOF
44338 /* end confdefs.h. */
44339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44341 #define $ac_func innocuous_$ac_func
44343 /* System header to define __stub macros and hopefully few prototypes,
44344 which can conflict with char $ac_func (); below.
44345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44346 <limits.h> exists even on freestanding compilers. */
44349 # include <limits.h>
44351 # include <assert.h>
44356 /* Override any gcc2 internal prototype to avoid an error. */
44361 /* We use char because int might match the return type of a gcc2
44362 builtin and then its argument prototype would still apply. */
44364 /* The GNU C library defines this for functions which it implements
44365 to always fail with ENOSYS. Some functions are actually named
44366 something starting with __ and the normal name is an alias. */
44367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44370 char (*f) () = $ac_func;
44379 return f != $ac_func;
44384 rm -f conftest.$ac_objext conftest$ac_exeext
44385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44386 (eval $ac_link) 2>conftest.er1
44388 grep -v '^ *+' conftest.er1 >conftest.err
44390 cat conftest.err >&5
44391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44392 (exit $ac_status); } &&
44393 { ac_try='test -z "$ac_c_werror_flag"
44394 || test ! -s conftest.err'
44395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44396 (eval $ac_try) 2>&5
44398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44399 (exit $ac_status); }; } &&
44400 { ac_try='test -s conftest$ac_exeext'
44401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44402 (eval $ac_try) 2>&5
44404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44405 (exit $ac_status); }; }; then
44406 eval "$as_ac_var=yes"
44408 echo "$as_me: failed program was:" >&5
44409 sed 's/^/| /' conftest.$ac_ext >&5
44411 eval "$as_ac_var=no"
44413 rm -f conftest.err conftest.$ac_objext \
44414 conftest$ac_exeext conftest.$ac_ext
44416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44418 if test `eval echo '${'$as_ac_var'}'` = yes; then
44419 cat >>confdefs.h <<_ACEOF
44420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44426 echo "$as_me:$LINENO: checking for gettimeofday" >&5
44427 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
44428 if test "${ac_cv_func_gettimeofday+set}" = set; then
44429 echo $ECHO_N "(cached) $ECHO_C" >&6
44431 cat >conftest.$ac_ext <<_ACEOF
44434 cat confdefs.h >>conftest.$ac_ext
44435 cat >>conftest.$ac_ext <<_ACEOF
44436 /* end confdefs.h. */
44437 /* Define gettimeofday to an innocuous variant, in case <limits.h> declares gettimeofday.
44438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44439 #define gettimeofday innocuous_gettimeofday
44441 /* System header to define __stub macros and hopefully few prototypes,
44442 which can conflict with char gettimeofday (); below.
44443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44444 <limits.h> exists even on freestanding compilers. */
44447 # include <limits.h>
44449 # include <assert.h>
44452 #undef gettimeofday
44454 /* Override any gcc2 internal prototype to avoid an error. */
44459 /* We use char because int might match the return type of a gcc2
44460 builtin and then its argument prototype would still apply. */
44461 char gettimeofday ();
44462 /* The GNU C library defines this for functions which it implements
44463 to always fail with ENOSYS. Some functions are actually named
44464 something starting with __ and the normal name is an alias. */
44465 #if defined (__stub_gettimeofday) || defined (__stub___gettimeofday)
44468 char (*f) () = gettimeofday;
44477 return f != gettimeofday;
44482 rm -f conftest.$ac_objext conftest$ac_exeext
44483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44484 (eval $ac_link) 2>conftest.er1
44486 grep -v '^ *+' conftest.er1 >conftest.err
44488 cat conftest.err >&5
44489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44490 (exit $ac_status); } &&
44491 { ac_try='test -z "$ac_c_werror_flag"
44492 || test ! -s conftest.err'
44493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44494 (eval $ac_try) 2>&5
44496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44497 (exit $ac_status); }; } &&
44498 { ac_try='test -s conftest$ac_exeext'
44499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44500 (eval $ac_try) 2>&5
44502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44503 (exit $ac_status); }; }; then
44504 ac_cv_func_gettimeofday=yes
44506 echo "$as_me: failed program was:" >&5
44507 sed 's/^/| /' conftest.$ac_ext >&5
44509 ac_cv_func_gettimeofday=no
44511 rm -f conftest.err conftest.$ac_objext \
44512 conftest$ac_exeext conftest.$ac_ext
44514 echo "$as_me:$LINENO: result: $ac_cv_func_gettimeofday" >&5
44515 echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6
44516 if test $ac_cv_func_gettimeofday = yes; then
44521 *-*-mpeix*) ac_cv_func_gettimeofday=yes
44530 for ac_func in getuid
44532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44533 echo "$as_me:$LINENO: checking for $ac_func" >&5
44534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44535 if eval "test \"\${$as_ac_var+set}\" = set"; then
44536 echo $ECHO_N "(cached) $ECHO_C" >&6
44538 cat >conftest.$ac_ext <<_ACEOF
44541 cat confdefs.h >>conftest.$ac_ext
44542 cat >>conftest.$ac_ext <<_ACEOF
44543 /* end confdefs.h. */
44544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44546 #define $ac_func innocuous_$ac_func
44548 /* System header to define __stub macros and hopefully few prototypes,
44549 which can conflict with char $ac_func (); below.
44550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44551 <limits.h> exists even on freestanding compilers. */
44554 # include <limits.h>
44556 # include <assert.h>
44561 /* Override any gcc2 internal prototype to avoid an error. */
44566 /* We use char because int might match the return type of a gcc2
44567 builtin and then its argument prototype would still apply. */
44569 /* The GNU C library defines this for functions which it implements
44570 to always fail with ENOSYS. Some functions are actually named
44571 something starting with __ and the normal name is an alias. */
44572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44575 char (*f) () = $ac_func;
44584 return f != $ac_func;
44589 rm -f conftest.$ac_objext conftest$ac_exeext
44590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44591 (eval $ac_link) 2>conftest.er1
44593 grep -v '^ *+' conftest.er1 >conftest.err
44595 cat conftest.err >&5
44596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44597 (exit $ac_status); } &&
44598 { ac_try='test -z "$ac_c_werror_flag"
44599 || test ! -s conftest.err'
44600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44601 (eval $ac_try) 2>&5
44603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44604 (exit $ac_status); }; } &&
44605 { ac_try='test -s conftest$ac_exeext'
44606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44607 (eval $ac_try) 2>&5
44609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44610 (exit $ac_status); }; }; then
44611 eval "$as_ac_var=yes"
44613 echo "$as_me: failed program was:" >&5
44614 sed 's/^/| /' conftest.$ac_ext >&5
44616 eval "$as_ac_var=no"
44618 rm -f conftest.err conftest.$ac_objext \
44619 conftest$ac_exeext conftest.$ac_ext
44621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44623 if test `eval echo '${'$as_ac_var'}'` = yes; then
44624 cat >>confdefs.h <<_ACEOF
44625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44634 for ac_func in hstrerror
44636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44637 echo "$as_me:$LINENO: checking for $ac_func" >&5
44638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44639 if eval "test \"\${$as_ac_var+set}\" = set"; then
44640 echo $ECHO_N "(cached) $ECHO_C" >&6
44642 cat >conftest.$ac_ext <<_ACEOF
44645 cat confdefs.h >>conftest.$ac_ext
44646 cat >>conftest.$ac_ext <<_ACEOF
44647 /* end confdefs.h. */
44648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44650 #define $ac_func innocuous_$ac_func
44652 /* System header to define __stub macros and hopefully few prototypes,
44653 which can conflict with char $ac_func (); below.
44654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44655 <limits.h> exists even on freestanding compilers. */
44658 # include <limits.h>
44660 # include <assert.h>
44665 /* Override any gcc2 internal prototype to avoid an error. */
44670 /* We use char because int might match the return type of a gcc2
44671 builtin and then its argument prototype would still apply. */
44673 /* The GNU C library defines this for functions which it implements
44674 to always fail with ENOSYS. Some functions are actually named
44675 something starting with __ and the normal name is an alias. */
44676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44679 char (*f) () = $ac_func;
44688 return f != $ac_func;
44693 rm -f conftest.$ac_objext conftest$ac_exeext
44694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44695 (eval $ac_link) 2>conftest.er1
44697 grep -v '^ *+' conftest.er1 >conftest.err
44699 cat conftest.err >&5
44700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44701 (exit $ac_status); } &&
44702 { ac_try='test -z "$ac_c_werror_flag"
44703 || test ! -s conftest.err'
44704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44705 (eval $ac_try) 2>&5
44707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44708 (exit $ac_status); }; } &&
44709 { ac_try='test -s conftest$ac_exeext'
44710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44711 (eval $ac_try) 2>&5
44713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44714 (exit $ac_status); }; }; then
44715 eval "$as_ac_var=yes"
44717 echo "$as_me: failed program was:" >&5
44718 sed 's/^/| /' conftest.$ac_ext >&5
44720 eval "$as_ac_var=no"
44722 rm -f conftest.err conftest.$ac_objext \
44723 conftest$ac_exeext conftest.$ac_ext
44725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44727 if test `eval echo '${'$as_ac_var'}'` = yes; then
44728 cat >>confdefs.h <<_ACEOF
44729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44737 # Check for if_nametoindex() for IPv6 scoped addresses support
44739 echo "$as_me:$LINENO: checking for if_nametoindex" >&5
44740 echo $ECHO_N "checking for if_nametoindex... $ECHO_C" >&6
44741 if test "${ac_cv_func_if_nametoindex+set}" = set; then
44742 echo $ECHO_N "(cached) $ECHO_C" >&6
44744 cat >conftest.$ac_ext <<_ACEOF
44747 cat confdefs.h >>conftest.$ac_ext
44748 cat >>conftest.$ac_ext <<_ACEOF
44749 /* end confdefs.h. */
44750 /* Define if_nametoindex to an innocuous variant, in case <limits.h> declares if_nametoindex.
44751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44752 #define if_nametoindex innocuous_if_nametoindex
44754 /* System header to define __stub macros and hopefully few prototypes,
44755 which can conflict with char if_nametoindex (); below.
44756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44757 <limits.h> exists even on freestanding compilers. */
44760 # include <limits.h>
44762 # include <assert.h>
44765 #undef if_nametoindex
44767 /* Override any gcc2 internal prototype to avoid an error. */
44772 /* We use char because int might match the return type of a gcc2
44773 builtin and then its argument prototype would still apply. */
44774 char if_nametoindex ();
44775 /* The GNU C library defines this for functions which it implements
44776 to always fail with ENOSYS. Some functions are actually named
44777 something starting with __ and the normal name is an alias. */
44778 #if defined (__stub_if_nametoindex) || defined (__stub___if_nametoindex)
44781 char (*f) () = if_nametoindex;
44790 return f != if_nametoindex;
44795 rm -f conftest.$ac_objext conftest$ac_exeext
44796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44797 (eval $ac_link) 2>conftest.er1
44799 grep -v '^ *+' conftest.er1 >conftest.err
44801 cat conftest.err >&5
44802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44803 (exit $ac_status); } &&
44804 { ac_try='test -z "$ac_c_werror_flag"
44805 || test ! -s conftest.err'
44806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44807 (eval $ac_try) 2>&5
44809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44810 (exit $ac_status); }; } &&
44811 { ac_try='test -s conftest$ac_exeext'
44812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44813 (eval $ac_try) 2>&5
44815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44816 (exit $ac_status); }; }; then
44817 ac_cv_func_if_nametoindex=yes
44819 echo "$as_me: failed program was:" >&5
44820 sed 's/^/| /' conftest.$ac_ext >&5
44822 ac_cv_func_if_nametoindex=no
44824 rm -f conftest.err conftest.$ac_objext \
44825 conftest$ac_exeext conftest.$ac_ext
44827 echo "$as_me:$LINENO: result: $ac_cv_func_if_nametoindex" >&5
44828 echo "${ECHO_T}$ac_cv_func_if_nametoindex" >&6
44829 if test $ac_cv_func_if_nametoindex = yes; then
44830 ac_cv_have_if_nametoindex=yes
44832 ac_cv_have_if_nametoindex=no
44835 case $ac_cv_have_if_nametoindex in
44839 echo "$as_me:$LINENO: checking for if_nametoindex in -lipv6" >&5
44840 echo $ECHO_N "checking for if_nametoindex in -lipv6... $ECHO_C" >&6
44841 if test "${ac_cv_lib_ipv6_if_nametoindex+set}" = set; then
44842 echo $ECHO_N "(cached) $ECHO_C" >&6
44844 ac_check_lib_save_LIBS=$LIBS
44845 LIBS="-lipv6 $LIBS"
44846 cat >conftest.$ac_ext <<_ACEOF
44849 cat confdefs.h >>conftest.$ac_ext
44850 cat >>conftest.$ac_ext <<_ACEOF
44851 /* end confdefs.h. */
44853 /* Override any gcc2 internal prototype to avoid an error. */
44857 /* We use char because int might match the return type of a gcc2
44858 builtin and then its argument prototype would still apply. */
44859 char if_nametoindex ();
44868 rm -f conftest.$ac_objext conftest$ac_exeext
44869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44870 (eval $ac_link) 2>conftest.er1
44872 grep -v '^ *+' conftest.er1 >conftest.err
44874 cat conftest.err >&5
44875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44876 (exit $ac_status); } &&
44877 { ac_try='test -z "$ac_c_werror_flag"
44878 || test ! -s conftest.err'
44879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44880 (eval $ac_try) 2>&5
44882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44883 (exit $ac_status); }; } &&
44884 { ac_try='test -s conftest$ac_exeext'
44885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44886 (eval $ac_try) 2>&5
44888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44889 (exit $ac_status); }; }; then
44890 ac_cv_lib_ipv6_if_nametoindex=yes
44892 echo "$as_me: failed program was:" >&5
44893 sed 's/^/| /' conftest.$ac_ext >&5
44895 ac_cv_lib_ipv6_if_nametoindex=no
44897 rm -f conftest.err conftest.$ac_objext \
44898 conftest$ac_exeext conftest.$ac_ext
44899 LIBS=$ac_check_lib_save_LIBS
44901 echo "$as_me:$LINENO: result: $ac_cv_lib_ipv6_if_nametoindex" >&5
44902 echo "${ECHO_T}$ac_cv_lib_ipv6_if_nametoindex" >&6
44903 if test $ac_cv_lib_ipv6_if_nametoindex = yes; then
44904 ac_cv_have_if_nametoindex=yes
44905 LIBS="-lipv6 $LIBS"
44911 case $ac_cv_have_if_nametoindex in
44914 cat >>confdefs.h <<\_ACEOF
44915 #define ISC_PLATFORM_HAVEIFNAMETOINDEX 1
44921 echo "$as_me:$LINENO: checking for inet_ntop" >&5
44922 echo $ECHO_N "checking for inet_ntop... $ECHO_C" >&6
44923 if test "${ac_cv_func_inet_ntop+set}" = set; then
44924 echo $ECHO_N "(cached) $ECHO_C" >&6
44926 cat >conftest.$ac_ext <<_ACEOF
44929 cat confdefs.h >>conftest.$ac_ext
44930 cat >>conftest.$ac_ext <<_ACEOF
44931 /* end confdefs.h. */
44932 /* Define inet_ntop to an innocuous variant, in case <limits.h> declares inet_ntop.
44933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44934 #define inet_ntop innocuous_inet_ntop
44936 /* System header to define __stub macros and hopefully few prototypes,
44937 which can conflict with char inet_ntop (); below.
44938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44939 <limits.h> exists even on freestanding compilers. */
44942 # include <limits.h>
44944 # include <assert.h>
44949 /* Override any gcc2 internal prototype to avoid an error. */
44954 /* We use char because int might match the return type of a gcc2
44955 builtin and then its argument prototype would still apply. */
44957 /* The GNU C library defines this for functions which it implements
44958 to always fail with ENOSYS. Some functions are actually named
44959 something starting with __ and the normal name is an alias. */
44960 #if defined (__stub_inet_ntop) || defined (__stub___inet_ntop)
44963 char (*f) () = inet_ntop;
44972 return f != inet_ntop;
44977 rm -f conftest.$ac_objext conftest$ac_exeext
44978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44979 (eval $ac_link) 2>conftest.er1
44981 grep -v '^ *+' conftest.er1 >conftest.err
44983 cat conftest.err >&5
44984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44985 (exit $ac_status); } &&
44986 { ac_try='test -z "$ac_c_werror_flag"
44987 || test ! -s conftest.err'
44988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44989 (eval $ac_try) 2>&5
44991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44992 (exit $ac_status); }; } &&
44993 { ac_try='test -s conftest$ac_exeext'
44994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44995 (eval $ac_try) 2>&5
44997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44998 (exit $ac_status); }; }; then
44999 ac_cv_func_inet_ntop=yes
45001 echo "$as_me: failed program was:" >&5
45002 sed 's/^/| /' conftest.$ac_ext >&5
45004 ac_cv_func_inet_ntop=no
45006 rm -f conftest.err conftest.$ac_objext \
45007 conftest$ac_exeext conftest.$ac_ext
45009 echo "$as_me:$LINENO: result: $ac_cv_func_inet_ntop" >&5
45010 echo "${ECHO_T}$ac_cv_func_inet_ntop" >&6
45011 if test $ac_cv_func_inet_ntop = yes; then
45015 cat >>confdefs.h <<\_ACEOF
45016 #define ISC_PLATFORM_NEEDNTOP 1
45021 echo "$as_me:$LINENO: checking for inet_pton" >&5
45022 echo $ECHO_N "checking for inet_pton... $ECHO_C" >&6
45023 if test "${ac_cv_func_inet_pton+set}" = set; then
45024 echo $ECHO_N "(cached) $ECHO_C" >&6
45026 cat >conftest.$ac_ext <<_ACEOF
45029 cat confdefs.h >>conftest.$ac_ext
45030 cat >>conftest.$ac_ext <<_ACEOF
45031 /* end confdefs.h. */
45032 /* Define inet_pton to an innocuous variant, in case <limits.h> declares inet_pton.
45033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45034 #define inet_pton innocuous_inet_pton
45036 /* System header to define __stub macros and hopefully few prototypes,
45037 which can conflict with char inet_pton (); below.
45038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45039 <limits.h> exists even on freestanding compilers. */
45042 # include <limits.h>
45044 # include <assert.h>
45049 /* Override any gcc2 internal prototype to avoid an error. */
45054 /* We use char because int might match the return type of a gcc2
45055 builtin and then its argument prototype would still apply. */
45057 /* The GNU C library defines this for functions which it implements
45058 to always fail with ENOSYS. Some functions are actually named
45059 something starting with __ and the normal name is an alias. */
45060 #if defined (__stub_inet_pton) || defined (__stub___inet_pton)
45063 char (*f) () = inet_pton;
45072 return f != inet_pton;
45077 rm -f conftest.$ac_objext conftest$ac_exeext
45078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45079 (eval $ac_link) 2>conftest.er1
45081 grep -v '^ *+' conftest.er1 >conftest.err
45083 cat conftest.err >&5
45084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45085 (exit $ac_status); } &&
45086 { ac_try='test -z "$ac_c_werror_flag"
45087 || test ! -s conftest.err'
45088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45089 (eval $ac_try) 2>&5
45091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45092 (exit $ac_status); }; } &&
45093 { ac_try='test -s conftest$ac_exeext'
45094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45095 (eval $ac_try) 2>&5
45097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45098 (exit $ac_status); }; }; then
45099 ac_cv_func_inet_pton=yes
45101 echo "$as_me: failed program was:" >&5
45102 sed 's/^/| /' conftest.$ac_ext >&5
45104 ac_cv_func_inet_pton=no
45106 rm -f conftest.err conftest.$ac_objext \
45107 conftest$ac_exeext conftest.$ac_ext
45109 echo "$as_me:$LINENO: result: $ac_cv_func_inet_pton" >&5
45110 echo "${ECHO_T}$ac_cv_func_inet_pton" >&6
45111 if test $ac_cv_func_inet_pton = yes; then
45115 cat >>confdefs.h <<\_ACEOF
45116 #define ISC_PLATFORM_NEEDPTON 1
45121 echo "$as_me:$LINENO: checking for inet_aton" >&5
45122 echo $ECHO_N "checking for inet_aton... $ECHO_C" >&6
45123 if test "${ac_cv_func_inet_aton+set}" = set; then
45124 echo $ECHO_N "(cached) $ECHO_C" >&6
45126 cat >conftest.$ac_ext <<_ACEOF
45129 cat confdefs.h >>conftest.$ac_ext
45130 cat >>conftest.$ac_ext <<_ACEOF
45131 /* end confdefs.h. */
45132 /* Define inet_aton to an innocuous variant, in case <limits.h> declares inet_aton.
45133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45134 #define inet_aton innocuous_inet_aton
45136 /* System header to define __stub macros and hopefully few prototypes,
45137 which can conflict with char inet_aton (); below.
45138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45139 <limits.h> exists even on freestanding compilers. */
45142 # include <limits.h>
45144 # include <assert.h>
45149 /* Override any gcc2 internal prototype to avoid an error. */
45154 /* We use char because int might match the return type of a gcc2
45155 builtin and then its argument prototype would still apply. */
45157 /* The GNU C library defines this for functions which it implements
45158 to always fail with ENOSYS. Some functions are actually named
45159 something starting with __ and the normal name is an alias. */
45160 #if defined (__stub_inet_aton) || defined (__stub___inet_aton)
45163 char (*f) () = inet_aton;
45172 return f != inet_aton;
45177 rm -f conftest.$ac_objext conftest$ac_exeext
45178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45179 (eval $ac_link) 2>conftest.er1
45181 grep -v '^ *+' conftest.er1 >conftest.err
45183 cat conftest.err >&5
45184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45185 (exit $ac_status); } &&
45186 { ac_try='test -z "$ac_c_werror_flag"
45187 || test ! -s conftest.err'
45188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45189 (eval $ac_try) 2>&5
45191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45192 (exit $ac_status); }; } &&
45193 { ac_try='test -s conftest$ac_exeext'
45194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45195 (eval $ac_try) 2>&5
45197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45198 (exit $ac_status); }; }; then
45199 ac_cv_func_inet_aton=yes
45201 echo "$as_me: failed program was:" >&5
45202 sed 's/^/| /' conftest.$ac_ext >&5
45204 ac_cv_func_inet_aton=no
45206 rm -f conftest.err conftest.$ac_objext \
45207 conftest$ac_exeext conftest.$ac_ext
45209 echo "$as_me:$LINENO: result: $ac_cv_func_inet_aton" >&5
45210 echo "${ECHO_T}$ac_cv_func_inet_aton" >&6
45211 if test $ac_cv_func_inet_aton = yes; then
45215 cat >>confdefs.h <<\_ACEOF
45216 #define ISC_PLATFORM_NEEDATON 1
45226 for ac_func in K_open kvm_open memcpy memmove memset
45228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45229 echo "$as_me:$LINENO: checking for $ac_func" >&5
45230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45231 if eval "test \"\${$as_ac_var+set}\" = set"; then
45232 echo $ECHO_N "(cached) $ECHO_C" >&6
45234 cat >conftest.$ac_ext <<_ACEOF
45237 cat confdefs.h >>conftest.$ac_ext
45238 cat >>conftest.$ac_ext <<_ACEOF
45239 /* end confdefs.h. */
45240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45242 #define $ac_func innocuous_$ac_func
45244 /* System header to define __stub macros and hopefully few prototypes,
45245 which can conflict with char $ac_func (); below.
45246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45247 <limits.h> exists even on freestanding compilers. */
45250 # include <limits.h>
45252 # include <assert.h>
45257 /* Override any gcc2 internal prototype to avoid an error. */
45262 /* We use char because int might match the return type of a gcc2
45263 builtin and then its argument prototype would still apply. */
45265 /* The GNU C library defines this for functions which it implements
45266 to always fail with ENOSYS. Some functions are actually named
45267 something starting with __ and the normal name is an alias. */
45268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45271 char (*f) () = $ac_func;
45280 return f != $ac_func;
45285 rm -f conftest.$ac_objext conftest$ac_exeext
45286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45287 (eval $ac_link) 2>conftest.er1
45289 grep -v '^ *+' conftest.er1 >conftest.err
45291 cat conftest.err >&5
45292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45293 (exit $ac_status); } &&
45294 { ac_try='test -z "$ac_c_werror_flag"
45295 || test ! -s conftest.err'
45296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45297 (eval $ac_try) 2>&5
45299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45300 (exit $ac_status); }; } &&
45301 { ac_try='test -s conftest$ac_exeext'
45302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45303 (eval $ac_try) 2>&5
45305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45306 (exit $ac_status); }; }; then
45307 eval "$as_ac_var=yes"
45309 echo "$as_me: failed program was:" >&5
45310 sed 's/^/| /' conftest.$ac_ext >&5
45312 eval "$as_ac_var=no"
45314 rm -f conftest.err conftest.$ac_objext \
45315 conftest$ac_exeext conftest.$ac_ext
45317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45319 if test `eval echo '${'$as_ac_var'}'` = yes; then
45320 cat >>confdefs.h <<_ACEOF
45321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45329 # Just stubs. Idiots.
45332 for ac_func in mkstemp
45334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45335 echo "$as_me:$LINENO: checking for $ac_func" >&5
45336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45337 if eval "test \"\${$as_ac_var+set}\" = set"; then
45338 echo $ECHO_N "(cached) $ECHO_C" >&6
45340 cat >conftest.$ac_ext <<_ACEOF
45343 cat confdefs.h >>conftest.$ac_ext
45344 cat >>conftest.$ac_ext <<_ACEOF
45345 /* end confdefs.h. */
45346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45348 #define $ac_func innocuous_$ac_func
45350 /* System header to define __stub macros and hopefully few prototypes,
45351 which can conflict with char $ac_func (); below.
45352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45353 <limits.h> exists even on freestanding compilers. */
45356 # include <limits.h>
45358 # include <assert.h>
45363 /* Override any gcc2 internal prototype to avoid an error. */
45368 /* We use char because int might match the return type of a gcc2
45369 builtin and then its argument prototype would still apply. */
45371 /* The GNU C library defines this for functions which it implements
45372 to always fail with ENOSYS. Some functions are actually named
45373 something starting with __ and the normal name is an alias. */
45374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45377 char (*f) () = $ac_func;
45386 return f != $ac_func;
45391 rm -f conftest.$ac_objext conftest$ac_exeext
45392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45393 (eval $ac_link) 2>conftest.er1
45395 grep -v '^ *+' conftest.er1 >conftest.err
45397 cat conftest.err >&5
45398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45399 (exit $ac_status); } &&
45400 { ac_try='test -z "$ac_c_werror_flag"
45401 || test ! -s conftest.err'
45402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45403 (eval $ac_try) 2>&5
45405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45406 (exit $ac_status); }; } &&
45407 { ac_try='test -s conftest$ac_exeext'
45408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45409 (eval $ac_try) 2>&5
45411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45412 (exit $ac_status); }; }; then
45413 eval "$as_ac_var=yes"
45415 echo "$as_me: failed program was:" >&5
45416 sed 's/^/| /' conftest.$ac_ext >&5
45418 eval "$as_ac_var=no"
45420 rm -f conftest.err conftest.$ac_objext \
45421 conftest$ac_exeext conftest.$ac_ext
45423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45425 if test `eval echo '${'$as_ac_var'}'` = yes; then
45426 cat >>confdefs.h <<_ACEOF
45427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45436 for ac_func in mktime
45438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45439 echo "$as_me:$LINENO: checking for $ac_func" >&5
45440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45441 if eval "test \"\${$as_ac_var+set}\" = set"; then
45442 echo $ECHO_N "(cached) $ECHO_C" >&6
45444 cat >conftest.$ac_ext <<_ACEOF
45447 cat confdefs.h >>conftest.$ac_ext
45448 cat >>conftest.$ac_ext <<_ACEOF
45449 /* end confdefs.h. */
45450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45452 #define $ac_func innocuous_$ac_func
45454 /* System header to define __stub macros and hopefully few prototypes,
45455 which can conflict with char $ac_func (); below.
45456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45457 <limits.h> exists even on freestanding compilers. */
45460 # include <limits.h>
45462 # include <assert.h>
45467 /* Override any gcc2 internal prototype to avoid an error. */
45472 /* We use char because int might match the return type of a gcc2
45473 builtin and then its argument prototype would still apply. */
45475 /* The GNU C library defines this for functions which it implements
45476 to always fail with ENOSYS. Some functions are actually named
45477 something starting with __ and the normal name is an alias. */
45478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45481 char (*f) () = $ac_func;
45490 return f != $ac_func;
45495 rm -f conftest.$ac_objext conftest$ac_exeext
45496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45497 (eval $ac_link) 2>conftest.er1
45499 grep -v '^ *+' conftest.er1 >conftest.err
45501 cat conftest.err >&5
45502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45503 (exit $ac_status); } &&
45504 { ac_try='test -z "$ac_c_werror_flag"
45505 || test ! -s conftest.err'
45506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45507 (eval $ac_try) 2>&5
45509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45510 (exit $ac_status); }; } &&
45511 { ac_try='test -s conftest$ac_exeext'
45512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45513 (eval $ac_try) 2>&5
45515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45516 (exit $ac_status); }; }; then
45517 eval "$as_ac_var=yes"
45519 echo "$as_me: failed program was:" >&5
45520 sed 's/^/| /' conftest.$ac_ext >&5
45522 eval "$as_ac_var=no"
45524 rm -f conftest.err conftest.$ac_objext \
45525 conftest$ac_exeext conftest.$ac_ext
45527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45529 if test `eval echo '${'$as_ac_var'}'` = yes; then
45530 cat >>confdefs.h <<_ACEOF
45531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45539 # Just a stub. Idiots.
45542 # Just a stub in "old" Irix. Idiots.
45545 # there, but more trouble than it is worth for now (resolver problems)
45548 # Apparently there but not working in QNX. Idiots?
45551 # Just a stub. Idiots.
45553 alpha*-dec-osf4*|alpha*-dec-osf5*)
45554 # mlockall is there, as a #define calling memlk via <sys/mman.h>
45555 # Not easy to test for - cheat.
45557 for ac_func in memlk
45559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45560 echo "$as_me:$LINENO: checking for $ac_func" >&5
45561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45562 if eval "test \"\${$as_ac_var+set}\" = set"; then
45563 echo $ECHO_N "(cached) $ECHO_C" >&6
45565 cat >conftest.$ac_ext <<_ACEOF
45568 cat confdefs.h >>conftest.$ac_ext
45569 cat >>conftest.$ac_ext <<_ACEOF
45570 /* end confdefs.h. */
45571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45573 #define $ac_func innocuous_$ac_func
45575 /* System header to define __stub macros and hopefully few prototypes,
45576 which can conflict with char $ac_func (); below.
45577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45578 <limits.h> exists even on freestanding compilers. */
45581 # include <limits.h>
45583 # include <assert.h>
45588 /* Override any gcc2 internal prototype to avoid an error. */
45593 /* We use char because int might match the return type of a gcc2
45594 builtin and then its argument prototype would still apply. */
45596 /* The GNU C library defines this for functions which it implements
45597 to always fail with ENOSYS. Some functions are actually named
45598 something starting with __ and the normal name is an alias. */
45599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45602 char (*f) () = $ac_func;
45611 return f != $ac_func;
45616 rm -f conftest.$ac_objext conftest$ac_exeext
45617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45618 (eval $ac_link) 2>conftest.er1
45620 grep -v '^ *+' conftest.er1 >conftest.err
45622 cat conftest.err >&5
45623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45624 (exit $ac_status); } &&
45625 { ac_try='test -z "$ac_c_werror_flag"
45626 || test ! -s conftest.err'
45627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45628 (eval $ac_try) 2>&5
45630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45631 (exit $ac_status); }; } &&
45632 { ac_try='test -s conftest$ac_exeext'
45633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45634 (eval $ac_try) 2>&5
45636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45637 (exit $ac_status); }; }; then
45638 eval "$as_ac_var=yes"
45640 echo "$as_me: failed program was:" >&5
45641 sed 's/^/| /' conftest.$ac_ext >&5
45643 eval "$as_ac_var=no"
45645 rm -f conftest.err conftest.$ac_objext \
45646 conftest$ac_exeext conftest.$ac_ext
45648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45650 if test `eval echo '${'$as_ac_var'}'` = yes; then
45651 cat >>confdefs.h <<_ACEOF
45652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45654 ac_cv_func_mlockall='yes'
45659 for ac_func in mlockall
45661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45662 echo "$as_me:$LINENO: checking for $ac_func" >&5
45663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45664 if eval "test \"\${$as_ac_var+set}\" = set"; then
45665 echo $ECHO_N "(cached) $ECHO_C" >&6
45667 cat >conftest.$ac_ext <<_ACEOF
45670 cat confdefs.h >>conftest.$ac_ext
45671 cat >>conftest.$ac_ext <<_ACEOF
45672 /* end confdefs.h. */
45673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45675 #define $ac_func innocuous_$ac_func
45677 /* System header to define __stub macros and hopefully few prototypes,
45678 which can conflict with char $ac_func (); below.
45679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45680 <limits.h> exists even on freestanding compilers. */
45683 # include <limits.h>
45685 # include <assert.h>
45690 /* Override any gcc2 internal prototype to avoid an error. */
45695 /* We use char because int might match the return type of a gcc2
45696 builtin and then its argument prototype would still apply. */
45698 /* The GNU C library defines this for functions which it implements
45699 to always fail with ENOSYS. Some functions are actually named
45700 something starting with __ and the normal name is an alias. */
45701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45704 char (*f) () = $ac_func;
45713 return f != $ac_func;
45718 rm -f conftest.$ac_objext conftest$ac_exeext
45719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45720 (eval $ac_link) 2>conftest.er1
45722 grep -v '^ *+' conftest.er1 >conftest.err
45724 cat conftest.err >&5
45725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45726 (exit $ac_status); } &&
45727 { ac_try='test -z "$ac_c_werror_flag"
45728 || test ! -s conftest.err'
45729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45730 (eval $ac_try) 2>&5
45732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45733 (exit $ac_status); }; } &&
45734 { ac_try='test -s conftest$ac_exeext'
45735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45736 (eval $ac_try) 2>&5
45738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45739 (exit $ac_status); }; }; then
45740 eval "$as_ac_var=yes"
45742 echo "$as_me: failed program was:" >&5
45743 sed 's/^/| /' conftest.$ac_ext >&5
45745 eval "$as_ac_var=no"
45747 rm -f conftest.err conftest.$ac_objext \
45748 conftest$ac_exeext conftest.$ac_ext
45750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45752 if test `eval echo '${'$as_ac_var'}'` = yes; then
45753 cat >>confdefs.h <<_ACEOF
45754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45762 for ac_func in mlockall
45764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45765 echo "$as_me:$LINENO: checking for $ac_func" >&5
45766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45767 if eval "test \"\${$as_ac_var+set}\" = set"; then
45768 echo $ECHO_N "(cached) $ECHO_C" >&6
45770 cat >conftest.$ac_ext <<_ACEOF
45773 cat confdefs.h >>conftest.$ac_ext
45774 cat >>conftest.$ac_ext <<_ACEOF
45775 /* end confdefs.h. */
45776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45778 #define $ac_func innocuous_$ac_func
45780 /* System header to define __stub macros and hopefully few prototypes,
45781 which can conflict with char $ac_func (); below.
45782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45783 <limits.h> exists even on freestanding compilers. */
45786 # include <limits.h>
45788 # include <assert.h>
45793 /* Override any gcc2 internal prototype to avoid an error. */
45798 /* We use char because int might match the return type of a gcc2
45799 builtin and then its argument prototype would still apply. */
45801 /* The GNU C library defines this for functions which it implements
45802 to always fail with ENOSYS. Some functions are actually named
45803 something starting with __ and the normal name is an alias. */
45804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45807 char (*f) () = $ac_func;
45816 return f != $ac_func;
45821 rm -f conftest.$ac_objext conftest$ac_exeext
45822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45823 (eval $ac_link) 2>conftest.er1
45825 grep -v '^ *+' conftest.er1 >conftest.err
45827 cat conftest.err >&5
45828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45829 (exit $ac_status); } &&
45830 { ac_try='test -z "$ac_c_werror_flag"
45831 || test ! -s conftest.err'
45832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45833 (eval $ac_try) 2>&5
45835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45836 (exit $ac_status); }; } &&
45837 { ac_try='test -s conftest$ac_exeext'
45838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45839 (eval $ac_try) 2>&5
45841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45842 (exit $ac_status); }; }; then
45843 eval "$as_ac_var=yes"
45845 echo "$as_me: failed program was:" >&5
45846 sed 's/^/| /' conftest.$ac_ext >&5
45848 eval "$as_ac_var=no"
45850 rm -f conftest.err conftest.$ac_objext \
45851 conftest$ac_exeext conftest.$ac_ext
45853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45855 if test `eval echo '${'$as_ac_var'}'` = yes; then
45856 cat >>confdefs.h <<_ACEOF
45857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45867 for ac_func in nice nlist
45869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45870 echo "$as_me:$LINENO: checking for $ac_func" >&5
45871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45872 if eval "test \"\${$as_ac_var+set}\" = set"; then
45873 echo $ECHO_N "(cached) $ECHO_C" >&6
45875 cat >conftest.$ac_ext <<_ACEOF
45878 cat confdefs.h >>conftest.$ac_ext
45879 cat >>conftest.$ac_ext <<_ACEOF
45880 /* end confdefs.h. */
45881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45883 #define $ac_func innocuous_$ac_func
45885 /* System header to define __stub macros and hopefully few prototypes,
45886 which can conflict with char $ac_func (); below.
45887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45888 <limits.h> exists even on freestanding compilers. */
45891 # include <limits.h>
45893 # include <assert.h>
45898 /* Override any gcc2 internal prototype to avoid an error. */
45903 /* We use char because int might match the return type of a gcc2
45904 builtin and then its argument prototype would still apply. */
45906 /* The GNU C library defines this for functions which it implements
45907 to always fail with ENOSYS. Some functions are actually named
45908 something starting with __ and the normal name is an alias. */
45909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45912 char (*f) () = $ac_func;
45921 return f != $ac_func;
45926 rm -f conftest.$ac_objext conftest$ac_exeext
45927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45928 (eval $ac_link) 2>conftest.er1
45930 grep -v '^ *+' conftest.er1 >conftest.err
45932 cat conftest.err >&5
45933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45934 (exit $ac_status); } &&
45935 { ac_try='test -z "$ac_c_werror_flag"
45936 || test ! -s conftest.err'
45937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45938 (eval $ac_try) 2>&5
45940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45941 (exit $ac_status); }; } &&
45942 { ac_try='test -s conftest$ac_exeext'
45943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45944 (eval $ac_try) 2>&5
45946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45947 (exit $ac_status); }; }; then
45948 eval "$as_ac_var=yes"
45950 echo "$as_me: failed program was:" >&5
45951 sed 's/^/| /' conftest.$ac_ext >&5
45953 eval "$as_ac_var=no"
45955 rm -f conftest.err conftest.$ac_objext \
45956 conftest$ac_exeext conftest.$ac_ext
45958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45960 if test `eval echo '${'$as_ac_var'}'` = yes; then
45961 cat >>confdefs.h <<_ACEOF
45962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45974 for ac_func in ntp_adjtime ntp_gettime
45976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45977 echo "$as_me:$LINENO: checking for $ac_func" >&5
45978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45979 if eval "test \"\${$as_ac_var+set}\" = set"; then
45980 echo $ECHO_N "(cached) $ECHO_C" >&6
45982 cat >conftest.$ac_ext <<_ACEOF
45985 cat confdefs.h >>conftest.$ac_ext
45986 cat >>conftest.$ac_ext <<_ACEOF
45987 /* end confdefs.h. */
45988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45990 #define $ac_func innocuous_$ac_func
45992 /* System header to define __stub macros and hopefully few prototypes,
45993 which can conflict with char $ac_func (); below.
45994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45995 <limits.h> exists even on freestanding compilers. */
45998 # include <limits.h>
46000 # include <assert.h>
46005 /* Override any gcc2 internal prototype to avoid an error. */
46010 /* We use char because int might match the return type of a gcc2
46011 builtin and then its argument prototype would still apply. */
46013 /* The GNU C library defines this for functions which it implements
46014 to always fail with ENOSYS. Some functions are actually named
46015 something starting with __ and the normal name is an alias. */
46016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46019 char (*f) () = $ac_func;
46028 return f != $ac_func;
46033 rm -f conftest.$ac_objext conftest$ac_exeext
46034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46035 (eval $ac_link) 2>conftest.er1
46037 grep -v '^ *+' conftest.er1 >conftest.err
46039 cat conftest.err >&5
46040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46041 (exit $ac_status); } &&
46042 { ac_try='test -z "$ac_c_werror_flag"
46043 || test ! -s conftest.err'
46044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46045 (eval $ac_try) 2>&5
46047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46048 (exit $ac_status); }; } &&
46049 { ac_try='test -s conftest$ac_exeext'
46050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46051 (eval $ac_try) 2>&5
46053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46054 (exit $ac_status); }; }; then
46055 eval "$as_ac_var=yes"
46057 echo "$as_me: failed program was:" >&5
46058 sed 's/^/| /' conftest.$ac_ext >&5
46060 eval "$as_ac_var=no"
46062 rm -f conftest.err conftest.$ac_objext \
46063 conftest$ac_exeext conftest.$ac_ext
46065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46067 if test `eval echo '${'$as_ac_var'}'` = yes; then
46068 cat >>confdefs.h <<_ACEOF
46069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46083 for ac_func in plock pututline pututxline readlink recvmsg rtprio
46085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46086 echo "$as_me:$LINENO: checking for $ac_func" >&5
46087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46088 if eval "test \"\${$as_ac_var+set}\" = set"; then
46089 echo $ECHO_N "(cached) $ECHO_C" >&6
46091 cat >conftest.$ac_ext <<_ACEOF
46094 cat confdefs.h >>conftest.$ac_ext
46095 cat >>conftest.$ac_ext <<_ACEOF
46096 /* end confdefs.h. */
46097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46099 #define $ac_func innocuous_$ac_func
46101 /* System header to define __stub macros and hopefully few prototypes,
46102 which can conflict with char $ac_func (); below.
46103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46104 <limits.h> exists even on freestanding compilers. */
46107 # include <limits.h>
46109 # include <assert.h>
46114 /* Override any gcc2 internal prototype to avoid an error. */
46119 /* We use char because int might match the return type of a gcc2
46120 builtin and then its argument prototype would still apply. */
46122 /* The GNU C library defines this for functions which it implements
46123 to always fail with ENOSYS. Some functions are actually named
46124 something starting with __ and the normal name is an alias. */
46125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46128 char (*f) () = $ac_func;
46137 return f != $ac_func;
46142 rm -f conftest.$ac_objext conftest$ac_exeext
46143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46144 (eval $ac_link) 2>conftest.er1
46146 grep -v '^ *+' conftest.er1 >conftest.err
46148 cat conftest.err >&5
46149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46150 (exit $ac_status); } &&
46151 { ac_try='test -z "$ac_c_werror_flag"
46152 || test ! -s conftest.err'
46153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46154 (eval $ac_try) 2>&5
46156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46157 (exit $ac_status); }; } &&
46158 { ac_try='test -s conftest$ac_exeext'
46159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46160 (eval $ac_try) 2>&5
46162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46163 (exit $ac_status); }; }; then
46164 eval "$as_ac_var=yes"
46166 echo "$as_me: failed program was:" >&5
46167 sed 's/^/| /' conftest.$ac_ext >&5
46169 eval "$as_ac_var=no"
46171 rm -f conftest.err conftest.$ac_objext \
46172 conftest$ac_exeext conftest.$ac_ext
46174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46176 if test `eval echo '${'$as_ac_var'}'` = yes; then
46177 cat >>confdefs.h <<_ACEOF
46178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46186 # Just a stub in AIX 4. Idiots.
46189 # Just stubs in solaris2.5. Idiots.
46192 for ac_func in sched_setscheduler
46194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46195 echo "$as_me:$LINENO: checking for $ac_func" >&5
46196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46197 if eval "test \"\${$as_ac_var+set}\" = set"; then
46198 echo $ECHO_N "(cached) $ECHO_C" >&6
46200 cat >conftest.$ac_ext <<_ACEOF
46203 cat confdefs.h >>conftest.$ac_ext
46204 cat >>conftest.$ac_ext <<_ACEOF
46205 /* end confdefs.h. */
46206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46208 #define $ac_func innocuous_$ac_func
46210 /* System header to define __stub macros and hopefully few prototypes,
46211 which can conflict with char $ac_func (); below.
46212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46213 <limits.h> exists even on freestanding compilers. */
46216 # include <limits.h>
46218 # include <assert.h>
46223 /* Override any gcc2 internal prototype to avoid an error. */
46228 /* We use char because int might match the return type of a gcc2
46229 builtin and then its argument prototype would still apply. */
46231 /* The GNU C library defines this for functions which it implements
46232 to always fail with ENOSYS. Some functions are actually named
46233 something starting with __ and the normal name is an alias. */
46234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46237 char (*f) () = $ac_func;
46246 return f != $ac_func;
46251 rm -f conftest.$ac_objext conftest$ac_exeext
46252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46253 (eval $ac_link) 2>conftest.er1
46255 grep -v '^ *+' conftest.er1 >conftest.err
46257 cat conftest.err >&5
46258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46259 (exit $ac_status); } &&
46260 { ac_try='test -z "$ac_c_werror_flag"
46261 || test ! -s conftest.err'
46262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46263 (eval $ac_try) 2>&5
46265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46266 (exit $ac_status); }; } &&
46267 { ac_try='test -s conftest$ac_exeext'
46268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46269 (eval $ac_try) 2>&5
46271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46272 (exit $ac_status); }; }; then
46273 eval "$as_ac_var=yes"
46275 echo "$as_me: failed program was:" >&5
46276 sed 's/^/| /' conftest.$ac_ext >&5
46278 eval "$as_ac_var=no"
46280 rm -f conftest.err conftest.$ac_objext \
46281 conftest$ac_exeext conftest.$ac_ext
46283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46285 if test `eval echo '${'$as_ac_var'}'` = yes; then
46286 cat >>confdefs.h <<_ACEOF
46287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46299 for ac_func in setlinebuf setpgid setpriority setsid
46301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46302 echo "$as_me:$LINENO: checking for $ac_func" >&5
46303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46304 if eval "test \"\${$as_ac_var+set}\" = set"; then
46305 echo $ECHO_N "(cached) $ECHO_C" >&6
46307 cat >conftest.$ac_ext <<_ACEOF
46310 cat confdefs.h >>conftest.$ac_ext
46311 cat >>conftest.$ac_ext <<_ACEOF
46312 /* end confdefs.h. */
46313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46315 #define $ac_func innocuous_$ac_func
46317 /* System header to define __stub macros and hopefully few prototypes,
46318 which can conflict with char $ac_func (); below.
46319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46320 <limits.h> exists even on freestanding compilers. */
46323 # include <limits.h>
46325 # include <assert.h>
46330 /* Override any gcc2 internal prototype to avoid an error. */
46335 /* We use char because int might match the return type of a gcc2
46336 builtin and then its argument prototype would still apply. */
46338 /* The GNU C library defines this for functions which it implements
46339 to always fail with ENOSYS. Some functions are actually named
46340 something starting with __ and the normal name is an alias. */
46341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46344 char (*f) () = $ac_func;
46353 return f != $ac_func;
46358 rm -f conftest.$ac_objext conftest$ac_exeext
46359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46360 (eval $ac_link) 2>conftest.er1
46362 grep -v '^ *+' conftest.er1 >conftest.err
46364 cat conftest.err >&5
46365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46366 (exit $ac_status); } &&
46367 { ac_try='test -z "$ac_c_werror_flag"
46368 || test ! -s conftest.err'
46369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46370 (eval $ac_try) 2>&5
46372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46373 (exit $ac_status); }; } &&
46374 { ac_try='test -s conftest$ac_exeext'
46375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46376 (eval $ac_try) 2>&5
46378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46379 (exit $ac_status); }; }; then
46380 eval "$as_ac_var=yes"
46382 echo "$as_me: failed program was:" >&5
46383 sed 's/^/| /' conftest.$ac_ext >&5
46385 eval "$as_ac_var=no"
46387 rm -f conftest.err conftest.$ac_objext \
46388 conftest$ac_exeext conftest.$ac_ext
46390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46392 if test `eval echo '${'$as_ac_var'}'` = yes; then
46393 cat >>confdefs.h <<_ACEOF
46394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46401 for ac_func in setrlimit
46403 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46404 echo "$as_me:$LINENO: checking for $ac_func" >&5
46405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46406 if eval "test \"\${$as_ac_var+set}\" = set"; then
46407 echo $ECHO_N "(cached) $ECHO_C" >&6
46409 cat >conftest.$ac_ext <<_ACEOF
46412 cat confdefs.h >>conftest.$ac_ext
46413 cat >>conftest.$ac_ext <<_ACEOF
46414 /* end confdefs.h. */
46415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46417 #define $ac_func innocuous_$ac_func
46419 /* System header to define __stub macros and hopefully few prototypes,
46420 which can conflict with char $ac_func (); below.
46421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46422 <limits.h> exists even on freestanding compilers. */
46425 # include <limits.h>
46427 # include <assert.h>
46432 /* Override any gcc2 internal prototype to avoid an error. */
46437 /* We use char because int might match the return type of a gcc2
46438 builtin and then its argument prototype would still apply. */
46440 /* The GNU C library defines this for functions which it implements
46441 to always fail with ENOSYS. Some functions are actually named
46442 something starting with __ and the normal name is an alias. */
46443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46446 char (*f) () = $ac_func;
46455 return f != $ac_func;
46460 rm -f conftest.$ac_objext conftest$ac_exeext
46461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46462 (eval $ac_link) 2>conftest.er1
46464 grep -v '^ *+' conftest.er1 >conftest.err
46466 cat conftest.err >&5
46467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46468 (exit $ac_status); } &&
46469 { ac_try='test -z "$ac_c_werror_flag"
46470 || test ! -s conftest.err'
46471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46472 (eval $ac_try) 2>&5
46474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46475 (exit $ac_status); }; } &&
46476 { ac_try='test -s conftest$ac_exeext'
46477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46478 (eval $ac_try) 2>&5
46480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46481 (exit $ac_status); }; }; then
46482 eval "$as_ac_var=yes"
46484 echo "$as_me: failed program was:" >&5
46485 sed 's/^/| /' conftest.$ac_ext >&5
46487 eval "$as_ac_var=no"
46489 rm -f conftest.err conftest.$ac_objext \
46490 conftest$ac_exeext conftest.$ac_ext
46492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46494 if test `eval echo '${'$as_ac_var'}'` = yes; then
46495 cat >>confdefs.h <<_ACEOF
46496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46503 for ac_func in settimeofday
46505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46506 echo "$as_me:$LINENO: checking for $ac_func" >&5
46507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46508 if eval "test \"\${$as_ac_var+set}\" = set"; then
46509 echo $ECHO_N "(cached) $ECHO_C" >&6
46511 cat >conftest.$ac_ext <<_ACEOF
46514 cat confdefs.h >>conftest.$ac_ext
46515 cat >>conftest.$ac_ext <<_ACEOF
46516 /* end confdefs.h. */
46517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46519 #define $ac_func innocuous_$ac_func
46521 /* System header to define __stub macros and hopefully few prototypes,
46522 which can conflict with char $ac_func (); below.
46523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46524 <limits.h> exists even on freestanding compilers. */
46527 # include <limits.h>
46529 # include <assert.h>
46534 /* Override any gcc2 internal prototype to avoid an error. */
46539 /* We use char because int might match the return type of a gcc2
46540 builtin and then its argument prototype would still apply. */
46542 /* The GNU C library defines this for functions which it implements
46543 to always fail with ENOSYS. Some functions are actually named
46544 something starting with __ and the normal name is an alias. */
46545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46548 char (*f) () = $ac_func;
46557 return f != $ac_func;
46562 rm -f conftest.$ac_objext conftest$ac_exeext
46563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46564 (eval $ac_link) 2>conftest.er1
46566 grep -v '^ *+' conftest.er1 >conftest.err
46568 cat conftest.err >&5
46569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46570 (exit $ac_status); } &&
46571 { ac_try='test -z "$ac_c_werror_flag"
46572 || test ! -s conftest.err'
46573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46574 (eval $ac_try) 2>&5
46576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46577 (exit $ac_status); }; } &&
46578 { ac_try='test -s conftest$ac_exeext'
46579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46580 (eval $ac_try) 2>&5
46582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46583 (exit $ac_status); }; }; then
46584 eval "$as_ac_var=yes"
46586 echo "$as_me: failed program was:" >&5
46587 sed 's/^/| /' conftest.$ac_ext >&5
46589 eval "$as_ac_var=no"
46591 rm -f conftest.err conftest.$ac_objext \
46592 conftest$ac_exeext conftest.$ac_ext
46594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46596 if test `eval echo '${'$as_ac_var'}'` = yes; then
46597 cat >>confdefs.h <<_ACEOF
46598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46604 *-*-mpeix*) ac_cv_func_settimeofday=yes
46612 for ac_func in setvbuf sigaction
46614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46615 echo "$as_me:$LINENO: checking for $ac_func" >&5
46616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46617 if eval "test \"\${$as_ac_var+set}\" = set"; then
46618 echo $ECHO_N "(cached) $ECHO_C" >&6
46620 cat >conftest.$ac_ext <<_ACEOF
46623 cat confdefs.h >>conftest.$ac_ext
46624 cat >>conftest.$ac_ext <<_ACEOF
46625 /* end confdefs.h. */
46626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46628 #define $ac_func innocuous_$ac_func
46630 /* System header to define __stub macros and hopefully few prototypes,
46631 which can conflict with char $ac_func (); below.
46632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46633 <limits.h> exists even on freestanding compilers. */
46636 # include <limits.h>
46638 # include <assert.h>
46643 /* Override any gcc2 internal prototype to avoid an error. */
46648 /* We use char because int might match the return type of a gcc2
46649 builtin and then its argument prototype would still apply. */
46651 /* The GNU C library defines this for functions which it implements
46652 to always fail with ENOSYS. Some functions are actually named
46653 something starting with __ and the normal name is an alias. */
46654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46657 char (*f) () = $ac_func;
46666 return f != $ac_func;
46671 rm -f conftest.$ac_objext conftest$ac_exeext
46672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46673 (eval $ac_link) 2>conftest.er1
46675 grep -v '^ *+' conftest.er1 >conftest.err
46677 cat conftest.err >&5
46678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46679 (exit $ac_status); } &&
46680 { ac_try='test -z "$ac_c_werror_flag"
46681 || test ! -s conftest.err'
46682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46683 (eval $ac_try) 2>&5
46685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46686 (exit $ac_status); }; } &&
46687 { ac_try='test -s conftest$ac_exeext'
46688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46689 (eval $ac_try) 2>&5
46691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46692 (exit $ac_status); }; }; then
46693 eval "$as_ac_var=yes"
46695 echo "$as_me: failed program was:" >&5
46696 sed 's/^/| /' conftest.$ac_ext >&5
46698 eval "$as_ac_var=no"
46700 rm -f conftest.err conftest.$ac_objext \
46701 conftest$ac_exeext conftest.$ac_ext
46703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46705 if test `eval echo '${'$as_ac_var'}'` = yes; then
46706 cat >>confdefs.h <<_ACEOF
46707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46720 for ac_func in sigvec sigset sigsuspend stime strchr sysconf sysctl
46722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46723 echo "$as_me:$LINENO: checking for $ac_func" >&5
46724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46725 if eval "test \"\${$as_ac_var+set}\" = set"; then
46726 echo $ECHO_N "(cached) $ECHO_C" >&6
46728 cat >conftest.$ac_ext <<_ACEOF
46731 cat confdefs.h >>conftest.$ac_ext
46732 cat >>conftest.$ac_ext <<_ACEOF
46733 /* end confdefs.h. */
46734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46736 #define $ac_func innocuous_$ac_func
46738 /* System header to define __stub macros and hopefully few prototypes,
46739 which can conflict with char $ac_func (); below.
46740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46741 <limits.h> exists even on freestanding compilers. */
46744 # include <limits.h>
46746 # include <assert.h>
46751 /* Override any gcc2 internal prototype to avoid an error. */
46756 /* We use char because int might match the return type of a gcc2
46757 builtin and then its argument prototype would still apply. */
46759 /* The GNU C library defines this for functions which it implements
46760 to always fail with ENOSYS. Some functions are actually named
46761 something starting with __ and the normal name is an alias. */
46762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46765 char (*f) () = $ac_func;
46774 return f != $ac_func;
46779 rm -f conftest.$ac_objext conftest$ac_exeext
46780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46781 (eval $ac_link) 2>conftest.er1
46783 grep -v '^ *+' conftest.er1 >conftest.err
46785 cat conftest.err >&5
46786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46787 (exit $ac_status); } &&
46788 { ac_try='test -z "$ac_c_werror_flag"
46789 || test ! -s conftest.err'
46790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46791 (eval $ac_try) 2>&5
46793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46794 (exit $ac_status); }; } &&
46795 { ac_try='test -s conftest$ac_exeext'
46796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46797 (eval $ac_try) 2>&5
46799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46800 (exit $ac_status); }; }; then
46801 eval "$as_ac_var=yes"
46803 echo "$as_me: failed program was:" >&5
46804 sed 's/^/| /' conftest.$ac_ext >&5
46806 eval "$as_ac_var=no"
46808 rm -f conftest.err conftest.$ac_objext \
46809 conftest$ac_exeext conftest.$ac_ext
46811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46813 if test `eval echo '${'$as_ac_var'}'` = yes; then
46814 cat >>confdefs.h <<_ACEOF
46815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46825 for ac_func in snprintf strdup strerror strstr
46827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46828 echo "$as_me:$LINENO: checking for $ac_func" >&5
46829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46830 if eval "test \"\${$as_ac_var+set}\" = set"; then
46831 echo $ECHO_N "(cached) $ECHO_C" >&6
46833 cat >conftest.$ac_ext <<_ACEOF
46836 cat confdefs.h >>conftest.$ac_ext
46837 cat >>conftest.$ac_ext <<_ACEOF
46838 /* end confdefs.h. */
46839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46841 #define $ac_func innocuous_$ac_func
46843 /* System header to define __stub macros and hopefully few prototypes,
46844 which can conflict with char $ac_func (); below.
46845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46846 <limits.h> exists even on freestanding compilers. */
46849 # include <limits.h>
46851 # include <assert.h>
46856 /* Override any gcc2 internal prototype to avoid an error. */
46861 /* We use char because int might match the return type of a gcc2
46862 builtin and then its argument prototype would still apply. */
46864 /* The GNU C library defines this for functions which it implements
46865 to always fail with ENOSYS. Some functions are actually named
46866 something starting with __ and the normal name is an alias. */
46867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46870 char (*f) () = $ac_func;
46879 return f != $ac_func;
46884 rm -f conftest.$ac_objext conftest$ac_exeext
46885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46886 (eval $ac_link) 2>conftest.er1
46888 grep -v '^ *+' conftest.er1 >conftest.err
46890 cat conftest.err >&5
46891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46892 (exit $ac_status); } &&
46893 { ac_try='test -z "$ac_c_werror_flag"
46894 || test ! -s conftest.err'
46895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46896 (eval $ac_try) 2>&5
46898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46899 (exit $ac_status); }; } &&
46900 { ac_try='test -s conftest$ac_exeext'
46901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46902 (eval $ac_try) 2>&5
46904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46905 (exit $ac_status); }; }; then
46906 eval "$as_ac_var=yes"
46908 echo "$as_me: failed program was:" >&5
46909 sed 's/^/| /' conftest.$ac_ext >&5
46911 eval "$as_ac_var=no"
46913 rm -f conftest.err conftest.$ac_objext \
46914 conftest$ac_exeext conftest.$ac_ext
46916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46918 if test `eval echo '${'$as_ac_var'}'` = yes; then
46919 cat >>confdefs.h <<_ACEOF
46920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46927 for ac_func in timegm
46929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46930 echo "$as_me:$LINENO: checking for $ac_func" >&5
46931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46932 if eval "test \"\${$as_ac_var+set}\" = set"; then
46933 echo $ECHO_N "(cached) $ECHO_C" >&6
46935 cat >conftest.$ac_ext <<_ACEOF
46938 cat confdefs.h >>conftest.$ac_ext
46939 cat >>conftest.$ac_ext <<_ACEOF
46940 /* end confdefs.h. */
46941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46943 #define $ac_func innocuous_$ac_func
46945 /* System header to define __stub macros and hopefully few prototypes,
46946 which can conflict with char $ac_func (); below.
46947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46948 <limits.h> exists even on freestanding compilers. */
46951 # include <limits.h>
46953 # include <assert.h>
46958 /* Override any gcc2 internal prototype to avoid an error. */
46963 /* We use char because int might match the return type of a gcc2
46964 builtin and then its argument prototype would still apply. */
46966 /* The GNU C library defines this for functions which it implements
46967 to always fail with ENOSYS. Some functions are actually named
46968 something starting with __ and the normal name is an alias. */
46969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46972 char (*f) () = $ac_func;
46981 return f != $ac_func;
46986 rm -f conftest.$ac_objext conftest$ac_exeext
46987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46988 (eval $ac_link) 2>conftest.er1
46990 grep -v '^ *+' conftest.er1 >conftest.err
46992 cat conftest.err >&5
46993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46994 (exit $ac_status); } &&
46995 { ac_try='test -z "$ac_c_werror_flag"
46996 || test ! -s conftest.err'
46997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46998 (eval $ac_try) 2>&5
47000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47001 (exit $ac_status); }; } &&
47002 { ac_try='test -s conftest$ac_exeext'
47003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47004 (eval $ac_try) 2>&5
47006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47007 (exit $ac_status); }; }; then
47008 eval "$as_ac_var=yes"
47010 echo "$as_me: failed program was:" >&5
47011 sed 's/^/| /' conftest.$ac_ext >&5
47013 eval "$as_ac_var=no"
47015 rm -f conftest.err conftest.$ac_objext \
47016 conftest$ac_exeext conftest.$ac_ext
47018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47020 if test `eval echo '${'$as_ac_var'}'` = yes; then
47021 cat >>confdefs.h <<_ACEOF
47022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47030 # Just stubs. Idiots.
47033 # Just stubs. Idiots.
47036 # Just stubs. Idiots.
47039 # Just stubs. Idiots.
47043 for ac_func in timer_create timer_settime
47045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47046 echo "$as_me:$LINENO: checking for $ac_func" >&5
47047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47048 if eval "test \"\${$as_ac_var+set}\" = set"; then
47049 echo $ECHO_N "(cached) $ECHO_C" >&6
47051 cat >conftest.$ac_ext <<_ACEOF
47054 cat confdefs.h >>conftest.$ac_ext
47055 cat >>conftest.$ac_ext <<_ACEOF
47056 /* end confdefs.h. */
47057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47059 #define $ac_func innocuous_$ac_func
47061 /* System header to define __stub macros and hopefully few prototypes,
47062 which can conflict with char $ac_func (); below.
47063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47064 <limits.h> exists even on freestanding compilers. */
47067 # include <limits.h>
47069 # include <assert.h>
47074 /* Override any gcc2 internal prototype to avoid an error. */
47079 /* We use char because int might match the return type of a gcc2
47080 builtin and then its argument prototype would still apply. */
47082 /* The GNU C library defines this for functions which it implements
47083 to always fail with ENOSYS. Some functions are actually named
47084 something starting with __ and the normal name is an alias. */
47085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47088 char (*f) () = $ac_func;
47097 return f != $ac_func;
47102 rm -f conftest.$ac_objext conftest$ac_exeext
47103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47104 (eval $ac_link) 2>conftest.er1
47106 grep -v '^ *+' conftest.er1 >conftest.err
47108 cat conftest.err >&5
47109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47110 (exit $ac_status); } &&
47111 { ac_try='test -z "$ac_c_werror_flag"
47112 || test ! -s conftest.err'
47113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47114 (eval $ac_try) 2>&5
47116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47117 (exit $ac_status); }; } &&
47118 { ac_try='test -s conftest$ac_exeext'
47119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47120 (eval $ac_try) 2>&5
47122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47123 (exit $ac_status); }; }; then
47124 eval "$as_ac_var=yes"
47126 echo "$as_me: failed program was:" >&5
47127 sed 's/^/| /' conftest.$ac_ext >&5
47129 eval "$as_ac_var=no"
47131 rm -f conftest.err conftest.$ac_objext \
47132 conftest$ac_exeext conftest.$ac_ext
47134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47136 if test `eval echo '${'$as_ac_var'}'` = yes; then
47137 cat >>confdefs.h <<_ACEOF
47138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47148 # I have no idea...
47151 for ac_func in umask
47153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47154 echo "$as_me:$LINENO: checking for $ac_func" >&5
47155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47156 if eval "test \"\${$as_ac_var+set}\" = set"; then
47157 echo $ECHO_N "(cached) $ECHO_C" >&6
47159 cat >conftest.$ac_ext <<_ACEOF
47162 cat confdefs.h >>conftest.$ac_ext
47163 cat >>conftest.$ac_ext <<_ACEOF
47164 /* end confdefs.h. */
47165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47167 #define $ac_func innocuous_$ac_func
47169 /* System header to define __stub macros and hopefully few prototypes,
47170 which can conflict with char $ac_func (); below.
47171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47172 <limits.h> exists even on freestanding compilers. */
47175 # include <limits.h>
47177 # include <assert.h>
47182 /* Override any gcc2 internal prototype to avoid an error. */
47187 /* We use char because int might match the return type of a gcc2
47188 builtin and then its argument prototype would still apply. */
47190 /* The GNU C library defines this for functions which it implements
47191 to always fail with ENOSYS. Some functions are actually named
47192 something starting with __ and the normal name is an alias. */
47193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47196 char (*f) () = $ac_func;
47205 return f != $ac_func;
47210 rm -f conftest.$ac_objext conftest$ac_exeext
47211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47212 (eval $ac_link) 2>conftest.er1
47214 grep -v '^ *+' conftest.er1 >conftest.err
47216 cat conftest.err >&5
47217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47218 (exit $ac_status); } &&
47219 { ac_try='test -z "$ac_c_werror_flag"
47220 || test ! -s conftest.err'
47221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47222 (eval $ac_try) 2>&5
47224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47225 (exit $ac_status); }; } &&
47226 { ac_try='test -s conftest$ac_exeext'
47227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47228 (eval $ac_try) 2>&5
47230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47231 (exit $ac_status); }; }; then
47232 eval "$as_ac_var=yes"
47234 echo "$as_me: failed program was:" >&5
47235 sed 's/^/| /' conftest.$ac_ext >&5
47237 eval "$as_ac_var=no"
47239 rm -f conftest.err conftest.$ac_objext \
47240 conftest$ac_exeext conftest.$ac_ext
47242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47244 if test `eval echo '${'$as_ac_var'}'` = yes; then
47245 cat >>confdefs.h <<_ACEOF
47246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47259 for ac_func in uname updwtmp updwtmpx vsnprintf vsprintf
47261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47262 echo "$as_me:$LINENO: checking for $ac_func" >&5
47263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47264 if eval "test \"\${$as_ac_var+set}\" = set"; then
47265 echo $ECHO_N "(cached) $ECHO_C" >&6
47267 cat >conftest.$ac_ext <<_ACEOF
47270 cat confdefs.h >>conftest.$ac_ext
47271 cat >>conftest.$ac_ext <<_ACEOF
47272 /* end confdefs.h. */
47273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47275 #define $ac_func innocuous_$ac_func
47277 /* System header to define __stub macros and hopefully few prototypes,
47278 which can conflict with char $ac_func (); below.
47279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47280 <limits.h> exists even on freestanding compilers. */
47283 # include <limits.h>
47285 # include <assert.h>
47290 /* Override any gcc2 internal prototype to avoid an error. */
47295 /* We use char because int might match the return type of a gcc2
47296 builtin and then its argument prototype would still apply. */
47298 /* The GNU C library defines this for functions which it implements
47299 to always fail with ENOSYS. Some functions are actually named
47300 something starting with __ and the normal name is an alias. */
47301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47304 char (*f) () = $ac_func;
47313 return f != $ac_func;
47318 rm -f conftest.$ac_objext conftest$ac_exeext
47319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47320 (eval $ac_link) 2>conftest.er1
47322 grep -v '^ *+' conftest.er1 >conftest.err
47324 cat conftest.err >&5
47325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47326 (exit $ac_status); } &&
47327 { ac_try='test -z "$ac_c_werror_flag"
47328 || test ! -s conftest.err'
47329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47330 (eval $ac_try) 2>&5
47332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47333 (exit $ac_status); }; } &&
47334 { ac_try='test -s conftest$ac_exeext'
47335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47336 (eval $ac_try) 2>&5
47338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47339 (exit $ac_status); }; }; then
47340 eval "$as_ac_var=yes"
47342 echo "$as_me: failed program was:" >&5
47343 sed 's/^/| /' conftest.$ac_ext >&5
47345 eval "$as_ac_var=no"
47347 rm -f conftest.err conftest.$ac_objext \
47348 conftest$ac_exeext conftest.$ac_ext
47350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47352 if test `eval echo '${'$as_ac_var'}'` = yes; then
47353 cat >>confdefs.h <<_ACEOF
47354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47363 # http://bugs.ntp.isc.org/737
47364 case "$ac_cv_func_recvmsg" in
47366 echo "$as_me:$LINENO: checking if we need extra help to define struct iovec" >&5
47367 echo $ECHO_N "checking if we need extra help to define struct iovec... $ECHO_C" >&6
47368 if test "${ac_cv_struct_iovec_help+set}" = set; then
47369 echo $ECHO_N "(cached) $ECHO_C" >&6
47371 for ac_cv_struct_iovec_help in '0' '1'; do
47372 cat >conftest.$ac_ext <<_ACEOF
47375 cat confdefs.h >>conftest.$ac_ext
47376 cat >>conftest.$ac_ext <<_ACEOF
47377 /* end confdefs.h. */
47378 #ifdef HAVE_SYS_TYPES_H
47379 #include <sys/types.h>
47381 #ifdef HAVE_SYS_SOCKET_H
47382 #include <sys/socket.h>
47384 #if $ac_cv_struct_iovec_help
47385 #include <sys/uio.h>
47397 x = recvmsg(s, &mh, flags);
47407 rm -f conftest.$ac_objext
47408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47409 (eval $ac_compile) 2>conftest.er1
47411 grep -v '^ *+' conftest.er1 >conftest.err
47413 cat conftest.err >&5
47414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47415 (exit $ac_status); } &&
47416 { ac_try='test -z "$ac_c_werror_flag"
47417 || test ! -s conftest.err'
47418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47419 (eval $ac_try) 2>&5
47421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47422 (exit $ac_status); }; } &&
47423 { ac_try='test -s conftest.$ac_objext'
47424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47425 (eval $ac_try) 2>&5
47427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47428 (exit $ac_status); }; }; then
47429 ac_worked=yes ; break 1
47431 echo "$as_me: failed program was:" >&5
47432 sed 's/^/| /' conftest.$ac_ext >&5
47436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47440 case "$ac_worked$ac_cv_struct_iovec_help" in
47443 cat >>confdefs.h <<\_ACEOF
47444 #define HAVE_SYS_UIO_H 1
47451 echo "$as_me:$LINENO: result: $ans" >&5
47452 echo "${ECHO_T}$ans" >&6
47459 cat >>confdefs.h <<\_ACEOF
47460 #define SPRINTF_CHAR 1
47466 echo "$as_me:$LINENO: checking number of arguments to gettimeofday()" >&5
47467 echo $ECHO_N "checking number of arguments to gettimeofday()... $ECHO_C" >&6
47468 if test "${ac_cv_func_Xettimeofday_nargs+set}" = set; then
47469 echo $ECHO_N "(cached) $ECHO_C" >&6
47471 cat >conftest.$ac_ext <<_ACEOF
47474 cat confdefs.h >>conftest.$ac_ext
47475 cat >>conftest.$ac_ext <<_ACEOF
47476 /* end confdefs.h. */
47477 #include <sys/time.h>
47482 gettimeofday((struct timeval*)0,(struct timezone*)0);
47483 settimeofday((struct timeval*)0,(struct timezone*)0);
47489 rm -f conftest.$ac_objext
47490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47491 (eval $ac_compile) 2>conftest.er1
47493 grep -v '^ *+' conftest.er1 >conftest.err
47495 cat conftest.err >&5
47496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47497 (exit $ac_status); } &&
47498 { ac_try='test -z "$ac_c_werror_flag"
47499 || test ! -s conftest.err'
47500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47501 (eval $ac_try) 2>&5
47503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47504 (exit $ac_status); }; } &&
47505 { ac_try='test -s conftest.$ac_objext'
47506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47507 (eval $ac_try) 2>&5
47509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47510 (exit $ac_status); }; }; then
47511 ac_cv_func_Xettimeofday_nargs=2
47513 echo "$as_me: failed program was:" >&5
47514 sed 's/^/| /' conftest.$ac_ext >&5
47516 ac_cv_func_Xettimeofday_nargs=1
47518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47521 echo "$as_me:$LINENO: result: $ac_cv_func_Xettimeofday_nargs" >&5
47522 echo "${ECHO_T}$ac_cv_func_Xettimeofday_nargs" >&6
47523 if test $ac_cv_func_Xettimeofday_nargs = 1; then
47525 cat >>confdefs.h <<\_ACEOF
47526 #define SYSV_TIMEOFDAY 1
47531 echo "$as_me:$LINENO: checking number of arguments taken by setpgrp()" >&5
47532 echo $ECHO_N "checking number of arguments taken by setpgrp()... $ECHO_C" >&6
47533 if test "${ac_cv_func_setpgrp_nargs+set}" = set; then
47534 echo $ECHO_N "(cached) $ECHO_C" >&6
47536 cat >conftest.$ac_ext <<_ACEOF
47539 cat confdefs.h >>conftest.$ac_ext
47540 cat >>conftest.$ac_ext <<_ACEOF
47541 /* end confdefs.h. */
47543 #ifdef HAVE_SYS_TYPES_H
47544 # include <sys/types.h>
47546 #ifdef HAVE_UNISTD_H
47547 # include <unistd.h>
47558 rm -f conftest.$ac_objext
47559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47560 (eval $ac_compile) 2>conftest.er1
47562 grep -v '^ *+' conftest.er1 >conftest.err
47564 cat conftest.err >&5
47565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47566 (exit $ac_status); } &&
47567 { ac_try='test -z "$ac_c_werror_flag"
47568 || test ! -s conftest.err'
47569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47570 (eval $ac_try) 2>&5
47572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47573 (exit $ac_status); }; } &&
47574 { ac_try='test -s conftest.$ac_objext'
47575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47576 (eval $ac_try) 2>&5
47578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47579 (exit $ac_status); }; }; then
47580 ac_cv_func_setpgrp_nargs=2
47582 echo "$as_me: failed program was:" >&5
47583 sed 's/^/| /' conftest.$ac_ext >&5
47585 ac_cv_func_setpgrp_nargs=0
47587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47590 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_nargs" >&5
47591 echo "${ECHO_T}$ac_cv_func_setpgrp_nargs" >&6
47592 if test $ac_cv_func_setpgrp_nargs = 0; then
47594 cat >>confdefs.h <<\_ACEOF
47595 #define HAVE_SETPGRP_0 1
47600 save_CFLAGS=$CFLAGS
47601 CFLAGS="$CFLAGS -I$srcdir/include"
47603 echo "$as_me:$LINENO: checking argument pointer type of qsort()'s compare function and base" >&5
47604 echo $ECHO_N "checking argument pointer type of qsort()'s compare function and base... $ECHO_C" >&6
47605 if test "${ac_cv_func_qsort_argtype+set}" = set; then
47606 echo $ECHO_N "(cached) $ECHO_C" >&6
47608 cat >conftest.$ac_ext <<_ACEOF
47611 cat confdefs.h >>conftest.$ac_ext
47612 cat >>conftest.$ac_ext <<_ACEOF
47613 /* end confdefs.h. */
47615 #include "l_stdlib.h"
47617 #ifdef HAVE_PROTOTYPES
47624 extern sortfunc P((const void *, const void *));
47627 const void *b; { return 0; }
47633 qsort(base, 2, sizeof(char *), sortfunc);
47639 rm -f conftest.$ac_objext
47640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47641 (eval $ac_compile) 2>conftest.er1
47643 grep -v '^ *+' conftest.er1 >conftest.err
47645 cat conftest.err >&5
47646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47647 (exit $ac_status); } &&
47648 { ac_try='test -z "$ac_c_werror_flag"
47649 || test ! -s conftest.err'
47650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47651 (eval $ac_try) 2>&5
47653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47654 (exit $ac_status); }; } &&
47655 { ac_try='test -s conftest.$ac_objext'
47656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47657 (eval $ac_try) 2>&5
47659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47660 (exit $ac_status); }; }; then
47661 ac_cv_func_qsort_argtype=void
47663 echo "$as_me: failed program was:" >&5
47664 sed 's/^/| /' conftest.$ac_ext >&5
47666 ac_cv_func_qsort_argtype=char
47668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47671 echo "$as_me:$LINENO: result: $ac_cv_func_qsort_argtype" >&5
47672 echo "${ECHO_T}$ac_cv_func_qsort_argtype" >&6
47673 case "$ac_cv_func_qsort_argtype" in
47676 cat >>confdefs.h <<\_ACEOF
47677 #define QSORT_USES_VOID_P 1
47683 CFLAGS=$save_CFLAGS
47685 echo "$as_me:$LINENO: checking if we need to declare 'errno'" >&5
47686 echo $ECHO_N "checking if we need to declare 'errno'... $ECHO_C" >&6
47687 if test "${ac_cv_decl_errno+set}" = set; then
47688 echo $ECHO_N "(cached) $ECHO_C" >&6
47690 cat >conftest.$ac_ext <<_ACEOF
47693 cat confdefs.h >>conftest.$ac_ext
47694 cat >>conftest.$ac_ext <<_ACEOF
47695 /* end confdefs.h. */
47696 #ifdef HAVE_ERRNO_H
47707 rm -f conftest.$ac_objext
47708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47709 (eval $ac_compile) 2>conftest.er1
47711 grep -v '^ *+' conftest.er1 >conftest.err
47713 cat conftest.err >&5
47714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47715 (exit $ac_status); } &&
47716 { ac_try='test -z "$ac_c_werror_flag"
47717 || test ! -s conftest.err'
47718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47719 (eval $ac_try) 2>&5
47721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47722 (exit $ac_status); }; } &&
47723 { ac_try='test -s conftest.$ac_objext'
47724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47725 (eval $ac_try) 2>&5
47727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47728 (exit $ac_status); }; }; then
47729 ac_cv_decl_errno=no
47731 echo "$as_me: failed program was:" >&5
47732 sed 's/^/| /' conftest.$ac_ext >&5
47734 ac_cv_decl_errno=yes
47736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47738 echo "$as_me:$LINENO: result: $ac_cv_decl_errno" >&5
47739 echo "${ECHO_T}$ac_cv_decl_errno" >&6
47740 case "$ac_cv_decl_errno" in
47742 cat >>confdefs.h <<\_ACEOF
47743 #define DECL_ERRNO 1
47748 echo "$as_me:$LINENO: checking if we may declare 'h_errno'" >&5
47749 echo $ECHO_N "checking if we may declare 'h_errno'... $ECHO_C" >&6
47750 if test "${ac_cv_decl_h_errno+set}" = set; then
47751 echo $ECHO_N "(cached) $ECHO_C" >&6
47753 cat >conftest.$ac_ext <<_ACEOF
47756 cat confdefs.h >>conftest.$ac_ext
47757 cat >>conftest.$ac_ext <<_ACEOF
47758 /* end confdefs.h. */
47759 #include <sys/types.h>
47760 #ifdef HAVE_NETINET_IN_H
47761 #include <netinet/in.h>
47763 #ifdef HAVE_ARPA_NAMESER_H
47764 #include <arpa/nameser.h>
47766 #ifdef HAVE_NETDB_H
47769 #ifdef HAVE_RESOLV_H
47770 #include <resolv.h>
47775 extern int h_errno;
47780 rm -f conftest.$ac_objext
47781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47782 (eval $ac_compile) 2>conftest.er1
47784 grep -v '^ *+' conftest.er1 >conftest.err
47786 cat conftest.err >&5
47787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47788 (exit $ac_status); } &&
47789 { ac_try='test -z "$ac_c_werror_flag"
47790 || test ! -s conftest.err'
47791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47792 (eval $ac_try) 2>&5
47794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47795 (exit $ac_status); }; } &&
47796 { ac_try='test -s conftest.$ac_objext'
47797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47798 (eval $ac_try) 2>&5
47800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47801 (exit $ac_status); }; }; then
47802 ac_cv_decl_h_errno=yes
47804 echo "$as_me: failed program was:" >&5
47805 sed 's/^/| /' conftest.$ac_ext >&5
47807 ac_cv_decl_h_errno=no
47809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47811 echo "$as_me:$LINENO: result: $ac_cv_decl_h_errno" >&5
47812 echo "${ECHO_T}$ac_cv_decl_h_errno" >&6
47813 case "$ac_cv_decl_h_errno" in
47815 cat >>confdefs.h <<\_ACEOF
47816 #define DECL_H_ERRNO 1
47821 echo "$as_me:$LINENO: checking if declaring 'char *sys_errlist[]' is ok" >&5
47822 echo $ECHO_N "checking if declaring 'char *sys_errlist[]' is ok... $ECHO_C" >&6
47823 if test "${ac_cv_decl_sys_errlist+set}" = set; then
47824 echo $ECHO_N "(cached) $ECHO_C" >&6
47826 cat >conftest.$ac_ext <<_ACEOF
47829 cat confdefs.h >>conftest.$ac_ext
47830 cat >>conftest.$ac_ext <<_ACEOF
47831 /* end confdefs.h. */
47833 #ifdef HAVE_ERRNO_H
47839 extern char *sys_errlist[];
47845 rm -f conftest.$ac_objext
47846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47847 (eval $ac_compile) 2>conftest.er1
47849 grep -v '^ *+' conftest.er1 >conftest.err
47851 cat conftest.err >&5
47852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47853 (exit $ac_status); } &&
47854 { ac_try='test -z "$ac_c_werror_flag"
47855 || test ! -s conftest.err'
47856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47857 (eval $ac_try) 2>&5
47859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47860 (exit $ac_status); }; } &&
47861 { ac_try='test -s conftest.$ac_objext'
47862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47863 (eval $ac_try) 2>&5
47865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47866 (exit $ac_status); }; }; then
47867 ac_cv_decl_sys_errlist=yes
47869 echo "$as_me: failed program was:" >&5
47870 sed 's/^/| /' conftest.$ac_ext >&5
47872 ac_cv_decl_sys_errlist=no
47874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47876 echo "$as_me:$LINENO: result: $ac_cv_decl_sys_errlist" >&5
47877 echo "${ECHO_T}$ac_cv_decl_sys_errlist" >&6
47878 case "$ac_cv_decl_sys_errlist" in
47880 cat >>confdefs.h <<\_ACEOF
47881 #define CHAR_SYS_ERRLIST 1
47886 echo "$as_me:$LINENO: checking if declaring 'syscall()' is ok" >&5
47887 echo $ECHO_N "checking if declaring 'syscall()' is ok... $ECHO_C" >&6
47888 if test "${ac_cv_decl_syscall+set}" = set; then
47889 echo $ECHO_N "(cached) $ECHO_C" >&6
47891 cat >conftest.$ac_ext <<_ACEOF
47894 cat confdefs.h >>conftest.$ac_ext
47895 cat >>conftest.$ac_ext <<_ACEOF
47896 /* end confdefs.h. */
47898 #ifdef HAVE_SYS_TYPES_H
47899 # include <sys/types.h>
47901 #ifdef HAVE_UNISTD_H
47902 # include <unistd.h>
47904 #ifdef HAVE_PROTOTYPES
47913 extern int syscall P((int, ...));
47918 rm -f conftest.$ac_objext
47919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47920 (eval $ac_compile) 2>conftest.er1
47922 grep -v '^ *+' conftest.er1 >conftest.err
47924 cat conftest.err >&5
47925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47926 (exit $ac_status); } &&
47927 { ac_try='test -z "$ac_c_werror_flag"
47928 || test ! -s conftest.err'
47929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47930 (eval $ac_try) 2>&5
47932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47933 (exit $ac_status); }; } &&
47934 { ac_try='test -s conftest.$ac_objext'
47935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47936 (eval $ac_try) 2>&5
47938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47939 (exit $ac_status); }; }; then
47940 ac_cv_decl_syscall=yes
47942 echo "$as_me: failed program was:" >&5
47943 sed 's/^/| /' conftest.$ac_ext >&5
47945 ac_cv_decl_syscall=no
47947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47949 echo "$as_me:$LINENO: result: $ac_cv_decl_syscall" >&5
47950 echo "${ECHO_T}$ac_cv_decl_syscall" >&6
47951 case "$ac_cv_decl_syscall" in
47953 cat >>confdefs.h <<\_ACEOF
47954 #define DECL_SYSCALL 1
47962 cat >>confdefs.h <<\_ACEOF
47963 #define DECL_HSTRERROR_0 1
47965 # Needed for XLC under AIX 4.3.2
47969 cat >>confdefs.h <<\_ACEOF
47970 #define DECL_ADJTIME_0 1
47974 cat >>confdefs.h <<\_ACEOF
47975 #define DECL_INET_NTOA_0 1
47979 cat >>confdefs.h <<\_ACEOF
47980 #define DECL_MKTEMP_0 1
47984 cat >>confdefs.h <<\_ACEOF
47985 #define DECL_SELECT_0 1
47989 cat >>confdefs.h <<\_ACEOF
47990 #define DECL_SETITIMER_0 1
47994 cat >>confdefs.h <<\_ACEOF
47995 #define DECL_SYSLOG_0 1
47999 cat >>confdefs.h <<\_ACEOF
48000 #define DECL_TIMEOFDAY_0 1
48006 cat >>confdefs.h <<\_ACEOF
48007 #define DECL_PLOCK_0 1
48011 cat >>confdefs.h <<\_ACEOF
48012 #define DECL_STIME_1 1
48018 cat >>confdefs.h <<\_ACEOF
48019 #define DECL_ADJTIME_0 1
48025 cat >>confdefs.h <<\_ACEOF
48026 #define DECL_ADJTIME_0 1
48030 cat >>confdefs.h <<\_ACEOF
48031 #define DECL_BZERO_0 1
48035 cat >>confdefs.h <<\_ACEOF
48036 #define DECL_IOCTL_0 1
48040 cat >>confdefs.h <<\_ACEOF
48041 #define DECL_IPC_0 1
48045 cat >>confdefs.h <<\_ACEOF
48046 #define DECL_MEMMOVE_0 1
48050 cat >>confdefs.h <<\_ACEOF
48051 #define DECL_MKTEMP_0 1
48055 cat >>confdefs.h <<\_ACEOF
48056 #define DECL_RENAME_0 1
48060 cat >>confdefs.h <<\_ACEOF
48061 #define DECL_SELECT_0 1
48065 cat >>confdefs.h <<\_ACEOF
48066 #define DECL_SETITIMER_0 1
48070 cat >>confdefs.h <<\_ACEOF
48071 #define DECL_SETPRIORITY_0 1
48075 cat >>confdefs.h <<\_ACEOF
48076 #define DECL_STDIO_0 1
48080 cat >>confdefs.h <<\_ACEOF
48081 #define DECL_STRTOL_0 1
48085 cat >>confdefs.h <<\_ACEOF
48086 #define DECL_SYSLOG_0 1
48090 cat >>confdefs.h <<\_ACEOF
48091 #define DECL_TIME_0 1
48095 cat >>confdefs.h <<\_ACEOF
48096 #define DECL_TIMEOFDAY_0 1
48100 cat >>confdefs.h <<\_ACEOF
48101 #define DECL_TOLOWER_0 1
48107 cat >>confdefs.h <<\_ACEOF
48108 #define DECL_MKSTEMP_0 1
48112 cat >>confdefs.h <<\_ACEOF
48113 #define DECL_SETPRIORITY_1 1
48119 cat >>confdefs.h <<\_ACEOF
48120 #define DECL_TIMEOFDAY_0 1
48128 cat >>confdefs.h <<\_ACEOF
48129 #define DECL_ADJTIME_0 1
48133 cat >>confdefs.h <<\_ACEOF
48134 #define DECL_BCOPY_0 1
48138 cat >>confdefs.h <<\_ACEOF
48139 #define DECL_BZERO_0 1
48143 cat >>confdefs.h <<\_ACEOF
48144 #define DECL_IOCTL_0 1
48148 cat >>confdefs.h <<\_ACEOF
48149 #define DECL_IPC_0 1
48153 cat >>confdefs.h <<\_ACEOF
48154 #define DECL_MEMMOVE_0 1
48158 cat >>confdefs.h <<\_ACEOF
48159 #define DECL_MKTEMP_0 1
48163 cat >>confdefs.h <<\_ACEOF
48164 #define DECL_MKSTEMP_0 1
48168 cat >>confdefs.h <<\_ACEOF
48169 #define DECL_RENAME_0 1
48173 cat >>confdefs.h <<\_ACEOF
48174 #define DECL_SELECT_0 1
48178 cat >>confdefs.h <<\_ACEOF
48179 #define DECL_SETITIMER_0 1
48183 cat >>confdefs.h <<\_ACEOF
48184 #define DECL_SETPRIORITY_0 1
48188 cat >>confdefs.h <<\_ACEOF
48189 #define DECL_SIGVEC_0 1
48192 case "`basename $ac_cv_prog_CC`" in
48195 cat >>confdefs.h <<\_ACEOF
48196 #define DECL_STDIO_0 1
48202 cat >>confdefs.h <<\_ACEOF
48203 #define DECL_STRTOL_0 1
48207 cat >>confdefs.h <<\_ACEOF
48208 #define DECL_SYSLOG_0 1
48212 cat >>confdefs.h <<\_ACEOF
48213 #define DECL_TIME_0 1
48217 cat >>confdefs.h <<\_ACEOF
48218 #define DECL_TIMEOFDAY_0 1
48222 cat >>confdefs.h <<\_ACEOF
48223 #define DECL_TOLOWER_0 1
48227 cat >>confdefs.h <<\_ACEOF
48228 #define DECL_TOUPPER_0 1
48232 cat >>confdefs.h <<\_ACEOF
48233 #define DECL_STRERROR_0 1
48239 cat >>confdefs.h <<\_ACEOF
48240 #define DECL_ADJTIME_0 1
48244 cat >>confdefs.h <<\_ACEOF
48245 #define DECL_BZERO_0 1
48249 cat >>confdefs.h <<\_ACEOF
48250 #define DECL_CFSETISPEED_0 1
48254 cat >>confdefs.h <<\_ACEOF
48255 #define DECL_IOCTL_0 1
48259 cat >>confdefs.h <<\_ACEOF
48260 #define DECL_IPC_0 1
48264 cat >>confdefs.h <<\_ACEOF
48265 #define DECL_MKTEMP_0 1
48269 cat >>confdefs.h <<\_ACEOF
48270 #define DECL_NLIST_0 1
48274 cat >>confdefs.h <<\_ACEOF
48275 #define DECL_PLOCK_0 1
48279 cat >>confdefs.h <<\_ACEOF
48280 #define DECL_SELECT_0 1
48284 cat >>confdefs.h <<\_ACEOF
48285 #define DECL_SETITIMER_0 1
48289 cat >>confdefs.h <<\_ACEOF
48290 #define DECL_SETPRIORITY_0 1
48294 cat >>confdefs.h <<\_ACEOF
48295 #define DECL_STIME_0 1
48299 cat >>confdefs.h <<\_ACEOF
48300 #define DECL_SYSLOG_0 1
48304 cat >>confdefs.h <<\_ACEOF
48305 #define DECL_TIMEOFDAY_0 1
48314 cat >>confdefs.h <<\_ACEOF
48315 #define TERMIOS_NEEDS__SVID3 1
48321 echo "$as_me:$LINENO: checking if we need extra room for SO_RCVBUF" >&5
48322 echo $ECHO_N "checking if we need extra room for SO_RCVBUF... $ECHO_C" >&6
48323 if test "${ac_cv_var_rcvbuf_slop+set}" = set; then
48324 echo $ECHO_N "(cached) $ECHO_C" >&6
48332 ac_cv_var_rcvbuf_slop=$ans
48334 echo "$as_me:$LINENO: result: $ac_cv_var_rcvbuf_slop" >&5
48335 echo "${ECHO_T}$ac_cv_var_rcvbuf_slop" >&6
48336 case "$ac_cv_var_rcvbuf_slop" in
48338 cat >>confdefs.h <<\_ACEOF
48339 #define NEED_RCVBUF_SLOP 1
48344 echo "$as_me:$LINENO: checking if we will open the broadcast socket" >&5
48345 echo $ECHO_N "checking if we will open the broadcast socket... $ECHO_C" >&6
48346 if test "${ac_cv_var_open_bcast_socket+set}" = set; then
48347 echo $ECHO_N "(cached) $ECHO_C" >&6
48355 ac_cv_var_open_bcast_socket=$ans
48357 echo "$as_me:$LINENO: result: $ac_cv_var_open_bcast_socket" >&5
48358 echo "${ECHO_T}$ac_cv_var_open_bcast_socket" >&6
48359 case "$ac_cv_var_open_bcast_socket" in
48361 cat >>confdefs.h <<\_ACEOF
48362 #define OPEN_BCAST_SOCKET 1
48367 echo "$as_me:$LINENO: checking if we want the HPUX version of FindConfig()" >&5
48368 echo $ECHO_N "checking if we want the HPUX version of FindConfig()... $ECHO_C" >&6
48369 if test "${ac_cv_var_hpux_findconfig+set}" = set; then
48370 echo $ECHO_N "(cached) $ECHO_C" >&6
48378 ac_cv_var_hpux_findconfig=$ans
48380 echo "$as_me:$LINENO: result: $ac_cv_var_hpux_findconfig" >&5
48381 echo "${ECHO_T}$ac_cv_var_hpux_findconfig" >&6
48382 case "$ac_cv_var_hpux_findconfig" in
48384 cat >>confdefs.h <<\_ACEOF
48385 #define NEED_HPUX_FINDCONFIG 1
48390 echo "$as_me:$LINENO: checking if process groups are set with -pid" >&5
48391 echo $ECHO_N "checking if process groups are set with -pid... $ECHO_C" >&6
48392 if test "${ac_cv_arg_setpgrp_negpid+set}" = set; then
48393 echo $ECHO_N "(cached) $ECHO_C" >&6
48415 ac_cv_arg_setpgrp_negpid=$ans
48417 echo "$as_me:$LINENO: result: $ac_cv_arg_setpgrp_negpid" >&5
48418 echo "${ECHO_T}$ac_cv_arg_setpgrp_negpid" >&6
48419 case "$ac_cv_arg_setpgrp_negpid" in
48421 cat >>confdefs.h <<\_ACEOF
48422 #define UDP_BACKWARDS_SETOWN 1
48427 echo "$as_me:$LINENO: checking if we need a ctty for F_SETOWN" >&5
48428 echo $ECHO_N "checking if we need a ctty for F_SETOWN... $ECHO_C" >&6
48429 if test "${ac_cv_func_ctty_for_f_setown+set}" = set; then
48430 echo $ECHO_N "(cached) $ECHO_C" >&6
48439 *-*-netbsd*3.[0-8]*|*-*-netbsd*[0-2].*|*-*-netbsd*3.99.[0-7])
48451 ac_cv_func_ctty_for_f_setown=$ans
48453 echo "$as_me:$LINENO: result: $ac_cv_func_ctty_for_f_setown" >&5
48454 echo "${ECHO_T}$ac_cv_func_ctty_for_f_setown" >&6
48455 case "$ac_cv_func_ctty_for_f_setown" in
48457 cat >>confdefs.h <<\_ACEOF
48458 #define USE_FSETOWNCTTY 1
48463 echo "$as_me:$LINENO: checking if the OS misses to clear cached routes when more specific routes become available" >&5
48464 echo $ECHO_N "checking if the OS misses to clear cached routes when more specific routes become available... $ECHO_C" >&6
48465 if test "${ac_cv_os_routeupdates+set}" = set; then
48466 echo $ECHO_N "(cached) $ECHO_C" >&6
48475 ac_cv_os_routeupdates=$ans
48477 echo "$as_me:$LINENO: result: $ac_cv_os_routeupdates" >&5
48478 echo "${ECHO_T}$ac_cv_os_routeupdates" >&6
48479 case "$ac_cv_os_routeupdates" in
48481 cat >>confdefs.h <<\_ACEOF
48482 #define OS_MISSES_SPECIFIC_ROUTE_UPDATES 1
48487 echo "$as_me:$LINENO: checking if the OS needs the wildcard socket set to REUSEADDR for binding interface addresses" >&5
48488 echo $ECHO_N "checking if the OS needs the wildcard socket set to REUSEADDR for binding interface addresses... $ECHO_C" >&6
48489 if test "${ac_cv_os_wildcardreuse+set}" = set; then
48490 echo $ECHO_N "(cached) $ECHO_C" >&6
48499 ac_cv_os_wildcardreuse=$ans
48501 echo "$as_me:$LINENO: result: $ac_cv_os_wildcardreuse" >&5
48502 echo "${ECHO_T}$ac_cv_os_wildcardreuse" >&6
48503 case "$ac_cv_os_wildcardreuse" in
48505 cat >>confdefs.h <<\_ACEOF
48506 #define OS_NEEDS_REUSEADDR_FOR_IFADDRBIND 1
48511 ntp_warning='GRONK'
48512 echo "$as_me:$LINENO: checking if we'll use clock_settime or settimeofday or stime" >&5
48513 echo $ECHO_N "checking if we'll use clock_settime or settimeofday or stime... $ECHO_C" >&6
48514 case "$ac_cv_func_clock_settime$ac_cv_func_settimeofday$ac_cv_func_stime" in
48517 ans='clock_settime()'
48520 ntp_warning='But clock_settime() would be better (if we had it)'
48521 ans='settimeofday()'
48524 ntp_warning='Which is the worst of the three'
48529 $host) ntp_warning='Which leaves us with nothing to use!'
48534 echo "$as_me:$LINENO: result: $ans" >&5
48535 echo "${ECHO_T}$ans" >&6
48536 case "$ntp_warning" in
48538 *) { echo "$as_me:$LINENO: WARNING: *** $ntp_warning ***" >&5
48539 echo "$as_me: WARNING: *** $ntp_warning ***" >&2;}
48543 echo "$as_me:$LINENO: checking if we have a losing syscall()" >&5
48544 echo $ECHO_N "checking if we have a losing syscall()... $ECHO_C" >&6
48545 if test "${ac_cv_var_syscall_bug+set}" = set; then
48546 echo $ECHO_N "(cached) $ECHO_C" >&6
48555 ac_cv_var_syscall_bug=$ans
48557 echo "$as_me:$LINENO: result: $ac_cv_var_syscall_bug" >&5
48558 echo "${ECHO_T}$ac_cv_var_syscall_bug" >&6
48559 case "$ac_cv_var_syscall_bug" in
48561 cat >>confdefs.h <<\_ACEOF
48562 #define SYSCALL_BUG 1
48567 echo "$as_me:$LINENO: checking for SIGIO" >&5
48568 echo $ECHO_N "checking for SIGIO... $ECHO_C" >&6
48569 if test "${ac_cv_hdr_def_sigio+set}" = set; then
48570 echo $ECHO_N "(cached) $ECHO_C" >&6
48572 cat >conftest.$ac_ext <<_ACEOF
48575 cat confdefs.h >>conftest.$ac_ext
48576 cat >>conftest.$ac_ext <<_ACEOF
48577 /* end confdefs.h. */
48578 #include <signal.h>
48584 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
48585 $EGREP "yes" >/dev/null 2>&1; then
48586 ac_cv_hdr_def_sigio=yes
48588 ac_cv_hdr_def_sigio=no
48593 echo "$as_me:$LINENO: result: $ac_cv_hdr_def_sigio" >&5
48594 echo "${ECHO_T}$ac_cv_hdr_def_sigio" >&6
48596 echo "$as_me:$LINENO: checking if we want to use signalled IO" >&5
48597 echo $ECHO_N "checking if we want to use signalled IO... $ECHO_C" >&6
48598 if test "${ac_cv_var_signalled_io+set}" = set; then
48599 echo $ECHO_N "(cached) $ECHO_C" >&6
48602 case "$ac_cv_hdr_def_sigio" in
48606 alpha*-dec-osf4*|alpha*-dec-osf5*)
48639 ac_cv_var_signalled_io=$ans
48641 echo "$as_me:$LINENO: result: $ac_cv_var_signalled_io" >&5
48642 echo "${ECHO_T}$ac_cv_var_signalled_io" >&6
48643 case "$ac_cv_var_signalled_io" in
48645 cat >>confdefs.h <<\_ACEOF
48646 #define HAVE_SIGNALED_IO 1
48651 echo "$as_me:$LINENO: checking for SIGPOLL" >&5
48652 echo $ECHO_N "checking for SIGPOLL... $ECHO_C" >&6
48653 if test "${ac_cv_hdr_def_sigpoll+set}" = set; then
48654 echo $ECHO_N "(cached) $ECHO_C" >&6
48656 cat >conftest.$ac_ext <<_ACEOF
48659 cat confdefs.h >>conftest.$ac_ext
48660 cat >>conftest.$ac_ext <<_ACEOF
48661 /* end confdefs.h. */
48662 #include <signal.h>
48668 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
48669 $EGREP "yes" >/dev/null 2>&1; then
48670 ac_cv_hdr_def_sigpoll=yes
48672 ac_cv_hdr_def_sigpoll=no
48677 echo "$as_me:$LINENO: result: $ac_cv_hdr_def_sigpoll" >&5
48678 echo "${ECHO_T}$ac_cv_hdr_def_sigpoll" >&6
48680 echo "$as_me:$LINENO: checking for SIGSYS" >&5
48681 echo $ECHO_N "checking for SIGSYS... $ECHO_C" >&6
48682 if test "${ac_cv_hdr_def_sigsys+set}" = set; then
48683 echo $ECHO_N "(cached) $ECHO_C" >&6
48685 cat >conftest.$ac_ext <<_ACEOF
48688 cat confdefs.h >>conftest.$ac_ext
48689 cat >>conftest.$ac_ext <<_ACEOF
48690 /* end confdefs.h. */
48691 #include <signal.h>
48697 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
48698 $EGREP "yes" >/dev/null 2>&1; then
48699 ac_cv_hdr_def_sigsys=yes
48701 ac_cv_hdr_def_sigsys=no
48706 echo "$as_me:$LINENO: result: $ac_cv_hdr_def_sigsys" >&5
48707 echo "${ECHO_T}$ac_cv_hdr_def_sigsys" >&6
48709 echo "$as_me:$LINENO: checking if we can use SIGPOLL for UDP I/O" >&5
48710 echo $ECHO_N "checking if we can use SIGPOLL for UDP I/O... $ECHO_C" >&6
48711 if test "${ac_cv_var_use_udp_sigpoll+set}" = set; then
48712 echo $ECHO_N "(cached) $ECHO_C" >&6
48715 case "$ac_cv_hdr_def_sigpoll" in
48759 ac_cv_var_use_udp_sigpoll=$ans
48761 echo "$as_me:$LINENO: result: $ac_cv_var_use_udp_sigpoll" >&5
48762 echo "${ECHO_T}$ac_cv_var_use_udp_sigpoll" >&6
48763 case "$ac_cv_var_use_udp_sigpoll" in
48765 cat >>confdefs.h <<\_ACEOF
48766 #define USE_UDP_SIGPOLL 1
48771 echo "$as_me:$LINENO: checking if we can use SIGPOLL for TTY I/O" >&5
48772 echo $ECHO_N "checking if we can use SIGPOLL for TTY I/O... $ECHO_C" >&6
48773 if test "${ac_cv_var_use_tty_sigpoll+set}" = set; then
48774 echo $ECHO_N "(cached) $ECHO_C" >&6
48777 case "$ac_cv_hdr_def_sigpoll" in
48821 ac_cv_var_use_tty_sigpoll=$ans
48823 echo "$as_me:$LINENO: result: $ac_cv_var_use_tty_sigpoll" >&5
48824 echo "${ECHO_T}$ac_cv_var_use_tty_sigpoll" >&6
48825 case "$ac_cv_var_use_tty_sigpoll" in
48827 cat >>confdefs.h <<\_ACEOF
48828 #define USE_TTY_SIGPOLL 1
48833 case "$ac_cv_header_sys_sio_h" in
48835 echo "$as_me:$LINENO: checking sys/sio.h for TIOCDCDTIMESTAMP" >&5
48836 echo $ECHO_N "checking sys/sio.h for TIOCDCDTIMESTAMP... $ECHO_C" >&6
48837 if test "${ac_cv_hdr_def_tiocdcdtimestamp+set}" = set; then
48838 echo $ECHO_N "(cached) $ECHO_C" >&6
48840 cat >conftest.$ac_ext <<_ACEOF
48843 cat confdefs.h >>conftest.$ac_ext
48844 cat >>conftest.$ac_ext <<_ACEOF
48845 /* end confdefs.h. */
48846 #include <sys/sio.h>
48847 #ifdef TIOCDCDTIMESTAMP
48852 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
48853 $EGREP "yes" >/dev/null 2>&1; then
48854 ac_cv_hdr_def_tiocdcdtimestamp=yes
48856 ac_cv_hdr_def_tiocdcdtimestamp=no
48861 echo "$as_me:$LINENO: result: $ac_cv_hdr_def_tiocdcdtimestamp" >&5
48862 echo "${ECHO_T}$ac_cv_hdr_def_tiocdcdtimestamp" >&6
48866 case "$ac_cv_hdr_def_tiocdcdtimestamp" in
48868 ac_cv_var_oncore_ok=yes
48872 echo "$as_me:$LINENO: checking if nlist() values might require extra indirection" >&5
48873 echo $ECHO_N "checking if nlist() values might require extra indirection... $ECHO_C" >&6
48874 if test "${ac_cv_var_nlist_extra_indirection+set}" = set; then
48875 echo $ECHO_N "(cached) $ECHO_C" >&6
48883 ac_cv_var_nlist_extra_indirection=$ans
48885 echo "$as_me:$LINENO: result: $ac_cv_var_nlist_extra_indirection" >&5
48886 echo "${ECHO_T}$ac_cv_var_nlist_extra_indirection" >&6
48887 case "$ac_cv_var_nlist_extra_indirection" in
48889 cat >>confdefs.h <<\_ACEOF
48890 #define NLIST_EXTRA_INDIRECTION 1
48895 echo "$as_me:$LINENO: checking for a minimum recommended value of tickadj" >&5
48896 echo $ECHO_N "checking for a minimum recommended value of tickadj... $ECHO_C" >&6
48897 if test "${ac_cv_var_min_rec_tickadj+set}" = set; then
48898 echo $ECHO_N "(cached) $ECHO_C" >&6
48906 ac_cv_var_min_rec_tickadj=$ans
48908 echo "$as_me:$LINENO: result: $ac_cv_var_min_rec_tickadj" >&5
48909 echo "${ECHO_T}$ac_cv_var_min_rec_tickadj" >&6
48910 case "$ac_cv_var_min_rec_tickadj" in
48913 cat >>confdefs.h <<_ACEOF
48914 #define MIN_REC_TICKADJ $ac_cv_var_min_rec_tickadj
48919 echo "$as_me:$LINENO: checking if the TTY code permits PARENB and IGNPAR" >&5
48920 echo $ECHO_N "checking if the TTY code permits PARENB and IGNPAR... $ECHO_C" >&6
48921 if test "${ac_cv_var_no_parenb_ignpar+set}" = set; then
48922 echo $ECHO_N "(cached) $ECHO_C" >&6
48932 i?86-*-freebsd[123].*)
48941 ac_cv_var_no_parenb_ignpar=$ans
48943 echo "$as_me:$LINENO: result: $ac_cv_var_no_parenb_ignpar" >&5
48944 echo "${ECHO_T}$ac_cv_var_no_parenb_ignpar" >&6
48945 case "$ac_cv_var_no_parenb_ignpar" in
48947 cat >>confdefs.h <<\_ACEOF
48948 #define NO_PARENB_IGNPAR 1
48953 echo "$as_me:$LINENO: checking if we're including debugging code" >&5
48954 echo $ECHO_N "checking if we're including debugging code... $ECHO_C" >&6
48955 # Check whether --enable-debugging or --disable-debugging was given.
48956 if test "${enable_debugging+set}" = set; then
48957 enableval="$enable_debugging"
48962 if test "$ntp_ok" = "yes"; then
48964 cat >>confdefs.h <<\_ACEOF
48969 echo "$as_me:$LINENO: result: $ntp_ok" >&5
48970 echo "${ECHO_T}$ntp_ok" >&6
48972 echo "$as_me:$LINENO: checking if we including processing time debugging code" >&5
48973 echo $ECHO_N "checking if we including processing time debugging code... $ECHO_C" >&6
48974 # Check whether --enable-debug-timing or --disable-debug-timing was given.
48975 if test "${enable_debug_timing+set}" = set; then
48976 enableval="$enable_debug_timing"
48981 if test "$ntp_ok" = "yes"; then
48983 cat >>confdefs.h <<\_ACEOF
48984 #define DEBUG_TIMING 1
48988 echo "$as_me:$LINENO: result: $ntp_ok" >&5
48989 echo "${ECHO_T}$ntp_ok" >&6
48991 echo "$as_me:$LINENO: checking for a the number of minutes in a DST adjustment" >&5
48992 echo $ECHO_N "checking for a the number of minutes in a DST adjustment... $ECHO_C" >&6
48993 # Check whether --enable-dst_minutes or --disable-dst_minutes was given.
48994 if test "${enable_dst_minutes+set}" = set; then
48995 enableval="$enable_dst_minutes"
49001 cat >>confdefs.h <<_ACEOF
49002 #define DSTMINUTES $ans
49005 echo "$as_me:$LINENO: result: $ans" >&5
49006 echo "${ECHO_T}$ans" >&6
49008 echo "$as_me:$LINENO: checking if we have the tty_clk line discipline/streams module" >&5
49009 echo $ECHO_N "checking if we have the tty_clk line discipline/streams module... $ECHO_C" >&6
49010 if test "${ac_cv_var_tty_clk+set}" = set; then
49011 echo $ECHO_N "(cached) $ECHO_C" >&6
49013 case "$ac_cv_header_sys_clkdefs_h$ac_cv_hdr_def_tiocdcdtimestamp" in
49014 *yes*) ac_cv_var_tty_clk=yes ;;
49017 echo "$as_me:$LINENO: result: $ac_cv_var_tty_clk" >&5
49018 echo "${ECHO_T}$ac_cv_var_tty_clk" >&6
49019 case "$ac_cv_var_tty_clk" in
49021 cat >>confdefs.h <<\_ACEOF
49027 echo "$as_me:$LINENO: checking for the ppsclock streams module" >&5
49028 echo $ECHO_N "checking for the ppsclock streams module... $ECHO_C" >&6
49029 if test "${ac_cv_var_ppsclock+set}" = set; then
49030 echo $ECHO_N "(cached) $ECHO_C" >&6
49032 ac_cv_var_ppsclock=$ac_cv_struct_ppsclockev
49034 echo "$as_me:$LINENO: result: $ac_cv_var_ppsclock" >&5
49035 echo "${ECHO_T}$ac_cv_var_ppsclock" >&6
49036 case "$ac_cv_var_ppsclock" in
49038 cat >>confdefs.h <<\_ACEOF
49044 echo "$as_me:$LINENO: checking for kernel multicast support" >&5
49045 echo $ECHO_N "checking for kernel multicast support... $ECHO_C" >&6
49046 if test "${ac_cv_var_mcast+set}" = set; then
49047 echo $ECHO_N "(cached) $ECHO_C" >&6
49051 i386-sequent-sysv4) ;;
49052 *) cat >conftest.$ac_ext <<_ACEOF
49055 cat confdefs.h >>conftest.$ac_ext
49056 cat >>conftest.$ac_ext <<_ACEOF
49057 /* end confdefs.h. */
49058 #include <netinet/in.h>
49059 #ifdef IP_ADD_MEMBERSHIP
49064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
49065 $EGREP "yes" >/dev/null 2>&1; then
49066 ac_cv_var_mcast=yes
49072 echo "$as_me:$LINENO: result: $ac_cv_var_mcast" >&5
49073 echo "${ECHO_T}$ac_cv_var_mcast" >&6
49074 case "$ac_cv_var_mcast" in
49077 cat >>confdefs.h <<\_ACEOF
49081 echo "$as_me:$LINENO: checking arg type needed for IP*_MULTICAST_LOOP for setsockopt()" >&5
49082 echo $ECHO_N "checking arg type needed for IP*_MULTICAST_LOOP for setsockopt()... $ECHO_C" >&6
49083 if test "${ac_cv_var_typeof_ip_multicast_loop+set}" = set; then
49084 echo $ECHO_N "(cached) $ECHO_C" >&6
49087 *-*-netbsd*|*-*-linux*)
49088 ac_cv_var_typeof_ip_multicast_loop=u_int
49091 ac_cv_var_typeof_ip_multicast_loop=BOOL
49093 *) ac_cv_var_typeof_ip_multicast_loop=u_char
49097 echo "$as_me:$LINENO: result: $ac_cv_var_typeof_ip_multicast_loop" >&5
49098 echo "${ECHO_T}$ac_cv_var_typeof_ip_multicast_loop" >&6
49100 cat >>confdefs.h <<_ACEOF
49101 #define TYPEOF_IP_MULTICAST_LOOP $ac_cv_var_typeof_ip_multicast_loop
49107 echo "$as_me:$LINENO: checking availability of ntp_{adj,get}time()" >&5
49108 echo $ECHO_N "checking availability of ntp_{adj,get}time()... $ECHO_C" >&6
49109 if test "${ac_cv_var_ntp_syscalls+set}" = set; then
49110 echo $ECHO_N "(cached) $ECHO_C" >&6
49112 ac_cv_var_ntp_syscalls=no
49113 case "$ac_cv_func_ntp_adjtime$ac_cv_func_ntp_gettime$ac_cv_func___adjtimex" in
49115 ac_cv_var_ntp_syscalls=libc
49118 ac_cv_var_ntp_syscalls=inline
49120 *) cat >conftest.$ac_ext <<_ACEOF
49123 cat confdefs.h >>conftest.$ac_ext
49124 cat >>conftest.$ac_ext <<_ACEOF
49125 /* end confdefs.h. */
49126 #include <sys/syscall.h>
49127 #if defined(SYS_ntp_gettime) && defined(SYS_ntp_adjtime)
49132 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
49133 $EGREP "yes" >/dev/null 2>&1; then
49134 ac_cv_var_ntp_syscalls=kernel
49141 echo "$as_me:$LINENO: result: $ac_cv_var_ntp_syscalls" >&5
49142 echo "${ECHO_T}$ac_cv_var_ntp_syscalls" >&6
49143 case "$ac_cv_var_ntp_syscalls" in
49146 cat >>confdefs.h <<\_ACEOF
49147 #define NTP_SYSCALLS_LIBC 1
49153 cat >>confdefs.h <<\_ACEOF
49154 #define NTP_SYSCALLS_STD 1
49162 echo "$as_me:$LINENO: checking if sys/timex.h has STA_FLL" >&5
49163 echo $ECHO_N "checking if sys/timex.h has STA_FLL... $ECHO_C" >&6
49164 if test "${ac_cv_var_sta_fll+set}" = set; then
49165 echo $ECHO_N "(cached) $ECHO_C" >&6
49167 cat >conftest.$ac_ext <<_ACEOF
49170 cat confdefs.h >>conftest.$ac_ext
49171 cat >>conftest.$ac_ext <<_ACEOF
49172 /* end confdefs.h. */
49173 #include <sys/timex.h>
49179 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
49180 $EGREP "yes" >/dev/null 2>&1; then
49181 ac_cv_var_sta_fll=yes
49183 ac_cv_var_sta_fll=no
49188 echo "$as_me:$LINENO: result: $ac_cv_var_sta_fll" >&5
49189 echo "${ECHO_T}$ac_cv_var_sta_fll" >&6
49191 echo "$as_me:$LINENO: checking if we have kernel PLL support" >&5
49192 echo $ECHO_N "checking if we have kernel PLL support... $ECHO_C" >&6
49193 if test "${ac_cv_var_kernel_pll+set}" = set; then
49194 echo $ECHO_N "(cached) $ECHO_C" >&6
49196 case "$ac_cv_header_sys_timex_h$ac_cv_struct_ntptimeval$ac_cv_var_sta_fll$ac_cv_var_ntp_syscalls" in
49198 ac_cv_var_kernel_pll=no
49200 *) ac_cv_var_kernel_pll=yes
49204 echo "$as_me:$LINENO: result: $ac_cv_var_kernel_pll" >&5
49205 echo "${ECHO_T}$ac_cv_var_kernel_pll" >&6
49206 case "$ac_cv_var_kernel_pll" in
49209 cat >>confdefs.h <<\_ACEOF
49210 #define KERNEL_PLL 1
49216 echo "$as_me:$LINENO: checking if SIOCGIFCONF returns buffer size in the buffer" >&5
49217 echo $ECHO_N "checking if SIOCGIFCONF returns buffer size in the buffer... $ECHO_C" >&6
49218 if test "${ac_cv_var_size_returned_in_buffer+set}" = set; then
49219 echo $ECHO_N "(cached) $ECHO_C" >&6
49233 ac_cv_var_size_returned_in_buffer=$ans
49235 echo "$as_me:$LINENO: result: $ac_cv_var_size_returned_in_buffer" >&5
49236 echo "${ECHO_T}$ac_cv_var_size_returned_in_buffer" >&6
49237 case "$ac_cv_var_size_returned_in_buffer" in
49239 cat >>confdefs.h <<\_ACEOF
49240 #define SIZE_RETURNED_IN_BUFFER 1
49246 # Check for ioctls TIOCGPPSEV
49247 echo "$as_me:$LINENO: checking ioctl TIOCGPPSEV" >&5
49248 echo $ECHO_N "checking ioctl TIOCGPPSEV... $ECHO_C" >&6
49249 if test "$ac_cv_header_termios_h" = "yes"; then
49250 cat >conftest.$ac_ext <<_ACEOF
49253 cat confdefs.h >>conftest.$ac_ext
49254 cat >>conftest.$ac_ext <<_ACEOF
49255 /* end confdefs.h. */
49256 #include <termios.h>
49262 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
49263 $EGREP "yes" >/dev/null 2>&1; then
49273 if test "$ntp_ok" = "yes"; then
49275 cat >>confdefs.h <<\_ACEOF
49276 #define HAVE_TIOCGPPSEV 1
49279 ac_cv_var_oncore_ok=yes
49281 echo "$as_me:$LINENO: result: $ntp_ok" >&5
49282 echo "${ECHO_T}$ntp_ok" >&6
49284 # Check for ioctls TIOCSPPS
49285 echo "$as_me:$LINENO: checking ioctl TIOCSPPS" >&5
49286 echo $ECHO_N "checking ioctl TIOCSPPS... $ECHO_C" >&6
49287 if test "$ac_cv_header_termios_h" = "yes"; then
49288 cat >conftest.$ac_ext <<_ACEOF
49291 cat confdefs.h >>conftest.$ac_ext
49292 cat >>conftest.$ac_ext <<_ACEOF
49293 /* end confdefs.h. */
49294 #include <termios.h>
49300 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
49301 $EGREP "yes" >/dev/null 2>&1; then
49312 if test "$ntp_ok" = "yes"; then
49314 cat >>confdefs.h <<\_ACEOF
49315 #define HAVE_TIOCSPPS 1
49319 echo "$as_me:$LINENO: result: $ntp_ok" >&5
49320 echo "${ECHO_T}$ntp_ok" >&6
49322 # Check for ioctls CIOGETEV
49323 echo "$as_me:$LINENO: checking ioctl CIOGETEV" >&5
49324 echo $ECHO_N "checking ioctl CIOGETEV... $ECHO_C" >&6
49325 if test "$ac_cv_header_sys_ppsclock_h" = "yes"; then
49326 cat >conftest.$ac_ext <<_ACEOF
49329 cat confdefs.h >>conftest.$ac_ext
49330 cat >>conftest.$ac_ext <<_ACEOF
49331 /* end confdefs.h. */
49332 #include <sys/ppsclock.h>
49338 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
49339 $EGREP "yes" >/dev/null 2>&1; then
49349 if test "$ntp_ok" = "yes"; then
49350 ac_cv_var_oncore_ok=yes
49352 cat >>confdefs.h <<\_ACEOF
49353 #define HAVE_CIOGETEV 1
49357 echo "$as_me:$LINENO: result: $ntp_ok" >&5
49358 echo "${ECHO_T}$ntp_ok" >&6
49361 # ATOM/PPSAPI stuff.
49363 # ATOM used to require struct timespec, but that's been fixed now.
49365 # case "$ac_cv_struct_timespec" in
49367 # ac_cv_var_atom_ok=yes
49370 ac_cv_var_atom_ok=yes
49372 # Check for header timepps.h, if found then we have PPS API (Draft RFC) stuff.
49374 # The PPSAPI headers need "inline" ($ac_cv_c_inline='inline')
49376 # The PPSAPI needs struct timespec.
49378 # The PPSAPI also needs a timepps header.
49380 case "$ac_cv_c_inline$ac_cv_struct_timespec" in
49382 case "$ac_cv_header_timepps_h$ac_cv_header_sys_timepps_h$host_os" in
49383 *yes* | *sunos* | *solaris* | *sco* | *netbsd* )
49385 cat >>confdefs.h <<\_ACEOF
49386 #define HAVE_PPSAPI 1
49389 ac_cv_var_jupiter_ok=yes
49390 ac_cv_var_oncore_ok=yes
49391 ac_cv_var_parse_ok=yes
49392 ac_cv_var_ripe_ncc_ok=yes
49398 # Check for ioctls TIOCGSERIAL, TIOCSSERIAL, ASYNC_PPS_CD_POS, ASYNC_PPS_CD_NEG
49399 if test "${ac_cv_header_linux_serial_h+set}" = set; then
49400 echo "$as_me:$LINENO: checking for linux/serial.h" >&5
49401 echo $ECHO_N "checking for linux/serial.h... $ECHO_C" >&6
49402 if test "${ac_cv_header_linux_serial_h+set}" = set; then
49403 echo $ECHO_N "(cached) $ECHO_C" >&6
49405 echo "$as_me:$LINENO: result: $ac_cv_header_linux_serial_h" >&5
49406 echo "${ECHO_T}$ac_cv_header_linux_serial_h" >&6
49408 # Is the header compilable?
49409 echo "$as_me:$LINENO: checking linux/serial.h usability" >&5
49410 echo $ECHO_N "checking linux/serial.h usability... $ECHO_C" >&6
49411 cat >conftest.$ac_ext <<_ACEOF
49414 cat confdefs.h >>conftest.$ac_ext
49415 cat >>conftest.$ac_ext <<_ACEOF
49416 /* end confdefs.h. */
49417 $ac_includes_default
49418 #include <linux/serial.h>
49420 rm -f conftest.$ac_objext
49421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49422 (eval $ac_compile) 2>conftest.er1
49424 grep -v '^ *+' conftest.er1 >conftest.err
49426 cat conftest.err >&5
49427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49428 (exit $ac_status); } &&
49429 { ac_try='test -z "$ac_c_werror_flag"
49430 || test ! -s conftest.err'
49431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49432 (eval $ac_try) 2>&5
49434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49435 (exit $ac_status); }; } &&
49436 { ac_try='test -s conftest.$ac_objext'
49437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49438 (eval $ac_try) 2>&5
49440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49441 (exit $ac_status); }; }; then
49442 ac_header_compiler=yes
49444 echo "$as_me: failed program was:" >&5
49445 sed 's/^/| /' conftest.$ac_ext >&5
49447 ac_header_compiler=no
49449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49450 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
49451 echo "${ECHO_T}$ac_header_compiler" >&6
49453 # Is the header present?
49454 echo "$as_me:$LINENO: checking linux/serial.h presence" >&5
49455 echo $ECHO_N "checking linux/serial.h presence... $ECHO_C" >&6
49456 cat >conftest.$ac_ext <<_ACEOF
49459 cat confdefs.h >>conftest.$ac_ext
49460 cat >>conftest.$ac_ext <<_ACEOF
49461 /* end confdefs.h. */
49462 #include <linux/serial.h>
49464 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
49465 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
49467 grep -v '^ *+' conftest.er1 >conftest.err
49469 cat conftest.err >&5
49470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49471 (exit $ac_status); } >/dev/null; then
49472 if test -s conftest.err; then
49473 ac_cpp_err=$ac_c_preproc_warn_flag
49474 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
49481 if test -z "$ac_cpp_err"; then
49482 ac_header_preproc=yes
49484 echo "$as_me: failed program was:" >&5
49485 sed 's/^/| /' conftest.$ac_ext >&5
49487 ac_header_preproc=no
49489 rm -f conftest.err conftest.$ac_ext
49490 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
49491 echo "${ECHO_T}$ac_header_preproc" >&6
49493 # So? What about this header?
49494 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
49496 { echo "$as_me:$LINENO: WARNING: linux/serial.h: accepted by the compiler, rejected by the preprocessor!" >&5
49497 echo "$as_me: WARNING: linux/serial.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
49498 { echo "$as_me:$LINENO: WARNING: linux/serial.h: proceeding with the compiler's result" >&5
49499 echo "$as_me: WARNING: linux/serial.h: proceeding with the compiler's result" >&2;}
49500 ac_header_preproc=yes
49503 { echo "$as_me:$LINENO: WARNING: linux/serial.h: present but cannot be compiled" >&5
49504 echo "$as_me: WARNING: linux/serial.h: present but cannot be compiled" >&2;}
49505 { echo "$as_me:$LINENO: WARNING: linux/serial.h: check for missing prerequisite headers?" >&5
49506 echo "$as_me: WARNING: linux/serial.h: check for missing prerequisite headers?" >&2;}
49507 { echo "$as_me:$LINENO: WARNING: linux/serial.h: see the Autoconf documentation" >&5
49508 echo "$as_me: WARNING: linux/serial.h: see the Autoconf documentation" >&2;}
49509 { echo "$as_me:$LINENO: WARNING: linux/serial.h: section \"Present But Cannot Be Compiled\"" >&5
49510 echo "$as_me: WARNING: linux/serial.h: section \"Present But Cannot Be Compiled\"" >&2;}
49511 { echo "$as_me:$LINENO: WARNING: linux/serial.h: proceeding with the preprocessor's result" >&5
49512 echo "$as_me: WARNING: linux/serial.h: proceeding with the preprocessor's result" >&2;}
49513 { echo "$as_me:$LINENO: WARNING: linux/serial.h: in the future, the compiler will take precedence" >&5
49514 echo "$as_me: WARNING: linux/serial.h: in the future, the compiler will take precedence" >&2;}
49517 ## ------------------------------ ##
49518 ## Report this to the ntp lists. ##
49519 ## ------------------------------ ##
49522 sed "s/^/$as_me: WARNING: /" >&2
49525 echo "$as_me:$LINENO: checking for linux/serial.h" >&5
49526 echo $ECHO_N "checking for linux/serial.h... $ECHO_C" >&6
49527 if test "${ac_cv_header_linux_serial_h+set}" = set; then
49528 echo $ECHO_N "(cached) $ECHO_C" >&6
49530 ac_cv_header_linux_serial_h=$ac_header_preproc
49532 echo "$as_me:$LINENO: result: $ac_cv_header_linux_serial_h" >&5
49533 echo "${ECHO_T}$ac_cv_header_linux_serial_h" >&6
49538 echo "$as_me:$LINENO: checking ioctl TIOCGSERIAL" >&5
49539 echo $ECHO_N "checking ioctl TIOCGSERIAL... $ECHO_C" >&6
49540 case "$ac_cv_header_sys_ppsclock_h$ac_cv_header_linux_serial_h" in
49542 cat >conftest.$ac_ext <<_ACEOF
49545 cat confdefs.h >>conftest.$ac_ext
49546 cat >>conftest.$ac_ext <<_ACEOF
49547 /* end confdefs.h. */
49548 #include <sys/time.h>
49551 #include <sys/ppsclock.h>
49552 #include <linux/serial.h>
49556 #ifdef ASYNC_PPS_CD_POS
49557 #ifdef ASYNC_PPS_CD_NEG
49567 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
49568 $EGREP "yes" >/dev/null 2>&1; then
49578 if test "$ntp_ok" = "yes"; then
49580 cat >>confdefs.h <<\_ACEOF
49581 #define HAVE_TIO_SERIAL_STUFF 1
49585 echo "$as_me:$LINENO: result: $ntp_ok" >&5
49586 echo "${ECHO_T}$ntp_ok" >&6
49588 # Check for SHMEM_STATUS support
49589 echo "$as_me:$LINENO: checking SHMEM_STATUS support" >&5
49590 echo $ECHO_N "checking SHMEM_STATUS support... $ECHO_C" >&6
49591 case "$ac_cv_header_sys_mman_h" in
49595 if test "$ntp_ok" = "yes"; then
49597 cat >>confdefs.h <<\_ACEOF
49598 #define ONCORE_SHMEM_STATUS 1
49602 echo "$as_me:$LINENO: result: $ntp_ok" >&5
49603 echo "${ECHO_T}$ntp_ok" >&6
49608 # HPUX only, and by explicit request
49609 echo "$as_me:$LINENO: checking Datum/Bancomm bc635/VME interface" >&5
49610 echo $ECHO_N "checking Datum/Bancomm bc635/VME interface... $ECHO_C" >&6
49611 # Check whether --enable-BANCOMM or --disable-BANCOMM was given.
49612 if test "${enable_BANCOMM+set}" = set; then
49613 enableval="$enable_BANCOMM"
49618 if test "$ntp_ok" = "yes"; then
49621 cat >>confdefs.h <<\_ACEOF
49622 #define CLOCK_BANC 1
49626 echo "$as_me:$LINENO: result: $ntp_ok" >&5
49627 echo "${ECHO_T}$ntp_ok" >&6
49628 case "$ntp_ok$host" in
49630 yes*) { echo "$as_me:$LINENO: WARNING: *** But the expected answer is... no ***" >&5
49631 echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;} ;;
49634 #HPUX only, and only by explicit request
49635 echo "$as_me:$LINENO: checking TrueTime GPS receiver/VME interface" >&5
49636 echo $ECHO_N "checking TrueTime GPS receiver/VME interface... $ECHO_C" >&6
49637 # Check whether --enable-GPSVME or --disable-GPSVME was given.
49638 if test "${enable_GPSVME+set}" = set; then
49639 enableval="$enable_GPSVME"
49644 if test "$ntp_ok" = "yes"; then
49647 cat >>confdefs.h <<\_ACEOF
49648 #define CLOCK_GPSVME 1
49652 echo "$as_me:$LINENO: result: $ntp_ok" >&5
49653 echo "${ECHO_T}$ntp_ok" >&6
49654 case "$ntp_ok$host" in
49656 yes*) { echo "$as_me:$LINENO: WARNING: *** But the expected answer is... no ***" >&5
49657 echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;} ;;
49660 echo "$as_me:$LINENO: checking for PCL720 clock support" >&5
49661 echo $ECHO_N "checking for PCL720 clock support... $ECHO_C" >&6
49662 case "$ac_cv_header_machine_inline_h$ac_cv_header_sys_pcl720_h$ac_cv_header_sys_i8253_h" in
49665 cat >>confdefs.h <<\_ACEOF
49666 #define CLOCK_PPS720 1
49675 echo "$as_me:$LINENO: result: $ans" >&5
49676 echo "${ECHO_T}$ans" >&6
49678 echo "$as_me:$LINENO: checking for default inclusion of all suitable non-PARSE clocks" >&5
49679 echo $ECHO_N "checking for default inclusion of all suitable non-PARSE clocks... $ECHO_C" >&6
49680 # Check whether --enable-all-clocks or --disable-all-clocks was given.
49681 if test "${enable_all_clocks+set}" = set; then
49682 enableval="$enable_all_clocks"
49687 echo "$as_me:$LINENO: result: $ntp_eac" >&5
49688 echo "${ECHO_T}$ntp_eac" >&6
49690 # HMS: Should we also require ac_cv_var_parse_ok?
49691 echo "$as_me:$LINENO: checking if we have support for PARSE clocks" >&5
49692 echo $ECHO_N "checking if we have support for PARSE clocks... $ECHO_C" >&6
49693 case "$ac_cv_var_atom_ok$ac_cv_header_termio_h$ac_cv_header_termios_h" in
49700 echo "$as_me:$LINENO: result: $ntp_canparse" >&5
49701 echo "${ECHO_T}$ntp_canparse" >&6
49703 echo "$as_me:$LINENO: checking if we have support for audio clocks" >&5
49704 echo $ECHO_N "checking if we have support for audio clocks... $ECHO_C" >&6
49705 case "$ac_cv_header_sun_audioio_h$ac_cv_header_sys_audioio_h$ac_cv_header_machine_soundcard_h$ac_cv_header_sys_soundcard_h" in
49709 cat >>confdefs.h <<\_ACEOF
49714 *) ntp_canaudio=no ;;
49716 echo "$as_me:$LINENO: result: $ntp_canaudio" >&5
49717 echo "${ECHO_T}$ntp_canaudio" >&6
49719 echo "$as_me:$LINENO: checking if we have support for the SHM refclock interface" >&5
49720 echo $ECHO_N "checking if we have support for the SHM refclock interface... $ECHO_C" >&6
49721 case "$ac_cv_header_sys_ipc_h$ac_cv_header_sys_shm_h" in
49725 *) ntp_canshm=no ;;
49727 echo "$as_me:$LINENO: result: $ntp_canshm" >&5
49728 echo "${ECHO_T}$ntp_canshm" >&6
49730 # Requires modem control
49731 echo "$as_me:$LINENO: checking ACTS modem service" >&5
49732 echo $ECHO_N "checking ACTS modem service... $ECHO_C" >&6
49733 # Check whether --enable-ACTS or --disable-ACTS was given.
49734 if test "${enable_ACTS+set}" = set; then
49735 enableval="$enable_ACTS"
49738 cat >conftest.$ac_ext <<_ACEOF
49741 cat confdefs.h >>conftest.$ac_ext
49742 cat >>conftest.$ac_ext <<_ACEOF
49743 /* end confdefs.h. */
49744 #include <termios.h>
49745 #ifdef HAVE_SYS_IOCTL_H
49746 #include <sys/ioctl.h>
49753 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
49754 $EGREP "yes" >/dev/null 2>&1; then
49762 if test "$ntp_ok" = "yes"; then
49765 cat >>confdefs.h <<\_ACEOF
49766 #define CLOCK_ACTS 1
49770 echo "$as_me:$LINENO: result: $ntp_ok" >&5
49771 echo "${ECHO_T}$ntp_ok" >&6
49773 echo "$as_me:$LINENO: checking Arbiter 1088A/B GPS receiver" >&5
49774 echo $ECHO_N "checking Arbiter 1088A/B GPS receiver... $ECHO_C" >&6
49775 # Check whether --enable-ARBITER or --disable-ARBITER was given.
49776 if test "${enable_ARBITER+set}" = set; then
49777 enableval="$enable_ARBITER"
49782 if test "$ntp_ok" = "yes"; then
49785 cat >>confdefs.h <<\_ACEOF
49786 #define CLOCK_ARBITER 1
49790 echo "$as_me:$LINENO: result: $ntp_ok" >&5
49791 echo "${ECHO_T}$ntp_ok" >&6
49793 echo "$as_me:$LINENO: checking Arcron MSF receiver" >&5
49794 echo $ECHO_N "checking Arcron MSF receiver... $ECHO_C" >&6
49795 # Check whether --enable-ARCRON_MSF or --disable-ARCRON_MSF was given.
49796 if test "${enable_ARCRON_MSF+set}" = set; then
49797 enableval="$enable_ARCRON_MSF"
49802 if test "$ntp_ok" = "yes"; then
49805 cat >>confdefs.h <<\_ACEOF
49806 #define CLOCK_ARCRON_MSF 1
49810 echo "$as_me:$LINENO: result: $ntp_ok" >&5
49811 echo "${ECHO_T}$ntp_ok" >&6
49813 echo "$as_me:$LINENO: checking Austron 2200A/2201A GPS receiver" >&5
49814 echo $ECHO_N "checking Austron 2200A/2201A GPS receiver... $ECHO_C" >&6
49815 # Check whether --enable-AS2201 or --disable-AS2201 was given.
49816 if test "${enable_AS2201+set}" = set; then
49817 enableval="$enable_AS2201"
49822 if test "$ntp_ok" = "yes"; then
49825 cat >>confdefs.h <<\_ACEOF
49826 #define CLOCK_AS2201 1
49830 echo "$as_me:$LINENO: result: $ntp_ok" >&5
49831 echo "${ECHO_T}$ntp_ok" >&6
49833 echo "$as_me:$LINENO: checking ATOM PPS interface" >&5
49834 echo $ECHO_N "checking ATOM PPS interface... $ECHO_C" >&6
49835 # Check whether --enable-ATOM or --disable-ATOM was given.
49836 if test "${enable_ATOM+set}" = set; then
49837 enableval="$enable_ATOM"
49842 case "$ac_cv_var_atom_ok" in
49845 if test "$ntp_ok" = "yes"; then
49848 cat >>confdefs.h <<\_ACEOF
49849 #define CLOCK_ATOM 1
49853 echo "$as_me:$LINENO: result: $ntp_ok" >&5
49854 echo "${ECHO_T}$ntp_ok" >&6
49856 echo "$as_me:$LINENO: checking Chrono-log K-series WWVB receiver" >&5
49857 echo $ECHO_N "checking Chrono-log K-series WWVB receiver... $ECHO_C" >&6
49858 # Check whether --enable-CHRONOLOG or --disable-CHRONOLOG was given.
49859 if test "${enable_CHRONOLOG+set}" = set; then
49860 enableval="$enable_CHRONOLOG"
49865 if test "$ntp_ok" = "yes"; then
49868 cat >>confdefs.h <<\_ACEOF
49869 #define CLOCK_CHRONOLOG 1
49873 echo "$as_me:$LINENO: result: $ntp_ok" >&5
49874 echo "${ECHO_T}$ntp_ok" >&6
49876 echo "$as_me:$LINENO: checking CHU modem/decoder" >&5
49877 echo $ECHO_N "checking CHU modem/decoder... $ECHO_C" >&6
49878 # Check whether --enable-CHU or --disable-CHU was given.
49879 if test "${enable_CHU+set}" = set; then
49880 enableval="$enable_CHU"
49885 if test "$ntp_ok" = "yes"; then
49888 cat >>confdefs.h <<\_ACEOF
49889 #define CLOCK_CHU 1
49893 echo "$as_me:$LINENO: result: $ntp_ok" >&5
49894 echo "${ECHO_T}$ntp_ok" >&6
49895 ac_refclock_chu=$ntp_ok
49897 echo "$as_me:$LINENO: checking CHU audio/decoder" >&5
49898 echo $ECHO_N "checking CHU audio/decoder... $ECHO_C" >&6
49899 # Check whether --enable-AUDIO-CHU or --disable-AUDIO-CHU was given.
49900 if test "${enable_AUDIO_CHU+set}" = set; then
49901 enableval="$enable_AUDIO_CHU"
49904 case "$ntp_eac$ac_refclock_chu$ntp_canaudio" in
49909 if test "$ntp_ok" = "yes"; then
49911 cat >>confdefs.h <<\_ACEOF
49912 #define AUDIO_CHU 1
49916 echo "$as_me:$LINENO: result: $ntp_ok" >&5
49917 echo "${ECHO_T}$ntp_ok" >&6
49918 # We used to check for sunos/solaris target...
49919 case "$ntp_ok$ac_refclock_chu$ntp_canaudio" in
49920 yes*no*) { echo "$as_me:$LINENO: WARNING: *** But the expected answer is...no ***" >&5
49921 echo "$as_me: WARNING: *** But the expected answer is...no ***" >&2;} ;;
49925 echo "$as_me:$LINENO: checking Datum Programmable Time System" >&5
49926 echo $ECHO_N "checking Datum Programmable Time System... $ECHO_C" >&6
49927 # Check whether --enable-DATUM or --disable-DATUM was given.
49928 if test "${enable_DATUM+set}" = set; then
49929 enableval="$enable_DATUM"
49932 case "$ac_cv_header_termios_h" in
49940 if test "$ntp_ok" = "yes"; then
49943 cat >>confdefs.h <<\_ACEOF
49944 #define CLOCK_DATUM 1
49948 echo "$as_me:$LINENO: result: $ntp_ok" >&5
49949 echo "${ECHO_T}$ntp_ok" >&6
49951 echo "$as_me:$LINENO: checking Dumb generic hh:mm:ss local clock" >&5
49952 echo $ECHO_N "checking Dumb generic hh:mm:ss local clock... $ECHO_C" >&6
49953 # Check whether --enable-DUMBCLOCK or --disable-DUMBCLOCK was given.
49954 if test "${enable_DUMBCLOCK+set}" = set; then
49955 enableval="$enable_DUMBCLOCK"
49960 if test "$ntp_ok" = "yes"; then
49963 cat >>confdefs.h <<\_ACEOF
49964 #define CLOCK_DUMBCLOCK 1
49968 echo "$as_me:$LINENO: result: $ntp_ok" >&5
49969 echo "${ECHO_T}$ntp_ok" >&6
49971 echo "$as_me:$LINENO: checking Forum Graphic GPS" >&5
49972 echo $ECHO_N "checking Forum Graphic GPS... $ECHO_C" >&6
49973 # Check whether --enable-FG or --disable-FG was given.
49974 if test "${enable_FG+set}" = set; then
49975 enableval="$enable_FG"
49980 if test "$ntp_ok" = "yes"; then
49983 cat >>confdefs.h <<\_ACEOF
49988 echo "$as_me:$LINENO: result: $ntp_ok" >&5
49989 echo "${ECHO_T}$ntp_ok" >&6
49991 # Requires modem control
49992 echo "$as_me:$LINENO: checking Heath GC-1000 WWV/WWVH receiver" >&5
49993 echo $ECHO_N "checking Heath GC-1000 WWV/WWVH receiver... $ECHO_C" >&6
49994 # Check whether --enable-HEATH or --disable-HEATH was given.
49995 if test "${enable_HEATH+set}" = set; then
49996 enableval="$enable_HEATH"
49999 cat >conftest.$ac_ext <<_ACEOF
50002 cat confdefs.h >>conftest.$ac_ext
50003 cat >>conftest.$ac_ext <<_ACEOF
50004 /* end confdefs.h. */
50005 #include <termios.h>
50006 #ifdef HAVE_SYS_IOCTL_H
50007 #include <sys/ioctl.h>
50014 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
50015 $EGREP "yes" >/dev/null 2>&1; then
50023 if test "$ntp_ok" = "yes"; then
50026 cat >>confdefs.h <<\_ACEOF
50027 #define CLOCK_HEATH 1
50031 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50032 echo "${ECHO_T}$ntp_ok" >&6
50034 echo "$as_me:$LINENO: checking for hopf serial clock device" >&5
50035 echo $ECHO_N "checking for hopf serial clock device... $ECHO_C" >&6
50036 # Check whether --enable-HOPFSERIAL or --disable-HOPFSERIAL was given.
50037 if test "${enable_HOPFSERIAL+set}" = set; then
50038 enableval="$enable_HOPFSERIAL"
50043 if test "$ntp_ok" = "yes"; then
50046 cat >>confdefs.h <<\_ACEOF
50047 #define CLOCK_HOPF_SERIAL 1
50051 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50052 echo "${ECHO_T}$ntp_ok" >&6
50054 echo "$as_me:$LINENO: checking for hopf PCI clock 6039" >&5
50055 echo $ECHO_N "checking for hopf PCI clock 6039... $ECHO_C" >&6
50056 # Check whether --enable-HOPFPCI or --disable-HOPFPCI was given.
50057 if test "${enable_HOPFPCI+set}" = set; then
50058 enableval="$enable_HOPFPCI"
50063 if test "$ntp_ok" = "yes"; then
50066 cat >>confdefs.h <<\_ACEOF
50067 #define CLOCK_HOPF_PCI 1
50071 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50072 echo "${ECHO_T}$ntp_ok" >&6
50074 echo "$as_me:$LINENO: checking HP 58503A GPS receiver" >&5
50075 echo $ECHO_N "checking HP 58503A GPS receiver... $ECHO_C" >&6
50076 # Check whether --enable-HPGPS or --disable-HPGPS was given.
50077 if test "${enable_HPGPS+set}" = set; then
50078 enableval="$enable_HPGPS"
50083 if test "$ntp_ok" = "yes"; then
50086 cat >>confdefs.h <<\_ACEOF
50087 #define CLOCK_HPGPS 1
50091 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50092 echo "${ECHO_T}$ntp_ok" >&6
50094 echo "$as_me:$LINENO: checking IRIG audio decoder" >&5
50095 echo $ECHO_N "checking IRIG audio decoder... $ECHO_C" >&6
50096 # Check whether --enable-IRIG or --disable-IRIG was given.
50097 if test "${enable_IRIG+set}" = set; then
50098 enableval="$enable_IRIG"
50101 case "$ntp_eac$ntp_canaudio" in
50106 if test "$ntp_ok" = "yes"; then
50109 cat >>confdefs.h <<\_ACEOF
50110 #define CLOCK_IRIG 1
50114 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50115 echo "${ECHO_T}$ntp_ok" >&6
50116 case "$ntp_ok$ntp_canaudio" in
50117 yesno) { echo "$as_me:$LINENO: WARNING: *** But the expected answer is... no ***" >&5
50118 echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;} ;;
50121 echo "$as_me:$LINENO: checking for JJY receiver" >&5
50122 echo $ECHO_N "checking for JJY receiver... $ECHO_C" >&6
50123 # Check whether --enable-JJY or --disable-JJY was given.
50124 if test "${enable_JJY+set}" = set; then
50125 enableval="$enable_JJY"
50130 if test "$ntp_ok" = "yes"; then
50133 cat >>confdefs.h <<\_ACEOF
50134 #define CLOCK_JJY 1
50138 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50139 echo "${ECHO_T}$ntp_ok" >&6
50141 echo "$as_me:$LINENO: checking Rockwell Jupiter GPS receiver" >&5
50142 echo $ECHO_N "checking Rockwell Jupiter GPS receiver... $ECHO_C" >&6
50143 # Check whether --enable-JUPITER or --disable-JUPITER was given.
50144 if test "${enable_JUPITER+set}" = set; then
50145 enableval="$enable_JUPITER"
50150 case "$ac_cv_var_jupiter_ok" in
50153 if test "$ntp_ok" = "yes"; then
50156 cat >>confdefs.h <<\_ACEOF
50157 #define CLOCK_JUPITER 1
50161 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50162 echo "${ECHO_T}$ntp_ok" >&6
50164 echo "$as_me:$LINENO: checking Leitch CSD 5300 Master Clock System Driver" >&5
50165 echo $ECHO_N "checking Leitch CSD 5300 Master Clock System Driver... $ECHO_C" >&6
50166 # Check whether --enable-LEITCH or --disable-LEITCH was given.
50167 if test "${enable_LEITCH+set}" = set; then
50168 enableval="$enable_LEITCH"
50173 if test "$ntp_ok" = "yes"; then
50176 cat >>confdefs.h <<\_ACEOF
50177 #define CLOCK_LEITCH 1
50181 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50182 echo "${ECHO_T}$ntp_ok" >&6
50184 echo "$as_me:$LINENO: checking local clock reference" >&5
50185 echo $ECHO_N "checking local clock reference... $ECHO_C" >&6
50186 # Check whether --enable-LOCAL-CLOCK or --disable-LOCAL-CLOCK was given.
50187 if test "${enable_LOCAL_CLOCK+set}" = set; then
50188 enableval="$enable_LOCAL_CLOCK"
50193 if test "$ntp_ok" = "yes"; then
50196 cat >>confdefs.h <<\_ACEOF
50197 #define CLOCK_LOCAL 1
50201 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50202 echo "${ECHO_T}$ntp_ok" >&6
50206 echo "$as_me:$LINENO: checking Magnavox MX4200 GPS receiver" >&5
50207 echo $ECHO_N "checking Magnavox MX4200 GPS receiver... $ECHO_C" >&6
50208 # Check whether --enable-MX4200 or --disable-MX4200 was given.
50209 if test "${enable_MX4200+set}" = set; then
50210 enableval="$enable_MX4200"
50213 case "$ac_cv_var_ppsclock" in
50214 yes) ntp_ok=$ntp_eac
50220 if test "$ntp_ok" = "yes"; then
50223 cat >>confdefs.h <<\_ACEOF
50224 #define CLOCK_MX4200 1
50228 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50229 echo "${ECHO_T}$ntp_ok" >&6
50230 case "$ntp_ok$host" in
50231 yes*-*-ultrix*) { echo "$as_me:$LINENO: WARNING: *** But the expected answer is... no ***" >&5
50232 echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;} ;;
50235 echo "$as_me:$LINENO: checking for NeoClock4X receiver" >&5
50236 echo $ECHO_N "checking for NeoClock4X receiver... $ECHO_C" >&6
50237 # Check whether --enable-NEOCLOCK4X or --disable-NEOCLOCK4X was given.
50238 if test "${enable_NEOCLOCK4X+set}" = set; then
50239 enableval="$enable_NEOCLOCK4X"
50244 if test "$ntp_ok" = "yes"; then
50247 cat >>confdefs.h <<\_ACEOF
50248 #define CLOCK_NEOCLOCK4X 1
50252 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50253 echo "${ECHO_T}$ntp_ok" >&6
50255 echo "$as_me:$LINENO: checking NMEA GPS receiver" >&5
50256 echo $ECHO_N "checking NMEA GPS receiver... $ECHO_C" >&6
50257 # Check whether --enable-NMEA or --disable-NMEA was given.
50258 if test "${enable_NMEA+set}" = set; then
50259 enableval="$enable_NMEA"
50264 if test "$ntp_ok" = "yes"; then
50267 cat >>confdefs.h <<\_ACEOF
50268 #define CLOCK_NMEA 1
50272 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50273 echo "${ECHO_T}$ntp_ok" >&6
50275 echo "$as_me:$LINENO: checking for ONCORE Motorola VP/UT Oncore GPS" >&5
50276 echo $ECHO_N "checking for ONCORE Motorola VP/UT Oncore GPS... $ECHO_C" >&6
50277 # Check whether --enable-ONCORE or --disable-ONCORE was given.
50278 if test "${enable_ONCORE+set}" = set; then
50279 enableval="$enable_ONCORE"
50284 case "$ac_cv_var_oncore_ok" in
50287 if test "$ntp_ok" = "yes"; then
50290 cat >>confdefs.h <<\_ACEOF
50291 #define CLOCK_ONCORE 1
50295 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50296 echo "${ECHO_T}$ntp_ok" >&6
50298 echo "$as_me:$LINENO: checking for Palisade clock" >&5
50299 echo $ECHO_N "checking for Palisade clock... $ECHO_C" >&6
50300 # Check whether --enable-PALISADE or --disable-PALISADE was given.
50301 if test "${enable_PALISADE+set}" = set; then
50302 enableval="$enable_PALISADE"
50305 case "$ac_cv_header_termios_h" in
50314 if test "$ntp_ok" = "yes"; then
50317 cat >>confdefs.h <<\_ACEOF
50318 #define CLOCK_PALISADE 1
50322 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50323 echo "${ECHO_T}$ntp_ok" >&6
50325 echo "$as_me:$LINENO: checking Conrad parallel port radio clock" >&5
50326 echo $ECHO_N "checking Conrad parallel port radio clock... $ECHO_C" >&6
50327 # Check whether --enable-PCF or --disable-PCF was given.
50328 if test "${enable_PCF+set}" = set; then
50329 enableval="$enable_PCF"
50334 if test "$ntp_ok" = "yes"; then
50337 cat >>confdefs.h <<\_ACEOF
50338 #define CLOCK_PCF 1
50342 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50343 echo "${ECHO_T}$ntp_ok" >&6
50345 echo "$as_me:$LINENO: checking PST/Traconex 1020 WWV/WWVH receiver" >&5
50346 echo $ECHO_N "checking PST/Traconex 1020 WWV/WWVH receiver... $ECHO_C" >&6
50347 # Check whether --enable-PST or --disable-PST was given.
50348 if test "${enable_PST+set}" = set; then
50349 enableval="$enable_PST"
50354 if test "$ntp_ok" = "yes"; then
50357 cat >>confdefs.h <<\_ACEOF
50358 #define CLOCK_PST 1
50362 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50363 echo "${ECHO_T}$ntp_ok" >&6
50365 echo "$as_me:$LINENO: checking RIPENCC specific Trimble driver" >&5
50366 echo $ECHO_N "checking RIPENCC specific Trimble driver... $ECHO_C" >&6
50367 # Check whether --enable-RIPENCC or --disable-RIPENCC was given.
50368 if test "${enable_RIPENCC+set}" = set; then
50369 enableval="$enable_RIPENCC"
50374 # 020629: HMS: s/$ntp_eac -> -/no because of ptr += sprintf(ptr, ...) usage
50375 case "$ac_cv_var_ripe_ncc_ok" in
50378 if test "$ntp_ok" = "yes"; then
50381 cat >>confdefs.h <<\_ACEOF
50382 #define CLOCK_RIPENCC
50386 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50387 echo "${ECHO_T}$ntp_ok" >&6
50389 # Danny Meyer says SHM compiles (with a few warnings) under Win32.
50390 # For *IX, we need sys/ipc.h and sys/shm.h.
50391 echo "$as_me:$LINENO: checking for SHM clock attached thru shared memory" >&5
50392 echo $ECHO_N "checking for SHM clock attached thru shared memory... $ECHO_C" >&6
50393 # Check whether --enable-SHM or --disable-SHM was given.
50394 if test "${enable_SHM+set}" = set; then
50395 enableval="$enable_SHM"
50398 case "$ntp_eac$ntp_canshm" in
50403 if test "$ntp_ok" = "yes"; then
50406 cat >>confdefs.h <<\_ACEOF
50407 #define CLOCK_SHM 1
50411 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50412 echo "${ECHO_T}$ntp_ok" >&6
50414 echo "$as_me:$LINENO: checking Spectracom 8170/Netclock/2 WWVB receiver" >&5
50415 echo $ECHO_N "checking Spectracom 8170/Netclock/2 WWVB receiver... $ECHO_C" >&6
50416 # Check whether --enable-SPECTRACOM or --disable-SPECTRACOM was given.
50417 if test "${enable_SPECTRACOM+set}" = set; then
50418 enableval="$enable_SPECTRACOM"
50423 if test "$ntp_ok" = "yes"; then
50426 cat >>confdefs.h <<\_ACEOF
50427 #define CLOCK_SPECTRACOM 1
50431 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50432 echo "${ECHO_T}$ntp_ok" >&6
50434 echo "$as_me:$LINENO: checking KSI/Odetics TPRO/S GPS receiver/IRIG interface" >&5
50435 echo $ECHO_N "checking KSI/Odetics TPRO/S GPS receiver/IRIG interface... $ECHO_C" >&6
50436 # Check whether --enable-TPRO or --disable-TPRO was given.
50437 if test "${enable_TPRO+set}" = set; then
50438 enableval="$enable_TPRO"
50441 case "$ac_cv_header_sys_tpro_h" in
50449 if test "$ntp_ok" = "yes"; then
50452 cat >>confdefs.h <<\_ACEOF
50453 #define CLOCK_TPRO 1
50457 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50458 echo "${ECHO_T}$ntp_ok" >&6
50459 case "$ntp_ok$ac_cv_header_sys_tpro" in
50460 yesno) { echo "$as_me:$LINENO: WARNING: *** But the expected answer is... no ***" >&5
50461 echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;} ;;
50465 # Not on a vax-dec-bsd
50466 echo "$as_me:$LINENO: checking Kinemetrics/TrueTime receivers" >&5
50467 echo $ECHO_N "checking Kinemetrics/TrueTime receivers... $ECHO_C" >&6
50468 # Check whether --enable-TRUETIME or --disable-TRUETIME was given.
50469 if test "${enable_TRUETIME+set}" = set; then
50470 enableval="$enable_TRUETIME"
50482 if test "$ntp_ok" = "yes"; then
50485 cat >>confdefs.h <<\_ACEOF
50486 #define CLOCK_TRUETIME 1
50490 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50491 echo "${ECHO_T}$ntp_ok" >&6
50492 case "$ntp_ok$host" in
50493 yesvax-dec-bsd) { echo "$as_me:$LINENO: WARNING: *** But the expected answer is... no ***" >&5
50494 echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;} ;;
50497 echo "$as_me:$LINENO: checking TrueTime 560 IRIG-B decoder" >&5
50498 echo $ECHO_N "checking TrueTime 560 IRIG-B decoder... $ECHO_C" >&6
50499 # Check whether --enable-TT560 or --disable-TT560 was given.
50500 if test "${enable_TT560+set}" = set; then
50501 enableval="$enable_TT560"
50506 if test "$ntp_ok" = "yes"; then
50509 cat >>confdefs.h <<\_ACEOF
50510 #define CLOCK_TT560
50514 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50515 echo "${ECHO_T}$ntp_ok" >&6
50517 echo "$as_me:$LINENO: checking Ultralink M320 WWVB receiver" >&5
50518 echo $ECHO_N "checking Ultralink M320 WWVB receiver... $ECHO_C" >&6
50519 # Check whether --enable-ULINK or --disable-ULINK was given.
50520 if test "${enable_ULINK+set}" = set; then
50521 enableval="$enable_ULINK"
50526 if test "$ntp_ok" = "yes"; then
50529 cat >>confdefs.h <<\_ACEOF
50530 #define CLOCK_ULINK 1
50534 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50535 echo "${ECHO_T}$ntp_ok" >&6
50537 echo "$as_me:$LINENO: checking WWV receiver" >&5
50538 echo $ECHO_N "checking WWV receiver... $ECHO_C" >&6
50539 # Check whether --enable-WWV or --disable-WWV was given.
50540 if test "${enable_WWV+set}" = set; then
50541 enableval="$enable_WWV"
50544 case "$ntp_eac$ntp_canaudio" in
50549 if test "$ntp_ok" = "yes"; then
50552 cat >>confdefs.h <<\_ACEOF
50553 #define CLOCK_WWV 1
50557 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50558 echo "${ECHO_T}$ntp_ok" >&6
50559 case "$ntp_ok$ntp_canaudio" in
50560 yesno) { echo "$as_me:$LINENO: WARNING: *** But the expected answer is... no ***" >&5
50561 echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;} ;;
50564 echo "$as_me:$LINENO: checking for Zyfer receiver" >&5
50565 echo $ECHO_N "checking for Zyfer receiver... $ECHO_C" >&6
50566 # Check whether --enable-ZYFER or --disable-ZYFER was given.
50567 if test "${enable_ZYFER+set}" = set; then
50568 enableval="$enable_ZYFER"
50573 if test "$ntp_ok" = "yes"; then
50576 cat >>confdefs.h <<\_ACEOF
50577 #define CLOCK_ZYFER 1
50581 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50582 echo "${ECHO_T}$ntp_ok" >&6
50584 echo "$as_me:$LINENO: checking for default inclusion of all suitable PARSE clocks" >&5
50585 echo $ECHO_N "checking for default inclusion of all suitable PARSE clocks... $ECHO_C" >&6
50586 # Check whether --enable-parse-clocks or --disable-parse-clocks was given.
50587 if test "${enable_parse_clocks+set}" = set; then
50588 enableval="$enable_parse_clocks"
50589 ntp_eapc=$enableval
50592 yes) ntp_eapc=$ntp_canparse ;;
50595 # Delete the next line one of these days
50598 echo "$as_me:$LINENO: result: $ntp_eapc" >&5
50599 echo "${ECHO_T}$ntp_eapc" >&6
50601 case "$ntp_eac$ntp_eapc$ntp_canparse" in
50603 { { echo "$as_me:$LINENO: error: \"--enable-parse-clocks\" requires \"--enable-all-clocks\"." >&5
50604 echo "$as_me: error: \"--enable-parse-clocks\" requires \"--enable-all-clocks\"." >&2;}
50605 { (exit 1); exit 1; }; }
50608 { { echo "$as_me:$LINENO: error: You said \"--enable-parse-clocks\" but PARSE isn't supported on this platform!" >&5
50609 echo "$as_me: error: You said \"--enable-parse-clocks\" but PARSE isn't supported on this platform!" >&2;}
50610 { (exit 1); exit 1; }; }
50619 echo "$as_me:$LINENO: checking Diem Computime Radio Clock" >&5
50620 echo $ECHO_N "checking Diem Computime Radio Clock... $ECHO_C" >&6
50621 # Check whether --enable-COMPUTIME or --disable-COMPUTIME was given.
50622 if test "${enable_COMPUTIME+set}" = set; then
50623 enableval="$enable_COMPUTIME"
50628 if test "$ntp_ok" = "yes"; then
50632 cat >>confdefs.h <<\_ACEOF
50633 #define CLOCK_COMPUTIME 1
50637 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50638 echo "${ECHO_T}$ntp_ok" >&6
50639 case "$ntp_ok$ntp_canparse" in
50641 { { echo "$as_me:$LINENO: error: That's a parse clock and this system doesn't support it!" >&5
50642 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
50643 { (exit 1); exit 1; }; }
50647 echo "$as_me:$LINENO: checking ELV/DCF7000 clock" >&5
50648 echo $ECHO_N "checking ELV/DCF7000 clock... $ECHO_C" >&6
50649 # Check whether --enable-DCF7000 or --disable-DCF7000 was given.
50650 if test "${enable_DCF7000+set}" = set; then
50651 enableval="$enable_DCF7000"
50656 if test "$ntp_ok" = "yes"; then
50660 cat >>confdefs.h <<\_ACEOF
50661 #define CLOCK_DCF7000 1
50665 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50666 echo "${ECHO_T}$ntp_ok" >&6
50667 case "$ntp_ok$ntp_canparse" in
50669 { { echo "$as_me:$LINENO: error: That's a parse clock and this system doesn't support it!" >&5
50670 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
50671 { (exit 1); exit 1; }; }
50675 echo "$as_me:$LINENO: checking HOPF 6021 clock" >&5
50676 echo $ECHO_N "checking HOPF 6021 clock... $ECHO_C" >&6
50677 # Check whether --enable-HOPF6021 or --disable-HOPF6021 was given.
50678 if test "${enable_HOPF6021+set}" = set; then
50679 enableval="$enable_HOPF6021"
50684 if test "$ntp_ok" = "yes"; then
50688 cat >>confdefs.h <<\_ACEOF
50689 #define CLOCK_HOPF6021 1
50693 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50694 echo "${ECHO_T}$ntp_ok" >&6
50695 case "$ntp_ok$ntp_canparse" in
50697 { { echo "$as_me:$LINENO: error: That's a parse clock and this system doesn't support it!" >&5
50698 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
50699 { (exit 1); exit 1; }; }
50703 echo "$as_me:$LINENO: checking Meinberg clocks" >&5
50704 echo $ECHO_N "checking Meinberg clocks... $ECHO_C" >&6
50705 # Check whether --enable-MEINBERG or --disable-MEINBERG was given.
50706 if test "${enable_MEINBERG+set}" = set; then
50707 enableval="$enable_MEINBERG"
50712 if test "$ntp_ok" = "yes"; then
50716 cat >>confdefs.h <<\_ACEOF
50717 #define CLOCK_MEINBERG 1
50721 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50722 echo "${ECHO_T}$ntp_ok" >&6
50723 case "$ntp_ok$ntp_canparse" in
50725 { { echo "$as_me:$LINENO: error: That's a parse clock and this system doesn't support it!" >&5
50726 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
50727 { (exit 1); exit 1; }; }
50731 echo "$as_me:$LINENO: checking DCF77 raw time code" >&5
50732 echo $ECHO_N "checking DCF77 raw time code... $ECHO_C" >&6
50733 # Check whether --enable-RAWDCF or --disable-RAWDCF was given.
50734 if test "${enable_RAWDCF+set}" = set; then
50735 enableval="$enable_RAWDCF"
50740 if test "$ntp_ok" = "yes"; then
50746 cat >>confdefs.h <<\_ACEOF
50747 #define CLOCK_RAWDCF 1
50751 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50752 echo "${ECHO_T}$ntp_ok" >&6
50753 case "$ntp_ok$ntp_canparse" in
50755 { { echo "$as_me:$LINENO: error: That's a parse clock and this system doesn't support it!" >&5
50756 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
50757 { (exit 1); exit 1; }; }
50761 case "$ntp_rawdcf" in
50763 echo "$as_me:$LINENO: checking if we must enable parity for RAWDCF" >&5
50764 echo $ECHO_N "checking if we must enable parity for RAWDCF... $ECHO_C" >&6
50765 if test "${ac_cv_var_rawdcf_parity+set}" = set; then
50766 echo $ECHO_N "(cached) $ECHO_C" >&6
50774 ac_cv_var_rawdcf_parity=$ans
50776 echo "$as_me:$LINENO: result: $ac_cv_var_rawdcf_parity" >&5
50777 echo "${ECHO_T}$ac_cv_var_rawdcf_parity" >&6
50778 case "$ac_cv_var_rawdcf_parity" in
50780 cat >>confdefs.h <<\_ACEOF
50781 #define RAWDCF_NO_IGNPAR 1
50787 *) # HMS: Is this a good idea?
50788 ac_cv_var_rawdcf_parity=no
50792 echo "$as_me:$LINENO: checking RCC 8000 clock" >&5
50793 echo $ECHO_N "checking RCC 8000 clock... $ECHO_C" >&6
50794 # Check whether --enable-RCC8000 or --disable-RCC8000 was given.
50795 if test "${enable_RCC8000+set}" = set; then
50796 enableval="$enable_RCC8000"
50801 if test "$ntp_ok" = "yes"; then
50805 cat >>confdefs.h <<\_ACEOF
50806 #define CLOCK_RCC8000 1
50810 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50811 echo "${ECHO_T}$ntp_ok" >&6
50812 case "$ntp_ok$ntp_canparse" in
50814 { { echo "$as_me:$LINENO: error: That's a parse clock and this system doesn't support it!" >&5
50815 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
50816 { (exit 1); exit 1; }; }
50820 echo "$as_me:$LINENO: checking Schmid DCF77 clock" >&5
50821 echo $ECHO_N "checking Schmid DCF77 clock... $ECHO_C" >&6
50822 # Check whether --enable-SCHMID or --disable-SCHMID was given.
50823 if test "${enable_SCHMID+set}" = set; then
50824 enableval="$enable_SCHMID"
50829 if test "$ntp_ok" = "yes"; then
50833 cat >>confdefs.h <<\_ACEOF
50834 #define CLOCK_SCHMID 1
50838 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50839 echo "${ECHO_T}$ntp_ok" >&6
50840 case "$ntp_ok$ntp_canparse" in
50842 { { echo "$as_me:$LINENO: error: That's a parse clock and this system doesn't support it!" >&5
50843 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
50844 { (exit 1); exit 1; }; }
50848 echo "$as_me:$LINENO: checking Trimble GPS receiver/TAIP protocol" >&5
50849 echo $ECHO_N "checking Trimble GPS receiver/TAIP protocol... $ECHO_C" >&6
50850 # Check whether --enable-TRIMTAIP or --disable-TRIMTAIP was given.
50851 if test "${enable_TRIMTAIP+set}" = set; then
50852 enableval="$enable_TRIMTAIP"
50857 if test "$ntp_ok" = "yes"; then
50861 cat >>confdefs.h <<\_ACEOF
50862 #define CLOCK_TRIMTAIP 1
50866 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50867 echo "${ECHO_T}$ntp_ok" >&6
50868 case "$ntp_ok$ntp_canparse" in
50870 { { echo "$as_me:$LINENO: error: That's a parse clock and this system doesn't support it!" >&5
50871 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
50872 { (exit 1); exit 1; }; }
50876 echo "$as_me:$LINENO: checking Trimble GPS receiver/TSIP protocol" >&5
50877 echo $ECHO_N "checking Trimble GPS receiver/TSIP protocol... $ECHO_C" >&6
50878 # Check whether --enable-TRIMTSIP or --disable-TRIMTSIP was given.
50879 if test "${enable_TRIMTSIP+set}" = set; then
50880 enableval="$enable_TRIMTSIP"
50885 if test "$ntp_ok" = "yes"; then
50889 cat >>confdefs.h <<\_ACEOF
50890 #define CLOCK_TRIMTSIP 1
50894 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50895 echo "${ECHO_T}$ntp_ok" >&6
50896 case "$ntp_ok$ntp_canparse" in
50898 { { echo "$as_me:$LINENO: error: That's a parse clock and this system doesn't support it!" >&5
50899 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
50900 { (exit 1); exit 1; }; }
50904 echo "$as_me:$LINENO: checking WHARTON 400A Series clock" >&5
50905 echo $ECHO_N "checking WHARTON 400A Series clock... $ECHO_C" >&6
50906 # Check whether --enable-WHARTON or --disable-WHARTON was given.
50907 if test "${enable_WHARTON+set}" = set; then
50908 enableval="$enable_WHARTON"
50913 if test "$ntp_ok" = "yes"; then
50917 cat >>confdefs.h <<\_ACEOF
50918 #define CLOCK_WHARTON_400A 1
50922 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50923 echo "${ECHO_T}$ntp_ok" >&6
50924 case "$ntp_ok$ntp_canparse" in
50926 { { echo "$as_me:$LINENO: error: That's a parse clock and this system doesn't support it!" >&5
50927 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
50928 { (exit 1); exit 1; }; }
50932 echo "$as_me:$LINENO: checking VARITEXT clock" >&5
50933 echo $ECHO_N "checking VARITEXT clock... $ECHO_C" >&6
50934 # Check whether --enable-VARITEXT or --disable-VARITEXT was given.
50935 if test "${enable_VARITEXT+set}" = set; then
50936 enableval="$enable_VARITEXT"
50941 if test "$ntp_ok" = "yes"; then
50945 cat >>confdefs.h <<\_ACEOF
50946 #define CLOCK_VARITEXT 1
50950 echo "$as_me:$LINENO: result: $ntp_ok" >&5
50951 echo "${ECHO_T}$ntp_ok" >&6
50952 case "$ntp_ok$ntp_canparse" in
50954 { { echo "$as_me:$LINENO: error: That's a parse clock and this system doesn't support it!" >&5
50955 echo "$as_me: error: That's a parse clock and this system doesn't support it!" >&2;}
50956 { (exit 1); exit 1; }; }
50963 echo "$as_me:$LINENO: checking if we need to make and use the parse libraries" >&5
50964 echo $ECHO_N "checking if we need to make and use the parse libraries... $ECHO_C" >&6
50966 case "$ntp_libparse" in
50970 cat >>confdefs.h <<\_ACEOF
50971 #define CLOCK_PARSE 1
50974 LIBPARSE=../libparse/libparse.a
50975 MAKE_LIBPARSE=libparse.a
50976 # HMS: check_y2k trips the 34 year problem now...
50977 false && MAKE_CHECK_Y2K=check_y2k
50979 cat >>confdefs.h <<\_ACEOF
50980 #define PPS_SAMPLE 1
50983 cat >>confdefs.h <<\_ACEOF
50984 #define CLOCK_ATOM 1
50989 echo "$as_me:$LINENO: result: $ans" >&5
50990 echo "${ECHO_T}$ans" >&6
50992 # AC_SUBST(RSAOBJS)
50993 # AC_SUBST(RSASRCS)
50996 # AC_SUBST(LIBRSAREF)
50997 # AC_SUBST(MAKE_LIBRSAREF)
51003 echo "$as_me:$LINENO: checking for openssl library directory" >&5
51004 echo $ECHO_N "checking for openssl library directory... $ECHO_C" >&6
51006 # Check whether --with-openssl-libdir or --without-openssl-libdir was given.
51007 if test "${with_openssl_libdir+set}" = set; then
51008 withval="$with_openssl_libdir"
51019 ans="/usr/lib /usr/lib/openssl /usr/sfw/lib /usr/local/lib /usr/local/ssl/lib"
51021 *) # Look where they said
51026 *) # Look for libcrypto.a and libssl.a:
51031 test -f $i/libcrypto.dylib -a -f $i/libssl.dylib && break
51034 test -f $i/libcrypto.so -a -f $i/libssl.so && break
51035 test -f $i/libcrypto.a -a -f $i/libssl.a && break
51050 echo "$as_me:$LINENO: result: $ans" >&5
51051 echo "${ECHO_T}$ans" >&6
51053 echo "$as_me:$LINENO: checking for openssl include directory" >&5
51054 echo $ECHO_N "checking for openssl include directory... $ECHO_C" >&6
51056 # Check whether --with-openssl-incdir or --without-openssl-incdir was given.
51057 if test "${with_openssl_incdir+set}" = set; then
51058 withval="$with_openssl_incdir"
51069 ans="/usr/include /usr/sfw/include /usr/local/include /usr/local/ssl/include"
51071 *) # Look where they said
51076 *) # look for openssl/opensslconf.h:
51079 test -f $i/openssl/opensslconf.h && break
51092 echo "$as_me:$LINENO: result: $ans" >&5
51093 echo "${ECHO_T}$ans" >&6
51096 # Check whether --with-crypto or --without-crypto was given.
51097 if test "${with_crypto+set}" = set; then
51098 withval="$with_crypto"
51106 if test -z "$OPENSSL_LIB" -o -z "$OPENSSL_INC"
51110 # We have OpenSSL inc/lib - use them.
51112 CPPFLAGS="$CPPFLAGS -I$OPENSSL_INC"
51113 LDFLAGS="$LDFLAGS -L$OPENSSL_LIB"
51114 case "$need_dash_r" in
51115 1) LDFLAGS="$LDFLAGS -R$OPENSSL_LIB"
51121 cat >>confdefs.h <<\_ACEOF
51127 for ac_func in EVP_md2 EVP_mdc2
51129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51130 echo "$as_me:$LINENO: checking for $ac_func" >&5
51131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51132 if eval "test \"\${$as_ac_var+set}\" = set"; then
51133 echo $ECHO_N "(cached) $ECHO_C" >&6
51135 cat >conftest.$ac_ext <<_ACEOF
51138 cat confdefs.h >>conftest.$ac_ext
51139 cat >>conftest.$ac_ext <<_ACEOF
51140 /* end confdefs.h. */
51141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51143 #define $ac_func innocuous_$ac_func
51145 /* System header to define __stub macros and hopefully few prototypes,
51146 which can conflict with char $ac_func (); below.
51147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51148 <limits.h> exists even on freestanding compilers. */
51151 # include <limits.h>
51153 # include <assert.h>
51158 /* Override any gcc2 internal prototype to avoid an error. */
51163 /* We use char because int might match the return type of a gcc2
51164 builtin and then its argument prototype would still apply. */
51166 /* The GNU C library defines this for functions which it implements
51167 to always fail with ENOSYS. Some functions are actually named
51168 something starting with __ and the normal name is an alias. */
51169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51172 char (*f) () = $ac_func;
51181 return f != $ac_func;
51186 rm -f conftest.$ac_objext conftest$ac_exeext
51187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51188 (eval $ac_link) 2>conftest.er1
51190 grep -v '^ *+' conftest.er1 >conftest.err
51192 cat conftest.err >&5
51193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51194 (exit $ac_status); } &&
51195 { ac_try='test -z "$ac_c_werror_flag"
51196 || test ! -s conftest.err'
51197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51198 (eval $ac_try) 2>&5
51200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51201 (exit $ac_status); }; } &&
51202 { ac_try='test -s conftest$ac_exeext'
51203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51204 (eval $ac_try) 2>&5
51206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51207 (exit $ac_status); }; }; then
51208 eval "$as_ac_var=yes"
51210 echo "$as_me: failed program was:" >&5
51211 sed 's/^/| /' conftest.$ac_ext >&5
51213 eval "$as_ac_var=no"
51215 rm -f conftest.err conftest.$ac_objext \
51216 conftest$ac_exeext conftest.$ac_ext
51218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51220 if test `eval echo '${'$as_ac_var'}'` = yes; then
51221 cat >>confdefs.h <<_ACEOF
51222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51231 echo "$as_me:$LINENO: checking for the level of crypto support" >&5
51232 echo $ECHO_N "checking for the level of crypto support... $ECHO_C" >&6
51233 echo "$as_me:$LINENO: result: $ans" >&5
51234 echo "${ECHO_T}$ans" >&6
51236 echo "$as_me:$LINENO: checking if we want to compile with ElectricFence" >&5
51237 echo $ECHO_N "checking if we want to compile with ElectricFence... $ECHO_C" >&6
51239 # Check whether --with-electricfence or --without-electricfence was given.
51240 if test "${with_electricfence+set}" = set; then
51241 withval="$with_electricfence"
51249 LIBS="$LIBS \${top_builddir}/ElectricFence/libefence.a"
51250 EF_PROGS="eftest tstheap"
51252 EF_LIBS=libefence.a
51257 echo "$as_me:$LINENO: result: $ans" >&5
51258 echo "${ECHO_T}$ans" >&6
51261 echo "$as_me:$LINENO: checking if we want to run check-layout" >&5
51262 echo $ECHO_N "checking if we want to run check-layout... $ECHO_C" >&6
51263 case "$cross_compiling$PATH_PERL" in
51265 MAKE_CHECK_LAYOUT=check-layout
51272 echo "$as_me:$LINENO: result: $ans" >&5
51273 echo "${ECHO_T}$ans" >&6
51278 echo "$as_me:$LINENO: checking if we can make dcf parse utilities" >&5
51279 echo $ECHO_N "checking if we can make dcf parse utilities... $ECHO_C" >&6
51281 if test "$ntp_parseutil" = "yes"; then
51283 *-*-sunos4*|*-*-solaris2*|*-*-linux*|*-*-netbsd*)
51290 echo "$as_me:$LINENO: result: $ans" >&5
51291 echo "${ECHO_T}$ans" >&6
51294 echo "$as_me:$LINENO: checking if we can build kernel streams modules for parse" >&5
51295 echo $ECHO_N "checking if we can build kernel streams modules for parse... $ECHO_C" >&6
51297 case "$ntp_parseutil$ac_cv_header_sys_stropts_h" in
51301 case "$ac_cv_var_kernel_pll" in
51304 cat >>confdefs.h <<\_ACEOF
51311 MAKE_PARSEKMODULE=parsestreams.loadable_module.o
51315 MAKE_PARSEKMODULE=parse
51320 echo "$as_me:$LINENO: result: $ans" >&5
51321 echo "${ECHO_T}$ans" >&6
51323 echo "$as_me:$LINENO: checking if we need basic refclock support" >&5
51324 echo $ECHO_N "checking if we need basic refclock support... $ECHO_C" >&6
51325 if test "$ntp_refclock" = "yes"; then
51327 cat >>confdefs.h <<\_ACEOF
51332 echo "$as_me:$LINENO: result: $ntp_refclock" >&5
51333 echo "${ECHO_T}$ntp_refclock" >&6
51337 echo "$as_me:$LINENO: checking if we want HP-UX adjtimed support" >&5
51338 echo $ECHO_N "checking if we want HP-UX adjtimed support... $ECHO_C" >&6
51346 if test "$ans" = "yes"; then
51347 MAKE_ADJTIMED=adjtimed
51349 cat >>confdefs.h <<\_ACEOF
51350 #define NEED_HPUX_ADJTIME 1
51354 echo "$as_me:$LINENO: result: $ans" >&5
51355 echo "${ECHO_T}$ans" >&6
51357 echo "$as_me:$LINENO: checking if we want QNX adjtime support" >&5
51358 echo $ECHO_N "checking if we want QNX adjtime support... $ECHO_C" >&6
51366 if test "$ans" = "yes"; then
51368 cat >>confdefs.h <<\_ACEOF
51369 #define NEED_QNX_ADJTIME 1
51373 echo "$as_me:$LINENO: result: $ans" >&5
51374 echo "${ECHO_T}$ans" >&6
51376 echo "$as_me:$LINENO: checking if we can read kmem" >&5
51377 echo $ECHO_N "checking if we can read kmem... $ECHO_C" >&6
51378 if test "${ac_cv_var_can_kmem+set}" = set; then
51379 echo $ECHO_N "(cached) $ECHO_C" >&6
51381 # Check whether --enable-kmem or --disable-kmem was given.
51382 if test "${enable_kmem+set}" = set; then
51383 enableval="$enable_kmem"
51386 case "$ac_cv_func_nlist$ac_cv_func_K_open$ac_cv_func_kvm_open" in
51397 *-*-domainos) # Won't be found...
51418 ac_cv_var_can_kmem=$ans
51420 echo "$as_me:$LINENO: result: $ac_cv_var_can_kmem" >&5
51421 echo "${ECHO_T}$ac_cv_var_can_kmem" >&6
51423 case "$ac_cv_var_can_kmem" in
51426 cat >>confdefs.h <<\_ACEOF
51432 echo "$as_me:$LINENO: checking if adjtime is accurate" >&5
51433 echo $ECHO_N "checking if adjtime is accurate... $ECHO_C" >&6
51434 if test "${ac_cv_var_adjtime_is_accurate+set}" = set; then
51435 echo $ECHO_N "(cached) $ECHO_C" >&6
51437 # Check whether --enable-accurate-adjtime or --disable-accurate-adjtime was given.
51438 if test "${enable_accurate_adjtime+set}" = set; then
51439 enableval="$enable_accurate_adjtime"
51446 i386-unknown-osf1*)
51449 mips-sgi-irix[456]*)
51475 ac_cv_var_adjtime_is_accurate=$ans
51477 echo "$as_me:$LINENO: result: $ac_cv_var_adjtime_is_accurate" >&5
51478 echo "${ECHO_T}$ac_cv_var_adjtime_is_accurate" >&6
51479 case "$ac_cv_var_adjtime_is_accurate" in
51481 cat >>confdefs.h <<\_ACEOF
51482 #define ADJTIME_IS_ACCURATE 1
51487 echo "$as_me:$LINENO: checking the name of 'tick' in the kernel" >&5
51488 echo $ECHO_N "checking the name of 'tick' in the kernel... $ECHO_C" >&6
51489 if test "${ac_cv_var_nlist_tick+set}" = set; then
51490 echo $ECHO_N "(cached) $ECHO_C" >&6
51494 m68*-hp-hpux*) # HP9000/300?
51522 ac_cv_var_nlist_tick=$ans
51524 echo "$as_me:$LINENO: result: $ac_cv_var_nlist_tick" >&5
51525 echo "${ECHO_T}$ac_cv_var_nlist_tick" >&6
51526 case "$ac_cv_var_nlist_tick" in
51527 ''|no) ;; # HMS: I think we can only get 'no' here...
51529 cat >>confdefs.h <<_ACEOF
51530 #define K_TICK_NAME "$ac_cv_var_nlist_tick"
51535 echo "$as_me:$LINENO: checking for the units of 'tick'" >&5
51536 echo $ECHO_N "checking for the units of 'tick'... $ECHO_C" >&6
51537 if test "${ac_cv_var_tick_nano+set}" = set; then
51538 echo $ECHO_N "(cached) $ECHO_C" >&6
51546 ac_cv_var_tick_nano=$ans
51548 echo "$as_me:$LINENO: result: $ac_cv_var_tick_nano" >&5
51549 echo "${ECHO_T}$ac_cv_var_tick_nano" >&6
51550 case "$ac_cv_var_tick_nano" in
51553 cat >>confdefs.h <<\_ACEOF
51554 #define TICK_NANO 1
51560 echo "$as_me:$LINENO: checking the name of 'tickadj' in the kernel" >&5
51561 echo $ECHO_N "checking the name of 'tickadj' in the kernel... $ECHO_C" >&6
51562 if test "${ac_cv_var_nlist_tickadj+set}" = set; then
51563 echo $ECHO_N "(cached) $ECHO_C" >&6
51567 m68*-hp-hpux*) # HP9000/300?
51598 ans=no # hrestime_adj
51604 ac_cv_var_nlist_tickadj=$ans
51606 echo "$as_me:$LINENO: result: $ac_cv_var_nlist_tickadj" >&5
51607 echo "${ECHO_T}$ac_cv_var_nlist_tickadj" >&6
51608 case "$ac_cv_var_nlist_tickadj" in
51609 ''|no) ;; # HMS: I think we can only get 'no' here...
51611 cat >>confdefs.h <<_ACEOF
51612 #define K_TICKADJ_NAME "$ac_cv_var_nlist_tickadj"
51617 echo "$as_me:$LINENO: checking for the units of 'tickadj'" >&5
51618 echo $ECHO_N "checking for the units of 'tickadj'... $ECHO_C" >&6
51619 if test "${ac_cv_var_tickadj_nano+set}" = set; then
51620 echo $ECHO_N "(cached) $ECHO_C" >&6
51628 ac_cv_var_tickadj_nano=$ans
51630 echo "$as_me:$LINENO: result: $ac_cv_var_tickadj_nano" >&5
51631 echo "${ECHO_T}$ac_cv_var_tickadj_nano" >&6
51632 case "$ac_cv_var_tickadj_nano" in
51635 cat >>confdefs.h <<\_ACEOF
51636 #define TICKADJ_NANO 1
51642 echo "$as_me:$LINENO: checking half-heartedly for 'dosynctodr' in the kernel" >&5
51643 echo $ECHO_N "checking half-heartedly for 'dosynctodr' in the kernel... $ECHO_C" >&6
51644 if test "${ac_cv_var_nlist_dosynctodr+set}" = set; then
51645 echo $ECHO_N "(cached) $ECHO_C" >&6
51685 ac_cv_var_nlist_dosynctodr=$ans
51687 echo "$as_me:$LINENO: result: $ac_cv_var_nlist_dosynctodr" >&5
51688 echo "${ECHO_T}$ac_cv_var_nlist_dosynctodr" >&6
51689 case "$ac_cv_var_nlist_dosynctodr" in
51692 cat >>confdefs.h <<_ACEOF
51693 #define K_DOSYNCTODR_NAME "$ac_cv_var_nlist_dosynctodr"
51699 echo "$as_me:$LINENO: checking half-heartedly for 'noprintf' in the kernel" >&5
51700 echo $ECHO_N "checking half-heartedly for 'noprintf' in the kernel... $ECHO_C" >&6
51701 if test "${ac_cv_var_nlist_noprintf+set}" = set; then
51702 echo $ECHO_N "(cached) $ECHO_C" >&6
51736 ac_cv_var_nlist_noprintf=$ans
51738 echo "$as_me:$LINENO: result: $ac_cv_var_nlist_noprintf" >&5
51739 echo "${ECHO_T}$ac_cv_var_nlist_noprintf" >&6
51740 case "$ac_cv_var_nlist_noprintf" in
51743 cat >>confdefs.h <<_ACEOF
51744 #define K_NOPRINTF_NAME "$ac_cv_var_nlist_noprintf"
51753 echo "$as_me:$LINENO: checking for a default value for 'tick'" >&5
51754 echo $ECHO_N "checking for a default value for 'tick'... $ECHO_C" >&6
51755 if test "${ac_cv_var_tick+set}" = set; then
51756 echo $ECHO_N "(cached) $ECHO_C" >&6
51758 # Check whether --enable-tick or --disable-tick was given.
51759 if test "${enable_tick+set}" = set; then
51760 enableval="$enable_tick"
51790 ac_cv_var_tick=$ans
51792 echo "$as_me:$LINENO: result: $ac_cv_var_tick" >&5
51793 echo "${ECHO_T}$ac_cv_var_tick" >&6
51794 case "$ac_cv_var_tick" in
51795 ''|no) ;; # HMS: I think we can only get 'no' here...
51797 cat >>confdefs.h <<_ACEOF
51798 #define PRESET_TICK $ac_cv_var_tick
51803 echo "$as_me:$LINENO: checking for a default value for 'tickadj'" >&5
51804 echo $ECHO_N "checking for a default value for 'tickadj'... $ECHO_C" >&6
51805 if test "${ac_cv_var_tickadj+set}" = set; then
51806 echo $ECHO_N "(cached) $ECHO_C" >&6
51808 # Check whether --enable-tickadj or --disable-tickadj was given.
51809 if test "${enable_tickadj+set}" = set; then
51810 enableval="$enable_tickadj"
51816 case "$ac_cv_var_adjtime_is_accurate" in
51817 yes) ans='tick/16' ;;
51827 case "$ac_cv_var_can_kmem" in
51831 *-*-domainos) # Skippy: won't be found...
51832 case "$ac_cv_var_can_kmem" in
51837 case "$ac_cv_var_adjtime_is_accurate" in
51838 yes) ans='tick/16' ;;
51851 case "$ac_cv_var_adjtime_is_accurate" in
51865 ac_cv_var_tickadj=$ans
51867 echo "$as_me:$LINENO: result: $ac_cv_var_tickadj" >&5
51868 echo "${ECHO_T}$ac_cv_var_tickadj" >&6
51869 case "$ac_cv_var_tickadj" in
51870 ''|no) ;; # HMS: I think we can only get 'no' here...
51872 cat >>confdefs.h <<_ACEOF
51873 #define PRESET_TICKADJ $ac_cv_var_tickadj
51878 # Newer versions of ReliantUNIX round adjtime() values down to
51879 # 1/100s (system tick). Sigh ...
51880 # Unfortunately, there is no easy way to know if particular release
51881 # has this "feature" or any obvious way to test for it.
51884 cat >>confdefs.h <<\_ACEOF
51885 #define RELIANTUNIX_CLOCK 1
51892 cat >>confdefs.h <<\_ACEOF
51893 #define SCO5_CLOCK 1
51898 ac_cv_make_tickadj=yes
51899 case "$ac_cv_var_can_kmem$ac_cv_var_tick$ac_cv_var_tickadj" in
51900 nonono) # Don't read KMEM, no presets. Bogus.
51901 { echo "$as_me:$LINENO: WARNING: Can't read kmem" >&5
51902 echo "$as_me: WARNING: Can't read kmem" >&2;}
51903 ac_cv_make_tickadj=no
51905 nono*) # Don't read KMEM, no PRESET_TICK but PRESET_TICKADJ. Bogus.
51906 { echo "$as_me:$LINENO: WARNING: Can't read kmem but no PRESET_TICK. No tickadj." >&5
51907 echo "$as_me: WARNING: Can't read kmem but no PRESET_TICK. No tickadj." >&2;}
51908 ac_cv_make_tickadj=no
51910 no*no) # Don't read KMEM, PRESET_TICK but no PRESET_TICKADJ. Bogus.
51911 { echo "$as_me:$LINENO: WARNING: Can't read kmem but no PRESET_TICKADJ. No tickadj." >&5
51912 echo "$as_me: WARNING: Can't read kmem but no PRESET_TICKADJ. No tickadj." >&2;}
51913 ac_cv_make_tickadj=no
51915 no*) # Don't read KMEM, PRESET_TICK and PRESET_TICKADJ. Cool.
51917 yesnono) # Read KMEM, no presets. Cool.
51919 yesno*) # Read KMEM, no PRESET_TICK but PRESET_TICKADJ. Bogus.
51920 { echo "$as_me:$LINENO: WARNING: PRESET_TICKADJ is defined but not PRESET_TICK. Please report this." >&5
51921 echo "$as_me: WARNING: PRESET_TICKADJ is defined but not PRESET_TICK. Please report this." >&2;}
51923 yes*no) # Read KMEM, PRESET_TICK but no PRESET_TICKADJ. Cool.
51925 yes*) # READ KMEM, PRESET_TICK and PRESET_TICKADJ.
51927 *) # Generally bogus.
51928 { { echo "$as_me:$LINENO: error: This shouldn't happen." >&5
51929 echo "$as_me: error: This shouldn't happen." >&2;}
51930 { (exit 1); exit 1; }; }
51935 echo "$as_me:$LINENO: checking if we want and can make the ntptime utility" >&5
51936 echo $ECHO_N "checking if we want and can make the ntptime utility... $ECHO_C" >&6
51937 if test "${ac_cv_make_ntptime+set}" = set; then
51938 echo $ECHO_N "(cached) $ECHO_C" >&6
51941 *) case "$ac_cv_struct_ntptimeval$ac_cv_var_kernel_pll" in
51951 ac_cv_make_ntptime=$ans
51953 echo "$as_me:$LINENO: result: $ac_cv_make_ntptime" >&5
51954 echo "${ECHO_T}$ac_cv_make_ntptime" >&6
51955 case "$ac_cv_make_ntptime" in
51957 MAKE_NTPTIME=ntptime
51964 # tickadj is pretty useless on newer versions of ReliantUNIX
51966 ac_cv_make_tickadj=no
51969 ac_cv_make_tickadj=no
51972 # DLM says tickadj is a no-no starting with solaris2.5
51974 *-*-solaris2.1[0-9]*)
51975 ac_cv_make_tickadj=no
51977 *-*-solaris2.[0-4]*) ;;
51978 *) ac_cv_make_tickadj=no ;;
51982 ac_cv_make_tickadj=no
51985 echo "$as_me:$LINENO: checking if we want and can make the tickadj utility" >&5
51986 echo $ECHO_N "checking if we want and can make the tickadj utility... $ECHO_C" >&6
51987 if test "${ac_cv_make_tickadj+set}" = set; then
51988 echo $ECHO_N "(cached) $ECHO_C" >&6
51990 ac_cv_make_tickadj=yes
51992 echo "$as_me:$LINENO: result: $ac_cv_make_tickadj" >&5
51993 echo "${ECHO_T}$ac_cv_make_tickadj" >&6
51994 case "$ac_cv_make_tickadj" in
51996 MAKE_TICKADJ=tickadj
52001 echo "$as_me:$LINENO: checking if we want and can make the timetrim utility" >&5
52002 echo $ECHO_N "checking if we want and can make the timetrim utility... $ECHO_C" >&6
52003 if test "${ac_cv_make_timetrim+set}" = set; then
52004 echo $ECHO_N "(cached) $ECHO_C" >&6
52008 ac_cv_make_timetrim=yes
52011 ac_cv_make_timetrim=yes
52014 ac_cv_make_timetrim=no
52018 echo "$as_me:$LINENO: result: $ac_cv_make_timetrim" >&5
52019 echo "${ECHO_T}$ac_cv_make_timetrim" >&6
52020 case "$ac_cv_make_timetrim" in
52022 MAKE_TIMETRIM=timetrim
52028 echo "$as_me:$LINENO: checking if we want to build the NTPD simulator" >&5
52029 echo $ECHO_N "checking if we want to build the NTPD simulator... $ECHO_C" >&6
52030 if test "${ac_cv_var_ntpd_sim+set}" = set; then
52031 echo $ECHO_N "(cached) $ECHO_C" >&6
52033 # Check whether --enable-simulator or --disable-simulator was given.
52034 if test "${enable_simulator+set}" = set; then
52035 enableval="$enable_simulator"
52040 ac_cv_var_ntpd_sim=$ans
52042 echo "$as_me:$LINENO: result: $ac_cv_var_ntpd_sim" >&5
52043 echo "${ECHO_T}$ac_cv_var_ntpd_sim" >&6
52044 case "$ac_cv_var_ntpd_sim" in
52046 MAKE_NTPDSIM=ntpdsim
52047 MAKE_LIBNTPSIM=libntpsim.a
52056 LDFLAGS="$LDFLAGS -r"
52062 echo "$as_me:$LINENO: checking if we should always slew the time" >&5
52063 echo $ECHO_N "checking if we should always slew the time... $ECHO_C" >&6
52064 if test "${ac_cv_var_slew_always+set}" = set; then
52065 echo $ECHO_N "(cached) $ECHO_C" >&6
52067 # Check whether --enable-slew-always or --disable-slew-always was given.
52068 if test "${enable_slew_always+set}" = set; then
52069 enableval="$enable_slew_always"
52082 *-*-openvms*) # HMS: won't be found
52090 ac_cv_var_slew_always=$ans
52092 echo "$as_me:$LINENO: result: $ac_cv_var_slew_always" >&5
52093 echo "${ECHO_T}$ac_cv_var_slew_always" >&6
52094 case "$ac_cv_var_slew_always" in
52096 cat >>confdefs.h <<\_ACEOF
52097 #define SLEWALWAYS 1
52102 echo "$as_me:$LINENO: checking if we should step and slew the time" >&5
52103 echo $ECHO_N "checking if we should step and slew the time... $ECHO_C" >&6
52104 if test "${ac_cv_var_step_slew+set}" = set; then
52105 echo $ECHO_N "(cached) $ECHO_C" >&6
52107 # Check whether --enable-step-slew or --disable-step-slew was given.
52108 if test "${enable_step_slew+set}" = set; then
52109 enableval="$enable_step_slew"
52122 *-*-solaris2.1[0-9]*)
52125 *-*-solaris2.[012]*)
52128 *-*-sysv4*) # HMS: Does this catch Fujitsu UXP?
52136 ac_cv_var_step_slew=$ans
52138 echo "$as_me:$LINENO: result: $ac_cv_var_step_slew" >&5
52139 echo "${ECHO_T}$ac_cv_var_step_slew" >&6
52140 case "$ac_cv_var_step_slew" in
52142 cat >>confdefs.h <<\_ACEOF
52143 #define STEP_SLEW 1
52148 echo "$as_me:$LINENO: checking if ntpdate should step the time" >&5
52149 echo $ECHO_N "checking if ntpdate should step the time... $ECHO_C" >&6
52150 if test "${ac_cv_var_ntpdate_step+set}" = set; then
52151 echo $ECHO_N "(cached) $ECHO_C" >&6
52153 # Check whether --enable-ntpdate-step or --disable-ntpdate-step was given.
52154 if test "${enable_ntpdate_step+set}" = set; then
52155 enableval="$enable_ntpdate_step"
52167 ac_cv_var_ntpdate_step=$ans
52169 echo "$as_me:$LINENO: result: $ac_cv_var_ntpdate_step" >&5
52170 echo "${ECHO_T}$ac_cv_var_ntpdate_step" >&6
52171 case "$ac_cv_var_ntpdate_step" in
52173 cat >>confdefs.h <<\_ACEOF
52174 #define FORCE_NTPDATE_STEP 1
52179 echo "$as_me:$LINENO: checking if we should sync TODR clock every hour" >&5
52180 echo $ECHO_N "checking if we should sync TODR clock every hour... $ECHO_C" >&6
52181 if test "${ac_cv_var_sync_todr+set}" = set; then
52182 echo $ECHO_N "(cached) $ECHO_C" >&6
52184 # Check whether --enable-hourly-todr-sync or --disable-hourly-todr-sync was given.
52185 if test "${enable_hourly_todr_sync+set}" = set; then
52186 enableval="$enable_hourly_todr_sync"
52193 *-*-openvms*) # HMS: won't be found
52200 ac_cv_var_sync_todr=$ans
52202 echo "$as_me:$LINENO: result: $ac_cv_var_sync_todr" >&5
52203 echo "${ECHO_T}$ac_cv_var_sync_todr" >&6
52204 case "$ac_cv_var_sync_todr" in
52206 cat >>confdefs.h <<\_ACEOF
52207 #define DOSYNCTODR 1
52212 echo "$as_me:$LINENO: checking if we should avoid kernel FLL bug" >&5
52213 echo $ECHO_N "checking if we should avoid kernel FLL bug... $ECHO_C" >&6
52214 if test "${ac_cv_var_kernel_fll_bug+set}" = set; then
52215 echo $ECHO_N "(cached) $ECHO_C" >&6
52217 # Check whether --enable-kernel-fll-bug or --disable-kernel-fll-bug was given.
52218 if test "${enable_kernel_fll_bug+set}" = set; then
52219 enableval="$enable_kernel_fll_bug"
52231 if test "$2" -ge 17
52233 # Generic_105181-17 and higher
52251 if test "$2" -ge 07
52253 # Generic_106541-07 and higher
52268 ac_cv_var_kernel_fll_bug=$ans
52270 echo "$as_me:$LINENO: result: $ac_cv_var_kernel_fll_bug" >&5
52271 echo "${ECHO_T}$ac_cv_var_kernel_fll_bug" >&6
52272 case "$ac_cv_var_kernel_fll_bug" in
52274 cat >>confdefs.h <<\_ACEOF
52275 #define KERNEL_FLL_BUG 1
52280 echo "$as_me:$LINENO: checking if we should use the IRIG sawtooth filter" >&5
52281 echo $ECHO_N "checking if we should use the IRIG sawtooth filter... $ECHO_C" >&6
52282 if test "${ac_cv_var_irig_sucks+set}" = set; then
52283 echo $ECHO_N "(cached) $ECHO_C" >&6
52285 # Check whether --enable-irig-sawtooth or --disable-irig-sawtooth was given.
52286 if test "${enable_irig_sawtooth+set}" = set; then
52287 enableval="$enable_irig_sawtooth"
52294 *-*-solaris2.1[0-9]*)
52302 ac_cv_var_irig_sucks=$ans
52304 echo "$as_me:$LINENO: result: $ac_cv_var_irig_sucks" >&5
52305 echo "${ECHO_T}$ac_cv_var_irig_sucks" >&6
52306 case "$ac_cv_var_irig_sucks" in
52308 cat >>confdefs.h <<\_ACEOF
52309 #define IRIG_SUCKS 1
52314 echo "$as_me:$LINENO: checking if we should enable NIST lockclock scheme" >&5
52315 echo $ECHO_N "checking if we should enable NIST lockclock scheme... $ECHO_C" >&6
52316 if test "${ac_cv_var_nist_lockclock+set}" = set; then
52317 echo $ECHO_N "(cached) $ECHO_C" >&6
52319 # Check whether --enable-nist or --disable-nist was given.
52320 if test "${enable_nist+set}" = set; then
52321 enableval="$enable_nist"
52326 ac_cv_var_nist_lockclock=$ans
52328 echo "$as_me:$LINENO: result: $ac_cv_var_nist_lockclock" >&5
52329 echo "${ECHO_T}$ac_cv_var_nist_lockclock" >&6
52330 case "$ac_cv_var_nist_lockclock" in
52332 cat >>confdefs.h <<\_ACEOF
52333 #define LOCKCLOCK 1
52342 if test $ac_cv_struct_sockaddr_has_sa_len = yes; then
52344 cat >>confdefs.h <<\_ACEOF
52345 #define ISC_PLATFORM_HAVESALEN
52350 # Check whether --enable-ipv6 or --disable-ipv6 was given.
52351 if test "${enable_ipv6+set}" = set; then
52352 enableval="$enable_ipv6"
52356 case "$enable_ipv6" in
52359 powerpc-ibm-aix4*) ;;
52362 cat >>confdefs.h <<\_ACEOF
52373 echo "$as_me:$LINENO: checking for IPv6 structures" >&5
52374 echo $ECHO_N "checking for IPv6 structures... $ECHO_C" >&6
52375 cat >conftest.$ac_ext <<_ACEOF
52378 cat confdefs.h >>conftest.$ac_ext
52379 cat >>conftest.$ac_ext <<_ACEOF
52380 /* end confdefs.h. */
52382 #include <sys/types.h>
52383 #include <sys/socket.h>
52384 #include <netinet/in.h>
52388 struct sockaddr_in6 sin6; return (0);
52393 rm -f conftest.$ac_objext
52394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52395 (eval $ac_compile) 2>conftest.er1
52397 grep -v '^ *+' conftest.er1 >conftest.err
52399 cat conftest.err >&5
52400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52401 (exit $ac_status); } &&
52402 { ac_try='test -z "$ac_c_werror_flag"
52403 || test ! -s conftest.err'
52404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52405 (eval $ac_try) 2>&5
52407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52408 (exit $ac_status); }; } &&
52409 { ac_try='test -s conftest.$ac_objext'
52410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52411 (eval $ac_try) 2>&5
52413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52414 (exit $ac_status); }; }; then
52415 echo "$as_me:$LINENO: result: yes" >&5
52416 echo "${ECHO_T}yes" >&6
52419 echo "$as_me: failed program was:" >&5
52420 sed 's/^/| /' conftest.$ac_ext >&5
52422 echo "$as_me:$LINENO: result: no" >&5
52423 echo "${ECHO_T}no" >&6
52426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52429 # See whether IPv6 support is provided via a Kame add-on.
52430 # This is done before other IPv6 linking tests so LIBS is properly set.
52432 echo "$as_me:$LINENO: checking for Kame IPv6 support" >&5
52433 echo $ECHO_N "checking for Kame IPv6 support... $ECHO_C" >&6
52435 # Check whether --with-kame or --without-kame was given.
52436 if test "${with_kame+set}" = set; then
52437 withval="$with_kame"
52438 use_kame="$withval"
52443 case "$use_kame" in
52447 kame_path=/usr/local/v6
52450 kame_path="$use_kame"
52454 case "$use_kame" in
52456 echo "$as_me:$LINENO: result: no" >&5
52457 echo "${ECHO_T}no" >&6
52460 if test -f $kame_path/lib/libinet6.a; then
52461 echo "$as_me:$LINENO: result: $kame_path/lib/libinet6.a" >&5
52462 echo "${ECHO_T}$kame_path/lib/libinet6.a" >&6
52463 LIBS="-L$kame_path/lib -linet6 $LIBS"
52465 { { echo "$as_me:$LINENO: error: $kame_path/lib/libinet6.a not found.
52467 Please choose the proper path with the following command:
52469 configure --with-kame=PATH
52471 echo "$as_me: error: $kame_path/lib/libinet6.a not found.
52473 Please choose the proper path with the following command:
52475 configure --with-kame=PATH
52477 { (exit 1); exit 1; }; }
52483 # Whether netinet6/in6.h is needed has to be defined in isc/platform.h.
52484 # Including it on Kame-using platforms is very bad, though, because
52485 # Kame uses #error against direct inclusion. So include it on only
52486 # the platform that is otherwise broken without it -- BSD/OS 4.0 through 4.1.
52487 # This is done before the in6_pktinfo check because that's what
52488 # netinet6/in6.h is needed for.
52492 ISC_PLATFORM_NEEDNETINET6IN6H="#define ISC_PLATFORM_NEEDNETINET6IN6H 1"
52493 LWRES_PLATFORM_NEEDNETINET6IN6H="#define LWRES_PLATFORM_NEEDNETINET6IN6H 1"
52494 isc_netinet6in6_hack="#include <netinet6/in6.h>"
52497 ISC_PLATFORM_NEEDNETINET6IN6H="#undef ISC_PLATFORM_NEEDNETINET6IN6H"
52498 LWRES_PLATFORM_NEEDNETINET6IN6H="#undef LWRES_PLATFORM_NEEDNETINET6IN6H"
52499 isc_netinet6in6_hack=""
52504 # This is similar to the netinet6/in6.h issue.
52507 *-sco-sysv*uw*|*-*-sysv*UnixWare*|*-*-sysv*OpenUNIX*)
52509 # ISC_PLATFORM_NEEDNETINETIN6H="#define ISC_PLATFORM_NEEDNETINETIN6H 1"
52510 # LWRES_PLATFORM_NEEDNETINETIN6H="#define LWRES_PLATFORM_NEEDNETINETIN6H 1"
52512 cat >>confdefs.h <<\_ACEOF
52513 #define ISC_PLATFORM_FIXIN6ISADDR 1
52516 isc_netinetin6_hack="#include <netinet/in6.h>"
52519 # ISC_PLATFORM_NEEDNETINETIN6H="#undef ISC_PLATFORM_NEEDNETINETIN6H"
52520 # LWRES_PLATFORM_NEEDNETINETIN6H="#undef LWRES_PLATFORM_NEEDNETINETIN6H"
52521 # ISC_PLATFORM_FIXIN6ISADDR="#undef ISC_PLATFORM_FIXIN6ISADDR"
52522 isc_netinetin6_hack=""
52527 echo "$as_me:$LINENO: checking for struct if_laddrconf" >&5
52528 echo $ECHO_N "checking for struct if_laddrconf... $ECHO_C" >&6
52529 cat >conftest.$ac_ext <<_ACEOF
52532 cat confdefs.h >>conftest.$ac_ext
52533 cat >>conftest.$ac_ext <<_ACEOF
52534 /* end confdefs.h. */
52536 #include <sys/types.h>
52537 #include <net/if6.h>
52542 struct if_laddrconf a;
52547 rm -f conftest.$ac_objext conftest$ac_exeext
52548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52549 (eval $ac_link) 2>conftest.er1
52551 grep -v '^ *+' conftest.er1 >conftest.err
52553 cat conftest.err >&5
52554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52555 (exit $ac_status); } &&
52556 { ac_try='test -z "$ac_c_werror_flag"
52557 || test ! -s conftest.err'
52558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52559 (eval $ac_try) 2>&5
52561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52562 (exit $ac_status); }; } &&
52563 { ac_try='test -s conftest$ac_exeext'
52564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52565 (eval $ac_try) 2>&5
52567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52568 (exit $ac_status); }; }; then
52569 echo "$as_me:$LINENO: result: yes" >&5
52570 echo "${ECHO_T}yes" >&6
52572 cat >>confdefs.h <<\_ACEOF
52573 #define ISC_PLATFORM_HAVEIF_LADDRCONF
52577 echo "$as_me: failed program was:" >&5
52578 sed 's/^/| /' conftest.$ac_ext >&5
52580 echo "$as_me:$LINENO: result: no" >&5
52581 echo "${ECHO_T}no" >&6
52583 rm -f conftest.err conftest.$ac_objext \
52584 conftest$ac_exeext conftest.$ac_ext
52586 echo "$as_me:$LINENO: checking for struct if_laddrreq" >&5
52587 echo $ECHO_N "checking for struct if_laddrreq... $ECHO_C" >&6
52588 cat >conftest.$ac_ext <<_ACEOF
52591 cat confdefs.h >>conftest.$ac_ext
52592 cat >>conftest.$ac_ext <<_ACEOF
52593 /* end confdefs.h. */
52595 #include <sys/types.h>
52596 #include <net/if6.h>
52601 struct if_laddrreq a;
52606 rm -f conftest.$ac_objext conftest$ac_exeext
52607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52608 (eval $ac_link) 2>conftest.er1
52610 grep -v '^ *+' conftest.er1 >conftest.err
52612 cat conftest.err >&5
52613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52614 (exit $ac_status); } &&
52615 { ac_try='test -z "$ac_c_werror_flag"
52616 || test ! -s conftest.err'
52617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52618 (eval $ac_try) 2>&5
52620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52621 (exit $ac_status); }; } &&
52622 { ac_try='test -s conftest$ac_exeext'
52623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52624 (eval $ac_try) 2>&5
52626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52627 (exit $ac_status); }; }; then
52628 echo "$as_me:$LINENO: result: yes" >&5
52629 echo "${ECHO_T}yes" >&6
52631 cat >>confdefs.h <<\_ACEOF
52632 #define ISC_PLATFORM_HAVEIF_LADDRREQ
52636 echo "$as_me: failed program was:" >&5
52637 sed 's/^/| /' conftest.$ac_ext >&5
52639 echo "$as_me:$LINENO: result: no" >&5
52640 echo "${ECHO_T}no" >&6
52642 rm -f conftest.err conftest.$ac_objext \
52643 conftest$ac_exeext conftest.$ac_ext
52645 case "$found_ipv6" in
52648 cat >>confdefs.h <<\_ACEOF
52649 #define ISC_PLATFORM_HAVEIPV6
52653 echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
52654 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6
52655 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
52656 echo $ECHO_N "(cached) $ECHO_C" >&6
52658 cat >conftest.$ac_ext <<_ACEOF
52661 cat confdefs.h >>conftest.$ac_ext
52662 cat >>conftest.$ac_ext <<_ACEOF
52663 /* end confdefs.h. */
52665 #include <sys/types.h>
52666 #include <sys/socket.h>
52667 #include <netinet/in.h>
52668 $isc_netinetin6_hack
52669 $isc_netinet6in6_hack
52675 static struct sockaddr_in6 ac_aggr;
52676 if (ac_aggr.sin6_scope_id)
52682 rm -f conftest.$ac_objext
52683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52684 (eval $ac_compile) 2>conftest.er1
52686 grep -v '^ *+' conftest.er1 >conftest.err
52688 cat conftest.err >&5
52689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52690 (exit $ac_status); } &&
52691 { ac_try='test -z "$ac_c_werror_flag"
52692 || test ! -s conftest.err'
52693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52694 (eval $ac_try) 2>&5
52696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52697 (exit $ac_status); }; } &&
52698 { ac_try='test -s conftest.$ac_objext'
52699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52700 (eval $ac_try) 2>&5
52702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52703 (exit $ac_status); }; }; then
52704 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
52706 echo "$as_me: failed program was:" >&5
52707 sed 's/^/| /' conftest.$ac_ext >&5
52709 cat >conftest.$ac_ext <<_ACEOF
52712 cat confdefs.h >>conftest.$ac_ext
52713 cat >>conftest.$ac_ext <<_ACEOF
52714 /* end confdefs.h. */
52716 #include <sys/types.h>
52717 #include <sys/socket.h>
52718 #include <netinet/in.h>
52719 $isc_netinetin6_hack
52720 $isc_netinet6in6_hack
52726 static struct sockaddr_in6 ac_aggr;
52727 if (sizeof ac_aggr.sin6_scope_id)
52733 rm -f conftest.$ac_objext
52734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52735 (eval $ac_compile) 2>conftest.er1
52737 grep -v '^ *+' conftest.er1 >conftest.err
52739 cat conftest.err >&5
52740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52741 (exit $ac_status); } &&
52742 { ac_try='test -z "$ac_c_werror_flag"
52743 || test ! -s conftest.err'
52744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52745 (eval $ac_try) 2>&5
52747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52748 (exit $ac_status); }; } &&
52749 { ac_try='test -s conftest.$ac_objext'
52750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52751 (eval $ac_try) 2>&5
52753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52754 (exit $ac_status); }; }; then
52755 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
52757 echo "$as_me: failed program was:" >&5
52758 sed 's/^/| /' conftest.$ac_ext >&5
52760 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
52762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52766 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
52767 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6
52768 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
52770 cat >>confdefs.h <<_ACEOF
52771 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
52778 echo "$as_me:$LINENO: checking for in6_pktinfo" >&5
52779 echo $ECHO_N "checking for in6_pktinfo... $ECHO_C" >&6
52780 cat >conftest.$ac_ext <<_ACEOF
52783 cat confdefs.h >>conftest.$ac_ext
52784 cat >>conftest.$ac_ext <<_ACEOF
52785 /* end confdefs.h. */
52787 #include <sys/types.h>
52788 #include <sys/socket.h>
52789 #include <netinet/in.h>
52790 $isc_netinetin6_hack
52791 $isc_netinet6in6_hack
52796 struct in6_pktinfo xyzzy; return (0);
52801 rm -f conftest.$ac_objext
52802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52803 (eval $ac_compile) 2>conftest.er1
52805 grep -v '^ *+' conftest.er1 >conftest.err
52807 cat conftest.err >&5
52808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52809 (exit $ac_status); } &&
52810 { ac_try='test -z "$ac_c_werror_flag"
52811 || test ! -s conftest.err'
52812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52813 (eval $ac_try) 2>&5
52815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52816 (exit $ac_status); }; } &&
52817 { ac_try='test -s conftest.$ac_objext'
52818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52819 (eval $ac_try) 2>&5
52821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52822 (exit $ac_status); }; }; then
52823 echo "$as_me:$LINENO: result: yes" >&5
52824 echo "${ECHO_T}yes" >&6
52826 cat >>confdefs.h <<\_ACEOF
52827 #define ISC_PLATFORM_HAVEIN6PKTINFO
52831 echo "$as_me: failed program was:" >&5
52832 sed 's/^/| /' conftest.$ac_ext >&5
52834 echo "$as_me:$LINENO: result: no -- disabling runtime ipv6 support" >&5
52835 echo "${ECHO_T}no -- disabling runtime ipv6 support" >&6
52837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52839 # HMS: Use HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID instead?
52840 echo "$as_me:$LINENO: checking for sin6_scope_id in struct sockaddr_in6" >&5
52841 echo $ECHO_N "checking for sin6_scope_id in struct sockaddr_in6... $ECHO_C" >&6
52842 cat >conftest.$ac_ext <<_ACEOF
52845 cat confdefs.h >>conftest.$ac_ext
52846 cat >>conftest.$ac_ext <<_ACEOF
52847 /* end confdefs.h. */
52849 #include <sys/types.h>
52850 #include <sys/socket.h>
52851 #include <netinet/in.h>
52852 $isc_netinetin6_hack
52853 $isc_netinet6in6_hack
52858 struct sockaddr_in6 xyzzy; xyzzy.sin6_scope_id = 0; return (0);
52863 rm -f conftest.$ac_objext
52864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52865 (eval $ac_compile) 2>conftest.er1
52867 grep -v '^ *+' conftest.er1 >conftest.err
52869 cat conftest.err >&5
52870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52871 (exit $ac_status); } &&
52872 { ac_try='test -z "$ac_c_werror_flag"
52873 || test ! -s conftest.err'
52874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52875 (eval $ac_try) 2>&5
52877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52878 (exit $ac_status); }; } &&
52879 { ac_try='test -s conftest.$ac_objext'
52880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52881 (eval $ac_try) 2>&5
52883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52884 (exit $ac_status); }; }; then
52885 echo "$as_me:$LINENO: result: yes" >&5
52886 echo "${ECHO_T}yes" >&6
52888 cat >>confdefs.h <<\_ACEOF
52889 #define ISC_PLATFORM_HAVESCOPEID
52893 echo "$as_me: failed program was:" >&5
52894 sed 's/^/| /' conftest.$ac_ext >&5
52896 result="#define LWRES_HAVE_SIN6_SCOPE_ID 1"
52898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52899 LWRES_HAVE_SIN6_SCOPE_ID="$result"
52904 # We need this check run all the time...
52905 echo "$as_me:$LINENO: checking for in6addr_any" >&5
52906 echo $ECHO_N "checking for in6addr_any... $ECHO_C" >&6
52907 cat >conftest.$ac_ext <<_ACEOF
52910 cat confdefs.h >>conftest.$ac_ext
52911 cat >>conftest.$ac_ext <<_ACEOF
52912 /* end confdefs.h. */
52914 #include <sys/types.h>
52915 #include <sys/socket.h>
52916 #include <netinet/in.h>
52917 $isc_netinetin6_hack
52918 $isc_netinet6in6_hack
52924 struct in6_addr in6; in6 = in6addr_any; return (in6.s6_addr[0]);
52929 rm -f conftest.$ac_objext conftest$ac_exeext
52930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52931 (eval $ac_link) 2>conftest.er1
52933 grep -v '^ *+' conftest.er1 >conftest.err
52935 cat conftest.err >&5
52936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52937 (exit $ac_status); } &&
52938 { ac_try='test -z "$ac_c_werror_flag"
52939 || test ! -s conftest.err'
52940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52941 (eval $ac_try) 2>&5
52943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52944 (exit $ac_status); }; } &&
52945 { ac_try='test -s conftest$ac_exeext'
52946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52947 (eval $ac_try) 2>&5
52949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52950 (exit $ac_status); }; }; then
52951 echo "$as_me:$LINENO: result: yes" >&5
52952 echo "${ECHO_T}yes" >&6
52954 echo "$as_me: failed program was:" >&5
52955 sed 's/^/| /' conftest.$ac_ext >&5
52957 echo "$as_me:$LINENO: result: no" >&5
52958 echo "${ECHO_T}no" >&6
52960 cat >>confdefs.h <<\_ACEOF
52961 #define ISC_PLATFORM_NEEDIN6ADDRANY
52966 rm -f conftest.err conftest.$ac_objext \
52967 conftest$ac_exeext conftest.$ac_ext
52970 # Look for a sysctl call to get the list of network interfaces.
52972 echo "$as_me:$LINENO: checking for interface list sysctl" >&5
52973 echo $ECHO_N "checking for interface list sysctl... $ECHO_C" >&6
52974 cat >conftest.$ac_ext <<_ACEOF
52977 cat confdefs.h >>conftest.$ac_ext
52978 cat >>conftest.$ac_ext <<_ACEOF
52979 /* end confdefs.h. */
52981 #include <sys/param.h>
52982 #include <sys/sysctl.h>
52983 #include <sys/socket.h>
52984 #ifdef NET_RT_IFLIST
52989 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
52990 $EGREP "found_rt_iflist" >/dev/null 2>&1; then
52991 echo "$as_me:$LINENO: result: yes" >&5
52992 echo "${ECHO_T}yes" >&6
52994 cat >>confdefs.h <<\_ACEOF
52995 #define HAVE_IFLIST_SYSCTL 1
52999 echo "$as_me:$LINENO: result: no" >&5
53000 echo "${ECHO_T}no" >&6
53009 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
53010 test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
53011 eval echo \""$sysconfdir"\"
53014 cat >>confdefs.h <<_ACEOF
53015 #define NTP_KEYSDIR "$ac_expanded"
53020 ac_config_files="$ac_config_files Makefile"
53022 ac_config_files="$ac_config_files ElectricFence/Makefile"
53024 ac_config_files="$ac_config_files adjtimed/Makefile"
53026 ac_config_files="$ac_config_files clockstuff/Makefile"
53028 ac_config_files="$ac_config_files include/Makefile"
53030 ac_config_files="$ac_config_files include/isc/Makefile"
53032 ac_config_files="$ac_config_files kernel/Makefile"
53034 ac_config_files="$ac_config_files kernel/sys/Makefile"
53036 ac_config_files="$ac_config_files libntp/Makefile"
53038 ac_config_files="$ac_config_files libparse/Makefile"
53040 ac_config_files="$ac_config_files ntpd/Makefile"
53042 ac_config_files="$ac_config_files ntpdate/Makefile"
53044 ac_config_files="$ac_config_files ntpdc/Makefile"
53046 ac_config_files="$ac_config_files ntpdc/nl.pl"
53048 ac_config_files="$ac_config_files ntpq/Makefile"
53050 ac_config_files="$ac_config_files parseutil/Makefile"
53052 ac_config_files="$ac_config_files scripts/Makefile"
53054 ac_config_files="$ac_config_files scripts/calc_tickadj"
53056 ac_config_files="$ac_config_files scripts/checktime"
53058 ac_config_files="$ac_config_files scripts/freq_adj"
53060 ac_config_files="$ac_config_files scripts/html2man"
53062 ac_config_files="$ac_config_files scripts/mkver"
53064 ac_config_files="$ac_config_files scripts/ntp-wait"
53066 ac_config_files="$ac_config_files scripts/ntpsweep"
53068 ac_config_files="$ac_config_files scripts/ntptrace"
53070 ac_config_files="$ac_config_files scripts/ntpver"
53072 ac_config_files="$ac_config_files scripts/plot_summary"
53074 ac_config_files="$ac_config_files scripts/summary"
53076 ac_config_files="$ac_config_files util/Makefile"
53080 ac_subdirs_all="$ac_subdirs_all sntp"
53082 subdirs="$subdirs sntp"
53085 cat >confcache <<\_ACEOF
53086 # This file is a shell script that caches the results of configure
53087 # tests run on this system so they can be shared between configure
53088 # scripts and configure runs, see configure's option --config-cache.
53089 # It is not useful on other systems. If it contains results you don't
53090 # want to keep, you may remove or edit it.
53092 # config.status only pays attention to the cache file if you give it
53093 # the --recheck option to rerun configure.
53095 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53096 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53097 # following values.
53101 # The following way of writing the cache mishandles newlines in values,
53102 # but we know of no workaround that is simple, portable, and efficient.
53103 # So, don't put newlines in cache variables' values.
53104 # Ultrix sh set writes to stderr and can't be redirected directly,
53105 # and sets the high bit in the cache file unless we assign to the vars.
53108 case `(ac_space=' '; set | grep ac_space) 2>&1` in
53110 # `set' does not quote correctly, so add quotes (double-quote
53111 # substitution turns \\\\ into \\, and sed turns \\ into \).
53114 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53117 # `set' quotes correctly as required by POSIX, so do not add quotes.
53119 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
53126 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53128 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53130 if diff $cache_file confcache >/dev/null 2>&1; then :; else
53131 if test -w $cache_file; then
53132 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
53133 cat confcache >$cache_file
53135 echo "not updating unwritable cache $cache_file"
53140 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53141 # Let make expand exec_prefix.
53142 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53144 # VPATH may cause trouble with some makes, so we remove $(srcdir),
53145 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
53146 # trailing colons and then remove the whole line if VPATH becomes empty
53147 # (actually we leave an empty line to preserve line numbers).
53148 if test "x$srcdir" = x.; then
53149 ac_vpsub='/^[ ]*VPATH[ ]*=/{
53150 s/:*\$(srcdir):*/:/;
53151 s/:*\${srcdir}:*/:/;
53153 s/^\([^=]*=[ ]*\):*/\1/;
53159 DEFS=-DHAVE_CONFIG_H
53163 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53164 # 1. Remove the extension, and $U if already installed.
53165 ac_i=`echo "$ac_i" |
53166 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
53168 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
53169 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
53171 LIBOBJS=$ac_libobjs
53173 LTLIBOBJS=$ac_ltlibobjs
53176 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
53177 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
53178 Usually this means the macro was only invoked conditionally." >&5
53179 echo "$as_me: error: conditional \"AMDEP\" was never defined.
53180 Usually this means the macro was only invoked conditionally." >&2;}
53181 { (exit 1); exit 1; }; }
53183 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
53184 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
53185 Usually this means the macro was only invoked conditionally." >&5
53186 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
53187 Usually this means the macro was only invoked conditionally." >&2;}
53188 { (exit 1); exit 1; }; }
53190 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
53191 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
53192 Usually this means the macro was only invoked conditionally." >&5
53193 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
53194 Usually this means the macro was only invoked conditionally." >&2;}
53195 { (exit 1); exit 1; }; }
53197 if test -z "${INSTALL_LIBOPTS_TRUE}" && test -z "${INSTALL_LIBOPTS_FALSE}"; then
53198 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LIBOPTS\" was never defined.
53199 Usually this means the macro was only invoked conditionally." >&5
53200 echo "$as_me: error: conditional \"INSTALL_LIBOPTS\" was never defined.
53201 Usually this means the macro was only invoked conditionally." >&2;}
53202 { (exit 1); exit 1; }; }
53204 if test -z "${NEED_LIBOPTS_TRUE}" && test -z "${NEED_LIBOPTS_FALSE}"; then
53205 { { echo "$as_me:$LINENO: error: conditional \"NEED_LIBOPTS\" was never defined.
53206 Usually this means the macro was only invoked conditionally." >&5
53207 echo "$as_me: error: conditional \"NEED_LIBOPTS\" was never defined.
53208 Usually this means the macro was only invoked conditionally." >&2;}
53209 { (exit 1); exit 1; }; }
53211 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
53212 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
53213 Usually this means the macro was only invoked conditionally." >&5
53214 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
53215 Usually this means the macro was only invoked conditionally." >&2;}
53216 { (exit 1); exit 1; }; }
53219 : ${CONFIG_STATUS=./config.status}
53220 ac_clean_files_save=$ac_clean_files
53221 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53222 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53223 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53224 cat >$CONFIG_STATUS <<_ACEOF
53226 # Generated by $as_me.
53227 # Run this file to recreate the current configuration.
53228 # Compiler output produced by configure, useful for debugging
53229 # configure, is in config.log if it exists.
53232 ac_cs_recheck=false
53234 SHELL=\${CONFIG_SHELL-$SHELL}
53237 cat >>$CONFIG_STATUS <<\_ACEOF
53238 ## --------------------- ##
53239 ## M4sh Initialization. ##
53240 ## --------------------- ##
53242 # Be Bourne compatible
53243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53247 # is contrary to our usage. Disable this feature.
53248 alias -g '${1+"$@"}'='"$@"'
53249 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
53252 DUALCASE=1; export DUALCASE # for MKS sh
53254 # Support unset when possible.
53255 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53262 # Work around bugs in pre-3.0 UWIN ksh.
53263 $as_unset ENV MAIL MAILPATH
53270 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53271 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53272 LC_TELEPHONE LC_TIME
53274 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53275 eval $as_var=C; export $as_var
53281 # Required to use basename.
53282 if expr a : '\(a\)' >/dev/null 2>&1; then
53288 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
53289 as_basename=basename
53295 # Name of the executable.
53296 as_me=`$as_basename "$0" ||
53297 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53298 X"$0" : 'X\(//\)$' \| \
53299 X"$0" : 'X\(/\)$' \| \
53300 . : '\(.\)' 2>/dev/null ||
53302 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
53303 /^X\/\(\/\/\)$/{ s//\1/; q; }
53304 /^X\/\(\/\).*/{ s//\1/; q; }
53308 # PATH needs CR, and LINENO needs CR and PATH.
53309 # Avoid depending upon Character Ranges.
53310 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53311 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53312 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53313 as_cr_digits='0123456789'
53314 as_cr_alnum=$as_cr_Letters$as_cr_digits
53316 # The user is always right.
53317 if test "${PATH_SEPARATOR+set}" != set; then
53318 echo "#! /bin/sh" >conf$$.sh
53319 echo "exit 0" >>conf$$.sh
53321 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53330 as_lineno_1=$LINENO
53331 as_lineno_2=$LINENO
53332 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
53333 test "x$as_lineno_1" != "x$as_lineno_2" &&
53334 test "x$as_lineno_3" = "x$as_lineno_2" || {
53335 # Find who we are. Look in the path if we contain no path at all
53338 *[\\/]* ) as_myself=$0 ;;
53339 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53340 for as_dir in $PATH
53343 test -z "$as_dir" && as_dir=.
53344 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53349 # We did not find ourselves, most probably we were run as `sh COMMAND'
53350 # in which case we are not to be found in the path.
53351 if test "x$as_myself" = x; then
53354 if test ! -f "$as_myself"; then
53355 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
53356 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
53357 { (exit 1); exit 1; }; }
53359 case $CONFIG_SHELL in
53361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53362 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
53365 test -z "$as_dir" && as_dir=.
53366 for as_base in sh bash ksh sh5; do
53369 if ("$as_dir/$as_base" -c '
53370 as_lineno_1=$LINENO
53371 as_lineno_2=$LINENO
53372 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
53373 test "x$as_lineno_1" != "x$as_lineno_2" &&
53374 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
53375 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
53376 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
53377 CONFIG_SHELL=$as_dir/$as_base
53378 export CONFIG_SHELL
53379 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
53387 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53388 # uniformly replaced by the line number. The first 'sed' inserts a
53389 # line-number line before each line; the second 'sed' does the real
53390 # work. The second script uses 'N' to pair each line-number line
53391 # with the numbered line, and appends trailing '-' during
53392 # substitution so that $LINENO is not a special case at line end.
53393 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53394 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
53395 sed '=' <$as_myself |
53400 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
53403 s,^['$as_cr_digits']*\n,,
53404 ' >$as_me.lineno &&
53405 chmod +x $as_me.lineno ||
53406 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
53407 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
53408 { (exit 1); exit 1; }; }
53410 # Don't try to exec as it changes $[0], causing all sort of problems
53411 # (the dirname of $[0] is not the place where we might find the
53412 # original and so on. Autoconf is especially sensible to this).
53414 # Exit status is that of the last command.
53419 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
53420 *c*,-n*) ECHO_N= ECHO_C='
53422 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
53423 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
53426 if expr a : '\(a\)' >/dev/null 2>&1; then
53432 rm -f conf$$ conf$$.exe conf$$.file
53434 if ln -s conf$$.file conf$$ 2>/dev/null; then
53435 # We could just check for DJGPP; but this test a) works b) is more generic
53436 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
53437 if test -f conf$$.exe; then
53438 # Don't use ln at all; we don't have any links
53443 elif ln conf$$.file conf$$ 2>/dev/null; then
53448 rm -f conf$$ conf$$.exe conf$$.file
53450 if mkdir -p . 2>/dev/null; then
53453 test -d ./-p && rmdir ./-p
53457 as_executable_p="test -f"
53459 # Sed expression to map a string onto a valid CPP name.
53460 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53462 # Sed expression to map a string onto a valid variable name.
53463 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53467 # We need space, tab and new line, in precisely that order.
53477 # Open the log real soon, to keep \$[0] and so on meaningful, and to
53478 # report actual input values of CONFIG_FILES etc. instead of their
53479 # values after options handling. Logging --version etc. is OK.
53483 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53484 ## Running $as_me. ##
53489 This file was extended by ntp $as_me 4.2.4p5, which was
53490 generated by GNU Autoconf 2.59. Invocation command line was
53492 CONFIG_FILES = $CONFIG_FILES
53493 CONFIG_HEADERS = $CONFIG_HEADERS
53494 CONFIG_LINKS = $CONFIG_LINKS
53495 CONFIG_COMMANDS = $CONFIG_COMMANDS
53499 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
53503 # Files that config.status was made for.
53504 if test -n "$ac_config_files"; then
53505 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
53508 if test -n "$ac_config_headers"; then
53509 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
53512 if test -n "$ac_config_links"; then
53513 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
53516 if test -n "$ac_config_commands"; then
53517 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
53520 cat >>$CONFIG_STATUS <<\_ACEOF
53523 \`$as_me' instantiates files from templates according to the
53524 current configuration.
53526 Usage: $0 [OPTIONS] [FILE]...
53528 -h, --help print this help, then exit
53529 -V, --version print version number, then exit
53530 -q, --quiet do not print progress messages
53531 -d, --debug don't remove temporary files
53532 --recheck update $as_me by reconfiguring in the same conditions
53533 --file=FILE[:TEMPLATE]
53534 instantiate the configuration file FILE
53535 --header=FILE[:TEMPLATE]
53536 instantiate the configuration header FILE
53538 Configuration files:
53541 Configuration headers:
53544 Configuration commands:
53547 Report bugs to <bug-autoconf@gnu.org>."
53550 cat >>$CONFIG_STATUS <<_ACEOF
53552 ntp config.status 4.2.4p5
53553 configured by $0, generated by GNU Autoconf 2.59,
53554 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
53556 Copyright (C) 2003 Free Software Foundation, Inc.
53557 This config.status script is free software; the Free Software Foundation
53558 gives unlimited permission to copy, distribute and modify it."
53563 cat >>$CONFIG_STATUS <<\_ACEOF
53564 # If no file are specified by the user, then we need to provide default
53565 # value. By we need to know if files were specified by the user.
53571 ac_option=`expr "x$1" : 'x\([^=]*\)='`
53572 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
53580 *) # This is not an option, so the user has probably given explicit
53583 ac_need_defaults=false;;
53587 # Handling of the options.
53589 cat >>$CONFIG_STATUS <<\_ACEOF
53590 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53592 --version | --vers* | -V )
53593 echo "$ac_cs_version"; exit 0 ;;
53595 # Conflict between --help and --header
53596 { { echo "$as_me:$LINENO: error: ambiguous option: $1
53597 Try \`$0 --help' for more information." >&5
53598 echo "$as_me: error: ambiguous option: $1
53599 Try \`$0 --help' for more information." >&2;}
53600 { (exit 1); exit 1; }; };;
53601 --help | --hel | -h )
53602 echo "$ac_cs_usage"; exit 0 ;;
53603 --debug | --d* | -d )
53605 --file | --fil | --fi | --f )
53607 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53608 ac_need_defaults=false;;
53609 --header | --heade | --head | --hea )
53611 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53612 ac_need_defaults=false;;
53613 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53614 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53617 # This is an error.
53618 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
53619 Try \`$0 --help' for more information." >&5
53620 echo "$as_me: error: unrecognized option: $1
53621 Try \`$0 --help' for more information." >&2;}
53622 { (exit 1); exit 1; }; } ;;
53624 *) ac_config_targets="$ac_config_targets $1" ;;
53630 ac_configure_extra_args=
53632 if $ac_cs_silent; then
53634 ac_configure_extra_args="$ac_configure_extra_args --silent"
53638 cat >>$CONFIG_STATUS <<_ACEOF
53639 if \$ac_cs_recheck; then
53640 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53641 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53646 cat >>$CONFIG_STATUS <<_ACEOF
53648 # INIT-COMMANDS section.
53651 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
53657 cat >>$CONFIG_STATUS <<\_ACEOF
53658 for ac_config_target in $ac_config_targets
53660 case "$ac_config_target" in
53661 # Handling of arguments.
53662 "libopts/Makefile" ) CONFIG_FILES="$CONFIG_FILES libopts/Makefile" ;;
53663 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53664 "ElectricFence/Makefile" ) CONFIG_FILES="$CONFIG_FILES ElectricFence/Makefile" ;;
53665 "adjtimed/Makefile" ) CONFIG_FILES="$CONFIG_FILES adjtimed/Makefile" ;;
53666 "clockstuff/Makefile" ) CONFIG_FILES="$CONFIG_FILES clockstuff/Makefile" ;;
53667 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
53668 "include/isc/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/isc/Makefile" ;;
53669 "kernel/Makefile" ) CONFIG_FILES="$CONFIG_FILES kernel/Makefile" ;;
53670 "kernel/sys/Makefile" ) CONFIG_FILES="$CONFIG_FILES kernel/sys/Makefile" ;;
53671 "libntp/Makefile" ) CONFIG_FILES="$CONFIG_FILES libntp/Makefile" ;;
53672 "libparse/Makefile" ) CONFIG_FILES="$CONFIG_FILES libparse/Makefile" ;;
53673 "ntpd/Makefile" ) CONFIG_FILES="$CONFIG_FILES ntpd/Makefile" ;;
53674 "ntpdate/Makefile" ) CONFIG_FILES="$CONFIG_FILES ntpdate/Makefile" ;;
53675 "ntpdc/Makefile" ) CONFIG_FILES="$CONFIG_FILES ntpdc/Makefile" ;;
53676 "ntpdc/nl.pl" ) CONFIG_FILES="$CONFIG_FILES ntpdc/nl.pl" ;;
53677 "ntpq/Makefile" ) CONFIG_FILES="$CONFIG_FILES ntpq/Makefile" ;;
53678 "parseutil/Makefile" ) CONFIG_FILES="$CONFIG_FILES parseutil/Makefile" ;;
53679 "scripts/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
53680 "scripts/calc_tickadj" ) CONFIG_FILES="$CONFIG_FILES scripts/calc_tickadj" ;;
53681 "scripts/checktime" ) CONFIG_FILES="$CONFIG_FILES scripts/checktime" ;;
53682 "scripts/freq_adj" ) CONFIG_FILES="$CONFIG_FILES scripts/freq_adj" ;;
53683 "scripts/html2man" ) CONFIG_FILES="$CONFIG_FILES scripts/html2man" ;;
53684 "scripts/mkver" ) CONFIG_FILES="$CONFIG_FILES scripts/mkver" ;;
53685 "scripts/ntp-wait" ) CONFIG_FILES="$CONFIG_FILES scripts/ntp-wait" ;;
53686 "scripts/ntpsweep" ) CONFIG_FILES="$CONFIG_FILES scripts/ntpsweep" ;;
53687 "scripts/ntptrace" ) CONFIG_FILES="$CONFIG_FILES scripts/ntptrace" ;;
53688 "scripts/ntpver" ) CONFIG_FILES="$CONFIG_FILES scripts/ntpver" ;;
53689 "scripts/plot_summary" ) CONFIG_FILES="$CONFIG_FILES scripts/plot_summary" ;;
53690 "scripts/summary" ) CONFIG_FILES="$CONFIG_FILES scripts/summary" ;;
53691 "util/Makefile" ) CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
53692 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
53693 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
53694 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53695 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53696 { (exit 1); exit 1; }; };;
53700 # If the user did not use the arguments to specify the items to instantiate,
53701 # then the envvar interface is used. Set only those that are not.
53702 # We use the long form for the default assignment because of an extremely
53703 # bizarre bug on SunOS 4.1.3.
53704 if $ac_need_defaults; then
53705 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53706 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53707 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53710 # Have a temporary directory for convenience. Make it in the build tree
53711 # simply because there is no reason to put it here, and in addition,
53712 # creating and moving files from /tmp can sometimes cause problems.
53713 # Create a temporary directory, and hook for its removal unless debugging.
53716 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
53717 trap '{ (exit 1); exit 1; }' 1 2 13 15
53720 # Create a (secure) tmp directory for tmp files.
53723 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
53724 test -n "$tmp" && test -d "$tmp"
53727 tmp=./confstat$$-$RANDOM
53728 (umask 077 && mkdir $tmp)
53731 echo "$me: cannot create a temporary directory in ." >&2
53732 { (exit 1); exit 1; }
53737 cat >>$CONFIG_STATUS <<_ACEOF
53740 # CONFIG_FILES section.
53743 # No need to generate the scripts if there are no CONFIG_FILES.
53744 # This happens for instance when ./config.status config.h
53745 if test -n "\$CONFIG_FILES"; then
53746 # Protect against being on the right side of a sed subst in config.status.
53747 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
53748 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
53749 s,@SHELL@,$SHELL,;t t
53750 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
53751 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
53752 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
53753 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
53754 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
53755 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
53756 s,@exec_prefix@,$exec_prefix,;t t
53757 s,@prefix@,$prefix,;t t
53758 s,@program_transform_name@,$program_transform_name,;t t
53759 s,@bindir@,$bindir,;t t
53760 s,@sbindir@,$sbindir,;t t
53761 s,@libexecdir@,$libexecdir,;t t
53762 s,@datadir@,$datadir,;t t
53763 s,@sysconfdir@,$sysconfdir,;t t
53764 s,@sharedstatedir@,$sharedstatedir,;t t
53765 s,@localstatedir@,$localstatedir,;t t
53766 s,@libdir@,$libdir,;t t
53767 s,@includedir@,$includedir,;t t
53768 s,@oldincludedir@,$oldincludedir,;t t
53769 s,@infodir@,$infodir,;t t
53770 s,@mandir@,$mandir,;t t
53771 s,@build_alias@,$build_alias,;t t
53772 s,@host_alias@,$host_alias,;t t
53773 s,@target_alias@,$target_alias,;t t
53774 s,@DEFS@,$DEFS,;t t
53775 s,@ECHO_C@,$ECHO_C,;t t
53776 s,@ECHO_N@,$ECHO_N,;t t
53777 s,@ECHO_T@,$ECHO_T,;t t
53778 s,@LIBS@,$LIBS,;t t
53779 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
53780 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
53781 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
53782 s,@CYGPATH_W@,$CYGPATH_W,;t t
53783 s,@PACKAGE@,$PACKAGE,;t t
53784 s,@VERSION@,$VERSION,;t t
53785 s,@ACLOCAL@,$ACLOCAL,;t t
53786 s,@AUTOCONF@,$AUTOCONF,;t t
53787 s,@AUTOMAKE@,$AUTOMAKE,;t t
53788 s,@AUTOHEADER@,$AUTOHEADER,;t t
53789 s,@MAKEINFO@,$MAKEINFO,;t t
53790 s,@install_sh@,$install_sh,;t t
53791 s,@STRIP@,$STRIP,;t t
53792 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
53793 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
53794 s,@mkdir_p@,$mkdir_p,;t t
53796 s,@SET_MAKE@,$SET_MAKE,;t t
53797 s,@am__leading_dot@,$am__leading_dot,;t t
53798 s,@AMTAR@,$AMTAR,;t t
53799 s,@am__tar@,$am__tar,;t t
53800 s,@am__untar@,$am__untar,;t t
53801 s,@build@,$build,;t t
53802 s,@build_cpu@,$build_cpu,;t t
53803 s,@build_vendor@,$build_vendor,;t t
53804 s,@build_os@,$build_os,;t t
53805 s,@host@,$host,;t t
53806 s,@host_cpu@,$host_cpu,;t t
53807 s,@host_vendor@,$host_vendor,;t t
53808 s,@host_os@,$host_os,;t t
53810 s,@CFLAGS@,$CFLAGS,;t t
53811 s,@LDFLAGS@,$LDFLAGS,;t t
53812 s,@CPPFLAGS@,$CPPFLAGS,;t t
53813 s,@ac_ct_CC@,$ac_ct_CC,;t t
53814 s,@EXEEXT@,$EXEEXT,;t t
53815 s,@OBJEXT@,$OBJEXT,;t t
53816 s,@DEPDIR@,$DEPDIR,;t t
53817 s,@am__include@,$am__include,;t t
53818 s,@am__quote@,$am__quote,;t t
53819 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
53820 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
53821 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
53822 s,@CCDEPMODE@,$CCDEPMODE,;t t
53823 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
53824 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
53826 s,@EGREP@,$EGREP,;t t
53827 s,@LIBOPTS_DIR@,$LIBOPTS_DIR,;t t
53828 s,@INSTALL_LIBOPTS_TRUE@,$INSTALL_LIBOPTS_TRUE,;t t
53829 s,@INSTALL_LIBOPTS_FALSE@,$INSTALL_LIBOPTS_FALSE,;t t
53830 s,@NEED_LIBOPTS_TRUE@,$NEED_LIBOPTS_TRUE,;t t
53831 s,@NEED_LIBOPTS_FALSE@,$NEED_LIBOPTS_FALSE,;t t
53832 s,@LIBOPTS_LDADD@,$LIBOPTS_LDADD,;t t
53833 s,@LIBOPTS_CFLAGS@,$LIBOPTS_CFLAGS,;t t
53834 s,@BINSUBDIR@,$BINSUBDIR,;t t
53835 s,@subdirs@,$subdirs,;t t
53836 s,@ARLIB_DIR@,$ARLIB_DIR,;t t
53837 s,@LN_S@,$LN_S,;t t
53838 s,@ECHO@,$ECHO,;t t
53840 s,@ac_ct_AR@,$ac_ct_AR,;t t
53841 s,@RANLIB@,$RANLIB,;t t
53842 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
53844 s,@CXXFLAGS@,$CXXFLAGS,;t t
53845 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
53846 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
53847 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
53848 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
53849 s,@CXXCPP@,$CXXCPP,;t t
53851 s,@FFLAGS@,$FFLAGS,;t t
53852 s,@ac_ct_F77@,$ac_ct_F77,;t t
53853 s,@LIBTOOL@,$LIBTOOL,;t t
53854 s,@PATH_SH@,$PATH_SH,;t t
53855 s,@PATH_PERL@,$PATH_PERL,;t t
53856 s,@READLINE_LIBS@,$READLINE_LIBS,;t t
53858 s,@ANSI2KNR@,$ANSI2KNR,;t t
53859 s,@LIBPARSE@,$LIBPARSE,;t t
53860 s,@MAKE_LIBPARSE@,$MAKE_LIBPARSE,;t t
53861 s,@MAKE_LIBPARSE_KERNEL@,$MAKE_LIBPARSE_KERNEL,;t t
53862 s,@MAKE_CHECK_Y2K@,$MAKE_CHECK_Y2K,;t t
53863 s,@OPENSSL@,$OPENSSL,;t t
53864 s,@OPENSSL_INC@,$OPENSSL_INC,;t t
53865 s,@OPENSSL_LIB@,$OPENSSL_LIB,;t t
53866 s,@LCRYPTO@,$LCRYPTO,;t t
53867 s,@EF_PROGS@,$EF_PROGS,;t t
53868 s,@EF_LIBS@,$EF_LIBS,;t t
53869 s,@MAKE_CHECK_LAYOUT@,$MAKE_CHECK_LAYOUT,;t t
53870 s,@TESTDCF@,$TESTDCF,;t t
53871 s,@DCFD@,$DCFD,;t t
53872 s,@MAKE_PARSEKMODULE@,$MAKE_PARSEKMODULE,;t t
53873 s,@PROPDELAY@,$PROPDELAY,;t t
53874 s,@CHUTEST@,$CHUTEST,;t t
53875 s,@CLKTEST@,$CLKTEST,;t t
53876 s,@MAKE_ADJTIMED@,$MAKE_ADJTIMED,;t t
53877 s,@MAKE_NTPTIME@,$MAKE_NTPTIME,;t t
53878 s,@MAKE_TICKADJ@,$MAKE_TICKADJ,;t t
53879 s,@MAKE_TIMETRIM@,$MAKE_TIMETRIM,;t t
53880 s,@MAKE_LIBNTPSIM@,$MAKE_LIBNTPSIM,;t t
53881 s,@MAKE_NTPDSIM@,$MAKE_NTPDSIM,;t t
53882 s,@LIBOBJS@,$LIBOBJS,;t t
53883 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
53888 cat >>$CONFIG_STATUS <<\_ACEOF
53889 # Split the substitutions into bite-sized pieces for seds with
53890 # small command number limits, like on Digital OSF/1 and HP-UX.
53891 ac_max_sed_lines=48
53892 ac_sed_frag=1 # Number of current file.
53893 ac_beg=1 # First line for current file.
53894 ac_end=$ac_max_sed_lines # Line after last line for current file.
53897 while $ac_more_lines; do
53898 if test $ac_beg -gt 1; then
53899 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
53901 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
53903 if test ! -s $tmp/subs.frag; then
53904 ac_more_lines=false
53906 # The purpose of the label and of the branching condition is to
53907 # speed up the sed processing (if there are no `@' at all, there
53908 # is no need to browse any of the substitutions).
53909 # These are the two extra sed commands mentioned above.
53911 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
53912 if test -z "$ac_sed_cmds"; then
53913 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
53915 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
53917 ac_sed_frag=`expr $ac_sed_frag + 1`
53919 ac_end=`expr $ac_end + $ac_max_sed_lines`
53922 if test -z "$ac_sed_cmds"; then
53925 fi # test -n "$CONFIG_FILES"
53928 cat >>$CONFIG_STATUS <<\_ACEOF
53929 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
53930 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
53932 - | *:- | *:-:* ) # input from stdin
53934 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
53935 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
53936 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
53937 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
53938 * ) ac_file_in=$ac_file.in ;;
53941 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
53942 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
53943 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53944 X"$ac_file" : 'X\(//\)[^/]' \| \
53945 X"$ac_file" : 'X\(//\)$' \| \
53946 X"$ac_file" : 'X\(/\)' \| \
53947 . : '\(.\)' 2>/dev/null ||
53949 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53950 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53951 /^X\(\/\/\)$/{ s//\1/; q; }
53952 /^X\(\/\).*/{ s//\1/; q; }
53954 { if $as_mkdir_p; then
53959 while test ! -d "$as_dir"; do
53960 as_dirs="$as_dir $as_dirs"
53961 as_dir=`(dirname "$as_dir") 2>/dev/null ||
53962 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53963 X"$as_dir" : 'X\(//\)[^/]' \| \
53964 X"$as_dir" : 'X\(//\)$' \| \
53965 X"$as_dir" : 'X\(/\)' \| \
53966 . : '\(.\)' 2>/dev/null ||
53968 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53969 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53970 /^X\(\/\/\)$/{ s//\1/; q; }
53971 /^X\(\/\).*/{ s//\1/; q; }
53974 test ! -n "$as_dirs" || mkdir $as_dirs
53975 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
53976 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
53977 { (exit 1); exit 1; }; }; }
53981 if test "$ac_dir" != .; then
53982 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53983 # A "../" for each directory in $ac_dir_suffix.
53984 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
53986 ac_dir_suffix= ac_top_builddir=
53990 .) # No --srcdir option. We are building in place.
53992 if test -z "$ac_top_builddir"; then
53995 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
53997 [\\/]* | ?:[\\/]* ) # Absolute path.
53998 ac_srcdir=$srcdir$ac_dir_suffix;
53999 ac_top_srcdir=$srcdir ;;
54000 *) # Relative path.
54001 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
54002 ac_top_srcdir=$ac_top_builddir$srcdir ;;
54005 # Do not use `cd foo && pwd` to compute absolute paths, because
54006 # the directories may not exist.
54008 .) ac_abs_builddir="$ac_dir";;
54011 .) ac_abs_builddir=`pwd`;;
54012 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
54013 *) ac_abs_builddir=`pwd`/"$ac_dir";;
54016 case $ac_abs_builddir in
54017 .) ac_abs_top_builddir=${ac_top_builddir}.;;
54019 case ${ac_top_builddir}. in
54020 .) ac_abs_top_builddir=$ac_abs_builddir;;
54021 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
54022 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
54025 case $ac_abs_builddir in
54026 .) ac_abs_srcdir=$ac_srcdir;;
54029 .) ac_abs_srcdir=$ac_abs_builddir;;
54030 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
54031 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
54034 case $ac_abs_builddir in
54035 .) ac_abs_top_srcdir=$ac_top_srcdir;;
54037 case $ac_top_srcdir in
54038 .) ac_abs_top_srcdir=$ac_abs_builddir;;
54039 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
54040 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
54046 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54047 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
54050 if test x"$ac_file" != x-; then
54051 { echo "$as_me:$LINENO: creating $ac_file" >&5
54052 echo "$as_me: creating $ac_file" >&6;}
54055 # Let's still pretend it is `configure' which instantiates (i.e., don't
54056 # use $as_me), people would be surprised to read:
54057 # /* config.h. Generated by config.status. */
54058 if test x"$ac_file" = x-; then
54061 configure_input="$ac_file. "
54063 configure_input=$configure_input"Generated from `echo $ac_file_in |
54064 sed 's,.*/,,'` by configure."
54066 # First look for the input files in the build tree, otherwise in the
54068 ac_file_inputs=`IFS=:
54069 for f in $ac_file_in; do
54071 -) echo $tmp/stdin ;;
54073 # Absolute (can't be DOS-style, as IFS=:)
54074 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
54075 echo "$as_me: error: cannot find input file: $f" >&2;}
54076 { (exit 1); exit 1; }; }
54079 if test -f "$f"; then
54082 elif test -f "$srcdir/$f"; then
54087 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
54088 echo "$as_me: error: cannot find input file: $f" >&2;}
54089 { (exit 1); exit 1; }; }
54092 done` || { (exit 1); exit 1; }
54094 cat >>$CONFIG_STATUS <<_ACEOF
54098 cat >>$CONFIG_STATUS <<\_ACEOF
54100 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54101 s,@configure_input@,$configure_input,;t t
54102 s,@srcdir@,$ac_srcdir,;t t
54103 s,@abs_srcdir@,$ac_abs_srcdir,;t t
54104 s,@top_srcdir@,$ac_top_srcdir,;t t
54105 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
54106 s,@builddir@,$ac_builddir,;t t
54107 s,@abs_builddir@,$ac_abs_builddir,;t t
54108 s,@top_builddir@,$ac_top_builddir,;t t
54109 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
54110 s,@INSTALL@,$ac_INSTALL,;t t
54111 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
54113 if test x"$ac_file" != x-; then
54114 mv $tmp/out $ac_file
54120 # Run the commands associated with the file.
54122 ntpdc/nl.pl ) chmod +x ntpdc/nl.pl ;;
54123 scripts/calc_tickadj ) chmod +x scripts/calc_tickadj ;;
54124 scripts/checktime ) chmod +x scripts/checktime ;;
54125 scripts/freq_adj ) chmod +x scripts/freq_adj ;;
54126 scripts/html2man ) chmod +x scripts/html2man ;;
54127 scripts/mkver ) chmod +x scripts/mkver ;;
54128 scripts/ntp-wait ) chmod +x scripts/ntp-wait ;;
54129 scripts/ntpsweep ) chmod +x scripts/ntpsweep ;;
54130 scripts/ntptrace ) chmod +x scripts/ntptrace ;;
54131 scripts/ntpver ) chmod +x scripts/ntpver ;;
54132 scripts/plot_summary ) chmod +x scripts/plot_summary ;;
54133 scripts/summary ) chmod +x scripts/summary ;;
54137 cat >>$CONFIG_STATUS <<\_ACEOF
54140 # CONFIG_HEADER section.
54143 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
54144 # NAME is the cpp macro being defined and VALUE is the value it is being given.
54146 # ac_d sets the value in "#define NAME VALUE" lines.
54147 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
54148 ac_dB='[ ].*$,\1#\2'
54151 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
54152 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
54153 ac_uB='$,\1#\2define\3'
54157 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
54158 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
54160 - | *:- | *:-:* ) # input from stdin
54162 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
54163 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
54164 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
54165 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
54166 * ) ac_file_in=$ac_file.in ;;
54169 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
54170 echo "$as_me: creating $ac_file" >&6;}
54172 # First look for the input files in the build tree, otherwise in the
54174 ac_file_inputs=`IFS=:
54175 for f in $ac_file_in; do
54177 -) echo $tmp/stdin ;;
54179 # Absolute (can't be DOS-style, as IFS=:)
54180 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
54181 echo "$as_me: error: cannot find input file: $f" >&2;}
54182 { (exit 1); exit 1; }; }
54183 # Do quote $f, to prevent DOS paths from being IFS'd.
54186 if test -f "$f"; then
54189 elif test -f "$srcdir/$f"; then
54194 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
54195 echo "$as_me: error: cannot find input file: $f" >&2;}
54196 { (exit 1); exit 1; }; }
54199 done` || { (exit 1); exit 1; }
54200 # Remove the trailing spaces.
54201 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
54205 # Transform confdefs.h into two sed scripts, `conftest.defines' and
54206 # `conftest.undefs', that substitutes the proper values into
54207 # config.h.in to produce config.h. The first handles `#define'
54208 # templates, and the second `#undef' templates.
54209 # And first: Protect against being on the right side of a sed subst in
54210 # config.status. Protect against being in an unquoted here document
54211 # in config.status.
54212 rm -f conftest.defines conftest.undefs
54213 # Using a here document instead of a string reduces the quoting nightmare.
54214 # Putting comments in sed scripts is not portable.
54216 # `end' is used to avoid that the second main sed command (meant for
54217 # 0-ary CPP macros) applies to n-ary macro definitions.
54218 # See the Autoconf documentation for `clear'.
54219 cat >confdef2sed.sed <<\_ACEOF
54224 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
54226 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
54229 # If some macros were called several times there might be several times
54230 # the same #defines, which is useless. Nevertheless, we may not want to
54231 # sort them, since we want the *last* AC-DEFINE to be honored.
54232 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
54233 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
54234 rm -f confdef2sed.sed
54236 # This sed command replaces #undef with comments. This is necessary, for
54237 # example, in the case of _POSIX_SOURCE, which is predefined and required
54238 # on some systems where configure will not decide to define it.
54239 cat >>conftest.undefs <<\_ACEOF
54240 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
54243 # Break up conftest.defines because some shells have a limit on the size
54244 # of here documents, and old seds have small limits too (100 cmds).
54245 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
54246 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
54247 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
54248 echo ' :' >>$CONFIG_STATUS
54249 rm -f conftest.tail
54250 while grep . conftest.defines >/dev/null
54252 # Write a limited-size here document to $tmp/defines.sed.
54253 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
54254 # Speed up: don't consider the non `#define' lines.
54255 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
54256 # Work around the forget-to-reset-the-flag bug.
54257 echo 't clr' >>$CONFIG_STATUS
54258 echo ': clr' >>$CONFIG_STATUS
54259 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
54261 sed -f $tmp/defines.sed $tmp/in >$tmp/out
54263 mv $tmp/out $tmp/in
54265 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
54266 rm -f conftest.defines
54267 mv conftest.tail conftest.defines
54269 rm -f conftest.defines
54270 echo ' fi # grep' >>$CONFIG_STATUS
54271 echo >>$CONFIG_STATUS
54273 # Break up conftest.undefs because some shells have a limit on the size
54274 # of here documents, and old seds have small limits too (100 cmds).
54275 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
54276 rm -f conftest.tail
54277 while grep . conftest.undefs >/dev/null
54279 # Write a limited-size here document to $tmp/undefs.sed.
54280 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
54281 # Speed up: don't consider the non `#undef'
54282 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
54283 # Work around the forget-to-reset-the-flag bug.
54284 echo 't clr' >>$CONFIG_STATUS
54285 echo ': clr' >>$CONFIG_STATUS
54286 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
54288 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
54290 mv $tmp/out $tmp/in
54292 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
54293 rm -f conftest.undefs
54294 mv conftest.tail conftest.undefs
54296 rm -f conftest.undefs
54298 cat >>$CONFIG_STATUS <<\_ACEOF
54299 # Let's still pretend it is `configure' which instantiates (i.e., don't
54300 # use $as_me), people would be surprised to read:
54301 # /* config.h. Generated by config.status. */
54302 if test x"$ac_file" = x-; then
54303 echo "/* Generated by configure. */" >$tmp/config.h
54305 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
54307 cat $tmp/in >>$tmp/config.h
54309 if test x"$ac_file" != x-; then
54310 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
54311 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54312 echo "$as_me: $ac_file is unchanged" >&6;}
54314 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
54315 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54316 X"$ac_file" : 'X\(//\)[^/]' \| \
54317 X"$ac_file" : 'X\(//\)$' \| \
54318 X"$ac_file" : 'X\(/\)' \| \
54319 . : '\(.\)' 2>/dev/null ||
54321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
54322 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
54323 /^X\(\/\/\)$/{ s//\1/; q; }
54324 /^X\(\/\).*/{ s//\1/; q; }
54326 { if $as_mkdir_p; then
54331 while test ! -d "$as_dir"; do
54332 as_dirs="$as_dir $as_dirs"
54333 as_dir=`(dirname "$as_dir") 2>/dev/null ||
54334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54335 X"$as_dir" : 'X\(//\)[^/]' \| \
54336 X"$as_dir" : 'X\(//\)$' \| \
54337 X"$as_dir" : 'X\(/\)' \| \
54338 . : '\(.\)' 2>/dev/null ||
54340 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
54341 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
54342 /^X\(\/\/\)$/{ s//\1/; q; }
54343 /^X\(\/\).*/{ s//\1/; q; }
54346 test ! -n "$as_dirs" || mkdir $as_dirs
54347 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
54348 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
54349 { (exit 1); exit 1; }; }; }
54352 mv $tmp/config.h $ac_file
54356 rm -f $tmp/config.h
54358 # Compute $ac_file's index in $config_headers.
54360 for _am_header in $config_headers :; do
54361 case $_am_header in
54362 $ac_file | $ac_file:* )
54365 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
54368 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
54369 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54370 X$ac_file : 'X\(//\)[^/]' \| \
54371 X$ac_file : 'X\(//\)$' \| \
54372 X$ac_file : 'X\(/\)' \| \
54373 . : '\(.\)' 2>/dev/null ||
54375 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
54376 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
54377 /^X\(\/\/\)$/{ s//\1/; q; }
54378 /^X\(\/\).*/{ s//\1/; q; }
54379 s/.*/./; q'`/stamp-h$_am_stamp_count
54382 cat >>$CONFIG_STATUS <<\_ACEOF
54385 # CONFIG_COMMANDS section.
54387 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
54388 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
54389 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
54390 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
54391 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54392 X"$ac_dest" : 'X\(//\)[^/]' \| \
54393 X"$ac_dest" : 'X\(//\)$' \| \
54394 X"$ac_dest" : 'X\(/\)' \| \
54395 . : '\(.\)' 2>/dev/null ||
54397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
54398 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
54399 /^X\(\/\/\)$/{ s//\1/; q; }
54400 /^X\(\/\).*/{ s//\1/; q; }
54402 { if $as_mkdir_p; then
54407 while test ! -d "$as_dir"; do
54408 as_dirs="$as_dir $as_dirs"
54409 as_dir=`(dirname "$as_dir") 2>/dev/null ||
54410 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54411 X"$as_dir" : 'X\(//\)[^/]' \| \
54412 X"$as_dir" : 'X\(//\)$' \| \
54413 X"$as_dir" : 'X\(/\)' \| \
54414 . : '\(.\)' 2>/dev/null ||
54416 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
54417 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
54418 /^X\(\/\/\)$/{ s//\1/; q; }
54419 /^X\(\/\).*/{ s//\1/; q; }
54422 test ! -n "$as_dirs" || mkdir $as_dirs
54423 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
54424 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
54425 { (exit 1); exit 1; }; }; }
54429 if test "$ac_dir" != .; then
54430 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54431 # A "../" for each directory in $ac_dir_suffix.
54432 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
54434 ac_dir_suffix= ac_top_builddir=
54438 .) # No --srcdir option. We are building in place.
54440 if test -z "$ac_top_builddir"; then
54443 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
54445 [\\/]* | ?:[\\/]* ) # Absolute path.
54446 ac_srcdir=$srcdir$ac_dir_suffix;
54447 ac_top_srcdir=$srcdir ;;
54448 *) # Relative path.
54449 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
54450 ac_top_srcdir=$ac_top_builddir$srcdir ;;
54453 # Do not use `cd foo && pwd` to compute absolute paths, because
54454 # the directories may not exist.
54456 .) ac_abs_builddir="$ac_dir";;
54459 .) ac_abs_builddir=`pwd`;;
54460 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
54461 *) ac_abs_builddir=`pwd`/"$ac_dir";;
54464 case $ac_abs_builddir in
54465 .) ac_abs_top_builddir=${ac_top_builddir}.;;
54467 case ${ac_top_builddir}. in
54468 .) ac_abs_top_builddir=$ac_abs_builddir;;
54469 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
54470 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
54473 case $ac_abs_builddir in
54474 .) ac_abs_srcdir=$ac_srcdir;;
54477 .) ac_abs_srcdir=$ac_abs_builddir;;
54478 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
54479 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
54482 case $ac_abs_builddir in
54483 .) ac_abs_top_srcdir=$ac_top_srcdir;;
54485 case $ac_top_srcdir in
54486 .) ac_abs_top_srcdir=$ac_abs_builddir;;
54487 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
54488 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
54493 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
54494 echo "$as_me: executing $ac_dest commands" >&6;}
54496 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
54497 # Strip MF so we end up with the name of the file.
54498 mf=`echo "$mf" | sed -e 's/:.*$//'`
54499 # Check whether this is an Automake generated Makefile or not.
54500 # We used to match only the files named `Makefile.in', but
54501 # some people rename them; so instead we look at the file content.
54502 # Grep'ing the first line is not enough: some people post-process
54503 # each Makefile.in and add a new line on top of each file to say so.
54504 # So let's grep whole file.
54505 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
54506 dirpart=`(dirname "$mf") 2>/dev/null ||
54507 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54508 X"$mf" : 'X\(//\)[^/]' \| \
54509 X"$mf" : 'X\(//\)$' \| \
54510 X"$mf" : 'X\(/\)' \| \
54511 . : '\(.\)' 2>/dev/null ||
54513 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
54514 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
54515 /^X\(\/\/\)$/{ s//\1/; q; }
54516 /^X\(\/\).*/{ s//\1/; q; }
54521 # Extract the definition of DEPDIR, am__include, and am__quote
54522 # from the Makefile without running `make'.
54523 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
54524 test -z "$DEPDIR" && continue
54525 am__include=`sed -n 's/^am__include = //p' < "$mf"`
54526 test -z "am__include" && continue
54527 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
54528 # When using ansi2knr, U may be empty or an underscore; expand it
54529 U=`sed -n 's/^U = //p' < "$mf"`
54530 # Find all dependency output files, they are included files with
54531 # $(DEPDIR) in their names. We invoke sed twice because it is the
54532 # simplest approach to changing $(DEPDIR) to its actual value in the
54534 for file in `sed -n "
54535 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
54536 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
54537 # Make sure the directory exists.
54538 test -f "$dirpart/$file" && continue
54539 fdir=`(dirname "$file") 2>/dev/null ||
54540 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54541 X"$file" : 'X\(//\)[^/]' \| \
54542 X"$file" : 'X\(//\)$' \| \
54543 X"$file" : 'X\(/\)' \| \
54544 . : '\(.\)' 2>/dev/null ||
54546 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
54547 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
54548 /^X\(\/\/\)$/{ s//\1/; q; }
54549 /^X\(\/\).*/{ s//\1/; q; }
54551 { if $as_mkdir_p; then
54552 mkdir -p $dirpart/$fdir
54554 as_dir=$dirpart/$fdir
54556 while test ! -d "$as_dir"; do
54557 as_dirs="$as_dir $as_dirs"
54558 as_dir=`(dirname "$as_dir") 2>/dev/null ||
54559 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54560 X"$as_dir" : 'X\(//\)[^/]' \| \
54561 X"$as_dir" : 'X\(//\)$' \| \
54562 X"$as_dir" : 'X\(/\)' \| \
54563 . : '\(.\)' 2>/dev/null ||
54565 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
54566 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
54567 /^X\(\/\/\)$/{ s//\1/; q; }
54568 /^X\(\/\).*/{ s//\1/; q; }
54571 test ! -n "$as_dirs" || mkdir $as_dirs
54572 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
54573 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
54574 { (exit 1); exit 1; }; }; }
54576 # echo "creating $dirpart/$file"
54577 echo '# dummy' > "$dirpart/$file"
54585 cat >>$CONFIG_STATUS <<\_ACEOF
54587 { (exit 0); exit 0; }
54589 chmod +x $CONFIG_STATUS
54590 ac_clean_files=$ac_clean_files_save
54593 # configure is writing to config.log, and then calls config.status.
54594 # config.status does its own redirection, appending to config.log.
54595 # Unfortunately, on DOS this fails, as config.log is still kept open
54596 # by configure, so config.status won't be able to write to it; its
54597 # output is simply discarded. So we exec the FD to /dev/null,
54598 # effectively closing config.log, so it can be properly (re)opened and
54599 # appended to by config.status. When coming back to configure, we
54600 # need to make the FD available again.
54601 if test "$no_create" != yes; then
54603 ac_config_status_args=
54604 test "$silent" = yes &&
54605 ac_config_status_args="$ac_config_status_args --quiet"
54607 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54609 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54610 # would make configure fail if this is the last instruction.
54611 $ac_cs_success || { (exit 1); exit 1; }
54615 # CONFIG_SUBDIRS section.
54617 if test "$no_recursion" != yes; then
54619 # Remove --cache-file and --srcdir arguments so they do not pile up.
54620 ac_sub_configure_args=
54622 for ac_arg in $ac_configure_args; do
54623 if test -n "$ac_prev"; then
54628 -cache-file | --cache-file | --cache-fil | --cache-fi \
54629 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54630 ac_prev=cache_file ;;
54631 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54632 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54635 --config-cache | -C)
54637 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54639 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54641 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54643 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54645 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
54649 # Always prepend --prefix to ensure using the same prefix
54650 # in subdir configurations.
54651 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
54654 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54656 # Do not complain, so a configure script can configure whichever
54657 # parts of a large source tree are present.
54658 test -d $srcdir/$ac_dir || continue
54660 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
54661 echo "$as_me: configuring in $ac_dir" >&6;}
54662 { if $as_mkdir_p; then
54667 while test ! -d "$as_dir"; do
54668 as_dirs="$as_dir $as_dirs"
54669 as_dir=`(dirname "$as_dir") 2>/dev/null ||
54670 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54671 X"$as_dir" : 'X\(//\)[^/]' \| \
54672 X"$as_dir" : 'X\(//\)$' \| \
54673 X"$as_dir" : 'X\(/\)' \| \
54674 . : '\(.\)' 2>/dev/null ||
54676 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
54677 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
54678 /^X\(\/\/\)$/{ s//\1/; q; }
54679 /^X\(\/\).*/{ s//\1/; q; }
54682 test ! -n "$as_dirs" || mkdir $as_dirs
54683 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
54684 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
54685 { (exit 1); exit 1; }; }; }
54689 if test "$ac_dir" != .; then
54690 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54691 # A "../" for each directory in $ac_dir_suffix.
54692 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
54694 ac_dir_suffix= ac_top_builddir=
54698 .) # No --srcdir option. We are building in place.
54700 if test -z "$ac_top_builddir"; then
54703 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
54705 [\\/]* | ?:[\\/]* ) # Absolute path.
54706 ac_srcdir=$srcdir$ac_dir_suffix;
54707 ac_top_srcdir=$srcdir ;;
54708 *) # Relative path.
54709 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
54710 ac_top_srcdir=$ac_top_builddir$srcdir ;;
54713 # Do not use `cd foo && pwd` to compute absolute paths, because
54714 # the directories may not exist.
54716 .) ac_abs_builddir="$ac_dir";;
54719 .) ac_abs_builddir=`pwd`;;
54720 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
54721 *) ac_abs_builddir=`pwd`/"$ac_dir";;
54724 case $ac_abs_builddir in
54725 .) ac_abs_top_builddir=${ac_top_builddir}.;;
54727 case ${ac_top_builddir}. in
54728 .) ac_abs_top_builddir=$ac_abs_builddir;;
54729 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
54730 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
54733 case $ac_abs_builddir in
54734 .) ac_abs_srcdir=$ac_srcdir;;
54737 .) ac_abs_srcdir=$ac_abs_builddir;;
54738 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
54739 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
54742 case $ac_abs_builddir in
54743 .) ac_abs_top_srcdir=$ac_top_srcdir;;
54745 case $ac_top_srcdir in
54746 .) ac_abs_top_srcdir=$ac_abs_builddir;;
54747 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
54748 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
54755 # Check for guested configure; otherwise get Cygnus style configure.
54756 if test -f $ac_srcdir/configure.gnu; then
54757 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
54758 elif test -f $ac_srcdir/configure; then
54759 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
54760 elif test -f $ac_srcdir/configure.in; then
54761 ac_sub_configure=$ac_configure
54763 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54764 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54768 # The recursion is here.
54769 if test -n "$ac_sub_configure"; then
54770 # Make the cache file name correct relative to the subdirectory.
54771 case $cache_file in
54772 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54773 *) # Relative path.
54774 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
54777 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54778 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54779 # The eval makes quoting arguments work.
54780 eval $ac_sub_configure $ac_sub_configure_args \
54781 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
54782 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54783 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54784 { (exit 1); exit 1; }; }