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 or MINIX3" >&5
1868 echo $ECHO_N "checking for NetBSD or MINIX3... $ECHO_C" >&6
1869 cat >conftest.
$ac_ext <<_ACEOF
1870 #line 1870 "configure"
1871 #include "confdefs.h"
1872 #if defined(__NetBSD__) || defined(__minix)
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 pthread.h stddef.h rpc
/types.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
/endian.h sys
/featuretest.h err.h inttypes.h libgen.h paths.h \
2605 stdint.h util.h 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'"' \
2703 >>include
/$ac_header.new
2704 if cmp include
/$ac_header.new include
/$ac_header >/dev
/null
2>&1; then
2705 rm -f include
/$ac_header.new
2707 mv -f include
/$ac_header.new include
/$ac_header
2713 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2715 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
2716 inttypes.h stdint.h unistd.h
2718 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2719 echo "$as_me:2719: checking for $ac_header" >&5
2720 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2721 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2722 echo $ECHO_N "(cached) $ECHO_C" >&6
2724 cat >conftest.
$ac_ext <<_ACEOF
2725 #line 2725 "configure"
2726 #include "confdefs.h"
2727 $ac_includes_default
2728 #include <$ac_header>
2730 rm -f conftest.
$ac_objext
2731 if { (eval echo "$as_me:2731: \"$ac_compile\"") >&5
2732 (eval $ac_compile) 2>&5
2734 echo "$as_me:2734: \$? = $ac_status" >&5
2735 (exit $ac_status); } &&
2736 { ac_try
='test -s conftest.$ac_objext'
2737 { (eval echo "$as_me:2737: \"$ac_try\"") >&5
2740 echo "$as_me:2740: \$? = $ac_status" >&5
2741 (exit $ac_status); }; }; then
2742 eval "$as_ac_Header=yes"
2744 echo "$as_me: failed program was:" >&5
2745 cat conftest.
$ac_ext >&5
2746 eval "$as_ac_Header=no"
2748 rm -f conftest.
$ac_objext conftest.
$ac_ext
2750 echo "$as_me:2750: result: `eval echo '${'$as_ac_Header'}'`" >&5
2751 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2752 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2753 cat >>confdefs.h
<<EOF
2754 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2760 echo "$as_me:2760: checking for size_t" >&5
2761 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
2762 if test "${ac_cv_type_size_t+set}" = set; then
2763 echo $ECHO_N "(cached) $ECHO_C" >&6
2765 cat >conftest.
$ac_ext <<_ACEOF
2766 #line 2766 "configure"
2767 #include "confdefs.h"
2768 $ac_includes_default
2774 if (sizeof (size_t))
2780 rm -f conftest.
$ac_objext
2781 if { (eval echo "$as_me:2781: \"$ac_compile\"") >&5
2782 (eval $ac_compile) 2>&5
2784 echo "$as_me:2784: \$? = $ac_status" >&5
2785 (exit $ac_status); } &&
2786 { ac_try
='test -s conftest.$ac_objext'
2787 { (eval echo "$as_me:2787: \"$ac_try\"") >&5
2790 echo "$as_me:2790: \$? = $ac_status" >&5
2791 (exit $ac_status); }; }; then
2792 ac_cv_type_size_t
=yes
2794 echo "$as_me: failed program was:" >&5
2795 cat conftest.
$ac_ext >&5
2796 ac_cv_type_size_t
=no
2798 rm -f conftest.
$ac_objext conftest.
$ac_ext
2800 echo "$as_me:2800: result: $ac_cv_type_size_t" >&5
2801 echo "${ECHO_T}$ac_cv_type_size_t" >&6
2802 if test $ac_cv_type_size_t = yes; then
2806 cat >>confdefs.h
<<EOF
2807 #define size_t unsigned
2812 echo "$as_me:2812: checking for id_t" >&5
2813 echo $ECHO_N "checking for id_t... $ECHO_C" >&6
2814 if test "${ac_cv_type_id_t+set}" = set; then
2815 echo $ECHO_N "(cached) $ECHO_C" >&6
2817 cat >conftest.
$ac_ext <<_ACEOF
2818 #line 2818 "configure"
2819 #include "confdefs.h"
2820 $ac_includes_default
2832 rm -f conftest.
$ac_objext
2833 if { (eval echo "$as_me:2833: \"$ac_compile\"") >&5
2834 (eval $ac_compile) 2>&5
2836 echo "$as_me:2836: \$? = $ac_status" >&5
2837 (exit $ac_status); } &&
2838 { ac_try
='test -s conftest.$ac_objext'
2839 { (eval echo "$as_me:2839: \"$ac_try\"") >&5
2842 echo "$as_me:2842: \$? = $ac_status" >&5
2843 (exit $ac_status); }; }; then
2846 echo "$as_me: failed program was:" >&5
2847 cat conftest.
$ac_ext >&5
2850 rm -f conftest.
$ac_objext conftest.
$ac_ext
2852 echo "$as_me:2852: result: $ac_cv_type_id_t" >&5
2853 echo "${ECHO_T}$ac_cv_type_id_t" >&6
2854 if test $ac_cv_type_id_t = yes; then
2856 cat >>confdefs.h
<<EOF
2861 echo "$as_me:2861: checking for long long" >&5
2862 echo $ECHO_N "checking for long long... $ECHO_C" >&6
2863 if test "${ac_cv_type_long_long+set}" = set; then
2864 echo $ECHO_N "(cached) $ECHO_C" >&6
2866 cat >conftest.
$ac_ext <<_ACEOF
2867 #line 2867 "configure"
2868 #include "confdefs.h"
2869 $ac_includes_default
2873 if ((long long *) 0)
2875 if (sizeof (long long))
2881 rm -f conftest.
$ac_objext
2882 if { (eval echo "$as_me:2882: \"$ac_compile\"") >&5
2883 (eval $ac_compile) 2>&5
2885 echo "$as_me:2885: \$? = $ac_status" >&5
2886 (exit $ac_status); } &&
2887 { ac_try
='test -s conftest.$ac_objext'
2888 { (eval echo "$as_me:2888: \"$ac_try\"") >&5
2891 echo "$as_me:2891: \$? = $ac_status" >&5
2892 (exit $ac_status); }; }; then
2893 ac_cv_type_long_long
=yes
2895 echo "$as_me: failed program was:" >&5
2896 cat conftest.
$ac_ext >&5
2897 ac_cv_type_long_long
=no
2899 rm -f conftest.
$ac_objext conftest.
$ac_ext
2901 echo "$as_me:2901: result: $ac_cv_type_long_long" >&5
2902 echo "${ECHO_T}$ac_cv_type_long_long" >&6
2903 if test $ac_cv_type_long_long = yes; then
2905 cat >>confdefs.h
<<EOF
2906 #define HAVE_LONG_LONG 1
2910 echo "$as_me:2910: checking for u_long" >&5
2911 echo $ECHO_N "checking for u_long... $ECHO_C" >&6
2912 if test "${ac_cv_type_u_long+set}" = set; then
2913 echo $ECHO_N "(cached) $ECHO_C" >&6
2915 cat >conftest.
$ac_ext <<_ACEOF
2916 #line 2916 "configure"
2917 #include "confdefs.h"
2918 $ac_includes_default
2924 if (sizeof (u_long))
2930 rm -f conftest.
$ac_objext
2931 if { (eval echo "$as_me:2931: \"$ac_compile\"") >&5
2932 (eval $ac_compile) 2>&5
2934 echo "$as_me:2934: \$? = $ac_status" >&5
2935 (exit $ac_status); } &&
2936 { ac_try
='test -s conftest.$ac_objext'
2937 { (eval echo "$as_me:2937: \"$ac_try\"") >&5
2940 echo "$as_me:2940: \$? = $ac_status" >&5
2941 (exit $ac_status); }; }; then
2942 ac_cv_type_u_long
=yes
2944 echo "$as_me: failed program was:" >&5
2945 cat conftest.
$ac_ext >&5
2946 ac_cv_type_u_long
=no
2948 rm -f conftest.
$ac_objext conftest.
$ac_ext
2950 echo "$as_me:2950: result: $ac_cv_type_u_long" >&5
2951 echo "${ECHO_T}$ac_cv_type_u_long" >&6
2952 if test $ac_cv_type_u_long = yes; then
2954 cat >>confdefs.h
<<EOF
2955 #define HAVE_U_LONG 1
2959 echo "$as_me:2959: checking for u_char" >&5
2960 echo $ECHO_N "checking for u_char... $ECHO_C" >&6
2961 if test "${ac_cv_type_u_char+set}" = set; then
2962 echo $ECHO_N "(cached) $ECHO_C" >&6
2964 cat >conftest.
$ac_ext <<_ACEOF
2965 #line 2965 "configure"
2966 #include "confdefs.h"
2967 $ac_includes_default
2973 if (sizeof (u_char))
2979 rm -f conftest.
$ac_objext
2980 if { (eval echo "$as_me:2980: \"$ac_compile\"") >&5
2981 (eval $ac_compile) 2>&5
2983 echo "$as_me:2983: \$? = $ac_status" >&5
2984 (exit $ac_status); } &&
2985 { ac_try
='test -s conftest.$ac_objext'
2986 { (eval echo "$as_me:2986: \"$ac_try\"") >&5
2989 echo "$as_me:2989: \$? = $ac_status" >&5
2990 (exit $ac_status); }; }; then
2991 ac_cv_type_u_char
=yes
2993 echo "$as_me: failed program was:" >&5
2994 cat conftest.
$ac_ext >&5
2995 ac_cv_type_u_char
=no
2997 rm -f conftest.
$ac_objext conftest.
$ac_ext
2999 echo "$as_me:2999: result: $ac_cv_type_u_char" >&5
3000 echo "${ECHO_T}$ac_cv_type_u_char" >&6
3001 if test $ac_cv_type_u_char = yes; then
3003 cat >>confdefs.h
<<EOF
3004 #define HAVE_U_CHAR 1
3008 echo "$as_me:3008: checking for u_short" >&5
3009 echo $ECHO_N "checking for u_short... $ECHO_C" >&6
3010 if test "${ac_cv_type_u_short+set}" = set; then
3011 echo $ECHO_N "(cached) $ECHO_C" >&6
3013 cat >conftest.
$ac_ext <<_ACEOF
3014 #line 3014 "configure"
3015 #include "confdefs.h"
3016 $ac_includes_default
3022 if (sizeof (u_short))
3028 rm -f conftest.
$ac_objext
3029 if { (eval echo "$as_me:3029: \"$ac_compile\"") >&5
3030 (eval $ac_compile) 2>&5
3032 echo "$as_me:3032: \$? = $ac_status" >&5
3033 (exit $ac_status); } &&
3034 { ac_try
='test -s conftest.$ac_objext'
3035 { (eval echo "$as_me:3035: \"$ac_try\"") >&5
3038 echo "$as_me:3038: \$? = $ac_status" >&5
3039 (exit $ac_status); }; }; then
3040 ac_cv_type_u_short
=yes
3042 echo "$as_me: failed program was:" >&5
3043 cat conftest.
$ac_ext >&5
3044 ac_cv_type_u_short
=no
3046 rm -f conftest.
$ac_objext conftest.
$ac_ext
3048 echo "$as_me:3048: result: $ac_cv_type_u_short" >&5
3049 echo "${ECHO_T}$ac_cv_type_u_short" >&6
3050 if test $ac_cv_type_u_short = yes; then
3052 cat >>confdefs.h
<<EOF
3053 #define HAVE_U_SHORT 1
3057 echo "$as_me:3057: checking for u_int" >&5
3058 echo $ECHO_N "checking for u_int... $ECHO_C" >&6
3059 if test "${ac_cv_type_u_int+set}" = set; then
3060 echo $ECHO_N "(cached) $ECHO_C" >&6
3062 cat >conftest.
$ac_ext <<_ACEOF
3063 #line 3063 "configure"
3064 #include "confdefs.h"
3065 $ac_includes_default
3077 rm -f conftest.
$ac_objext
3078 if { (eval echo "$as_me:3078: \"$ac_compile\"") >&5
3079 (eval $ac_compile) 2>&5
3081 echo "$as_me:3081: \$? = $ac_status" >&5
3082 (exit $ac_status); } &&
3083 { ac_try
='test -s conftest.$ac_objext'
3084 { (eval echo "$as_me:3084: \"$ac_try\"") >&5
3087 echo "$as_me:3087: \$? = $ac_status" >&5
3088 (exit $ac_status); }; }; then
3089 ac_cv_type_u_int
=yes
3091 echo "$as_me: failed program was:" >&5
3092 cat conftest.
$ac_ext >&5
3095 rm -f conftest.
$ac_objext conftest.
$ac_ext
3097 echo "$as_me:3097: result: $ac_cv_type_u_int" >&5
3098 echo "${ECHO_T}$ac_cv_type_u_int" >&6
3099 if test $ac_cv_type_u_int = yes; then
3101 cat >>confdefs.h
<<EOF
3102 #define HAVE_U_INT 1
3106 echo "$as_me:3106: checking for u_quad_t" >&5
3107 echo $ECHO_N "checking for u_quad_t... $ECHO_C" >&6
3108 if test "${ac_cv_type_u_quad_t+set}" = set; then
3109 echo $ECHO_N "(cached) $ECHO_C" >&6
3111 cat >conftest.
$ac_ext <<_ACEOF
3112 #line 3112 "configure"
3113 #include "confdefs.h"
3114 $ac_includes_default
3120 if (sizeof (u_quad_t))
3126 rm -f conftest.
$ac_objext
3127 if { (eval echo "$as_me:3127: \"$ac_compile\"") >&5
3128 (eval $ac_compile) 2>&5
3130 echo "$as_me:3130: \$? = $ac_status" >&5
3131 (exit $ac_status); } &&
3132 { ac_try
='test -s conftest.$ac_objext'
3133 { (eval echo "$as_me:3133: \"$ac_try\"") >&5
3136 echo "$as_me:3136: \$? = $ac_status" >&5
3137 (exit $ac_status); }; }; then
3138 ac_cv_type_u_quad_t
=yes
3140 echo "$as_me: failed program was:" >&5
3141 cat conftest.
$ac_ext >&5
3142 ac_cv_type_u_quad_t
=no
3144 rm -f conftest.
$ac_objext conftest.
$ac_ext
3146 echo "$as_me:3146: result: $ac_cv_type_u_quad_t" >&5
3147 echo "${ECHO_T}$ac_cv_type_u_quad_t" >&6
3148 if test $ac_cv_type_u_quad_t = yes; then
3150 cat >>confdefs.h
<<EOF
3151 #define HAVE_U_QUAD_T 1
3156 echo "$as_me:3156: checking for socklen_t" >&5
3157 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
3158 if test "${ac_cv_type_socklen_t+set}" = set; then
3159 echo $ECHO_N "(cached) $ECHO_C" >&6
3161 cat >conftest.
$ac_ext <<_ACEOF
3162 #line 3162 "configure"
3163 #include "confdefs.h"
3164 #include <sys/types.h>
3165 #ifdef HAVE_RPC_TYPES_H
3166 #include <rpc/types.h>
3168 #include <sys/socket.h>
3173 if ((socklen_t *) 0)
3175 if (sizeof (socklen_t))
3181 rm -f conftest.
$ac_objext
3182 if { (eval echo "$as_me:3182: \"$ac_compile\"") >&5
3183 (eval $ac_compile) 2>&5
3185 echo "$as_me:3185: \$? = $ac_status" >&5
3186 (exit $ac_status); } &&
3187 { ac_try
='test -s conftest.$ac_objext'
3188 { (eval echo "$as_me:3188: \"$ac_try\"") >&5
3191 echo "$as_me:3191: \$? = $ac_status" >&5
3192 (exit $ac_status); }; }; then
3193 ac_cv_type_socklen_t
=yes
3195 echo "$as_me: failed program was:" >&5
3196 cat conftest.
$ac_ext >&5
3197 ac_cv_type_socklen_t
=no
3199 rm -f conftest.
$ac_objext conftest.
$ac_ext
3201 echo "$as_me:3201: result: $ac_cv_type_socklen_t" >&5
3202 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
3203 if test $ac_cv_type_socklen_t = yes; then
3205 cat >>confdefs.h
<<\EOF
3206 #define HAVE_SOCKLEN_T 1
3211 echo "$as_me:3211: checking for uint8_t" >&5
3212 echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6
3213 if test "${ac_cv_type_uint8_t+set}" = set; then
3214 echo $ECHO_N "(cached) $ECHO_C" >&6
3216 cat >conftest.
$ac_ext <<_ACEOF
3217 #line 3217 "configure"
3218 #include "confdefs.h"
3219 $ac_includes_default
3225 if (sizeof (uint8_t))
3231 rm -f conftest.
$ac_objext
3232 if { (eval echo "$as_me:3232: \"$ac_compile\"") >&5
3233 (eval $ac_compile) 2>&5
3235 echo "$as_me:3235: \$? = $ac_status" >&5
3236 (exit $ac_status); } &&
3237 { ac_try
='test -s conftest.$ac_objext'
3238 { (eval echo "$as_me:3238: \"$ac_try\"") >&5
3241 echo "$as_me:3241: \$? = $ac_status" >&5
3242 (exit $ac_status); }; }; then
3243 ac_cv_type_uint8_t
=yes
3245 echo "$as_me: failed program was:" >&5
3246 cat conftest.
$ac_ext >&5
3247 ac_cv_type_uint8_t
=no
3249 rm -f conftest.
$ac_objext conftest.
$ac_ext
3251 echo "$as_me:3251: result: $ac_cv_type_uint8_t" >&5
3252 echo "${ECHO_T}$ac_cv_type_uint8_t" >&6
3253 if test $ac_cv_type_uint8_t = yes; then
3257 echo "$as_me:3257: checking for u_int8_t" >&5
3258 echo $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
3259 if test "${ac_cv_type_u_int8_t+set}" = set; then
3260 echo $ECHO_N "(cached) $ECHO_C" >&6
3262 cat >conftest.
$ac_ext <<_ACEOF
3263 #line 3263 "configure"
3264 #include "confdefs.h"
3265 $ac_includes_default
3271 if (sizeof (u_int8_t))
3277 rm -f conftest.
$ac_objext
3278 if { (eval echo "$as_me:3278: \"$ac_compile\"") >&5
3279 (eval $ac_compile) 2>&5
3281 echo "$as_me:3281: \$? = $ac_status" >&5
3282 (exit $ac_status); } &&
3283 { ac_try
='test -s conftest.$ac_objext'
3284 { (eval echo "$as_me:3284: \"$ac_try\"") >&5
3287 echo "$as_me:3287: \$? = $ac_status" >&5
3288 (exit $ac_status); }; }; then
3289 ac_cv_type_u_int8_t
=yes
3291 echo "$as_me: failed program was:" >&5
3292 cat conftest.
$ac_ext >&5
3293 ac_cv_type_u_int8_t
=no
3295 rm -f conftest.
$ac_objext conftest.
$ac_ext
3297 echo "$as_me:3297: result: $ac_cv_type_u_int8_t" >&5
3298 echo "${ECHO_T}$ac_cv_type_u_int8_t" >&6
3299 if test $ac_cv_type_u_int8_t = yes; then
3301 cat >>confdefs.h
<<\EOF
3302 #define uint8_t u_int8_t
3306 { { echo "$as_me:3306: error: cannot find a suitable type for uint8_t" >&5
3307 echo "$as_me: error: cannot find a suitable type for uint8_t" >&2;}
3308 { (exit 1); exit 1; }; }
3313 echo "$as_me:3313: checking for u_int8_t" >&5
3314 echo $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
3315 if test "${ac_cv_type_u_int8_t+set}" = set; then
3316 echo $ECHO_N "(cached) $ECHO_C" >&6
3318 cat >conftest.
$ac_ext <<_ACEOF
3319 #line 3319 "configure"
3320 #include "confdefs.h"
3321 $ac_includes_default
3327 if (sizeof (u_int8_t))
3333 rm -f conftest.
$ac_objext
3334 if { (eval echo "$as_me:3334: \"$ac_compile\"") >&5
3335 (eval $ac_compile) 2>&5
3337 echo "$as_me:3337: \$? = $ac_status" >&5
3338 (exit $ac_status); } &&
3339 { ac_try
='test -s conftest.$ac_objext'
3340 { (eval echo "$as_me:3340: \"$ac_try\"") >&5
3343 echo "$as_me:3343: \$? = $ac_status" >&5
3344 (exit $ac_status); }; }; then
3345 ac_cv_type_u_int8_t
=yes
3347 echo "$as_me: failed program was:" >&5
3348 cat conftest.
$ac_ext >&5
3349 ac_cv_type_u_int8_t
=no
3351 rm -f conftest.
$ac_objext conftest.
$ac_ext
3353 echo "$as_me:3353: result: $ac_cv_type_u_int8_t" >&5
3354 echo "${ECHO_T}$ac_cv_type_u_int8_t" >&6
3355 if test $ac_cv_type_u_int8_t = yes; then
3359 echo "$as_me:3359: checking for uint8_t" >&5
3360 echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6
3361 if test "${ac_cv_type_uint8_t+set}" = set; then
3362 echo $ECHO_N "(cached) $ECHO_C" >&6
3364 cat >conftest.
$ac_ext <<_ACEOF
3365 #line 3365 "configure"
3366 #include "confdefs.h"
3367 $ac_includes_default
3373 if (sizeof (uint8_t))
3379 rm -f conftest.
$ac_objext
3380 if { (eval echo "$as_me:3380: \"$ac_compile\"") >&5
3381 (eval $ac_compile) 2>&5
3383 echo "$as_me:3383: \$? = $ac_status" >&5
3384 (exit $ac_status); } &&
3385 { ac_try
='test -s conftest.$ac_objext'
3386 { (eval echo "$as_me:3386: \"$ac_try\"") >&5
3389 echo "$as_me:3389: \$? = $ac_status" >&5
3390 (exit $ac_status); }; }; then
3391 ac_cv_type_uint8_t
=yes
3393 echo "$as_me: failed program was:" >&5
3394 cat conftest.
$ac_ext >&5
3395 ac_cv_type_uint8_t
=no
3397 rm -f conftest.
$ac_objext conftest.
$ac_ext
3399 echo "$as_me:3399: result: $ac_cv_type_uint8_t" >&5
3400 echo "${ECHO_T}$ac_cv_type_uint8_t" >&6
3401 if test $ac_cv_type_uint8_t = yes; then
3403 cat >>confdefs.h
<<\EOF
3404 #define u_int8_t uint8_t
3408 { { echo "$as_me:3408: error: cannot find a suitable type for u_int8_t" >&5
3409 echo "$as_me: error: cannot find a suitable type for u_int8_t" >&2;}
3410 { (exit 1); exit 1; }; }
3415 echo "$as_me:3415: checking for uint16_t" >&5
3416 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6
3417 if test "${ac_cv_type_uint16_t+set}" = set; then
3418 echo $ECHO_N "(cached) $ECHO_C" >&6
3420 cat >conftest.
$ac_ext <<_ACEOF
3421 #line 3421 "configure"
3422 #include "confdefs.h"
3423 $ac_includes_default
3429 if (sizeof (uint16_t))
3435 rm -f conftest.
$ac_objext
3436 if { (eval echo "$as_me:3436: \"$ac_compile\"") >&5
3437 (eval $ac_compile) 2>&5
3439 echo "$as_me:3439: \$? = $ac_status" >&5
3440 (exit $ac_status); } &&
3441 { ac_try
='test -s conftest.$ac_objext'
3442 { (eval echo "$as_me:3442: \"$ac_try\"") >&5
3445 echo "$as_me:3445: \$? = $ac_status" >&5
3446 (exit $ac_status); }; }; then
3447 ac_cv_type_uint16_t
=yes
3449 echo "$as_me: failed program was:" >&5
3450 cat conftest.
$ac_ext >&5
3451 ac_cv_type_uint16_t
=no
3453 rm -f conftest.
$ac_objext conftest.
$ac_ext
3455 echo "$as_me:3455: result: $ac_cv_type_uint16_t" >&5
3456 echo "${ECHO_T}$ac_cv_type_uint16_t" >&6
3457 if test $ac_cv_type_uint16_t = yes; then
3461 echo "$as_me:3461: checking for u_int16_t" >&5
3462 echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
3463 if test "${ac_cv_type_u_int16_t+set}" = set; then
3464 echo $ECHO_N "(cached) $ECHO_C" >&6
3466 cat >conftest.
$ac_ext <<_ACEOF
3467 #line 3467 "configure"
3468 #include "confdefs.h"
3469 $ac_includes_default
3473 if ((u_int16_t *) 0)
3475 if (sizeof (u_int16_t))
3481 rm -f conftest.
$ac_objext
3482 if { (eval echo "$as_me:3482: \"$ac_compile\"") >&5
3483 (eval $ac_compile) 2>&5
3485 echo "$as_me:3485: \$? = $ac_status" >&5
3486 (exit $ac_status); } &&
3487 { ac_try
='test -s conftest.$ac_objext'
3488 { (eval echo "$as_me:3488: \"$ac_try\"") >&5
3491 echo "$as_me:3491: \$? = $ac_status" >&5
3492 (exit $ac_status); }; }; then
3493 ac_cv_type_u_int16_t
=yes
3495 echo "$as_me: failed program was:" >&5
3496 cat conftest.
$ac_ext >&5
3497 ac_cv_type_u_int16_t
=no
3499 rm -f conftest.
$ac_objext conftest.
$ac_ext
3501 echo "$as_me:3501: result: $ac_cv_type_u_int16_t" >&5
3502 echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6
3503 if test $ac_cv_type_u_int16_t = yes; then
3505 cat >>confdefs.h
<<\EOF
3506 #define uint16_t u_int16_t
3510 { { echo "$as_me:3510: error: cannot find a suitable type for uint16_t" >&5
3511 echo "$as_me: error: cannot find a suitable type for uint16_t" >&2;}
3512 { (exit 1); exit 1; }; }
3517 echo "$as_me:3517: checking for u_int16_t" >&5
3518 echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
3519 if test "${ac_cv_type_u_int16_t+set}" = set; then
3520 echo $ECHO_N "(cached) $ECHO_C" >&6
3522 cat >conftest.
$ac_ext <<_ACEOF
3523 #line 3523 "configure"
3524 #include "confdefs.h"
3525 $ac_includes_default
3529 if ((u_int16_t *) 0)
3531 if (sizeof (u_int16_t))
3537 rm -f conftest.
$ac_objext
3538 if { (eval echo "$as_me:3538: \"$ac_compile\"") >&5
3539 (eval $ac_compile) 2>&5
3541 echo "$as_me:3541: \$? = $ac_status" >&5
3542 (exit $ac_status); } &&
3543 { ac_try
='test -s conftest.$ac_objext'
3544 { (eval echo "$as_me:3544: \"$ac_try\"") >&5
3547 echo "$as_me:3547: \$? = $ac_status" >&5
3548 (exit $ac_status); }; }; then
3549 ac_cv_type_u_int16_t
=yes
3551 echo "$as_me: failed program was:" >&5
3552 cat conftest.
$ac_ext >&5
3553 ac_cv_type_u_int16_t
=no
3555 rm -f conftest.
$ac_objext conftest.
$ac_ext
3557 echo "$as_me:3557: result: $ac_cv_type_u_int16_t" >&5
3558 echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6
3559 if test $ac_cv_type_u_int16_t = yes; then
3563 echo "$as_me:3563: checking for uint16_t" >&5
3564 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6
3565 if test "${ac_cv_type_uint16_t+set}" = set; then
3566 echo $ECHO_N "(cached) $ECHO_C" >&6
3568 cat >conftest.
$ac_ext <<_ACEOF
3569 #line 3569 "configure"
3570 #include "confdefs.h"
3571 $ac_includes_default
3577 if (sizeof (uint16_t))
3583 rm -f conftest.
$ac_objext
3584 if { (eval echo "$as_me:3584: \"$ac_compile\"") >&5
3585 (eval $ac_compile) 2>&5
3587 echo "$as_me:3587: \$? = $ac_status" >&5
3588 (exit $ac_status); } &&
3589 { ac_try
='test -s conftest.$ac_objext'
3590 { (eval echo "$as_me:3590: \"$ac_try\"") >&5
3593 echo "$as_me:3593: \$? = $ac_status" >&5
3594 (exit $ac_status); }; }; then
3595 ac_cv_type_uint16_t
=yes
3597 echo "$as_me: failed program was:" >&5
3598 cat conftest.
$ac_ext >&5
3599 ac_cv_type_uint16_t
=no
3601 rm -f conftest.
$ac_objext conftest.
$ac_ext
3603 echo "$as_me:3603: result: $ac_cv_type_uint16_t" >&5
3604 echo "${ECHO_T}$ac_cv_type_uint16_t" >&6
3605 if test $ac_cv_type_uint16_t = yes; then
3607 cat >>confdefs.h
<<\EOF
3608 #define u_int16_t uint16_t
3612 { { echo "$as_me:3612: error: cannot find a suitable type for u_int16_t" >&5
3613 echo "$as_me: error: cannot find a suitable type for u_int16_t" >&2;}
3614 { (exit 1); exit 1; }; }
3619 echo "$as_me:3619: checking for uint32_t" >&5
3620 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
3621 if test "${ac_cv_type_uint32_t+set}" = set; then
3622 echo $ECHO_N "(cached) $ECHO_C" >&6
3624 cat >conftest.
$ac_ext <<_ACEOF
3625 #line 3625 "configure"
3626 #include "confdefs.h"
3627 $ac_includes_default
3633 if (sizeof (uint32_t))
3639 rm -f conftest.
$ac_objext
3640 if { (eval echo "$as_me:3640: \"$ac_compile\"") >&5
3641 (eval $ac_compile) 2>&5
3643 echo "$as_me:3643: \$? = $ac_status" >&5
3644 (exit $ac_status); } &&
3645 { ac_try
='test -s conftest.$ac_objext'
3646 { (eval echo "$as_me:3646: \"$ac_try\"") >&5
3649 echo "$as_me:3649: \$? = $ac_status" >&5
3650 (exit $ac_status); }; }; then
3651 ac_cv_type_uint32_t
=yes
3653 echo "$as_me: failed program was:" >&5
3654 cat conftest.
$ac_ext >&5
3655 ac_cv_type_uint32_t
=no
3657 rm -f conftest.
$ac_objext conftest.
$ac_ext
3659 echo "$as_me:3659: result: $ac_cv_type_uint32_t" >&5
3660 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
3661 if test $ac_cv_type_uint32_t = yes; then
3665 echo "$as_me:3665: checking for u_int32_t" >&5
3666 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
3667 if test "${ac_cv_type_u_int32_t+set}" = set; then
3668 echo $ECHO_N "(cached) $ECHO_C" >&6
3670 cat >conftest.
$ac_ext <<_ACEOF
3671 #line 3671 "configure"
3672 #include "confdefs.h"
3673 $ac_includes_default
3677 if ((u_int32_t *) 0)
3679 if (sizeof (u_int32_t))
3685 rm -f conftest.
$ac_objext
3686 if { (eval echo "$as_me:3686: \"$ac_compile\"") >&5
3687 (eval $ac_compile) 2>&5
3689 echo "$as_me:3689: \$? = $ac_status" >&5
3690 (exit $ac_status); } &&
3691 { ac_try
='test -s conftest.$ac_objext'
3692 { (eval echo "$as_me:3692: \"$ac_try\"") >&5
3695 echo "$as_me:3695: \$? = $ac_status" >&5
3696 (exit $ac_status); }; }; then
3697 ac_cv_type_u_int32_t
=yes
3699 echo "$as_me: failed program was:" >&5
3700 cat conftest.
$ac_ext >&5
3701 ac_cv_type_u_int32_t
=no
3703 rm -f conftest.
$ac_objext conftest.
$ac_ext
3705 echo "$as_me:3705: result: $ac_cv_type_u_int32_t" >&5
3706 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
3707 if test $ac_cv_type_u_int32_t = yes; then
3709 cat >>confdefs.h
<<\EOF
3710 #define uint32_t u_int32_t
3714 { { echo "$as_me:3714: error: cannot find a suitable type for uint32_t" >&5
3715 echo "$as_me: error: cannot find a suitable type for uint32_t" >&2;}
3716 { (exit 1); exit 1; }; }
3721 echo "$as_me:3721: checking for u_int32_t" >&5
3722 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
3723 if test "${ac_cv_type_u_int32_t+set}" = set; then
3724 echo $ECHO_N "(cached) $ECHO_C" >&6
3726 cat >conftest.
$ac_ext <<_ACEOF
3727 #line 3727 "configure"
3728 #include "confdefs.h"
3729 $ac_includes_default
3733 if ((u_int32_t *) 0)
3735 if (sizeof (u_int32_t))
3741 rm -f conftest.
$ac_objext
3742 if { (eval echo "$as_me:3742: \"$ac_compile\"") >&5
3743 (eval $ac_compile) 2>&5
3745 echo "$as_me:3745: \$? = $ac_status" >&5
3746 (exit $ac_status); } &&
3747 { ac_try
='test -s conftest.$ac_objext'
3748 { (eval echo "$as_me:3748: \"$ac_try\"") >&5
3751 echo "$as_me:3751: \$? = $ac_status" >&5
3752 (exit $ac_status); }; }; then
3753 ac_cv_type_u_int32_t
=yes
3755 echo "$as_me: failed program was:" >&5
3756 cat conftest.
$ac_ext >&5
3757 ac_cv_type_u_int32_t
=no
3759 rm -f conftest.
$ac_objext conftest.
$ac_ext
3761 echo "$as_me:3761: result: $ac_cv_type_u_int32_t" >&5
3762 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
3763 if test $ac_cv_type_u_int32_t = yes; then
3767 echo "$as_me:3767: checking for uint32_t" >&5
3768 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
3769 if test "${ac_cv_type_uint32_t+set}" = set; then
3770 echo $ECHO_N "(cached) $ECHO_C" >&6
3772 cat >conftest.
$ac_ext <<_ACEOF
3773 #line 3773 "configure"
3774 #include "confdefs.h"
3775 $ac_includes_default
3781 if (sizeof (uint32_t))
3787 rm -f conftest.
$ac_objext
3788 if { (eval echo "$as_me:3788: \"$ac_compile\"") >&5
3789 (eval $ac_compile) 2>&5
3791 echo "$as_me:3791: \$? = $ac_status" >&5
3792 (exit $ac_status); } &&
3793 { ac_try
='test -s conftest.$ac_objext'
3794 { (eval echo "$as_me:3794: \"$ac_try\"") >&5
3797 echo "$as_me:3797: \$? = $ac_status" >&5
3798 (exit $ac_status); }; }; then
3799 ac_cv_type_uint32_t
=yes
3801 echo "$as_me: failed program was:" >&5
3802 cat conftest.
$ac_ext >&5
3803 ac_cv_type_uint32_t
=no
3805 rm -f conftest.
$ac_objext conftest.
$ac_ext
3807 echo "$as_me:3807: result: $ac_cv_type_uint32_t" >&5
3808 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
3809 if test $ac_cv_type_uint32_t = yes; then
3811 cat >>confdefs.h
<<\EOF
3812 #define u_int32_t uint32_t
3816 { { echo "$as_me:3816: error: cannot find a suitable type for u_int32_t" >&5
3817 echo "$as_me: error: cannot find a suitable type for u_int32_t" >&2;}
3818 { (exit 1); exit 1; }; }
3823 echo "$as_me:3823: checking for uint64_t" >&5
3824 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
3825 if test "${ac_cv_type_uint64_t+set}" = set; then
3826 echo $ECHO_N "(cached) $ECHO_C" >&6
3828 cat >conftest.
$ac_ext <<_ACEOF
3829 #line 3829 "configure"
3830 #include "confdefs.h"
3831 $ac_includes_default
3837 if (sizeof (uint64_t))
3843 rm -f conftest.
$ac_objext
3844 if { (eval echo "$as_me:3844: \"$ac_compile\"") >&5
3845 (eval $ac_compile) 2>&5
3847 echo "$as_me:3847: \$? = $ac_status" >&5
3848 (exit $ac_status); } &&
3849 { ac_try
='test -s conftest.$ac_objext'
3850 { (eval echo "$as_me:3850: \"$ac_try\"") >&5
3853 echo "$as_me:3853: \$? = $ac_status" >&5
3854 (exit $ac_status); }; }; then
3855 ac_cv_type_uint64_t
=yes
3857 echo "$as_me: failed program was:" >&5
3858 cat conftest.
$ac_ext >&5
3859 ac_cv_type_uint64_t
=no
3861 rm -f conftest.
$ac_objext conftest.
$ac_ext
3863 echo "$as_me:3863: result: $ac_cv_type_uint64_t" >&5
3864 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
3865 if test $ac_cv_type_uint64_t = yes; then
3869 echo "$as_me:3869: checking for u_int64_t" >&5
3870 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
3871 if test "${ac_cv_type_u_int64_t+set}" = set; then
3872 echo $ECHO_N "(cached) $ECHO_C" >&6
3874 cat >conftest.
$ac_ext <<_ACEOF
3875 #line 3875 "configure"
3876 #include "confdefs.h"
3877 $ac_includes_default
3881 if ((u_int64_t *) 0)
3883 if (sizeof (u_int64_t))
3889 rm -f conftest.
$ac_objext
3890 if { (eval echo "$as_me:3890: \"$ac_compile\"") >&5
3891 (eval $ac_compile) 2>&5
3893 echo "$as_me:3893: \$? = $ac_status" >&5
3894 (exit $ac_status); } &&
3895 { ac_try
='test -s conftest.$ac_objext'
3896 { (eval echo "$as_me:3896: \"$ac_try\"") >&5
3899 echo "$as_me:3899: \$? = $ac_status" >&5
3900 (exit $ac_status); }; }; then
3901 ac_cv_type_u_int64_t
=yes
3903 echo "$as_me: failed program was:" >&5
3904 cat conftest.
$ac_ext >&5
3905 ac_cv_type_u_int64_t
=no
3907 rm -f conftest.
$ac_objext conftest.
$ac_ext
3909 echo "$as_me:3909: result: $ac_cv_type_u_int64_t" >&5
3910 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
3911 if test $ac_cv_type_u_int64_t = yes; then
3913 cat >>confdefs.h
<<\EOF
3914 #define uint64_t u_int64_t
3918 { { echo "$as_me:3918: error: cannot find a suitable type for uint64_t" >&5
3919 echo "$as_me: error: cannot find a suitable type for uint64_t" >&2;}
3920 { (exit 1); exit 1; }; }
3925 echo "$as_me:3925: checking for u_int64_t" >&5
3926 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
3927 if test "${ac_cv_type_u_int64_t+set}" = set; then
3928 echo $ECHO_N "(cached) $ECHO_C" >&6
3930 cat >conftest.
$ac_ext <<_ACEOF
3931 #line 3931 "configure"
3932 #include "confdefs.h"
3933 $ac_includes_default
3937 if ((u_int64_t *) 0)
3939 if (sizeof (u_int64_t))
3945 rm -f conftest.
$ac_objext
3946 if { (eval echo "$as_me:3946: \"$ac_compile\"") >&5
3947 (eval $ac_compile) 2>&5
3949 echo "$as_me:3949: \$? = $ac_status" >&5
3950 (exit $ac_status); } &&
3951 { ac_try
='test -s conftest.$ac_objext'
3952 { (eval echo "$as_me:3952: \"$ac_try\"") >&5
3955 echo "$as_me:3955: \$? = $ac_status" >&5
3956 (exit $ac_status); }; }; then
3957 ac_cv_type_u_int64_t
=yes
3959 echo "$as_me: failed program was:" >&5
3960 cat conftest.
$ac_ext >&5
3961 ac_cv_type_u_int64_t
=no
3963 rm -f conftest.
$ac_objext conftest.
$ac_ext
3965 echo "$as_me:3965: result: $ac_cv_type_u_int64_t" >&5
3966 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
3967 if test $ac_cv_type_u_int64_t = yes; then
3971 echo "$as_me:3971: checking for uint64_t" >&5
3972 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
3973 if test "${ac_cv_type_uint64_t+set}" = set; then
3974 echo $ECHO_N "(cached) $ECHO_C" >&6
3976 cat >conftest.
$ac_ext <<_ACEOF
3977 #line 3977 "configure"
3978 #include "confdefs.h"
3979 $ac_includes_default
3985 if (sizeof (uint64_t))
3991 rm -f conftest.
$ac_objext
3992 if { (eval echo "$as_me:3992: \"$ac_compile\"") >&5
3993 (eval $ac_compile) 2>&5
3995 echo "$as_me:3995: \$? = $ac_status" >&5
3996 (exit $ac_status); } &&
3997 { ac_try
='test -s conftest.$ac_objext'
3998 { (eval echo "$as_me:3998: \"$ac_try\"") >&5
4001 echo "$as_me:4001: \$? = $ac_status" >&5
4002 (exit $ac_status); }; }; then
4003 ac_cv_type_uint64_t
=yes
4005 echo "$as_me: failed program was:" >&5
4006 cat conftest.
$ac_ext >&5
4007 ac_cv_type_uint64_t
=no
4009 rm -f conftest.
$ac_objext conftest.
$ac_ext
4011 echo "$as_me:4011: result: $ac_cv_type_uint64_t" >&5
4012 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
4013 if test $ac_cv_type_uint64_t = yes; then
4015 cat >>confdefs.h
<<\EOF
4016 #define u_int64_t uint64_t
4020 { { echo "$as_me:4020: error: cannot find a suitable type for u_int64_t" >&5
4021 echo "$as_me: error: cannot find a suitable type for u_int64_t" >&2;}
4022 { (exit 1); exit 1; }; }
4028 echo "$as_me:4028: checking for DIR.dd_fd" >&5
4029 echo $ECHO_N "checking for DIR.dd_fd... $ECHO_C" >&6
4030 if test "${ac_cv_member_DIR_dd_fd+set}" = set; then
4031 echo $ECHO_N "(cached) $ECHO_C" >&6
4033 cat >conftest.
$ac_ext <<_ACEOF
4034 #line 4034 "configure"
4035 #include "confdefs.h"
4036 #include <sys/types.h>
4049 rm -f conftest.
$ac_objext
4050 if { (eval echo "$as_me:4050: \"$ac_compile\"") >&5
4051 (eval $ac_compile) 2>&5
4053 echo "$as_me:4053: \$? = $ac_status" >&5
4054 (exit $ac_status); } &&
4055 { ac_try
='test -s conftest.$ac_objext'
4056 { (eval echo "$as_me:4056: \"$ac_try\"") >&5
4059 echo "$as_me:4059: \$? = $ac_status" >&5
4060 (exit $ac_status); }; }; then
4061 ac_cv_member_DIR_dd_fd
=yes
4063 echo "$as_me: failed program was:" >&5
4064 cat conftest.
$ac_ext >&5
4065 ac_cv_member_DIR_dd_fd
=no
4067 rm -f conftest.
$ac_objext conftest.
$ac_ext
4069 echo "$as_me:4069: result: $ac_cv_member_DIR_dd_fd" >&5
4070 echo "${ECHO_T}$ac_cv_member_DIR_dd_fd" >&6
4071 if test $ac_cv_member_DIR_dd_fd = yes; then
4073 cat >>confdefs.h
<<EOF
4074 #define HAVE_DIR_DD_FD 1
4078 echo "$as_me:4078: checking for DIR.__dd_fd" >&5
4079 echo $ECHO_N "checking for DIR.__dd_fd... $ECHO_C" >&6
4080 if test "${ac_cv_member_DIR___dd_fd+set}" = set; then
4081 echo $ECHO_N "(cached) $ECHO_C" >&6
4083 cat >conftest.
$ac_ext <<_ACEOF
4084 #line 4084 "configure"
4085 #include "confdefs.h"
4086 #include <sys/types.h>
4093 if (ac_aggr.__dd_fd)
4099 rm -f conftest.
$ac_objext
4100 if { (eval echo "$as_me:4100: \"$ac_compile\"") >&5
4101 (eval $ac_compile) 2>&5
4103 echo "$as_me:4103: \$? = $ac_status" >&5
4104 (exit $ac_status); } &&
4105 { ac_try
='test -s conftest.$ac_objext'
4106 { (eval echo "$as_me:4106: \"$ac_try\"") >&5
4109 echo "$as_me:4109: \$? = $ac_status" >&5
4110 (exit $ac_status); }; }; then
4111 ac_cv_member_DIR___dd_fd
=yes
4113 echo "$as_me: failed program was:" >&5
4114 cat conftest.
$ac_ext >&5
4115 ac_cv_member_DIR___dd_fd
=no
4117 rm -f conftest.
$ac_objext conftest.
$ac_ext
4119 echo "$as_me:4119: result: $ac_cv_member_DIR___dd_fd" >&5
4120 echo "${ECHO_T}$ac_cv_member_DIR___dd_fd" >&6
4121 if test $ac_cv_member_DIR___dd_fd = yes; then
4123 cat >>confdefs.h
<<EOF
4124 #define HAVE_DIR___DD_FD 1
4128 echo "$as_me:4128: checking for struct dirent.d_namlen" >&5
4129 echo $ECHO_N "checking for struct dirent.d_namlen... $ECHO_C" >&6
4130 if test "${ac_cv_member_struct_dirent_d_namlen+set}" = set; then
4131 echo $ECHO_N "(cached) $ECHO_C" >&6
4133 cat >conftest.
$ac_ext <<_ACEOF
4134 #line 4134 "configure"
4135 #include "confdefs.h"
4136 #include <sys/types.h>
4142 static struct dirent ac_aggr;
4143 if (ac_aggr.d_namlen)
4149 rm -f conftest.
$ac_objext
4150 if { (eval echo "$as_me:4150: \"$ac_compile\"") >&5
4151 (eval $ac_compile) 2>&5
4153 echo "$as_me:4153: \$? = $ac_status" >&5
4154 (exit $ac_status); } &&
4155 { ac_try
='test -s conftest.$ac_objext'
4156 { (eval echo "$as_me:4156: \"$ac_try\"") >&5
4159 echo "$as_me:4159: \$? = $ac_status" >&5
4160 (exit $ac_status); }; }; then
4161 ac_cv_member_struct_dirent_d_namlen
=yes
4163 echo "$as_me: failed program was:" >&5
4164 cat conftest.
$ac_ext >&5
4165 ac_cv_member_struct_dirent_d_namlen
=no
4167 rm -f conftest.
$ac_objext conftest.
$ac_ext
4169 echo "$as_me:4169: result: $ac_cv_member_struct_dirent_d_namlen" >&5
4170 echo "${ECHO_T}$ac_cv_member_struct_dirent_d_namlen" >&6
4171 if test $ac_cv_member_struct_dirent_d_namlen = yes; then
4173 cat >>confdefs.h
<<EOF
4174 #define HAVE_STRUCT_DIRENT_D_NAMLEN 1
4179 echo "$as_me:4179: checking for struct stat.st_flags" >&5
4180 echo $ECHO_N "checking for struct stat.st_flags... $ECHO_C" >&6
4181 if test "${ac_cv_member_struct_stat_st_flags+set}" = set; then
4182 echo $ECHO_N "(cached) $ECHO_C" >&6
4184 cat >conftest.
$ac_ext <<_ACEOF
4185 #line 4185 "configure"
4186 #include "confdefs.h"
4187 #include <sys/stat.h>
4192 static struct stat ac_aggr;
4193 if (ac_aggr.st_flags)
4199 rm -f conftest.
$ac_objext
4200 if { (eval echo "$as_me:4200: \"$ac_compile\"") >&5
4201 (eval $ac_compile) 2>&5
4203 echo "$as_me:4203: \$? = $ac_status" >&5
4204 (exit $ac_status); } &&
4205 { ac_try
='test -s conftest.$ac_objext'
4206 { (eval echo "$as_me:4206: \"$ac_try\"") >&5
4209 echo "$as_me:4209: \$? = $ac_status" >&5
4210 (exit $ac_status); }; }; then
4211 ac_cv_member_struct_stat_st_flags
=yes
4213 echo "$as_me: failed program was:" >&5
4214 cat conftest.
$ac_ext >&5
4215 ac_cv_member_struct_stat_st_flags
=no
4217 rm -f conftest.
$ac_objext conftest.
$ac_ext
4219 echo "$as_me:4219: result: $ac_cv_member_struct_stat_st_flags" >&5
4220 echo "${ECHO_T}$ac_cv_member_struct_stat_st_flags" >&6
4221 if test $ac_cv_member_struct_stat_st_flags = yes; then
4223 cat >>confdefs.h
<<EOF
4224 #define HAVE_STRUCT_STAT_ST_FLAGS 1
4228 echo "$as_me:4228: checking for struct stat.st_gen" >&5
4229 echo $ECHO_N "checking for struct stat.st_gen... $ECHO_C" >&6
4230 if test "${ac_cv_member_struct_stat_st_gen+set}" = set; then
4231 echo $ECHO_N "(cached) $ECHO_C" >&6
4233 cat >conftest.
$ac_ext <<_ACEOF
4234 #line 4234 "configure"
4235 #include "confdefs.h"
4236 #include <sys/stat.h>
4241 static struct stat ac_aggr;
4248 rm -f conftest.
$ac_objext
4249 if { (eval echo "$as_me:4249: \"$ac_compile\"") >&5
4250 (eval $ac_compile) 2>&5
4252 echo "$as_me:4252: \$? = $ac_status" >&5
4253 (exit $ac_status); } &&
4254 { ac_try
='test -s conftest.$ac_objext'
4255 { (eval echo "$as_me:4255: \"$ac_try\"") >&5
4258 echo "$as_me:4258: \$? = $ac_status" >&5
4259 (exit $ac_status); }; }; then
4260 ac_cv_member_struct_stat_st_gen
=yes
4262 echo "$as_me: failed program was:" >&5
4263 cat conftest.
$ac_ext >&5
4264 ac_cv_member_struct_stat_st_gen
=no
4266 rm -f conftest.
$ac_objext conftest.
$ac_ext
4268 echo "$as_me:4268: result: $ac_cv_member_struct_stat_st_gen" >&5
4269 echo "${ECHO_T}$ac_cv_member_struct_stat_st_gen" >&6
4270 if test $ac_cv_member_struct_stat_st_gen = yes; then
4272 cat >>confdefs.h
<<EOF
4273 #define HAVE_STRUCT_STAT_ST_GEN 1
4277 echo "$as_me:4277: checking for struct stat.st_birthtime" >&5
4278 echo $ECHO_N "checking for struct stat.st_birthtime... $ECHO_C" >&6
4279 if test "${ac_cv_member_struct_stat_st_birthtime+set}" = set; then
4280 echo $ECHO_N "(cached) $ECHO_C" >&6
4282 cat >conftest.
$ac_ext <<_ACEOF
4283 #line 4283 "configure"
4284 #include "confdefs.h"
4285 #include <sys/stat.h>
4290 static struct stat ac_aggr;
4291 if (ac_aggr.st_birthtime)
4297 rm -f conftest.
$ac_objext
4298 if { (eval echo "$as_me:4298: \"$ac_compile\"") >&5
4299 (eval $ac_compile) 2>&5
4301 echo "$as_me:4301: \$? = $ac_status" >&5
4302 (exit $ac_status); } &&
4303 { ac_try
='test -s conftest.$ac_objext'
4304 { (eval echo "$as_me:4304: \"$ac_try\"") >&5
4307 echo "$as_me:4307: \$? = $ac_status" >&5
4308 (exit $ac_status); }; }; then
4309 ac_cv_member_struct_stat_st_birthtime
=yes
4311 echo "$as_me: failed program was:" >&5
4312 cat conftest.
$ac_ext >&5
4313 ac_cv_member_struct_stat_st_birthtime
=no
4315 rm -f conftest.
$ac_objext conftest.
$ac_ext
4317 echo "$as_me:4317: result: $ac_cv_member_struct_stat_st_birthtime" >&5
4318 echo "${ECHO_T}$ac_cv_member_struct_stat_st_birthtime" >&6
4319 if test $ac_cv_member_struct_stat_st_birthtime = yes; then
4321 cat >>confdefs.h
<<EOF
4322 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
4326 echo "$as_me:4326: checking for struct stat.st_birthtimensec" >&5
4327 echo $ECHO_N "checking for struct stat.st_birthtimensec... $ECHO_C" >&6
4328 if test "${ac_cv_member_struct_stat_st_birthtimensec+set}" = set; then
4329 echo $ECHO_N "(cached) $ECHO_C" >&6
4331 cat >conftest.
$ac_ext <<_ACEOF
4332 #line 4332 "configure"
4333 #include "confdefs.h"
4334 #include <sys/stat.h>
4339 static struct stat ac_aggr;
4340 if (ac_aggr.st_birthtimensec)
4346 rm -f conftest.
$ac_objext
4347 if { (eval echo "$as_me:4347: \"$ac_compile\"") >&5
4348 (eval $ac_compile) 2>&5
4350 echo "$as_me:4350: \$? = $ac_status" >&5
4351 (exit $ac_status); } &&
4352 { ac_try
='test -s conftest.$ac_objext'
4353 { (eval echo "$as_me:4353: \"$ac_try\"") >&5
4356 echo "$as_me:4356: \$? = $ac_status" >&5
4357 (exit $ac_status); }; }; then
4358 ac_cv_member_struct_stat_st_birthtimensec
=yes
4360 echo "$as_me: failed program was:" >&5
4361 cat conftest.
$ac_ext >&5
4362 ac_cv_member_struct_stat_st_birthtimensec
=no
4364 rm -f conftest.
$ac_objext conftest.
$ac_ext
4366 echo "$as_me:4366: result: $ac_cv_member_struct_stat_st_birthtimensec" >&5
4367 echo "${ECHO_T}$ac_cv_member_struct_stat_st_birthtimensec" >&6
4368 if test $ac_cv_member_struct_stat_st_birthtimensec = yes; then
4370 cat >>confdefs.h
<<EOF
4371 #define HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC 1
4375 echo "$as_me:4375: checking for struct stat.st_atim" >&5
4376 echo $ECHO_N "checking for struct stat.st_atim... $ECHO_C" >&6
4377 if test "${ac_cv_member_struct_stat_st_atim+set}" = set; then
4378 echo $ECHO_N "(cached) $ECHO_C" >&6
4380 cat >conftest.
$ac_ext <<_ACEOF
4381 #line 4381 "configure"
4382 #include "confdefs.h"
4383 #include <sys/stat.h>
4388 static struct stat ac_aggr;
4389 if (ac_aggr.st_atim)
4395 rm -f conftest.
$ac_objext
4396 if { (eval echo "$as_me:4396: \"$ac_compile\"") >&5
4397 (eval $ac_compile) 2>&5
4399 echo "$as_me:4399: \$? = $ac_status" >&5
4400 (exit $ac_status); } &&
4401 { ac_try
='test -s conftest.$ac_objext'
4402 { (eval echo "$as_me:4402: \"$ac_try\"") >&5
4405 echo "$as_me:4405: \$? = $ac_status" >&5
4406 (exit $ac_status); }; }; then
4407 ac_cv_member_struct_stat_st_atim
=yes
4409 echo "$as_me: failed program was:" >&5
4410 cat conftest.
$ac_ext >&5
4411 ac_cv_member_struct_stat_st_atim
=no
4413 rm -f conftest.
$ac_objext conftest.
$ac_ext
4415 echo "$as_me:4415: result: $ac_cv_member_struct_stat_st_atim" >&5
4416 echo "${ECHO_T}$ac_cv_member_struct_stat_st_atim" >&6
4417 if test $ac_cv_member_struct_stat_st_atim = yes; then
4419 cat >>confdefs.h
<<EOF
4420 #define HAVE_STRUCT_STAT_ST_ATIM 1
4424 echo "$as_me:4424: checking for struct stat.st_mtimensec" >&5
4425 echo $ECHO_N "checking for struct stat.st_mtimensec... $ECHO_C" >&6
4426 if test "${ac_cv_member_struct_stat_st_mtimensec+set}" = set; then
4427 echo $ECHO_N "(cached) $ECHO_C" >&6
4429 cat >conftest.
$ac_ext <<_ACEOF
4430 #line 4430 "configure"
4431 #include "confdefs.h"
4432 #include <sys/stat.h>
4437 static struct stat ac_aggr;
4438 if (ac_aggr.st_mtimensec)
4444 rm -f conftest.
$ac_objext
4445 if { (eval echo "$as_me:4445: \"$ac_compile\"") >&5
4446 (eval $ac_compile) 2>&5
4448 echo "$as_me:4448: \$? = $ac_status" >&5
4449 (exit $ac_status); } &&
4450 { ac_try
='test -s conftest.$ac_objext'
4451 { (eval echo "$as_me:4451: \"$ac_try\"") >&5
4454 echo "$as_me:4454: \$? = $ac_status" >&5
4455 (exit $ac_status); }; }; then
4456 ac_cv_member_struct_stat_st_mtimensec
=yes
4458 echo "$as_me: failed program was:" >&5
4459 cat conftest.
$ac_ext >&5
4460 ac_cv_member_struct_stat_st_mtimensec
=no
4462 rm -f conftest.
$ac_objext conftest.
$ac_ext
4464 echo "$as_me:4464: result: $ac_cv_member_struct_stat_st_mtimensec" >&5
4465 echo "${ECHO_T}$ac_cv_member_struct_stat_st_mtimensec" >&6
4466 if test $ac_cv_member_struct_stat_st_mtimensec = yes; then
4468 cat >>confdefs.h
<<EOF
4469 #define HAVE_STRUCT_STAT_ST_MTIMENSEC 1
4474 echo "$as_me:4474: checking for struct statvfs.f_iosize" >&5
4475 echo $ECHO_N "checking for struct statvfs.f_iosize... $ECHO_C" >&6
4476 if test "${ac_cv_member_struct_statvfs_f_iosize+set}" = set; then
4477 echo $ECHO_N "(cached) $ECHO_C" >&6
4479 cat >conftest.
$ac_ext <<_ACEOF
4480 #line 4480 "configure"
4481 #include "confdefs.h"
4482 #include <sys/statvfs.h>
4487 static struct statvfs ac_aggr;
4488 if (ac_aggr.f_iosize)
4494 rm -f conftest.
$ac_objext
4495 if { (eval echo "$as_me:4495: \"$ac_compile\"") >&5
4496 (eval $ac_compile) 2>&5
4498 echo "$as_me:4498: \$? = $ac_status" >&5
4499 (exit $ac_status); } &&
4500 { ac_try
='test -s conftest.$ac_objext'
4501 { (eval echo "$as_me:4501: \"$ac_try\"") >&5
4504 echo "$as_me:4504: \$? = $ac_status" >&5
4505 (exit $ac_status); }; }; then
4506 ac_cv_member_struct_statvfs_f_iosize
=yes
4508 echo "$as_me: failed program was:" >&5
4509 cat conftest.
$ac_ext >&5
4510 ac_cv_member_struct_statvfs_f_iosize
=no
4512 rm -f conftest.
$ac_objext conftest.
$ac_ext
4514 echo "$as_me:4514: result: $ac_cv_member_struct_statvfs_f_iosize" >&5
4515 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_iosize" >&6
4516 if test $ac_cv_member_struct_statvfs_f_iosize = yes; then
4518 cat >>confdefs.h
<<EOF
4519 #define HAVE_STRUCT_STATVFS_F_IOSIZE 1
4524 echo "$as_me:4524: checking for struct tm.tm_gmtoff" >&5
4525 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6
4526 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
4527 echo $ECHO_N "(cached) $ECHO_C" >&6
4529 cat >conftest.
$ac_ext <<_ACEOF
4530 #line 4530 "configure"
4531 #include "confdefs.h"
4537 static struct tm ac_aggr;
4538 if (ac_aggr.tm_gmtoff)
4544 rm -f conftest.
$ac_objext
4545 if { (eval echo "$as_me:4545: \"$ac_compile\"") >&5
4546 (eval $ac_compile) 2>&5
4548 echo "$as_me:4548: \$? = $ac_status" >&5
4549 (exit $ac_status); } &&
4550 { ac_try
='test -s conftest.$ac_objext'
4551 { (eval echo "$as_me:4551: \"$ac_try\"") >&5
4554 echo "$as_me:4554: \$? = $ac_status" >&5
4555 (exit $ac_status); }; }; then
4556 ac_cv_member_struct_tm_tm_gmtoff
=yes
4558 echo "$as_me: failed program was:" >&5
4559 cat conftest.
$ac_ext >&5
4560 ac_cv_member_struct_tm_tm_gmtoff
=no
4562 rm -f conftest.
$ac_objext conftest.
$ac_ext
4564 echo "$as_me:4564: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
4565 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6
4566 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
4568 cat >>confdefs.h
<<EOF
4569 #define HAVE_STRUCT_TM_TM_GMTOFF 1
4574 # Global variable decls.
4575 echo "$as_me:4575: checking whether optind is declared" >&5
4576 echo $ECHO_N "checking whether optind is declared... $ECHO_C" >&6
4577 if test "${ac_cv_have_decl_optind+set}" = set; then
4578 echo $ECHO_N "(cached) $ECHO_C" >&6
4580 cat >conftest.
$ac_ext <<_ACEOF
4581 #line 4581 "configure"
4582 #include "confdefs.h"
4587 #ifdef HAVE_GETOPT_H
4595 char *p = (char *) optind;
4602 rm -f conftest.
$ac_objext
4603 if { (eval echo "$as_me:4603: \"$ac_compile\"") >&5
4604 (eval $ac_compile) 2>&5
4606 echo "$as_me:4606: \$? = $ac_status" >&5
4607 (exit $ac_status); } &&
4608 { ac_try
='test -s conftest.$ac_objext'
4609 { (eval echo "$as_me:4609: \"$ac_try\"") >&5
4612 echo "$as_me:4612: \$? = $ac_status" >&5
4613 (exit $ac_status); }; }; then
4614 ac_cv_have_decl_optind
=yes
4616 echo "$as_me: failed program was:" >&5
4617 cat conftest.
$ac_ext >&5
4618 ac_cv_have_decl_optind
=no
4620 rm -f conftest.
$ac_objext conftest.
$ac_ext
4622 echo "$as_me:4622: result: $ac_cv_have_decl_optind" >&5
4623 echo "${ECHO_T}$ac_cv_have_decl_optind" >&6
4624 if test $ac_cv_have_decl_optind = yes; then
4626 cat >>confdefs.h
<<EOF
4627 #define HAVE_DECL_OPTIND 1
4631 cat >>confdefs.h
<<EOF
4632 #define HAVE_DECL_OPTIND 0
4636 echo "$as_me:4636: checking whether optreset is declared" >&5
4637 echo $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6
4638 if test "${ac_cv_have_decl_optreset+set}" = set; then
4639 echo $ECHO_N "(cached) $ECHO_C" >&6
4641 cat >conftest.
$ac_ext <<_ACEOF
4642 #line 4642 "configure"
4643 #include "confdefs.h"
4648 #ifdef HAVE_GETOPT_H
4656 char *p = (char *) optreset;
4663 rm -f conftest.
$ac_objext
4664 if { (eval echo "$as_me:4664: \"$ac_compile\"") >&5
4665 (eval $ac_compile) 2>&5
4667 echo "$as_me:4667: \$? = $ac_status" >&5
4668 (exit $ac_status); } &&
4669 { ac_try
='test -s conftest.$ac_objext'
4670 { (eval echo "$as_me:4670: \"$ac_try\"") >&5
4673 echo "$as_me:4673: \$? = $ac_status" >&5
4674 (exit $ac_status); }; }; then
4675 ac_cv_have_decl_optreset
=yes
4677 echo "$as_me: failed program was:" >&5
4678 cat conftest.
$ac_ext >&5
4679 ac_cv_have_decl_optreset
=no
4681 rm -f conftest.
$ac_objext conftest.
$ac_ext
4683 echo "$as_me:4683: result: $ac_cv_have_decl_optreset" >&5
4684 echo "${ECHO_T}$ac_cv_have_decl_optreset" >&6
4685 if test $ac_cv_have_decl_optreset = yes; then
4687 cat >>confdefs.h
<<EOF
4688 #define HAVE_DECL_OPTRESET 1
4692 cat >>confdefs.h
<<EOF
4693 #define HAVE_DECL_OPTRESET 0
4698 echo "$as_me:4698: checking whether sys_signame is declared" >&5
4699 echo $ECHO_N "checking whether sys_signame is declared... $ECHO_C" >&6
4700 if test "${ac_cv_have_decl_sys_signame+set}" = set; then
4701 echo $ECHO_N "(cached) $ECHO_C" >&6
4703 cat >conftest.
$ac_ext <<_ACEOF
4704 #line 4704 "configure"
4705 #include "confdefs.h"
4712 char *p = (char *) sys_signame;
4719 rm -f conftest.
$ac_objext
4720 if { (eval echo "$as_me:4720: \"$ac_compile\"") >&5
4721 (eval $ac_compile) 2>&5
4723 echo "$as_me:4723: \$? = $ac_status" >&5
4724 (exit $ac_status); } &&
4725 { ac_try
='test -s conftest.$ac_objext'
4726 { (eval echo "$as_me:4726: \"$ac_try\"") >&5
4729 echo "$as_me:4729: \$? = $ac_status" >&5
4730 (exit $ac_status); }; }; then
4731 ac_cv_have_decl_sys_signame
=yes
4733 echo "$as_me: failed program was:" >&5
4734 cat conftest.
$ac_ext >&5
4735 ac_cv_have_decl_sys_signame
=no
4737 rm -f conftest.
$ac_objext conftest.
$ac_ext
4739 echo "$as_me:4739: result: $ac_cv_have_decl_sys_signame" >&5
4740 echo "${ECHO_T}$ac_cv_have_decl_sys_signame" >&6
4741 if test $ac_cv_have_decl_sys_signame = yes; then
4743 cat >>confdefs.h
<<EOF
4744 #define HAVE_DECL_SYS_SIGNAME 1
4748 cat >>confdefs.h
<<EOF
4749 #define HAVE_DECL_SYS_SIGNAME 0
4754 # Library functions (where a .h check isn't enough).
4755 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4756 # for constant arguments. Useless!
4757 echo "$as_me:4757: checking for working alloca.h" >&5
4758 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
4759 if test "${ac_cv_working_alloca_h+set}" = set; then
4760 echo $ECHO_N "(cached) $ECHO_C" >&6
4762 cat >conftest.
$ac_ext <<_ACEOF
4763 #line 4763 "configure"
4764 #include "confdefs.h"
4769 char *p = (char *) alloca (2 * sizeof (int));
4774 rm -f conftest.
$ac_objext conftest
$ac_exeext
4775 if { (eval echo "$as_me:4775: \"$ac_link\"") >&5
4776 (eval $ac_link) 2>&5
4778 echo "$as_me:4778: \$? = $ac_status" >&5
4779 (exit $ac_status); } &&
4780 { ac_try
='test -s conftest$ac_exeext'
4781 { (eval echo "$as_me:4781: \"$ac_try\"") >&5
4784 echo "$as_me:4784: \$? = $ac_status" >&5
4785 (exit $ac_status); }; }; then
4786 ac_cv_working_alloca_h
=yes
4788 echo "$as_me: failed program was:" >&5
4789 cat conftest.
$ac_ext >&5
4790 ac_cv_working_alloca_h
=no
4792 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4794 echo "$as_me:4794: result: $ac_cv_working_alloca_h" >&5
4795 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
4796 if test $ac_cv_working_alloca_h = yes; then
4798 cat >>confdefs.h
<<\EOF
4799 #define HAVE_ALLOCA_H 1
4804 echo "$as_me:4804: checking for alloca" >&5
4805 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
4806 if test "${ac_cv_func_alloca_works+set}" = set; then
4807 echo $ECHO_N "(cached) $ECHO_C" >&6
4809 cat >conftest.
$ac_ext <<_ACEOF
4810 #line 4810 "configure"
4811 #include "confdefs.h"
4813 # define alloca __builtin_alloca
4816 # include <malloc.h>
4817 # define alloca _alloca
4820 # include <alloca.h>
4825 # ifndef alloca /* predefined by HP cc +Olibcalls */
4836 char *p = (char *) alloca (1);
4841 rm -f conftest.
$ac_objext conftest
$ac_exeext
4842 if { (eval echo "$as_me:4842: \"$ac_link\"") >&5
4843 (eval $ac_link) 2>&5
4845 echo "$as_me:4845: \$? = $ac_status" >&5
4846 (exit $ac_status); } &&
4847 { ac_try
='test -s conftest$ac_exeext'
4848 { (eval echo "$as_me:4848: \"$ac_try\"") >&5
4851 echo "$as_me:4851: \$? = $ac_status" >&5
4852 (exit $ac_status); }; }; then
4853 ac_cv_func_alloca_works
=yes
4855 echo "$as_me: failed program was:" >&5
4856 cat conftest.
$ac_ext >&5
4857 ac_cv_func_alloca_works
=no
4859 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4861 echo "$as_me:4861: result: $ac_cv_func_alloca_works" >&5
4862 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
4864 if test $ac_cv_func_alloca_works = yes; then
4866 cat >>confdefs.h
<<\EOF
4867 #define HAVE_ALLOCA 1
4871 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
4872 # that cause trouble. Some versions do not even contain alloca or
4873 # contain a buggy version. If you still want to use their alloca,
4874 # use ar to extract alloca.o from them instead of compiling alloca.c.
4876 ALLOCA
=alloca.
$ac_objext
4878 cat >>confdefs.h
<<\EOF
4882 echo "$as_me:4882: checking whether \`alloca.c' needs Cray hooks" >&5
4883 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
4884 if test "${ac_cv_os_cray+set}" = set; then
4885 echo $ECHO_N "(cached) $ECHO_C" >&6
4887 cat >conftest.
$ac_ext <<_ACEOF
4888 #line 4888 "configure"
4889 #include "confdefs.h"
4890 #if defined(CRAY) && ! defined(CRAY2)
4897 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4898 egrep "webecray" >/dev
/null
2>&1; then
4906 echo "$as_me:4906: result: $ac_cv_os_cray" >&5
4907 echo "${ECHO_T}$ac_cv_os_cray" >&6
4908 if test $ac_cv_os_cray = yes; then
4909 for ac_func
in _getb67 GETB67 getb67
; do
4910 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4911 echo "$as_me:4911: checking for $ac_func" >&5
4912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4913 if eval "test \"\${$as_ac_var+set}\" = set"; then
4914 echo $ECHO_N "(cached) $ECHO_C" >&6
4916 cat >conftest.
$ac_ext <<_ACEOF
4917 #line 4917 "configure"
4918 #include "confdefs.h"
4919 /* System header to define __stub macros and hopefully few prototypes,
4920 which can conflict with char $ac_func (); below. */
4922 /* Override any gcc2 internal prototype to avoid an error. */
4926 /* We use char because int might match the return type of a gcc2
4927 builtin and then its argument prototype would still apply. */
4934 /* The GNU C library defines this for functions which it implements
4935 to always fail with ENOSYS. Some functions are actually named
4936 something starting with __ and the normal name is an alias. */
4937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4947 rm -f conftest.
$ac_objext conftest
$ac_exeext
4948 if { (eval echo "$as_me:4948: \"$ac_link\"") >&5
4949 (eval $ac_link) 2>&5
4951 echo "$as_me:4951: \$? = $ac_status" >&5
4952 (exit $ac_status); } &&
4953 { ac_try
='test -s conftest$ac_exeext'
4954 { (eval echo "$as_me:4954: \"$ac_try\"") >&5
4957 echo "$as_me:4957: \$? = $ac_status" >&5
4958 (exit $ac_status); }; }; then
4959 eval "$as_ac_var=yes"
4961 echo "$as_me: failed program was:" >&5
4962 cat conftest.
$ac_ext >&5
4963 eval "$as_ac_var=no"
4965 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4967 echo "$as_me:4967: result: `eval echo '${'$as_ac_var'}'`" >&5
4968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4969 if test `eval echo '${'$as_ac_var'}'` = yes; then
4971 cat >>confdefs.h
<<EOF
4972 #define CRAY_STACKSEG_END $ac_func
4981 echo "$as_me:4981: checking stack direction for C alloca" >&5
4982 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
4983 if test "${ac_cv_c_stack_direction+set}" = set; then
4984 echo $ECHO_N "(cached) $ECHO_C" >&6
4986 if test "$cross_compiling" = yes; then
4987 ac_cv_c_stack_direction
=0
4989 cat >conftest.
$ac_ext <<_ACEOF
4990 #line 4990 "configure"
4991 #include "confdefs.h"
4993 find_stack_direction ()
4995 static char *addr = 0;
5000 return find_stack_direction ();
5003 return (&dummy > addr) ? 1 : -1;
5009 exit (find_stack_direction () < 0);
5012 rm -f conftest
$ac_exeext
5013 if { (eval echo "$as_me:5013: \"$ac_link\"") >&5
5014 (eval $ac_link) 2>&5
5016 echo "$as_me:5016: \$? = $ac_status" >&5
5017 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5018 { (eval echo "$as_me:5018: \"$ac_try\"") >&5
5021 echo "$as_me:5021: \$? = $ac_status" >&5
5022 (exit $ac_status); }; }; then
5023 ac_cv_c_stack_direction
=1
5025 echo "$as_me: program exited with status $ac_status" >&5
5026 echo "$as_me: failed program was:" >&5
5027 cat conftest.
$ac_ext >&5
5028 ac_cv_c_stack_direction
=-1
5030 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5033 echo "$as_me:5033: result: $ac_cv_c_stack_direction" >&5
5034 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
5036 cat >>confdefs.h
<<EOF
5037 #define STACK_DIRECTION $ac_cv_c_stack_direction
5042 for ac_func
in atoll asprintf asnprintf
basename devname dirfd
dirname \
5043 dprintf esetfunc fgetln flock fpurge __fpurge futimes getline \
5044 getopt getopt_long group_from_gid gid_from_group \
5045 heapsort isblank issetugid lchflags lchmod lchown lutimes mkstemp \
5046 mkdtemp poll pread putc_unlocked pwcache_userdb pwcache_groupdb \
5047 pwrite raise_default_signal random reallocarr setenv \
5048 setgroupent setprogname setpassent \
5049 snprintb_m snprintf strlcat strlcpy strmode \
5050 strndup strnlen strsep strsuftoll strtoi strtoll strtou \
5051 user_from_uid uid_from_user vasprintf vasnprintf vsnprintf
5053 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5054 echo "$as_me:5054: checking for $ac_func" >&5
5055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5056 if eval "test \"\${$as_ac_var+set}\" = set"; then
5057 echo $ECHO_N "(cached) $ECHO_C" >&6
5059 cat >conftest.
$ac_ext <<_ACEOF
5060 #line 5060 "configure"
5061 #include "confdefs.h"
5062 /* System header to define __stub macros and hopefully few prototypes,
5063 which can conflict with char $ac_func (); below. */
5065 /* Override any gcc2 internal prototype to avoid an error. */
5069 /* We use char because int might match the return type of a gcc2
5070 builtin and then its argument prototype would still apply. */
5077 /* The GNU C library defines this for functions which it implements
5078 to always fail with ENOSYS. Some functions are actually named
5079 something starting with __ and the normal name is an alias. */
5080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5090 rm -f conftest.
$ac_objext conftest
$ac_exeext
5091 if { (eval echo "$as_me:5091: \"$ac_link\"") >&5
5092 (eval $ac_link) 2>&5
5094 echo "$as_me:5094: \$? = $ac_status" >&5
5095 (exit $ac_status); } &&
5096 { ac_try
='test -s conftest$ac_exeext'
5097 { (eval echo "$as_me:5097: \"$ac_try\"") >&5
5100 echo "$as_me:5100: \$? = $ac_status" >&5
5101 (exit $ac_status); }; }; then
5102 eval "$as_ac_var=yes"
5104 echo "$as_me: failed program was:" >&5
5105 cat conftest.
$ac_ext >&5
5106 eval "$as_ac_var=no"
5108 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5110 echo "$as_me:5110: result: `eval echo '${'$as_ac_var'}'`" >&5
5111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5112 if test `eval echo '${'$as_ac_var'}'` = yes; then
5113 cat >>confdefs.h
<<EOF
5114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5120 echo "$as_me:5120: checking whether user_from_uid is declared" >&5
5121 echo $ECHO_N "checking whether user_from_uid is declared... $ECHO_C" >&6
5122 if test "${ac_cv_have_decl_user_from_uid+set}" = set; then
5123 echo $ECHO_N "(cached) $ECHO_C" >&6
5125 cat >conftest.
$ac_ext <<_ACEOF
5126 #line 5126 "configure"
5127 #include "confdefs.h"
5134 #ifndef user_from_uid
5135 char *p = (char *) user_from_uid;
5142 rm -f conftest.
$ac_objext
5143 if { (eval echo "$as_me:5143: \"$ac_compile\"") >&5
5144 (eval $ac_compile) 2>&5
5146 echo "$as_me:5146: \$? = $ac_status" >&5
5147 (exit $ac_status); } &&
5148 { ac_try
='test -s conftest.$ac_objext'
5149 { (eval echo "$as_me:5149: \"$ac_try\"") >&5
5152 echo "$as_me:5152: \$? = $ac_status" >&5
5153 (exit $ac_status); }; }; then
5154 ac_cv_have_decl_user_from_uid
=yes
5156 echo "$as_me: failed program was:" >&5
5157 cat conftest.
$ac_ext >&5
5158 ac_cv_have_decl_user_from_uid
=no
5160 rm -f conftest.
$ac_objext conftest.
$ac_ext
5162 echo "$as_me:5162: result: $ac_cv_have_decl_user_from_uid" >&5
5163 echo "${ECHO_T}$ac_cv_have_decl_user_from_uid" >&6
5164 if test $ac_cv_have_decl_user_from_uid = yes; then
5166 cat >>confdefs.h
<<EOF
5167 #define HAVE_DECL_USER_FROM_UID 1
5171 cat >>confdefs.h
<<EOF
5172 #define HAVE_DECL_USER_FROM_UID 0
5176 echo "$as_me:5176: checking whether uid_from_user is declared" >&5
5177 echo $ECHO_N "checking whether uid_from_user is declared... $ECHO_C" >&6
5178 if test "${ac_cv_have_decl_uid_from_user+set}" = set; then
5179 echo $ECHO_N "(cached) $ECHO_C" >&6
5181 cat >conftest.
$ac_ext <<_ACEOF
5182 #line 5182 "configure"
5183 #include "confdefs.h"
5190 #ifndef uid_from_user
5191 char *p = (char *) uid_from_user;
5198 rm -f conftest.
$ac_objext
5199 if { (eval echo "$as_me:5199: \"$ac_compile\"") >&5
5200 (eval $ac_compile) 2>&5
5202 echo "$as_me:5202: \$? = $ac_status" >&5
5203 (exit $ac_status); } &&
5204 { ac_try
='test -s conftest.$ac_objext'
5205 { (eval echo "$as_me:5205: \"$ac_try\"") >&5
5208 echo "$as_me:5208: \$? = $ac_status" >&5
5209 (exit $ac_status); }; }; then
5210 ac_cv_have_decl_uid_from_user
=yes
5212 echo "$as_me: failed program was:" >&5
5213 cat conftest.
$ac_ext >&5
5214 ac_cv_have_decl_uid_from_user
=no
5216 rm -f conftest.
$ac_objext conftest.
$ac_ext
5218 echo "$as_me:5218: result: $ac_cv_have_decl_uid_from_user" >&5
5219 echo "${ECHO_T}$ac_cv_have_decl_uid_from_user" >&6
5220 if test $ac_cv_have_decl_uid_from_user = yes; then
5222 cat >>confdefs.h
<<EOF
5223 #define HAVE_DECL_UID_FROM_USER 1
5227 cat >>confdefs.h
<<EOF
5228 #define HAVE_DECL_UID_FROM_USER 0
5232 echo "$as_me:5232: checking whether pwcache_userdb is declared" >&5
5233 echo $ECHO_N "checking whether pwcache_userdb is declared... $ECHO_C" >&6
5234 if test "${ac_cv_have_decl_pwcache_userdb+set}" = set; then
5235 echo $ECHO_N "(cached) $ECHO_C" >&6
5237 cat >conftest.
$ac_ext <<_ACEOF
5238 #line 5238 "configure"
5239 #include "confdefs.h"
5246 #ifndef pwcache_userdb
5247 char *p = (char *) pwcache_userdb;
5254 rm -f conftest.
$ac_objext
5255 if { (eval echo "$as_me:5255: \"$ac_compile\"") >&5
5256 (eval $ac_compile) 2>&5
5258 echo "$as_me:5258: \$? = $ac_status" >&5
5259 (exit $ac_status); } &&
5260 { ac_try
='test -s conftest.$ac_objext'
5261 { (eval echo "$as_me:5261: \"$ac_try\"") >&5
5264 echo "$as_me:5264: \$? = $ac_status" >&5
5265 (exit $ac_status); }; }; then
5266 ac_cv_have_decl_pwcache_userdb
=yes
5268 echo "$as_me: failed program was:" >&5
5269 cat conftest.
$ac_ext >&5
5270 ac_cv_have_decl_pwcache_userdb
=no
5272 rm -f conftest.
$ac_objext conftest.
$ac_ext
5274 echo "$as_me:5274: result: $ac_cv_have_decl_pwcache_userdb" >&5
5275 echo "${ECHO_T}$ac_cv_have_decl_pwcache_userdb" >&6
5276 if test $ac_cv_have_decl_pwcache_userdb = yes; then
5278 cat >>confdefs.h
<<EOF
5279 #define HAVE_DECL_PWCACHE_USERDB 1
5283 cat >>confdefs.h
<<EOF
5284 #define HAVE_DECL_PWCACHE_USERDB 0
5289 echo "$as_me:5289: checking whether group_from_gid is declared" >&5
5290 echo $ECHO_N "checking whether group_from_gid is declared... $ECHO_C" >&6
5291 if test "${ac_cv_have_decl_group_from_gid+set}" = set; then
5292 echo $ECHO_N "(cached) $ECHO_C" >&6
5294 cat >conftest.
$ac_ext <<_ACEOF
5295 #line 5295 "configure"
5296 #include "confdefs.h"
5303 #ifndef group_from_gid
5304 char *p = (char *) group_from_gid;
5311 rm -f conftest.
$ac_objext
5312 if { (eval echo "$as_me:5312: \"$ac_compile\"") >&5
5313 (eval $ac_compile) 2>&5
5315 echo "$as_me:5315: \$? = $ac_status" >&5
5316 (exit $ac_status); } &&
5317 { ac_try
='test -s conftest.$ac_objext'
5318 { (eval echo "$as_me:5318: \"$ac_try\"") >&5
5321 echo "$as_me:5321: \$? = $ac_status" >&5
5322 (exit $ac_status); }; }; then
5323 ac_cv_have_decl_group_from_gid
=yes
5325 echo "$as_me: failed program was:" >&5
5326 cat conftest.
$ac_ext >&5
5327 ac_cv_have_decl_group_from_gid
=no
5329 rm -f conftest.
$ac_objext conftest.
$ac_ext
5331 echo "$as_me:5331: result: $ac_cv_have_decl_group_from_gid" >&5
5332 echo "${ECHO_T}$ac_cv_have_decl_group_from_gid" >&6
5333 if test $ac_cv_have_decl_group_from_gid = yes; then
5335 cat >>confdefs.h
<<EOF
5336 #define HAVE_DECL_GROUP_FROM_GID 1
5340 cat >>confdefs.h
<<EOF
5341 #define HAVE_DECL_GROUP_FROM_GID 0
5345 echo "$as_me:5345: checking whether gid_from_group is declared" >&5
5346 echo $ECHO_N "checking whether gid_from_group is declared... $ECHO_C" >&6
5347 if test "${ac_cv_have_decl_gid_from_group+set}" = set; then
5348 echo $ECHO_N "(cached) $ECHO_C" >&6
5350 cat >conftest.
$ac_ext <<_ACEOF
5351 #line 5351 "configure"
5352 #include "confdefs.h"
5359 #ifndef gid_from_group
5360 char *p = (char *) gid_from_group;
5367 rm -f conftest.
$ac_objext
5368 if { (eval echo "$as_me:5368: \"$ac_compile\"") >&5
5369 (eval $ac_compile) 2>&5
5371 echo "$as_me:5371: \$? = $ac_status" >&5
5372 (exit $ac_status); } &&
5373 { ac_try
='test -s conftest.$ac_objext'
5374 { (eval echo "$as_me:5374: \"$ac_try\"") >&5
5377 echo "$as_me:5377: \$? = $ac_status" >&5
5378 (exit $ac_status); }; }; then
5379 ac_cv_have_decl_gid_from_group
=yes
5381 echo "$as_me: failed program was:" >&5
5382 cat conftest.
$ac_ext >&5
5383 ac_cv_have_decl_gid_from_group
=no
5385 rm -f conftest.
$ac_objext conftest.
$ac_ext
5387 echo "$as_me:5387: result: $ac_cv_have_decl_gid_from_group" >&5
5388 echo "${ECHO_T}$ac_cv_have_decl_gid_from_group" >&6
5389 if test $ac_cv_have_decl_gid_from_group = yes; then
5391 cat >>confdefs.h
<<EOF
5392 #define HAVE_DECL_GID_FROM_GROUP 1
5396 cat >>confdefs.h
<<EOF
5397 #define HAVE_DECL_GID_FROM_GROUP 0
5401 echo "$as_me:5401: checking whether pwcache_groupdb is declared" >&5
5402 echo $ECHO_N "checking whether pwcache_groupdb is declared... $ECHO_C" >&6
5403 if test "${ac_cv_have_decl_pwcache_groupdb+set}" = set; then
5404 echo $ECHO_N "(cached) $ECHO_C" >&6
5406 cat >conftest.
$ac_ext <<_ACEOF
5407 #line 5407 "configure"
5408 #include "confdefs.h"
5415 #ifndef pwcache_groupdb
5416 char *p = (char *) pwcache_groupdb;
5423 rm -f conftest.
$ac_objext
5424 if { (eval echo "$as_me:5424: \"$ac_compile\"") >&5
5425 (eval $ac_compile) 2>&5
5427 echo "$as_me:5427: \$? = $ac_status" >&5
5428 (exit $ac_status); } &&
5429 { ac_try
='test -s conftest.$ac_objext'
5430 { (eval echo "$as_me:5430: \"$ac_try\"") >&5
5433 echo "$as_me:5433: \$? = $ac_status" >&5
5434 (exit $ac_status); }; }; then
5435 ac_cv_have_decl_pwcache_groupdb
=yes
5437 echo "$as_me: failed program was:" >&5
5438 cat conftest.
$ac_ext >&5
5439 ac_cv_have_decl_pwcache_groupdb
=no
5441 rm -f conftest.
$ac_objext conftest.
$ac_ext
5443 echo "$as_me:5443: result: $ac_cv_have_decl_pwcache_groupdb" >&5
5444 echo "${ECHO_T}$ac_cv_have_decl_pwcache_groupdb" >&6
5445 if test $ac_cv_have_decl_pwcache_groupdb = yes; then
5447 cat >>confdefs.h
<<EOF
5448 #define HAVE_DECL_PWCACHE_GROUPDB 1
5452 cat >>confdefs.h
<<EOF
5453 #define HAVE_DECL_PWCACHE_GROUPDB 0
5458 echo "$as_me:5458: checking whether strndup is declared" >&5
5459 echo $ECHO_N "checking whether strndup is declared... $ECHO_C" >&6
5460 if test "${ac_cv_have_decl_strndup+set}" = set; then
5461 echo $ECHO_N "(cached) $ECHO_C" >&6
5463 cat >conftest.
$ac_ext <<_ACEOF
5464 #line 5464 "configure"
5465 #include "confdefs.h"
5472 char *p = (char *) strndup;
5479 rm -f conftest.
$ac_objext
5480 if { (eval echo "$as_me:5480: \"$ac_compile\"") >&5
5481 (eval $ac_compile) 2>&5
5483 echo "$as_me:5483: \$? = $ac_status" >&5
5484 (exit $ac_status); } &&
5485 { ac_try
='test -s conftest.$ac_objext'
5486 { (eval echo "$as_me:5486: \"$ac_try\"") >&5
5489 echo "$as_me:5489: \$? = $ac_status" >&5
5490 (exit $ac_status); }; }; then
5491 ac_cv_have_decl_strndup
=yes
5493 echo "$as_me: failed program was:" >&5
5494 cat conftest.
$ac_ext >&5
5495 ac_cv_have_decl_strndup
=no
5497 rm -f conftest.
$ac_objext conftest.
$ac_ext
5499 echo "$as_me:5499: result: $ac_cv_have_decl_strndup" >&5
5500 echo "${ECHO_T}$ac_cv_have_decl_strndup" >&6
5501 if test $ac_cv_have_decl_strndup = yes; then
5503 cat >>confdefs.h
<<EOF
5504 #define HAVE_DECL_STRNDUP 1
5508 cat >>confdefs.h
<<EOF
5509 #define HAVE_DECL_STRNDUP 0
5513 echo "$as_me:5513: checking whether strnlen is declared" >&5
5514 echo $ECHO_N "checking whether strnlen is declared... $ECHO_C" >&6
5515 if test "${ac_cv_have_decl_strnlen+set}" = set; then
5516 echo $ECHO_N "(cached) $ECHO_C" >&6
5518 cat >conftest.
$ac_ext <<_ACEOF
5519 #line 5519 "configure"
5520 #include "confdefs.h"
5527 char *p = (char *) strnlen;
5534 rm -f conftest.
$ac_objext
5535 if { (eval echo "$as_me:5535: \"$ac_compile\"") >&5
5536 (eval $ac_compile) 2>&5
5538 echo "$as_me:5538: \$? = $ac_status" >&5
5539 (exit $ac_status); } &&
5540 { ac_try
='test -s conftest.$ac_objext'
5541 { (eval echo "$as_me:5541: \"$ac_try\"") >&5
5544 echo "$as_me:5544: \$? = $ac_status" >&5
5545 (exit $ac_status); }; }; then
5546 ac_cv_have_decl_strnlen
=yes
5548 echo "$as_me: failed program was:" >&5
5549 cat conftest.
$ac_ext >&5
5550 ac_cv_have_decl_strnlen
=no
5552 rm -f conftest.
$ac_objext conftest.
$ac_ext
5554 echo "$as_me:5554: result: $ac_cv_have_decl_strnlen" >&5
5555 echo "${ECHO_T}$ac_cv_have_decl_strnlen" >&6
5556 if test $ac_cv_have_decl_strnlen = yes; then
5558 cat >>confdefs.h
<<EOF
5559 #define HAVE_DECL_STRNLEN 1
5563 cat >>confdefs.h
<<EOF
5564 #define HAVE_DECL_STRNLEN 0
5569 echo "$as_me:5569: checking whether strsuftoll is declared" >&5
5570 echo $ECHO_N "checking whether strsuftoll is declared... $ECHO_C" >&6
5571 if test "${ac_cv_have_decl_strsuftoll+set}" = set; then
5572 echo $ECHO_N "(cached) $ECHO_C" >&6
5574 cat >conftest.
$ac_ext <<_ACEOF
5575 #line 5575 "configure"
5576 #include "confdefs.h"
5583 char *p = (char *) strsuftoll;
5590 rm -f conftest.
$ac_objext
5591 if { (eval echo "$as_me:5591: \"$ac_compile\"") >&5
5592 (eval $ac_compile) 2>&5
5594 echo "$as_me:5594: \$? = $ac_status" >&5
5595 (exit $ac_status); } &&
5596 { ac_try
='test -s conftest.$ac_objext'
5597 { (eval echo "$as_me:5597: \"$ac_try\"") >&5
5600 echo "$as_me:5600: \$? = $ac_status" >&5
5601 (exit $ac_status); }; }; then
5602 ac_cv_have_decl_strsuftoll
=yes
5604 echo "$as_me: failed program was:" >&5
5605 cat conftest.
$ac_ext >&5
5606 ac_cv_have_decl_strsuftoll
=no
5608 rm -f conftest.
$ac_objext conftest.
$ac_ext
5610 echo "$as_me:5610: result: $ac_cv_have_decl_strsuftoll" >&5
5611 echo "${ECHO_T}$ac_cv_have_decl_strsuftoll" >&6
5612 if test $ac_cv_have_decl_strsuftoll = yes; then
5614 cat >>confdefs.h
<<EOF
5615 #define HAVE_DECL_STRSUFTOLL 1
5619 cat >>confdefs.h
<<EOF
5620 #define HAVE_DECL_STRSUFTOLL 0
5625 echo "$as_me:5625: checking whether lchflags is declared" >&5
5626 echo $ECHO_N "checking whether lchflags is declared... $ECHO_C" >&6
5627 if test "${ac_cv_have_decl_lchflags+set}" = set; then
5628 echo $ECHO_N "(cached) $ECHO_C" >&6
5630 cat >conftest.
$ac_ext <<_ACEOF
5631 #line 5631 "configure"
5632 #include "confdefs.h"
5634 #include <sys/stat.h>
5641 char *p = (char *) lchflags;
5648 rm -f conftest.
$ac_objext
5649 if { (eval echo "$as_me:5649: \"$ac_compile\"") >&5
5650 (eval $ac_compile) 2>&5
5652 echo "$as_me:5652: \$? = $ac_status" >&5
5653 (exit $ac_status); } &&
5654 { ac_try
='test -s conftest.$ac_objext'
5655 { (eval echo "$as_me:5655: \"$ac_try\"") >&5
5658 echo "$as_me:5658: \$? = $ac_status" >&5
5659 (exit $ac_status); }; }; then
5660 ac_cv_have_decl_lchflags
=yes
5662 echo "$as_me: failed program was:" >&5
5663 cat conftest.
$ac_ext >&5
5664 ac_cv_have_decl_lchflags
=no
5666 rm -f conftest.
$ac_objext conftest.
$ac_ext
5668 echo "$as_me:5668: result: $ac_cv_have_decl_lchflags" >&5
5669 echo "${ECHO_T}$ac_cv_have_decl_lchflags" >&6
5670 if test $ac_cv_have_decl_lchflags = yes; then
5672 cat >>confdefs.h
<<EOF
5673 #define HAVE_DECL_LCHFLAGS 1
5677 cat >>confdefs.h
<<EOF
5678 #define HAVE_DECL_LCHFLAGS 0
5682 echo "$as_me:5682: checking whether lchmod is declared" >&5
5683 echo $ECHO_N "checking whether lchmod is declared... $ECHO_C" >&6
5684 if test "${ac_cv_have_decl_lchmod+set}" = set; then
5685 echo $ECHO_N "(cached) $ECHO_C" >&6
5687 cat >conftest.
$ac_ext <<_ACEOF
5688 #line 5688 "configure"
5689 #include "confdefs.h"
5691 #include <sys/stat.h>
5698 char *p = (char *) lchmod;
5705 rm -f conftest.
$ac_objext
5706 if { (eval echo "$as_me:5706: \"$ac_compile\"") >&5
5707 (eval $ac_compile) 2>&5
5709 echo "$as_me:5709: \$? = $ac_status" >&5
5710 (exit $ac_status); } &&
5711 { ac_try
='test -s conftest.$ac_objext'
5712 { (eval echo "$as_me:5712: \"$ac_try\"") >&5
5715 echo "$as_me:5715: \$? = $ac_status" >&5
5716 (exit $ac_status); }; }; then
5717 ac_cv_have_decl_lchmod
=yes
5719 echo "$as_me: failed program was:" >&5
5720 cat conftest.
$ac_ext >&5
5721 ac_cv_have_decl_lchmod
=no
5723 rm -f conftest.
$ac_objext conftest.
$ac_ext
5725 echo "$as_me:5725: result: $ac_cv_have_decl_lchmod" >&5
5726 echo "${ECHO_T}$ac_cv_have_decl_lchmod" >&6
5727 if test $ac_cv_have_decl_lchmod = yes; then
5729 cat >>confdefs.h
<<EOF
5730 #define HAVE_DECL_LCHMOD 1
5734 cat >>confdefs.h
<<EOF
5735 #define HAVE_DECL_LCHMOD 0
5739 echo "$as_me:5739: checking whether lchown is declared" >&5
5740 echo $ECHO_N "checking whether lchown is declared... $ECHO_C" >&6
5741 if test "${ac_cv_have_decl_lchown+set}" = set; then
5742 echo $ECHO_N "(cached) $ECHO_C" >&6
5744 cat >conftest.
$ac_ext <<_ACEOF
5745 #line 5745 "configure"
5746 #include "confdefs.h"
5748 #include <sys/stat.h>
5755 char *p = (char *) lchown;
5762 rm -f conftest.
$ac_objext
5763 if { (eval echo "$as_me:5763: \"$ac_compile\"") >&5
5764 (eval $ac_compile) 2>&5
5766 echo "$as_me:5766: \$? = $ac_status" >&5
5767 (exit $ac_status); } &&
5768 { ac_try
='test -s conftest.$ac_objext'
5769 { (eval echo "$as_me:5769: \"$ac_try\"") >&5
5772 echo "$as_me:5772: \$? = $ac_status" >&5
5773 (exit $ac_status); }; }; then
5774 ac_cv_have_decl_lchown
=yes
5776 echo "$as_me: failed program was:" >&5
5777 cat conftest.
$ac_ext >&5
5778 ac_cv_have_decl_lchown
=no
5780 rm -f conftest.
$ac_objext conftest.
$ac_ext
5782 echo "$as_me:5782: result: $ac_cv_have_decl_lchown" >&5
5783 echo "${ECHO_T}$ac_cv_have_decl_lchown" >&6
5784 if test $ac_cv_have_decl_lchown = yes; then
5786 cat >>confdefs.h
<<EOF
5787 #define HAVE_DECL_LCHOWN 1
5791 cat >>confdefs.h
<<EOF
5792 #define HAVE_DECL_LCHOWN 0
5797 echo "$as_me:5797: checking whether errc is declared" >&5
5798 echo $ECHO_N "checking whether errc is declared... $ECHO_C" >&6
5799 if test "${ac_cv_have_decl_errc+set}" = set; then
5800 echo $ECHO_N "(cached) $ECHO_C" >&6
5802 cat >conftest.
$ac_ext <<_ACEOF
5803 #line 5803 "configure"
5804 #include "confdefs.h"
5814 char *p = (char *) errc;
5821 rm -f conftest.
$ac_objext
5822 if { (eval echo "$as_me:5822: \"$ac_compile\"") >&5
5823 (eval $ac_compile) 2>&5
5825 echo "$as_me:5825: \$? = $ac_status" >&5
5826 (exit $ac_status); } &&
5827 { ac_try
='test -s conftest.$ac_objext'
5828 { (eval echo "$as_me:5828: \"$ac_try\"") >&5
5831 echo "$as_me:5831: \$? = $ac_status" >&5
5832 (exit $ac_status); }; }; then
5833 ac_cv_have_decl_errc
=yes
5835 echo "$as_me: failed program was:" >&5
5836 cat conftest.
$ac_ext >&5
5837 ac_cv_have_decl_errc
=no
5839 rm -f conftest.
$ac_objext conftest.
$ac_ext
5841 echo "$as_me:5841: result: $ac_cv_have_decl_errc" >&5
5842 echo "${ECHO_T}$ac_cv_have_decl_errc" >&6
5843 if test $ac_cv_have_decl_errc = yes; then
5845 cat >>confdefs.h
<<EOF
5846 #define HAVE_DECL_ERRC 1
5850 cat >>confdefs.h
<<EOF
5851 #define HAVE_DECL_ERRC 0
5855 echo "$as_me:5855: checking whether verrc is declared" >&5
5856 echo $ECHO_N "checking whether verrc is declared... $ECHO_C" >&6
5857 if test "${ac_cv_have_decl_verrc+set}" = set; then
5858 echo $ECHO_N "(cached) $ECHO_C" >&6
5860 cat >conftest.
$ac_ext <<_ACEOF
5861 #line 5861 "configure"
5862 #include "confdefs.h"
5872 char *p = (char *) verrc;
5879 rm -f conftest.
$ac_objext
5880 if { (eval echo "$as_me:5880: \"$ac_compile\"") >&5
5881 (eval $ac_compile) 2>&5
5883 echo "$as_me:5883: \$? = $ac_status" >&5
5884 (exit $ac_status); } &&
5885 { ac_try
='test -s conftest.$ac_objext'
5886 { (eval echo "$as_me:5886: \"$ac_try\"") >&5
5889 echo "$as_me:5889: \$? = $ac_status" >&5
5890 (exit $ac_status); }; }; then
5891 ac_cv_have_decl_verrc
=yes
5893 echo "$as_me: failed program was:" >&5
5894 cat conftest.
$ac_ext >&5
5895 ac_cv_have_decl_verrc
=no
5897 rm -f conftest.
$ac_objext conftest.
$ac_ext
5899 echo "$as_me:5899: result: $ac_cv_have_decl_verrc" >&5
5900 echo "${ECHO_T}$ac_cv_have_decl_verrc" >&6
5901 if test $ac_cv_have_decl_verrc = yes; then
5903 cat >>confdefs.h
<<EOF
5904 #define HAVE_DECL_VERRC 1
5908 cat >>confdefs.h
<<EOF
5909 #define HAVE_DECL_VERRC 0
5913 echo "$as_me:5913: checking whether warnc is declared" >&5
5914 echo $ECHO_N "checking whether warnc is declared... $ECHO_C" >&6
5915 if test "${ac_cv_have_decl_warnc+set}" = set; then
5916 echo $ECHO_N "(cached) $ECHO_C" >&6
5918 cat >conftest.
$ac_ext <<_ACEOF
5919 #line 5919 "configure"
5920 #include "confdefs.h"
5930 char *p = (char *) warnc;
5937 rm -f conftest.
$ac_objext
5938 if { (eval echo "$as_me:5938: \"$ac_compile\"") >&5
5939 (eval $ac_compile) 2>&5
5941 echo "$as_me:5941: \$? = $ac_status" >&5
5942 (exit $ac_status); } &&
5943 { ac_try
='test -s conftest.$ac_objext'
5944 { (eval echo "$as_me:5944: \"$ac_try\"") >&5
5947 echo "$as_me:5947: \$? = $ac_status" >&5
5948 (exit $ac_status); }; }; then
5949 ac_cv_have_decl_warnc
=yes
5951 echo "$as_me: failed program was:" >&5
5952 cat conftest.
$ac_ext >&5
5953 ac_cv_have_decl_warnc
=no
5955 rm -f conftest.
$ac_objext conftest.
$ac_ext
5957 echo "$as_me:5957: result: $ac_cv_have_decl_warnc" >&5
5958 echo "${ECHO_T}$ac_cv_have_decl_warnc" >&6
5959 if test $ac_cv_have_decl_warnc = yes; then
5961 cat >>confdefs.h
<<EOF
5962 #define HAVE_DECL_WARNC 1
5966 cat >>confdefs.h
<<EOF
5967 #define HAVE_DECL_WARNC 0
5971 echo "$as_me:5971: checking whether vwarnc is declared" >&5
5972 echo $ECHO_N "checking whether vwarnc is declared... $ECHO_C" >&6
5973 if test "${ac_cv_have_decl_vwarnc+set}" = set; then
5974 echo $ECHO_N "(cached) $ECHO_C" >&6
5976 cat >conftest.
$ac_ext <<_ACEOF
5977 #line 5977 "configure"
5978 #include "confdefs.h"
5988 char *p = (char *) vwarnc;
5995 rm -f conftest.
$ac_objext
5996 if { (eval echo "$as_me:5996: \"$ac_compile\"") >&5
5997 (eval $ac_compile) 2>&5
5999 echo "$as_me:5999: \$? = $ac_status" >&5
6000 (exit $ac_status); } &&
6001 { ac_try
='test -s conftest.$ac_objext'
6002 { (eval echo "$as_me:6002: \"$ac_try\"") >&5
6005 echo "$as_me:6005: \$? = $ac_status" >&5
6006 (exit $ac_status); }; }; then
6007 ac_cv_have_decl_vwarnc
=yes
6009 echo "$as_me: failed program was:" >&5
6010 cat conftest.
$ac_ext >&5
6011 ac_cv_have_decl_vwarnc
=no
6013 rm -f conftest.
$ac_objext conftest.
$ac_ext
6015 echo "$as_me:6015: result: $ac_cv_have_decl_vwarnc" >&5
6016 echo "${ECHO_T}$ac_cv_have_decl_vwarnc" >&6
6017 if test $ac_cv_have_decl_vwarnc = yes; then
6019 cat >>confdefs.h
<<EOF
6020 #define HAVE_DECL_VWARNC 1
6024 cat >>confdefs.h
<<EOF
6025 #define HAVE_DECL_VWARNC 0
6030 echo "$as_me:6030: checking whether htobe16 is declared" >&5
6031 echo $ECHO_N "checking whether htobe16 is declared... $ECHO_C" >&6
6032 if test "${ac_cv_have_decl_htobe16+set}" = set; then
6033 echo $ECHO_N "(cached) $ECHO_C" >&6
6035 cat >conftest.
$ac_ext <<_ACEOF
6036 #line 6036 "configure"
6037 #include "confdefs.h"
6038 #include <sys/types.h>
6044 char *p = (char *) htobe16;
6051 rm -f conftest.
$ac_objext
6052 if { (eval echo "$as_me:6052: \"$ac_compile\"") >&5
6053 (eval $ac_compile) 2>&5
6055 echo "$as_me:6055: \$? = $ac_status" >&5
6056 (exit $ac_status); } &&
6057 { ac_try
='test -s conftest.$ac_objext'
6058 { (eval echo "$as_me:6058: \"$ac_try\"") >&5
6061 echo "$as_me:6061: \$? = $ac_status" >&5
6062 (exit $ac_status); }; }; then
6063 ac_cv_have_decl_htobe16
=yes
6065 echo "$as_me: failed program was:" >&5
6066 cat conftest.
$ac_ext >&5
6067 ac_cv_have_decl_htobe16
=no
6069 rm -f conftest.
$ac_objext conftest.
$ac_ext
6071 echo "$as_me:6071: result: $ac_cv_have_decl_htobe16" >&5
6072 echo "${ECHO_T}$ac_cv_have_decl_htobe16" >&6
6073 if test $ac_cv_have_decl_htobe16 = yes; then
6075 cat >>confdefs.h
<<EOF
6076 #define HAVE_DECL_HTOBE16 1
6080 cat >>confdefs.h
<<EOF
6081 #define HAVE_DECL_HTOBE16 0
6085 echo "$as_me:6085: checking whether htobe32 is declared" >&5
6086 echo $ECHO_N "checking whether htobe32 is declared... $ECHO_C" >&6
6087 if test "${ac_cv_have_decl_htobe32+set}" = set; then
6088 echo $ECHO_N "(cached) $ECHO_C" >&6
6090 cat >conftest.
$ac_ext <<_ACEOF
6091 #line 6091 "configure"
6092 #include "confdefs.h"
6093 #include <sys/types.h>
6099 char *p = (char *) htobe32;
6106 rm -f conftest.
$ac_objext
6107 if { (eval echo "$as_me:6107: \"$ac_compile\"") >&5
6108 (eval $ac_compile) 2>&5
6110 echo "$as_me:6110: \$? = $ac_status" >&5
6111 (exit $ac_status); } &&
6112 { ac_try
='test -s conftest.$ac_objext'
6113 { (eval echo "$as_me:6113: \"$ac_try\"") >&5
6116 echo "$as_me:6116: \$? = $ac_status" >&5
6117 (exit $ac_status); }; }; then
6118 ac_cv_have_decl_htobe32
=yes
6120 echo "$as_me: failed program was:" >&5
6121 cat conftest.
$ac_ext >&5
6122 ac_cv_have_decl_htobe32
=no
6124 rm -f conftest.
$ac_objext conftest.
$ac_ext
6126 echo "$as_me:6126: result: $ac_cv_have_decl_htobe32" >&5
6127 echo "${ECHO_T}$ac_cv_have_decl_htobe32" >&6
6128 if test $ac_cv_have_decl_htobe32 = yes; then
6130 cat >>confdefs.h
<<EOF
6131 #define HAVE_DECL_HTOBE32 1
6135 cat >>confdefs.h
<<EOF
6136 #define HAVE_DECL_HTOBE32 0
6140 echo "$as_me:6140: checking whether htobe64 is declared" >&5
6141 echo $ECHO_N "checking whether htobe64 is declared... $ECHO_C" >&6
6142 if test "${ac_cv_have_decl_htobe64+set}" = set; then
6143 echo $ECHO_N "(cached) $ECHO_C" >&6
6145 cat >conftest.
$ac_ext <<_ACEOF
6146 #line 6146 "configure"
6147 #include "confdefs.h"
6148 #include <sys/types.h>
6154 char *p = (char *) htobe64;
6161 rm -f conftest.
$ac_objext
6162 if { (eval echo "$as_me:6162: \"$ac_compile\"") >&5
6163 (eval $ac_compile) 2>&5
6165 echo "$as_me:6165: \$? = $ac_status" >&5
6166 (exit $ac_status); } &&
6167 { ac_try
='test -s conftest.$ac_objext'
6168 { (eval echo "$as_me:6168: \"$ac_try\"") >&5
6171 echo "$as_me:6171: \$? = $ac_status" >&5
6172 (exit $ac_status); }; }; then
6173 ac_cv_have_decl_htobe64
=yes
6175 echo "$as_me: failed program was:" >&5
6176 cat conftest.
$ac_ext >&5
6177 ac_cv_have_decl_htobe64
=no
6179 rm -f conftest.
$ac_objext conftest.
$ac_ext
6181 echo "$as_me:6181: result: $ac_cv_have_decl_htobe64" >&5
6182 echo "${ECHO_T}$ac_cv_have_decl_htobe64" >&6
6183 if test $ac_cv_have_decl_htobe64 = yes; then
6185 cat >>confdefs.h
<<EOF
6186 #define HAVE_DECL_HTOBE64 1
6190 cat >>confdefs.h
<<EOF
6191 #define HAVE_DECL_HTOBE64 0
6195 echo "$as_me:6195: checking whether htole16 is declared" >&5
6196 echo $ECHO_N "checking whether htole16 is declared... $ECHO_C" >&6
6197 if test "${ac_cv_have_decl_htole16+set}" = set; then
6198 echo $ECHO_N "(cached) $ECHO_C" >&6
6200 cat >conftest.
$ac_ext <<_ACEOF
6201 #line 6201 "configure"
6202 #include "confdefs.h"
6203 #include <sys/types.h>
6209 char *p = (char *) htole16;
6216 rm -f conftest.
$ac_objext
6217 if { (eval echo "$as_me:6217: \"$ac_compile\"") >&5
6218 (eval $ac_compile) 2>&5
6220 echo "$as_me:6220: \$? = $ac_status" >&5
6221 (exit $ac_status); } &&
6222 { ac_try
='test -s conftest.$ac_objext'
6223 { (eval echo "$as_me:6223: \"$ac_try\"") >&5
6226 echo "$as_me:6226: \$? = $ac_status" >&5
6227 (exit $ac_status); }; }; then
6228 ac_cv_have_decl_htole16
=yes
6230 echo "$as_me: failed program was:" >&5
6231 cat conftest.
$ac_ext >&5
6232 ac_cv_have_decl_htole16
=no
6234 rm -f conftest.
$ac_objext conftest.
$ac_ext
6236 echo "$as_me:6236: result: $ac_cv_have_decl_htole16" >&5
6237 echo "${ECHO_T}$ac_cv_have_decl_htole16" >&6
6238 if test $ac_cv_have_decl_htole16 = yes; then
6240 cat >>confdefs.h
<<EOF
6241 #define HAVE_DECL_HTOLE16 1
6245 cat >>confdefs.h
<<EOF
6246 #define HAVE_DECL_HTOLE16 0
6250 echo "$as_me:6250: checking whether htole32 is declared" >&5
6251 echo $ECHO_N "checking whether htole32 is declared... $ECHO_C" >&6
6252 if test "${ac_cv_have_decl_htole32+set}" = set; then
6253 echo $ECHO_N "(cached) $ECHO_C" >&6
6255 cat >conftest.
$ac_ext <<_ACEOF
6256 #line 6256 "configure"
6257 #include "confdefs.h"
6258 #include <sys/types.h>
6264 char *p = (char *) htole32;
6271 rm -f conftest.
$ac_objext
6272 if { (eval echo "$as_me:6272: \"$ac_compile\"") >&5
6273 (eval $ac_compile) 2>&5
6275 echo "$as_me:6275: \$? = $ac_status" >&5
6276 (exit $ac_status); } &&
6277 { ac_try
='test -s conftest.$ac_objext'
6278 { (eval echo "$as_me:6278: \"$ac_try\"") >&5
6281 echo "$as_me:6281: \$? = $ac_status" >&5
6282 (exit $ac_status); }; }; then
6283 ac_cv_have_decl_htole32
=yes
6285 echo "$as_me: failed program was:" >&5
6286 cat conftest.
$ac_ext >&5
6287 ac_cv_have_decl_htole32
=no
6289 rm -f conftest.
$ac_objext conftest.
$ac_ext
6291 echo "$as_me:6291: result: $ac_cv_have_decl_htole32" >&5
6292 echo "${ECHO_T}$ac_cv_have_decl_htole32" >&6
6293 if test $ac_cv_have_decl_htole32 = yes; then
6295 cat >>confdefs.h
<<EOF
6296 #define HAVE_DECL_HTOLE32 1
6300 cat >>confdefs.h
<<EOF
6301 #define HAVE_DECL_HTOLE32 0
6305 echo "$as_me:6305: checking whether htole64 is declared" >&5
6306 echo $ECHO_N "checking whether htole64 is declared... $ECHO_C" >&6
6307 if test "${ac_cv_have_decl_htole64+set}" = set; then
6308 echo $ECHO_N "(cached) $ECHO_C" >&6
6310 cat >conftest.
$ac_ext <<_ACEOF
6311 #line 6311 "configure"
6312 #include "confdefs.h"
6313 #include <sys/types.h>
6319 char *p = (char *) htole64;
6326 rm -f conftest.
$ac_objext
6327 if { (eval echo "$as_me:6327: \"$ac_compile\"") >&5
6328 (eval $ac_compile) 2>&5
6330 echo "$as_me:6330: \$? = $ac_status" >&5
6331 (exit $ac_status); } &&
6332 { ac_try
='test -s conftest.$ac_objext'
6333 { (eval echo "$as_me:6333: \"$ac_try\"") >&5
6336 echo "$as_me:6336: \$? = $ac_status" >&5
6337 (exit $ac_status); }; }; then
6338 ac_cv_have_decl_htole64
=yes
6340 echo "$as_me: failed program was:" >&5
6341 cat conftest.
$ac_ext >&5
6342 ac_cv_have_decl_htole64
=no
6344 rm -f conftest.
$ac_objext conftest.
$ac_ext
6346 echo "$as_me:6346: result: $ac_cv_have_decl_htole64" >&5
6347 echo "${ECHO_T}$ac_cv_have_decl_htole64" >&6
6348 if test $ac_cv_have_decl_htole64 = yes; then
6350 cat >>confdefs.h
<<EOF
6351 #define HAVE_DECL_HTOLE64 1
6355 cat >>confdefs.h
<<EOF
6356 #define HAVE_DECL_HTOLE64 0
6360 echo "$as_me:6360: checking whether be16toh is declared" >&5
6361 echo $ECHO_N "checking whether be16toh is declared... $ECHO_C" >&6
6362 if test "${ac_cv_have_decl_be16toh+set}" = set; then
6363 echo $ECHO_N "(cached) $ECHO_C" >&6
6365 cat >conftest.
$ac_ext <<_ACEOF
6366 #line 6366 "configure"
6367 #include "confdefs.h"
6368 #include <sys/types.h>
6374 char *p = (char *) be16toh;
6381 rm -f conftest.
$ac_objext
6382 if { (eval echo "$as_me:6382: \"$ac_compile\"") >&5
6383 (eval $ac_compile) 2>&5
6385 echo "$as_me:6385: \$? = $ac_status" >&5
6386 (exit $ac_status); } &&
6387 { ac_try
='test -s conftest.$ac_objext'
6388 { (eval echo "$as_me:6388: \"$ac_try\"") >&5
6391 echo "$as_me:6391: \$? = $ac_status" >&5
6392 (exit $ac_status); }; }; then
6393 ac_cv_have_decl_be16toh
=yes
6395 echo "$as_me: failed program was:" >&5
6396 cat conftest.
$ac_ext >&5
6397 ac_cv_have_decl_be16toh
=no
6399 rm -f conftest.
$ac_objext conftest.
$ac_ext
6401 echo "$as_me:6401: result: $ac_cv_have_decl_be16toh" >&5
6402 echo "${ECHO_T}$ac_cv_have_decl_be16toh" >&6
6403 if test $ac_cv_have_decl_be16toh = yes; then
6405 cat >>confdefs.h
<<EOF
6406 #define HAVE_DECL_BE16TOH 1
6410 cat >>confdefs.h
<<EOF
6411 #define HAVE_DECL_BE16TOH 0
6415 echo "$as_me:6415: checking whether be32toh is declared" >&5
6416 echo $ECHO_N "checking whether be32toh is declared... $ECHO_C" >&6
6417 if test "${ac_cv_have_decl_be32toh+set}" = set; then
6418 echo $ECHO_N "(cached) $ECHO_C" >&6
6420 cat >conftest.
$ac_ext <<_ACEOF
6421 #line 6421 "configure"
6422 #include "confdefs.h"
6423 #include <sys/types.h>
6429 char *p = (char *) be32toh;
6436 rm -f conftest.
$ac_objext
6437 if { (eval echo "$as_me:6437: \"$ac_compile\"") >&5
6438 (eval $ac_compile) 2>&5
6440 echo "$as_me:6440: \$? = $ac_status" >&5
6441 (exit $ac_status); } &&
6442 { ac_try
='test -s conftest.$ac_objext'
6443 { (eval echo "$as_me:6443: \"$ac_try\"") >&5
6446 echo "$as_me:6446: \$? = $ac_status" >&5
6447 (exit $ac_status); }; }; then
6448 ac_cv_have_decl_be32toh
=yes
6450 echo "$as_me: failed program was:" >&5
6451 cat conftest.
$ac_ext >&5
6452 ac_cv_have_decl_be32toh
=no
6454 rm -f conftest.
$ac_objext conftest.
$ac_ext
6456 echo "$as_me:6456: result: $ac_cv_have_decl_be32toh" >&5
6457 echo "${ECHO_T}$ac_cv_have_decl_be32toh" >&6
6458 if test $ac_cv_have_decl_be32toh = yes; then
6460 cat >>confdefs.h
<<EOF
6461 #define HAVE_DECL_BE32TOH 1
6465 cat >>confdefs.h
<<EOF
6466 #define HAVE_DECL_BE32TOH 0
6470 echo "$as_me:6470: checking whether be64toh is declared" >&5
6471 echo $ECHO_N "checking whether be64toh is declared... $ECHO_C" >&6
6472 if test "${ac_cv_have_decl_be64toh+set}" = set; then
6473 echo $ECHO_N "(cached) $ECHO_C" >&6
6475 cat >conftest.
$ac_ext <<_ACEOF
6476 #line 6476 "configure"
6477 #include "confdefs.h"
6478 #include <sys/types.h>
6484 char *p = (char *) be64toh;
6491 rm -f conftest.
$ac_objext
6492 if { (eval echo "$as_me:6492: \"$ac_compile\"") >&5
6493 (eval $ac_compile) 2>&5
6495 echo "$as_me:6495: \$? = $ac_status" >&5
6496 (exit $ac_status); } &&
6497 { ac_try
='test -s conftest.$ac_objext'
6498 { (eval echo "$as_me:6498: \"$ac_try\"") >&5
6501 echo "$as_me:6501: \$? = $ac_status" >&5
6502 (exit $ac_status); }; }; then
6503 ac_cv_have_decl_be64toh
=yes
6505 echo "$as_me: failed program was:" >&5
6506 cat conftest.
$ac_ext >&5
6507 ac_cv_have_decl_be64toh
=no
6509 rm -f conftest.
$ac_objext conftest.
$ac_ext
6511 echo "$as_me:6511: result: $ac_cv_have_decl_be64toh" >&5
6512 echo "${ECHO_T}$ac_cv_have_decl_be64toh" >&6
6513 if test $ac_cv_have_decl_be64toh = yes; then
6515 cat >>confdefs.h
<<EOF
6516 #define HAVE_DECL_BE64TOH 1
6520 cat >>confdefs.h
<<EOF
6521 #define HAVE_DECL_BE64TOH 0
6525 echo "$as_me:6525: checking whether le16toh is declared" >&5
6526 echo $ECHO_N "checking whether le16toh is declared... $ECHO_C" >&6
6527 if test "${ac_cv_have_decl_le16toh+set}" = set; then
6528 echo $ECHO_N "(cached) $ECHO_C" >&6
6530 cat >conftest.
$ac_ext <<_ACEOF
6531 #line 6531 "configure"
6532 #include "confdefs.h"
6533 #include <sys/types.h>
6539 char *p = (char *) le16toh;
6546 rm -f conftest.
$ac_objext
6547 if { (eval echo "$as_me:6547: \"$ac_compile\"") >&5
6548 (eval $ac_compile) 2>&5
6550 echo "$as_me:6550: \$? = $ac_status" >&5
6551 (exit $ac_status); } &&
6552 { ac_try
='test -s conftest.$ac_objext'
6553 { (eval echo "$as_me:6553: \"$ac_try\"") >&5
6556 echo "$as_me:6556: \$? = $ac_status" >&5
6557 (exit $ac_status); }; }; then
6558 ac_cv_have_decl_le16toh
=yes
6560 echo "$as_me: failed program was:" >&5
6561 cat conftest.
$ac_ext >&5
6562 ac_cv_have_decl_le16toh
=no
6564 rm -f conftest.
$ac_objext conftest.
$ac_ext
6566 echo "$as_me:6566: result: $ac_cv_have_decl_le16toh" >&5
6567 echo "${ECHO_T}$ac_cv_have_decl_le16toh" >&6
6568 if test $ac_cv_have_decl_le16toh = yes; then
6570 cat >>confdefs.h
<<EOF
6571 #define HAVE_DECL_LE16TOH 1
6575 cat >>confdefs.h
<<EOF
6576 #define HAVE_DECL_LE16TOH 0
6580 echo "$as_me:6580: checking whether le32toh is declared" >&5
6581 echo $ECHO_N "checking whether le32toh is declared... $ECHO_C" >&6
6582 if test "${ac_cv_have_decl_le32toh+set}" = set; then
6583 echo $ECHO_N "(cached) $ECHO_C" >&6
6585 cat >conftest.
$ac_ext <<_ACEOF
6586 #line 6586 "configure"
6587 #include "confdefs.h"
6588 #include <sys/types.h>
6594 char *p = (char *) le32toh;
6601 rm -f conftest.
$ac_objext
6602 if { (eval echo "$as_me:6602: \"$ac_compile\"") >&5
6603 (eval $ac_compile) 2>&5
6605 echo "$as_me:6605: \$? = $ac_status" >&5
6606 (exit $ac_status); } &&
6607 { ac_try
='test -s conftest.$ac_objext'
6608 { (eval echo "$as_me:6608: \"$ac_try\"") >&5
6611 echo "$as_me:6611: \$? = $ac_status" >&5
6612 (exit $ac_status); }; }; then
6613 ac_cv_have_decl_le32toh
=yes
6615 echo "$as_me: failed program was:" >&5
6616 cat conftest.
$ac_ext >&5
6617 ac_cv_have_decl_le32toh
=no
6619 rm -f conftest.
$ac_objext conftest.
$ac_ext
6621 echo "$as_me:6621: result: $ac_cv_have_decl_le32toh" >&5
6622 echo "${ECHO_T}$ac_cv_have_decl_le32toh" >&6
6623 if test $ac_cv_have_decl_le32toh = yes; then
6625 cat >>confdefs.h
<<EOF
6626 #define HAVE_DECL_LE32TOH 1
6630 cat >>confdefs.h
<<EOF
6631 #define HAVE_DECL_LE32TOH 0
6635 echo "$as_me:6635: checking whether le64toh is declared" >&5
6636 echo $ECHO_N "checking whether le64toh is declared... $ECHO_C" >&6
6637 if test "${ac_cv_have_decl_le64toh+set}" = set; then
6638 echo $ECHO_N "(cached) $ECHO_C" >&6
6640 cat >conftest.
$ac_ext <<_ACEOF
6641 #line 6641 "configure"
6642 #include "confdefs.h"
6643 #include <sys/types.h>
6649 char *p = (char *) le64toh;
6656 rm -f conftest.
$ac_objext
6657 if { (eval echo "$as_me:6657: \"$ac_compile\"") >&5
6658 (eval $ac_compile) 2>&5
6660 echo "$as_me:6660: \$? = $ac_status" >&5
6661 (exit $ac_status); } &&
6662 { ac_try
='test -s conftest.$ac_objext'
6663 { (eval echo "$as_me:6663: \"$ac_try\"") >&5
6666 echo "$as_me:6666: \$? = $ac_status" >&5
6667 (exit $ac_status); }; }; then
6668 ac_cv_have_decl_le64toh
=yes
6670 echo "$as_me: failed program was:" >&5
6671 cat conftest.
$ac_ext >&5
6672 ac_cv_have_decl_le64toh
=no
6674 rm -f conftest.
$ac_objext conftest.
$ac_ext
6676 echo "$as_me:6676: result: $ac_cv_have_decl_le64toh" >&5
6677 echo "${ECHO_T}$ac_cv_have_decl_le64toh" >&6
6678 if test $ac_cv_have_decl_le64toh = yes; then
6680 cat >>confdefs.h
<<EOF
6681 #define HAVE_DECL_LE64TOH 1
6685 cat >>confdefs.h
<<EOF
6686 #define HAVE_DECL_LE64TOH 0
6691 echo "$as_me:6691: checking whether bswap16 is declared" >&5
6692 echo $ECHO_N "checking whether bswap16 is declared... $ECHO_C" >&6
6693 if test "${ac_cv_have_decl_bswap16+set}" = set; then
6694 echo $ECHO_N "(cached) $ECHO_C" >&6
6696 cat >conftest.
$ac_ext <<_ACEOF
6697 #line 6697 "configure"
6698 #include "confdefs.h"
6699 #include <machine/bswap.h>
6705 char *p = (char *) bswap16;
6712 rm -f conftest.
$ac_objext
6713 if { (eval echo "$as_me:6713: \"$ac_compile\"") >&5
6714 (eval $ac_compile) 2>&5
6716 echo "$as_me:6716: \$? = $ac_status" >&5
6717 (exit $ac_status); } &&
6718 { ac_try
='test -s conftest.$ac_objext'
6719 { (eval echo "$as_me:6719: \"$ac_try\"") >&5
6722 echo "$as_me:6722: \$? = $ac_status" >&5
6723 (exit $ac_status); }; }; then
6724 ac_cv_have_decl_bswap16
=yes
6726 echo "$as_me: failed program was:" >&5
6727 cat conftest.
$ac_ext >&5
6728 ac_cv_have_decl_bswap16
=no
6730 rm -f conftest.
$ac_objext conftest.
$ac_ext
6732 echo "$as_me:6732: result: $ac_cv_have_decl_bswap16" >&5
6733 echo "${ECHO_T}$ac_cv_have_decl_bswap16" >&6
6734 if test $ac_cv_have_decl_bswap16 = yes; then
6736 cat >>confdefs.h
<<EOF
6737 #define HAVE_DECL_BSWAP16 1
6741 cat >>confdefs.h
<<EOF
6742 #define HAVE_DECL_BSWAP16 0
6746 echo "$as_me:6746: checking whether bswap32 is declared" >&5
6747 echo $ECHO_N "checking whether bswap32 is declared... $ECHO_C" >&6
6748 if test "${ac_cv_have_decl_bswap32+set}" = set; then
6749 echo $ECHO_N "(cached) $ECHO_C" >&6
6751 cat >conftest.
$ac_ext <<_ACEOF
6752 #line 6752 "configure"
6753 #include "confdefs.h"
6754 #include <machine/bswap.h>
6760 char *p = (char *) bswap32;
6767 rm -f conftest.
$ac_objext
6768 if { (eval echo "$as_me:6768: \"$ac_compile\"") >&5
6769 (eval $ac_compile) 2>&5
6771 echo "$as_me:6771: \$? = $ac_status" >&5
6772 (exit $ac_status); } &&
6773 { ac_try
='test -s conftest.$ac_objext'
6774 { (eval echo "$as_me:6774: \"$ac_try\"") >&5
6777 echo "$as_me:6777: \$? = $ac_status" >&5
6778 (exit $ac_status); }; }; then
6779 ac_cv_have_decl_bswap32
=yes
6781 echo "$as_me: failed program was:" >&5
6782 cat conftest.
$ac_ext >&5
6783 ac_cv_have_decl_bswap32
=no
6785 rm -f conftest.
$ac_objext conftest.
$ac_ext
6787 echo "$as_me:6787: result: $ac_cv_have_decl_bswap32" >&5
6788 echo "${ECHO_T}$ac_cv_have_decl_bswap32" >&6
6789 if test $ac_cv_have_decl_bswap32 = yes; then
6791 cat >>confdefs.h
<<EOF
6792 #define HAVE_DECL_BSWAP32 1
6796 cat >>confdefs.h
<<EOF
6797 #define HAVE_DECL_BSWAP32 0
6801 echo "$as_me:6801: checking whether bswap64 is declared" >&5
6802 echo $ECHO_N "checking whether bswap64 is declared... $ECHO_C" >&6
6803 if test "${ac_cv_have_decl_bswap64+set}" = set; then
6804 echo $ECHO_N "(cached) $ECHO_C" >&6
6806 cat >conftest.
$ac_ext <<_ACEOF
6807 #line 6807 "configure"
6808 #include "confdefs.h"
6809 #include <machine/bswap.h>
6815 char *p = (char *) bswap64;
6822 rm -f conftest.
$ac_objext
6823 if { (eval echo "$as_me:6823: \"$ac_compile\"") >&5
6824 (eval $ac_compile) 2>&5
6826 echo "$as_me:6826: \$? = $ac_status" >&5
6827 (exit $ac_status); } &&
6828 { ac_try
='test -s conftest.$ac_objext'
6829 { (eval echo "$as_me:6829: \"$ac_try\"") >&5
6832 echo "$as_me:6832: \$? = $ac_status" >&5
6833 (exit $ac_status); }; }; then
6834 ac_cv_have_decl_bswap64
=yes
6836 echo "$as_me: failed program was:" >&5
6837 cat conftest.
$ac_ext >&5
6838 ac_cv_have_decl_bswap64
=no
6840 rm -f conftest.
$ac_objext conftest.
$ac_ext
6842 echo "$as_me:6842: result: $ac_cv_have_decl_bswap64" >&5
6843 echo "${ECHO_T}$ac_cv_have_decl_bswap64" >&6
6844 if test $ac_cv_have_decl_bswap64 = yes; then
6846 cat >>confdefs.h
<<EOF
6847 #define HAVE_DECL_BSWAP64 1
6851 cat >>confdefs.h
<<EOF
6852 #define HAVE_DECL_BSWAP64 0
6857 echo "$as_me:6857: checking whether be16enc is declared" >&5
6858 echo $ECHO_N "checking whether be16enc is declared... $ECHO_C" >&6
6859 if test "${ac_cv_have_decl_be16enc+set}" = set; then
6860 echo $ECHO_N "(cached) $ECHO_C" >&6
6862 cat >conftest.
$ac_ext <<_ACEOF
6863 #line 6863 "configure"
6864 #include "confdefs.h"
6865 #include <sys/endian.h>
6871 char *p = (char *) be16enc;
6878 rm -f conftest.
$ac_objext
6879 if { (eval echo "$as_me:6879: \"$ac_compile\"") >&5
6880 (eval $ac_compile) 2>&5
6882 echo "$as_me:6882: \$? = $ac_status" >&5
6883 (exit $ac_status); } &&
6884 { ac_try
='test -s conftest.$ac_objext'
6885 { (eval echo "$as_me:6885: \"$ac_try\"") >&5
6888 echo "$as_me:6888: \$? = $ac_status" >&5
6889 (exit $ac_status); }; }; then
6890 ac_cv_have_decl_be16enc
=yes
6892 echo "$as_me: failed program was:" >&5
6893 cat conftest.
$ac_ext >&5
6894 ac_cv_have_decl_be16enc
=no
6896 rm -f conftest.
$ac_objext conftest.
$ac_ext
6898 echo "$as_me:6898: result: $ac_cv_have_decl_be16enc" >&5
6899 echo "${ECHO_T}$ac_cv_have_decl_be16enc" >&6
6900 if test $ac_cv_have_decl_be16enc = yes; then
6902 cat >>confdefs.h
<<EOF
6903 #define HAVE_DECL_BE16ENC 1
6907 cat >>confdefs.h
<<EOF
6908 #define HAVE_DECL_BE16ENC 0
6912 echo "$as_me:6912: checking whether le16enc is declared" >&5
6913 echo $ECHO_N "checking whether le16enc is declared... $ECHO_C" >&6
6914 if test "${ac_cv_have_decl_le16enc+set}" = set; then
6915 echo $ECHO_N "(cached) $ECHO_C" >&6
6917 cat >conftest.
$ac_ext <<_ACEOF
6918 #line 6918 "configure"
6919 #include "confdefs.h"
6920 #include <sys/endian.h>
6926 char *p = (char *) le16enc;
6933 rm -f conftest.
$ac_objext
6934 if { (eval echo "$as_me:6934: \"$ac_compile\"") >&5
6935 (eval $ac_compile) 2>&5
6937 echo "$as_me:6937: \$? = $ac_status" >&5
6938 (exit $ac_status); } &&
6939 { ac_try
='test -s conftest.$ac_objext'
6940 { (eval echo "$as_me:6940: \"$ac_try\"") >&5
6943 echo "$as_me:6943: \$? = $ac_status" >&5
6944 (exit $ac_status); }; }; then
6945 ac_cv_have_decl_le16enc
=yes
6947 echo "$as_me: failed program was:" >&5
6948 cat conftest.
$ac_ext >&5
6949 ac_cv_have_decl_le16enc
=no
6951 rm -f conftest.
$ac_objext conftest.
$ac_ext
6953 echo "$as_me:6953: result: $ac_cv_have_decl_le16enc" >&5
6954 echo "${ECHO_T}$ac_cv_have_decl_le16enc" >&6
6955 if test $ac_cv_have_decl_le16enc = yes; then
6957 cat >>confdefs.h
<<EOF
6958 #define HAVE_DECL_LE16ENC 1
6962 cat >>confdefs.h
<<EOF
6963 #define HAVE_DECL_LE16ENC 0
6967 echo "$as_me:6967: checking whether be16dec is declared" >&5
6968 echo $ECHO_N "checking whether be16dec is declared... $ECHO_C" >&6
6969 if test "${ac_cv_have_decl_be16dec+set}" = set; then
6970 echo $ECHO_N "(cached) $ECHO_C" >&6
6972 cat >conftest.
$ac_ext <<_ACEOF
6973 #line 6973 "configure"
6974 #include "confdefs.h"
6975 #include <sys/endian.h>
6981 char *p = (char *) be16dec;
6988 rm -f conftest.
$ac_objext
6989 if { (eval echo "$as_me:6989: \"$ac_compile\"") >&5
6990 (eval $ac_compile) 2>&5
6992 echo "$as_me:6992: \$? = $ac_status" >&5
6993 (exit $ac_status); } &&
6994 { ac_try
='test -s conftest.$ac_objext'
6995 { (eval echo "$as_me:6995: \"$ac_try\"") >&5
6998 echo "$as_me:6998: \$? = $ac_status" >&5
6999 (exit $ac_status); }; }; then
7000 ac_cv_have_decl_be16dec
=yes
7002 echo "$as_me: failed program was:" >&5
7003 cat conftest.
$ac_ext >&5
7004 ac_cv_have_decl_be16dec
=no
7006 rm -f conftest.
$ac_objext conftest.
$ac_ext
7008 echo "$as_me:7008: result: $ac_cv_have_decl_be16dec" >&5
7009 echo "${ECHO_T}$ac_cv_have_decl_be16dec" >&6
7010 if test $ac_cv_have_decl_be16dec = yes; then
7012 cat >>confdefs.h
<<EOF
7013 #define HAVE_DECL_BE16DEC 1
7017 cat >>confdefs.h
<<EOF
7018 #define HAVE_DECL_BE16DEC 0
7022 echo "$as_me:7022: checking whether le16dec is declared" >&5
7023 echo $ECHO_N "checking whether le16dec is declared... $ECHO_C" >&6
7024 if test "${ac_cv_have_decl_le16dec+set}" = set; then
7025 echo $ECHO_N "(cached) $ECHO_C" >&6
7027 cat >conftest.
$ac_ext <<_ACEOF
7028 #line 7028 "configure"
7029 #include "confdefs.h"
7030 #include <sys/endian.h>
7036 char *p = (char *) le16dec;
7043 rm -f conftest.
$ac_objext
7044 if { (eval echo "$as_me:7044: \"$ac_compile\"") >&5
7045 (eval $ac_compile) 2>&5
7047 echo "$as_me:7047: \$? = $ac_status" >&5
7048 (exit $ac_status); } &&
7049 { ac_try
='test -s conftest.$ac_objext'
7050 { (eval echo "$as_me:7050: \"$ac_try\"") >&5
7053 echo "$as_me:7053: \$? = $ac_status" >&5
7054 (exit $ac_status); }; }; then
7055 ac_cv_have_decl_le16dec
=yes
7057 echo "$as_me: failed program was:" >&5
7058 cat conftest.
$ac_ext >&5
7059 ac_cv_have_decl_le16dec
=no
7061 rm -f conftest.
$ac_objext conftest.
$ac_ext
7063 echo "$as_me:7063: result: $ac_cv_have_decl_le16dec" >&5
7064 echo "${ECHO_T}$ac_cv_have_decl_le16dec" >&6
7065 if test $ac_cv_have_decl_le16dec = yes; then
7067 cat >>confdefs.h
<<EOF
7068 #define HAVE_DECL_LE16DEC 1
7072 cat >>confdefs.h
<<EOF
7073 #define HAVE_DECL_LE16DEC 0
7077 echo "$as_me:7077: checking whether be32enc is declared" >&5
7078 echo $ECHO_N "checking whether be32enc is declared... $ECHO_C" >&6
7079 if test "${ac_cv_have_decl_be32enc+set}" = set; then
7080 echo $ECHO_N "(cached) $ECHO_C" >&6
7082 cat >conftest.
$ac_ext <<_ACEOF
7083 #line 7083 "configure"
7084 #include "confdefs.h"
7085 #include <sys/endian.h>
7091 char *p = (char *) be32enc;
7098 rm -f conftest.
$ac_objext
7099 if { (eval echo "$as_me:7099: \"$ac_compile\"") >&5
7100 (eval $ac_compile) 2>&5
7102 echo "$as_me:7102: \$? = $ac_status" >&5
7103 (exit $ac_status); } &&
7104 { ac_try
='test -s conftest.$ac_objext'
7105 { (eval echo "$as_me:7105: \"$ac_try\"") >&5
7108 echo "$as_me:7108: \$? = $ac_status" >&5
7109 (exit $ac_status); }; }; then
7110 ac_cv_have_decl_be32enc
=yes
7112 echo "$as_me: failed program was:" >&5
7113 cat conftest.
$ac_ext >&5
7114 ac_cv_have_decl_be32enc
=no
7116 rm -f conftest.
$ac_objext conftest.
$ac_ext
7118 echo "$as_me:7118: result: $ac_cv_have_decl_be32enc" >&5
7119 echo "${ECHO_T}$ac_cv_have_decl_be32enc" >&6
7120 if test $ac_cv_have_decl_be32enc = yes; then
7122 cat >>confdefs.h
<<EOF
7123 #define HAVE_DECL_BE32ENC 1
7127 cat >>confdefs.h
<<EOF
7128 #define HAVE_DECL_BE32ENC 0
7132 echo "$as_me:7132: checking whether le32enc is declared" >&5
7133 echo $ECHO_N "checking whether le32enc is declared... $ECHO_C" >&6
7134 if test "${ac_cv_have_decl_le32enc+set}" = set; then
7135 echo $ECHO_N "(cached) $ECHO_C" >&6
7137 cat >conftest.
$ac_ext <<_ACEOF
7138 #line 7138 "configure"
7139 #include "confdefs.h"
7140 #include <sys/endian.h>
7146 char *p = (char *) le32enc;
7153 rm -f conftest.
$ac_objext
7154 if { (eval echo "$as_me:7154: \"$ac_compile\"") >&5
7155 (eval $ac_compile) 2>&5
7157 echo "$as_me:7157: \$? = $ac_status" >&5
7158 (exit $ac_status); } &&
7159 { ac_try
='test -s conftest.$ac_objext'
7160 { (eval echo "$as_me:7160: \"$ac_try\"") >&5
7163 echo "$as_me:7163: \$? = $ac_status" >&5
7164 (exit $ac_status); }; }; then
7165 ac_cv_have_decl_le32enc
=yes
7167 echo "$as_me: failed program was:" >&5
7168 cat conftest.
$ac_ext >&5
7169 ac_cv_have_decl_le32enc
=no
7171 rm -f conftest.
$ac_objext conftest.
$ac_ext
7173 echo "$as_me:7173: result: $ac_cv_have_decl_le32enc" >&5
7174 echo "${ECHO_T}$ac_cv_have_decl_le32enc" >&6
7175 if test $ac_cv_have_decl_le32enc = yes; then
7177 cat >>confdefs.h
<<EOF
7178 #define HAVE_DECL_LE32ENC 1
7182 cat >>confdefs.h
<<EOF
7183 #define HAVE_DECL_LE32ENC 0
7187 echo "$as_me:7187: checking whether be32dec is declared" >&5
7188 echo $ECHO_N "checking whether be32dec is declared... $ECHO_C" >&6
7189 if test "${ac_cv_have_decl_be32dec+set}" = set; then
7190 echo $ECHO_N "(cached) $ECHO_C" >&6
7192 cat >conftest.
$ac_ext <<_ACEOF
7193 #line 7193 "configure"
7194 #include "confdefs.h"
7195 #include <sys/endian.h>
7201 char *p = (char *) be32dec;
7208 rm -f conftest.
$ac_objext
7209 if { (eval echo "$as_me:7209: \"$ac_compile\"") >&5
7210 (eval $ac_compile) 2>&5
7212 echo "$as_me:7212: \$? = $ac_status" >&5
7213 (exit $ac_status); } &&
7214 { ac_try
='test -s conftest.$ac_objext'
7215 { (eval echo "$as_me:7215: \"$ac_try\"") >&5
7218 echo "$as_me:7218: \$? = $ac_status" >&5
7219 (exit $ac_status); }; }; then
7220 ac_cv_have_decl_be32dec
=yes
7222 echo "$as_me: failed program was:" >&5
7223 cat conftest.
$ac_ext >&5
7224 ac_cv_have_decl_be32dec
=no
7226 rm -f conftest.
$ac_objext conftest.
$ac_ext
7228 echo "$as_me:7228: result: $ac_cv_have_decl_be32dec" >&5
7229 echo "${ECHO_T}$ac_cv_have_decl_be32dec" >&6
7230 if test $ac_cv_have_decl_be32dec = yes; then
7232 cat >>confdefs.h
<<EOF
7233 #define HAVE_DECL_BE32DEC 1
7237 cat >>confdefs.h
<<EOF
7238 #define HAVE_DECL_BE32DEC 0
7242 echo "$as_me:7242: checking whether le32dec is declared" >&5
7243 echo $ECHO_N "checking whether le32dec is declared... $ECHO_C" >&6
7244 if test "${ac_cv_have_decl_le32dec+set}" = set; then
7245 echo $ECHO_N "(cached) $ECHO_C" >&6
7247 cat >conftest.
$ac_ext <<_ACEOF
7248 #line 7248 "configure"
7249 #include "confdefs.h"
7250 #include <sys/endian.h>
7256 char *p = (char *) le32dec;
7263 rm -f conftest.
$ac_objext
7264 if { (eval echo "$as_me:7264: \"$ac_compile\"") >&5
7265 (eval $ac_compile) 2>&5
7267 echo "$as_me:7267: \$? = $ac_status" >&5
7268 (exit $ac_status); } &&
7269 { ac_try
='test -s conftest.$ac_objext'
7270 { (eval echo "$as_me:7270: \"$ac_try\"") >&5
7273 echo "$as_me:7273: \$? = $ac_status" >&5
7274 (exit $ac_status); }; }; then
7275 ac_cv_have_decl_le32dec
=yes
7277 echo "$as_me: failed program was:" >&5
7278 cat conftest.
$ac_ext >&5
7279 ac_cv_have_decl_le32dec
=no
7281 rm -f conftest.
$ac_objext conftest.
$ac_ext
7283 echo "$as_me:7283: result: $ac_cv_have_decl_le32dec" >&5
7284 echo "${ECHO_T}$ac_cv_have_decl_le32dec" >&6
7285 if test $ac_cv_have_decl_le32dec = yes; then
7287 cat >>confdefs.h
<<EOF
7288 #define HAVE_DECL_LE32DEC 1
7292 cat >>confdefs.h
<<EOF
7293 #define HAVE_DECL_LE32DEC 0
7297 echo "$as_me:7297: checking whether be64enc is declared" >&5
7298 echo $ECHO_N "checking whether be64enc is declared... $ECHO_C" >&6
7299 if test "${ac_cv_have_decl_be64enc+set}" = set; then
7300 echo $ECHO_N "(cached) $ECHO_C" >&6
7302 cat >conftest.
$ac_ext <<_ACEOF
7303 #line 7303 "configure"
7304 #include "confdefs.h"
7305 #include <sys/endian.h>
7311 char *p = (char *) be64enc;
7318 rm -f conftest.
$ac_objext
7319 if { (eval echo "$as_me:7319: \"$ac_compile\"") >&5
7320 (eval $ac_compile) 2>&5
7322 echo "$as_me:7322: \$? = $ac_status" >&5
7323 (exit $ac_status); } &&
7324 { ac_try
='test -s conftest.$ac_objext'
7325 { (eval echo "$as_me:7325: \"$ac_try\"") >&5
7328 echo "$as_me:7328: \$? = $ac_status" >&5
7329 (exit $ac_status); }; }; then
7330 ac_cv_have_decl_be64enc
=yes
7332 echo "$as_me: failed program was:" >&5
7333 cat conftest.
$ac_ext >&5
7334 ac_cv_have_decl_be64enc
=no
7336 rm -f conftest.
$ac_objext conftest.
$ac_ext
7338 echo "$as_me:7338: result: $ac_cv_have_decl_be64enc" >&5
7339 echo "${ECHO_T}$ac_cv_have_decl_be64enc" >&6
7340 if test $ac_cv_have_decl_be64enc = yes; then
7342 cat >>confdefs.h
<<EOF
7343 #define HAVE_DECL_BE64ENC 1
7347 cat >>confdefs.h
<<EOF
7348 #define HAVE_DECL_BE64ENC 0
7352 echo "$as_me:7352: checking whether le64enc is declared" >&5
7353 echo $ECHO_N "checking whether le64enc is declared... $ECHO_C" >&6
7354 if test "${ac_cv_have_decl_le64enc+set}" = set; then
7355 echo $ECHO_N "(cached) $ECHO_C" >&6
7357 cat >conftest.
$ac_ext <<_ACEOF
7358 #line 7358 "configure"
7359 #include "confdefs.h"
7360 #include <sys/endian.h>
7366 char *p = (char *) le64enc;
7373 rm -f conftest.
$ac_objext
7374 if { (eval echo "$as_me:7374: \"$ac_compile\"") >&5
7375 (eval $ac_compile) 2>&5
7377 echo "$as_me:7377: \$? = $ac_status" >&5
7378 (exit $ac_status); } &&
7379 { ac_try
='test -s conftest.$ac_objext'
7380 { (eval echo "$as_me:7380: \"$ac_try\"") >&5
7383 echo "$as_me:7383: \$? = $ac_status" >&5
7384 (exit $ac_status); }; }; then
7385 ac_cv_have_decl_le64enc
=yes
7387 echo "$as_me: failed program was:" >&5
7388 cat conftest.
$ac_ext >&5
7389 ac_cv_have_decl_le64enc
=no
7391 rm -f conftest.
$ac_objext conftest.
$ac_ext
7393 echo "$as_me:7393: result: $ac_cv_have_decl_le64enc" >&5
7394 echo "${ECHO_T}$ac_cv_have_decl_le64enc" >&6
7395 if test $ac_cv_have_decl_le64enc = yes; then
7397 cat >>confdefs.h
<<EOF
7398 #define HAVE_DECL_LE64ENC 1
7402 cat >>confdefs.h
<<EOF
7403 #define HAVE_DECL_LE64ENC 0
7407 echo "$as_me:7407: checking whether be64dec is declared" >&5
7408 echo $ECHO_N "checking whether be64dec is declared... $ECHO_C" >&6
7409 if test "${ac_cv_have_decl_be64dec+set}" = set; then
7410 echo $ECHO_N "(cached) $ECHO_C" >&6
7412 cat >conftest.
$ac_ext <<_ACEOF
7413 #line 7413 "configure"
7414 #include "confdefs.h"
7415 #include <sys/endian.h>
7421 char *p = (char *) be64dec;
7428 rm -f conftest.
$ac_objext
7429 if { (eval echo "$as_me:7429: \"$ac_compile\"") >&5
7430 (eval $ac_compile) 2>&5
7432 echo "$as_me:7432: \$? = $ac_status" >&5
7433 (exit $ac_status); } &&
7434 { ac_try
='test -s conftest.$ac_objext'
7435 { (eval echo "$as_me:7435: \"$ac_try\"") >&5
7438 echo "$as_me:7438: \$? = $ac_status" >&5
7439 (exit $ac_status); }; }; then
7440 ac_cv_have_decl_be64dec
=yes
7442 echo "$as_me: failed program was:" >&5
7443 cat conftest.
$ac_ext >&5
7444 ac_cv_have_decl_be64dec
=no
7446 rm -f conftest.
$ac_objext conftest.
$ac_ext
7448 echo "$as_me:7448: result: $ac_cv_have_decl_be64dec" >&5
7449 echo "${ECHO_T}$ac_cv_have_decl_be64dec" >&6
7450 if test $ac_cv_have_decl_be64dec = yes; then
7452 cat >>confdefs.h
<<EOF
7453 #define HAVE_DECL_BE64DEC 1
7457 cat >>confdefs.h
<<EOF
7458 #define HAVE_DECL_BE64DEC 0
7462 echo "$as_me:7462: checking whether le64dec is declared" >&5
7463 echo $ECHO_N "checking whether le64dec is declared... $ECHO_C" >&6
7464 if test "${ac_cv_have_decl_le64dec+set}" = set; then
7465 echo $ECHO_N "(cached) $ECHO_C" >&6
7467 cat >conftest.
$ac_ext <<_ACEOF
7468 #line 7468 "configure"
7469 #include "confdefs.h"
7470 #include <sys/endian.h>
7476 char *p = (char *) le64dec;
7483 rm -f conftest.
$ac_objext
7484 if { (eval echo "$as_me:7484: \"$ac_compile\"") >&5
7485 (eval $ac_compile) 2>&5
7487 echo "$as_me:7487: \$? = $ac_status" >&5
7488 (exit $ac_status); } &&
7489 { ac_try
='test -s conftest.$ac_objext'
7490 { (eval echo "$as_me:7490: \"$ac_try\"") >&5
7493 echo "$as_me:7493: \$? = $ac_status" >&5
7494 (exit $ac_status); }; }; then
7495 ac_cv_have_decl_le64dec
=yes
7497 echo "$as_me: failed program was:" >&5
7498 cat conftest.
$ac_ext >&5
7499 ac_cv_have_decl_le64dec
=no
7501 rm -f conftest.
$ac_objext conftest.
$ac_ext
7503 echo "$as_me:7503: result: $ac_cv_have_decl_le64dec" >&5
7504 echo "${ECHO_T}$ac_cv_have_decl_le64dec" >&6
7505 if test $ac_cv_have_decl_le64dec = yes; then
7507 cat >>confdefs.h
<<EOF
7508 #define HAVE_DECL_LE64DEC 1
7512 cat >>confdefs.h
<<EOF
7513 #define HAVE_DECL_LE64DEC 0
7518 echo "$as_me:7518: checking whether fstatvfs is declared" >&5
7519 echo $ECHO_N "checking whether fstatvfs is declared... $ECHO_C" >&6
7520 if test "${ac_cv_have_decl_fstatvfs+set}" = set; then
7521 echo $ECHO_N "(cached) $ECHO_C" >&6
7523 cat >conftest.
$ac_ext <<_ACEOF
7524 #line 7524 "configure"
7525 #include "confdefs.h"
7526 #include <sys/statvfs.h>
7532 char *p = (char *) fstatvfs;
7539 rm -f conftest.
$ac_objext
7540 if { (eval echo "$as_me:7540: \"$ac_compile\"") >&5
7541 (eval $ac_compile) 2>&5
7543 echo "$as_me:7543: \$? = $ac_status" >&5
7544 (exit $ac_status); } &&
7545 { ac_try
='test -s conftest.$ac_objext'
7546 { (eval echo "$as_me:7546: \"$ac_try\"") >&5
7549 echo "$as_me:7549: \$? = $ac_status" >&5
7550 (exit $ac_status); }; }; then
7551 ac_cv_have_decl_fstatvfs
=yes
7553 echo "$as_me: failed program was:" >&5
7554 cat conftest.
$ac_ext >&5
7555 ac_cv_have_decl_fstatvfs
=no
7557 rm -f conftest.
$ac_objext conftest.
$ac_ext
7559 echo "$as_me:7559: result: $ac_cv_have_decl_fstatvfs" >&5
7560 echo "${ECHO_T}$ac_cv_have_decl_fstatvfs" >&6
7561 if test $ac_cv_have_decl_fstatvfs = yes; then
7563 cat >>confdefs.h
<<EOF
7564 #define HAVE_DECL_FSTATVFS 1
7568 cat >>confdefs.h
<<EOF
7569 #define HAVE_DECL_FSTATVFS 0
7574 echo "$as_me:7574: checking whether setgroupent is declared" >&5
7575 echo $ECHO_N "checking whether setgroupent is declared... $ECHO_C" >&6
7576 if test "${ac_cv_have_decl_setgroupent+set}" = set; then
7577 echo $ECHO_N "(cached) $ECHO_C" >&6
7579 cat >conftest.
$ac_ext <<_ACEOF
7580 #line 7580 "configure"
7581 #include "confdefs.h"
7583 #include <sys/types.h>
7591 char *p = (char *) setgroupent;
7598 rm -f conftest.
$ac_objext
7599 if { (eval echo "$as_me:7599: \"$ac_compile\"") >&5
7600 (eval $ac_compile) 2>&5
7602 echo "$as_me:7602: \$? = $ac_status" >&5
7603 (exit $ac_status); } &&
7604 { ac_try
='test -s conftest.$ac_objext'
7605 { (eval echo "$as_me:7605: \"$ac_try\"") >&5
7608 echo "$as_me:7608: \$? = $ac_status" >&5
7609 (exit $ac_status); }; }; then
7610 ac_cv_have_decl_setgroupent
=yes
7612 echo "$as_me: failed program was:" >&5
7613 cat conftest.
$ac_ext >&5
7614 ac_cv_have_decl_setgroupent
=no
7616 rm -f conftest.
$ac_objext conftest.
$ac_ext
7618 echo "$as_me:7618: result: $ac_cv_have_decl_setgroupent" >&5
7619 echo "${ECHO_T}$ac_cv_have_decl_setgroupent" >&6
7620 if test $ac_cv_have_decl_setgroupent = yes; then
7622 cat >>confdefs.h
<<EOF
7623 #define HAVE_DECL_SETGROUPENT 1
7627 cat >>confdefs.h
<<EOF
7628 #define HAVE_DECL_SETGROUPENT 0
7632 echo "$as_me:7632: checking whether setpassent is declared" >&5
7633 echo $ECHO_N "checking whether setpassent is declared... $ECHO_C" >&6
7634 if test "${ac_cv_have_decl_setpassent+set}" = set; then
7635 echo $ECHO_N "(cached) $ECHO_C" >&6
7637 cat >conftest.
$ac_ext <<_ACEOF
7638 #line 7638 "configure"
7639 #include "confdefs.h"
7641 #include <sys/types.h>
7649 char *p = (char *) setpassent;
7656 rm -f conftest.
$ac_objext
7657 if { (eval echo "$as_me:7657: \"$ac_compile\"") >&5
7658 (eval $ac_compile) 2>&5
7660 echo "$as_me:7660: \$? = $ac_status" >&5
7661 (exit $ac_status); } &&
7662 { ac_try
='test -s conftest.$ac_objext'
7663 { (eval echo "$as_me:7663: \"$ac_try\"") >&5
7666 echo "$as_me:7666: \$? = $ac_status" >&5
7667 (exit $ac_status); }; }; then
7668 ac_cv_have_decl_setpassent
=yes
7670 echo "$as_me: failed program was:" >&5
7671 cat conftest.
$ac_ext >&5
7672 ac_cv_have_decl_setpassent
=no
7674 rm -f conftest.
$ac_objext conftest.
$ac_ext
7676 echo "$as_me:7676: result: $ac_cv_have_decl_setpassent" >&5
7677 echo "${ECHO_T}$ac_cv_have_decl_setpassent" >&6
7678 if test $ac_cv_have_decl_setpassent = yes; then
7680 cat >>confdefs.h
<<EOF
7681 #define HAVE_DECL_SETPASSENT 1
7685 cat >>confdefs.h
<<EOF
7686 #define HAVE_DECL_SETPASSENT 0
7691 # regcomp() and regexec() are also names of functions in the old V8
7692 # regexp package. To avoid them, we need to find out who has regfree().
7694 echo "$as_me:7694: checking for regfree in -lregex" >&5
7695 echo $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6
7696 if test "${ac_cv_lib_regex_regfree+set}" = set; then
7697 echo $ECHO_N "(cached) $ECHO_C" >&6
7699 ac_check_lib_save_LIBS
=$LIBS
7700 LIBS
="-lregex $LIBS"
7701 cat >conftest.
$ac_ext <<_ACEOF
7702 #line 7702 "configure"
7703 #include "confdefs.h"
7705 /* Override any gcc2 internal prototype to avoid an error. */
7709 /* We use char because int might match the return type of a gcc2
7710 builtin and then its argument prototype would still apply. */
7720 rm -f conftest.
$ac_objext conftest
$ac_exeext
7721 if { (eval echo "$as_me:7721: \"$ac_link\"") >&5
7722 (eval $ac_link) 2>&5
7724 echo "$as_me:7724: \$? = $ac_status" >&5
7725 (exit $ac_status); } &&
7726 { ac_try
='test -s conftest$ac_exeext'
7727 { (eval echo "$as_me:7727: \"$ac_try\"") >&5
7730 echo "$as_me:7730: \$? = $ac_status" >&5
7731 (exit $ac_status); }; }; then
7732 ac_cv_lib_regex_regfree
=yes
7734 echo "$as_me: failed program was:" >&5
7735 cat conftest.
$ac_ext >&5
7736 ac_cv_lib_regex_regfree
=no
7738 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7739 LIBS
=$ac_check_lib_save_LIBS
7741 echo "$as_me:7741: result: $ac_cv_lib_regex_regfree" >&5
7742 echo "${ECHO_T}$ac_cv_lib_regex_regfree" >&6
7743 if test $ac_cv_lib_regex_regfree = yes; then
7744 cat >>confdefs.h
<<EOF
7745 #define HAVE_LIBREGEX 1
7748 LIBS
="-lregex $LIBS"
7752 echo "$as_me:7752: checking for library containing regfree" >&5
7753 echo $ECHO_N "checking for library containing regfree... $ECHO_C" >&6
7754 if test "${ac_cv_search_regfree+set}" = set; then
7755 echo $ECHO_N "(cached) $ECHO_C" >&6
7757 ac_func_search_save_LIBS
=$LIBS
7758 ac_cv_search_regfree
=no
7759 cat >conftest.
$ac_ext <<_ACEOF
7760 #line 7760 "configure"
7761 #include "confdefs.h"
7763 /* Override any gcc2 internal prototype to avoid an error. */
7767 /* We use char because int might match the return type of a gcc2
7768 builtin and then its argument prototype would still apply. */
7778 rm -f conftest.
$ac_objext conftest
$ac_exeext
7779 if { (eval echo "$as_me:7779: \"$ac_link\"") >&5
7780 (eval $ac_link) 2>&5
7782 echo "$as_me:7782: \$? = $ac_status" >&5
7783 (exit $ac_status); } &&
7784 { ac_try
='test -s conftest$ac_exeext'
7785 { (eval echo "$as_me:7785: \"$ac_try\"") >&5
7788 echo "$as_me:7788: \$? = $ac_status" >&5
7789 (exit $ac_status); }; }; then
7790 ac_cv_search_regfree
="none required"
7792 echo "$as_me: failed program was:" >&5
7793 cat conftest.
$ac_ext >&5
7795 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7796 if test "$ac_cv_search_regfree" = no
; then
7797 for ac_lib
in rx posix
; do
7798 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7799 cat >conftest.
$ac_ext <<_ACEOF
7800 #line 7800 "configure"
7801 #include "confdefs.h"
7803 /* Override any gcc2 internal prototype to avoid an error. */
7807 /* We use char because int might match the return type of a gcc2
7808 builtin and then its argument prototype would still apply. */
7818 rm -f conftest.
$ac_objext conftest
$ac_exeext
7819 if { (eval echo "$as_me:7819: \"$ac_link\"") >&5
7820 (eval $ac_link) 2>&5
7822 echo "$as_me:7822: \$? = $ac_status" >&5
7823 (exit $ac_status); } &&
7824 { ac_try
='test -s conftest$ac_exeext'
7825 { (eval echo "$as_me:7825: \"$ac_try\"") >&5
7828 echo "$as_me:7828: \$? = $ac_status" >&5
7829 (exit $ac_status); }; }; then
7830 ac_cv_search_regfree
="-l$ac_lib"
7833 echo "$as_me: failed program was:" >&5
7834 cat conftest.
$ac_ext >&5
7836 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7839 LIBS
=$ac_func_search_save_LIBS
7841 echo "$as_me:7841: result: $ac_cv_search_regfree" >&5
7842 echo "${ECHO_T}$ac_cv_search_regfree" >&6
7843 if test "$ac_cv_search_regfree" != no
; then
7844 test "$ac_cv_search_regfree" = "none required" || LIBS
="$ac_cv_search_regfree $LIBS"
7848 echo "$as_me:7848: checking for clock_gettime in -lrt" >&5
7849 echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6
7850 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
7851 echo $ECHO_N "(cached) $ECHO_C" >&6
7853 ac_check_lib_save_LIBS
=$LIBS
7855 cat >conftest.
$ac_ext <<_ACEOF
7856 #line 7856 "configure"
7857 #include "confdefs.h"
7859 /* Override any gcc2 internal prototype to avoid an error. */
7863 /* We use char because int might match the return type of a gcc2
7864 builtin and then its argument prototype would still apply. */
7865 char clock_gettime ();
7874 rm -f conftest.
$ac_objext conftest
$ac_exeext
7875 if { (eval echo "$as_me:7875: \"$ac_link\"") >&5
7876 (eval $ac_link) 2>&5
7878 echo "$as_me:7878: \$? = $ac_status" >&5
7879 (exit $ac_status); } &&
7880 { ac_try
='test -s conftest$ac_exeext'
7881 { (eval echo "$as_me:7881: \"$ac_try\"") >&5
7884 echo "$as_me:7884: \$? = $ac_status" >&5
7885 (exit $ac_status); }; }; then
7886 ac_cv_lib_rt_clock_gettime
=yes
7888 echo "$as_me: failed program was:" >&5
7889 cat conftest.
$ac_ext >&5
7890 ac_cv_lib_rt_clock_gettime
=no
7892 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7893 LIBS
=$ac_check_lib_save_LIBS
7895 echo "$as_me:7895: result: $ac_cv_lib_rt_clock_gettime" >&5
7896 echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6
7897 if test $ac_cv_lib_rt_clock_gettime = yes; then
7898 cat >>confdefs.h
<<EOF
7899 #define HAVE_LIBRT 1
7906 for ac_func
in fparseln
7908 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7909 echo "$as_me:7909: checking for $ac_func" >&5
7910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7911 if eval "test \"\${$as_ac_var+set}\" = set"; then
7912 echo $ECHO_N "(cached) $ECHO_C" >&6
7914 cat >conftest.
$ac_ext <<_ACEOF
7915 #line 7915 "configure"
7916 #include "confdefs.h"
7917 /* System header to define __stub macros and hopefully few prototypes,
7918 which can conflict with char $ac_func (); below. */
7920 /* Override any gcc2 internal prototype to avoid an error. */
7924 /* We use char because int might match the return type of a gcc2
7925 builtin and then its argument prototype would still apply. */
7932 /* The GNU C library defines this for functions which it implements
7933 to always fail with ENOSYS. Some functions are actually named
7934 something starting with __ and the normal name is an alias. */
7935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7945 rm -f conftest.
$ac_objext conftest
$ac_exeext
7946 if { (eval echo "$as_me:7946: \"$ac_link\"") >&5
7947 (eval $ac_link) 2>&5
7949 echo "$as_me:7949: \$? = $ac_status" >&5
7950 (exit $ac_status); } &&
7951 { ac_try
='test -s conftest$ac_exeext'
7952 { (eval echo "$as_me:7952: \"$ac_try\"") >&5
7955 echo "$as_me:7955: \$? = $ac_status" >&5
7956 (exit $ac_status); }; }; then
7957 eval "$as_ac_var=yes"
7959 echo "$as_me: failed program was:" >&5
7960 cat conftest.
$ac_ext >&5
7961 eval "$as_ac_var=no"
7963 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7965 echo "$as_me:7965: result: `eval echo '${'$as_ac_var'}'`" >&5
7966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7967 if test `eval echo '${'$as_ac_var'}'` = yes; then
7968 cat >>confdefs.h
<<EOF
7969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7972 echo "$as_me:7972: checking if fparseln seems to work" >&5
7973 echo $ECHO_N "checking if fparseln seems to work... $ECHO_C" >&6
7974 if test "$cross_compiling" = yes; then
7975 { echo "$as_me:7975: WARNING: cross compiling: not checking farseln" >&5
7976 echo "$as_me: WARNING: cross compiling: not checking farseln" >&2;}
7979 cat >conftest.
$ac_ext <<_ACEOF
7980 #line 7980 "configure"
7981 #include "confdefs.h"
7983 #define _NETBSD_SOURCE
7986 #define CONFTEST "conftest.fparseln"
7991 static const char delim[3] = { '\0', '\0', COMMENT };
7994 fp = fopen(CONFTEST, "w+");
7997 ungetc(COMMENT, fp);
7998 ptr = fparseln(fp, NULL, NULL, delim,
8008 rm -f conftest
$ac_exeext
8009 if { (eval echo "$as_me:8009: \"$ac_link\"") >&5
8010 (eval $ac_link) 2>&5
8012 echo "$as_me:8012: \$? = $ac_status" >&5
8013 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8014 { (eval echo "$as_me:8014: \"$ac_try\"") >&5
8017 echo "$as_me:8017: \$? = $ac_status" >&5
8018 (exit $ac_status); }; }; then
8019 echo "$as_me:8019: result: yes" >&5
8020 echo "${ECHO_T}yes" >&6
8022 echo "$as_me: program exited with status $ac_status" >&5
8023 echo "$as_me: failed program was:" >&5
8024 cat conftest.
$ac_ext >&5
8025 echo "$as_me:8025: result: no" >&5
8026 echo "${ECHO_T}no" >&6
8028 cat >>confdefs.h
<<\EOF
8029 #define BROKEN_FPARSELN 1
8033 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8039 # Variables substituted via @VARNAME@ in defs.mk.in
8040 HAVE_PTHREAD_H
=$ac_cv_header_pthread_h
8042 cat >confcache
<<\_ACEOF
8043 # This file is a shell script that caches the results of configure
8044 # tests run on this system so they can be shared between configure
8045 # scripts and configure runs, see configure's option --config-cache.
8046 # It is not useful on other systems. If it contains results you don't
8047 # want to keep, you may remove or edit it.
8049 # config.status only pays attention to the cache file if you give it
8050 # the --recheck option to rerun configure.
8052 # `ac_cv_env_foo' variables (set or unset) will be overriden when
8053 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8058 # The following way of writing the cache mishandles newlines in values,
8059 # but we know of no workaround that is simple, portable, and efficient.
8060 # So, don't put newlines in cache variables' values.
8061 # Ultrix sh set writes to stderr and can't be redirected directly,
8062 # and sets the high bit in the cache file unless we assign to the vars.
8065 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8067 # `set' does not quote correctly, so add quotes (double-quote
8068 # substitution turns \\\\ into \\, and sed turns \\ into \).
8071 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8074 # `set' quotes correctly as required by POSIX, so do not add quotes.
8076 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8083 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8085 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8087 if cmp -s $cache_file confcache
; then :; else
8088 if test -w $cache_file; then
8089 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8090 cat confcache
>$cache_file
8092 echo "not updating unwritable cache $cache_file"
8097 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8098 # Let make expand exec_prefix.
8099 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8101 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8102 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8103 # trailing colons and then remove the whole line if VPATH becomes empty
8104 # (actually we leave an empty line to preserve line numbers).
8105 if test "x$srcdir" = x.
; then
8106 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8107 s/:*\$(srcdir):*/:/;
8108 s/:*\${srcdir}:*/:/;
8110 s/^\([^=]*=[ ]*\):*/\1/;
8116 DEFS
=-DHAVE_CONFIG_H
8118 : ${CONFIG_STATUS=./config.status}
8119 ac_clean_files_save
=$ac_clean_files
8120 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8121 { echo "$as_me:8121: creating $CONFIG_STATUS" >&5
8122 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8123 cat >$CONFIG_STATUS <<_ACEOF
8125 # Generated automatically by configure.
8126 # Run this file to recreate the current configuration.
8127 # Compiler output produced by configure, useful for debugging
8128 # configure, is in config.log if it exists.
8131 SHELL=\${CONFIG_SHELL-$SHELL}
8132 ac_cs_invocation="\$0 \$@"
8136 cat >>$CONFIG_STATUS <<\_ACEOF
8137 # Be Bourne compatible
8138 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8141 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
8145 # Name of the executable.
8146 as_me
=`echo "$0" |sed 's,.*[\\/],,'`
8148 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8154 rm -f conf$$ conf$$.exe conf$$.
file
8156 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8157 # We could just check for DJGPP; but this test a) works b) is more generic
8158 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8159 if test -f conf$$.exe
; then
8160 # Don't use ln at all; we don't have any links
8165 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8170 rm -f conf$$ conf$$.exe conf$$.
file
8172 as_executable_p
="test -f"
8174 # Support unset when possible.
8175 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
8182 $as_unset LANG ||
test "${LANG+set}" != set ||
{ LANG
=C
; export LANG
; }
8183 $as_unset LC_ALL ||
test "${LC_ALL+set}" != set ||
{ LC_ALL
=C
; export LC_ALL
; }
8184 $as_unset LC_TIME ||
test "${LC_TIME+set}" != set ||
{ LC_TIME
=C
; export LC_TIME
; }
8185 $as_unset LC_CTYPE ||
test "${LC_CTYPE+set}" != set ||
{ LC_CTYPE
=C
; export LC_CTYPE
; }
8186 $as_unset LANGUAGE ||
test "${LANGUAGE+set}" != set ||
{ LANGUAGE
=C
; export LANGUAGE
; }
8187 $as_unset LC_COLLATE ||
test "${LC_COLLATE+set}" != set ||
{ LC_COLLATE
=C
; export LC_COLLATE
; }
8188 $as_unset LC_NUMERIC ||
test "${LC_NUMERIC+set}" != set ||
{ LC_NUMERIC
=C
; export LC_NUMERIC
; }
8189 $as_unset LC_MESSAGES ||
test "${LC_MESSAGES+set}" != set ||
{ LC_MESSAGES
=C
; export LC_MESSAGES
; }
8192 # We need space, tab and new line, in precisely that order.
8198 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=:; export CDPATH
; }
8204 # Files that config.status was made for.
8205 if test -n "$ac_config_files"; then
8206 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8209 if test -n "$ac_config_headers"; then
8210 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8213 if test -n "$ac_config_links"; then
8214 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8217 if test -n "$ac_config_commands"; then
8218 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8221 cat >>$CONFIG_STATUS <<\EOF
8224 \`$as_me' instantiates files from templates according to the
8225 current configuration.
8227 Usage: $0 [OPTIONS] [FILE]...
8229 -h, --help print this help, then exit
8230 -V, --version print version number, then exit
8231 -d, --debug don't remove temporary files
8232 --recheck update $as_me by reconfiguring in the same conditions
8233 --file=FILE[:TEMPLATE]
8234 instantiate the configuration file FILE
8235 --header=FILE[:TEMPLATE]
8236 instantiate the configuration header FILE
8238 Configuration files:
8241 Configuration headers:
8244 Report bugs to <bug-autoconf@gnu.org>."
8247 cat >>$CONFIG_STATUS <<EOF
8249 libnbcompat config.status noversion
8250 configured by $0, generated by GNU Autoconf 2.52,
8251 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8253 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8254 Free Software Foundation, Inc.
8255 This config.status script is free software; the Free Software Foundation
8256 gives unlimited permission to copy, distribute and modify it."
8260 cat >>$CONFIG_STATUS <<\EOF
8261 # If no file are specified by the user, then we need to provide default
8262 # value. By we need to know if files were specified by the user.
8268 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
8269 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
8271 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
8275 *) # This is not an option, so the user has probably given explicit
8277 ac_need_defaults
=false
;;
8281 # Handling of the options.
8283 cat >>$CONFIG_STATUS <<EOF
8284 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8285 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
8286 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
8288 cat >>$CONFIG_STATUS <<\EOF
8289 --version |
--vers* |
-V )
8290 echo "$ac_cs_version"; exit 0 ;;
8292 # Conflict between --help and --header
8293 { { echo "$as_me:8293: error: ambiguous option: $1
8294 Try \`$0 --help' for more information." >&5
8295 echo "$as_me: error: ambiguous option: $1
8296 Try \`$0 --help' for more information." >&2;}
8297 { (exit 1); exit 1; }; };;
8298 --help |
--hel |
-h )
8299 echo "$ac_cs_usage"; exit 0 ;;
8300 --debug |
--d* |
-d )
8302 --file |
--fil |
--fi |
--f )
8304 CONFIG_FILES
="$CONFIG_FILES $1"
8305 ac_need_defaults
=false
;;
8306 --header |
--heade |
--head |
--hea )
8308 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
8309 ac_need_defaults
=false
;;
8312 -*) { { echo "$as_me:8312: error: unrecognized option: $1
8313 Try \`$0 --help' for more information." >&5
8314 echo "$as_me: error: unrecognized option: $1
8315 Try \`$0 --help' for more information." >&2;}
8316 { (exit 1); exit 1; }; } ;;
8318 *) ac_config_targets
="$ac_config_targets $1" ;;
8327 ## ----------------------- ##
8328 ## Running config.status. ##
8329 ## ----------------------- ##
8331 This file was extended by $as_me (libnbcompat noversion) 2.52, executed with
8332 CONFIG_FILES = $CONFIG_FILES
8333 CONFIG_HEADERS = $CONFIG_HEADERS
8334 CONFIG_LINKS = $CONFIG_LINKS
8335 CONFIG_COMMANDS = $CONFIG_COMMANDS
8337 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8342 cat >>$CONFIG_STATUS <<\EOF
8343 for ac_config_target
in $ac_config_targets
8345 case "$ac_config_target" in
8346 # Handling of arguments.
8347 "defs.mk" ) CONFIG_FILES
="$CONFIG_FILES defs.mk" ;;
8348 "nbtool_config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS nbtool_config.h" ;;
8349 *) { { echo "$as_me:8349: error: invalid argument: $ac_config_target" >&5
8350 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8351 { (exit 1); exit 1; }; };;
8355 # If the user did not use the arguments to specify the items to instantiate,
8356 # then the envvar interface is used. Set only those that are not.
8357 # We use the long form for the default assignment because of an extremely
8358 # bizarre bug on SunOS 4.1.3.
8359 if $ac_need_defaults; then
8360 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8361 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8364 # Create a temporary directory, and hook for its removal unless debugging.
8367 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8368 trap '{ (exit 1); exit 1; }' 1 2 13 15
8371 # Create a (secure) tmp directory for tmp files.
8374 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
8375 test -n "$tmp" && test -d "$tmp"
8378 tmp
=$TMPDIR/cs$$
-$RANDOM
8379 (umask 077 && mkdir
$tmp)
8382 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
8383 { (exit 1); exit 1; }
8388 cat >>$CONFIG_STATUS <<EOF
8391 # CONFIG_FILES section.
8394 # No need to generate the scripts if there are no CONFIG_FILES.
8395 # This happens for instance when ./config.status config.h
8396 if test -n "\$CONFIG_FILES"; then
8397 # Protect against being on the right side of a sed subst in config.status.
8398 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8399 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8400 s,@SHELL@,$SHELL,;t t
8401 s,@exec_prefix@,$exec_prefix,;t t
8402 s,@prefix@,$prefix,;t t
8403 s,@program_transform_name@,$program_transform_name,;t t
8404 s,@bindir@,$bindir,;t t
8405 s,@sbindir@,$sbindir,;t t
8406 s,@libexecdir@,$libexecdir,;t t
8407 s,@datadir@,$datadir,;t t
8408 s,@sysconfdir@,$sysconfdir,;t t
8409 s,@sharedstatedir@,$sharedstatedir,;t t
8410 s,@localstatedir@,$localstatedir,;t t
8411 s,@libdir@,$libdir,;t t
8412 s,@includedir@,$includedir,;t t
8413 s,@oldincludedir@,$oldincludedir,;t t
8414 s,@infodir@,$infodir,;t t
8415 s,@mandir@,$mandir,;t t
8416 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8417 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8418 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8419 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8420 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8421 s,@build_alias@,$build_alias,;t t
8422 s,@host_alias@,$host_alias,;t t
8423 s,@target_alias@,$target_alias,;t t
8424 s,@ECHO_C@,$ECHO_C,;t t
8425 s,@ECHO_N@,$ECHO_N,;t t
8426 s,@ECHO_T@,$ECHO_T,;t t
8427 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8431 s,@CFLAGS@,$CFLAGS,;t t
8432 s,@LDFLAGS@,$LDFLAGS,;t t
8433 s,@CPPFLAGS@,$CPPFLAGS,;t t
8434 s,@ac_ct_CC@,$ac_ct_CC,;t t
8435 s,@EXEEXT@,$EXEEXT,;t t
8436 s,@OBJEXT@,$OBJEXT,;t t
8438 s,@BSHELL@,$BSHELL,;t t
8439 s,@ALLOCA@,$ALLOCA,;t t
8440 s,@HAVE_PTHREAD_H@,$HAVE_PTHREAD_H,;t t
8445 cat >>$CONFIG_STATUS <<\EOF
8446 # Split the substitutions into bite-sized pieces for seds with
8447 # small command number limits, like on Digital OSF/1 and HP-UX.
8449 ac_sed_frag
=1 # Number of current file.
8450 ac_beg
=1 # First line for current file.
8451 ac_end
=$ac_max_sed_lines # Line after last line for current file.
8454 while $ac_more_lines; do
8455 if test $ac_beg -gt 1; then
8456 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8458 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8460 if test ! -s $tmp/subs.frag
; then
8463 # The purpose of the label and of the branching condition is to
8464 # speed up the sed processing (if there are no `@' at all, there
8465 # is no need to browse any of the substitutions).
8466 # These are the two extra sed commands mentioned above.
8468 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
8469 if test -z "$ac_sed_cmds"; then
8470 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
8472 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8474 ac_sed_frag
=`expr $ac_sed_frag + 1`
8476 ac_end
=`expr $ac_end + $ac_max_sed_lines`
8479 if test -z "$ac_sed_cmds"; then
8482 fi # test -n "$CONFIG_FILES"
8485 cat >>$CONFIG_STATUS <<\EOF
8486 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
8487 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8489 - |
*:- |
*:-:* ) # input from stdin
8491 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8492 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8493 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8494 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8495 * ) ac_file_in
=$ac_file.
in ;;
8498 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8499 ac_dir
=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8500 X"$ac_file" : 'X\(//\)[^/]' \| \
8501 X"$ac_file" : 'X\(//\)$' \| \
8502 X"$ac_file" : 'X\(/\)' \| \
8503 . : '\(.\)' 2>/dev/null ||
8505 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8506 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8507 /^X\(\/\/\)$/{ s//\1/; q; }
8508 /^X\(\/\).*/{ s//\1/; q; }
8510 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
8512 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
8516 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
8517 case $as_mkdir_dir in
8518 # Skip DOS drivespec
8519 ?
:) as_incr_dir
=$as_mkdir_dir ;;
8521 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
8522 test -d "$as_incr_dir" || mkdir
"$as_incr_dir"
8527 ac_dir_suffix
="/`echo $ac_dir|sed 's,^\./,,'`"
8528 # A "../" for each directory in $ac_dir_suffix.
8529 ac_dots
=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
8531 ac_dir_suffix
= ac_dots
=
8536 if test -z "$ac_dots"; then
8539 ac_top_srcdir
=`echo $ac_dots | sed 's,/$,,'`
8542 ac_srcdir
=$srcdir$ac_dir_suffix;
8543 ac_top_srcdir
=$srcdir ;;
8545 ac_srcdir
=$ac_dots$srcdir$ac_dir_suffix
8546 ac_top_srcdir
=$ac_dots$srcdir ;;
8549 if test x
"$ac_file" != x-
; then
8550 { echo "$as_me:8550: creating $ac_file" >&5
8551 echo "$as_me: creating $ac_file" >&6;}
8554 # Let's still pretend it is `configure' which instantiates (i.e., don't
8555 # use $as_me), people would be surprised to read:
8556 # /* config.h. Generated automatically by config.status. */
8557 configure_input
="Generated automatically from `echo $ac_file_in |
8558 sed 's,.*/,,'` by configure."
8560 # First look for the input files in the build tree, otherwise in the
8562 ac_file_inputs
=`IFS=:
8563 for f in $ac_file_in; do
8565 -) echo $tmp/stdin ;;
8567 # Absolute (can't be DOS-style, as IFS=:)
8568 test -f "$f" || { { echo "$as_me:8568: error: cannot find input file: $f" >&5
8569 echo "$as_me: error: cannot find input file: $f" >&2;}
8570 { (exit 1); exit 1; }; }
8573 if test -f "$f"; then
8576 elif test -f "$srcdir/$f"; then
8581 { { echo "$as_me:8581: error: cannot find input file: $f" >&5
8582 echo "$as_me: error: cannot find input file: $f" >&2;}
8583 { (exit 1); exit 1; }; }
8586 done` ||
{ (exit 1); exit 1; }
8588 cat >>$CONFIG_STATUS <<EOF
8592 cat >>$CONFIG_STATUS <<\EOF
8594 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8595 s
,@configure_input@
,$configure_input,;t t
8596 s
,@srcdir@
,$ac_srcdir,;t t
8597 s
,@top_srcdir@
,$ac_top_srcdir,;t t
8598 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8600 if test x"$ac_file" != x-; then
8601 mv $tmp/out $ac_file
8609 cat >>$CONFIG_STATUS <<\EOF
8612 # CONFIG_HEADER section.
8615 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
8616 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8618 # ac_d sets the value in "#define NAME VALUE" lines.
8619 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8620 ac_dB
='[ ].*$,\1#\2'
8623 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8624 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8625 ac_uB
='$,\1#\2define\3'
8629 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
8630 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8632 - |
*:- |
*:-:* ) # input from stdin
8634 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8635 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8636 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8637 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8638 * ) ac_file_in
=$ac_file.
in ;;
8641 test x
"$ac_file" != x-
&& { echo "$as_me:8641: creating $ac_file" >&5
8642 echo "$as_me: creating $ac_file" >&6;}
8644 # First look for the input files in the build tree, otherwise in the
8646 ac_file_inputs
=`IFS=:
8647 for f in $ac_file_in; do
8649 -) echo $tmp/stdin ;;
8651 # Absolute (can't be DOS-style, as IFS=:)
8652 test -f "$f" || { { echo "$as_me:8652: error: cannot find input file: $f" >&5
8653 echo "$as_me: error: cannot find input file: $f" >&2;}
8654 { (exit 1); exit 1; }; }
8657 if test -f "$f"; then
8660 elif test -f "$srcdir/$f"; then
8665 { { echo "$as_me:8665: error: cannot find input file: $f" >&5
8666 echo "$as_me: error: cannot find input file: $f" >&2;}
8667 { (exit 1); exit 1; }; }
8670 done` ||
{ (exit 1); exit 1; }
8671 # Remove the trailing spaces.
8672 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8676 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8677 # `conftest.undefs', that substitutes the proper values into
8678 # config.h.in to produce config.h. The first handles `#define'
8679 # templates, and the second `#undef' templates.
8680 # And first: Protect against being on the right side of a sed subst in
8681 # config.status. Protect against being in an unquoted here document
8683 rm -f conftest.defines conftest.undefs
8684 # Using a here document instead of a string reduces the quoting nightmare.
8685 # Putting comments in sed scripts is not portable.
8687 # `end' is used to avoid that the second main sed command (meant for
8688 # 0-ary CPP macros) applies to n-ary macro definitions.
8689 # See the Autoconf documentation for `clear'.
8690 cat >confdef2sed.
sed <<\EOF
8695 s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
8697 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8700 # If some macros were called several times there might be several times
8701 # the same #defines, which is useless. Nevertheless, we may not want to
8702 # sort them, since we want the *last* AC-DEFINE to be honored.
8703 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8704 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8705 rm -f confdef2sed.sed
8707 # This sed command replaces #undef with comments. This is necessary, for
8708 # example, in the case of _POSIX_SOURCE, which is predefined and required
8709 # on some systems where configure will not decide to define it.
8710 cat >>conftest.undefs <<\EOF
8711 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8714 # Break up conftest.defines because some shells have a limit on the size
8715 # of here documents, and old seds have small limits too (100 cmds).
8716 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8717 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8718 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8719 echo ' :' >>$CONFIG_STATUS
8721 while grep . conftest.defines >/dev/null
8723 # Write a limited-size here document to $tmp/defines.sed.
8724 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8725 # Speed up: don't consider the non `#define' lines.
8726 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8727 # Work around the forget-to-reset-the-flag bug.
8728 echo 't clr' >>$CONFIG_STATUS
8729 echo ': clr' >>$CONFIG_STATUS
8730 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
8732 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8736 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
8737 rm -f conftest.defines
8738 mv conftest.
tail conftest.defines
8740 rm -f conftest.defines
8741 echo ' fi # egrep' >>$CONFIG_STATUS
8742 echo >>$CONFIG_STATUS
8744 # Break up conftest.undefs because some shells have a limit on the size
8745 # of here documents, and old seds have small limits too (100 cmds).
8746 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8748 while grep . conftest.undefs
>/dev
/null
8750 # Write a limited-size here document to $tmp/undefs.sed.
8751 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8752 # Speed up: don't consider the non
`#undef'
8753 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8754 # Work around the forget-to-reset-the-flag bug.
8755 echo 't clr' >>$CONFIG_STATUS
8756 echo ': clr' >>$CONFIG_STATUS
8757 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8759 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8763 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8764 rm -f conftest.undefs
8765 mv conftest.tail conftest.undefs
8767 rm -f conftest.undefs
8769 cat >>$CONFIG_STATUS <<\EOF
8770 # Let's still pretend it is `configure
' which instantiates (i.e., don't
8771 # use $as_me), people would be surprised to read:
8772 # /* config.h. Generated automatically by config.status. */
8773 if test x
"$ac_file" = x-
; then
8774 echo "/* Generated automatically by configure. */" >$tmp/config.h
8776 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
8778 cat $tmp/in >>$tmp/config.h
8780 if test x
"$ac_file" != x-
; then
8781 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
8782 { echo "$as_me:8782: $ac_file is unchanged" >&5
8783 echo "$as_me: $ac_file is unchanged" >&6;}
8785 ac_dir
=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8786 X"$ac_file" : 'X\(//\)[^/]' \| \
8787 X"$ac_file" : 'X\(//\)$' \| \
8788 X"$ac_file" : 'X\(/\)' \| \
8789 . : '\(.\)' 2>/dev/null ||
8791 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8792 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8793 /^X\(\/\/\)$/{ s//\1/; q; }
8794 /^X\(\/\).*/{ s//\1/; q; }
8796 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
8798 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
8802 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
8803 case $as_mkdir_dir in
8804 # Skip DOS drivespec
8805 ?
:) as_incr_dir
=$as_mkdir_dir ;;
8807 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
8808 test -d "$as_incr_dir" || mkdir
"$as_incr_dir"
8815 mv $tmp/config.h
$ac_file
8824 cat >>$CONFIG_STATUS <<\EOF
8826 { (exit 0); exit 0; }
8828 chmod +x
$CONFIG_STATUS
8829 ac_clean_files
=$ac_clean_files_save
8831 # configure is writing to config.log, and then calls config.status.
8832 # config.status does its own redirection, appending to config.log.
8833 # Unfortunately, on DOS this fails, as config.log is still kept open
8834 # by configure, so config.status won't be able to write to it; its
8835 # output is simply discarded. So we exec the FD to /dev/null,
8836 # effectively closing config.log, so it can be properly (re)opened and
8837 # appended to by config.status. When coming back to configure, we
8838 # need to make the FD available again.
8839 if test "$no_create" != yes; then
8842 $SHELL $CONFIG_STATUS || ac_cs_success
=false
8844 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8845 # would make configure fail if this is the last instruction.
8846 $ac_cs_success ||
{ (exit 1); exit 1; }