2 # From configure.in Revision: 1.178 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.57.
6 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
7 # Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 # Support unset when possible.
26 if (FOO
=FOO
; unset FOO
) >/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 -n "`(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
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="tcpdump.c"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 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 V_CCOPT V_DEFS V_GROUP V_INCLS V_PCAPDEP LOCALSRC INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --build=BUILD configure
for building on BUILD
[guessed
]
836 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
840 if test -n "$ac_init_help"; then
845 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
846 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
847 --enable-smb enable possibly-buggy SMB printer default
=yes
848 --disable-smb disable possibly-buggy SMB printer
849 --enable-ipv6 enable ipv6
(with ipv4
) support
850 --disable-ipv6 disable ipv6 support
853 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
854 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
855 --without-gcc don
't use gcc
856 --with-user=USERNAME drop privileges by default to USERNAME
857 --with-chroot=DIRECTORY when dropping privileges, chroot to DIRECTORY
858 --without-crypto disable crypto support
860 Some influential environment variables:
861 CC C compiler command
862 CFLAGS C compiler flags
863 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
864 nonstandard directory <lib dir>
865 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
866 headers in a nonstandard directory <include dir>
869 Use these variables to override the choices made by `configure' or to
help
870 it to
find libraries and programs with nonstandard names
/locations.
875 if test "$ac_init_help" = "recursive"; then
876 # If there are subdirs, report their specific --help.
878 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
879 test -d $ac_dir ||
continue
882 if test "$ac_dir" != .
; then
883 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
884 # A "../" for each directory in $ac_dir_suffix.
885 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
887 ac_dir_suffix
= ac_top_builddir
=
891 .
) # No --srcdir option. We are building in place.
893 if test -z "$ac_top_builddir"; then
896 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
898 [\\/]* | ?
:[\\/]* ) # Absolute path.
899 ac_srcdir
=$srcdir$ac_dir_suffix;
900 ac_top_srcdir
=$srcdir ;;
902 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
903 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
905 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
907 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
908 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
909 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
910 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
913 # Check for guested configure; otherwise get Cygnus style configure.
914 if test -f $ac_srcdir/configure.gnu
; then
916 $SHELL $ac_srcdir/configure.gnu
--help=recursive
917 elif test -f $ac_srcdir/configure
; then
919 $SHELL $ac_srcdir/configure
--help=recursive
920 elif test -f $ac_srcdir/configure.ac ||
921 test -f $ac_srcdir/configure.
in; then
925 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
931 test -n "$ac_init_help" && exit 0
932 if $ac_init_version; then
935 Copyright
1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
936 Free Software Foundation
, Inc.
937 This configure
script is free software
; the Free Software Foundation
938 gives unlimited permission to copy
, distribute and modify it.
944 This file contains any messages produced by compilers while
945 running configure, to aid debugging if configure makes a mistake.
947 It was created by $as_me, which was
948 generated by GNU Autoconf 2.57. Invocation command line was
959 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
960 uname -m = `(uname -m) 2>/dev/null || echo unknown`
961 uname -r = `(uname -r) 2>/dev/null || echo unknown`
962 uname -s = `(uname -s) 2>/dev/null || echo unknown`
963 uname -v = `(uname -v) 2>/dev/null || echo unknown`
965 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
966 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
968 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
969 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
970 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
971 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
972 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
973 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
974 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
982 test -z "$as_dir" && as_dir
=.
998 # Keep a trace of the command line.
999 # Strip out --no-create and --no-recursion so they do not pile up.
1000 # Strip out --silent because we don't want to record it for future runs.
1001 # Also quote any args containing shell meta-characters.
1002 # Make two passes to allow for proper duplicate-argument suppression.
1007 ac_must_keep_next
=false
1013 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1014 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1015 |
-silent |
--silent |
--silen |
--sile |
--sil)
1017 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1018 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1021 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1023 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1024 if test $ac_must_keep_next = true
; then
1025 ac_must_keep_next
=false
# Got value, back to normal.
1028 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1029 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1030 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1031 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1032 case "$ac_configure_args0 " in
1033 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1036 -* ) ac_must_keep_next
=true
;;
1039 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1040 # Get rid of the leading space.
1046 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1047 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1049 # When interrupted or exit'd, cleanup temporary files, and complete
1050 # config.log. We remove comments because anyway the quotes in there
1051 # would cause problems or look ugly.
1052 # WARNING: Be sure not to use single quotes in there, as some shells,
1053 # such as our DU 5.0 friend, will then `close' the trap.
1054 trap 'exit_status=$?
1055 # Save into config.log some information that might help in debugging.
1060 ## ---------------- ##
1061 ## Cache variables. ##
1062 ## ---------------- ##
1065 # The following way of writing the cache mishandles newlines in values,
1068 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1071 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1072 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1076 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1083 ## ----------------- ##
1084 ## Output variables. ##
1085 ## ----------------- ##
1088 for ac_var in $ac_subst_vars
1090 eval ac_val=$`echo $ac_var`
1091 echo "$ac_var='"'"'$ac_val'"'"'"
1095 if test -n "$ac_subst_files"; then
1102 for ac_var in $ac_subst_files
1104 eval ac_val=$`echo $ac_var`
1105 echo "$ac_var='"'"'$ac_val'"'"'"
1110 if test -s confdefs.h; then
1117 sed "/^$/d" confdefs.h | sort
1120 test "$ac_signal" != 0 &&
1121 echo "$as_me: caught signal $ac_signal"
1122 echo "$as_me: exit $exit_status"
1124 rm -f core core.* *.core &&
1125 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1128 for ac_signal
in 1 2 13 15; do
1129 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1133 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1134 rm -rf conftest
* confdefs.h
1135 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1138 # Predefined preprocessor variables.
1140 cat >>confdefs.h
<<_ACEOF
1141 #define PACKAGE_NAME "$PACKAGE_NAME"
1145 cat >>confdefs.h
<<_ACEOF
1146 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1150 cat >>confdefs.h
<<_ACEOF
1151 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1155 cat >>confdefs.h
<<_ACEOF
1156 #define PACKAGE_STRING "$PACKAGE_STRING"
1160 cat >>confdefs.h
<<_ACEOF
1161 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1165 # Let the site file select an alternate cache file if it wants to.
1166 # Prefer explicitly selected file to automatically selected ones.
1167 if test -z "$CONFIG_SITE"; then
1168 if test "x$prefix" != xNONE
; then
1169 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1171 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1174 for ac_site_file
in $CONFIG_SITE; do
1175 if test -r "$ac_site_file"; then
1176 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1177 echo "$as_me: loading site script $ac_site_file" >&6;}
1178 sed 's/^/| /' "$ac_site_file" >&5
1183 if test -r "$cache_file"; then
1184 # Some versions of bash will fail to source /dev/null (special
1185 # files actually), so we avoid doing that.
1186 if test -f "$cache_file"; then
1187 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1188 echo "$as_me: loading cache $cache_file" >&6;}
1190 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1191 *) . .
/$cache_file;;
1195 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1196 echo "$as_me: creating cache $cache_file" >&6;}
1200 # Check that the precious variables saved in the cache have kept the same
1202 ac_cache_corrupted
=false
1203 for ac_var
in `(set) 2>&1 |
1204 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1205 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1206 eval ac_new_set
=\
$ac_env_${ac_var}_set
1207 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1208 eval ac_new_val
="\$ac_env_${ac_var}_value"
1209 case $ac_old_set,$ac_new_set in
1211 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1212 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1213 ac_cache_corrupted
=: ;;
1215 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1216 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1217 ac_cache_corrupted
=: ;;
1220 if test "x$ac_old_val" != "x$ac_new_val"; then
1221 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1222 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1223 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1224 echo "$as_me: former value: $ac_old_val" >&2;}
1225 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1226 echo "$as_me: current value: $ac_new_val" >&2;}
1227 ac_cache_corrupted
=:
1230 # Pass precious variables to config.status.
1231 if test "$ac_new_set" = set; then
1233 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1234 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1235 *) ac_arg
=$ac_var=$ac_new_val ;;
1237 case " $ac_configure_args " in
1238 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1239 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1243 if $ac_cache_corrupted; then
1244 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1245 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1246 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1247 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1248 { (exit 1); exit 1; }; }
1252 ac_cpp
='$CPP $CPPFLAGS'
1253 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1254 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1255 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1277 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1278 if test -f $ac_dir/install-sh
; then
1280 ac_install_sh
="$ac_aux_dir/install-sh -c"
1282 elif test -f $ac_dir/install.sh
; then
1284 ac_install_sh
="$ac_aux_dir/install.sh -c"
1286 elif test -f $ac_dir/shtool
; then
1288 ac_install_sh
="$ac_aux_dir/shtool install -c"
1292 if test -z "$ac_aux_dir"; then
1293 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1294 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1295 { (exit 1); exit 1; }; }
1297 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1298 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1299 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1301 # Make sure we can run config.sub.
1302 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1303 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1304 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1305 { (exit 1); exit 1; }; }
1307 echo "$as_me:$LINENO: checking build system type" >&5
1308 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1309 if test "${ac_cv_build+set}" = set; then
1310 echo $ECHO_N "(cached) $ECHO_C" >&6
1312 ac_cv_build_alias
=$build_alias
1313 test -z "$ac_cv_build_alias" &&
1314 ac_cv_build_alias
=`$ac_config_guess`
1315 test -z "$ac_cv_build_alias" &&
1316 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1317 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1318 { (exit 1); exit 1; }; }
1319 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1320 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1321 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1322 { (exit 1); exit 1; }; }
1325 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1326 echo "${ECHO_T}$ac_cv_build" >&6
1328 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1329 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1330 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1333 echo "$as_me:$LINENO: checking host system type" >&5
1334 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1335 if test "${ac_cv_host+set}" = set; then
1336 echo $ECHO_N "(cached) $ECHO_C" >&6
1338 ac_cv_host_alias
=$host_alias
1339 test -z "$ac_cv_host_alias" &&
1340 ac_cv_host_alias
=$ac_cv_build_alias
1341 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1342 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1343 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1344 { (exit 1); exit 1; }; }
1347 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1348 echo "${ECHO_T}$ac_cv_host" >&6
1350 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1351 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1352 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1361 # Check whether --with-gcc or --without-gcc was given.
1362 if test "${with_gcc+set}" = set; then
1368 if test "${srcdir}" != "." ; then
1369 V_INCLS
="-I\$(srcdir)"
1371 if test "${CFLAGS+set}" = set; then
1372 LBL_CFLAGS
="$CFLAGS"
1374 if test -z "$CC" ; then
1378 # Extract the first word of "shlicc2", so it can be a program name with args.
1379 set dummy shlicc2
; ac_word
=$2
1380 echo "$as_me:$LINENO: checking for $ac_word" >&5
1381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1382 if test "${ac_cv_prog_SHLICC2+set}" = set; then
1383 echo $ECHO_N "(cached) $ECHO_C" >&6
1385 if test -n "$SHLICC2"; then
1386 ac_cv_prog_SHLICC2
="$SHLICC2" # Let the user override the test.
1388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1392 test -z "$as_dir" && as_dir
=.
1393 for ac_exec_ext
in '' $ac_executable_extensions; do
1394 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1395 ac_cv_prog_SHLICC2
="yes"
1396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1402 test -z "$ac_cv_prog_SHLICC2" && ac_cv_prog_SHLICC2
="no"
1405 SHLICC2
=$ac_cv_prog_SHLICC2
1406 if test -n "$SHLICC2"; then
1407 echo "$as_me:$LINENO: result: $SHLICC2" >&5
1408 echo "${ECHO_T}$SHLICC2" >&6
1410 echo "$as_me:$LINENO: result: no" >&5
1411 echo "${ECHO_T}no" >&6
1414 if test $SHLICC2 = yes ; then
1421 if test -z "$CC" -a "$with_gcc" = no
; then
1426 ac_cpp
='$CPP $CPPFLAGS'
1427 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1428 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1429 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1430 if test -n "$ac_tool_prefix"; then
1431 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1432 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1433 echo "$as_me:$LINENO: checking for $ac_word" >&5
1434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1435 if test "${ac_cv_prog_CC+set}" = set; then
1436 echo $ECHO_N "(cached) $ECHO_C" >&6
1438 if test -n "$CC"; then
1439 ac_cv_prog_CC
="$CC" # Let the user override the test.
1441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1445 test -z "$as_dir" && as_dir
=.
1446 for ac_exec_ext
in '' $ac_executable_extensions; do
1447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1448 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1458 if test -n "$CC"; then
1459 echo "$as_me:$LINENO: result: $CC" >&5
1460 echo "${ECHO_T}$CC" >&6
1462 echo "$as_me:$LINENO: result: no" >&5
1463 echo "${ECHO_T}no" >&6
1467 if test -z "$ac_cv_prog_CC"; then
1469 # Extract the first word of "gcc", so it can be a program name with args.
1470 set dummy gcc
; ac_word
=$2
1471 echo "$as_me:$LINENO: checking for $ac_word" >&5
1472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1473 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1474 echo $ECHO_N "(cached) $ECHO_C" >&6
1476 if test -n "$ac_ct_CC"; then
1477 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1483 test -z "$as_dir" && as_dir
=.
1484 for ac_exec_ext
in '' $ac_executable_extensions; do
1485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1486 ac_cv_prog_ac_ct_CC
="gcc"
1487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1495 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1496 if test -n "$ac_ct_CC"; then
1497 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1498 echo "${ECHO_T}$ac_ct_CC" >&6
1500 echo "$as_me:$LINENO: result: no" >&5
1501 echo "${ECHO_T}no" >&6
1509 if test -z "$CC"; then
1510 if test -n "$ac_tool_prefix"; then
1511 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1512 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1513 echo "$as_me:$LINENO: checking for $ac_word" >&5
1514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1515 if test "${ac_cv_prog_CC+set}" = set; then
1516 echo $ECHO_N "(cached) $ECHO_C" >&6
1518 if test -n "$CC"; then
1519 ac_cv_prog_CC
="$CC" # Let the user override the test.
1521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1525 test -z "$as_dir" && as_dir
=.
1526 for ac_exec_ext
in '' $ac_executable_extensions; do
1527 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1528 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1538 if test -n "$CC"; then
1539 echo "$as_me:$LINENO: result: $CC" >&5
1540 echo "${ECHO_T}$CC" >&6
1542 echo "$as_me:$LINENO: result: no" >&5
1543 echo "${ECHO_T}no" >&6
1547 if test -z "$ac_cv_prog_CC"; then
1549 # Extract the first word of "cc", so it can be a program name with args.
1550 set dummy cc
; ac_word
=$2
1551 echo "$as_me:$LINENO: checking for $ac_word" >&5
1552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1553 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1554 echo $ECHO_N "(cached) $ECHO_C" >&6
1556 if test -n "$ac_ct_CC"; then
1557 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1563 test -z "$as_dir" && as_dir
=.
1564 for ac_exec_ext
in '' $ac_executable_extensions; do
1565 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1566 ac_cv_prog_ac_ct_CC
="cc"
1567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1575 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1576 if test -n "$ac_ct_CC"; then
1577 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1578 echo "${ECHO_T}$ac_ct_CC" >&6
1580 echo "$as_me:$LINENO: result: no" >&5
1581 echo "${ECHO_T}no" >&6
1590 if test -z "$CC"; then
1591 # Extract the first word of "cc", so it can be a program name with args.
1592 set dummy cc
; ac_word
=$2
1593 echo "$as_me:$LINENO: checking for $ac_word" >&5
1594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1595 if test "${ac_cv_prog_CC+set}" = set; then
1596 echo $ECHO_N "(cached) $ECHO_C" >&6
1598 if test -n "$CC"; then
1599 ac_cv_prog_CC
="$CC" # Let the user override the test.
1602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1606 test -z "$as_dir" && as_dir
=.
1607 for ac_exec_ext
in '' $ac_executable_extensions; do
1608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1609 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1610 ac_prog_rejected
=yes
1614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1620 if test $ac_prog_rejected = yes; then
1621 # We found a bogon in the path, so make sure we never use it.
1622 set dummy
$ac_cv_prog_CC
1624 if test $# != 0; then
1625 # We chose a different compiler from the bogus one.
1626 # However, it has the same basename, so the bogon will be chosen
1627 # first if we set CC to just the basename; use the full file name.
1629 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1635 if test -n "$CC"; then
1636 echo "$as_me:$LINENO: result: $CC" >&5
1637 echo "${ECHO_T}$CC" >&6
1639 echo "$as_me:$LINENO: result: no" >&5
1640 echo "${ECHO_T}no" >&6
1644 if test -z "$CC"; then
1645 if test -n "$ac_tool_prefix"; then
1648 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1649 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1650 echo "$as_me:$LINENO: checking for $ac_word" >&5
1651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1652 if test "${ac_cv_prog_CC+set}" = set; then
1653 echo $ECHO_N "(cached) $ECHO_C" >&6
1655 if test -n "$CC"; then
1656 ac_cv_prog_CC
="$CC" # Let the user override the test.
1658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1662 test -z "$as_dir" && as_dir
=.
1663 for ac_exec_ext
in '' $ac_executable_extensions; do
1664 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1665 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1675 if test -n "$CC"; then
1676 echo "$as_me:$LINENO: result: $CC" >&5
1677 echo "${ECHO_T}$CC" >&6
1679 echo "$as_me:$LINENO: result: no" >&5
1680 echo "${ECHO_T}no" >&6
1683 test -n "$CC" && break
1686 if test -z "$CC"; then
1690 # Extract the first word of "$ac_prog", so it can be a program name with args.
1691 set dummy
$ac_prog; ac_word
=$2
1692 echo "$as_me:$LINENO: checking for $ac_word" >&5
1693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1694 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1695 echo $ECHO_N "(cached) $ECHO_C" >&6
1697 if test -n "$ac_ct_CC"; then
1698 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1704 test -z "$as_dir" && as_dir
=.
1705 for ac_exec_ext
in '' $ac_executable_extensions; do
1706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1707 ac_cv_prog_ac_ct_CC
="$ac_prog"
1708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1716 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1717 if test -n "$ac_ct_CC"; then
1718 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1719 echo "${ECHO_T}$ac_ct_CC" >&6
1721 echo "$as_me:$LINENO: result: no" >&5
1722 echo "${ECHO_T}no" >&6
1725 test -n "$ac_ct_CC" && break
1734 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1735 See \`config.log' for more details." >&5
1736 echo "$as_me: error: no acceptable C compiler found in \$PATH
1737 See \`config.log' for more details." >&2;}
1738 { (exit 1); exit 1; }; }
1740 # Provide some information about the compiler.
1741 echo "$as_me:$LINENO:" \
1742 "checking for C compiler version" >&5
1743 ac_compiler
=`set X $ac_compile; echo $2`
1744 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1745 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1748 (exit $ac_status); }
1749 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1750 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1753 (exit $ac_status); }
1754 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1755 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1758 (exit $ac_status); }
1760 cat >conftest.
$ac_ext <<_ACEOF
1761 #line $LINENO "configure"
1764 cat confdefs.h
>>conftest.
$ac_ext
1765 cat >>conftest.
$ac_ext <<_ACEOF
1766 /* end confdefs.h. */
1776 ac_clean_files_save
=$ac_clean_files
1777 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1778 # Try to create an executable without -o first, disregard a.out.
1779 # It will help us diagnose broken compilers, and finding out an intuition
1781 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1782 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1783 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1784 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1785 (eval $ac_link_default) 2>&5
1787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1788 (exit $ac_status); }; then
1789 # Find the output, starting from the most likely. This scheme is
1790 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1793 # Be careful to initialize this variable, since it used to be cached.
1794 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1796 # b.out is created by i960 compilers.
1797 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1799 test -f "$ac_file" ||
continue
1801 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1804 # This is the source file.
1807 # We found the default executable, but exeext='' is most
1811 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1812 # FIXME: I believe we export ac_cv_exeext for Libtool,
1813 # but it would be cool to find out if it's true. Does anybody
1814 # maintain Libtool? --akim.
1822 echo "$as_me: failed program was:" >&5
1823 sed 's/^/| /' conftest.
$ac_ext >&5
1825 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1826 See \`config.log' for more details." >&5
1827 echo "$as_me: error: C compiler cannot create executables
1828 See \`config.log' for more details." >&2;}
1829 { (exit 77); exit 77; }; }
1832 ac_exeext
=$ac_cv_exeext
1833 echo "$as_me:$LINENO: result: $ac_file" >&5
1834 echo "${ECHO_T}$ac_file" >&6
1836 # Check the compiler produces executables we can run. If not, either
1837 # the compiler is broken, or we cross compile.
1838 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1839 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1840 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1841 # If not cross compiling, check that we can run a simple program.
1842 if test "$cross_compiling" != yes; then
1843 if { ac_try
='./$ac_file'
1844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1848 (exit $ac_status); }; }; then
1851 if test "$cross_compiling" = maybe
; then
1854 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1855 If you meant to cross compile, use \`--host'.
1856 See \`config.log' for more details." >&5
1857 echo "$as_me: error: cannot run C compiled programs.
1858 If you meant to cross compile, use \`--host'.
1859 See \`config.log' for more details." >&2;}
1860 { (exit 1); exit 1; }; }
1864 echo "$as_me:$LINENO: result: yes" >&5
1865 echo "${ECHO_T}yes" >&6
1867 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1868 ac_clean_files
=$ac_clean_files_save
1869 # Check the compiler produces executables we can run. If not, either
1870 # the compiler is broken, or we cross compile.
1871 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1872 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1873 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1874 echo "${ECHO_T}$cross_compiling" >&6
1876 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1877 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1879 (eval $ac_link) 2>&5
1881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1882 (exit $ac_status); }; then
1883 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1884 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1885 # work properly (i.e., refer to `conftest.exe'), while it won't with
1887 for ac_file
in conftest.exe conftest conftest.
*; do
1888 test -f "$ac_file" ||
continue
1890 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1891 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1898 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1899 See \`config.log' for more details." >&5
1900 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1901 See \`config.log' for more details." >&2;}
1902 { (exit 1); exit 1; }; }
1905 rm -f conftest
$ac_cv_exeext
1906 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1907 echo "${ECHO_T}$ac_cv_exeext" >&6
1909 rm -f conftest.
$ac_ext
1910 EXEEXT
=$ac_cv_exeext
1912 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1913 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1914 if test "${ac_cv_objext+set}" = set; then
1915 echo $ECHO_N "(cached) $ECHO_C" >&6
1917 cat >conftest.
$ac_ext <<_ACEOF
1918 #line $LINENO "configure"
1921 cat confdefs.h
>>conftest.
$ac_ext
1922 cat >>conftest.
$ac_ext <<_ACEOF
1923 /* end confdefs.h. */
1933 rm -f conftest.o conftest.obj
1934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1935 (eval $ac_compile) 2>&5
1937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1938 (exit $ac_status); }; then
1939 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1941 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1942 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1947 echo "$as_me: failed program was:" >&5
1948 sed 's/^/| /' conftest.
$ac_ext >&5
1950 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1951 See \`config.log' for more details." >&5
1952 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1953 See \`config.log' for more details." >&2;}
1954 { (exit 1); exit 1; }; }
1957 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1959 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1960 echo "${ECHO_T}$ac_cv_objext" >&6
1961 OBJEXT
=$ac_cv_objext
1963 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1964 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1965 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1966 echo $ECHO_N "(cached) $ECHO_C" >&6
1968 cat >conftest.
$ac_ext <<_ACEOF
1969 #line $LINENO "configure"
1972 cat confdefs.h
>>conftest.
$ac_ext
1973 cat >>conftest.
$ac_ext <<_ACEOF
1974 /* end confdefs.h. */
1987 rm -f conftest.
$ac_objext
1988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1989 (eval $ac_compile) 2>&5
1991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1992 (exit $ac_status); } &&
1993 { ac_try
='test -s conftest.$ac_objext'
1994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1998 (exit $ac_status); }; }; then
2001 echo "$as_me: failed program was:" >&5
2002 sed 's/^/| /' conftest.
$ac_ext >&5
2006 rm -f conftest.
$ac_objext conftest.
$ac_ext
2007 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2010 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2011 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2012 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2013 ac_test_CFLAGS
=${CFLAGS+set}
2014 ac_save_CFLAGS
=$CFLAGS
2016 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2017 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2018 if test "${ac_cv_prog_cc_g+set}" = set; then
2019 echo $ECHO_N "(cached) $ECHO_C" >&6
2021 cat >conftest.
$ac_ext <<_ACEOF
2022 #line $LINENO "configure"
2025 cat confdefs.h
>>conftest.
$ac_ext
2026 cat >>conftest.
$ac_ext <<_ACEOF
2027 /* end confdefs.h. */
2037 rm -f conftest.
$ac_objext
2038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2039 (eval $ac_compile) 2>&5
2041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2042 (exit $ac_status); } &&
2043 { ac_try
='test -s conftest.$ac_objext'
2044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2048 (exit $ac_status); }; }; then
2051 echo "$as_me: failed program was:" >&5
2052 sed 's/^/| /' conftest.
$ac_ext >&5
2056 rm -f conftest.
$ac_objext conftest.
$ac_ext
2058 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2059 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2060 if test "$ac_test_CFLAGS" = set; then
2061 CFLAGS
=$ac_save_CFLAGS
2062 elif test $ac_cv_prog_cc_g = yes; then
2063 if test "$GCC" = yes; then
2069 if test "$GCC" = yes; then
2075 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2076 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2077 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2078 echo $ECHO_N "(cached) $ECHO_C" >&6
2080 ac_cv_prog_cc_stdc
=no
2082 cat >conftest.
$ac_ext <<_ACEOF
2083 #line $LINENO "configure"
2086 cat confdefs.h
>>conftest.
$ac_ext
2087 cat >>conftest.
$ac_ext <<_ACEOF
2088 /* end confdefs.h. */
2091 #include <sys/types.h>
2092 #include <sys/stat.h>
2093 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2094 struct buf { int x; };
2095 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2096 static char *e (p, i)
2102 static char *f (char * (*g) (char **, int), char **p, ...)
2107 s = g (p, va_arg (v,int));
2111 int test (int i, double x);
2112 struct s1 {int (*f) (int a);};
2113 struct s2 {int (*f) (double a);};
2114 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2120 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2125 # Don't try gcc -ansi; that turns off useful extensions and
2126 # breaks some systems' header files.
2127 # AIX -qlanglvl=ansi
2128 # Ultrix and OSF/1 -std1
2129 # HP-UX 10.20 and later -Ae
2130 # HP-UX older versions -Aa -D_HPUX_SOURCE
2131 # SVR4 -Xc -D__EXTENSIONS__
2132 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2134 CC
="$ac_save_CC $ac_arg"
2135 rm -f conftest.
$ac_objext
2136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2137 (eval $ac_compile) 2>&5
2139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2140 (exit $ac_status); } &&
2141 { ac_try
='test -s conftest.$ac_objext'
2142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2146 (exit $ac_status); }; }; then
2147 ac_cv_prog_cc_stdc
=$ac_arg
2150 echo "$as_me: failed program was:" >&5
2151 sed 's/^/| /' conftest.
$ac_ext >&5
2154 rm -f conftest.
$ac_objext
2156 rm -f conftest.
$ac_ext conftest.
$ac_objext
2161 case "x$ac_cv_prog_cc_stdc" in
2163 echo "$as_me:$LINENO: result: none needed" >&5
2164 echo "${ECHO_T}none needed" >&6 ;;
2166 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2167 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2168 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2171 # Some people use a C++ compiler to compile C. Since we use `exit',
2172 # in C++ we need to declare it. In case someone uses the same compiler
2173 # for both compiling C and C++ we need to have the C++ compiler decide
2174 # the declaration of exit, since it's the most demanding environment.
2175 cat >conftest.
$ac_ext <<_ACEOF
2180 rm -f conftest.
$ac_objext
2181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2182 (eval $ac_compile) 2>&5
2184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2185 (exit $ac_status); } &&
2186 { ac_try
='test -s conftest.$ac_objext'
2187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2191 (exit $ac_status); }; }; then
2192 for ac_declaration
in \
2194 '#include <stdlib.h>' \
2195 'extern "C" void std::exit (int) throw (); using std::exit;' \
2196 'extern "C" void std::exit (int); using std::exit;' \
2197 'extern "C" void exit (int) throw ();' \
2198 'extern "C" void exit (int);' \
2201 cat >conftest.
$ac_ext <<_ACEOF
2202 #line $LINENO "configure"
2205 cat confdefs.h
>>conftest.
$ac_ext
2206 cat >>conftest.
$ac_ext <<_ACEOF
2207 /* end confdefs.h. */
2218 rm -f conftest.
$ac_objext
2219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2220 (eval $ac_compile) 2>&5
2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2223 (exit $ac_status); } &&
2224 { ac_try
='test -s conftest.$ac_objext'
2225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2229 (exit $ac_status); }; }; then
2232 echo "$as_me: failed program was:" >&5
2233 sed 's/^/| /' conftest.
$ac_ext >&5
2237 rm -f conftest.
$ac_objext conftest.
$ac_ext
2238 cat >conftest.
$ac_ext <<_ACEOF
2239 #line $LINENO "configure"
2242 cat confdefs.h
>>conftest.
$ac_ext
2243 cat >>conftest.
$ac_ext <<_ACEOF
2244 /* end confdefs.h. */
2254 rm -f conftest.
$ac_objext
2255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2256 (eval $ac_compile) 2>&5
2258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2259 (exit $ac_status); } &&
2260 { ac_try
='test -s conftest.$ac_objext'
2261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265 (exit $ac_status); }; }; then
2268 echo "$as_me: failed program was:" >&5
2269 sed 's/^/| /' conftest.
$ac_ext >&5
2272 rm -f conftest.
$ac_objext conftest.
$ac_ext
2275 if test -n "$ac_declaration"; then
2276 echo '#ifdef __cplusplus' >>confdefs.h
2277 echo $ac_declaration >>confdefs.h
2278 echo '#endif' >>confdefs.h
2282 echo "$as_me: failed program was:" >&5
2283 sed 's/^/| /' conftest.
$ac_ext >&5
2286 rm -f conftest.
$ac_objext conftest.
$ac_ext
2288 ac_cpp
='$CPP $CPPFLAGS'
2289 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2290 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2291 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2293 if test "$GCC" = yes ; then
2294 if test "$SHLICC2" = yes ; then
2295 ac_cv_lbl_gcc_vers
=2
2298 echo "$as_me:$LINENO: checking gcc version" >&5
2299 echo $ECHO_N "checking gcc version... $ECHO_C" >&6
2300 if test "${ac_cv_lbl_gcc_vers+set}" = set; then
2301 echo $ECHO_N "(cached) $ECHO_C" >&6
2303 ac_cv_lbl_gcc_vers
=`$CC -v 2>&1 | \
2304 sed -e '/^gcc version /!d' \
2305 -e 's/^gcc version //' \
2306 -e 's/ .*//' -e 's/^[^0-9]*//' \
2310 echo "$as_me:$LINENO: result: $ac_cv_lbl_gcc_vers" >&5
2311 echo "${ECHO_T}$ac_cv_lbl_gcc_vers" >&6
2312 if test $ac_cv_lbl_gcc_vers -gt 1 ; then
2317 echo "$as_me:$LINENO: checking that $CC handles ansi prototypes" >&5
2318 echo $ECHO_N "checking that $CC handles ansi prototypes... $ECHO_C" >&6
2319 if test "${ac_cv_lbl_cc_ansi_prototypes+set}" = set; then
2320 echo $ECHO_N "(cached) $ECHO_C" >&6
2323 cat >conftest.
$ac_ext <<_ACEOF
2324 #line $LINENO "configure"
2327 cat confdefs.h
>>conftest.
$ac_ext
2328 cat >>conftest.
$ac_ext <<_ACEOF
2329 /* end confdefs.h. */
2330 #include <sys/types.h>
2334 int frob(int, char *)
2339 rm -f conftest.
$ac_objext
2340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2341 (eval $ac_compile) 2>&5
2343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2344 (exit $ac_status); } &&
2345 { ac_try
='test -s conftest.$ac_objext'
2346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350 (exit $ac_status); }; }; then
2351 ac_cv_lbl_cc_ansi_prototypes
=yes
2353 echo "$as_me: failed program was:" >&5
2354 sed 's/^/| /' conftest.
$ac_ext >&5
2356 ac_cv_lbl_cc_ansi_prototypes
=no
2358 rm -f conftest.
$ac_objext conftest.
$ac_ext
2361 echo "$as_me:$LINENO: result: $ac_cv_lbl_cc_ansi_prototypes" >&5
2362 echo "${ECHO_T}$ac_cv_lbl_cc_ansi_prototypes" >&6
2363 if test $ac_cv_lbl_cc_ansi_prototypes = no
; then
2367 echo "$as_me:$LINENO: checking for HP-UX ansi compiler ($CC -Aa -D_HPUX_SOURCE)" >&5
2368 echo $ECHO_N "checking for HP-UX ansi compiler ($CC -Aa -D_HPUX_SOURCE)... $ECHO_C" >&6
2369 savedcflags
="$CFLAGS"
2370 CFLAGS
="-Aa -D_HPUX_SOURCE $CFLAGS"
2371 if test "${ac_cv_lbl_cc_hpux_cc_aa+set}" = set; then
2372 echo $ECHO_N "(cached) $ECHO_C" >&6
2374 cat >conftest.
$ac_ext <<_ACEOF
2375 #line $LINENO "configure"
2378 cat confdefs.h
>>conftest.
$ac_ext
2379 cat >>conftest.
$ac_ext <<_ACEOF
2380 /* end confdefs.h. */
2381 #include <sys/types.h>
2385 int frob(int, char *)
2390 rm -f conftest.
$ac_objext
2391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2392 (eval $ac_compile) 2>&5
2394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395 (exit $ac_status); } &&
2396 { ac_try
='test -s conftest.$ac_objext'
2397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2401 (exit $ac_status); }; }; then
2402 ac_cv_lbl_cc_hpux_cc_aa
=yes
2404 echo "$as_me: failed program was:" >&5
2405 sed 's/^/| /' conftest.
$ac_ext >&5
2407 ac_cv_lbl_cc_hpux_cc_aa
=no
2409 rm -f conftest.
$ac_objext conftest.
$ac_ext
2412 echo "$as_me:$LINENO: result: $ac_cv_lbl_cc_hpux_cc_aa" >&5
2413 echo "${ECHO_T}$ac_cv_lbl_cc_hpux_cc_aa" >&6
2414 if test $ac_cv_lbl_cc_hpux_cc_aa = no
; then
2415 { { echo "$as_me:$LINENO: error: see the INSTALL doc for more info" >&5
2416 echo "$as_me: error: see the INSTALL doc for more info" >&2;}
2417 { (exit 1); exit 1; }; }
2419 CFLAGS
="$savedcflags"
2420 V_CCOPT
="-Aa $V_CCOPT"
2421 cat >>confdefs.h
<<\_ACEOF
2422 #define _HPUX_SOURCE 1
2428 { { echo "$as_me:$LINENO: error: see the INSTALL doc for more info" >&5
2429 echo "$as_me: error: see the INSTALL doc for more info" >&2;}
2430 { (exit 1); exit 1; }; }
2434 V_INCLS
="$V_INCLS -I/usr/local/include"
2435 LDFLAGS
="$LDFLAGS -L/usr/local/lib"
2440 V_CCOPT
="$V_CCOPT -xansi -signed -O"
2444 V_CCOPT
="$V_CCOPT -std1 -O"
2448 echo "$as_me:$LINENO: checking that Ultrix $CC hacks const in prototypes" >&5
2449 echo $ECHO_N "checking that Ultrix $CC hacks const in prototypes... $ECHO_C" >&6
2450 if test "${ac_cv_lbl_cc_const_proto+set}" = set; then
2451 echo $ECHO_N "(cached) $ECHO_C" >&6
2453 cat >conftest.
$ac_ext <<_ACEOF
2454 #line $LINENO "configure"
2457 cat confdefs.h
>>conftest.
$ac_ext
2458 cat >>conftest.
$ac_ext <<_ACEOF
2459 /* end confdefs.h. */
2460 #include <sys/types.h>
2464 struct a { int b; };
2465 void c(const struct a *)
2470 rm -f conftest.
$ac_objext
2471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2472 (eval $ac_compile) 2>&5
2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475 (exit $ac_status); } &&
2476 { ac_try
='test -s conftest.$ac_objext'
2477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2481 (exit $ac_status); }; }; then
2482 ac_cv_lbl_cc_const_proto
=yes
2484 echo "$as_me: failed program was:" >&5
2485 sed 's/^/| /' conftest.
$ac_ext >&5
2487 ac_cv_lbl_cc_const_proto
=no
2489 rm -f conftest.
$ac_objext conftest.
$ac_ext
2492 echo "$as_me:$LINENO: result: $ac_cv_lbl_cc_const_proto" >&5
2493 echo "${ECHO_T}$ac_cv_lbl_cc_const_proto" >&6
2494 if test $ac_cv_lbl_cc_const_proto = no
; then
2495 cat >>confdefs.h
<<\_ACEOF
2504 echo "$as_me:$LINENO: checking for inline" >&5
2505 echo $ECHO_N "checking for inline... $ECHO_C" >&6
2506 if test "${ac_cv_lbl_inline+set}" = set; then
2507 echo $ECHO_N "(cached) $ECHO_C" >&6
2512 for ac_lbl_inline
in inline __inline__ __inline
2514 cat >conftest.
$ac_ext <<_ACEOF
2515 #line $LINENO "configure"
2518 cat confdefs.h
>>conftest.
$ac_ext
2519 cat >>conftest.
$ac_ext <<_ACEOF
2520 /* end confdefs.h. */
2521 #define inline $ac_lbl_inline
2522 static inline struct iltest *foo(void);
2528 static inline struct iltest *
2531 static struct iltest xxx;
2543 rm -f conftest.
$ac_objext
2544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2545 (eval $ac_compile) 2>&5
2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548 (exit $ac_status); } &&
2549 { ac_try
='test -s conftest.$ac_objext'
2550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554 (exit $ac_status); }; }; then
2555 ac_lbl_cc_inline
=yes
2557 echo "$as_me: failed program was:" >&5
2558 sed 's/^/| /' conftest.
$ac_ext >&5
2561 rm -f conftest.
$ac_objext conftest.
$ac_ext
2562 if test "$ac_lbl_cc_inline" = yes ; then
2566 if test "$ac_lbl_cc_inline" = yes ; then
2567 ac_cv_lbl_inline
=$ac_lbl_inline
2571 if test ! -z "$ac_cv_lbl_inline" ; then
2572 echo "$as_me:$LINENO: result: $ac_cv_lbl_inline" >&5
2573 echo "${ECHO_T}$ac_cv_lbl_inline" >&6
2575 echo "$as_me:$LINENO: result: no" >&5
2576 echo "${ECHO_T}no" >&6
2579 cat >>confdefs.h
<<_ACEOF
2580 #define inline $ac_cv_lbl_inline
2584 echo "$as_me:$LINENO: checking for __attribute__" >&5
2585 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
2586 if test "${ac_cv___attribute__+set}" = set; then
2587 echo $ECHO_N "(cached) $ECHO_C" >&6
2590 cat >conftest.
$ac_ext <<_ACEOF
2591 #line $LINENO "configure"
2594 cat confdefs.h
>>conftest.
$ac_ext
2595 cat >>conftest.
$ac_ext <<_ACEOF
2596 /* end confdefs.h. */
2604 static void foo(void) __attribute__ ((noreturn));
2616 rm -f conftest.
$ac_objext
2617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2618 (eval $ac_compile) 2>&5
2620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621 (exit $ac_status); } &&
2622 { ac_try
='test -s conftest.$ac_objext'
2623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2627 (exit $ac_status); }; }; then
2628 ac_cv___attribute__
=yes
2630 echo "$as_me: failed program was:" >&5
2631 sed 's/^/| /' conftest.
$ac_ext >&5
2633 ac_cv___attribute__
=no
2635 rm -f conftest.
$ac_objext conftest.
$ac_ext
2638 if test "$ac_cv___attribute__" = "yes"; then
2640 cat >>confdefs.h
<<\_ACEOF
2641 #define HAVE___ATTRIBUTE__ 1
2644 V_DEFS
="$V_DEFS -D_U_=\"__attribute__((unused))\""
2646 V_DEFS
="$V_DEFS -D_U_=\"\""
2648 echo "$as_me:$LINENO: result: $ac_cv___attribute__" >&5
2649 echo "${ECHO_T}$ac_cv___attribute__" >&6
2653 ac_cpp
='$CPP $CPPFLAGS'
2654 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2655 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2656 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2657 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2658 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2659 # On Suns, sometimes $CPP names a directory.
2660 if test -n "$CPP" && test -d "$CPP"; then
2663 if test -z "$CPP"; then
2664 if test "${ac_cv_prog_CPP+set}" = set; then
2665 echo $ECHO_N "(cached) $ECHO_C" >&6
2667 # Double quotes because CPP needs to be expanded
2668 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2671 for ac_c_preproc_warn_flag
in '' yes
2673 # Use a header file that comes with gcc, so configuring glibc
2674 # with a fresh cross-compiler works.
2675 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2676 # <limits.h> exists even on freestanding compilers.
2677 # On the NeXT, cc -E runs the code through the compiler's parser,
2678 # not just through cpp. "Syntax error" is here to catch this case.
2679 cat >conftest.
$ac_ext <<_ACEOF
2680 #line $LINENO "configure"
2683 cat confdefs.h
>>conftest.
$ac_ext
2684 cat >>conftest.
$ac_ext <<_ACEOF
2685 /* end confdefs.h. */
2687 # include <limits.h>
2689 # include <assert.h>
2693 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2694 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2696 grep -v '^ *+' conftest.er1
>conftest.err
2698 cat conftest.err
>&5
2699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2700 (exit $ac_status); } >/dev
/null
; then
2701 if test -s conftest.err
; then
2702 ac_cpp_err
=$ac_c_preproc_warn_flag
2709 if test -z "$ac_cpp_err"; then
2712 echo "$as_me: failed program was:" >&5
2713 sed 's/^/| /' conftest.
$ac_ext >&5
2715 # Broken: fails on valid input.
2718 rm -f conftest.err conftest.
$ac_ext
2720 # OK, works on sane cases. Now check whether non-existent headers
2721 # can be detected and how.
2722 cat >conftest.
$ac_ext <<_ACEOF
2723 #line $LINENO "configure"
2726 cat confdefs.h
>>conftest.
$ac_ext
2727 cat >>conftest.
$ac_ext <<_ACEOF
2728 /* end confdefs.h. */
2729 #include <ac_nonexistent.h>
2731 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2732 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2734 grep -v '^ *+' conftest.er1
>conftest.err
2736 cat conftest.err
>&5
2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738 (exit $ac_status); } >/dev
/null
; then
2739 if test -s conftest.err
; then
2740 ac_cpp_err
=$ac_c_preproc_warn_flag
2747 if test -z "$ac_cpp_err"; then
2748 # Broken: success on invalid input.
2751 echo "$as_me: failed program was:" >&5
2752 sed 's/^/| /' conftest.
$ac_ext >&5
2754 # Passes both tests.
2758 rm -f conftest.err conftest.
$ac_ext
2761 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2762 rm -f conftest.err conftest.
$ac_ext
2763 if $ac_preproc_ok; then
2775 echo "$as_me:$LINENO: result: $CPP" >&5
2776 echo "${ECHO_T}$CPP" >&6
2778 for ac_c_preproc_warn_flag
in '' yes
2780 # Use a header file that comes with gcc, so configuring glibc
2781 # with a fresh cross-compiler works.
2782 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2783 # <limits.h> exists even on freestanding compilers.
2784 # On the NeXT, cc -E runs the code through the compiler's parser,
2785 # not just through cpp. "Syntax error" is here to catch this case.
2786 cat >conftest.
$ac_ext <<_ACEOF
2787 #line $LINENO "configure"
2790 cat confdefs.h
>>conftest.
$ac_ext
2791 cat >>conftest.
$ac_ext <<_ACEOF
2792 /* end confdefs.h. */
2794 # include <limits.h>
2796 # include <assert.h>
2800 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2801 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2803 grep -v '^ *+' conftest.er1
>conftest.err
2805 cat conftest.err
>&5
2806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2807 (exit $ac_status); } >/dev
/null
; then
2808 if test -s conftest.err
; then
2809 ac_cpp_err
=$ac_c_preproc_warn_flag
2816 if test -z "$ac_cpp_err"; then
2819 echo "$as_me: failed program was:" >&5
2820 sed 's/^/| /' conftest.
$ac_ext >&5
2822 # Broken: fails on valid input.
2825 rm -f conftest.err conftest.
$ac_ext
2827 # OK, works on sane cases. Now check whether non-existent headers
2828 # can be detected and how.
2829 cat >conftest.
$ac_ext <<_ACEOF
2830 #line $LINENO "configure"
2833 cat confdefs.h
>>conftest.
$ac_ext
2834 cat >>conftest.
$ac_ext <<_ACEOF
2835 /* end confdefs.h. */
2836 #include <ac_nonexistent.h>
2838 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2839 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2841 grep -v '^ *+' conftest.er1
>conftest.err
2843 cat conftest.err
>&5
2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); } >/dev
/null
; then
2846 if test -s conftest.err
; then
2847 ac_cpp_err
=$ac_c_preproc_warn_flag
2854 if test -z "$ac_cpp_err"; then
2855 # Broken: success on invalid input.
2858 echo "$as_me: failed program was:" >&5
2859 sed 's/^/| /' conftest.
$ac_ext >&5
2861 # Passes both tests.
2865 rm -f conftest.err conftest.
$ac_ext
2868 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2869 rm -f conftest.err conftest.
$ac_ext
2870 if $ac_preproc_ok; then
2873 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2874 See \`config.log' for more details." >&5
2875 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2876 See \`config.log' for more details." >&2;}
2877 { (exit 1); exit 1; }; }
2881 ac_cpp
='$CPP $CPPFLAGS'
2882 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2883 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2884 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2887 echo "$as_me:$LINENO: checking for egrep" >&5
2888 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2889 if test "${ac_cv_prog_egrep+set}" = set; then
2890 echo $ECHO_N "(cached) $ECHO_C" >&6
2892 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2893 then ac_cv_prog_egrep
='grep -E'
2894 else ac_cv_prog_egrep
='egrep'
2897 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2898 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2899 EGREP
=$ac_cv_prog_egrep
2902 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2903 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2904 if test "${ac_cv_header_stdc+set}" = set; then
2905 echo $ECHO_N "(cached) $ECHO_C" >&6
2907 cat >conftest.
$ac_ext <<_ACEOF
2908 #line $LINENO "configure"
2911 cat confdefs.h
>>conftest.
$ac_ext
2912 cat >>conftest.
$ac_ext <<_ACEOF
2913 /* end confdefs.h. */
2927 rm -f conftest.
$ac_objext
2928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2929 (eval $ac_compile) 2>&5
2931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932 (exit $ac_status); } &&
2933 { ac_try
='test -s conftest.$ac_objext'
2934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938 (exit $ac_status); }; }; then
2939 ac_cv_header_stdc
=yes
2941 echo "$as_me: failed program was:" >&5
2942 sed 's/^/| /' conftest.
$ac_ext >&5
2944 ac_cv_header_stdc
=no
2946 rm -f conftest.
$ac_objext conftest.
$ac_ext
2948 if test $ac_cv_header_stdc = yes; then
2949 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2950 cat >conftest.
$ac_ext <<_ACEOF
2951 #line $LINENO "configure"
2954 cat confdefs.h
>>conftest.
$ac_ext
2955 cat >>conftest.
$ac_ext <<_ACEOF
2956 /* end confdefs.h. */
2960 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2961 $EGREP "memchr" >/dev
/null
2>&1; then
2964 ac_cv_header_stdc
=no
2970 if test $ac_cv_header_stdc = yes; then
2971 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2972 cat >conftest.
$ac_ext <<_ACEOF
2973 #line $LINENO "configure"
2976 cat confdefs.h
>>conftest.
$ac_ext
2977 cat >>conftest.
$ac_ext <<_ACEOF
2978 /* end confdefs.h. */
2982 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2983 $EGREP "free" >/dev
/null
2>&1; then
2986 ac_cv_header_stdc
=no
2992 if test $ac_cv_header_stdc = yes; then
2993 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2994 if test "$cross_compiling" = yes; then
2997 cat >conftest.
$ac_ext <<_ACEOF
2998 #line $LINENO "configure"
3001 cat confdefs.h
>>conftest.
$ac_ext
3002 cat >>conftest.
$ac_ext <<_ACEOF
3003 /* end confdefs.h. */
3005 #if ((' ' & 0x0FF) == 0x020)
3006 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3007 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3009 # define ISLOWER(c) \
3010 (('a' <= (c) && (c) <= 'i') \
3011 || ('j' <= (c) && (c) <= 'r') \
3012 || ('s' <= (c) && (c) <= 'z'))
3013 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3016 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3021 for (i = 0; i < 256; i++)
3022 if (XOR (islower (i), ISLOWER (i))
3023 || toupper (i) != TOUPPER (i))
3028 rm -f conftest
$ac_exeext
3029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3030 (eval $ac_link) 2>&5
3032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3033 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3038 (exit $ac_status); }; }; then
3041 echo "$as_me: program exited with status $ac_status" >&5
3042 echo "$as_me: failed program was:" >&5
3043 sed 's/^/| /' conftest.
$ac_ext >&5
3046 ac_cv_header_stdc
=no
3048 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3052 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3053 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3054 if test $ac_cv_header_stdc = yes; then
3056 cat >>confdefs.h
<<\_ACEOF
3057 #define STDC_HEADERS 1
3062 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3072 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3073 inttypes.h stdint.h unistd.h
3075 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3076 echo "$as_me:$LINENO: checking for $ac_header" >&5
3077 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3078 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3079 echo $ECHO_N "(cached) $ECHO_C" >&6
3081 cat >conftest.
$ac_ext <<_ACEOF
3082 #line $LINENO "configure"
3085 cat confdefs.h
>>conftest.
$ac_ext
3086 cat >>conftest.
$ac_ext <<_ACEOF
3087 /* end confdefs.h. */
3088 $ac_includes_default
3090 #include <$ac_header>
3092 rm -f conftest.
$ac_objext
3093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3094 (eval $ac_compile) 2>&5
3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); } &&
3098 { ac_try
='test -s conftest.$ac_objext'
3099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103 (exit $ac_status); }; }; then
3104 eval "$as_ac_Header=yes"
3106 echo "$as_me: failed program was:" >&5
3107 sed 's/^/| /' conftest.
$ac_ext >&5
3109 eval "$as_ac_Header=no"
3111 rm -f conftest.
$ac_objext conftest.
$ac_ext
3113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3114 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3115 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3116 cat >>confdefs.h
<<_ACEOF
3117 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3129 for ac_header
in fcntl.h rpc
/rpcent.h netdnet
/dnetdb.h netinet
/ether.h
3131 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3132 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3133 echo "$as_me:$LINENO: checking for $ac_header" >&5
3134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3135 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3136 echo $ECHO_N "(cached) $ECHO_C" >&6
3138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3139 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3141 # Is the header compilable?
3142 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3143 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3144 cat >conftest.
$ac_ext <<_ACEOF
3145 #line $LINENO "configure"
3148 cat confdefs.h
>>conftest.
$ac_ext
3149 cat >>conftest.
$ac_ext <<_ACEOF
3150 /* end confdefs.h. */
3151 $ac_includes_default
3152 #include <$ac_header>
3154 rm -f conftest.
$ac_objext
3155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3156 (eval $ac_compile) 2>&5
3158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3159 (exit $ac_status); } &&
3160 { ac_try
='test -s conftest.$ac_objext'
3161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165 (exit $ac_status); }; }; then
3166 ac_header_compiler
=yes
3168 echo "$as_me: failed program was:" >&5
3169 sed 's/^/| /' conftest.
$ac_ext >&5
3171 ac_header_compiler
=no
3173 rm -f conftest.
$ac_objext conftest.
$ac_ext
3174 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3175 echo "${ECHO_T}$ac_header_compiler" >&6
3177 # Is the header present?
3178 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3179 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3180 cat >conftest.
$ac_ext <<_ACEOF
3181 #line $LINENO "configure"
3184 cat confdefs.h
>>conftest.
$ac_ext
3185 cat >>conftest.
$ac_ext <<_ACEOF
3186 /* end confdefs.h. */
3187 #include <$ac_header>
3189 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3190 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3192 grep -v '^ *+' conftest.er1
>conftest.err
3194 cat conftest.err
>&5
3195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3196 (exit $ac_status); } >/dev
/null
; then
3197 if test -s conftest.err
; then
3198 ac_cpp_err
=$ac_c_preproc_warn_flag
3205 if test -z "$ac_cpp_err"; then
3206 ac_header_preproc
=yes
3208 echo "$as_me: failed program was:" >&5
3209 sed 's/^/| /' conftest.
$ac_ext >&5
3211 ac_header_preproc
=no
3213 rm -f conftest.err conftest.
$ac_ext
3214 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3215 echo "${ECHO_T}$ac_header_preproc" >&6
3217 # So? What about this header?
3218 case $ac_header_compiler:$ac_header_preproc in
3220 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3221 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3222 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3223 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3226 ## ------------------------------------ ##
3227 ## Report this to bug-autoconf@gnu.org. ##
3228 ## ------------------------------------ ##
3231 sed "s/^/$as_me: WARNING: /" >&2
3234 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3235 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3236 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3237 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3239 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3242 ## ------------------------------------ ##
3243 ## Report this to bug-autoconf@gnu.org. ##
3244 ## ------------------------------------ ##
3247 sed "s/^/$as_me: WARNING: /" >&2
3250 echo "$as_me:$LINENO: checking for $ac_header" >&5
3251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3253 echo $ECHO_N "(cached) $ECHO_C" >&6
3255 eval "$as_ac_Header=$ac_header_preproc"
3257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3258 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3261 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3262 cat >>confdefs.h
<<_ACEOF
3263 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3271 for ac_header
in netinet
/if_ether.h
3273 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3274 echo "$as_me:$LINENO: checking for $ac_header" >&5
3275 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3276 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3277 echo $ECHO_N "(cached) $ECHO_C" >&6
3279 cat >conftest.
$ac_ext <<_ACEOF
3280 #line $LINENO "configure"
3283 cat confdefs.h
>>conftest.
$ac_ext
3284 cat >>conftest.
$ac_ext <<_ACEOF
3285 /* end confdefs.h. */
3286 #include <sys/types.h>
3287 #include <sys/socket.h>
3289 #include <$ac_header>
3291 rm -f conftest.
$ac_objext
3292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3293 (eval $ac_compile) 2>&5
3295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296 (exit $ac_status); } &&
3297 { ac_try
='test -s conftest.$ac_objext'
3298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3302 (exit $ac_status); }; }; then
3303 eval "$as_ac_Header=yes"
3305 echo "$as_me: failed program was:" >&5
3306 sed 's/^/| /' conftest.
$ac_ext >&5
3308 eval "$as_ac_Header=no"
3310 rm -f conftest.
$ac_objext conftest.
$ac_ext
3312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3313 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3314 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3315 cat >>confdefs.h
<<_ACEOF
3316 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3323 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
3324 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
3325 if test "${ac_cv_header_time+set}" = set; then
3326 echo $ECHO_N "(cached) $ECHO_C" >&6
3328 cat >conftest.
$ac_ext <<_ACEOF
3329 #line $LINENO "configure"
3332 cat confdefs.h
>>conftest.
$ac_ext
3333 cat >>conftest.
$ac_ext <<_ACEOF
3334 /* end confdefs.h. */
3335 #include <sys/types.h>
3336 #include <sys/time.h>
3342 if ((struct tm *) 0)
3348 rm -f conftest.
$ac_objext
3349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3350 (eval $ac_compile) 2>&5
3352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3353 (exit $ac_status); } &&
3354 { ac_try
='test -s conftest.$ac_objext'
3355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3359 (exit $ac_status); }; }; then
3360 ac_cv_header_time
=yes
3362 echo "$as_me: failed program was:" >&5
3363 sed 's/^/| /' conftest.
$ac_ext >&5
3365 ac_cv_header_time
=no
3367 rm -f conftest.
$ac_objext conftest.
$ac_ext
3369 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
3370 echo "${ECHO_T}$ac_cv_header_time" >&6
3371 if test $ac_cv_header_time = yes; then
3373 cat >>confdefs.h
<<\_ACEOF
3374 #define TIME_WITH_SYS_TIME 1
3383 echo "$as_me:$LINENO: checking Linux kernel version" >&5
3384 echo $ECHO_N "checking Linux kernel version... $ECHO_C" >&6
3385 if test "$cross_compiling" = yes; then
3386 if test "${ac_cv_linux_vers+set}" = set; then
3387 echo $ECHO_N "(cached) $ECHO_C" >&6
3389 ac_cv_linux_vers
=unknown
3393 if test "${ac_cv_linux_vers+set}" = set; then
3394 echo $ECHO_N "(cached) $ECHO_C" >&6
3396 ac_cv_linux_vers
=`uname -r 2>&1 | \
3397 sed -n -e '$s/.* //' -e '$s/\..*//p'`
3401 echo "$as_me:$LINENO: result: $ac_cv_linux_vers" >&5
3402 echo "${ECHO_T}$ac_cv_linux_vers" >&6
3403 if test $ac_cv_linux_vers = unknown
; then
3404 { { echo "$as_me:$LINENO: error: cannot determine linux version when cross-compiling" >&5
3405 echo "$as_me: error: cannot determine linux version when cross-compiling" >&2;}
3406 { (exit 1); exit 1; }; }
3408 if test $ac_cv_linux_vers -lt 2 ; then
3409 { { echo "$as_me:$LINENO: error: version 2 or higher required; see the INSTALL doc for more info" >&5
3410 echo "$as_me: error: version 2 or higher required; see the INSTALL doc for more info" >&2;}
3411 { (exit 1); exit 1; }; }
3421 for ac_header
in smi.h
3423 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3424 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3425 echo "$as_me:$LINENO: checking for $ac_header" >&5
3426 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3428 echo $ECHO_N "(cached) $ECHO_C" >&6
3430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3431 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3433 # Is the header compilable?
3434 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3435 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3436 cat >conftest.
$ac_ext <<_ACEOF
3437 #line $LINENO "configure"
3440 cat confdefs.h
>>conftest.
$ac_ext
3441 cat >>conftest.
$ac_ext <<_ACEOF
3442 /* end confdefs.h. */
3443 $ac_includes_default
3444 #include <$ac_header>
3446 rm -f conftest.
$ac_objext
3447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3448 (eval $ac_compile) 2>&5
3450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3451 (exit $ac_status); } &&
3452 { ac_try
='test -s conftest.$ac_objext'
3453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3457 (exit $ac_status); }; }; then
3458 ac_header_compiler
=yes
3460 echo "$as_me: failed program was:" >&5
3461 sed 's/^/| /' conftest.
$ac_ext >&5
3463 ac_header_compiler
=no
3465 rm -f conftest.
$ac_objext conftest.
$ac_ext
3466 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3467 echo "${ECHO_T}$ac_header_compiler" >&6
3469 # Is the header present?
3470 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3471 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3472 cat >conftest.
$ac_ext <<_ACEOF
3473 #line $LINENO "configure"
3476 cat confdefs.h
>>conftest.
$ac_ext
3477 cat >>conftest.
$ac_ext <<_ACEOF
3478 /* end confdefs.h. */
3479 #include <$ac_header>
3481 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3482 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3484 grep -v '^ *+' conftest.er1
>conftest.err
3486 cat conftest.err
>&5
3487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488 (exit $ac_status); } >/dev
/null
; then
3489 if test -s conftest.err
; then
3490 ac_cpp_err
=$ac_c_preproc_warn_flag
3497 if test -z "$ac_cpp_err"; then
3498 ac_header_preproc
=yes
3500 echo "$as_me: failed program was:" >&5
3501 sed 's/^/| /' conftest.
$ac_ext >&5
3503 ac_header_preproc
=no
3505 rm -f conftest.err conftest.
$ac_ext
3506 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3507 echo "${ECHO_T}$ac_header_preproc" >&6
3509 # So? What about this header?
3510 case $ac_header_compiler:$ac_header_preproc in
3512 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3513 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3514 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3515 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3518 ## ------------------------------------ ##
3519 ## Report this to bug-autoconf@gnu.org. ##
3520 ## ------------------------------------ ##
3523 sed "s/^/$as_me: WARNING: /" >&2
3526 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3527 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3528 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3529 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3530 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3531 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3534 ## ------------------------------------ ##
3535 ## Report this to bug-autoconf@gnu.org. ##
3536 ## ------------------------------------ ##
3539 sed "s/^/$as_me: WARNING: /" >&2
3542 echo "$as_me:$LINENO: checking for $ac_header" >&5
3543 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3544 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3545 echo $ECHO_N "(cached) $ECHO_C" >&6
3547 eval "$as_ac_Header=$ac_header_preproc"
3549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3550 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3553 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3554 cat >>confdefs.h
<<_ACEOF
3555 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3563 echo "$as_me:$LINENO: checking for smiInit in -lsmi" >&5
3564 echo $ECHO_N "checking for smiInit in -lsmi... $ECHO_C" >&6
3565 if test "${ac_cv_lib_smi_smiInit+set}" = set; then
3566 echo $ECHO_N "(cached) $ECHO_C" >&6
3568 ac_check_lib_save_LIBS
=$LIBS
3570 cat >conftest.
$ac_ext <<_ACEOF
3571 #line $LINENO "configure"
3574 cat confdefs.h
>>conftest.
$ac_ext
3575 cat >>conftest.
$ac_ext <<_ACEOF
3576 /* end confdefs.h. */
3578 /* Override any gcc2 internal prototype to avoid an error. */
3582 /* We use char because int might match the return type of a gcc2
3583 builtin and then its argument prototype would still apply. */
3593 rm -f conftest.
$ac_objext conftest
$ac_exeext
3594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3595 (eval $ac_link) 2>&5
3597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3598 (exit $ac_status); } &&
3599 { ac_try
='test -s conftest$ac_exeext'
3600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3604 (exit $ac_status); }; }; then
3605 ac_cv_lib_smi_smiInit
=yes
3607 echo "$as_me: failed program was:" >&5
3608 sed 's/^/| /' conftest.
$ac_ext >&5
3610 ac_cv_lib_smi_smiInit
=no
3612 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3613 LIBS
=$ac_check_lib_save_LIBS
3615 echo "$as_me:$LINENO: result: $ac_cv_lib_smi_smiInit" >&5
3616 echo "${ECHO_T}$ac_cv_lib_smi_smiInit" >&6
3617 if test $ac_cv_lib_smi_smiInit = yes; then
3618 cat >>confdefs.h
<<_ACEOF
3619 #define HAVE_LIBSMI 1
3626 if test "$ac_cv_header_smi_h" = yes -a "$ac_cv_lib_smi_smiInit" = yes
3628 echo "$as_me:$LINENO: checking whether to enable libsmi" >&5
3629 echo $ECHO_N "checking whether to enable libsmi... $ECHO_C" >&6
3630 if test "$cross_compiling" = yes; then
3631 echo "$as_me:$LINENO: result: not when cross-compiling" >&5
3632 echo "${ECHO_T}not when cross-compiling" >&6
3636 cat >conftest.
$ac_ext <<_ACEOF
3637 #line $LINENO "configure"
3640 cat confdefs.h
>>conftest.
$ac_ext
3641 cat >>conftest.
$ac_ext <<_ACEOF
3642 /* end confdefs.h. */
3643 /* libsmi available check */
3647 int current, revision, age, n;
3648 const int required = 2;
3651 if (strcmp(SMI_LIBRARY_VERSION, smi_library_version))
3653 n = sscanf(smi_library_version, "%d:%d:%d", ¤t, &revision, &age);
3656 if (required < current - age || required > current)
3662 rm -f conftest
$ac_exeext
3663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3664 (eval $ac_link) 2>&5
3666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3667 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672 (exit $ac_status); }; }; then
3673 echo "$as_me:$LINENO: result: yes" >&5
3674 echo "${ECHO_T}yes" >&6
3675 cat >>confdefs.h
<<\_ACEOF
3681 echo "$as_me: program exited with status $ac_status" >&5
3682 echo "$as_me: failed program was:" >&5
3683 sed 's/^/| /' conftest.
$ac_ext >&5
3687 1) echo "$as_me:$LINENO: result: no - smiInit failed" >&5
3688 echo "${ECHO_T}no - smiInit failed" >&6 ;;
3689 2) echo "$as_me:$LINENO: result: no - header/library version mismatch" >&5
3690 echo "${ECHO_T}no - header/library version mismatch" >&6 ;;
3691 3) echo "$as_me:$LINENO: result: no - can't determine library version" >&5
3692 echo "${ECHO_T}no - can't determine library version" >&6 ;;
3693 4) echo "$as_me:$LINENO: result: no - too old" >&5
3694 echo "${ECHO_T}no - too old" >&6 ;;
3695 *) echo "$as_me:$LINENO: result: no" >&5
3696 echo "${ECHO_T}no" >&6 ;;
3700 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3704 echo "$as_me:$LINENO: checking whether to enable the possibly-buggy SMB printer" >&5
3705 echo $ECHO_N "checking whether to enable the possibly-buggy SMB printer... $ECHO_C" >&6
3706 # Check whether --enable-smb or --disable-smb was given.
3707 if test "${enable_smb+set}" = set; then
3708 enableval
="$enable_smb"
3713 case "$enableval" in
3714 yes) echo "$as_me:$LINENO: result: yes" >&5
3715 echo "${ECHO_T}yes" >&6
3716 { echo "$as_me:$LINENO: WARNING: The SMB printer may have exploitable buffer overflows!!!" >&5
3717 echo "$as_me: WARNING: The SMB printer may have exploitable buffer overflows!!!" >&2;}
3718 cat >>confdefs.h
<<\_ACEOF
3719 #define TCPDUMP_DO_SMB 1
3722 LOCALSRC
="print-smb.c smbutil.c $LOCALSRC"
3724 *) echo "$as_me:$LINENO: result: no" >&5
3725 echo "${ECHO_T}no" >&6
3730 # Check whether --with-user or --without-user was given.
3731 if test "${with_user+set}" = set; then
3732 withval
="$with_user"
3735 echo "$as_me:$LINENO: checking whether to drop root privileges by default" >&5
3736 echo $ECHO_N "checking whether to drop root privileges by default... $ECHO_C" >&6
3737 if test ! -z "$with_user" ; then
3738 cat >>confdefs.h
<<_ACEOF
3739 #define WITH_USER "$withval"
3742 echo "$as_me:$LINENO: result: to \"$withval\"" >&5
3743 echo "${ECHO_T}to \"$withval\"" >&6
3745 echo "$as_me:$LINENO: result: no" >&5
3746 echo "${ECHO_T}no" >&6
3750 # Check whether --with-chroot or --without-chroot was given.
3751 if test "${with_chroot+set}" = set; then
3752 withval
="$with_chroot"
3755 echo "$as_me:$LINENO: checking whether to chroot" >&5
3756 echo $ECHO_N "checking whether to chroot... $ECHO_C" >&6
3757 if test ! -z "$with_chroot" ; then
3758 cat >>confdefs.h
<<_ACEOF
3759 #define WITH_CHROOT "$withval"
3762 echo "$as_me:$LINENO: result: to \"$withval\"" >&5
3763 echo "${ECHO_T}to \"$withval\"" >&6
3765 echo "$as_me:$LINENO: result: no" >&5
3766 echo "${ECHO_T}no" >&6
3769 echo "$as_me:$LINENO: checking whether to enable ipv6" >&5
3770 echo $ECHO_N "checking whether to enable ipv6... $ECHO_C" >&6
3771 # Check whether --enable-ipv6 or --disable-ipv6 was given.
3772 if test "${enable_ipv6+set}" = set; then
3773 enableval
="$enable_ipv6"
3774 case "$enableval" in
3775 yes) echo "$as_me:$LINENO: result: yes" >&5
3776 echo "${ECHO_T}yes" >&6
3777 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"
3778 cat >>confdefs.h
<<\_ACEOF
3785 echo "$as_me:$LINENO: result: no" >&5
3786 echo "${ECHO_T}no" >&6
3791 if test "$cross_compiling" = yes; then
3792 echo "$as_me:$LINENO: result: no" >&5
3793 echo "${ECHO_T}no" >&6
3797 cat >conftest.
$ac_ext <<_ACEOF
3798 #line $LINENO "configure"
3801 cat confdefs.h
>>conftest.
$ac_ext
3802 cat >>conftest.
$ac_ext <<_ACEOF
3803 /* end confdefs.h. */
3804 /* AF_INET6 available check */
3805 #include <sys/types.h>
3806 #include <sys/socket.h>
3809 if (socket(AF_INET6, SOCK_STREAM, 0) < 0)
3816 rm -f conftest
$ac_exeext
3817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3818 (eval $ac_link) 2>&5
3820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3821 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3826 (exit $ac_status); }; }; then
3827 echo "$as_me:$LINENO: result: yes" >&5
3828 echo "${ECHO_T}yes" >&6
3829 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"
3830 cat >>confdefs.h
<<\_ACEOF
3836 echo "$as_me: program exited with status $ac_status" >&5
3837 echo "$as_me: failed program was:" >&5
3838 sed 's/^/| /' conftest.
$ac_ext >&5
3841 echo "$as_me:$LINENO: result: no" >&5
3842 echo "${ECHO_T}no" >&6
3845 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3853 if test "$ipv6" = "yes"; then
3854 echo "$as_me:$LINENO: checking ipv6 stack type" >&5
3855 echo $ECHO_N "checking ipv6 stack type... $ECHO_C" >&6
3856 for i
in inria kame linux-glibc linux-libinet6 toshiba v6d zeta
; do
3859 cat >conftest.
$ac_ext <<_ACEOF
3860 #line $LINENO "configure"
3863 cat confdefs.h
>>conftest.
$ac_ext
3864 cat >>conftest.
$ac_ext <<_ACEOF
3865 /* end confdefs.h. */
3866 #include <netinet/in.h>
3867 #ifdef IPV6_INRIA_VERSION
3871 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3872 $EGREP "yes" >/dev
/null
2>&1; then
3874 CFLAGS
="-DINET6 $CFLAGS"
3880 cat >conftest.
$ac_ext <<_ACEOF
3881 #line $LINENO "configure"
3884 cat confdefs.h
>>conftest.
$ac_ext
3885 cat >>conftest.
$ac_ext <<_ACEOF
3886 /* end confdefs.h. */
3887 #include <netinet/in.h>
3892 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3893 $EGREP "yes" >/dev
/null
2>&1; then
3896 ipv6libdir
=/usr
/local
/v
6/lib
;
3898 CFLAGS
="-DINET6 $CFLAGS"
3904 cat >conftest.
$ac_ext <<_ACEOF
3905 #line $LINENO "configure"
3908 cat confdefs.h
>>conftest.
$ac_ext
3909 cat >>conftest.
$ac_ext <<_ACEOF
3910 /* end confdefs.h. */
3911 #include <features.h>
3912 #if defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1
3916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3917 $EGREP "yes" >/dev
/null
2>&1; then
3919 CFLAGS
="-DINET6 $CFLAGS"
3925 if test -d /usr
/inet6
-o -f /usr
/include
/netinet
/ip6.h
; then
3928 ipv6libdir
=/usr
/inet
6/lib
3930 CFLAGS
="-DINET6 -I/usr/inet6/include $CFLAGS"
3934 cat >conftest.
$ac_ext <<_ACEOF
3935 #line $LINENO "configure"
3938 cat confdefs.h
>>conftest.
$ac_ext
3939 cat >>conftest.
$ac_ext <<_ACEOF
3940 /* end confdefs.h. */
3941 #include <sys/param.h>
3942 #ifdef _TOSHIBA_INET6
3946 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3947 $EGREP "yes" >/dev
/null
2>&1; then
3950 ipv6libdir
=/usr
/local
/v
6/lib
;
3951 CFLAGS
="-DINET6 $CFLAGS"
3957 cat >conftest.
$ac_ext <<_ACEOF
3958 #line $LINENO "configure"
3961 cat confdefs.h
>>conftest.
$ac_ext
3962 cat >>conftest.
$ac_ext <<_ACEOF
3963 /* end confdefs.h. */
3964 #include </usr/local/v6/include/sys/v6config.h>
3969 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3970 $EGREP "yes" >/dev
/null
2>&1; then
3973 ipv6libdir
=/usr
/local
/v
6/lib
;
3974 CFLAGS
="-I/usr/local/v6/include $CFLAGS"
3980 cat >conftest.
$ac_ext <<_ACEOF
3981 #line $LINENO "configure"
3984 cat confdefs.h
>>conftest.
$ac_ext
3985 cat >>conftest.
$ac_ext <<_ACEOF
3986 /* end confdefs.h. */
3987 #include <sys/param.h>
3988 #ifdef _ZETA_MINAMI_INET6
3992 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3993 $EGREP "yes" >/dev
/null
2>&1; then
3996 ipv6libdir
=/usr
/local
/v
6/lib
;
3997 CFLAGS
="-DINET6 $CFLAGS"
4003 if test "$ipv6type" != "unknown"; then
4007 echo "$as_me:$LINENO: result: $ipv6type" >&5
4008 echo "${ECHO_T}$ipv6type" >&6
4011 if test "$ipv6" = "yes" -a "$ipv6lib" != "none"; then
4012 if test -d $ipv6libdir -a -f $ipv6libdir/lib
$ipv6lib.a
; then
4013 LIBS
="-L$ipv6libdir -l$ipv6lib $LIBS"
4014 echo "You have $ipv6lib library, using it"
4016 if test "$ipv6trylibc" = "yes"; then
4017 echo "You do not have $ipv6lib library, using libc"
4019 echo 'Fatal: no $ipv6lib library found. cannot continue.'
4020 echo "You need to fetch lib$ipv6lib.a from appropriate"
4021 echo 'ipv6 kit and compile beforehand.'
4028 if test "$ipv6" = "yes"; then
4030 # XXX - on Tru64 UNIX 5.1, there is no "getaddrinfo()"
4031 # function in libc; there are "ngetaddrinfo()" and
4032 # "ogetaddrinfo()" functions, and <netdb.h> #defines
4033 # "getaddrinfo" to be either "ngetaddrinfo" or
4034 # "ogetaddrinfo", depending on whether _SOCKADDR_LEN
4035 # or _XOPEN_SOURCE_EXTENDED are defined or not.
4037 # So this test doesn't work on Tru64 5.1, and possibly
4038 # on other 5.x releases. This causes the configure
4039 # script to become confused, and results in libpcap
4040 # being unbuildable.
4042 echo "$as_me:$LINENO: checking for library containing getaddrinfo" >&5
4043 echo $ECHO_N "checking for library containing getaddrinfo... $ECHO_C" >&6
4044 if test "${ac_cv_search_getaddrinfo+set}" = set; then
4045 echo $ECHO_N "(cached) $ECHO_C" >&6
4047 ac_func_search_save_LIBS
=$LIBS
4048 ac_cv_search_getaddrinfo
=no
4049 cat >conftest.
$ac_ext <<_ACEOF
4050 #line $LINENO "configure"
4053 cat confdefs.h
>>conftest.
$ac_ext
4054 cat >>conftest.
$ac_ext <<_ACEOF
4055 /* end confdefs.h. */
4057 /* Override any gcc2 internal prototype to avoid an error. */
4061 /* We use char because int might match the return type of a gcc2
4062 builtin and then its argument prototype would still apply. */
4063 char getaddrinfo ();
4072 rm -f conftest.
$ac_objext conftest
$ac_exeext
4073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4074 (eval $ac_link) 2>&5
4076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4077 (exit $ac_status); } &&
4078 { ac_try
='test -s conftest$ac_exeext'
4079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4083 (exit $ac_status); }; }; then
4084 ac_cv_search_getaddrinfo
="none required"
4086 echo "$as_me: failed program was:" >&5
4087 sed 's/^/| /' conftest.
$ac_ext >&5
4090 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4091 if test "$ac_cv_search_getaddrinfo" = no
; then
4092 for ac_lib
in socket
; do
4093 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4094 cat >conftest.
$ac_ext <<_ACEOF
4095 #line $LINENO "configure"
4098 cat confdefs.h
>>conftest.
$ac_ext
4099 cat >>conftest.
$ac_ext <<_ACEOF
4100 /* end confdefs.h. */
4102 /* Override any gcc2 internal prototype to avoid an error. */
4106 /* We use char because int might match the return type of a gcc2
4107 builtin and then its argument prototype would still apply. */
4108 char getaddrinfo ();
4117 rm -f conftest.
$ac_objext conftest
$ac_exeext
4118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4119 (eval $ac_link) 2>&5
4121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4122 (exit $ac_status); } &&
4123 { ac_try
='test -s conftest$ac_exeext'
4124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4128 (exit $ac_status); }; }; then
4129 ac_cv_search_getaddrinfo
="-l$ac_lib"
4132 echo "$as_me: failed program was:" >&5
4133 sed 's/^/| /' conftest.
$ac_ext >&5
4136 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4139 LIBS
=$ac_func_search_save_LIBS
4141 echo "$as_me:$LINENO: result: $ac_cv_search_getaddrinfo" >&5
4142 echo "${ECHO_T}$ac_cv_search_getaddrinfo" >&6
4143 if test "$ac_cv_search_getaddrinfo" != no
; then
4144 test "$ac_cv_search_getaddrinfo" = "none required" || LIBS
="$ac_cv_search_getaddrinfo $LIBS"
4145 echo "$as_me:$LINENO: checking getaddrinfo bug" >&5
4146 echo $ECHO_N "checking getaddrinfo bug... $ECHO_C" >&6
4147 if test "${td_cv_buggygetaddrinfo+set}" = set; then
4148 echo $ECHO_N "(cached) $ECHO_C" >&6
4150 if test "$cross_compiling" = yes; then
4151 td_cv_buggygetaddrinfo
=yes
4153 cat >conftest.
$ac_ext <<_ACEOF
4154 #line $LINENO "configure"
4157 cat confdefs.h
>>conftest.
$ac_ext
4158 cat >>conftest.
$ac_ext <<_ACEOF
4159 /* end confdefs.h. */
4161 #include <sys/types.h>
4164 #include <sys/socket.h>
4165 #include <netinet/in.h>
4169 int passive, gaierr, inet4 = 0, inet6 = 0;
4170 struct addrinfo hints, *ai, *aitop;
4171 char straddr[INET6_ADDRSTRLEN], strport[16];
4173 for (passive = 0; passive <= 1; passive++) {
4174 memset(&hints, 0, sizeof(hints));
4175 hints.ai_family = AF_UNSPEC;
4176 hints.ai_flags = passive ? AI_PASSIVE : 0;
4177 hints.ai_socktype = SOCK_STREAM;
4178 hints.ai_protocol = IPPROTO_TCP;
4179 if ((gaierr = getaddrinfo(NULL, "54321", &hints, &aitop)) != 0) {
4180 (void)gai_strerror(gaierr);
4183 for (ai = aitop; ai; ai = ai->ai_next) {
4184 if (ai->ai_addr == NULL ||
4185 ai->ai_addrlen == 0 ||
4186 getnameinfo(ai->ai_addr, ai->ai_addrlen,
4187 straddr, sizeof(straddr), strport, sizeof(strport),
4188 NI_NUMERICHOST|NI_NUMERICSERV) != 0) {
4191 switch (ai->ai_family) {
4193 if (strcmp(strport, "54321") != 0) {
4197 if (strcmp(straddr, "0.0.0.0") != 0) {
4201 if (strcmp(straddr, "127.0.0.1") != 0) {
4208 if (strcmp(strport, "54321") != 0) {
4212 if (strcmp(straddr, "::") != 0) {
4216 if (strcmp(straddr, "::1") != 0) {
4233 /* another family support? */
4239 /* supported family should be 2, unsupported family should be 0 */
4240 if (!(inet4 == 0 || inet4 == 2))
4242 if (!(inet6 == 0 || inet6 == 2))
4246 freeaddrinfo(aitop);
4251 freeaddrinfo(aitop);
4256 rm -f conftest
$ac_exeext
4257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4258 (eval $ac_link) 2>&5
4260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4261 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4266 (exit $ac_status); }; }; then
4267 td_cv_buggygetaddrinfo
=no
4269 echo "$as_me: program exited with status $ac_status" >&5
4270 echo "$as_me: failed program was:" >&5
4271 sed 's/^/| /' conftest.
$ac_ext >&5
4274 td_cv_buggygetaddrinfo
=yes
4276 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4280 if test "$td_cv_buggygetaddrinfo" = no
; then
4281 echo "$as_me:$LINENO: result: good" >&5
4282 echo "${ECHO_T}good" >&6
4284 echo "$as_me:$LINENO: result: buggy" >&5
4285 echo "${ECHO_T}buggy" >&6
4288 if test "$td_cv_buggygetaddrinfo" = "yes"; then
4290 # XXX - it doesn't appear that "ipv6type" can ever be
4291 # set to "linux". Should this be testing for
4292 # "linux-glibc", or for that *or* "linux-libinet6"?
4293 # If the latter, note that "linux-libinet6" is also
4294 # the type given to some non-Linux OSes.
4296 if test "$ipv6type" != "linux"; then
4297 echo 'Fatal: You must get working getaddrinfo() function.'
4298 echo ' or you can specify "--disable-ipv6"'.
4301 echo 'Warning: getaddrinfo() implementation on your system seems be buggy.'
4302 echo ' Better upgrade your system library to newest version'
4303 echo ' of GNU C library (aka glibc).'
4311 for ac_func
in getaddrinfo getnameinfo
4313 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4314 echo "$as_me:$LINENO: checking for $ac_func" >&5
4315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4316 if eval "test \"\${$as_ac_var+set}\" = set"; then
4317 echo $ECHO_N "(cached) $ECHO_C" >&6
4319 cat >conftest.
$ac_ext <<_ACEOF
4320 #line $LINENO "configure"
4323 cat confdefs.h
>>conftest.
$ac_ext
4324 cat >>conftest.
$ac_ext <<_ACEOF
4325 /* end confdefs.h. */
4326 /* System header to define __stub macros and hopefully few prototypes,
4327 which can conflict with char $ac_func (); below.
4328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4329 <limits.h> exists even on freestanding compilers. */
4331 # include <limits.h>
4333 # include <assert.h>
4335 /* Override any gcc2 internal prototype to avoid an error. */
4340 /* We use char because int might match the return type of a gcc2
4341 builtin and then its argument prototype would still apply. */
4343 /* The GNU C library defines this for functions which it implements
4344 to always fail with ENOSYS. Some functions are actually named
4345 something starting with __ and the normal name is an alias. */
4346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4349 char (*f) () = $ac_func;
4358 return f != $ac_func;
4363 rm -f conftest.
$ac_objext conftest
$ac_exeext
4364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4365 (eval $ac_link) 2>&5
4367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4368 (exit $ac_status); } &&
4369 { ac_try
='test -s conftest$ac_exeext'
4370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4374 (exit $ac_status); }; }; then
4375 eval "$as_ac_var=yes"
4377 echo "$as_me: failed program was:" >&5
4378 sed 's/^/| /' conftest.
$ac_ext >&5
4380 eval "$as_ac_var=no"
4382 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4386 if test `eval echo '${'$as_ac_var'}'` = yes; then
4387 cat >>confdefs.h
<<_ACEOF
4388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4392 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
4399 echo "$as_me:$LINENO: checking for dnet_htoa declaration in netdnet/dnetdb.h" >&5
4400 echo $ECHO_N "checking for dnet_htoa declaration in netdnet/dnetdb.h... $ECHO_C" >&6
4401 if test "${td_cv_decl_netdnet_dnetdb_h_dnet_htoa+set}" = set; then
4402 echo $ECHO_N "(cached) $ECHO_C" >&6
4404 cat >conftest.
$ac_ext <<_ACEOF
4405 #line $LINENO "configure"
4408 cat confdefs.h
>>conftest.
$ac_ext
4409 cat >>conftest.
$ac_ext <<_ACEOF
4410 /* end confdefs.h. */
4411 #include <netdnet/dnetdb.h>
4414 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4415 $EGREP "dnet_htoa" >/dev
/null
2>&1; then
4416 td_cv_decl_netdnet_dnetdb_h_dnet_htoa
=yes
4418 td_cv_decl_netdnet_dnetdb_h_dnet_htoa
=no
4423 echo "$as_me:$LINENO: result: $td_cv_decl_netdnet_dnetdb_h_dnet_htoa" >&5
4424 echo "${ECHO_T}$td_cv_decl_netdnet_dnetdb_h_dnet_htoa" >&6
4425 if test "$td_cv_decl_netdnet_dnetdb_h_dnet_htoa" = yes; then
4426 cat >>confdefs.h
<<\_ACEOF
4427 #define HAVE_NETDNET_DNETDB_H_DNET_HTOA 1
4432 echo "$as_me:$LINENO: checking for char" >&5
4433 echo $ECHO_N "checking for char... $ECHO_C" >&6
4434 if test "${ac_cv_type_char+set}" = set; then
4435 echo $ECHO_N "(cached) $ECHO_C" >&6
4437 cat >conftest.
$ac_ext <<_ACEOF
4438 #line $LINENO "configure"
4441 cat confdefs.h
>>conftest.
$ac_ext
4442 cat >>conftest.
$ac_ext <<_ACEOF
4443 /* end confdefs.h. */
4444 $ac_includes_default
4456 rm -f conftest.
$ac_objext
4457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4458 (eval $ac_compile) 2>&5
4460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4461 (exit $ac_status); } &&
4462 { ac_try
='test -s conftest.$ac_objext'
4463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4467 (exit $ac_status); }; }; then
4470 echo "$as_me: failed program was:" >&5
4471 sed 's/^/| /' conftest.
$ac_ext >&5
4475 rm -f conftest.
$ac_objext conftest.
$ac_ext
4477 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
4478 echo "${ECHO_T}$ac_cv_type_char" >&6
4480 echo "$as_me:$LINENO: checking size of char" >&5
4481 echo $ECHO_N "checking size of char... $ECHO_C" >&6
4482 if test "${ac_cv_sizeof_char+set}" = set; then
4483 echo $ECHO_N "(cached) $ECHO_C" >&6
4485 if test "$ac_cv_type_char" = yes; then
4486 # The cast to unsigned long works around a bug in the HP C Compiler
4487 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4488 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4489 # This bug is HP SR number 8606223364.
4490 if test "$cross_compiling" = yes; then
4491 # Depending upon the size, compute the lo and hi bounds.
4492 cat >conftest.
$ac_ext <<_ACEOF
4493 #line $LINENO "configure"
4496 cat confdefs.h
>>conftest.
$ac_ext
4497 cat >>conftest.
$ac_ext <<_ACEOF
4498 /* end confdefs.h. */
4499 $ac_includes_default
4503 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
4510 rm -f conftest.
$ac_objext
4511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4512 (eval $ac_compile) 2>&5
4514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4515 (exit $ac_status); } &&
4516 { ac_try
='test -s conftest.$ac_objext'
4517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521 (exit $ac_status); }; }; then
4524 cat >conftest.
$ac_ext <<_ACEOF
4525 #line $LINENO "configure"
4528 cat confdefs.h
>>conftest.
$ac_ext
4529 cat >>conftest.
$ac_ext <<_ACEOF
4530 /* end confdefs.h. */
4531 $ac_includes_default
4535 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
4542 rm -f conftest.
$ac_objext
4543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4544 (eval $ac_compile) 2>&5
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); } &&
4548 { ac_try
='test -s conftest.$ac_objext'
4549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4553 (exit $ac_status); }; }; then
4554 ac_hi
=$ac_mid; break
4556 echo "$as_me: failed program was:" >&5
4557 sed 's/^/| /' conftest.
$ac_ext >&5
4559 ac_lo
=`expr $ac_mid + 1`
4560 if test $ac_lo -le $ac_mid; then
4564 ac_mid
=`expr 2 '*' $ac_mid + 1`
4566 rm -f conftest.
$ac_objext conftest.
$ac_ext
4569 echo "$as_me: failed program was:" >&5
4570 sed 's/^/| /' conftest.
$ac_ext >&5
4572 cat >conftest.
$ac_ext <<_ACEOF
4573 #line $LINENO "configure"
4576 cat confdefs.h
>>conftest.
$ac_ext
4577 cat >>conftest.
$ac_ext <<_ACEOF
4578 /* end confdefs.h. */
4579 $ac_includes_default
4583 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
4590 rm -f conftest.
$ac_objext
4591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4592 (eval $ac_compile) 2>&5
4594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595 (exit $ac_status); } &&
4596 { ac_try
='test -s conftest.$ac_objext'
4597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4601 (exit $ac_status); }; }; then
4604 cat >conftest.
$ac_ext <<_ACEOF
4605 #line $LINENO "configure"
4608 cat confdefs.h
>>conftest.
$ac_ext
4609 cat >>conftest.
$ac_ext <<_ACEOF
4610 /* end confdefs.h. */
4611 $ac_includes_default
4615 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
4622 rm -f conftest.
$ac_objext
4623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4624 (eval $ac_compile) 2>&5
4626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4627 (exit $ac_status); } &&
4628 { ac_try
='test -s conftest.$ac_objext'
4629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4633 (exit $ac_status); }; }; then
4634 ac_lo
=$ac_mid; break
4636 echo "$as_me: failed program was:" >&5
4637 sed 's/^/| /' conftest.
$ac_ext >&5
4639 ac_hi
=`expr '(' $ac_mid ')' - 1`
4640 if test $ac_mid -le $ac_hi; then
4644 ac_mid
=`expr 2 '*' $ac_mid`
4646 rm -f conftest.
$ac_objext conftest.
$ac_ext
4649 echo "$as_me: failed program was:" >&5
4650 sed 's/^/| /' conftest.
$ac_ext >&5
4654 rm -f conftest.
$ac_objext conftest.
$ac_ext
4656 rm -f conftest.
$ac_objext conftest.
$ac_ext
4657 # Binary search between lo and hi bounds.
4658 while test "x$ac_lo" != "x$ac_hi"; do
4659 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4660 cat >conftest.
$ac_ext <<_ACEOF
4661 #line $LINENO "configure"
4664 cat confdefs.h
>>conftest.
$ac_ext
4665 cat >>conftest.
$ac_ext <<_ACEOF
4666 /* end confdefs.h. */
4667 $ac_includes_default
4671 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
4678 rm -f conftest.
$ac_objext
4679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4680 (eval $ac_compile) 2>&5
4682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683 (exit $ac_status); } &&
4684 { ac_try
='test -s conftest.$ac_objext'
4685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4689 (exit $ac_status); }; }; then
4692 echo "$as_me: failed program was:" >&5
4693 sed 's/^/| /' conftest.
$ac_ext >&5
4695 ac_lo
=`expr '(' $ac_mid ')' + 1`
4697 rm -f conftest.
$ac_objext conftest.
$ac_ext
4700 ?
*) ac_cv_sizeof_char
=$ac_lo;;
4701 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
4702 See \`config.log' for more details." >&5
4703 echo "$as_me: error: cannot compute sizeof (char), 77
4704 See \`config.log' for more details." >&2;}
4705 { (exit 1); exit 1; }; } ;;
4708 if test "$cross_compiling" = yes; then
4709 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4710 See \`config.log' for more details." >&5
4711 echo "$as_me: error: cannot run test program while cross compiling
4712 See \`config.log' for more details." >&2;}
4713 { (exit 1); exit 1; }; }
4715 cat >conftest.
$ac_ext <<_ACEOF
4716 #line $LINENO "configure"
4719 cat confdefs.h
>>conftest.
$ac_ext
4720 cat >>conftest.
$ac_ext <<_ACEOF
4721 /* end confdefs.h. */
4722 $ac_includes_default
4723 long longval () { return (long) (sizeof (char)); }
4724 unsigned long ulongval () { return (long) (sizeof (char)); }
4731 FILE *f = fopen ("conftest.val", "w");
4734 if (((long) (sizeof (char))) < 0)
4736 long i = longval ();
4737 if (i != ((long) (sizeof (char))))
4739 fprintf (f, "%ld\n", i);
4743 unsigned long i = ulongval ();
4744 if (i != ((long) (sizeof (char))))
4746 fprintf (f, "%lu\n", i);
4748 exit (ferror (f) || fclose (f) != 0);
4754 rm -f conftest
$ac_exeext
4755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4756 (eval $ac_link) 2>&5
4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4764 (exit $ac_status); }; }; then
4765 ac_cv_sizeof_char
=`cat conftest.val`
4767 echo "$as_me: program exited with status $ac_status" >&5
4768 echo "$as_me: failed program was:" >&5
4769 sed 's/^/| /' conftest.
$ac_ext >&5
4772 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
4773 See \`config.log' for more details." >&5
4774 echo "$as_me: error: cannot compute sizeof (char), 77
4775 See \`config.log' for more details." >&2;}
4776 { (exit 1); exit 1; }; }
4778 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4786 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
4787 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
4788 cat >>confdefs.h
<<_ACEOF
4789 #define SIZEOF_CHAR $ac_cv_sizeof_char
4793 echo "$as_me:$LINENO: checking for short" >&5
4794 echo $ECHO_N "checking for short... $ECHO_C" >&6
4795 if test "${ac_cv_type_short+set}" = set; then
4796 echo $ECHO_N "(cached) $ECHO_C" >&6
4798 cat >conftest.
$ac_ext <<_ACEOF
4799 #line $LINENO "configure"
4802 cat confdefs.h
>>conftest.
$ac_ext
4803 cat >>conftest.
$ac_ext <<_ACEOF
4804 /* end confdefs.h. */
4805 $ac_includes_default
4817 rm -f conftest.
$ac_objext
4818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4819 (eval $ac_compile) 2>&5
4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4822 (exit $ac_status); } &&
4823 { ac_try
='test -s conftest.$ac_objext'
4824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); }; }; then
4829 ac_cv_type_short
=yes
4831 echo "$as_me: failed program was:" >&5
4832 sed 's/^/| /' conftest.
$ac_ext >&5
4836 rm -f conftest.
$ac_objext conftest.
$ac_ext
4838 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
4839 echo "${ECHO_T}$ac_cv_type_short" >&6
4841 echo "$as_me:$LINENO: checking size of short" >&5
4842 echo $ECHO_N "checking size of short... $ECHO_C" >&6
4843 if test "${ac_cv_sizeof_short+set}" = set; then
4844 echo $ECHO_N "(cached) $ECHO_C" >&6
4846 if test "$ac_cv_type_short" = yes; then
4847 # The cast to unsigned long works around a bug in the HP C Compiler
4848 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4849 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4850 # This bug is HP SR number 8606223364.
4851 if test "$cross_compiling" = yes; then
4852 # Depending upon the size, compute the lo and hi bounds.
4853 cat >conftest.
$ac_ext <<_ACEOF
4854 #line $LINENO "configure"
4857 cat confdefs.h
>>conftest.
$ac_ext
4858 cat >>conftest.
$ac_ext <<_ACEOF
4859 /* end confdefs.h. */
4860 $ac_includes_default
4864 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
4871 rm -f conftest.
$ac_objext
4872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4873 (eval $ac_compile) 2>&5
4875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4876 (exit $ac_status); } &&
4877 { ac_try
='test -s conftest.$ac_objext'
4878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4882 (exit $ac_status); }; }; then
4885 cat >conftest.
$ac_ext <<_ACEOF
4886 #line $LINENO "configure"
4889 cat confdefs.h
>>conftest.
$ac_ext
4890 cat >>conftest.
$ac_ext <<_ACEOF
4891 /* end confdefs.h. */
4892 $ac_includes_default
4896 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
4903 rm -f conftest.
$ac_objext
4904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4905 (eval $ac_compile) 2>&5
4907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4908 (exit $ac_status); } &&
4909 { ac_try
='test -s conftest.$ac_objext'
4910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4914 (exit $ac_status); }; }; then
4915 ac_hi
=$ac_mid; break
4917 echo "$as_me: failed program was:" >&5
4918 sed 's/^/| /' conftest.
$ac_ext >&5
4920 ac_lo
=`expr $ac_mid + 1`
4921 if test $ac_lo -le $ac_mid; then
4925 ac_mid
=`expr 2 '*' $ac_mid + 1`
4927 rm -f conftest.
$ac_objext conftest.
$ac_ext
4930 echo "$as_me: failed program was:" >&5
4931 sed 's/^/| /' conftest.
$ac_ext >&5
4933 cat >conftest.
$ac_ext <<_ACEOF
4934 #line $LINENO "configure"
4937 cat confdefs.h
>>conftest.
$ac_ext
4938 cat >>conftest.
$ac_ext <<_ACEOF
4939 /* end confdefs.h. */
4940 $ac_includes_default
4944 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
4951 rm -f conftest.
$ac_objext
4952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4953 (eval $ac_compile) 2>&5
4955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4956 (exit $ac_status); } &&
4957 { ac_try
='test -s conftest.$ac_objext'
4958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4962 (exit $ac_status); }; }; then
4965 cat >conftest.
$ac_ext <<_ACEOF
4966 #line $LINENO "configure"
4969 cat confdefs.h
>>conftest.
$ac_ext
4970 cat >>conftest.
$ac_ext <<_ACEOF
4971 /* end confdefs.h. */
4972 $ac_includes_default
4976 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
4983 rm -f conftest.
$ac_objext
4984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4985 (eval $ac_compile) 2>&5
4987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4988 (exit $ac_status); } &&
4989 { ac_try
='test -s conftest.$ac_objext'
4990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4994 (exit $ac_status); }; }; then
4995 ac_lo
=$ac_mid; break
4997 echo "$as_me: failed program was:" >&5
4998 sed 's/^/| /' conftest.
$ac_ext >&5
5000 ac_hi
=`expr '(' $ac_mid ')' - 1`
5001 if test $ac_mid -le $ac_hi; then
5005 ac_mid
=`expr 2 '*' $ac_mid`
5007 rm -f conftest.
$ac_objext conftest.
$ac_ext
5010 echo "$as_me: failed program was:" >&5
5011 sed 's/^/| /' conftest.
$ac_ext >&5
5015 rm -f conftest.
$ac_objext conftest.
$ac_ext
5017 rm -f conftest.
$ac_objext conftest.
$ac_ext
5018 # Binary search between lo and hi bounds.
5019 while test "x$ac_lo" != "x$ac_hi"; do
5020 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5021 cat >conftest.
$ac_ext <<_ACEOF
5022 #line $LINENO "configure"
5025 cat confdefs.h
>>conftest.
$ac_ext
5026 cat >>conftest.
$ac_ext <<_ACEOF
5027 /* end confdefs.h. */
5028 $ac_includes_default
5032 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
5039 rm -f conftest.
$ac_objext
5040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5041 (eval $ac_compile) 2>&5
5043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5044 (exit $ac_status); } &&
5045 { ac_try
='test -s conftest.$ac_objext'
5046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5050 (exit $ac_status); }; }; then
5053 echo "$as_me: failed program was:" >&5
5054 sed 's/^/| /' conftest.
$ac_ext >&5
5056 ac_lo
=`expr '(' $ac_mid ')' + 1`
5058 rm -f conftest.
$ac_objext conftest.
$ac_ext
5061 ?
*) ac_cv_sizeof_short
=$ac_lo;;
5062 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
5063 See \`config.log' for more details." >&5
5064 echo "$as_me: error: cannot compute sizeof (short), 77
5065 See \`config.log' for more details." >&2;}
5066 { (exit 1); exit 1; }; } ;;
5069 if test "$cross_compiling" = yes; then
5070 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5071 See \`config.log' for more details." >&5
5072 echo "$as_me: error: cannot run test program while cross compiling
5073 See \`config.log' for more details." >&2;}
5074 { (exit 1); exit 1; }; }
5076 cat >conftest.
$ac_ext <<_ACEOF
5077 #line $LINENO "configure"
5080 cat confdefs.h
>>conftest.
$ac_ext
5081 cat >>conftest.
$ac_ext <<_ACEOF
5082 /* end confdefs.h. */
5083 $ac_includes_default
5084 long longval () { return (long) (sizeof (short)); }
5085 unsigned long ulongval () { return (long) (sizeof (short)); }
5092 FILE *f = fopen ("conftest.val", "w");
5095 if (((long) (sizeof (short))) < 0)
5097 long i = longval ();
5098 if (i != ((long) (sizeof (short))))
5100 fprintf (f, "%ld\n", i);
5104 unsigned long i = ulongval ();
5105 if (i != ((long) (sizeof (short))))
5107 fprintf (f, "%lu\n", i);
5109 exit (ferror (f) || fclose (f) != 0);
5115 rm -f conftest
$ac_exeext
5116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5117 (eval $ac_link) 2>&5
5119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5120 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5125 (exit $ac_status); }; }; then
5126 ac_cv_sizeof_short
=`cat conftest.val`
5128 echo "$as_me: program exited with status $ac_status" >&5
5129 echo "$as_me: failed program was:" >&5
5130 sed 's/^/| /' conftest.
$ac_ext >&5
5133 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
5134 See \`config.log' for more details." >&5
5135 echo "$as_me: error: cannot compute sizeof (short), 77
5136 See \`config.log' for more details." >&2;}
5137 { (exit 1); exit 1; }; }
5139 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5144 ac_cv_sizeof_short
=0
5147 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
5148 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
5149 cat >>confdefs.h
<<_ACEOF
5150 #define SIZEOF_SHORT $ac_cv_sizeof_short
5154 echo "$as_me:$LINENO: checking for int" >&5
5155 echo $ECHO_N "checking for int... $ECHO_C" >&6
5156 if test "${ac_cv_type_int+set}" = set; then
5157 echo $ECHO_N "(cached) $ECHO_C" >&6
5159 cat >conftest.
$ac_ext <<_ACEOF
5160 #line $LINENO "configure"
5163 cat confdefs.h
>>conftest.
$ac_ext
5164 cat >>conftest.
$ac_ext <<_ACEOF
5165 /* end confdefs.h. */
5166 $ac_includes_default
5178 rm -f conftest.
$ac_objext
5179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5180 (eval $ac_compile) 2>&5
5182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5183 (exit $ac_status); } &&
5184 { ac_try
='test -s conftest.$ac_objext'
5185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5189 (exit $ac_status); }; }; then
5192 echo "$as_me: failed program was:" >&5
5193 sed 's/^/| /' conftest.
$ac_ext >&5
5197 rm -f conftest.
$ac_objext conftest.
$ac_ext
5199 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
5200 echo "${ECHO_T}$ac_cv_type_int" >&6
5202 echo "$as_me:$LINENO: checking size of int" >&5
5203 echo $ECHO_N "checking size of int... $ECHO_C" >&6
5204 if test "${ac_cv_sizeof_int+set}" = set; then
5205 echo $ECHO_N "(cached) $ECHO_C" >&6
5207 if test "$ac_cv_type_int" = yes; then
5208 # The cast to unsigned long works around a bug in the HP C Compiler
5209 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5210 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5211 # This bug is HP SR number 8606223364.
5212 if test "$cross_compiling" = yes; then
5213 # Depending upon the size, compute the lo and hi bounds.
5214 cat >conftest.
$ac_ext <<_ACEOF
5215 #line $LINENO "configure"
5218 cat confdefs.h
>>conftest.
$ac_ext
5219 cat >>conftest.
$ac_ext <<_ACEOF
5220 /* end confdefs.h. */
5221 $ac_includes_default
5225 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
5232 rm -f conftest.
$ac_objext
5233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5234 (eval $ac_compile) 2>&5
5236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5237 (exit $ac_status); } &&
5238 { ac_try
='test -s conftest.$ac_objext'
5239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5243 (exit $ac_status); }; }; then
5246 cat >conftest.
$ac_ext <<_ACEOF
5247 #line $LINENO "configure"
5250 cat confdefs.h
>>conftest.
$ac_ext
5251 cat >>conftest.
$ac_ext <<_ACEOF
5252 /* end confdefs.h. */
5253 $ac_includes_default
5257 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
5264 rm -f conftest.
$ac_objext
5265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5266 (eval $ac_compile) 2>&5
5268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5269 (exit $ac_status); } &&
5270 { ac_try
='test -s conftest.$ac_objext'
5271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5275 (exit $ac_status); }; }; then
5276 ac_hi
=$ac_mid; break
5278 echo "$as_me: failed program was:" >&5
5279 sed 's/^/| /' conftest.
$ac_ext >&5
5281 ac_lo
=`expr $ac_mid + 1`
5282 if test $ac_lo -le $ac_mid; then
5286 ac_mid
=`expr 2 '*' $ac_mid + 1`
5288 rm -f conftest.
$ac_objext conftest.
$ac_ext
5291 echo "$as_me: failed program was:" >&5
5292 sed 's/^/| /' conftest.
$ac_ext >&5
5294 cat >conftest.
$ac_ext <<_ACEOF
5295 #line $LINENO "configure"
5298 cat confdefs.h
>>conftest.
$ac_ext
5299 cat >>conftest.
$ac_ext <<_ACEOF
5300 /* end confdefs.h. */
5301 $ac_includes_default
5305 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
5312 rm -f conftest.
$ac_objext
5313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5314 (eval $ac_compile) 2>&5
5316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5317 (exit $ac_status); } &&
5318 { ac_try
='test -s conftest.$ac_objext'
5319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5323 (exit $ac_status); }; }; then
5326 cat >conftest.
$ac_ext <<_ACEOF
5327 #line $LINENO "configure"
5330 cat confdefs.h
>>conftest.
$ac_ext
5331 cat >>conftest.
$ac_ext <<_ACEOF
5332 /* end confdefs.h. */
5333 $ac_includes_default
5337 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
5344 rm -f conftest.
$ac_objext
5345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5346 (eval $ac_compile) 2>&5
5348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5349 (exit $ac_status); } &&
5350 { ac_try
='test -s conftest.$ac_objext'
5351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5355 (exit $ac_status); }; }; then
5356 ac_lo
=$ac_mid; break
5358 echo "$as_me: failed program was:" >&5
5359 sed 's/^/| /' conftest.
$ac_ext >&5
5361 ac_hi
=`expr '(' $ac_mid ')' - 1`
5362 if test $ac_mid -le $ac_hi; then
5366 ac_mid
=`expr 2 '*' $ac_mid`
5368 rm -f conftest.
$ac_objext conftest.
$ac_ext
5371 echo "$as_me: failed program was:" >&5
5372 sed 's/^/| /' conftest.
$ac_ext >&5
5376 rm -f conftest.
$ac_objext conftest.
$ac_ext
5378 rm -f conftest.
$ac_objext conftest.
$ac_ext
5379 # Binary search between lo and hi bounds.
5380 while test "x$ac_lo" != "x$ac_hi"; do
5381 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5382 cat >conftest.
$ac_ext <<_ACEOF
5383 #line $LINENO "configure"
5386 cat confdefs.h
>>conftest.
$ac_ext
5387 cat >>conftest.
$ac_ext <<_ACEOF
5388 /* end confdefs.h. */
5389 $ac_includes_default
5393 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
5400 rm -f conftest.
$ac_objext
5401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5402 (eval $ac_compile) 2>&5
5404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5405 (exit $ac_status); } &&
5406 { ac_try
='test -s conftest.$ac_objext'
5407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5411 (exit $ac_status); }; }; then
5414 echo "$as_me: failed program was:" >&5
5415 sed 's/^/| /' conftest.
$ac_ext >&5
5417 ac_lo
=`expr '(' $ac_mid ')' + 1`
5419 rm -f conftest.
$ac_objext conftest.
$ac_ext
5422 ?
*) ac_cv_sizeof_int
=$ac_lo;;
5423 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
5424 See \`config.log' for more details." >&5
5425 echo "$as_me: error: cannot compute sizeof (int), 77
5426 See \`config.log' for more details." >&2;}
5427 { (exit 1); exit 1; }; } ;;
5430 if test "$cross_compiling" = yes; then
5431 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5432 See \`config.log' for more details." >&5
5433 echo "$as_me: error: cannot run test program while cross compiling
5434 See \`config.log' for more details." >&2;}
5435 { (exit 1); exit 1; }; }
5437 cat >conftest.
$ac_ext <<_ACEOF
5438 #line $LINENO "configure"
5441 cat confdefs.h
>>conftest.
$ac_ext
5442 cat >>conftest.
$ac_ext <<_ACEOF
5443 /* end confdefs.h. */
5444 $ac_includes_default
5445 long longval () { return (long) (sizeof (int)); }
5446 unsigned long ulongval () { return (long) (sizeof (int)); }
5453 FILE *f = fopen ("conftest.val", "w");
5456 if (((long) (sizeof (int))) < 0)
5458 long i = longval ();
5459 if (i != ((long) (sizeof (int))))
5461 fprintf (f, "%ld\n", i);
5465 unsigned long i = ulongval ();
5466 if (i != ((long) (sizeof (int))))
5468 fprintf (f, "%lu\n", i);
5470 exit (ferror (f) || fclose (f) != 0);
5476 rm -f conftest
$ac_exeext
5477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5478 (eval $ac_link) 2>&5
5480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5481 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5486 (exit $ac_status); }; }; then
5487 ac_cv_sizeof_int
=`cat conftest.val`
5489 echo "$as_me: program exited with status $ac_status" >&5
5490 echo "$as_me: failed program was:" >&5
5491 sed 's/^/| /' conftest.
$ac_ext >&5
5494 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
5495 See \`config.log' for more details." >&5
5496 echo "$as_me: error: cannot compute sizeof (int), 77
5497 See \`config.log' for more details." >&2;}
5498 { (exit 1); exit 1; }; }
5500 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5508 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
5509 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
5510 cat >>confdefs.h
<<_ACEOF
5511 #define SIZEOF_INT $ac_cv_sizeof_int
5515 echo "$as_me:$LINENO: checking for long" >&5
5516 echo $ECHO_N "checking for long... $ECHO_C" >&6
5517 if test "${ac_cv_type_long+set}" = set; then
5518 echo $ECHO_N "(cached) $ECHO_C" >&6
5520 cat >conftest.
$ac_ext <<_ACEOF
5521 #line $LINENO "configure"
5524 cat confdefs.h
>>conftest.
$ac_ext
5525 cat >>conftest.
$ac_ext <<_ACEOF
5526 /* end confdefs.h. */
5527 $ac_includes_default
5539 rm -f conftest.
$ac_objext
5540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5541 (eval $ac_compile) 2>&5
5543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5544 (exit $ac_status); } &&
5545 { ac_try
='test -s conftest.$ac_objext'
5546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5550 (exit $ac_status); }; }; then
5553 echo "$as_me: failed program was:" >&5
5554 sed 's/^/| /' conftest.
$ac_ext >&5
5558 rm -f conftest.
$ac_objext conftest.
$ac_ext
5560 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
5561 echo "${ECHO_T}$ac_cv_type_long" >&6
5563 echo "$as_me:$LINENO: checking size of long" >&5
5564 echo $ECHO_N "checking size of long... $ECHO_C" >&6
5565 if test "${ac_cv_sizeof_long+set}" = set; then
5566 echo $ECHO_N "(cached) $ECHO_C" >&6
5568 if test "$ac_cv_type_long" = yes; then
5569 # The cast to unsigned long works around a bug in the HP C Compiler
5570 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5571 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5572 # This bug is HP SR number 8606223364.
5573 if test "$cross_compiling" = yes; then
5574 # Depending upon the size, compute the lo and hi bounds.
5575 cat >conftest.
$ac_ext <<_ACEOF
5576 #line $LINENO "configure"
5579 cat confdefs.h
>>conftest.
$ac_ext
5580 cat >>conftest.
$ac_ext <<_ACEOF
5581 /* end confdefs.h. */
5582 $ac_includes_default
5586 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
5593 rm -f conftest.
$ac_objext
5594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5595 (eval $ac_compile) 2>&5
5597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5598 (exit $ac_status); } &&
5599 { ac_try
='test -s conftest.$ac_objext'
5600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5604 (exit $ac_status); }; }; then
5607 cat >conftest.
$ac_ext <<_ACEOF
5608 #line $LINENO "configure"
5611 cat confdefs.h
>>conftest.
$ac_ext
5612 cat >>conftest.
$ac_ext <<_ACEOF
5613 /* end confdefs.h. */
5614 $ac_includes_default
5618 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
5625 rm -f conftest.
$ac_objext
5626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5627 (eval $ac_compile) 2>&5
5629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5630 (exit $ac_status); } &&
5631 { ac_try
='test -s conftest.$ac_objext'
5632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5636 (exit $ac_status); }; }; then
5637 ac_hi
=$ac_mid; break
5639 echo "$as_me: failed program was:" >&5
5640 sed 's/^/| /' conftest.
$ac_ext >&5
5642 ac_lo
=`expr $ac_mid + 1`
5643 if test $ac_lo -le $ac_mid; then
5647 ac_mid
=`expr 2 '*' $ac_mid + 1`
5649 rm -f conftest.
$ac_objext conftest.
$ac_ext
5652 echo "$as_me: failed program was:" >&5
5653 sed 's/^/| /' conftest.
$ac_ext >&5
5655 cat >conftest.
$ac_ext <<_ACEOF
5656 #line $LINENO "configure"
5659 cat confdefs.h
>>conftest.
$ac_ext
5660 cat >>conftest.
$ac_ext <<_ACEOF
5661 /* end confdefs.h. */
5662 $ac_includes_default
5666 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
5673 rm -f conftest.
$ac_objext
5674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5675 (eval $ac_compile) 2>&5
5677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5678 (exit $ac_status); } &&
5679 { ac_try
='test -s conftest.$ac_objext'
5680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5684 (exit $ac_status); }; }; then
5687 cat >conftest.
$ac_ext <<_ACEOF
5688 #line $LINENO "configure"
5691 cat confdefs.h
>>conftest.
$ac_ext
5692 cat >>conftest.
$ac_ext <<_ACEOF
5693 /* end confdefs.h. */
5694 $ac_includes_default
5698 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
5705 rm -f conftest.
$ac_objext
5706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5707 (eval $ac_compile) 2>&5
5709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5710 (exit $ac_status); } &&
5711 { ac_try
='test -s conftest.$ac_objext'
5712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5716 (exit $ac_status); }; }; then
5717 ac_lo
=$ac_mid; break
5719 echo "$as_me: failed program was:" >&5
5720 sed 's/^/| /' conftest.
$ac_ext >&5
5722 ac_hi
=`expr '(' $ac_mid ')' - 1`
5723 if test $ac_mid -le $ac_hi; then
5727 ac_mid
=`expr 2 '*' $ac_mid`
5729 rm -f conftest.
$ac_objext conftest.
$ac_ext
5732 echo "$as_me: failed program was:" >&5
5733 sed 's/^/| /' conftest.
$ac_ext >&5
5737 rm -f conftest.
$ac_objext conftest.
$ac_ext
5739 rm -f conftest.
$ac_objext conftest.
$ac_ext
5740 # Binary search between lo and hi bounds.
5741 while test "x$ac_lo" != "x$ac_hi"; do
5742 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5743 cat >conftest.
$ac_ext <<_ACEOF
5744 #line $LINENO "configure"
5747 cat confdefs.h
>>conftest.
$ac_ext
5748 cat >>conftest.
$ac_ext <<_ACEOF
5749 /* end confdefs.h. */
5750 $ac_includes_default
5754 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
5761 rm -f conftest.
$ac_objext
5762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5763 (eval $ac_compile) 2>&5
5765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5766 (exit $ac_status); } &&
5767 { ac_try
='test -s conftest.$ac_objext'
5768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5772 (exit $ac_status); }; }; then
5775 echo "$as_me: failed program was:" >&5
5776 sed 's/^/| /' conftest.
$ac_ext >&5
5778 ac_lo
=`expr '(' $ac_mid ')' + 1`
5780 rm -f conftest.
$ac_objext conftest.
$ac_ext
5783 ?
*) ac_cv_sizeof_long
=$ac_lo;;
5784 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
5785 See \`config.log' for more details." >&5
5786 echo "$as_me: error: cannot compute sizeof (long), 77
5787 See \`config.log' for more details." >&2;}
5788 { (exit 1); exit 1; }; } ;;
5791 if test "$cross_compiling" = yes; then
5792 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5793 See \`config.log' for more details." >&5
5794 echo "$as_me: error: cannot run test program while cross compiling
5795 See \`config.log' for more details." >&2;}
5796 { (exit 1); exit 1; }; }
5798 cat >conftest.
$ac_ext <<_ACEOF
5799 #line $LINENO "configure"
5802 cat confdefs.h
>>conftest.
$ac_ext
5803 cat >>conftest.
$ac_ext <<_ACEOF
5804 /* end confdefs.h. */
5805 $ac_includes_default
5806 long longval () { return (long) (sizeof (long)); }
5807 unsigned long ulongval () { return (long) (sizeof (long)); }
5814 FILE *f = fopen ("conftest.val", "w");
5817 if (((long) (sizeof (long))) < 0)
5819 long i = longval ();
5820 if (i != ((long) (sizeof (long))))
5822 fprintf (f, "%ld\n", i);
5826 unsigned long i = ulongval ();
5827 if (i != ((long) (sizeof (long))))
5829 fprintf (f, "%lu\n", i);
5831 exit (ferror (f) || fclose (f) != 0);
5837 rm -f conftest
$ac_exeext
5838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5839 (eval $ac_link) 2>&5
5841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5842 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5847 (exit $ac_status); }; }; then
5848 ac_cv_sizeof_long
=`cat conftest.val`
5850 echo "$as_me: program exited with status $ac_status" >&5
5851 echo "$as_me: failed program was:" >&5
5852 sed 's/^/| /' conftest.
$ac_ext >&5
5855 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
5856 See \`config.log' for more details." >&5
5857 echo "$as_me: error: cannot compute sizeof (long), 77
5858 See \`config.log' for more details." >&2;}
5859 { (exit 1); exit 1; }; }
5861 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5869 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
5870 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
5871 cat >>confdefs.h
<<_ACEOF
5872 #define SIZEOF_LONG $ac_cv_sizeof_long
5879 echo "$as_me:$LINENO: checking for addrinfo" >&5
5880 echo $ECHO_N "checking for addrinfo... $ECHO_C" >&6
5881 if test "${ac_cv_addrinfo+set}" = set; then
5882 echo $ECHO_N "(cached) $ECHO_C" >&6
5884 cat >conftest.
$ac_ext <<_ACEOF
5885 #line $LINENO "configure"
5888 cat confdefs.h
>>conftest.
$ac_ext
5889 cat >>conftest.
$ac_ext <<_ACEOF
5890 /* end confdefs.h. */
5901 rm -f conftest.
$ac_objext
5902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5903 (eval $ac_compile) 2>&5
5905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5906 (exit $ac_status); } &&
5907 { ac_try
='test -s conftest.$ac_objext'
5908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5912 (exit $ac_status); }; }; then
5915 echo "$as_me: failed program was:" >&5
5916 sed 's/^/| /' conftest.
$ac_ext >&5
5920 rm -f conftest.
$ac_objext conftest.
$ac_ext
5923 echo "$as_me:$LINENO: result: $ac_cv_addrinfo" >&5
5924 echo "${ECHO_T}$ac_cv_addrinfo" >&6
5925 if test $ac_cv_addrinfo = yes; then
5926 cat >>confdefs.h
<<\_ACEOF
5927 #define HAVE_ADDRINFO 1
5931 cat >>confdefs.h
<<\_ACEOF
5932 #define NEED_ADDRINFO_H 1
5937 if test "$ac_cv_addrinfo" = no
; then
5938 missing_includes
=yes
5942 echo "$as_me:$LINENO: checking for NI_MAXSERV" >&5
5943 echo $ECHO_N "checking for NI_MAXSERV... $ECHO_C" >&6
5944 if test "${ac_cv_maxserv+set}" = set; then
5945 echo $ECHO_N "(cached) $ECHO_C" >&6
5947 cat >conftest.
$ac_ext <<_ACEOF
5948 #line $LINENO "configure"
5951 cat confdefs.h
>>conftest.
$ac_ext
5952 cat >>conftest.
$ac_ext <<_ACEOF
5953 /* end confdefs.h. */
5959 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5960 $EGREP "yes" >/dev
/null
2>&1; then
5969 echo "$as_me:$LINENO: result: $ac_cv_maxserv" >&5
5970 echo "${ECHO_T}$ac_cv_maxserv" >&6
5971 if test $ac_cv_maxserv != yes; then
5972 cat >>confdefs.h
<<\_ACEOF
5973 #define NEED_ADDRINFO_H 1
5978 if test "$ac_cv_maxserv" = no
; then
5979 missing_includes
=yes
5983 echo "$as_me:$LINENO: checking for NI_NAMEREQD" >&5
5984 echo $ECHO_N "checking for NI_NAMEREQD... $ECHO_C" >&6
5985 if test "${ac_cv_namereqd+set}" = set; then
5986 echo $ECHO_N "(cached) $ECHO_C" >&6
5988 cat >conftest.
$ac_ext <<_ACEOF
5989 #line $LINENO "configure"
5992 cat confdefs.h
>>conftest.
$ac_ext
5993 cat >>conftest.
$ac_ext <<_ACEOF
5994 /* end confdefs.h. */
6000 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6001 $EGREP "yes" >/dev
/null
2>&1; then
6010 echo "$as_me:$LINENO: result: $ac_cv_namereqd" >&5
6011 echo "${ECHO_T}$ac_cv_namereqd" >&6
6012 if test $ac_cv_namereqd != yes; then
6013 cat >>confdefs.h
<<\_ACEOF
6014 #define NEED_ADDRINFO_H 1
6019 if test "$ac_cv_namereqd" = no
; then
6020 missing_includes
=yes
6024 echo "$as_me:$LINENO: checking for sockaddr_storage" >&5
6025 echo $ECHO_N "checking for sockaddr_storage... $ECHO_C" >&6
6026 if test "${ac_cv_sa_storage+set}" = set; then
6027 echo $ECHO_N "(cached) $ECHO_C" >&6
6029 cat >conftest.
$ac_ext <<_ACEOF
6030 #line $LINENO "configure"
6033 cat confdefs.h
>>conftest.
$ac_ext
6034 cat >>conftest.
$ac_ext <<_ACEOF
6035 /* end confdefs.h. */
6037 # include <sys/types.h>
6038 # include <sys/socket.h>
6042 struct sockaddr_storage s
6047 rm -f conftest.
$ac_objext
6048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6049 (eval $ac_compile) 2>&5
6051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6052 (exit $ac_status); } &&
6053 { ac_try
='test -s conftest.$ac_objext'
6054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6058 (exit $ac_status); }; }; then
6059 ac_cv_sa_storage
=yes
6061 echo "$as_me: failed program was:" >&5
6062 sed 's/^/| /' conftest.
$ac_ext >&5
6066 rm -f conftest.
$ac_objext conftest.
$ac_ext
6069 echo "$as_me:$LINENO: result: $ac_cv_sa_storage" >&5
6070 echo "${ECHO_T}$ac_cv_sa_storage" >&6
6071 if test $ac_cv_sa_storage = yes; then
6072 cat >>confdefs.h
<<\_ACEOF
6073 #define HAVE_SOCKADDR_STORAGE 1
6078 if test "$ac_cv_sa_storage" = no
; then
6079 missing_includes
=yes
6084 echo "$as_me:$LINENO: checking for INADDRSZ" >&5
6085 echo $ECHO_N "checking for INADDRSZ... $ECHO_C" >&6
6086 if test "${ac_cv_inaddrsz+set}" = set; then
6087 echo $ECHO_N "(cached) $ECHO_C" >&6
6089 cat >conftest.
$ac_ext <<_ACEOF
6090 #line $LINENO "configure"
6093 cat confdefs.h
>>conftest.
$ac_ext
6094 cat >>conftest.
$ac_ext <<_ACEOF
6095 /* end confdefs.h. */
6097 # include <arpa/nameser.h>
6106 rm -f conftest.
$ac_objext
6107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6108 (eval $ac_compile) 2>&5
6110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6111 (exit $ac_status); } &&
6112 { ac_try
='test -s conftest.$ac_objext'
6113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6117 (exit $ac_status); }; }; then
6120 echo "$as_me: failed program was:" >&5
6121 sed 's/^/| /' conftest.
$ac_ext >&5
6125 rm -f conftest.
$ac_objext conftest.
$ac_ext
6128 echo "$as_me:$LINENO: result: $ac_cv_inaddrsz" >&5
6129 echo "${ECHO_T}$ac_cv_inaddrsz" >&6
6130 if test $ac_cv_inaddrsz = yes; then
6131 cat >>confdefs.h
<<\_ACEOF
6132 #define HAVE_INADDRSZ 1
6138 echo "$as_me:$LINENO: checking for IN6ADDRSZ" >&5
6139 echo $ECHO_N "checking for IN6ADDRSZ... $ECHO_C" >&6
6140 if test "${ac_cv_in6addrsz+set}" = set; then
6141 echo $ECHO_N "(cached) $ECHO_C" >&6
6143 cat >conftest.
$ac_ext <<_ACEOF
6144 #line $LINENO "configure"
6147 cat confdefs.h
>>conftest.
$ac_ext
6148 cat >>conftest.
$ac_ext <<_ACEOF
6149 /* end confdefs.h. */
6151 # include <arpa/nameser.h>
6160 rm -f conftest.
$ac_objext
6161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6162 (eval $ac_compile) 2>&5
6164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6165 (exit $ac_status); } &&
6166 { ac_try
='test -s conftest.$ac_objext'
6167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6171 (exit $ac_status); }; }; then
6174 echo "$as_me: failed program was:" >&5
6175 sed 's/^/| /' conftest.
$ac_ext >&5
6179 rm -f conftest.
$ac_objext conftest.
$ac_ext
6182 echo "$as_me:$LINENO: result: $ac_cv_in6addrsz" >&5
6183 echo "${ECHO_T}$ac_cv_in6addrsz" >&6
6184 if test $ac_cv_in6addrsz = yes; then
6185 cat >>confdefs.h
<<\_ACEOF
6186 #define HAVE_IN6ADDRSZ 1
6193 if test "$ac_cv_addrsz" = no
; then
6194 missing_includes
=yes
6198 echo "$as_me:$LINENO: checking for RES_USE_INET6" >&5
6199 echo $ECHO_N "checking for RES_USE_INET6... $ECHO_C" >&6
6200 if test "${ac_cv_res_inet6+set}" = set; then
6201 echo $ECHO_N "(cached) $ECHO_C" >&6
6203 cat >conftest.
$ac_ext <<_ACEOF
6204 #line $LINENO "configure"
6207 cat confdefs.h
>>conftest.
$ac_ext
6208 cat >>conftest.
$ac_ext <<_ACEOF
6209 /* end confdefs.h. */
6211 # include <sys/types.h>
6212 # include <netinet/in.h>
6213 # include <resolv.h>
6217 int a = RES_USE_INET6
6222 rm -f conftest.
$ac_objext
6223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6224 (eval $ac_compile) 2>&5
6226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6227 (exit $ac_status); } &&
6228 { ac_try
='test -s conftest.$ac_objext'
6229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6233 (exit $ac_status); }; }; then
6236 echo "$as_me: failed program was:" >&5
6237 sed 's/^/| /' conftest.
$ac_ext >&5
6241 rm -f conftest.
$ac_objext conftest.
$ac_ext
6244 echo "$as_me:$LINENO: result: $ac_cv_res_inet6" >&5
6245 echo "${ECHO_T}$ac_cv_res_inet6" >&6
6246 if test $ac_cv_res_inet6 = yes; then
6247 cat >>confdefs.h
<<\_ACEOF
6248 #define HAVE_RES_USE_INET6 1
6253 if test "$ac_cv_res_inet6" = no
; then
6254 missing_includes
=yes
6258 echo "$as_me:$LINENO: checking for res_state_ext" >&5
6259 echo $ECHO_N "checking for res_state_ext... $ECHO_C" >&6
6260 if test "${ac_cv_res_state_ext+set}" = set; then
6261 echo $ECHO_N "(cached) $ECHO_C" >&6
6263 cat >conftest.
$ac_ext <<_ACEOF
6264 #line $LINENO "configure"
6267 cat confdefs.h
>>conftest.
$ac_ext
6268 cat >>conftest.
$ac_ext <<_ACEOF
6269 /* end confdefs.h. */
6271 # include <sys/types.h>
6272 # include <netinet/in.h>
6273 # include <netinet6/in6.h>
6274 # include <resolv.h>
6278 struct __res_state_ext e
6283 rm -f conftest.
$ac_objext
6284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6285 (eval $ac_compile) 2>&5
6287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6288 (exit $ac_status); } &&
6289 { ac_try
='test -s conftest.$ac_objext'
6290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6294 (exit $ac_status); }; }; then
6295 ac_cv_res_state_ext
=yes
6297 echo "$as_me: failed program was:" >&5
6298 sed 's/^/| /' conftest.
$ac_ext >&5
6300 ac_cv_res_state_ext
=no
6302 rm -f conftest.
$ac_objext conftest.
$ac_ext
6305 echo "$as_me:$LINENO: result: $ac_cv_res_state_ext" >&5
6306 echo "${ECHO_T}$ac_cv_res_state_ext" >&6
6307 if test $ac_cv_res_state_ext = yes; then
6308 cat >>confdefs.h
<<\_ACEOF
6309 #define HAVE_RES_STATE_EXT 1
6314 if test "$ac_cv_res_state_ext" = no
; then
6315 missing_includes
=yes
6319 echo "$as_me:$LINENO: checking for nsort in res_state" >&5
6320 echo $ECHO_N "checking for nsort in res_state... $ECHO_C" >&6
6321 if test "${ac_cv_res_state+set}" = set; then
6322 echo $ECHO_N "(cached) $ECHO_C" >&6
6324 cat >conftest.
$ac_ext <<_ACEOF
6325 #line $LINENO "configure"
6328 cat confdefs.h
>>conftest.
$ac_ext
6329 cat >>conftest.
$ac_ext <<_ACEOF
6330 /* end confdefs.h. */
6332 # include <sys/types.h>
6333 # include <netinet/in.h>
6334 # include <netinet6/in6.h>
6335 # include <resolv.h>
6339 struct __res_state e; e.nsort = 0
6344 rm -f conftest.
$ac_objext
6345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6346 (eval $ac_compile) 2>&5
6348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6349 (exit $ac_status); } &&
6350 { ac_try
='test -s conftest.$ac_objext'
6351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6355 (exit $ac_status); }; }; then
6358 echo "$as_me: failed program was:" >&5
6359 sed 's/^/| /' conftest.
$ac_ext >&5
6363 rm -f conftest.
$ac_objext conftest.
$ac_ext
6366 echo "$as_me:$LINENO: result: $ac_cv_res_state" >&5
6367 echo "${ECHO_T}$ac_cv_res_state" >&6
6368 if test $ac_cv_res_state = yes; then
6369 cat >>confdefs.h
<<\_ACEOF
6370 #define HAVE_NEW_RES_STATE 1
6383 for ac_func
in vfprintf strcasecmp strlcat strlcpy strdup strsep
6385 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6386 echo "$as_me:$LINENO: checking for $ac_func" >&5
6387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6388 if eval "test \"\${$as_ac_var+set}\" = set"; then
6389 echo $ECHO_N "(cached) $ECHO_C" >&6
6391 cat >conftest.
$ac_ext <<_ACEOF
6392 #line $LINENO "configure"
6395 cat confdefs.h
>>conftest.
$ac_ext
6396 cat >>conftest.
$ac_ext <<_ACEOF
6397 /* end confdefs.h. */
6398 /* System header to define __stub macros and hopefully few prototypes,
6399 which can conflict with char $ac_func (); below.
6400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6401 <limits.h> exists even on freestanding compilers. */
6403 # include <limits.h>
6405 # include <assert.h>
6407 /* Override any gcc2 internal prototype to avoid an error. */
6412 /* We use char because int might match the return type of a gcc2
6413 builtin and then its argument prototype would still apply. */
6415 /* The GNU C library defines this for functions which it implements
6416 to always fail with ENOSYS. Some functions are actually named
6417 something starting with __ and the normal name is an alias. */
6418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6421 char (*f) () = $ac_func;
6430 return f != $ac_func;
6435 rm -f conftest.
$ac_objext conftest
$ac_exeext
6436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6437 (eval $ac_link) 2>&5
6439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6440 (exit $ac_status); } &&
6441 { ac_try
='test -s conftest$ac_exeext'
6442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6446 (exit $ac_status); }; }; then
6447 eval "$as_ac_var=yes"
6449 echo "$as_me: failed program was:" >&5
6450 sed 's/^/| /' conftest.
$ac_ext >&5
6452 eval "$as_ac_var=no"
6454 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6458 if test `eval echo '${'$as_ac_var'}'` = yes; then
6459 cat >>confdefs.h
<<_ACEOF
6460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6464 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
6470 for ac_func
in strftime
6472 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6473 echo "$as_me:$LINENO: checking for $ac_func" >&5
6474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6475 if eval "test \"\${$as_ac_var+set}\" = set"; then
6476 echo $ECHO_N "(cached) $ECHO_C" >&6
6478 cat >conftest.
$ac_ext <<_ACEOF
6479 #line $LINENO "configure"
6482 cat confdefs.h
>>conftest.
$ac_ext
6483 cat >>conftest.
$ac_ext <<_ACEOF
6484 /* end confdefs.h. */
6485 /* System header to define __stub macros and hopefully few prototypes,
6486 which can conflict with char $ac_func (); below.
6487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6488 <limits.h> exists even on freestanding compilers. */
6490 # include <limits.h>
6492 # include <assert.h>
6494 /* Override any gcc2 internal prototype to avoid an error. */
6499 /* We use char because int might match the return type of a gcc2
6500 builtin and then its argument prototype would still apply. */
6502 /* The GNU C library defines this for functions which it implements
6503 to always fail with ENOSYS. Some functions are actually named
6504 something starting with __ and the normal name is an alias. */
6505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6508 char (*f) () = $ac_func;
6517 return f != $ac_func;
6522 rm -f conftest.
$ac_objext conftest
$ac_exeext
6523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6524 (eval $ac_link) 2>&5
6526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6527 (exit $ac_status); } &&
6528 { ac_try
='test -s conftest$ac_exeext'
6529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6533 (exit $ac_status); }; }; then
6534 eval "$as_ac_var=yes"
6536 echo "$as_me: failed program was:" >&5
6537 sed 's/^/| /' conftest.
$ac_ext >&5
6539 eval "$as_ac_var=no"
6541 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6545 if test `eval echo '${'$as_ac_var'}'` = yes; then
6546 cat >>confdefs.h
<<_ACEOF
6547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6554 for ac_func
in ether_ntohost
6556 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6557 echo "$as_me:$LINENO: checking for $ac_func" >&5
6558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6559 if eval "test \"\${$as_ac_var+set}\" = set"; then
6560 echo $ECHO_N "(cached) $ECHO_C" >&6
6562 cat >conftest.
$ac_ext <<_ACEOF
6563 #line $LINENO "configure"
6566 cat confdefs.h
>>conftest.
$ac_ext
6567 cat >>conftest.
$ac_ext <<_ACEOF
6568 /* end confdefs.h. */
6569 /* System header to define __stub macros and hopefully few prototypes,
6570 which can conflict with char $ac_func (); below.
6571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6572 <limits.h> exists even on freestanding compilers. */
6574 # include <limits.h>
6576 # include <assert.h>
6578 /* Override any gcc2 internal prototype to avoid an error. */
6583 /* We use char because int might match the return type of a gcc2
6584 builtin and then its argument prototype would still apply. */
6586 /* The GNU C library defines this for functions which it implements
6587 to always fail with ENOSYS. Some functions are actually named
6588 something starting with __ and the normal name is an alias. */
6589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6592 char (*f) () = $ac_func;
6601 return f != $ac_func;
6606 rm -f conftest.
$ac_objext conftest
$ac_exeext
6607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6608 (eval $ac_link) 2>&5
6610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611 (exit $ac_status); } &&
6612 { ac_try
='test -s conftest$ac_exeext'
6613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6617 (exit $ac_status); }; }; then
6618 eval "$as_ac_var=yes"
6620 echo "$as_me: failed program was:" >&5
6621 sed 's/^/| /' conftest.
$ac_ext >&5
6623 eval "$as_ac_var=no"
6625 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6629 if test `eval echo '${'$as_ac_var'}'` = yes; then
6630 cat >>confdefs.h
<<_ACEOF
6631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6634 echo "$as_me:$LINENO: checking for buggy ether_ntohost" >&5
6635 echo $ECHO_N "checking for buggy ether_ntohost... $ECHO_C" >&6
6636 if test "${ac_cv_buggy_ether_ntohost+set}" = set; then
6637 echo $ECHO_N "(cached) $ECHO_C" >&6
6640 if test "$cross_compiling" = yes; then
6641 ac_cv_buggy_ether_ntohost
="not while cross-compiling"
6643 cat >conftest.
$ac_ext <<_ACEOF
6644 #line $LINENO "configure"
6647 cat confdefs.h
>>conftest.
$ac_ext
6648 cat >>conftest.
$ac_ext <<_ACEOF
6649 /* end confdefs.h. */
6652 #include <sys/types.h>
6653 #include <sys/param.h>
6654 #include <sys/socket.h>
6657 main(int argc, char **argv)
6659 u_char ea[6] = { 0xff, 0xff, 0xff, 0xff, 0xff };
6660 char name[MAXHOSTNAMELEN];
6662 ether_ntohost(name, (struct ether_addr *)ea);
6667 rm -f conftest
$ac_exeext
6668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6669 (eval $ac_link) 2>&5
6671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6672 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6677 (exit $ac_status); }; }; then
6678 ac_cv_buggy_ether_ntohost
=no
6680 echo "$as_me: program exited with status $ac_status" >&5
6681 echo "$as_me: failed program was:" >&5
6682 sed 's/^/| /' conftest.
$ac_ext >&5
6685 ac_cv_buggy_ether_ntohost
=yes
6687 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6690 echo "$as_me:$LINENO: result: $ac_cv_buggy_ether_ntohost" >&5
6691 echo "${ECHO_T}$ac_cv_buggy_ether_ntohost" >&6
6692 if test "$ac_cv_buggy_ether_ntohost" = "no"; then
6693 cat >>confdefs.h
<<\_ACEOF
6694 #define USE_ETHER_NTOHOST 1
6704 for ac_func
in setlinebuf alarm
6706 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6707 echo "$as_me:$LINENO: checking for $ac_func" >&5
6708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6709 if eval "test \"\${$as_ac_var+set}\" = set"; then
6710 echo $ECHO_N "(cached) $ECHO_C" >&6
6712 cat >conftest.
$ac_ext <<_ACEOF
6713 #line $LINENO "configure"
6716 cat confdefs.h
>>conftest.
$ac_ext
6717 cat >>conftest.
$ac_ext <<_ACEOF
6718 /* end confdefs.h. */
6719 /* System header to define __stub macros and hopefully few prototypes,
6720 which can conflict with char $ac_func (); below.
6721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6722 <limits.h> exists even on freestanding compilers. */
6724 # include <limits.h>
6726 # include <assert.h>
6728 /* Override any gcc2 internal prototype to avoid an error. */
6733 /* We use char because int might match the return type of a gcc2
6734 builtin and then its argument prototype would still apply. */
6736 /* The GNU C library defines this for functions which it implements
6737 to always fail with ENOSYS. Some functions are actually named
6738 something starting with __ and the normal name is an alias. */
6739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6742 char (*f) () = $ac_func;
6751 return f != $ac_func;
6756 rm -f conftest.
$ac_objext conftest
$ac_exeext
6757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6758 (eval $ac_link) 2>&5
6760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6761 (exit $ac_status); } &&
6762 { ac_try
='test -s conftest$ac_exeext'
6763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6767 (exit $ac_status); }; }; then
6768 eval "$as_ac_var=yes"
6770 echo "$as_me: failed program was:" >&5
6771 sed 's/^/| /' conftest.
$ac_ext >&5
6773 eval "$as_ac_var=no"
6775 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6779 if test `eval echo '${'$as_ac_var'}'` = yes; then
6780 cat >>confdefs.h
<<_ACEOF
6781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6791 for ac_func
in vsnprintf snprintf
6793 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6794 echo "$as_me:$LINENO: checking for $ac_func" >&5
6795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6796 if eval "test \"\${$as_ac_var+set}\" = set"; then
6797 echo $ECHO_N "(cached) $ECHO_C" >&6
6799 cat >conftest.
$ac_ext <<_ACEOF
6800 #line $LINENO "configure"
6803 cat confdefs.h
>>conftest.
$ac_ext
6804 cat >>conftest.
$ac_ext <<_ACEOF
6805 /* end confdefs.h. */
6806 /* System header to define __stub macros and hopefully few prototypes,
6807 which can conflict with char $ac_func (); below.
6808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6809 <limits.h> exists even on freestanding compilers. */
6811 # include <limits.h>
6813 # include <assert.h>
6815 /* Override any gcc2 internal prototype to avoid an error. */
6820 /* We use char because int might match the return type of a gcc2
6821 builtin and then its argument prototype would still apply. */
6823 /* The GNU C library defines this for functions which it implements
6824 to always fail with ENOSYS. Some functions are actually named
6825 something starting with __ and the normal name is an alias. */
6826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6829 char (*f) () = $ac_func;
6838 return f != $ac_func;
6843 rm -f conftest.
$ac_objext conftest
$ac_exeext
6844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6845 (eval $ac_link) 2>&5
6847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6848 (exit $ac_status); } &&
6849 { ac_try
='test -s conftest$ac_exeext'
6850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6854 (exit $ac_status); }; }; then
6855 eval "$as_ac_var=yes"
6857 echo "$as_me: failed program was:" >&5
6858 sed 's/^/| /' conftest.
$ac_ext >&5
6860 eval "$as_ac_var=no"
6862 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6866 if test `eval echo '${'$as_ac_var'}'` = yes; then
6867 cat >>confdefs.h
<<_ACEOF
6868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6876 if test $needsnprintf = yes; then
6877 LIBOBJS
="$LIBOBJS snprintf.$ac_objext"
6881 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6882 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
6883 if test "${ac_cv_type_signal+set}" = set; then
6884 echo $ECHO_N "(cached) $ECHO_C" >&6
6886 cat >conftest.
$ac_ext <<_ACEOF
6887 #line $LINENO "configure"
6890 cat confdefs.h
>>conftest.
$ac_ext
6891 cat >>conftest.
$ac_ext <<_ACEOF
6892 /* end confdefs.h. */
6893 #include <sys/types.h>
6899 extern "C" void (*signal (int, void (*)(int)))(int);
6901 void (*signal ()) ();
6912 rm -f conftest.
$ac_objext
6913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6914 (eval $ac_compile) 2>&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
6924 ac_cv_type_signal
=void
6926 echo "$as_me: failed program was:" >&5
6927 sed 's/^/| /' conftest.
$ac_ext >&5
6929 ac_cv_type_signal
=int
6931 rm -f conftest.
$ac_objext conftest.
$ac_ext
6933 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6934 echo "${ECHO_T}$ac_cv_type_signal" >&6
6936 cat >>confdefs.h
<<_ACEOF
6937 #define RETSIGTYPE $ac_cv_type_signal
6941 if test "$ac_cv_type_signal" = void
; then
6942 cat >>confdefs.h
<<\_ACEOF
6947 cat >>confdefs.h
<<\_ACEOF
6948 #define RETSIGVAL (0)
6955 cat >>confdefs.h
<<\_ACEOF
6956 #define _BSD_SIGNALS 1
6963 for ac_func
in sigaction
6965 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6966 echo "$as_me:$LINENO: checking for $ac_func" >&5
6967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6968 if eval "test \"\${$as_ac_var+set}\" = set"; then
6969 echo $ECHO_N "(cached) $ECHO_C" >&6
6971 cat >conftest.
$ac_ext <<_ACEOF
6972 #line $LINENO "configure"
6975 cat confdefs.h
>>conftest.
$ac_ext
6976 cat >>conftest.
$ac_ext <<_ACEOF
6977 /* end confdefs.h. */
6978 /* System header to define __stub macros and hopefully few prototypes,
6979 which can conflict with char $ac_func (); below.
6980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6981 <limits.h> exists even on freestanding compilers. */
6983 # include <limits.h>
6985 # include <assert.h>
6987 /* Override any gcc2 internal prototype to avoid an error. */
6992 /* We use char because int might match the return type of a gcc2
6993 builtin and then its argument prototype would still apply. */
6995 /* The GNU C library defines this for functions which it implements
6996 to always fail with ENOSYS. Some functions are actually named
6997 something starting with __ and the normal name is an alias. */
6998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7001 char (*f) () = $ac_func;
7010 return f != $ac_func;
7015 rm -f conftest.
$ac_objext conftest
$ac_exeext
7016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7017 (eval $ac_link) 2>&5
7019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7020 (exit $ac_status); } &&
7021 { ac_try
='test -s conftest$ac_exeext'
7022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7026 (exit $ac_status); }; }; then
7027 eval "$as_ac_var=yes"
7029 echo "$as_me: failed program was:" >&5
7030 sed 's/^/| /' conftest.
$ac_ext >&5
7032 eval "$as_ac_var=no"
7034 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7038 if test `eval echo '${'$as_ac_var'}'` = yes; then
7039 cat >>confdefs.h
<<_ACEOF
7040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7046 if test $ac_cv_func_sigaction = no
; then
7048 for ac_func
in sigset
7050 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7051 echo "$as_me:$LINENO: checking for $ac_func" >&5
7052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7053 if eval "test \"\${$as_ac_var+set}\" = set"; then
7054 echo $ECHO_N "(cached) $ECHO_C" >&6
7056 cat >conftest.
$ac_ext <<_ACEOF
7057 #line $LINENO "configure"
7060 cat confdefs.h
>>conftest.
$ac_ext
7061 cat >>conftest.
$ac_ext <<_ACEOF
7062 /* end confdefs.h. */
7063 /* System header to define __stub macros and hopefully few prototypes,
7064 which can conflict with char $ac_func (); below.
7065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7066 <limits.h> exists even on freestanding compilers. */
7068 # include <limits.h>
7070 # include <assert.h>
7072 /* Override any gcc2 internal prototype to avoid an error. */
7077 /* We use char because int might match the return type of a gcc2
7078 builtin and then its argument prototype would still apply. */
7080 /* The GNU C library defines this for functions which it implements
7081 to always fail with ENOSYS. Some functions are actually named
7082 something starting with __ and the normal name is an alias. */
7083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7086 char (*f) () = $ac_func;
7095 return f != $ac_func;
7100 rm -f conftest.
$ac_objext conftest
$ac_exeext
7101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7102 (eval $ac_link) 2>&5
7104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7105 (exit $ac_status); } &&
7106 { ac_try
='test -s conftest$ac_exeext'
7107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7111 (exit $ac_status); }; }; then
7112 eval "$as_ac_var=yes"
7114 echo "$as_me: failed program was:" >&5
7115 sed 's/^/| /' conftest.
$ac_ext >&5
7117 eval "$as_ac_var=no"
7119 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7123 if test `eval echo '${'$as_ac_var'}'` = yes; then
7124 cat >>confdefs.h
<<_ACEOF
7125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7135 echo "$as_me:$LINENO: checking for library containing dnet_htoa" >&5
7136 echo $ECHO_N "checking for library containing dnet_htoa... $ECHO_C" >&6
7137 if test "${ac_cv_search_dnet_htoa+set}" = set; then
7138 echo $ECHO_N "(cached) $ECHO_C" >&6
7140 ac_func_search_save_LIBS
=$LIBS
7141 ac_cv_search_dnet_htoa
=no
7142 cat >conftest.
$ac_ext <<_ACEOF
7143 #line $LINENO "configure"
7146 cat confdefs.h
>>conftest.
$ac_ext
7147 cat >>conftest.
$ac_ext <<_ACEOF
7148 /* end confdefs.h. */
7150 /* Override any gcc2 internal prototype to avoid an error. */
7154 /* We use char because int might match the return type of a gcc2
7155 builtin and then its argument prototype would still apply. */
7165 rm -f conftest.
$ac_objext conftest
$ac_exeext
7166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7167 (eval $ac_link) 2>&5
7169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7170 (exit $ac_status); } &&
7171 { ac_try
='test -s conftest$ac_exeext'
7172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7176 (exit $ac_status); }; }; then
7177 ac_cv_search_dnet_htoa
="none required"
7179 echo "$as_me: failed program was:" >&5
7180 sed 's/^/| /' conftest.
$ac_ext >&5
7183 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7184 if test "$ac_cv_search_dnet_htoa" = no
; then
7185 for ac_lib
in dnet
; do
7186 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7187 cat >conftest.
$ac_ext <<_ACEOF
7188 #line $LINENO "configure"
7191 cat confdefs.h
>>conftest.
$ac_ext
7192 cat >>conftest.
$ac_ext <<_ACEOF
7193 /* end confdefs.h. */
7195 /* Override any gcc2 internal prototype to avoid an error. */
7199 /* We use char because int might match the return type of a gcc2
7200 builtin and then its argument prototype would still apply. */
7210 rm -f conftest.
$ac_objext conftest
$ac_exeext
7211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7212 (eval $ac_link) 2>&5
7214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7215 (exit $ac_status); } &&
7216 { ac_try
='test -s conftest$ac_exeext'
7217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7221 (exit $ac_status); }; }; then
7222 ac_cv_search_dnet_htoa
="-l$ac_lib"
7225 echo "$as_me: failed program was:" >&5
7226 sed 's/^/| /' conftest.
$ac_ext >&5
7229 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7232 LIBS
=$ac_func_search_save_LIBS
7234 echo "$as_me:$LINENO: result: $ac_cv_search_dnet_htoa" >&5
7235 echo "${ECHO_T}$ac_cv_search_dnet_htoa" >&6
7236 if test "$ac_cv_search_dnet_htoa" != no
; then
7237 test "$ac_cv_search_dnet_htoa" = "none required" || LIBS
="$ac_cv_search_dnet_htoa $LIBS"
7238 cat >>confdefs.h
<<\_ACEOF
7239 #define HAVE_DNET_HTOA 1
7246 echo "$as_me:$LINENO: checking for main in -lrpc" >&5
7247 echo $ECHO_N "checking for main in -lrpc... $ECHO_C" >&6
7248 if test "${ac_cv_lib_rpc_main+set}" = set; then
7249 echo $ECHO_N "(cached) $ECHO_C" >&6
7251 ac_check_lib_save_LIBS
=$LIBS
7253 cat >conftest.
$ac_ext <<_ACEOF
7254 #line $LINENO "configure"
7257 cat confdefs.h
>>conftest.
$ac_ext
7258 cat >>conftest.
$ac_ext <<_ACEOF
7259 /* end confdefs.h. */
7270 rm -f conftest.
$ac_objext conftest
$ac_exeext
7271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7272 (eval $ac_link) 2>&5
7274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7275 (exit $ac_status); } &&
7276 { ac_try
='test -s conftest$ac_exeext'
7277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7281 (exit $ac_status); }; }; then
7282 ac_cv_lib_rpc_main
=yes
7284 echo "$as_me: failed program was:" >&5
7285 sed 's/^/| /' conftest.
$ac_ext >&5
7287 ac_cv_lib_rpc_main
=no
7289 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7290 LIBS
=$ac_check_lib_save_LIBS
7292 echo "$as_me:$LINENO: result: $ac_cv_lib_rpc_main" >&5
7293 echo "${ECHO_T}$ac_cv_lib_rpc_main" >&6
7294 if test $ac_cv_lib_rpc_main = yes; then
7295 cat >>confdefs.h
<<_ACEOF
7296 #define HAVE_LIBRPC 1
7303 echo "$as_me:$LINENO: checking for library containing getrpcbynumber" >&5
7304 echo $ECHO_N "checking for library containing getrpcbynumber... $ECHO_C" >&6
7305 if test "${ac_cv_search_getrpcbynumber+set}" = set; then
7306 echo $ECHO_N "(cached) $ECHO_C" >&6
7308 ac_func_search_save_LIBS
=$LIBS
7309 ac_cv_search_getrpcbynumber
=no
7310 cat >conftest.
$ac_ext <<_ACEOF
7311 #line $LINENO "configure"
7314 cat confdefs.h
>>conftest.
$ac_ext
7315 cat >>conftest.
$ac_ext <<_ACEOF
7316 /* end confdefs.h. */
7318 /* Override any gcc2 internal prototype to avoid an error. */
7322 /* We use char because int might match the return type of a gcc2
7323 builtin and then its argument prototype would still apply. */
7324 char getrpcbynumber ();
7333 rm -f conftest.
$ac_objext conftest
$ac_exeext
7334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7335 (eval $ac_link) 2>&5
7337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7338 (exit $ac_status); } &&
7339 { ac_try
='test -s conftest$ac_exeext'
7340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7344 (exit $ac_status); }; }; then
7345 ac_cv_search_getrpcbynumber
="none required"
7347 echo "$as_me: failed program was:" >&5
7348 sed 's/^/| /' conftest.
$ac_ext >&5
7351 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7352 if test "$ac_cv_search_getrpcbynumber" = no
; then
7353 for ac_lib
in nsl
; do
7354 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7355 cat >conftest.
$ac_ext <<_ACEOF
7356 #line $LINENO "configure"
7359 cat confdefs.h
>>conftest.
$ac_ext
7360 cat >>conftest.
$ac_ext <<_ACEOF
7361 /* end confdefs.h. */
7363 /* Override any gcc2 internal prototype to avoid an error. */
7367 /* We use char because int might match the return type of a gcc2
7368 builtin and then its argument prototype would still apply. */
7369 char getrpcbynumber ();
7378 rm -f conftest.
$ac_objext conftest
$ac_exeext
7379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7380 (eval $ac_link) 2>&5
7382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7383 (exit $ac_status); } &&
7384 { ac_try
='test -s conftest$ac_exeext'
7385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7389 (exit $ac_status); }; }; then
7390 ac_cv_search_getrpcbynumber
="-l$ac_lib"
7393 echo "$as_me: failed program was:" >&5
7394 sed 's/^/| /' conftest.
$ac_ext >&5
7397 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7400 LIBS
=$ac_func_search_save_LIBS
7402 echo "$as_me:$LINENO: result: $ac_cv_search_getrpcbynumber" >&5
7403 echo "${ECHO_T}$ac_cv_search_getrpcbynumber" >&6
7404 if test "$ac_cv_search_getrpcbynumber" != no
; then
7405 test "$ac_cv_search_getrpcbynumber" = "none required" || LIBS
="$ac_cv_search_getrpcbynumber $LIBS"
7412 # Most operating systems have gethostbyname() in the default searched
7413 # libraries (i.e. libc):
7414 # Some OSes (eg. Solaris) place it in libnsl
7415 # Some strange OSes (SINIX) have it in libsocket:
7416 echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
7417 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
7418 if test "${ac_cv_search_gethostbyname+set}" = set; then
7419 echo $ECHO_N "(cached) $ECHO_C" >&6
7421 ac_func_search_save_LIBS
=$LIBS
7422 ac_cv_search_gethostbyname
=no
7423 cat >conftest.
$ac_ext <<_ACEOF
7424 #line $LINENO "configure"
7427 cat confdefs.h
>>conftest.
$ac_ext
7428 cat >>conftest.
$ac_ext <<_ACEOF
7429 /* end confdefs.h. */
7431 /* Override any gcc2 internal prototype to avoid an error. */
7435 /* We use char because int might match the return type of a gcc2
7436 builtin and then its argument prototype would still apply. */
7437 char gethostbyname ();
7446 rm -f conftest.
$ac_objext conftest
$ac_exeext
7447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7448 (eval $ac_link) 2>&5
7450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7451 (exit $ac_status); } &&
7452 { ac_try
='test -s conftest$ac_exeext'
7453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7457 (exit $ac_status); }; }; then
7458 ac_cv_search_gethostbyname
="none required"
7460 echo "$as_me: failed program was:" >&5
7461 sed 's/^/| /' conftest.
$ac_ext >&5
7464 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7465 if test "$ac_cv_search_gethostbyname" = no
; then
7466 for ac_lib
in nsl socket resolv
; do
7467 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7468 cat >conftest.
$ac_ext <<_ACEOF
7469 #line $LINENO "configure"
7472 cat confdefs.h
>>conftest.
$ac_ext
7473 cat >>conftest.
$ac_ext <<_ACEOF
7474 /* end confdefs.h. */
7476 /* Override any gcc2 internal prototype to avoid an error. */
7480 /* We use char because int might match the return type of a gcc2
7481 builtin and then its argument prototype would still apply. */
7482 char gethostbyname ();
7491 rm -f conftest.
$ac_objext conftest
$ac_exeext
7492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7493 (eval $ac_link) 2>&5
7495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7496 (exit $ac_status); } &&
7497 { ac_try
='test -s conftest$ac_exeext'
7498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7502 (exit $ac_status); }; }; then
7503 ac_cv_search_gethostbyname
="-l$ac_lib"
7506 echo "$as_me: failed program was:" >&5
7507 sed 's/^/| /' conftest.
$ac_ext >&5
7510 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7513 LIBS
=$ac_func_search_save_LIBS
7515 echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
7516 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
7517 if test "$ac_cv_search_gethostbyname" != no
; then
7518 test "$ac_cv_search_gethostbyname" = "none required" || LIBS
="$ac_cv_search_gethostbyname $LIBS"
7522 # Unfortunately libsocket sometimes depends on libnsl and
7523 # AC_SEARCH_LIBS isn't up to the task of handling dependencies like this.
7524 if test "$ac_cv_search_gethostbyname" = "no"
7526 echo "$as_me:$LINENO: checking for gethostbyname in -lsocket" >&5
7527 echo $ECHO_N "checking for gethostbyname in -lsocket... $ECHO_C" >&6
7528 if test "${ac_cv_lib_socket_gethostbyname+set}" = set; then
7529 echo $ECHO_N "(cached) $ECHO_C" >&6
7531 ac_check_lib_save_LIBS
=$LIBS
7532 LIBS
="-lsocket -lnsl $LIBS"
7533 cat >conftest.
$ac_ext <<_ACEOF
7534 #line $LINENO "configure"
7537 cat confdefs.h
>>conftest.
$ac_ext
7538 cat >>conftest.
$ac_ext <<_ACEOF
7539 /* end confdefs.h. */
7541 /* Override any gcc2 internal prototype to avoid an error. */
7545 /* We use char because int might match the return type of a gcc2
7546 builtin and then its argument prototype would still apply. */
7547 char gethostbyname ();
7556 rm -f conftest.
$ac_objext conftest
$ac_exeext
7557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7558 (eval $ac_link) 2>&5
7560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7561 (exit $ac_status); } &&
7562 { ac_try
='test -s conftest$ac_exeext'
7563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7567 (exit $ac_status); }; }; then
7568 ac_cv_lib_socket_gethostbyname
=yes
7570 echo "$as_me: failed program was:" >&5
7571 sed 's/^/| /' conftest.
$ac_ext >&5
7573 ac_cv_lib_socket_gethostbyname
=no
7575 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7576 LIBS
=$ac_check_lib_save_LIBS
7578 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_gethostbyname" >&5
7579 echo "${ECHO_T}$ac_cv_lib_socket_gethostbyname" >&6
7580 if test $ac_cv_lib_socket_gethostbyname = yes; then
7581 LIBS
="-lsocket -lnsl $LIBS"
7585 echo "$as_me:$LINENO: checking for library containing socket" >&5
7586 echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6
7587 if test "${ac_cv_search_socket+set}" = set; then
7588 echo $ECHO_N "(cached) $ECHO_C" >&6
7590 ac_func_search_save_LIBS
=$LIBS
7591 ac_cv_search_socket
=no
7592 cat >conftest.
$ac_ext <<_ACEOF
7593 #line $LINENO "configure"
7596 cat confdefs.h
>>conftest.
$ac_ext
7597 cat >>conftest.
$ac_ext <<_ACEOF
7598 /* end confdefs.h. */
7600 /* Override any gcc2 internal prototype to avoid an error. */
7604 /* We use char because int might match the return type of a gcc2
7605 builtin and then its argument prototype would still apply. */
7615 rm -f conftest.
$ac_objext conftest
$ac_exeext
7616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7617 (eval $ac_link) 2>&5
7619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7620 (exit $ac_status); } &&
7621 { ac_try
='test -s conftest$ac_exeext'
7622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7626 (exit $ac_status); }; }; then
7627 ac_cv_search_socket
="none required"
7629 echo "$as_me: failed program was:" >&5
7630 sed 's/^/| /' conftest.
$ac_ext >&5
7633 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7634 if test "$ac_cv_search_socket" = no
; then
7635 for ac_lib
in socket
; do
7636 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7637 cat >conftest.
$ac_ext <<_ACEOF
7638 #line $LINENO "configure"
7641 cat confdefs.h
>>conftest.
$ac_ext
7642 cat >>conftest.
$ac_ext <<_ACEOF
7643 /* end confdefs.h. */
7645 /* Override any gcc2 internal prototype to avoid an error. */
7649 /* We use char because int might match the return type of a gcc2
7650 builtin and then its argument prototype would still apply. */
7660 rm -f conftest.
$ac_objext conftest
$ac_exeext
7661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7662 (eval $ac_link) 2>&5
7664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7665 (exit $ac_status); } &&
7666 { ac_try
='test -s conftest$ac_exeext'
7667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7671 (exit $ac_status); }; }; then
7672 ac_cv_search_socket
="-l$ac_lib"
7675 echo "$as_me: failed program was:" >&5
7676 sed 's/^/| /' conftest.
$ac_ext >&5
7679 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7682 LIBS
=$ac_func_search_save_LIBS
7684 echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
7685 echo "${ECHO_T}$ac_cv_search_socket" >&6
7686 if test "$ac_cv_search_socket" != no
; then
7687 test "$ac_cv_search_socket" = "none required" || LIBS
="$ac_cv_search_socket $LIBS"
7690 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
7691 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
7692 if test "${ac_cv_lib_socket_socket+set}" = set; then
7693 echo $ECHO_N "(cached) $ECHO_C" >&6
7695 ac_check_lib_save_LIBS
=$LIBS
7696 LIBS
="-lsocket -lnsl $LIBS"
7697 cat >conftest.
$ac_ext <<_ACEOF
7698 #line $LINENO "configure"
7701 cat confdefs.h
>>conftest.
$ac_ext
7702 cat >>conftest.
$ac_ext <<_ACEOF
7703 /* end confdefs.h. */
7705 /* Override any gcc2 internal prototype to avoid an error. */
7709 /* We use char because int might match the return type of a gcc2
7710 builtin and then its argument prototype would still apply. */
7720 rm -f conftest.
$ac_objext conftest
$ac_exeext
7721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7722 (eval $ac_link) 2>&5
7724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7725 (exit $ac_status); } &&
7726 { ac_try
='test -s conftest$ac_exeext'
7727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7731 (exit $ac_status); }; }; then
7732 ac_cv_lib_socket_socket
=yes
7734 echo "$as_me: failed program was:" >&5
7735 sed 's/^/| /' conftest.
$ac_ext >&5
7737 ac_cv_lib_socket_socket
=no
7739 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7740 LIBS
=$ac_check_lib_save_LIBS
7742 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
7743 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
7744 if test $ac_cv_lib_socket_socket = yes; then
7745 LIBS
="-lsocket -lnsl $LIBS"
7750 # DLPI needs putmsg under HPUX so test for -lstr while we're at it
7751 echo "$as_me:$LINENO: checking for library containing putmsg" >&5
7752 echo $ECHO_N "checking for library containing putmsg... $ECHO_C" >&6
7753 if test "${ac_cv_search_putmsg+set}" = set; then
7754 echo $ECHO_N "(cached) $ECHO_C" >&6
7756 ac_func_search_save_LIBS
=$LIBS
7757 ac_cv_search_putmsg
=no
7758 cat >conftest.
$ac_ext <<_ACEOF
7759 #line $LINENO "configure"
7762 cat confdefs.h
>>conftest.
$ac_ext
7763 cat >>conftest.
$ac_ext <<_ACEOF
7764 /* end confdefs.h. */
7766 /* Override any gcc2 internal prototype to avoid an error. */
7770 /* We use char because int might match the return type of a gcc2
7771 builtin and then its argument prototype would still apply. */
7781 rm -f conftest.
$ac_objext conftest
$ac_exeext
7782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7783 (eval $ac_link) 2>&5
7785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7786 (exit $ac_status); } &&
7787 { ac_try
='test -s conftest$ac_exeext'
7788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7792 (exit $ac_status); }; }; then
7793 ac_cv_search_putmsg
="none required"
7795 echo "$as_me: failed program was:" >&5
7796 sed 's/^/| /' conftest.
$ac_ext >&5
7799 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7800 if test "$ac_cv_search_putmsg" = no
; then
7801 for ac_lib
in str
; do
7802 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7803 cat >conftest.
$ac_ext <<_ACEOF
7804 #line $LINENO "configure"
7807 cat confdefs.h
>>conftest.
$ac_ext
7808 cat >>conftest.
$ac_ext <<_ACEOF
7809 /* end confdefs.h. */
7811 /* Override any gcc2 internal prototype to avoid an error. */
7815 /* We use char because int might match the return type of a gcc2
7816 builtin and then its argument prototype would still apply. */
7826 rm -f conftest.
$ac_objext conftest
$ac_exeext
7827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7828 (eval $ac_link) 2>&5
7830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7831 (exit $ac_status); } &&
7832 { ac_try
='test -s conftest$ac_exeext'
7833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7837 (exit $ac_status); }; }; then
7838 ac_cv_search_putmsg
="-l$ac_lib"
7841 echo "$as_me: failed program was:" >&5
7842 sed 's/^/| /' conftest.
$ac_ext >&5
7845 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7848 LIBS
=$ac_func_search_save_LIBS
7850 echo "$as_me:$LINENO: result: $ac_cv_search_putmsg" >&5
7851 echo "${ECHO_T}$ac_cv_search_putmsg" >&6
7852 if test "$ac_cv_search_putmsg" != no
; then
7853 test "$ac_cv_search_putmsg" = "none required" || LIBS
="$ac_cv_search_putmsg $LIBS"
7860 pfopen
=/usr
/examples
/packetfilter
/pfopen.c
7861 if test -f $pfopen ; then
7863 for ac_func
in pfopen
7865 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7866 echo "$as_me:$LINENO: checking for $ac_func" >&5
7867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7868 if eval "test \"\${$as_ac_var+set}\" = set"; then
7869 echo $ECHO_N "(cached) $ECHO_C" >&6
7871 cat >conftest.
$ac_ext <<_ACEOF
7872 #line $LINENO "configure"
7875 cat confdefs.h
>>conftest.
$ac_ext
7876 cat >>conftest.
$ac_ext <<_ACEOF
7877 /* end confdefs.h. */
7878 /* System header to define __stub macros and hopefully few prototypes,
7879 which can conflict with char $ac_func (); below.
7880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7881 <limits.h> exists even on freestanding compilers. */
7883 # include <limits.h>
7885 # include <assert.h>
7887 /* Override any gcc2 internal prototype to avoid an error. */
7892 /* We use char because int might match the return type of a gcc2
7893 builtin and then its argument prototype would still apply. */
7895 /* The GNU C library defines this for functions which it implements
7896 to always fail with ENOSYS. Some functions are actually named
7897 something starting with __ and the normal name is an alias. */
7898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7901 char (*f) () = $ac_func;
7910 return f != $ac_func;
7915 rm -f conftest.
$ac_objext conftest
$ac_exeext
7916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7917 (eval $ac_link) 2>&5
7919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7920 (exit $ac_status); } &&
7921 { ac_try
='test -s conftest$ac_exeext'
7922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7926 (exit $ac_status); }; }; then
7927 eval "$as_ac_var=yes"
7929 echo "$as_me: failed program was:" >&5
7930 sed 's/^/| /' conftest.
$ac_ext >&5
7932 eval "$as_ac_var=no"
7934 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7938 if test `eval echo '${'$as_ac_var'}'` = yes; then
7939 cat >>confdefs.h
<<_ACEOF
7940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7946 if test $ac_cv_func_pfopen = "no" ; then
7947 echo "$as_me:$LINENO: result: Using $pfopen" >&5
7948 echo "${ECHO_T}Using $pfopen" >&6
7949 LIBS
="$LIBS $pfopen"
7952 echo "$as_me:$LINENO: checking for local pcap library" >&5
7953 echo $ECHO_N "checking for local pcap library... $ECHO_C" >&6
7956 places
=`ls $srcdir/.. | sed -e 's,/$,,' -e "s,^,$srcdir/../," | \
7957 egrep '/libpcap-[0-9]*.[0-9]*(.[0-9]*)?([ab][0-9]*)?$'`
7958 for dir
in $places $srcdir/..
/libpcap
$srcdir/libpcap
; do
7959 basedir
=`echo $dir | sed -e 's/[ab][0-9]*$//'`
7960 if test $lastdir = $basedir ; then
7964 if test -r $dir/libpcap.a
; then
7965 libpcap
=$dir/libpcap.a
7969 if test $libpcap = FAIL
; then
7970 echo "$as_me:$LINENO: result: not found" >&5
7971 echo "${ECHO_T}not found" >&6
7972 echo "$as_me:$LINENO: checking for main in -lpcap" >&5
7973 echo $ECHO_N "checking for main in -lpcap... $ECHO_C" >&6
7974 if test "${ac_cv_lib_pcap_main+set}" = set; then
7975 echo $ECHO_N "(cached) $ECHO_C" >&6
7977 ac_check_lib_save_LIBS
=$LIBS
7979 cat >conftest.
$ac_ext <<_ACEOF
7980 #line $LINENO "configure"
7983 cat confdefs.h
>>conftest.
$ac_ext
7984 cat >>conftest.
$ac_ext <<_ACEOF
7985 /* end confdefs.h. */
7996 rm -f conftest.
$ac_objext conftest
$ac_exeext
7997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7998 (eval $ac_link) 2>&5
8000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8001 (exit $ac_status); } &&
8002 { ac_try
='test -s conftest$ac_exeext'
8003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8007 (exit $ac_status); }; }; then
8008 ac_cv_lib_pcap_main
=yes
8010 echo "$as_me: failed program was:" >&5
8011 sed 's/^/| /' conftest.
$ac_ext >&5
8013 ac_cv_lib_pcap_main
=no
8015 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8016 LIBS
=$ac_check_lib_save_LIBS
8018 echo "$as_me:$LINENO: result: $ac_cv_lib_pcap_main" >&5
8019 echo "${ECHO_T}$ac_cv_lib_pcap_main" >&6
8020 if test $ac_cv_lib_pcap_main = yes; then
8024 if test $libpcap = FAIL
; then
8025 { { echo "$as_me:$LINENO: error: see the INSTALL doc for more info" >&5
8026 echo "$as_me: error: see the INSTALL doc for more info" >&2;}
8027 { (exit 1); exit 1; }; }
8029 echo "$as_me:$LINENO: checking for extraneous pcap header directories" >&5
8030 echo $ECHO_N "checking for extraneous pcap header directories... $ECHO_C" >&6
8031 if test \
( ! -r /usr
/local
/include
/pcap.h \
) -a \
8032 \
( ! -r /usr
/include
/pcap.h \
); then
8033 if test -r /usr
/local
/include
/pcap
/pcap.h
; then
8034 d
="/usr/local/include/pcap"
8035 elif test -r /usr
/include
/pcap
/pcap.h
; then
8036 d
="/usr/include/pcap"
8039 if test -z "$d" ; then
8040 echo "$as_me:$LINENO: result: not found" >&5
8041 echo "${ECHO_T}not found" >&6
8043 V_INCLS
="-I$d $V_INCLS"
8044 echo "$as_me:$LINENO: result: found -- -I$d added" >&5
8045 echo "${ECHO_T}found -- -I$d added" >&6
8049 places
=`ls $srcdir/.. | sed -e 's,/$,,' -e "s,^,$srcdir/../," | \
8050 egrep '/libpcap-[0-9]*.[0-9]*(.[0-9]*)?([ab][0-9]*)?$'`
8051 if test -r $d/pcap.h
; then
8052 V_INCLS
="-I$d $V_INCLS"
8053 elif test -r $places/pcap.h
; then
8054 V_INCLS
="-I$places $V_INCLS"
8056 { { echo "$as_me:$LINENO: error: cannot find pcap.h" >&5
8057 echo "$as_me: error: cannot find pcap.h" >&2;}
8058 { (exit see INSTALL
); exit see INSTALL
; }; }
8060 echo "$as_me:$LINENO: result: $libpcap" >&5
8061 echo "${ECHO_T}$libpcap" >&6
8063 LIBS
="$libpcap $LIBS"
8067 pseexe
="/lib/pse.exp"
8068 echo "$as_me:$LINENO: checking for $pseexe" >&5
8069 echo $ECHO_N "checking for $pseexe... $ECHO_C" >&6
8070 if test -f $pseexe ; then
8071 echo "$as_me:$LINENO: result: yes" >&5
8072 echo "${ECHO_T}yes" >&6
8073 LIBS
="$LIBS -I:$pseexe"
8076 # We need "-lodm" and "-lcfg", as libpcap requires them on
8077 # AIX, and we just build a static libpcap.a and thus can't
8078 # arrange that when you link with libpcap you automatically
8079 # link with those libraries.
8081 LIBS
="$LIBS -lodm -lcfg"
8085 echo "$as_me:$LINENO: checking for pcap_list_datalinks" >&5
8086 echo $ECHO_N "checking for pcap_list_datalinks... $ECHO_C" >&6
8087 if test "${ac_cv_func_pcap_list_datalinks+set}" = set; then
8088 echo $ECHO_N "(cached) $ECHO_C" >&6
8090 cat >conftest.
$ac_ext <<_ACEOF
8091 #line $LINENO "configure"
8094 cat confdefs.h
>>conftest.
$ac_ext
8095 cat >>conftest.
$ac_ext <<_ACEOF
8096 /* end confdefs.h. */
8097 /* System header to define __stub macros and hopefully few prototypes,
8098 which can conflict with char pcap_list_datalinks (); below.
8099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8100 <limits.h> exists even on freestanding compilers. */
8102 # include <limits.h>
8104 # 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. */
8113 char pcap_list_datalinks ();
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_pcap_list_datalinks) || defined (__stub___pcap_list_datalinks)
8120 char (*f) () = pcap_list_datalinks;
8129 return f != pcap_list_datalinks;
8134 rm -f conftest.
$ac_objext conftest
$ac_exeext
8135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8136 (eval $ac_link) 2>&5
8138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8139 (exit $ac_status); } &&
8140 { ac_try
='test -s conftest$ac_exeext'
8141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8145 (exit $ac_status); }; }; then
8146 ac_cv_func_pcap_list_datalinks
=yes
8148 echo "$as_me: failed program was:" >&5
8149 sed 's/^/| /' conftest.
$ac_ext >&5
8151 ac_cv_func_pcap_list_datalinks
=no
8153 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8155 echo "$as_me:$LINENO: result: $ac_cv_func_pcap_list_datalinks" >&5
8156 echo "${ECHO_T}$ac_cv_func_pcap_list_datalinks" >&6
8157 if test $ac_cv_func_pcap_list_datalinks = yes; then
8158 cat >>confdefs.h
<<\_ACEOF
8159 #define HAVE_PCAP_LIST_DATALINKS 1
8163 LIBOBJS
="$LIBOBJS datalinks.$ac_objext"
8166 echo "$as_me:$LINENO: checking for pcap_set_datalink" >&5
8167 echo $ECHO_N "checking for pcap_set_datalink... $ECHO_C" >&6
8168 if test "${ac_cv_func_pcap_set_datalink+set}" = set; then
8169 echo $ECHO_N "(cached) $ECHO_C" >&6
8171 cat >conftest.
$ac_ext <<_ACEOF
8172 #line $LINENO "configure"
8175 cat confdefs.h
>>conftest.
$ac_ext
8176 cat >>conftest.
$ac_ext <<_ACEOF
8177 /* end confdefs.h. */
8178 /* System header to define __stub macros and hopefully few prototypes,
8179 which can conflict with char pcap_set_datalink (); below.
8180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8181 <limits.h> exists even on freestanding compilers. */
8183 # include <limits.h>
8185 # include <assert.h>
8187 /* Override any gcc2 internal prototype to avoid an error. */
8192 /* We use char because int might match the return type of a gcc2
8193 builtin and then its argument prototype would still apply. */
8194 char pcap_set_datalink ();
8195 /* The GNU C library defines this for functions which it implements
8196 to always fail with ENOSYS. Some functions are actually named
8197 something starting with __ and the normal name is an alias. */
8198 #if defined (__stub_pcap_set_datalink) || defined (__stub___pcap_set_datalink)
8201 char (*f) () = pcap_set_datalink;
8210 return f != pcap_set_datalink;
8215 rm -f conftest.
$ac_objext conftest
$ac_exeext
8216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8217 (eval $ac_link) 2>&5
8219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8220 (exit $ac_status); } &&
8221 { ac_try
='test -s conftest$ac_exeext'
8222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8226 (exit $ac_status); }; }; then
8227 ac_cv_func_pcap_set_datalink
=yes
8229 echo "$as_me: failed program was:" >&5
8230 sed 's/^/| /' conftest.
$ac_ext >&5
8232 ac_cv_func_pcap_set_datalink
=no
8234 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8236 echo "$as_me:$LINENO: result: $ac_cv_func_pcap_set_datalink" >&5
8237 echo "${ECHO_T}$ac_cv_func_pcap_set_datalink" >&6
8238 if test $ac_cv_func_pcap_set_datalink = yes; then
8239 cat >>confdefs.h
<<\_ACEOF
8240 #define HAVE_PCAP_SET_DATALINK 1
8245 echo "$as_me:$LINENO: checking for pcap_datalink_name_to_val" >&5
8246 echo $ECHO_N "checking for pcap_datalink_name_to_val... $ECHO_C" >&6
8247 if test "${ac_cv_func_pcap_datalink_name_to_val+set}" = set; then
8248 echo $ECHO_N "(cached) $ECHO_C" >&6
8250 cat >conftest.
$ac_ext <<_ACEOF
8251 #line $LINENO "configure"
8254 cat confdefs.h
>>conftest.
$ac_ext
8255 cat >>conftest.
$ac_ext <<_ACEOF
8256 /* end confdefs.h. */
8257 /* System header to define __stub macros and hopefully few prototypes,
8258 which can conflict with char pcap_datalink_name_to_val (); below.
8259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8260 <limits.h> exists even on freestanding compilers. */
8262 # include <limits.h>
8264 # include <assert.h>
8266 /* Override any gcc2 internal prototype to avoid an error. */
8271 /* We use char because int might match the return type of a gcc2
8272 builtin and then its argument prototype would still apply. */
8273 char pcap_datalink_name_to_val ();
8274 /* The GNU C library defines this for functions which it implements
8275 to always fail with ENOSYS. Some functions are actually named
8276 something starting with __ and the normal name is an alias. */
8277 #if defined (__stub_pcap_datalink_name_to_val) || defined (__stub___pcap_datalink_name_to_val)
8280 char (*f) () = pcap_datalink_name_to_val;
8289 return f != pcap_datalink_name_to_val;
8294 rm -f conftest.
$ac_objext conftest
$ac_exeext
8295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8296 (eval $ac_link) 2>&5
8298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8299 (exit $ac_status); } &&
8300 { ac_try
='test -s conftest$ac_exeext'
8301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8305 (exit $ac_status); }; }; then
8306 ac_cv_func_pcap_datalink_name_to_val
=yes
8308 echo "$as_me: failed program was:" >&5
8309 sed 's/^/| /' conftest.
$ac_ext >&5
8311 ac_cv_func_pcap_datalink_name_to_val
=no
8313 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8315 echo "$as_me:$LINENO: result: $ac_cv_func_pcap_datalink_name_to_val" >&5
8316 echo "${ECHO_T}$ac_cv_func_pcap_datalink_name_to_val" >&6
8317 if test $ac_cv_func_pcap_datalink_name_to_val = yes; then
8319 cat >>confdefs.h
<<\_ACEOF
8320 #define HAVE_PCAP_DATALINK_NAME_TO_VAL 1
8323 echo "$as_me:$LINENO: checking for pcap_datalink_val_to_description" >&5
8324 echo $ECHO_N "checking for pcap_datalink_val_to_description... $ECHO_C" >&6
8325 if test "${ac_cv_func_pcap_datalink_val_to_description+set}" = set; then
8326 echo $ECHO_N "(cached) $ECHO_C" >&6
8328 cat >conftest.
$ac_ext <<_ACEOF
8329 #line $LINENO "configure"
8332 cat confdefs.h
>>conftest.
$ac_ext
8333 cat >>conftest.
$ac_ext <<_ACEOF
8334 /* end confdefs.h. */
8335 /* System header to define __stub macros and hopefully few prototypes,
8336 which can conflict with char pcap_datalink_val_to_description (); below.
8337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8338 <limits.h> exists even on freestanding compilers. */
8340 # include <limits.h>
8342 # include <assert.h>
8344 /* Override any gcc2 internal prototype to avoid an error. */
8349 /* We use char because int might match the return type of a gcc2
8350 builtin and then its argument prototype would still apply. */
8351 char pcap_datalink_val_to_description ();
8352 /* The GNU C library defines this for functions which it implements
8353 to always fail with ENOSYS. Some functions are actually named
8354 something starting with __ and the normal name is an alias. */
8355 #if defined (__stub_pcap_datalink_val_to_description) || defined (__stub___pcap_datalink_val_to_description)
8358 char (*f) () = pcap_datalink_val_to_description;
8367 return f != pcap_datalink_val_to_description;
8372 rm -f conftest.
$ac_objext conftest
$ac_exeext
8373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8374 (eval $ac_link) 2>&5
8376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8377 (exit $ac_status); } &&
8378 { ac_try
='test -s conftest$ac_exeext'
8379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8383 (exit $ac_status); }; }; then
8384 ac_cv_func_pcap_datalink_val_to_description
=yes
8386 echo "$as_me: failed program was:" >&5
8387 sed 's/^/| /' conftest.
$ac_ext >&5
8389 ac_cv_func_pcap_datalink_val_to_description
=no
8391 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8393 echo "$as_me:$LINENO: result: $ac_cv_func_pcap_datalink_val_to_description" >&5
8394 echo "${ECHO_T}$ac_cv_func_pcap_datalink_val_to_description" >&6
8395 if test $ac_cv_func_pcap_datalink_val_to_description = yes; then
8396 cat >>confdefs.h
<<\_ACEOF
8397 #define HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1
8401 LIBOBJS
="$LIBOBJS dlnames.$ac_objext"
8406 LIBOBJS
="$LIBOBJS dlnames.$ac_objext"
8411 for ac_func
in pcap_breakloop
8413 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8414 echo "$as_me:$LINENO: checking for $ac_func" >&5
8415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8416 if eval "test \"\${$as_ac_var+set}\" = set"; then
8417 echo $ECHO_N "(cached) $ECHO_C" >&6
8419 cat >conftest.
$ac_ext <<_ACEOF
8420 #line $LINENO "configure"
8423 cat confdefs.h
>>conftest.
$ac_ext
8424 cat >>conftest.
$ac_ext <<_ACEOF
8425 /* end confdefs.h. */
8426 /* System header to define __stub macros and hopefully few prototypes,
8427 which can conflict with char $ac_func (); below.
8428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8429 <limits.h> exists even on freestanding compilers. */
8431 # include <limits.h>
8433 # include <assert.h>
8435 /* Override any gcc2 internal prototype to avoid an error. */
8440 /* We use char because int might match the return type of a gcc2
8441 builtin and then its argument prototype would still apply. */
8443 /* The GNU C library defines this for functions which it implements
8444 to always fail with ENOSYS. Some functions are actually named
8445 something starting with __ and the normal name is an alias. */
8446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8449 char (*f) () = $ac_func;
8458 return f != $ac_func;
8463 rm -f conftest.
$ac_objext conftest
$ac_exeext
8464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8465 (eval $ac_link) 2>&5
8467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8468 (exit $ac_status); } &&
8469 { ac_try
='test -s conftest$ac_exeext'
8470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8474 (exit $ac_status); }; }; then
8475 eval "$as_ac_var=yes"
8477 echo "$as_me: failed program was:" >&5
8478 sed 's/^/| /' conftest.
$ac_ext >&5
8480 eval "$as_ac_var=no"
8482 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8486 if test `eval echo '${'$as_ac_var'}'` = yes; then
8487 cat >>confdefs.h
<<_ACEOF
8488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8497 # Check for these after AC_LBL_LIBPCAP, so we link with the appropriate
8498 # libraries (e.g., "-lsocket -lnsl" on Solaris).
8500 # We don't use AC_REPLACE_FUNCS because that uses AC_CHECK_FUNCS which
8501 # use AC_CHECK_FUNC which doesn't let us specify the right #includes
8502 # to make this work on BSD/OS 4.x. BSD/OS 4.x ships with the BIND8
8503 # resolver, and the way it defines inet_{ntop,pton} is rather strange;
8504 # it does not ship with a libc symbol "inet_ntop()", it ships with
8505 # "_inet_ntop()", and has a #define macro in one of the system headers
8508 echo "$as_me:$LINENO: checking for inet_ntop" >&5
8509 echo $ECHO_N "checking for inet_ntop... $ECHO_C" >&6
8510 cat >conftest.
$ac_ext <<_ACEOF
8511 #line $LINENO "configure"
8514 cat confdefs.h
>>conftest.
$ac_ext
8515 cat >>conftest.
$ac_ext <<_ACEOF
8516 /* end confdefs.h. */
8517 #include <sys/types.h>
8518 #include <sys/socket.h>
8519 #include <netinet/in.h>
8520 #include <arpa/inet.h>
8524 char src[4], dst[128];
8525 inet_ntop(AF_INET, src, dst, sizeof(dst));
8530 rm -f conftest.
$ac_objext conftest
$ac_exeext
8531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8532 (eval $ac_link) 2>&5
8534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8535 (exit $ac_status); } &&
8536 { ac_try
='test -s conftest$ac_exeext'
8537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8541 (exit $ac_status); }; }; then
8542 echo "$as_me:$LINENO: result: yes" >&5
8543 echo "${ECHO_T}yes" >&6
8545 echo "$as_me: failed program was:" >&5
8546 sed 's/^/| /' conftest.
$ac_ext >&5
8548 echo "$as_me:$LINENO: result: no" >&5
8549 echo "${ECHO_T}no" >&6
8550 LIBOBJS
="$LIBOBJS inet_ntop.$ac_objext"
8552 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8553 echo "$as_me:$LINENO: checking for inet_pton" >&5
8554 echo $ECHO_N "checking for inet_pton... $ECHO_C" >&6
8555 cat >conftest.
$ac_ext <<_ACEOF
8556 #line $LINENO "configure"
8559 cat confdefs.h
>>conftest.
$ac_ext
8560 cat >>conftest.
$ac_ext <<_ACEOF
8561 /* end confdefs.h. */
8562 #include <sys/types.h>
8563 #include <sys/socket.h>
8564 #include <netinet/in.h>
8565 #include <arpa/inet.h>
8569 char src[128], dst[4];
8570 inet_pton(AF_INET, src, dst);
8575 rm -f conftest.
$ac_objext conftest
$ac_exeext
8576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8577 (eval $ac_link) 2>&5
8579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8580 (exit $ac_status); } &&
8581 { ac_try
='test -s conftest$ac_exeext'
8582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8586 (exit $ac_status); }; }; then
8587 echo "$as_me:$LINENO: result: yes" >&5
8588 echo "${ECHO_T}yes" >&6
8590 echo "$as_me: failed program was:" >&5
8591 sed 's/^/| /' conftest.
$ac_ext >&5
8593 echo "$as_me:$LINENO: result: no" >&5
8594 echo "${ECHO_T}no" >&6
8595 LIBOBJS
="$LIBOBJS inet_pton.$ac_objext"
8597 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8598 echo "$as_me:$LINENO: checking for inet_aton" >&5
8599 echo $ECHO_N "checking for inet_aton... $ECHO_C" >&6
8600 cat >conftest.
$ac_ext <<_ACEOF
8601 #line $LINENO "configure"
8604 cat confdefs.h
>>conftest.
$ac_ext
8605 cat >>conftest.
$ac_ext <<_ACEOF
8606 /* end confdefs.h. */
8607 #include <sys/types.h>
8608 #include <netinet/in.h>
8609 #include <arpa/inet.h>
8615 inet_aton(src, &dst);
8620 rm -f conftest.
$ac_objext conftest
$ac_exeext
8621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8622 (eval $ac_link) 2>&5
8624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8625 (exit $ac_status); } &&
8626 { ac_try
='test -s conftest$ac_exeext'
8627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8631 (exit $ac_status); }; }; then
8632 echo "$as_me:$LINENO: result: yes" >&5
8633 echo "${ECHO_T}yes" >&6
8635 echo "$as_me: failed program was:" >&5
8636 sed 's/^/| /' conftest.
$ac_ext >&5
8638 echo "$as_me:$LINENO: result: no" >&5
8639 echo "${ECHO_T}no" >&6
8640 LIBOBJS
="$LIBOBJS inet_aton.$ac_objext"
8642 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8645 echo "$as_me:$LINENO: checking if sockaddr struct has sa_len member" >&5
8646 echo $ECHO_N "checking if sockaddr struct has sa_len member... $ECHO_C" >&6
8647 if test "${ac_cv_sockaddr_has_sa_len+set}" = set; then
8648 echo $ECHO_N "(cached) $ECHO_C" >&6
8650 cat >conftest.
$ac_ext <<_ACEOF
8651 #line $LINENO "configure"
8654 cat confdefs.h
>>conftest.
$ac_ext
8655 cat >>conftest.
$ac_ext <<_ACEOF
8656 /* end confdefs.h. */
8658 # include <sys/types.h>
8659 # include <sys/socket.h>
8663 u_int i = sizeof(((struct sockaddr *)0)->sa_len)
8668 rm -f conftest.
$ac_objext
8669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8670 (eval $ac_compile) 2>&5
8672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8673 (exit $ac_status); } &&
8674 { ac_try
='test -s conftest.$ac_objext'
8675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8679 (exit $ac_status); }; }; then
8680 ac_cv_sockaddr_has_sa_len
=yes
8682 echo "$as_me: failed program was:" >&5
8683 sed 's/^/| /' conftest.
$ac_ext >&5
8685 ac_cv_sockaddr_has_sa_len
=no
8687 rm -f conftest.
$ac_objext conftest.
$ac_ext
8690 echo "$as_me:$LINENO: result: $ac_cv_sockaddr_has_sa_len" >&5
8691 echo "${ECHO_T}$ac_cv_sockaddr_has_sa_len" >&6
8692 if test $ac_cv_sockaddr_has_sa_len = yes ; then
8693 cat >>confdefs.h
<<\_ACEOF
8694 #define HAVE_SOCKADDR_SA_LEN 1
8699 if test "$ac_cv_sockaddr_has_sa_len" = no
; then
8700 missing_includes
=yes
8706 for ac_func
in pcap_findalldevs pcap_dump_flush pcap_lib_version
8708 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8709 echo "$as_me:$LINENO: checking for $ac_func" >&5
8710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8711 if eval "test \"\${$as_ac_var+set}\" = set"; then
8712 echo $ECHO_N "(cached) $ECHO_C" >&6
8714 cat >conftest.
$ac_ext <<_ACEOF
8715 #line $LINENO "configure"
8718 cat confdefs.h
>>conftest.
$ac_ext
8719 cat >>conftest.
$ac_ext <<_ACEOF
8720 /* end confdefs.h. */
8721 /* System header to define __stub macros and hopefully few prototypes,
8722 which can conflict with char $ac_func (); below.
8723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8724 <limits.h> exists even on freestanding compilers. */
8726 # include <limits.h>
8728 # include <assert.h>
8730 /* Override any gcc2 internal prototype to avoid an error. */
8735 /* We use char because int might match the return type of a gcc2
8736 builtin and then its argument prototype would still apply. */
8738 /* The GNU C library defines this for functions which it implements
8739 to always fail with ENOSYS. Some functions are actually named
8740 something starting with __ and the normal name is an alias. */
8741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8744 char (*f) () = $ac_func;
8753 return f != $ac_func;
8758 rm -f conftest.
$ac_objext conftest
$ac_exeext
8759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8760 (eval $ac_link) 2>&5
8762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8763 (exit $ac_status); } &&
8764 { ac_try
='test -s conftest$ac_exeext'
8765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8769 (exit $ac_status); }; }; then
8770 eval "$as_ac_var=yes"
8772 echo "$as_me: failed program was:" >&5
8773 sed 's/^/| /' conftest.
$ac_ext >&5
8775 eval "$as_ac_var=no"
8777 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8781 if test `eval echo '${'$as_ac_var'}'` = yes; then
8782 cat >>confdefs.h
<<_ACEOF
8783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8789 if test $ac_cv_func_pcap_findalldevs = "yes" ; then
8790 echo "$as_me:$LINENO: checking for pcap_if_t" >&5
8791 echo $ECHO_N "checking for pcap_if_t... $ECHO_C" >&6
8792 if test "${ac_cv_type_pcap_if_t+set}" = set; then
8793 echo $ECHO_N "(cached) $ECHO_C" >&6
8795 cat >conftest.
$ac_ext <<_ACEOF
8796 #line $LINENO "configure"
8799 cat confdefs.h
>>conftest.
$ac_ext
8800 cat >>conftest.
$ac_ext <<_ACEOF
8801 /* end confdefs.h. */
8807 if ((pcap_if_t *) 0)
8809 if (sizeof (pcap_if_t))
8815 rm -f conftest.
$ac_objext
8816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8817 (eval $ac_compile) 2>&5
8819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8820 (exit $ac_status); } &&
8821 { ac_try
='test -s conftest.$ac_objext'
8822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8826 (exit $ac_status); }; }; then
8827 ac_cv_type_pcap_if_t
=yes
8829 echo "$as_me: failed program was:" >&5
8830 sed 's/^/| /' conftest.
$ac_ext >&5
8832 ac_cv_type_pcap_if_t
=no
8834 rm -f conftest.
$ac_objext conftest.
$ac_ext
8836 echo "$as_me:$LINENO: result: $ac_cv_type_pcap_if_t" >&5
8837 echo "${ECHO_T}$ac_cv_type_pcap_if_t" >&6
8838 if test $ac_cv_type_pcap_if_t = yes; then
8840 cat >>confdefs.h
<<_ACEOF
8841 #define HAVE_PCAP_IF_T 1
8848 if test $ac_cv_func_pcap_lib_version = "no" ; then
8849 echo "$as_me:$LINENO: checking whether pcap_version is defined by libpcap" >&5
8850 echo $ECHO_N "checking whether pcap_version is defined by libpcap... $ECHO_C" >&6
8851 cat >conftest.
$ac_ext <<_ACEOF
8852 #line $LINENO "configure"
8855 cat confdefs.h
>>conftest.
$ac_ext
8856 cat >>conftest.
$ac_ext <<_ACEOF
8857 /* end confdefs.h. */
8864 return_pcap_version(void)
8866 extern char pcap_version[];
8868 return pcap_version;
8875 rm -f conftest.
$ac_objext conftest
$ac_exeext
8876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8877 (eval $ac_link) 2>&5
8879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8880 (exit $ac_status); } &&
8881 { ac_try
='test -s conftest$ac_exeext'
8882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8886 (exit $ac_status); }; }; then
8887 ac_lbl_cv_pcap_version_defined
=yes
8889 echo "$as_me: failed program was:" >&5
8890 sed 's/^/| /' conftest.
$ac_ext >&5
8892 ac_lbl_cv_pcap_version_defined
=no
8894 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8895 if test "$ac_lbl_cv_pcap_version_defined" = yes ; then
8896 echo "$as_me:$LINENO: result: yes" >&5
8897 echo "${ECHO_T}yes" >&6
8898 cat >>confdefs.h
<<\_ACEOF
8899 #define HAVE_PCAP_VERSION 1
8903 echo "$as_me:$LINENO: result: no" >&5
8904 echo "${ECHO_T}no" >&6
8907 echo "$as_me:$LINENO: checking whether pcap_debug is defined by libpcap" >&5
8908 echo $ECHO_N "checking whether pcap_debug is defined by libpcap... $ECHO_C" >&6
8909 cat >conftest.
$ac_ext <<_ACEOF
8910 #line $LINENO "configure"
8913 cat confdefs.h
>>conftest.
$ac_ext
8914 cat >>conftest.
$ac_ext <<_ACEOF
8915 /* end confdefs.h. */
8922 return_pcap_debug(void)
8924 extern int pcap_debug;
8933 rm -f conftest.
$ac_objext conftest
$ac_exeext
8934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8935 (eval $ac_link) 2>&5
8937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8938 (exit $ac_status); } &&
8939 { ac_try
='test -s conftest$ac_exeext'
8940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8944 (exit $ac_status); }; }; then
8945 ac_lbl_cv_pcap_debug_defined
=yes
8947 echo "$as_me: failed program was:" >&5
8948 sed 's/^/| /' conftest.
$ac_ext >&5
8950 ac_lbl_cv_pcap_debug_defined
=no
8952 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8953 if test "$ac_lbl_cv_pcap_debug_defined" = yes ; then
8954 echo "$as_me:$LINENO: result: yes" >&5
8955 echo "${ECHO_T}yes" >&6
8956 cat >>confdefs.h
<<\_ACEOF
8957 #define HAVE_PCAP_DEBUG 1
8961 echo "$as_me:$LINENO: result: no" >&5
8962 echo "${ECHO_T}no" >&6
8964 # OK, what about "yydebug"?
8966 echo "$as_me:$LINENO: checking whether yydebug is defined by libpcap" >&5
8967 echo $ECHO_N "checking whether yydebug is defined by libpcap... $ECHO_C" >&6
8968 cat >conftest.
$ac_ext <<_ACEOF
8969 #line $LINENO "configure"
8972 cat confdefs.h
>>conftest.
$ac_ext
8973 cat >>conftest.
$ac_ext <<_ACEOF
8974 /* end confdefs.h. */
8981 return_yydebug(void)
8992 rm -f conftest.
$ac_objext conftest
$ac_exeext
8993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8994 (eval $ac_link) 2>&5
8996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8997 (exit $ac_status); } &&
8998 { ac_try
='test -s conftest$ac_exeext'
8999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9003 (exit $ac_status); }; }; then
9004 ac_lbl_cv_yydebug_defined
=yes
9006 echo "$as_me: failed program was:" >&5
9007 sed 's/^/| /' conftest.
$ac_ext >&5
9009 ac_lbl_cv_yydebug_defined
=no
9011 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9012 if test "$ac_lbl_cv_yydebug_defined" = yes ; then
9013 echo "$as_me:$LINENO: result: yes" >&5
9014 echo "${ECHO_T}yes" >&6
9015 cat >>confdefs.h
<<\_ACEOF
9016 #define HAVE_YYDEBUG 1
9020 echo "$as_me:$LINENO: result: no" >&5
9021 echo "${ECHO_T}no" >&6
9025 for ac_func
in bpf_dump
9027 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9028 echo "$as_me:$LINENO: checking for $ac_func" >&5
9029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9030 if eval "test \"\${$as_ac_var+set}\" = set"; then
9031 echo $ECHO_N "(cached) $ECHO_C" >&6
9033 cat >conftest.
$ac_ext <<_ACEOF
9034 #line $LINENO "configure"
9037 cat confdefs.h
>>conftest.
$ac_ext
9038 cat >>conftest.
$ac_ext <<_ACEOF
9039 /* end confdefs.h. */
9040 /* System header to define __stub macros and hopefully few prototypes,
9041 which can conflict with char $ac_func (); below.
9042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9043 <limits.h> exists even on freestanding compilers. */
9045 # include <limits.h>
9047 # include <assert.h>
9049 /* Override any gcc2 internal prototype to avoid an error. */
9054 /* We use char because int might match the return type of a gcc2
9055 builtin and then its argument prototype would still apply. */
9057 /* The GNU C library defines this for functions which it implements
9058 to always fail with ENOSYS. Some functions are actually named
9059 something starting with __ and the normal name is an alias. */
9060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9063 char (*f) () = $ac_func;
9072 return f != $ac_func;
9077 rm -f conftest.
$ac_objext conftest
$ac_exeext
9078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9079 (eval $ac_link) 2>&5
9081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9082 (exit $ac_status); } &&
9083 { ac_try
='test -s conftest$ac_exeext'
9084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9088 (exit $ac_status); }; }; then
9089 eval "$as_ac_var=yes"
9091 echo "$as_me: failed program was:" >&5
9092 sed 's/^/| /' conftest.
$ac_ext >&5
9094 eval "$as_ac_var=no"
9096 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9100 if test `eval echo '${'$as_ac_var'}'` = yes; then
9101 cat >>confdefs.h
<<_ACEOF
9102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9106 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
9112 if test -f /etc
/group
-a ! -z "`grep '^wheel:' /etc/group`" ; then
9118 cat >>confdefs.h
<<\_ACEOF
9137 if test -f /dev
/bpf0
; then
9141 echo "$as_me:$LINENO: checking for int8_t using $CC" >&5
9142 echo $ECHO_N "checking for int8_t using $CC... $ECHO_C" >&6
9143 if test "${ac_cv_lbl_have_int8_t+set}" = set; then
9144 echo $ECHO_N "(cached) $ECHO_C" >&6
9146 cat >conftest.
$ac_ext <<_ACEOF
9147 #line $LINENO "configure"
9150 cat confdefs.h
>>conftest.
$ac_ext
9151 cat >>conftest.
$ac_ext <<_ACEOF
9152 /* end confdefs.h. */
9154 # include "confdefs.h"
9155 # include <sys/types.h>
9157 # include <stdlib.h>
9158 # include <stddef.h>
9168 rm -f conftest.
$ac_objext
9169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9170 (eval $ac_compile) 2>&5
9172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9173 (exit $ac_status); } &&
9174 { ac_try
='test -s conftest.$ac_objext'
9175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9179 (exit $ac_status); }; }; then
9180 ac_cv_lbl_have_int8_t
=yes
9182 echo "$as_me: failed program was:" >&5
9183 sed 's/^/| /' conftest.
$ac_ext >&5
9185 ac_cv_lbl_have_int8_t
=no
9187 rm -f conftest.
$ac_objext conftest.
$ac_ext
9190 echo "$as_me:$LINENO: result: $ac_cv_lbl_have_int8_t" >&5
9191 echo "${ECHO_T}$ac_cv_lbl_have_int8_t" >&6
9192 if test $ac_cv_lbl_have_int8_t = no
; then
9193 cat >>confdefs.h
<<\_ACEOF
9194 #define int8_t signed char
9198 echo "$as_me:$LINENO: checking for u_int8_t using $CC" >&5
9199 echo $ECHO_N "checking for u_int8_t using $CC... $ECHO_C" >&6
9200 if test "${ac_cv_lbl_have_u_int8_t+set}" = set; then
9201 echo $ECHO_N "(cached) $ECHO_C" >&6
9203 cat >conftest.
$ac_ext <<_ACEOF
9204 #line $LINENO "configure"
9207 cat confdefs.h
>>conftest.
$ac_ext
9208 cat >>conftest.
$ac_ext <<_ACEOF
9209 /* end confdefs.h. */
9211 # include "confdefs.h"
9212 # include <sys/types.h>
9214 # include <stdlib.h>
9215 # include <stddef.h>
9225 rm -f conftest.
$ac_objext
9226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9227 (eval $ac_compile) 2>&5
9229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9230 (exit $ac_status); } &&
9231 { ac_try
='test -s conftest.$ac_objext'
9232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9236 (exit $ac_status); }; }; then
9237 ac_cv_lbl_have_u_int8_t
=yes
9239 echo "$as_me: failed program was:" >&5
9240 sed 's/^/| /' conftest.
$ac_ext >&5
9242 ac_cv_lbl_have_u_int8_t
=no
9244 rm -f conftest.
$ac_objext conftest.
$ac_ext
9247 echo "$as_me:$LINENO: result: $ac_cv_lbl_have_u_int8_t" >&5
9248 echo "${ECHO_T}$ac_cv_lbl_have_u_int8_t" >&6
9249 if test $ac_cv_lbl_have_u_int8_t = no
; then
9250 cat >>confdefs.h
<<\_ACEOF
9251 #define u_int8_t u_char
9255 echo "$as_me:$LINENO: checking for int16_t using $CC" >&5
9256 echo $ECHO_N "checking for int16_t using $CC... $ECHO_C" >&6
9257 if test "${ac_cv_lbl_have_int16_t+set}" = set; then
9258 echo $ECHO_N "(cached) $ECHO_C" >&6
9260 cat >conftest.
$ac_ext <<_ACEOF
9261 #line $LINENO "configure"
9264 cat confdefs.h
>>conftest.
$ac_ext
9265 cat >>conftest.
$ac_ext <<_ACEOF
9266 /* end confdefs.h. */
9268 # include "confdefs.h"
9269 # include <sys/types.h>
9271 # include <stdlib.h>
9272 # include <stddef.h>
9282 rm -f conftest.
$ac_objext
9283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9284 (eval $ac_compile) 2>&5
9286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9287 (exit $ac_status); } &&
9288 { ac_try
='test -s conftest.$ac_objext'
9289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9293 (exit $ac_status); }; }; then
9294 ac_cv_lbl_have_int16_t
=yes
9296 echo "$as_me: failed program was:" >&5
9297 sed 's/^/| /' conftest.
$ac_ext >&5
9299 ac_cv_lbl_have_int16_t
=no
9301 rm -f conftest.
$ac_objext conftest.
$ac_ext
9304 echo "$as_me:$LINENO: result: $ac_cv_lbl_have_int16_t" >&5
9305 echo "${ECHO_T}$ac_cv_lbl_have_int16_t" >&6
9306 if test $ac_cv_lbl_have_int16_t = no
; then
9307 cat >>confdefs.h
<<\_ACEOF
9308 #define int16_t short
9312 echo "$as_me:$LINENO: checking for u_int16_t using $CC" >&5
9313 echo $ECHO_N "checking for u_int16_t using $CC... $ECHO_C" >&6
9314 if test "${ac_cv_lbl_have_u_int16_t+set}" = set; then
9315 echo $ECHO_N "(cached) $ECHO_C" >&6
9317 cat >conftest.
$ac_ext <<_ACEOF
9318 #line $LINENO "configure"
9321 cat confdefs.h
>>conftest.
$ac_ext
9322 cat >>conftest.
$ac_ext <<_ACEOF
9323 /* end confdefs.h. */
9325 # include "confdefs.h"
9326 # include <sys/types.h>
9328 # include <stdlib.h>
9329 # include <stddef.h>
9339 rm -f conftest.
$ac_objext
9340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9341 (eval $ac_compile) 2>&5
9343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9344 (exit $ac_status); } &&
9345 { ac_try
='test -s conftest.$ac_objext'
9346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9350 (exit $ac_status); }; }; then
9351 ac_cv_lbl_have_u_int16_t
=yes
9353 echo "$as_me: failed program was:" >&5
9354 sed 's/^/| /' conftest.
$ac_ext >&5
9356 ac_cv_lbl_have_u_int16_t
=no
9358 rm -f conftest.
$ac_objext conftest.
$ac_ext
9361 echo "$as_me:$LINENO: result: $ac_cv_lbl_have_u_int16_t" >&5
9362 echo "${ECHO_T}$ac_cv_lbl_have_u_int16_t" >&6
9363 if test $ac_cv_lbl_have_u_int16_t = no
; then
9364 cat >>confdefs.h
<<\_ACEOF
9365 #define u_int16_t u_short
9369 echo "$as_me:$LINENO: checking for int32_t using $CC" >&5
9370 echo $ECHO_N "checking for int32_t using $CC... $ECHO_C" >&6
9371 if test "${ac_cv_lbl_have_int32_t+set}" = set; then
9372 echo $ECHO_N "(cached) $ECHO_C" >&6
9374 cat >conftest.
$ac_ext <<_ACEOF
9375 #line $LINENO "configure"
9378 cat confdefs.h
>>conftest.
$ac_ext
9379 cat >>conftest.
$ac_ext <<_ACEOF
9380 /* end confdefs.h. */
9382 # include "confdefs.h"
9383 # include <sys/types.h>
9385 # include <stdlib.h>
9386 # include <stddef.h>
9396 rm -f conftest.
$ac_objext
9397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9398 (eval $ac_compile) 2>&5
9400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9401 (exit $ac_status); } &&
9402 { ac_try
='test -s conftest.$ac_objext'
9403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9407 (exit $ac_status); }; }; then
9408 ac_cv_lbl_have_int32_t
=yes
9410 echo "$as_me: failed program was:" >&5
9411 sed 's/^/| /' conftest.
$ac_ext >&5
9413 ac_cv_lbl_have_int32_t
=no
9415 rm -f conftest.
$ac_objext conftest.
$ac_ext
9418 echo "$as_me:$LINENO: result: $ac_cv_lbl_have_int32_t" >&5
9419 echo "${ECHO_T}$ac_cv_lbl_have_int32_t" >&6
9420 if test $ac_cv_lbl_have_int32_t = no
; then
9421 cat >>confdefs.h
<<\_ACEOF
9426 echo "$as_me:$LINENO: checking for u_int32_t using $CC" >&5
9427 echo $ECHO_N "checking for u_int32_t using $CC... $ECHO_C" >&6
9428 if test "${ac_cv_lbl_have_u_int32_t+set}" = set; then
9429 echo $ECHO_N "(cached) $ECHO_C" >&6
9431 cat >conftest.
$ac_ext <<_ACEOF
9432 #line $LINENO "configure"
9435 cat confdefs.h
>>conftest.
$ac_ext
9436 cat >>conftest.
$ac_ext <<_ACEOF
9437 /* end confdefs.h. */
9439 # include "confdefs.h"
9440 # include <sys/types.h>
9442 # include <stdlib.h>
9443 # include <stddef.h>
9453 rm -f conftest.
$ac_objext
9454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9455 (eval $ac_compile) 2>&5
9457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9458 (exit $ac_status); } &&
9459 { ac_try
='test -s conftest.$ac_objext'
9460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9464 (exit $ac_status); }; }; then
9465 ac_cv_lbl_have_u_int32_t
=yes
9467 echo "$as_me: failed program was:" >&5
9468 sed 's/^/| /' conftest.
$ac_ext >&5
9470 ac_cv_lbl_have_u_int32_t
=no
9472 rm -f conftest.
$ac_objext conftest.
$ac_ext
9475 echo "$as_me:$LINENO: result: $ac_cv_lbl_have_u_int32_t" >&5
9476 echo "${ECHO_T}$ac_cv_lbl_have_u_int32_t" >&6
9477 if test $ac_cv_lbl_have_u_int32_t = no
; then
9478 cat >>confdefs.h
<<\_ACEOF
9479 #define u_int32_t u_int
9485 if test "${LBL_CFLAGS+set}" = set; then
9486 V_CCOPT
="$V_CCOPT ${LBL_CFLAGS}"
9488 if test -f .devel
; then
9489 if test "$GCC" = yes ; then
9490 if test "${LBL_CFLAGS+set}" != set; then
9491 if test "$ac_cv_prog_cc_g" = yes ; then
9492 V_CCOPT
="-g $V_CCOPT"
9494 V_CCOPT
="$V_CCOPT -Wall"
9495 if test $ac_cv_lbl_gcc_vers -gt 1 ; then
9496 V_CCOPT
="$V_CCOPT -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -W"
9503 V_CCOPT
="$V_CCOPT -n32"
9510 os
=`echo $host_os | sed -e 's/\([0-9][0-9]*\)[^0-9].*$/\1/'`
9512 if test -f $name ; then
9513 ln -s $name os-proto.h
9514 cat >>confdefs.h
<<\_ACEOF
9515 #define HAVE_OS_PROTO_H 1
9519 { echo "$as_me:$LINENO: WARNING: can't find $name" >&5
9520 echo "$as_me: WARNING: can't find $name" >&2;}
9524 echo "$as_me:$LINENO: checking if sockaddr struct has sa_len member" >&5
9525 echo $ECHO_N "checking if sockaddr struct has sa_len member... $ECHO_C" >&6
9526 if test "${ac_cv_lbl_sockaddr_has_sa_len+set}" = set; then
9527 echo $ECHO_N "(cached) $ECHO_C" >&6
9529 cat >conftest.
$ac_ext <<_ACEOF
9530 #line $LINENO "configure"
9533 cat confdefs.h
>>conftest.
$ac_ext
9534 cat >>conftest.
$ac_ext <<_ACEOF
9535 /* end confdefs.h. */
9537 # include <sys/types.h>
9538 # include <sys/socket.h>
9542 u_int i = sizeof(((struct sockaddr *)0)->sa_len)
9547 rm -f conftest.
$ac_objext
9548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9549 (eval $ac_compile) 2>&5
9551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9552 (exit $ac_status); } &&
9553 { ac_try
='test -s conftest.$ac_objext'
9554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9558 (exit $ac_status); }; }; then
9559 ac_cv_lbl_sockaddr_has_sa_len
=yes
9561 echo "$as_me: failed program was:" >&5
9562 sed 's/^/| /' conftest.
$ac_ext >&5
9564 ac_cv_lbl_sockaddr_has_sa_len
=no
9566 rm -f conftest.
$ac_objext conftest.
$ac_ext
9569 echo "$as_me:$LINENO: result: $ac_cv_lbl_sockaddr_has_sa_len" >&5
9570 echo "${ECHO_T}$ac_cv_lbl_sockaddr_has_sa_len" >&6
9571 if test $ac_cv_lbl_sockaddr_has_sa_len = yes ; then
9572 cat >>confdefs.h
<<\_ACEOF
9573 #define HAVE_SOCKADDR_SA_LEN 1
9578 echo "$as_me:$LINENO: checking if unaligned accesses fail" >&5
9579 echo $ECHO_N "checking if unaligned accesses fail... $ECHO_C" >&6
9580 if test "${ac_cv_lbl_unaligned_fail+set}" = set; then
9581 echo $ECHO_N "(cached) $ECHO_C" >&6
9586 # These are CPU types where:
9588 # the CPU faults on an unaligned access, but at least some
9589 # OSes that support that CPU catch the fault and simulate
9590 # the unaligned access (e.g., Alpha/{Digital,Tru64} UNIX) -
9591 # the simulation is slow, so we don't want to use it;
9593 # the CPU, I infer (from the old
9595 # XXX: should also check that they don't do weird things (like on arm)
9597 # comment) doesn't fault on unaligned accesses, but doesn't
9598 # do a normal unaligned fetch, either (e.g., presumably, ARM);
9600 # for whatever reason, the test program doesn't work
9601 # (this has been claimed to be the case for several of those
9602 # CPUs - I don't know what the problem is; the problem
9603 # was reported as "the test program dumps core" for SuperH,
9604 # but that's what the test program is *supposed* to do -
9605 # it dumps core before it writes anything, so the test
9606 # for an empty output file should find an empty output
9607 # file and conclude that unaligned accesses don't work).
9609 # This run-time test won't work if you're cross-compiling, so
9610 # in order to support cross-compiling for a particular CPU,
9611 # we have to wire in the list of CPU types anyway, as far as
9612 # I know, so perhaps we should just have a set of CPUs on
9613 # which we know it doesn't work, a set of CPUs on which we
9614 # know it does work, and have the script just fail on other
9615 # cpu types and update it when such a failure occurs.
9617 alpha
*|arm
*|hp
*|mips
*|sh
*|sparc
*|ia64|nv1
)
9618 ac_cv_lbl_unaligned_fail
=yes
9622 cat >conftest.c
<<EOF
9623 # include <sys/types.h>
9624 # include <sys/wait.h>
9626 unsigned char a[5] = { 1, 2, 3, 4, 5 };
9631 /* avoid "core dumped" message */
9637 pid = waitpid(pid, &status, 0);
9640 exit(!WIFEXITED(status));
9643 i = *(unsigned int *)&a[1];
9648 ${CC-cc} -o conftest
$CFLAGS $CPPFLAGS $LDFLAGS \
9649 conftest.c
$LIBS >/dev
/null
2>&1
9650 if test ! -x conftest
; then
9651 ac_cv_lbl_unaligned_fail
=yes
9653 .
/conftest
>conftest.out
9654 if test ! -s conftest.out
; then
9655 ac_cv_lbl_unaligned_fail
=yes
9657 ac_cv_lbl_unaligned_fail
=no
9660 rm -f conftest
* core core.conftest
9665 echo "$as_me:$LINENO: result: $ac_cv_lbl_unaligned_fail" >&5
9666 echo "${ECHO_T}$ac_cv_lbl_unaligned_fail" >&6
9667 if test $ac_cv_lbl_unaligned_fail = yes ; then
9668 cat >>confdefs.h
<<\_ACEOF
9675 echo "$as_me:$LINENO: checking for h_errno" >&5
9676 echo $ECHO_N "checking for h_errno... $ECHO_C" >&6
9677 if test "${ac_cv_var_h_errno+set}" = set; then
9678 echo $ECHO_N "(cached) $ECHO_C" >&6
9680 cat >conftest.
$ac_ext <<_ACEOF
9681 #line $LINENO "configure"
9684 cat confdefs.h
>>conftest.
$ac_ext
9685 cat >>conftest.
$ac_ext <<_ACEOF
9686 /* end confdefs.h. */
9688 # include <sys/types.h>
9698 rm -f conftest.
$ac_objext
9699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9700 (eval $ac_compile) 2>&5
9702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9703 (exit $ac_status); } &&
9704 { ac_try
='test -s conftest.$ac_objext'
9705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9709 (exit $ac_status); }; }; then
9710 ac_cv_var_h_errno
=yes
9712 echo "$as_me: failed program was:" >&5
9713 sed 's/^/| /' conftest.
$ac_ext >&5
9715 ac_cv_var_h_errno
=no
9717 rm -f conftest.
$ac_objext conftest.
$ac_ext
9720 echo "$as_me:$LINENO: result: $ac_cv_var_h_errno" >&5
9721 echo "${ECHO_T}$ac_cv_var_h_errno" >&6
9722 if test "$ac_cv_var_h_errno" = "yes"; then
9723 cat >>confdefs.h
<<\_ACEOF
9724 #define HAVE_H_ERRNO 1
9731 # Check whether --with-crypto or --without-crypto was given.
9732 if test "${with_crypto+set}" = set; then
9733 withval
="$with_crypto"
9737 echo "$as_me:$LINENO: checking for SSLeay" >&5
9738 echo $ECHO_N "checking for SSLeay... $ECHO_C" >&6
9739 ac_cv_ssleay_path
=no
9742 Xprefix
=`eval echo $prefix`
9744 for dir
in $Xprefix /usr
/${host_alias} /usr
/usr
/local /usr
/local
/ssl
/usr
/pkg
; do
9746 # XXX - is there a better way to check if a given library is
9747 # in a given directory than checking each of the possible
9748 # shared library suffixes?
9750 # Are there any other suffixes we need to look for? Do we have to
9751 # worry about ".so.{version}"?
9753 # Or should we just look for "libcrypto.*"?
9755 if test -d $dir/lib
-a \
( -f $dir/lib
/libcrypto.a
-o \
9756 -f $dir/lib
/libcrypto.so
-o \
9757 -f $dir/lib
/libcrypto.sl
-o \
9758 -f $dir/lib
/libcrypto.dylib \
); then
9759 ac_cv_ssleay_path
=$dir
9761 if test -d $dir/include
/openssl
-a -f $dir/include
/openssl
/des.h
; then
9762 incdir
="-I$dir/include"
9764 if test "$ac_cv_ssleay_path" != "no" -a "$incdir" != "no"; then
9767 ac_cv_ssleay_path
=no
9771 echo "$as_me:$LINENO: result: $ac_cv_ssleay_path" >&5
9772 echo "${ECHO_T}$ac_cv_ssleay_path" >&6
9773 if test "$ac_cv_ssleay_path" != no
; then
9774 V_INCLS
="$V_INCLS $incdir"
9775 LDFLAGS
="-L$dir/lib $LDFLAGS"
9776 if test -f $ac_cv_ssleay_path/lib
/libRSAglue.a
; then
9777 LIBS
="$LIBS -lRSAglue"
9779 if test -f $ac_cv_ssleay_path/lib
/librsaref.a
; then
9780 LIBS
="$LIBS -lrsaref"
9783 echo "$as_me:$LINENO: checking for DES_cbc_encrypt in -lcrypto" >&5
9784 echo $ECHO_N "checking for DES_cbc_encrypt in -lcrypto... $ECHO_C" >&6
9785 if test "${ac_cv_lib_crypto_DES_cbc_encrypt+set}" = set; then
9786 echo $ECHO_N "(cached) $ECHO_C" >&6
9788 ac_check_lib_save_LIBS
=$LIBS
9789 LIBS
="-lcrypto $LIBS"
9790 cat >conftest.
$ac_ext <<_ACEOF
9791 #line $LINENO "configure"
9794 cat confdefs.h
>>conftest.
$ac_ext
9795 cat >>conftest.
$ac_ext <<_ACEOF
9796 /* end confdefs.h. */
9798 /* Override any gcc2 internal prototype to avoid an error. */
9802 /* We use char because int might match the return type of a gcc2
9803 builtin and then its argument prototype would still apply. */
9804 char DES_cbc_encrypt ();
9813 rm -f conftest.
$ac_objext conftest
$ac_exeext
9814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9815 (eval $ac_link) 2>&5
9817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9818 (exit $ac_status); } &&
9819 { ac_try
='test -s conftest$ac_exeext'
9820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9824 (exit $ac_status); }; }; then
9825 ac_cv_lib_crypto_DES_cbc_encrypt
=yes
9827 echo "$as_me: failed program was:" >&5
9828 sed 's/^/| /' conftest.
$ac_ext >&5
9830 ac_cv_lib_crypto_DES_cbc_encrypt
=no
9832 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9833 LIBS
=$ac_check_lib_save_LIBS
9835 echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_DES_cbc_encrypt" >&5
9836 echo "${ECHO_T}$ac_cv_lib_crypto_DES_cbc_encrypt" >&6
9837 if test $ac_cv_lib_crypto_DES_cbc_encrypt = yes; then
9838 cat >>confdefs.h
<<_ACEOF
9839 #define HAVE_LIBCRYPTO 1
9842 LIBS
="-lcrypto $LIBS"
9847 CPPFLAGS
="$CPPFLAGS $V_INCLS"
9849 for ac_header
in openssl
/evp.h
9851 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9853 echo "$as_me:$LINENO: checking for $ac_header" >&5
9854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9856 echo $ECHO_N "(cached) $ECHO_C" >&6
9858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9859 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9861 # Is the header compilable?
9862 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9863 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9864 cat >conftest.
$ac_ext <<_ACEOF
9865 #line $LINENO "configure"
9868 cat confdefs.h
>>conftest.
$ac_ext
9869 cat >>conftest.
$ac_ext <<_ACEOF
9870 /* end confdefs.h. */
9871 $ac_includes_default
9872 #include <$ac_header>
9874 rm -f conftest.
$ac_objext
9875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9876 (eval $ac_compile) 2>&5
9878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9879 (exit $ac_status); } &&
9880 { ac_try
='test -s conftest.$ac_objext'
9881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9885 (exit $ac_status); }; }; then
9886 ac_header_compiler
=yes
9888 echo "$as_me: failed program was:" >&5
9889 sed 's/^/| /' conftest.
$ac_ext >&5
9891 ac_header_compiler
=no
9893 rm -f conftest.
$ac_objext conftest.
$ac_ext
9894 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9895 echo "${ECHO_T}$ac_header_compiler" >&6
9897 # Is the header present?
9898 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9899 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9900 cat >conftest.
$ac_ext <<_ACEOF
9901 #line $LINENO "configure"
9904 cat confdefs.h
>>conftest.
$ac_ext
9905 cat >>conftest.
$ac_ext <<_ACEOF
9906 /* end confdefs.h. */
9907 #include <$ac_header>
9909 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9910 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9912 grep -v '^ *+' conftest.er1
>conftest.err
9914 cat conftest.err
>&5
9915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9916 (exit $ac_status); } >/dev
/null
; then
9917 if test -s conftest.err
; then
9918 ac_cpp_err
=$ac_c_preproc_warn_flag
9925 if test -z "$ac_cpp_err"; then
9926 ac_header_preproc
=yes
9928 echo "$as_me: failed program was:" >&5
9929 sed 's/^/| /' conftest.
$ac_ext >&5
9931 ac_header_preproc
=no
9933 rm -f conftest.err conftest.
$ac_ext
9934 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9935 echo "${ECHO_T}$ac_header_preproc" >&6
9937 # So? What about this header?
9938 case $ac_header_compiler:$ac_header_preproc in
9940 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9941 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9942 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9943 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9946 ## ------------------------------------ ##
9947 ## Report this to bug-autoconf@gnu.org. ##
9948 ## ------------------------------------ ##
9951 sed "s/^/$as_me: WARNING: /" >&2
9954 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9955 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9956 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9957 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9958 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9959 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9962 ## ------------------------------------ ##
9963 ## Report this to bug-autoconf@gnu.org. ##
9964 ## ------------------------------------ ##
9967 sed "s/^/$as_me: WARNING: /" >&2
9970 echo "$as_me:$LINENO: checking for $ac_header" >&5
9971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9972 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9973 echo $ECHO_N "(cached) $ECHO_C" >&6
9975 eval "$as_ac_Header=$ac_header_preproc"
9977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9978 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9981 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9982 cat >>confdefs.h
<<_ACEOF
9983 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9994 if test "$missing_includes" = "yes"; then
9995 CPPFLAGS
="$CPPFLAGS -I\$(srcdir)/missing"
9996 V_INCLS
="$V_INCLS -I\$(srcdir)/missing"
10006 # Find a good install program. We prefer a C program (faster),
10007 # so one script is as good as another. But avoid the broken or
10008 # incompatible versions:
10009 # SysV /etc/install, /usr/sbin/install
10010 # SunOS /usr/etc/install
10011 # IRIX /sbin/install
10013 # AmigaOS /C/install, which installs bootblocks on floppy discs
10014 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
10015 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
10016 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
10017 # ./install, which can be erroneously created by make from ./install.sh.
10018 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
10019 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
10020 if test -z "$INSTALL"; then
10021 if test "${ac_cv_path_install+set}" = set; then
10022 echo $ECHO_N "(cached) $ECHO_C" >&6
10024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10025 for as_dir
in $PATH
10028 test -z "$as_dir" && as_dir
=.
10029 # Account for people who put trailing slashes in PATH elements.
10031 .
/ | .
// |
/cC
/* | \
10032 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
10035 # OSF1 and SCO ODT 3.0 have their own names for install.
10036 # Don't use installbsd from OSF since it installs stuff as root
10038 for ac_prog
in ginstall scoinst
install; do
10039 for ac_exec_ext
in '' $ac_executable_extensions; do
10040 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
10041 if test $ac_prog = install &&
10042 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
10043 # AIX install. It has an incompatible calling convention.
10045 elif test $ac_prog = install &&
10046 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
10047 # program-specific install script used by HP pwplus--don't use.
10050 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
10062 if test "${ac_cv_path_install+set}" = set; then
10063 INSTALL
=$ac_cv_path_install
10065 # As a last resort, use the slow shell script. We don't cache a
10066 # path for INSTALL within a source directory, because that will
10067 # break other packages using the cache if that directory is
10068 # removed, or if the path is relative.
10069 INSTALL
=$ac_install_sh
10072 echo "$as_me:$LINENO: result: $INSTALL" >&5
10073 echo "${ECHO_T}$INSTALL" >&6
10075 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
10076 # It thinks the first close brace ends the variable substitution.
10077 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
10079 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
10081 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
10084 ac_config_headers
="$ac_config_headers config.h"
10087 ac_config_commands
="$ac_config_commands default-1"
10089 ac_config_files
="$ac_config_files Makefile"
10090 cat >confcache
<<\_ACEOF
10091 # This file is a shell script that caches the results of configure
10092 # tests run on this system so they can be shared between configure
10093 # scripts and configure runs, see configure's option --config-cache.
10094 # It is not useful on other systems. If it contains results you don't
10095 # want to keep, you may remove or edit it.
10097 # config.status only pays attention to the cache file if you give it
10098 # the --recheck option to rerun configure.
10100 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10101 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10102 # following values.
10106 # The following way of writing the cache mishandles newlines in values,
10107 # but we know of no workaround that is simple, portable, and efficient.
10108 # So, don't put newlines in cache variables' values.
10109 # Ultrix sh set writes to stderr and can't be redirected directly,
10110 # and sets the high bit in the cache file unless we assign to the vars.
10113 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10115 # `set' does not quote correctly, so add quotes (double-quote
10116 # substitution turns \\\\ into \\, and sed turns \\ into \).
10119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10122 # `set' quotes correctly as required by POSIX, so do not add quotes.
10124 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10131 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10133 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10135 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10136 if test -w $cache_file; then
10137 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10138 cat confcache
>$cache_file
10140 echo "not updating unwritable cache $cache_file"
10145 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10146 # Let make expand exec_prefix.
10147 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10149 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10150 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10151 # trailing colons and then remove the whole line if VPATH becomes empty
10152 # (actually we leave an empty line to preserve line numbers).
10153 if test "x$srcdir" = x.
; then
10154 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
10155 s/:*\$(srcdir):*/:/;
10156 s/:*\${srcdir}:*/:/;
10158 s/^\([^=]*=[ ]*\):*/\1/;
10164 DEFS
=-DHAVE_CONFIG_H
10168 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
10169 # 1. Remove the extension, and $U if already installed.
10170 ac_i
=`echo "$ac_i" |
10171 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
10173 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
10174 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
10176 LIBOBJS
=$ac_libobjs
10178 LTLIBOBJS
=$ac_ltlibobjs
10182 : ${CONFIG_STATUS=./config.status}
10183 ac_clean_files_save
=$ac_clean_files
10184 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
10185 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10186 echo "$as_me: creating $CONFIG_STATUS" >&6;}
10187 cat >$CONFIG_STATUS <<_ACEOF
10189 # Generated by $as_me.
10190 # Run this file to recreate the current configuration.
10191 # Compiler output produced by configure, useful for debugging
10192 # configure, is in config.log if it exists.
10195 ac_cs_recheck=false
10197 SHELL=\${CONFIG_SHELL-$SHELL}
10200 cat >>$CONFIG_STATUS <<\_ACEOF
10201 ## --------------------- ##
10202 ## M4sh Initialization. ##
10203 ## --------------------- ##
10205 # Be Bourne compatible
10206 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
10209 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10210 # is contrary to our usage. Disable this feature.
10211 alias -g '${1+"$@"}'='"$@"'
10212 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
10216 # Support unset when possible.
10217 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
10224 # Work around bugs in pre-3.0 UWIN ksh.
10225 $as_unset ENV MAIL MAILPATH
10232 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10233 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10234 LC_TELEPHONE LC_TIME
10236 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
10237 eval $as_var=C
; export $as_var
10243 # Required to use basename.
10244 if expr a
: '\(a\)' >/dev
/null
2>&1; then
10250 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
10251 as_basename
=basename
10257 # Name of the executable.
10258 as_me
=`$as_basename "$0" ||
10259 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10260 X"$0" : 'X\(//\)$' \| \
10261 X"$0" : 'X\(/\)$' \| \
10262 . : '\(.\)' 2>/dev/null ||
10264 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
10265 /^X\/\(\/\/\)$/{ s//\1/; q; }
10266 /^X\/\(\/\).*/{ s//\1/; q; }
10270 # PATH needs CR, and LINENO needs CR and PATH.
10271 # Avoid depending upon Character Ranges.
10272 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
10273 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10274 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
10275 as_cr_digits
='0123456789'
10276 as_cr_alnum
=$as_cr_Letters$as_cr_digits
10278 # The user is always right.
10279 if test "${PATH_SEPARATOR+set}" != set; then
10280 echo "#! /bin/sh" >conf$$.sh
10281 echo "exit 0" >>conf$$.sh
10283 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10292 as_lineno_1
=$LINENO
10293 as_lineno_2
=$LINENO
10294 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
10295 test "x$as_lineno_1" != "x$as_lineno_2" &&
10296 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
10297 # Find who we are. Look in the path if we contain no path at all
10300 *[\\/]* ) as_myself
=$0 ;;
10301 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10302 for as_dir
in $PATH
10305 test -z "$as_dir" && as_dir
=.
10306 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
10311 # We did not find ourselves, most probably we were run as `sh COMMAND'
10312 # in which case we are not to be found in the path.
10313 if test "x$as_myself" = x
; then
10316 if test ! -f "$as_myself"; then
10317 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
10318 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
10319 { (exit 1); exit 1; }; }
10321 case $CONFIG_SHELL in
10323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10324 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
10327 test -z "$as_dir" && as_dir
=.
10328 for as_base
in sh bash ksh sh5
; do
10331 if ("$as_dir/$as_base" -c '
10332 as_lineno_1=$LINENO
10333 as_lineno_2=$LINENO
10334 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10335 test "x$as_lineno_1" != "x$as_lineno_2" &&
10336 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
10337 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
10338 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
10339 CONFIG_SHELL
=$as_dir/$as_base
10340 export CONFIG_SHELL
10341 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
10349 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10350 # uniformly replaced by the line number. The first 'sed' inserts a
10351 # line-number line before each line; the second 'sed' does the real
10352 # work. The second script uses 'N' to pair each line-number line
10353 # with the numbered line, and appends trailing '-' during
10354 # substitution so that $LINENO is not a special case at line end.
10355 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10356 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
10357 sed '=' <$as_myself |
10362 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
10365 s,^['$as_cr_digits']*\n,,
10366 ' >$as_me.lineno
&&
10367 chmod +x
$as_me.lineno ||
10368 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
10369 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
10370 { (exit 1); exit 1; }; }
10372 # Don't try to exec as it changes $[0], causing all sort of problems
10373 # (the dirname of $[0] is not the place where we might find the
10374 # original and so on. Autoconf is especially sensible to this).
10376 # Exit status is that of the last command.
10381 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
10382 *c
*,-n*) ECHO_N
= ECHO_C
='
10384 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
10385 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
10388 if expr a
: '\(a\)' >/dev
/null
2>&1; then
10394 rm -f conf$$ conf$$.exe conf$$.
file
10396 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
10397 # We could just check for DJGPP; but this test a) works b) is more generic
10398 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
10399 if test -f conf$$.exe
; then
10400 # Don't use ln at all; we don't have any links
10405 elif ln conf$$.
file conf$$
2>/dev
/null
; then
10410 rm -f conf$$ conf$$.exe conf$$.
file
10412 if mkdir
-p .
2>/dev
/null
; then
10418 as_executable_p
="test -f"
10420 # Sed expression to map a string onto a valid CPP name.
10421 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
10423 # Sed expression to map a string onto a valid variable name.
10424 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
10428 # We need space, tab and new line, in precisely that order.
10438 # Open the log real soon, to keep \$[0] and so on meaningful, and to
10439 # report actual input values of CONFIG_FILES etc. instead of their
10440 # values after options handling. Logging --version etc. is OK.
10444 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10445 ## Running $as_me. ##
10450 This file was extended by $as_me, which was
10451 generated by GNU Autoconf 2.57. Invocation command line was
10453 CONFIG_FILES = $CONFIG_FILES
10454 CONFIG_HEADERS = $CONFIG_HEADERS
10455 CONFIG_LINKS = $CONFIG_LINKS
10456 CONFIG_COMMANDS = $CONFIG_COMMANDS
10460 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
10464 # Files that config.status was made for.
10465 if test -n "$ac_config_files"; then
10466 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
10469 if test -n "$ac_config_headers"; then
10470 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
10473 if test -n "$ac_config_links"; then
10474 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
10477 if test -n "$ac_config_commands"; then
10478 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
10481 cat >>$CONFIG_STATUS <<\_ACEOF
10484 \`$as_me' instantiates files from templates according to the
10485 current configuration.
10487 Usage: $0 [OPTIONS] [FILE]...
10489 -h, --help print this help, then exit
10490 -V, --version print version number, then exit
10491 -q, --quiet do not print progress messages
10492 -d, --debug don't remove temporary files
10493 --recheck update $as_me by reconfiguring in the same conditions
10494 --file=FILE[:TEMPLATE]
10495 instantiate the configuration file FILE
10496 --header=FILE[:TEMPLATE]
10497 instantiate the configuration header FILE
10499 Configuration files:
10502 Configuration headers:
10505 Configuration commands:
10508 Report bugs to <bug-autoconf@gnu.org>."
10511 cat >>$CONFIG_STATUS <<_ACEOF
10514 configured by $0, generated by GNU Autoconf 2.57,
10515 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
10517 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
10518 Free Software Foundation, Inc.
10519 This config.status script is free software; the Free Software Foundation
10520 gives unlimited permission to copy, distribute and modify it."
10525 cat >>$CONFIG_STATUS <<\_ACEOF
10526 # If no file are specified by the user, then we need to provide default
10527 # value. By we need to know if files were specified by the user.
10533 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
10534 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
10542 *) # This is not an option, so the user has probably given explicit
10545 ac_need_defaults
=false
;;
10549 # Handling of the options.
10551 cat >>$CONFIG_STATUS <<\_ACEOF
10552 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
10554 --version |
--vers* |
-V )
10555 echo "$ac_cs_version"; exit 0 ;;
10557 # Conflict between --help and --header
10558 { { echo "$as_me:$LINENO: error: ambiguous option: $1
10559 Try \`$0 --help' for more information." >&5
10560 echo "$as_me: error: ambiguous option: $1
10561 Try \`$0 --help' for more information." >&2;}
10562 { (exit 1); exit 1; }; };;
10563 --help |
--hel |
-h )
10564 echo "$ac_cs_usage"; exit 0 ;;
10565 --debug |
--d* |
-d )
10567 --file |
--fil |
--fi |
--f )
10569 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
10570 ac_need_defaults
=false
;;
10571 --header |
--heade |
--head |
--hea )
10573 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
10574 ac_need_defaults
=false
;;
10575 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
10576 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
10579 # This is an error.
10580 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
10581 Try \`$0 --help' for more information." >&5
10582 echo "$as_me: error: unrecognized option: $1
10583 Try \`$0 --help' for more information." >&2;}
10584 { (exit 1); exit 1; }; } ;;
10586 *) ac_config_targets
="$ac_config_targets $1" ;;
10592 ac_configure_extra_args
=
10594 if $ac_cs_silent; then
10596 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10600 cat >>$CONFIG_STATUS <<_ACEOF
10601 if \$ac_cs_recheck; then
10602 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10603 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10608 cat >>$CONFIG_STATUS <<_ACEOF
10610 # INIT-COMMANDS section.
10619 cat >>$CONFIG_STATUS <<\_ACEOF
10620 for ac_config_target
in $ac_config_targets
10622 case "$ac_config_target" in
10623 # Handling of arguments.
10624 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
10625 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
10626 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
10627 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10628 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10629 { (exit 1); exit 1; }; };;
10633 # If the user did not use the arguments to specify the items to instantiate,
10634 # then the envvar interface is used. Set only those that are not.
10635 # We use the long form for the default assignment because of an extremely
10636 # bizarre bug on SunOS 4.1.3.
10637 if $ac_need_defaults; then
10638 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10639 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
10640 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
10643 # Have a temporary directory for convenience. Make it in the build tree
10644 # simply because there is no reason to put it here, and in addition,
10645 # creating and moving files from /tmp can sometimes cause problems.
10646 # Create a temporary directory, and hook for its removal unless debugging.
10649 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
10650 trap '{ (exit 1); exit 1; }' 1 2 13 15
10653 # Create a (secure) tmp directory for tmp files.
10656 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
10657 test -n "$tmp" && test -d "$tmp"
10660 tmp
=.
/confstat$$
-$RANDOM
10661 (umask 077 && mkdir
$tmp)
10664 echo "$me: cannot create a temporary directory in ." >&2
10665 { (exit 1); exit 1; }
10670 cat >>$CONFIG_STATUS <<_ACEOF
10673 # CONFIG_FILES section.
10676 # No need to generate the scripts if there are no CONFIG_FILES.
10677 # This happens for instance when ./config.status config.h
10678 if test -n "\$CONFIG_FILES"; then
10679 # Protect against being on the right side of a sed subst in config.status.
10680 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
10681 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
10682 s,@SHELL@,$SHELL,;t t
10683 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
10684 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
10685 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
10686 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
10687 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
10688 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
10689 s,@exec_prefix@,$exec_prefix,;t t
10690 s,@prefix@,$prefix,;t t
10691 s,@program_transform_name@,$program_transform_name,;t t
10692 s,@bindir@,$bindir,;t t
10693 s,@sbindir@,$sbindir,;t t
10694 s,@libexecdir@,$libexecdir,;t t
10695 s,@datadir@,$datadir,;t t
10696 s,@sysconfdir@,$sysconfdir,;t t
10697 s,@sharedstatedir@,$sharedstatedir,;t t
10698 s,@localstatedir@,$localstatedir,;t t
10699 s,@libdir@,$libdir,;t t
10700 s,@includedir@,$includedir,;t t
10701 s,@oldincludedir@,$oldincludedir,;t t
10702 s,@infodir@,$infodir,;t t
10703 s,@mandir@,$mandir,;t t
10704 s,@build_alias@,$build_alias,;t t
10705 s,@host_alias@,$host_alias,;t t
10706 s,@target_alias@,$target_alias,;t t
10707 s,@DEFS@,$DEFS,;t t
10708 s,@ECHO_C@,$ECHO_C,;t t
10709 s,@ECHO_N@,$ECHO_N,;t t
10710 s,@ECHO_T@,$ECHO_T,;t t
10711 s,@LIBS@,$LIBS,;t t
10712 s,@build@,$build,;t t
10713 s,@build_cpu@,$build_cpu,;t t
10714 s,@build_vendor@,$build_vendor,;t t
10715 s,@build_os@,$build_os,;t t
10716 s,@host@,$host,;t t
10717 s,@host_cpu@,$host_cpu,;t t
10718 s,@host_vendor@,$host_vendor,;t t
10719 s,@host_os@,$host_os,;t t
10720 s,@SHLICC2@,$SHLICC2,;t t
10722 s,@CFLAGS@,$CFLAGS,;t t
10723 s,@LDFLAGS@,$LDFLAGS,;t t
10724 s,@CPPFLAGS@,$CPPFLAGS,;t t
10725 s,@ac_ct_CC@,$ac_ct_CC,;t t
10726 s,@EXEEXT@,$EXEEXT,;t t
10727 s,@OBJEXT@,$OBJEXT,;t t
10729 s,@EGREP@,$EGREP,;t t
10730 s,@LIBOBJS@,$LIBOBJS,;t t
10731 s,@V_CCOPT@,$V_CCOPT,;t t
10732 s,@V_DEFS@,$V_DEFS,;t t
10733 s,@V_GROUP@,$V_GROUP,;t t
10734 s,@V_INCLS@,$V_INCLS,;t t
10735 s,@V_PCAPDEP@,$V_PCAPDEP,;t t
10736 s,@LOCALSRC@,$LOCALSRC,;t t
10737 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
10738 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
10739 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
10740 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
10745 cat >>$CONFIG_STATUS <<\_ACEOF
10746 # Split the substitutions into bite-sized pieces for seds with
10747 # small command number limits, like on Digital OSF/1 and HP-UX.
10748 ac_max_sed_lines
=48
10749 ac_sed_frag
=1 # Number of current file.
10750 ac_beg
=1 # First line for current file.
10751 ac_end
=$ac_max_sed_lines # Line after last line for current file.
10754 while $ac_more_lines; do
10755 if test $ac_beg -gt 1; then
10756 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
10758 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
10760 if test ! -s $tmp/subs.frag
; then
10761 ac_more_lines
=false
10763 # The purpose of the label and of the branching condition is to
10764 # speed up the sed processing (if there are no `@' at all, there
10765 # is no need to browse any of the substitutions).
10766 # These are the two extra sed commands mentioned above.
10768 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
10769 if test -z "$ac_sed_cmds"; then
10770 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
10772 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
10774 ac_sed_frag
=`expr $ac_sed_frag + 1`
10776 ac_end
=`expr $ac_end + $ac_max_sed_lines`
10779 if test -z "$ac_sed_cmds"; then
10782 fi # test -n "$CONFIG_FILES"
10785 cat >>$CONFIG_STATUS <<\_ACEOF
10786 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
10787 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10789 - |
*:- |
*:-:* ) # input from stdin
10791 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10792 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10793 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10794 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10795 * ) ac_file_in
=$ac_file.
in ;;
10798 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
10799 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
10800 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10801 X"$ac_file" : 'X\(//\)[^/]' \| \
10802 X"$ac_file" : 'X\(//\)$' \| \
10803 X"$ac_file" : 'X\(/\)' \| \
10804 . : '\(.\)' 2>/dev/null ||
10806 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10807 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10808 /^X\(\/\/\)$/{ s//\1/; q; }
10809 /^X\(\/\).*/{ s//\1/; q; }
10811 { if $as_mkdir_p; then
10816 while test ! -d "$as_dir"; do
10817 as_dirs
="$as_dir $as_dirs"
10818 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10819 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10820 X"$as_dir" : 'X\(//\)[^/]' \| \
10821 X"$as_dir" : 'X\(//\)$' \| \
10822 X"$as_dir" : 'X\(/\)' \| \
10823 . : '\(.\)' 2>/dev/null ||
10825 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10826 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10827 /^X\(\/\/\)$/{ s//\1/; q; }
10828 /^X\(\/\).*/{ s//\1/; q; }
10831 test ! -n "$as_dirs" || mkdir
$as_dirs
10832 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10833 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10834 { (exit 1); exit 1; }; }; }
10838 if test "$ac_dir" != .
; then
10839 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10840 # A "../" for each directory in $ac_dir_suffix.
10841 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10843 ac_dir_suffix
= ac_top_builddir
=
10847 .
) # No --srcdir option. We are building in place.
10849 if test -z "$ac_top_builddir"; then
10852 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
10854 [\\/]* | ?
:[\\/]* ) # Absolute path.
10855 ac_srcdir
=$srcdir$ac_dir_suffix;
10856 ac_top_srcdir
=$srcdir ;;
10857 *) # Relative path.
10858 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
10859 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
10861 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
10863 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
10864 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
10865 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
10866 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
10870 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
10871 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
10874 if test x
"$ac_file" != x-
; then
10875 { echo "$as_me:$LINENO: creating $ac_file" >&5
10876 echo "$as_me: creating $ac_file" >&6;}
10879 # Let's still pretend it is `configure' which instantiates (i.e., don't
10880 # use $as_me), people would be surprised to read:
10881 # /* config.h. Generated by config.status. */
10882 if test x
"$ac_file" = x-
; then
10885 configure_input
="$ac_file. "
10887 configure_input
=$configure_input"Generated from `echo $ac_file_in |
10888 sed 's,.*/,,'` by configure."
10890 # First look for the input files in the build tree, otherwise in the
10892 ac_file_inputs
=`IFS=:
10893 for f in $ac_file_in; do
10895 -) echo $tmp/stdin ;;
10897 # Absolute (can't be DOS-style, as IFS=:)
10898 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10899 echo "$as_me: error: cannot find input file: $f" >&2;}
10900 { (exit 1); exit 1; }; }
10903 if test -f "$f"; then
10906 elif test -f "$srcdir/$f"; then
10911 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10912 echo "$as_me: error: cannot find input file: $f" >&2;}
10913 { (exit 1); exit 1; }; }
10916 done` ||
{ (exit 1); exit 1; }
10918 cat >>$CONFIG_STATUS <<_ACEOF
10922 cat >>$CONFIG_STATUS <<\_ACEOF
10924 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
10925 s
,@configure_input@
,$configure_input,;t t
10926 s
,@srcdir@
,$ac_srcdir,;t t
10927 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
10928 s
,@top_srcdir@
,$ac_top_srcdir,;t t
10929 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
10930 s
,@builddir@
,$ac_builddir,;t t
10931 s
,@abs_builddir@
,$ac_abs_builddir,;t t
10932 s
,@top_builddir@
,$ac_top_builddir,;t t
10933 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
10934 s
,@INSTALL@
,$ac_INSTALL,;t t
10935 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
10937 if test x"$ac_file" != x-; then
10938 mv $tmp/out $ac_file
10946 cat >>$CONFIG_STATUS <<\_ACEOF
10949 # CONFIG_HEADER section.
10952 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
10953 # NAME is the cpp macro being defined and VALUE is the value it is being given.
10955 # ac_d sets the value in "#define NAME VALUE" lines.
10956 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
10957 ac_dB
='[ ].*$,\1#\2'
10960 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
10961 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
10962 ac_uB
='$,\1#\2define\3'
10966 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
10967 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10969 - |
*:- |
*:-:* ) # input from stdin
10971 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10972 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10973 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10974 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10975 * ) ac_file_in
=$ac_file.
in ;;
10978 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
10979 echo "$as_me: creating $ac_file" >&6;}
10981 # First look for the input files in the build tree, otherwise in the
10983 ac_file_inputs
=`IFS=:
10984 for f in $ac_file_in; do
10986 -) echo $tmp/stdin ;;
10988 # Absolute (can't be DOS-style, as IFS=:)
10989 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10990 echo "$as_me: error: cannot find input file: $f" >&2;}
10991 { (exit 1); exit 1; }; }
10994 if test -f "$f"; then
10997 elif test -f "$srcdir/$f"; then
11002 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11003 echo "$as_me: error: cannot find input file: $f" >&2;}
11004 { (exit 1); exit 1; }; }
11007 done` ||
{ (exit 1); exit 1; }
11008 # Remove the trailing spaces.
11009 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
11013 # Transform confdefs.h into two sed scripts, `conftest.defines' and
11014 # `conftest.undefs', that substitutes the proper values into
11015 # config.h.in to produce config.h. The first handles `#define'
11016 # templates, and the second `#undef' templates.
11017 # And first: Protect against being on the right side of a sed subst in
11018 # config.status. Protect against being in an unquoted here document
11019 # in config.status.
11020 rm -f conftest.defines conftest.undefs
11021 # Using a here document instead of a string reduces the quoting nightmare.
11022 # Putting comments in sed scripts is not portable.
11024 # `end' is used to avoid that the second main sed command (meant for
11025 # 0-ary CPP macros) applies to n-ary macro definitions.
11026 # See the Autoconf documentation for `clear'.
11027 cat >confdef2sed.
sed <<\_ACEOF
11032 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
11034 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
11037 # If some macros were called several times there might be several times
11038 # the same #defines, which is useless. Nevertheless, we may not want to
11039 # sort them, since we want the *last* AC-DEFINE to be honored.
11040 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
11041 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
11042 rm -f confdef2sed.sed
11044 # This sed command replaces #undef with comments. This is necessary, for
11045 # example, in the case of _POSIX_SOURCE, which is predefined and required
11046 # on some systems where configure will not decide to define it.
11047 cat >>conftest.undefs <<\_ACEOF
11048 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
11051 # Break up conftest.defines because some shells have a limit on the size
11052 # of here documents, and old seds have small limits too (100 cmds).
11053 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
11054 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
11055 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
11056 echo ' :' >>$CONFIG_STATUS
11057 rm -f conftest.tail
11058 while grep . conftest.defines >/dev/null
11060 # Write a limited-size here document to $tmp/defines.sed.
11061 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
11062 # Speed up: don't consider the non `#define' lines.
11063 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
11064 # Work around the forget-to-reset-the-flag bug.
11065 echo 't clr' >>$CONFIG_STATUS
11066 echo ': clr' >>$CONFIG_STATUS
11067 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
11069 sed -f $tmp/defines.sed $tmp/in >$tmp/out
11071 mv $tmp/out $tmp/in
11073 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
11074 rm -f conftest.defines
11075 mv conftest.
tail conftest.defines
11077 rm -f conftest.defines
11078 echo ' fi # grep' >>$CONFIG_STATUS
11079 echo >>$CONFIG_STATUS
11081 # Break up conftest.undefs because some shells have a limit on the size
11082 # of here documents, and old seds have small limits too (100 cmds).
11083 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
11084 rm -f conftest.
tail
11085 while grep . conftest.undefs
>/dev
/null
11087 # Write a limited-size here document to $tmp/undefs.sed.
11088 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
11089 # Speed up: don't consider the non
`#undef'
11090 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
11091 # Work around the forget-to-reset-the-flag bug.
11092 echo 't clr' >>$CONFIG_STATUS
11093 echo ': clr' >>$CONFIG_STATUS
11094 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
11096 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
11098 mv $tmp/out $tmp/in
11100 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
11101 rm -f conftest.undefs
11102 mv conftest.tail conftest.undefs
11104 rm -f conftest.undefs
11106 cat >>$CONFIG_STATUS <<\_ACEOF
11107 # Let's still pretend it is `configure
' which instantiates (i.e., don't
11108 # use $as_me), people would be surprised to read:
11109 # /* config.h. Generated by config.status. */
11110 if test x
"$ac_file" = x-
; then
11111 echo "/* Generated by configure. */" >$tmp/config.h
11113 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
11115 cat $tmp/in >>$tmp/config.h
11117 if test x
"$ac_file" != x-
; then
11118 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
11119 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11120 echo "$as_me: $ac_file is unchanged" >&6;}
11122 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
11123 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11124 X"$ac_file" : 'X\(//\)[^/]' \| \
11125 X"$ac_file" : 'X\(//\)$' \| \
11126 X"$ac_file" : 'X\(/\)' \| \
11127 . : '\(.\)' 2>/dev/null ||
11129 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11130 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11131 /^X\(\/\/\)$/{ s//\1/; q; }
11132 /^X\(\/\).*/{ s//\1/; q; }
11134 { if $as_mkdir_p; then
11139 while test ! -d "$as_dir"; do
11140 as_dirs
="$as_dir $as_dirs"
11141 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
11142 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11143 X"$as_dir" : 'X\(//\)[^/]' \| \
11144 X"$as_dir" : 'X\(//\)$' \| \
11145 X"$as_dir" : 'X\(/\)' \| \
11146 . : '\(.\)' 2>/dev/null ||
11148 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11149 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11150 /^X\(\/\/\)$/{ s//\1/; q; }
11151 /^X\(\/\).*/{ s//\1/; q; }
11154 test ! -n "$as_dirs" || mkdir
$as_dirs
11155 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11156 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11157 { (exit 1); exit 1; }; }; }
11160 mv $tmp/config.h
$ac_file
11164 rm -f $tmp/config.h
11168 cat >>$CONFIG_STATUS <<\_ACEOF
11171 # CONFIG_COMMANDS section.
11173 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
11174 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
11175 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11176 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
11177 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11178 X"$ac_dest" : 'X\(//\)[^/]' \| \
11179 X"$ac_dest" : 'X\(//\)$' \| \
11180 X"$ac_dest" : 'X\(/\)' \| \
11181 . : '\(.\)' 2>/dev/null ||
11183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11184 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11185 /^X\(\/\/\)$/{ s//\1/; q; }
11186 /^X\(\/\).*/{ s//\1/; q; }
11190 if test "$ac_dir" != .
; then
11191 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11192 # A "../" for each directory in $ac_dir_suffix.
11193 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11195 ac_dir_suffix
= ac_top_builddir
=
11199 .
) # No --srcdir option. We are building in place.
11201 if test -z "$ac_top_builddir"; then
11204 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
11206 [\\/]* | ?
:[\\/]* ) # Absolute path.
11207 ac_srcdir
=$srcdir$ac_dir_suffix;
11208 ac_top_srcdir
=$srcdir ;;
11209 *) # Relative path.
11210 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
11211 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
11213 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
11215 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
11216 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
11217 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
11218 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
11221 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
11222 echo "$as_me: executing $ac_dest commands" >&6;}
11224 default-1
) if test -f .devel
; then
11225 echo timestamp
> stamp-h
11226 cat Makefile-devel-adds
>> Makefile
11233 cat >>$CONFIG_STATUS <<\_ACEOF
11235 { (exit 0); exit 0; }
11237 chmod +x
$CONFIG_STATUS
11238 ac_clean_files
=$ac_clean_files_save
11241 # configure is writing to config.log, and then calls config.status.
11242 # config.status does its own redirection, appending to config.log.
11243 # Unfortunately, on DOS this fails, as config.log is still kept open
11244 # by configure, so config.status won't be able to write to it; its
11245 # output is simply discarded. So we exec the FD to /dev/null,
11246 # effectively closing config.log, so it can be properly (re)opened and
11247 # appended to by config.status. When coming back to configure, we
11248 # need to make the FD available again.
11249 if test "$no_create" != yes; then
11251 ac_config_status_args
=
11252 test "$silent" = yes &&
11253 ac_config_status_args
="$ac_config_status_args --quiet"
11255 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
11257 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11258 # would make configure fail if this is the last instruction.
11259 $ac_cs_success ||
{ (exit 1); exit 1; }