2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by Autoconf 2.52 for libnbcompat noversion.
5 # Report bugs to <lib-bug-people@NetBSD.org>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
12 # Avoid depending upon Character Ranges.
13 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16 as_cr_digits
='0123456789'
17 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19 # Sed expression to map a string onto a valid variable name.
20 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
22 # Sed expression to map a string onto a valid CPP name.
23 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
25 # Be Bourne compatible
26 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
29 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
33 # Name of the executable.
34 as_me
=`echo "$0" |sed 's,.*[\\/],,'`
36 if expr a
: '\(a\)' >/dev
/null
2>&1; then
42 rm -f conf$$ conf$$.exe conf$$.
file
44 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
45 # We could just check for DJGPP; but this test a) works b) is more generic
46 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
47 if test -f conf$$.exe
; then
48 # Don't use ln at all; we don't have any links
53 elif ln conf$$.
file conf$$
2>/dev
/null
; then
58 rm -f conf$$ conf$$.exe conf$$.
file
60 as_executable_p
="test -f"
62 # Support unset when possible.
63 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
70 $as_unset LANG ||
test "${LANG+set}" != set ||
{ LANG
=C
; export LANG
; }
71 $as_unset LC_ALL ||
test "${LC_ALL+set}" != set ||
{ LC_ALL
=C
; export LC_ALL
; }
72 $as_unset LC_TIME ||
test "${LC_TIME+set}" != set ||
{ LC_TIME
=C
; export LC_TIME
; }
73 $as_unset LC_CTYPE ||
test "${LC_CTYPE+set}" != set ||
{ LC_CTYPE
=C
; export LC_CTYPE
; }
74 $as_unset LANGUAGE ||
test "${LANGUAGE+set}" != set ||
{ LANGUAGE
=C
; export LANGUAGE
; }
75 $as_unset LC_COLLATE ||
test "${LC_COLLATE+set}" != set ||
{ LC_COLLATE
=C
; export LC_COLLATE
; }
76 $as_unset LC_NUMERIC ||
test "${LC_NUMERIC+set}" != set ||
{ LC_NUMERIC
=C
; export LC_NUMERIC
; }
77 $as_unset LC_MESSAGES ||
test "${LC_MESSAGES+set}" != set ||
{ LC_MESSAGES
=C
; export LC_MESSAGES
; }
80 # We need space, tab and new line, in precisely that order.
86 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=:; export CDPATH
; }
89 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
90 # so uname gets run too.
91 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
98 ac_default_prefix
=/usr
/local
102 SHELL
=${CONFIG_SHELL-/bin/sh}
104 # Maximum number of lines to put in a shell here document.
105 # This variable seems obsolete. It should probably be removed, and
106 # only ac_max_sed_lines should be used.
107 : ${ac_max_here_lines=38}
109 # Factoring default headers for most tests.
110 ac_includes_default
="\
113 # include <sys/types.h>
116 # include <sys/stat.h>
127 # if !STDC_HEADERS && HAVE_MEMORY_H
133 # include <strings.h>
136 # include <inttypes.h>
146 # Initialize some variables set by options.
148 ac_init_version
=false
149 # The variables have the same names as the options, with
150 # dashes changed to underlines.
158 program_transform_name
=s
,x
,x
,
166 # Installation directory options.
167 # These are left unexpanded so users can "make install exec_prefix=/foo"
168 # and all the variables that are supposed to be based on exec_prefix
169 # by default will actually change.
170 # Use braces instead of parens because sh, perl, etc. also accept them.
171 bindir
='${exec_prefix}/bin'
172 sbindir
='${exec_prefix}/sbin'
173 libexecdir
='${exec_prefix}/libexec'
174 datadir
='${prefix}/share'
175 sysconfdir
='${prefix}/etc'
176 sharedstatedir
='${prefix}/com'
177 localstatedir
='${prefix}/var'
178 libdir
='${exec_prefix}/lib'
179 includedir
='${prefix}/include'
180 oldincludedir
='/usr/include'
181 infodir
='${prefix}/info'
182 mandir
='${prefix}/man'
184 # Identity of this package.
185 PACKAGE_NAME
='libnbcompat'
186 PACKAGE_TARNAME
='libnbcompat'
187 PACKAGE_VERSION
='noversion'
188 PACKAGE_STRING
='libnbcompat noversion'
189 PACKAGE_BUGREPORT
='lib-bug-people@NetBSD.org'
194 # If the previous option needs an argument, assign it.
195 if test -n "$ac_prev"; then
196 eval "$ac_prev=\$ac_option"
201 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
203 # Accept the important Cygnus configure options, so we can diagnose typos.
207 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
209 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
212 -build |
--build |
--buil |
--bui |
--bu)
213 ac_prev
=build_alias
;;
214 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
215 build_alias
=$ac_optarg ;;
217 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
218 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
219 ac_prev
=cache_file
;;
220 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
221 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
222 cache_file
=$ac_optarg ;;
225 cache_file
=config.cache
;;
227 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
229 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
231 datadir
=$ac_optarg ;;
233 -disable-* |
--disable-*)
234 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
235 # Reject names that are not valid shell variable names.
236 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
237 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
238 { (exit 1); exit 1; }; }
239 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
240 eval "enable_$ac_feature=no" ;;
242 -enable-* |
--enable-*)
243 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
244 # Reject names that are not valid shell variable names.
245 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
246 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
247 { (exit 1); exit 1; }; }
248 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
250 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
253 eval "enable_$ac_feature='$ac_optarg'" ;;
255 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
256 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
257 |
--exec |
--exe |
--ex)
258 ac_prev
=exec_prefix
;;
259 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
260 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
261 |
--exec=* |
--exe=* |
--ex=*)
262 exec_prefix
=$ac_optarg ;;
264 -gas |
--gas |
--ga |
--g)
265 # Obsolete; use --with-gas.
268 -help |
--help |
--hel |
--he |
-h)
270 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
271 ac_init_help
=recursive
;;
272 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
273 ac_init_help
=short
;;
275 -host |
--host |
--hos |
--ho)
276 ac_prev
=host_alias
;;
277 -host=* |
--host=* |
--hos=* |
--ho=*)
278 host_alias
=$ac_optarg ;;
280 -includedir |
--includedir |
--includedi |
--included |
--include \
281 |
--includ |
--inclu |
--incl |
--inc)
282 ac_prev
=includedir
;;
283 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
284 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
285 includedir
=$ac_optarg ;;
287 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
289 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
290 infodir
=$ac_optarg ;;
292 -libdir |
--libdir |
--libdi |
--libd)
294 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
297 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
298 |
--libexe |
--libex |
--libe)
299 ac_prev
=libexecdir
;;
300 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
301 |
--libexe=* |
--libex=* |
--libe=*)
302 libexecdir
=$ac_optarg ;;
304 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
305 |
--localstate |
--localstat |
--localsta |
--localst \
306 |
--locals |
--local |
--loca |
--loc |
--lo)
307 ac_prev
=localstatedir
;;
308 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
309 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
310 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
311 localstatedir
=$ac_optarg ;;
313 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
315 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
319 # Obsolete; use --without-fp.
322 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
326 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
327 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
330 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
331 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
332 |
--oldin |
--oldi |
--old |
--ol |
--o)
333 ac_prev
=oldincludedir
;;
334 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
335 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
336 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
337 oldincludedir
=$ac_optarg ;;
339 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
341 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
344 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
345 |
--program-pre |
--program-pr |
--program-p)
346 ac_prev
=program_prefix
;;
347 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
348 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
349 program_prefix
=$ac_optarg ;;
351 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
352 |
--program-suf |
--program-su |
--program-s)
353 ac_prev
=program_suffix
;;
354 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
355 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
356 program_suffix
=$ac_optarg ;;
358 -program-transform-name |
--program-transform-name \
359 |
--program-transform-nam |
--program-transform-na \
360 |
--program-transform-n |
--program-transform- \
361 |
--program-transform |
--program-transfor \
362 |
--program-transfo |
--program-transf \
363 |
--program-trans |
--program-tran \
364 |
--progr-tra |
--program-tr |
--program-t)
365 ac_prev
=program_transform_name
;;
366 -program-transform-name=* |
--program-transform-name=* \
367 |
--program-transform-nam=* |
--program-transform-na=* \
368 |
--program-transform-n=* |
--program-transform-=* \
369 |
--program-transform=* |
--program-transfor=* \
370 |
--program-transfo=* |
--program-transf=* \
371 |
--program-trans=* |
--program-tran=* \
372 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
373 program_transform_name
=$ac_optarg ;;
375 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
376 |
-silent |
--silent |
--silen |
--sile |
--sil)
379 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
381 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
383 sbindir
=$ac_optarg ;;
385 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
386 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
387 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
389 ac_prev
=sharedstatedir
;;
390 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
391 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
392 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
394 sharedstatedir
=$ac_optarg ;;
396 -site |
--site |
--sit)
398 -site=* |
--site=* |
--sit=*)
401 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
403 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
406 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
407 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
408 ac_prev
=sysconfdir
;;
409 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
410 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
411 sysconfdir
=$ac_optarg ;;
413 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
414 ac_prev
=target_alias
;;
415 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
416 target_alias
=$ac_optarg ;;
418 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
421 -version |
--version |
--versio |
--versi |
--vers |
-V)
425 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
426 # Reject names that are not valid shell variable names.
427 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
428 { echo "$as_me: error: invalid package name: $ac_package" >&2
429 { (exit 1); exit 1; }; }
430 ac_package
=`echo $ac_package| sed 's/-/_/g'`
432 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
435 eval "with_$ac_package='$ac_optarg'" ;;
437 -without-* |
--without-*)
438 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
439 # Reject names that are not valid shell variable names.
440 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
441 { echo "$as_me: error: invalid package name: $ac_package" >&2
442 { (exit 1); exit 1; }; }
443 ac_package
=`echo $ac_package | sed 's/-/_/g'`
444 eval "with_$ac_package=no" ;;
447 # Obsolete; use --with-x.
450 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
451 |
--x-incl |
--x-inc |
--x-in |
--x-i)
452 ac_prev
=x_includes
;;
453 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
454 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
455 x_includes
=$ac_optarg ;;
457 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
458 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
459 ac_prev
=x_libraries
;;
460 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
461 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
462 x_libraries
=$ac_optarg ;;
464 -*) { echo "$as_me: error: unrecognized option: $ac_option
465 Try \`$0 --help' for more information." >&2
466 { (exit 1); exit 1; }; }
470 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
471 # Reject names that are not valid shell variable names.
472 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
473 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
474 { (exit 1); exit 1; }; }
475 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
476 eval "$ac_envvar='$ac_optarg'"
480 # FIXME: should be removed in autoconf 3.0.
481 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
482 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
483 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
484 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
490 if test -n "$ac_prev"; then
491 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
492 { echo "$as_me: error: missing argument to $ac_option" >&2
493 { (exit 1); exit 1; }; }
496 # Be sure to have absolute paths.
497 for ac_var
in exec_prefix prefix
499 eval ac_val
=$
`echo $ac_var`
501 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
502 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
503 { (exit 1); exit 1; }; };;
507 # Be sure to have absolute paths.
508 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
509 localstatedir libdir includedir oldincludedir infodir mandir
511 eval ac_val
=$
`echo $ac_var`
513 [\\/$
]* | ?
:[\\/]* ) ;;
514 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
515 { (exit 1); exit 1; }; };;
519 # There might be people who depend on the old broken behavior: `$host'
520 # used to hold the argument of --host etc.
525 # FIXME: should be removed in autoconf 3.0.
526 if test "x$host_alias" != x
; then
527 if test "x$build_alias" = x
; then
528 cross_compiling
=maybe
529 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
530 If a cross compiler is detected then cross compile mode will be used." >&2
531 elif test "x$build_alias" != "x$host_alias"; then
537 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
539 test "$silent" = yes && exec 6>/dev
/null
541 # Find the source files, if location was not specified.
542 if test -z "$srcdir"; then
543 ac_srcdir_defaulted
=yes
544 # Try the directory containing this script, then its parent.
546 ac_confdir
=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
547 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
549 if test ! -r $srcdir/$ac_unique_file; then
553 ac_srcdir_defaulted
=no
555 if test ! -r $srcdir/$ac_unique_file; then
556 if test "$ac_srcdir_defaulted" = yes; then
557 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
558 { (exit 1); exit 1; }; }
560 { echo "$as_me: error: cannot find sources in $srcdir" >&2
561 { (exit 1); exit 1; }; }
564 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
565 ac_env_build_alias_set
=${build_alias+set}
566 ac_env_build_alias_value
=$build_alias
567 ac_cv_env_build_alias_set
=${build_alias+set}
568 ac_cv_env_build_alias_value
=$build_alias
569 ac_env_host_alias_set
=${host_alias+set}
570 ac_env_host_alias_value
=$host_alias
571 ac_cv_env_host_alias_set
=${host_alias+set}
572 ac_cv_env_host_alias_value
=$host_alias
573 ac_env_target_alias_set
=${target_alias+set}
574 ac_env_target_alias_value
=$target_alias
575 ac_cv_env_target_alias_set
=${target_alias+set}
576 ac_cv_env_target_alias_value
=$target_alias
577 ac_env_CC_set
=${CC+set}
579 ac_cv_env_CC_set
=${CC+set}
580 ac_cv_env_CC_value
=$CC
581 ac_env_CFLAGS_set
=${CFLAGS+set}
582 ac_env_CFLAGS_value
=$CFLAGS
583 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
584 ac_cv_env_CFLAGS_value
=$CFLAGS
585 ac_env_LDFLAGS_set
=${LDFLAGS+set}
586 ac_env_LDFLAGS_value
=$LDFLAGS
587 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
588 ac_cv_env_LDFLAGS_value
=$LDFLAGS
589 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
590 ac_env_CPPFLAGS_value
=$CPPFLAGS
591 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
592 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
593 ac_env_CPP_set
=${CPP+set}
594 ac_env_CPP_value
=$CPP
595 ac_cv_env_CPP_set
=${CPP+set}
596 ac_cv_env_CPP_value
=$CPP
599 # Report the --help message.
601 if test "$ac_init_help" = "long"; then
602 # Omit some internal or obsolete options to make the list less imposing.
603 # This message is too long to be a string in the A/UX 3.1 sh.
605 \`configure' configures libnbcompat noversion to adapt to many kinds of systems.
607 Usage: $0 [OPTION]... [VAR=VALUE]...
609 To assign environment variables (e.g., CC, CFLAGS...), specify them as
610 VAR=VALUE. See below for descriptions of some of the useful variables.
612 Defaults for the options are specified in brackets.
615 -h, --help display this help and exit
616 --help=short display options specific to this package
617 --help=recursive display the short help of all the included packages
618 -V, --version display version information and exit
619 -q, --quiet, --silent do not print \`checking...' messages
620 --cache-file=FILE cache test results in FILE [disabled]
621 -C, --config-cache alias for \`--cache-file=config.cache'
622 -n, --no-create do not create output files
623 --srcdir=DIR find the sources in DIR [configure dir or \`..']
628 Installation directories:
629 --prefix=PREFIX install architecture-independent files in PREFIX
631 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
634 By default, \`make install' will install all the files in
635 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
636 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
637 for instance \`--prefix=\$HOME'.
639 For better control, use the options below.
641 Fine tuning of the installation directories:
642 --bindir=DIR user executables [EPREFIX/bin]
643 --sbindir=DIR system admin executables [EPREFIX/sbin]
644 --libexecdir=DIR program executables [EPREFIX/libexec]
645 --datadir=DIR read-only architecture-independent data [PREFIX/share]
646 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
647 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
648 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
649 --libdir=DIR object code libraries [EPREFIX/lib]
650 --includedir=DIR C header files [PREFIX/include]
651 --oldincludedir=DIR C header files for non-gcc [/usr/include]
652 --infodir=DIR info documentation [PREFIX/info]
653 --mandir=DIR man documentation [PREFIX/man]
660 if test -n "$ac_init_help"; then
661 case $ac_init_help in
662 short | recursive
) echo "Configuration of libnbcompat noversion:";;
666 Some influential environment variables
:
667 CC C compiler
command
668 CFLAGS C compiler flags
669 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
670 nonstandard directory
<lib dir
>
671 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
672 headers
in a nonstandard directory
<include dir
>
675 Use these variables to override the choices made by
`configure' or to help
676 it to find libraries and programs with nonstandard names/locations.
678 Report bugs to <lib-bug-people@NetBSD.org>.
682 if test "$ac_init_help" = "recursive"; then
683 # If there are subdirs, report their specific --help.
685 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
687 # A "../" for each directory in /$ac_subdir.
688 ac_dots=`echo $ac_subdir |
689 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
692 .) # No --srcdir option. We are building in place.
693 ac_sub_srcdir=$srcdir ;;
694 [\\/]* | ?:[\\/]* ) # Absolute path.
695 ac_sub_srcdir=$srcdir/$ac_subdir ;;
697 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
700 # Check for guested configure; otherwise get Cygnus style configure.
701 if test -f $ac_sub_srcdir/configure.gnu; then
703 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
704 elif test -f $ac_sub_srcdir/configure; then
706 $SHELL $ac_sub_srcdir/configure --help=recursive
707 elif test -f $ac_sub_srcdir/configure.ac ||
708 test -f $ac_sub_srcdir/configure.in; then
712 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
718 test -n "$ac_init_help" && exit 0
719 if $ac_init_version; then
721 libnbcompat configure noversion
722 generated by GNU Autoconf 2.52
724 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
725 Free Software Foundation, Inc.
726 This configure script is free software; the Free Software Foundation
727 gives unlimited permission to copy, distribute and modify it.
733 This file contains any messages produced by compilers while
734 running configure, to aid debugging if configure makes a mistake.
736 It was created by libnbcompat $as_me noversion, which was
737 generated by GNU Autoconf 2.52. Invocation command line was
748 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
749 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
750 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
751 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
752 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
754 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
755 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
757 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
758 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
759 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
760 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
761 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
762 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
763 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
777 # Keep a trace of the command line.
778 # Strip out --no-create and --no-recursion so they do not pile up.
779 # Also quote any args containing shell meta-characters.
785 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
786 | --no-cr | --no-c) ;;
787 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
788 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
789 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
790 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"`
791 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
793 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
796 # Get rid of the leading space.
799 # When interrupted or exit'd, cleanup temporary files, and complete
800 # config.log. We remove comments because anyway the quotes in there
801 # would cause problems or look ugly.
803 # Save into config.log some information that might help in debugging.
805 echo "## ----------------- ##" >&5
806 echo "## Cache variables. ##" >&5
807 echo "## ----------------- ##" >&5
809 # The following way of writing the cache mishandles newlines in values,
812 case `(ac_space
='"'"' '"'"'; set |
grep ac_space
) 2>&1` in
815 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
816 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
820 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
824 sed "/^$/d" confdefs.h >conftest.log
825 if test -s conftest.log; then
827 echo "## ------------ ##" >&5
828 echo "## confdefs.h. ##" >&5
829 echo "## ------------ ##" >&5
834 test "$ac_signal" != 0 &&
835 echo "$as_me: caught signal $ac_signal" >&5
836 echo "$as_me: exit $exit_status" >&5
837 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
840 for ac_signal in 1 2 13 15; do
841 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
845 # confdefs.h avoids OS command line length limits that DEFS can exceed.
846 rm -rf conftest* confdefs.h
847 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
850 # Let the site file select an alternate cache file if it wants to.
851 # Prefer explicitly selected file to automatically selected ones.
852 if test -z "$CONFIG_SITE"; then
853 if test "x$prefix" != xNONE; then
854 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
856 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
859 for ac_site_file in $CONFIG_SITE; do
860 if test -r "$ac_site_file"; then
861 { echo "$as_me:861: loading site script $ac_site_file" >&5
862 echo "$as_me: loading site script $ac_site_file" >&6;}
863 cat "$ac_site_file" >&5
868 if test -r "$cache_file"; then
869 # Some versions of bash will fail to source /dev/null (special
870 # files actually), so we avoid doing that.
871 if test -f "$cache_file"; then
872 { echo "$as_me:872: loading cache $cache_file" >&5
873 echo "$as_me: loading cache $cache_file" >&6;}
875 [\\/]* | ?:[\\/]* ) . $cache_file;;
880 { echo "$as_me:880: creating cache $cache_file" >&5
881 echo "$as_me: creating cache $cache_file" >&6;}
885 # Check that the precious variables saved in the cache have kept the same
887 ac_cache_corrupted=false
888 for ac_var in `(set) 2>&1 |
889 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
890 eval ac_old_set=\$ac_cv_env_${ac_var}_set
891 eval ac_new_set=\$ac_env_${ac_var}_set
892 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
893 eval ac_new_val="\$ac_env_${ac_var}_value"
894 case $ac_old_set,$ac_new_set in
896 { echo "$as_me:896: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
897 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
898 ac_cache_corrupted=: ;;
900 { echo "$as_me:900: error: \`$ac_var' was not
set in the previous run
" >&5
901 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
902 ac_cache_corrupted=: ;;
905 if test "x$ac_old_val" != "x$ac_new_val"; then
906 { echo "$as_me:906: error: \`$ac_var' has changed since the previous run:" >&5
907 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
908 { echo "$as_me:908: former value
: $ac_old_val" >&5
909 echo "$as_me: former value
: $ac_old_val" >&2;}
910 { echo "$as_me:910: current value
: $ac_new_val" >&5
911 echo "$as_me: current value
: $ac_new_val" >&2;}
915 # Pass precious variables to config.status. It doesn't matter if
916 # we pass some twice (in addition to the command line arguments).
917 if test "$ac_new_set" = set; then
919 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
920 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"`
921 ac_configure_args="$ac_configure_args '$ac_arg'"
923 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
928 if $ac_cache_corrupted; then
929 { echo "$as_me:929: error
: changes
in the environment can compromise the build
" >&5
930 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
931 { { echo "$as_me:931: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
932 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
933 { (exit 1); exit 1; }; }
937 ac_cpp='$CPP $CPPFLAGS'
938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
942 case `echo "testing\c"; echo 1,2,3`,`echo -n testing
; echo 1,2,3` in
943 *c*,-n*) ECHO_N= ECHO_C='
945 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
946 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
948 echo "#! $SHELL" >conftest.sh
949 echo "exit 0" >>conftest.sh
951 if { (echo "$as_me:951: PATH=\".;.\"; conftest.sh") >&5
952 (PATH=".;."; conftest.sh) 2>&5
954 echo "$as_me:954: \$? = $ac_status" >&5
955 (exit $ac_status); }; then
956 ac_path_separator=';'
960 PATH_SEPARATOR="$ac_path_separator"
963 ac_config_headers="$ac_config_headers nbtool_config.h"
965 ac_config_files="$ac_config_files defs.mk"
967 # Autoheader header and footer
972 ac_cpp='$CPP $CPPFLAGS'
973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
976 if test -n "$ac_tool_prefix"; then
977 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
978 set dummy ${ac_tool_prefix}gcc; ac_word=$2
979 echo "$as_me:979: checking for $ac_word" >&5
980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
981 if test "${ac_cv_prog_CC+set}" = set; then
982 echo $ECHO_N "(cached) $ECHO_C" >&6
984 if test -n "$CC"; then
985 ac_cv_prog_CC="$CC" # Let the user override the test.
987 ac_save_IFS=$IFS; IFS=$ac_path_separator
989 for ac_dir in $ac_dummy; do
991 test -z "$ac_dir" && ac_dir=.
992 $as_executable_p "$ac_dir/$ac_word" || continue
993 ac_cv_prog_CC="${ac_tool_prefix}gcc"
994 echo "$as_me:994: found $ac_dir/$ac_word" >&5
1001 if test -n "$CC"; then
1002 echo "$as_me:1002: result: $CC" >&5
1003 echo "${ECHO_T}$CC" >&6
1005 echo "$as_me:1005: result: no" >&5
1006 echo "${ECHO_T}no" >&6
1010 if test -z "$ac_cv_prog_CC"; then
1012 # Extract the first word of "gcc", so it can be a program name with args.
1013 set dummy gcc; ac_word=$2
1014 echo "$as_me:1014: checking for $ac_word" >&5
1015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1016 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1017 echo $ECHO_N "(cached) $ECHO_C" >&6
1019 if test -n "$ac_ct_CC"; then
1020 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1022 ac_save_IFS=$IFS; IFS=$ac_path_separator
1024 for ac_dir in $ac_dummy; do
1026 test -z "$ac_dir" && ac_dir=.
1027 $as_executable_p "$ac_dir/$ac_word" || continue
1028 ac_cv_prog_ac_ct_CC="gcc"
1029 echo "$as_me:1029: found $ac_dir/$ac_word" >&5
1035 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1036 if test -n "$ac_ct_CC"; then
1037 echo "$as_me:1037: result: $ac_ct_CC" >&5
1038 echo "${ECHO_T}$ac_ct_CC" >&6
1040 echo "$as_me:1040: result: no" >&5
1041 echo "${ECHO_T}no" >&6
1049 if test -z "$CC"; then
1050 if test -n "$ac_tool_prefix"; then
1051 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1052 set dummy ${ac_tool_prefix}cc; ac_word=$2
1053 echo "$as_me:1053: checking for $ac_word" >&5
1054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1055 if test "${ac_cv_prog_CC+set}" = set; then
1056 echo $ECHO_N "(cached) $ECHO_C" >&6
1058 if test -n "$CC"; then
1059 ac_cv_prog_CC="$CC" # Let the user override the test.
1061 ac_save_IFS=$IFS; IFS=$ac_path_separator
1063 for ac_dir in $ac_dummy; do
1065 test -z "$ac_dir" && ac_dir=.
1066 $as_executable_p "$ac_dir/$ac_word" || continue
1067 ac_cv_prog_CC="${ac_tool_prefix}cc"
1068 echo "$as_me:1068: found $ac_dir/$ac_word" >&5
1075 if test -n "$CC"; then
1076 echo "$as_me:1076: result: $CC" >&5
1077 echo "${ECHO_T}$CC" >&6
1079 echo "$as_me:1079: result: no" >&5
1080 echo "${ECHO_T}no" >&6
1084 if test -z "$ac_cv_prog_CC"; then
1086 # Extract the first word of "cc", so it can be a program name with args.
1087 set dummy cc; ac_word=$2
1088 echo "$as_me:1088: checking for $ac_word" >&5
1089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1090 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1091 echo $ECHO_N "(cached) $ECHO_C" >&6
1093 if test -n "$ac_ct_CC"; then
1094 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1096 ac_save_IFS=$IFS; IFS=$ac_path_separator
1098 for ac_dir in $ac_dummy; do
1100 test -z "$ac_dir" && ac_dir=.
1101 $as_executable_p "$ac_dir/$ac_word" || continue
1102 ac_cv_prog_ac_ct_CC="cc"
1103 echo "$as_me:1103: found $ac_dir/$ac_word" >&5
1109 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1110 if test -n "$ac_ct_CC"; then
1111 echo "$as_me:1111: result: $ac_ct_CC" >&5
1112 echo "${ECHO_T}$ac_ct_CC" >&6
1114 echo "$as_me:1114: result: no" >&5
1115 echo "${ECHO_T}no" >&6
1124 if test -z "$CC"; then
1125 # Extract the first word of "cc", so it can be a program name with args.
1126 set dummy cc; ac_word=$2
1127 echo "$as_me:1127: checking for $ac_word" >&5
1128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1129 if test "${ac_cv_prog_CC+set}" = set; then
1130 echo $ECHO_N "(cached) $ECHO_C" >&6
1132 if test -n "$CC"; then
1133 ac_cv_prog_CC="$CC" # Let the user override the test.
1136 ac_save_IFS=$IFS; IFS=$ac_path_separator
1138 for ac_dir in $ac_dummy; do
1140 test -z "$ac_dir" && ac_dir=.
1141 $as_executable_p "$ac_dir/$ac_word" || continue
1142 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1143 ac_prog_rejected=yes
1147 echo "$as_me:1147: found $ac_dir/$ac_word" >&5
1151 if test $ac_prog_rejected = yes; then
1152 # We found a bogon in the path, so make sure we never use it.
1153 set dummy $ac_cv_prog_CC
1155 if test $# != 0; then
1156 # We chose a different compiler from the bogus one.
1157 # However, it has the same basename, so the bogon will be chosen
1158 # first if we set CC to just the basename; use the full file name.
1160 set dummy "$ac_dir/$ac_word" ${1+"$@"}
1168 if test -n "$CC"; then
1169 echo "$as_me:1169: result: $CC" >&5
1170 echo "${ECHO_T}$CC" >&6
1172 echo "$as_me:1172: result: no" >&5
1173 echo "${ECHO_T}no" >&6
1177 if test -z "$CC"; then
1178 if test -n "$ac_tool_prefix"; then
1181 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1182 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1183 echo "$as_me:1183: checking for $ac_word" >&5
1184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1185 if test "${ac_cv_prog_CC+set}" = set; then
1186 echo $ECHO_N "(cached) $ECHO_C" >&6
1188 if test -n "$CC"; then
1189 ac_cv_prog_CC="$CC" # Let the user override the test.
1191 ac_save_IFS=$IFS; IFS=$ac_path_separator
1193 for ac_dir in $ac_dummy; do
1195 test -z "$ac_dir" && ac_dir=.
1196 $as_executable_p "$ac_dir/$ac_word" || continue
1197 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1198 echo "$as_me:1198: found $ac_dir/$ac_word" >&5
1205 if test -n "$CC"; then
1206 echo "$as_me:1206: result: $CC" >&5
1207 echo "${ECHO_T}$CC" >&6
1209 echo "$as_me:1209: result: no" >&5
1210 echo "${ECHO_T}no" >&6
1213 test -n "$CC" && break
1216 if test -z "$CC"; then
1220 # Extract the first word of "$ac_prog", so it can be a program name with args.
1221 set dummy $ac_prog; ac_word=$2
1222 echo "$as_me:1222: checking for $ac_word" >&5
1223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1224 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1225 echo $ECHO_N "(cached) $ECHO_C" >&6
1227 if test -n "$ac_ct_CC"; then
1228 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1230 ac_save_IFS=$IFS; IFS=$ac_path_separator
1232 for ac_dir in $ac_dummy; do
1234 test -z "$ac_dir" && ac_dir=.
1235 $as_executable_p "$ac_dir/$ac_word" || continue
1236 ac_cv_prog_ac_ct_CC="$ac_prog"
1237 echo "$as_me:1237: found $ac_dir/$ac_word" >&5
1243 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1244 if test -n "$ac_ct_CC"; then
1245 echo "$as_me:1245: result: $ac_ct_CC" >&5
1246 echo "${ECHO_T}$ac_ct_CC" >&6
1248 echo "$as_me:1248: result: no" >&5
1249 echo "${ECHO_T}no" >&6
1252 test -n "$ac_ct_CC" && break
1260 test -z "$CC" && { { echo "$as_me:1260: error: no acceptable cc found in \$PATH" >&5
1261 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1262 { (exit 1); exit 1; }; }
1264 # Provide some information about the compiler.
1265 echo "$as_me:1265:" \
1266 "checking for C compiler version" >&5
1267 ac_compiler=`set X
$ac_compile; echo $2`
1268 { (eval echo "$as_me:1268: \"$ac_compiler --version </dev/null >&5\"") >&5
1269 (eval $ac_compiler --version </dev/null >&5) 2>&5
1271 echo "$as_me:1271: \$? = $ac_status" >&5
1272 (exit $ac_status); }
1273 { (eval echo "$as_me:1273: \"$ac_compiler -v </dev/null >&5\"") >&5
1274 (eval $ac_compiler -v </dev/null >&5) 2>&5
1276 echo "$as_me:1276: \$? = $ac_status" >&5
1277 (exit $ac_status); }
1278 { (eval echo "$as_me:1278: \"$ac_compiler -V </dev/null >&5\"") >&5
1279 (eval $ac_compiler -V </dev/null >&5) 2>&5
1281 echo "$as_me:1281: \$? = $ac_status" >&5
1282 (exit $ac_status); }
1284 cat >conftest.$ac_ext <<_ACEOF
1285 #line 1285 "configure"
1286 #include "confdefs.h"
1296 ac_clean_files_save=$ac_clean_files
1297 ac_clean_files="$ac_clean_files a.out a.exe"
1298 # Try to create an executable without -o first, disregard a.out.
1299 # It will help us diagnose broken compilers, and finding out an intuition
1301 echo "$as_me:1301: checking for C compiler default output" >&5
1302 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1303 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1304 if { (eval echo "$as_me:1304: \"$ac_link_default\"") >&5
1305 (eval $ac_link_default) 2>&5
1307 echo "$as_me:1307: \$? = $ac_status" >&5
1308 (exit $ac_status); }; then
1309 # Find the output, starting from the most likely. This scheme is
1310 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1312 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
1313 ls a.out conftest 2>/dev/null;
1314 ls a.* conftest.* 2>/dev/null`; do
1316 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1317 a.out ) # We found the default executable, but exeext='' is most
1320 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.
]*\
(\..
*\
)'`
1321 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1328 echo "$as_me: failed program was:" >&5
1329 cat conftest.$ac_ext >&5
1330 { { echo "$as_me:1330: error: C compiler cannot create executables" >&5
1331 echo "$as_me: error: C compiler cannot create executables" >&2;}
1332 { (exit 77); exit 77; }; }
1335 ac_exeext=$ac_cv_exeext
1336 echo "$as_me:1336: result: $ac_file" >&5
1337 echo "${ECHO_T}$ac_file" >&6
1339 # Check the compiler produces executables we can run. If not, either
1340 # the compiler is broken, or we cross compile.
1341 echo "$as_me:1341: checking whether the C compiler works" >&5
1342 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1343 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1344 # If not cross compiling, check that we can run a simple program.
1345 if test "$cross_compiling" != yes; then
1346 if { ac_try='.
/$ac_file'
1347 { (eval echo "$as_me:1347: \"$ac_try\"") >&5
1350 echo "$as_me:1350: \$? = $ac_status" >&5
1351 (exit $ac_status); }; }; then
1354 if test "$cross_compiling" = maybe; then
1357 { { echo "$as_me:1357: error: cannot run C compiled programs.
1358 If you meant to cross compile, use \`--host'.
" >&5
1359 echo "$as_me: error
: cannot run C compiled programs.
1360 If you meant to cross compile
, use \
`--host'." >&2;}
1361 { (exit 1); exit 1; }; }
1365 echo "$as_me:1365: result: yes" >&5
1366 echo "${ECHO_T}yes" >&6
1368 rm -f a.out a.exe conftest$ac_cv_exeext
1369 ac_clean_files=$ac_clean_files_save
1370 # Check the compiler produces executables we can run. If not, either
1371 # the compiler is broken, or we cross compile.
1372 echo "$as_me:1372: checking whether we are cross compiling" >&5
1373 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1374 echo "$as_me:1374: result: $cross_compiling" >&5
1375 echo "${ECHO_T}$cross_compiling" >&6
1377 echo "$as_me:1377: checking for executable suffix" >&5
1378 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1379 if { (eval echo "$as_me:1379: \"$ac_link\"") >&5
1380 (eval $ac_link) 2>&5
1382 echo "$as_me:1382: \$? = $ac_status" >&5
1383 (exit $ac_status); }; then
1384 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1385 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1386 # work properly (i.e., refer to `conftest.exe'), while it won't with
1388 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1390 *.
$ac_ext |
*.o |
*.obj |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
1391 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1398 { { echo "$as_me:1398: error: cannot compute EXEEXT: cannot compile and link" >&5
1399 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1400 { (exit 1); exit 1; }; }
1403 rm -f conftest
$ac_cv_exeext
1404 echo "$as_me:1404: result: $ac_cv_exeext" >&5
1405 echo "${ECHO_T}$ac_cv_exeext" >&6
1407 rm -f conftest.
$ac_ext
1408 EXEEXT
=$ac_cv_exeext
1410 echo "$as_me:1410: checking for object suffix" >&5
1411 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1412 if test "${ac_cv_objext+set}" = set; then
1413 echo $ECHO_N "(cached) $ECHO_C" >&6
1415 cat >conftest.
$ac_ext <<_ACEOF
1416 #line 1416 "configure"
1417 #include "confdefs.h"
1427 rm -f conftest.o conftest.obj
1428 if { (eval echo "$as_me:1428: \"$ac_compile\"") >&5
1429 (eval $ac_compile) 2>&5
1431 echo "$as_me:1431: \$? = $ac_status" >&5
1432 (exit $ac_status); }; then
1433 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1435 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
1436 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1441 echo "$as_me: failed program was:" >&5
1442 cat conftest.
$ac_ext >&5
1443 { { echo "$as_me:1443: error: cannot compute OBJEXT: cannot compile" >&5
1444 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1445 { (exit 1); exit 1; }; }
1448 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1450 echo "$as_me:1450: result: $ac_cv_objext" >&5
1451 echo "${ECHO_T}$ac_cv_objext" >&6
1452 OBJEXT
=$ac_cv_objext
1454 echo "$as_me:1454: checking whether we are using the GNU C compiler" >&5
1455 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1456 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1457 echo $ECHO_N "(cached) $ECHO_C" >&6
1459 cat >conftest.
$ac_ext <<_ACEOF
1460 #line 1460 "configure"
1461 #include "confdefs.h"
1474 rm -f conftest.
$ac_objext
1475 if { (eval echo "$as_me:1475: \"$ac_compile\"") >&5
1476 (eval $ac_compile) 2>&5
1478 echo "$as_me:1478: \$? = $ac_status" >&5
1479 (exit $ac_status); } &&
1480 { ac_try
='test -s conftest.$ac_objext'
1481 { (eval echo "$as_me:1481: \"$ac_try\"") >&5
1484 echo "$as_me:1484: \$? = $ac_status" >&5
1485 (exit $ac_status); }; }; then
1488 echo "$as_me: failed program was:" >&5
1489 cat conftest.
$ac_ext >&5
1492 rm -f conftest.
$ac_objext conftest.
$ac_ext
1493 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1496 echo "$as_me:1496: result: $ac_cv_c_compiler_gnu" >&5
1497 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1498 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1499 ac_test_CFLAGS
=${CFLAGS+set}
1500 ac_save_CFLAGS
=$CFLAGS
1502 echo "$as_me:1502: checking whether $CC accepts -g" >&5
1503 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1504 if test "${ac_cv_prog_cc_g+set}" = set; then
1505 echo $ECHO_N "(cached) $ECHO_C" >&6
1507 cat >conftest.
$ac_ext <<_ACEOF
1508 #line 1508 "configure"
1509 #include "confdefs.h"
1519 rm -f conftest.
$ac_objext
1520 if { (eval echo "$as_me:1520: \"$ac_compile\"") >&5
1521 (eval $ac_compile) 2>&5
1523 echo "$as_me:1523: \$? = $ac_status" >&5
1524 (exit $ac_status); } &&
1525 { ac_try
='test -s conftest.$ac_objext'
1526 { (eval echo "$as_me:1526: \"$ac_try\"") >&5
1529 echo "$as_me:1529: \$? = $ac_status" >&5
1530 (exit $ac_status); }; }; then
1533 echo "$as_me: failed program was:" >&5
1534 cat conftest.
$ac_ext >&5
1537 rm -f conftest.
$ac_objext conftest.
$ac_ext
1539 echo "$as_me:1539: result: $ac_cv_prog_cc_g" >&5
1540 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1541 if test "$ac_test_CFLAGS" = set; then
1542 CFLAGS
=$ac_save_CFLAGS
1543 elif test $ac_cv_prog_cc_g = yes; then
1544 if test "$GCC" = yes; then
1550 if test "$GCC" = yes; then
1556 # Some people use a C++ compiler to compile C. Since we use `exit',
1557 # in C++ we need to declare it. In case someone uses the same compiler
1558 # for both compiling C and C++ we need to have the C++ compiler decide
1559 # the declaration of exit, since it's the most demanding environment.
1560 cat >conftest.
$ac_ext <<_ACEOF
1565 rm -f conftest.
$ac_objext
1566 if { (eval echo "$as_me:1566: \"$ac_compile\"") >&5
1567 (eval $ac_compile) 2>&5
1569 echo "$as_me:1569: \$? = $ac_status" >&5
1570 (exit $ac_status); } &&
1571 { ac_try
='test -s conftest.$ac_objext'
1572 { (eval echo "$as_me:1572: \"$ac_try\"") >&5
1575 echo "$as_me:1575: \$? = $ac_status" >&5
1576 (exit $ac_status); }; }; then
1577 for ac_declaration
in \
1579 '#include <stdlib.h>' \
1580 'extern "C" void std::exit (int) throw (); using std::exit;' \
1581 'extern "C" void std::exit (int); using std::exit;' \
1582 'extern "C" void exit (int) throw ();' \
1583 'extern "C" void exit (int);' \
1586 cat >conftest.
$ac_ext <<_ACEOF
1587 #line 1587 "configure"
1588 #include "confdefs.h"
1599 rm -f conftest.
$ac_objext
1600 if { (eval echo "$as_me:1600: \"$ac_compile\"") >&5
1601 (eval $ac_compile) 2>&5
1603 echo "$as_me:1603: \$? = $ac_status" >&5
1604 (exit $ac_status); } &&
1605 { ac_try
='test -s conftest.$ac_objext'
1606 { (eval echo "$as_me:1606: \"$ac_try\"") >&5
1609 echo "$as_me:1609: \$? = $ac_status" >&5
1610 (exit $ac_status); }; }; then
1613 echo "$as_me: failed program was:" >&5
1614 cat conftest.
$ac_ext >&5
1617 rm -f conftest.
$ac_objext conftest.
$ac_ext
1618 cat >conftest.
$ac_ext <<_ACEOF
1619 #line 1619 "configure"
1620 #include "confdefs.h"
1630 rm -f conftest.
$ac_objext
1631 if { (eval echo "$as_me:1631: \"$ac_compile\"") >&5
1632 (eval $ac_compile) 2>&5
1634 echo "$as_me:1634: \$? = $ac_status" >&5
1635 (exit $ac_status); } &&
1636 { ac_try
='test -s conftest.$ac_objext'
1637 { (eval echo "$as_me:1637: \"$ac_try\"") >&5
1640 echo "$as_me:1640: \$? = $ac_status" >&5
1641 (exit $ac_status); }; }; then
1644 echo "$as_me: failed program was:" >&5
1645 cat conftest.
$ac_ext >&5
1647 rm -f conftest.
$ac_objext conftest.
$ac_ext
1650 if test -n "$ac_declaration"; then
1651 echo '#ifdef __cplusplus' >>confdefs.h
1652 echo $ac_declaration >>confdefs.h
1653 echo '#endif' >>confdefs.h
1657 echo "$as_me: failed program was:" >&5
1658 cat conftest.
$ac_ext >&5
1660 rm -f conftest.
$ac_objext conftest.
$ac_ext
1662 ac_cpp
='$CPP $CPPFLAGS'
1663 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1664 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1665 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1668 ac_cpp
='$CPP $CPPFLAGS'
1669 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1670 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1671 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1672 echo "$as_me:1672: checking how to run the C preprocessor" >&5
1673 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1674 # On Suns, sometimes $CPP names a directory.
1675 if test -n "$CPP" && test -d "$CPP"; then
1678 if test -z "$CPP"; then
1679 if test "${ac_cv_prog_CPP+set}" = set; then
1680 echo $ECHO_N "(cached) $ECHO_C" >&6
1682 # Double quotes because CPP needs to be expanded
1683 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
1686 for ac_c_preproc_warn_flag
in '' yes
1688 # Use a header file that comes with gcc, so configuring glibc
1689 # with a fresh cross-compiler works.
1690 # On the NeXT, cc -E runs the code through the compiler's parser,
1691 # not just through cpp. "Syntax error" is here to catch this case.
1692 cat >conftest.
$ac_ext <<_ACEOF
1693 #line 1693 "configure"
1694 #include "confdefs.h"
1698 if { (eval echo "$as_me:1698: \"$ac_cpp conftest.$ac_ext\"") >&5
1699 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
1701 egrep -v '^ *\+' conftest.er1
>conftest.err
1703 cat conftest.err
>&5
1704 echo "$as_me:1704: \$? = $ac_status" >&5
1705 (exit $ac_status); } >/dev
/null
; then
1706 if test -s conftest.err
; then
1707 ac_cpp_err
=$ac_c_preproc_warn_flag
1714 if test -z "$ac_cpp_err"; then
1717 echo "$as_me: failed program was:" >&5
1718 cat conftest.
$ac_ext >&5
1719 # Broken: fails on valid input.
1722 rm -f conftest.err conftest.
$ac_ext
1724 # OK, works on sane cases. Now check whether non-existent headers
1725 # can be detected and how.
1726 cat >conftest.
$ac_ext <<_ACEOF
1727 #line 1727 "configure"
1728 #include "confdefs.h"
1729 #include <ac_nonexistent.h>
1731 if { (eval echo "$as_me:1731: \"$ac_cpp conftest.$ac_ext\"") >&5
1732 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
1734 egrep -v '^ *\+' conftest.er1
>conftest.err
1736 cat conftest.err
>&5
1737 echo "$as_me:1737: \$? = $ac_status" >&5
1738 (exit $ac_status); } >/dev
/null
; then
1739 if test -s conftest.err
; then
1740 ac_cpp_err
=$ac_c_preproc_warn_flag
1747 if test -z "$ac_cpp_err"; then
1748 # Broken: success on invalid input.
1751 echo "$as_me: failed program was:" >&5
1752 cat conftest.
$ac_ext >&5
1753 # Passes both tests.
1757 rm -f conftest.err conftest.
$ac_ext
1760 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1761 rm -f conftest.err conftest.
$ac_ext
1762 if $ac_preproc_ok; then
1774 echo "$as_me:1774: result: $CPP" >&5
1775 echo "${ECHO_T}$CPP" >&6
1777 for ac_c_preproc_warn_flag
in '' yes
1779 # Use a header file that comes with gcc, so configuring glibc
1780 # with a fresh cross-compiler works.
1781 # On the NeXT, cc -E runs the code through the compiler's parser,
1782 # not just through cpp. "Syntax error" is here to catch this case.
1783 cat >conftest.
$ac_ext <<_ACEOF
1784 #line 1784 "configure"
1785 #include "confdefs.h"
1789 if { (eval echo "$as_me:1789: \"$ac_cpp conftest.$ac_ext\"") >&5
1790 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
1792 egrep -v '^ *\+' conftest.er1
>conftest.err
1794 cat conftest.err
>&5
1795 echo "$as_me:1795: \$? = $ac_status" >&5
1796 (exit $ac_status); } >/dev
/null
; then
1797 if test -s conftest.err
; then
1798 ac_cpp_err
=$ac_c_preproc_warn_flag
1805 if test -z "$ac_cpp_err"; then
1808 echo "$as_me: failed program was:" >&5
1809 cat conftest.
$ac_ext >&5
1810 # Broken: fails on valid input.
1813 rm -f conftest.err conftest.
$ac_ext
1815 # OK, works on sane cases. Now check whether non-existent headers
1816 # can be detected and how.
1817 cat >conftest.
$ac_ext <<_ACEOF
1818 #line 1818 "configure"
1819 #include "confdefs.h"
1820 #include <ac_nonexistent.h>
1822 if { (eval echo "$as_me:1822: \"$ac_cpp conftest.$ac_ext\"") >&5
1823 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
1825 egrep -v '^ *\+' conftest.er1
>conftest.err
1827 cat conftest.err
>&5
1828 echo "$as_me:1828: \$? = $ac_status" >&5
1829 (exit $ac_status); } >/dev
/null
; then
1830 if test -s conftest.err
; then
1831 ac_cpp_err
=$ac_c_preproc_warn_flag
1838 if test -z "$ac_cpp_err"; then
1839 # Broken: success on invalid input.
1842 echo "$as_me: failed program was:" >&5
1843 cat conftest.
$ac_ext >&5
1844 # Passes both tests.
1848 rm -f conftest.err conftest.
$ac_ext
1851 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1852 rm -f conftest.err conftest.
$ac_ext
1853 if $ac_preproc_ok; then
1856 { { echo "$as_me:1856: error: C preprocessor \"$CPP\" fails sanity check" >&5
1857 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
1858 { (exit 1); exit 1; }; }
1862 ac_cpp
='$CPP $CPPFLAGS'
1863 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1864 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1865 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1867 echo "$as_me:1867: checking for NetBSD" >&5
1868 echo $ECHO_N "checking for NetBSD... $ECHO_C" >&6
1869 cat >conftest.
$ac_ext <<_ACEOF
1870 #line 1870 "configure"
1871 #include "confdefs.h"
1877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1878 egrep "yes" >/dev
/null
2>&1; then
1879 echo "$as_me:1879: result: yes" >&5
1880 echo "${ECHO_T}yes" >&6
1882 cat >>confdefs.h
<<\EOF
1883 #define _POSIX_SOURCE 1
1886 cat >>confdefs.h
<<\EOF
1887 #define _POSIX_C_SOURCE 200112L
1890 cat >>confdefs.h
<<\EOF
1891 #define _XOPEN_SOURCE 600
1895 echo "$as_me:1895: result: no" >&5
1896 echo "${ECHO_T}no" >&6
1900 # Extract the first word of "sh", so it can be a program name with args.
1901 set dummy sh
; ac_word
=$2
1902 echo "$as_me:1902: checking for $ac_word" >&5
1903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1904 if test "${ac_cv_path_BSHELL+set}" = set; then
1905 echo $ECHO_N "(cached) $ECHO_C" >&6
1909 ac_cv_path_BSHELL
="$BSHELL" # Let the user override the test with a path.
1912 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1914 for ac_dir
in $ac_dummy; do
1916 test -z "$ac_dir" && ac_dir
=.
1917 if $as_executable_p "$ac_dir/$ac_word"; then
1918 ac_cv_path_BSHELL
="$ac_dir/$ac_word"
1919 echo "$as_me:1919: found $ac_dir/$ac_word" >&5
1927 BSHELL
=$ac_cv_path_BSHELL
1929 if test -n "$BSHELL"; then
1930 echo "$as_me:1930: result: $BSHELL" >&5
1931 echo "${ECHO_T}$BSHELL" >&6
1933 echo "$as_me:1933: result: no" >&5
1934 echo "${ECHO_T}no" >&6
1937 if test x
"$BSHELL" = x
; then
1938 { { echo "$as_me:1938: error: sh must be somewhere on \$PATH" >&5
1939 echo "$as_me: error: sh must be somewhere on \$PATH" >&2;}
1940 { (exit 1); exit 1; }; }
1943 cat >>confdefs.h
<<EOF
1944 #define PATH_BSHELL "$BSHELL"
1947 echo "$as_me:1947: checking whether byte ordering is bigendian" >&5
1948 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
1949 if test "${ac_cv_c_bigendian+set}" = set; then
1950 echo $ECHO_N "(cached) $ECHO_C" >&6
1952 ac_cv_c_bigendian
=unknown
1953 # See if sys/param.h defines the BYTE_ORDER macro.
1954 cat >conftest.
$ac_ext <<_ACEOF
1955 #line 1955 "configure"
1956 #include "confdefs.h"
1957 #include <sys/types.h>
1958 #include <sys/param.h>
1963 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
1971 rm -f conftest.
$ac_objext
1972 if { (eval echo "$as_me:1972: \"$ac_compile\"") >&5
1973 (eval $ac_compile) 2>&5
1975 echo "$as_me:1975: \$? = $ac_status" >&5
1976 (exit $ac_status); } &&
1977 { ac_try
='test -s conftest.$ac_objext'
1978 { (eval echo "$as_me:1978: \"$ac_try\"") >&5
1981 echo "$as_me:1981: \$? = $ac_status" >&5
1982 (exit $ac_status); }; }; then
1983 # It does; now see whether it defined to BIG_ENDIAN or not.
1984 cat >conftest.
$ac_ext <<_ACEOF
1985 #line 1985 "configure"
1986 #include "confdefs.h"
1987 #include <sys/types.h>
1988 #include <sys/param.h>
1993 #if BYTE_ORDER != BIG_ENDIAN
2001 rm -f conftest.
$ac_objext
2002 if { (eval echo "$as_me:2002: \"$ac_compile\"") >&5
2003 (eval $ac_compile) 2>&5
2005 echo "$as_me:2005: \$? = $ac_status" >&5
2006 (exit $ac_status); } &&
2007 { ac_try
='test -s conftest.$ac_objext'
2008 { (eval echo "$as_me:2008: \"$ac_try\"") >&5
2011 echo "$as_me:2011: \$? = $ac_status" >&5
2012 (exit $ac_status); }; }; then
2013 ac_cv_c_bigendian
=yes
2015 echo "$as_me: failed program was:" >&5
2016 cat conftest.
$ac_ext >&5
2017 ac_cv_c_bigendian
=no
2019 rm -f conftest.
$ac_objext conftest.
$ac_ext
2021 echo "$as_me: failed program was:" >&5
2022 cat conftest.
$ac_ext >&5
2024 rm -f conftest.
$ac_objext conftest.
$ac_ext
2025 if test $ac_cv_c_bigendian = unknown
; then
2026 if test "$cross_compiling" = yes; then
2027 { { echo "$as_me:2027: error: cannot run test program while cross compiling" >&5
2028 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
2029 { (exit 1); exit 1; }; }
2031 cat >conftest.
$ac_ext <<_ACEOF
2032 #line 2032 "configure"
2033 #include "confdefs.h"
2037 /* Are we little or big endian? From Harbison&Steele. */
2041 char c[sizeof (long)];
2044 exit (u.c[sizeof (long) - 1] == 1);
2047 rm -f conftest
$ac_exeext
2048 if { (eval echo "$as_me:2048: \"$ac_link\"") >&5
2049 (eval $ac_link) 2>&5
2051 echo "$as_me:2051: \$? = $ac_status" >&5
2052 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2053 { (eval echo "$as_me:2053: \"$ac_try\"") >&5
2056 echo "$as_me:2056: \$? = $ac_status" >&5
2057 (exit $ac_status); }; }; then
2058 ac_cv_c_bigendian
=no
2060 echo "$as_me: program exited with status $ac_status" >&5
2061 echo "$as_me: failed program was:" >&5
2062 cat conftest.
$ac_ext >&5
2063 ac_cv_c_bigendian
=yes
2065 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2069 echo "$as_me:2069: result: $ac_cv_c_bigendian" >&5
2070 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
2071 if test $ac_cv_c_bigendian = yes; then
2073 cat >>confdefs.h
<<\EOF
2074 #define WORDS_BIGENDIAN 1
2079 echo "$as_me:2079: checking for ANSI C header files" >&5
2080 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2081 if test "${ac_cv_header_stdc+set}" = set; then
2082 echo $ECHO_N "(cached) $ECHO_C" >&6
2084 cat >conftest.
$ac_ext <<_ACEOF
2085 #line 2085 "configure"
2086 #include "confdefs.h"
2093 if { (eval echo "$as_me:2093: \"$ac_cpp conftest.$ac_ext\"") >&5
2094 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2096 egrep -v '^ *\+' conftest.er1
>conftest.err
2098 cat conftest.err
>&5
2099 echo "$as_me:2099: \$? = $ac_status" >&5
2100 (exit $ac_status); } >/dev
/null
; then
2101 if test -s conftest.err
; then
2102 ac_cpp_err
=$ac_c_preproc_warn_flag
2109 if test -z "$ac_cpp_err"; then
2110 ac_cv_header_stdc
=yes
2112 echo "$as_me: failed program was:" >&5
2113 cat conftest.
$ac_ext >&5
2114 ac_cv_header_stdc
=no
2116 rm -f conftest.err conftest.
$ac_ext
2118 if test $ac_cv_header_stdc = yes; then
2119 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2120 cat >conftest.
$ac_ext <<_ACEOF
2121 #line 2121 "configure"
2122 #include "confdefs.h"
2126 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2127 egrep "memchr" >/dev
/null
2>&1; then
2130 ac_cv_header_stdc
=no
2136 if test $ac_cv_header_stdc = yes; then
2137 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2138 cat >conftest.
$ac_ext <<_ACEOF
2139 #line 2139 "configure"
2140 #include "confdefs.h"
2144 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2145 egrep "free" >/dev
/null
2>&1; then
2148 ac_cv_header_stdc
=no
2154 if test $ac_cv_header_stdc = yes; then
2155 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2156 if test "$cross_compiling" = yes; then
2159 cat >conftest.
$ac_ext <<_ACEOF
2160 #line 2160 "configure"
2161 #include "confdefs.h"
2163 #if ((' ' & 0x0FF) == 0x020)
2164 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2165 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2167 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2168 || ('j' <= (c) && (c) <= 'r') \
2169 || ('s' <= (c) && (c) <= 'z'))
2170 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2173 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2178 for (i = 0; i < 256; i++)
2179 if (XOR (islower (i), ISLOWER (i))
2180 || toupper (i) != TOUPPER (i))
2185 rm -f conftest
$ac_exeext
2186 if { (eval echo "$as_me:2186: \"$ac_link\"") >&5
2187 (eval $ac_link) 2>&5
2189 echo "$as_me:2189: \$? = $ac_status" >&5
2190 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2191 { (eval echo "$as_me:2191: \"$ac_try\"") >&5
2194 echo "$as_me:2194: \$? = $ac_status" >&5
2195 (exit $ac_status); }; }; then
2198 echo "$as_me: program exited with status $ac_status" >&5
2199 echo "$as_me: failed program was:" >&5
2200 cat conftest.
$ac_ext >&5
2201 ac_cv_header_stdc
=no
2203 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2207 echo "$as_me:2207: result: $ac_cv_header_stdc" >&5
2208 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2209 if test $ac_cv_header_stdc = yes; then
2211 cat >>confdefs.h
<<\EOF
2212 #define STDC_HEADERS 1
2217 # Confirm existence of zlib. (This is available as a default install
2218 # option on many OS's; this could be added as a reachover build in the
2220 echo "$as_me:2220: checking for zlib.h" >&5
2221 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
2222 if test "${ac_cv_header_zlib_h+set}" = set; then
2223 echo $ECHO_N "(cached) $ECHO_C" >&6
2225 cat >conftest.
$ac_ext <<_ACEOF
2226 #line 2226 "configure"
2227 #include "confdefs.h"
2230 if { (eval echo "$as_me:2230: \"$ac_cpp conftest.$ac_ext\"") >&5
2231 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2233 egrep -v '^ *\+' conftest.er1
>conftest.err
2235 cat conftest.err
>&5
2236 echo "$as_me:2236: \$? = $ac_status" >&5
2237 (exit $ac_status); } >/dev
/null
; then
2238 if test -s conftest.err
; then
2239 ac_cpp_err
=$ac_c_preproc_warn_flag
2246 if test -z "$ac_cpp_err"; then
2247 ac_cv_header_zlib_h
=yes
2249 echo "$as_me: failed program was:" >&5
2250 cat conftest.
$ac_ext >&5
2251 ac_cv_header_zlib_h
=no
2253 rm -f conftest.err conftest.
$ac_ext
2255 echo "$as_me:2255: result: $ac_cv_header_zlib_h" >&5
2256 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
2257 if test $ac_cv_header_zlib_h = yes; then
2260 { { echo "$as_me:2260: error: zlib must be installed in a compiler-visible path" >&5
2261 echo "$as_me: error: zlib must be installed in a compiler-visible path" >&2;}
2262 { (exit 1); exit 1; }; }
2265 echo "$as_me:2265: checking for gzdopen in -lz" >&5
2266 echo $ECHO_N "checking for gzdopen in -lz... $ECHO_C" >&6
2267 if test "${ac_cv_lib_z_gzdopen+set}" = set; then
2268 echo $ECHO_N "(cached) $ECHO_C" >&6
2270 ac_check_lib_save_LIBS
=$LIBS
2272 cat >conftest.
$ac_ext <<_ACEOF
2273 #line 2273 "configure"
2274 #include "confdefs.h"
2276 /* Override any gcc2 internal prototype to avoid an error. */
2280 /* We use char because int might match the return type of a gcc2
2281 builtin and then its argument prototype would still apply. */
2291 rm -f conftest.
$ac_objext conftest
$ac_exeext
2292 if { (eval echo "$as_me:2292: \"$ac_link\"") >&5
2293 (eval $ac_link) 2>&5
2295 echo "$as_me:2295: \$? = $ac_status" >&5
2296 (exit $ac_status); } &&
2297 { ac_try
='test -s conftest$ac_exeext'
2298 { (eval echo "$as_me:2298: \"$ac_try\"") >&5
2301 echo "$as_me:2301: \$? = $ac_status" >&5
2302 (exit $ac_status); }; }; then
2303 ac_cv_lib_z_gzdopen
=yes
2305 echo "$as_me: failed program was:" >&5
2306 cat conftest.
$ac_ext >&5
2307 ac_cv_lib_z_gzdopen
=no
2309 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2310 LIBS
=$ac_check_lib_save_LIBS
2312 echo "$as_me:2312: result: $ac_cv_lib_z_gzdopen" >&5
2313 echo "${ECHO_T}$ac_cv_lib_z_gzdopen" >&6
2314 if test $ac_cv_lib_z_gzdopen = yes; then
2315 cat >>confdefs.h
<<EOF
2322 { { echo "$as_me:2322: error: zlib must be installed in a compiler-visible path" >&5
2323 echo "$as_me: error: zlib must be installed in a compiler-visible path" >&2;}
2324 { (exit 1); exit 1; }; }
2327 # Make sure certain required headers are available.
2328 # These are not necessarily required by the code, but they are not
2329 # currently conditionalized.
2331 for ac_header
in sys
/ioctl.h sys
/mman.h sys
/param.h \
2332 sys
/socket.h sys
/stat.h sys
/time.h sys
/types.h sys
/utsname.h \
2333 sys
/wait.h assert.h ctype.h errno.h fcntl.h grp.h limits.h locale.h \
2334 netdb.h
pwd.h signal.h stdarg.h stdio.h stdlib.h string.h \
2337 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2338 echo "$as_me:2338: checking for $ac_header" >&5
2339 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2340 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2341 echo $ECHO_N "(cached) $ECHO_C" >&6
2343 cat >conftest.
$ac_ext <<_ACEOF
2344 #line 2344 "configure"
2345 #include "confdefs.h"
2346 #include <$ac_header>
2348 if { (eval echo "$as_me:2348: \"$ac_cpp conftest.$ac_ext\"") >&5
2349 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2351 egrep -v '^ *\+' conftest.er1
>conftest.err
2353 cat conftest.err
>&5
2354 echo "$as_me:2354: \$? = $ac_status" >&5
2355 (exit $ac_status); } >/dev
/null
; then
2356 if test -s conftest.err
; then
2357 ac_cpp_err
=$ac_c_preproc_warn_flag
2364 if test -z "$ac_cpp_err"; then
2365 eval "$as_ac_Header=yes"
2367 echo "$as_me: failed program was:" >&5
2368 cat conftest.
$ac_ext >&5
2369 eval "$as_ac_Header=no"
2371 rm -f conftest.err conftest.
$ac_ext
2373 echo "$as_me:2373: result: `eval echo '${'$as_ac_Header'}'`" >&5
2374 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2375 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2376 cat >>confdefs.h
<<EOF
2377 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2381 { { echo "$as_me:2381: error: standard system header file not found" >&5
2382 echo "$as_me: error: standard system header file not found" >&2;}
2383 { (exit 1); exit 1; }; }
2387 # Find headers that may not be available.
2390 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
2391 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
2392 echo "$as_me:2392: checking for $ac_hdr that defines DIR" >&5
2393 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
2394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2395 echo $ECHO_N "(cached) $ECHO_C" >&6
2397 cat >conftest.
$ac_ext <<_ACEOF
2398 #line 2398 "configure"
2399 #include "confdefs.h"
2400 #include <sys/types.h>
2412 rm -f conftest.
$ac_objext
2413 if { (eval echo "$as_me:2413: \"$ac_compile\"") >&5
2414 (eval $ac_compile) 2>&5
2416 echo "$as_me:2416: \$? = $ac_status" >&5
2417 (exit $ac_status); } &&
2418 { ac_try
='test -s conftest.$ac_objext'
2419 { (eval echo "$as_me:2419: \"$ac_try\"") >&5
2422 echo "$as_me:2422: \$? = $ac_status" >&5
2423 (exit $ac_status); }; }; then
2424 eval "$as_ac_Header=yes"
2426 echo "$as_me: failed program was:" >&5
2427 cat conftest.
$ac_ext >&5
2428 eval "$as_ac_Header=no"
2430 rm -f conftest.
$ac_objext conftest.
$ac_ext
2432 echo "$as_me:2432: result: `eval echo '${'$as_ac_Header'}'`" >&5
2433 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2434 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2435 cat >>confdefs.h
<<EOF
2436 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
2439 ac_header_dirent
=$ac_hdr; break
2443 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
2444 if test $ac_header_dirent = dirent.h
; then
2445 echo "$as_me:2445: checking for opendir in -ldir" >&5
2446 echo $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6
2447 if test "${ac_cv_lib_dir_opendir+set}" = set; then
2448 echo $ECHO_N "(cached) $ECHO_C" >&6
2450 ac_check_lib_save_LIBS
=$LIBS
2452 cat >conftest.
$ac_ext <<_ACEOF
2453 #line 2453 "configure"
2454 #include "confdefs.h"
2456 /* Override any gcc2 internal prototype to avoid an error. */
2460 /* We use char because int might match the return type of a gcc2
2461 builtin and then its argument prototype would still apply. */
2471 rm -f conftest.
$ac_objext conftest
$ac_exeext
2472 if { (eval echo "$as_me:2472: \"$ac_link\"") >&5
2473 (eval $ac_link) 2>&5
2475 echo "$as_me:2475: \$? = $ac_status" >&5
2476 (exit $ac_status); } &&
2477 { ac_try
='test -s conftest$ac_exeext'
2478 { (eval echo "$as_me:2478: \"$ac_try\"") >&5
2481 echo "$as_me:2481: \$? = $ac_status" >&5
2482 (exit $ac_status); }; }; then
2483 ac_cv_lib_dir_opendir
=yes
2485 echo "$as_me: failed program was:" >&5
2486 cat conftest.
$ac_ext >&5
2487 ac_cv_lib_dir_opendir
=no
2489 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2490 LIBS
=$ac_check_lib_save_LIBS
2492 echo "$as_me:2492: result: $ac_cv_lib_dir_opendir" >&5
2493 echo "${ECHO_T}$ac_cv_lib_dir_opendir" >&6
2494 if test $ac_cv_lib_dir_opendir = yes; then
2499 echo "$as_me:2499: checking for opendir in -lx" >&5
2500 echo $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6
2501 if test "${ac_cv_lib_x_opendir+set}" = set; then
2502 echo $ECHO_N "(cached) $ECHO_C" >&6
2504 ac_check_lib_save_LIBS
=$LIBS
2506 cat >conftest.
$ac_ext <<_ACEOF
2507 #line 2507 "configure"
2508 #include "confdefs.h"
2510 /* Override any gcc2 internal prototype to avoid an error. */
2514 /* We use char because int might match the return type of a gcc2
2515 builtin and then its argument prototype would still apply. */
2525 rm -f conftest.
$ac_objext conftest
$ac_exeext
2526 if { (eval echo "$as_me:2526: \"$ac_link\"") >&5
2527 (eval $ac_link) 2>&5
2529 echo "$as_me:2529: \$? = $ac_status" >&5
2530 (exit $ac_status); } &&
2531 { ac_try
='test -s conftest$ac_exeext'
2532 { (eval echo "$as_me:2532: \"$ac_try\"") >&5
2535 echo "$as_me:2535: \$? = $ac_status" >&5
2536 (exit $ac_status); }; }; then
2537 ac_cv_lib_x_opendir
=yes
2539 echo "$as_me: failed program was:" >&5
2540 cat conftest.
$ac_ext >&5
2541 ac_cv_lib_x_opendir
=no
2543 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2544 LIBS
=$ac_check_lib_save_LIBS
2546 echo "$as_me:2546: result: $ac_cv_lib_x_opendir" >&5
2547 echo "${ECHO_T}$ac_cv_lib_x_opendir" >&6
2548 if test $ac_cv_lib_x_opendir = yes; then
2554 for ac_header
in sys
/mtio.h sys
/sysmacros.h sys
/syslimits.h \
2555 getopt.h features.h malloc.h sys
/poll.h stddef.h
2557 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2558 echo "$as_me:2558: checking for $ac_header" >&5
2559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2561 echo $ECHO_N "(cached) $ECHO_C" >&6
2563 cat >conftest.
$ac_ext <<_ACEOF
2564 #line 2564 "configure"
2565 #include "confdefs.h"
2566 #include <$ac_header>
2568 if { (eval echo "$as_me:2568: \"$ac_cpp conftest.$ac_ext\"") >&5
2569 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2571 egrep -v '^ *\+' conftest.er1
>conftest.err
2573 cat conftest.err
>&5
2574 echo "$as_me:2574: \$? = $ac_status" >&5
2575 (exit $ac_status); } >/dev
/null
; then
2576 if test -s conftest.err
; then
2577 ac_cpp_err
=$ac_c_preproc_warn_flag
2584 if test -z "$ac_cpp_err"; then
2585 eval "$as_ac_Header=yes"
2587 echo "$as_me: failed program was:" >&5
2588 cat conftest.
$ac_ext >&5
2589 eval "$as_ac_Header=no"
2591 rm -f conftest.err conftest.
$ac_ext
2593 echo "$as_me:2593: result: `eval echo '${'$as_ac_Header'}'`" >&5
2594 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2595 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2596 cat >>confdefs.h
<<EOF
2597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2603 for ac_header
in sys
/bswap.h machine
/bswap.h sys
/cdefs.h machine
/endian.h \
2604 sys
/featuretest.h err.h inttypes.h libgen.h paths.h stdint.h util.h \
2605 resolv.h arpa
/nameser.h
2607 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2608 echo "$as_me:2608: checking for $ac_header" >&5
2609 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2610 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2611 echo $ECHO_N "(cached) $ECHO_C" >&6
2613 cat >conftest.
$ac_ext <<_ACEOF
2614 #line 2614 "configure"
2615 #include "confdefs.h"
2616 #include <$ac_header>
2618 if { (eval echo "$as_me:2618: \"$ac_cpp conftest.$ac_ext\"") >&5
2619 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2621 egrep -v '^ *\+' conftest.er1
>conftest.err
2623 cat conftest.err
>&5
2624 echo "$as_me:2624: \$? = $ac_status" >&5
2625 (exit $ac_status); } >/dev
/null
; then
2626 if test -s conftest.err
; then
2627 ac_cpp_err
=$ac_c_preproc_warn_flag
2634 if test -z "$ac_cpp_err"; then
2635 eval "$as_ac_Header=yes"
2637 echo "$as_me: failed program was:" >&5
2638 cat conftest.
$ac_ext >&5
2639 eval "$as_ac_Header=no"
2641 rm -f conftest.err conftest.
$ac_ext
2643 echo "$as_me:2643: result: `eval echo '${'$as_ac_Header'}'`" >&5
2644 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2645 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2646 cat >>confdefs.h
<<EOF
2647 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2651 test -f include
/$ac_header ||
touch include
/$ac_header
2655 for ac_header
in rpc
/types.h netconfig.h
2657 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2658 echo "$as_me:2658: checking for $ac_header" >&5
2659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2661 echo $ECHO_N "(cached) $ECHO_C" >&6
2663 cat >conftest.
$ac_ext <<_ACEOF
2664 #line 2664 "configure"
2665 #include "confdefs.h"
2666 #include <$ac_header>
2668 if { (eval echo "$as_me:2668: \"$ac_cpp conftest.$ac_ext\"") >&5
2669 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2671 egrep -v '^ *\+' conftest.er1
>conftest.err
2673 cat conftest.err
>&5
2674 echo "$as_me:2674: \$? = $ac_status" >&5
2675 (exit $ac_status); } >/dev
/null
; then
2676 if test -s conftest.err
; then
2677 ac_cpp_err
=$ac_c_preproc_warn_flag
2684 if test -z "$ac_cpp_err"; then
2685 eval "$as_ac_Header=yes"
2687 echo "$as_me: failed program was:" >&5
2688 cat conftest.
$ac_ext >&5
2689 eval "$as_ac_Header=no"
2691 rm -f conftest.err conftest.
$ac_ext
2693 echo "$as_me:2693: result: `eval echo '${'$as_ac_Header'}'`" >&5
2694 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2695 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2696 cat >>confdefs.h
<<EOF
2697 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2701 echo '#include "nbtool_config.h"' >include
/$ac_header.new
2702 echo '#include "'$srcdir/..
/..
/include
/$ac_header'"' >>include
/$ac_header.new
2703 if cmp include
/$ac_header.new include
/$ac_header >/dev
/null
2>&1; then
2704 rm -f include
/$ac_header.new
2706 mv -f include
/$ac_header.new include
/$ac_header
2712 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2714 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
2715 inttypes.h stdint.h unistd.h
2717 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2718 echo "$as_me:2718: checking for $ac_header" >&5
2719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2720 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2721 echo $ECHO_N "(cached) $ECHO_C" >&6
2723 cat >conftest.
$ac_ext <<_ACEOF
2724 #line 2724 "configure"
2725 #include "confdefs.h"
2726 $ac_includes_default
2727 #include <$ac_header>
2729 rm -f conftest.
$ac_objext
2730 if { (eval echo "$as_me:2730: \"$ac_compile\"") >&5
2731 (eval $ac_compile) 2>&5
2733 echo "$as_me:2733: \$? = $ac_status" >&5
2734 (exit $ac_status); } &&
2735 { ac_try
='test -s conftest.$ac_objext'
2736 { (eval echo "$as_me:2736: \"$ac_try\"") >&5
2739 echo "$as_me:2739: \$? = $ac_status" >&5
2740 (exit $ac_status); }; }; then
2741 eval "$as_ac_Header=yes"
2743 echo "$as_me: failed program was:" >&5
2744 cat conftest.
$ac_ext >&5
2745 eval "$as_ac_Header=no"
2747 rm -f conftest.
$ac_objext conftest.
$ac_ext
2749 echo "$as_me:2749: result: `eval echo '${'$as_ac_Header'}'`" >&5
2750 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2751 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2752 cat >>confdefs.h
<<EOF
2753 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2759 echo "$as_me:2759: checking for size_t" >&5
2760 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
2761 if test "${ac_cv_type_size_t+set}" = set; then
2762 echo $ECHO_N "(cached) $ECHO_C" >&6
2764 cat >conftest.
$ac_ext <<_ACEOF
2765 #line 2765 "configure"
2766 #include "confdefs.h"
2767 $ac_includes_default
2773 if (sizeof (size_t))
2779 rm -f conftest.
$ac_objext
2780 if { (eval echo "$as_me:2780: \"$ac_compile\"") >&5
2781 (eval $ac_compile) 2>&5
2783 echo "$as_me:2783: \$? = $ac_status" >&5
2784 (exit $ac_status); } &&
2785 { ac_try
='test -s conftest.$ac_objext'
2786 { (eval echo "$as_me:2786: \"$ac_try\"") >&5
2789 echo "$as_me:2789: \$? = $ac_status" >&5
2790 (exit $ac_status); }; }; then
2791 ac_cv_type_size_t
=yes
2793 echo "$as_me: failed program was:" >&5
2794 cat conftest.
$ac_ext >&5
2795 ac_cv_type_size_t
=no
2797 rm -f conftest.
$ac_objext conftest.
$ac_ext
2799 echo "$as_me:2799: result: $ac_cv_type_size_t" >&5
2800 echo "${ECHO_T}$ac_cv_type_size_t" >&6
2801 if test $ac_cv_type_size_t = yes; then
2805 cat >>confdefs.h
<<EOF
2806 #define size_t unsigned
2811 echo "$as_me:2811: checking for id_t" >&5
2812 echo $ECHO_N "checking for id_t... $ECHO_C" >&6
2813 if test "${ac_cv_type_id_t+set}" = set; then
2814 echo $ECHO_N "(cached) $ECHO_C" >&6
2816 cat >conftest.
$ac_ext <<_ACEOF
2817 #line 2817 "configure"
2818 #include "confdefs.h"
2819 $ac_includes_default
2831 rm -f conftest.
$ac_objext
2832 if { (eval echo "$as_me:2832: \"$ac_compile\"") >&5
2833 (eval $ac_compile) 2>&5
2835 echo "$as_me:2835: \$? = $ac_status" >&5
2836 (exit $ac_status); } &&
2837 { ac_try
='test -s conftest.$ac_objext'
2838 { (eval echo "$as_me:2838: \"$ac_try\"") >&5
2841 echo "$as_me:2841: \$? = $ac_status" >&5
2842 (exit $ac_status); }; }; then
2845 echo "$as_me: failed program was:" >&5
2846 cat conftest.
$ac_ext >&5
2849 rm -f conftest.
$ac_objext conftest.
$ac_ext
2851 echo "$as_me:2851: result: $ac_cv_type_id_t" >&5
2852 echo "${ECHO_T}$ac_cv_type_id_t" >&6
2853 if test $ac_cv_type_id_t = yes; then
2855 cat >>confdefs.h
<<EOF
2860 echo "$as_me:2860: checking for long long" >&5
2861 echo $ECHO_N "checking for long long... $ECHO_C" >&6
2862 if test "${ac_cv_type_long_long+set}" = set; then
2863 echo $ECHO_N "(cached) $ECHO_C" >&6
2865 cat >conftest.
$ac_ext <<_ACEOF
2866 #line 2866 "configure"
2867 #include "confdefs.h"
2868 $ac_includes_default
2872 if ((long long *) 0)
2874 if (sizeof (long long))
2880 rm -f conftest.
$ac_objext
2881 if { (eval echo "$as_me:2881: \"$ac_compile\"") >&5
2882 (eval $ac_compile) 2>&5
2884 echo "$as_me:2884: \$? = $ac_status" >&5
2885 (exit $ac_status); } &&
2886 { ac_try
='test -s conftest.$ac_objext'
2887 { (eval echo "$as_me:2887: \"$ac_try\"") >&5
2890 echo "$as_me:2890: \$? = $ac_status" >&5
2891 (exit $ac_status); }; }; then
2892 ac_cv_type_long_long
=yes
2894 echo "$as_me: failed program was:" >&5
2895 cat conftest.
$ac_ext >&5
2896 ac_cv_type_long_long
=no
2898 rm -f conftest.
$ac_objext conftest.
$ac_ext
2900 echo "$as_me:2900: result: $ac_cv_type_long_long" >&5
2901 echo "${ECHO_T}$ac_cv_type_long_long" >&6
2902 if test $ac_cv_type_long_long = yes; then
2904 cat >>confdefs.h
<<EOF
2905 #define HAVE_LONG_LONG 1
2909 echo "$as_me:2909: checking for u_long" >&5
2910 echo $ECHO_N "checking for u_long... $ECHO_C" >&6
2911 if test "${ac_cv_type_u_long+set}" = set; then
2912 echo $ECHO_N "(cached) $ECHO_C" >&6
2914 cat >conftest.
$ac_ext <<_ACEOF
2915 #line 2915 "configure"
2916 #include "confdefs.h"
2917 $ac_includes_default
2923 if (sizeof (u_long))
2929 rm -f conftest.
$ac_objext
2930 if { (eval echo "$as_me:2930: \"$ac_compile\"") >&5
2931 (eval $ac_compile) 2>&5
2933 echo "$as_me:2933: \$? = $ac_status" >&5
2934 (exit $ac_status); } &&
2935 { ac_try
='test -s conftest.$ac_objext'
2936 { (eval echo "$as_me:2936: \"$ac_try\"") >&5
2939 echo "$as_me:2939: \$? = $ac_status" >&5
2940 (exit $ac_status); }; }; then
2941 ac_cv_type_u_long
=yes
2943 echo "$as_me: failed program was:" >&5
2944 cat conftest.
$ac_ext >&5
2945 ac_cv_type_u_long
=no
2947 rm -f conftest.
$ac_objext conftest.
$ac_ext
2949 echo "$as_me:2949: result: $ac_cv_type_u_long" >&5
2950 echo "${ECHO_T}$ac_cv_type_u_long" >&6
2951 if test $ac_cv_type_u_long = yes; then
2953 cat >>confdefs.h
<<EOF
2954 #define HAVE_U_LONG 1
2958 echo "$as_me:2958: checking for u_char" >&5
2959 echo $ECHO_N "checking for u_char... $ECHO_C" >&6
2960 if test "${ac_cv_type_u_char+set}" = set; then
2961 echo $ECHO_N "(cached) $ECHO_C" >&6
2963 cat >conftest.
$ac_ext <<_ACEOF
2964 #line 2964 "configure"
2965 #include "confdefs.h"
2966 $ac_includes_default
2972 if (sizeof (u_char))
2978 rm -f conftest.
$ac_objext
2979 if { (eval echo "$as_me:2979: \"$ac_compile\"") >&5
2980 (eval $ac_compile) 2>&5
2982 echo "$as_me:2982: \$? = $ac_status" >&5
2983 (exit $ac_status); } &&
2984 { ac_try
='test -s conftest.$ac_objext'
2985 { (eval echo "$as_me:2985: \"$ac_try\"") >&5
2988 echo "$as_me:2988: \$? = $ac_status" >&5
2989 (exit $ac_status); }; }; then
2990 ac_cv_type_u_char
=yes
2992 echo "$as_me: failed program was:" >&5
2993 cat conftest.
$ac_ext >&5
2994 ac_cv_type_u_char
=no
2996 rm -f conftest.
$ac_objext conftest.
$ac_ext
2998 echo "$as_me:2998: result: $ac_cv_type_u_char" >&5
2999 echo "${ECHO_T}$ac_cv_type_u_char" >&6
3000 if test $ac_cv_type_u_char = yes; then
3002 cat >>confdefs.h
<<EOF
3003 #define HAVE_U_CHAR 1
3007 echo "$as_me:3007: checking for u_short" >&5
3008 echo $ECHO_N "checking for u_short... $ECHO_C" >&6
3009 if test "${ac_cv_type_u_short+set}" = set; then
3010 echo $ECHO_N "(cached) $ECHO_C" >&6
3012 cat >conftest.
$ac_ext <<_ACEOF
3013 #line 3013 "configure"
3014 #include "confdefs.h"
3015 $ac_includes_default
3021 if (sizeof (u_short))
3027 rm -f conftest.
$ac_objext
3028 if { (eval echo "$as_me:3028: \"$ac_compile\"") >&5
3029 (eval $ac_compile) 2>&5
3031 echo "$as_me:3031: \$? = $ac_status" >&5
3032 (exit $ac_status); } &&
3033 { ac_try
='test -s conftest.$ac_objext'
3034 { (eval echo "$as_me:3034: \"$ac_try\"") >&5
3037 echo "$as_me:3037: \$? = $ac_status" >&5
3038 (exit $ac_status); }; }; then
3039 ac_cv_type_u_short
=yes
3041 echo "$as_me: failed program was:" >&5
3042 cat conftest.
$ac_ext >&5
3043 ac_cv_type_u_short
=no
3045 rm -f conftest.
$ac_objext conftest.
$ac_ext
3047 echo "$as_me:3047: result: $ac_cv_type_u_short" >&5
3048 echo "${ECHO_T}$ac_cv_type_u_short" >&6
3049 if test $ac_cv_type_u_short = yes; then
3051 cat >>confdefs.h
<<EOF
3052 #define HAVE_U_SHORT 1
3056 echo "$as_me:3056: checking for u_int" >&5
3057 echo $ECHO_N "checking for u_int... $ECHO_C" >&6
3058 if test "${ac_cv_type_u_int+set}" = set; then
3059 echo $ECHO_N "(cached) $ECHO_C" >&6
3061 cat >conftest.
$ac_ext <<_ACEOF
3062 #line 3062 "configure"
3063 #include "confdefs.h"
3064 $ac_includes_default
3076 rm -f conftest.
$ac_objext
3077 if { (eval echo "$as_me:3077: \"$ac_compile\"") >&5
3078 (eval $ac_compile) 2>&5
3080 echo "$as_me:3080: \$? = $ac_status" >&5
3081 (exit $ac_status); } &&
3082 { ac_try
='test -s conftest.$ac_objext'
3083 { (eval echo "$as_me:3083: \"$ac_try\"") >&5
3086 echo "$as_me:3086: \$? = $ac_status" >&5
3087 (exit $ac_status); }; }; then
3088 ac_cv_type_u_int
=yes
3090 echo "$as_me: failed program was:" >&5
3091 cat conftest.
$ac_ext >&5
3094 rm -f conftest.
$ac_objext conftest.
$ac_ext
3096 echo "$as_me:3096: result: $ac_cv_type_u_int" >&5
3097 echo "${ECHO_T}$ac_cv_type_u_int" >&6
3098 if test $ac_cv_type_u_int = yes; then
3100 cat >>confdefs.h
<<EOF
3101 #define HAVE_U_INT 1
3105 echo "$as_me:3105: checking for u_quad_t" >&5
3106 echo $ECHO_N "checking for u_quad_t... $ECHO_C" >&6
3107 if test "${ac_cv_type_u_quad_t+set}" = set; then
3108 echo $ECHO_N "(cached) $ECHO_C" >&6
3110 cat >conftest.
$ac_ext <<_ACEOF
3111 #line 3111 "configure"
3112 #include "confdefs.h"
3113 $ac_includes_default
3119 if (sizeof (u_quad_t))
3125 rm -f conftest.
$ac_objext
3126 if { (eval echo "$as_me:3126: \"$ac_compile\"") >&5
3127 (eval $ac_compile) 2>&5
3129 echo "$as_me:3129: \$? = $ac_status" >&5
3130 (exit $ac_status); } &&
3131 { ac_try
='test -s conftest.$ac_objext'
3132 { (eval echo "$as_me:3132: \"$ac_try\"") >&5
3135 echo "$as_me:3135: \$? = $ac_status" >&5
3136 (exit $ac_status); }; }; then
3137 ac_cv_type_u_quad_t
=yes
3139 echo "$as_me: failed program was:" >&5
3140 cat conftest.
$ac_ext >&5
3141 ac_cv_type_u_quad_t
=no
3143 rm -f conftest.
$ac_objext conftest.
$ac_ext
3145 echo "$as_me:3145: result: $ac_cv_type_u_quad_t" >&5
3146 echo "${ECHO_T}$ac_cv_type_u_quad_t" >&6
3147 if test $ac_cv_type_u_quad_t = yes; then
3149 cat >>confdefs.h
<<EOF
3150 #define HAVE_U_QUAD_T 1
3155 echo "$as_me:3155: checking for socklen_t" >&5
3156 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
3157 if test "${ac_cv_type_socklen_t+set}" = set; then
3158 echo $ECHO_N "(cached) $ECHO_C" >&6
3160 cat >conftest.
$ac_ext <<_ACEOF
3161 #line 3161 "configure"
3162 #include "confdefs.h"
3163 #include <sys/types.h>
3164 #include <sys/socket.h>
3169 if ((socklen_t *) 0)
3171 if (sizeof (socklen_t))
3177 rm -f conftest.
$ac_objext
3178 if { (eval echo "$as_me:3178: \"$ac_compile\"") >&5
3179 (eval $ac_compile) 2>&5
3181 echo "$as_me:3181: \$? = $ac_status" >&5
3182 (exit $ac_status); } &&
3183 { ac_try
='test -s conftest.$ac_objext'
3184 { (eval echo "$as_me:3184: \"$ac_try\"") >&5
3187 echo "$as_me:3187: \$? = $ac_status" >&5
3188 (exit $ac_status); }; }; then
3189 ac_cv_type_socklen_t
=yes
3191 echo "$as_me: failed program was:" >&5
3192 cat conftest.
$ac_ext >&5
3193 ac_cv_type_socklen_t
=no
3195 rm -f conftest.
$ac_objext conftest.
$ac_ext
3197 echo "$as_me:3197: result: $ac_cv_type_socklen_t" >&5
3198 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
3199 if test $ac_cv_type_socklen_t = yes; then
3201 cat >>confdefs.h
<<\EOF
3202 #define HAVE_SOCKLEN_T 1
3207 echo "$as_me:3207: checking for uint8_t" >&5
3208 echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6
3209 if test "${ac_cv_type_uint8_t+set}" = set; then
3210 echo $ECHO_N "(cached) $ECHO_C" >&6
3212 cat >conftest.
$ac_ext <<_ACEOF
3213 #line 3213 "configure"
3214 #include "confdefs.h"
3215 $ac_includes_default
3221 if (sizeof (uint8_t))
3227 rm -f conftest.
$ac_objext
3228 if { (eval echo "$as_me:3228: \"$ac_compile\"") >&5
3229 (eval $ac_compile) 2>&5
3231 echo "$as_me:3231: \$? = $ac_status" >&5
3232 (exit $ac_status); } &&
3233 { ac_try
='test -s conftest.$ac_objext'
3234 { (eval echo "$as_me:3234: \"$ac_try\"") >&5
3237 echo "$as_me:3237: \$? = $ac_status" >&5
3238 (exit $ac_status); }; }; then
3239 ac_cv_type_uint8_t
=yes
3241 echo "$as_me: failed program was:" >&5
3242 cat conftest.
$ac_ext >&5
3243 ac_cv_type_uint8_t
=no
3245 rm -f conftest.
$ac_objext conftest.
$ac_ext
3247 echo "$as_me:3247: result: $ac_cv_type_uint8_t" >&5
3248 echo "${ECHO_T}$ac_cv_type_uint8_t" >&6
3249 if test $ac_cv_type_uint8_t = yes; then
3253 echo "$as_me:3253: checking for u_int8_t" >&5
3254 echo $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
3255 if test "${ac_cv_type_u_int8_t+set}" = set; then
3256 echo $ECHO_N "(cached) $ECHO_C" >&6
3258 cat >conftest.
$ac_ext <<_ACEOF
3259 #line 3259 "configure"
3260 #include "confdefs.h"
3261 $ac_includes_default
3267 if (sizeof (u_int8_t))
3273 rm -f conftest.
$ac_objext
3274 if { (eval echo "$as_me:3274: \"$ac_compile\"") >&5
3275 (eval $ac_compile) 2>&5
3277 echo "$as_me:3277: \$? = $ac_status" >&5
3278 (exit $ac_status); } &&
3279 { ac_try
='test -s conftest.$ac_objext'
3280 { (eval echo "$as_me:3280: \"$ac_try\"") >&5
3283 echo "$as_me:3283: \$? = $ac_status" >&5
3284 (exit $ac_status); }; }; then
3285 ac_cv_type_u_int8_t
=yes
3287 echo "$as_me: failed program was:" >&5
3288 cat conftest.
$ac_ext >&5
3289 ac_cv_type_u_int8_t
=no
3291 rm -f conftest.
$ac_objext conftest.
$ac_ext
3293 echo "$as_me:3293: result: $ac_cv_type_u_int8_t" >&5
3294 echo "${ECHO_T}$ac_cv_type_u_int8_t" >&6
3295 if test $ac_cv_type_u_int8_t = yes; then
3297 cat >>confdefs.h
<<\EOF
3298 #define uint8_t u_int8_t
3302 { { echo "$as_me:3302: error: cannot find a suitable type for uint8_t" >&5
3303 echo "$as_me: error: cannot find a suitable type for uint8_t" >&2;}
3304 { (exit 1); exit 1; }; }
3309 echo "$as_me:3309: checking for u_int8_t" >&5
3310 echo $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
3311 if test "${ac_cv_type_u_int8_t+set}" = set; then
3312 echo $ECHO_N "(cached) $ECHO_C" >&6
3314 cat >conftest.
$ac_ext <<_ACEOF
3315 #line 3315 "configure"
3316 #include "confdefs.h"
3317 $ac_includes_default
3323 if (sizeof (u_int8_t))
3329 rm -f conftest.
$ac_objext
3330 if { (eval echo "$as_me:3330: \"$ac_compile\"") >&5
3331 (eval $ac_compile) 2>&5
3333 echo "$as_me:3333: \$? = $ac_status" >&5
3334 (exit $ac_status); } &&
3335 { ac_try
='test -s conftest.$ac_objext'
3336 { (eval echo "$as_me:3336: \"$ac_try\"") >&5
3339 echo "$as_me:3339: \$? = $ac_status" >&5
3340 (exit $ac_status); }; }; then
3341 ac_cv_type_u_int8_t
=yes
3343 echo "$as_me: failed program was:" >&5
3344 cat conftest.
$ac_ext >&5
3345 ac_cv_type_u_int8_t
=no
3347 rm -f conftest.
$ac_objext conftest.
$ac_ext
3349 echo "$as_me:3349: result: $ac_cv_type_u_int8_t" >&5
3350 echo "${ECHO_T}$ac_cv_type_u_int8_t" >&6
3351 if test $ac_cv_type_u_int8_t = yes; then
3355 echo "$as_me:3355: checking for uint8_t" >&5
3356 echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6
3357 if test "${ac_cv_type_uint8_t+set}" = set; then
3358 echo $ECHO_N "(cached) $ECHO_C" >&6
3360 cat >conftest.
$ac_ext <<_ACEOF
3361 #line 3361 "configure"
3362 #include "confdefs.h"
3363 $ac_includes_default
3369 if (sizeof (uint8_t))
3375 rm -f conftest.
$ac_objext
3376 if { (eval echo "$as_me:3376: \"$ac_compile\"") >&5
3377 (eval $ac_compile) 2>&5
3379 echo "$as_me:3379: \$? = $ac_status" >&5
3380 (exit $ac_status); } &&
3381 { ac_try
='test -s conftest.$ac_objext'
3382 { (eval echo "$as_me:3382: \"$ac_try\"") >&5
3385 echo "$as_me:3385: \$? = $ac_status" >&5
3386 (exit $ac_status); }; }; then
3387 ac_cv_type_uint8_t
=yes
3389 echo "$as_me: failed program was:" >&5
3390 cat conftest.
$ac_ext >&5
3391 ac_cv_type_uint8_t
=no
3393 rm -f conftest.
$ac_objext conftest.
$ac_ext
3395 echo "$as_me:3395: result: $ac_cv_type_uint8_t" >&5
3396 echo "${ECHO_T}$ac_cv_type_uint8_t" >&6
3397 if test $ac_cv_type_uint8_t = yes; then
3399 cat >>confdefs.h
<<\EOF
3400 #define u_int8_t uint8_t
3404 { { echo "$as_me:3404: error: cannot find a suitable type for u_int8_t" >&5
3405 echo "$as_me: error: cannot find a suitable type for u_int8_t" >&2;}
3406 { (exit 1); exit 1; }; }
3411 echo "$as_me:3411: checking for uint16_t" >&5
3412 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6
3413 if test "${ac_cv_type_uint16_t+set}" = set; then
3414 echo $ECHO_N "(cached) $ECHO_C" >&6
3416 cat >conftest.
$ac_ext <<_ACEOF
3417 #line 3417 "configure"
3418 #include "confdefs.h"
3419 $ac_includes_default
3425 if (sizeof (uint16_t))
3431 rm -f conftest.
$ac_objext
3432 if { (eval echo "$as_me:3432: \"$ac_compile\"") >&5
3433 (eval $ac_compile) 2>&5
3435 echo "$as_me:3435: \$? = $ac_status" >&5
3436 (exit $ac_status); } &&
3437 { ac_try
='test -s conftest.$ac_objext'
3438 { (eval echo "$as_me:3438: \"$ac_try\"") >&5
3441 echo "$as_me:3441: \$? = $ac_status" >&5
3442 (exit $ac_status); }; }; then
3443 ac_cv_type_uint16_t
=yes
3445 echo "$as_me: failed program was:" >&5
3446 cat conftest.
$ac_ext >&5
3447 ac_cv_type_uint16_t
=no
3449 rm -f conftest.
$ac_objext conftest.
$ac_ext
3451 echo "$as_me:3451: result: $ac_cv_type_uint16_t" >&5
3452 echo "${ECHO_T}$ac_cv_type_uint16_t" >&6
3453 if test $ac_cv_type_uint16_t = yes; then
3457 echo "$as_me:3457: checking for u_int16_t" >&5
3458 echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
3459 if test "${ac_cv_type_u_int16_t+set}" = set; then
3460 echo $ECHO_N "(cached) $ECHO_C" >&6
3462 cat >conftest.
$ac_ext <<_ACEOF
3463 #line 3463 "configure"
3464 #include "confdefs.h"
3465 $ac_includes_default
3469 if ((u_int16_t *) 0)
3471 if (sizeof (u_int16_t))
3477 rm -f conftest.
$ac_objext
3478 if { (eval echo "$as_me:3478: \"$ac_compile\"") >&5
3479 (eval $ac_compile) 2>&5
3481 echo "$as_me:3481: \$? = $ac_status" >&5
3482 (exit $ac_status); } &&
3483 { ac_try
='test -s conftest.$ac_objext'
3484 { (eval echo "$as_me:3484: \"$ac_try\"") >&5
3487 echo "$as_me:3487: \$? = $ac_status" >&5
3488 (exit $ac_status); }; }; then
3489 ac_cv_type_u_int16_t
=yes
3491 echo "$as_me: failed program was:" >&5
3492 cat conftest.
$ac_ext >&5
3493 ac_cv_type_u_int16_t
=no
3495 rm -f conftest.
$ac_objext conftest.
$ac_ext
3497 echo "$as_me:3497: result: $ac_cv_type_u_int16_t" >&5
3498 echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6
3499 if test $ac_cv_type_u_int16_t = yes; then
3501 cat >>confdefs.h
<<\EOF
3502 #define uint16_t u_int16_t
3506 { { echo "$as_me:3506: error: cannot find a suitable type for uint16_t" >&5
3507 echo "$as_me: error: cannot find a suitable type for uint16_t" >&2;}
3508 { (exit 1); exit 1; }; }
3513 echo "$as_me:3513: checking for u_int16_t" >&5
3514 echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
3515 if test "${ac_cv_type_u_int16_t+set}" = set; then
3516 echo $ECHO_N "(cached) $ECHO_C" >&6
3518 cat >conftest.
$ac_ext <<_ACEOF
3519 #line 3519 "configure"
3520 #include "confdefs.h"
3521 $ac_includes_default
3525 if ((u_int16_t *) 0)
3527 if (sizeof (u_int16_t))
3533 rm -f conftest.
$ac_objext
3534 if { (eval echo "$as_me:3534: \"$ac_compile\"") >&5
3535 (eval $ac_compile) 2>&5
3537 echo "$as_me:3537: \$? = $ac_status" >&5
3538 (exit $ac_status); } &&
3539 { ac_try
='test -s conftest.$ac_objext'
3540 { (eval echo "$as_me:3540: \"$ac_try\"") >&5
3543 echo "$as_me:3543: \$? = $ac_status" >&5
3544 (exit $ac_status); }; }; then
3545 ac_cv_type_u_int16_t
=yes
3547 echo "$as_me: failed program was:" >&5
3548 cat conftest.
$ac_ext >&5
3549 ac_cv_type_u_int16_t
=no
3551 rm -f conftest.
$ac_objext conftest.
$ac_ext
3553 echo "$as_me:3553: result: $ac_cv_type_u_int16_t" >&5
3554 echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6
3555 if test $ac_cv_type_u_int16_t = yes; then
3559 echo "$as_me:3559: checking for uint16_t" >&5
3560 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6
3561 if test "${ac_cv_type_uint16_t+set}" = set; then
3562 echo $ECHO_N "(cached) $ECHO_C" >&6
3564 cat >conftest.
$ac_ext <<_ACEOF
3565 #line 3565 "configure"
3566 #include "confdefs.h"
3567 $ac_includes_default
3573 if (sizeof (uint16_t))
3579 rm -f conftest.
$ac_objext
3580 if { (eval echo "$as_me:3580: \"$ac_compile\"") >&5
3581 (eval $ac_compile) 2>&5
3583 echo "$as_me:3583: \$? = $ac_status" >&5
3584 (exit $ac_status); } &&
3585 { ac_try
='test -s conftest.$ac_objext'
3586 { (eval echo "$as_me:3586: \"$ac_try\"") >&5
3589 echo "$as_me:3589: \$? = $ac_status" >&5
3590 (exit $ac_status); }; }; then
3591 ac_cv_type_uint16_t
=yes
3593 echo "$as_me: failed program was:" >&5
3594 cat conftest.
$ac_ext >&5
3595 ac_cv_type_uint16_t
=no
3597 rm -f conftest.
$ac_objext conftest.
$ac_ext
3599 echo "$as_me:3599: result: $ac_cv_type_uint16_t" >&5
3600 echo "${ECHO_T}$ac_cv_type_uint16_t" >&6
3601 if test $ac_cv_type_uint16_t = yes; then
3603 cat >>confdefs.h
<<\EOF
3604 #define u_int16_t uint16_t
3608 { { echo "$as_me:3608: error: cannot find a suitable type for u_int16_t" >&5
3609 echo "$as_me: error: cannot find a suitable type for u_int16_t" >&2;}
3610 { (exit 1); exit 1; }; }
3615 echo "$as_me:3615: checking for uint32_t" >&5
3616 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
3617 if test "${ac_cv_type_uint32_t+set}" = set; then
3618 echo $ECHO_N "(cached) $ECHO_C" >&6
3620 cat >conftest.
$ac_ext <<_ACEOF
3621 #line 3621 "configure"
3622 #include "confdefs.h"
3623 $ac_includes_default
3629 if (sizeof (uint32_t))
3635 rm -f conftest.
$ac_objext
3636 if { (eval echo "$as_me:3636: \"$ac_compile\"") >&5
3637 (eval $ac_compile) 2>&5
3639 echo "$as_me:3639: \$? = $ac_status" >&5
3640 (exit $ac_status); } &&
3641 { ac_try
='test -s conftest.$ac_objext'
3642 { (eval echo "$as_me:3642: \"$ac_try\"") >&5
3645 echo "$as_me:3645: \$? = $ac_status" >&5
3646 (exit $ac_status); }; }; then
3647 ac_cv_type_uint32_t
=yes
3649 echo "$as_me: failed program was:" >&5
3650 cat conftest.
$ac_ext >&5
3651 ac_cv_type_uint32_t
=no
3653 rm -f conftest.
$ac_objext conftest.
$ac_ext
3655 echo "$as_me:3655: result: $ac_cv_type_uint32_t" >&5
3656 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
3657 if test $ac_cv_type_uint32_t = yes; then
3661 echo "$as_me:3661: checking for u_int32_t" >&5
3662 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
3663 if test "${ac_cv_type_u_int32_t+set}" = set; then
3664 echo $ECHO_N "(cached) $ECHO_C" >&6
3666 cat >conftest.
$ac_ext <<_ACEOF
3667 #line 3667 "configure"
3668 #include "confdefs.h"
3669 $ac_includes_default
3673 if ((u_int32_t *) 0)
3675 if (sizeof (u_int32_t))
3681 rm -f conftest.
$ac_objext
3682 if { (eval echo "$as_me:3682: \"$ac_compile\"") >&5
3683 (eval $ac_compile) 2>&5
3685 echo "$as_me:3685: \$? = $ac_status" >&5
3686 (exit $ac_status); } &&
3687 { ac_try
='test -s conftest.$ac_objext'
3688 { (eval echo "$as_me:3688: \"$ac_try\"") >&5
3691 echo "$as_me:3691: \$? = $ac_status" >&5
3692 (exit $ac_status); }; }; then
3693 ac_cv_type_u_int32_t
=yes
3695 echo "$as_me: failed program was:" >&5
3696 cat conftest.
$ac_ext >&5
3697 ac_cv_type_u_int32_t
=no
3699 rm -f conftest.
$ac_objext conftest.
$ac_ext
3701 echo "$as_me:3701: result: $ac_cv_type_u_int32_t" >&5
3702 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
3703 if test $ac_cv_type_u_int32_t = yes; then
3705 cat >>confdefs.h
<<\EOF
3706 #define uint32_t u_int32_t
3710 { { echo "$as_me:3710: error: cannot find a suitable type for uint32_t" >&5
3711 echo "$as_me: error: cannot find a suitable type for uint32_t" >&2;}
3712 { (exit 1); exit 1; }; }
3717 echo "$as_me:3717: checking for u_int32_t" >&5
3718 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
3719 if test "${ac_cv_type_u_int32_t+set}" = set; then
3720 echo $ECHO_N "(cached) $ECHO_C" >&6
3722 cat >conftest.
$ac_ext <<_ACEOF
3723 #line 3723 "configure"
3724 #include "confdefs.h"
3725 $ac_includes_default
3729 if ((u_int32_t *) 0)
3731 if (sizeof (u_int32_t))
3737 rm -f conftest.
$ac_objext
3738 if { (eval echo "$as_me:3738: \"$ac_compile\"") >&5
3739 (eval $ac_compile) 2>&5
3741 echo "$as_me:3741: \$? = $ac_status" >&5
3742 (exit $ac_status); } &&
3743 { ac_try
='test -s conftest.$ac_objext'
3744 { (eval echo "$as_me:3744: \"$ac_try\"") >&5
3747 echo "$as_me:3747: \$? = $ac_status" >&5
3748 (exit $ac_status); }; }; then
3749 ac_cv_type_u_int32_t
=yes
3751 echo "$as_me: failed program was:" >&5
3752 cat conftest.
$ac_ext >&5
3753 ac_cv_type_u_int32_t
=no
3755 rm -f conftest.
$ac_objext conftest.
$ac_ext
3757 echo "$as_me:3757: result: $ac_cv_type_u_int32_t" >&5
3758 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
3759 if test $ac_cv_type_u_int32_t = yes; then
3763 echo "$as_me:3763: checking for uint32_t" >&5
3764 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
3765 if test "${ac_cv_type_uint32_t+set}" = set; then
3766 echo $ECHO_N "(cached) $ECHO_C" >&6
3768 cat >conftest.
$ac_ext <<_ACEOF
3769 #line 3769 "configure"
3770 #include "confdefs.h"
3771 $ac_includes_default
3777 if (sizeof (uint32_t))
3783 rm -f conftest.
$ac_objext
3784 if { (eval echo "$as_me:3784: \"$ac_compile\"") >&5
3785 (eval $ac_compile) 2>&5
3787 echo "$as_me:3787: \$? = $ac_status" >&5
3788 (exit $ac_status); } &&
3789 { ac_try
='test -s conftest.$ac_objext'
3790 { (eval echo "$as_me:3790: \"$ac_try\"") >&5
3793 echo "$as_me:3793: \$? = $ac_status" >&5
3794 (exit $ac_status); }; }; then
3795 ac_cv_type_uint32_t
=yes
3797 echo "$as_me: failed program was:" >&5
3798 cat conftest.
$ac_ext >&5
3799 ac_cv_type_uint32_t
=no
3801 rm -f conftest.
$ac_objext conftest.
$ac_ext
3803 echo "$as_me:3803: result: $ac_cv_type_uint32_t" >&5
3804 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
3805 if test $ac_cv_type_uint32_t = yes; then
3807 cat >>confdefs.h
<<\EOF
3808 #define u_int32_t uint32_t
3812 { { echo "$as_me:3812: error: cannot find a suitable type for u_int32_t" >&5
3813 echo "$as_me: error: cannot find a suitable type for u_int32_t" >&2;}
3814 { (exit 1); exit 1; }; }
3819 echo "$as_me:3819: checking for uint64_t" >&5
3820 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
3821 if test "${ac_cv_type_uint64_t+set}" = set; then
3822 echo $ECHO_N "(cached) $ECHO_C" >&6
3824 cat >conftest.
$ac_ext <<_ACEOF
3825 #line 3825 "configure"
3826 #include "confdefs.h"
3827 $ac_includes_default
3833 if (sizeof (uint64_t))
3839 rm -f conftest.
$ac_objext
3840 if { (eval echo "$as_me:3840: \"$ac_compile\"") >&5
3841 (eval $ac_compile) 2>&5
3843 echo "$as_me:3843: \$? = $ac_status" >&5
3844 (exit $ac_status); } &&
3845 { ac_try
='test -s conftest.$ac_objext'
3846 { (eval echo "$as_me:3846: \"$ac_try\"") >&5
3849 echo "$as_me:3849: \$? = $ac_status" >&5
3850 (exit $ac_status); }; }; then
3851 ac_cv_type_uint64_t
=yes
3853 echo "$as_me: failed program was:" >&5
3854 cat conftest.
$ac_ext >&5
3855 ac_cv_type_uint64_t
=no
3857 rm -f conftest.
$ac_objext conftest.
$ac_ext
3859 echo "$as_me:3859: result: $ac_cv_type_uint64_t" >&5
3860 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
3861 if test $ac_cv_type_uint64_t = yes; then
3865 echo "$as_me:3865: checking for u_int64_t" >&5
3866 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
3867 if test "${ac_cv_type_u_int64_t+set}" = set; then
3868 echo $ECHO_N "(cached) $ECHO_C" >&6
3870 cat >conftest.
$ac_ext <<_ACEOF
3871 #line 3871 "configure"
3872 #include "confdefs.h"
3873 $ac_includes_default
3877 if ((u_int64_t *) 0)
3879 if (sizeof (u_int64_t))
3885 rm -f conftest.
$ac_objext
3886 if { (eval echo "$as_me:3886: \"$ac_compile\"") >&5
3887 (eval $ac_compile) 2>&5
3889 echo "$as_me:3889: \$? = $ac_status" >&5
3890 (exit $ac_status); } &&
3891 { ac_try
='test -s conftest.$ac_objext'
3892 { (eval echo "$as_me:3892: \"$ac_try\"") >&5
3895 echo "$as_me:3895: \$? = $ac_status" >&5
3896 (exit $ac_status); }; }; then
3897 ac_cv_type_u_int64_t
=yes
3899 echo "$as_me: failed program was:" >&5
3900 cat conftest.
$ac_ext >&5
3901 ac_cv_type_u_int64_t
=no
3903 rm -f conftest.
$ac_objext conftest.
$ac_ext
3905 echo "$as_me:3905: result: $ac_cv_type_u_int64_t" >&5
3906 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
3907 if test $ac_cv_type_u_int64_t = yes; then
3909 cat >>confdefs.h
<<\EOF
3910 #define uint64_t u_int64_t
3914 { { echo "$as_me:3914: error: cannot find a suitable type for uint64_t" >&5
3915 echo "$as_me: error: cannot find a suitable type for uint64_t" >&2;}
3916 { (exit 1); exit 1; }; }
3921 echo "$as_me:3921: checking for u_int64_t" >&5
3922 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
3923 if test "${ac_cv_type_u_int64_t+set}" = set; then
3924 echo $ECHO_N "(cached) $ECHO_C" >&6
3926 cat >conftest.
$ac_ext <<_ACEOF
3927 #line 3927 "configure"
3928 #include "confdefs.h"
3929 $ac_includes_default
3933 if ((u_int64_t *) 0)
3935 if (sizeof (u_int64_t))
3941 rm -f conftest.
$ac_objext
3942 if { (eval echo "$as_me:3942: \"$ac_compile\"") >&5
3943 (eval $ac_compile) 2>&5
3945 echo "$as_me:3945: \$? = $ac_status" >&5
3946 (exit $ac_status); } &&
3947 { ac_try
='test -s conftest.$ac_objext'
3948 { (eval echo "$as_me:3948: \"$ac_try\"") >&5
3951 echo "$as_me:3951: \$? = $ac_status" >&5
3952 (exit $ac_status); }; }; then
3953 ac_cv_type_u_int64_t
=yes
3955 echo "$as_me: failed program was:" >&5
3956 cat conftest.
$ac_ext >&5
3957 ac_cv_type_u_int64_t
=no
3959 rm -f conftest.
$ac_objext conftest.
$ac_ext
3961 echo "$as_me:3961: result: $ac_cv_type_u_int64_t" >&5
3962 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
3963 if test $ac_cv_type_u_int64_t = yes; then
3967 echo "$as_me:3967: checking for uint64_t" >&5
3968 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
3969 if test "${ac_cv_type_uint64_t+set}" = set; then
3970 echo $ECHO_N "(cached) $ECHO_C" >&6
3972 cat >conftest.
$ac_ext <<_ACEOF
3973 #line 3973 "configure"
3974 #include "confdefs.h"
3975 $ac_includes_default
3981 if (sizeof (uint64_t))
3987 rm -f conftest.
$ac_objext
3988 if { (eval echo "$as_me:3988: \"$ac_compile\"") >&5
3989 (eval $ac_compile) 2>&5
3991 echo "$as_me:3991: \$? = $ac_status" >&5
3992 (exit $ac_status); } &&
3993 { ac_try
='test -s conftest.$ac_objext'
3994 { (eval echo "$as_me:3994: \"$ac_try\"") >&5
3997 echo "$as_me:3997: \$? = $ac_status" >&5
3998 (exit $ac_status); }; }; then
3999 ac_cv_type_uint64_t
=yes
4001 echo "$as_me: failed program was:" >&5
4002 cat conftest.
$ac_ext >&5
4003 ac_cv_type_uint64_t
=no
4005 rm -f conftest.
$ac_objext conftest.
$ac_ext
4007 echo "$as_me:4007: result: $ac_cv_type_uint64_t" >&5
4008 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
4009 if test $ac_cv_type_uint64_t = yes; then
4011 cat >>confdefs.h
<<\EOF
4012 #define u_int64_t uint64_t
4016 { { echo "$as_me:4016: error: cannot find a suitable type for u_int64_t" >&5
4017 echo "$as_me: error: cannot find a suitable type for u_int64_t" >&2;}
4018 { (exit 1); exit 1; }; }
4024 echo "$as_me:4024: checking for DIR.dd_fd" >&5
4025 echo $ECHO_N "checking for DIR.dd_fd... $ECHO_C" >&6
4026 if test "${ac_cv_member_DIR_dd_fd+set}" = set; then
4027 echo $ECHO_N "(cached) $ECHO_C" >&6
4029 cat >conftest.
$ac_ext <<_ACEOF
4030 #line 4030 "configure"
4031 #include "confdefs.h"
4032 #include <sys/types.h>
4045 rm -f conftest.
$ac_objext
4046 if { (eval echo "$as_me:4046: \"$ac_compile\"") >&5
4047 (eval $ac_compile) 2>&5
4049 echo "$as_me:4049: \$? = $ac_status" >&5
4050 (exit $ac_status); } &&
4051 { ac_try
='test -s conftest.$ac_objext'
4052 { (eval echo "$as_me:4052: \"$ac_try\"") >&5
4055 echo "$as_me:4055: \$? = $ac_status" >&5
4056 (exit $ac_status); }; }; then
4057 ac_cv_member_DIR_dd_fd
=yes
4059 echo "$as_me: failed program was:" >&5
4060 cat conftest.
$ac_ext >&5
4061 ac_cv_member_DIR_dd_fd
=no
4063 rm -f conftest.
$ac_objext conftest.
$ac_ext
4065 echo "$as_me:4065: result: $ac_cv_member_DIR_dd_fd" >&5
4066 echo "${ECHO_T}$ac_cv_member_DIR_dd_fd" >&6
4067 if test $ac_cv_member_DIR_dd_fd = yes; then
4069 cat >>confdefs.h
<<EOF
4070 #define HAVE_DIR_DD_FD 1
4074 echo "$as_me:4074: checking for DIR.__dd_fd" >&5
4075 echo $ECHO_N "checking for DIR.__dd_fd... $ECHO_C" >&6
4076 if test "${ac_cv_member_DIR___dd_fd+set}" = set; then
4077 echo $ECHO_N "(cached) $ECHO_C" >&6
4079 cat >conftest.
$ac_ext <<_ACEOF
4080 #line 4080 "configure"
4081 #include "confdefs.h"
4082 #include <sys/types.h>
4089 if (ac_aggr.__dd_fd)
4095 rm -f conftest.
$ac_objext
4096 if { (eval echo "$as_me:4096: \"$ac_compile\"") >&5
4097 (eval $ac_compile) 2>&5
4099 echo "$as_me:4099: \$? = $ac_status" >&5
4100 (exit $ac_status); } &&
4101 { ac_try
='test -s conftest.$ac_objext'
4102 { (eval echo "$as_me:4102: \"$ac_try\"") >&5
4105 echo "$as_me:4105: \$? = $ac_status" >&5
4106 (exit $ac_status); }; }; then
4107 ac_cv_member_DIR___dd_fd
=yes
4109 echo "$as_me: failed program was:" >&5
4110 cat conftest.
$ac_ext >&5
4111 ac_cv_member_DIR___dd_fd
=no
4113 rm -f conftest.
$ac_objext conftest.
$ac_ext
4115 echo "$as_me:4115: result: $ac_cv_member_DIR___dd_fd" >&5
4116 echo "${ECHO_T}$ac_cv_member_DIR___dd_fd" >&6
4117 if test $ac_cv_member_DIR___dd_fd = yes; then
4119 cat >>confdefs.h
<<EOF
4120 #define HAVE_DIR___DD_FD 1
4124 echo "$as_me:4124: checking for struct dirent.d_namlen" >&5
4125 echo $ECHO_N "checking for struct dirent.d_namlen... $ECHO_C" >&6
4126 if test "${ac_cv_member_struct_dirent_d_namlen+set}" = set; then
4127 echo $ECHO_N "(cached) $ECHO_C" >&6
4129 cat >conftest.
$ac_ext <<_ACEOF
4130 #line 4130 "configure"
4131 #include "confdefs.h"
4132 #include <sys/types.h>
4138 static struct dirent ac_aggr;
4139 if (ac_aggr.d_namlen)
4145 rm -f conftest.
$ac_objext
4146 if { (eval echo "$as_me:4146: \"$ac_compile\"") >&5
4147 (eval $ac_compile) 2>&5
4149 echo "$as_me:4149: \$? = $ac_status" >&5
4150 (exit $ac_status); } &&
4151 { ac_try
='test -s conftest.$ac_objext'
4152 { (eval echo "$as_me:4152: \"$ac_try\"") >&5
4155 echo "$as_me:4155: \$? = $ac_status" >&5
4156 (exit $ac_status); }; }; then
4157 ac_cv_member_struct_dirent_d_namlen
=yes
4159 echo "$as_me: failed program was:" >&5
4160 cat conftest.
$ac_ext >&5
4161 ac_cv_member_struct_dirent_d_namlen
=no
4163 rm -f conftest.
$ac_objext conftest.
$ac_ext
4165 echo "$as_me:4165: result: $ac_cv_member_struct_dirent_d_namlen" >&5
4166 echo "${ECHO_T}$ac_cv_member_struct_dirent_d_namlen" >&6
4167 if test $ac_cv_member_struct_dirent_d_namlen = yes; then
4169 cat >>confdefs.h
<<EOF
4170 #define HAVE_STRUCT_DIRENT_D_NAMLEN 1
4175 echo "$as_me:4175: checking for struct stat.st_flags" >&5
4176 echo $ECHO_N "checking for struct stat.st_flags... $ECHO_C" >&6
4177 if test "${ac_cv_member_struct_stat_st_flags+set}" = set; then
4178 echo $ECHO_N "(cached) $ECHO_C" >&6
4180 cat >conftest.
$ac_ext <<_ACEOF
4181 #line 4181 "configure"
4182 #include "confdefs.h"
4183 #include <sys/stat.h>
4188 static struct stat ac_aggr;
4189 if (ac_aggr.st_flags)
4195 rm -f conftest.
$ac_objext
4196 if { (eval echo "$as_me:4196: \"$ac_compile\"") >&5
4197 (eval $ac_compile) 2>&5
4199 echo "$as_me:4199: \$? = $ac_status" >&5
4200 (exit $ac_status); } &&
4201 { ac_try
='test -s conftest.$ac_objext'
4202 { (eval echo "$as_me:4202: \"$ac_try\"") >&5
4205 echo "$as_me:4205: \$? = $ac_status" >&5
4206 (exit $ac_status); }; }; then
4207 ac_cv_member_struct_stat_st_flags
=yes
4209 echo "$as_me: failed program was:" >&5
4210 cat conftest.
$ac_ext >&5
4211 ac_cv_member_struct_stat_st_flags
=no
4213 rm -f conftest.
$ac_objext conftest.
$ac_ext
4215 echo "$as_me:4215: result: $ac_cv_member_struct_stat_st_flags" >&5
4216 echo "${ECHO_T}$ac_cv_member_struct_stat_st_flags" >&6
4217 if test $ac_cv_member_struct_stat_st_flags = yes; then
4219 cat >>confdefs.h
<<EOF
4220 #define HAVE_STRUCT_STAT_ST_FLAGS 1
4224 echo "$as_me:4224: checking for struct stat.st_gen" >&5
4225 echo $ECHO_N "checking for struct stat.st_gen... $ECHO_C" >&6
4226 if test "${ac_cv_member_struct_stat_st_gen+set}" = set; then
4227 echo $ECHO_N "(cached) $ECHO_C" >&6
4229 cat >conftest.
$ac_ext <<_ACEOF
4230 #line 4230 "configure"
4231 #include "confdefs.h"
4232 #include <sys/stat.h>
4237 static struct stat ac_aggr;
4244 rm -f conftest.
$ac_objext
4245 if { (eval echo "$as_me:4245: \"$ac_compile\"") >&5
4246 (eval $ac_compile) 2>&5
4248 echo "$as_me:4248: \$? = $ac_status" >&5
4249 (exit $ac_status); } &&
4250 { ac_try
='test -s conftest.$ac_objext'
4251 { (eval echo "$as_me:4251: \"$ac_try\"") >&5
4254 echo "$as_me:4254: \$? = $ac_status" >&5
4255 (exit $ac_status); }; }; then
4256 ac_cv_member_struct_stat_st_gen
=yes
4258 echo "$as_me: failed program was:" >&5
4259 cat conftest.
$ac_ext >&5
4260 ac_cv_member_struct_stat_st_gen
=no
4262 rm -f conftest.
$ac_objext conftest.
$ac_ext
4264 echo "$as_me:4264: result: $ac_cv_member_struct_stat_st_gen" >&5
4265 echo "${ECHO_T}$ac_cv_member_struct_stat_st_gen" >&6
4266 if test $ac_cv_member_struct_stat_st_gen = yes; then
4268 cat >>confdefs.h
<<EOF
4269 #define HAVE_STRUCT_STAT_ST_GEN 1
4273 echo "$as_me:4273: checking for struct stat.st_birthtime" >&5
4274 echo $ECHO_N "checking for struct stat.st_birthtime... $ECHO_C" >&6
4275 if test "${ac_cv_member_struct_stat_st_birthtime+set}" = set; then
4276 echo $ECHO_N "(cached) $ECHO_C" >&6
4278 cat >conftest.
$ac_ext <<_ACEOF
4279 #line 4279 "configure"
4280 #include "confdefs.h"
4281 #include <sys/stat.h>
4286 static struct stat ac_aggr;
4287 if (ac_aggr.st_birthtime)
4293 rm -f conftest.
$ac_objext
4294 if { (eval echo "$as_me:4294: \"$ac_compile\"") >&5
4295 (eval $ac_compile) 2>&5
4297 echo "$as_me:4297: \$? = $ac_status" >&5
4298 (exit $ac_status); } &&
4299 { ac_try
='test -s conftest.$ac_objext'
4300 { (eval echo "$as_me:4300: \"$ac_try\"") >&5
4303 echo "$as_me:4303: \$? = $ac_status" >&5
4304 (exit $ac_status); }; }; then
4305 ac_cv_member_struct_stat_st_birthtime
=yes
4307 echo "$as_me: failed program was:" >&5
4308 cat conftest.
$ac_ext >&5
4309 ac_cv_member_struct_stat_st_birthtime
=no
4311 rm -f conftest.
$ac_objext conftest.
$ac_ext
4313 echo "$as_me:4313: result: $ac_cv_member_struct_stat_st_birthtime" >&5
4314 echo "${ECHO_T}$ac_cv_member_struct_stat_st_birthtime" >&6
4315 if test $ac_cv_member_struct_stat_st_birthtime = yes; then
4317 cat >>confdefs.h
<<EOF
4318 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
4322 echo "$as_me:4322: checking for struct stat.st_birthtimensec" >&5
4323 echo $ECHO_N "checking for struct stat.st_birthtimensec... $ECHO_C" >&6
4324 if test "${ac_cv_member_struct_stat_st_birthtimensec+set}" = set; then
4325 echo $ECHO_N "(cached) $ECHO_C" >&6
4327 cat >conftest.
$ac_ext <<_ACEOF
4328 #line 4328 "configure"
4329 #include "confdefs.h"
4330 #include <sys/stat.h>
4335 static struct stat ac_aggr;
4336 if (ac_aggr.st_birthtimensec)
4342 rm -f conftest.
$ac_objext
4343 if { (eval echo "$as_me:4343: \"$ac_compile\"") >&5
4344 (eval $ac_compile) 2>&5
4346 echo "$as_me:4346: \$? = $ac_status" >&5
4347 (exit $ac_status); } &&
4348 { ac_try
='test -s conftest.$ac_objext'
4349 { (eval echo "$as_me:4349: \"$ac_try\"") >&5
4352 echo "$as_me:4352: \$? = $ac_status" >&5
4353 (exit $ac_status); }; }; then
4354 ac_cv_member_struct_stat_st_birthtimensec
=yes
4356 echo "$as_me: failed program was:" >&5
4357 cat conftest.
$ac_ext >&5
4358 ac_cv_member_struct_stat_st_birthtimensec
=no
4360 rm -f conftest.
$ac_objext conftest.
$ac_ext
4362 echo "$as_me:4362: result: $ac_cv_member_struct_stat_st_birthtimensec" >&5
4363 echo "${ECHO_T}$ac_cv_member_struct_stat_st_birthtimensec" >&6
4364 if test $ac_cv_member_struct_stat_st_birthtimensec = yes; then
4366 cat >>confdefs.h
<<EOF
4367 #define HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC 1
4371 echo "$as_me:4371: checking for struct stat.st_atim" >&5
4372 echo $ECHO_N "checking for struct stat.st_atim... $ECHO_C" >&6
4373 if test "${ac_cv_member_struct_stat_st_atim+set}" = set; then
4374 echo $ECHO_N "(cached) $ECHO_C" >&6
4376 cat >conftest.
$ac_ext <<_ACEOF
4377 #line 4377 "configure"
4378 #include "confdefs.h"
4379 #include <sys/stat.h>
4384 static struct stat ac_aggr;
4385 if (ac_aggr.st_atim)
4391 rm -f conftest.
$ac_objext
4392 if { (eval echo "$as_me:4392: \"$ac_compile\"") >&5
4393 (eval $ac_compile) 2>&5
4395 echo "$as_me:4395: \$? = $ac_status" >&5
4396 (exit $ac_status); } &&
4397 { ac_try
='test -s conftest.$ac_objext'
4398 { (eval echo "$as_me:4398: \"$ac_try\"") >&5
4401 echo "$as_me:4401: \$? = $ac_status" >&5
4402 (exit $ac_status); }; }; then
4403 ac_cv_member_struct_stat_st_atim
=yes
4405 echo "$as_me: failed program was:" >&5
4406 cat conftest.
$ac_ext >&5
4407 ac_cv_member_struct_stat_st_atim
=no
4409 rm -f conftest.
$ac_objext conftest.
$ac_ext
4411 echo "$as_me:4411: result: $ac_cv_member_struct_stat_st_atim" >&5
4412 echo "${ECHO_T}$ac_cv_member_struct_stat_st_atim" >&6
4413 if test $ac_cv_member_struct_stat_st_atim = yes; then
4415 cat >>confdefs.h
<<EOF
4416 #define HAVE_STRUCT_STAT_ST_ATIM 1
4420 echo "$as_me:4420: checking for struct stat.st_mtimensec" >&5
4421 echo $ECHO_N "checking for struct stat.st_mtimensec... $ECHO_C" >&6
4422 if test "${ac_cv_member_struct_stat_st_mtimensec+set}" = set; then
4423 echo $ECHO_N "(cached) $ECHO_C" >&6
4425 cat >conftest.
$ac_ext <<_ACEOF
4426 #line 4426 "configure"
4427 #include "confdefs.h"
4428 #include <sys/stat.h>
4433 static struct stat ac_aggr;
4434 if (ac_aggr.st_mtimensec)
4440 rm -f conftest.
$ac_objext
4441 if { (eval echo "$as_me:4441: \"$ac_compile\"") >&5
4442 (eval $ac_compile) 2>&5
4444 echo "$as_me:4444: \$? = $ac_status" >&5
4445 (exit $ac_status); } &&
4446 { ac_try
='test -s conftest.$ac_objext'
4447 { (eval echo "$as_me:4447: \"$ac_try\"") >&5
4450 echo "$as_me:4450: \$? = $ac_status" >&5
4451 (exit $ac_status); }; }; then
4452 ac_cv_member_struct_stat_st_mtimensec
=yes
4454 echo "$as_me: failed program was:" >&5
4455 cat conftest.
$ac_ext >&5
4456 ac_cv_member_struct_stat_st_mtimensec
=no
4458 rm -f conftest.
$ac_objext conftest.
$ac_ext
4460 echo "$as_me:4460: result: $ac_cv_member_struct_stat_st_mtimensec" >&5
4461 echo "${ECHO_T}$ac_cv_member_struct_stat_st_mtimensec" >&6
4462 if test $ac_cv_member_struct_stat_st_mtimensec = yes; then
4464 cat >>confdefs.h
<<EOF
4465 #define HAVE_STRUCT_STAT_ST_MTIMENSEC 1
4470 echo "$as_me:4470: checking for struct statvfs.f_iosize" >&5
4471 echo $ECHO_N "checking for struct statvfs.f_iosize... $ECHO_C" >&6
4472 if test "${ac_cv_member_struct_statvfs_f_iosize+set}" = set; then
4473 echo $ECHO_N "(cached) $ECHO_C" >&6
4475 cat >conftest.
$ac_ext <<_ACEOF
4476 #line 4476 "configure"
4477 #include "confdefs.h"
4478 #include <sys/statvfs.h>
4483 static struct statvfs ac_aggr;
4484 if (ac_aggr.f_iosize)
4490 rm -f conftest.
$ac_objext
4491 if { (eval echo "$as_me:4491: \"$ac_compile\"") >&5
4492 (eval $ac_compile) 2>&5
4494 echo "$as_me:4494: \$? = $ac_status" >&5
4495 (exit $ac_status); } &&
4496 { ac_try
='test -s conftest.$ac_objext'
4497 { (eval echo "$as_me:4497: \"$ac_try\"") >&5
4500 echo "$as_me:4500: \$? = $ac_status" >&5
4501 (exit $ac_status); }; }; then
4502 ac_cv_member_struct_statvfs_f_iosize
=yes
4504 echo "$as_me: failed program was:" >&5
4505 cat conftest.
$ac_ext >&5
4506 ac_cv_member_struct_statvfs_f_iosize
=no
4508 rm -f conftest.
$ac_objext conftest.
$ac_ext
4510 echo "$as_me:4510: result: $ac_cv_member_struct_statvfs_f_iosize" >&5
4511 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_iosize" >&6
4512 if test $ac_cv_member_struct_statvfs_f_iosize = yes; then
4514 cat >>confdefs.h
<<EOF
4515 #define HAVE_STRUCT_STATVFS_F_IOSIZE 1
4520 # Global variable decls.
4521 echo "$as_me:4521: checking whether optind is declared" >&5
4522 echo $ECHO_N "checking whether optind is declared... $ECHO_C" >&6
4523 if test "${ac_cv_have_decl_optind+set}" = set; then
4524 echo $ECHO_N "(cached) $ECHO_C" >&6
4526 cat >conftest.
$ac_ext <<_ACEOF
4527 #line 4527 "configure"
4528 #include "confdefs.h"
4538 char *p = (char *) optind;
4545 rm -f conftest.
$ac_objext
4546 if { (eval echo "$as_me:4546: \"$ac_compile\"") >&5
4547 (eval $ac_compile) 2>&5
4549 echo "$as_me:4549: \$? = $ac_status" >&5
4550 (exit $ac_status); } &&
4551 { ac_try
='test -s conftest.$ac_objext'
4552 { (eval echo "$as_me:4552: \"$ac_try\"") >&5
4555 echo "$as_me:4555: \$? = $ac_status" >&5
4556 (exit $ac_status); }; }; then
4557 ac_cv_have_decl_optind
=yes
4559 echo "$as_me: failed program was:" >&5
4560 cat conftest.
$ac_ext >&5
4561 ac_cv_have_decl_optind
=no
4563 rm -f conftest.
$ac_objext conftest.
$ac_ext
4565 echo "$as_me:4565: result: $ac_cv_have_decl_optind" >&5
4566 echo "${ECHO_T}$ac_cv_have_decl_optind" >&6
4567 if test $ac_cv_have_decl_optind = yes; then
4569 cat >>confdefs.h
<<EOF
4570 #define HAVE_DECL_OPTIND 1
4574 cat >>confdefs.h
<<EOF
4575 #define HAVE_DECL_OPTIND 0
4579 echo "$as_me:4579: checking whether optreset is declared" >&5
4580 echo $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6
4581 if test "${ac_cv_have_decl_optreset+set}" = set; then
4582 echo $ECHO_N "(cached) $ECHO_C" >&6
4584 cat >conftest.
$ac_ext <<_ACEOF
4585 #line 4585 "configure"
4586 #include "confdefs.h"
4596 char *p = (char *) optreset;
4603 rm -f conftest.
$ac_objext
4604 if { (eval echo "$as_me:4604: \"$ac_compile\"") >&5
4605 (eval $ac_compile) 2>&5
4607 echo "$as_me:4607: \$? = $ac_status" >&5
4608 (exit $ac_status); } &&
4609 { ac_try
='test -s conftest.$ac_objext'
4610 { (eval echo "$as_me:4610: \"$ac_try\"") >&5
4613 echo "$as_me:4613: \$? = $ac_status" >&5
4614 (exit $ac_status); }; }; then
4615 ac_cv_have_decl_optreset
=yes
4617 echo "$as_me: failed program was:" >&5
4618 cat conftest.
$ac_ext >&5
4619 ac_cv_have_decl_optreset
=no
4621 rm -f conftest.
$ac_objext conftest.
$ac_ext
4623 echo "$as_me:4623: result: $ac_cv_have_decl_optreset" >&5
4624 echo "${ECHO_T}$ac_cv_have_decl_optreset" >&6
4625 if test $ac_cv_have_decl_optreset = yes; then
4627 cat >>confdefs.h
<<EOF
4628 #define HAVE_DECL_OPTRESET 1
4632 cat >>confdefs.h
<<EOF
4633 #define HAVE_DECL_OPTRESET 0
4638 echo "$as_me:4638: checking whether sys_signame is declared" >&5
4639 echo $ECHO_N "checking whether sys_signame is declared... $ECHO_C" >&6
4640 if test "${ac_cv_have_decl_sys_signame+set}" = set; then
4641 echo $ECHO_N "(cached) $ECHO_C" >&6
4643 cat >conftest.
$ac_ext <<_ACEOF
4644 #line 4644 "configure"
4645 #include "confdefs.h"
4652 char *p = (char *) sys_signame;
4659 rm -f conftest.
$ac_objext
4660 if { (eval echo "$as_me:4660: \"$ac_compile\"") >&5
4661 (eval $ac_compile) 2>&5
4663 echo "$as_me:4663: \$? = $ac_status" >&5
4664 (exit $ac_status); } &&
4665 { ac_try
='test -s conftest.$ac_objext'
4666 { (eval echo "$as_me:4666: \"$ac_try\"") >&5
4669 echo "$as_me:4669: \$? = $ac_status" >&5
4670 (exit $ac_status); }; }; then
4671 ac_cv_have_decl_sys_signame
=yes
4673 echo "$as_me: failed program was:" >&5
4674 cat conftest.
$ac_ext >&5
4675 ac_cv_have_decl_sys_signame
=no
4677 rm -f conftest.
$ac_objext conftest.
$ac_ext
4679 echo "$as_me:4679: result: $ac_cv_have_decl_sys_signame" >&5
4680 echo "${ECHO_T}$ac_cv_have_decl_sys_signame" >&6
4681 if test $ac_cv_have_decl_sys_signame = yes; then
4683 cat >>confdefs.h
<<EOF
4684 #define HAVE_DECL_SYS_SIGNAME 1
4688 cat >>confdefs.h
<<EOF
4689 #define HAVE_DECL_SYS_SIGNAME 0
4694 # Library functions (where a .h check isn't enough).
4695 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4696 # for constant arguments. Useless!
4697 echo "$as_me:4697: checking for working alloca.h" >&5
4698 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
4699 if test "${ac_cv_working_alloca_h+set}" = set; then
4700 echo $ECHO_N "(cached) $ECHO_C" >&6
4702 cat >conftest.
$ac_ext <<_ACEOF
4703 #line 4703 "configure"
4704 #include "confdefs.h"
4709 char *p = (char *) alloca (2 * sizeof (int));
4714 rm -f conftest.
$ac_objext conftest
$ac_exeext
4715 if { (eval echo "$as_me:4715: \"$ac_link\"") >&5
4716 (eval $ac_link) 2>&5
4718 echo "$as_me:4718: \$? = $ac_status" >&5
4719 (exit $ac_status); } &&
4720 { ac_try
='test -s conftest$ac_exeext'
4721 { (eval echo "$as_me:4721: \"$ac_try\"") >&5
4724 echo "$as_me:4724: \$? = $ac_status" >&5
4725 (exit $ac_status); }; }; then
4726 ac_cv_working_alloca_h
=yes
4728 echo "$as_me: failed program was:" >&5
4729 cat conftest.
$ac_ext >&5
4730 ac_cv_working_alloca_h
=no
4732 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4734 echo "$as_me:4734: result: $ac_cv_working_alloca_h" >&5
4735 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
4736 if test $ac_cv_working_alloca_h = yes; then
4738 cat >>confdefs.h
<<\EOF
4739 #define HAVE_ALLOCA_H 1
4744 echo "$as_me:4744: checking for alloca" >&5
4745 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
4746 if test "${ac_cv_func_alloca_works+set}" = set; then
4747 echo $ECHO_N "(cached) $ECHO_C" >&6
4749 cat >conftest.
$ac_ext <<_ACEOF
4750 #line 4750 "configure"
4751 #include "confdefs.h"
4753 # define alloca __builtin_alloca
4756 # include <malloc.h>
4757 # define alloca _alloca
4760 # include <alloca.h>
4765 # ifndef alloca /* predefined by HP cc +Olibcalls */
4776 char *p = (char *) alloca (1);
4781 rm -f conftest.
$ac_objext conftest
$ac_exeext
4782 if { (eval echo "$as_me:4782: \"$ac_link\"") >&5
4783 (eval $ac_link) 2>&5
4785 echo "$as_me:4785: \$? = $ac_status" >&5
4786 (exit $ac_status); } &&
4787 { ac_try
='test -s conftest$ac_exeext'
4788 { (eval echo "$as_me:4788: \"$ac_try\"") >&5
4791 echo "$as_me:4791: \$? = $ac_status" >&5
4792 (exit $ac_status); }; }; then
4793 ac_cv_func_alloca_works
=yes
4795 echo "$as_me: failed program was:" >&5
4796 cat conftest.
$ac_ext >&5
4797 ac_cv_func_alloca_works
=no
4799 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4801 echo "$as_me:4801: result: $ac_cv_func_alloca_works" >&5
4802 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
4804 if test $ac_cv_func_alloca_works = yes; then
4806 cat >>confdefs.h
<<\EOF
4807 #define HAVE_ALLOCA 1
4811 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
4812 # that cause trouble. Some versions do not even contain alloca or
4813 # contain a buggy version. If you still want to use their alloca,
4814 # use ar to extract alloca.o from them instead of compiling alloca.c.
4816 ALLOCA
=alloca.
$ac_objext
4818 cat >>confdefs.h
<<\EOF
4822 echo "$as_me:4822: checking whether \`alloca.c' needs Cray hooks" >&5
4823 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
4824 if test "${ac_cv_os_cray+set}" = set; then
4825 echo $ECHO_N "(cached) $ECHO_C" >&6
4827 cat >conftest.
$ac_ext <<_ACEOF
4828 #line 4828 "configure"
4829 #include "confdefs.h"
4830 #if defined(CRAY) && ! defined(CRAY2)
4837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4838 egrep "webecray" >/dev
/null
2>&1; then
4846 echo "$as_me:4846: result: $ac_cv_os_cray" >&5
4847 echo "${ECHO_T}$ac_cv_os_cray" >&6
4848 if test $ac_cv_os_cray = yes; then
4849 for ac_func
in _getb67 GETB67 getb67
; do
4850 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4851 echo "$as_me:4851: checking for $ac_func" >&5
4852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4853 if eval "test \"\${$as_ac_var+set}\" = set"; then
4854 echo $ECHO_N "(cached) $ECHO_C" >&6
4856 cat >conftest.
$ac_ext <<_ACEOF
4857 #line 4857 "configure"
4858 #include "confdefs.h"
4859 /* System header to define __stub macros and hopefully few prototypes,
4860 which can conflict with char $ac_func (); below. */
4862 /* Override any gcc2 internal prototype to avoid an error. */
4866 /* We use char because int might match the return type of a gcc2
4867 builtin and then its argument prototype would still apply. */
4874 /* The GNU C library defines this for functions which it implements
4875 to always fail with ENOSYS. Some functions are actually named
4876 something starting with __ and the normal name is an alias. */
4877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4887 rm -f conftest.
$ac_objext conftest
$ac_exeext
4888 if { (eval echo "$as_me:4888: \"$ac_link\"") >&5
4889 (eval $ac_link) 2>&5
4891 echo "$as_me:4891: \$? = $ac_status" >&5
4892 (exit $ac_status); } &&
4893 { ac_try
='test -s conftest$ac_exeext'
4894 { (eval echo "$as_me:4894: \"$ac_try\"") >&5
4897 echo "$as_me:4897: \$? = $ac_status" >&5
4898 (exit $ac_status); }; }; then
4899 eval "$as_ac_var=yes"
4901 echo "$as_me: failed program was:" >&5
4902 cat conftest.
$ac_ext >&5
4903 eval "$as_ac_var=no"
4905 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4907 echo "$as_me:4907: result: `eval echo '${'$as_ac_var'}'`" >&5
4908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4909 if test `eval echo '${'$as_ac_var'}'` = yes; then
4911 cat >>confdefs.h
<<EOF
4912 #define CRAY_STACKSEG_END $ac_func
4921 echo "$as_me:4921: checking stack direction for C alloca" >&5
4922 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
4923 if test "${ac_cv_c_stack_direction+set}" = set; then
4924 echo $ECHO_N "(cached) $ECHO_C" >&6
4926 if test "$cross_compiling" = yes; then
4927 ac_cv_c_stack_direction
=0
4929 cat >conftest.
$ac_ext <<_ACEOF
4930 #line 4930 "configure"
4931 #include "confdefs.h"
4933 find_stack_direction ()
4935 static char *addr = 0;
4940 return find_stack_direction ();
4943 return (&dummy > addr) ? 1 : -1;
4949 exit (find_stack_direction () < 0);
4952 rm -f conftest
$ac_exeext
4953 if { (eval echo "$as_me:4953: \"$ac_link\"") >&5
4954 (eval $ac_link) 2>&5
4956 echo "$as_me:4956: \$? = $ac_status" >&5
4957 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4958 { (eval echo "$as_me:4958: \"$ac_try\"") >&5
4961 echo "$as_me:4961: \$? = $ac_status" >&5
4962 (exit $ac_status); }; }; then
4963 ac_cv_c_stack_direction
=1
4965 echo "$as_me: program exited with status $ac_status" >&5
4966 echo "$as_me: failed program was:" >&5
4967 cat conftest.
$ac_ext >&5
4968 ac_cv_c_stack_direction
=-1
4970 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4973 echo "$as_me:4973: result: $ac_cv_c_stack_direction" >&5
4974 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
4976 cat >>confdefs.h
<<EOF
4977 #define STACK_DIRECTION $ac_cv_c_stack_direction
4982 for ac_func
in atoll asprintf asnprintf
basename devname dirfd
dirname \
4983 esetfunc fgetln flock fpurge __fpurge futimes getopt getopt_long \
4984 group_from_gid gid_from_group \
4985 heapsort isblank issetugid lchflags lchmod lchown lutimes mkstemp \
4986 mkdtemp poll pread putc_unlocked pwcache_userdb pwcache_groupdb pwrite \
4987 raise_default_signal random setenv \
4988 setgroupent setprogname setpassent snprintf strlcat strlcpy strmode \
4989 strndup strsep strsuftoll strtoll \
4990 user_from_uid uid_from_user vasprintf vasnprintf vsnprintf
4992 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4993 echo "$as_me:4993: checking for $ac_func" >&5
4994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4995 if eval "test \"\${$as_ac_var+set}\" = set"; then
4996 echo $ECHO_N "(cached) $ECHO_C" >&6
4998 cat >conftest.
$ac_ext <<_ACEOF
4999 #line 4999 "configure"
5000 #include "confdefs.h"
5001 /* System header to define __stub macros and hopefully few prototypes,
5002 which can conflict with char $ac_func (); below. */
5004 /* Override any gcc2 internal prototype to avoid an error. */
5008 /* We use char because int might match the return type of a gcc2
5009 builtin and then its argument prototype would still apply. */
5016 /* The GNU C library defines this for functions which it implements
5017 to always fail with ENOSYS. Some functions are actually named
5018 something starting with __ and the normal name is an alias. */
5019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5029 rm -f conftest.
$ac_objext conftest
$ac_exeext
5030 if { (eval echo "$as_me:5030: \"$ac_link\"") >&5
5031 (eval $ac_link) 2>&5
5033 echo "$as_me:5033: \$? = $ac_status" >&5
5034 (exit $ac_status); } &&
5035 { ac_try
='test -s conftest$ac_exeext'
5036 { (eval echo "$as_me:5036: \"$ac_try\"") >&5
5039 echo "$as_me:5039: \$? = $ac_status" >&5
5040 (exit $ac_status); }; }; then
5041 eval "$as_ac_var=yes"
5043 echo "$as_me: failed program was:" >&5
5044 cat conftest.
$ac_ext >&5
5045 eval "$as_ac_var=no"
5047 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5049 echo "$as_me:5049: result: `eval echo '${'$as_ac_var'}'`" >&5
5050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5051 if test `eval echo '${'$as_ac_var'}'` = yes; then
5052 cat >>confdefs.h
<<EOF
5053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5059 echo "$as_me:5059: checking whether user_from_uid is declared" >&5
5060 echo $ECHO_N "checking whether user_from_uid is declared... $ECHO_C" >&6
5061 if test "${ac_cv_have_decl_user_from_uid+set}" = set; then
5062 echo $ECHO_N "(cached) $ECHO_C" >&6
5064 cat >conftest.
$ac_ext <<_ACEOF
5065 #line 5065 "configure"
5066 #include "confdefs.h"
5073 #ifndef user_from_uid
5074 char *p = (char *) user_from_uid;
5081 rm -f conftest.
$ac_objext
5082 if { (eval echo "$as_me:5082: \"$ac_compile\"") >&5
5083 (eval $ac_compile) 2>&5
5085 echo "$as_me:5085: \$? = $ac_status" >&5
5086 (exit $ac_status); } &&
5087 { ac_try
='test -s conftest.$ac_objext'
5088 { (eval echo "$as_me:5088: \"$ac_try\"") >&5
5091 echo "$as_me:5091: \$? = $ac_status" >&5
5092 (exit $ac_status); }; }; then
5093 ac_cv_have_decl_user_from_uid
=yes
5095 echo "$as_me: failed program was:" >&5
5096 cat conftest.
$ac_ext >&5
5097 ac_cv_have_decl_user_from_uid
=no
5099 rm -f conftest.
$ac_objext conftest.
$ac_ext
5101 echo "$as_me:5101: result: $ac_cv_have_decl_user_from_uid" >&5
5102 echo "${ECHO_T}$ac_cv_have_decl_user_from_uid" >&6
5103 if test $ac_cv_have_decl_user_from_uid = yes; then
5105 cat >>confdefs.h
<<EOF
5106 #define HAVE_DECL_USER_FROM_UID 1
5110 cat >>confdefs.h
<<EOF
5111 #define HAVE_DECL_USER_FROM_UID 0
5115 echo "$as_me:5115: checking whether uid_from_user is declared" >&5
5116 echo $ECHO_N "checking whether uid_from_user is declared... $ECHO_C" >&6
5117 if test "${ac_cv_have_decl_uid_from_user+set}" = set; then
5118 echo $ECHO_N "(cached) $ECHO_C" >&6
5120 cat >conftest.
$ac_ext <<_ACEOF
5121 #line 5121 "configure"
5122 #include "confdefs.h"
5129 #ifndef uid_from_user
5130 char *p = (char *) uid_from_user;
5137 rm -f conftest.
$ac_objext
5138 if { (eval echo "$as_me:5138: \"$ac_compile\"") >&5
5139 (eval $ac_compile) 2>&5
5141 echo "$as_me:5141: \$? = $ac_status" >&5
5142 (exit $ac_status); } &&
5143 { ac_try
='test -s conftest.$ac_objext'
5144 { (eval echo "$as_me:5144: \"$ac_try\"") >&5
5147 echo "$as_me:5147: \$? = $ac_status" >&5
5148 (exit $ac_status); }; }; then
5149 ac_cv_have_decl_uid_from_user
=yes
5151 echo "$as_me: failed program was:" >&5
5152 cat conftest.
$ac_ext >&5
5153 ac_cv_have_decl_uid_from_user
=no
5155 rm -f conftest.
$ac_objext conftest.
$ac_ext
5157 echo "$as_me:5157: result: $ac_cv_have_decl_uid_from_user" >&5
5158 echo "${ECHO_T}$ac_cv_have_decl_uid_from_user" >&6
5159 if test $ac_cv_have_decl_uid_from_user = yes; then
5161 cat >>confdefs.h
<<EOF
5162 #define HAVE_DECL_UID_FROM_USER 1
5166 cat >>confdefs.h
<<EOF
5167 #define HAVE_DECL_UID_FROM_USER 0
5171 echo "$as_me:5171: checking whether pwcache_userdb is declared" >&5
5172 echo $ECHO_N "checking whether pwcache_userdb is declared... $ECHO_C" >&6
5173 if test "${ac_cv_have_decl_pwcache_userdb+set}" = set; then
5174 echo $ECHO_N "(cached) $ECHO_C" >&6
5176 cat >conftest.
$ac_ext <<_ACEOF
5177 #line 5177 "configure"
5178 #include "confdefs.h"
5185 #ifndef pwcache_userdb
5186 char *p = (char *) pwcache_userdb;
5193 rm -f conftest.
$ac_objext
5194 if { (eval echo "$as_me:5194: \"$ac_compile\"") >&5
5195 (eval $ac_compile) 2>&5
5197 echo "$as_me:5197: \$? = $ac_status" >&5
5198 (exit $ac_status); } &&
5199 { ac_try
='test -s conftest.$ac_objext'
5200 { (eval echo "$as_me:5200: \"$ac_try\"") >&5
5203 echo "$as_me:5203: \$? = $ac_status" >&5
5204 (exit $ac_status); }; }; then
5205 ac_cv_have_decl_pwcache_userdb
=yes
5207 echo "$as_me: failed program was:" >&5
5208 cat conftest.
$ac_ext >&5
5209 ac_cv_have_decl_pwcache_userdb
=no
5211 rm -f conftest.
$ac_objext conftest.
$ac_ext
5213 echo "$as_me:5213: result: $ac_cv_have_decl_pwcache_userdb" >&5
5214 echo "${ECHO_T}$ac_cv_have_decl_pwcache_userdb" >&6
5215 if test $ac_cv_have_decl_pwcache_userdb = yes; then
5217 cat >>confdefs.h
<<EOF
5218 #define HAVE_DECL_PWCACHE_USERDB 1
5222 cat >>confdefs.h
<<EOF
5223 #define HAVE_DECL_PWCACHE_USERDB 0
5228 echo "$as_me:5228: checking whether group_from_gid is declared" >&5
5229 echo $ECHO_N "checking whether group_from_gid is declared... $ECHO_C" >&6
5230 if test "${ac_cv_have_decl_group_from_gid+set}" = set; then
5231 echo $ECHO_N "(cached) $ECHO_C" >&6
5233 cat >conftest.
$ac_ext <<_ACEOF
5234 #line 5234 "configure"
5235 #include "confdefs.h"
5242 #ifndef group_from_gid
5243 char *p = (char *) group_from_gid;
5250 rm -f conftest.
$ac_objext
5251 if { (eval echo "$as_me:5251: \"$ac_compile\"") >&5
5252 (eval $ac_compile) 2>&5
5254 echo "$as_me:5254: \$? = $ac_status" >&5
5255 (exit $ac_status); } &&
5256 { ac_try
='test -s conftest.$ac_objext'
5257 { (eval echo "$as_me:5257: \"$ac_try\"") >&5
5260 echo "$as_me:5260: \$? = $ac_status" >&5
5261 (exit $ac_status); }; }; then
5262 ac_cv_have_decl_group_from_gid
=yes
5264 echo "$as_me: failed program was:" >&5
5265 cat conftest.
$ac_ext >&5
5266 ac_cv_have_decl_group_from_gid
=no
5268 rm -f conftest.
$ac_objext conftest.
$ac_ext
5270 echo "$as_me:5270: result: $ac_cv_have_decl_group_from_gid" >&5
5271 echo "${ECHO_T}$ac_cv_have_decl_group_from_gid" >&6
5272 if test $ac_cv_have_decl_group_from_gid = yes; then
5274 cat >>confdefs.h
<<EOF
5275 #define HAVE_DECL_GROUP_FROM_GID 1
5279 cat >>confdefs.h
<<EOF
5280 #define HAVE_DECL_GROUP_FROM_GID 0
5284 echo "$as_me:5284: checking whether gid_from_group is declared" >&5
5285 echo $ECHO_N "checking whether gid_from_group is declared... $ECHO_C" >&6
5286 if test "${ac_cv_have_decl_gid_from_group+set}" = set; then
5287 echo $ECHO_N "(cached) $ECHO_C" >&6
5289 cat >conftest.
$ac_ext <<_ACEOF
5290 #line 5290 "configure"
5291 #include "confdefs.h"
5298 #ifndef gid_from_group
5299 char *p = (char *) gid_from_group;
5306 rm -f conftest.
$ac_objext
5307 if { (eval echo "$as_me:5307: \"$ac_compile\"") >&5
5308 (eval $ac_compile) 2>&5
5310 echo "$as_me:5310: \$? = $ac_status" >&5
5311 (exit $ac_status); } &&
5312 { ac_try
='test -s conftest.$ac_objext'
5313 { (eval echo "$as_me:5313: \"$ac_try\"") >&5
5316 echo "$as_me:5316: \$? = $ac_status" >&5
5317 (exit $ac_status); }; }; then
5318 ac_cv_have_decl_gid_from_group
=yes
5320 echo "$as_me: failed program was:" >&5
5321 cat conftest.
$ac_ext >&5
5322 ac_cv_have_decl_gid_from_group
=no
5324 rm -f conftest.
$ac_objext conftest.
$ac_ext
5326 echo "$as_me:5326: result: $ac_cv_have_decl_gid_from_group" >&5
5327 echo "${ECHO_T}$ac_cv_have_decl_gid_from_group" >&6
5328 if test $ac_cv_have_decl_gid_from_group = yes; then
5330 cat >>confdefs.h
<<EOF
5331 #define HAVE_DECL_GID_FROM_GROUP 1
5335 cat >>confdefs.h
<<EOF
5336 #define HAVE_DECL_GID_FROM_GROUP 0
5340 echo "$as_me:5340: checking whether pwcache_groupdb is declared" >&5
5341 echo $ECHO_N "checking whether pwcache_groupdb is declared... $ECHO_C" >&6
5342 if test "${ac_cv_have_decl_pwcache_groupdb+set}" = set; then
5343 echo $ECHO_N "(cached) $ECHO_C" >&6
5345 cat >conftest.
$ac_ext <<_ACEOF
5346 #line 5346 "configure"
5347 #include "confdefs.h"
5354 #ifndef pwcache_groupdb
5355 char *p = (char *) pwcache_groupdb;
5362 rm -f conftest.
$ac_objext
5363 if { (eval echo "$as_me:5363: \"$ac_compile\"") >&5
5364 (eval $ac_compile) 2>&5
5366 echo "$as_me:5366: \$? = $ac_status" >&5
5367 (exit $ac_status); } &&
5368 { ac_try
='test -s conftest.$ac_objext'
5369 { (eval echo "$as_me:5369: \"$ac_try\"") >&5
5372 echo "$as_me:5372: \$? = $ac_status" >&5
5373 (exit $ac_status); }; }; then
5374 ac_cv_have_decl_pwcache_groupdb
=yes
5376 echo "$as_me: failed program was:" >&5
5377 cat conftest.
$ac_ext >&5
5378 ac_cv_have_decl_pwcache_groupdb
=no
5380 rm -f conftest.
$ac_objext conftest.
$ac_ext
5382 echo "$as_me:5382: result: $ac_cv_have_decl_pwcache_groupdb" >&5
5383 echo "${ECHO_T}$ac_cv_have_decl_pwcache_groupdb" >&6
5384 if test $ac_cv_have_decl_pwcache_groupdb = yes; then
5386 cat >>confdefs.h
<<EOF
5387 #define HAVE_DECL_PWCACHE_GROUPDB 1
5391 cat >>confdefs.h
<<EOF
5392 #define HAVE_DECL_PWCACHE_GROUPDB 0
5397 echo "$as_me:5397: checking whether strndup is declared" >&5
5398 echo $ECHO_N "checking whether strndup is declared... $ECHO_C" >&6
5399 if test "${ac_cv_have_decl_strndup+set}" = set; then
5400 echo $ECHO_N "(cached) $ECHO_C" >&6
5402 cat >conftest.
$ac_ext <<_ACEOF
5403 #line 5403 "configure"
5404 #include "confdefs.h"
5411 char *p = (char *) strndup;
5418 rm -f conftest.
$ac_objext
5419 if { (eval echo "$as_me:5419: \"$ac_compile\"") >&5
5420 (eval $ac_compile) 2>&5
5422 echo "$as_me:5422: \$? = $ac_status" >&5
5423 (exit $ac_status); } &&
5424 { ac_try
='test -s conftest.$ac_objext'
5425 { (eval echo "$as_me:5425: \"$ac_try\"") >&5
5428 echo "$as_me:5428: \$? = $ac_status" >&5
5429 (exit $ac_status); }; }; then
5430 ac_cv_have_decl_strndup
=yes
5432 echo "$as_me: failed program was:" >&5
5433 cat conftest.
$ac_ext >&5
5434 ac_cv_have_decl_strndup
=no
5436 rm -f conftest.
$ac_objext conftest.
$ac_ext
5438 echo "$as_me:5438: result: $ac_cv_have_decl_strndup" >&5
5439 echo "${ECHO_T}$ac_cv_have_decl_strndup" >&6
5440 if test $ac_cv_have_decl_strndup = yes; then
5442 cat >>confdefs.h
<<EOF
5443 #define HAVE_DECL_STRNDUP 1
5447 cat >>confdefs.h
<<EOF
5448 #define HAVE_DECL_STRNDUP 0
5453 echo "$as_me:5453: checking whether strsuftoll is declared" >&5
5454 echo $ECHO_N "checking whether strsuftoll is declared... $ECHO_C" >&6
5455 if test "${ac_cv_have_decl_strsuftoll+set}" = set; then
5456 echo $ECHO_N "(cached) $ECHO_C" >&6
5458 cat >conftest.
$ac_ext <<_ACEOF
5459 #line 5459 "configure"
5460 #include "confdefs.h"
5467 char *p = (char *) strsuftoll;
5474 rm -f conftest.
$ac_objext
5475 if { (eval echo "$as_me:5475: \"$ac_compile\"") >&5
5476 (eval $ac_compile) 2>&5
5478 echo "$as_me:5478: \$? = $ac_status" >&5
5479 (exit $ac_status); } &&
5480 { ac_try
='test -s conftest.$ac_objext'
5481 { (eval echo "$as_me:5481: \"$ac_try\"") >&5
5484 echo "$as_me:5484: \$? = $ac_status" >&5
5485 (exit $ac_status); }; }; then
5486 ac_cv_have_decl_strsuftoll
=yes
5488 echo "$as_me: failed program was:" >&5
5489 cat conftest.
$ac_ext >&5
5490 ac_cv_have_decl_strsuftoll
=no
5492 rm -f conftest.
$ac_objext conftest.
$ac_ext
5494 echo "$as_me:5494: result: $ac_cv_have_decl_strsuftoll" >&5
5495 echo "${ECHO_T}$ac_cv_have_decl_strsuftoll" >&6
5496 if test $ac_cv_have_decl_strsuftoll = yes; then
5498 cat >>confdefs.h
<<EOF
5499 #define HAVE_DECL_STRSUFTOLL 1
5503 cat >>confdefs.h
<<EOF
5504 #define HAVE_DECL_STRSUFTOLL 0
5509 echo "$as_me:5509: checking whether lchflags is declared" >&5
5510 echo $ECHO_N "checking whether lchflags is declared... $ECHO_C" >&6
5511 if test "${ac_cv_have_decl_lchflags+set}" = set; then
5512 echo $ECHO_N "(cached) $ECHO_C" >&6
5514 cat >conftest.
$ac_ext <<_ACEOF
5515 #line 5515 "configure"
5516 #include "confdefs.h"
5518 #include <sys/stat.h>
5525 char *p = (char *) lchflags;
5532 rm -f conftest.
$ac_objext
5533 if { (eval echo "$as_me:5533: \"$ac_compile\"") >&5
5534 (eval $ac_compile) 2>&5
5536 echo "$as_me:5536: \$? = $ac_status" >&5
5537 (exit $ac_status); } &&
5538 { ac_try
='test -s conftest.$ac_objext'
5539 { (eval echo "$as_me:5539: \"$ac_try\"") >&5
5542 echo "$as_me:5542: \$? = $ac_status" >&5
5543 (exit $ac_status); }; }; then
5544 ac_cv_have_decl_lchflags
=yes
5546 echo "$as_me: failed program was:" >&5
5547 cat conftest.
$ac_ext >&5
5548 ac_cv_have_decl_lchflags
=no
5550 rm -f conftest.
$ac_objext conftest.
$ac_ext
5552 echo "$as_me:5552: result: $ac_cv_have_decl_lchflags" >&5
5553 echo "${ECHO_T}$ac_cv_have_decl_lchflags" >&6
5554 if test $ac_cv_have_decl_lchflags = yes; then
5556 cat >>confdefs.h
<<EOF
5557 #define HAVE_DECL_LCHFLAGS 1
5561 cat >>confdefs.h
<<EOF
5562 #define HAVE_DECL_LCHFLAGS 0
5566 echo "$as_me:5566: checking whether lchmod is declared" >&5
5567 echo $ECHO_N "checking whether lchmod is declared... $ECHO_C" >&6
5568 if test "${ac_cv_have_decl_lchmod+set}" = set; then
5569 echo $ECHO_N "(cached) $ECHO_C" >&6
5571 cat >conftest.
$ac_ext <<_ACEOF
5572 #line 5572 "configure"
5573 #include "confdefs.h"
5575 #include <sys/stat.h>
5582 char *p = (char *) lchmod;
5589 rm -f conftest.
$ac_objext
5590 if { (eval echo "$as_me:5590: \"$ac_compile\"") >&5
5591 (eval $ac_compile) 2>&5
5593 echo "$as_me:5593: \$? = $ac_status" >&5
5594 (exit $ac_status); } &&
5595 { ac_try
='test -s conftest.$ac_objext'
5596 { (eval echo "$as_me:5596: \"$ac_try\"") >&5
5599 echo "$as_me:5599: \$? = $ac_status" >&5
5600 (exit $ac_status); }; }; then
5601 ac_cv_have_decl_lchmod
=yes
5603 echo "$as_me: failed program was:" >&5
5604 cat conftest.
$ac_ext >&5
5605 ac_cv_have_decl_lchmod
=no
5607 rm -f conftest.
$ac_objext conftest.
$ac_ext
5609 echo "$as_me:5609: result: $ac_cv_have_decl_lchmod" >&5
5610 echo "${ECHO_T}$ac_cv_have_decl_lchmod" >&6
5611 if test $ac_cv_have_decl_lchmod = yes; then
5613 cat >>confdefs.h
<<EOF
5614 #define HAVE_DECL_LCHMOD 1
5618 cat >>confdefs.h
<<EOF
5619 #define HAVE_DECL_LCHMOD 0
5623 echo "$as_me:5623: checking whether lchown is declared" >&5
5624 echo $ECHO_N "checking whether lchown is declared... $ECHO_C" >&6
5625 if test "${ac_cv_have_decl_lchown+set}" = set; then
5626 echo $ECHO_N "(cached) $ECHO_C" >&6
5628 cat >conftest.
$ac_ext <<_ACEOF
5629 #line 5629 "configure"
5630 #include "confdefs.h"
5632 #include <sys/stat.h>
5639 char *p = (char *) lchown;
5646 rm -f conftest.
$ac_objext
5647 if { (eval echo "$as_me:5647: \"$ac_compile\"") >&5
5648 (eval $ac_compile) 2>&5
5650 echo "$as_me:5650: \$? = $ac_status" >&5
5651 (exit $ac_status); } &&
5652 { ac_try
='test -s conftest.$ac_objext'
5653 { (eval echo "$as_me:5653: \"$ac_try\"") >&5
5656 echo "$as_me:5656: \$? = $ac_status" >&5
5657 (exit $ac_status); }; }; then
5658 ac_cv_have_decl_lchown
=yes
5660 echo "$as_me: failed program was:" >&5
5661 cat conftest.
$ac_ext >&5
5662 ac_cv_have_decl_lchown
=no
5664 rm -f conftest.
$ac_objext conftest.
$ac_ext
5666 echo "$as_me:5666: result: $ac_cv_have_decl_lchown" >&5
5667 echo "${ECHO_T}$ac_cv_have_decl_lchown" >&6
5668 if test $ac_cv_have_decl_lchown = yes; then
5670 cat >>confdefs.h
<<EOF
5671 #define HAVE_DECL_LCHOWN 1
5675 cat >>confdefs.h
<<EOF
5676 #define HAVE_DECL_LCHOWN 0
5681 echo "$as_me:5681: checking whether htobe16 is declared" >&5
5682 echo $ECHO_N "checking whether htobe16 is declared... $ECHO_C" >&6
5683 if test "${ac_cv_have_decl_htobe16+set}" = set; then
5684 echo $ECHO_N "(cached) $ECHO_C" >&6
5686 cat >conftest.
$ac_ext <<_ACEOF
5687 #line 5687 "configure"
5688 #include "confdefs.h"
5689 #include <sys/types.h>
5695 char *p = (char *) htobe16;
5702 rm -f conftest.
$ac_objext
5703 if { (eval echo "$as_me:5703: \"$ac_compile\"") >&5
5704 (eval $ac_compile) 2>&5
5706 echo "$as_me:5706: \$? = $ac_status" >&5
5707 (exit $ac_status); } &&
5708 { ac_try
='test -s conftest.$ac_objext'
5709 { (eval echo "$as_me:5709: \"$ac_try\"") >&5
5712 echo "$as_me:5712: \$? = $ac_status" >&5
5713 (exit $ac_status); }; }; then
5714 ac_cv_have_decl_htobe16
=yes
5716 echo "$as_me: failed program was:" >&5
5717 cat conftest.
$ac_ext >&5
5718 ac_cv_have_decl_htobe16
=no
5720 rm -f conftest.
$ac_objext conftest.
$ac_ext
5722 echo "$as_me:5722: result: $ac_cv_have_decl_htobe16" >&5
5723 echo "${ECHO_T}$ac_cv_have_decl_htobe16" >&6
5724 if test $ac_cv_have_decl_htobe16 = yes; then
5726 cat >>confdefs.h
<<EOF
5727 #define HAVE_DECL_HTOBE16 1
5731 cat >>confdefs.h
<<EOF
5732 #define HAVE_DECL_HTOBE16 0
5736 echo "$as_me:5736: checking whether htobe32 is declared" >&5
5737 echo $ECHO_N "checking whether htobe32 is declared... $ECHO_C" >&6
5738 if test "${ac_cv_have_decl_htobe32+set}" = set; then
5739 echo $ECHO_N "(cached) $ECHO_C" >&6
5741 cat >conftest.
$ac_ext <<_ACEOF
5742 #line 5742 "configure"
5743 #include "confdefs.h"
5744 #include <sys/types.h>
5750 char *p = (char *) htobe32;
5757 rm -f conftest.
$ac_objext
5758 if { (eval echo "$as_me:5758: \"$ac_compile\"") >&5
5759 (eval $ac_compile) 2>&5
5761 echo "$as_me:5761: \$? = $ac_status" >&5
5762 (exit $ac_status); } &&
5763 { ac_try
='test -s conftest.$ac_objext'
5764 { (eval echo "$as_me:5764: \"$ac_try\"") >&5
5767 echo "$as_me:5767: \$? = $ac_status" >&5
5768 (exit $ac_status); }; }; then
5769 ac_cv_have_decl_htobe32
=yes
5771 echo "$as_me: failed program was:" >&5
5772 cat conftest.
$ac_ext >&5
5773 ac_cv_have_decl_htobe32
=no
5775 rm -f conftest.
$ac_objext conftest.
$ac_ext
5777 echo "$as_me:5777: result: $ac_cv_have_decl_htobe32" >&5
5778 echo "${ECHO_T}$ac_cv_have_decl_htobe32" >&6
5779 if test $ac_cv_have_decl_htobe32 = yes; then
5781 cat >>confdefs.h
<<EOF
5782 #define HAVE_DECL_HTOBE32 1
5786 cat >>confdefs.h
<<EOF
5787 #define HAVE_DECL_HTOBE32 0
5791 echo "$as_me:5791: checking whether htobe64 is declared" >&5
5792 echo $ECHO_N "checking whether htobe64 is declared... $ECHO_C" >&6
5793 if test "${ac_cv_have_decl_htobe64+set}" = set; then
5794 echo $ECHO_N "(cached) $ECHO_C" >&6
5796 cat >conftest.
$ac_ext <<_ACEOF
5797 #line 5797 "configure"
5798 #include "confdefs.h"
5799 #include <sys/types.h>
5805 char *p = (char *) htobe64;
5812 rm -f conftest.
$ac_objext
5813 if { (eval echo "$as_me:5813: \"$ac_compile\"") >&5
5814 (eval $ac_compile) 2>&5
5816 echo "$as_me:5816: \$? = $ac_status" >&5
5817 (exit $ac_status); } &&
5818 { ac_try
='test -s conftest.$ac_objext'
5819 { (eval echo "$as_me:5819: \"$ac_try\"") >&5
5822 echo "$as_me:5822: \$? = $ac_status" >&5
5823 (exit $ac_status); }; }; then
5824 ac_cv_have_decl_htobe64
=yes
5826 echo "$as_me: failed program was:" >&5
5827 cat conftest.
$ac_ext >&5
5828 ac_cv_have_decl_htobe64
=no
5830 rm -f conftest.
$ac_objext conftest.
$ac_ext
5832 echo "$as_me:5832: result: $ac_cv_have_decl_htobe64" >&5
5833 echo "${ECHO_T}$ac_cv_have_decl_htobe64" >&6
5834 if test $ac_cv_have_decl_htobe64 = yes; then
5836 cat >>confdefs.h
<<EOF
5837 #define HAVE_DECL_HTOBE64 1
5841 cat >>confdefs.h
<<EOF
5842 #define HAVE_DECL_HTOBE64 0
5846 echo "$as_me:5846: checking whether htole16 is declared" >&5
5847 echo $ECHO_N "checking whether htole16 is declared... $ECHO_C" >&6
5848 if test "${ac_cv_have_decl_htole16+set}" = set; then
5849 echo $ECHO_N "(cached) $ECHO_C" >&6
5851 cat >conftest.
$ac_ext <<_ACEOF
5852 #line 5852 "configure"
5853 #include "confdefs.h"
5854 #include <sys/types.h>
5860 char *p = (char *) htole16;
5867 rm -f conftest.
$ac_objext
5868 if { (eval echo "$as_me:5868: \"$ac_compile\"") >&5
5869 (eval $ac_compile) 2>&5
5871 echo "$as_me:5871: \$? = $ac_status" >&5
5872 (exit $ac_status); } &&
5873 { ac_try
='test -s conftest.$ac_objext'
5874 { (eval echo "$as_me:5874: \"$ac_try\"") >&5
5877 echo "$as_me:5877: \$? = $ac_status" >&5
5878 (exit $ac_status); }; }; then
5879 ac_cv_have_decl_htole16
=yes
5881 echo "$as_me: failed program was:" >&5
5882 cat conftest.
$ac_ext >&5
5883 ac_cv_have_decl_htole16
=no
5885 rm -f conftest.
$ac_objext conftest.
$ac_ext
5887 echo "$as_me:5887: result: $ac_cv_have_decl_htole16" >&5
5888 echo "${ECHO_T}$ac_cv_have_decl_htole16" >&6
5889 if test $ac_cv_have_decl_htole16 = yes; then
5891 cat >>confdefs.h
<<EOF
5892 #define HAVE_DECL_HTOLE16 1
5896 cat >>confdefs.h
<<EOF
5897 #define HAVE_DECL_HTOLE16 0
5901 echo "$as_me:5901: checking whether htole32 is declared" >&5
5902 echo $ECHO_N "checking whether htole32 is declared... $ECHO_C" >&6
5903 if test "${ac_cv_have_decl_htole32+set}" = set; then
5904 echo $ECHO_N "(cached) $ECHO_C" >&6
5906 cat >conftest.
$ac_ext <<_ACEOF
5907 #line 5907 "configure"
5908 #include "confdefs.h"
5909 #include <sys/types.h>
5915 char *p = (char *) htole32;
5922 rm -f conftest.
$ac_objext
5923 if { (eval echo "$as_me:5923: \"$ac_compile\"") >&5
5924 (eval $ac_compile) 2>&5
5926 echo "$as_me:5926: \$? = $ac_status" >&5
5927 (exit $ac_status); } &&
5928 { ac_try
='test -s conftest.$ac_objext'
5929 { (eval echo "$as_me:5929: \"$ac_try\"") >&5
5932 echo "$as_me:5932: \$? = $ac_status" >&5
5933 (exit $ac_status); }; }; then
5934 ac_cv_have_decl_htole32
=yes
5936 echo "$as_me: failed program was:" >&5
5937 cat conftest.
$ac_ext >&5
5938 ac_cv_have_decl_htole32
=no
5940 rm -f conftest.
$ac_objext conftest.
$ac_ext
5942 echo "$as_me:5942: result: $ac_cv_have_decl_htole32" >&5
5943 echo "${ECHO_T}$ac_cv_have_decl_htole32" >&6
5944 if test $ac_cv_have_decl_htole32 = yes; then
5946 cat >>confdefs.h
<<EOF
5947 #define HAVE_DECL_HTOLE32 1
5951 cat >>confdefs.h
<<EOF
5952 #define HAVE_DECL_HTOLE32 0
5956 echo "$as_me:5956: checking whether htole64 is declared" >&5
5957 echo $ECHO_N "checking whether htole64 is declared... $ECHO_C" >&6
5958 if test "${ac_cv_have_decl_htole64+set}" = set; then
5959 echo $ECHO_N "(cached) $ECHO_C" >&6
5961 cat >conftest.
$ac_ext <<_ACEOF
5962 #line 5962 "configure"
5963 #include "confdefs.h"
5964 #include <sys/types.h>
5970 char *p = (char *) htole64;
5977 rm -f conftest.
$ac_objext
5978 if { (eval echo "$as_me:5978: \"$ac_compile\"") >&5
5979 (eval $ac_compile) 2>&5
5981 echo "$as_me:5981: \$? = $ac_status" >&5
5982 (exit $ac_status); } &&
5983 { ac_try
='test -s conftest.$ac_objext'
5984 { (eval echo "$as_me:5984: \"$ac_try\"") >&5
5987 echo "$as_me:5987: \$? = $ac_status" >&5
5988 (exit $ac_status); }; }; then
5989 ac_cv_have_decl_htole64
=yes
5991 echo "$as_me: failed program was:" >&5
5992 cat conftest.
$ac_ext >&5
5993 ac_cv_have_decl_htole64
=no
5995 rm -f conftest.
$ac_objext conftest.
$ac_ext
5997 echo "$as_me:5997: result: $ac_cv_have_decl_htole64" >&5
5998 echo "${ECHO_T}$ac_cv_have_decl_htole64" >&6
5999 if test $ac_cv_have_decl_htole64 = yes; then
6001 cat >>confdefs.h
<<EOF
6002 #define HAVE_DECL_HTOLE64 1
6006 cat >>confdefs.h
<<EOF
6007 #define HAVE_DECL_HTOLE64 0
6011 echo "$as_me:6011: checking whether be16toh is declared" >&5
6012 echo $ECHO_N "checking whether be16toh is declared... $ECHO_C" >&6
6013 if test "${ac_cv_have_decl_be16toh+set}" = set; then
6014 echo $ECHO_N "(cached) $ECHO_C" >&6
6016 cat >conftest.
$ac_ext <<_ACEOF
6017 #line 6017 "configure"
6018 #include "confdefs.h"
6019 #include <sys/types.h>
6025 char *p = (char *) be16toh;
6032 rm -f conftest.
$ac_objext
6033 if { (eval echo "$as_me:6033: \"$ac_compile\"") >&5
6034 (eval $ac_compile) 2>&5
6036 echo "$as_me:6036: \$? = $ac_status" >&5
6037 (exit $ac_status); } &&
6038 { ac_try
='test -s conftest.$ac_objext'
6039 { (eval echo "$as_me:6039: \"$ac_try\"") >&5
6042 echo "$as_me:6042: \$? = $ac_status" >&5
6043 (exit $ac_status); }; }; then
6044 ac_cv_have_decl_be16toh
=yes
6046 echo "$as_me: failed program was:" >&5
6047 cat conftest.
$ac_ext >&5
6048 ac_cv_have_decl_be16toh
=no
6050 rm -f conftest.
$ac_objext conftest.
$ac_ext
6052 echo "$as_me:6052: result: $ac_cv_have_decl_be16toh" >&5
6053 echo "${ECHO_T}$ac_cv_have_decl_be16toh" >&6
6054 if test $ac_cv_have_decl_be16toh = yes; then
6056 cat >>confdefs.h
<<EOF
6057 #define HAVE_DECL_BE16TOH 1
6061 cat >>confdefs.h
<<EOF
6062 #define HAVE_DECL_BE16TOH 0
6066 echo "$as_me:6066: checking whether be32toh is declared" >&5
6067 echo $ECHO_N "checking whether be32toh is declared... $ECHO_C" >&6
6068 if test "${ac_cv_have_decl_be32toh+set}" = set; then
6069 echo $ECHO_N "(cached) $ECHO_C" >&6
6071 cat >conftest.
$ac_ext <<_ACEOF
6072 #line 6072 "configure"
6073 #include "confdefs.h"
6074 #include <sys/types.h>
6080 char *p = (char *) be32toh;
6087 rm -f conftest.
$ac_objext
6088 if { (eval echo "$as_me:6088: \"$ac_compile\"") >&5
6089 (eval $ac_compile) 2>&5
6091 echo "$as_me:6091: \$? = $ac_status" >&5
6092 (exit $ac_status); } &&
6093 { ac_try
='test -s conftest.$ac_objext'
6094 { (eval echo "$as_me:6094: \"$ac_try\"") >&5
6097 echo "$as_me:6097: \$? = $ac_status" >&5
6098 (exit $ac_status); }; }; then
6099 ac_cv_have_decl_be32toh
=yes
6101 echo "$as_me: failed program was:" >&5
6102 cat conftest.
$ac_ext >&5
6103 ac_cv_have_decl_be32toh
=no
6105 rm -f conftest.
$ac_objext conftest.
$ac_ext
6107 echo "$as_me:6107: result: $ac_cv_have_decl_be32toh" >&5
6108 echo "${ECHO_T}$ac_cv_have_decl_be32toh" >&6
6109 if test $ac_cv_have_decl_be32toh = yes; then
6111 cat >>confdefs.h
<<EOF
6112 #define HAVE_DECL_BE32TOH 1
6116 cat >>confdefs.h
<<EOF
6117 #define HAVE_DECL_BE32TOH 0
6121 echo "$as_me:6121: checking whether be64toh is declared" >&5
6122 echo $ECHO_N "checking whether be64toh is declared... $ECHO_C" >&6
6123 if test "${ac_cv_have_decl_be64toh+set}" = set; then
6124 echo $ECHO_N "(cached) $ECHO_C" >&6
6126 cat >conftest.
$ac_ext <<_ACEOF
6127 #line 6127 "configure"
6128 #include "confdefs.h"
6129 #include <sys/types.h>
6135 char *p = (char *) be64toh;
6142 rm -f conftest.
$ac_objext
6143 if { (eval echo "$as_me:6143: \"$ac_compile\"") >&5
6144 (eval $ac_compile) 2>&5
6146 echo "$as_me:6146: \$? = $ac_status" >&5
6147 (exit $ac_status); } &&
6148 { ac_try
='test -s conftest.$ac_objext'
6149 { (eval echo "$as_me:6149: \"$ac_try\"") >&5
6152 echo "$as_me:6152: \$? = $ac_status" >&5
6153 (exit $ac_status); }; }; then
6154 ac_cv_have_decl_be64toh
=yes
6156 echo "$as_me: failed program was:" >&5
6157 cat conftest.
$ac_ext >&5
6158 ac_cv_have_decl_be64toh
=no
6160 rm -f conftest.
$ac_objext conftest.
$ac_ext
6162 echo "$as_me:6162: result: $ac_cv_have_decl_be64toh" >&5
6163 echo "${ECHO_T}$ac_cv_have_decl_be64toh" >&6
6164 if test $ac_cv_have_decl_be64toh = yes; then
6166 cat >>confdefs.h
<<EOF
6167 #define HAVE_DECL_BE64TOH 1
6171 cat >>confdefs.h
<<EOF
6172 #define HAVE_DECL_BE64TOH 0
6176 echo "$as_me:6176: checking whether le16toh is declared" >&5
6177 echo $ECHO_N "checking whether le16toh is declared... $ECHO_C" >&6
6178 if test "${ac_cv_have_decl_le16toh+set}" = set; then
6179 echo $ECHO_N "(cached) $ECHO_C" >&6
6181 cat >conftest.
$ac_ext <<_ACEOF
6182 #line 6182 "configure"
6183 #include "confdefs.h"
6184 #include <sys/types.h>
6190 char *p = (char *) le16toh;
6197 rm -f conftest.
$ac_objext
6198 if { (eval echo "$as_me:6198: \"$ac_compile\"") >&5
6199 (eval $ac_compile) 2>&5
6201 echo "$as_me:6201: \$? = $ac_status" >&5
6202 (exit $ac_status); } &&
6203 { ac_try
='test -s conftest.$ac_objext'
6204 { (eval echo "$as_me:6204: \"$ac_try\"") >&5
6207 echo "$as_me:6207: \$? = $ac_status" >&5
6208 (exit $ac_status); }; }; then
6209 ac_cv_have_decl_le16toh
=yes
6211 echo "$as_me: failed program was:" >&5
6212 cat conftest.
$ac_ext >&5
6213 ac_cv_have_decl_le16toh
=no
6215 rm -f conftest.
$ac_objext conftest.
$ac_ext
6217 echo "$as_me:6217: result: $ac_cv_have_decl_le16toh" >&5
6218 echo "${ECHO_T}$ac_cv_have_decl_le16toh" >&6
6219 if test $ac_cv_have_decl_le16toh = yes; then
6221 cat >>confdefs.h
<<EOF
6222 #define HAVE_DECL_LE16TOH 1
6226 cat >>confdefs.h
<<EOF
6227 #define HAVE_DECL_LE16TOH 0
6231 echo "$as_me:6231: checking whether le32toh is declared" >&5
6232 echo $ECHO_N "checking whether le32toh is declared... $ECHO_C" >&6
6233 if test "${ac_cv_have_decl_le32toh+set}" = set; then
6234 echo $ECHO_N "(cached) $ECHO_C" >&6
6236 cat >conftest.
$ac_ext <<_ACEOF
6237 #line 6237 "configure"
6238 #include "confdefs.h"
6239 #include <sys/types.h>
6245 char *p = (char *) le32toh;
6252 rm -f conftest.
$ac_objext
6253 if { (eval echo "$as_me:6253: \"$ac_compile\"") >&5
6254 (eval $ac_compile) 2>&5
6256 echo "$as_me:6256: \$? = $ac_status" >&5
6257 (exit $ac_status); } &&
6258 { ac_try
='test -s conftest.$ac_objext'
6259 { (eval echo "$as_me:6259: \"$ac_try\"") >&5
6262 echo "$as_me:6262: \$? = $ac_status" >&5
6263 (exit $ac_status); }; }; then
6264 ac_cv_have_decl_le32toh
=yes
6266 echo "$as_me: failed program was:" >&5
6267 cat conftest.
$ac_ext >&5
6268 ac_cv_have_decl_le32toh
=no
6270 rm -f conftest.
$ac_objext conftest.
$ac_ext
6272 echo "$as_me:6272: result: $ac_cv_have_decl_le32toh" >&5
6273 echo "${ECHO_T}$ac_cv_have_decl_le32toh" >&6
6274 if test $ac_cv_have_decl_le32toh = yes; then
6276 cat >>confdefs.h
<<EOF
6277 #define HAVE_DECL_LE32TOH 1
6281 cat >>confdefs.h
<<EOF
6282 #define HAVE_DECL_LE32TOH 0
6286 echo "$as_me:6286: checking whether le64toh is declared" >&5
6287 echo $ECHO_N "checking whether le64toh is declared... $ECHO_C" >&6
6288 if test "${ac_cv_have_decl_le64toh+set}" = set; then
6289 echo $ECHO_N "(cached) $ECHO_C" >&6
6291 cat >conftest.
$ac_ext <<_ACEOF
6292 #line 6292 "configure"
6293 #include "confdefs.h"
6294 #include <sys/types.h>
6300 char *p = (char *) le64toh;
6307 rm -f conftest.
$ac_objext
6308 if { (eval echo "$as_me:6308: \"$ac_compile\"") >&5
6309 (eval $ac_compile) 2>&5
6311 echo "$as_me:6311: \$? = $ac_status" >&5
6312 (exit $ac_status); } &&
6313 { ac_try
='test -s conftest.$ac_objext'
6314 { (eval echo "$as_me:6314: \"$ac_try\"") >&5
6317 echo "$as_me:6317: \$? = $ac_status" >&5
6318 (exit $ac_status); }; }; then
6319 ac_cv_have_decl_le64toh
=yes
6321 echo "$as_me: failed program was:" >&5
6322 cat conftest.
$ac_ext >&5
6323 ac_cv_have_decl_le64toh
=no
6325 rm -f conftest.
$ac_objext conftest.
$ac_ext
6327 echo "$as_me:6327: result: $ac_cv_have_decl_le64toh" >&5
6328 echo "${ECHO_T}$ac_cv_have_decl_le64toh" >&6
6329 if test $ac_cv_have_decl_le64toh = yes; then
6331 cat >>confdefs.h
<<EOF
6332 #define HAVE_DECL_LE64TOH 1
6336 cat >>confdefs.h
<<EOF
6337 #define HAVE_DECL_LE64TOH 0
6342 echo "$as_me:6342: checking whether bswap16 is declared" >&5
6343 echo $ECHO_N "checking whether bswap16 is declared... $ECHO_C" >&6
6344 if test "${ac_cv_have_decl_bswap16+set}" = set; then
6345 echo $ECHO_N "(cached) $ECHO_C" >&6
6347 cat >conftest.
$ac_ext <<_ACEOF
6348 #line 6348 "configure"
6349 #include "confdefs.h"
6350 #include <machine/bswap.h>
6356 char *p = (char *) bswap16;
6363 rm -f conftest.
$ac_objext
6364 if { (eval echo "$as_me:6364: \"$ac_compile\"") >&5
6365 (eval $ac_compile) 2>&5
6367 echo "$as_me:6367: \$? = $ac_status" >&5
6368 (exit $ac_status); } &&
6369 { ac_try
='test -s conftest.$ac_objext'
6370 { (eval echo "$as_me:6370: \"$ac_try\"") >&5
6373 echo "$as_me:6373: \$? = $ac_status" >&5
6374 (exit $ac_status); }; }; then
6375 ac_cv_have_decl_bswap16
=yes
6377 echo "$as_me: failed program was:" >&5
6378 cat conftest.
$ac_ext >&5
6379 ac_cv_have_decl_bswap16
=no
6381 rm -f conftest.
$ac_objext conftest.
$ac_ext
6383 echo "$as_me:6383: result: $ac_cv_have_decl_bswap16" >&5
6384 echo "${ECHO_T}$ac_cv_have_decl_bswap16" >&6
6385 if test $ac_cv_have_decl_bswap16 = yes; then
6387 cat >>confdefs.h
<<EOF
6388 #define HAVE_DECL_BSWAP16 1
6392 cat >>confdefs.h
<<EOF
6393 #define HAVE_DECL_BSWAP16 0
6397 echo "$as_me:6397: checking whether bswap32 is declared" >&5
6398 echo $ECHO_N "checking whether bswap32 is declared... $ECHO_C" >&6
6399 if test "${ac_cv_have_decl_bswap32+set}" = set; then
6400 echo $ECHO_N "(cached) $ECHO_C" >&6
6402 cat >conftest.
$ac_ext <<_ACEOF
6403 #line 6403 "configure"
6404 #include "confdefs.h"
6405 #include <machine/bswap.h>
6411 char *p = (char *) bswap32;
6418 rm -f conftest.
$ac_objext
6419 if { (eval echo "$as_me:6419: \"$ac_compile\"") >&5
6420 (eval $ac_compile) 2>&5
6422 echo "$as_me:6422: \$? = $ac_status" >&5
6423 (exit $ac_status); } &&
6424 { ac_try
='test -s conftest.$ac_objext'
6425 { (eval echo "$as_me:6425: \"$ac_try\"") >&5
6428 echo "$as_me:6428: \$? = $ac_status" >&5
6429 (exit $ac_status); }; }; then
6430 ac_cv_have_decl_bswap32
=yes
6432 echo "$as_me: failed program was:" >&5
6433 cat conftest.
$ac_ext >&5
6434 ac_cv_have_decl_bswap32
=no
6436 rm -f conftest.
$ac_objext conftest.
$ac_ext
6438 echo "$as_me:6438: result: $ac_cv_have_decl_bswap32" >&5
6439 echo "${ECHO_T}$ac_cv_have_decl_bswap32" >&6
6440 if test $ac_cv_have_decl_bswap32 = yes; then
6442 cat >>confdefs.h
<<EOF
6443 #define HAVE_DECL_BSWAP32 1
6447 cat >>confdefs.h
<<EOF
6448 #define HAVE_DECL_BSWAP32 0
6452 echo "$as_me:6452: checking whether bswap64 is declared" >&5
6453 echo $ECHO_N "checking whether bswap64 is declared... $ECHO_C" >&6
6454 if test "${ac_cv_have_decl_bswap64+set}" = set; then
6455 echo $ECHO_N "(cached) $ECHO_C" >&6
6457 cat >conftest.
$ac_ext <<_ACEOF
6458 #line 6458 "configure"
6459 #include "confdefs.h"
6460 #include <machine/bswap.h>
6466 char *p = (char *) bswap64;
6473 rm -f conftest.
$ac_objext
6474 if { (eval echo "$as_me:6474: \"$ac_compile\"") >&5
6475 (eval $ac_compile) 2>&5
6477 echo "$as_me:6477: \$? = $ac_status" >&5
6478 (exit $ac_status); } &&
6479 { ac_try
='test -s conftest.$ac_objext'
6480 { (eval echo "$as_me:6480: \"$ac_try\"") >&5
6483 echo "$as_me:6483: \$? = $ac_status" >&5
6484 (exit $ac_status); }; }; then
6485 ac_cv_have_decl_bswap64
=yes
6487 echo "$as_me: failed program was:" >&5
6488 cat conftest.
$ac_ext >&5
6489 ac_cv_have_decl_bswap64
=no
6491 rm -f conftest.
$ac_objext conftest.
$ac_ext
6493 echo "$as_me:6493: result: $ac_cv_have_decl_bswap64" >&5
6494 echo "${ECHO_T}$ac_cv_have_decl_bswap64" >&6
6495 if test $ac_cv_have_decl_bswap64 = yes; then
6497 cat >>confdefs.h
<<EOF
6498 #define HAVE_DECL_BSWAP64 1
6502 cat >>confdefs.h
<<EOF
6503 #define HAVE_DECL_BSWAP64 0
6508 echo "$as_me:6508: checking whether be16enc is declared" >&5
6509 echo $ECHO_N "checking whether be16enc is declared... $ECHO_C" >&6
6510 if test "${ac_cv_have_decl_be16enc+set}" = set; then
6511 echo $ECHO_N "(cached) $ECHO_C" >&6
6513 cat >conftest.
$ac_ext <<_ACEOF
6514 #line 6514 "configure"
6515 #include "confdefs.h"
6516 #include <sys/endian.h>
6522 char *p = (char *) be16enc;
6529 rm -f conftest.
$ac_objext
6530 if { (eval echo "$as_me:6530: \"$ac_compile\"") >&5
6531 (eval $ac_compile) 2>&5
6533 echo "$as_me:6533: \$? = $ac_status" >&5
6534 (exit $ac_status); } &&
6535 { ac_try
='test -s conftest.$ac_objext'
6536 { (eval echo "$as_me:6536: \"$ac_try\"") >&5
6539 echo "$as_me:6539: \$? = $ac_status" >&5
6540 (exit $ac_status); }; }; then
6541 ac_cv_have_decl_be16enc
=yes
6543 echo "$as_me: failed program was:" >&5
6544 cat conftest.
$ac_ext >&5
6545 ac_cv_have_decl_be16enc
=no
6547 rm -f conftest.
$ac_objext conftest.
$ac_ext
6549 echo "$as_me:6549: result: $ac_cv_have_decl_be16enc" >&5
6550 echo "${ECHO_T}$ac_cv_have_decl_be16enc" >&6
6551 if test $ac_cv_have_decl_be16enc = yes; then
6553 cat >>confdefs.h
<<EOF
6554 #define HAVE_DECL_BE16ENC 1
6558 cat >>confdefs.h
<<EOF
6559 #define HAVE_DECL_BE16ENC 0
6563 echo "$as_me:6563: checking whether le16enc is declared" >&5
6564 echo $ECHO_N "checking whether le16enc is declared... $ECHO_C" >&6
6565 if test "${ac_cv_have_decl_le16enc+set}" = set; then
6566 echo $ECHO_N "(cached) $ECHO_C" >&6
6568 cat >conftest.
$ac_ext <<_ACEOF
6569 #line 6569 "configure"
6570 #include "confdefs.h"
6571 #include <sys/endian.h>
6577 char *p = (char *) le16enc;
6584 rm -f conftest.
$ac_objext
6585 if { (eval echo "$as_me:6585: \"$ac_compile\"") >&5
6586 (eval $ac_compile) 2>&5
6588 echo "$as_me:6588: \$? = $ac_status" >&5
6589 (exit $ac_status); } &&
6590 { ac_try
='test -s conftest.$ac_objext'
6591 { (eval echo "$as_me:6591: \"$ac_try\"") >&5
6594 echo "$as_me:6594: \$? = $ac_status" >&5
6595 (exit $ac_status); }; }; then
6596 ac_cv_have_decl_le16enc
=yes
6598 echo "$as_me: failed program was:" >&5
6599 cat conftest.
$ac_ext >&5
6600 ac_cv_have_decl_le16enc
=no
6602 rm -f conftest.
$ac_objext conftest.
$ac_ext
6604 echo "$as_me:6604: result: $ac_cv_have_decl_le16enc" >&5
6605 echo "${ECHO_T}$ac_cv_have_decl_le16enc" >&6
6606 if test $ac_cv_have_decl_le16enc = yes; then
6608 cat >>confdefs.h
<<EOF
6609 #define HAVE_DECL_LE16ENC 1
6613 cat >>confdefs.h
<<EOF
6614 #define HAVE_DECL_LE16ENC 0
6618 echo "$as_me:6618: checking whether be16dec is declared" >&5
6619 echo $ECHO_N "checking whether be16dec is declared... $ECHO_C" >&6
6620 if test "${ac_cv_have_decl_be16dec+set}" = set; then
6621 echo $ECHO_N "(cached) $ECHO_C" >&6
6623 cat >conftest.
$ac_ext <<_ACEOF
6624 #line 6624 "configure"
6625 #include "confdefs.h"
6626 #include <sys/endian.h>
6632 char *p = (char *) be16dec;
6639 rm -f conftest.
$ac_objext
6640 if { (eval echo "$as_me:6640: \"$ac_compile\"") >&5
6641 (eval $ac_compile) 2>&5
6643 echo "$as_me:6643: \$? = $ac_status" >&5
6644 (exit $ac_status); } &&
6645 { ac_try
='test -s conftest.$ac_objext'
6646 { (eval echo "$as_me:6646: \"$ac_try\"") >&5
6649 echo "$as_me:6649: \$? = $ac_status" >&5
6650 (exit $ac_status); }; }; then
6651 ac_cv_have_decl_be16dec
=yes
6653 echo "$as_me: failed program was:" >&5
6654 cat conftest.
$ac_ext >&5
6655 ac_cv_have_decl_be16dec
=no
6657 rm -f conftest.
$ac_objext conftest.
$ac_ext
6659 echo "$as_me:6659: result: $ac_cv_have_decl_be16dec" >&5
6660 echo "${ECHO_T}$ac_cv_have_decl_be16dec" >&6
6661 if test $ac_cv_have_decl_be16dec = yes; then
6663 cat >>confdefs.h
<<EOF
6664 #define HAVE_DECL_BE16DEC 1
6668 cat >>confdefs.h
<<EOF
6669 #define HAVE_DECL_BE16DEC 0
6673 echo "$as_me:6673: checking whether le16dec is declared" >&5
6674 echo $ECHO_N "checking whether le16dec is declared... $ECHO_C" >&6
6675 if test "${ac_cv_have_decl_le16dec+set}" = set; then
6676 echo $ECHO_N "(cached) $ECHO_C" >&6
6678 cat >conftest.
$ac_ext <<_ACEOF
6679 #line 6679 "configure"
6680 #include "confdefs.h"
6681 #include <sys/endian.h>
6687 char *p = (char *) le16dec;
6694 rm -f conftest.
$ac_objext
6695 if { (eval echo "$as_me:6695: \"$ac_compile\"") >&5
6696 (eval $ac_compile) 2>&5
6698 echo "$as_me:6698: \$? = $ac_status" >&5
6699 (exit $ac_status); } &&
6700 { ac_try
='test -s conftest.$ac_objext'
6701 { (eval echo "$as_me:6701: \"$ac_try\"") >&5
6704 echo "$as_me:6704: \$? = $ac_status" >&5
6705 (exit $ac_status); }; }; then
6706 ac_cv_have_decl_le16dec
=yes
6708 echo "$as_me: failed program was:" >&5
6709 cat conftest.
$ac_ext >&5
6710 ac_cv_have_decl_le16dec
=no
6712 rm -f conftest.
$ac_objext conftest.
$ac_ext
6714 echo "$as_me:6714: result: $ac_cv_have_decl_le16dec" >&5
6715 echo "${ECHO_T}$ac_cv_have_decl_le16dec" >&6
6716 if test $ac_cv_have_decl_le16dec = yes; then
6718 cat >>confdefs.h
<<EOF
6719 #define HAVE_DECL_LE16DEC 1
6723 cat >>confdefs.h
<<EOF
6724 #define HAVE_DECL_LE16DEC 0
6728 echo "$as_me:6728: checking whether be32enc is declared" >&5
6729 echo $ECHO_N "checking whether be32enc is declared... $ECHO_C" >&6
6730 if test "${ac_cv_have_decl_be32enc+set}" = set; then
6731 echo $ECHO_N "(cached) $ECHO_C" >&6
6733 cat >conftest.
$ac_ext <<_ACEOF
6734 #line 6734 "configure"
6735 #include "confdefs.h"
6736 #include <sys/endian.h>
6742 char *p = (char *) be32enc;
6749 rm -f conftest.
$ac_objext
6750 if { (eval echo "$as_me:6750: \"$ac_compile\"") >&5
6751 (eval $ac_compile) 2>&5
6753 echo "$as_me:6753: \$? = $ac_status" >&5
6754 (exit $ac_status); } &&
6755 { ac_try
='test -s conftest.$ac_objext'
6756 { (eval echo "$as_me:6756: \"$ac_try\"") >&5
6759 echo "$as_me:6759: \$? = $ac_status" >&5
6760 (exit $ac_status); }; }; then
6761 ac_cv_have_decl_be32enc
=yes
6763 echo "$as_me: failed program was:" >&5
6764 cat conftest.
$ac_ext >&5
6765 ac_cv_have_decl_be32enc
=no
6767 rm -f conftest.
$ac_objext conftest.
$ac_ext
6769 echo "$as_me:6769: result: $ac_cv_have_decl_be32enc" >&5
6770 echo "${ECHO_T}$ac_cv_have_decl_be32enc" >&6
6771 if test $ac_cv_have_decl_be32enc = yes; then
6773 cat >>confdefs.h
<<EOF
6774 #define HAVE_DECL_BE32ENC 1
6778 cat >>confdefs.h
<<EOF
6779 #define HAVE_DECL_BE32ENC 0
6783 echo "$as_me:6783: checking whether le32enc is declared" >&5
6784 echo $ECHO_N "checking whether le32enc is declared... $ECHO_C" >&6
6785 if test "${ac_cv_have_decl_le32enc+set}" = set; then
6786 echo $ECHO_N "(cached) $ECHO_C" >&6
6788 cat >conftest.
$ac_ext <<_ACEOF
6789 #line 6789 "configure"
6790 #include "confdefs.h"
6791 #include <sys/endian.h>
6797 char *p = (char *) le32enc;
6804 rm -f conftest.
$ac_objext
6805 if { (eval echo "$as_me:6805: \"$ac_compile\"") >&5
6806 (eval $ac_compile) 2>&5
6808 echo "$as_me:6808: \$? = $ac_status" >&5
6809 (exit $ac_status); } &&
6810 { ac_try
='test -s conftest.$ac_objext'
6811 { (eval echo "$as_me:6811: \"$ac_try\"") >&5
6814 echo "$as_me:6814: \$? = $ac_status" >&5
6815 (exit $ac_status); }; }; then
6816 ac_cv_have_decl_le32enc
=yes
6818 echo "$as_me: failed program was:" >&5
6819 cat conftest.
$ac_ext >&5
6820 ac_cv_have_decl_le32enc
=no
6822 rm -f conftest.
$ac_objext conftest.
$ac_ext
6824 echo "$as_me:6824: result: $ac_cv_have_decl_le32enc" >&5
6825 echo "${ECHO_T}$ac_cv_have_decl_le32enc" >&6
6826 if test $ac_cv_have_decl_le32enc = yes; then
6828 cat >>confdefs.h
<<EOF
6829 #define HAVE_DECL_LE32ENC 1
6833 cat >>confdefs.h
<<EOF
6834 #define HAVE_DECL_LE32ENC 0
6838 echo "$as_me:6838: checking whether be32dec is declared" >&5
6839 echo $ECHO_N "checking whether be32dec is declared... $ECHO_C" >&6
6840 if test "${ac_cv_have_decl_be32dec+set}" = set; then
6841 echo $ECHO_N "(cached) $ECHO_C" >&6
6843 cat >conftest.
$ac_ext <<_ACEOF
6844 #line 6844 "configure"
6845 #include "confdefs.h"
6846 #include <sys/endian.h>
6852 char *p = (char *) be32dec;
6859 rm -f conftest.
$ac_objext
6860 if { (eval echo "$as_me:6860: \"$ac_compile\"") >&5
6861 (eval $ac_compile) 2>&5
6863 echo "$as_me:6863: \$? = $ac_status" >&5
6864 (exit $ac_status); } &&
6865 { ac_try
='test -s conftest.$ac_objext'
6866 { (eval echo "$as_me:6866: \"$ac_try\"") >&5
6869 echo "$as_me:6869: \$? = $ac_status" >&5
6870 (exit $ac_status); }; }; then
6871 ac_cv_have_decl_be32dec
=yes
6873 echo "$as_me: failed program was:" >&5
6874 cat conftest.
$ac_ext >&5
6875 ac_cv_have_decl_be32dec
=no
6877 rm -f conftest.
$ac_objext conftest.
$ac_ext
6879 echo "$as_me:6879: result: $ac_cv_have_decl_be32dec" >&5
6880 echo "${ECHO_T}$ac_cv_have_decl_be32dec" >&6
6881 if test $ac_cv_have_decl_be32dec = yes; then
6883 cat >>confdefs.h
<<EOF
6884 #define HAVE_DECL_BE32DEC 1
6888 cat >>confdefs.h
<<EOF
6889 #define HAVE_DECL_BE32DEC 0
6893 echo "$as_me:6893: checking whether le32dec is declared" >&5
6894 echo $ECHO_N "checking whether le32dec is declared... $ECHO_C" >&6
6895 if test "${ac_cv_have_decl_le32dec+set}" = set; then
6896 echo $ECHO_N "(cached) $ECHO_C" >&6
6898 cat >conftest.
$ac_ext <<_ACEOF
6899 #line 6899 "configure"
6900 #include "confdefs.h"
6901 #include <sys/endian.h>
6907 char *p = (char *) le32dec;
6914 rm -f conftest.
$ac_objext
6915 if { (eval echo "$as_me:6915: \"$ac_compile\"") >&5
6916 (eval $ac_compile) 2>&5
6918 echo "$as_me:6918: \$? = $ac_status" >&5
6919 (exit $ac_status); } &&
6920 { ac_try
='test -s conftest.$ac_objext'
6921 { (eval echo "$as_me:6921: \"$ac_try\"") >&5
6924 echo "$as_me:6924: \$? = $ac_status" >&5
6925 (exit $ac_status); }; }; then
6926 ac_cv_have_decl_le32dec
=yes
6928 echo "$as_me: failed program was:" >&5
6929 cat conftest.
$ac_ext >&5
6930 ac_cv_have_decl_le32dec
=no
6932 rm -f conftest.
$ac_objext conftest.
$ac_ext
6934 echo "$as_me:6934: result: $ac_cv_have_decl_le32dec" >&5
6935 echo "${ECHO_T}$ac_cv_have_decl_le32dec" >&6
6936 if test $ac_cv_have_decl_le32dec = yes; then
6938 cat >>confdefs.h
<<EOF
6939 #define HAVE_DECL_LE32DEC 1
6943 cat >>confdefs.h
<<EOF
6944 #define HAVE_DECL_LE32DEC 0
6948 echo "$as_me:6948: checking whether be64enc is declared" >&5
6949 echo $ECHO_N "checking whether be64enc is declared... $ECHO_C" >&6
6950 if test "${ac_cv_have_decl_be64enc+set}" = set; then
6951 echo $ECHO_N "(cached) $ECHO_C" >&6
6953 cat >conftest.
$ac_ext <<_ACEOF
6954 #line 6954 "configure"
6955 #include "confdefs.h"
6956 #include <sys/endian.h>
6962 char *p = (char *) be64enc;
6969 rm -f conftest.
$ac_objext
6970 if { (eval echo "$as_me:6970: \"$ac_compile\"") >&5
6971 (eval $ac_compile) 2>&5
6973 echo "$as_me:6973: \$? = $ac_status" >&5
6974 (exit $ac_status); } &&
6975 { ac_try
='test -s conftest.$ac_objext'
6976 { (eval echo "$as_me:6976: \"$ac_try\"") >&5
6979 echo "$as_me:6979: \$? = $ac_status" >&5
6980 (exit $ac_status); }; }; then
6981 ac_cv_have_decl_be64enc
=yes
6983 echo "$as_me: failed program was:" >&5
6984 cat conftest.
$ac_ext >&5
6985 ac_cv_have_decl_be64enc
=no
6987 rm -f conftest.
$ac_objext conftest.
$ac_ext
6989 echo "$as_me:6989: result: $ac_cv_have_decl_be64enc" >&5
6990 echo "${ECHO_T}$ac_cv_have_decl_be64enc" >&6
6991 if test $ac_cv_have_decl_be64enc = yes; then
6993 cat >>confdefs.h
<<EOF
6994 #define HAVE_DECL_BE64ENC 1
6998 cat >>confdefs.h
<<EOF
6999 #define HAVE_DECL_BE64ENC 0
7003 echo "$as_me:7003: checking whether le64enc is declared" >&5
7004 echo $ECHO_N "checking whether le64enc is declared... $ECHO_C" >&6
7005 if test "${ac_cv_have_decl_le64enc+set}" = set; then
7006 echo $ECHO_N "(cached) $ECHO_C" >&6
7008 cat >conftest.
$ac_ext <<_ACEOF
7009 #line 7009 "configure"
7010 #include "confdefs.h"
7011 #include <sys/endian.h>
7017 char *p = (char *) le64enc;
7024 rm -f conftest.
$ac_objext
7025 if { (eval echo "$as_me:7025: \"$ac_compile\"") >&5
7026 (eval $ac_compile) 2>&5
7028 echo "$as_me:7028: \$? = $ac_status" >&5
7029 (exit $ac_status); } &&
7030 { ac_try
='test -s conftest.$ac_objext'
7031 { (eval echo "$as_me:7031: \"$ac_try\"") >&5
7034 echo "$as_me:7034: \$? = $ac_status" >&5
7035 (exit $ac_status); }; }; then
7036 ac_cv_have_decl_le64enc
=yes
7038 echo "$as_me: failed program was:" >&5
7039 cat conftest.
$ac_ext >&5
7040 ac_cv_have_decl_le64enc
=no
7042 rm -f conftest.
$ac_objext conftest.
$ac_ext
7044 echo "$as_me:7044: result: $ac_cv_have_decl_le64enc" >&5
7045 echo "${ECHO_T}$ac_cv_have_decl_le64enc" >&6
7046 if test $ac_cv_have_decl_le64enc = yes; then
7048 cat >>confdefs.h
<<EOF
7049 #define HAVE_DECL_LE64ENC 1
7053 cat >>confdefs.h
<<EOF
7054 #define HAVE_DECL_LE64ENC 0
7058 echo "$as_me:7058: checking whether be64dec is declared" >&5
7059 echo $ECHO_N "checking whether be64dec is declared... $ECHO_C" >&6
7060 if test "${ac_cv_have_decl_be64dec+set}" = set; then
7061 echo $ECHO_N "(cached) $ECHO_C" >&6
7063 cat >conftest.
$ac_ext <<_ACEOF
7064 #line 7064 "configure"
7065 #include "confdefs.h"
7066 #include <sys/endian.h>
7072 char *p = (char *) be64dec;
7079 rm -f conftest.
$ac_objext
7080 if { (eval echo "$as_me:7080: \"$ac_compile\"") >&5
7081 (eval $ac_compile) 2>&5
7083 echo "$as_me:7083: \$? = $ac_status" >&5
7084 (exit $ac_status); } &&
7085 { ac_try
='test -s conftest.$ac_objext'
7086 { (eval echo "$as_me:7086: \"$ac_try\"") >&5
7089 echo "$as_me:7089: \$? = $ac_status" >&5
7090 (exit $ac_status); }; }; then
7091 ac_cv_have_decl_be64dec
=yes
7093 echo "$as_me: failed program was:" >&5
7094 cat conftest.
$ac_ext >&5
7095 ac_cv_have_decl_be64dec
=no
7097 rm -f conftest.
$ac_objext conftest.
$ac_ext
7099 echo "$as_me:7099: result: $ac_cv_have_decl_be64dec" >&5
7100 echo "${ECHO_T}$ac_cv_have_decl_be64dec" >&6
7101 if test $ac_cv_have_decl_be64dec = yes; then
7103 cat >>confdefs.h
<<EOF
7104 #define HAVE_DECL_BE64DEC 1
7108 cat >>confdefs.h
<<EOF
7109 #define HAVE_DECL_BE64DEC 0
7113 echo "$as_me:7113: checking whether le64dec is declared" >&5
7114 echo $ECHO_N "checking whether le64dec is declared... $ECHO_C" >&6
7115 if test "${ac_cv_have_decl_le64dec+set}" = set; then
7116 echo $ECHO_N "(cached) $ECHO_C" >&6
7118 cat >conftest.
$ac_ext <<_ACEOF
7119 #line 7119 "configure"
7120 #include "confdefs.h"
7121 #include <sys/endian.h>
7127 char *p = (char *) le64dec;
7134 rm -f conftest.
$ac_objext
7135 if { (eval echo "$as_me:7135: \"$ac_compile\"") >&5
7136 (eval $ac_compile) 2>&5
7138 echo "$as_me:7138: \$? = $ac_status" >&5
7139 (exit $ac_status); } &&
7140 { ac_try
='test -s conftest.$ac_objext'
7141 { (eval echo "$as_me:7141: \"$ac_try\"") >&5
7144 echo "$as_me:7144: \$? = $ac_status" >&5
7145 (exit $ac_status); }; }; then
7146 ac_cv_have_decl_le64dec
=yes
7148 echo "$as_me: failed program was:" >&5
7149 cat conftest.
$ac_ext >&5
7150 ac_cv_have_decl_le64dec
=no
7152 rm -f conftest.
$ac_objext conftest.
$ac_ext
7154 echo "$as_me:7154: result: $ac_cv_have_decl_le64dec" >&5
7155 echo "${ECHO_T}$ac_cv_have_decl_le64dec" >&6
7156 if test $ac_cv_have_decl_le64dec = yes; then
7158 cat >>confdefs.h
<<EOF
7159 #define HAVE_DECL_LE64DEC 1
7163 cat >>confdefs.h
<<EOF
7164 #define HAVE_DECL_LE64DEC 0
7169 echo "$as_me:7169: checking whether fstatvfs is declared" >&5
7170 echo $ECHO_N "checking whether fstatvfs is declared... $ECHO_C" >&6
7171 if test "${ac_cv_have_decl_fstatvfs+set}" = set; then
7172 echo $ECHO_N "(cached) $ECHO_C" >&6
7174 cat >conftest.
$ac_ext <<_ACEOF
7175 #line 7175 "configure"
7176 #include "confdefs.h"
7177 #include <sys/statvfs.h>
7183 char *p = (char *) fstatvfs;
7190 rm -f conftest.
$ac_objext
7191 if { (eval echo "$as_me:7191: \"$ac_compile\"") >&5
7192 (eval $ac_compile) 2>&5
7194 echo "$as_me:7194: \$? = $ac_status" >&5
7195 (exit $ac_status); } &&
7196 { ac_try
='test -s conftest.$ac_objext'
7197 { (eval echo "$as_me:7197: \"$ac_try\"") >&5
7200 echo "$as_me:7200: \$? = $ac_status" >&5
7201 (exit $ac_status); }; }; then
7202 ac_cv_have_decl_fstatvfs
=yes
7204 echo "$as_me: failed program was:" >&5
7205 cat conftest.
$ac_ext >&5
7206 ac_cv_have_decl_fstatvfs
=no
7208 rm -f conftest.
$ac_objext conftest.
$ac_ext
7210 echo "$as_me:7210: result: $ac_cv_have_decl_fstatvfs" >&5
7211 echo "${ECHO_T}$ac_cv_have_decl_fstatvfs" >&6
7212 if test $ac_cv_have_decl_fstatvfs = yes; then
7214 cat >>confdefs.h
<<EOF
7215 #define HAVE_DECL_FSTATVFS 1
7219 cat >>confdefs.h
<<EOF
7220 #define HAVE_DECL_FSTATVFS 0
7225 echo "$as_me:7225: checking whether setgroupent is declared" >&5
7226 echo $ECHO_N "checking whether setgroupent is declared... $ECHO_C" >&6
7227 if test "${ac_cv_have_decl_setgroupent+set}" = set; then
7228 echo $ECHO_N "(cached) $ECHO_C" >&6
7230 cat >conftest.
$ac_ext <<_ACEOF
7231 #line 7231 "configure"
7232 #include "confdefs.h"
7234 #include <sys/types.h>
7242 char *p = (char *) setgroupent;
7249 rm -f conftest.
$ac_objext
7250 if { (eval echo "$as_me:7250: \"$ac_compile\"") >&5
7251 (eval $ac_compile) 2>&5
7253 echo "$as_me:7253: \$? = $ac_status" >&5
7254 (exit $ac_status); } &&
7255 { ac_try
='test -s conftest.$ac_objext'
7256 { (eval echo "$as_me:7256: \"$ac_try\"") >&5
7259 echo "$as_me:7259: \$? = $ac_status" >&5
7260 (exit $ac_status); }; }; then
7261 ac_cv_have_decl_setgroupent
=yes
7263 echo "$as_me: failed program was:" >&5
7264 cat conftest.
$ac_ext >&5
7265 ac_cv_have_decl_setgroupent
=no
7267 rm -f conftest.
$ac_objext conftest.
$ac_ext
7269 echo "$as_me:7269: result: $ac_cv_have_decl_setgroupent" >&5
7270 echo "${ECHO_T}$ac_cv_have_decl_setgroupent" >&6
7271 if test $ac_cv_have_decl_setgroupent = yes; then
7273 cat >>confdefs.h
<<EOF
7274 #define HAVE_DECL_SETGROUPENT 1
7278 cat >>confdefs.h
<<EOF
7279 #define HAVE_DECL_SETGROUPENT 0
7283 echo "$as_me:7283: checking whether setpassent is declared" >&5
7284 echo $ECHO_N "checking whether setpassent is declared... $ECHO_C" >&6
7285 if test "${ac_cv_have_decl_setpassent+set}" = set; then
7286 echo $ECHO_N "(cached) $ECHO_C" >&6
7288 cat >conftest.
$ac_ext <<_ACEOF
7289 #line 7289 "configure"
7290 #include "confdefs.h"
7292 #include <sys/types.h>
7300 char *p = (char *) setpassent;
7307 rm -f conftest.
$ac_objext
7308 if { (eval echo "$as_me:7308: \"$ac_compile\"") >&5
7309 (eval $ac_compile) 2>&5
7311 echo "$as_me:7311: \$? = $ac_status" >&5
7312 (exit $ac_status); } &&
7313 { ac_try
='test -s conftest.$ac_objext'
7314 { (eval echo "$as_me:7314: \"$ac_try\"") >&5
7317 echo "$as_me:7317: \$? = $ac_status" >&5
7318 (exit $ac_status); }; }; then
7319 ac_cv_have_decl_setpassent
=yes
7321 echo "$as_me: failed program was:" >&5
7322 cat conftest.
$ac_ext >&5
7323 ac_cv_have_decl_setpassent
=no
7325 rm -f conftest.
$ac_objext conftest.
$ac_ext
7327 echo "$as_me:7327: result: $ac_cv_have_decl_setpassent" >&5
7328 echo "${ECHO_T}$ac_cv_have_decl_setpassent" >&6
7329 if test $ac_cv_have_decl_setpassent = yes; then
7331 cat >>confdefs.h
<<EOF
7332 #define HAVE_DECL_SETPASSENT 1
7336 cat >>confdefs.h
<<EOF
7337 #define HAVE_DECL_SETPASSENT 0
7342 # regcomp() and regexec() are also names of functions in the old V8
7343 # regexp package. To avoid them, we need to find out who has regfree().
7345 echo "$as_me:7345: checking for regfree in -lregex" >&5
7346 echo $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6
7347 if test "${ac_cv_lib_regex_regfree+set}" = set; then
7348 echo $ECHO_N "(cached) $ECHO_C" >&6
7350 ac_check_lib_save_LIBS
=$LIBS
7351 LIBS
="-lregex $LIBS"
7352 cat >conftest.
$ac_ext <<_ACEOF
7353 #line 7353 "configure"
7354 #include "confdefs.h"
7356 /* Override any gcc2 internal prototype to avoid an error. */
7360 /* We use char because int might match the return type of a gcc2
7361 builtin and then its argument prototype would still apply. */
7371 rm -f conftest.
$ac_objext conftest
$ac_exeext
7372 if { (eval echo "$as_me:7372: \"$ac_link\"") >&5
7373 (eval $ac_link) 2>&5
7375 echo "$as_me:7375: \$? = $ac_status" >&5
7376 (exit $ac_status); } &&
7377 { ac_try
='test -s conftest$ac_exeext'
7378 { (eval echo "$as_me:7378: \"$ac_try\"") >&5
7381 echo "$as_me:7381: \$? = $ac_status" >&5
7382 (exit $ac_status); }; }; then
7383 ac_cv_lib_regex_regfree
=yes
7385 echo "$as_me: failed program was:" >&5
7386 cat conftest.
$ac_ext >&5
7387 ac_cv_lib_regex_regfree
=no
7389 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7390 LIBS
=$ac_check_lib_save_LIBS
7392 echo "$as_me:7392: result: $ac_cv_lib_regex_regfree" >&5
7393 echo "${ECHO_T}$ac_cv_lib_regex_regfree" >&6
7394 if test $ac_cv_lib_regex_regfree = yes; then
7395 cat >>confdefs.h
<<EOF
7396 #define HAVE_LIBREGEX 1
7399 LIBS
="-lregex $LIBS"
7403 echo "$as_me:7403: checking for library containing regfree" >&5
7404 echo $ECHO_N "checking for library containing regfree... $ECHO_C" >&6
7405 if test "${ac_cv_search_regfree+set}" = set; then
7406 echo $ECHO_N "(cached) $ECHO_C" >&6
7408 ac_func_search_save_LIBS
=$LIBS
7409 ac_cv_search_regfree
=no
7410 cat >conftest.
$ac_ext <<_ACEOF
7411 #line 7411 "configure"
7412 #include "confdefs.h"
7414 /* Override any gcc2 internal prototype to avoid an error. */
7418 /* We use char because int might match the return type of a gcc2
7419 builtin and then its argument prototype would still apply. */
7429 rm -f conftest.
$ac_objext conftest
$ac_exeext
7430 if { (eval echo "$as_me:7430: \"$ac_link\"") >&5
7431 (eval $ac_link) 2>&5
7433 echo "$as_me:7433: \$? = $ac_status" >&5
7434 (exit $ac_status); } &&
7435 { ac_try
='test -s conftest$ac_exeext'
7436 { (eval echo "$as_me:7436: \"$ac_try\"") >&5
7439 echo "$as_me:7439: \$? = $ac_status" >&5
7440 (exit $ac_status); }; }; then
7441 ac_cv_search_regfree
="none required"
7443 echo "$as_me: failed program was:" >&5
7444 cat conftest.
$ac_ext >&5
7446 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7447 if test "$ac_cv_search_regfree" = no
; then
7448 for ac_lib
in rx posix
; do
7449 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7450 cat >conftest.
$ac_ext <<_ACEOF
7451 #line 7451 "configure"
7452 #include "confdefs.h"
7454 /* Override any gcc2 internal prototype to avoid an error. */
7458 /* We use char because int might match the return type of a gcc2
7459 builtin and then its argument prototype would still apply. */
7469 rm -f conftest.
$ac_objext conftest
$ac_exeext
7470 if { (eval echo "$as_me:7470: \"$ac_link\"") >&5
7471 (eval $ac_link) 2>&5
7473 echo "$as_me:7473: \$? = $ac_status" >&5
7474 (exit $ac_status); } &&
7475 { ac_try
='test -s conftest$ac_exeext'
7476 { (eval echo "$as_me:7476: \"$ac_try\"") >&5
7479 echo "$as_me:7479: \$? = $ac_status" >&5
7480 (exit $ac_status); }; }; then
7481 ac_cv_search_regfree
="-l$ac_lib"
7484 echo "$as_me: failed program was:" >&5
7485 cat conftest.
$ac_ext >&5
7487 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7490 LIBS
=$ac_func_search_save_LIBS
7492 echo "$as_me:7492: result: $ac_cv_search_regfree" >&5
7493 echo "${ECHO_T}$ac_cv_search_regfree" >&6
7494 if test "$ac_cv_search_regfree" != no
; then
7495 test "$ac_cv_search_regfree" = "none required" || LIBS
="$ac_cv_search_regfree $LIBS"
7499 for ac_func
in fparseln
7501 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7502 echo "$as_me:7502: checking for $ac_func" >&5
7503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7504 if eval "test \"\${$as_ac_var+set}\" = set"; then
7505 echo $ECHO_N "(cached) $ECHO_C" >&6
7507 cat >conftest.
$ac_ext <<_ACEOF
7508 #line 7508 "configure"
7509 #include "confdefs.h"
7510 /* System header to define __stub macros and hopefully few prototypes,
7511 which can conflict with char $ac_func (); below. */
7513 /* Override any gcc2 internal prototype to avoid an error. */
7517 /* We use char because int might match the return type of a gcc2
7518 builtin and then its argument prototype would still apply. */
7525 /* The GNU C library defines this for functions which it implements
7526 to always fail with ENOSYS. Some functions are actually named
7527 something starting with __ and the normal name is an alias. */
7528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7538 rm -f conftest.
$ac_objext conftest
$ac_exeext
7539 if { (eval echo "$as_me:7539: \"$ac_link\"") >&5
7540 (eval $ac_link) 2>&5
7542 echo "$as_me:7542: \$? = $ac_status" >&5
7543 (exit $ac_status); } &&
7544 { ac_try
='test -s conftest$ac_exeext'
7545 { (eval echo "$as_me:7545: \"$ac_try\"") >&5
7548 echo "$as_me:7548: \$? = $ac_status" >&5
7549 (exit $ac_status); }; }; then
7550 eval "$as_ac_var=yes"
7552 echo "$as_me: failed program was:" >&5
7553 cat conftest.
$ac_ext >&5
7554 eval "$as_ac_var=no"
7556 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7558 echo "$as_me:7558: result: `eval echo '${'$as_ac_var'}'`" >&5
7559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7560 if test `eval echo '${'$as_ac_var'}'` = yes; then
7561 cat >>confdefs.h
<<EOF
7562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7565 echo "$as_me:7565: checking if fparseln seems to work" >&5
7566 echo $ECHO_N "checking if fparseln seems to work... $ECHO_C" >&6
7567 if test "$cross_compiling" = yes; then
7568 { echo "$as_me:7568: WARNING: cross compiling: not checking farseln" >&5
7569 echo "$as_me: WARNING: cross compiling: not checking farseln" >&2;}
7572 cat >conftest.
$ac_ext <<_ACEOF
7573 #line 7573 "configure"
7574 #include "confdefs.h"
7576 #define _NETBSD_SOURCE
7579 #define CONFTEST "conftest.fparseln"
7584 static const char delim[3] = { '\0', '\0', COMMENT };
7587 fp = fopen(CONFTEST, "w+");
7590 ungetc(COMMENT, fp);
7591 ptr = fparseln(fp, NULL, NULL, delim,
7601 rm -f conftest
$ac_exeext
7602 if { (eval echo "$as_me:7602: \"$ac_link\"") >&5
7603 (eval $ac_link) 2>&5
7605 echo "$as_me:7605: \$? = $ac_status" >&5
7606 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7607 { (eval echo "$as_me:7607: \"$ac_try\"") >&5
7610 echo "$as_me:7610: \$? = $ac_status" >&5
7611 (exit $ac_status); }; }; then
7612 echo "$as_me:7612: result: yes" >&5
7613 echo "${ECHO_T}yes" >&6
7615 echo "$as_me: program exited with status $ac_status" >&5
7616 echo "$as_me: failed program was:" >&5
7617 cat conftest.
$ac_ext >&5
7618 echo "$as_me:7618: result: no" >&5
7619 echo "${ECHO_T}no" >&6
7621 cat >>confdefs.h
<<\EOF
7622 #define BROKEN_FPARSELN 1
7626 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7632 cat >confcache
<<\_ACEOF
7633 # This file is a shell script that caches the results of configure
7634 # tests run on this system so they can be shared between configure
7635 # scripts and configure runs, see configure's option --config-cache.
7636 # It is not useful on other systems. If it contains results you don't
7637 # want to keep, you may remove or edit it.
7639 # config.status only pays attention to the cache file if you give it
7640 # the --recheck option to rerun configure.
7642 # `ac_cv_env_foo' variables (set or unset) will be overriden when
7643 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7648 # The following way of writing the cache mishandles newlines in values,
7649 # but we know of no workaround that is simple, portable, and efficient.
7650 # So, don't put newlines in cache variables' values.
7651 # Ultrix sh set writes to stderr and can't be redirected directly,
7652 # and sets the high bit in the cache file unless we assign to the vars.
7655 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7657 # `set' does not quote correctly, so add quotes (double-quote
7658 # substitution turns \\\\ into \\, and sed turns \\ into \).
7661 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7664 # `set' quotes correctly as required by POSIX, so do not add quotes.
7666 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7673 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7675 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7677 if cmp -s $cache_file confcache
; then :; else
7678 if test -w $cache_file; then
7679 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7680 cat confcache
>$cache_file
7682 echo "not updating unwritable cache $cache_file"
7687 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7688 # Let make expand exec_prefix.
7689 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7691 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7692 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7693 # trailing colons and then remove the whole line if VPATH becomes empty
7694 # (actually we leave an empty line to preserve line numbers).
7695 if test "x$srcdir" = x.
; then
7696 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7697 s/:*\$(srcdir):*/:/;
7698 s/:*\${srcdir}:*/:/;
7700 s/^\([^=]*=[ ]*\):*/\1/;
7706 DEFS
=-DHAVE_CONFIG_H
7708 : ${CONFIG_STATUS=./config.status}
7709 ac_clean_files_save
=$ac_clean_files
7710 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7711 { echo "$as_me:7711: creating $CONFIG_STATUS" >&5
7712 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7713 cat >$CONFIG_STATUS <<_ACEOF
7715 # Generated automatically by configure.
7716 # Run this file to recreate the current configuration.
7717 # Compiler output produced by configure, useful for debugging
7718 # configure, is in config.log if it exists.
7721 SHELL=\${CONFIG_SHELL-$SHELL}
7722 ac_cs_invocation="\$0 \$@"
7726 cat >>$CONFIG_STATUS <<\_ACEOF
7727 # Be Bourne compatible
7728 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7731 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
7735 # Name of the executable.
7736 as_me
=`echo "$0" |sed 's,.*[\\/],,'`
7738 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7744 rm -f conf$$ conf$$.exe conf$$.
file
7746 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7747 # We could just check for DJGPP; but this test a) works b) is more generic
7748 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7749 if test -f conf$$.exe
; then
7750 # Don't use ln at all; we don't have any links
7755 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7760 rm -f conf$$ conf$$.exe conf$$.
file
7762 as_executable_p
="test -f"
7764 # Support unset when possible.
7765 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
7772 $as_unset LANG ||
test "${LANG+set}" != set ||
{ LANG
=C
; export LANG
; }
7773 $as_unset LC_ALL ||
test "${LC_ALL+set}" != set ||
{ LC_ALL
=C
; export LC_ALL
; }
7774 $as_unset LC_TIME ||
test "${LC_TIME+set}" != set ||
{ LC_TIME
=C
; export LC_TIME
; }
7775 $as_unset LC_CTYPE ||
test "${LC_CTYPE+set}" != set ||
{ LC_CTYPE
=C
; export LC_CTYPE
; }
7776 $as_unset LANGUAGE ||
test "${LANGUAGE+set}" != set ||
{ LANGUAGE
=C
; export LANGUAGE
; }
7777 $as_unset LC_COLLATE ||
test "${LC_COLLATE+set}" != set ||
{ LC_COLLATE
=C
; export LC_COLLATE
; }
7778 $as_unset LC_NUMERIC ||
test "${LC_NUMERIC+set}" != set ||
{ LC_NUMERIC
=C
; export LC_NUMERIC
; }
7779 $as_unset LC_MESSAGES ||
test "${LC_MESSAGES+set}" != set ||
{ LC_MESSAGES
=C
; export LC_MESSAGES
; }
7782 # We need space, tab and new line, in precisely that order.
7788 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=:; export CDPATH
; }
7794 # Files that config.status was made for.
7795 if test -n "$ac_config_files"; then
7796 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7799 if test -n "$ac_config_headers"; then
7800 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7803 if test -n "$ac_config_links"; then
7804 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7807 if test -n "$ac_config_commands"; then
7808 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7811 cat >>$CONFIG_STATUS <<\EOF
7814 \`$as_me' instantiates files from templates according to the
7815 current configuration.
7817 Usage: $0 [OPTIONS] [FILE]...
7819 -h, --help print this help, then exit
7820 -V, --version print version number, then exit
7821 -d, --debug don't remove temporary files
7822 --recheck update $as_me by reconfiguring in the same conditions
7823 --file=FILE[:TEMPLATE]
7824 instantiate the configuration file FILE
7825 --header=FILE[:TEMPLATE]
7826 instantiate the configuration header FILE
7828 Configuration files:
7831 Configuration headers:
7834 Report bugs to <bug-autoconf@gnu.org>."
7837 cat >>$CONFIG_STATUS <<EOF
7839 libnbcompat config.status noversion
7840 configured by $0, generated by GNU Autoconf 2.52,
7841 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7843 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
7844 Free Software Foundation, Inc.
7845 This config.status script is free software; the Free Software Foundation
7846 gives unlimited permission to copy, distribute and modify it."
7850 cat >>$CONFIG_STATUS <<\EOF
7851 # If no file are specified by the user, then we need to provide default
7852 # value. By we need to know if files were specified by the user.
7858 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7859 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7861 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
7865 *) # This is not an option, so the user has probably given explicit
7867 ac_need_defaults
=false
;;
7871 # Handling of the options.
7873 cat >>$CONFIG_STATUS <<EOF
7874 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7875 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
7876 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
7878 cat >>$CONFIG_STATUS <<\EOF
7879 --version |
--vers* |
-V )
7880 echo "$ac_cs_version"; exit 0 ;;
7882 # Conflict between --help and --header
7883 { { echo "$as_me:7883: error: ambiguous option: $1
7884 Try \`$0 --help' for more information." >&5
7885 echo "$as_me: error: ambiguous option: $1
7886 Try \`$0 --help' for more information." >&2;}
7887 { (exit 1); exit 1; }; };;
7888 --help |
--hel |
-h )
7889 echo "$ac_cs_usage"; exit 0 ;;
7890 --debug |
--d* |
-d )
7892 --file |
--fil |
--fi |
--f )
7894 CONFIG_FILES
="$CONFIG_FILES $1"
7895 ac_need_defaults
=false
;;
7896 --header |
--heade |
--head |
--hea )
7898 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
7899 ac_need_defaults
=false
;;
7902 -*) { { echo "$as_me:7902: error: unrecognized option: $1
7903 Try \`$0 --help' for more information." >&5
7904 echo "$as_me: error: unrecognized option: $1
7905 Try \`$0 --help' for more information." >&2;}
7906 { (exit 1); exit 1; }; } ;;
7908 *) ac_config_targets
="$ac_config_targets $1" ;;
7917 ## ----------------------- ##
7918 ## Running config.status. ##
7919 ## ----------------------- ##
7921 This file was extended by $as_me (libnbcompat noversion) 2.52, executed with
7922 CONFIG_FILES = $CONFIG_FILES
7923 CONFIG_HEADERS = $CONFIG_HEADERS
7924 CONFIG_LINKS = $CONFIG_LINKS
7925 CONFIG_COMMANDS = $CONFIG_COMMANDS
7927 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7932 cat >>$CONFIG_STATUS <<\EOF
7933 for ac_config_target
in $ac_config_targets
7935 case "$ac_config_target" in
7936 # Handling of arguments.
7937 "defs.mk" ) CONFIG_FILES
="$CONFIG_FILES defs.mk" ;;
7938 "nbtool_config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS nbtool_config.h" ;;
7939 *) { { echo "$as_me:7939: error: invalid argument: $ac_config_target" >&5
7940 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7941 { (exit 1); exit 1; }; };;
7945 # If the user did not use the arguments to specify the items to instantiate,
7946 # then the envvar interface is used. Set only those that are not.
7947 # We use the long form for the default assignment because of an extremely
7948 # bizarre bug on SunOS 4.1.3.
7949 if $ac_need_defaults; then
7950 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7951 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7954 # Create a temporary directory, and hook for its removal unless debugging.
7957 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7958 trap '{ (exit 1); exit 1; }' 1 2 13 15
7961 # Create a (secure) tmp directory for tmp files.
7964 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
7965 test -n "$tmp" && test -d "$tmp"
7968 tmp
=$TMPDIR/cs$$
-$RANDOM
7969 (umask 077 && mkdir
$tmp)
7972 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
7973 { (exit 1); exit 1; }
7978 cat >>$CONFIG_STATUS <<EOF
7981 # CONFIG_FILES section.
7984 # No need to generate the scripts if there are no CONFIG_FILES.
7985 # This happens for instance when ./config.status config.h
7986 if test -n "\$CONFIG_FILES"; then
7987 # Protect against being on the right side of a sed subst in config.status.
7988 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7989 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7990 s,@SHELL@,$SHELL,;t t
7991 s,@exec_prefix@,$exec_prefix,;t t
7992 s,@prefix@,$prefix,;t t
7993 s,@program_transform_name@,$program_transform_name,;t t
7994 s,@bindir@,$bindir,;t t
7995 s,@sbindir@,$sbindir,;t t
7996 s,@libexecdir@,$libexecdir,;t t
7997 s,@datadir@,$datadir,;t t
7998 s,@sysconfdir@,$sysconfdir,;t t
7999 s,@sharedstatedir@,$sharedstatedir,;t t
8000 s,@localstatedir@,$localstatedir,;t t
8001 s,@libdir@,$libdir,;t t
8002 s,@includedir@,$includedir,;t t
8003 s,@oldincludedir@,$oldincludedir,;t t
8004 s,@infodir@,$infodir,;t t
8005 s,@mandir@,$mandir,;t t
8006 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8007 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8008 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8009 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8010 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8011 s,@build_alias@,$build_alias,;t t
8012 s,@host_alias@,$host_alias,;t t
8013 s,@target_alias@,$target_alias,;t t
8014 s,@ECHO_C@,$ECHO_C,;t t
8015 s,@ECHO_N@,$ECHO_N,;t t
8016 s,@ECHO_T@,$ECHO_T,;t t
8017 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8021 s,@CFLAGS@,$CFLAGS,;t t
8022 s,@LDFLAGS@,$LDFLAGS,;t t
8023 s,@CPPFLAGS@,$CPPFLAGS,;t t
8024 s,@ac_ct_CC@,$ac_ct_CC,;t t
8025 s,@EXEEXT@,$EXEEXT,;t t
8026 s,@OBJEXT@,$OBJEXT,;t t
8028 s,@BSHELL@,$BSHELL,;t t
8029 s,@ALLOCA@,$ALLOCA,;t t
8034 cat >>$CONFIG_STATUS <<\EOF
8035 # Split the substitutions into bite-sized pieces for seds with
8036 # small command number limits, like on Digital OSF/1 and HP-UX.
8038 ac_sed_frag
=1 # Number of current file.
8039 ac_beg
=1 # First line for current file.
8040 ac_end
=$ac_max_sed_lines # Line after last line for current file.
8043 while $ac_more_lines; do
8044 if test $ac_beg -gt 1; then
8045 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8047 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8049 if test ! -s $tmp/subs.frag
; then
8052 # The purpose of the label and of the branching condition is to
8053 # speed up the sed processing (if there are no `@' at all, there
8054 # is no need to browse any of the substitutions).
8055 # These are the two extra sed commands mentioned above.
8057 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
8058 if test -z "$ac_sed_cmds"; then
8059 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
8061 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8063 ac_sed_frag
=`expr $ac_sed_frag + 1`
8065 ac_end
=`expr $ac_end + $ac_max_sed_lines`
8068 if test -z "$ac_sed_cmds"; then
8071 fi # test -n "$CONFIG_FILES"
8074 cat >>$CONFIG_STATUS <<\EOF
8075 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
8076 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8078 - |
*:- |
*:-:* ) # input from stdin
8080 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8081 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8082 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8083 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8084 * ) ac_file_in
=$ac_file.
in ;;
8087 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8088 ac_dir
=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8089 X"$ac_file" : 'X\(//\)[^/]' \| \
8090 X"$ac_file" : 'X\(//\)$' \| \
8091 X"$ac_file" : 'X\(/\)' \| \
8092 . : '\(.\)' 2>/dev/null ||
8094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8095 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8096 /^X\(\/\/\)$/{ s//\1/; q; }
8097 /^X\(\/\).*/{ s//\1/; q; }
8099 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
8101 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
8105 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
8106 case $as_mkdir_dir in
8107 # Skip DOS drivespec
8108 ?
:) as_incr_dir
=$as_mkdir_dir ;;
8110 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
8111 test -d "$as_incr_dir" || mkdir
"$as_incr_dir"
8116 ac_dir_suffix
="/`echo $ac_dir|sed 's,^\./,,'`"
8117 # A "../" for each directory in $ac_dir_suffix.
8118 ac_dots
=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
8120 ac_dir_suffix
= ac_dots
=
8125 if test -z "$ac_dots"; then
8128 ac_top_srcdir
=`echo $ac_dots | sed 's,/$,,'`
8131 ac_srcdir
=$srcdir$ac_dir_suffix;
8132 ac_top_srcdir
=$srcdir ;;
8134 ac_srcdir
=$ac_dots$srcdir$ac_dir_suffix
8135 ac_top_srcdir
=$ac_dots$srcdir ;;
8138 if test x
"$ac_file" != x-
; then
8139 { echo "$as_me:8139: creating $ac_file" >&5
8140 echo "$as_me: creating $ac_file" >&6;}
8143 # Let's still pretend it is `configure' which instantiates (i.e., don't
8144 # use $as_me), people would be surprised to read:
8145 # /* config.h. Generated automatically by config.status. */
8146 configure_input
="Generated automatically from `echo $ac_file_in |
8147 sed 's,.*/,,'` by configure."
8149 # First look for the input files in the build tree, otherwise in the
8151 ac_file_inputs
=`IFS=:
8152 for f in $ac_file_in; do
8154 -) echo $tmp/stdin ;;
8156 # Absolute (can't be DOS-style, as IFS=:)
8157 test -f "$f" || { { echo "$as_me:8157: error: cannot find input file: $f" >&5
8158 echo "$as_me: error: cannot find input file: $f" >&2;}
8159 { (exit 1); exit 1; }; }
8162 if test -f "$f"; then
8165 elif test -f "$srcdir/$f"; then
8170 { { echo "$as_me:8170: error: cannot find input file: $f" >&5
8171 echo "$as_me: error: cannot find input file: $f" >&2;}
8172 { (exit 1); exit 1; }; }
8175 done` ||
{ (exit 1); exit 1; }
8177 cat >>$CONFIG_STATUS <<EOF
8181 cat >>$CONFIG_STATUS <<\EOF
8183 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8184 s
,@configure_input@
,$configure_input,;t t
8185 s
,@srcdir@
,$ac_srcdir,;t t
8186 s
,@top_srcdir@
,$ac_top_srcdir,;t t
8187 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8189 if test x"$ac_file" != x-; then
8190 mv $tmp/out $ac_file
8198 cat >>$CONFIG_STATUS <<\EOF
8201 # CONFIG_HEADER section.
8204 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
8205 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8207 # ac_d sets the value in "#define NAME VALUE" lines.
8208 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8209 ac_dB
='[ ].*$,\1#\2'
8212 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8213 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8214 ac_uB
='$,\1#\2define\3'
8218 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
8219 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8221 - |
*:- |
*:-:* ) # input from stdin
8223 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8224 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8225 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8226 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8227 * ) ac_file_in
=$ac_file.
in ;;
8230 test x
"$ac_file" != x-
&& { echo "$as_me:8230: creating $ac_file" >&5
8231 echo "$as_me: creating $ac_file" >&6;}
8233 # First look for the input files in the build tree, otherwise in the
8235 ac_file_inputs
=`IFS=:
8236 for f in $ac_file_in; do
8238 -) echo $tmp/stdin ;;
8240 # Absolute (can't be DOS-style, as IFS=:)
8241 test -f "$f" || { { echo "$as_me:8241: error: cannot find input file: $f" >&5
8242 echo "$as_me: error: cannot find input file: $f" >&2;}
8243 { (exit 1); exit 1; }; }
8246 if test -f "$f"; then
8249 elif test -f "$srcdir/$f"; then
8254 { { echo "$as_me:8254: error: cannot find input file: $f" >&5
8255 echo "$as_me: error: cannot find input file: $f" >&2;}
8256 { (exit 1); exit 1; }; }
8259 done` ||
{ (exit 1); exit 1; }
8260 # Remove the trailing spaces.
8261 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8265 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8266 # `conftest.undefs', that substitutes the proper values into
8267 # config.h.in to produce config.h. The first handles `#define'
8268 # templates, and the second `#undef' templates.
8269 # And first: Protect against being on the right side of a sed subst in
8270 # config.status. Protect against being in an unquoted here document
8272 rm -f conftest.defines conftest.undefs
8273 # Using a here document instead of a string reduces the quoting nightmare.
8274 # Putting comments in sed scripts is not portable.
8276 # `end' is used to avoid that the second main sed command (meant for
8277 # 0-ary CPP macros) applies to n-ary macro definitions.
8278 # See the Autoconf documentation for `clear'.
8279 cat >confdef2sed.
sed <<\EOF
8284 s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
8286 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8289 # If some macros were called several times there might be several times
8290 # the same #defines, which is useless. Nevertheless, we may not want to
8291 # sort them, since we want the *last* AC-DEFINE to be honored.
8292 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8293 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8294 rm -f confdef2sed.sed
8296 # This sed command replaces #undef with comments. This is necessary, for
8297 # example, in the case of _POSIX_SOURCE, which is predefined and required
8298 # on some systems where configure will not decide to define it.
8299 cat >>conftest.undefs <<\EOF
8300 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8303 # Break up conftest.defines because some shells have a limit on the size
8304 # of here documents, and old seds have small limits too (100 cmds).
8305 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8306 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8307 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8308 echo ' :' >>$CONFIG_STATUS
8310 while grep . conftest.defines >/dev/null
8312 # Write a limited-size here document to $tmp/defines.sed.
8313 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8314 # Speed up: don't consider the non `#define' lines.
8315 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8316 # Work around the forget-to-reset-the-flag bug.
8317 echo 't clr' >>$CONFIG_STATUS
8318 echo ': clr' >>$CONFIG_STATUS
8319 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
8321 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8325 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
8326 rm -f conftest.defines
8327 mv conftest.
tail conftest.defines
8329 rm -f conftest.defines
8330 echo ' fi # egrep' >>$CONFIG_STATUS
8331 echo >>$CONFIG_STATUS
8333 # Break up conftest.undefs because some shells have a limit on the size
8334 # of here documents, and old seds have small limits too (100 cmds).
8335 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8337 while grep . conftest.undefs
>/dev
/null
8339 # Write a limited-size here document to $tmp/undefs.sed.
8340 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8341 # Speed up: don't consider the non
`#undef'
8342 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8343 # Work around the forget-to-reset-the-flag bug.
8344 echo 't clr' >>$CONFIG_STATUS
8345 echo ': clr' >>$CONFIG_STATUS
8346 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8348 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8352 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8353 rm -f conftest.undefs
8354 mv conftest.tail conftest.undefs
8356 rm -f conftest.undefs
8358 cat >>$CONFIG_STATUS <<\EOF
8359 # Let's still pretend it is `configure
' which instantiates (i.e., don't
8360 # use $as_me), people would be surprised to read:
8361 # /* config.h. Generated automatically by config.status. */
8362 if test x
"$ac_file" = x-
; then
8363 echo "/* Generated automatically by configure. */" >$tmp/config.h
8365 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
8367 cat $tmp/in >>$tmp/config.h
8369 if test x
"$ac_file" != x-
; then
8370 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
8371 { echo "$as_me:8371: $ac_file is unchanged" >&5
8372 echo "$as_me: $ac_file is unchanged" >&6;}
8374 ac_dir
=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8375 X"$ac_file" : 'X\(//\)[^/]' \| \
8376 X"$ac_file" : 'X\(//\)$' \| \
8377 X"$ac_file" : 'X\(/\)' \| \
8378 . : '\(.\)' 2>/dev/null ||
8380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8381 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8382 /^X\(\/\/\)$/{ s//\1/; q; }
8383 /^X\(\/\).*/{ s//\1/; q; }
8385 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
8387 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
8391 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
8392 case $as_mkdir_dir in
8393 # Skip DOS drivespec
8394 ?
:) as_incr_dir
=$as_mkdir_dir ;;
8396 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
8397 test -d "$as_incr_dir" || mkdir
"$as_incr_dir"
8404 mv $tmp/config.h
$ac_file
8413 cat >>$CONFIG_STATUS <<\EOF
8415 { (exit 0); exit 0; }
8417 chmod +x
$CONFIG_STATUS
8418 ac_clean_files
=$ac_clean_files_save
8420 # configure is writing to config.log, and then calls config.status.
8421 # config.status does its own redirection, appending to config.log.
8422 # Unfortunately, on DOS this fails, as config.log is still kept open
8423 # by configure, so config.status won't be able to write to it; its
8424 # output is simply discarded. So we exec the FD to /dev/null,
8425 # effectively closing config.log, so it can be properly (re)opened and
8426 # appended to by config.status. When coming back to configure, we
8427 # need to make the FD available again.
8428 if test "$no_create" != yes; then
8431 $SHELL $CONFIG_STATUS || ac_cs_success
=false
8433 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8434 # would make configure fail if this is the last instruction.
8435 $ac_cs_success ||
{ (exit 1); exit 1; }