2 # From configure.in Revision: 1.196.2.2 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59.
6 # Copyright (C) 2003 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
23 DUALCASE
=1; export DUALCASE
# for MKS sh
25 # Support unset when possible.
26 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
33 # Work around bugs in pre-3.0 UWIN ksh.
34 $as_unset ENV MAIL MAILPATH
41 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
46 eval $as_var=C
; export $as_var
52 # Required to use basename.
53 if expr a
: '\(a\)' >/dev
/null
2>&1; then
59 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
66 # Name of the executable.
67 as_me
=`$as_basename "$0" ||
68 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
69 X"$0" : 'X\(//\)$' \| \
70 X"$0" : 'X\(/\)$' \| \
71 . : '\(.\)' 2>/dev/null ||
73 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
74 /^X\/\(\/\/\)$/{ s//\1/; q; }
75 /^X\/\(\/\).*/{ s//\1/; q; }
79 # PATH needs CR, and LINENO needs CR and PATH.
80 # Avoid depending upon Character Ranges.
81 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
82 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
83 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
84 as_cr_digits
='0123456789'
85 as_cr_alnum
=$as_cr_Letters$as_cr_digits
87 # The user is always right.
88 if test "${PATH_SEPARATOR+set}" != set; then
89 echo "#! /bin/sh" >conf$$.sh
90 echo "exit 0" >>conf$$.sh
92 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
103 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
104 test "x$as_lineno_1" != "x$as_lineno_2" &&
105 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
106 # Find who we are. Look in the path if we contain no path at all
109 *[\\/]* ) as_myself
=$0 ;;
110 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
114 test -z "$as_dir" && as_dir
=.
115 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
120 # We did not find ourselves, most probably we were run as `sh COMMAND'
121 # in which case we are not to be found in the path.
122 if test "x$as_myself" = x
; then
125 if test ! -f "$as_myself"; then
126 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
127 { (exit 1); exit 1; }; }
129 case $CONFIG_SHELL in
131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
132 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
135 test -z "$as_dir" && as_dir
=.
136 for as_base
in sh bash ksh sh5
; do
139 if ("$as_dir/$as_base" -c '
142 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
143 test "x$as_lineno_1" != "x$as_lineno_2" &&
144 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
145 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
146 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
147 CONFIG_SHELL
=$as_dir/$as_base
149 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
157 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
158 # uniformly replaced by the line number. The first 'sed' inserts a
159 # line-number line before each line; the second 'sed' does the real
160 # work. The second script uses 'N' to pair each line-number line
161 # with the numbered line, and appends trailing '-' during
162 # substitution so that $LINENO is not a special case at line end.
163 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
164 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
165 sed '=' <$as_myself |
170 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 s,^['$as_cr_digits']*\n,,
175 chmod +x
$as_me.lineno ||
176 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
177 { (exit 1); exit 1; }; }
179 # Don't try to exec as it changes $[0], causing all sort of problems
180 # (the dirname of $[0] is not the place where we might find the
181 # original and so on. Autoconf is especially sensible to this).
183 # Exit status is that of the last command.
188 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
189 *c
*,-n*) ECHO_N
= ECHO_C
='
191 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
192 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
195 if expr a
: '\(a\)' >/dev
/null
2>&1; then
201 rm -f conf$$ conf$$.exe conf$$.
file
203 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
204 # We could just check for DJGPP; but this test a) works b) is more generic
205 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
206 if test -f conf$$.exe
; then
207 # Don't use ln at all; we don't have any links
212 elif ln conf$$.
file conf$$
2>/dev
/null
; then
217 rm -f conf$$ conf$$.exe conf$$.
file
219 if mkdir
-p .
2>/dev
/null
; then
222 test -d .
/-p && rmdir .
/-p
226 as_executable_p
="test -f"
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
236 # We need space, tab and new line, in precisely that order.
246 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247 # so uname gets run too.
248 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
255 ac_default_prefix
=/usr
/local
256 ac_config_libobj_dir
=.
261 SHELL
=${CONFIG_SHELL-/bin/sh}
263 # Maximum number of lines to put in a shell here document.
264 # This variable seems obsolete. It should probably be removed, and
265 # only ac_max_sed_lines should be used.
266 : ${ac_max_here_lines=38}
268 # Identity of this package.
275 ac_unique_file
="tcpdump.c"
276 # Factoring default headers for most tests.
277 ac_includes_default
="\
280 # include <sys/types.h>
283 # include <sys/stat.h>
294 # if !STDC_HEADERS && HAVE_MEMORY_H
300 # include <strings.h>
303 # include <inttypes.h>
313 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os SHLICC2 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP LIBOBJS RANLIB ac_ct_RANLIB V_CCOPT V_DEFS V_GROUP V_INCLS V_PCAPDEP LOCALSRC INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LTLIBOBJS'
316 # Initialize some variables set by options.
318 ac_init_version
=false
319 # The variables have the same names as the options, with
320 # dashes changed to underlines.
328 program_transform_name
=s
,x
,x
,
336 # Installation directory options.
337 # These are left unexpanded so users can "make install exec_prefix=/foo"
338 # and all the variables that are supposed to be based on exec_prefix
339 # by default will actually change.
340 # Use braces instead of parens because sh, perl, etc. also accept them.
341 bindir
='${exec_prefix}/bin'
342 sbindir
='${exec_prefix}/sbin'
343 libexecdir
='${exec_prefix}/libexec'
344 datadir
='${prefix}/share'
345 sysconfdir
='${prefix}/etc'
346 sharedstatedir
='${prefix}/com'
347 localstatedir
='${prefix}/var'
348 libdir
='${exec_prefix}/lib'
349 includedir
='${prefix}/include'
350 oldincludedir
='/usr/include'
351 infodir
='${prefix}/info'
352 mandir
='${prefix}/man'
357 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
364 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366 # Accept the important Cygnus configure options, so we can diagnose typos.
370 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
372 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
375 -build |
--build |
--buil |
--bui |
--bu)
376 ac_prev
=build_alias
;;
377 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
378 build_alias
=$ac_optarg ;;
380 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
381 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
382 ac_prev
=cache_file
;;
383 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
384 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
385 cache_file
=$ac_optarg ;;
388 cache_file
=config.cache
;;
390 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
392 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
394 datadir
=$ac_optarg ;;
396 -disable-* |
--disable-*)
397 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398 # Reject names that are not valid shell variable names.
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401 { (exit 1); exit 1; }; }
402 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
403 eval "enable_$ac_feature=no" ;;
405 -enable-* |
--enable-*)
406 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407 # Reject names that are not valid shell variable names.
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410 { (exit 1); exit 1; }; }
411 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
413 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 eval "enable_$ac_feature='$ac_optarg'" ;;
418 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
419 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
420 |
--exec |
--exe |
--ex)
421 ac_prev
=exec_prefix
;;
422 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
423 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
424 |
--exec=* |
--exe=* |
--ex=*)
425 exec_prefix
=$ac_optarg ;;
427 -gas |
--gas |
--ga |
--g)
428 # Obsolete; use --with-gas.
431 -help |
--help |
--hel |
--he |
-h)
433 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
434 ac_init_help
=recursive
;;
435 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
436 ac_init_help
=short
;;
438 -host |
--host |
--hos |
--ho)
439 ac_prev
=host_alias
;;
440 -host=* |
--host=* |
--hos=* |
--ho=*)
441 host_alias
=$ac_optarg ;;
443 -includedir |
--includedir |
--includedi |
--included |
--include \
444 |
--includ |
--inclu |
--incl |
--inc)
445 ac_prev
=includedir
;;
446 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
447 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
448 includedir
=$ac_optarg ;;
450 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
452 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
453 infodir
=$ac_optarg ;;
455 -libdir |
--libdir |
--libdi |
--libd)
457 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
460 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
461 |
--libexe |
--libex |
--libe)
462 ac_prev
=libexecdir
;;
463 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
464 |
--libexe=* |
--libex=* |
--libe=*)
465 libexecdir
=$ac_optarg ;;
467 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
468 |
--localstate |
--localstat |
--localsta |
--localst \
469 |
--locals |
--local |
--loca |
--loc |
--lo)
470 ac_prev
=localstatedir
;;
471 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
472 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
473 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
474 localstatedir
=$ac_optarg ;;
476 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
478 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
482 # Obsolete; use --without-fp.
485 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
486 |
--no-cr |
--no-c |
-n)
489 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
490 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
493 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
494 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
495 |
--oldin |
--oldi |
--old |
--ol |
--o)
496 ac_prev
=oldincludedir
;;
497 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
498 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
499 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
500 oldincludedir
=$ac_optarg ;;
502 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
504 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
507 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
508 |
--program-pre |
--program-pr |
--program-p)
509 ac_prev
=program_prefix
;;
510 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
511 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
512 program_prefix
=$ac_optarg ;;
514 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
515 |
--program-suf |
--program-su |
--program-s)
516 ac_prev
=program_suffix
;;
517 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
518 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
519 program_suffix
=$ac_optarg ;;
521 -program-transform-name |
--program-transform-name \
522 |
--program-transform-nam |
--program-transform-na \
523 |
--program-transform-n |
--program-transform- \
524 |
--program-transform |
--program-transfor \
525 |
--program-transfo |
--program-transf \
526 |
--program-trans |
--program-tran \
527 |
--progr-tra |
--program-tr |
--program-t)
528 ac_prev
=program_transform_name
;;
529 -program-transform-name=* |
--program-transform-name=* \
530 |
--program-transform-nam=* |
--program-transform-na=* \
531 |
--program-transform-n=* |
--program-transform-=* \
532 |
--program-transform=* |
--program-transfor=* \
533 |
--program-transfo=* |
--program-transf=* \
534 |
--program-trans=* |
--program-tran=* \
535 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
536 program_transform_name
=$ac_optarg ;;
538 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
539 |
-silent |
--silent |
--silen |
--sile |
--sil)
542 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
544 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
546 sbindir
=$ac_optarg ;;
548 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
549 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
550 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
552 ac_prev
=sharedstatedir
;;
553 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
554 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
555 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
557 sharedstatedir
=$ac_optarg ;;
559 -site |
--site |
--sit)
561 -site=* |
--site=* |
--sit=*)
564 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
566 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
569 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
570 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
571 ac_prev
=sysconfdir
;;
572 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
573 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
574 sysconfdir
=$ac_optarg ;;
576 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
577 ac_prev
=target_alias
;;
578 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
579 target_alias
=$ac_optarg ;;
581 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
584 -version |
--version |
--versio |
--versi |
--vers |
-V)
588 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2
592 { (exit 1); exit 1; }; }
593 ac_package
=`echo $ac_package| sed 's/-/_/g'`
595 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 eval "with_$ac_package='$ac_optarg'" ;;
600 -without-* |
--without-*)
601 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602 # Reject names that are not valid shell variable names.
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
604 { echo "$as_me: error: invalid package name: $ac_package" >&2
605 { (exit 1); exit 1; }; }
606 ac_package
=`echo $ac_package | sed 's/-/_/g'`
607 eval "with_$ac_package=no" ;;
610 # Obsolete; use --with-x.
613 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
614 |
--x-incl |
--x-inc |
--x-in |
--x-i)
615 ac_prev
=x_includes
;;
616 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
617 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
618 x_includes
=$ac_optarg ;;
620 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
621 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
622 ac_prev
=x_libraries
;;
623 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
624 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
625 x_libraries
=$ac_optarg ;;
627 -*) { echo "$as_me: error: unrecognized option: $ac_option
628 Try \`$0 --help' for more information." >&2
629 { (exit 1); exit 1; }; }
633 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
634 # Reject names that are not valid shell variable names.
635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637 { (exit 1); exit 1; }; }
638 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639 eval "$ac_envvar='$ac_optarg'"
643 # FIXME: should be removed in autoconf 3.0.
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
653 if test -n "$ac_prev"; then
654 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
655 { echo "$as_me: error: missing argument to $ac_option" >&2
656 { (exit 1); exit 1; }; }
659 # Be sure to have absolute paths.
660 for ac_var
in exec_prefix prefix
662 eval ac_val
=$
`echo $ac_var`
664 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666 { (exit 1); exit 1; }; };;
670 # Be sure to have absolute paths.
671 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672 localstatedir libdir includedir oldincludedir infodir mandir
674 eval ac_val
=$
`echo $ac_var`
676 [\\/$
]* | ?
:[\\/]* ) ;;
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678 { (exit 1); exit 1; }; };;
682 # There might be people who depend on the old broken behavior: `$host'
683 # used to hold the argument of --host etc.
684 # FIXME: To remove some day.
689 # FIXME: To remove some day.
690 if test "x$host_alias" != x
; then
691 if test "x$build_alias" = x
; then
692 cross_compiling
=maybe
693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694 If a cross compiler is detected then cross compile mode will be used." >&2
695 elif test "x$build_alias" != "x$host_alias"; then
701 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
703 test "$silent" = yes && exec 6>/dev
/null
706 # Find the source files, if location was not specified.
707 if test -z "$srcdir"; then
708 ac_srcdir_defaulted
=yes
709 # Try the directory containing this script, then its parent.
710 ac_confdir
=`(dirname "$0") 2>/dev/null ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712 X"$0" : 'X\(//\)[^/]' \| \
713 X"$0" : 'X\(//\)$' \| \
714 X"$0" : 'X\(/\)' \| \
715 . : '\(.\)' 2>/dev/null ||
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719 /^X\(\/\/\)$/{ s//\1/; q; }
720 /^X\(\/\).*/{ s//\1/; q; }
723 if test ! -r $srcdir/$ac_unique_file; then
727 ac_srcdir_defaulted
=no
729 if test ! -r $srcdir/$ac_unique_file; then
730 if test "$ac_srcdir_defaulted" = yes; then
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732 { (exit 1); exit 1; }; }
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735 { (exit 1); exit 1; }; }
738 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740 { (exit 1); exit 1; }; }
741 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742 ac_env_build_alias_set
=${build_alias+set}
743 ac_env_build_alias_value
=$build_alias
744 ac_cv_env_build_alias_set
=${build_alias+set}
745 ac_cv_env_build_alias_value
=$build_alias
746 ac_env_host_alias_set
=${host_alias+set}
747 ac_env_host_alias_value
=$host_alias
748 ac_cv_env_host_alias_set
=${host_alias+set}
749 ac_cv_env_host_alias_value
=$host_alias
750 ac_env_target_alias_set
=${target_alias+set}
751 ac_env_target_alias_value
=$target_alias
752 ac_cv_env_target_alias_set
=${target_alias+set}
753 ac_cv_env_target_alias_value
=$target_alias
754 ac_env_CC_set
=${CC+set}
756 ac_cv_env_CC_set
=${CC+set}
757 ac_cv_env_CC_value
=$CC
758 ac_env_CFLAGS_set
=${CFLAGS+set}
759 ac_env_CFLAGS_value
=$CFLAGS
760 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
761 ac_cv_env_CFLAGS_value
=$CFLAGS
762 ac_env_LDFLAGS_set
=${LDFLAGS+set}
763 ac_env_LDFLAGS_value
=$LDFLAGS
764 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_cv_env_LDFLAGS_value
=$LDFLAGS
766 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
767 ac_env_CPPFLAGS_value
=$CPPFLAGS
768 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_env_CPP_set
=${CPP+set}
771 ac_env_CPP_value
=$CPP
772 ac_cv_env_CPP_set
=${CPP+set}
773 ac_cv_env_CPP_value
=$CPP
776 # Report the --help message.
778 if test "$ac_init_help" = "long"; then
779 # Omit some internal or obsolete options to make the list less imposing.
780 # This message is too long to be a string in the A/UX 3.1 sh.
782 \`configure' configures this package to adapt to many kinds of systems.
784 Usage: $0 [OPTION]... [VAR=VALUE]...
786 To assign environment variables (e.g., CC, CFLAGS...), specify them as
787 VAR=VALUE. See below for descriptions of some of the useful variables.
789 Defaults for the options are specified in brackets.
792 -h, --help display this help and exit
793 --help=short display options specific to this package
794 --help=recursive display the short help of all the included packages
795 -V, --version display version information and exit
796 -q, --quiet, --silent do not print \`checking...' messages
797 --cache-file=FILE cache test results in FILE [disabled]
798 -C, --config-cache alias for \`--cache-file=config.cache'
799 -n, --no-create do not create output files
800 --srcdir=DIR find the sources in DIR [configure dir or \`..']
805 Installation directories:
806 --prefix=PREFIX install architecture-independent files in PREFIX
808 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
811 By default, \`make install' will install all the files in
812 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
813 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
814 for instance \`--prefix=\$HOME'.
816 For better control, use the options below.
818 Fine tuning of the installation directories:
819 --bindir=DIR user executables [EPREFIX/bin]
820 --sbindir=DIR system admin executables [EPREFIX/sbin]
821 --libexecdir=DIR program executables [EPREFIX/libexec]
822 --datadir=DIR read-only architecture-independent data [PREFIX/share]
823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
825 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
826 --libdir=DIR object code libraries [EPREFIX/lib]
827 --includedir=DIR C header files [PREFIX/include]
828 --oldincludedir=DIR C header files for non-gcc [/usr/include]
829 --infodir=DIR info documentation [PREFIX/info]
830 --mandir=DIR man documentation [PREFIX/man]
836 --build=BUILD configure
for building on BUILD
[guessed
]
837 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
841 if test -n "$ac_init_help"; then
846 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
847 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
848 --enable-smb enable possibly-buggy SMB printer default
=yes
849 --disable-smb disable possibly-buggy SMB printer
850 --enable-ipv6 enable ipv6
(with ipv4
) support
851 --disable-ipv6 disable ipv6 support
854 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
855 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
856 --without-gcc don
't use gcc
857 --with-user=USERNAME drop privileges by default to USERNAME
858 --with-chroot=DIRECTORY when dropping privileges, chroot to DIRECTORY
859 --without-crypto disable crypto support
861 Some influential environment variables:
862 CC C compiler command
863 CFLAGS C compiler flags
864 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
865 nonstandard directory <lib dir>
866 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
867 headers in a nonstandard directory <include dir>
870 Use these variables to override the choices made by `configure' or to
help
871 it to
find libraries and programs with nonstandard names
/locations.
876 if test "$ac_init_help" = "recursive"; then
877 # If there are subdirs, report their specific --help.
879 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
880 test -d $ac_dir ||
continue
883 if test "$ac_dir" != .
; then
884 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
885 # A "../" for each directory in $ac_dir_suffix.
886 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
888 ac_dir_suffix
= ac_top_builddir
=
892 .
) # No --srcdir option. We are building in place.
894 if test -z "$ac_top_builddir"; then
897 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
899 [\\/]* | ?
:[\\/]* ) # Absolute path.
900 ac_srcdir
=$srcdir$ac_dir_suffix;
901 ac_top_srcdir
=$srcdir ;;
903 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
904 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
907 # Do not use `cd foo && pwd` to compute absolute paths, because
908 # the directories may not exist.
910 .
) ac_abs_builddir
="$ac_dir";;
913 .
) ac_abs_builddir
=`pwd`;;
914 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
915 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
918 case $ac_abs_builddir in
919 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
921 case ${ac_top_builddir}.
in
922 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
923 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
924 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
927 case $ac_abs_builddir in
928 .
) ac_abs_srcdir
=$ac_srcdir;;
931 .
) ac_abs_srcdir
=$ac_abs_builddir;;
932 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
933 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
936 case $ac_abs_builddir in
937 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
939 case $ac_top_srcdir in
940 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
941 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
942 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
947 # Check for guested configure; otherwise get Cygnus style configure.
948 if test -f $ac_srcdir/configure.gnu
; then
950 $SHELL $ac_srcdir/configure.gnu
--help=recursive
951 elif test -f $ac_srcdir/configure
; then
953 $SHELL $ac_srcdir/configure
--help=recursive
954 elif test -f $ac_srcdir/configure.ac ||
955 test -f $ac_srcdir/configure.
in; then
959 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
965 test -n "$ac_init_help" && exit 0
966 if $ac_init_version; then
969 Copyright
(C
) 2003 Free Software Foundation
, Inc.
970 This configure
script is free software
; the Free Software Foundation
971 gives unlimited permission to copy
, distribute and modify it.
977 This file contains any messages produced by compilers while
978 running configure, to aid debugging if configure makes a mistake.
980 It was created by $as_me, which was
981 generated by GNU Autoconf 2.59. Invocation command line was
992 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
993 uname -m = `(uname -m) 2>/dev/null || echo unknown`
994 uname -r = `(uname -r) 2>/dev/null || echo unknown`
995 uname -s = `(uname -s) 2>/dev/null || echo unknown`
996 uname -v = `(uname -v) 2>/dev/null || echo unknown`
998 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
999 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1001 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1002 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1003 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1004 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1005 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1006 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1007 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1015 test -z "$as_dir" && as_dir
=.
1016 echo "PATH: $as_dir"
1031 # Keep a trace of the command line.
1032 # Strip out --no-create and --no-recursion so they do not pile up.
1033 # Strip out --silent because we don't want to record it for future runs.
1034 # Also quote any args containing shell meta-characters.
1035 # Make two passes to allow for proper duplicate-argument suppression.
1040 ac_must_keep_next
=false
1046 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1047 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1048 |
-silent |
--silent |
--silen |
--sile |
--sil)
1050 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1051 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1054 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1056 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1057 if test $ac_must_keep_next = true
; then
1058 ac_must_keep_next
=false
# Got value, back to normal.
1061 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1062 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1063 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1064 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1065 case "$ac_configure_args0 " in
1066 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1069 -* ) ac_must_keep_next
=true
;;
1072 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1073 # Get rid of the leading space.
1079 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1080 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1082 # When interrupted or exit'd, cleanup temporary files, and complete
1083 # config.log. We remove comments because anyway the quotes in there
1084 # would cause problems or look ugly.
1085 # WARNING: Be sure not to use single quotes in there, as some shells,
1086 # such as our DU 5.0 friend, will then `close' the trap.
1087 trap 'exit_status=$?
1088 # Save into config.log some information that might help in debugging.
1093 ## ---------------- ##
1094 ## Cache variables. ##
1095 ## ---------------- ##
1098 # The following way of writing the cache mishandles newlines in values,
1101 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1104 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1105 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1109 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1116 ## ----------------- ##
1117 ## Output variables. ##
1118 ## ----------------- ##
1121 for ac_var in $ac_subst_vars
1123 eval ac_val=$`echo $ac_var`
1124 echo "$ac_var='"'"'$ac_val'"'"'"
1128 if test -n "$ac_subst_files"; then
1135 for ac_var in $ac_subst_files
1137 eval ac_val=$`echo $ac_var`
1138 echo "$ac_var='"'"'$ac_val'"'"'"
1143 if test -s confdefs.h; then
1150 sed "/^$/d" confdefs.h | sort
1153 test "$ac_signal" != 0 &&
1154 echo "$as_me: caught signal $ac_signal"
1155 echo "$as_me: exit $exit_status"
1157 rm -f core *.core &&
1158 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1161 for ac_signal
in 1 2 13 15; do
1162 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1166 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1167 rm -rf conftest
* confdefs.h
1168 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1171 # Predefined preprocessor variables.
1173 cat >>confdefs.h
<<_ACEOF
1174 #define PACKAGE_NAME "$PACKAGE_NAME"
1178 cat >>confdefs.h
<<_ACEOF
1179 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1183 cat >>confdefs.h
<<_ACEOF
1184 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1188 cat >>confdefs.h
<<_ACEOF
1189 #define PACKAGE_STRING "$PACKAGE_STRING"
1193 cat >>confdefs.h
<<_ACEOF
1194 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1198 # Let the site file select an alternate cache file if it wants to.
1199 # Prefer explicitly selected file to automatically selected ones.
1200 if test -z "$CONFIG_SITE"; then
1201 if test "x$prefix" != xNONE
; then
1202 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1204 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1207 for ac_site_file
in $CONFIG_SITE; do
1208 if test -r "$ac_site_file"; then
1209 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1210 echo "$as_me: loading site script $ac_site_file" >&6;}
1211 sed 's/^/| /' "$ac_site_file" >&5
1216 if test -r "$cache_file"; then
1217 # Some versions of bash will fail to source /dev/null (special
1218 # files actually), so we avoid doing that.
1219 if test -f "$cache_file"; then
1220 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1221 echo "$as_me: loading cache $cache_file" >&6;}
1223 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1224 *) . .
/$cache_file;;
1228 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1229 echo "$as_me: creating cache $cache_file" >&6;}
1233 # Check that the precious variables saved in the cache have kept the same
1235 ac_cache_corrupted
=false
1236 for ac_var
in `(set) 2>&1 |
1237 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1238 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1239 eval ac_new_set
=\
$ac_env_${ac_var}_set
1240 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1241 eval ac_new_val
="\$ac_env_${ac_var}_value"
1242 case $ac_old_set,$ac_new_set in
1244 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1245 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1246 ac_cache_corrupted
=: ;;
1248 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1249 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1250 ac_cache_corrupted
=: ;;
1253 if test "x$ac_old_val" != "x$ac_new_val"; then
1254 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1255 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1256 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1257 echo "$as_me: former value: $ac_old_val" >&2;}
1258 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1259 echo "$as_me: current value: $ac_new_val" >&2;}
1260 ac_cache_corrupted
=:
1263 # Pass precious variables to config.status.
1264 if test "$ac_new_set" = set; then
1266 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1267 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1268 *) ac_arg
=$ac_var=$ac_new_val ;;
1270 case " $ac_configure_args " in
1271 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1272 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1276 if $ac_cache_corrupted; then
1277 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1278 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1279 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1280 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1281 { (exit 1); exit 1; }; }
1285 ac_cpp
='$CPP $CPPFLAGS'
1286 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1287 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1288 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1310 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1311 if test -f $ac_dir/install-sh
; then
1313 ac_install_sh
="$ac_aux_dir/install-sh -c"
1315 elif test -f $ac_dir/install.sh
; then
1317 ac_install_sh
="$ac_aux_dir/install.sh -c"
1319 elif test -f $ac_dir/shtool
; then
1321 ac_install_sh
="$ac_aux_dir/shtool install -c"
1325 if test -z "$ac_aux_dir"; then
1326 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1327 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1328 { (exit 1); exit 1; }; }
1330 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1331 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1332 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1334 # Make sure we can run config.sub.
1335 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1336 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1337 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1338 { (exit 1); exit 1; }; }
1340 echo "$as_me:$LINENO: checking build system type" >&5
1341 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1342 if test "${ac_cv_build+set}" = set; then
1343 echo $ECHO_N "(cached) $ECHO_C" >&6
1345 ac_cv_build_alias
=$build_alias
1346 test -z "$ac_cv_build_alias" &&
1347 ac_cv_build_alias
=`$ac_config_guess`
1348 test -z "$ac_cv_build_alias" &&
1349 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1350 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1351 { (exit 1); exit 1; }; }
1352 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1353 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1354 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1355 { (exit 1); exit 1; }; }
1358 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1359 echo "${ECHO_T}$ac_cv_build" >&6
1361 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1362 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1363 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1366 echo "$as_me:$LINENO: checking host system type" >&5
1367 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1368 if test "${ac_cv_host+set}" = set; then
1369 echo $ECHO_N "(cached) $ECHO_C" >&6
1371 ac_cv_host_alias
=$host_alias
1372 test -z "$ac_cv_host_alias" &&
1373 ac_cv_host_alias
=$ac_cv_build_alias
1374 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1375 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1376 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1377 { (exit 1); exit 1; }; }
1380 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1381 echo "${ECHO_T}$ac_cv_host" >&6
1383 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1384 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1385 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1394 # Check whether --with-gcc or --without-gcc was given.
1395 if test "${with_gcc+set}" = set; then
1401 if test "${srcdir}" != "." ; then
1402 V_INCLS
="-I\$(srcdir)"
1404 if test "${CFLAGS+set}" = set; then
1405 LBL_CFLAGS
="$CFLAGS"
1407 if test -z "$CC" ; then
1411 # Extract the first word of "shlicc2", so it can be a program name with args.
1412 set dummy shlicc2
; ac_word
=$2
1413 echo "$as_me:$LINENO: checking for $ac_word" >&5
1414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1415 if test "${ac_cv_prog_SHLICC2+set}" = set; then
1416 echo $ECHO_N "(cached) $ECHO_C" >&6
1418 if test -n "$SHLICC2"; then
1419 ac_cv_prog_SHLICC2
="$SHLICC2" # Let the user override the test.
1421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1425 test -z "$as_dir" && as_dir
=.
1426 for ac_exec_ext
in '' $ac_executable_extensions; do
1427 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1428 ac_cv_prog_SHLICC2
="yes"
1429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1435 test -z "$ac_cv_prog_SHLICC2" && ac_cv_prog_SHLICC2
="no"
1438 SHLICC2
=$ac_cv_prog_SHLICC2
1439 if test -n "$SHLICC2"; then
1440 echo "$as_me:$LINENO: result: $SHLICC2" >&5
1441 echo "${ECHO_T}$SHLICC2" >&6
1443 echo "$as_me:$LINENO: result: no" >&5
1444 echo "${ECHO_T}no" >&6
1447 if test $SHLICC2 = yes ; then
1454 if test -z "$CC" -a "$with_gcc" = no
; then
1459 ac_cpp
='$CPP $CPPFLAGS'
1460 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1461 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1462 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1463 if test -n "$ac_tool_prefix"; then
1464 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1465 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1466 echo "$as_me:$LINENO: checking for $ac_word" >&5
1467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1468 if test "${ac_cv_prog_CC+set}" = set; then
1469 echo $ECHO_N "(cached) $ECHO_C" >&6
1471 if test -n "$CC"; then
1472 ac_cv_prog_CC
="$CC" # Let the user override the test.
1474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1478 test -z "$as_dir" && as_dir
=.
1479 for ac_exec_ext
in '' $ac_executable_extensions; do
1480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1481 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1491 if test -n "$CC"; then
1492 echo "$as_me:$LINENO: result: $CC" >&5
1493 echo "${ECHO_T}$CC" >&6
1495 echo "$as_me:$LINENO: result: no" >&5
1496 echo "${ECHO_T}no" >&6
1500 if test -z "$ac_cv_prog_CC"; then
1502 # Extract the first word of "gcc", so it can be a program name with args.
1503 set dummy gcc
; ac_word
=$2
1504 echo "$as_me:$LINENO: checking for $ac_word" >&5
1505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1506 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1507 echo $ECHO_N "(cached) $ECHO_C" >&6
1509 if test -n "$ac_ct_CC"; then
1510 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1516 test -z "$as_dir" && as_dir
=.
1517 for ac_exec_ext
in '' $ac_executable_extensions; do
1518 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1519 ac_cv_prog_ac_ct_CC
="gcc"
1520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1528 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1529 if test -n "$ac_ct_CC"; then
1530 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1531 echo "${ECHO_T}$ac_ct_CC" >&6
1533 echo "$as_me:$LINENO: result: no" >&5
1534 echo "${ECHO_T}no" >&6
1542 if test -z "$CC"; then
1543 if test -n "$ac_tool_prefix"; then
1544 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1545 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1546 echo "$as_me:$LINENO: checking for $ac_word" >&5
1547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1548 if test "${ac_cv_prog_CC+set}" = set; then
1549 echo $ECHO_N "(cached) $ECHO_C" >&6
1551 if test -n "$CC"; then
1552 ac_cv_prog_CC
="$CC" # Let the user override the test.
1554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1558 test -z "$as_dir" && as_dir
=.
1559 for ac_exec_ext
in '' $ac_executable_extensions; do
1560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1561 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1571 if test -n "$CC"; then
1572 echo "$as_me:$LINENO: result: $CC" >&5
1573 echo "${ECHO_T}$CC" >&6
1575 echo "$as_me:$LINENO: result: no" >&5
1576 echo "${ECHO_T}no" >&6
1580 if test -z "$ac_cv_prog_CC"; then
1582 # Extract the first word of "cc", so it can be a program name with args.
1583 set dummy cc
; ac_word
=$2
1584 echo "$as_me:$LINENO: checking for $ac_word" >&5
1585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1586 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1587 echo $ECHO_N "(cached) $ECHO_C" >&6
1589 if test -n "$ac_ct_CC"; then
1590 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1596 test -z "$as_dir" && as_dir
=.
1597 for ac_exec_ext
in '' $ac_executable_extensions; do
1598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1599 ac_cv_prog_ac_ct_CC
="cc"
1600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1608 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1609 if test -n "$ac_ct_CC"; then
1610 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1611 echo "${ECHO_T}$ac_ct_CC" >&6
1613 echo "$as_me:$LINENO: result: no" >&5
1614 echo "${ECHO_T}no" >&6
1623 if test -z "$CC"; then
1624 # Extract the first word of "cc", so it can be a program name with args.
1625 set dummy cc
; ac_word
=$2
1626 echo "$as_me:$LINENO: checking for $ac_word" >&5
1627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1628 if test "${ac_cv_prog_CC+set}" = set; then
1629 echo $ECHO_N "(cached) $ECHO_C" >&6
1631 if test -n "$CC"; then
1632 ac_cv_prog_CC
="$CC" # Let the user override the test.
1635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1639 test -z "$as_dir" && as_dir
=.
1640 for ac_exec_ext
in '' $ac_executable_extensions; do
1641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1642 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1643 ac_prog_rejected
=yes
1647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1653 if test $ac_prog_rejected = yes; then
1654 # We found a bogon in the path, so make sure we never use it.
1655 set dummy
$ac_cv_prog_CC
1657 if test $# != 0; then
1658 # We chose a different compiler from the bogus one.
1659 # However, it has the same basename, so the bogon will be chosen
1660 # first if we set CC to just the basename; use the full file name.
1662 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1668 if test -n "$CC"; then
1669 echo "$as_me:$LINENO: result: $CC" >&5
1670 echo "${ECHO_T}$CC" >&6
1672 echo "$as_me:$LINENO: result: no" >&5
1673 echo "${ECHO_T}no" >&6
1677 if test -z "$CC"; then
1678 if test -n "$ac_tool_prefix"; then
1681 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1682 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1683 echo "$as_me:$LINENO: checking for $ac_word" >&5
1684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1685 if test "${ac_cv_prog_CC+set}" = set; then
1686 echo $ECHO_N "(cached) $ECHO_C" >&6
1688 if test -n "$CC"; then
1689 ac_cv_prog_CC
="$CC" # Let the user override the test.
1691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1695 test -z "$as_dir" && as_dir
=.
1696 for ac_exec_ext
in '' $ac_executable_extensions; do
1697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1698 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1708 if test -n "$CC"; then
1709 echo "$as_me:$LINENO: result: $CC" >&5
1710 echo "${ECHO_T}$CC" >&6
1712 echo "$as_me:$LINENO: result: no" >&5
1713 echo "${ECHO_T}no" >&6
1716 test -n "$CC" && break
1719 if test -z "$CC"; then
1723 # Extract the first word of "$ac_prog", so it can be a program name with args.
1724 set dummy
$ac_prog; ac_word
=$2
1725 echo "$as_me:$LINENO: checking for $ac_word" >&5
1726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1727 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1728 echo $ECHO_N "(cached) $ECHO_C" >&6
1730 if test -n "$ac_ct_CC"; then
1731 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1737 test -z "$as_dir" && as_dir
=.
1738 for ac_exec_ext
in '' $ac_executable_extensions; do
1739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1740 ac_cv_prog_ac_ct_CC
="$ac_prog"
1741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1749 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1750 if test -n "$ac_ct_CC"; then
1751 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1752 echo "${ECHO_T}$ac_ct_CC" >&6
1754 echo "$as_me:$LINENO: result: no" >&5
1755 echo "${ECHO_T}no" >&6
1758 test -n "$ac_ct_CC" && break
1767 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1768 See \`config.log' for more details." >&5
1769 echo "$as_me: error: no acceptable C compiler found in \$PATH
1770 See \`config.log' for more details." >&2;}
1771 { (exit 1); exit 1; }; }
1773 # Provide some information about the compiler.
1774 echo "$as_me:$LINENO:" \
1775 "checking for C compiler version" >&5
1776 ac_compiler
=`set X $ac_compile; echo $2`
1777 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1778 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1781 (exit $ac_status); }
1782 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1783 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1786 (exit $ac_status); }
1787 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1788 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1791 (exit $ac_status); }
1793 cat >conftest.
$ac_ext <<_ACEOF
1796 cat confdefs.h
>>conftest.
$ac_ext
1797 cat >>conftest.
$ac_ext <<_ACEOF
1798 /* end confdefs.h. */
1808 ac_clean_files_save
=$ac_clean_files
1809 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1810 # Try to create an executable without -o first, disregard a.out.
1811 # It will help us diagnose broken compilers, and finding out an intuition
1813 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1814 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1815 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1816 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1817 (eval $ac_link_default) 2>&5
1819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1820 (exit $ac_status); }; then
1821 # Find the output, starting from the most likely. This scheme is
1822 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1825 # Be careful to initialize this variable, since it used to be cached.
1826 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1828 # b.out is created by i960 compilers.
1829 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1831 test -f "$ac_file" ||
continue
1833 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1836 # This is the source file.
1839 # We found the default executable, but exeext='' is most
1843 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1844 # FIXME: I believe we export ac_cv_exeext for Libtool,
1845 # but it would be cool to find out if it's true. Does anybody
1846 # maintain Libtool? --akim.
1854 echo "$as_me: failed program was:" >&5
1855 sed 's/^/| /' conftest.
$ac_ext >&5
1857 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1858 See \`config.log' for more details." >&5
1859 echo "$as_me: error: C compiler cannot create executables
1860 See \`config.log' for more details." >&2;}
1861 { (exit 77); exit 77; }; }
1864 ac_exeext
=$ac_cv_exeext
1865 echo "$as_me:$LINENO: result: $ac_file" >&5
1866 echo "${ECHO_T}$ac_file" >&6
1868 # Check the compiler produces executables we can run. If not, either
1869 # the compiler is broken, or we cross compile.
1870 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1871 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1872 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1873 # If not cross compiling, check that we can run a simple program.
1874 if test "$cross_compiling" != yes; then
1875 if { ac_try
='./$ac_file'
1876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1880 (exit $ac_status); }; }; then
1883 if test "$cross_compiling" = maybe
; then
1886 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1887 If you meant to cross compile, use \`--host'.
1888 See \`config.log' for more details." >&5
1889 echo "$as_me: error: cannot run C compiled programs.
1890 If you meant to cross compile, use \`--host'.
1891 See \`config.log' for more details." >&2;}
1892 { (exit 1); exit 1; }; }
1896 echo "$as_me:$LINENO: result: yes" >&5
1897 echo "${ECHO_T}yes" >&6
1899 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1900 ac_clean_files
=$ac_clean_files_save
1901 # Check the compiler produces executables we can run. If not, either
1902 # the compiler is broken, or we cross compile.
1903 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1904 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1905 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1906 echo "${ECHO_T}$cross_compiling" >&6
1908 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1909 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1911 (eval $ac_link) 2>&5
1913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1914 (exit $ac_status); }; then
1915 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1916 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1917 # work properly (i.e., refer to `conftest.exe'), while it won't with
1919 for ac_file
in conftest.exe conftest conftest.
*; do
1920 test -f "$ac_file" ||
continue
1922 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1923 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1930 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1931 See \`config.log' for more details." >&5
1932 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1933 See \`config.log' for more details." >&2;}
1934 { (exit 1); exit 1; }; }
1937 rm -f conftest
$ac_cv_exeext
1938 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1939 echo "${ECHO_T}$ac_cv_exeext" >&6
1941 rm -f conftest.
$ac_ext
1942 EXEEXT
=$ac_cv_exeext
1944 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1945 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1946 if test "${ac_cv_objext+set}" = set; then
1947 echo $ECHO_N "(cached) $ECHO_C" >&6
1949 cat >conftest.
$ac_ext <<_ACEOF
1952 cat confdefs.h
>>conftest.
$ac_ext
1953 cat >>conftest.
$ac_ext <<_ACEOF
1954 /* end confdefs.h. */
1964 rm -f conftest.o conftest.obj
1965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1966 (eval $ac_compile) 2>&5
1968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1969 (exit $ac_status); }; then
1970 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1972 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1973 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1978 echo "$as_me: failed program was:" >&5
1979 sed 's/^/| /' conftest.
$ac_ext >&5
1981 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1982 See \`config.log' for more details." >&5
1983 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1984 See \`config.log' for more details." >&2;}
1985 { (exit 1); exit 1; }; }
1988 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1990 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1991 echo "${ECHO_T}$ac_cv_objext" >&6
1992 OBJEXT
=$ac_cv_objext
1994 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1995 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1996 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1997 echo $ECHO_N "(cached) $ECHO_C" >&6
1999 cat >conftest.
$ac_ext <<_ACEOF
2002 cat confdefs.h
>>conftest.
$ac_ext
2003 cat >>conftest.
$ac_ext <<_ACEOF
2004 /* end confdefs.h. */
2017 rm -f conftest.
$ac_objext
2018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2019 (eval $ac_compile) 2>conftest.er1
2021 grep -v '^ *+' conftest.er1
>conftest.err
2023 cat conftest.err
>&5
2024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2025 (exit $ac_status); } &&
2026 { ac_try
='test -z "$ac_c_werror_flag"
2027 || test ! -s conftest.err'
2028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2032 (exit $ac_status); }; } &&
2033 { ac_try
='test -s conftest.$ac_objext'
2034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2038 (exit $ac_status); }; }; then
2041 echo "$as_me: failed program was:" >&5
2042 sed 's/^/| /' conftest.
$ac_ext >&5
2046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2047 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2050 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2051 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2052 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2053 ac_test_CFLAGS
=${CFLAGS+set}
2054 ac_save_CFLAGS
=$CFLAGS
2056 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2057 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2058 if test "${ac_cv_prog_cc_g+set}" = set; then
2059 echo $ECHO_N "(cached) $ECHO_C" >&6
2061 cat >conftest.
$ac_ext <<_ACEOF
2064 cat confdefs.h
>>conftest.
$ac_ext
2065 cat >>conftest.
$ac_ext <<_ACEOF
2066 /* end confdefs.h. */
2076 rm -f conftest.
$ac_objext
2077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2078 (eval $ac_compile) 2>conftest.er1
2080 grep -v '^ *+' conftest.er1
>conftest.err
2082 cat conftest.err
>&5
2083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2084 (exit $ac_status); } &&
2085 { ac_try
='test -z "$ac_c_werror_flag"
2086 || test ! -s conftest.err'
2087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2091 (exit $ac_status); }; } &&
2092 { ac_try
='test -s conftest.$ac_objext'
2093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2097 (exit $ac_status); }; }; then
2100 echo "$as_me: failed program was:" >&5
2101 sed 's/^/| /' conftest.
$ac_ext >&5
2105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2107 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2108 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2109 if test "$ac_test_CFLAGS" = set; then
2110 CFLAGS
=$ac_save_CFLAGS
2111 elif test $ac_cv_prog_cc_g = yes; then
2112 if test "$GCC" = yes; then
2118 if test "$GCC" = yes; then
2124 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2125 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2126 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2127 echo $ECHO_N "(cached) $ECHO_C" >&6
2129 ac_cv_prog_cc_stdc
=no
2131 cat >conftest.
$ac_ext <<_ACEOF
2134 cat confdefs.h
>>conftest.
$ac_ext
2135 cat >>conftest.
$ac_ext <<_ACEOF
2136 /* end confdefs.h. */
2139 #include <sys/types.h>
2140 #include <sys/stat.h>
2141 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2142 struct buf { int x; };
2143 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2144 static char *e (p, i)
2150 static char *f (char * (*g) (char **, int), char **p, ...)
2155 s = g (p, va_arg (v,int));
2160 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2161 function prototypes and stuff, but not '\xHH' hex character constants.
2162 These don't provoke an error unfortunately, instead are silently treated
2163 as 'x'. The following induces an error, until -std1 is added to get
2164 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2165 array size at least. It's necessary to write '\x00'==0 to get something
2166 that's true only with -std1. */
2167 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2169 int test (int i, double x);
2170 struct s1 {int (*f) (int a);};
2171 struct s2 {int (*f) (double a);};
2172 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2178 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2183 # Don't try gcc -ansi; that turns off useful extensions and
2184 # breaks some systems' header files.
2185 # AIX -qlanglvl=ansi
2186 # Ultrix and OSF/1 -std1
2187 # HP-UX 10.20 and later -Ae
2188 # HP-UX older versions -Aa -D_HPUX_SOURCE
2189 # SVR4 -Xc -D__EXTENSIONS__
2190 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2192 CC
="$ac_save_CC $ac_arg"
2193 rm -f conftest.
$ac_objext
2194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2195 (eval $ac_compile) 2>conftest.er1
2197 grep -v '^ *+' conftest.er1
>conftest.err
2199 cat conftest.err
>&5
2200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2201 (exit $ac_status); } &&
2202 { ac_try
='test -z "$ac_c_werror_flag"
2203 || test ! -s conftest.err'
2204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2208 (exit $ac_status); }; } &&
2209 { ac_try
='test -s conftest.$ac_objext'
2210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214 (exit $ac_status); }; }; then
2215 ac_cv_prog_cc_stdc
=$ac_arg
2218 echo "$as_me: failed program was:" >&5
2219 sed 's/^/| /' conftest.
$ac_ext >&5
2222 rm -f conftest.err conftest.
$ac_objext
2224 rm -f conftest.
$ac_ext conftest.
$ac_objext
2229 case "x$ac_cv_prog_cc_stdc" in
2231 echo "$as_me:$LINENO: result: none needed" >&5
2232 echo "${ECHO_T}none needed" >&6 ;;
2234 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2235 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2236 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2239 # Some people use a C++ compiler to compile C. Since we use `exit',
2240 # in C++ we need to declare it. In case someone uses the same compiler
2241 # for both compiling C and C++ we need to have the C++ compiler decide
2242 # the declaration of exit, since it's the most demanding environment.
2243 cat >conftest.
$ac_ext <<_ACEOF
2248 rm -f conftest.
$ac_objext
2249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2250 (eval $ac_compile) 2>conftest.er1
2252 grep -v '^ *+' conftest.er1
>conftest.err
2254 cat conftest.err
>&5
2255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2256 (exit $ac_status); } &&
2257 { ac_try
='test -z "$ac_c_werror_flag"
2258 || test ! -s conftest.err'
2259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); }; } &&
2264 { ac_try
='test -s conftest.$ac_objext'
2265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2269 (exit $ac_status); }; }; then
2270 for ac_declaration
in \
2272 'extern "C" void std::exit (int) throw (); using std::exit;' \
2273 'extern "C" void std::exit (int); using std::exit;' \
2274 'extern "C" void exit (int) throw ();' \
2275 'extern "C" void exit (int);' \
2278 cat >conftest.
$ac_ext <<_ACEOF
2281 cat confdefs.h
>>conftest.
$ac_ext
2282 cat >>conftest.
$ac_ext <<_ACEOF
2283 /* end confdefs.h. */
2294 rm -f conftest.
$ac_objext
2295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2296 (eval $ac_compile) 2>conftest.er1
2298 grep -v '^ *+' conftest.er1
>conftest.err
2300 cat conftest.err
>&5
2301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2302 (exit $ac_status); } &&
2303 { ac_try
='test -z "$ac_c_werror_flag"
2304 || test ! -s conftest.err'
2305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2309 (exit $ac_status); }; } &&
2310 { ac_try
='test -s conftest.$ac_objext'
2311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2315 (exit $ac_status); }; }; then
2318 echo "$as_me: failed program was:" >&5
2319 sed 's/^/| /' conftest.
$ac_ext >&5
2323 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2324 cat >conftest.
$ac_ext <<_ACEOF
2327 cat confdefs.h
>>conftest.
$ac_ext
2328 cat >>conftest.
$ac_ext <<_ACEOF
2329 /* end confdefs.h. */
2339 rm -f conftest.
$ac_objext
2340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2341 (eval $ac_compile) 2>conftest.er1
2343 grep -v '^ *+' conftest.er1
>conftest.err
2345 cat conftest.err
>&5
2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347 (exit $ac_status); } &&
2348 { ac_try
='test -z "$ac_c_werror_flag"
2349 || test ! -s conftest.err'
2350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2354 (exit $ac_status); }; } &&
2355 { ac_try
='test -s conftest.$ac_objext'
2356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); }; }; then
2363 echo "$as_me: failed program was:" >&5
2364 sed 's/^/| /' conftest.
$ac_ext >&5
2367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2370 if test -n "$ac_declaration"; then
2371 echo '#ifdef __cplusplus' >>confdefs.h
2372 echo $ac_declaration >>confdefs.h
2373 echo '#endif' >>confdefs.h
2377 echo "$as_me: failed program was:" >&5
2378 sed 's/^/| /' conftest.
$ac_ext >&5
2381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2383 ac_cpp
='$CPP $CPPFLAGS'
2384 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2385 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2386 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2388 if test "$GCC" = yes ; then
2389 if test "$SHLICC2" = yes ; then
2390 ac_cv_lbl_gcc_vers
=2
2393 echo "$as_me:$LINENO: checking gcc version" >&5
2394 echo $ECHO_N "checking gcc version... $ECHO_C" >&6
2395 if test "${ac_cv_lbl_gcc_vers+set}" = set; then
2396 echo $ECHO_N "(cached) $ECHO_C" >&6
2398 ac_cv_lbl_gcc_vers
=`$CC -v 2>&1 | \
2399 sed -e '/^gcc version /!d' \
2400 -e 's/^gcc version //' \
2401 -e 's/ .*//' -e 's/^[^0-9]*//' \
2405 echo "$as_me:$LINENO: result: $ac_cv_lbl_gcc_vers" >&5
2406 echo "${ECHO_T}$ac_cv_lbl_gcc_vers" >&6
2407 if test $ac_cv_lbl_gcc_vers -gt 1 ; then
2412 echo "$as_me:$LINENO: checking that $CC handles ansi prototypes" >&5
2413 echo $ECHO_N "checking that $CC handles ansi prototypes... $ECHO_C" >&6
2414 if test "${ac_cv_lbl_cc_ansi_prototypes+set}" = set; then
2415 echo $ECHO_N "(cached) $ECHO_C" >&6
2418 cat >conftest.
$ac_ext <<_ACEOF
2421 cat confdefs.h
>>conftest.
$ac_ext
2422 cat >>conftest.
$ac_ext <<_ACEOF
2423 /* end confdefs.h. */
2424 #include <sys/types.h>
2428 int frob(int, char *)
2433 rm -f conftest.
$ac_objext
2434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2435 (eval $ac_compile) 2>conftest.er1
2437 grep -v '^ *+' conftest.er1
>conftest.err
2439 cat conftest.err
>&5
2440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2441 (exit $ac_status); } &&
2442 { ac_try
='test -z "$ac_c_werror_flag"
2443 || test ! -s conftest.err'
2444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448 (exit $ac_status); }; } &&
2449 { ac_try
='test -s conftest.$ac_objext'
2450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2454 (exit $ac_status); }; }; then
2455 ac_cv_lbl_cc_ansi_prototypes
=yes
2457 echo "$as_me: failed program was:" >&5
2458 sed 's/^/| /' conftest.
$ac_ext >&5
2460 ac_cv_lbl_cc_ansi_prototypes
=no
2462 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2465 echo "$as_me:$LINENO: result: $ac_cv_lbl_cc_ansi_prototypes" >&5
2466 echo "${ECHO_T}$ac_cv_lbl_cc_ansi_prototypes" >&6
2467 if test $ac_cv_lbl_cc_ansi_prototypes = no
; then
2471 echo "$as_me:$LINENO: checking for HP-UX ansi compiler ($CC -Aa -D_HPUX_SOURCE)" >&5
2472 echo $ECHO_N "checking for HP-UX ansi compiler ($CC -Aa -D_HPUX_SOURCE)... $ECHO_C" >&6
2473 savedcflags
="$CFLAGS"
2474 CFLAGS
="-Aa -D_HPUX_SOURCE $CFLAGS"
2475 if test "${ac_cv_lbl_cc_hpux_cc_aa+set}" = set; then
2476 echo $ECHO_N "(cached) $ECHO_C" >&6
2478 cat >conftest.
$ac_ext <<_ACEOF
2481 cat confdefs.h
>>conftest.
$ac_ext
2482 cat >>conftest.
$ac_ext <<_ACEOF
2483 /* end confdefs.h. */
2484 #include <sys/types.h>
2488 int frob(int, char *)
2493 rm -f conftest.
$ac_objext
2494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2495 (eval $ac_compile) 2>conftest.er1
2497 grep -v '^ *+' conftest.er1
>conftest.err
2499 cat conftest.err
>&5
2500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2501 (exit $ac_status); } &&
2502 { ac_try
='test -z "$ac_c_werror_flag"
2503 || test ! -s conftest.err'
2504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508 (exit $ac_status); }; } &&
2509 { ac_try
='test -s conftest.$ac_objext'
2510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); }; }; then
2515 ac_cv_lbl_cc_hpux_cc_aa
=yes
2517 echo "$as_me: failed program was:" >&5
2518 sed 's/^/| /' conftest.
$ac_ext >&5
2520 ac_cv_lbl_cc_hpux_cc_aa
=no
2522 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2525 echo "$as_me:$LINENO: result: $ac_cv_lbl_cc_hpux_cc_aa" >&5
2526 echo "${ECHO_T}$ac_cv_lbl_cc_hpux_cc_aa" >&6
2527 if test $ac_cv_lbl_cc_hpux_cc_aa = no
; then
2528 { { echo "$as_me:$LINENO: error: see the INSTALL doc for more info" >&5
2529 echo "$as_me: error: see the INSTALL doc for more info" >&2;}
2530 { (exit 1); exit 1; }; }
2532 CFLAGS
="$savedcflags"
2533 V_CCOPT
="-Aa $V_CCOPT"
2534 cat >>confdefs.h
<<\_ACEOF
2535 #define _HPUX_SOURCE 1
2541 { { echo "$as_me:$LINENO: error: see the INSTALL doc for more info" >&5
2542 echo "$as_me: error: see the INSTALL doc for more info" >&2;}
2543 { (exit 1); exit 1; }; }
2547 V_INCLS
="$V_INCLS -I/usr/local/include"
2548 LDFLAGS
="$LDFLAGS -L/usr/local/lib"
2553 V_CCOPT
="$V_CCOPT -xansi -signed -O"
2557 V_CCOPT
="$V_CCOPT -std1 -O"
2561 echo "$as_me:$LINENO: checking that Ultrix $CC hacks const in prototypes" >&5
2562 echo $ECHO_N "checking that Ultrix $CC hacks const in prototypes... $ECHO_C" >&6
2563 if test "${ac_cv_lbl_cc_const_proto+set}" = set; then
2564 echo $ECHO_N "(cached) $ECHO_C" >&6
2566 cat >conftest.
$ac_ext <<_ACEOF
2569 cat confdefs.h
>>conftest.
$ac_ext
2570 cat >>conftest.
$ac_ext <<_ACEOF
2571 /* end confdefs.h. */
2572 #include <sys/types.h>
2576 struct a { int b; };
2577 void c(const struct a *)
2582 rm -f conftest.
$ac_objext
2583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2584 (eval $ac_compile) 2>conftest.er1
2586 grep -v '^ *+' conftest.er1
>conftest.err
2588 cat conftest.err
>&5
2589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590 (exit $ac_status); } &&
2591 { ac_try
='test -z "$ac_c_werror_flag"
2592 || test ! -s conftest.err'
2593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2597 (exit $ac_status); }; } &&
2598 { ac_try
='test -s conftest.$ac_objext'
2599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); }; }; then
2604 ac_cv_lbl_cc_const_proto
=yes
2606 echo "$as_me: failed program was:" >&5
2607 sed 's/^/| /' conftest.
$ac_ext >&5
2609 ac_cv_lbl_cc_const_proto
=no
2611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2614 echo "$as_me:$LINENO: result: $ac_cv_lbl_cc_const_proto" >&5
2615 echo "${ECHO_T}$ac_cv_lbl_cc_const_proto" >&6
2616 if test $ac_cv_lbl_cc_const_proto = no
; then
2617 cat >>confdefs.h
<<\_ACEOF
2626 echo "$as_me:$LINENO: checking for inline" >&5
2627 echo $ECHO_N "checking for inline... $ECHO_C" >&6
2628 if test "${ac_cv_lbl_inline+set}" = set; then
2629 echo $ECHO_N "(cached) $ECHO_C" >&6
2634 for ac_lbl_inline
in inline __inline__ __inline
2636 cat >conftest.
$ac_ext <<_ACEOF
2639 cat confdefs.h
>>conftest.
$ac_ext
2640 cat >>conftest.
$ac_ext <<_ACEOF
2641 /* end confdefs.h. */
2642 #define inline $ac_lbl_inline
2643 static inline struct iltest *foo(void);
2649 static inline struct iltest *
2652 static struct iltest xxx;
2664 rm -f conftest.
$ac_objext
2665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2666 (eval $ac_compile) 2>conftest.er1
2668 grep -v '^ *+' conftest.er1
>conftest.err
2670 cat conftest.err
>&5
2671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2672 (exit $ac_status); } &&
2673 { ac_try
='test -z "$ac_c_werror_flag"
2674 || test ! -s conftest.err'
2675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2679 (exit $ac_status); }; } &&
2680 { ac_try
='test -s conftest.$ac_objext'
2681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); }; }; then
2686 ac_lbl_cc_inline
=yes
2688 echo "$as_me: failed program was:" >&5
2689 sed 's/^/| /' conftest.
$ac_ext >&5
2692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2693 if test "$ac_lbl_cc_inline" = yes ; then
2697 if test "$ac_lbl_cc_inline" = yes ; then
2698 ac_cv_lbl_inline
=$ac_lbl_inline
2702 if test ! -z "$ac_cv_lbl_inline" ; then
2703 echo "$as_me:$LINENO: result: $ac_cv_lbl_inline" >&5
2704 echo "${ECHO_T}$ac_cv_lbl_inline" >&6
2706 echo "$as_me:$LINENO: result: no" >&5
2707 echo "${ECHO_T}no" >&6
2710 cat >>confdefs.h
<<_ACEOF
2711 #define inline $ac_cv_lbl_inline
2715 echo "$as_me:$LINENO: checking for __attribute__" >&5
2716 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
2717 if test "${ac_cv___attribute__+set}" = set; then
2718 echo $ECHO_N "(cached) $ECHO_C" >&6
2721 cat >conftest.
$ac_ext <<_ACEOF
2724 cat confdefs.h
>>conftest.
$ac_ext
2725 cat >>conftest.
$ac_ext <<_ACEOF
2726 /* end confdefs.h. */
2730 static void foo(void) __attribute__ ((noreturn));
2739 main(int argc, char **argv)
2745 rm -f conftest.
$ac_objext
2746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2747 (eval $ac_compile) 2>conftest.er1
2749 grep -v '^ *+' conftest.er1
>conftest.err
2751 cat conftest.err
>&5
2752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 (exit $ac_status); } &&
2754 { ac_try
='test -z "$ac_c_werror_flag"
2755 || test ! -s conftest.err'
2756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2760 (exit $ac_status); }; } &&
2761 { ac_try
='test -s conftest.$ac_objext'
2762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2766 (exit $ac_status); }; }; then
2767 ac_cv___attribute__
=yes
2769 echo "$as_me: failed program was:" >&5
2770 sed 's/^/| /' conftest.
$ac_ext >&5
2772 ac_cv___attribute__
=no
2774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2777 if test "$ac_cv___attribute__" = "yes"; then
2779 cat >>confdefs.h
<<\_ACEOF
2780 #define HAVE___ATTRIBUTE__ 1
2783 V_DEFS
="$V_DEFS -D_U_=\"__attribute__((unused))\""
2785 V_DEFS
="$V_DEFS -D_U_=\"\""
2787 echo "$as_me:$LINENO: result: $ac_cv___attribute__" >&5
2788 echo "${ECHO_T}$ac_cv___attribute__" >&6
2791 ac_cpp
='$CPP $CPPFLAGS'
2792 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2793 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2794 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2795 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2796 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2797 # On Suns, sometimes $CPP names a directory.
2798 if test -n "$CPP" && test -d "$CPP"; then
2801 if test -z "$CPP"; then
2802 if test "${ac_cv_prog_CPP+set}" = set; then
2803 echo $ECHO_N "(cached) $ECHO_C" >&6
2805 # Double quotes because CPP needs to be expanded
2806 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2809 for ac_c_preproc_warn_flag
in '' yes
2811 # Use a header file that comes with gcc, so configuring glibc
2812 # with a fresh cross-compiler works.
2813 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2814 # <limits.h> exists even on freestanding compilers.
2815 # On the NeXT, cc -E runs the code through the compiler's parser,
2816 # not just through cpp. "Syntax error" is here to catch this case.
2817 cat >conftest.
$ac_ext <<_ACEOF
2820 cat confdefs.h
>>conftest.
$ac_ext
2821 cat >>conftest.
$ac_ext <<_ACEOF
2822 /* end confdefs.h. */
2824 # include <limits.h>
2826 # include <assert.h>
2830 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2831 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2833 grep -v '^ *+' conftest.er1
>conftest.err
2835 cat conftest.err
>&5
2836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837 (exit $ac_status); } >/dev
/null
; then
2838 if test -s conftest.err
; then
2839 ac_cpp_err
=$ac_c_preproc_warn_flag
2840 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2847 if test -z "$ac_cpp_err"; then
2850 echo "$as_me: failed program was:" >&5
2851 sed 's/^/| /' conftest.
$ac_ext >&5
2853 # Broken: fails on valid input.
2856 rm -f conftest.err conftest.
$ac_ext
2858 # OK, works on sane cases. Now check whether non-existent headers
2859 # can be detected and how.
2860 cat >conftest.
$ac_ext <<_ACEOF
2863 cat confdefs.h
>>conftest.
$ac_ext
2864 cat >>conftest.
$ac_ext <<_ACEOF
2865 /* end confdefs.h. */
2866 #include <ac_nonexistent.h>
2868 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2869 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2871 grep -v '^ *+' conftest.er1
>conftest.err
2873 cat conftest.err
>&5
2874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875 (exit $ac_status); } >/dev
/null
; then
2876 if test -s conftest.err
; then
2877 ac_cpp_err
=$ac_c_preproc_warn_flag
2878 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2885 if test -z "$ac_cpp_err"; then
2886 # Broken: success on invalid input.
2889 echo "$as_me: failed program was:" >&5
2890 sed 's/^/| /' conftest.
$ac_ext >&5
2892 # Passes both tests.
2896 rm -f conftest.err conftest.
$ac_ext
2899 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2900 rm -f conftest.err conftest.
$ac_ext
2901 if $ac_preproc_ok; then
2913 echo "$as_me:$LINENO: result: $CPP" >&5
2914 echo "${ECHO_T}$CPP" >&6
2916 for ac_c_preproc_warn_flag
in '' yes
2918 # Use a header file that comes with gcc, so configuring glibc
2919 # with a fresh cross-compiler works.
2920 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2921 # <limits.h> exists even on freestanding compilers.
2922 # On the NeXT, cc -E runs the code through the compiler's parser,
2923 # not just through cpp. "Syntax error" is here to catch this case.
2924 cat >conftest.
$ac_ext <<_ACEOF
2927 cat confdefs.h
>>conftest.
$ac_ext
2928 cat >>conftest.
$ac_ext <<_ACEOF
2929 /* end confdefs.h. */
2931 # include <limits.h>
2933 # include <assert.h>
2937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2938 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2940 grep -v '^ *+' conftest.er1
>conftest.err
2942 cat conftest.err
>&5
2943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944 (exit $ac_status); } >/dev
/null
; then
2945 if test -s conftest.err
; then
2946 ac_cpp_err
=$ac_c_preproc_warn_flag
2947 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2954 if test -z "$ac_cpp_err"; then
2957 echo "$as_me: failed program was:" >&5
2958 sed 's/^/| /' conftest.
$ac_ext >&5
2960 # Broken: fails on valid input.
2963 rm -f conftest.err conftest.
$ac_ext
2965 # OK, works on sane cases. Now check whether non-existent headers
2966 # can be detected and how.
2967 cat >conftest.
$ac_ext <<_ACEOF
2970 cat confdefs.h
>>conftest.
$ac_ext
2971 cat >>conftest.
$ac_ext <<_ACEOF
2972 /* end confdefs.h. */
2973 #include <ac_nonexistent.h>
2975 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2976 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2978 grep -v '^ *+' conftest.er1
>conftest.err
2980 cat conftest.err
>&5
2981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2982 (exit $ac_status); } >/dev
/null
; then
2983 if test -s conftest.err
; then
2984 ac_cpp_err
=$ac_c_preproc_warn_flag
2985 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2992 if test -z "$ac_cpp_err"; then
2993 # Broken: success on invalid input.
2996 echo "$as_me: failed program was:" >&5
2997 sed 's/^/| /' conftest.
$ac_ext >&5
2999 # Passes both tests.
3003 rm -f conftest.err conftest.
$ac_ext
3006 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3007 rm -f conftest.err conftest.
$ac_ext
3008 if $ac_preproc_ok; then
3011 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3012 See \`config.log' for more details." >&5
3013 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3014 See \`config.log' for more details." >&2;}
3015 { (exit 1); exit 1; }; }
3019 ac_cpp
='$CPP $CPPFLAGS'
3020 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3021 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3022 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3025 echo "$as_me:$LINENO: checking for egrep" >&5
3026 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3027 if test "${ac_cv_prog_egrep+set}" = set; then
3028 echo $ECHO_N "(cached) $ECHO_C" >&6
3030 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3031 then ac_cv_prog_egrep
='grep -E'
3032 else ac_cv_prog_egrep
='egrep'
3035 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3036 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3037 EGREP
=$ac_cv_prog_egrep
3040 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3041 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3042 if test "${ac_cv_header_stdc+set}" = set; then
3043 echo $ECHO_N "(cached) $ECHO_C" >&6
3045 cat >conftest.
$ac_ext <<_ACEOF
3048 cat confdefs.h
>>conftest.
$ac_ext
3049 cat >>conftest.
$ac_ext <<_ACEOF
3050 /* end confdefs.h. */
3064 rm -f conftest.
$ac_objext
3065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3066 (eval $ac_compile) 2>conftest.er1
3068 grep -v '^ *+' conftest.er1
>conftest.err
3070 cat conftest.err
>&5
3071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3072 (exit $ac_status); } &&
3073 { ac_try
='test -z "$ac_c_werror_flag"
3074 || test ! -s conftest.err'
3075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3079 (exit $ac_status); }; } &&
3080 { ac_try
='test -s conftest.$ac_objext'
3081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085 (exit $ac_status); }; }; then
3086 ac_cv_header_stdc
=yes
3088 echo "$as_me: failed program was:" >&5
3089 sed 's/^/| /' conftest.
$ac_ext >&5
3091 ac_cv_header_stdc
=no
3093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3095 if test $ac_cv_header_stdc = yes; then
3096 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3097 cat >conftest.
$ac_ext <<_ACEOF
3100 cat confdefs.h
>>conftest.
$ac_ext
3101 cat >>conftest.
$ac_ext <<_ACEOF
3102 /* end confdefs.h. */
3106 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3107 $EGREP "memchr" >/dev
/null
2>&1; then
3110 ac_cv_header_stdc
=no
3116 if test $ac_cv_header_stdc = yes; then
3117 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3118 cat >conftest.
$ac_ext <<_ACEOF
3121 cat confdefs.h
>>conftest.
$ac_ext
3122 cat >>conftest.
$ac_ext <<_ACEOF
3123 /* end confdefs.h. */
3127 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3128 $EGREP "free" >/dev
/null
2>&1; then
3131 ac_cv_header_stdc
=no
3137 if test $ac_cv_header_stdc = yes; then
3138 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3139 if test "$cross_compiling" = yes; then
3142 cat >conftest.
$ac_ext <<_ACEOF
3145 cat confdefs.h
>>conftest.
$ac_ext
3146 cat >>conftest.
$ac_ext <<_ACEOF
3147 /* end confdefs.h. */
3149 #if ((' ' & 0x0FF) == 0x020)
3150 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3151 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3153 # define ISLOWER(c) \
3154 (('a' <= (c) && (c) <= 'i') \
3155 || ('j' <= (c) && (c) <= 'r') \
3156 || ('s' <= (c) && (c) <= 'z'))
3157 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3160 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3165 for (i = 0; i < 256; i++)
3166 if (XOR (islower (i), ISLOWER (i))
3167 || toupper (i) != TOUPPER (i))
3172 rm -f conftest
$ac_exeext
3173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3174 (eval $ac_link) 2>&5
3176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3182 (exit $ac_status); }; }; then
3185 echo "$as_me: program exited with status $ac_status" >&5
3186 echo "$as_me: failed program was:" >&5
3187 sed 's/^/| /' conftest.
$ac_ext >&5
3190 ac_cv_header_stdc
=no
3192 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3196 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3197 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3198 if test $ac_cv_header_stdc = yes; then
3200 cat >>confdefs.h
<<\_ACEOF
3201 #define STDC_HEADERS 1
3206 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3216 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3217 inttypes.h stdint.h unistd.h
3219 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3220 echo "$as_me:$LINENO: checking for $ac_header" >&5
3221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3222 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3223 echo $ECHO_N "(cached) $ECHO_C" >&6
3225 cat >conftest.
$ac_ext <<_ACEOF
3228 cat confdefs.h
>>conftest.
$ac_ext
3229 cat >>conftest.
$ac_ext <<_ACEOF
3230 /* end confdefs.h. */
3231 $ac_includes_default
3233 #include <$ac_header>
3235 rm -f conftest.
$ac_objext
3236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3237 (eval $ac_compile) 2>conftest.er1
3239 grep -v '^ *+' conftest.er1
>conftest.err
3241 cat conftest.err
>&5
3242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3243 (exit $ac_status); } &&
3244 { ac_try
='test -z "$ac_c_werror_flag"
3245 || test ! -s conftest.err'
3246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3250 (exit $ac_status); }; } &&
3251 { ac_try
='test -s conftest.$ac_objext'
3252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3256 (exit $ac_status); }; }; then
3257 eval "$as_ac_Header=yes"
3259 echo "$as_me: failed program was:" >&5
3260 sed 's/^/| /' conftest.
$ac_ext >&5
3262 eval "$as_ac_Header=no"
3264 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3267 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3268 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3269 cat >>confdefs.h
<<_ACEOF
3270 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3281 for ac_header
in fcntl.h rpc
/rpcent.h netdnet
/dnetdb.h
3283 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3284 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3285 echo "$as_me:$LINENO: checking for $ac_header" >&5
3286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3287 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3288 echo $ECHO_N "(cached) $ECHO_C" >&6
3290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3291 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3293 # Is the header compilable?
3294 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3295 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3296 cat >conftest.
$ac_ext <<_ACEOF
3299 cat confdefs.h
>>conftest.
$ac_ext
3300 cat >>conftest.
$ac_ext <<_ACEOF
3301 /* end confdefs.h. */
3302 $ac_includes_default
3303 #include <$ac_header>
3305 rm -f conftest.
$ac_objext
3306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3307 (eval $ac_compile) 2>conftest.er1
3309 grep -v '^ *+' conftest.er1
>conftest.err
3311 cat conftest.err
>&5
3312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3313 (exit $ac_status); } &&
3314 { ac_try
='test -z "$ac_c_werror_flag"
3315 || test ! -s conftest.err'
3316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320 (exit $ac_status); }; } &&
3321 { ac_try
='test -s conftest.$ac_objext'
3322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3326 (exit $ac_status); }; }; then
3327 ac_header_compiler
=yes
3329 echo "$as_me: failed program was:" >&5
3330 sed 's/^/| /' conftest.
$ac_ext >&5
3332 ac_header_compiler
=no
3334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3335 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3336 echo "${ECHO_T}$ac_header_compiler" >&6
3338 # Is the header present?
3339 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3340 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3341 cat >conftest.
$ac_ext <<_ACEOF
3344 cat confdefs.h
>>conftest.
$ac_ext
3345 cat >>conftest.
$ac_ext <<_ACEOF
3346 /* end confdefs.h. */
3347 #include <$ac_header>
3349 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3350 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3352 grep -v '^ *+' conftest.er1
>conftest.err
3354 cat conftest.err
>&5
3355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3356 (exit $ac_status); } >/dev
/null
; then
3357 if test -s conftest.err
; then
3358 ac_cpp_err
=$ac_c_preproc_warn_flag
3359 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3366 if test -z "$ac_cpp_err"; then
3367 ac_header_preproc
=yes
3369 echo "$as_me: failed program was:" >&5
3370 sed 's/^/| /' conftest.
$ac_ext >&5
3372 ac_header_preproc
=no
3374 rm -f conftest.err conftest.
$ac_ext
3375 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3376 echo "${ECHO_T}$ac_header_preproc" >&6
3378 # So? What about this header?
3379 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3381 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3382 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3383 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3384 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3385 ac_header_preproc
=yes
3388 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3389 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3390 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3391 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3392 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3393 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3394 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3395 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3396 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3397 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3398 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3399 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3402 ## ------------------------------------------ ##
3403 ## Report this to the AC_PACKAGE_NAME lists. ##
3404 ## ------------------------------------------ ##
3407 sed "s/^/$as_me: WARNING: /" >&2
3410 echo "$as_me:$LINENO: checking for $ac_header" >&5
3411 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3412 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3413 echo $ECHO_N "(cached) $ECHO_C" >&6
3415 eval "$as_ac_Header=\$ac_header_preproc"
3417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3418 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3421 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3422 cat >>confdefs.h
<<_ACEOF
3423 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3431 for ac_header
in net
/pfvar.h
3433 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3434 echo "$as_me:$LINENO: checking for $ac_header" >&5
3435 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3437 echo $ECHO_N "(cached) $ECHO_C" >&6
3439 cat >conftest.
$ac_ext <<_ACEOF
3442 cat confdefs.h
>>conftest.
$ac_ext
3443 cat >>conftest.
$ac_ext <<_ACEOF
3444 /* end confdefs.h. */
3445 #include <sys/types.h>
3446 #include <sys/socket.h>
3449 #include <$ac_header>
3451 rm -f conftest.
$ac_objext
3452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3453 (eval $ac_compile) 2>conftest.er1
3455 grep -v '^ *+' conftest.er1
>conftest.err
3457 cat conftest.err
>&5
3458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459 (exit $ac_status); } &&
3460 { ac_try
='test -z "$ac_c_werror_flag"
3461 || test ! -s conftest.err'
3462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466 (exit $ac_status); }; } &&
3467 { ac_try
='test -s conftest.$ac_objext'
3468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3472 (exit $ac_status); }; }; then
3473 eval "$as_ac_Header=yes"
3475 echo "$as_me: failed program was:" >&5
3476 sed 's/^/| /' conftest.
$ac_ext >&5
3478 eval "$as_ac_Header=no"
3480 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3484 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3485 cat >>confdefs.h
<<_ACEOF
3486 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3493 if test "$ac_cv_header_net_pfvar_h" = yes; then
3494 LOCALSRC
="print-pflog.c $LOCALSRC"
3497 for ac_header
in netinet
/if_ether.h
3499 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3500 echo "$as_me:$LINENO: checking for $ac_header" >&5
3501 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3502 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3503 echo $ECHO_N "(cached) $ECHO_C" >&6
3505 cat >conftest.
$ac_ext <<_ACEOF
3508 cat confdefs.h
>>conftest.
$ac_ext
3509 cat >>conftest.
$ac_ext <<_ACEOF
3510 /* end confdefs.h. */
3511 #include <sys/types.h>
3512 #include <sys/socket.h>
3514 #include <$ac_header>
3516 rm -f conftest.
$ac_objext
3517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3518 (eval $ac_compile) 2>conftest.er1
3520 grep -v '^ *+' conftest.er1
>conftest.err
3522 cat conftest.err
>&5
3523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3524 (exit $ac_status); } &&
3525 { ac_try
='test -z "$ac_c_werror_flag"
3526 || test ! -s conftest.err'
3527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3531 (exit $ac_status); }; } &&
3532 { ac_try
='test -s conftest.$ac_objext'
3533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3537 (exit $ac_status); }; }; then
3538 eval "$as_ac_Header=yes"
3540 echo "$as_me: failed program was:" >&5
3541 sed 's/^/| /' conftest.
$ac_ext >&5
3543 eval "$as_ac_Header=no"
3545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3548 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3549 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3550 cat >>confdefs.h
<<_ACEOF
3551 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3558 if test "$ac_cv_header_netinet_if_ether_h" != yes; then
3560 # The simple test didn't work.
3561 # Do we need to include <net/if.h> first?
3562 # Unset ac_cv_header_netinet_if_ether_h so we don't
3563 # treat the previous failure as a cached value and
3564 # suppress the next test.
3566 { echo "$as_me:$LINENO: Rechecking with some additional includes" >&5
3567 echo "$as_me: Rechecking with some additional includes" >&6;}
3568 unset ac_cv_header_netinet_if_ether_h
3570 for ac_header
in netinet
/if_ether.h
3572 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3573 echo "$as_me:$LINENO: checking for $ac_header" >&5
3574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3576 echo $ECHO_N "(cached) $ECHO_C" >&6
3578 cat >conftest.
$ac_ext <<_ACEOF
3581 cat confdefs.h
>>conftest.
$ac_ext
3582 cat >>conftest.
$ac_ext <<_ACEOF
3583 /* end confdefs.h. */
3584 #include <sys/types.h>
3585 #include <sys/socket.h>
3586 #include <netinet/in.h>
3591 #include <$ac_header>
3593 rm -f conftest.
$ac_objext
3594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3595 (eval $ac_compile) 2>conftest.er1
3597 grep -v '^ *+' conftest.er1
>conftest.err
3599 cat conftest.err
>&5
3600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3601 (exit $ac_status); } &&
3602 { ac_try
='test -z "$ac_c_werror_flag"
3603 || test ! -s conftest.err'
3604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3608 (exit $ac_status); }; } &&
3609 { ac_try
='test -s conftest.$ac_objext'
3610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3614 (exit $ac_status); }; }; then
3615 eval "$as_ac_Header=yes"
3617 echo "$as_me: failed program was:" >&5
3618 sed 's/^/| /' conftest.
$ac_ext >&5
3620 eval "$as_ac_Header=no"
3622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3625 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3626 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3627 cat >>confdefs.h
<<_ACEOF
3628 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3637 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
3638 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
3639 if test "${ac_cv_header_time+set}" = set; then
3640 echo $ECHO_N "(cached) $ECHO_C" >&6
3642 cat >conftest.
$ac_ext <<_ACEOF
3645 cat confdefs.h
>>conftest.
$ac_ext
3646 cat >>conftest.
$ac_ext <<_ACEOF
3647 /* end confdefs.h. */
3648 #include <sys/types.h>
3649 #include <sys/time.h>
3655 if ((struct tm *) 0)
3661 rm -f conftest.
$ac_objext
3662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3663 (eval $ac_compile) 2>conftest.er1
3665 grep -v '^ *+' conftest.er1
>conftest.err
3667 cat conftest.err
>&5
3668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3669 (exit $ac_status); } &&
3670 { ac_try
='test -z "$ac_c_werror_flag"
3671 || test ! -s conftest.err'
3672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676 (exit $ac_status); }; } &&
3677 { ac_try
='test -s conftest.$ac_objext'
3678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3682 (exit $ac_status); }; }; then
3683 ac_cv_header_time
=yes
3685 echo "$as_me: failed program was:" >&5
3686 sed 's/^/| /' conftest.
$ac_ext >&5
3688 ac_cv_header_time
=no
3690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3692 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
3693 echo "${ECHO_T}$ac_cv_header_time" >&6
3694 if test $ac_cv_header_time = yes; then
3696 cat >>confdefs.h
<<\_ACEOF
3697 #define TIME_WITH_SYS_TIME 1
3706 echo "$as_me:$LINENO: checking Linux kernel version" >&5
3707 echo $ECHO_N "checking Linux kernel version... $ECHO_C" >&6
3708 if test "$cross_compiling" = yes; then
3709 if test "${ac_cv_linux_vers+set}" = set; then
3710 echo $ECHO_N "(cached) $ECHO_C" >&6
3712 ac_cv_linux_vers
=unknown
3716 if test "${ac_cv_linux_vers+set}" = set; then
3717 echo $ECHO_N "(cached) $ECHO_C" >&6
3719 ac_cv_linux_vers
=`uname -r 2>&1 | \
3720 sed -n -e '$s/.* //' -e '$s/\..*//p'`
3724 echo "$as_me:$LINENO: result: $ac_cv_linux_vers" >&5
3725 echo "${ECHO_T}$ac_cv_linux_vers" >&6
3726 if test $ac_cv_linux_vers = unknown
; then
3727 { { echo "$as_me:$LINENO: error: cannot determine linux version when cross-compiling" >&5
3728 echo "$as_me: error: cannot determine linux version when cross-compiling" >&2;}
3729 { (exit 1); exit 1; }; }
3731 if test $ac_cv_linux_vers -lt 2 ; then
3732 { { echo "$as_me:$LINENO: error: version 2 or higher required; see the INSTALL doc for more info" >&5
3733 echo "$as_me: error: version 2 or higher required; see the INSTALL doc for more info" >&2;}
3734 { (exit 1); exit 1; }; }
3744 for ac_header
in smi.h
3746 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3748 echo "$as_me:$LINENO: checking for $ac_header" >&5
3749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3751 echo $ECHO_N "(cached) $ECHO_C" >&6
3753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3756 # Is the header compilable?
3757 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3758 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3759 cat >conftest.
$ac_ext <<_ACEOF
3762 cat confdefs.h
>>conftest.
$ac_ext
3763 cat >>conftest.
$ac_ext <<_ACEOF
3764 /* end confdefs.h. */
3765 $ac_includes_default
3766 #include <$ac_header>
3768 rm -f conftest.
$ac_objext
3769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3770 (eval $ac_compile) 2>conftest.er1
3772 grep -v '^ *+' conftest.er1
>conftest.err
3774 cat conftest.err
>&5
3775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3776 (exit $ac_status); } &&
3777 { ac_try
='test -z "$ac_c_werror_flag"
3778 || test ! -s conftest.err'
3779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3783 (exit $ac_status); }; } &&
3784 { ac_try
='test -s conftest.$ac_objext'
3785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3789 (exit $ac_status); }; }; then
3790 ac_header_compiler
=yes
3792 echo "$as_me: failed program was:" >&5
3793 sed 's/^/| /' conftest.
$ac_ext >&5
3795 ac_header_compiler
=no
3797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3798 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3799 echo "${ECHO_T}$ac_header_compiler" >&6
3801 # Is the header present?
3802 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3803 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3804 cat >conftest.
$ac_ext <<_ACEOF
3807 cat confdefs.h
>>conftest.
$ac_ext
3808 cat >>conftest.
$ac_ext <<_ACEOF
3809 /* end confdefs.h. */
3810 #include <$ac_header>
3812 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3813 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3815 grep -v '^ *+' conftest.er1
>conftest.err
3817 cat conftest.err
>&5
3818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3819 (exit $ac_status); } >/dev
/null
; then
3820 if test -s conftest.err
; then
3821 ac_cpp_err
=$ac_c_preproc_warn_flag
3822 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3829 if test -z "$ac_cpp_err"; then
3830 ac_header_preproc
=yes
3832 echo "$as_me: failed program was:" >&5
3833 sed 's/^/| /' conftest.
$ac_ext >&5
3835 ac_header_preproc
=no
3837 rm -f conftest.err conftest.
$ac_ext
3838 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3839 echo "${ECHO_T}$ac_header_preproc" >&6
3841 # So? What about this header?
3842 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3844 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3845 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3846 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3847 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3848 ac_header_preproc
=yes
3851 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3852 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3853 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3854 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3855 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3856 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3857 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3858 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3859 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3860 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3861 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3862 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3865 ## ------------------------------------------ ##
3866 ## Report this to the AC_PACKAGE_NAME lists. ##
3867 ## ------------------------------------------ ##
3870 sed "s/^/$as_me: WARNING: /" >&2
3873 echo "$as_me:$LINENO: checking for $ac_header" >&5
3874 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3876 echo $ECHO_N "(cached) $ECHO_C" >&6
3878 eval "$as_ac_Header=\$ac_header_preproc"
3880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3881 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3884 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3885 cat >>confdefs.h
<<_ACEOF
3886 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3894 echo "$as_me:$LINENO: checking for smiInit in -lsmi" >&5
3895 echo $ECHO_N "checking for smiInit in -lsmi... $ECHO_C" >&6
3896 if test "${ac_cv_lib_smi_smiInit+set}" = set; then
3897 echo $ECHO_N "(cached) $ECHO_C" >&6
3899 ac_check_lib_save_LIBS
=$LIBS
3901 cat >conftest.
$ac_ext <<_ACEOF
3904 cat confdefs.h
>>conftest.
$ac_ext
3905 cat >>conftest.
$ac_ext <<_ACEOF
3906 /* end confdefs.h. */
3908 /* Override any gcc2 internal prototype to avoid an error. */
3912 /* We use char because int might match the return type of a gcc2
3913 builtin and then its argument prototype would still apply. */
3923 rm -f conftest.
$ac_objext conftest
$ac_exeext
3924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3925 (eval $ac_link) 2>conftest.er1
3927 grep -v '^ *+' conftest.er1
>conftest.err
3929 cat conftest.err
>&5
3930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931 (exit $ac_status); } &&
3932 { ac_try
='test -z "$ac_c_werror_flag"
3933 || test ! -s conftest.err'
3934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3938 (exit $ac_status); }; } &&
3939 { ac_try
='test -s conftest$ac_exeext'
3940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3944 (exit $ac_status); }; }; then
3945 ac_cv_lib_smi_smiInit
=yes
3947 echo "$as_me: failed program was:" >&5
3948 sed 's/^/| /' conftest.
$ac_ext >&5
3950 ac_cv_lib_smi_smiInit
=no
3952 rm -f conftest.err conftest.
$ac_objext \
3953 conftest
$ac_exeext conftest.
$ac_ext
3954 LIBS
=$ac_check_lib_save_LIBS
3956 echo "$as_me:$LINENO: result: $ac_cv_lib_smi_smiInit" >&5
3957 echo "${ECHO_T}$ac_cv_lib_smi_smiInit" >&6
3958 if test $ac_cv_lib_smi_smiInit = yes; then
3959 cat >>confdefs.h
<<_ACEOF
3960 #define HAVE_LIBSMI 1
3967 if test "$ac_cv_header_smi_h" = yes -a "$ac_cv_lib_smi_smiInit" = yes
3969 echo "$as_me:$LINENO: checking whether to enable libsmi" >&5
3970 echo $ECHO_N "checking whether to enable libsmi... $ECHO_C" >&6
3971 if test "$cross_compiling" = yes; then
3972 echo "$as_me:$LINENO: result: not when cross-compiling" >&5
3973 echo "${ECHO_T}not when cross-compiling" >&6
3977 cat >conftest.
$ac_ext <<_ACEOF
3980 cat confdefs.h
>>conftest.
$ac_ext
3981 cat >>conftest.
$ac_ext <<_ACEOF
3982 /* end confdefs.h. */
3983 /* libsmi available check */
3987 int current, revision, age, n;
3988 const int required = 2;
3991 if (strcmp(SMI_LIBRARY_VERSION, smi_library_version))
3993 n = sscanf(smi_library_version, "%d:%d:%d", ¤t, &revision, &age);
3996 if (required < current - age || required > current)
4002 rm -f conftest
$ac_exeext
4003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4004 (eval $ac_link) 2>&5
4006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4007 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4012 (exit $ac_status); }; }; then
4013 echo "$as_me:$LINENO: result: yes" >&5
4014 echo "${ECHO_T}yes" >&6
4015 cat >>confdefs.h
<<\_ACEOF
4021 echo "$as_me: program exited with status $ac_status" >&5
4022 echo "$as_me: failed program was:" >&5
4023 sed 's/^/| /' conftest.
$ac_ext >&5
4027 1) echo "$as_me:$LINENO: result: no - smiInit failed" >&5
4028 echo "${ECHO_T}no - smiInit failed" >&6 ;;
4029 2) echo "$as_me:$LINENO: result: no - header/library version mismatch" >&5
4030 echo "${ECHO_T}no - header/library version mismatch" >&6 ;;
4031 3) echo "$as_me:$LINENO: result: no - can't determine library version" >&5
4032 echo "${ECHO_T}no - can't determine library version" >&6 ;;
4033 4) echo "$as_me:$LINENO: result: no - too old" >&5
4034 echo "${ECHO_T}no - too old" >&6 ;;
4035 *) echo "$as_me:$LINENO: result: no" >&5
4036 echo "${ECHO_T}no" >&6 ;;
4040 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4044 echo "$as_me:$LINENO: checking whether to enable the possibly-buggy SMB printer" >&5
4045 echo $ECHO_N "checking whether to enable the possibly-buggy SMB printer... $ECHO_C" >&6
4046 # Check whether --enable-smb or --disable-smb was given.
4047 if test "${enable_smb+set}" = set; then
4048 enableval
="$enable_smb"
4053 case "$enableval" in
4054 yes) echo "$as_me:$LINENO: result: yes" >&5
4055 echo "${ECHO_T}yes" >&6
4056 { echo "$as_me:$LINENO: WARNING: The SMB printer may have exploitable buffer overflows!!!" >&5
4057 echo "$as_me: WARNING: The SMB printer may have exploitable buffer overflows!!!" >&2;}
4058 cat >>confdefs.h
<<\_ACEOF
4059 #define TCPDUMP_DO_SMB 1
4062 LOCALSRC
="print-smb.c smbutil.c $LOCALSRC"
4064 *) echo "$as_me:$LINENO: result: no" >&5
4065 echo "${ECHO_T}no" >&6
4070 # Check whether --with-user or --without-user was given.
4071 if test "${with_user+set}" = set; then
4072 withval
="$with_user"
4075 echo "$as_me:$LINENO: checking whether to drop root privileges by default" >&5
4076 echo $ECHO_N "checking whether to drop root privileges by default... $ECHO_C" >&6
4077 if test ! -z "$with_user" ; then
4078 cat >>confdefs.h
<<_ACEOF
4079 #define WITH_USER "$withval"
4082 echo "$as_me:$LINENO: result: to \"$withval\"" >&5
4083 echo "${ECHO_T}to \"$withval\"" >&6
4085 echo "$as_me:$LINENO: result: no" >&5
4086 echo "${ECHO_T}no" >&6
4090 # Check whether --with-chroot or --without-chroot was given.
4091 if test "${with_chroot+set}" = set; then
4092 withval
="$with_chroot"
4095 echo "$as_me:$LINENO: checking whether to chroot" >&5
4096 echo $ECHO_N "checking whether to chroot... $ECHO_C" >&6
4097 if test ! -z "$with_chroot" ; then
4098 cat >>confdefs.h
<<_ACEOF
4099 #define WITH_CHROOT "$withval"
4102 echo "$as_me:$LINENO: result: to \"$withval\"" >&5
4103 echo "${ECHO_T}to \"$withval\"" >&6
4105 echo "$as_me:$LINENO: result: no" >&5
4106 echo "${ECHO_T}no" >&6
4109 echo "$as_me:$LINENO: checking whether to enable ipv6" >&5
4110 echo $ECHO_N "checking whether to enable ipv6... $ECHO_C" >&6
4111 # Check whether --enable-ipv6 or --disable-ipv6 was given.
4112 if test "${enable_ipv6+set}" = set; then
4113 enableval
="$enable_ipv6"
4114 case "$enableval" in
4115 yes) echo "$as_me:$LINENO: result: yes" >&5
4116 echo "${ECHO_T}yes" >&6
4117 LOCALSRC
="print-ip6.c print-ip6opts.c print-mobility.c print-ripng.c print-icmp6.c print-frag6.c print-rt6.c print-ospf6.c print-dhcp6.c $LOCALSRC"
4118 cat >>confdefs.h
<<\_ACEOF
4125 echo "$as_me:$LINENO: result: no" >&5
4126 echo "${ECHO_T}no" >&6
4131 if test "$cross_compiling" = yes; then
4132 echo "$as_me:$LINENO: result: no" >&5
4133 echo "${ECHO_T}no" >&6
4137 cat >conftest.
$ac_ext <<_ACEOF
4140 cat confdefs.h
>>conftest.
$ac_ext
4141 cat >>conftest.
$ac_ext <<_ACEOF
4142 /* end confdefs.h. */
4143 /* AF_INET6 available check */
4144 #include <sys/types.h>
4145 #include <sys/socket.h>
4148 if (socket(AF_INET6, SOCK_STREAM, 0) < 0)
4155 rm -f conftest
$ac_exeext
4156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4157 (eval $ac_link) 2>&5
4159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4160 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4165 (exit $ac_status); }; }; then
4166 echo "$as_me:$LINENO: result: yes" >&5
4167 echo "${ECHO_T}yes" >&6
4168 LOCALSRC
="print-ip6.c print-ip6opts.c print-mobility.c print-ripng.c print-icmp6.c print-frag6.c print-rt6.c print-ospf6.c print-dhcp6.c $LOCALSRC"
4169 cat >>confdefs.h
<<\_ACEOF
4175 echo "$as_me: program exited with status $ac_status" >&5
4176 echo "$as_me: failed program was:" >&5
4177 sed 's/^/| /' conftest.
$ac_ext >&5
4180 echo "$as_me:$LINENO: result: no" >&5
4181 echo "${ECHO_T}no" >&6
4184 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4192 if test "$ipv6" = "yes"; then
4193 echo "$as_me:$LINENO: checking ipv6 stack type" >&5
4194 echo $ECHO_N "checking ipv6 stack type... $ECHO_C" >&6
4195 for i
in inria kame linux-glibc linux-libinet6 toshiba v6d zeta
; do
4198 cat >conftest.
$ac_ext <<_ACEOF
4201 cat confdefs.h
>>conftest.
$ac_ext
4202 cat >>conftest.
$ac_ext <<_ACEOF
4203 /* end confdefs.h. */
4204 #include <netinet/in.h>
4205 #ifdef IPV6_INRIA_VERSION
4209 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4210 $EGREP "yes" >/dev
/null
2>&1; then
4212 CFLAGS
="-DINET6 $CFLAGS"
4218 cat >conftest.
$ac_ext <<_ACEOF
4221 cat confdefs.h
>>conftest.
$ac_ext
4222 cat >>conftest.
$ac_ext <<_ACEOF
4223 /* end confdefs.h. */
4224 #include <netinet/in.h>
4229 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4230 $EGREP "yes" >/dev
/null
2>&1; then
4233 ipv6libdir
=/usr
/local
/v
6/lib
;
4235 CFLAGS
="-DINET6 $CFLAGS"
4241 cat >conftest.
$ac_ext <<_ACEOF
4244 cat confdefs.h
>>conftest.
$ac_ext
4245 cat >>conftest.
$ac_ext <<_ACEOF
4246 /* end confdefs.h. */
4247 #include <features.h>
4248 #if defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1
4252 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4253 $EGREP "yes" >/dev
/null
2>&1; then
4255 CFLAGS
="-DINET6 $CFLAGS"
4261 if test -d /usr
/inet6
-o -f /usr
/include
/netinet
/ip6.h
; then
4264 ipv6libdir
=/usr
/inet
6/lib
4266 CFLAGS
="-DINET6 -I/usr/inet6/include $CFLAGS"
4270 cat >conftest.
$ac_ext <<_ACEOF
4273 cat confdefs.h
>>conftest.
$ac_ext
4274 cat >>conftest.
$ac_ext <<_ACEOF
4275 /* end confdefs.h. */
4276 #include <sys/param.h>
4277 #ifdef _TOSHIBA_INET6
4281 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4282 $EGREP "yes" >/dev
/null
2>&1; then
4285 ipv6libdir
=/usr
/local
/v
6/lib
;
4286 CFLAGS
="-DINET6 $CFLAGS"
4292 cat >conftest.
$ac_ext <<_ACEOF
4295 cat confdefs.h
>>conftest.
$ac_ext
4296 cat >>conftest.
$ac_ext <<_ACEOF
4297 /* end confdefs.h. */
4298 #include </usr/local/v6/include/sys/v6config.h>
4303 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4304 $EGREP "yes" >/dev
/null
2>&1; then
4307 ipv6libdir
=/usr
/local
/v
6/lib
;
4308 CFLAGS
="-I/usr/local/v6/include $CFLAGS"
4314 cat >conftest.
$ac_ext <<_ACEOF
4317 cat confdefs.h
>>conftest.
$ac_ext
4318 cat >>conftest.
$ac_ext <<_ACEOF
4319 /* end confdefs.h. */
4320 #include <sys/param.h>
4321 #ifdef _ZETA_MINAMI_INET6
4325 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4326 $EGREP "yes" >/dev
/null
2>&1; then
4329 ipv6libdir
=/usr
/local
/v
6/lib
;
4330 CFLAGS
="-DINET6 $CFLAGS"
4336 if test "$ipv6type" != "unknown"; then
4340 echo "$as_me:$LINENO: result: $ipv6type" >&5
4341 echo "${ECHO_T}$ipv6type" >&6
4344 if test "$ipv6" = "yes" -a "$ipv6lib" != "none"; then
4345 if test -d $ipv6libdir -a -f $ipv6libdir/lib
$ipv6lib.a
; then
4346 LIBS
="-L$ipv6libdir -l$ipv6lib $LIBS"
4347 echo "You have $ipv6lib library, using it"
4349 if test "$ipv6trylibc" = "yes"; then
4350 echo "You do not have $ipv6lib library, using libc"
4352 echo 'Fatal: no $ipv6lib library found. cannot continue.'
4353 echo "You need to fetch lib$ipv6lib.a from appropriate"
4354 echo 'ipv6 kit and compile beforehand.'
4361 if test "$ipv6" = "yes"; then
4363 # XXX - on Tru64 UNIX 5.1, there is no "getaddrinfo()"
4364 # function in libc; there are "ngetaddrinfo()" and
4365 # "ogetaddrinfo()" functions, and <netdb.h> #defines
4366 # "getaddrinfo" to be either "ngetaddrinfo" or
4367 # "ogetaddrinfo", depending on whether _SOCKADDR_LEN
4368 # or _XOPEN_SOURCE_EXTENDED are defined or not.
4370 # So this test doesn't work on Tru64 5.1, and possibly
4371 # on other 5.x releases. This causes the configure
4372 # script to become confused, and results in libpcap
4373 # being unbuildable.
4375 echo "$as_me:$LINENO: checking for library containing getaddrinfo" >&5
4376 echo $ECHO_N "checking for library containing getaddrinfo... $ECHO_C" >&6
4377 if test "${ac_cv_search_getaddrinfo+set}" = set; then
4378 echo $ECHO_N "(cached) $ECHO_C" >&6
4380 ac_func_search_save_LIBS
=$LIBS
4381 ac_cv_search_getaddrinfo
=no
4382 cat >conftest.
$ac_ext <<_ACEOF
4385 cat confdefs.h
>>conftest.
$ac_ext
4386 cat >>conftest.
$ac_ext <<_ACEOF
4387 /* end confdefs.h. */
4389 /* Override any gcc2 internal prototype to avoid an error. */
4393 /* We use char because int might match the return type of a gcc2
4394 builtin and then its argument prototype would still apply. */
4395 char getaddrinfo ();
4404 rm -f conftest.
$ac_objext conftest
$ac_exeext
4405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4406 (eval $ac_link) 2>conftest.er1
4408 grep -v '^ *+' conftest.er1
>conftest.err
4410 cat conftest.err
>&5
4411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4412 (exit $ac_status); } &&
4413 { ac_try
='test -z "$ac_c_werror_flag"
4414 || test ! -s conftest.err'
4415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4419 (exit $ac_status); }; } &&
4420 { ac_try
='test -s conftest$ac_exeext'
4421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4425 (exit $ac_status); }; }; then
4426 ac_cv_search_getaddrinfo
="none required"
4428 echo "$as_me: failed program was:" >&5
4429 sed 's/^/| /' conftest.
$ac_ext >&5
4432 rm -f conftest.err conftest.
$ac_objext \
4433 conftest
$ac_exeext conftest.
$ac_ext
4434 if test "$ac_cv_search_getaddrinfo" = no
; then
4435 for ac_lib
in socket
; do
4436 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4437 cat >conftest.
$ac_ext <<_ACEOF
4440 cat confdefs.h
>>conftest.
$ac_ext
4441 cat >>conftest.
$ac_ext <<_ACEOF
4442 /* end confdefs.h. */
4444 /* Override any gcc2 internal prototype to avoid an error. */
4448 /* We use char because int might match the return type of a gcc2
4449 builtin and then its argument prototype would still apply. */
4450 char getaddrinfo ();
4459 rm -f conftest.
$ac_objext conftest
$ac_exeext
4460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4461 (eval $ac_link) 2>conftest.er1
4463 grep -v '^ *+' conftest.er1
>conftest.err
4465 cat conftest.err
>&5
4466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4467 (exit $ac_status); } &&
4468 { ac_try
='test -z "$ac_c_werror_flag"
4469 || test ! -s conftest.err'
4470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4474 (exit $ac_status); }; } &&
4475 { ac_try
='test -s conftest$ac_exeext'
4476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4480 (exit $ac_status); }; }; then
4481 ac_cv_search_getaddrinfo
="-l$ac_lib"
4484 echo "$as_me: failed program was:" >&5
4485 sed 's/^/| /' conftest.
$ac_ext >&5
4488 rm -f conftest.err conftest.
$ac_objext \
4489 conftest
$ac_exeext conftest.
$ac_ext
4492 LIBS
=$ac_func_search_save_LIBS
4494 echo "$as_me:$LINENO: result: $ac_cv_search_getaddrinfo" >&5
4495 echo "${ECHO_T}$ac_cv_search_getaddrinfo" >&6
4496 if test "$ac_cv_search_getaddrinfo" != no
; then
4497 test "$ac_cv_search_getaddrinfo" = "none required" || LIBS
="$ac_cv_search_getaddrinfo $LIBS"
4498 echo "$as_me:$LINENO: checking getaddrinfo bug" >&5
4499 echo $ECHO_N "checking getaddrinfo bug... $ECHO_C" >&6
4500 if test "${td_cv_buggygetaddrinfo+set}" = set; then
4501 echo $ECHO_N "(cached) $ECHO_C" >&6
4503 if test "$cross_compiling" = yes; then
4504 td_cv_buggygetaddrinfo
=yes
4506 cat >conftest.
$ac_ext <<_ACEOF
4509 cat confdefs.h
>>conftest.
$ac_ext
4510 cat >>conftest.
$ac_ext <<_ACEOF
4511 /* end confdefs.h. */
4513 #include <sys/types.h>
4516 #include <sys/socket.h>
4517 #include <netinet/in.h>
4521 int passive, gaierr, inet4 = 0, inet6 = 0;
4522 struct addrinfo hints, *ai, *aitop;
4523 char straddr[INET6_ADDRSTRLEN], strport[16];
4525 for (passive = 0; passive <= 1; passive++) {
4526 memset(&hints, 0, sizeof(hints));
4527 hints.ai_family = AF_UNSPEC;
4528 hints.ai_flags = passive ? AI_PASSIVE : 0;
4529 hints.ai_socktype = SOCK_STREAM;
4530 hints.ai_protocol = IPPROTO_TCP;
4531 if ((gaierr = getaddrinfo(NULL, "54321", &hints, &aitop)) != 0) {
4532 (void)gai_strerror(gaierr);
4535 for (ai = aitop; ai; ai = ai->ai_next) {
4536 if (ai->ai_addr == NULL ||
4537 ai->ai_addrlen == 0 ||
4538 getnameinfo(ai->ai_addr, ai->ai_addrlen,
4539 straddr, sizeof(straddr), strport, sizeof(strport),
4540 NI_NUMERICHOST|NI_NUMERICSERV) != 0) {
4543 switch (ai->ai_family) {
4545 if (strcmp(strport, "54321") != 0) {
4549 if (strcmp(straddr, "0.0.0.0") != 0) {
4553 if (strcmp(straddr, "127.0.0.1") != 0) {
4560 if (strcmp(strport, "54321") != 0) {
4564 if (strcmp(straddr, "::") != 0) {
4568 if (strcmp(straddr, "::1") != 0) {
4585 /* another family support? */
4591 /* supported family should be 2, unsupported family should be 0 */
4592 if (!(inet4 == 0 || inet4 == 2))
4594 if (!(inet6 == 0 || inet6 == 2))
4598 freeaddrinfo(aitop);
4603 freeaddrinfo(aitop);
4608 rm -f conftest
$ac_exeext
4609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4610 (eval $ac_link) 2>&5
4612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4613 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4618 (exit $ac_status); }; }; then
4619 td_cv_buggygetaddrinfo
=no
4621 echo "$as_me: program exited with status $ac_status" >&5
4622 echo "$as_me: failed program was:" >&5
4623 sed 's/^/| /' conftest.
$ac_ext >&5
4626 td_cv_buggygetaddrinfo
=yes
4628 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4632 if test "$td_cv_buggygetaddrinfo" = no
; then
4633 echo "$as_me:$LINENO: result: good" >&5
4634 echo "${ECHO_T}good" >&6
4636 echo "$as_me:$LINENO: result: buggy" >&5
4637 echo "${ECHO_T}buggy" >&6
4640 if test "$td_cv_buggygetaddrinfo" = "yes"; then
4642 # XXX - it doesn't appear that "ipv6type" can ever be
4643 # set to "linux". Should this be testing for
4644 # "linux-glibc", or for that *or* "linux-libinet6"?
4645 # If the latter, note that "linux-libinet6" is also
4646 # the type given to some non-Linux OSes.
4648 if test "$ipv6type" != "linux"; then
4649 echo 'Fatal: You must get working getaddrinfo() function.'
4650 echo ' or you can specify "--disable-ipv6"'.
4653 echo 'Warning: getaddrinfo() implementation on your system seems be buggy.'
4654 echo ' Better upgrade your system library to newest version'
4655 echo ' of GNU C library (aka glibc).'
4663 for ac_func
in getaddrinfo getnameinfo
4665 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4666 echo "$as_me:$LINENO: checking for $ac_func" >&5
4667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4668 if eval "test \"\${$as_ac_var+set}\" = set"; then
4669 echo $ECHO_N "(cached) $ECHO_C" >&6
4671 cat >conftest.
$ac_ext <<_ACEOF
4674 cat confdefs.h
>>conftest.
$ac_ext
4675 cat >>conftest.
$ac_ext <<_ACEOF
4676 /* end confdefs.h. */
4677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4679 #define $ac_func innocuous_$ac_func
4681 /* System header to define __stub macros and hopefully few prototypes,
4682 which can conflict with char $ac_func (); below.
4683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4684 <limits.h> exists even on freestanding compilers. */
4687 # include <limits.h>
4689 # include <assert.h>
4694 /* Override any gcc2 internal prototype to avoid an error. */
4699 /* We use char because int might match the return type of a gcc2
4700 builtin and then its argument prototype would still apply. */
4702 /* The GNU C library defines this for functions which it implements
4703 to always fail with ENOSYS. Some functions are actually named
4704 something starting with __ and the normal name is an alias. */
4705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4708 char (*f) () = $ac_func;
4717 return f != $ac_func;
4722 rm -f conftest.
$ac_objext conftest
$ac_exeext
4723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4724 (eval $ac_link) 2>conftest.er1
4726 grep -v '^ *+' conftest.er1
>conftest.err
4728 cat conftest.err
>&5
4729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4730 (exit $ac_status); } &&
4731 { ac_try
='test -z "$ac_c_werror_flag"
4732 || test ! -s conftest.err'
4733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4737 (exit $ac_status); }; } &&
4738 { ac_try
='test -s conftest$ac_exeext'
4739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4743 (exit $ac_status); }; }; then
4744 eval "$as_ac_var=yes"
4746 echo "$as_me: failed program was:" >&5
4747 sed 's/^/| /' conftest.
$ac_ext >&5
4749 eval "$as_ac_var=no"
4751 rm -f conftest.err conftest.
$ac_objext \
4752 conftest
$ac_exeext conftest.
$ac_ext
4754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4756 if test `eval echo '${'$as_ac_var'}'` = yes; then
4757 cat >>confdefs.h
<<_ACEOF
4758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4763 "$ac_func.$ac_objext" | \
4764 *" $ac_func.$ac_objext" | \
4765 "$ac_func.$ac_objext "* | \
4766 *" $ac_func.$ac_objext "* ) ;;
4767 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" ;;
4776 echo "$as_me:$LINENO: checking for dnet_htoa declaration in netdnet/dnetdb.h" >&5
4777 echo $ECHO_N "checking for dnet_htoa declaration in netdnet/dnetdb.h... $ECHO_C" >&6
4778 if test "${td_cv_decl_netdnet_dnetdb_h_dnet_htoa+set}" = set; then
4779 echo $ECHO_N "(cached) $ECHO_C" >&6
4781 cat >conftest.
$ac_ext <<_ACEOF
4784 cat confdefs.h
>>conftest.
$ac_ext
4785 cat >>conftest.
$ac_ext <<_ACEOF
4786 /* end confdefs.h. */
4787 #include <netdnet/dnetdb.h>
4790 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4791 $EGREP "dnet_htoa" >/dev
/null
2>&1; then
4792 td_cv_decl_netdnet_dnetdb_h_dnet_htoa
=yes
4794 td_cv_decl_netdnet_dnetdb_h_dnet_htoa
=no
4799 echo "$as_me:$LINENO: result: $td_cv_decl_netdnet_dnetdb_h_dnet_htoa" >&5
4800 echo "${ECHO_T}$td_cv_decl_netdnet_dnetdb_h_dnet_htoa" >&6
4801 if test "$td_cv_decl_netdnet_dnetdb_h_dnet_htoa" = yes; then
4802 cat >>confdefs.h
<<\_ACEOF
4803 #define HAVE_NETDNET_DNETDB_H_DNET_HTOA 1
4808 echo "$as_me:$LINENO: checking for char" >&5
4809 echo $ECHO_N "checking for char... $ECHO_C" >&6
4810 if test "${ac_cv_type_char+set}" = set; then
4811 echo $ECHO_N "(cached) $ECHO_C" >&6
4813 cat >conftest.
$ac_ext <<_ACEOF
4816 cat confdefs.h
>>conftest.
$ac_ext
4817 cat >>conftest.
$ac_ext <<_ACEOF
4818 /* end confdefs.h. */
4819 $ac_includes_default
4831 rm -f conftest.
$ac_objext
4832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4833 (eval $ac_compile) 2>conftest.er1
4835 grep -v '^ *+' conftest.er1
>conftest.err
4837 cat conftest.err
>&5
4838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4839 (exit $ac_status); } &&
4840 { ac_try
='test -z "$ac_c_werror_flag"
4841 || test ! -s conftest.err'
4842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4846 (exit $ac_status); }; } &&
4847 { ac_try
='test -s conftest.$ac_objext'
4848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4852 (exit $ac_status); }; }; then
4855 echo "$as_me: failed program was:" >&5
4856 sed 's/^/| /' conftest.
$ac_ext >&5
4860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4862 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
4863 echo "${ECHO_T}$ac_cv_type_char" >&6
4865 echo "$as_me:$LINENO: checking size of char" >&5
4866 echo $ECHO_N "checking size of char... $ECHO_C" >&6
4867 if test "${ac_cv_sizeof_char+set}" = set; then
4868 echo $ECHO_N "(cached) $ECHO_C" >&6
4870 if test "$ac_cv_type_char" = yes; then
4871 # The cast to unsigned long works around a bug in the HP C Compiler
4872 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4873 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4874 # This bug is HP SR number 8606223364.
4875 if test "$cross_compiling" = yes; then
4876 # Depending upon the size, compute the lo and hi bounds.
4877 cat >conftest.
$ac_ext <<_ACEOF
4880 cat confdefs.h
>>conftest.
$ac_ext
4881 cat >>conftest.
$ac_ext <<_ACEOF
4882 /* end confdefs.h. */
4883 $ac_includes_default
4887 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
4894 rm -f conftest.
$ac_objext
4895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4896 (eval $ac_compile) 2>conftest.er1
4898 grep -v '^ *+' conftest.er1
>conftest.err
4900 cat conftest.err
>&5
4901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4902 (exit $ac_status); } &&
4903 { ac_try
='test -z "$ac_c_werror_flag"
4904 || test ! -s conftest.err'
4905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4909 (exit $ac_status); }; } &&
4910 { ac_try
='test -s conftest.$ac_objext'
4911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4915 (exit $ac_status); }; }; then
4918 cat >conftest.
$ac_ext <<_ACEOF
4921 cat confdefs.h
>>conftest.
$ac_ext
4922 cat >>conftest.
$ac_ext <<_ACEOF
4923 /* end confdefs.h. */
4924 $ac_includes_default
4928 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
4935 rm -f conftest.
$ac_objext
4936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4937 (eval $ac_compile) 2>conftest.er1
4939 grep -v '^ *+' conftest.er1
>conftest.err
4941 cat conftest.err
>&5
4942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943 (exit $ac_status); } &&
4944 { ac_try
='test -z "$ac_c_werror_flag"
4945 || test ! -s conftest.err'
4946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4950 (exit $ac_status); }; } &&
4951 { ac_try
='test -s conftest.$ac_objext'
4952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4956 (exit $ac_status); }; }; then
4957 ac_hi
=$ac_mid; break
4959 echo "$as_me: failed program was:" >&5
4960 sed 's/^/| /' conftest.
$ac_ext >&5
4962 ac_lo
=`expr $ac_mid + 1`
4963 if test $ac_lo -le $ac_mid; then
4967 ac_mid
=`expr 2 '*' $ac_mid + 1`
4969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4972 echo "$as_me: failed program was:" >&5
4973 sed 's/^/| /' conftest.
$ac_ext >&5
4975 cat >conftest.
$ac_ext <<_ACEOF
4978 cat confdefs.h
>>conftest.
$ac_ext
4979 cat >>conftest.
$ac_ext <<_ACEOF
4980 /* end confdefs.h. */
4981 $ac_includes_default
4985 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
4992 rm -f conftest.
$ac_objext
4993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4994 (eval $ac_compile) 2>conftest.er1
4996 grep -v '^ *+' conftest.er1
>conftest.err
4998 cat conftest.err
>&5
4999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5000 (exit $ac_status); } &&
5001 { ac_try
='test -z "$ac_c_werror_flag"
5002 || test ! -s conftest.err'
5003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5007 (exit $ac_status); }; } &&
5008 { ac_try
='test -s conftest.$ac_objext'
5009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5013 (exit $ac_status); }; }; then
5016 cat >conftest.
$ac_ext <<_ACEOF
5019 cat confdefs.h
>>conftest.
$ac_ext
5020 cat >>conftest.
$ac_ext <<_ACEOF
5021 /* end confdefs.h. */
5022 $ac_includes_default
5026 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
5033 rm -f conftest.
$ac_objext
5034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5035 (eval $ac_compile) 2>conftest.er1
5037 grep -v '^ *+' conftest.er1
>conftest.err
5039 cat conftest.err
>&5
5040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5041 (exit $ac_status); } &&
5042 { ac_try
='test -z "$ac_c_werror_flag"
5043 || test ! -s conftest.err'
5044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5048 (exit $ac_status); }; } &&
5049 { ac_try
='test -s conftest.$ac_objext'
5050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5054 (exit $ac_status); }; }; then
5055 ac_lo
=$ac_mid; break
5057 echo "$as_me: failed program was:" >&5
5058 sed 's/^/| /' conftest.
$ac_ext >&5
5060 ac_hi
=`expr '(' $ac_mid ')' - 1`
5061 if test $ac_mid -le $ac_hi; then
5065 ac_mid
=`expr 2 '*' $ac_mid`
5067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5070 echo "$as_me: failed program was:" >&5
5071 sed 's/^/| /' conftest.
$ac_ext >&5
5075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5078 # Binary search between lo and hi bounds.
5079 while test "x$ac_lo" != "x$ac_hi"; do
5080 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5081 cat >conftest.
$ac_ext <<_ACEOF
5084 cat confdefs.h
>>conftest.
$ac_ext
5085 cat >>conftest.
$ac_ext <<_ACEOF
5086 /* end confdefs.h. */
5087 $ac_includes_default
5091 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
5098 rm -f conftest.
$ac_objext
5099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5100 (eval $ac_compile) 2>conftest.er1
5102 grep -v '^ *+' conftest.er1
>conftest.err
5104 cat conftest.err
>&5
5105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5106 (exit $ac_status); } &&
5107 { ac_try
='test -z "$ac_c_werror_flag"
5108 || test ! -s conftest.err'
5109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5113 (exit $ac_status); }; } &&
5114 { ac_try
='test -s conftest.$ac_objext'
5115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5119 (exit $ac_status); }; }; then
5122 echo "$as_me: failed program was:" >&5
5123 sed 's/^/| /' conftest.
$ac_ext >&5
5125 ac_lo
=`expr '(' $ac_mid ')' + 1`
5127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5130 ?
*) ac_cv_sizeof_char
=$ac_lo;;
5131 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
5132 See \`config.log' for more details." >&5
5133 echo "$as_me: error: cannot compute sizeof (char), 77
5134 See \`config.log' for more details." >&2;}
5135 { (exit 1); exit 1; }; } ;;
5138 if test "$cross_compiling" = yes; then
5139 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5140 See \`config.log' for more details." >&5
5141 echo "$as_me: error: cannot run test program while cross compiling
5142 See \`config.log' for more details." >&2;}
5143 { (exit 1); exit 1; }; }
5145 cat >conftest.
$ac_ext <<_ACEOF
5148 cat confdefs.h
>>conftest.
$ac_ext
5149 cat >>conftest.
$ac_ext <<_ACEOF
5150 /* end confdefs.h. */
5151 $ac_includes_default
5152 long longval () { return (long) (sizeof (char)); }
5153 unsigned long ulongval () { return (long) (sizeof (char)); }
5160 FILE *f = fopen ("conftest.val", "w");
5163 if (((long) (sizeof (char))) < 0)
5165 long i = longval ();
5166 if (i != ((long) (sizeof (char))))
5168 fprintf (f, "%ld\n", i);
5172 unsigned long i = ulongval ();
5173 if (i != ((long) (sizeof (char))))
5175 fprintf (f, "%lu\n", i);
5177 exit (ferror (f) || fclose (f) != 0);
5183 rm -f conftest
$ac_exeext
5184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5185 (eval $ac_link) 2>&5
5187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5188 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5193 (exit $ac_status); }; }; then
5194 ac_cv_sizeof_char
=`cat conftest.val`
5196 echo "$as_me: program exited with status $ac_status" >&5
5197 echo "$as_me: failed program was:" >&5
5198 sed 's/^/| /' conftest.
$ac_ext >&5
5201 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
5202 See \`config.log' for more details." >&5
5203 echo "$as_me: error: cannot compute sizeof (char), 77
5204 See \`config.log' for more details." >&2;}
5205 { (exit 1); exit 1; }; }
5207 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5215 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
5216 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
5217 cat >>confdefs.h
<<_ACEOF
5218 #define SIZEOF_CHAR $ac_cv_sizeof_char
5222 echo "$as_me:$LINENO: checking for short" >&5
5223 echo $ECHO_N "checking for short... $ECHO_C" >&6
5224 if test "${ac_cv_type_short+set}" = set; then
5225 echo $ECHO_N "(cached) $ECHO_C" >&6
5227 cat >conftest.
$ac_ext <<_ACEOF
5230 cat confdefs.h
>>conftest.
$ac_ext
5231 cat >>conftest.
$ac_ext <<_ACEOF
5232 /* end confdefs.h. */
5233 $ac_includes_default
5245 rm -f conftest.
$ac_objext
5246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5247 (eval $ac_compile) 2>conftest.er1
5249 grep -v '^ *+' conftest.er1
>conftest.err
5251 cat conftest.err
>&5
5252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5253 (exit $ac_status); } &&
5254 { ac_try
='test -z "$ac_c_werror_flag"
5255 || test ! -s conftest.err'
5256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5260 (exit $ac_status); }; } &&
5261 { ac_try
='test -s conftest.$ac_objext'
5262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5266 (exit $ac_status); }; }; then
5267 ac_cv_type_short
=yes
5269 echo "$as_me: failed program was:" >&5
5270 sed 's/^/| /' conftest.
$ac_ext >&5
5274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5276 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
5277 echo "${ECHO_T}$ac_cv_type_short" >&6
5279 echo "$as_me:$LINENO: checking size of short" >&5
5280 echo $ECHO_N "checking size of short... $ECHO_C" >&6
5281 if test "${ac_cv_sizeof_short+set}" = set; then
5282 echo $ECHO_N "(cached) $ECHO_C" >&6
5284 if test "$ac_cv_type_short" = yes; then
5285 # The cast to unsigned long works around a bug in the HP C Compiler
5286 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5287 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5288 # This bug is HP SR number 8606223364.
5289 if test "$cross_compiling" = yes; then
5290 # Depending upon the size, compute the lo and hi bounds.
5291 cat >conftest.
$ac_ext <<_ACEOF
5294 cat confdefs.h
>>conftest.
$ac_ext
5295 cat >>conftest.
$ac_ext <<_ACEOF
5296 /* end confdefs.h. */
5297 $ac_includes_default
5301 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
5308 rm -f conftest.
$ac_objext
5309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5310 (eval $ac_compile) 2>conftest.er1
5312 grep -v '^ *+' conftest.er1
>conftest.err
5314 cat conftest.err
>&5
5315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5316 (exit $ac_status); } &&
5317 { ac_try
='test -z "$ac_c_werror_flag"
5318 || test ! -s conftest.err'
5319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5323 (exit $ac_status); }; } &&
5324 { ac_try
='test -s conftest.$ac_objext'
5325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5329 (exit $ac_status); }; }; then
5332 cat >conftest.
$ac_ext <<_ACEOF
5335 cat confdefs.h
>>conftest.
$ac_ext
5336 cat >>conftest.
$ac_ext <<_ACEOF
5337 /* end confdefs.h. */
5338 $ac_includes_default
5342 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
5349 rm -f conftest.
$ac_objext
5350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5351 (eval $ac_compile) 2>conftest.er1
5353 grep -v '^ *+' conftest.er1
>conftest.err
5355 cat conftest.err
>&5
5356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5357 (exit $ac_status); } &&
5358 { ac_try
='test -z "$ac_c_werror_flag"
5359 || test ! -s conftest.err'
5360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5364 (exit $ac_status); }; } &&
5365 { ac_try
='test -s conftest.$ac_objext'
5366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5370 (exit $ac_status); }; }; then
5371 ac_hi
=$ac_mid; break
5373 echo "$as_me: failed program was:" >&5
5374 sed 's/^/| /' conftest.
$ac_ext >&5
5376 ac_lo
=`expr $ac_mid + 1`
5377 if test $ac_lo -le $ac_mid; then
5381 ac_mid
=`expr 2 '*' $ac_mid + 1`
5383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5386 echo "$as_me: failed program was:" >&5
5387 sed 's/^/| /' conftest.
$ac_ext >&5
5389 cat >conftest.
$ac_ext <<_ACEOF
5392 cat confdefs.h
>>conftest.
$ac_ext
5393 cat >>conftest.
$ac_ext <<_ACEOF
5394 /* end confdefs.h. */
5395 $ac_includes_default
5399 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
5406 rm -f conftest.
$ac_objext
5407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5408 (eval $ac_compile) 2>conftest.er1
5410 grep -v '^ *+' conftest.er1
>conftest.err
5412 cat conftest.err
>&5
5413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5414 (exit $ac_status); } &&
5415 { ac_try
='test -z "$ac_c_werror_flag"
5416 || test ! -s conftest.err'
5417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5421 (exit $ac_status); }; } &&
5422 { ac_try
='test -s conftest.$ac_objext'
5423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5427 (exit $ac_status); }; }; then
5430 cat >conftest.
$ac_ext <<_ACEOF
5433 cat confdefs.h
>>conftest.
$ac_ext
5434 cat >>conftest.
$ac_ext <<_ACEOF
5435 /* end confdefs.h. */
5436 $ac_includes_default
5440 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
5447 rm -f conftest.
$ac_objext
5448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5449 (eval $ac_compile) 2>conftest.er1
5451 grep -v '^ *+' conftest.er1
>conftest.err
5453 cat conftest.err
>&5
5454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5455 (exit $ac_status); } &&
5456 { ac_try
='test -z "$ac_c_werror_flag"
5457 || test ! -s conftest.err'
5458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5462 (exit $ac_status); }; } &&
5463 { ac_try
='test -s conftest.$ac_objext'
5464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5468 (exit $ac_status); }; }; then
5469 ac_lo
=$ac_mid; break
5471 echo "$as_me: failed program was:" >&5
5472 sed 's/^/| /' conftest.
$ac_ext >&5
5474 ac_hi
=`expr '(' $ac_mid ')' - 1`
5475 if test $ac_mid -le $ac_hi; then
5479 ac_mid
=`expr 2 '*' $ac_mid`
5481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5484 echo "$as_me: failed program was:" >&5
5485 sed 's/^/| /' conftest.
$ac_ext >&5
5489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5491 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5492 # Binary search between lo and hi bounds.
5493 while test "x$ac_lo" != "x$ac_hi"; do
5494 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5495 cat >conftest.
$ac_ext <<_ACEOF
5498 cat confdefs.h
>>conftest.
$ac_ext
5499 cat >>conftest.
$ac_ext <<_ACEOF
5500 /* end confdefs.h. */
5501 $ac_includes_default
5505 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
5512 rm -f conftest.
$ac_objext
5513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5514 (eval $ac_compile) 2>conftest.er1
5516 grep -v '^ *+' conftest.er1
>conftest.err
5518 cat conftest.err
>&5
5519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5520 (exit $ac_status); } &&
5521 { ac_try
='test -z "$ac_c_werror_flag"
5522 || test ! -s conftest.err'
5523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5527 (exit $ac_status); }; } &&
5528 { ac_try
='test -s conftest.$ac_objext'
5529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5533 (exit $ac_status); }; }; then
5536 echo "$as_me: failed program was:" >&5
5537 sed 's/^/| /' conftest.
$ac_ext >&5
5539 ac_lo
=`expr '(' $ac_mid ')' + 1`
5541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5544 ?
*) ac_cv_sizeof_short
=$ac_lo;;
5545 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
5546 See \`config.log' for more details." >&5
5547 echo "$as_me: error: cannot compute sizeof (short), 77
5548 See \`config.log' for more details." >&2;}
5549 { (exit 1); exit 1; }; } ;;
5552 if test "$cross_compiling" = yes; then
5553 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5554 See \`config.log' for more details." >&5
5555 echo "$as_me: error: cannot run test program while cross compiling
5556 See \`config.log' for more details." >&2;}
5557 { (exit 1); exit 1; }; }
5559 cat >conftest.
$ac_ext <<_ACEOF
5562 cat confdefs.h
>>conftest.
$ac_ext
5563 cat >>conftest.
$ac_ext <<_ACEOF
5564 /* end confdefs.h. */
5565 $ac_includes_default
5566 long longval () { return (long) (sizeof (short)); }
5567 unsigned long ulongval () { return (long) (sizeof (short)); }
5574 FILE *f = fopen ("conftest.val", "w");
5577 if (((long) (sizeof (short))) < 0)
5579 long i = longval ();
5580 if (i != ((long) (sizeof (short))))
5582 fprintf (f, "%ld\n", i);
5586 unsigned long i = ulongval ();
5587 if (i != ((long) (sizeof (short))))
5589 fprintf (f, "%lu\n", i);
5591 exit (ferror (f) || fclose (f) != 0);
5597 rm -f conftest
$ac_exeext
5598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5599 (eval $ac_link) 2>&5
5601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5602 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5607 (exit $ac_status); }; }; then
5608 ac_cv_sizeof_short
=`cat conftest.val`
5610 echo "$as_me: program exited with status $ac_status" >&5
5611 echo "$as_me: failed program was:" >&5
5612 sed 's/^/| /' conftest.
$ac_ext >&5
5615 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
5616 See \`config.log' for more details." >&5
5617 echo "$as_me: error: cannot compute sizeof (short), 77
5618 See \`config.log' for more details." >&2;}
5619 { (exit 1); exit 1; }; }
5621 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5626 ac_cv_sizeof_short
=0
5629 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
5630 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
5631 cat >>confdefs.h
<<_ACEOF
5632 #define SIZEOF_SHORT $ac_cv_sizeof_short
5636 echo "$as_me:$LINENO: checking for int" >&5
5637 echo $ECHO_N "checking for int... $ECHO_C" >&6
5638 if test "${ac_cv_type_int+set}" = set; then
5639 echo $ECHO_N "(cached) $ECHO_C" >&6
5641 cat >conftest.
$ac_ext <<_ACEOF
5644 cat confdefs.h
>>conftest.
$ac_ext
5645 cat >>conftest.
$ac_ext <<_ACEOF
5646 /* end confdefs.h. */
5647 $ac_includes_default
5659 rm -f conftest.
$ac_objext
5660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5661 (eval $ac_compile) 2>conftest.er1
5663 grep -v '^ *+' conftest.er1
>conftest.err
5665 cat conftest.err
>&5
5666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5667 (exit $ac_status); } &&
5668 { ac_try
='test -z "$ac_c_werror_flag"
5669 || test ! -s conftest.err'
5670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5674 (exit $ac_status); }; } &&
5675 { ac_try
='test -s conftest.$ac_objext'
5676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5680 (exit $ac_status); }; }; then
5683 echo "$as_me: failed program was:" >&5
5684 sed 's/^/| /' conftest.
$ac_ext >&5
5688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5690 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
5691 echo "${ECHO_T}$ac_cv_type_int" >&6
5693 echo "$as_me:$LINENO: checking size of int" >&5
5694 echo $ECHO_N "checking size of int... $ECHO_C" >&6
5695 if test "${ac_cv_sizeof_int+set}" = set; then
5696 echo $ECHO_N "(cached) $ECHO_C" >&6
5698 if test "$ac_cv_type_int" = yes; then
5699 # The cast to unsigned long works around a bug in the HP C Compiler
5700 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5701 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5702 # This bug is HP SR number 8606223364.
5703 if test "$cross_compiling" = yes; then
5704 # Depending upon the size, compute the lo and hi bounds.
5705 cat >conftest.
$ac_ext <<_ACEOF
5708 cat confdefs.h
>>conftest.
$ac_ext
5709 cat >>conftest.
$ac_ext <<_ACEOF
5710 /* end confdefs.h. */
5711 $ac_includes_default
5715 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
5722 rm -f conftest.
$ac_objext
5723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5724 (eval $ac_compile) 2>conftest.er1
5726 grep -v '^ *+' conftest.er1
>conftest.err
5728 cat conftest.err
>&5
5729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5730 (exit $ac_status); } &&
5731 { ac_try
='test -z "$ac_c_werror_flag"
5732 || test ! -s conftest.err'
5733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5737 (exit $ac_status); }; } &&
5738 { ac_try
='test -s conftest.$ac_objext'
5739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5743 (exit $ac_status); }; }; then
5746 cat >conftest.
$ac_ext <<_ACEOF
5749 cat confdefs.h
>>conftest.
$ac_ext
5750 cat >>conftest.
$ac_ext <<_ACEOF
5751 /* end confdefs.h. */
5752 $ac_includes_default
5756 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
5763 rm -f conftest.
$ac_objext
5764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5765 (eval $ac_compile) 2>conftest.er1
5767 grep -v '^ *+' conftest.er1
>conftest.err
5769 cat conftest.err
>&5
5770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5771 (exit $ac_status); } &&
5772 { ac_try
='test -z "$ac_c_werror_flag"
5773 || test ! -s conftest.err'
5774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5778 (exit $ac_status); }; } &&
5779 { ac_try
='test -s conftest.$ac_objext'
5780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5784 (exit $ac_status); }; }; then
5785 ac_hi
=$ac_mid; break
5787 echo "$as_me: failed program was:" >&5
5788 sed 's/^/| /' conftest.
$ac_ext >&5
5790 ac_lo
=`expr $ac_mid + 1`
5791 if test $ac_lo -le $ac_mid; then
5795 ac_mid
=`expr 2 '*' $ac_mid + 1`
5797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5800 echo "$as_me: failed program was:" >&5
5801 sed 's/^/| /' conftest.
$ac_ext >&5
5803 cat >conftest.
$ac_ext <<_ACEOF
5806 cat confdefs.h
>>conftest.
$ac_ext
5807 cat >>conftest.
$ac_ext <<_ACEOF
5808 /* end confdefs.h. */
5809 $ac_includes_default
5813 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
5820 rm -f conftest.
$ac_objext
5821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5822 (eval $ac_compile) 2>conftest.er1
5824 grep -v '^ *+' conftest.er1
>conftest.err
5826 cat conftest.err
>&5
5827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828 (exit $ac_status); } &&
5829 { ac_try
='test -z "$ac_c_werror_flag"
5830 || test ! -s conftest.err'
5831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5835 (exit $ac_status); }; } &&
5836 { ac_try
='test -s conftest.$ac_objext'
5837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5841 (exit $ac_status); }; }; then
5844 cat >conftest.
$ac_ext <<_ACEOF
5847 cat confdefs.h
>>conftest.
$ac_ext
5848 cat >>conftest.
$ac_ext <<_ACEOF
5849 /* end confdefs.h. */
5850 $ac_includes_default
5854 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
5861 rm -f conftest.
$ac_objext
5862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5863 (eval $ac_compile) 2>conftest.er1
5865 grep -v '^ *+' conftest.er1
>conftest.err
5867 cat conftest.err
>&5
5868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5869 (exit $ac_status); } &&
5870 { ac_try
='test -z "$ac_c_werror_flag"
5871 || test ! -s conftest.err'
5872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5876 (exit $ac_status); }; } &&
5877 { ac_try
='test -s conftest.$ac_objext'
5878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5882 (exit $ac_status); }; }; then
5883 ac_lo
=$ac_mid; break
5885 echo "$as_me: failed program was:" >&5
5886 sed 's/^/| /' conftest.
$ac_ext >&5
5888 ac_hi
=`expr '(' $ac_mid ')' - 1`
5889 if test $ac_mid -le $ac_hi; then
5893 ac_mid
=`expr 2 '*' $ac_mid`
5895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5898 echo "$as_me: failed program was:" >&5
5899 sed 's/^/| /' conftest.
$ac_ext >&5
5903 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5906 # Binary search between lo and hi bounds.
5907 while test "x$ac_lo" != "x$ac_hi"; do
5908 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5909 cat >conftest.
$ac_ext <<_ACEOF
5912 cat confdefs.h
>>conftest.
$ac_ext
5913 cat >>conftest.
$ac_ext <<_ACEOF
5914 /* end confdefs.h. */
5915 $ac_includes_default
5919 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
5926 rm -f conftest.
$ac_objext
5927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5928 (eval $ac_compile) 2>conftest.er1
5930 grep -v '^ *+' conftest.er1
>conftest.err
5932 cat conftest.err
>&5
5933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934 (exit $ac_status); } &&
5935 { ac_try
='test -z "$ac_c_werror_flag"
5936 || test ! -s conftest.err'
5937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5941 (exit $ac_status); }; } &&
5942 { ac_try
='test -s conftest.$ac_objext'
5943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5947 (exit $ac_status); }; }; then
5950 echo "$as_me: failed program was:" >&5
5951 sed 's/^/| /' conftest.
$ac_ext >&5
5953 ac_lo
=`expr '(' $ac_mid ')' + 1`
5955 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5958 ?
*) ac_cv_sizeof_int
=$ac_lo;;
5959 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
5960 See \`config.log' for more details." >&5
5961 echo "$as_me: error: cannot compute sizeof (int), 77
5962 See \`config.log' for more details." >&2;}
5963 { (exit 1); exit 1; }; } ;;
5966 if test "$cross_compiling" = yes; then
5967 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5968 See \`config.log' for more details." >&5
5969 echo "$as_me: error: cannot run test program while cross compiling
5970 See \`config.log' for more details." >&2;}
5971 { (exit 1); exit 1; }; }
5973 cat >conftest.
$ac_ext <<_ACEOF
5976 cat confdefs.h
>>conftest.
$ac_ext
5977 cat >>conftest.
$ac_ext <<_ACEOF
5978 /* end confdefs.h. */
5979 $ac_includes_default
5980 long longval () { return (long) (sizeof (int)); }
5981 unsigned long ulongval () { return (long) (sizeof (int)); }
5988 FILE *f = fopen ("conftest.val", "w");
5991 if (((long) (sizeof (int))) < 0)
5993 long i = longval ();
5994 if (i != ((long) (sizeof (int))))
5996 fprintf (f, "%ld\n", i);
6000 unsigned long i = ulongval ();
6001 if (i != ((long) (sizeof (int))))
6003 fprintf (f, "%lu\n", i);
6005 exit (ferror (f) || fclose (f) != 0);
6011 rm -f conftest
$ac_exeext
6012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6013 (eval $ac_link) 2>&5
6015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6016 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6021 (exit $ac_status); }; }; then
6022 ac_cv_sizeof_int
=`cat conftest.val`
6024 echo "$as_me: program exited with status $ac_status" >&5
6025 echo "$as_me: failed program was:" >&5
6026 sed 's/^/| /' conftest.
$ac_ext >&5
6029 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
6030 See \`config.log' for more details." >&5
6031 echo "$as_me: error: cannot compute sizeof (int), 77
6032 See \`config.log' for more details." >&2;}
6033 { (exit 1); exit 1; }; }
6035 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6043 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
6044 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
6045 cat >>confdefs.h
<<_ACEOF
6046 #define SIZEOF_INT $ac_cv_sizeof_int
6050 echo "$as_me:$LINENO: checking for long" >&5
6051 echo $ECHO_N "checking for long... $ECHO_C" >&6
6052 if test "${ac_cv_type_long+set}" = set; then
6053 echo $ECHO_N "(cached) $ECHO_C" >&6
6055 cat >conftest.
$ac_ext <<_ACEOF
6058 cat confdefs.h
>>conftest.
$ac_ext
6059 cat >>conftest.
$ac_ext <<_ACEOF
6060 /* end confdefs.h. */
6061 $ac_includes_default
6073 rm -f conftest.
$ac_objext
6074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6075 (eval $ac_compile) 2>conftest.er1
6077 grep -v '^ *+' conftest.er1
>conftest.err
6079 cat conftest.err
>&5
6080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6081 (exit $ac_status); } &&
6082 { ac_try
='test -z "$ac_c_werror_flag"
6083 || test ! -s conftest.err'
6084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6088 (exit $ac_status); }; } &&
6089 { ac_try
='test -s conftest.$ac_objext'
6090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094 (exit $ac_status); }; }; then
6097 echo "$as_me: failed program was:" >&5
6098 sed 's/^/| /' conftest.
$ac_ext >&5
6102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6104 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
6105 echo "${ECHO_T}$ac_cv_type_long" >&6
6107 echo "$as_me:$LINENO: checking size of long" >&5
6108 echo $ECHO_N "checking size of long... $ECHO_C" >&6
6109 if test "${ac_cv_sizeof_long+set}" = set; then
6110 echo $ECHO_N "(cached) $ECHO_C" >&6
6112 if test "$ac_cv_type_long" = yes; then
6113 # The cast to unsigned long works around a bug in the HP C Compiler
6114 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6115 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6116 # This bug is HP SR number 8606223364.
6117 if test "$cross_compiling" = yes; then
6118 # Depending upon the size, compute the lo and hi bounds.
6119 cat >conftest.
$ac_ext <<_ACEOF
6122 cat confdefs.h
>>conftest.
$ac_ext
6123 cat >>conftest.
$ac_ext <<_ACEOF
6124 /* end confdefs.h. */
6125 $ac_includes_default
6129 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
6136 rm -f conftest.
$ac_objext
6137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6138 (eval $ac_compile) 2>conftest.er1
6140 grep -v '^ *+' conftest.er1
>conftest.err
6142 cat conftest.err
>&5
6143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6144 (exit $ac_status); } &&
6145 { ac_try
='test -z "$ac_c_werror_flag"
6146 || test ! -s conftest.err'
6147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6151 (exit $ac_status); }; } &&
6152 { ac_try
='test -s conftest.$ac_objext'
6153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6157 (exit $ac_status); }; }; then
6160 cat >conftest.
$ac_ext <<_ACEOF
6163 cat confdefs.h
>>conftest.
$ac_ext
6164 cat >>conftest.
$ac_ext <<_ACEOF
6165 /* end confdefs.h. */
6166 $ac_includes_default
6170 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
6177 rm -f conftest.
$ac_objext
6178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6179 (eval $ac_compile) 2>conftest.er1
6181 grep -v '^ *+' conftest.er1
>conftest.err
6183 cat conftest.err
>&5
6184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6185 (exit $ac_status); } &&
6186 { ac_try
='test -z "$ac_c_werror_flag"
6187 || test ! -s conftest.err'
6188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192 (exit $ac_status); }; } &&
6193 { ac_try
='test -s conftest.$ac_objext'
6194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6198 (exit $ac_status); }; }; then
6199 ac_hi
=$ac_mid; break
6201 echo "$as_me: failed program was:" >&5
6202 sed 's/^/| /' conftest.
$ac_ext >&5
6204 ac_lo
=`expr $ac_mid + 1`
6205 if test $ac_lo -le $ac_mid; then
6209 ac_mid
=`expr 2 '*' $ac_mid + 1`
6211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6214 echo "$as_me: failed program was:" >&5
6215 sed 's/^/| /' conftest.
$ac_ext >&5
6217 cat >conftest.
$ac_ext <<_ACEOF
6220 cat confdefs.h
>>conftest.
$ac_ext
6221 cat >>conftest.
$ac_ext <<_ACEOF
6222 /* end confdefs.h. */
6223 $ac_includes_default
6227 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
6234 rm -f conftest.
$ac_objext
6235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6236 (eval $ac_compile) 2>conftest.er1
6238 grep -v '^ *+' conftest.er1
>conftest.err
6240 cat conftest.err
>&5
6241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6242 (exit $ac_status); } &&
6243 { ac_try
='test -z "$ac_c_werror_flag"
6244 || test ! -s conftest.err'
6245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6249 (exit $ac_status); }; } &&
6250 { ac_try
='test -s conftest.$ac_objext'
6251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6255 (exit $ac_status); }; }; then
6258 cat >conftest.
$ac_ext <<_ACEOF
6261 cat confdefs.h
>>conftest.
$ac_ext
6262 cat >>conftest.
$ac_ext <<_ACEOF
6263 /* end confdefs.h. */
6264 $ac_includes_default
6268 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
6275 rm -f conftest.
$ac_objext
6276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6277 (eval $ac_compile) 2>conftest.er1
6279 grep -v '^ *+' conftest.er1
>conftest.err
6281 cat conftest.err
>&5
6282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6283 (exit $ac_status); } &&
6284 { ac_try
='test -z "$ac_c_werror_flag"
6285 || test ! -s conftest.err'
6286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 (exit $ac_status); }; } &&
6291 { ac_try
='test -s conftest.$ac_objext'
6292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6296 (exit $ac_status); }; }; then
6297 ac_lo
=$ac_mid; break
6299 echo "$as_me: failed program was:" >&5
6300 sed 's/^/| /' conftest.
$ac_ext >&5
6302 ac_hi
=`expr '(' $ac_mid ')' - 1`
6303 if test $ac_mid -le $ac_hi; then
6307 ac_mid
=`expr 2 '*' $ac_mid`
6309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6312 echo "$as_me: failed program was:" >&5
6313 sed 's/^/| /' conftest.
$ac_ext >&5
6317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6320 # Binary search between lo and hi bounds.
6321 while test "x$ac_lo" != "x$ac_hi"; do
6322 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6323 cat >conftest.
$ac_ext <<_ACEOF
6326 cat confdefs.h
>>conftest.
$ac_ext
6327 cat >>conftest.
$ac_ext <<_ACEOF
6328 /* end confdefs.h. */
6329 $ac_includes_default
6333 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
6340 rm -f conftest.
$ac_objext
6341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6342 (eval $ac_compile) 2>conftest.er1
6344 grep -v '^ *+' conftest.er1
>conftest.err
6346 cat conftest.err
>&5
6347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6348 (exit $ac_status); } &&
6349 { ac_try
='test -z "$ac_c_werror_flag"
6350 || test ! -s conftest.err'
6351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6355 (exit $ac_status); }; } &&
6356 { ac_try
='test -s conftest.$ac_objext'
6357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6361 (exit $ac_status); }; }; then
6364 echo "$as_me: failed program was:" >&5
6365 sed 's/^/| /' conftest.
$ac_ext >&5
6367 ac_lo
=`expr '(' $ac_mid ')' + 1`
6369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6372 ?
*) ac_cv_sizeof_long
=$ac_lo;;
6373 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
6374 See \`config.log' for more details." >&5
6375 echo "$as_me: error: cannot compute sizeof (long), 77
6376 See \`config.log' for more details." >&2;}
6377 { (exit 1); exit 1; }; } ;;
6380 if test "$cross_compiling" = yes; then
6381 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6382 See \`config.log' for more details." >&5
6383 echo "$as_me: error: cannot run test program while cross compiling
6384 See \`config.log' for more details." >&2;}
6385 { (exit 1); exit 1; }; }
6387 cat >conftest.
$ac_ext <<_ACEOF
6390 cat confdefs.h
>>conftest.
$ac_ext
6391 cat >>conftest.
$ac_ext <<_ACEOF
6392 /* end confdefs.h. */
6393 $ac_includes_default
6394 long longval () { return (long) (sizeof (long)); }
6395 unsigned long ulongval () { return (long) (sizeof (long)); }
6402 FILE *f = fopen ("conftest.val", "w");
6405 if (((long) (sizeof (long))) < 0)
6407 long i = longval ();
6408 if (i != ((long) (sizeof (long))))
6410 fprintf (f, "%ld\n", i);
6414 unsigned long i = ulongval ();
6415 if (i != ((long) (sizeof (long))))
6417 fprintf (f, "%lu\n", i);
6419 exit (ferror (f) || fclose (f) != 0);
6425 rm -f conftest
$ac_exeext
6426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6427 (eval $ac_link) 2>&5
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6435 (exit $ac_status); }; }; then
6436 ac_cv_sizeof_long
=`cat conftest.val`
6438 echo "$as_me: program exited with status $ac_status" >&5
6439 echo "$as_me: failed program was:" >&5
6440 sed 's/^/| /' conftest.
$ac_ext >&5
6443 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
6444 See \`config.log' for more details." >&5
6445 echo "$as_me: error: cannot compute sizeof (long), 77
6446 See \`config.log' for more details." >&2;}
6447 { (exit 1); exit 1; }; }
6449 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6457 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
6458 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
6459 cat >>confdefs.h
<<_ACEOF
6460 #define SIZEOF_LONG $ac_cv_sizeof_long
6464 echo "$as_me:$LINENO: checking for long long" >&5
6465 echo $ECHO_N "checking for long long... $ECHO_C" >&6
6466 if test "${ac_cv_type_long_long+set}" = set; then
6467 echo $ECHO_N "(cached) $ECHO_C" >&6
6469 cat >conftest.
$ac_ext <<_ACEOF
6472 cat confdefs.h
>>conftest.
$ac_ext
6473 cat >>conftest.
$ac_ext <<_ACEOF
6474 /* end confdefs.h. */
6475 $ac_includes_default
6479 if ((long long *) 0)
6481 if (sizeof (long long))
6487 rm -f conftest.
$ac_objext
6488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6489 (eval $ac_compile) 2>conftest.er1
6491 grep -v '^ *+' conftest.er1
>conftest.err
6493 cat conftest.err
>&5
6494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6495 (exit $ac_status); } &&
6496 { ac_try
='test -z "$ac_c_werror_flag"
6497 || test ! -s conftest.err'
6498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6502 (exit $ac_status); }; } &&
6503 { ac_try
='test -s conftest.$ac_objext'
6504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508 (exit $ac_status); }; }; then
6509 ac_cv_type_long_long
=yes
6511 echo "$as_me: failed program was:" >&5
6512 sed 's/^/| /' conftest.
$ac_ext >&5
6514 ac_cv_type_long_long
=no
6516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6518 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
6519 echo "${ECHO_T}$ac_cv_type_long_long" >&6
6521 echo "$as_me:$LINENO: checking size of long long" >&5
6522 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
6523 if test "${ac_cv_sizeof_long_long+set}" = set; then
6524 echo $ECHO_N "(cached) $ECHO_C" >&6
6526 if test "$ac_cv_type_long_long" = yes; then
6527 # The cast to unsigned long works around a bug in the HP C Compiler
6528 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6529 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6530 # This bug is HP SR number 8606223364.
6531 if test "$cross_compiling" = yes; then
6532 # Depending upon the size, compute the lo and hi bounds.
6533 cat >conftest.
$ac_ext <<_ACEOF
6536 cat confdefs.h
>>conftest.
$ac_ext
6537 cat >>conftest.
$ac_ext <<_ACEOF
6538 /* end confdefs.h. */
6539 $ac_includes_default
6543 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
6550 rm -f conftest.
$ac_objext
6551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6552 (eval $ac_compile) 2>conftest.er1
6554 grep -v '^ *+' conftest.er1
>conftest.err
6556 cat conftest.err
>&5
6557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6558 (exit $ac_status); } &&
6559 { ac_try
='test -z "$ac_c_werror_flag"
6560 || test ! -s conftest.err'
6561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6565 (exit $ac_status); }; } &&
6566 { ac_try
='test -s conftest.$ac_objext'
6567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6571 (exit $ac_status); }; }; then
6574 cat >conftest.
$ac_ext <<_ACEOF
6577 cat confdefs.h
>>conftest.
$ac_ext
6578 cat >>conftest.
$ac_ext <<_ACEOF
6579 /* end confdefs.h. */
6580 $ac_includes_default
6584 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
6591 rm -f conftest.
$ac_objext
6592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6593 (eval $ac_compile) 2>conftest.er1
6595 grep -v '^ *+' conftest.er1
>conftest.err
6597 cat conftest.err
>&5
6598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6599 (exit $ac_status); } &&
6600 { ac_try
='test -z "$ac_c_werror_flag"
6601 || test ! -s conftest.err'
6602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6606 (exit $ac_status); }; } &&
6607 { ac_try
='test -s conftest.$ac_objext'
6608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6612 (exit $ac_status); }; }; then
6613 ac_hi
=$ac_mid; break
6615 echo "$as_me: failed program was:" >&5
6616 sed 's/^/| /' conftest.
$ac_ext >&5
6618 ac_lo
=`expr $ac_mid + 1`
6619 if test $ac_lo -le $ac_mid; then
6623 ac_mid
=`expr 2 '*' $ac_mid + 1`
6625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6628 echo "$as_me: failed program was:" >&5
6629 sed 's/^/| /' conftest.
$ac_ext >&5
6631 cat >conftest.
$ac_ext <<_ACEOF
6634 cat confdefs.h
>>conftest.
$ac_ext
6635 cat >>conftest.
$ac_ext <<_ACEOF
6636 /* end confdefs.h. */
6637 $ac_includes_default
6641 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
6648 rm -f conftest.
$ac_objext
6649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6650 (eval $ac_compile) 2>conftest.er1
6652 grep -v '^ *+' conftest.er1
>conftest.err
6654 cat conftest.err
>&5
6655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6656 (exit $ac_status); } &&
6657 { ac_try
='test -z "$ac_c_werror_flag"
6658 || test ! -s conftest.err'
6659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6663 (exit $ac_status); }; } &&
6664 { ac_try
='test -s conftest.$ac_objext'
6665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6669 (exit $ac_status); }; }; then
6672 cat >conftest.
$ac_ext <<_ACEOF
6675 cat confdefs.h
>>conftest.
$ac_ext
6676 cat >>conftest.
$ac_ext <<_ACEOF
6677 /* end confdefs.h. */
6678 $ac_includes_default
6682 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
6689 rm -f conftest.
$ac_objext
6690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6691 (eval $ac_compile) 2>conftest.er1
6693 grep -v '^ *+' conftest.er1
>conftest.err
6695 cat conftest.err
>&5
6696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6697 (exit $ac_status); } &&
6698 { ac_try
='test -z "$ac_c_werror_flag"
6699 || test ! -s conftest.err'
6700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6704 (exit $ac_status); }; } &&
6705 { ac_try
='test -s conftest.$ac_objext'
6706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6710 (exit $ac_status); }; }; then
6711 ac_lo
=$ac_mid; break
6713 echo "$as_me: failed program was:" >&5
6714 sed 's/^/| /' conftest.
$ac_ext >&5
6716 ac_hi
=`expr '(' $ac_mid ')' - 1`
6717 if test $ac_mid -le $ac_hi; then
6721 ac_mid
=`expr 2 '*' $ac_mid`
6723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6726 echo "$as_me: failed program was:" >&5
6727 sed 's/^/| /' conftest.
$ac_ext >&5
6731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6734 # Binary search between lo and hi bounds.
6735 while test "x$ac_lo" != "x$ac_hi"; do
6736 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6737 cat >conftest.
$ac_ext <<_ACEOF
6740 cat confdefs.h
>>conftest.
$ac_ext
6741 cat >>conftest.
$ac_ext <<_ACEOF
6742 /* end confdefs.h. */
6743 $ac_includes_default
6747 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
6754 rm -f conftest.
$ac_objext
6755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6756 (eval $ac_compile) 2>conftest.er1
6758 grep -v '^ *+' conftest.er1
>conftest.err
6760 cat conftest.err
>&5
6761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6762 (exit $ac_status); } &&
6763 { ac_try
='test -z "$ac_c_werror_flag"
6764 || test ! -s conftest.err'
6765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6769 (exit $ac_status); }; } &&
6770 { ac_try
='test -s conftest.$ac_objext'
6771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6775 (exit $ac_status); }; }; then
6778 echo "$as_me: failed program was:" >&5
6779 sed 's/^/| /' conftest.
$ac_ext >&5
6781 ac_lo
=`expr '(' $ac_mid ')' + 1`
6783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6786 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
6787 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
6788 See \`config.log' for more details." >&5
6789 echo "$as_me: error: cannot compute sizeof (long long), 77
6790 See \`config.log' for more details." >&2;}
6791 { (exit 1); exit 1; }; } ;;
6794 if test "$cross_compiling" = yes; then
6795 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6796 See \`config.log' for more details." >&5
6797 echo "$as_me: error: cannot run test program while cross compiling
6798 See \`config.log' for more details." >&2;}
6799 { (exit 1); exit 1; }; }
6801 cat >conftest.
$ac_ext <<_ACEOF
6804 cat confdefs.h
>>conftest.
$ac_ext
6805 cat >>conftest.
$ac_ext <<_ACEOF
6806 /* end confdefs.h. */
6807 $ac_includes_default
6808 long longval () { return (long) (sizeof (long long)); }
6809 unsigned long ulongval () { return (long) (sizeof (long long)); }
6816 FILE *f = fopen ("conftest.val", "w");
6819 if (((long) (sizeof (long long))) < 0)
6821 long i = longval ();
6822 if (i != ((long) (sizeof (long long))))
6824 fprintf (f, "%ld\n", i);
6828 unsigned long i = ulongval ();
6829 if (i != ((long) (sizeof (long long))))
6831 fprintf (f, "%lu\n", i);
6833 exit (ferror (f) || fclose (f) != 0);
6839 rm -f conftest
$ac_exeext
6840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6841 (eval $ac_link) 2>&5
6843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6844 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6849 (exit $ac_status); }; }; then
6850 ac_cv_sizeof_long_long
=`cat conftest.val`
6852 echo "$as_me: program exited with status $ac_status" >&5
6853 echo "$as_me: failed program was:" >&5
6854 sed 's/^/| /' conftest.
$ac_ext >&5
6857 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
6858 See \`config.log' for more details." >&5
6859 echo "$as_me: error: cannot compute sizeof (long long), 77
6860 See \`config.log' for more details." >&2;}
6861 { (exit 1); exit 1; }; }
6863 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6868 ac_cv_sizeof_long_long
=0
6871 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
6872 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
6873 cat >>confdefs.h
<<_ACEOF
6874 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
6881 echo "$as_me:$LINENO: checking for addrinfo" >&5
6882 echo $ECHO_N "checking for addrinfo... $ECHO_C" >&6
6883 if test "${ac_cv_addrinfo+set}" = set; then
6884 echo $ECHO_N "(cached) $ECHO_C" >&6
6886 cat >conftest.
$ac_ext <<_ACEOF
6889 cat confdefs.h
>>conftest.
$ac_ext
6890 cat >>conftest.
$ac_ext <<_ACEOF
6891 /* end confdefs.h. */
6902 rm -f conftest.
$ac_objext
6903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6904 (eval $ac_compile) 2>conftest.er1
6906 grep -v '^ *+' conftest.er1
>conftest.err
6908 cat conftest.err
>&5
6909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6910 (exit $ac_status); } &&
6911 { ac_try
='test -z "$ac_c_werror_flag"
6912 || test ! -s conftest.err'
6913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6917 (exit $ac_status); }; } &&
6918 { ac_try
='test -s conftest.$ac_objext'
6919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6923 (exit $ac_status); }; }; then
6926 echo "$as_me: failed program was:" >&5
6927 sed 's/^/| /' conftest.
$ac_ext >&5
6931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6934 echo "$as_me:$LINENO: result: $ac_cv_addrinfo" >&5
6935 echo "${ECHO_T}$ac_cv_addrinfo" >&6
6936 if test $ac_cv_addrinfo = yes; then
6937 cat >>confdefs.h
<<\_ACEOF
6938 #define HAVE_ADDRINFO 1
6942 cat >>confdefs.h
<<\_ACEOF
6943 #define NEED_ADDRINFO_H 1
6948 if test "$ac_cv_addrinfo" = no
; then
6949 missing_includes
=yes
6953 echo "$as_me:$LINENO: checking for NI_MAXSERV" >&5
6954 echo $ECHO_N "checking for NI_MAXSERV... $ECHO_C" >&6
6955 if test "${ac_cv_maxserv+set}" = set; then
6956 echo $ECHO_N "(cached) $ECHO_C" >&6
6958 cat >conftest.
$ac_ext <<_ACEOF
6961 cat confdefs.h
>>conftest.
$ac_ext
6962 cat >>conftest.
$ac_ext <<_ACEOF
6963 /* end confdefs.h. */
6969 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6970 $EGREP "yes" >/dev
/null
2>&1; then
6979 echo "$as_me:$LINENO: result: $ac_cv_maxserv" >&5
6980 echo "${ECHO_T}$ac_cv_maxserv" >&6
6981 if test $ac_cv_maxserv != yes; then
6982 cat >>confdefs.h
<<\_ACEOF
6983 #define NEED_ADDRINFO_H 1
6988 if test "$ac_cv_maxserv" = no
; then
6989 missing_includes
=yes
6993 echo "$as_me:$LINENO: checking for NI_NAMEREQD" >&5
6994 echo $ECHO_N "checking for NI_NAMEREQD... $ECHO_C" >&6
6995 if test "${ac_cv_namereqd+set}" = set; then
6996 echo $ECHO_N "(cached) $ECHO_C" >&6
6998 cat >conftest.
$ac_ext <<_ACEOF
7001 cat confdefs.h
>>conftest.
$ac_ext
7002 cat >>conftest.
$ac_ext <<_ACEOF
7003 /* end confdefs.h. */
7009 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7010 $EGREP "yes" >/dev
/null
2>&1; then
7019 echo "$as_me:$LINENO: result: $ac_cv_namereqd" >&5
7020 echo "${ECHO_T}$ac_cv_namereqd" >&6
7021 if test $ac_cv_namereqd != yes; then
7022 cat >>confdefs.h
<<\_ACEOF
7023 #define NEED_ADDRINFO_H 1
7028 if test "$ac_cv_namereqd" = no
; then
7029 missing_includes
=yes
7033 echo "$as_me:$LINENO: checking for sockaddr_storage" >&5
7034 echo $ECHO_N "checking for sockaddr_storage... $ECHO_C" >&6
7035 if test "${ac_cv_sa_storage+set}" = set; then
7036 echo $ECHO_N "(cached) $ECHO_C" >&6
7038 cat >conftest.
$ac_ext <<_ACEOF
7041 cat confdefs.h
>>conftest.
$ac_ext
7042 cat >>conftest.
$ac_ext <<_ACEOF
7043 /* end confdefs.h. */
7045 # include <sys/types.h>
7046 # include <sys/socket.h>
7050 struct sockaddr_storage s
7055 rm -f conftest.
$ac_objext
7056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7057 (eval $ac_compile) 2>conftest.er1
7059 grep -v '^ *+' conftest.er1
>conftest.err
7061 cat conftest.err
>&5
7062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7063 (exit $ac_status); } &&
7064 { ac_try
='test -z "$ac_c_werror_flag"
7065 || test ! -s conftest.err'
7066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7070 (exit $ac_status); }; } &&
7071 { ac_try
='test -s conftest.$ac_objext'
7072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7076 (exit $ac_status); }; }; then
7077 ac_cv_sa_storage
=yes
7079 echo "$as_me: failed program was:" >&5
7080 sed 's/^/| /' conftest.
$ac_ext >&5
7084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7087 echo "$as_me:$LINENO: result: $ac_cv_sa_storage" >&5
7088 echo "${ECHO_T}$ac_cv_sa_storage" >&6
7089 if test $ac_cv_sa_storage = yes; then
7090 cat >>confdefs.h
<<\_ACEOF
7091 #define HAVE_SOCKADDR_STORAGE 1
7096 if test "$ac_cv_sa_storage" = no
; then
7097 missing_includes
=yes
7102 echo "$as_me:$LINENO: checking for INADDRSZ" >&5
7103 echo $ECHO_N "checking for INADDRSZ... $ECHO_C" >&6
7104 if test "${ac_cv_inaddrsz+set}" = set; then
7105 echo $ECHO_N "(cached) $ECHO_C" >&6
7107 cat >conftest.
$ac_ext <<_ACEOF
7110 cat confdefs.h
>>conftest.
$ac_ext
7111 cat >>conftest.
$ac_ext <<_ACEOF
7112 /* end confdefs.h. */
7114 # include <arpa/nameser.h>
7123 rm -f conftest.
$ac_objext
7124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7125 (eval $ac_compile) 2>conftest.er1
7127 grep -v '^ *+' conftest.er1
>conftest.err
7129 cat conftest.err
>&5
7130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7131 (exit $ac_status); } &&
7132 { ac_try
='test -z "$ac_c_werror_flag"
7133 || test ! -s conftest.err'
7134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7138 (exit $ac_status); }; } &&
7139 { ac_try
='test -s conftest.$ac_objext'
7140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7144 (exit $ac_status); }; }; then
7147 echo "$as_me: failed program was:" >&5
7148 sed 's/^/| /' conftest.
$ac_ext >&5
7152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7155 echo "$as_me:$LINENO: result: $ac_cv_inaddrsz" >&5
7156 echo "${ECHO_T}$ac_cv_inaddrsz" >&6
7157 if test $ac_cv_inaddrsz = yes; then
7158 cat >>confdefs.h
<<\_ACEOF
7159 #define HAVE_INADDRSZ 1
7165 echo "$as_me:$LINENO: checking for IN6ADDRSZ" >&5
7166 echo $ECHO_N "checking for IN6ADDRSZ... $ECHO_C" >&6
7167 if test "${ac_cv_in6addrsz+set}" = set; then
7168 echo $ECHO_N "(cached) $ECHO_C" >&6
7170 cat >conftest.
$ac_ext <<_ACEOF
7173 cat confdefs.h
>>conftest.
$ac_ext
7174 cat >>conftest.
$ac_ext <<_ACEOF
7175 /* end confdefs.h. */
7177 # include <arpa/nameser.h>
7186 rm -f conftest.
$ac_objext
7187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7188 (eval $ac_compile) 2>conftest.er1
7190 grep -v '^ *+' conftest.er1
>conftest.err
7192 cat conftest.err
>&5
7193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7194 (exit $ac_status); } &&
7195 { ac_try
='test -z "$ac_c_werror_flag"
7196 || test ! -s conftest.err'
7197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7201 (exit $ac_status); }; } &&
7202 { ac_try
='test -s conftest.$ac_objext'
7203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7207 (exit $ac_status); }; }; then
7210 echo "$as_me: failed program was:" >&5
7211 sed 's/^/| /' conftest.
$ac_ext >&5
7215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7218 echo "$as_me:$LINENO: result: $ac_cv_in6addrsz" >&5
7219 echo "${ECHO_T}$ac_cv_in6addrsz" >&6
7220 if test $ac_cv_in6addrsz = yes; then
7221 cat >>confdefs.h
<<\_ACEOF
7222 #define HAVE_IN6ADDRSZ 1
7229 if test "$ac_cv_addrsz" = no
; then
7230 missing_includes
=yes
7234 echo "$as_me:$LINENO: checking for RES_USE_INET6" >&5
7235 echo $ECHO_N "checking for RES_USE_INET6... $ECHO_C" >&6
7236 if test "${ac_cv_res_inet6+set}" = set; then
7237 echo $ECHO_N "(cached) $ECHO_C" >&6
7239 cat >conftest.
$ac_ext <<_ACEOF
7242 cat confdefs.h
>>conftest.
$ac_ext
7243 cat >>conftest.
$ac_ext <<_ACEOF
7244 /* end confdefs.h. */
7246 # include <sys/types.h>
7247 # include <netinet/in.h>
7248 # include <resolv.h>
7252 int a = RES_USE_INET6
7257 rm -f conftest.
$ac_objext
7258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7259 (eval $ac_compile) 2>conftest.er1
7261 grep -v '^ *+' conftest.er1
>conftest.err
7263 cat conftest.err
>&5
7264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7265 (exit $ac_status); } &&
7266 { ac_try
='test -z "$ac_c_werror_flag"
7267 || test ! -s conftest.err'
7268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7272 (exit $ac_status); }; } &&
7273 { ac_try
='test -s conftest.$ac_objext'
7274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7278 (exit $ac_status); }; }; then
7281 echo "$as_me: failed program was:" >&5
7282 sed 's/^/| /' conftest.
$ac_ext >&5
7286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7289 echo "$as_me:$LINENO: result: $ac_cv_res_inet6" >&5
7290 echo "${ECHO_T}$ac_cv_res_inet6" >&6
7291 if test $ac_cv_res_inet6 = yes; then
7292 cat >>confdefs.h
<<\_ACEOF
7293 #define HAVE_RES_USE_INET6 1
7298 if test "$ac_cv_res_inet6" = no
; then
7299 missing_includes
=yes
7303 echo "$as_me:$LINENO: checking for res_state_ext" >&5
7304 echo $ECHO_N "checking for res_state_ext... $ECHO_C" >&6
7305 if test "${ac_cv_res_state_ext+set}" = set; then
7306 echo $ECHO_N "(cached) $ECHO_C" >&6
7308 cat >conftest.
$ac_ext <<_ACEOF
7311 cat confdefs.h
>>conftest.
$ac_ext
7312 cat >>conftest.
$ac_ext <<_ACEOF
7313 /* end confdefs.h. */
7315 # include <sys/types.h>
7316 # include <netinet/in.h>
7317 # include <netinet6/in6.h>
7318 # include <resolv.h>
7322 struct __res_state_ext e
7327 rm -f conftest.
$ac_objext
7328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7329 (eval $ac_compile) 2>conftest.er1
7331 grep -v '^ *+' conftest.er1
>conftest.err
7333 cat conftest.err
>&5
7334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7335 (exit $ac_status); } &&
7336 { ac_try
='test -z "$ac_c_werror_flag"
7337 || test ! -s conftest.err'
7338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7342 (exit $ac_status); }; } &&
7343 { ac_try
='test -s conftest.$ac_objext'
7344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7348 (exit $ac_status); }; }; then
7349 ac_cv_res_state_ext
=yes
7351 echo "$as_me: failed program was:" >&5
7352 sed 's/^/| /' conftest.
$ac_ext >&5
7354 ac_cv_res_state_ext
=no
7356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7359 echo "$as_me:$LINENO: result: $ac_cv_res_state_ext" >&5
7360 echo "${ECHO_T}$ac_cv_res_state_ext" >&6
7361 if test $ac_cv_res_state_ext = yes; then
7362 cat >>confdefs.h
<<\_ACEOF
7363 #define HAVE_RES_STATE_EXT 1
7368 if test "$ac_cv_res_state_ext" = no
; then
7369 missing_includes
=yes
7373 echo "$as_me:$LINENO: checking for nsort in res_state" >&5
7374 echo $ECHO_N "checking for nsort in res_state... $ECHO_C" >&6
7375 if test "${ac_cv_res_state+set}" = set; then
7376 echo $ECHO_N "(cached) $ECHO_C" >&6
7378 cat >conftest.
$ac_ext <<_ACEOF
7381 cat confdefs.h
>>conftest.
$ac_ext
7382 cat >>conftest.
$ac_ext <<_ACEOF
7383 /* end confdefs.h. */
7385 # include <sys/types.h>
7386 # include <netinet/in.h>
7387 # include <netinet6/in6.h>
7388 # include <resolv.h>
7392 struct __res_state e; e.nsort = 0
7397 rm -f conftest.
$ac_objext
7398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7399 (eval $ac_compile) 2>conftest.er1
7401 grep -v '^ *+' conftest.er1
>conftest.err
7403 cat conftest.err
>&5
7404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7405 (exit $ac_status); } &&
7406 { ac_try
='test -z "$ac_c_werror_flag"
7407 || test ! -s conftest.err'
7408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7412 (exit $ac_status); }; } &&
7413 { ac_try
='test -s conftest.$ac_objext'
7414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7418 (exit $ac_status); }; }; then
7421 echo "$as_me: failed program was:" >&5
7422 sed 's/^/| /' conftest.
$ac_ext >&5
7426 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7429 echo "$as_me:$LINENO: result: $ac_cv_res_state" >&5
7430 echo "${ECHO_T}$ac_cv_res_state" >&6
7431 if test $ac_cv_res_state = yes; then
7432 cat >>confdefs.h
<<\_ACEOF
7433 #define HAVE_NEW_RES_STATE 1
7446 for ac_func
in vfprintf strcasecmp strlcat strlcpy strdup strsep
7448 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7449 echo "$as_me:$LINENO: checking for $ac_func" >&5
7450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7451 if eval "test \"\${$as_ac_var+set}\" = set"; then
7452 echo $ECHO_N "(cached) $ECHO_C" >&6
7454 cat >conftest.
$ac_ext <<_ACEOF
7457 cat confdefs.h
>>conftest.
$ac_ext
7458 cat >>conftest.
$ac_ext <<_ACEOF
7459 /* end confdefs.h. */
7460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7462 #define $ac_func innocuous_$ac_func
7464 /* System header to define __stub macros and hopefully few prototypes,
7465 which can conflict with char $ac_func (); below.
7466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7467 <limits.h> exists even on freestanding compilers. */
7470 # include <limits.h>
7472 # include <assert.h>
7477 /* Override any gcc2 internal prototype to avoid an error. */
7482 /* We use char because int might match the return type of a gcc2
7483 builtin and then its argument prototype would still apply. */
7485 /* The GNU C library defines this for functions which it implements
7486 to always fail with ENOSYS. Some functions are actually named
7487 something starting with __ and the normal name is an alias. */
7488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7491 char (*f) () = $ac_func;
7500 return f != $ac_func;
7505 rm -f conftest.
$ac_objext conftest
$ac_exeext
7506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7507 (eval $ac_link) 2>conftest.er1
7509 grep -v '^ *+' conftest.er1
>conftest.err
7511 cat conftest.err
>&5
7512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7513 (exit $ac_status); } &&
7514 { ac_try
='test -z "$ac_c_werror_flag"
7515 || test ! -s conftest.err'
7516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7520 (exit $ac_status); }; } &&
7521 { ac_try
='test -s conftest$ac_exeext'
7522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7526 (exit $ac_status); }; }; then
7527 eval "$as_ac_var=yes"
7529 echo "$as_me: failed program was:" >&5
7530 sed 's/^/| /' conftest.
$ac_ext >&5
7532 eval "$as_ac_var=no"
7534 rm -f conftest.err conftest.
$ac_objext \
7535 conftest
$ac_exeext conftest.
$ac_ext
7537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7539 if test `eval echo '${'$as_ac_var'}'` = yes; then
7540 cat >>confdefs.h
<<_ACEOF
7541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7546 "$ac_func.$ac_objext" | \
7547 *" $ac_func.$ac_objext" | \
7548 "$ac_func.$ac_objext "* | \
7549 *" $ac_func.$ac_objext "* ) ;;
7550 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" ;;
7558 for ac_func
in strftime
7560 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7561 echo "$as_me:$LINENO: checking for $ac_func" >&5
7562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7563 if eval "test \"\${$as_ac_var+set}\" = set"; then
7564 echo $ECHO_N "(cached) $ECHO_C" >&6
7566 cat >conftest.
$ac_ext <<_ACEOF
7569 cat confdefs.h
>>conftest.
$ac_ext
7570 cat >>conftest.
$ac_ext <<_ACEOF
7571 /* end confdefs.h. */
7572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7574 #define $ac_func innocuous_$ac_func
7576 /* System header to define __stub macros and hopefully few prototypes,
7577 which can conflict with char $ac_func (); below.
7578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7579 <limits.h> exists even on freestanding compilers. */
7582 # include <limits.h>
7584 # include <assert.h>
7589 /* Override any gcc2 internal prototype to avoid an error. */
7594 /* We use char because int might match the return type of a gcc2
7595 builtin and then its argument prototype would still apply. */
7597 /* The GNU C library defines this for functions which it implements
7598 to always fail with ENOSYS. Some functions are actually named
7599 something starting with __ and the normal name is an alias. */
7600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7603 char (*f) () = $ac_func;
7612 return f != $ac_func;
7617 rm -f conftest.
$ac_objext conftest
$ac_exeext
7618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7619 (eval $ac_link) 2>conftest.er1
7621 grep -v '^ *+' conftest.er1
>conftest.err
7623 cat conftest.err
>&5
7624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7625 (exit $ac_status); } &&
7626 { ac_try
='test -z "$ac_c_werror_flag"
7627 || test ! -s conftest.err'
7628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7632 (exit $ac_status); }; } &&
7633 { ac_try
='test -s conftest$ac_exeext'
7634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7638 (exit $ac_status); }; }; then
7639 eval "$as_ac_var=yes"
7641 echo "$as_me: failed program was:" >&5
7642 sed 's/^/| /' conftest.
$ac_ext >&5
7644 eval "$as_ac_var=no"
7646 rm -f conftest.err conftest.
$ac_objext \
7647 conftest
$ac_exeext conftest.
$ac_ext
7649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7650 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7651 if test `eval echo '${'$as_ac_var'}'` = yes; then
7652 cat >>confdefs.h
<<_ACEOF
7653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7661 for ac_func
in setlinebuf alarm
7663 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7664 echo "$as_me:$LINENO: checking for $ac_func" >&5
7665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7666 if eval "test \"\${$as_ac_var+set}\" = set"; then
7667 echo $ECHO_N "(cached) $ECHO_C" >&6
7669 cat >conftest.
$ac_ext <<_ACEOF
7672 cat confdefs.h
>>conftest.
$ac_ext
7673 cat >>conftest.
$ac_ext <<_ACEOF
7674 /* end confdefs.h. */
7675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7677 #define $ac_func innocuous_$ac_func
7679 /* System header to define __stub macros and hopefully few prototypes,
7680 which can conflict with char $ac_func (); below.
7681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7682 <limits.h> exists even on freestanding compilers. */
7685 # include <limits.h>
7687 # include <assert.h>
7692 /* Override any gcc2 internal prototype to avoid an error. */
7697 /* We use char because int might match the return type of a gcc2
7698 builtin and then its argument prototype would still apply. */
7700 /* The GNU C library defines this for functions which it implements
7701 to always fail with ENOSYS. Some functions are actually named
7702 something starting with __ and the normal name is an alias. */
7703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7706 char (*f) () = $ac_func;
7715 return f != $ac_func;
7720 rm -f conftest.
$ac_objext conftest
$ac_exeext
7721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7722 (eval $ac_link) 2>conftest.er1
7724 grep -v '^ *+' conftest.er1
>conftest.err
7726 cat conftest.err
>&5
7727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7728 (exit $ac_status); } &&
7729 { ac_try
='test -z "$ac_c_werror_flag"
7730 || test ! -s conftest.err'
7731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7735 (exit $ac_status); }; } &&
7736 { ac_try
='test -s conftest$ac_exeext'
7737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7741 (exit $ac_status); }; }; then
7742 eval "$as_ac_var=yes"
7744 echo "$as_me: failed program was:" >&5
7745 sed 's/^/| /' conftest.
$ac_ext >&5
7747 eval "$as_ac_var=no"
7749 rm -f conftest.err conftest.
$ac_objext \
7750 conftest
$ac_exeext conftest.
$ac_ext
7752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7754 if test `eval echo '${'$as_ac_var'}'` = yes; then
7755 cat >>confdefs.h
<<_ACEOF
7756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7766 for ac_func
in vsnprintf snprintf
7768 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7769 echo "$as_me:$LINENO: checking for $ac_func" >&5
7770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7771 if eval "test \"\${$as_ac_var+set}\" = set"; then
7772 echo $ECHO_N "(cached) $ECHO_C" >&6
7774 cat >conftest.
$ac_ext <<_ACEOF
7777 cat confdefs.h
>>conftest.
$ac_ext
7778 cat >>conftest.
$ac_ext <<_ACEOF
7779 /* end confdefs.h. */
7780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7782 #define $ac_func innocuous_$ac_func
7784 /* System header to define __stub macros and hopefully few prototypes,
7785 which can conflict with char $ac_func (); below.
7786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7787 <limits.h> exists even on freestanding compilers. */
7790 # include <limits.h>
7792 # include <assert.h>
7797 /* Override any gcc2 internal prototype to avoid an error. */
7802 /* We use char because int might match the return type of a gcc2
7803 builtin and then its argument prototype would still apply. */
7805 /* The GNU C library defines this for functions which it implements
7806 to always fail with ENOSYS. Some functions are actually named
7807 something starting with __ and the normal name is an alias. */
7808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7811 char (*f) () = $ac_func;
7820 return f != $ac_func;
7825 rm -f conftest.
$ac_objext conftest
$ac_exeext
7826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7827 (eval $ac_link) 2>conftest.er1
7829 grep -v '^ *+' conftest.er1
>conftest.err
7831 cat conftest.err
>&5
7832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7833 (exit $ac_status); } &&
7834 { ac_try
='test -z "$ac_c_werror_flag"
7835 || test ! -s conftest.err'
7836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7840 (exit $ac_status); }; } &&
7841 { ac_try
='test -s conftest$ac_exeext'
7842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7846 (exit $ac_status); }; }; then
7847 eval "$as_ac_var=yes"
7849 echo "$as_me: failed program was:" >&5
7850 sed 's/^/| /' conftest.
$ac_ext >&5
7852 eval "$as_ac_var=no"
7854 rm -f conftest.err conftest.
$ac_objext \
7855 conftest
$ac_exeext conftest.
$ac_ext
7857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7859 if test `eval echo '${'$as_ac_var'}'` = yes; then
7860 cat >>confdefs.h
<<_ACEOF
7861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7869 if test $needsnprintf = yes; then
7871 "snprintf.$ac_objext" | \
7872 *" snprintf.$ac_objext" | \
7873 "snprintf.$ac_objext "* | \
7874 *" snprintf.$ac_objext "* ) ;;
7875 *) LIBOBJS
="$LIBOBJS snprintf.$ac_objext" ;;
7881 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
7882 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
7883 if test "${ac_cv_type_signal+set}" = set; then
7884 echo $ECHO_N "(cached) $ECHO_C" >&6
7886 cat >conftest.
$ac_ext <<_ACEOF
7889 cat confdefs.h
>>conftest.
$ac_ext
7890 cat >>conftest.
$ac_ext <<_ACEOF
7891 /* end confdefs.h. */
7892 #include <sys/types.h>
7898 extern "C" void (*signal (int, void (*)(int)))(int);
7900 void (*signal ()) ();
7911 rm -f conftest.
$ac_objext
7912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7913 (eval $ac_compile) 2>conftest.er1
7915 grep -v '^ *+' conftest.er1
>conftest.err
7917 cat conftest.err
>&5
7918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7919 (exit $ac_status); } &&
7920 { ac_try
='test -z "$ac_c_werror_flag"
7921 || test ! -s conftest.err'
7922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7926 (exit $ac_status); }; } &&
7927 { ac_try
='test -s conftest.$ac_objext'
7928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7932 (exit $ac_status); }; }; then
7933 ac_cv_type_signal
=void
7935 echo "$as_me: failed program was:" >&5
7936 sed 's/^/| /' conftest.
$ac_ext >&5
7938 ac_cv_type_signal
=int
7940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7942 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
7943 echo "${ECHO_T}$ac_cv_type_signal" >&6
7945 cat >>confdefs.h
<<_ACEOF
7946 #define RETSIGTYPE $ac_cv_type_signal
7950 if test "$ac_cv_type_signal" = void
; then
7951 cat >>confdefs.h
<<\_ACEOF
7956 cat >>confdefs.h
<<\_ACEOF
7957 #define RETSIGVAL (0)
7964 cat >>confdefs.h
<<\_ACEOF
7965 #define _BSD_SIGNALS 1
7972 for ac_func
in sigaction
7974 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7975 echo "$as_me:$LINENO: checking for $ac_func" >&5
7976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7977 if eval "test \"\${$as_ac_var+set}\" = set"; then
7978 echo $ECHO_N "(cached) $ECHO_C" >&6
7980 cat >conftest.
$ac_ext <<_ACEOF
7983 cat confdefs.h
>>conftest.
$ac_ext
7984 cat >>conftest.
$ac_ext <<_ACEOF
7985 /* end confdefs.h. */
7986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7988 #define $ac_func innocuous_$ac_func
7990 /* System header to define __stub macros and hopefully few prototypes,
7991 which can conflict with char $ac_func (); below.
7992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7993 <limits.h> exists even on freestanding compilers. */
7996 # include <limits.h>
7998 # include <assert.h>
8003 /* Override any gcc2 internal prototype to avoid an error. */
8008 /* We use char because int might match the return type of a gcc2
8009 builtin and then its argument prototype would still apply. */
8011 /* The GNU C library defines this for functions which it implements
8012 to always fail with ENOSYS. Some functions are actually named
8013 something starting with __ and the normal name is an alias. */
8014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8017 char (*f) () = $ac_func;
8026 return f != $ac_func;
8031 rm -f conftest.
$ac_objext conftest
$ac_exeext
8032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8033 (eval $ac_link) 2>conftest.er1
8035 grep -v '^ *+' conftest.er1
>conftest.err
8037 cat conftest.err
>&5
8038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8039 (exit $ac_status); } &&
8040 { ac_try
='test -z "$ac_c_werror_flag"
8041 || test ! -s conftest.err'
8042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8046 (exit $ac_status); }; } &&
8047 { ac_try
='test -s conftest$ac_exeext'
8048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8052 (exit $ac_status); }; }; then
8053 eval "$as_ac_var=yes"
8055 echo "$as_me: failed program was:" >&5
8056 sed 's/^/| /' conftest.
$ac_ext >&5
8058 eval "$as_ac_var=no"
8060 rm -f conftest.err conftest.
$ac_objext \
8061 conftest
$ac_exeext conftest.
$ac_ext
8063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8065 if test `eval echo '${'$as_ac_var'}'` = yes; then
8066 cat >>confdefs.h
<<_ACEOF
8067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8073 if test $ac_cv_func_sigaction = no
; then
8075 for ac_func
in sigset
8077 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8078 echo "$as_me:$LINENO: checking for $ac_func" >&5
8079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8080 if eval "test \"\${$as_ac_var+set}\" = set"; then
8081 echo $ECHO_N "(cached) $ECHO_C" >&6
8083 cat >conftest.
$ac_ext <<_ACEOF
8086 cat confdefs.h
>>conftest.
$ac_ext
8087 cat >>conftest.
$ac_ext <<_ACEOF
8088 /* end confdefs.h. */
8089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8091 #define $ac_func innocuous_$ac_func
8093 /* System header to define __stub macros and hopefully few prototypes,
8094 which can conflict with char $ac_func (); below.
8095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8096 <limits.h> exists even on freestanding compilers. */
8099 # include <limits.h>
8101 # include <assert.h>
8106 /* Override any gcc2 internal prototype to avoid an error. */
8111 /* We use char because int might match the return type of a gcc2
8112 builtin and then its argument prototype would still apply. */
8114 /* The GNU C library defines this for functions which it implements
8115 to always fail with ENOSYS. Some functions are actually named
8116 something starting with __ and the normal name is an alias. */
8117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8120 char (*f) () = $ac_func;
8129 return f != $ac_func;
8134 rm -f conftest.
$ac_objext conftest
$ac_exeext
8135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8136 (eval $ac_link) 2>conftest.er1
8138 grep -v '^ *+' conftest.er1
>conftest.err
8140 cat conftest.err
>&5
8141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8142 (exit $ac_status); } &&
8143 { ac_try
='test -z "$ac_c_werror_flag"
8144 || test ! -s conftest.err'
8145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8149 (exit $ac_status); }; } &&
8150 { ac_try
='test -s conftest$ac_exeext'
8151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8155 (exit $ac_status); }; }; then
8156 eval "$as_ac_var=yes"
8158 echo "$as_me: failed program was:" >&5
8159 sed 's/^/| /' conftest.
$ac_ext >&5
8161 eval "$as_ac_var=no"
8163 rm -f conftest.err conftest.
$ac_objext \
8164 conftest
$ac_exeext conftest.
$ac_ext
8166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8168 if test `eval echo '${'$as_ac_var'}'` = yes; then
8169 cat >>confdefs.h
<<_ACEOF
8170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8180 echo "$as_me:$LINENO: checking for library containing dnet_htoa" >&5
8181 echo $ECHO_N "checking for library containing dnet_htoa... $ECHO_C" >&6
8182 if test "${ac_cv_search_dnet_htoa+set}" = set; then
8183 echo $ECHO_N "(cached) $ECHO_C" >&6
8185 ac_func_search_save_LIBS
=$LIBS
8186 ac_cv_search_dnet_htoa
=no
8187 cat >conftest.
$ac_ext <<_ACEOF
8190 cat confdefs.h
>>conftest.
$ac_ext
8191 cat >>conftest.
$ac_ext <<_ACEOF
8192 /* end confdefs.h. */
8194 /* Override any gcc2 internal prototype to avoid an error. */
8198 /* We use char because int might match the return type of a gcc2
8199 builtin and then its argument prototype would still apply. */
8209 rm -f conftest.
$ac_objext conftest
$ac_exeext
8210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8211 (eval $ac_link) 2>conftest.er1
8213 grep -v '^ *+' conftest.er1
>conftest.err
8215 cat conftest.err
>&5
8216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8217 (exit $ac_status); } &&
8218 { ac_try
='test -z "$ac_c_werror_flag"
8219 || test ! -s conftest.err'
8220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8224 (exit $ac_status); }; } &&
8225 { ac_try
='test -s conftest$ac_exeext'
8226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8230 (exit $ac_status); }; }; then
8231 ac_cv_search_dnet_htoa
="none required"
8233 echo "$as_me: failed program was:" >&5
8234 sed 's/^/| /' conftest.
$ac_ext >&5
8237 rm -f conftest.err conftest.
$ac_objext \
8238 conftest
$ac_exeext conftest.
$ac_ext
8239 if test "$ac_cv_search_dnet_htoa" = no
; then
8240 for ac_lib
in dnet
; do
8241 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8242 cat >conftest.
$ac_ext <<_ACEOF
8245 cat confdefs.h
>>conftest.
$ac_ext
8246 cat >>conftest.
$ac_ext <<_ACEOF
8247 /* end confdefs.h. */
8249 /* Override any gcc2 internal prototype to avoid an error. */
8253 /* We use char because int might match the return type of a gcc2
8254 builtin and then its argument prototype would still apply. */
8264 rm -f conftest.
$ac_objext conftest
$ac_exeext
8265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8266 (eval $ac_link) 2>conftest.er1
8268 grep -v '^ *+' conftest.er1
>conftest.err
8270 cat conftest.err
>&5
8271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8272 (exit $ac_status); } &&
8273 { ac_try
='test -z "$ac_c_werror_flag"
8274 || test ! -s conftest.err'
8275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8279 (exit $ac_status); }; } &&
8280 { ac_try
='test -s conftest$ac_exeext'
8281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8285 (exit $ac_status); }; }; then
8286 ac_cv_search_dnet_htoa
="-l$ac_lib"
8289 echo "$as_me: failed program was:" >&5
8290 sed 's/^/| /' conftest.
$ac_ext >&5
8293 rm -f conftest.err conftest.
$ac_objext \
8294 conftest
$ac_exeext conftest.
$ac_ext
8297 LIBS
=$ac_func_search_save_LIBS
8299 echo "$as_me:$LINENO: result: $ac_cv_search_dnet_htoa" >&5
8300 echo "${ECHO_T}$ac_cv_search_dnet_htoa" >&6
8301 if test "$ac_cv_search_dnet_htoa" != no
; then
8302 test "$ac_cv_search_dnet_htoa" = "none required" || LIBS
="$ac_cv_search_dnet_htoa $LIBS"
8303 cat >>confdefs.h
<<\_ACEOF
8304 #define HAVE_DNET_HTOA 1
8311 echo "$as_me:$LINENO: checking for main in -lrpc" >&5
8312 echo $ECHO_N "checking for main in -lrpc... $ECHO_C" >&6
8313 if test "${ac_cv_lib_rpc_main+set}" = set; then
8314 echo $ECHO_N "(cached) $ECHO_C" >&6
8316 ac_check_lib_save_LIBS
=$LIBS
8318 cat >conftest.
$ac_ext <<_ACEOF
8321 cat confdefs.h
>>conftest.
$ac_ext
8322 cat >>conftest.
$ac_ext <<_ACEOF
8323 /* end confdefs.h. */
8334 rm -f conftest.
$ac_objext conftest
$ac_exeext
8335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8336 (eval $ac_link) 2>conftest.er1
8338 grep -v '^ *+' conftest.er1
>conftest.err
8340 cat conftest.err
>&5
8341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8342 (exit $ac_status); } &&
8343 { ac_try
='test -z "$ac_c_werror_flag"
8344 || test ! -s conftest.err'
8345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8349 (exit $ac_status); }; } &&
8350 { ac_try
='test -s conftest$ac_exeext'
8351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8355 (exit $ac_status); }; }; then
8356 ac_cv_lib_rpc_main
=yes
8358 echo "$as_me: failed program was:" >&5
8359 sed 's/^/| /' conftest.
$ac_ext >&5
8361 ac_cv_lib_rpc_main
=no
8363 rm -f conftest.err conftest.
$ac_objext \
8364 conftest
$ac_exeext conftest.
$ac_ext
8365 LIBS
=$ac_check_lib_save_LIBS
8367 echo "$as_me:$LINENO: result: $ac_cv_lib_rpc_main" >&5
8368 echo "${ECHO_T}$ac_cv_lib_rpc_main" >&6
8369 if test $ac_cv_lib_rpc_main = yes; then
8370 cat >>confdefs.h
<<_ACEOF
8371 #define HAVE_LIBRPC 1
8378 echo "$as_me:$LINENO: checking for library containing getrpcbynumber" >&5
8379 echo $ECHO_N "checking for library containing getrpcbynumber... $ECHO_C" >&6
8380 if test "${ac_cv_search_getrpcbynumber+set}" = set; then
8381 echo $ECHO_N "(cached) $ECHO_C" >&6
8383 ac_func_search_save_LIBS
=$LIBS
8384 ac_cv_search_getrpcbynumber
=no
8385 cat >conftest.
$ac_ext <<_ACEOF
8388 cat confdefs.h
>>conftest.
$ac_ext
8389 cat >>conftest.
$ac_ext <<_ACEOF
8390 /* end confdefs.h. */
8392 /* Override any gcc2 internal prototype to avoid an error. */
8396 /* We use char because int might match the return type of a gcc2
8397 builtin and then its argument prototype would still apply. */
8398 char getrpcbynumber ();
8407 rm -f conftest.
$ac_objext conftest
$ac_exeext
8408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8409 (eval $ac_link) 2>conftest.er1
8411 grep -v '^ *+' conftest.er1
>conftest.err
8413 cat conftest.err
>&5
8414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8415 (exit $ac_status); } &&
8416 { ac_try
='test -z "$ac_c_werror_flag"
8417 || test ! -s conftest.err'
8418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8422 (exit $ac_status); }; } &&
8423 { ac_try
='test -s conftest$ac_exeext'
8424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8428 (exit $ac_status); }; }; then
8429 ac_cv_search_getrpcbynumber
="none required"
8431 echo "$as_me: failed program was:" >&5
8432 sed 's/^/| /' conftest.
$ac_ext >&5
8435 rm -f conftest.err conftest.
$ac_objext \
8436 conftest
$ac_exeext conftest.
$ac_ext
8437 if test "$ac_cv_search_getrpcbynumber" = no
; then
8438 for ac_lib
in nsl
; do
8439 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8440 cat >conftest.
$ac_ext <<_ACEOF
8443 cat confdefs.h
>>conftest.
$ac_ext
8444 cat >>conftest.
$ac_ext <<_ACEOF
8445 /* end confdefs.h. */
8447 /* Override any gcc2 internal prototype to avoid an error. */
8451 /* We use char because int might match the return type of a gcc2
8452 builtin and then its argument prototype would still apply. */
8453 char getrpcbynumber ();
8462 rm -f conftest.
$ac_objext conftest
$ac_exeext
8463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8464 (eval $ac_link) 2>conftest.er1
8466 grep -v '^ *+' conftest.er1
>conftest.err
8468 cat conftest.err
>&5
8469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8470 (exit $ac_status); } &&
8471 { ac_try
='test -z "$ac_c_werror_flag"
8472 || test ! -s conftest.err'
8473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8477 (exit $ac_status); }; } &&
8478 { ac_try
='test -s conftest$ac_exeext'
8479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8483 (exit $ac_status); }; }; then
8484 ac_cv_search_getrpcbynumber
="-l$ac_lib"
8487 echo "$as_me: failed program was:" >&5
8488 sed 's/^/| /' conftest.
$ac_ext >&5
8491 rm -f conftest.err conftest.
$ac_objext \
8492 conftest
$ac_exeext conftest.
$ac_ext
8495 LIBS
=$ac_func_search_save_LIBS
8497 echo "$as_me:$LINENO: result: $ac_cv_search_getrpcbynumber" >&5
8498 echo "${ECHO_T}$ac_cv_search_getrpcbynumber" >&6
8499 if test "$ac_cv_search_getrpcbynumber" != no
; then
8500 test "$ac_cv_search_getrpcbynumber" = "none required" || LIBS
="$ac_cv_search_getrpcbynumber $LIBS"
8501 cat >>confdefs.h
<<\_ACEOF
8502 #define HAVE_GETRPCBYNUMBER 1
8510 # Most operating systems have gethostbyname() in the default searched
8511 # libraries (i.e. libc):
8512 # Some OSes (eg. Solaris) place it in libnsl
8513 # Some strange OSes (SINIX) have it in libsocket:
8514 echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
8515 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
8516 if test "${ac_cv_search_gethostbyname+set}" = set; then
8517 echo $ECHO_N "(cached) $ECHO_C" >&6
8519 ac_func_search_save_LIBS
=$LIBS
8520 ac_cv_search_gethostbyname
=no
8521 cat >conftest.
$ac_ext <<_ACEOF
8524 cat confdefs.h
>>conftest.
$ac_ext
8525 cat >>conftest.
$ac_ext <<_ACEOF
8526 /* end confdefs.h. */
8528 /* Override any gcc2 internal prototype to avoid an error. */
8532 /* We use char because int might match the return type of a gcc2
8533 builtin and then its argument prototype would still apply. */
8534 char gethostbyname ();
8543 rm -f conftest.
$ac_objext conftest
$ac_exeext
8544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8545 (eval $ac_link) 2>conftest.er1
8547 grep -v '^ *+' conftest.er1
>conftest.err
8549 cat conftest.err
>&5
8550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8551 (exit $ac_status); } &&
8552 { ac_try
='test -z "$ac_c_werror_flag"
8553 || test ! -s conftest.err'
8554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8558 (exit $ac_status); }; } &&
8559 { ac_try
='test -s conftest$ac_exeext'
8560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8564 (exit $ac_status); }; }; then
8565 ac_cv_search_gethostbyname
="none required"
8567 echo "$as_me: failed program was:" >&5
8568 sed 's/^/| /' conftest.
$ac_ext >&5
8571 rm -f conftest.err conftest.
$ac_objext \
8572 conftest
$ac_exeext conftest.
$ac_ext
8573 if test "$ac_cv_search_gethostbyname" = no
; then
8574 for ac_lib
in nsl socket resolv
; do
8575 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8576 cat >conftest.
$ac_ext <<_ACEOF
8579 cat confdefs.h
>>conftest.
$ac_ext
8580 cat >>conftest.
$ac_ext <<_ACEOF
8581 /* end confdefs.h. */
8583 /* Override any gcc2 internal prototype to avoid an error. */
8587 /* We use char because int might match the return type of a gcc2
8588 builtin and then its argument prototype would still apply. */
8589 char gethostbyname ();
8598 rm -f conftest.
$ac_objext conftest
$ac_exeext
8599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8600 (eval $ac_link) 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_exeext'
8615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8619 (exit $ac_status); }; }; then
8620 ac_cv_search_gethostbyname
="-l$ac_lib"
8623 echo "$as_me: failed program was:" >&5
8624 sed 's/^/| /' conftest.
$ac_ext >&5
8627 rm -f conftest.err conftest.
$ac_objext \
8628 conftest
$ac_exeext conftest.
$ac_ext
8631 LIBS
=$ac_func_search_save_LIBS
8633 echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
8634 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
8635 if test "$ac_cv_search_gethostbyname" != no
; then
8636 test "$ac_cv_search_gethostbyname" = "none required" || LIBS
="$ac_cv_search_gethostbyname $LIBS"
8640 # Unfortunately libsocket sometimes depends on libnsl and
8641 # AC_SEARCH_LIBS isn't up to the task of handling dependencies like this.
8642 if test "$ac_cv_search_gethostbyname" = "no"
8644 echo "$as_me:$LINENO: checking for gethostbyname in -lsocket" >&5
8645 echo $ECHO_N "checking for gethostbyname in -lsocket... $ECHO_C" >&6
8646 if test "${ac_cv_lib_socket_gethostbyname+set}" = set; then
8647 echo $ECHO_N "(cached) $ECHO_C" >&6
8649 ac_check_lib_save_LIBS
=$LIBS
8650 LIBS
="-lsocket -lnsl $LIBS"
8651 cat >conftest.
$ac_ext <<_ACEOF
8654 cat confdefs.h
>>conftest.
$ac_ext
8655 cat >>conftest.
$ac_ext <<_ACEOF
8656 /* end confdefs.h. */
8658 /* Override any gcc2 internal prototype to avoid an error. */
8662 /* We use char because int might match the return type of a gcc2
8663 builtin and then its argument prototype would still apply. */
8664 char gethostbyname ();
8673 rm -f conftest.
$ac_objext conftest
$ac_exeext
8674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8675 (eval $ac_link) 2>conftest.er1
8677 grep -v '^ *+' conftest.er1
>conftest.err
8679 cat conftest.err
>&5
8680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8681 (exit $ac_status); } &&
8682 { ac_try
='test -z "$ac_c_werror_flag"
8683 || test ! -s conftest.err'
8684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8688 (exit $ac_status); }; } &&
8689 { ac_try
='test -s conftest$ac_exeext'
8690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8694 (exit $ac_status); }; }; then
8695 ac_cv_lib_socket_gethostbyname
=yes
8697 echo "$as_me: failed program was:" >&5
8698 sed 's/^/| /' conftest.
$ac_ext >&5
8700 ac_cv_lib_socket_gethostbyname
=no
8702 rm -f conftest.err conftest.
$ac_objext \
8703 conftest
$ac_exeext conftest.
$ac_ext
8704 LIBS
=$ac_check_lib_save_LIBS
8706 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_gethostbyname" >&5
8707 echo "${ECHO_T}$ac_cv_lib_socket_gethostbyname" >&6
8708 if test $ac_cv_lib_socket_gethostbyname = yes; then
8709 LIBS
="-lsocket -lnsl $LIBS"
8713 echo "$as_me:$LINENO: checking for library containing socket" >&5
8714 echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6
8715 if test "${ac_cv_search_socket+set}" = set; then
8716 echo $ECHO_N "(cached) $ECHO_C" >&6
8718 ac_func_search_save_LIBS
=$LIBS
8719 ac_cv_search_socket
=no
8720 cat >conftest.
$ac_ext <<_ACEOF
8723 cat confdefs.h
>>conftest.
$ac_ext
8724 cat >>conftest.
$ac_ext <<_ACEOF
8725 /* end confdefs.h. */
8727 /* Override any gcc2 internal prototype to avoid an error. */
8731 /* We use char because int might match the return type of a gcc2
8732 builtin and then its argument prototype would still apply. */
8742 rm -f conftest.
$ac_objext conftest
$ac_exeext
8743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8744 (eval $ac_link) 2>conftest.er1
8746 grep -v '^ *+' conftest.er1
>conftest.err
8748 cat conftest.err
>&5
8749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8750 (exit $ac_status); } &&
8751 { ac_try
='test -z "$ac_c_werror_flag"
8752 || test ! -s conftest.err'
8753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8757 (exit $ac_status); }; } &&
8758 { ac_try
='test -s conftest$ac_exeext'
8759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8763 (exit $ac_status); }; }; then
8764 ac_cv_search_socket
="none required"
8766 echo "$as_me: failed program was:" >&5
8767 sed 's/^/| /' conftest.
$ac_ext >&5
8770 rm -f conftest.err conftest.
$ac_objext \
8771 conftest
$ac_exeext conftest.
$ac_ext
8772 if test "$ac_cv_search_socket" = no
; then
8773 for ac_lib
in socket
; do
8774 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8775 cat >conftest.
$ac_ext <<_ACEOF
8778 cat confdefs.h
>>conftest.
$ac_ext
8779 cat >>conftest.
$ac_ext <<_ACEOF
8780 /* end confdefs.h. */
8782 /* Override any gcc2 internal prototype to avoid an error. */
8786 /* We use char because int might match the return type of a gcc2
8787 builtin and then its argument prototype would still apply. */
8797 rm -f conftest.
$ac_objext conftest
$ac_exeext
8798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8799 (eval $ac_link) 2>conftest.er1
8801 grep -v '^ *+' conftest.er1
>conftest.err
8803 cat conftest.err
>&5
8804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8805 (exit $ac_status); } &&
8806 { ac_try
='test -z "$ac_c_werror_flag"
8807 || test ! -s conftest.err'
8808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8812 (exit $ac_status); }; } &&
8813 { ac_try
='test -s conftest$ac_exeext'
8814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8818 (exit $ac_status); }; }; then
8819 ac_cv_search_socket
="-l$ac_lib"
8822 echo "$as_me: failed program was:" >&5
8823 sed 's/^/| /' conftest.
$ac_ext >&5
8826 rm -f conftest.err conftest.
$ac_objext \
8827 conftest
$ac_exeext conftest.
$ac_ext
8830 LIBS
=$ac_func_search_save_LIBS
8832 echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
8833 echo "${ECHO_T}$ac_cv_search_socket" >&6
8834 if test "$ac_cv_search_socket" != no
; then
8835 test "$ac_cv_search_socket" = "none required" || LIBS
="$ac_cv_search_socket $LIBS"
8838 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
8839 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
8840 if test "${ac_cv_lib_socket_socket+set}" = set; then
8841 echo $ECHO_N "(cached) $ECHO_C" >&6
8843 ac_check_lib_save_LIBS
=$LIBS
8844 LIBS
="-lsocket -lnsl $LIBS"
8845 cat >conftest.
$ac_ext <<_ACEOF
8848 cat confdefs.h
>>conftest.
$ac_ext
8849 cat >>conftest.
$ac_ext <<_ACEOF
8850 /* end confdefs.h. */
8852 /* Override any gcc2 internal prototype to avoid an error. */
8856 /* We use char because int might match the return type of a gcc2
8857 builtin and then its argument prototype would still apply. */
8867 rm -f conftest.
$ac_objext conftest
$ac_exeext
8868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8869 (eval $ac_link) 2>conftest.er1
8871 grep -v '^ *+' conftest.er1
>conftest.err
8873 cat conftest.err
>&5
8874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8875 (exit $ac_status); } &&
8876 { ac_try
='test -z "$ac_c_werror_flag"
8877 || test ! -s conftest.err'
8878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8882 (exit $ac_status); }; } &&
8883 { ac_try
='test -s conftest$ac_exeext'
8884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8888 (exit $ac_status); }; }; then
8889 ac_cv_lib_socket_socket
=yes
8891 echo "$as_me: failed program was:" >&5
8892 sed 's/^/| /' conftest.
$ac_ext >&5
8894 ac_cv_lib_socket_socket
=no
8896 rm -f conftest.err conftest.
$ac_objext \
8897 conftest
$ac_exeext conftest.
$ac_ext
8898 LIBS
=$ac_check_lib_save_LIBS
8900 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
8901 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
8902 if test $ac_cv_lib_socket_socket = yes; then
8903 LIBS
="-lsocket -lnsl $LIBS"
8908 # DLPI needs putmsg under HPUX so test for -lstr while we're at it
8909 echo "$as_me:$LINENO: checking for library containing putmsg" >&5
8910 echo $ECHO_N "checking for library containing putmsg... $ECHO_C" >&6
8911 if test "${ac_cv_search_putmsg+set}" = set; then
8912 echo $ECHO_N "(cached) $ECHO_C" >&6
8914 ac_func_search_save_LIBS
=$LIBS
8915 ac_cv_search_putmsg
=no
8916 cat >conftest.
$ac_ext <<_ACEOF
8919 cat confdefs.h
>>conftest.
$ac_ext
8920 cat >>conftest.
$ac_ext <<_ACEOF
8921 /* end confdefs.h. */
8923 /* Override any gcc2 internal prototype to avoid an error. */
8927 /* We use char because int might match the return type of a gcc2
8928 builtin and then its argument prototype would still apply. */
8938 rm -f conftest.
$ac_objext conftest
$ac_exeext
8939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8940 (eval $ac_link) 2>conftest.er1
8942 grep -v '^ *+' conftest.er1
>conftest.err
8944 cat conftest.err
>&5
8945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8946 (exit $ac_status); } &&
8947 { ac_try
='test -z "$ac_c_werror_flag"
8948 || test ! -s conftest.err'
8949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8953 (exit $ac_status); }; } &&
8954 { ac_try
='test -s conftest$ac_exeext'
8955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8959 (exit $ac_status); }; }; then
8960 ac_cv_search_putmsg
="none required"
8962 echo "$as_me: failed program was:" >&5
8963 sed 's/^/| /' conftest.
$ac_ext >&5
8966 rm -f conftest.err conftest.
$ac_objext \
8967 conftest
$ac_exeext conftest.
$ac_ext
8968 if test "$ac_cv_search_putmsg" = no
; then
8969 for ac_lib
in str
; do
8970 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8971 cat >conftest.
$ac_ext <<_ACEOF
8974 cat confdefs.h
>>conftest.
$ac_ext
8975 cat >>conftest.
$ac_ext <<_ACEOF
8976 /* end confdefs.h. */
8978 /* Override any gcc2 internal prototype to avoid an error. */
8982 /* We use char because int might match the return type of a gcc2
8983 builtin and then its argument prototype would still apply. */
8993 rm -f conftest.
$ac_objext conftest
$ac_exeext
8994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8995 (eval $ac_link) 2>conftest.er1
8997 grep -v '^ *+' conftest.er1
>conftest.err
8999 cat conftest.err
>&5
9000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9001 (exit $ac_status); } &&
9002 { ac_try
='test -z "$ac_c_werror_flag"
9003 || test ! -s conftest.err'
9004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9008 (exit $ac_status); }; } &&
9009 { ac_try
='test -s conftest$ac_exeext'
9010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9014 (exit $ac_status); }; }; then
9015 ac_cv_search_putmsg
="-l$ac_lib"
9018 echo "$as_me: failed program was:" >&5
9019 sed 's/^/| /' conftest.
$ac_ext >&5
9022 rm -f conftest.err conftest.
$ac_objext \
9023 conftest
$ac_exeext conftest.
$ac_ext
9026 LIBS
=$ac_func_search_save_LIBS
9028 echo "$as_me:$LINENO: result: $ac_cv_search_putmsg" >&5
9029 echo "${ECHO_T}$ac_cv_search_putmsg" >&6
9030 if test "$ac_cv_search_putmsg" != no
; then
9031 test "$ac_cv_search_putmsg" = "none required" || LIBS
="$ac_cv_search_putmsg $LIBS"
9038 pfopen
=/usr
/examples
/packetfilter
/pfopen.c
9039 if test -f $pfopen ; then
9041 for ac_func
in pfopen
9043 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9044 echo "$as_me:$LINENO: checking for $ac_func" >&5
9045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9046 if eval "test \"\${$as_ac_var+set}\" = set"; then
9047 echo $ECHO_N "(cached) $ECHO_C" >&6
9049 cat >conftest.
$ac_ext <<_ACEOF
9052 cat confdefs.h
>>conftest.
$ac_ext
9053 cat >>conftest.
$ac_ext <<_ACEOF
9054 /* end confdefs.h. */
9055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9057 #define $ac_func innocuous_$ac_func
9059 /* System header to define __stub macros and hopefully few prototypes,
9060 which can conflict with char $ac_func (); below.
9061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9062 <limits.h> exists even on freestanding compilers. */
9065 # include <limits.h>
9067 # include <assert.h>
9072 /* Override any gcc2 internal prototype to avoid an error. */
9077 /* We use char because int might match the return type of a gcc2
9078 builtin and then its argument prototype would still apply. */
9080 /* The GNU C library defines this for functions which it implements
9081 to always fail with ENOSYS. Some functions are actually named
9082 something starting with __ and the normal name is an alias. */
9083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9086 char (*f) () = $ac_func;
9095 return f != $ac_func;
9100 rm -f conftest.
$ac_objext conftest
$ac_exeext
9101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9102 (eval $ac_link) 2>conftest.er1
9104 grep -v '^ *+' conftest.er1
>conftest.err
9106 cat conftest.err
>&5
9107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9108 (exit $ac_status); } &&
9109 { ac_try
='test -z "$ac_c_werror_flag"
9110 || test ! -s conftest.err'
9111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9115 (exit $ac_status); }; } &&
9116 { ac_try
='test -s conftest$ac_exeext'
9117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9121 (exit $ac_status); }; }; then
9122 eval "$as_ac_var=yes"
9124 echo "$as_me: failed program was:" >&5
9125 sed 's/^/| /' conftest.
$ac_ext >&5
9127 eval "$as_ac_var=no"
9129 rm -f conftest.err conftest.
$ac_objext \
9130 conftest
$ac_exeext conftest.
$ac_ext
9132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9134 if test `eval echo '${'$as_ac_var'}'` = yes; then
9135 cat >>confdefs.h
<<_ACEOF
9136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9142 if test $ac_cv_func_pfopen = "no" ; then
9143 echo "$as_me:$LINENO: result: Using $pfopen" >&5
9144 echo "${ECHO_T}Using $pfopen" >&6
9145 LIBS
="$LIBS $pfopen"
9148 echo "$as_me:$LINENO: checking for local pcap library" >&5
9149 echo $ECHO_N "checking for local pcap library... $ECHO_C" >&6
9152 places
=`ls $srcdir/.. | sed -e 's,/$,,' -e "s,^,$srcdir/../," | \
9153 egrep '/libpcap-[0-9]*.[0-9]*(.[0-9]*)?([ab][0-9]*)?$'`
9154 for dir
in $places $srcdir/..
/libpcap
$srcdir/libpcap
; do
9155 basedir
=`echo $dir | sed -e 's/[ab][0-9]*$//'`
9156 if test $lastdir = $basedir ; then
9160 if test -r $dir/libpcap.a
; then
9161 libpcap
=$dir/libpcap.a
9165 if test $libpcap = FAIL
; then
9166 echo "$as_me:$LINENO: result: not found" >&5
9167 echo "${ECHO_T}not found" >&6
9168 echo "$as_me:$LINENO: checking for main in -lpcap" >&5
9169 echo $ECHO_N "checking for main in -lpcap... $ECHO_C" >&6
9170 if test "${ac_cv_lib_pcap_main+set}" = set; then
9171 echo $ECHO_N "(cached) $ECHO_C" >&6
9173 ac_check_lib_save_LIBS
=$LIBS
9175 cat >conftest.
$ac_ext <<_ACEOF
9178 cat confdefs.h
>>conftest.
$ac_ext
9179 cat >>conftest.
$ac_ext <<_ACEOF
9180 /* end confdefs.h. */
9191 rm -f conftest.
$ac_objext conftest
$ac_exeext
9192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9193 (eval $ac_link) 2>conftest.er1
9195 grep -v '^ *+' conftest.er1
>conftest.err
9197 cat conftest.err
>&5
9198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9199 (exit $ac_status); } &&
9200 { ac_try
='test -z "$ac_c_werror_flag"
9201 || test ! -s conftest.err'
9202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9206 (exit $ac_status); }; } &&
9207 { ac_try
='test -s conftest$ac_exeext'
9208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9212 (exit $ac_status); }; }; then
9213 ac_cv_lib_pcap_main
=yes
9215 echo "$as_me: failed program was:" >&5
9216 sed 's/^/| /' conftest.
$ac_ext >&5
9218 ac_cv_lib_pcap_main
=no
9220 rm -f conftest.err conftest.
$ac_objext \
9221 conftest
$ac_exeext conftest.
$ac_ext
9222 LIBS
=$ac_check_lib_save_LIBS
9224 echo "$as_me:$LINENO: result: $ac_cv_lib_pcap_main" >&5
9225 echo "${ECHO_T}$ac_cv_lib_pcap_main" >&6
9226 if test $ac_cv_lib_pcap_main = yes; then
9230 if test $libpcap = FAIL
; then
9231 { { echo "$as_me:$LINENO: error: see the INSTALL doc for more info" >&5
9232 echo "$as_me: error: see the INSTALL doc for more info" >&2;}
9233 { (exit 1); exit 1; }; }
9235 echo "$as_me:$LINENO: checking for extraneous pcap header directories" >&5
9236 echo $ECHO_N "checking for extraneous pcap header directories... $ECHO_C" >&6
9237 if test \
( ! -r /usr
/local
/include
/pcap.h \
) -a \
9238 \
( ! -r /usr
/include
/pcap.h \
); then
9239 if test -r /usr
/local
/include
/pcap
/pcap.h
; then
9240 d
="/usr/local/include/pcap"
9241 elif test -r /usr
/include
/pcap
/pcap.h
; then
9242 d
="/usr/include/pcap"
9245 if test -z "$d" ; then
9246 echo "$as_me:$LINENO: result: not found" >&5
9247 echo "${ECHO_T}not found" >&6
9249 V_INCLS
="-I$d $V_INCLS"
9250 echo "$as_me:$LINENO: result: found -- -I$d added" >&5
9251 echo "${ECHO_T}found -- -I$d added" >&6
9255 places
=`ls $srcdir/.. | sed -e 's,/$,,' -e "s,^,$srcdir/../," | \
9256 egrep '/libpcap-[0-9]*.[0-9]*(.[0-9]*)?([ab][0-9]*)?$'`
9257 if test -r $d/pcap.h
; then
9258 V_INCLS
="-I$d $V_INCLS"
9259 elif test -r $places/pcap.h
; then
9260 V_INCLS
="-I$places $V_INCLS"
9262 { { echo "$as_me:$LINENO: error: cannot find pcap.h" >&5
9263 echo "$as_me: error: cannot find pcap.h" >&2;}
9264 { (exit see INSTALL
); exit see INSTALL
; }; }
9266 echo "$as_me:$LINENO: result: $libpcap" >&5
9267 echo "${ECHO_T}$libpcap" >&6
9269 LIBS
="$libpcap $LIBS"
9273 pseexe
="/lib/pse.exp"
9274 echo "$as_me:$LINENO: checking for $pseexe" >&5
9275 echo $ECHO_N "checking for $pseexe... $ECHO_C" >&6
9276 if test -f $pseexe ; then
9277 echo "$as_me:$LINENO: result: yes" >&5
9278 echo "${ECHO_T}yes" >&6
9279 LIBS
="$LIBS -I:$pseexe"
9282 # We need "-lodm" and "-lcfg", as libpcap requires them on
9283 # AIX, and we just build a static libpcap.a and thus can't
9284 # arrange that when you link with libpcap you automatically
9285 # link with those libraries.
9287 LIBS
="$LIBS -lodm -lcfg"
9291 echo "$as_me:$LINENO: checking for pcap_list_datalinks" >&5
9292 echo $ECHO_N "checking for pcap_list_datalinks... $ECHO_C" >&6
9293 if test "${ac_cv_func_pcap_list_datalinks+set}" = set; then
9294 echo $ECHO_N "(cached) $ECHO_C" >&6
9296 cat >conftest.
$ac_ext <<_ACEOF
9299 cat confdefs.h
>>conftest.
$ac_ext
9300 cat >>conftest.
$ac_ext <<_ACEOF
9301 /* end confdefs.h. */
9302 /* Define pcap_list_datalinks to an innocuous variant, in case <limits.h> declares pcap_list_datalinks.
9303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9304 #define pcap_list_datalinks innocuous_pcap_list_datalinks
9306 /* System header to define __stub macros and hopefully few prototypes,
9307 which can conflict with char pcap_list_datalinks (); below.
9308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9309 <limits.h> exists even on freestanding compilers. */
9312 # include <limits.h>
9314 # include <assert.h>
9317 #undef pcap_list_datalinks
9319 /* Override any gcc2 internal prototype to avoid an error. */
9324 /* We use char because int might match the return type of a gcc2
9325 builtin and then its argument prototype would still apply. */
9326 char pcap_list_datalinks ();
9327 /* The GNU C library defines this for functions which it implements
9328 to always fail with ENOSYS. Some functions are actually named
9329 something starting with __ and the normal name is an alias. */
9330 #if defined (__stub_pcap_list_datalinks) || defined (__stub___pcap_list_datalinks)
9333 char (*f) () = pcap_list_datalinks;
9342 return f != pcap_list_datalinks;
9347 rm -f conftest.
$ac_objext conftest
$ac_exeext
9348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9349 (eval $ac_link) 2>conftest.er1
9351 grep -v '^ *+' conftest.er1
>conftest.err
9353 cat conftest.err
>&5
9354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9355 (exit $ac_status); } &&
9356 { ac_try
='test -z "$ac_c_werror_flag"
9357 || test ! -s conftest.err'
9358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9362 (exit $ac_status); }; } &&
9363 { ac_try
='test -s conftest$ac_exeext'
9364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9368 (exit $ac_status); }; }; then
9369 ac_cv_func_pcap_list_datalinks
=yes
9371 echo "$as_me: failed program was:" >&5
9372 sed 's/^/| /' conftest.
$ac_ext >&5
9374 ac_cv_func_pcap_list_datalinks
=no
9376 rm -f conftest.err conftest.
$ac_objext \
9377 conftest
$ac_exeext conftest.
$ac_ext
9379 echo "$as_me:$LINENO: result: $ac_cv_func_pcap_list_datalinks" >&5
9380 echo "${ECHO_T}$ac_cv_func_pcap_list_datalinks" >&6
9381 if test $ac_cv_func_pcap_list_datalinks = yes; then
9382 cat >>confdefs.h
<<\_ACEOF
9383 #define HAVE_PCAP_LIST_DATALINKS 1
9389 "datalinks.$ac_objext" | \
9390 *" datalinks.$ac_objext" | \
9391 "datalinks.$ac_objext "* | \
9392 *" datalinks.$ac_objext "* ) ;;
9393 *) LIBOBJS
="$LIBOBJS datalinks.$ac_objext" ;;
9399 echo "$as_me:$LINENO: checking for pcap_set_datalink" >&5
9400 echo $ECHO_N "checking for pcap_set_datalink... $ECHO_C" >&6
9401 if test "${ac_cv_func_pcap_set_datalink+set}" = set; then
9402 echo $ECHO_N "(cached) $ECHO_C" >&6
9404 cat >conftest.
$ac_ext <<_ACEOF
9407 cat confdefs.h
>>conftest.
$ac_ext
9408 cat >>conftest.
$ac_ext <<_ACEOF
9409 /* end confdefs.h. */
9410 /* Define pcap_set_datalink to an innocuous variant, in case <limits.h> declares pcap_set_datalink.
9411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9412 #define pcap_set_datalink innocuous_pcap_set_datalink
9414 /* System header to define __stub macros and hopefully few prototypes,
9415 which can conflict with char pcap_set_datalink (); below.
9416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9417 <limits.h> exists even on freestanding compilers. */
9420 # include <limits.h>
9422 # include <assert.h>
9425 #undef pcap_set_datalink
9427 /* Override any gcc2 internal prototype to avoid an error. */
9432 /* We use char because int might match the return type of a gcc2
9433 builtin and then its argument prototype would still apply. */
9434 char pcap_set_datalink ();
9435 /* The GNU C library defines this for functions which it implements
9436 to always fail with ENOSYS. Some functions are actually named
9437 something starting with __ and the normal name is an alias. */
9438 #if defined (__stub_pcap_set_datalink) || defined (__stub___pcap_set_datalink)
9441 char (*f) () = pcap_set_datalink;
9450 return f != pcap_set_datalink;
9455 rm -f conftest.
$ac_objext conftest
$ac_exeext
9456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9457 (eval $ac_link) 2>conftest.er1
9459 grep -v '^ *+' conftest.er1
>conftest.err
9461 cat conftest.err
>&5
9462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9463 (exit $ac_status); } &&
9464 { ac_try
='test -z "$ac_c_werror_flag"
9465 || test ! -s conftest.err'
9466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9470 (exit $ac_status); }; } &&
9471 { ac_try
='test -s conftest$ac_exeext'
9472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9476 (exit $ac_status); }; }; then
9477 ac_cv_func_pcap_set_datalink
=yes
9479 echo "$as_me: failed program was:" >&5
9480 sed 's/^/| /' conftest.
$ac_ext >&5
9482 ac_cv_func_pcap_set_datalink
=no
9484 rm -f conftest.err conftest.
$ac_objext \
9485 conftest
$ac_exeext conftest.
$ac_ext
9487 echo "$as_me:$LINENO: result: $ac_cv_func_pcap_set_datalink" >&5
9488 echo "${ECHO_T}$ac_cv_func_pcap_set_datalink" >&6
9489 if test $ac_cv_func_pcap_set_datalink = yes; then
9490 cat >>confdefs.h
<<\_ACEOF
9491 #define HAVE_PCAP_SET_DATALINK 1
9496 echo "$as_me:$LINENO: checking for pcap_datalink_name_to_val" >&5
9497 echo $ECHO_N "checking for pcap_datalink_name_to_val... $ECHO_C" >&6
9498 if test "${ac_cv_func_pcap_datalink_name_to_val+set}" = set; then
9499 echo $ECHO_N "(cached) $ECHO_C" >&6
9501 cat >conftest.
$ac_ext <<_ACEOF
9504 cat confdefs.h
>>conftest.
$ac_ext
9505 cat >>conftest.
$ac_ext <<_ACEOF
9506 /* end confdefs.h. */
9507 /* Define pcap_datalink_name_to_val to an innocuous variant, in case <limits.h> declares pcap_datalink_name_to_val.
9508 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9509 #define pcap_datalink_name_to_val innocuous_pcap_datalink_name_to_val
9511 /* System header to define __stub macros and hopefully few prototypes,
9512 which can conflict with char pcap_datalink_name_to_val (); below.
9513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9514 <limits.h> exists even on freestanding compilers. */
9517 # include <limits.h>
9519 # include <assert.h>
9522 #undef pcap_datalink_name_to_val
9524 /* Override any gcc2 internal prototype to avoid an error. */
9529 /* We use char because int might match the return type of a gcc2
9530 builtin and then its argument prototype would still apply. */
9531 char pcap_datalink_name_to_val ();
9532 /* The GNU C library defines this for functions which it implements
9533 to always fail with ENOSYS. Some functions are actually named
9534 something starting with __ and the normal name is an alias. */
9535 #if defined (__stub_pcap_datalink_name_to_val) || defined (__stub___pcap_datalink_name_to_val)
9538 char (*f) () = pcap_datalink_name_to_val;
9547 return f != pcap_datalink_name_to_val;
9552 rm -f conftest.
$ac_objext conftest
$ac_exeext
9553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9554 (eval $ac_link) 2>conftest.er1
9556 grep -v '^ *+' conftest.er1
>conftest.err
9558 cat conftest.err
>&5
9559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9560 (exit $ac_status); } &&
9561 { ac_try
='test -z "$ac_c_werror_flag"
9562 || test ! -s conftest.err'
9563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9567 (exit $ac_status); }; } &&
9568 { ac_try
='test -s conftest$ac_exeext'
9569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9573 (exit $ac_status); }; }; then
9574 ac_cv_func_pcap_datalink_name_to_val
=yes
9576 echo "$as_me: failed program was:" >&5
9577 sed 's/^/| /' conftest.
$ac_ext >&5
9579 ac_cv_func_pcap_datalink_name_to_val
=no
9581 rm -f conftest.err conftest.
$ac_objext \
9582 conftest
$ac_exeext conftest.
$ac_ext
9584 echo "$as_me:$LINENO: result: $ac_cv_func_pcap_datalink_name_to_val" >&5
9585 echo "${ECHO_T}$ac_cv_func_pcap_datalink_name_to_val" >&6
9586 if test $ac_cv_func_pcap_datalink_name_to_val = yes; then
9588 cat >>confdefs.h
<<\_ACEOF
9589 #define HAVE_PCAP_DATALINK_NAME_TO_VAL 1
9592 echo "$as_me:$LINENO: checking for pcap_datalink_val_to_description" >&5
9593 echo $ECHO_N "checking for pcap_datalink_val_to_description... $ECHO_C" >&6
9594 if test "${ac_cv_func_pcap_datalink_val_to_description+set}" = set; then
9595 echo $ECHO_N "(cached) $ECHO_C" >&6
9597 cat >conftest.
$ac_ext <<_ACEOF
9600 cat confdefs.h
>>conftest.
$ac_ext
9601 cat >>conftest.
$ac_ext <<_ACEOF
9602 /* end confdefs.h. */
9603 /* Define pcap_datalink_val_to_description to an innocuous variant, in case <limits.h> declares pcap_datalink_val_to_description.
9604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9605 #define pcap_datalink_val_to_description innocuous_pcap_datalink_val_to_description
9607 /* System header to define __stub macros and hopefully few prototypes,
9608 which can conflict with char pcap_datalink_val_to_description (); below.
9609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9610 <limits.h> exists even on freestanding compilers. */
9613 # include <limits.h>
9615 # include <assert.h>
9618 #undef pcap_datalink_val_to_description
9620 /* Override any gcc2 internal prototype to avoid an error. */
9625 /* We use char because int might match the return type of a gcc2
9626 builtin and then its argument prototype would still apply. */
9627 char pcap_datalink_val_to_description ();
9628 /* The GNU C library defines this for functions which it implements
9629 to always fail with ENOSYS. Some functions are actually named
9630 something starting with __ and the normal name is an alias. */
9631 #if defined (__stub_pcap_datalink_val_to_description) || defined (__stub___pcap_datalink_val_to_description)
9634 char (*f) () = pcap_datalink_val_to_description;
9643 return f != pcap_datalink_val_to_description;
9648 rm -f conftest.
$ac_objext conftest
$ac_exeext
9649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9650 (eval $ac_link) 2>conftest.er1
9652 grep -v '^ *+' conftest.er1
>conftest.err
9654 cat conftest.err
>&5
9655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9656 (exit $ac_status); } &&
9657 { ac_try
='test -z "$ac_c_werror_flag"
9658 || test ! -s conftest.err'
9659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9663 (exit $ac_status); }; } &&
9664 { ac_try
='test -s conftest$ac_exeext'
9665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9669 (exit $ac_status); }; }; then
9670 ac_cv_func_pcap_datalink_val_to_description
=yes
9672 echo "$as_me: failed program was:" >&5
9673 sed 's/^/| /' conftest.
$ac_ext >&5
9675 ac_cv_func_pcap_datalink_val_to_description
=no
9677 rm -f conftest.err conftest.
$ac_objext \
9678 conftest
$ac_exeext conftest.
$ac_ext
9680 echo "$as_me:$LINENO: result: $ac_cv_func_pcap_datalink_val_to_description" >&5
9681 echo "${ECHO_T}$ac_cv_func_pcap_datalink_val_to_description" >&6
9682 if test $ac_cv_func_pcap_datalink_val_to_description = yes; then
9683 cat >>confdefs.h
<<\_ACEOF
9684 #define HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1
9690 "dlnames.$ac_objext" | \
9691 *" dlnames.$ac_objext" | \
9692 "dlnames.$ac_objext "* | \
9693 *" dlnames.$ac_objext "* ) ;;
9694 *) LIBOBJS
="$LIBOBJS dlnames.$ac_objext" ;;
9704 "dlnames.$ac_objext" | \
9705 *" dlnames.$ac_objext" | \
9706 "dlnames.$ac_objext "* | \
9707 *" dlnames.$ac_objext "* ) ;;
9708 *) LIBOBJS
="$LIBOBJS dlnames.$ac_objext" ;;
9716 for ac_func
in pcap_breakloop
9718 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9719 echo "$as_me:$LINENO: checking for $ac_func" >&5
9720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9721 if eval "test \"\${$as_ac_var+set}\" = set"; then
9722 echo $ECHO_N "(cached) $ECHO_C" >&6
9724 cat >conftest.
$ac_ext <<_ACEOF
9727 cat confdefs.h
>>conftest.
$ac_ext
9728 cat >>conftest.
$ac_ext <<_ACEOF
9729 /* end confdefs.h. */
9730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9732 #define $ac_func innocuous_$ac_func
9734 /* System header to define __stub macros and hopefully few prototypes,
9735 which can conflict with char $ac_func (); below.
9736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9737 <limits.h> exists even on freestanding compilers. */
9740 # include <limits.h>
9742 # include <assert.h>
9747 /* Override any gcc2 internal prototype to avoid an error. */
9752 /* We use char because int might match the return type of a gcc2
9753 builtin and then its argument prototype would still apply. */
9755 /* The GNU C library defines this for functions which it implements
9756 to always fail with ENOSYS. Some functions are actually named
9757 something starting with __ and the normal name is an alias. */
9758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9761 char (*f) () = $ac_func;
9770 return f != $ac_func;
9775 rm -f conftest.
$ac_objext conftest
$ac_exeext
9776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9777 (eval $ac_link) 2>conftest.er1
9779 grep -v '^ *+' conftest.er1
>conftest.err
9781 cat conftest.err
>&5
9782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9783 (exit $ac_status); } &&
9784 { ac_try
='test -z "$ac_c_werror_flag"
9785 || test ! -s conftest.err'
9786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9790 (exit $ac_status); }; } &&
9791 { ac_try
='test -s conftest$ac_exeext'
9792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9796 (exit $ac_status); }; }; then
9797 eval "$as_ac_var=yes"
9799 echo "$as_me: failed program was:" >&5
9800 sed 's/^/| /' conftest.
$ac_ext >&5
9802 eval "$as_ac_var=no"
9804 rm -f conftest.err conftest.
$ac_objext \
9805 conftest
$ac_exeext conftest.
$ac_ext
9807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9809 if test `eval echo '${'$as_ac_var'}'` = yes; then
9810 cat >>confdefs.h
<<_ACEOF
9811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9818 echo "$as_me:$LINENO: checking for pcap_dump_ftell" >&5
9819 echo $ECHO_N "checking for pcap_dump_ftell... $ECHO_C" >&6
9820 if test "${ac_cv_func_pcap_dump_ftell+set}" = set; then
9821 echo $ECHO_N "(cached) $ECHO_C" >&6
9823 cat >conftest.
$ac_ext <<_ACEOF
9826 cat confdefs.h
>>conftest.
$ac_ext
9827 cat >>conftest.
$ac_ext <<_ACEOF
9828 /* end confdefs.h. */
9829 /* Define pcap_dump_ftell to an innocuous variant, in case <limits.h> declares pcap_dump_ftell.
9830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9831 #define pcap_dump_ftell innocuous_pcap_dump_ftell
9833 /* System header to define __stub macros and hopefully few prototypes,
9834 which can conflict with char pcap_dump_ftell (); below.
9835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9836 <limits.h> exists even on freestanding compilers. */
9839 # include <limits.h>
9841 # include <assert.h>
9844 #undef pcap_dump_ftell
9846 /* Override any gcc2 internal prototype to avoid an error. */
9851 /* We use char because int might match the return type of a gcc2
9852 builtin and then its argument prototype would still apply. */
9853 char pcap_dump_ftell ();
9854 /* The GNU C library defines this for functions which it implements
9855 to always fail with ENOSYS. Some functions are actually named
9856 something starting with __ and the normal name is an alias. */
9857 #if defined (__stub_pcap_dump_ftell) || defined (__stub___pcap_dump_ftell)
9860 char (*f) () = pcap_dump_ftell;
9869 return f != pcap_dump_ftell;
9874 rm -f conftest.
$ac_objext conftest
$ac_exeext
9875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9876 (eval $ac_link) 2>conftest.er1
9878 grep -v '^ *+' conftest.er1
>conftest.err
9880 cat conftest.err
>&5
9881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9882 (exit $ac_status); } &&
9883 { ac_try
='test -z "$ac_c_werror_flag"
9884 || test ! -s conftest.err'
9885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9889 (exit $ac_status); }; } &&
9890 { ac_try
='test -s conftest$ac_exeext'
9891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9895 (exit $ac_status); }; }; then
9896 ac_cv_func_pcap_dump_ftell
=yes
9898 echo "$as_me: failed program was:" >&5
9899 sed 's/^/| /' conftest.
$ac_ext >&5
9901 ac_cv_func_pcap_dump_ftell
=no
9903 rm -f conftest.err conftest.
$ac_objext \
9904 conftest
$ac_exeext conftest.
$ac_ext
9906 echo "$as_me:$LINENO: result: $ac_cv_func_pcap_dump_ftell" >&5
9907 echo "${ECHO_T}$ac_cv_func_pcap_dump_ftell" >&6
9908 if test $ac_cv_func_pcap_dump_ftell = yes; then
9909 cat >>confdefs.h
<<\_ACEOF
9910 #define HAVE_PCAP_DUMP_FTELL 1
9916 "pcap_dump_ftell.$ac_objext" | \
9917 *" pcap_dump_ftell.$ac_objext" | \
9918 "pcap_dump_ftell.$ac_objext "* | \
9919 *" pcap_dump_ftell.$ac_objext "* ) ;;
9920 *) LIBOBJS
="$LIBOBJS pcap_dump_ftell.$ac_objext" ;;
9929 # Check for these after AC_LBL_LIBPCAP, so we link with the appropriate
9930 # libraries (e.g., "-lsocket -lnsl" on Solaris).
9932 # We don't use AC_REPLACE_FUNCS because that uses AC_CHECK_FUNCS which
9933 # use AC_CHECK_FUNC which doesn't let us specify the right #includes
9934 # to make this work on BSD/OS 4.x. BSD/OS 4.x ships with the BIND8
9935 # resolver, and the way it defines inet_{ntop,pton} is rather strange;
9936 # it does not ship with a libc symbol "inet_ntop()", it ships with
9937 # "_inet_ntop()", and has a #define macro in one of the system headers
9940 echo "$as_me:$LINENO: checking for inet_ntop" >&5
9941 echo $ECHO_N "checking for inet_ntop... $ECHO_C" >&6
9942 cat >conftest.
$ac_ext <<_ACEOF
9945 cat confdefs.h
>>conftest.
$ac_ext
9946 cat >>conftest.
$ac_ext <<_ACEOF
9947 /* end confdefs.h. */
9948 #include <sys/types.h>
9949 #include <sys/socket.h>
9950 #include <netinet/in.h>
9951 #include <arpa/inet.h>
9955 char src[4], dst[128];
9956 inet_ntop(AF_INET, src, dst, sizeof(dst));
9961 rm -f conftest.
$ac_objext conftest
$ac_exeext
9962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9963 (eval $ac_link) 2>conftest.er1
9965 grep -v '^ *+' conftest.er1
>conftest.err
9967 cat conftest.err
>&5
9968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9969 (exit $ac_status); } &&
9970 { ac_try
='test -z "$ac_c_werror_flag"
9971 || test ! -s conftest.err'
9972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9976 (exit $ac_status); }; } &&
9977 { ac_try
='test -s conftest$ac_exeext'
9978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9982 (exit $ac_status); }; }; then
9983 echo "$as_me:$LINENO: result: yes" >&5
9984 echo "${ECHO_T}yes" >&6
9986 echo "$as_me: failed program was:" >&5
9987 sed 's/^/| /' conftest.
$ac_ext >&5
9989 echo "$as_me:$LINENO: result: no" >&5
9990 echo "${ECHO_T}no" >&6
9992 "inet_ntop.$ac_objext" | \
9993 *" inet_ntop.$ac_objext" | \
9994 "inet_ntop.$ac_objext "* | \
9995 *" inet_ntop.$ac_objext "* ) ;;
9996 *) LIBOBJS
="$LIBOBJS inet_ntop.$ac_objext" ;;
10000 rm -f conftest.err conftest.
$ac_objext \
10001 conftest
$ac_exeext conftest.
$ac_ext
10002 echo "$as_me:$LINENO: checking for inet_pton" >&5
10003 echo $ECHO_N "checking for inet_pton... $ECHO_C" >&6
10004 cat >conftest.
$ac_ext <<_ACEOF
10007 cat confdefs.h
>>conftest.
$ac_ext
10008 cat >>conftest.
$ac_ext <<_ACEOF
10009 /* end confdefs.h. */
10010 #include <sys/types.h>
10011 #include <sys/socket.h>
10012 #include <netinet/in.h>
10013 #include <arpa/inet.h>
10017 char src[128], dst[4];
10018 inet_pton(AF_INET, src, dst);
10023 rm -f conftest.
$ac_objext conftest
$ac_exeext
10024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10025 (eval $ac_link) 2>conftest.er1
10027 grep -v '^ *+' conftest.er1
>conftest.err
10029 cat conftest.err
>&5
10030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10031 (exit $ac_status); } &&
10032 { ac_try
='test -z "$ac_c_werror_flag"
10033 || test ! -s conftest.err'
10034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10035 (eval $ac_try) 2>&5
10037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10038 (exit $ac_status); }; } &&
10039 { ac_try
='test -s conftest$ac_exeext'
10040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10041 (eval $ac_try) 2>&5
10043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10044 (exit $ac_status); }; }; then
10045 echo "$as_me:$LINENO: result: yes" >&5
10046 echo "${ECHO_T}yes" >&6
10048 echo "$as_me: failed program was:" >&5
10049 sed 's/^/| /' conftest.
$ac_ext >&5
10051 echo "$as_me:$LINENO: result: no" >&5
10052 echo "${ECHO_T}no" >&6
10054 "inet_pton.$ac_objext" | \
10055 *" inet_pton.$ac_objext" | \
10056 "inet_pton.$ac_objext "* | \
10057 *" inet_pton.$ac_objext "* ) ;;
10058 *) LIBOBJS
="$LIBOBJS inet_pton.$ac_objext" ;;
10062 rm -f conftest.err conftest.
$ac_objext \
10063 conftest
$ac_exeext conftest.
$ac_ext
10064 echo "$as_me:$LINENO: checking for inet_aton" >&5
10065 echo $ECHO_N "checking for inet_aton... $ECHO_C" >&6
10066 cat >conftest.
$ac_ext <<_ACEOF
10069 cat confdefs.h
>>conftest.
$ac_ext
10070 cat >>conftest.
$ac_ext <<_ACEOF
10071 /* end confdefs.h. */
10072 #include <sys/types.h>
10073 #include <netinet/in.h>
10074 #include <arpa/inet.h>
10079 struct in_addr dst;
10080 inet_aton(src, &dst);
10085 rm -f conftest.
$ac_objext conftest
$ac_exeext
10086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10087 (eval $ac_link) 2>conftest.er1
10089 grep -v '^ *+' conftest.er1
>conftest.err
10091 cat conftest.err
>&5
10092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10093 (exit $ac_status); } &&
10094 { ac_try
='test -z "$ac_c_werror_flag"
10095 || test ! -s conftest.err'
10096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10097 (eval $ac_try) 2>&5
10099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10100 (exit $ac_status); }; } &&
10101 { ac_try
='test -s conftest$ac_exeext'
10102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10103 (eval $ac_try) 2>&5
10105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10106 (exit $ac_status); }; }; then
10107 echo "$as_me:$LINENO: result: yes" >&5
10108 echo "${ECHO_T}yes" >&6
10110 echo "$as_me: failed program was:" >&5
10111 sed 's/^/| /' conftest.
$ac_ext >&5
10113 echo "$as_me:$LINENO: result: no" >&5
10114 echo "${ECHO_T}no" >&6
10116 "inet_aton.$ac_objext" | \
10117 *" inet_aton.$ac_objext" | \
10118 "inet_aton.$ac_objext "* | \
10119 *" inet_aton.$ac_objext "* ) ;;
10120 *) LIBOBJS
="$LIBOBJS inet_aton.$ac_objext" ;;
10124 rm -f conftest.err conftest.
$ac_objext \
10125 conftest
$ac_exeext conftest.
$ac_ext
10128 # Check for these after AC_LBL_LIBPCAP, for the same reason.
10130 # You are in a twisty little maze of UN*Xes, all different.
10131 # Some might not have ether_ntohost().
10132 # Some might have it, but not declare it in any header file.
10133 # Some might have it, but declare it in <netinet/if_ether.h>.
10134 # Some might have it, but declare it in <netinet/ether.h>
10135 # (And some might have it but document it as something declared in
10136 # <netinet/ethernet.h>, although <netinet/if_ether.h> appears to work.)
10138 # Before you is a C compiler.
10141 for ac_func
in ether_ntohost
10143 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10144 echo "$as_me:$LINENO: checking for $ac_func" >&5
10145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10146 if eval "test \"\${$as_ac_var+set}\" = set"; then
10147 echo $ECHO_N "(cached) $ECHO_C" >&6
10149 cat >conftest.
$ac_ext <<_ACEOF
10152 cat confdefs.h
>>conftest.
$ac_ext
10153 cat >>conftest.
$ac_ext <<_ACEOF
10154 /* end confdefs.h. */
10155 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10157 #define $ac_func innocuous_$ac_func
10159 /* System header to define __stub macros and hopefully few prototypes,
10160 which can conflict with char $ac_func (); below.
10161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10162 <limits.h> exists even on freestanding compilers. */
10165 # include <limits.h>
10167 # include <assert.h>
10172 /* Override any gcc2 internal prototype to avoid an error. */
10177 /* We use char because int might match the return type of a gcc2
10178 builtin and then its argument prototype would still apply. */
10180 /* The GNU C library defines this for functions which it implements
10181 to always fail with ENOSYS. Some functions are actually named
10182 something starting with __ and the normal name is an alias. */
10183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10186 char (*f) () = $ac_func;
10195 return f != $ac_func;
10200 rm -f conftest.
$ac_objext conftest
$ac_exeext
10201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10202 (eval $ac_link) 2>conftest.er1
10204 grep -v '^ *+' conftest.er1
>conftest.err
10206 cat conftest.err
>&5
10207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10208 (exit $ac_status); } &&
10209 { ac_try
='test -z "$ac_c_werror_flag"
10210 || test ! -s conftest.err'
10211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10212 (eval $ac_try) 2>&5
10214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10215 (exit $ac_status); }; } &&
10216 { ac_try
='test -s conftest$ac_exeext'
10217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10218 (eval $ac_try) 2>&5
10220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10221 (exit $ac_status); }; }; then
10222 eval "$as_ac_var=yes"
10224 echo "$as_me: failed program was:" >&5
10225 sed 's/^/| /' conftest.
$ac_ext >&5
10227 eval "$as_ac_var=no"
10229 rm -f conftest.err conftest.
$ac_objext \
10230 conftest
$ac_exeext conftest.
$ac_ext
10232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10233 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10234 if test `eval echo '${'$as_ac_var'}'` = yes; then
10235 cat >>confdefs.h
<<_ACEOF
10236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10239 echo "$as_me:$LINENO: checking for buggy ether_ntohost" >&5
10240 echo $ECHO_N "checking for buggy ether_ntohost... $ECHO_C" >&6
10241 if test "${ac_cv_buggy_ether_ntohost+set}" = set; then
10242 echo $ECHO_N "(cached) $ECHO_C" >&6
10245 if test "$cross_compiling" = yes; then
10246 ac_cv_buggy_ether_ntohost
="not while cross-compiling"
10248 cat >conftest.
$ac_ext <<_ACEOF
10251 cat confdefs.h
>>conftest.
$ac_ext
10252 cat >>conftest.
$ac_ext <<_ACEOF
10253 /* end confdefs.h. */
10256 #include <sys/types.h>
10257 #include <sys/param.h>
10258 #include <sys/socket.h>
10261 main(int argc, char **argv)
10263 u_char ea[6] = { 0xff, 0xff, 0xff, 0xff, 0xff };
10264 char name[MAXHOSTNAMELEN];
10266 ether_ntohost(name, (struct ether_addr *)ea);
10271 rm -f conftest
$ac_exeext
10272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10273 (eval $ac_link) 2>&5
10275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10276 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10278 (eval $ac_try) 2>&5
10280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10281 (exit $ac_status); }; }; then
10282 ac_cv_buggy_ether_ntohost
=no
10284 echo "$as_me: program exited with status $ac_status" >&5
10285 echo "$as_me: failed program was:" >&5
10286 sed 's/^/| /' conftest.
$ac_ext >&5
10288 ( exit $ac_status )
10289 ac_cv_buggy_ether_ntohost
=yes
10291 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10294 echo "$as_me:$LINENO: result: $ac_cv_buggy_ether_ntohost" >&5
10295 echo "${ECHO_T}$ac_cv_buggy_ether_ntohost" >&6
10296 if test "$ac_cv_buggy_ether_ntohost" = "no"; then
10297 cat >>confdefs.h
<<\_ACEOF
10298 #define USE_ETHER_NTOHOST 1
10306 if test "$ac_cv_func_ether_ntohost" = yes -a \
10307 "$ac_cv_buggy_ether_ntohost" = "no"; then
10309 # OK, we have ether_ntohost(). Do we have <netinet/if_ether.h>?
10311 if test "$ac_cv_header_netinet_if_ether_h" = yes; then
10313 # Yes. Does it declare ether_ntohost()?
10315 echo "$as_me:$LINENO: checking whether ether_ntohost is declared" >&5
10316 echo $ECHO_N "checking whether ether_ntohost is declared... $ECHO_C" >&6
10317 if test "${ac_cv_have_decl_ether_ntohost+set}" = set; then
10318 echo $ECHO_N "(cached) $ECHO_C" >&6
10320 cat >conftest.
$ac_ext <<_ACEOF
10323 cat confdefs.h
>>conftest.
$ac_ext
10324 cat >>conftest.
$ac_ext <<_ACEOF
10325 /* end confdefs.h. */
10327 #include <sys/types.h>
10328 #include <sys/socket.h>
10329 #include <netinet/in.h>
10330 #include <arpa/inet.h>
10333 #include <net/if.h>
10334 #include <netinet/if_ether.h>
10340 #ifndef ether_ntohost
10341 char *p = (char *) ether_ntohost;
10348 rm -f conftest.
$ac_objext
10349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10350 (eval $ac_compile) 2>conftest.er1
10352 grep -v '^ *+' conftest.er1
>conftest.err
10354 cat conftest.err
>&5
10355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10356 (exit $ac_status); } &&
10357 { ac_try
='test -z "$ac_c_werror_flag"
10358 || test ! -s conftest.err'
10359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10360 (eval $ac_try) 2>&5
10362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10363 (exit $ac_status); }; } &&
10364 { ac_try
='test -s conftest.$ac_objext'
10365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10366 (eval $ac_try) 2>&5
10368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10369 (exit $ac_status); }; }; then
10370 ac_cv_have_decl_ether_ntohost
=yes
10372 echo "$as_me: failed program was:" >&5
10373 sed 's/^/| /' conftest.
$ac_ext >&5
10375 ac_cv_have_decl_ether_ntohost
=no
10377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10379 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ether_ntohost" >&5
10380 echo "${ECHO_T}$ac_cv_have_decl_ether_ntohost" >&6
10381 if test $ac_cv_have_decl_ether_ntohost = yes; then
10384 cat >>confdefs.h
<<\_ACEOF
10385 #define NETINET_IF_ETHER_H_DECLARES_ETHER_NTOHOST
10393 # Did that succeed?
10395 if test "$ac_cv_have_decl_ether_ntohost" != yes; then
10397 # No, how about <netinet/ether.h>, as on Linux?
10400 for ac_header
in netinet
/ether.h
10402 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10404 echo "$as_me:$LINENO: checking for $ac_header" >&5
10405 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10407 echo $ECHO_N "(cached) $ECHO_C" >&6
10409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10410 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10412 # Is the header compilable?
10413 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10414 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10415 cat >conftest.
$ac_ext <<_ACEOF
10418 cat confdefs.h
>>conftest.
$ac_ext
10419 cat >>conftest.
$ac_ext <<_ACEOF
10420 /* end confdefs.h. */
10421 $ac_includes_default
10422 #include <$ac_header>
10424 rm -f conftest.
$ac_objext
10425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10426 (eval $ac_compile) 2>conftest.er1
10428 grep -v '^ *+' conftest.er1
>conftest.err
10430 cat conftest.err
>&5
10431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10432 (exit $ac_status); } &&
10433 { ac_try
='test -z "$ac_c_werror_flag"
10434 || test ! -s conftest.err'
10435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10436 (eval $ac_try) 2>&5
10438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10439 (exit $ac_status); }; } &&
10440 { ac_try
='test -s conftest.$ac_objext'
10441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10442 (eval $ac_try) 2>&5
10444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10445 (exit $ac_status); }; }; then
10446 ac_header_compiler
=yes
10448 echo "$as_me: failed program was:" >&5
10449 sed 's/^/| /' conftest.
$ac_ext >&5
10451 ac_header_compiler
=no
10453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10454 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10455 echo "${ECHO_T}$ac_header_compiler" >&6
10457 # Is the header present?
10458 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10459 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10460 cat >conftest.
$ac_ext <<_ACEOF
10463 cat confdefs.h
>>conftest.
$ac_ext
10464 cat >>conftest.
$ac_ext <<_ACEOF
10465 /* end confdefs.h. */
10466 #include <$ac_header>
10468 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10469 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10471 grep -v '^ *+' conftest.er1
>conftest.err
10473 cat conftest.err
>&5
10474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10475 (exit $ac_status); } >/dev
/null
; then
10476 if test -s conftest.err
; then
10477 ac_cpp_err
=$ac_c_preproc_warn_flag
10478 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10485 if test -z "$ac_cpp_err"; then
10486 ac_header_preproc
=yes
10488 echo "$as_me: failed program was:" >&5
10489 sed 's/^/| /' conftest.
$ac_ext >&5
10491 ac_header_preproc
=no
10493 rm -f conftest.err conftest.
$ac_ext
10494 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10495 echo "${ECHO_T}$ac_header_preproc" >&6
10497 # So? What about this header?
10498 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10500 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10501 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10502 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10503 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10504 ac_header_preproc
=yes
10507 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10508 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10509 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10510 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10511 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10512 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10513 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10514 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10515 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10516 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10517 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10518 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10521 ## ------------------------------------------ ##
10522 ## Report this to the AC_PACKAGE_NAME lists. ##
10523 ## ------------------------------------------ ##
10526 sed "s/^/$as_me: WARNING: /" >&2
10529 echo "$as_me:$LINENO: checking for $ac_header" >&5
10530 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10532 echo $ECHO_N "(cached) $ECHO_C" >&6
10534 eval "$as_ac_Header=\$ac_header_preproc"
10536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10537 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10540 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10541 cat >>confdefs.h
<<_ACEOF
10542 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10549 if test "$ac_cv_header_netinet_ether_h" = yes; then
10551 # We have it - does it declare ether_ntohost()?
10552 # Unset ac_cv_have_decl_ether_ntohost so we don't
10553 # treat the previous failure as a cached value and
10554 # suppress the next test.
10556 unset ac_cv_have_decl_ether_ntohost
10557 echo "$as_me:$LINENO: checking whether ether_ntohost is declared" >&5
10558 echo $ECHO_N "checking whether ether_ntohost is declared... $ECHO_C" >&6
10559 if test "${ac_cv_have_decl_ether_ntohost+set}" = set; then
10560 echo $ECHO_N "(cached) $ECHO_C" >&6
10562 cat >conftest.
$ac_ext <<_ACEOF
10565 cat confdefs.h
>>conftest.
$ac_ext
10566 cat >>conftest.
$ac_ext <<_ACEOF
10567 /* end confdefs.h. */
10569 #include <netinet/ether.h>
10575 #ifndef ether_ntohost
10576 char *p = (char *) ether_ntohost;
10583 rm -f conftest.
$ac_objext
10584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10585 (eval $ac_compile) 2>conftest.er1
10587 grep -v '^ *+' conftest.er1
>conftest.err
10589 cat conftest.err
>&5
10590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10591 (exit $ac_status); } &&
10592 { ac_try
='test -z "$ac_c_werror_flag"
10593 || test ! -s conftest.err'
10594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10595 (eval $ac_try) 2>&5
10597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10598 (exit $ac_status); }; } &&
10599 { ac_try
='test -s conftest.$ac_objext'
10600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10601 (eval $ac_try) 2>&5
10603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10604 (exit $ac_status); }; }; then
10605 ac_cv_have_decl_ether_ntohost
=yes
10607 echo "$as_me: failed program was:" >&5
10608 sed 's/^/| /' conftest.
$ac_ext >&5
10610 ac_cv_have_decl_ether_ntohost
=no
10612 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10614 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ether_ntohost" >&5
10615 echo "${ECHO_T}$ac_cv_have_decl_ether_ntohost" >&6
10616 if test $ac_cv_have_decl_ether_ntohost = yes; then
10619 cat >>confdefs.h
<<\_ACEOF
10620 #define NETINET_ETHER_H_DECLARES_ETHER_NTOHOST
10629 # Is ether_ntohost() declared?
10631 if test "$ac_cv_have_decl_ether_ntohost" != yes; then
10633 # No, we'll have to declare it ourselves.
10634 # Do we have "struct ether_addr"?
10636 echo "$as_me:$LINENO: checking for struct ether_addr" >&5
10637 echo $ECHO_N "checking for struct ether_addr... $ECHO_C" >&6
10638 if test "${ac_cv_type_struct_ether_addr+set}" = set; then
10639 echo $ECHO_N "(cached) $ECHO_C" >&6
10641 cat >conftest.
$ac_ext <<_ACEOF
10644 cat confdefs.h
>>conftest.
$ac_ext
10645 cat >>conftest.
$ac_ext <<_ACEOF
10646 /* end confdefs.h. */
10648 #include <sys/types.h>
10649 #include <sys/socket.h>
10650 #include <netinet/in.h>
10651 #include <arpa/inet.h>
10654 #include <net/if.h>
10655 #include <netinet/if_ether.h>
10661 if ((struct ether_addr *) 0)
10663 if (sizeof (struct ether_addr))
10669 rm -f conftest.
$ac_objext
10670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10671 (eval $ac_compile) 2>conftest.er1
10673 grep -v '^ *+' conftest.er1
>conftest.err
10675 cat conftest.err
>&5
10676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10677 (exit $ac_status); } &&
10678 { ac_try
='test -z "$ac_c_werror_flag"
10679 || test ! -s conftest.err'
10680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10681 (eval $ac_try) 2>&5
10683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10684 (exit $ac_status); }; } &&
10685 { ac_try
='test -s conftest.$ac_objext'
10686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10687 (eval $ac_try) 2>&5
10689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10690 (exit $ac_status); }; }; then
10691 ac_cv_type_struct_ether_addr
=yes
10693 echo "$as_me: failed program was:" >&5
10694 sed 's/^/| /' conftest.
$ac_ext >&5
10696 ac_cv_type_struct_ether_addr
=no
10698 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10700 echo "$as_me:$LINENO: result: $ac_cv_type_struct_ether_addr" >&5
10701 echo "${ECHO_T}$ac_cv_type_struct_ether_addr" >&6
10702 if test $ac_cv_type_struct_ether_addr = yes; then
10704 cat >>confdefs.h
<<_ACEOF
10705 #define HAVE_STRUCT_ETHER_ADDR 1
10712 cat >>confdefs.h
<<\_ACEOF
10713 #define HAVE_DECL_ETHER_NTOHOST 0
10718 cat >>confdefs.h
<<\_ACEOF
10719 #define HAVE_DECL_ETHER_NTOHOST 1
10726 echo "$as_me:$LINENO: checking if sockaddr struct has sa_len member" >&5
10727 echo $ECHO_N "checking if sockaddr struct has sa_len member... $ECHO_C" >&6
10728 if test "${ac_cv_sockaddr_has_sa_len+set}" = set; then
10729 echo $ECHO_N "(cached) $ECHO_C" >&6
10731 cat >conftest.
$ac_ext <<_ACEOF
10734 cat confdefs.h
>>conftest.
$ac_ext
10735 cat >>conftest.
$ac_ext <<_ACEOF
10736 /* end confdefs.h. */
10738 # include <sys/types.h>
10739 # include <sys/socket.h>
10743 u_int i = sizeof(((struct sockaddr *)0)->sa_len)
10748 rm -f conftest.
$ac_objext
10749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10750 (eval $ac_compile) 2>conftest.er1
10752 grep -v '^ *+' conftest.er1
>conftest.err
10754 cat conftest.err
>&5
10755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10756 (exit $ac_status); } &&
10757 { ac_try
='test -z "$ac_c_werror_flag"
10758 || test ! -s conftest.err'
10759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10760 (eval $ac_try) 2>&5
10762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10763 (exit $ac_status); }; } &&
10764 { ac_try
='test -s conftest.$ac_objext'
10765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10766 (eval $ac_try) 2>&5
10768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10769 (exit $ac_status); }; }; then
10770 ac_cv_sockaddr_has_sa_len
=yes
10772 echo "$as_me: failed program was:" >&5
10773 sed 's/^/| /' conftest.
$ac_ext >&5
10775 ac_cv_sockaddr_has_sa_len
=no
10777 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10780 echo "$as_me:$LINENO: result: $ac_cv_sockaddr_has_sa_len" >&5
10781 echo "${ECHO_T}$ac_cv_sockaddr_has_sa_len" >&6
10782 if test $ac_cv_sockaddr_has_sa_len = yes ; then
10783 cat >>confdefs.h
<<\_ACEOF
10784 #define HAVE_SOCKADDR_SA_LEN 1
10789 if test "$ac_cv_sockaddr_has_sa_len" = no
; then
10790 missing_includes
=yes
10796 for ac_func
in pcap_findalldevs pcap_dump_flush pcap_lib_version
10798 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10799 echo "$as_me:$LINENO: checking for $ac_func" >&5
10800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10801 if eval "test \"\${$as_ac_var+set}\" = set"; then
10802 echo $ECHO_N "(cached) $ECHO_C" >&6
10804 cat >conftest.
$ac_ext <<_ACEOF
10807 cat confdefs.h
>>conftest.
$ac_ext
10808 cat >>conftest.
$ac_ext <<_ACEOF
10809 /* end confdefs.h. */
10810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10812 #define $ac_func innocuous_$ac_func
10814 /* System header to define __stub macros and hopefully few prototypes,
10815 which can conflict with char $ac_func (); below.
10816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10817 <limits.h> exists even on freestanding compilers. */
10820 # include <limits.h>
10822 # include <assert.h>
10827 /* Override any gcc2 internal prototype to avoid an error. */
10832 /* We use char because int might match the return type of a gcc2
10833 builtin and then its argument prototype would still apply. */
10835 /* The GNU C library defines this for functions which it implements
10836 to always fail with ENOSYS. Some functions are actually named
10837 something starting with __ and the normal name is an alias. */
10838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10841 char (*f) () = $ac_func;
10850 return f != $ac_func;
10855 rm -f conftest.
$ac_objext conftest
$ac_exeext
10856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10857 (eval $ac_link) 2>conftest.er1
10859 grep -v '^ *+' conftest.er1
>conftest.err
10861 cat conftest.err
>&5
10862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10863 (exit $ac_status); } &&
10864 { ac_try
='test -z "$ac_c_werror_flag"
10865 || test ! -s conftest.err'
10866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10867 (eval $ac_try) 2>&5
10869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10870 (exit $ac_status); }; } &&
10871 { ac_try
='test -s conftest$ac_exeext'
10872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10873 (eval $ac_try) 2>&5
10875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10876 (exit $ac_status); }; }; then
10877 eval "$as_ac_var=yes"
10879 echo "$as_me: failed program was:" >&5
10880 sed 's/^/| /' conftest.
$ac_ext >&5
10882 eval "$as_ac_var=no"
10884 rm -f conftest.err conftest.
$ac_objext \
10885 conftest
$ac_exeext conftest.
$ac_ext
10887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10889 if test `eval echo '${'$as_ac_var'}'` = yes; then
10890 cat >>confdefs.h
<<_ACEOF
10891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10897 if test $ac_cv_func_pcap_findalldevs = "yes" ; then
10898 savedcflags
="$CFLAGS"
10899 CFLAGS
="$CFLAGS $V_INCLS"
10900 echo "$as_me:$LINENO: checking for pcap_if_t" >&5
10901 echo $ECHO_N "checking for pcap_if_t... $ECHO_C" >&6
10902 if test "${ac_cv_type_pcap_if_t+set}" = set; then
10903 echo $ECHO_N "(cached) $ECHO_C" >&6
10905 cat >conftest.
$ac_ext <<_ACEOF
10908 cat confdefs.h
>>conftest.
$ac_ext
10909 cat >>conftest.
$ac_ext <<_ACEOF
10910 /* end confdefs.h. */
10916 if ((pcap_if_t *) 0)
10918 if (sizeof (pcap_if_t))
10924 rm -f conftest.
$ac_objext
10925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10926 (eval $ac_compile) 2>conftest.er1
10928 grep -v '^ *+' conftest.er1
>conftest.err
10930 cat conftest.err
>&5
10931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10932 (exit $ac_status); } &&
10933 { ac_try
='test -z "$ac_c_werror_flag"
10934 || test ! -s conftest.err'
10935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10936 (eval $ac_try) 2>&5
10938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10939 (exit $ac_status); }; } &&
10940 { ac_try
='test -s conftest.$ac_objext'
10941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10942 (eval $ac_try) 2>&5
10944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10945 (exit $ac_status); }; }; then
10946 ac_cv_type_pcap_if_t
=yes
10948 echo "$as_me: failed program was:" >&5
10949 sed 's/^/| /' conftest.
$ac_ext >&5
10951 ac_cv_type_pcap_if_t
=no
10953 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10955 echo "$as_me:$LINENO: result: $ac_cv_type_pcap_if_t" >&5
10956 echo "${ECHO_T}$ac_cv_type_pcap_if_t" >&6
10957 if test $ac_cv_type_pcap_if_t = yes; then
10959 cat >>confdefs.h
<<_ACEOF
10960 #define HAVE_PCAP_IF_T 1
10966 CFLAGS
="$savedcflags"
10969 if test $ac_cv_func_pcap_lib_version = "no" ; then
10970 echo "$as_me:$LINENO: checking whether pcap_version is defined by libpcap" >&5
10971 echo $ECHO_N "checking whether pcap_version is defined by libpcap... $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. */
10983 extern char pcap_version[];
10985 return (int)pcap_version;
10991 rm -f conftest.
$ac_objext conftest
$ac_exeext
10992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10993 (eval $ac_link) 2>conftest.er1
10995 grep -v '^ *+' conftest.er1
>conftest.err
10997 cat conftest.err
>&5
10998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10999 (exit $ac_status); } &&
11000 { ac_try
='test -z "$ac_c_werror_flag"
11001 || test ! -s conftest.err'
11002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11003 (eval $ac_try) 2>&5
11005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11006 (exit $ac_status); }; } &&
11007 { ac_try
='test -s conftest$ac_exeext'
11008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11009 (eval $ac_try) 2>&5
11011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11012 (exit $ac_status); }; }; then
11013 ac_lbl_cv_pcap_version_defined
=yes
11015 echo "$as_me: failed program was:" >&5
11016 sed 's/^/| /' conftest.
$ac_ext >&5
11018 ac_lbl_cv_pcap_version_defined
=no
11020 rm -f conftest.err conftest.
$ac_objext \
11021 conftest
$ac_exeext conftest.
$ac_ext
11022 if test "$ac_lbl_cv_pcap_version_defined" = yes ; then
11023 echo "$as_me:$LINENO: result: yes" >&5
11024 echo "${ECHO_T}yes" >&6
11025 cat >>confdefs.h
<<\_ACEOF
11026 #define HAVE_PCAP_VERSION 1
11030 echo "$as_me:$LINENO: result: no" >&5
11031 echo "${ECHO_T}no" >&6
11034 echo "$as_me:$LINENO: checking whether pcap_debug is defined by libpcap" >&5
11035 echo $ECHO_N "checking whether pcap_debug is defined by libpcap... $ECHO_C" >&6
11036 cat >conftest.
$ac_ext <<_ACEOF
11039 cat confdefs.h
>>conftest.
$ac_ext
11040 cat >>conftest.
$ac_ext <<_ACEOF
11041 /* end confdefs.h. */
11047 extern int pcap_debug;
11055 rm -f conftest.
$ac_objext conftest
$ac_exeext
11056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11057 (eval $ac_link) 2>conftest.er1
11059 grep -v '^ *+' conftest.er1
>conftest.err
11061 cat conftest.err
>&5
11062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11063 (exit $ac_status); } &&
11064 { ac_try
='test -z "$ac_c_werror_flag"
11065 || test ! -s conftest.err'
11066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11067 (eval $ac_try) 2>&5
11069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11070 (exit $ac_status); }; } &&
11071 { ac_try
='test -s conftest$ac_exeext'
11072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11073 (eval $ac_try) 2>&5
11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11076 (exit $ac_status); }; }; then
11077 ac_lbl_cv_pcap_debug_defined
=yes
11079 echo "$as_me: failed program was:" >&5
11080 sed 's/^/| /' conftest.
$ac_ext >&5
11082 ac_lbl_cv_pcap_debug_defined
=no
11084 rm -f conftest.err conftest.
$ac_objext \
11085 conftest
$ac_exeext conftest.
$ac_ext
11086 if test "$ac_lbl_cv_pcap_debug_defined" = yes ; then
11087 echo "$as_me:$LINENO: result: yes" >&5
11088 echo "${ECHO_T}yes" >&6
11089 cat >>confdefs.h
<<\_ACEOF
11090 #define HAVE_PCAP_DEBUG 1
11094 echo "$as_me:$LINENO: result: no" >&5
11095 echo "${ECHO_T}no" >&6
11097 # OK, what about "yydebug"?
11099 echo "$as_me:$LINENO: checking whether yydebug is defined by libpcap" >&5
11100 echo $ECHO_N "checking whether yydebug is defined by libpcap... $ECHO_C" >&6
11101 cat >conftest.
$ac_ext <<_ACEOF
11104 cat confdefs.h
>>conftest.
$ac_ext
11105 cat >>conftest.
$ac_ext <<_ACEOF
11106 /* end confdefs.h. */
11112 extern int yydebug;
11120 rm -f conftest.
$ac_objext conftest
$ac_exeext
11121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11122 (eval $ac_link) 2>conftest.er1
11124 grep -v '^ *+' conftest.er1
>conftest.err
11126 cat conftest.err
>&5
11127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11128 (exit $ac_status); } &&
11129 { ac_try
='test -z "$ac_c_werror_flag"
11130 || test ! -s conftest.err'
11131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11132 (eval $ac_try) 2>&5
11134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11135 (exit $ac_status); }; } &&
11136 { ac_try
='test -s conftest$ac_exeext'
11137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11138 (eval $ac_try) 2>&5
11140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11141 (exit $ac_status); }; }; then
11142 ac_lbl_cv_yydebug_defined
=yes
11144 echo "$as_me: failed program was:" >&5
11145 sed 's/^/| /' conftest.
$ac_ext >&5
11147 ac_lbl_cv_yydebug_defined
=no
11149 rm -f conftest.err conftest.
$ac_objext \
11150 conftest
$ac_exeext conftest.
$ac_ext
11151 if test "$ac_lbl_cv_yydebug_defined" = yes ; then
11152 echo "$as_me:$LINENO: result: yes" >&5
11153 echo "${ECHO_T}yes" >&6
11154 cat >>confdefs.h
<<\_ACEOF
11155 #define HAVE_YYDEBUG 1
11159 echo "$as_me:$LINENO: result: no" >&5
11160 echo "${ECHO_T}no" >&6
11164 for ac_func
in bpf_dump
11166 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11167 echo "$as_me:$LINENO: checking for $ac_func" >&5
11168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11169 if eval "test \"\${$as_ac_var+set}\" = set"; then
11170 echo $ECHO_N "(cached) $ECHO_C" >&6
11172 cat >conftest.
$ac_ext <<_ACEOF
11175 cat confdefs.h
>>conftest.
$ac_ext
11176 cat >>conftest.
$ac_ext <<_ACEOF
11177 /* end confdefs.h. */
11178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11180 #define $ac_func innocuous_$ac_func
11182 /* System header to define __stub macros and hopefully few prototypes,
11183 which can conflict with char $ac_func (); below.
11184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11185 <limits.h> exists even on freestanding compilers. */
11188 # include <limits.h>
11190 # include <assert.h>
11195 /* Override any gcc2 internal prototype to avoid an error. */
11200 /* We use char because int might match the return type of a gcc2
11201 builtin and then its argument prototype would still apply. */
11203 /* The GNU C library defines this for functions which it implements
11204 to always fail with ENOSYS. Some functions are actually named
11205 something starting with __ and the normal name is an alias. */
11206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11209 char (*f) () = $ac_func;
11218 return f != $ac_func;
11223 rm -f conftest.
$ac_objext conftest
$ac_exeext
11224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11225 (eval $ac_link) 2>conftest.er1
11227 grep -v '^ *+' conftest.er1
>conftest.err
11229 cat conftest.err
>&5
11230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11231 (exit $ac_status); } &&
11232 { ac_try
='test -z "$ac_c_werror_flag"
11233 || test ! -s conftest.err'
11234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11235 (eval $ac_try) 2>&5
11237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11238 (exit $ac_status); }; } &&
11239 { ac_try
='test -s conftest$ac_exeext'
11240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11241 (eval $ac_try) 2>&5
11243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11244 (exit $ac_status); }; }; then
11245 eval "$as_ac_var=yes"
11247 echo "$as_me: failed program was:" >&5
11248 sed 's/^/| /' conftest.
$ac_ext >&5
11250 eval "$as_ac_var=no"
11252 rm -f conftest.err conftest.
$ac_objext \
11253 conftest
$ac_exeext conftest.
$ac_ext
11255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11257 if test `eval echo '${'$as_ac_var'}'` = yes; then
11258 cat >>confdefs.h
<<_ACEOF
11259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11264 "$ac_func.$ac_objext" | \
11265 *" $ac_func.$ac_objext" | \
11266 "$ac_func.$ac_objext "* | \
11267 *" $ac_func.$ac_objext "* ) ;;
11268 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" ;;
11276 if test -f /etc
/group
-a ! -z "`grep '^wheel:' /etc/group`" ; then
11282 cat >>confdefs.h
<<\_ACEOF
11301 if test -f /dev
/bpf0
; then
11306 for ac_header
in sys
/bitypes.h
11308 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11309 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11310 echo "$as_me:$LINENO: checking for $ac_header" >&5
11311 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11312 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11313 echo $ECHO_N "(cached) $ECHO_C" >&6
11315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11316 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11318 # Is the header compilable?
11319 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11320 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11321 cat >conftest.
$ac_ext <<_ACEOF
11324 cat confdefs.h
>>conftest.
$ac_ext
11325 cat >>conftest.
$ac_ext <<_ACEOF
11326 /* end confdefs.h. */
11327 $ac_includes_default
11328 #include <$ac_header>
11330 rm -f conftest.
$ac_objext
11331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11332 (eval $ac_compile) 2>conftest.er1
11334 grep -v '^ *+' conftest.er1
>conftest.err
11336 cat conftest.err
>&5
11337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11338 (exit $ac_status); } &&
11339 { ac_try
='test -z "$ac_c_werror_flag"
11340 || test ! -s conftest.err'
11341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11342 (eval $ac_try) 2>&5
11344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11345 (exit $ac_status); }; } &&
11346 { ac_try
='test -s conftest.$ac_objext'
11347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11348 (eval $ac_try) 2>&5
11350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11351 (exit $ac_status); }; }; then
11352 ac_header_compiler
=yes
11354 echo "$as_me: failed program was:" >&5
11355 sed 's/^/| /' conftest.
$ac_ext >&5
11357 ac_header_compiler
=no
11359 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11360 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11361 echo "${ECHO_T}$ac_header_compiler" >&6
11363 # Is the header present?
11364 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11365 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11366 cat >conftest.
$ac_ext <<_ACEOF
11369 cat confdefs.h
>>conftest.
$ac_ext
11370 cat >>conftest.
$ac_ext <<_ACEOF
11371 /* end confdefs.h. */
11372 #include <$ac_header>
11374 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11375 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11377 grep -v '^ *+' conftest.er1
>conftest.err
11379 cat conftest.err
>&5
11380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11381 (exit $ac_status); } >/dev
/null
; then
11382 if test -s conftest.err
; then
11383 ac_cpp_err
=$ac_c_preproc_warn_flag
11384 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11391 if test -z "$ac_cpp_err"; then
11392 ac_header_preproc
=yes
11394 echo "$as_me: failed program was:" >&5
11395 sed 's/^/| /' conftest.
$ac_ext >&5
11397 ac_header_preproc
=no
11399 rm -f conftest.err conftest.
$ac_ext
11400 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11401 echo "${ECHO_T}$ac_header_preproc" >&6
11403 # So? What about this header?
11404 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11406 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11407 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11408 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11409 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11410 ac_header_preproc
=yes
11413 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11414 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11415 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11416 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11417 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11418 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11419 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11420 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11421 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11422 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11423 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11424 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11427 ## ------------------------------------------ ##
11428 ## Report this to the AC_PACKAGE_NAME lists. ##
11429 ## ------------------------------------------ ##
11432 sed "s/^/$as_me: WARNING: /" >&2
11435 echo "$as_me:$LINENO: checking for $ac_header" >&5
11436 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11438 echo $ECHO_N "(cached) $ECHO_C" >&6
11440 eval "$as_ac_Header=\$ac_header_preproc"
11442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11443 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11446 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11447 cat >>confdefs.h
<<_ACEOF
11448 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11456 echo "$as_me:$LINENO: checking for int8_t" >&5
11457 echo $ECHO_N "checking for int8_t... $ECHO_C" >&6
11458 if test "${ac_cv_type_int8_t+set}" = set; then
11459 echo $ECHO_N "(cached) $ECHO_C" >&6
11461 cat >conftest.
$ac_ext <<_ACEOF
11464 cat confdefs.h
>>conftest.
$ac_ext
11465 cat >>conftest.
$ac_ext <<_ACEOF
11466 /* end confdefs.h. */
11467 $ac_includes_default
11473 if (sizeof (int8_t))
11479 rm -f conftest.
$ac_objext
11480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11481 (eval $ac_compile) 2>conftest.er1
11483 grep -v '^ *+' conftest.er1
>conftest.err
11485 cat conftest.err
>&5
11486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11487 (exit $ac_status); } &&
11488 { ac_try
='test -z "$ac_c_werror_flag"
11489 || test ! -s conftest.err'
11490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11491 (eval $ac_try) 2>&5
11493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11494 (exit $ac_status); }; } &&
11495 { ac_try
='test -s conftest.$ac_objext'
11496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11497 (eval $ac_try) 2>&5
11499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11500 (exit $ac_status); }; }; then
11501 ac_cv_type_int8_t
=yes
11503 echo "$as_me: failed program was:" >&5
11504 sed 's/^/| /' conftest.
$ac_ext >&5
11506 ac_cv_type_int8_t
=no
11508 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11510 echo "$as_me:$LINENO: result: $ac_cv_type_int8_t" >&5
11511 echo "${ECHO_T}$ac_cv_type_int8_t" >&6
11512 if test $ac_cv_type_int8_t = yes; then
11516 cat >>confdefs.h
<<\_ACEOF
11517 #define int8_t signed char
11522 echo "$as_me:$LINENO: checking for u_int8_t" >&5
11523 echo $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
11524 if test "${ac_cv_type_u_int8_t+set}" = set; then
11525 echo $ECHO_N "(cached) $ECHO_C" >&6
11527 cat >conftest.
$ac_ext <<_ACEOF
11530 cat confdefs.h
>>conftest.
$ac_ext
11531 cat >>conftest.
$ac_ext <<_ACEOF
11532 /* end confdefs.h. */
11533 $ac_includes_default
11534 #ifdef HAVE_SYS_BITYPES_H
11535 #include <sys/bitypes.h>
11541 if ((u_int8_t *) 0)
11543 if (sizeof (u_int8_t))
11549 rm -f conftest.
$ac_objext
11550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11551 (eval $ac_compile) 2>conftest.er1
11553 grep -v '^ *+' conftest.er1
>conftest.err
11555 cat conftest.err
>&5
11556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11557 (exit $ac_status); } &&
11558 { ac_try
='test -z "$ac_c_werror_flag"
11559 || test ! -s conftest.err'
11560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11561 (eval $ac_try) 2>&5
11563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11564 (exit $ac_status); }; } &&
11565 { ac_try
='test -s conftest.$ac_objext'
11566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11567 (eval $ac_try) 2>&5
11569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11570 (exit $ac_status); }; }; then
11571 ac_cv_type_u_int8_t
=yes
11573 echo "$as_me: failed program was:" >&5
11574 sed 's/^/| /' conftest.
$ac_ext >&5
11576 ac_cv_type_u_int8_t
=no
11578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11580 echo "$as_me:$LINENO: result: $ac_cv_type_u_int8_t" >&5
11581 echo "${ECHO_T}$ac_cv_type_u_int8_t" >&6
11582 if test $ac_cv_type_u_int8_t = yes; then
11586 cat >>confdefs.h
<<\_ACEOF
11587 #define u_int8_t unsigned char
11592 echo "$as_me:$LINENO: checking for int16_t" >&5
11593 echo $ECHO_N "checking for int16_t... $ECHO_C" >&6
11594 if test "${ac_cv_type_int16_t+set}" = set; then
11595 echo $ECHO_N "(cached) $ECHO_C" >&6
11597 cat >conftest.
$ac_ext <<_ACEOF
11600 cat confdefs.h
>>conftest.
$ac_ext
11601 cat >>conftest.
$ac_ext <<_ACEOF
11602 /* end confdefs.h. */
11603 $ac_includes_default
11609 if (sizeof (int16_t))
11615 rm -f conftest.
$ac_objext
11616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11617 (eval $ac_compile) 2>conftest.er1
11619 grep -v '^ *+' conftest.er1
>conftest.err
11621 cat conftest.err
>&5
11622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11623 (exit $ac_status); } &&
11624 { ac_try
='test -z "$ac_c_werror_flag"
11625 || test ! -s conftest.err'
11626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11627 (eval $ac_try) 2>&5
11629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11630 (exit $ac_status); }; } &&
11631 { ac_try
='test -s conftest.$ac_objext'
11632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11633 (eval $ac_try) 2>&5
11635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11636 (exit $ac_status); }; }; then
11637 ac_cv_type_int16_t
=yes
11639 echo "$as_me: failed program was:" >&5
11640 sed 's/^/| /' conftest.
$ac_ext >&5
11642 ac_cv_type_int16_t
=no
11644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11646 echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5
11647 echo "${ECHO_T}$ac_cv_type_int16_t" >&6
11648 if test $ac_cv_type_int16_t = yes; then
11652 cat >>confdefs.h
<<\_ACEOF
11653 #define int16_t short
11658 echo "$as_me:$LINENO: checking for u_int16_t" >&5
11659 echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
11660 if test "${ac_cv_type_u_int16_t+set}" = set; then
11661 echo $ECHO_N "(cached) $ECHO_C" >&6
11663 cat >conftest.
$ac_ext <<_ACEOF
11666 cat confdefs.h
>>conftest.
$ac_ext
11667 cat >>conftest.
$ac_ext <<_ACEOF
11668 /* end confdefs.h. */
11669 $ac_includes_default
11670 #ifdef HAVE_SYS_BITYPES_H
11671 #include <sys/bitypes.h>
11677 if ((u_int16_t *) 0)
11679 if (sizeof (u_int16_t))
11685 rm -f conftest.
$ac_objext
11686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11687 (eval $ac_compile) 2>conftest.er1
11689 grep -v '^ *+' conftest.er1
>conftest.err
11691 cat conftest.err
>&5
11692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11693 (exit $ac_status); } &&
11694 { ac_try
='test -z "$ac_c_werror_flag"
11695 || test ! -s conftest.err'
11696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11697 (eval $ac_try) 2>&5
11699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11700 (exit $ac_status); }; } &&
11701 { ac_try
='test -s conftest.$ac_objext'
11702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11703 (eval $ac_try) 2>&5
11705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11706 (exit $ac_status); }; }; then
11707 ac_cv_type_u_int16_t
=yes
11709 echo "$as_me: failed program was:" >&5
11710 sed 's/^/| /' conftest.
$ac_ext >&5
11712 ac_cv_type_u_int16_t
=no
11714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11716 echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
11717 echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6
11718 if test $ac_cv_type_u_int16_t = yes; then
11722 cat >>confdefs.h
<<\_ACEOF
11723 #define u_int16_t unsigned short
11728 echo "$as_me:$LINENO: checking for int32_t" >&5
11729 echo $ECHO_N "checking for int32_t... $ECHO_C" >&6
11730 if test "${ac_cv_type_int32_t+set}" = set; then
11731 echo $ECHO_N "(cached) $ECHO_C" >&6
11733 cat >conftest.
$ac_ext <<_ACEOF
11736 cat confdefs.h
>>conftest.
$ac_ext
11737 cat >>conftest.
$ac_ext <<_ACEOF
11738 /* end confdefs.h. */
11739 $ac_includes_default
11745 if (sizeof (int32_t))
11751 rm -f conftest.
$ac_objext
11752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11753 (eval $ac_compile) 2>conftest.er1
11755 grep -v '^ *+' conftest.er1
>conftest.err
11757 cat conftest.err
>&5
11758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11759 (exit $ac_status); } &&
11760 { ac_try
='test -z "$ac_c_werror_flag"
11761 || test ! -s conftest.err'
11762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11763 (eval $ac_try) 2>&5
11765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11766 (exit $ac_status); }; } &&
11767 { ac_try
='test -s conftest.$ac_objext'
11768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11769 (eval $ac_try) 2>&5
11771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11772 (exit $ac_status); }; }; then
11773 ac_cv_type_int32_t
=yes
11775 echo "$as_me: failed program was:" >&5
11776 sed 's/^/| /' conftest.
$ac_ext >&5
11778 ac_cv_type_int32_t
=no
11780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11782 echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
11783 echo "${ECHO_T}$ac_cv_type_int32_t" >&6
11784 if test $ac_cv_type_int32_t = yes; then
11788 cat >>confdefs.h
<<\_ACEOF
11789 #define int32_t int
11794 echo "$as_me:$LINENO: checking for u_int32_t" >&5
11795 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
11796 if test "${ac_cv_type_u_int32_t+set}" = set; then
11797 echo $ECHO_N "(cached) $ECHO_C" >&6
11799 cat >conftest.
$ac_ext <<_ACEOF
11802 cat confdefs.h
>>conftest.
$ac_ext
11803 cat >>conftest.
$ac_ext <<_ACEOF
11804 /* end confdefs.h. */
11805 $ac_includes_default
11806 #ifdef HAVE_SYS_BITYPES_H
11807 #include <sys/bitypes.h>
11813 if ((u_int32_t *) 0)
11815 if (sizeof (u_int32_t))
11821 rm -f conftest.
$ac_objext
11822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11823 (eval $ac_compile) 2>conftest.er1
11825 grep -v '^ *+' conftest.er1
>conftest.err
11827 cat conftest.err
>&5
11828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11829 (exit $ac_status); } &&
11830 { ac_try
='test -z "$ac_c_werror_flag"
11831 || test ! -s conftest.err'
11832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11833 (eval $ac_try) 2>&5
11835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11836 (exit $ac_status); }; } &&
11837 { ac_try
='test -s conftest.$ac_objext'
11838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11839 (eval $ac_try) 2>&5
11841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11842 (exit $ac_status); }; }; then
11843 ac_cv_type_u_int32_t
=yes
11845 echo "$as_me: failed program was:" >&5
11846 sed 's/^/| /' conftest.
$ac_ext >&5
11848 ac_cv_type_u_int32_t
=no
11850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11852 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
11853 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
11854 if test $ac_cv_type_u_int32_t = yes; then
11858 cat >>confdefs.h
<<\_ACEOF
11859 #define u_int32_t unsigned int
11864 echo "$as_me:$LINENO: checking for int64_t" >&5
11865 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
11866 if test "${ac_cv_type_int64_t+set}" = set; then
11867 echo $ECHO_N "(cached) $ECHO_C" >&6
11869 cat >conftest.
$ac_ext <<_ACEOF
11872 cat confdefs.h
>>conftest.
$ac_ext
11873 cat >>conftest.
$ac_ext <<_ACEOF
11874 /* end confdefs.h. */
11875 $ac_includes_default
11881 if (sizeof (int64_t))
11887 rm -f conftest.
$ac_objext
11888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11889 (eval $ac_compile) 2>conftest.er1
11891 grep -v '^ *+' conftest.er1
>conftest.err
11893 cat conftest.err
>&5
11894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11895 (exit $ac_status); } &&
11896 { ac_try
='test -z "$ac_c_werror_flag"
11897 || test ! -s conftest.err'
11898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11899 (eval $ac_try) 2>&5
11901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11902 (exit $ac_status); }; } &&
11903 { ac_try
='test -s conftest.$ac_objext'
11904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11905 (eval $ac_try) 2>&5
11907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11908 (exit $ac_status); }; }; then
11909 ac_cv_type_int64_t
=yes
11911 echo "$as_me: failed program was:" >&5
11912 sed 's/^/| /' conftest.
$ac_ext >&5
11914 ac_cv_type_int64_t
=no
11916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11918 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
11919 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
11920 if test $ac_cv_type_int64_t = yes; then
11924 cat >>confdefs.h
<<\_ACEOF
11925 #define int64_t long long
11930 echo "$as_me:$LINENO: checking for u_int64_t" >&5
11931 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
11932 if test "${ac_cv_type_u_int64_t+set}" = set; then
11933 echo $ECHO_N "(cached) $ECHO_C" >&6
11935 cat >conftest.
$ac_ext <<_ACEOF
11938 cat confdefs.h
>>conftest.
$ac_ext
11939 cat >>conftest.
$ac_ext <<_ACEOF
11940 /* end confdefs.h. */
11941 $ac_includes_default
11942 #ifdef HAVE_SYS_BITYPES_H
11943 #include <sys/bitypes.h>
11949 if ((u_int64_t *) 0)
11951 if (sizeof (u_int64_t))
11957 rm -f conftest.
$ac_objext
11958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11959 (eval $ac_compile) 2>conftest.er1
11961 grep -v '^ *+' conftest.er1
>conftest.err
11963 cat conftest.err
>&5
11964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11965 (exit $ac_status); } &&
11966 { ac_try
='test -z "$ac_c_werror_flag"
11967 || test ! -s conftest.err'
11968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11969 (eval $ac_try) 2>&5
11971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11972 (exit $ac_status); }; } &&
11973 { ac_try
='test -s conftest.$ac_objext'
11974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11975 (eval $ac_try) 2>&5
11977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11978 (exit $ac_status); }; }; then
11979 ac_cv_type_u_int64_t
=yes
11981 echo "$as_me: failed program was:" >&5
11982 sed 's/^/| /' conftest.
$ac_ext >&5
11984 ac_cv_type_u_int64_t
=no
11986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11988 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
11989 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
11990 if test $ac_cv_type_u_int64_t = yes; then
11994 cat >>confdefs.h
<<\_ACEOF
11995 #define u_int64_t unsigned long long
12002 # We can't just check for <inttypes.h> - some systems have one that
12003 # doesn't define all the PRI[doxu]64 macros.
12006 for ac_header
in inttypes.h
12008 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12009 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12010 echo "$as_me:$LINENO: checking for $ac_header" >&5
12011 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12012 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12013 echo $ECHO_N "(cached) $ECHO_C" >&6
12015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12016 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12018 # Is the header compilable?
12019 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12020 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12021 cat >conftest.
$ac_ext <<_ACEOF
12024 cat confdefs.h
>>conftest.
$ac_ext
12025 cat >>conftest.
$ac_ext <<_ACEOF
12026 /* end confdefs.h. */
12027 $ac_includes_default
12028 #include <$ac_header>
12030 rm -f conftest.
$ac_objext
12031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12032 (eval $ac_compile) 2>conftest.er1
12034 grep -v '^ *+' conftest.er1
>conftest.err
12036 cat conftest.err
>&5
12037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12038 (exit $ac_status); } &&
12039 { ac_try
='test -z "$ac_c_werror_flag"
12040 || test ! -s conftest.err'
12041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12042 (eval $ac_try) 2>&5
12044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12045 (exit $ac_status); }; } &&
12046 { ac_try
='test -s conftest.$ac_objext'
12047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12048 (eval $ac_try) 2>&5
12050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12051 (exit $ac_status); }; }; then
12052 ac_header_compiler
=yes
12054 echo "$as_me: failed program was:" >&5
12055 sed 's/^/| /' conftest.
$ac_ext >&5
12057 ac_header_compiler
=no
12059 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12060 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12061 echo "${ECHO_T}$ac_header_compiler" >&6
12063 # Is the header present?
12064 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12065 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12066 cat >conftest.
$ac_ext <<_ACEOF
12069 cat confdefs.h
>>conftest.
$ac_ext
12070 cat >>conftest.
$ac_ext <<_ACEOF
12071 /* end confdefs.h. */
12072 #include <$ac_header>
12074 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12075 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12077 grep -v '^ *+' conftest.er1
>conftest.err
12079 cat conftest.err
>&5
12080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12081 (exit $ac_status); } >/dev
/null
; then
12082 if test -s conftest.err
; then
12083 ac_cpp_err
=$ac_c_preproc_warn_flag
12084 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12091 if test -z "$ac_cpp_err"; then
12092 ac_header_preproc
=yes
12094 echo "$as_me: failed program was:" >&5
12095 sed 's/^/| /' conftest.
$ac_ext >&5
12097 ac_header_preproc
=no
12099 rm -f conftest.err conftest.
$ac_ext
12100 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12101 echo "${ECHO_T}$ac_header_preproc" >&6
12103 # So? What about this header?
12104 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12106 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12107 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12108 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12109 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12110 ac_header_preproc
=yes
12113 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12114 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12115 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12116 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12117 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12118 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12119 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12120 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12121 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12122 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12123 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12124 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12127 ## ------------------------------------------ ##
12128 ## Report this to the AC_PACKAGE_NAME lists. ##
12129 ## ------------------------------------------ ##
12132 sed "s/^/$as_me: WARNING: /" >&2
12135 echo "$as_me:$LINENO: checking for $ac_header" >&5
12136 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12137 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12138 echo $ECHO_N "(cached) $ECHO_C" >&6
12140 eval "$as_ac_Header=\$ac_header_preproc"
12142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12143 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12146 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12147 cat >>confdefs.h
<<_ACEOF
12148 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12152 # OK, we have inttypes.h, but does it define those macros?
12154 echo "$as_me:$LINENO: checking whether inttypes.h defines the PRI[doxu]64 macros" >&5
12155 echo $ECHO_N "checking whether inttypes.h defines the PRI[doxu]64 macros... $ECHO_C" >&6
12156 cat >conftest.
$ac_ext <<_ACEOF
12160 cat confdefs.h
>>conftest.
$ac_ext
12161 cat >>conftest.
$ac_ext <<_ACEOF
12162 /* end confdefs.h. */
12164 #include <inttypes.h>
12166 #include <sys/types.h>
12167 #ifdef HAVE_SYS_BITYPES_H
12168 #include <sys/bitypes.h>
12173 printf("%" PRId64 "\n", (u_int64_t)1);
12174 printf("%" PRIo64 "\n", (u_int64_t)1);
12175 printf("%" PRIx64 "\n", (u_int64_t)1);
12176 printf("%" PRIu64 "\n", (u_int64_t)1);
12181 rm -f conftest.
$ac_objext
12182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12183 (eval $ac_compile) 2>conftest.er1
12185 grep -v '^ *+' conftest.er1
>conftest.err
12187 cat conftest.err
>&5
12188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12189 (exit $ac_status); } &&
12190 { ac_try
='test -z "$ac_c_werror_flag"
12191 || test ! -s conftest.err'
12192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12193 (eval $ac_try) 2>&5
12195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12196 (exit $ac_status); }; } &&
12197 { ac_try
='test -s conftest.$ac_objext'
12198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12199 (eval $ac_try) 2>&5
12201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12202 (exit $ac_status); }; }; then
12204 echo "$as_me:$LINENO: result: yes" >&5
12205 echo "${ECHO_T}yes" >&6
12206 ac_lbl_inttypes_h_defines_formats
=yes
12209 echo "$as_me: failed program was:" >&5
12210 sed 's/^/| /' conftest.
$ac_ext >&5
12213 echo "$as_me:$LINENO: result: no" >&5
12214 echo "${ECHO_T}no" >&6
12215 ac_lbl_inttypes_h_defines_formats
=no
12218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12223 # We don't have inttypes.h, so it obviously can't define those
12226 ac_lbl_inttypes_h_defines_formats
=no
12232 if test "$ac_lbl_inttypes_h_defines_formats" = no
; then
12234 echo "$as_me:$LINENO: checking whether %lx can be used to format 64-bit integers" >&5
12235 echo $ECHO_N "checking whether %lx can be used to format 64-bit integers... $ECHO_C" >&6
12236 if test "$cross_compiling" = yes; then
12237 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12238 See \`config.log' for more details." >&5
12239 echo "$as_me: error: cannot run test program while cross compiling
12240 See \`config.log' for more details." >&2;}
12241 { (exit 1); exit 1; }; }
12243 cat >conftest.
$ac_ext <<_ACEOF
12247 cat confdefs.h
>>conftest.
$ac_ext
12248 cat >>conftest.
$ac_ext <<_ACEOF
12249 /* end confdefs.h. */
12251 # ifdef HAVE_INTTYPES_H
12252 #include <inttypes.h>
12254 # ifdef HAVE_SYS_BITYPES_H
12255 #include <sys/bitypes.h>
12258 #include <sys/types.h>
12264 sprintf(strbuf, "%016lx", t << 32);
12265 if (strcmp(strbuf, "0000000100000000") == 0)
12273 rm -f conftest
$ac_exeext
12274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12275 (eval $ac_link) 2>&5
12277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12278 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12280 (eval $ac_try) 2>&5
12282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12283 (exit $ac_status); }; }; then
12285 cat >>confdefs.h
<<\_ACEOF
12286 #define PRId64 "ld"
12289 cat >>confdefs.h
<<\_ACEOF
12290 #define PRIo64 "lo"
12293 cat >>confdefs.h
<<\_ACEOF
12294 #define PRIx64 "lx"
12297 cat >>confdefs.h
<<\_ACEOF
12298 #define PRIu64 "lu"
12301 echo "$as_me:$LINENO: result: yes" >&5
12302 echo "${ECHO_T}yes" >&6
12305 echo "$as_me: program exited with status $ac_status" >&5
12306 echo "$as_me: failed program was:" >&5
12307 sed 's/^/| /' conftest.
$ac_ext >&5
12309 ( exit $ac_status )
12311 echo "$as_me:$LINENO: result: no" >&5
12312 echo "${ECHO_T}no" >&6
12315 echo "$as_me:$LINENO: checking whether %llx can be used to format 64-bit integers" >&5
12316 echo $ECHO_N "checking whether %llx can be used to format 64-bit integers... $ECHO_C" >&6
12317 if test "$cross_compiling" = yes; then
12318 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12319 See \`config.log' for more details." >&5
12320 echo "$as_me: error: cannot run test program while cross compiling
12321 See \`config.log' for more details." >&2;}
12322 { (exit 1); exit 1; }; }
12324 cat >conftest.
$ac_ext <<_ACEOF
12328 cat confdefs.h
>>conftest.
$ac_ext
12329 cat >>conftest.
$ac_ext <<_ACEOF
12330 /* end confdefs.h. */
12332 # ifdef HAVE_INTTYPES_H
12333 #include <inttypes.h>
12335 # ifdef HAVE_SYS_BITYPES_H
12336 #include <sys/bitypes.h>
12339 #include <sys/types.h>
12345 sprintf(strbuf, "%016llx", t << 32);
12346 if (strcmp(strbuf, "0000000100000000") == 0)
12354 rm -f conftest
$ac_exeext
12355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12356 (eval $ac_link) 2>&5
12358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12359 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12361 (eval $ac_try) 2>&5
12363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12364 (exit $ac_status); }; }; then
12366 cat >>confdefs.h
<<\_ACEOF
12367 #define PRId64 "lld"
12370 cat >>confdefs.h
<<\_ACEOF
12371 #define PRIo64 "llo"
12374 cat >>confdefs.h
<<\_ACEOF
12375 #define PRIx64 "llx"
12378 cat >>confdefs.h
<<\_ACEOF
12379 #define PRIu64 "llu"
12382 echo "$as_me:$LINENO: result: yes" >&5
12383 echo "${ECHO_T}yes" >&6
12386 echo "$as_me: program exited with status $ac_status" >&5
12387 echo "$as_me: failed program was:" >&5
12388 sed 's/^/| /' conftest.
$ac_ext >&5
12390 ( exit $ac_status )
12392 echo "$as_me:$LINENO: result: no" >&5
12393 echo "${ECHO_T}no" >&6
12396 echo "$as_me:$LINENO: checking whether %Lx can be used to format 64-bit integers" >&5
12397 echo $ECHO_N "checking whether %Lx can be used to format 64-bit integers... $ECHO_C" >&6
12398 if test "$cross_compiling" = yes; then
12399 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12400 See \`config.log' for more details." >&5
12401 echo "$as_me: error: cannot run test program while cross compiling
12402 See \`config.log' for more details." >&2;}
12403 { (exit 1); exit 1; }; }
12405 cat >conftest.
$ac_ext <<_ACEOF
12409 cat confdefs.h
>>conftest.
$ac_ext
12410 cat >>conftest.
$ac_ext <<_ACEOF
12411 /* end confdefs.h. */
12413 # ifdef HAVE_INTTYPES_H
12414 #include <inttypes.h>
12416 # ifdef HAVE_SYS_BITYPES_H
12417 #include <sys/bitypes.h>
12420 #include <sys/types.h>
12426 sprintf(strbuf, "%016Lx", t << 32);
12427 if (strcmp(strbuf, "0000000100000000") == 0)
12435 rm -f conftest
$ac_exeext
12436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12437 (eval $ac_link) 2>&5
12439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12440 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12442 (eval $ac_try) 2>&5
12444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12445 (exit $ac_status); }; }; then
12447 cat >>confdefs.h
<<\_ACEOF
12448 #define PRId64 "Ld"
12451 cat >>confdefs.h
<<\_ACEOF
12452 #define PRIo64 "Lo"
12455 cat >>confdefs.h
<<\_ACEOF
12456 #define PRIx64 "Lx"
12459 cat >>confdefs.h
<<\_ACEOF
12460 #define PRIu64 "Lu"
12463 echo "$as_me:$LINENO: result: yes" >&5
12464 echo "${ECHO_T}yes" >&6
12467 echo "$as_me: program exited with status $ac_status" >&5
12468 echo "$as_me: failed program was:" >&5
12469 sed 's/^/| /' conftest.
$ac_ext >&5
12471 ( exit $ac_status )
12473 echo "$as_me:$LINENO: result: no" >&5
12474 echo "${ECHO_T}no" >&6
12477 echo "$as_me:$LINENO: checking whether %qx can be used to format 64-bit integers" >&5
12478 echo $ECHO_N "checking whether %qx can be used to format 64-bit integers... $ECHO_C" >&6
12479 if test "$cross_compiling" = yes; then
12480 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12481 See \`config.log' for more details." >&5
12482 echo "$as_me: error: cannot run test program while cross compiling
12483 See \`config.log' for more details." >&2;}
12484 { (exit 1); exit 1; }; }
12486 cat >conftest.
$ac_ext <<_ACEOF
12490 cat confdefs.h
>>conftest.
$ac_ext
12491 cat >>conftest.
$ac_ext <<_ACEOF
12492 /* end confdefs.h. */
12494 # ifdef HAVE_INTTYPES_H
12495 #include <inttypes.h>
12497 # ifdef HAVE_SYS_BITYPES_H
12498 #include <sys/bitypes.h>
12501 #include <sys/types.h>
12507 sprintf(strbuf, "%016qx", t << 32);
12508 if (strcmp(strbuf, "0000000100000000") == 0)
12516 rm -f conftest
$ac_exeext
12517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12518 (eval $ac_link) 2>&5
12520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12521 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12523 (eval $ac_try) 2>&5
12525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12526 (exit $ac_status); }; }; then
12528 cat >>confdefs.h
<<\_ACEOF
12529 #define PRId64 "qd"
12532 cat >>confdefs.h
<<\_ACEOF
12533 #define PRIo64 "qo"
12536 cat >>confdefs.h
<<\_ACEOF
12537 #define PRIx64 "qx"
12540 cat >>confdefs.h
<<\_ACEOF
12541 #define PRIu64 "qu"
12544 echo "$as_me:$LINENO: result: yes" >&5
12545 echo "${ECHO_T}yes" >&6
12548 echo "$as_me: program exited with status $ac_status" >&5
12549 echo "$as_me: failed program was:" >&5
12550 sed 's/^/| /' conftest.
$ac_ext >&5
12552 ( exit $ac_status )
12554 echo "$as_me:$LINENO: result: no" >&5
12555 echo "${ECHO_T}no" >&6
12557 { { echo "$as_me:$LINENO: error: neither %llx nor %Lx nor %qx worked on a 64-bit integer" >&5
12558 echo "$as_me: error: neither %llx nor %Lx nor %qx worked on a 64-bit integer" >&2;}
12559 { (exit 1); exit 1; }; }
12563 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12569 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12575 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12581 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12586 if test -n "$ac_tool_prefix"; then
12587 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12588 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
12589 echo "$as_me:$LINENO: checking for $ac_word" >&5
12590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12591 if test "${ac_cv_prog_RANLIB+set}" = set; then
12592 echo $ECHO_N "(cached) $ECHO_C" >&6
12594 if test -n "$RANLIB"; then
12595 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
12597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12598 for as_dir
in $PATH
12601 test -z "$as_dir" && as_dir
=.
12602 for ac_exec_ext
in '' $ac_executable_extensions; do
12603 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12604 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
12605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12613 RANLIB
=$ac_cv_prog_RANLIB
12614 if test -n "$RANLIB"; then
12615 echo "$as_me:$LINENO: result: $RANLIB" >&5
12616 echo "${ECHO_T}$RANLIB" >&6
12618 echo "$as_me:$LINENO: result: no" >&5
12619 echo "${ECHO_T}no" >&6
12623 if test -z "$ac_cv_prog_RANLIB"; then
12624 ac_ct_RANLIB
=$RANLIB
12625 # Extract the first word of "ranlib", so it can be a program name with args.
12626 set dummy ranlib
; ac_word
=$2
12627 echo "$as_me:$LINENO: checking for $ac_word" >&5
12628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12629 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12630 echo $ECHO_N "(cached) $ECHO_C" >&6
12632 if test -n "$ac_ct_RANLIB"; then
12633 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
12635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12636 for as_dir
in $PATH
12639 test -z "$as_dir" && as_dir
=.
12640 for ac_exec_ext
in '' $ac_executable_extensions; do
12641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12642 ac_cv_prog_ac_ct_RANLIB
="ranlib"
12643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12649 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
12652 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
12653 if test -n "$ac_ct_RANLIB"; then
12654 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12655 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12657 echo "$as_me:$LINENO: result: no" >&5
12658 echo "${ECHO_T}no" >&6
12661 RANLIB
=$ac_ct_RANLIB
12663 RANLIB
="$ac_cv_prog_RANLIB"
12668 if test "${LBL_CFLAGS+set}" = set; then
12669 V_CCOPT
="$V_CCOPT ${LBL_CFLAGS}"
12671 if test -f .devel
; then
12672 if test "$GCC" = yes ; then
12673 if test "${LBL_CFLAGS+set}" != set; then
12674 if test "$ac_cv_prog_cc_g" = yes ; then
12675 V_CCOPT
="-g $V_CCOPT"
12677 V_CCOPT
="$V_CCOPT -Wall"
12678 if test $ac_cv_lbl_gcc_vers -gt 1 ; then
12679 V_CCOPT
="$V_CCOPT -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wpointer-arith -W"
12686 V_CCOPT
="$V_CCOPT -n32"
12693 os
=`echo $host_os | sed -e 's/\([0-9][0-9]*\)[^0-9].*$/\1/'`
12694 name
="lbl/os-$os.h"
12695 if test -f $name ; then
12696 ln -s $name os-proto.h
12697 cat >>confdefs.h
<<\_ACEOF
12698 #define HAVE_OS_PROTO_H 1
12702 { echo "$as_me:$LINENO: WARNING: can't find $name" >&5
12703 echo "$as_me: WARNING: can't find $name" >&2;}
12707 echo "$as_me:$LINENO: checking if sockaddr struct has sa_len member" >&5
12708 echo $ECHO_N "checking if sockaddr struct has sa_len member... $ECHO_C" >&6
12709 if test "${ac_cv_lbl_sockaddr_has_sa_len+set}" = set; then
12710 echo $ECHO_N "(cached) $ECHO_C" >&6
12712 cat >conftest.
$ac_ext <<_ACEOF
12715 cat confdefs.h
>>conftest.
$ac_ext
12716 cat >>conftest.
$ac_ext <<_ACEOF
12717 /* end confdefs.h. */
12719 # include <sys/types.h>
12720 # include <sys/socket.h>
12724 u_int i = sizeof(((struct sockaddr *)0)->sa_len)
12729 rm -f conftest.
$ac_objext
12730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12731 (eval $ac_compile) 2>conftest.er1
12733 grep -v '^ *+' conftest.er1
>conftest.err
12735 cat conftest.err
>&5
12736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12737 (exit $ac_status); } &&
12738 { ac_try
='test -z "$ac_c_werror_flag"
12739 || test ! -s conftest.err'
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); }; } &&
12745 { ac_try
='test -s conftest.$ac_objext'
12746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12747 (eval $ac_try) 2>&5
12749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12750 (exit $ac_status); }; }; then
12751 ac_cv_lbl_sockaddr_has_sa_len
=yes
12753 echo "$as_me: failed program was:" >&5
12754 sed 's/^/| /' conftest.
$ac_ext >&5
12756 ac_cv_lbl_sockaddr_has_sa_len
=no
12758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12761 echo "$as_me:$LINENO: result: $ac_cv_lbl_sockaddr_has_sa_len" >&5
12762 echo "${ECHO_T}$ac_cv_lbl_sockaddr_has_sa_len" >&6
12763 if test $ac_cv_lbl_sockaddr_has_sa_len = yes ; then
12764 cat >>confdefs.h
<<\_ACEOF
12765 #define HAVE_SOCKADDR_SA_LEN 1
12770 echo "$as_me:$LINENO: checking if unaligned accesses fail" >&5
12771 echo $ECHO_N "checking if unaligned accesses fail... $ECHO_C" >&6
12772 if test "${ac_cv_lbl_unaligned_fail+set}" = set; then
12773 echo $ECHO_N "(cached) $ECHO_C" >&6
12775 case "$host_cpu" in
12778 # These are CPU types where:
12780 # the CPU faults on an unaligned access, but at least some
12781 # OSes that support that CPU catch the fault and simulate
12782 # the unaligned access (e.g., Alpha/{Digital,Tru64} UNIX) -
12783 # the simulation is slow, so we don't want to use it;
12785 # the CPU, I infer (from the old
12787 # XXX: should also check that they don't do weird things (like on arm)
12789 # comment) doesn't fault on unaligned accesses, but doesn't
12790 # do a normal unaligned fetch, either (e.g., presumably, ARM);
12792 # for whatever reason, the test program doesn't work
12793 # (this has been claimed to be the case for several of those
12794 # CPUs - I don't know what the problem is; the problem
12795 # was reported as "the test program dumps core" for SuperH,
12796 # but that's what the test program is *supposed* to do -
12797 # it dumps core before it writes anything, so the test
12798 # for an empty output file should find an empty output
12799 # file and conclude that unaligned accesses don't work).
12801 # This run-time test won't work if you're cross-compiling, so
12802 # in order to support cross-compiling for a particular CPU,
12803 # we have to wire in the list of CPU types anyway, as far as
12804 # I know, so perhaps we should just have a set of CPUs on
12805 # which we know it doesn't work, a set of CPUs on which we
12806 # know it does work, and have the script just fail on other
12807 # cpu types and update it when such a failure occurs.
12809 alpha
*|arm
*|hp
*|mips
*|sh
*|sparc
*|ia64|nv1
)
12810 ac_cv_lbl_unaligned_fail
=yes
12814 cat >conftest.c
<<EOF
12815 # include <sys/types.h>
12816 # include <sys/wait.h>
12817 # include <stdio.h>
12818 unsigned char a[5] = { 1, 2, 3, 4, 5 };
12823 /* avoid "core dumped" message */
12829 pid = waitpid(pid, &status, 0);
12832 exit(!WIFEXITED(status));
12835 i = *(unsigned int *)&a[1];
12840 ${CC-cc} -o conftest
$CFLAGS $CPPFLAGS $LDFLAGS \
12841 conftest.c
$LIBS >/dev
/null
2>&1
12842 if test ! -x conftest
; then
12843 ac_cv_lbl_unaligned_fail
=yes
12845 .
/conftest
>conftest.out
12846 if test ! -s conftest.out
; then
12847 ac_cv_lbl_unaligned_fail
=yes
12849 ac_cv_lbl_unaligned_fail
=no
12852 rm -f conftest
* core core.conftest
12857 echo "$as_me:$LINENO: result: $ac_cv_lbl_unaligned_fail" >&5
12858 echo "${ECHO_T}$ac_cv_lbl_unaligned_fail" >&6
12859 if test $ac_cv_lbl_unaligned_fail = yes ; then
12860 cat >>confdefs.h
<<\_ACEOF
12861 #define LBL_ALIGN 1
12867 echo "$as_me:$LINENO: checking for h_errno" >&5
12868 echo $ECHO_N "checking for h_errno... $ECHO_C" >&6
12869 if test "${ac_cv_var_h_errno+set}" = set; then
12870 echo $ECHO_N "(cached) $ECHO_C" >&6
12872 cat >conftest.
$ac_ext <<_ACEOF
12875 cat confdefs.h
>>conftest.
$ac_ext
12876 cat >>conftest.
$ac_ext <<_ACEOF
12877 /* end confdefs.h. */
12879 # include <sys/types.h>
12880 # include <netdb.h>
12889 rm -f conftest.
$ac_objext
12890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12891 (eval $ac_compile) 2>conftest.er1
12893 grep -v '^ *+' conftest.er1
>conftest.err
12895 cat conftest.err
>&5
12896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12897 (exit $ac_status); } &&
12898 { ac_try
='test -z "$ac_c_werror_flag"
12899 || test ! -s conftest.err'
12900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12901 (eval $ac_try) 2>&5
12903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12904 (exit $ac_status); }; } &&
12905 { ac_try
='test -s conftest.$ac_objext'
12906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12907 (eval $ac_try) 2>&5
12909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12910 (exit $ac_status); }; }; then
12911 ac_cv_var_h_errno
=yes
12913 echo "$as_me: failed program was:" >&5
12914 sed 's/^/| /' conftest.
$ac_ext >&5
12916 ac_cv_var_h_errno
=no
12918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12921 echo "$as_me:$LINENO: result: $ac_cv_var_h_errno" >&5
12922 echo "${ECHO_T}$ac_cv_var_h_errno" >&6
12923 if test "$ac_cv_var_h_errno" = "yes"; then
12924 cat >>confdefs.h
<<\_ACEOF
12925 #define HAVE_H_ERRNO 1
12932 # Check whether --with-crypto or --without-crypto was given.
12933 if test "${with_crypto+set}" = set; then
12934 withval
="$with_crypto"
12938 echo "$as_me:$LINENO: checking for SSLeay" >&5
12939 echo $ECHO_N "checking for SSLeay... $ECHO_C" >&6
12940 ac_cv_ssleay_path
=no
12944 # If Xprefix is set in the environment, use that value.
12945 # XXX - this should arguably be done by having --with-crypto take an
12946 # optional argument, and have that argument be used to set Xprefix
12949 if test -z "$Xprefix"; then
12950 Xprefix
=`eval echo $prefix`
12953 for dir
in $Xprefix /usr
/${host_alias} /usr
/usr
/local /usr
/local
/ssl
/usr
/pkg
; do
12955 # XXX - is there a better way to check if a given library is
12956 # in a given directory than checking each of the possible
12957 # shared library suffixes?
12959 # Are there any other suffixes we need to look for? Do we have to
12960 # worry about ".so.{version}"?
12962 # Or should we just look for "libcrypto.*"?
12964 if test -d $dir/lib
-a \
( -f $dir/lib
/libcrypto.a
-o \
12965 -f $dir/lib
/libcrypto.so
-o \
12966 -f $dir/lib
/libcrypto.sl
-o \
12967 -f $dir/lib
/libcrypto.dylib \
); then
12968 ac_cv_ssleay_path
=$dir
12970 if test -d $dir/include
/openssl
-a -f $dir/include
/openssl
/des.h
; then
12971 incdir
="-I$dir/include"
12973 if test "$ac_cv_ssleay_path" != "no" -a "$incdir" != "no"; then
12976 ac_cv_ssleay_path
=no
12980 echo "$as_me:$LINENO: result: $ac_cv_ssleay_path" >&5
12981 echo "${ECHO_T}$ac_cv_ssleay_path" >&6
12982 if test "$ac_cv_ssleay_path" != no
; then
12983 V_INCLS
="$V_INCLS $incdir"
12984 LDFLAGS
="-L$dir/lib $LDFLAGS"
12985 if test -f $ac_cv_ssleay_path/lib
/libRSAglue.a
; then
12986 LIBS
="$LIBS -lRSAglue"
12988 if test -f $ac_cv_ssleay_path/lib
/librsaref.a
; then
12989 LIBS
="$LIBS -lrsaref"
12992 echo "$as_me:$LINENO: checking for DES_cbc_encrypt in -lcrypto" >&5
12993 echo $ECHO_N "checking for DES_cbc_encrypt in -lcrypto... $ECHO_C" >&6
12994 if test "${ac_cv_lib_crypto_DES_cbc_encrypt+set}" = set; then
12995 echo $ECHO_N "(cached) $ECHO_C" >&6
12997 ac_check_lib_save_LIBS
=$LIBS
12998 LIBS
="-lcrypto $LIBS"
12999 cat >conftest.
$ac_ext <<_ACEOF
13002 cat confdefs.h
>>conftest.
$ac_ext
13003 cat >>conftest.
$ac_ext <<_ACEOF
13004 /* end confdefs.h. */
13006 /* Override any gcc2 internal prototype to avoid an error. */
13010 /* We use char because int might match the return type of a gcc2
13011 builtin and then its argument prototype would still apply. */
13012 char DES_cbc_encrypt ();
13016 DES_cbc_encrypt ();
13021 rm -f conftest.
$ac_objext conftest
$ac_exeext
13022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13023 (eval $ac_link) 2>conftest.er1
13025 grep -v '^ *+' conftest.er1
>conftest.err
13027 cat conftest.err
>&5
13028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13029 (exit $ac_status); } &&
13030 { ac_try
='test -z "$ac_c_werror_flag"
13031 || test ! -s conftest.err'
13032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13033 (eval $ac_try) 2>&5
13035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13036 (exit $ac_status); }; } &&
13037 { ac_try
='test -s conftest$ac_exeext'
13038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13039 (eval $ac_try) 2>&5
13041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13042 (exit $ac_status); }; }; then
13043 ac_cv_lib_crypto_DES_cbc_encrypt
=yes
13045 echo "$as_me: failed program was:" >&5
13046 sed 's/^/| /' conftest.
$ac_ext >&5
13048 ac_cv_lib_crypto_DES_cbc_encrypt
=no
13050 rm -f conftest.err conftest.
$ac_objext \
13051 conftest
$ac_exeext conftest.
$ac_ext
13052 LIBS
=$ac_check_lib_save_LIBS
13054 echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_DES_cbc_encrypt" >&5
13055 echo "${ECHO_T}$ac_cv_lib_crypto_DES_cbc_encrypt" >&6
13056 if test $ac_cv_lib_crypto_DES_cbc_encrypt = yes; then
13057 cat >>confdefs.h
<<_ACEOF
13058 #define HAVE_LIBCRYPTO 1
13061 LIBS
="-lcrypto $LIBS"
13066 CPPFLAGS
="$CPPFLAGS $V_INCLS"
13068 for ac_header
in openssl
/evp.h
13070 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13072 echo "$as_me:$LINENO: checking for $ac_header" >&5
13073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13075 echo $ECHO_N "(cached) $ECHO_C" >&6
13077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13078 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13080 # Is the header compilable?
13081 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13082 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13083 cat >conftest.
$ac_ext <<_ACEOF
13086 cat confdefs.h
>>conftest.
$ac_ext
13087 cat >>conftest.
$ac_ext <<_ACEOF
13088 /* end confdefs.h. */
13089 $ac_includes_default
13090 #include <$ac_header>
13092 rm -f conftest.
$ac_objext
13093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13094 (eval $ac_compile) 2>conftest.er1
13096 grep -v '^ *+' conftest.er1
>conftest.err
13098 cat conftest.err
>&5
13099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13100 (exit $ac_status); } &&
13101 { ac_try
='test -z "$ac_c_werror_flag"
13102 || test ! -s conftest.err'
13103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13104 (eval $ac_try) 2>&5
13106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13107 (exit $ac_status); }; } &&
13108 { ac_try
='test -s conftest.$ac_objext'
13109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13110 (eval $ac_try) 2>&5
13112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13113 (exit $ac_status); }; }; then
13114 ac_header_compiler
=yes
13116 echo "$as_me: failed program was:" >&5
13117 sed 's/^/| /' conftest.
$ac_ext >&5
13119 ac_header_compiler
=no
13121 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13122 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13123 echo "${ECHO_T}$ac_header_compiler" >&6
13125 # Is the header present?
13126 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13127 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13128 cat >conftest.
$ac_ext <<_ACEOF
13131 cat confdefs.h
>>conftest.
$ac_ext
13132 cat >>conftest.
$ac_ext <<_ACEOF
13133 /* end confdefs.h. */
13134 #include <$ac_header>
13136 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13137 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13139 grep -v '^ *+' conftest.er1
>conftest.err
13141 cat conftest.err
>&5
13142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143 (exit $ac_status); } >/dev
/null
; then
13144 if test -s conftest.err
; then
13145 ac_cpp_err
=$ac_c_preproc_warn_flag
13146 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13153 if test -z "$ac_cpp_err"; then
13154 ac_header_preproc
=yes
13156 echo "$as_me: failed program was:" >&5
13157 sed 's/^/| /' conftest.
$ac_ext >&5
13159 ac_header_preproc
=no
13161 rm -f conftest.err conftest.
$ac_ext
13162 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13163 echo "${ECHO_T}$ac_header_preproc" >&6
13165 # So? What about this header?
13166 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13168 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13169 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13170 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13171 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13172 ac_header_preproc
=yes
13175 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13176 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13177 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13178 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13179 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13180 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13181 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13182 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13183 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13184 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13185 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13186 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13189 ## ------------------------------------------ ##
13190 ## Report this to the AC_PACKAGE_NAME lists. ##
13191 ## ------------------------------------------ ##
13194 sed "s/^/$as_me: WARNING: /" >&2
13197 echo "$as_me:$LINENO: checking for $ac_header" >&5
13198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13199 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13200 echo $ECHO_N "(cached) $ECHO_C" >&6
13202 eval "$as_ac_Header=\$ac_header_preproc"
13204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13205 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13208 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13209 cat >>confdefs.h
<<_ACEOF
13210 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13221 if test "$missing_includes" = "yes"; then
13222 CPPFLAGS
="$CPPFLAGS -I\$(srcdir)/missing"
13223 V_INCLS
="$V_INCLS -I\$(srcdir)/missing"
13233 # Find a good install program. We prefer a C program (faster),
13234 # so one script is as good as another. But avoid the broken or
13235 # incompatible versions:
13236 # SysV /etc/install, /usr/sbin/install
13237 # SunOS /usr/etc/install
13238 # IRIX /sbin/install
13240 # AmigaOS /C/install, which installs bootblocks on floppy discs
13241 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
13242 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
13243 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
13244 # OS/2's system install, which has a completely different semantic
13245 # ./install, which can be erroneously created by make from ./install.sh.
13246 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
13247 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
13248 if test -z "$INSTALL"; then
13249 if test "${ac_cv_path_install+set}" = set; then
13250 echo $ECHO_N "(cached) $ECHO_C" >&6
13252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13253 for as_dir
in $PATH
13256 test -z "$as_dir" && as_dir
=.
13257 # Account for people who put trailing slashes in PATH elements.
13259 .
/ | .
// |
/cC
/* | \
13260 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
13261 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
13264 # OSF1 and SCO ODT 3.0 have their own names for install.
13265 # Don't use installbsd from OSF since it installs stuff as root
13267 for ac_prog
in ginstall scoinst
install; do
13268 for ac_exec_ext
in '' $ac_executable_extensions; do
13269 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
13270 if test $ac_prog = install &&
13271 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13272 # AIX install. It has an incompatible calling convention.
13274 elif test $ac_prog = install &&
13275 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13276 # program-specific install script used by HP pwplus--don't use.
13279 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
13291 if test "${ac_cv_path_install+set}" = set; then
13292 INSTALL
=$ac_cv_path_install
13294 # As a last resort, use the slow shell script. We don't cache a
13295 # path for INSTALL within a source directory, because that will
13296 # break other packages using the cache if that directory is
13297 # removed, or if the path is relative.
13298 INSTALL
=$ac_install_sh
13301 echo "$as_me:$LINENO: result: $INSTALL" >&5
13302 echo "${ECHO_T}$INSTALL" >&6
13304 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
13305 # It thinks the first close brace ends the variable substitution.
13306 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
13308 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
13310 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
13313 ac_config_headers
="$ac_config_headers config.h"
13316 ac_config_commands
="$ac_config_commands default-1"
13318 ac_config_files
="$ac_config_files Makefile"
13319 cat >confcache
<<\_ACEOF
13320 # This file is a shell script that caches the results of configure
13321 # tests run on this system so they can be shared between configure
13322 # scripts and configure runs, see configure's option --config-cache.
13323 # It is not useful on other systems. If it contains results you don't
13324 # want to keep, you may remove or edit it.
13326 # config.status only pays attention to the cache file if you give it
13327 # the --recheck option to rerun configure.
13329 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13330 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13331 # following values.
13335 # The following way of writing the cache mishandles newlines in values,
13336 # but we know of no workaround that is simple, portable, and efficient.
13337 # So, don't put newlines in cache variables' values.
13338 # Ultrix sh set writes to stderr and can't be redirected directly,
13339 # and sets the high bit in the cache file unless we assign to the vars.
13342 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13344 # `set' does not quote correctly, so add quotes (double-quote
13345 # substitution turns \\\\ into \\, and sed turns \\ into \).
13348 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13351 # `set' quotes correctly as required by POSIX, so do not add quotes.
13353 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
13360 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13362 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13364 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
13365 if test -w $cache_file; then
13366 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
13367 cat confcache
>$cache_file
13369 echo "not updating unwritable cache $cache_file"
13374 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13375 # Let make expand exec_prefix.
13376 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13378 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13379 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13380 # trailing colons and then remove the whole line if VPATH becomes empty
13381 # (actually we leave an empty line to preserve line numbers).
13382 if test "x$srcdir" = x.
; then
13383 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
13384 s/:*\$(srcdir):*/:/;
13385 s/:*\${srcdir}:*/:/;
13387 s/^\([^=]*=[ ]*\):*/\1/;
13393 DEFS
=-DHAVE_CONFIG_H
13397 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13398 # 1. Remove the extension, and $U if already installed.
13399 ac_i
=`echo "$ac_i" |
13400 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
13402 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
13403 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
13405 LIBOBJS
=$ac_libobjs
13407 LTLIBOBJS
=$ac_ltlibobjs
13411 : ${CONFIG_STATUS=./config.status}
13412 ac_clean_files_save
=$ac_clean_files
13413 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13414 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13415 echo "$as_me: creating $CONFIG_STATUS" >&6;}
13416 cat >$CONFIG_STATUS <<_ACEOF
13418 # Generated by $as_me.
13419 # Run this file to recreate the current configuration.
13420 # Compiler output produced by configure, useful for debugging
13421 # configure, is in config.log if it exists.
13424 ac_cs_recheck=false
13426 SHELL=\${CONFIG_SHELL-$SHELL}
13429 cat >>$CONFIG_STATUS <<\_ACEOF
13430 ## --------------------- ##
13431 ## M4sh Initialization. ##
13432 ## --------------------- ##
13434 # Be Bourne compatible
13435 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
13438 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13439 # is contrary to our usage. Disable this feature.
13440 alias -g '${1+"$@"}'='"$@"'
13441 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
13444 DUALCASE
=1; export DUALCASE
# for MKS sh
13446 # Support unset when possible.
13447 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
13454 # Work around bugs in pre-3.0 UWIN ksh.
13455 $as_unset ENV MAIL MAILPATH
13462 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13463 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13464 LC_TELEPHONE LC_TIME
13466 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13467 eval $as_var=C
; export $as_var
13473 # Required to use basename.
13474 if expr a
: '\(a\)' >/dev
/null
2>&1; then
13480 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
13481 as_basename
=basename
13487 # Name of the executable.
13488 as_me
=`$as_basename "$0" ||
13489 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13490 X"$0" : 'X\(//\)$' \| \
13491 X"$0" : 'X\(/\)$' \| \
13492 . : '\(.\)' 2>/dev/null ||
13494 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
13495 /^X\/\(\/\/\)$/{ s//\1/; q; }
13496 /^X\/\(\/\).*/{ s//\1/; q; }
13500 # PATH needs CR, and LINENO needs CR and PATH.
13501 # Avoid depending upon Character Ranges.
13502 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13503 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13504 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13505 as_cr_digits
='0123456789'
13506 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13508 # The user is always right.
13509 if test "${PATH_SEPARATOR+set}" != set; then
13510 echo "#! /bin/sh" >conf$$.sh
13511 echo "exit 0" >>conf$$.sh
13513 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13522 as_lineno_1
=$LINENO
13523 as_lineno_2
=$LINENO
13524 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
13525 test "x$as_lineno_1" != "x$as_lineno_2" &&
13526 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
13527 # Find who we are. Look in the path if we contain no path at all
13530 *[\\/]* ) as_myself
=$0 ;;
13531 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13532 for as_dir
in $PATH
13535 test -z "$as_dir" && as_dir
=.
13536 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
13541 # We did not find ourselves, most probably we were run as `sh COMMAND'
13542 # in which case we are not to be found in the path.
13543 if test "x$as_myself" = x
; then
13546 if test ! -f "$as_myself"; then
13547 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
13548 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
13549 { (exit 1); exit 1; }; }
13551 case $CONFIG_SHELL in
13553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13554 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
13557 test -z "$as_dir" && as_dir
=.
13558 for as_base
in sh bash ksh sh5
; do
13561 if ("$as_dir/$as_base" -c '
13562 as_lineno_1=$LINENO
13563 as_lineno_2=$LINENO
13564 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
13565 test "x$as_lineno_1" != "x$as_lineno_2" &&
13566 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
13567 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
13568 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
13569 CONFIG_SHELL
=$as_dir/$as_base
13570 export CONFIG_SHELL
13571 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
13579 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13580 # uniformly replaced by the line number. The first 'sed' inserts a
13581 # line-number line before each line; the second 'sed' does the real
13582 # work. The second script uses 'N' to pair each line-number line
13583 # with the numbered line, and appends trailing '-' during
13584 # substitution so that $LINENO is not a special case at line end.
13585 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13586 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
13587 sed '=' <$as_myself |
13592 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
13595 s,^['$as_cr_digits']*\n,,
13596 ' >$as_me.lineno
&&
13597 chmod +x
$as_me.lineno ||
13598 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
13599 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
13600 { (exit 1); exit 1; }; }
13602 # Don't try to exec as it changes $[0], causing all sort of problems
13603 # (the dirname of $[0] is not the place where we might find the
13604 # original and so on. Autoconf is especially sensible to this).
13606 # Exit status is that of the last command.
13611 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
13612 *c
*,-n*) ECHO_N
= ECHO_C
='
13614 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
13615 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
13618 if expr a
: '\(a\)' >/dev
/null
2>&1; then
13624 rm -f conf$$ conf$$.exe conf$$.
file
13626 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13627 # We could just check for DJGPP; but this test a) works b) is more generic
13628 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
13629 if test -f conf$$.exe
; then
13630 # Don't use ln at all; we don't have any links
13635 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13640 rm -f conf$$ conf$$.exe conf$$.
file
13642 if mkdir
-p .
2>/dev
/null
; then
13645 test -d .
/-p && rmdir .
/-p
13649 as_executable_p
="test -f"
13651 # Sed expression to map a string onto a valid CPP name.
13652 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13654 # Sed expression to map a string onto a valid variable name.
13655 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13659 # We need space, tab and new line, in precisely that order.
13669 # Open the log real soon, to keep \$[0] and so on meaningful, and to
13670 # report actual input values of CONFIG_FILES etc. instead of their
13671 # values after options handling. Logging --version etc. is OK.
13675 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13676 ## Running $as_me. ##
13681 This file was extended by $as_me, which was
13682 generated by GNU Autoconf 2.59. Invocation command line was
13684 CONFIG_FILES = $CONFIG_FILES
13685 CONFIG_HEADERS = $CONFIG_HEADERS
13686 CONFIG_LINKS = $CONFIG_LINKS
13687 CONFIG_COMMANDS = $CONFIG_COMMANDS
13691 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
13695 # Files that config.status was made for.
13696 if test -n "$ac_config_files"; then
13697 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
13700 if test -n "$ac_config_headers"; then
13701 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
13704 if test -n "$ac_config_links"; then
13705 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
13708 if test -n "$ac_config_commands"; then
13709 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
13712 cat >>$CONFIG_STATUS <<\_ACEOF
13715 \`$as_me' instantiates files from templates according to the
13716 current configuration.
13718 Usage: $0 [OPTIONS] [FILE]...
13720 -h, --help print this help, then exit
13721 -V, --version print version number, then exit
13722 -q, --quiet do not print progress messages
13723 -d, --debug don't remove temporary files
13724 --recheck update $as_me by reconfiguring in the same conditions
13725 --file=FILE[:TEMPLATE]
13726 instantiate the configuration file FILE
13727 --header=FILE[:TEMPLATE]
13728 instantiate the configuration header FILE
13730 Configuration files:
13733 Configuration headers:
13736 Configuration commands:
13739 Report bugs to <bug-autoconf@gnu.org>."
13742 cat >>$CONFIG_STATUS <<_ACEOF
13745 configured by $0, generated by GNU Autoconf 2.59,
13746 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
13748 Copyright (C) 2003 Free Software Foundation, Inc.
13749 This config.status script is free software; the Free Software Foundation
13750 gives unlimited permission to copy, distribute and modify it."
13755 cat >>$CONFIG_STATUS <<\_ACEOF
13756 # If no file are specified by the user, then we need to provide default
13757 # value. By we need to know if files were specified by the user.
13763 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
13764 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
13772 *) # This is not an option, so the user has probably given explicit
13775 ac_need_defaults
=false
;;
13779 # Handling of the options.
13781 cat >>$CONFIG_STATUS <<\_ACEOF
13782 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13784 --version |
--vers* |
-V )
13785 echo "$ac_cs_version"; exit 0 ;;
13787 # Conflict between --help and --header
13788 { { echo "$as_me:$LINENO: error: ambiguous option: $1
13789 Try \`$0 --help' for more information." >&5
13790 echo "$as_me: error: ambiguous option: $1
13791 Try \`$0 --help' for more information." >&2;}
13792 { (exit 1); exit 1; }; };;
13793 --help |
--hel |
-h )
13794 echo "$ac_cs_usage"; exit 0 ;;
13795 --debug |
--d* |
-d )
13797 --file |
--fil |
--fi |
--f )
13799 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13800 ac_need_defaults
=false
;;
13801 --header |
--heade |
--head |
--hea )
13803 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
13804 ac_need_defaults
=false
;;
13805 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13806 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13809 # This is an error.
13810 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
13811 Try \`$0 --help' for more information." >&5
13812 echo "$as_me: error: unrecognized option: $1
13813 Try \`$0 --help' for more information." >&2;}
13814 { (exit 1); exit 1; }; } ;;
13816 *) ac_config_targets
="$ac_config_targets $1" ;;
13822 ac_configure_extra_args
=
13824 if $ac_cs_silent; then
13826 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13830 cat >>$CONFIG_STATUS <<_ACEOF
13831 if \$ac_cs_recheck; then
13832 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13833 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13838 cat >>$CONFIG_STATUS <<_ACEOF
13840 # INIT-COMMANDS section.
13849 cat >>$CONFIG_STATUS <<\_ACEOF
13850 for ac_config_target
in $ac_config_targets
13852 case "$ac_config_target" in
13853 # Handling of arguments.
13854 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13855 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
13856 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
13857 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13858 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13859 { (exit 1); exit 1; }; };;
13863 # If the user did not use the arguments to specify the items to instantiate,
13864 # then the envvar interface is used. Set only those that are not.
13865 # We use the long form for the default assignment because of an extremely
13866 # bizarre bug on SunOS 4.1.3.
13867 if $ac_need_defaults; then
13868 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13869 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13870 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13873 # Have a temporary directory for convenience. Make it in the build tree
13874 # simply because there is no reason to put it here, and in addition,
13875 # creating and moving files from /tmp can sometimes cause problems.
13876 # Create a temporary directory, and hook for its removal unless debugging.
13879 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13880 trap '{ (exit 1); exit 1; }' 1 2 13 15
13883 # Create a (secure) tmp directory for tmp files.
13886 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
13887 test -n "$tmp" && test -d "$tmp"
13890 tmp
=.
/confstat$$
-$RANDOM
13891 (umask 077 && mkdir
$tmp)
13894 echo "$me: cannot create a temporary directory in ." >&2
13895 { (exit 1); exit 1; }
13900 cat >>$CONFIG_STATUS <<_ACEOF
13903 # CONFIG_FILES section.
13906 # No need to generate the scripts if there are no CONFIG_FILES.
13907 # This happens for instance when ./config.status config.h
13908 if test -n "\$CONFIG_FILES"; then
13909 # Protect against being on the right side of a sed subst in config.status.
13910 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13911 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13912 s,@SHELL@,$SHELL,;t t
13913 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13914 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13915 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13916 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13917 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13918 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13919 s,@exec_prefix@,$exec_prefix,;t t
13920 s,@prefix@,$prefix,;t t
13921 s,@program_transform_name@,$program_transform_name,;t t
13922 s,@bindir@,$bindir,;t t
13923 s,@sbindir@,$sbindir,;t t
13924 s,@libexecdir@,$libexecdir,;t t
13925 s,@datadir@,$datadir,;t t
13926 s,@sysconfdir@,$sysconfdir,;t t
13927 s,@sharedstatedir@,$sharedstatedir,;t t
13928 s,@localstatedir@,$localstatedir,;t t
13929 s,@libdir@,$libdir,;t t
13930 s,@includedir@,$includedir,;t t
13931 s,@oldincludedir@,$oldincludedir,;t t
13932 s,@infodir@,$infodir,;t t
13933 s,@mandir@,$mandir,;t t
13934 s,@build_alias@,$build_alias,;t t
13935 s,@host_alias@,$host_alias,;t t
13936 s,@target_alias@,$target_alias,;t t
13937 s,@DEFS@,$DEFS,;t t
13938 s,@ECHO_C@,$ECHO_C,;t t
13939 s,@ECHO_N@,$ECHO_N,;t t
13940 s,@ECHO_T@,$ECHO_T,;t t
13941 s,@LIBS@,$LIBS,;t t
13942 s,@build@,$build,;t t
13943 s,@build_cpu@,$build_cpu,;t t
13944 s,@build_vendor@,$build_vendor,;t t
13945 s,@build_os@,$build_os,;t t
13946 s,@host@,$host,;t t
13947 s,@host_cpu@,$host_cpu,;t t
13948 s,@host_vendor@,$host_vendor,;t t
13949 s,@host_os@,$host_os,;t t
13950 s,@SHLICC2@,$SHLICC2,;t t
13952 s,@CFLAGS@,$CFLAGS,;t t
13953 s,@LDFLAGS@,$LDFLAGS,;t t
13954 s,@CPPFLAGS@,$CPPFLAGS,;t t
13955 s,@ac_ct_CC@,$ac_ct_CC,;t t
13956 s,@EXEEXT@,$EXEEXT,;t t
13957 s,@OBJEXT@,$OBJEXT,;t t
13959 s,@EGREP@,$EGREP,;t t
13960 s,@LIBOBJS@,$LIBOBJS,;t t
13961 s,@RANLIB@,$RANLIB,;t t
13962 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
13963 s,@V_CCOPT@,$V_CCOPT,;t t
13964 s,@V_DEFS@,$V_DEFS,;t t
13965 s,@V_GROUP@,$V_GROUP,;t t
13966 s,@V_INCLS@,$V_INCLS,;t t
13967 s,@V_PCAPDEP@,$V_PCAPDEP,;t t
13968 s,@LOCALSRC@,$LOCALSRC,;t t
13969 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13970 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13971 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13972 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13977 cat >>$CONFIG_STATUS <<\_ACEOF
13978 # Split the substitutions into bite-sized pieces for seds with
13979 # small command number limits, like on Digital OSF/1 and HP-UX.
13980 ac_max_sed_lines
=48
13981 ac_sed_frag
=1 # Number of current file.
13982 ac_beg
=1 # First line for current file.
13983 ac_end
=$ac_max_sed_lines # Line after last line for current file.
13986 while $ac_more_lines; do
13987 if test $ac_beg -gt 1; then
13988 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13990 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13992 if test ! -s $tmp/subs.frag
; then
13993 ac_more_lines
=false
13995 # The purpose of the label and of the branching condition is to
13996 # speed up the sed processing (if there are no `@' at all, there
13997 # is no need to browse any of the substitutions).
13998 # These are the two extra sed commands mentioned above.
14000 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
14001 if test -z "$ac_sed_cmds"; then
14002 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
14004 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
14006 ac_sed_frag
=`expr $ac_sed_frag + 1`
14008 ac_end
=`expr $ac_end + $ac_max_sed_lines`
14011 if test -z "$ac_sed_cmds"; then
14014 fi # test -n "$CONFIG_FILES"
14017 cat >>$CONFIG_STATUS <<\_ACEOF
14018 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
14019 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14021 - |
*:- |
*:-:* ) # input from stdin
14023 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14024 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14025 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14026 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14027 * ) ac_file_in
=$ac_file.
in ;;
14030 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
14031 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
14032 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14033 X"$ac_file" : 'X\(//\)[^/]' \| \
14034 X"$ac_file" : 'X\(//\)$' \| \
14035 X"$ac_file" : 'X\(/\)' \| \
14036 . : '\(.\)' 2>/dev/null ||
14038 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14039 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14040 /^X\(\/\/\)$/{ s//\1/; q; }
14041 /^X\(\/\).*/{ s//\1/; q; }
14043 { if $as_mkdir_p; then
14048 while test ! -d "$as_dir"; do
14049 as_dirs
="$as_dir $as_dirs"
14050 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14051 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14052 X"$as_dir" : 'X\(//\)[^/]' \| \
14053 X"$as_dir" : 'X\(//\)$' \| \
14054 X"$as_dir" : 'X\(/\)' \| \
14055 . : '\(.\)' 2>/dev/null ||
14057 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14058 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14059 /^X\(\/\/\)$/{ s//\1/; q; }
14060 /^X\(\/\).*/{ s//\1/; q; }
14063 test ! -n "$as_dirs" || mkdir
$as_dirs
14064 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14065 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14066 { (exit 1); exit 1; }; }; }
14070 if test "$ac_dir" != .
; then
14071 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14072 # A "../" for each directory in $ac_dir_suffix.
14073 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14075 ac_dir_suffix
= ac_top_builddir
=
14079 .
) # No --srcdir option. We are building in place.
14081 if test -z "$ac_top_builddir"; then
14084 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
14086 [\\/]* | ?
:[\\/]* ) # Absolute path.
14087 ac_srcdir
=$srcdir$ac_dir_suffix;
14088 ac_top_srcdir
=$srcdir ;;
14089 *) # Relative path.
14090 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
14091 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
14094 # Do not use `cd foo && pwd` to compute absolute paths, because
14095 # the directories may not exist.
14097 .
) ac_abs_builddir
="$ac_dir";;
14100 .
) ac_abs_builddir
=`pwd`;;
14101 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
14102 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
14105 case $ac_abs_builddir in
14106 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14108 case ${ac_top_builddir}.
in
14109 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
14110 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14111 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
14114 case $ac_abs_builddir in
14115 .
) ac_abs_srcdir
=$ac_srcdir;;
14118 .
) ac_abs_srcdir
=$ac_abs_builddir;;
14119 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
14120 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
14123 case $ac_abs_builddir in
14124 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
14126 case $ac_top_srcdir in
14127 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
14128 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
14129 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
14135 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14136 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
14139 if test x
"$ac_file" != x-
; then
14140 { echo "$as_me:$LINENO: creating $ac_file" >&5
14141 echo "$as_me: creating $ac_file" >&6;}
14144 # Let's still pretend it is `configure' which instantiates (i.e., don't
14145 # use $as_me), people would be surprised to read:
14146 # /* config.h. Generated by config.status. */
14147 if test x
"$ac_file" = x-
; then
14150 configure_input
="$ac_file. "
14152 configure_input
=$configure_input"Generated from `echo $ac_file_in |
14153 sed 's,.*/,,'` by configure."
14155 # First look for the input files in the build tree, otherwise in the
14157 ac_file_inputs
=`IFS=:
14158 for f in $ac_file_in; do
14160 -) echo $tmp/stdin ;;
14162 # Absolute (can't be DOS-style, as IFS=:)
14163 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14164 echo "$as_me: error: cannot find input file: $f" >&2;}
14165 { (exit 1); exit 1; }; }
14168 if test -f "$f"; then
14171 elif test -f "$srcdir/$f"; then
14176 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14177 echo "$as_me: error: cannot find input file: $f" >&2;}
14178 { (exit 1); exit 1; }; }
14181 done` ||
{ (exit 1); exit 1; }
14183 cat >>$CONFIG_STATUS <<_ACEOF
14187 cat >>$CONFIG_STATUS <<\_ACEOF
14189 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14190 s
,@configure_input@
,$configure_input,;t t
14191 s
,@srcdir@
,$ac_srcdir,;t t
14192 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
14193 s
,@top_srcdir@
,$ac_top_srcdir,;t t
14194 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
14195 s
,@builddir@
,$ac_builddir,;t t
14196 s
,@abs_builddir@
,$ac_abs_builddir,;t t
14197 s
,@top_builddir@
,$ac_top_builddir,;t t
14198 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
14199 s
,@INSTALL@
,$ac_INSTALL,;t t
14200 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
14202 if test x"$ac_file" != x-; then
14203 mv $tmp/out $ac_file
14211 cat >>$CONFIG_STATUS <<\_ACEOF
14214 # CONFIG_HEADER section.
14217 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
14218 # NAME is the cpp macro being defined and VALUE is the value it is being given.
14220 # ac_d sets the value in "#define NAME VALUE" lines.
14221 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
14222 ac_dB
='[ ].*$,\1#\2'
14225 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
14226 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
14227 ac_uB
='$,\1#\2define\3'
14231 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
14232 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14234 - |
*:- |
*:-:* ) # input from stdin
14236 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14237 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14238 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14239 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14240 * ) ac_file_in
=$ac_file.
in ;;
14243 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
14244 echo "$as_me: creating $ac_file" >&6;}
14246 # First look for the input files in the build tree, otherwise in the
14248 ac_file_inputs
=`IFS=:
14249 for f in $ac_file_in; do
14251 -) echo $tmp/stdin ;;
14253 # Absolute (can't be DOS-style, as IFS=:)
14254 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14255 echo "$as_me: error: cannot find input file: $f" >&2;}
14256 { (exit 1); exit 1; }; }
14257 # Do quote $f, to prevent DOS paths from being IFS'd.
14260 if test -f "$f"; then
14263 elif test -f "$srcdir/$f"; then
14268 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14269 echo "$as_me: error: cannot find input file: $f" >&2;}
14270 { (exit 1); exit 1; }; }
14273 done` ||
{ (exit 1); exit 1; }
14274 # Remove the trailing spaces.
14275 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
14279 # Transform confdefs.h into two sed scripts, `conftest.defines' and
14280 # `conftest.undefs', that substitutes the proper values into
14281 # config.h.in to produce config.h. The first handles `#define'
14282 # templates, and the second `#undef' templates.
14283 # And first: Protect against being on the right side of a sed subst in
14284 # config.status. Protect against being in an unquoted here document
14285 # in config.status.
14286 rm -f conftest.defines conftest.undefs
14287 # Using a here document instead of a string reduces the quoting nightmare.
14288 # Putting comments in sed scripts is not portable.
14290 # `end' is used to avoid that the second main sed command (meant for
14291 # 0-ary CPP macros) applies to n-ary macro definitions.
14292 # See the Autoconf documentation for `clear'.
14293 cat >confdef2sed.
sed <<\_ACEOF
14298 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
14300 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
14303 # If some macros were called several times there might be several times
14304 # the same #defines, which is useless. Nevertheless, we may not want to
14305 # sort them, since we want the *last* AC-DEFINE to be honored.
14306 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
14307 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
14308 rm -f confdef2sed.sed
14310 # This sed command replaces #undef with comments. This is necessary, for
14311 # example, in the case of _POSIX_SOURCE, which is predefined and required
14312 # on some systems where configure will not decide to define it.
14313 cat >>conftest.undefs <<\_ACEOF
14314 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
14317 # Break up conftest.defines because some shells have a limit on the size
14318 # of here documents, and old seds have small limits too (100 cmds).
14319 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
14320 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
14321 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
14322 echo ' :' >>$CONFIG_STATUS
14323 rm -f conftest.tail
14324 while grep . conftest.defines >/dev/null
14326 # Write a limited-size here document to $tmp/defines.sed.
14327 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
14328 # Speed up: don't consider the non `#define' lines.
14329 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
14330 # Work around the forget-to-reset-the-flag bug.
14331 echo 't clr' >>$CONFIG_STATUS
14332 echo ': clr' >>$CONFIG_STATUS
14333 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
14335 sed -f $tmp/defines.sed $tmp/in >$tmp/out
14337 mv $tmp/out $tmp/in
14339 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
14340 rm -f conftest.defines
14341 mv conftest.
tail conftest.defines
14343 rm -f conftest.defines
14344 echo ' fi # grep' >>$CONFIG_STATUS
14345 echo >>$CONFIG_STATUS
14347 # Break up conftest.undefs because some shells have a limit on the size
14348 # of here documents, and old seds have small limits too (100 cmds).
14349 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
14350 rm -f conftest.
tail
14351 while grep . conftest.undefs
>/dev
/null
14353 # Write a limited-size here document to $tmp/undefs.sed.
14354 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
14355 # Speed up: don't consider the non
`#undef'
14356 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
14357 # Work around the forget-to-reset-the-flag bug.
14358 echo 't clr' >>$CONFIG_STATUS
14359 echo ': clr' >>$CONFIG_STATUS
14360 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
14362 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
14364 mv $tmp/out $tmp/in
14366 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
14367 rm -f conftest.undefs
14368 mv conftest.tail conftest.undefs
14370 rm -f conftest.undefs
14372 cat >>$CONFIG_STATUS <<\_ACEOF
14373 # Let's still pretend it is `configure
' which instantiates (i.e., don't
14374 # use $as_me), people would be surprised to read:
14375 # /* config.h. Generated by config.status. */
14376 if test x
"$ac_file" = x-
; then
14377 echo "/* Generated by configure. */" >$tmp/config.h
14379 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
14381 cat $tmp/in >>$tmp/config.h
14383 if test x
"$ac_file" != x-
; then
14384 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
14385 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14386 echo "$as_me: $ac_file is unchanged" >&6;}
14388 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
14389 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14390 X"$ac_file" : 'X\(//\)[^/]' \| \
14391 X"$ac_file" : 'X\(//\)$' \| \
14392 X"$ac_file" : 'X\(/\)' \| \
14393 . : '\(.\)' 2>/dev/null ||
14395 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14396 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14397 /^X\(\/\/\)$/{ s//\1/; q; }
14398 /^X\(\/\).*/{ s//\1/; q; }
14400 { if $as_mkdir_p; then
14405 while test ! -d "$as_dir"; do
14406 as_dirs
="$as_dir $as_dirs"
14407 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14408 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14409 X"$as_dir" : 'X\(//\)[^/]' \| \
14410 X"$as_dir" : 'X\(//\)$' \| \
14411 X"$as_dir" : 'X\(/\)' \| \
14412 . : '\(.\)' 2>/dev/null ||
14414 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14415 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14416 /^X\(\/\/\)$/{ s//\1/; q; }
14417 /^X\(\/\).*/{ s//\1/; q; }
14420 test ! -n "$as_dirs" || mkdir
$as_dirs
14421 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14422 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14423 { (exit 1); exit 1; }; }; }
14426 mv $tmp/config.h
$ac_file
14430 rm -f $tmp/config.h
14434 cat >>$CONFIG_STATUS <<\_ACEOF
14437 # CONFIG_COMMANDS section.
14439 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
14440 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
14441 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14442 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
14443 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14444 X"$ac_dest" : 'X\(//\)[^/]' \| \
14445 X"$ac_dest" : 'X\(//\)$' \| \
14446 X"$ac_dest" : 'X\(/\)' \| \
14447 . : '\(.\)' 2>/dev/null ||
14449 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14450 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14451 /^X\(\/\/\)$/{ s//\1/; q; }
14452 /^X\(\/\).*/{ s//\1/; q; }
14454 { if $as_mkdir_p; then
14459 while test ! -d "$as_dir"; do
14460 as_dirs
="$as_dir $as_dirs"
14461 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14462 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14463 X"$as_dir" : 'X\(//\)[^/]' \| \
14464 X"$as_dir" : 'X\(//\)$' \| \
14465 X"$as_dir" : 'X\(/\)' \| \
14466 . : '\(.\)' 2>/dev/null ||
14468 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14469 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14470 /^X\(\/\/\)$/{ s//\1/; q; }
14471 /^X\(\/\).*/{ s//\1/; q; }
14474 test ! -n "$as_dirs" || mkdir
$as_dirs
14475 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14476 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14477 { (exit 1); exit 1; }; }; }
14481 if test "$ac_dir" != .
; then
14482 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14483 # A "../" for each directory in $ac_dir_suffix.
14484 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14486 ac_dir_suffix
= ac_top_builddir
=
14490 .
) # No --srcdir option. We are building in place.
14492 if test -z "$ac_top_builddir"; then
14495 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
14497 [\\/]* | ?
:[\\/]* ) # Absolute path.
14498 ac_srcdir
=$srcdir$ac_dir_suffix;
14499 ac_top_srcdir
=$srcdir ;;
14500 *) # Relative path.
14501 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
14502 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
14505 # Do not use `cd foo && pwd` to compute absolute paths, because
14506 # the directories may not exist.
14508 .
) ac_abs_builddir
="$ac_dir";;
14511 .
) ac_abs_builddir
=`pwd`;;
14512 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
14513 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
14516 case $ac_abs_builddir in
14517 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14519 case ${ac_top_builddir}.
in
14520 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
14521 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14522 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
14525 case $ac_abs_builddir in
14526 .
) ac_abs_srcdir
=$ac_srcdir;;
14529 .
) ac_abs_srcdir
=$ac_abs_builddir;;
14530 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
14531 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
14534 case $ac_abs_builddir in
14535 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
14537 case $ac_top_srcdir in
14538 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
14539 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
14540 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
14545 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
14546 echo "$as_me: executing $ac_dest commands" >&6;}
14548 default-1
) if test -f .devel
; then
14549 echo timestamp
> stamp-h
14550 cat Makefile-devel-adds
>> Makefile
14557 cat >>$CONFIG_STATUS <<\_ACEOF
14559 { (exit 0); exit 0; }
14561 chmod +x
$CONFIG_STATUS
14562 ac_clean_files
=$ac_clean_files_save
14565 # configure is writing to config.log, and then calls config.status.
14566 # config.status does its own redirection, appending to config.log.
14567 # Unfortunately, on DOS this fails, as config.log is still kept open
14568 # by configure, so config.status won't be able to write to it; its
14569 # output is simply discarded. So we exec the FD to /dev/null,
14570 # effectively closing config.log, so it can be properly (re)opened and
14571 # appended to by config.status. When coming back to configure, we
14572 # need to make the FD available again.
14573 if test "$no_create" != yes; then
14575 ac_config_status_args
=
14576 test "$silent" = yes &&
14577 ac_config_status_args
="$ac_config_status_args --quiet"
14579 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14581 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14582 # would make configure fail if this is the last instruction.
14583 $ac_cs_success ||
{ (exit 1); exit 1; }