2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by Autoconf 2.49f.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
10 # Be Bourne compatible
11 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
14 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
18 # Name of the executable.
19 as_me
=`echo "$0" |sed 's,.*[\\/],,'`
21 if expr a
: '\(a\)' >/dev
/null
2>&1; then
27 rm -f conf$$ conf$$.exe conf$$.
file
29 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
30 # We could just check for DJGPP; but this test a) works b) is more generic
31 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
32 if test -f conf$$.exe
; then
33 # Don't use ln at all; we don't have any links
38 elif ln conf$$.
file conf$$
2>/dev
/null
; then
43 rm -f conf$$ conf$$.exe conf$$.
file
45 as_executable_p
="test -f"
47 # Support unset when possible.
48 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
55 $as_unset LANG ||
test "${LANG+set}" != set ||
{ LANG
=C
; export LANG
; }
56 $as_unset LC_ALL ||
test "${LC_ALL+set}" != set ||
{ LC_ALL
=C
; export LC_ALL
; }
57 $as_unset LC_TIME ||
test "${LC_TIME+set}" != set ||
{ LC_TIME
=C
; export LC_TIME
; }
58 $as_unset LC_CTYPE ||
test "${LC_CTYPE+set}" != set ||
{ LC_CTYPE
=C
; export LC_CTYPE
; }
59 $as_unset LANGUAGE ||
test "${LANGUAGE+set}" != set ||
{ LANGUAGE
=C
; export LANGUAGE
; }
60 $as_unset LC_COLLATE ||
test "${LC_COLLATE+set}" != set ||
{ LC_COLLATE
=C
; export LC_COLLATE
; }
61 $as_unset LC_NUMERIC ||
test "${LC_NUMERIC+set}" != set ||
{ LC_NUMERIC
=C
; export LC_NUMERIC
; }
62 $as_unset LC_MESSAGES ||
test "${LC_MESSAGES+set}" != set ||
{ LC_MESSAGES
=C
; export LC_MESSAGES
; }
65 # We need space, tab and new line, in precisely that order.
71 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=:; export CDPATH
; }
74 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
75 # so uname gets run too.
76 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
83 ac_default_prefix
=/usr
/local
87 SHELL
=${CONFIG_SHELL-/bin/sh}
89 # Maximum number of lines to put in a shell here document.
90 # This variable seems obsolete. It should probably be removed, and
91 # only ac_max_sed_lines should be used.
92 : ${ac_max_here_lines=38}
94 # Avoid depending upon Character Ranges.
95 ac_cr_az
='abcdefghijklmnopqrstuvwxyz'
96 ac_cr_AZ
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
98 ac_cr_alnum
=$ac_cr_az$ac_cr_AZ$ac_cr_09
100 # Sed expression to map a string onto a valid sh and CPP variable names.
101 ac_tr_sh
="sed y%*+%pp%;s%[^_$ac_cr_alnum]%_%g"
102 ac_tr_cpp
="sed y%*$ac_cr_az%P$ac_cr_AZ%;s%[^_$ac_cr_alnum]%_%g"
104 ac_unique_file
="find/pred.c"
105 # Factoring default headers for most tests.
106 ac_includes_default
="\
108 #include <sys/types.h>
109 #include <sys/stat.h>
119 # if !STDC_HEADERS && HAVE_MEMORY_H
125 # include <strings.h>
129 # include <inttypes.h>
135 # Initialize some variables set by options.
137 ac_init_version
=false
138 # The variables have the same names as the options, with
139 # dashes changed to underlines.
147 program_transform_name
=s
,x
,x
,
155 # Installation directory options.
156 # These are left unexpanded so users can "make install exec_prefix=/foo"
157 # and all the variables that are supposed to be based on exec_prefix
158 # by default will actually change.
159 # Use braces instead of parens because sh, perl, etc. also accept them.
160 bindir
='${exec_prefix}/bin'
161 sbindir
='${exec_prefix}/sbin'
162 libexecdir
='${exec_prefix}/libexec'
163 datadir
='${prefix}/share'
164 sysconfdir
='${prefix}/etc'
165 sharedstatedir
='${prefix}/com'
166 localstatedir
='${prefix}/var'
167 libdir
='${exec_prefix}/lib'
168 includedir
='${prefix}/include'
169 oldincludedir
='/usr/include'
170 infodir
='${prefix}/info'
171 mandir
='${prefix}/man'
173 # Identity of this package.
183 # If the previous option needs an argument, assign it.
184 if test -n "$ac_prev"; then
185 eval "$ac_prev=\$ac_option"
190 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
192 # Accept the important Cygnus configure options, so we can diagnose typos.
196 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
198 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
201 -build |
--build |
--buil |
--bui |
--bu)
202 ac_prev
=build_alias
;;
203 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
204 build_alias
=$ac_optarg ;;
206 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
207 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
208 ac_prev
=cache_file
;;
209 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
210 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
211 cache_file
=$ac_optarg ;;
214 cache_file
=config.cache
;;
216 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
218 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
220 datadir
=$ac_optarg ;;
222 -disable-* |
--disable-*)
223 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
224 # Reject names that are not valid shell variable names.
225 expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev
/null
&&
226 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
227 { (exit 1); exit 1; }; }
228 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
229 eval "enable_$ac_feature=no" ;;
231 -enable-* |
--enable-*)
232 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
233 # Reject names that are not valid shell variable names.
234 expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev
/null
&&
235 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
236 { (exit 1); exit 1; }; }
237 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
239 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
242 eval "enable_$ac_feature='$ac_optarg'" ;;
244 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
245 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
246 |
--exec |
--exe |
--ex)
247 ac_prev
=exec_prefix
;;
248 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
249 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
250 |
--exec=* |
--exe=* |
--ex=*)
251 exec_prefix
=$ac_optarg ;;
253 -gas |
--gas |
--ga |
--g)
254 # Obsolete; use --with-gas.
257 -help |
--help |
--hel |
--he |
-h)
259 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
260 ac_init_help
=recursive
;;
261 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
262 ac_init_help
=short
;;
264 -host |
--host |
--hos |
--ho)
265 ac_prev
=host_alias
;;
266 -host=* |
--host=* |
--hos=* |
--ho=*)
267 host_alias
=$ac_optarg ;;
269 -includedir |
--includedir |
--includedi |
--included |
--include \
270 |
--includ |
--inclu |
--incl |
--inc)
271 ac_prev
=includedir
;;
272 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
273 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
274 includedir
=$ac_optarg ;;
276 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
278 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
279 infodir
=$ac_optarg ;;
281 -libdir |
--libdir |
--libdi |
--libd)
283 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
286 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
287 |
--libexe |
--libex |
--libe)
288 ac_prev
=libexecdir
;;
289 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
290 |
--libexe=* |
--libex=* |
--libe=*)
291 libexecdir
=$ac_optarg ;;
293 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
294 |
--localstate |
--localstat |
--localsta |
--localst \
295 |
--locals |
--local |
--loca |
--loc |
--lo)
296 ac_prev
=localstatedir
;;
297 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
298 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
299 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
300 localstatedir
=$ac_optarg ;;
302 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
304 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
308 # Obsolete; use --without-fp.
311 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
315 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
316 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
319 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
320 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
321 |
--oldin |
--oldi |
--old |
--ol |
--o)
322 ac_prev
=oldincludedir
;;
323 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
324 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
325 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
326 oldincludedir
=$ac_optarg ;;
328 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
330 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
333 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
334 |
--program-pre |
--program-pr |
--program-p)
335 ac_prev
=program_prefix
;;
336 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
337 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
338 program_prefix
=$ac_optarg ;;
340 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
341 |
--program-suf |
--program-su |
--program-s)
342 ac_prev
=program_suffix
;;
343 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
344 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
345 program_suffix
=$ac_optarg ;;
347 -program-transform-name |
--program-transform-name \
348 |
--program-transform-nam |
--program-transform-na \
349 |
--program-transform-n |
--program-transform- \
350 |
--program-transform |
--program-transfor \
351 |
--program-transfo |
--program-transf \
352 |
--program-trans |
--program-tran \
353 |
--progr-tra |
--program-tr |
--program-t)
354 ac_prev
=program_transform_name
;;
355 -program-transform-name=* |
--program-transform-name=* \
356 |
--program-transform-nam=* |
--program-transform-na=* \
357 |
--program-transform-n=* |
--program-transform-=* \
358 |
--program-transform=* |
--program-transfor=* \
359 |
--program-transfo=* |
--program-transf=* \
360 |
--program-trans=* |
--program-tran=* \
361 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
362 program_transform_name
=$ac_optarg ;;
364 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
365 |
-silent |
--silent |
--silen |
--sile |
--sil)
368 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
370 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
372 sbindir
=$ac_optarg ;;
374 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
375 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
376 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
378 ac_prev
=sharedstatedir
;;
379 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
380 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
381 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
383 sharedstatedir
=$ac_optarg ;;
385 -site |
--site |
--sit)
387 -site=* |
--site=* |
--sit=*)
390 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
392 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
395 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
396 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
397 ac_prev
=sysconfdir
;;
398 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
399 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
400 sysconfdir
=$ac_optarg ;;
402 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
403 ac_prev
=target_alias
;;
404 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
405 target_alias
=$ac_optarg ;;
407 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
410 -version |
--version |
--versio |
--versi |
--vers |
-V)
414 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
415 # Reject names that are not valid shell variable names.
416 expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev
/null
&&
417 { echo "$as_me: error: invalid package name: $ac_package" >&2
418 { (exit 1); exit 1; }; }
419 ac_package
=`echo $ac_package| sed 's/-/_/g'`
421 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
424 eval "with_$ac_package='$ac_optarg'" ;;
426 -without-* |
--without-*)
427 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
428 # Reject names that are not valid shell variable names.
429 expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev
/null
&&
430 { echo "$as_me: error: invalid package name: $ac_package" >&2
431 { (exit 1); exit 1; }; }
432 ac_package
=`echo $ac_package | sed 's/-/_/g'`
433 eval "with_$ac_package=no" ;;
436 # Obsolete; use --with-x.
439 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
440 |
--x-incl |
--x-inc |
--x-in |
--x-i)
441 ac_prev
=x_includes
;;
442 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
443 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
444 x_includes
=$ac_optarg ;;
446 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
447 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
448 ac_prev
=x_libraries
;;
449 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
450 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
451 x_libraries
=$ac_optarg ;;
453 -*) { echo "$as_me: error: unrecognized option: $ac_option
454 Try \`$0 --help' for more information." >&2
455 { (exit 1); exit 1; }; }
459 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
460 # Reject names that are not valid shell variable names.
461 expr "x$ac_envvar" : ".*[^_$ac_cr_alnum]" >/dev
/null
&&
462 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
463 { (exit 1); exit 1; }; }
464 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
465 eval "$ac_envvar='$ac_optarg'"
469 # FIXME: should be removed in autoconf 3.0.
470 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
471 expr "x$ac_option" : ".*[^-._$ac_cr_alnum]" >/dev
/null
&&
472 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
473 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
479 if test -n "$ac_prev"; then
480 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
481 { echo "$as_me: error: missing argument to $ac_option" >&2
482 { (exit 1); exit 1; }; }
485 # Be sure to have absolute paths.
486 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
487 localstatedir libdir includedir oldincludedir infodir mandir \
490 eval ac_val
=$
`echo $ac_var`
492 [\\/$
]* | ?
:[\\/]* ) ;;
494 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
495 { (exit 1); exit 1; }; };;
499 # There might be people who depend on the old broken behavior: `$host'
500 # used to hold the argument of --host etc.
505 # FIXME: should be removed in autoconf 3.0.
506 if test "x$host_alias" != x
; then
507 if test "x$build_alias" = x
; then
508 cross_compiling
=maybe
509 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
510 If a cross compiler is detected then cross compile mode will be used." >&2
511 elif test "x$build_alias" != "x$host_alias"; then
517 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
519 test "$silent" = yes && exec 6>/dev
/null
521 # Find the source files, if location was not specified.
522 if test -z "$srcdir"; then
523 ac_srcdir_defaulted
=yes
524 # Try the directory containing this script, then its parent.
526 ac_confdir
=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
527 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
529 if test ! -r $srcdir/$ac_unique_file; then
533 ac_srcdir_defaulted
=no
535 if test ! -r $srcdir/$ac_unique_file; then
536 if test "$ac_srcdir_defaulted" = yes; then
537 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
538 { (exit 1); exit 1; }; }
540 { echo "$as_me: error: cannot find sources in $srcdir" >&2
541 { (exit 1); exit 1; }; }
544 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
545 ac_env_build_alias_set
=${build_alias+set}
546 ac_env_build_alias_value
=$build_alias
547 ac_cv_env_build_alias_set
=${build_alias+set}
548 ac_cv_env_build_alias_value
=$build_alias
549 ac_env_host_alias_set
=${host_alias+set}
550 ac_env_host_alias_value
=$host_alias
551 ac_cv_env_host_alias_set
=${host_alias+set}
552 ac_cv_env_host_alias_value
=$host_alias
553 ac_env_target_alias_set
=${target_alias+set}
554 ac_env_target_alias_value
=$target_alias
555 ac_cv_env_target_alias_set
=${target_alias+set}
556 ac_cv_env_target_alias_value
=$target_alias
557 ac_env_CC_set
=${CC+set}
559 ac_cv_env_CC_set
=${CC+set}
560 ac_cv_env_CC_value
=$CC
561 ac_env_CFLAGS_set
=${CFLAGS+set}
562 ac_env_CFLAGS_value
=$CFLAGS
563 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
564 ac_cv_env_CFLAGS_value
=$CFLAGS
565 ac_env_LDFLAGS_set
=${LDFLAGS+set}
566 ac_env_LDFLAGS_value
=$LDFLAGS
567 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
568 ac_cv_env_LDFLAGS_value
=$LDFLAGS
569 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
570 ac_env_CPPFLAGS_value
=$CPPFLAGS
571 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
572 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
573 ac_env_CPP_set
=${CPP+set}
574 ac_env_CPP_value
=$CPP
575 ac_cv_env_CPP_set
=${CPP+set}
576 ac_cv_env_CPP_value
=$CPP
579 # Report the --help message.
581 if test "$ac_init_help" = "long"; then
582 # Omit some internal or obsolete options to make the list less imposing.
583 # This message is too long to be a string in the A/UX 3.1 sh.
585 \`configure' configures this package to adapt to many kinds of systems.
587 Usage: $0 [OPTION]... [VAR=VALUE]...
589 To assign environment variables (e.g., CC, CFLAGS...), specify them as
590 VAR=VALUE. See below for descriptions of some of the useful variables.
592 Defaults for the options are specified in brackets.
595 -h, --help display this help and exit
596 --help=short display options specific to this package
597 --help=recursive display the short help of all the included packages
598 -V, --version display version information and exit
599 -q, --quiet, --silent do not print \`checking...' messages
600 --cache-file=FILE cache test results in FILE [disabled]
601 -C, --config-cache alias for \`--cache-file=config.cache'
602 -n, --no-create do not create output files
603 --srcdir=DIR find the sources in DIR [configure dir or \`..']
608 Installation directories:
609 --prefix=PREFIX install architecture-independent files in PREFIX
611 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
614 By default, \`make install' will install all the files in
615 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
616 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
617 for instance \`--prefix=\$HOME'.
619 For better control, use the options below.
621 Fine tuning of the installation directories:
622 --bindir=DIR user executables [EPREFIX/bin]
623 --sbindir=DIR system admin executables [EPREFIX/sbin]
624 --libexecdir=DIR program executables [EPREFIX/libexec]
625 --datadir=DIR read-only architecture-independent data [PREFIX/share]
626 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
627 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
628 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
629 --libdir=DIR object code libraries [EPREFIX/lib]
630 --includedir=DIR C header files [PREFIX/include]
631 --oldincludedir=DIR C header files for non-gcc [/usr/include]
632 --infodir=DIR info documentation [PREFIX/info]
633 --mandir=DIR man documentation [PREFIX/man]
639 --program-prefix=PREFIX prepend PREFIX to installed program names
640 --program-suffix=SUFFIX append SUFFIX to installed program names
641 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
644 --build=BUILD configure
for building on BUILD
[guessed
]
645 --host=HOST build programs to run on HOST
[BUILD
]
649 if test -n "$ac_init_help"; then
654 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
655 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
656 --disable-dependency-tracking Speeds up one-time builds
657 --enable-dependency-tracking Do not reject slow dependency extractors
658 --enable-id-cache cache all UIDs
& GIDs
; avoid
if using NIS or Hesiod
659 --disable-largefile omit support
for large files
660 --disable-assert turn off assertions
661 --disable-nls do not use Native Language Support
664 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
665 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
666 --without-included-regex don
't compile regex; this is the default on
667 systems with version 2 of the GNU C library
668 (use with caution on other system)
669 --with-included-gettext use the GNU gettext library included here
670 --with-catgets use catgets functions if available
672 Some influential environment variables:
673 CC C compiler command
674 CFLAGS C compiler flags
675 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
676 nonstandard directory <lib dir>
677 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
678 headers in a nonstandard directory <include dir>
681 Use these variables to override the choices made by `configure' or to
help
682 it to
find libraries and programs with nonstandard names
/locations.
687 if test "$ac_init_help" = "recursive"; then
688 # If there are subdirs, report their specific --help.
690 for ac_subdir
in : $ac_subdirs_all; do test "x$ac_subdir" = x
: && continue
692 # A "../" for each directory in /$ac_subdir.
693 ac_dots
=`echo $ac_subdir |
694 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
697 .
) # No --srcdir option. We are building in place.
698 ac_sub_srcdir
=$srcdir ;;
699 [\\/]* | ?
:[\\/]* ) # Absolute path.
700 ac_sub_srcdir
=$srcdir/$ac_subdir ;;
702 ac_sub_srcdir
=$ac_dots$srcdir/$ac_subdir ;;
705 # Check for guested configure; otherwise get Cygnus style configure.
706 if test -f $ac_sub_srcdir/configure.gnu
; then
708 $SHELL $ac_sub_srcdir/configure.gnu
--help=recursive
709 elif test -f $ac_sub_srcdir/configure
; then
711 $SHELL $ac_sub_srcdir/configure
--help=recursive
712 elif test -f $ac_sub_srcdir/configure.ac ||
713 test -f $ac_sub_srcdir/configure.
in; then
717 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
723 test -n "$ac_init_help" && exit 0
724 if $ac_init_version; then
727 Copyright
1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
728 Free Software Foundation
, Inc.
729 This configure
script is free software
; the Free Software Foundation
730 gives unlimited permission to copy
, distribute and modify it.
736 This file contains any messages produced by compilers while
737 running configure, to aid debugging if configure makes a mistake.
739 It was created by $as_me, which was
740 generated by GNU Autoconf 2.49f. Invocation command line was
751 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
752 uname -m = `(uname -m) 2>/dev/null || echo unknown`
753 uname -r = `(uname -r) 2>/dev/null || echo unknown`
754 uname -s = `(uname -s) 2>/dev/null || echo unknown`
755 uname -v = `(uname -v) 2>/dev/null || echo unknown`
757 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
758 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
760 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
761 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
762 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
763 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
764 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
765 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
766 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
780 # Keep a trace of the command line.
781 # Strip out --no-create and --no-recursion so they do not pile up.
782 # Also quote any args containing shell meta-characters.
788 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
789 |
--no-cr |
--no-c) ;;
790 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
791 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
792 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
793 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
794 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
796 *) ac_configure_args
="$ac_configure_args$ac_sep$ac_arg"
799 # Get rid of the leading space.
802 # When interrupted or exit'd, cleanup temporary files, and complete
803 # config.log. We remove comments because anyway the quotes in there
804 # would cause problems or look ugly.
806 # Save into config.log some information that might help in debugging.
808 echo "## ----------------- ##" >&5
809 echo "## Cache variables. ##" >&5
810 echo "## ----------------- ##" >&5
812 # The following way of writing the cache mishandles newlines in values,
815 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
818 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
819 s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
823 "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
827 sed "/^$/d" confdefs.h >conftest.log
828 if test -s conftest.log; then
830 echo "## ------------ ##" >&5
831 echo "## confdefs.h. ##" >&5
832 echo "## ------------ ##" >&5
837 test "$ac_signal" != 0 &&
838 echo "$as_me: caught signal $ac_signal" >&5
839 echo "$as_me: exit $exit_status" >&5
840 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
843 for ac_signal
in 1 2 13 15; do
844 trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal
848 # confdefs.h avoids OS command line length limits that DEFS can exceed.
849 rm -rf conftest
* confdefs.h
850 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
853 # Let the site file select an alternate cache file if it wants to.
854 # Prefer explicitly selected file to automatically selected ones.
855 if test -z "$CONFIG_SITE"; then
856 if test "x$prefix" != xNONE
; then
857 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
859 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
862 for ac_site_file
in $CONFIG_SITE; do
863 if test -r "$ac_site_file"; then
864 { echo "$as_me:864: loading site script $ac_site_file" >&5
865 echo "$as_me: loading site script $ac_site_file" >&6;}
866 cat "$ac_site_file" >&5
871 if test -r "$cache_file"; then
872 # Some versions of bash will fail to source /dev/null (special
873 # files actually), so we avoid doing that.
874 if test -f "$cache_file"; then
875 { echo "$as_me:875: loading cache $cache_file" >&5
876 echo "$as_me: loading cache $cache_file" >&6;}
878 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
883 { echo "$as_me:883: creating cache $cache_file" >&5
884 echo "$as_me: creating cache $cache_file" >&6;}
888 # Check that the precious variables saved in the cache have kept the same
890 ac_suggest_removing_cache
=false
891 for ac_var
in `(set) 2>&1 |
892 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
893 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
894 eval ac_new_set
=\
$ac_env_${ac_var}_set
895 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
896 eval ac_new_val
="\$ac_env_${ac_var}_value"
897 case $ac_old_set,$ac_new_set in
899 { echo "$as_me:899: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
900 echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
901 ac_suggest_removing_cache
=: ;;
903 { echo "$as_me:903: WARNING: \`$ac_var' was not set in the previous run" >&5
904 echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;}
905 ac_suggest_removing_cache
=: ;;
908 if test "x$ac_old_val" != "x$ac_new_val"; then
909 { echo "$as_me:909: WARNING: \`$ac_var' has changed since the previous run:" >&5
910 echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;}
911 { echo "$as_me:911: WARNING: former value: $ac_old_val" >&5
912 echo "$as_me: WARNING: former value: $ac_old_val" >&2;}
913 { echo "$as_me:913: WARNING: current value: $ac_new_val" >&5
914 echo "$as_me: WARNING: current value: $ac_new_val" >&2;}
915 ac_suggest_removing_cache
=:
919 if $ac_suggest_removing_cache; then
920 { echo "$as_me:920: WARNING: changes in the environment can compromise the build" >&5
921 echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;}
922 { echo "$as_me:922: WARNING: consider removing $cache_file and starting over" >&5
923 echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;}
927 ac_cpp
='$CPP $CPPFLAGS'
928 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
929 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
930 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
932 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
933 *c
*,-n*) ECHO_N
= ECHO_C
='
935 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
936 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
938 echo "#! $SHELL" >conftest.sh
939 echo "exit 0" >>conftest.sh
941 if { (echo "$as_me:941: PATH=\".;.\"; conftest.sh") >&5
942 (PATH
=".;."; conftest.sh
) 2>&5
944 echo "$as_me:944: \$? = $ac_status" >&5
945 (exit $ac_status); }; then
946 ac_path_separator
=';'
950 PATH_SEPARATOR
="$ac_path_separator"
953 ac_config_headers
="$ac_config_headers config.h"
955 ac_config_commands
="$ac_config_commands default-1"
958 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
959 if test -f $ac_dir/install-sh
; then
961 ac_install_sh
="$ac_aux_dir/install-sh -c"
963 elif test -f $ac_dir/install.sh
; then
965 ac_install_sh
="$ac_aux_dir/install.sh -c"
967 elif test -f $ac_dir/shtool
; then
969 ac_install_sh
="$ac_aux_dir/shtool install -c"
973 if test -z "$ac_aux_dir"; then
974 { { echo "$as_me:974: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
975 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
976 { (exit 1); exit 1; }; }
978 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
979 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
980 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
982 # Make sure we can run config.sub.
983 $ac_config_sub sun4
>/dev
/null
2>&1 ||
984 { { echo "$as_me:984: error: cannot run $ac_config_sub" >&5
985 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
986 { (exit 1); exit 1; }; }
988 echo "$as_me:988: checking build system type" >&5
989 echo $ECHO_N "checking build system type... $ECHO_C" >&6
990 if test "${ac_cv_build+set}" = set; then
991 echo $ECHO_N "(cached) $ECHO_C" >&6
993 ac_cv_build_alias
=$build_alias
994 test -z "$ac_cv_build_alias" &&
995 ac_cv_build_alias
=`$ac_config_guess`
996 test -z "$ac_cv_build_alias" &&
997 { { echo "$as_me:997: error: cannot guess build type; you must specify one" >&5
998 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
999 { (exit 1); exit 1; }; }
1000 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1001 { { echo "$as_me:1001: error: $ac_config_sub $ac_cv_build_alias failed." >&5
1002 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
1003 { (exit 1); exit 1; }; }
1006 echo "$as_me:1006: result: $ac_cv_build" >&5
1007 echo "${ECHO_T}$ac_cv_build" >&6
1009 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1010 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1011 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1013 echo "$as_me:1013: checking host system type" >&5
1014 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1015 if test "${ac_cv_host+set}" = set; then
1016 echo $ECHO_N "(cached) $ECHO_C" >&6
1018 ac_cv_host_alias
=$host_alias
1019 test -z "$ac_cv_host_alias" &&
1020 ac_cv_host_alias
=$ac_cv_build_alias
1021 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1022 { { echo "$as_me:1022: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1023 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1024 { (exit 1); exit 1; }; }
1027 echo "$as_me:1027: result: $ac_cv_host" >&5
1028 echo "${ECHO_T}$ac_cv_host" >&6
1030 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1031 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1032 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1034 ALL_LINGUAS
="da de es et fr gl id it ko nl pl pt_BR ru sv"
1036 # Find a good install program. We prefer a C program (faster),
1037 # so one script is as good as another. But avoid the broken or
1038 # incompatible versions:
1039 # SysV /etc/install, /usr/sbin/install
1040 # SunOS /usr/etc/install
1041 # IRIX /sbin/install
1043 # AmigaOS /C/install, which installs bootblocks on floppy discs
1044 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1045 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1046 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1047 # ./install, which can be erroneously created by make from ./install.sh.
1048 echo "$as_me:1048: checking for a BSD compatible install" >&5
1049 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
1050 if test -z "$INSTALL"; then
1051 if test "${ac_cv_path_install+set}" = set; then
1052 echo $ECHO_N "(cached) $ECHO_C" >&6
1054 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1055 for ac_dir
in $PATH; do
1057 # Account for people who put trailing slashes in PATH elements.
1059 / | .
/ | .
// |
/cC
/* \
1060 |
/etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* \
1063 # OSF1 and SCO ODT 3.0 have their own names for install.
1064 # Don't use installbsd from OSF since it installs stuff as root
1066 for ac_prog
in ginstall scoinst
install; do
1067 if $as_executable_p "$ac_dir/$ac_prog"; then
1068 if test $ac_prog = install &&
1069 grep dspmsg
"$ac_dir/$ac_prog" >/dev
/null
2>&1; then
1070 # AIX install. It has an incompatible calling convention.
1072 elif test $ac_prog = install &&
1073 grep pwplus
"$ac_dir/$ac_prog" >/dev
/null
2>&1; then
1074 # program-specific install script used by HP pwplus--don't use.
1077 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1087 if test "${ac_cv_path_install+set}" = set; then
1088 INSTALL
=$ac_cv_path_install
1090 # As a last resort, use the slow shell script. We don't cache a
1091 # path for INSTALL within a source directory, because that will
1092 # break other packages using the cache if that directory is
1093 # removed, or if the path is relative.
1094 INSTALL
=$ac_install_sh
1097 echo "$as_me:1097: result: $INSTALL" >&5
1098 echo "${ECHO_T}$INSTALL" >&6
1100 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1101 # It thinks the first close brace ends the variable substitution.
1102 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1104 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1106 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1108 echo "$as_me:1108: checking whether build environment is sane" >&5
1109 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1112 echo timestamp
> conftest.
file
1113 # Do `set' in a subshell so we don't clobber the current shell's
1114 # arguments. Must try -L first in case configure is actually a
1115 # symlink; some systems play weird games with the mod time of symlinks
1116 # (eg FreeBSD returns the mod time of the symlink's containing
1119 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1120 if test "$*" = "X"; then
1122 set X
`ls -t $srcdir/configure conftest.file`
1124 if test "$*" != "X $srcdir/configure conftest.file" \
1125 && test "$*" != "X conftest.file $srcdir/configure"; then
1127 # If neither matched, then we have a broken ls. This can happen
1128 # if, for instance, CONFIG_SHELL is bash and it inherits a
1129 # broken ls alias from the environment. This has actually
1130 # happened. Such a system could not be considered "sane".
1131 { { echo "$as_me:1131: error: ls -t appears to fail. Make sure there is not a broken
1132 alias in your environment" >&5
1133 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1134 alias in your environment" >&2;}
1135 { (exit 1); exit 1; }; }
1138 test "$2" = conftest.
file
1144 { { echo "$as_me:1144: error: newly created file is older than distributed files!
1145 Check your system clock" >&5
1146 echo "$as_me: error: newly created file is older than distributed files!
1147 Check your system clock" >&2;}
1148 { (exit 1); exit 1; }; }
1151 echo "$as_me:1151: result: yes" >&5
1152 echo "${ECHO_T}yes" >&6
1153 if test "$program_transform_name" = s
,x
,x
,; then
1154 program_transform_name
=
1156 # Double any \ or $. echo might interpret backslashes.
1157 cat <<\EOF
>conftest.
sed
1158 s
,\\,\\\\,g
; s
,\$
,$$
,g
1160 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1163 test "$program_prefix" != NONE
&&
1164 program_transform_name
="s,^,${program_prefix},;$program_transform_name"
1165 # Use a double $ so make ignores it.
1166 test "$program_suffix" != NONE
&&
1167 program_transform_name
="s,\$\$,${program_suffix},;$program_transform_name"
1169 # sed with no file args requires a program.
1170 test -z "$program_transform_name" && program_transform_name
="s,x,x,"
1172 test x
"${MISSING+set}" = xset ||
1173 MISSING
="\${SHELL} `CDPATH=:; cd $ac_aux_dir && pwd`/missing"
1174 # Use eval to expand $SHELL
1175 if eval "$MISSING --run :"; then
1176 am_missing_run
="$MISSING --run "
1180 { echo "$as_me:1180: WARNING: ${am_backtick}missing' script is too old or missing" >&5
1181 echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
1184 for ac_prog
in mawk gawk nawk
awk
1186 # Extract the first word of "$ac_prog", so it can be a program name with args.
1187 set dummy
$ac_prog; ac_word
=$2
1188 echo "$as_me:1188: checking for $ac_word" >&5
1189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1190 if test "${ac_cv_prog_AWK+set}" = set; then
1191 echo $ECHO_N "(cached) $ECHO_C" >&6
1193 if test -n "$AWK"; then
1194 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1196 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1198 for ac_dir
in $ac_dummy; do
1200 test -z "$ac_dir" && ac_dir
=.
1201 $as_executable_p "$ac_dir/$ac_word" ||
continue
1202 ac_cv_prog_AWK
="$ac_prog"
1203 echo "$as_me:1203: found $ac_dir/$ac_word" >&5
1210 if test -n "$AWK"; then
1211 echo "$as_me:1211: result: $AWK" >&5
1212 echo "${ECHO_T}$AWK" >&6
1214 echo "$as_me:1214: result: no" >&5
1215 echo "${ECHO_T}no" >&6
1218 test -n "$AWK" && break
1221 echo "$as_me:1221: checking whether ${MAKE-make} sets \${MAKE}" >&5
1222 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1223 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
1224 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1225 echo $ECHO_N "(cached) $ECHO_C" >&6
1227 cat >conftest.
make <<\EOF
1229 @
echo 'ac_maketemp="${MAKE}"'
1231 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1232 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1233 if test -n "$ac_maketemp"; then
1234 eval ac_cv_prog_make_
${ac_make}_set
=yes
1236 eval ac_cv_prog_make_
${ac_make}_set
=no
1240 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1241 echo "$as_me:1241: result: yes" >&5
1242 echo "${ECHO_T}yes" >&6
1245 echo "$as_me:1245: result: no" >&5
1246 echo "${ECHO_T}no" >&6
1247 SET_MAKE
="MAKE=${MAKE-make}"
1250 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1251 if test "${enable_dependency_tracking+set}" = set; then
1252 enableval
="$enable_dependency_tracking"
1255 if test "x$enable_dependency_tracking" = xno
; then
1258 am_depcomp
="$ac_aux_dir/depcomp"
1259 if test ! -f "$am_depcomp"; then
1266 if test -z "$AMDEP"; then
1272 if test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then
1274 # We redirect because .deps might already exist and be populated.
1275 # In this situation we don't want to see an error.
1276 rmdir .deps
> /dev
/null
2>&1
1281 # test to see if srcdir already configured
1282 if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
1283 test -f $srcdir/config.status
; then
1284 { { echo "$as_me:1284: error: source directory already configured; run \"make distclean\" there first" >&5
1285 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1286 { (exit 1); exit 1; }; }
1289 # Define the identity of the package.
1293 cat >>confdefs.h
<<EOF
1294 #define PACKAGE "$PACKAGE"
1297 cat >>confdefs.h
<<EOF
1298 #define VERSION "$VERSION"
1301 # Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
1302 # the ones we care about.
1304 # Some tools Automake needs.
1306 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal"}
1308 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1310 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake"}
1312 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1314 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1316 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1318 if test -z "$install_sh"; then
1319 for install_sh
in "$ac_aux_dir/install-sh" \
1320 "$ac_aux_dir/install.sh" \
1321 "${am_missing_run}${ac_auxdir}/install-sh";
1323 test -f "$install_sh" && break
1325 # FIXME: an evil hack: we remove the SHELL invocation from
1326 # install_sh because automake adds it back in. Sigh.
1327 install_sh
=`echo $install_sh | sed -e 's/\${SHELL}//'`
1330 # We need awk for the "check" target. The system "awk" is bad on
1333 # Check whether --enable-id-cache or --disable-id-cache was given.
1334 if test "${enable_id_cache+set}" = set; then
1335 enableval
="$enable_id_cache"
1337 cat >>confdefs.h
<<\EOF
1344 ac_cpp
='$CPP $CPPFLAGS'
1345 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1346 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1347 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1348 if test -n "$ac_tool_prefix"; then
1349 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1350 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1351 echo "$as_me:1351: checking for $ac_word" >&5
1352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1353 if test "${ac_cv_prog_CC+set}" = set; then
1354 echo $ECHO_N "(cached) $ECHO_C" >&6
1356 if test -n "$CC"; then
1357 ac_cv_prog_CC
="$CC" # Let the user override the test.
1359 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1361 for ac_dir
in $ac_dummy; do
1363 test -z "$ac_dir" && ac_dir
=.
1364 $as_executable_p "$ac_dir/$ac_word" ||
continue
1365 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1366 echo "$as_me:1366: found $ac_dir/$ac_word" >&5
1373 if test -n "$CC"; then
1374 echo "$as_me:1374: result: $CC" >&5
1375 echo "${ECHO_T}$CC" >&6
1377 echo "$as_me:1377: result: no" >&5
1378 echo "${ECHO_T}no" >&6
1382 if test -z "$ac_cv_prog_CC"; then
1384 # Extract the first word of "gcc", so it can be a program name with args.
1385 set dummy gcc
; ac_word
=$2
1386 echo "$as_me:1386: checking for $ac_word" >&5
1387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1388 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1389 echo $ECHO_N "(cached) $ECHO_C" >&6
1391 if test -n "$ac_ct_CC"; then
1392 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1394 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1396 for ac_dir
in $ac_dummy; do
1398 test -z "$ac_dir" && ac_dir
=.
1399 $as_executable_p "$ac_dir/$ac_word" ||
continue
1400 ac_cv_prog_ac_ct_CC
="gcc"
1401 echo "$as_me:1401: found $ac_dir/$ac_word" >&5
1407 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1408 if test -n "$ac_ct_CC"; then
1409 echo "$as_me:1409: result: $ac_ct_CC" >&5
1410 echo "${ECHO_T}$ac_ct_CC" >&6
1412 echo "$as_me:1412: result: no" >&5
1413 echo "${ECHO_T}no" >&6
1421 if test -z "$CC"; then
1422 if test -n "$ac_tool_prefix"; then
1423 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1424 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1425 echo "$as_me:1425: checking for $ac_word" >&5
1426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1427 if test "${ac_cv_prog_CC+set}" = set; then
1428 echo $ECHO_N "(cached) $ECHO_C" >&6
1430 if test -n "$CC"; then
1431 ac_cv_prog_CC
="$CC" # Let the user override the test.
1433 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1435 for ac_dir
in $ac_dummy; do
1437 test -z "$ac_dir" && ac_dir
=.
1438 $as_executable_p "$ac_dir/$ac_word" ||
continue
1439 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1440 echo "$as_me:1440: found $ac_dir/$ac_word" >&5
1447 if test -n "$CC"; then
1448 echo "$as_me:1448: result: $CC" >&5
1449 echo "${ECHO_T}$CC" >&6
1451 echo "$as_me:1451: result: no" >&5
1452 echo "${ECHO_T}no" >&6
1456 if test -z "$ac_cv_prog_CC"; then
1458 # Extract the first word of "cc", so it can be a program name with args.
1459 set dummy cc
; ac_word
=$2
1460 echo "$as_me:1460: checking for $ac_word" >&5
1461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1462 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1463 echo $ECHO_N "(cached) $ECHO_C" >&6
1465 if test -n "$ac_ct_CC"; then
1466 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1468 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1470 for ac_dir
in $ac_dummy; do
1472 test -z "$ac_dir" && ac_dir
=.
1473 $as_executable_p "$ac_dir/$ac_word" ||
continue
1474 ac_cv_prog_ac_ct_CC
="cc"
1475 echo "$as_me:1475: found $ac_dir/$ac_word" >&5
1481 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1482 if test -n "$ac_ct_CC"; then
1483 echo "$as_me:1483: result: $ac_ct_CC" >&5
1484 echo "${ECHO_T}$ac_ct_CC" >&6
1486 echo "$as_me:1486: result: no" >&5
1487 echo "${ECHO_T}no" >&6
1496 if test -z "$CC"; then
1497 # Extract the first word of "cc", so it can be a program name with args.
1498 set dummy cc
; ac_word
=$2
1499 echo "$as_me:1499: checking for $ac_word" >&5
1500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1501 if test "${ac_cv_prog_CC+set}" = set; then
1502 echo $ECHO_N "(cached) $ECHO_C" >&6
1504 if test -n "$CC"; then
1505 ac_cv_prog_CC
="$CC" # Let the user override the test.
1508 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1510 for ac_dir
in $ac_dummy; do
1512 test -z "$ac_dir" && ac_dir
=.
1513 $as_executable_p "$ac_dir/$ac_word" ||
continue
1514 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1515 ac_prog_rejected
=yes
1519 echo "$as_me:1519: found $ac_dir/$ac_word" >&5
1523 if test $ac_prog_rejected = yes; then
1524 # We found a bogon in the path, so make sure we never use it.
1525 set dummy
$ac_cv_prog_CC
1527 if test $# != 0; then
1528 # We chose a different compiler from the bogus one.
1529 # However, it has the same basename, so the bogon will be chosen
1530 # first if we set CC to just the basename; use the full file name.
1532 set dummy
"$ac_dir/$ac_word" ${1+"$@"}
1540 if test -n "$CC"; then
1541 echo "$as_me:1541: result: $CC" >&5
1542 echo "${ECHO_T}$CC" >&6
1544 echo "$as_me:1544: result: no" >&5
1545 echo "${ECHO_T}no" >&6
1549 if test -z "$CC"; then
1550 if test -n "$ac_tool_prefix"; then
1553 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1554 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1555 echo "$as_me:1555: checking for $ac_word" >&5
1556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1557 if test "${ac_cv_prog_CC+set}" = set; then
1558 echo $ECHO_N "(cached) $ECHO_C" >&6
1560 if test -n "$CC"; then
1561 ac_cv_prog_CC
="$CC" # Let the user override the test.
1563 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1565 for ac_dir
in $ac_dummy; do
1567 test -z "$ac_dir" && ac_dir
=.
1568 $as_executable_p "$ac_dir/$ac_word" ||
continue
1569 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1570 echo "$as_me:1570: found $ac_dir/$ac_word" >&5
1577 if test -n "$CC"; then
1578 echo "$as_me:1578: result: $CC" >&5
1579 echo "${ECHO_T}$CC" >&6
1581 echo "$as_me:1581: result: no" >&5
1582 echo "${ECHO_T}no" >&6
1585 test -n "$CC" && break
1588 if test -z "$CC"; then
1592 # Extract the first word of "$ac_prog", so it can be a program name with args.
1593 set dummy
$ac_prog; ac_word
=$2
1594 echo "$as_me:1594: checking for $ac_word" >&5
1595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1596 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1597 echo $ECHO_N "(cached) $ECHO_C" >&6
1599 if test -n "$ac_ct_CC"; then
1600 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1602 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1604 for ac_dir
in $ac_dummy; do
1606 test -z "$ac_dir" && ac_dir
=.
1607 $as_executable_p "$ac_dir/$ac_word" ||
continue
1608 ac_cv_prog_ac_ct_CC
="$ac_prog"
1609 echo "$as_me:1609: found $ac_dir/$ac_word" >&5
1615 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1616 if test -n "$ac_ct_CC"; then
1617 echo "$as_me:1617: result: $ac_ct_CC" >&5
1618 echo "${ECHO_T}$ac_ct_CC" >&6
1620 echo "$as_me:1620: result: no" >&5
1621 echo "${ECHO_T}no" >&6
1624 test -n "$ac_ct_CC" && break
1632 test -z "$CC" && { { echo "$as_me:1632: error: no acceptable cc found in \$PATH" >&5
1633 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1634 { (exit 1); exit 1; }; }
1636 cat >conftest.
$ac_ext <<_ACEOF
1637 #line 1637 "configure"
1638 #include "confdefs.h"
1648 ac_clean_files_save
=$ac_clean_files
1649 ac_clean_files
="$ac_clean_files a.out a.exe"
1650 # Try to create an executable without -o first, disregard a.out.
1651 # It will help us diagnose broken compiler, and finding out an intuition
1653 echo "$as_me:1653: checking for C compiler default output" >&5
1654 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1655 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1656 if { (eval echo "$as_me:1656: \"$ac_link_default\"") >&5
1657 (eval $ac_link_default) 2>&5
1659 echo "$as_me:1659: \$? = $ac_status" >&5
1660 (exit $ac_status); }; then
1661 for ac_file
in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do
1663 *.
$ac_ext |
*.o |
*.obj |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
1664 a.out
) # We found the default executable, but exeext='' is most
1667 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1674 echo "$as_me: failed program was:" >&5
1675 cat conftest.
$ac_ext >&5
1676 { { echo "$as_me:1676: error: C compiler cannot create executables" >&5
1677 echo "$as_me: error: C compiler cannot create executables" >&2;}
1678 { (exit 77); exit 77; }; }
1681 ac_exeext
=$ac_cv_exeext
1682 echo "$as_me:1682: result: $ac_file" >&5
1683 echo "${ECHO_T}$ac_file" >&6
1685 # Check the compiler produces executables we can run. If not, either
1686 # the compiler is broken, or we cross compile.
1687 echo "$as_me:1687: checking whether the C compiler works" >&5
1688 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1689 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1690 # If not cross compiling, check that we can run a simple program.
1691 if test "$cross_compiling" != yes; then
1692 if { ac_try
='./$ac_file'
1693 { (eval echo "$as_me:1693: \"$ac_try\"") >&5
1696 echo "$as_me:1696: \$? = $ac_status" >&5
1697 (exit $ac_status); }; }; then
1700 if test "$cross_compiling" = maybe
; then
1703 { { echo "$as_me:1703: error: cannot run C compiled programs.
1704 If you meant to cross compile, use \`--host'." >&5
1705 echo "$as_me: error: cannot run C compiled programs.
1706 If you meant to cross compile, use \`--host'." >&2;}
1707 { (exit 1); exit 1; }; }
1711 echo "$as_me:1711: result: yes" >&5
1712 echo "${ECHO_T}yes" >&6
1714 rm -f a.out a.exe conftest
$ac_cv_exeext
1715 ac_clean_files
=$ac_clean_files_save
1716 # Check the compiler produces executables we can run. If not, either
1717 # the compiler is broken, or we cross compile.
1718 echo "$as_me:1718: checking whether we are cross compiling" >&5
1719 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1720 echo "$as_me:1720: result: $cross_compiling" >&5
1721 echo "${ECHO_T}$cross_compiling" >&6
1723 echo "$as_me:1723: checking for executable suffix" >&5
1724 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1725 if { (eval echo "$as_me:1725: \"$ac_link\"") >&5
1726 (eval $ac_link) 2>&5
1728 echo "$as_me:1728: \$? = $ac_status" >&5
1729 (exit $ac_status); }; then
1730 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1731 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1732 # work properly (i.e., refer to `conftest.exe'), while it won't with
1734 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1736 *.
$ac_ext |
*.o |
*.obj |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
1737 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1744 { { echo "$as_me:1744: error: cannot compute EXEEXT: cannot compile and link" >&5
1745 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1746 { (exit 1); exit 1; }; }
1749 rm -f conftest
$ac_cv_exeext
1750 echo "$as_me:1750: result: $ac_cv_exeext" >&5
1751 echo "${ECHO_T}$ac_cv_exeext" >&6
1753 rm -f conftest.
$ac_ext
1754 EXEEXT
=$ac_cv_exeext
1756 echo "$as_me:1756: checking for object suffix" >&5
1757 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1758 if test "${ac_cv_objext+set}" = set; then
1759 echo $ECHO_N "(cached) $ECHO_C" >&6
1761 cat >conftest.
$ac_ext <<_ACEOF
1762 #line 1762 "configure"
1763 #include "confdefs.h"
1773 rm -f conftest.o conftest.obj
1774 if { (eval echo "$as_me:1774: \"$ac_compile\"") >&5
1775 (eval $ac_compile) 2>&5
1777 echo "$as_me:1777: \$? = $ac_status" >&5
1778 (exit $ac_status); }; then
1779 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1781 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
1782 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1787 echo "$as_me: failed program was:" >&5
1788 cat conftest.
$ac_ext >&5
1789 { { echo "$as_me:1789: error: cannot compute OBJEXT: cannot compile" >&5
1790 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1791 { (exit 1); exit 1; }; }
1794 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1796 echo "$as_me:1796: result: $ac_cv_objext" >&5
1797 echo "${ECHO_T}$ac_cv_objext" >&6
1798 OBJEXT
=$ac_cv_objext
1800 echo "$as_me:1800: checking whether we are using the GNU C compiler" >&5
1801 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1802 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1803 echo $ECHO_N "(cached) $ECHO_C" >&6
1805 cat >conftest.
$ac_ext <<_ACEOF
1806 #line 1806 "configure"
1807 #include "confdefs.h"
1820 rm -f conftest.
$ac_objext
1821 if { (eval echo "$as_me:1821: \"$ac_compile\"") >&5
1822 (eval $ac_compile) 2>&5
1824 echo "$as_me:1824: \$? = $ac_status" >&5
1825 (exit $ac_status); } &&
1826 { ac_try
='test -s conftest.$ac_objext'
1827 { (eval echo "$as_me:1827: \"$ac_try\"") >&5
1830 echo "$as_me:1830: \$? = $ac_status" >&5
1831 (exit $ac_status); }; }; then
1834 echo "$as_me: failed program was:" >&5
1835 cat conftest.
$ac_ext >&5
1838 rm -f conftest.
$ac_objext conftest.
$ac_ext
1839 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1842 echo "$as_me:1842: result: $ac_cv_c_compiler_gnu" >&5
1843 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1844 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1845 ac_test_CFLAGS
=${CFLAGS+set}
1846 ac_save_CFLAGS
=$CFLAGS
1848 echo "$as_me:1848: checking whether $CC accepts -g" >&5
1849 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1850 if test "${ac_cv_prog_cc_g+set}" = set; then
1851 echo $ECHO_N "(cached) $ECHO_C" >&6
1853 cat >conftest.
$ac_ext <<_ACEOF
1854 #line 1854 "configure"
1855 #include "confdefs.h"
1865 rm -f conftest.
$ac_objext
1866 if { (eval echo "$as_me:1866: \"$ac_compile\"") >&5
1867 (eval $ac_compile) 2>&5
1869 echo "$as_me:1869: \$? = $ac_status" >&5
1870 (exit $ac_status); } &&
1871 { ac_try
='test -s conftest.$ac_objext'
1872 { (eval echo "$as_me:1872: \"$ac_try\"") >&5
1875 echo "$as_me:1875: \$? = $ac_status" >&5
1876 (exit $ac_status); }; }; then
1879 echo "$as_me: failed program was:" >&5
1880 cat conftest.
$ac_ext >&5
1883 rm -f conftest.
$ac_objext conftest.
$ac_ext
1885 echo "$as_me:1885: result: $ac_cv_prog_cc_g" >&5
1886 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1887 if test "$ac_test_CFLAGS" = set; then
1888 CFLAGS
=$ac_save_CFLAGS
1889 elif test $ac_cv_prog_cc_g = yes; then
1890 if test "$GCC" = yes; then
1896 if test "$GCC" = yes; then
1902 # Some people use a C++ compiler to compile C. Since we use `exit',
1903 # in C++ we need to declare it. In case someone uses the same compiler
1904 # for both compiling C and C++ we need to have the C++ compiler decide
1905 # the declaration of exit, since it's the most demanding environment.
1906 cat >conftest.
$ac_ext <<_ACEOF
1911 rm -f conftest.
$ac_objext
1912 if { (eval echo "$as_me:1912: \"$ac_compile\"") >&5
1913 (eval $ac_compile) 2>&5
1915 echo "$as_me:1915: \$? = $ac_status" >&5
1916 (exit $ac_status); } &&
1917 { ac_try
='test -s conftest.$ac_objext'
1918 { (eval echo "$as_me:1918: \"$ac_try\"") >&5
1921 echo "$as_me:1921: \$? = $ac_status" >&5
1922 (exit $ac_status); }; }; then
1923 for ac_declaration
in \
1925 '#include <stdlib.h>' \
1926 'extern "C" void std::exit (int) throw (); using std::exit;' \
1927 'extern "C" void std::exit (int); using std::exit;' \
1928 'extern "C" void exit (int) throw ();' \
1929 'extern "C" void exit (int);' \
1932 cat >conftest.
$ac_ext <<_ACEOF
1933 #line 1933 "configure"
1934 #include "confdefs.h"
1945 rm -f conftest.
$ac_objext
1946 if { (eval echo "$as_me:1946: \"$ac_compile\"") >&5
1947 (eval $ac_compile) 2>&5
1949 echo "$as_me:1949: \$? = $ac_status" >&5
1950 (exit $ac_status); } &&
1951 { ac_try
='test -s conftest.$ac_objext'
1952 { (eval echo "$as_me:1952: \"$ac_try\"") >&5
1955 echo "$as_me:1955: \$? = $ac_status" >&5
1956 (exit $ac_status); }; }; then
1959 echo "$as_me: failed program was:" >&5
1960 cat conftest.
$ac_ext >&5
1963 rm -f conftest.
$ac_objext conftest.
$ac_ext
1964 cat >conftest.
$ac_ext <<_ACEOF
1965 #line 1965 "configure"
1966 #include "confdefs.h"
1976 rm -f conftest.
$ac_objext
1977 if { (eval echo "$as_me:1977: \"$ac_compile\"") >&5
1978 (eval $ac_compile) 2>&5
1980 echo "$as_me:1980: \$? = $ac_status" >&5
1981 (exit $ac_status); } &&
1982 { ac_try
='test -s conftest.$ac_objext'
1983 { (eval echo "$as_me:1983: \"$ac_try\"") >&5
1986 echo "$as_me:1986: \$? = $ac_status" >&5
1987 (exit $ac_status); }; }; then
1990 echo "$as_me: failed program was:" >&5
1991 cat conftest.
$ac_ext >&5
1993 rm -f conftest.
$ac_objext conftest.
$ac_ext
1995 echo '#ifdef __cplusplus' >>confdefs.h
1996 echo $ac_declaration >>confdefs.h
1997 echo '#endif' >>confdefs.h
2000 echo "$as_me: failed program was:" >&5
2001 cat conftest.
$ac_ext >&5
2003 rm -f conftest.
$ac_objext conftest.
$ac_ext
2005 ac_cpp
='$CPP $CPPFLAGS'
2006 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2007 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2008 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2010 ac_config_commands
="$ac_config_commands default-2"
2013 ac_cpp
='$CPP $CPPFLAGS'
2014 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2015 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2016 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2017 echo "$as_me:2017: checking how to run the C preprocessor" >&5
2018 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2019 # On Suns, sometimes $CPP names a directory.
2020 if test -n "$CPP" && test -d "$CPP"; then
2023 if test -z "$CPP"; then
2024 if test "${ac_cv_prog_CPP+set}" = set; then
2025 echo $ECHO_N "(cached) $ECHO_C" >&6
2027 # Double quotes because CPP needs to be expanded
2028 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2030 # We don't know yet if stderr is the criterion (vs exit status).
2031 ac_c_preproc_warn_flag
=maybe
2033 # Use a header file that comes with gcc, so configuring glibc
2034 # with a fresh cross-compiler works.
2035 # On the NeXT, cc -E runs the code through the compiler's parser,
2036 # not just through cpp. "Syntax error" is here to catch this case.
2037 cat >conftest.
$ac_ext <<_ACEOF
2038 #line 2038 "configure"
2039 #include "confdefs.h"
2043 if { (eval echo "$as_me:2043: \"$ac_cpp conftest.$ac_ext\"") >&5
2044 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2046 egrep -v '^ *\+' conftest.er1
>conftest.err
2048 cat conftest.err
>&5
2049 echo "$as_me:2049: \$? = $ac_status" >&5
2050 (exit $ac_status); } >/dev
/null
; then
2051 if test -s conftest.err
; then
2052 ac_cpp_err
=$ac_c_preproc_warn_flag
2059 if test -z "$ac_cpp_err"; then
2060 # OK, works on sane cases. Now check whether non-existent headers can
2061 # be detected and how.
2062 cat >conftest.
$ac_ext <<_ACEOF
2063 #line 2063 "configure"
2064 #include "confdefs.h"
2065 #include <ac_nonexistent.h>
2067 if { (eval echo "$as_me:2067: \"$ac_cpp conftest.$ac_ext\"") >&5
2068 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2070 egrep -v '^ *\+' conftest.er1
>conftest.err
2072 cat conftest.err
>&5
2073 echo "$as_me:2073: \$? = $ac_status" >&5
2074 (exit $ac_status); } >/dev
/null
; then
2075 if test -s conftest.err
; then
2076 ac_cpp_err
=$ac_c_preproc_warn_flag
2083 if test -z "$ac_cpp_err"; then
2084 # Broken: cannot detect missing includes.
2087 echo "$as_me: failed program was:" >&5
2088 cat conftest.
$ac_ext >&5
2089 # OK, detects failures. How?
2090 if test "x$ac_cpp_err" = xmaybe
; then
2091 ac_c_preproc_warn_flag
=yes
2093 ac_c_preproc_warn_flag
=
2097 rm -f conftest.err conftest.
$ac_ext
2099 echo "$as_me: failed program was:" >&5
2100 cat conftest.
$ac_ext >&5
2101 # Broken: fails on valid input.
2104 rm -f conftest.err conftest.
$ac_ext
2113 echo "$as_me:2113: result: $CPP" >&5
2114 echo "${ECHO_T}$CPP" >&6
2115 # We don't know yet if stderr is the criterion (vs exit status).
2116 ac_c_preproc_warn_flag
=maybe
2118 # Use a header file that comes with gcc, so configuring glibc
2119 # with a fresh cross-compiler works.
2120 # On the NeXT, cc -E runs the code through the compiler's parser,
2121 # not just through cpp. "Syntax error" is here to catch this case.
2122 cat >conftest.
$ac_ext <<_ACEOF
2123 #line 2123 "configure"
2124 #include "confdefs.h"
2128 if { (eval echo "$as_me:2128: \"$ac_cpp conftest.$ac_ext\"") >&5
2129 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2131 egrep -v '^ *\+' conftest.er1
>conftest.err
2133 cat conftest.err
>&5
2134 echo "$as_me:2134: \$? = $ac_status" >&5
2135 (exit $ac_status); } >/dev
/null
; then
2136 if test -s conftest.err
; then
2137 ac_cpp_err
=$ac_c_preproc_warn_flag
2144 if test -z "$ac_cpp_err"; then
2145 # OK, works on sane cases. Now check whether non-existent headers can
2146 # be detected and how.
2147 cat >conftest.
$ac_ext <<_ACEOF
2148 #line 2148 "configure"
2149 #include "confdefs.h"
2150 #include <ac_nonexistent.h>
2152 if { (eval echo "$as_me:2152: \"$ac_cpp conftest.$ac_ext\"") >&5
2153 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2155 egrep -v '^ *\+' conftest.er1
>conftest.err
2157 cat conftest.err
>&5
2158 echo "$as_me:2158: \$? = $ac_status" >&5
2159 (exit $ac_status); } >/dev
/null
; then
2160 if test -s conftest.err
; then
2161 ac_cpp_err
=$ac_c_preproc_warn_flag
2168 if test -z "$ac_cpp_err"; then
2169 # Broken: cannot detect missing includes.
2170 { { echo "$as_me:2170: error: C preprocessor \"$CPP\" fails sanity check" >&5
2171 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2172 { (exit 1); exit 1; }; }
2174 echo "$as_me: failed program was:" >&5
2175 cat conftest.
$ac_ext >&5
2176 # OK, detects failures. How?
2177 if test "x$ac_cpp_err" = xmaybe
; then
2178 ac_c_preproc_warn_flag
=yes
2180 ac_c_preproc_warn_flag
=
2184 rm -f conftest.err conftest.
$ac_ext
2186 echo "$as_me: failed program was:" >&5
2187 cat conftest.
$ac_ext >&5
2188 # Broken: fails on valid input.
2189 { { echo "$as_me:2189: error: C preprocessor \"$CPP\" fails sanity check" >&5
2190 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2191 { (exit 1); exit 1; }; }
2193 rm -f conftest.err conftest.
$ac_ext
2195 ac_cpp
='$CPP $CPPFLAGS'
2196 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2197 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2198 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2200 am_make
=${MAKE-make}
2201 # BSD make uses .include
2202 cat > confinc
<< 'END'
2206 # If we don't find an include directive, just comment out the code.
2207 echo "$as_me:2207: checking for style of include used by $am_make" >&5
2208 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2210 for am_inc
in include .include
; do
2211 echo "$am_inc confinc" > confmf
2212 if test "`$am_make -f confmf 2> /dev/null`" = "done"; then
2218 echo "$as_me:2218: result: $_am_include" >&5
2219 echo "${ECHO_T}$_am_include" >&6
2220 rm -f confinc confmf
2225 echo "$as_me:2225: checking dependency style of $depcc" >&5
2226 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2227 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2228 echo $ECHO_N "(cached) $ECHO_C" >&6
2230 if test -z "$AMDEP"; then
2231 # We make a subdir and do the tests there. Otherwise we can end up
2232 # making bogus files that we don't know about and never remove. For
2233 # instance it was reported that on HP-UX the gcc test will end up
2234 # making a dummy file named `D' -- because `-MD' means `put the output
2237 # Copy depcomp to subdir because otherwise we won't find it if we're
2238 # using a relative directory.
2239 cp "$am_depcomp" confdir
2242 am_cv_CC_dependencies_compiler_type
=none
2243 for depmode
in `sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < "./depcomp"`; do
2244 # We need to recreate these files for each test, as the compiler may
2245 # overwrite some of them when testing with obscure command lines.
2246 # This happens at least with the AIX C compiler.
2247 echo '#include "conftest.h"' > conftest.c
2248 echo 'int i;' > conftest.h
2252 # after this tag, mechanisms are not by side-effect, so they'll
2253 # only be used when explicitly requested
2254 if test "x$enable_dependency_tracking" = xyes
; then
2262 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2263 # mode. It turns out that the SunPro C++ compiler does not properly
2264 # handle `-M -o', and we need to detect this.
2265 if depmode
="$depmode" \
2266 source=conftest.c object
=conftest.o \
2267 depfile
=conftest.Po tmpdepfile
=conftest.TPo \
2268 $SHELL .
/depcomp
$depcc -c conftest.c
-o conftest.o
>/dev
/null
2>&1 &&
2269 grep conftest.h conftest.Po
> /dev
/null
2>&1; then
2270 am_cv_CC_dependencies_compiler_type
="$depmode"
2278 am_cv_CC_dependencies_compiler_type
=none
2282 echo "$as_me:2282: result: $am_cv_CC_dependencies_compiler_type" >&5
2283 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2284 CCDEPMODE
="depmode=$am_cv_CC_dependencies_compiler_type"
2287 ac_cpp
='$CPP $CPPFLAGS'
2288 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2289 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2290 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2291 echo "$as_me:2291: checking how to run the C preprocessor" >&5
2292 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2293 # On Suns, sometimes $CPP names a directory.
2294 if test -n "$CPP" && test -d "$CPP"; then
2297 if test -z "$CPP"; then
2298 if test "${ac_cv_prog_CPP+set}" = set; then
2299 echo $ECHO_N "(cached) $ECHO_C" >&6
2301 # Double quotes because CPP needs to be expanded
2302 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2304 # We don't know yet if stderr is the criterion (vs exit status).
2305 ac_c_preproc_warn_flag
=maybe
2307 # Use a header file that comes with gcc, so configuring glibc
2308 # with a fresh cross-compiler works.
2309 # On the NeXT, cc -E runs the code through the compiler's parser,
2310 # not just through cpp. "Syntax error" is here to catch this case.
2311 cat >conftest.
$ac_ext <<_ACEOF
2312 #line 2312 "configure"
2313 #include "confdefs.h"
2317 if { (eval echo "$as_me:2317: \"$ac_cpp conftest.$ac_ext\"") >&5
2318 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2320 egrep -v '^ *\+' conftest.er1
>conftest.err
2322 cat conftest.err
>&5
2323 echo "$as_me:2323: \$? = $ac_status" >&5
2324 (exit $ac_status); } >/dev
/null
; then
2325 if test -s conftest.err
; then
2326 ac_cpp_err
=$ac_c_preproc_warn_flag
2333 if test -z "$ac_cpp_err"; then
2334 # OK, works on sane cases. Now check whether non-existent headers can
2335 # be detected and how.
2336 cat >conftest.
$ac_ext <<_ACEOF
2337 #line 2337 "configure"
2338 #include "confdefs.h"
2339 #include <ac_nonexistent.h>
2341 if { (eval echo "$as_me:2341: \"$ac_cpp conftest.$ac_ext\"") >&5
2342 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2344 egrep -v '^ *\+' conftest.er1
>conftest.err
2346 cat conftest.err
>&5
2347 echo "$as_me:2347: \$? = $ac_status" >&5
2348 (exit $ac_status); } >/dev
/null
; then
2349 if test -s conftest.err
; then
2350 ac_cpp_err
=$ac_c_preproc_warn_flag
2357 if test -z "$ac_cpp_err"; then
2358 # Broken: cannot detect missing includes.
2361 echo "$as_me: failed program was:" >&5
2362 cat conftest.
$ac_ext >&5
2363 # OK, detects failures. How?
2364 if test "x$ac_cpp_err" = xmaybe
; then
2365 ac_c_preproc_warn_flag
=yes
2367 ac_c_preproc_warn_flag
=
2371 rm -f conftest.err conftest.
$ac_ext
2373 echo "$as_me: failed program was:" >&5
2374 cat conftest.
$ac_ext >&5
2375 # Broken: fails on valid input.
2378 rm -f conftest.err conftest.
$ac_ext
2387 echo "$as_me:2387: result: $CPP" >&5
2388 echo "${ECHO_T}$CPP" >&6
2389 # We don't know yet if stderr is the criterion (vs exit status).
2390 ac_c_preproc_warn_flag
=maybe
2392 # Use a header file that comes with gcc, so configuring glibc
2393 # with a fresh cross-compiler works.
2394 # On the NeXT, cc -E runs the code through the compiler's parser,
2395 # not just through cpp. "Syntax error" is here to catch this case.
2396 cat >conftest.
$ac_ext <<_ACEOF
2397 #line 2397 "configure"
2398 #include "confdefs.h"
2402 if { (eval echo "$as_me:2402: \"$ac_cpp conftest.$ac_ext\"") >&5
2403 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2405 egrep -v '^ *\+' conftest.er1
>conftest.err
2407 cat conftest.err
>&5
2408 echo "$as_me:2408: \$? = $ac_status" >&5
2409 (exit $ac_status); } >/dev
/null
; then
2410 if test -s conftest.err
; then
2411 ac_cpp_err
=$ac_c_preproc_warn_flag
2418 if test -z "$ac_cpp_err"; then
2419 # OK, works on sane cases. Now check whether non-existent headers can
2420 # be detected and how.
2421 cat >conftest.
$ac_ext <<_ACEOF
2422 #line 2422 "configure"
2423 #include "confdefs.h"
2424 #include <ac_nonexistent.h>
2426 if { (eval echo "$as_me:2426: \"$ac_cpp conftest.$ac_ext\"") >&5
2427 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2429 egrep -v '^ *\+' conftest.er1
>conftest.err
2431 cat conftest.err
>&5
2432 echo "$as_me:2432: \$? = $ac_status" >&5
2433 (exit $ac_status); } >/dev
/null
; then
2434 if test -s conftest.err
; then
2435 ac_cpp_err
=$ac_c_preproc_warn_flag
2442 if test -z "$ac_cpp_err"; then
2443 # Broken: cannot detect missing includes.
2444 { { echo "$as_me:2444: error: C preprocessor \"$CPP\" fails sanity check" >&5
2445 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2446 { (exit 1); exit 1; }; }
2448 echo "$as_me: failed program was:" >&5
2449 cat conftest.
$ac_ext >&5
2450 # OK, detects failures. How?
2451 if test "x$ac_cpp_err" = xmaybe
; then
2452 ac_c_preproc_warn_flag
=yes
2454 ac_c_preproc_warn_flag
=
2458 rm -f conftest.err conftest.
$ac_ext
2460 echo "$as_me: failed program was:" >&5
2461 cat conftest.
$ac_ext >&5
2462 # Broken: fails on valid input.
2463 { { echo "$as_me:2463: error: C preprocessor \"$CPP\" fails sanity check" >&5
2464 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2465 { (exit 1); exit 1; }; }
2467 rm -f conftest.err conftest.
$ac_ext
2469 ac_cpp
='$CPP $CPPFLAGS'
2470 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2471 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2472 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2474 echo "$as_me:2474: checking for AIX" >&5
2475 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
2476 cat >conftest.
$ac_ext <<_ACEOF
2477 #line 2477 "configure"
2478 #include "confdefs.h"
2484 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2485 egrep "yes" >/dev
/null
2>&1; then
2486 echo "$as_me:2486: result: yes" >&5
2487 echo "${ECHO_T}yes" >&6
2488 cat >>confdefs.h
<<\EOF
2489 #define _ALL_SOURCE 1
2493 echo "$as_me:2493: result: no" >&5
2494 echo "${ECHO_T}no" >&6
2498 echo "$as_me:2498: checking for minix/config.h" >&5
2499 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
2500 if test "${ac_cv_header_minix_config_h+set}" = set; then
2501 echo $ECHO_N "(cached) $ECHO_C" >&6
2503 cat >conftest.
$ac_ext <<_ACEOF
2504 #line 2504 "configure"
2505 #include "confdefs.h"
2506 #include <minix/config.h>
2508 if { (eval echo "$as_me:2508: \"$ac_cpp conftest.$ac_ext\"") >&5
2509 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2511 egrep -v '^ *\+' conftest.er1
>conftest.err
2513 cat conftest.err
>&5
2514 echo "$as_me:2514: \$? = $ac_status" >&5
2515 (exit $ac_status); } >/dev
/null
; then
2516 if test -s conftest.err
; then
2517 ac_cpp_err
=$ac_c_preproc_warn_flag
2524 if test -z "$ac_cpp_err"; then
2525 ac_cv_header_minix_config_h
=yes
2527 echo "$as_me: failed program was:" >&5
2528 cat conftest.
$ac_ext >&5
2529 ac_cv_header_minix_config_h
=no
2531 rm -f conftest.err conftest.
$ac_ext
2533 echo "$as_me:2533: result: $ac_cv_header_minix_config_h" >&5
2534 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
2535 if test $ac_cv_header_minix_config_h = yes; then
2541 if test "$MINIX" = yes; then
2543 cat >>confdefs.h
<<\EOF
2544 #define _POSIX_SOURCE 1
2547 cat >>confdefs.h
<<\EOF
2548 #define _POSIX_1_SOURCE 2
2551 cat >>confdefs.h
<<\EOF
2557 echo "$as_me:2557: checking for strerror in -lcposix" >&5
2558 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2559 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2560 echo $ECHO_N "(cached) $ECHO_C" >&6
2562 ac_check_lib_save_LIBS
=$LIBS
2563 LIBS
="-lcposix $LIBS"
2564 cat >conftest.
$ac_ext <<_ACEOF
2565 #line 2565 "configure"
2566 #include "confdefs.h"
2568 /* Override any gcc2 internal prototype to avoid an error. */
2572 /* We use char because int might match the return type of a gcc2
2573 builtin and then its argument prototype would still apply. */
2583 rm -f conftest.
$ac_objext conftest
$ac_exeext
2584 if { (eval echo "$as_me:2584: \"$ac_link\"") >&5
2585 (eval $ac_link) 2>&5
2587 echo "$as_me:2587: \$? = $ac_status" >&5
2588 (exit $ac_status); } &&
2589 { ac_try
='test -s conftest$ac_exeext'
2590 { (eval echo "$as_me:2590: \"$ac_try\"") >&5
2593 echo "$as_me:2593: \$? = $ac_status" >&5
2594 (exit $ac_status); }; }; then
2595 ac_cv_lib_cposix_strerror
=yes
2597 echo "$as_me: failed program was:" >&5
2598 cat conftest.
$ac_ext >&5
2599 ac_cv_lib_cposix_strerror
=no
2601 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2602 LIBS
=$ac_check_lib_save_LIBS
2604 echo "$as_me:2604: result: $ac_cv_lib_cposix_strerror" >&5
2605 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2606 if test $ac_cv_lib_cposix_strerror = yes; then
2607 LIBS
="$LIBS -lcposix"
2610 echo "$as_me:2610: checking for $CC option to accept ANSI C" >&5
2611 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2612 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2613 echo $ECHO_N "(cached) $ECHO_C" >&6
2615 ac_cv_prog_cc_stdc
=no
2617 cat >conftest.
$ac_ext <<_ACEOF
2618 #line 2618 "configure"
2619 #include "confdefs.h"
2622 #include <sys/types.h>
2623 #include <sys/stat.h>
2624 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2625 struct buf { int x; };
2626 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2627 static char *e (p, i)
2633 static char *f (char * (*g) (char **, int), char **p, ...)
2638 s = g (p, va_arg (v,int));
2642 int test (int i, double x);
2643 struct s1 {int (*f) (int a);};
2644 struct s2 {int (*f) (double a);};
2645 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2651 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2656 # Don't try gcc -ansi; that turns off useful extensions and
2657 # breaks some systems' header files.
2658 # AIX -qlanglvl=ansi
2659 # Ultrix and OSF/1 -std1
2660 # HP-UX 10.20 and later -Ae
2661 # HP-UX older versions -Aa -D_HPUX_SOURCE
2662 # SVR4 -Xc -D__EXTENSIONS__
2663 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2665 CC
="$ac_save_CC $ac_arg"
2666 rm -f conftest.
$ac_objext
2667 if { (eval echo "$as_me:2667: \"$ac_compile\"") >&5
2668 (eval $ac_compile) 2>&5
2670 echo "$as_me:2670: \$? = $ac_status" >&5
2671 (exit $ac_status); } &&
2672 { ac_try
='test -s conftest.$ac_objext'
2673 { (eval echo "$as_me:2673: \"$ac_try\"") >&5
2676 echo "$as_me:2676: \$? = $ac_status" >&5
2677 (exit $ac_status); }; }; then
2678 ac_cv_prog_cc_stdc
=$ac_arg
2681 echo "$as_me: failed program was:" >&5
2682 cat conftest.
$ac_ext >&5
2684 rm -f conftest.
$ac_objext
2686 rm -f conftest.
$ac_ext conftest.
$ac_objext
2691 case "x$ac_cv_prog_cc_stdc" in
2693 echo "$as_me:2693: result: none needed" >&5
2694 echo "${ECHO_T}none needed" >&6 ;;
2696 echo "$as_me:2696: result: $ac_cv_prog_cc_stdc" >&5
2697 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2698 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2701 echo "$as_me:2701: checking for ${CC-cc} option to accept ANSI C" >&5
2702 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
2703 if test "${am_cv_prog_cc_stdc+set}" = set; then
2704 echo $ECHO_N "(cached) $ECHO_C" >&6
2706 am_cv_prog_cc_stdc
=no
2708 # Don't try gcc -ansi; that turns off useful extensions and
2709 # breaks some systems' header files.
2710 # AIX -qlanglvl=ansi
2711 # Ultrix and OSF/1 -std1
2712 # HP-UX 10.20 and later -Ae
2713 # HP-UX older versions -Aa -D_HPUX_SOURCE
2714 # SVR4 -Xc -D__EXTENSIONS__
2715 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2717 CC
="$ac_save_CC $ac_arg"
2718 cat >conftest.
$ac_ext <<_ACEOF
2719 #line 2719 "configure"
2720 #include "confdefs.h"
2723 #include <sys/types.h>
2724 #include <sys/stat.h>
2725 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2726 struct buf { int x; };
2727 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2728 static char *e (p, i)
2734 static char *f (char * (*g) (char **, int), char **p, ...)
2739 s = g (p, va_arg (v,int));
2743 int test (int i, double x);
2744 struct s1 {int (*f) (int a);};
2745 struct s2 {int (*f) (double a);};
2746 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2754 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2760 rm -f conftest.
$ac_objext
2761 if { (eval echo "$as_me:2761: \"$ac_compile\"") >&5
2762 (eval $ac_compile) 2>&5
2764 echo "$as_me:2764: \$? = $ac_status" >&5
2765 (exit $ac_status); } &&
2766 { ac_try
='test -s conftest.$ac_objext'
2767 { (eval echo "$as_me:2767: \"$ac_try\"") >&5
2770 echo "$as_me:2770: \$? = $ac_status" >&5
2771 (exit $ac_status); }; }; then
2772 am_cv_prog_cc_stdc
="$ac_arg"; break
2774 echo "$as_me: failed program was:" >&5
2775 cat conftest.
$ac_ext >&5
2777 rm -f conftest.
$ac_objext conftest.
$ac_ext
2783 if test -z "$am_cv_prog_cc_stdc"; then
2784 echo "$as_me:2784: result: none needed" >&5
2785 echo "${ECHO_T}none needed" >&6
2787 echo "$as_me:2787: result: $am_cv_prog_cc_stdc" >&5
2788 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
2790 case "x$am_cv_prog_cc_stdc" in
2792 *) CC
="$CC $am_cv_prog_cc_stdc" ;;
2795 echo "$as_me:2795: checking for function prototypes" >&5
2796 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
2797 if test "$am_cv_prog_cc_stdc" != no
; then
2798 echo "$as_me:2798: result: yes" >&5
2799 echo "${ECHO_T}yes" >&6
2801 cat >>confdefs.h
<<\EOF
2802 #define PROTOTYPES 1
2807 echo "$as_me:2807: result: no" >&5
2808 echo "${ECHO_T}no" >&6
2809 U
=_ ANSI2KNR
=.
/ansi2knr
2811 # Ensure some checks needed by ansi2knr itself.
2812 echo "$as_me:2812: checking for ANSI C header files" >&5
2813 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2814 if test "${ac_cv_header_stdc+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"
2826 if { (eval echo "$as_me:2826: \"$ac_cpp conftest.$ac_ext\"") >&5
2827 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2829 egrep -v '^ *\+' conftest.er1
>conftest.err
2831 cat conftest.err
>&5
2832 echo "$as_me:2832: \$? = $ac_status" >&5
2833 (exit $ac_status); } >/dev
/null
; then
2834 if test -s conftest.err
; then
2835 ac_cpp_err
=$ac_c_preproc_warn_flag
2842 if test -z "$ac_cpp_err"; then
2843 ac_cv_header_stdc
=yes
2845 echo "$as_me: failed program was:" >&5
2846 cat conftest.
$ac_ext >&5
2847 ac_cv_header_stdc
=no
2849 rm -f conftest.err conftest.
$ac_ext
2851 if test $ac_cv_header_stdc = yes; then
2852 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2853 cat >conftest.
$ac_ext <<_ACEOF
2854 #line 2854 "configure"
2855 #include "confdefs.h"
2859 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2860 egrep "memchr" >/dev
/null
2>&1; then
2863 ac_cv_header_stdc
=no
2869 if test $ac_cv_header_stdc = yes; then
2870 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2871 cat >conftest.
$ac_ext <<_ACEOF
2872 #line 2872 "configure"
2873 #include "confdefs.h"
2877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2878 egrep "free" >/dev
/null
2>&1; then
2881 ac_cv_header_stdc
=no
2887 if test $ac_cv_header_stdc = yes; then
2888 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2889 if test "$cross_compiling" = yes; then
2892 cat >conftest.
$ac_ext <<_ACEOF
2893 #line 2893 "configure"
2894 #include "confdefs.h"
2896 #if ((' ' & 0x0FF) == 0x020)
2897 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2898 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2900 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2901 || ('j' <= (c) && (c) <= 'r') \
2902 || ('s' <= (c) && (c) <= 'z'))
2903 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2906 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2911 for (i = 0; i < 256; i++)
2912 if (XOR (islower (i), ISLOWER (i))
2913 || toupper (i) != TOUPPER (i))
2918 rm -f conftest
$ac_exeext
2919 if { (eval echo "$as_me:2919: \"$ac_link\"") >&5
2920 (eval $ac_link) 2>&5
2922 echo "$as_me:2922: \$? = $ac_status" >&5
2923 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2924 { (eval echo "$as_me:2924: \"$ac_try\"") >&5
2927 echo "$as_me:2927: \$? = $ac_status" >&5
2928 (exit $ac_status); }; }; then
2931 echo "$as_me: program exited with status $ac_status" >&5
2932 echo "$as_me: failed program was:" >&5
2933 cat conftest.
$ac_ext >&5
2934 ac_cv_header_stdc
=no
2936 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_ext
2940 echo "$as_me:2940: result: $ac_cv_header_stdc" >&5
2941 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2942 if test $ac_cv_header_stdc = yes; then
2944 cat >>confdefs.h
<<\EOF
2945 #define STDC_HEADERS 1
2950 for ac_header
in string.h
2952 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
2953 echo "$as_me:2953: checking for $ac_header" >&5
2954 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2955 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
2956 echo $ECHO_N "(cached) $ECHO_C" >&6
2958 cat >conftest.
$ac_ext <<_ACEOF
2959 #line 2959 "configure"
2960 #include "confdefs.h"
2961 #include <$ac_header>
2963 if { (eval echo "$as_me:2963: \"$ac_cpp conftest.$ac_ext\"") >&5
2964 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2966 egrep -v '^ *\+' conftest.er1
>conftest.err
2968 cat conftest.err
>&5
2969 echo "$as_me:2969: \$? = $ac_status" >&5
2970 (exit $ac_status); } >/dev
/null
; then
2971 if test -s conftest.err
; then
2972 ac_cpp_err
=$ac_c_preproc_warn_flag
2979 if test -z "$ac_cpp_err"; then
2980 eval "$ac_ac_Header=yes"
2982 echo "$as_me: failed program was:" >&5
2983 cat conftest.
$ac_ext >&5
2984 eval "$ac_ac_Header=no"
2986 rm -f conftest.err conftest.
$ac_ext
2988 echo "$as_me:2988: result: `eval echo '${'$ac_ac_Header'}'`" >&5
2989 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
2990 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
2991 cat >>confdefs.h
<<EOF
2992 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
2998 # Find a good install program. We prefer a C program (faster),
2999 # so one script is as good as another. But avoid the broken or
3000 # incompatible versions:
3001 # SysV /etc/install, /usr/sbin/install
3002 # SunOS /usr/etc/install
3003 # IRIX /sbin/install
3005 # AmigaOS /C/install, which installs bootblocks on floppy discs
3006 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3007 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3008 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3009 # ./install, which can be erroneously created by make from ./install.sh.
3010 echo "$as_me:3010: checking for a BSD compatible install" >&5
3011 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
3012 if test -z "$INSTALL"; then
3013 if test "${ac_cv_path_install+set}" = set; then
3014 echo $ECHO_N "(cached) $ECHO_C" >&6
3016 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
3017 for ac_dir
in $PATH; do
3019 # Account for people who put trailing slashes in PATH elements.
3021 / | .
/ | .
// |
/cC
/* \
3022 |
/etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* \
3025 # OSF1 and SCO ODT 3.0 have their own names for install.
3026 # Don't use installbsd from OSF since it installs stuff as root
3028 for ac_prog
in ginstall scoinst
install; do
3029 if $as_executable_p "$ac_dir/$ac_prog"; then
3030 if test $ac_prog = install &&
3031 grep dspmsg
"$ac_dir/$ac_prog" >/dev
/null
2>&1; then
3032 # AIX install. It has an incompatible calling convention.
3034 elif test $ac_prog = install &&
3035 grep pwplus
"$ac_dir/$ac_prog" >/dev
/null
2>&1; then
3036 # program-specific install script used by HP pwplus--don't use.
3039 ac_cv_path_install
="$ac_dir/$ac_prog -c"
3049 if test "${ac_cv_path_install+set}" = set; then
3050 INSTALL
=$ac_cv_path_install
3052 # As a last resort, use the slow shell script. We don't cache a
3053 # path for INSTALL within a source directory, because that will
3054 # break other packages using the cache if that directory is
3055 # removed, or if the path is relative.
3056 INSTALL
=$ac_install_sh
3059 echo "$as_me:3059: result: $INSTALL" >&5
3060 echo "${ECHO_T}$INSTALL" >&6
3062 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3063 # It thinks the first close brace ends the variable substitution.
3064 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3066 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3068 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3070 if test -n "$ac_tool_prefix"; then
3071 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3072 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3073 echo "$as_me:3073: checking for $ac_word" >&5
3074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3075 if test "${ac_cv_prog_RANLIB+set}" = set; then
3076 echo $ECHO_N "(cached) $ECHO_C" >&6
3078 if test -n "$RANLIB"; then
3079 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3081 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
3083 for ac_dir
in $ac_dummy; do
3085 test -z "$ac_dir" && ac_dir
=.
3086 $as_executable_p "$ac_dir/$ac_word" ||
continue
3087 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3088 echo "$as_me:3088: found $ac_dir/$ac_word" >&5
3094 RANLIB
=$ac_cv_prog_RANLIB
3095 if test -n "$RANLIB"; then
3096 echo "$as_me:3096: result: $RANLIB" >&5
3097 echo "${ECHO_T}$RANLIB" >&6
3099 echo "$as_me:3099: result: no" >&5
3100 echo "${ECHO_T}no" >&6
3104 if test -z "$ac_cv_prog_RANLIB"; then
3105 ac_ct_RANLIB
=$RANLIB
3106 # Extract the first word of "ranlib", so it can be a program name with args.
3107 set dummy ranlib
; ac_word
=$2
3108 echo "$as_me:3108: checking for $ac_word" >&5
3109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3110 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3111 echo $ECHO_N "(cached) $ECHO_C" >&6
3113 if test -n "$ac_ct_RANLIB"; then
3114 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3116 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
3118 for ac_dir
in $ac_dummy; do
3120 test -z "$ac_dir" && ac_dir
=.
3121 $as_executable_p "$ac_dir/$ac_word" ||
continue
3122 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3123 echo "$as_me:3123: found $ac_dir/$ac_word" >&5
3127 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3130 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3131 if test -n "$ac_ct_RANLIB"; then
3132 echo "$as_me:3132: result: $ac_ct_RANLIB" >&5
3133 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3135 echo "$as_me:3135: result: no" >&5
3136 echo "${ECHO_T}no" >&6
3139 RANLIB
=$ac_ct_RANLIB
3141 RANLIB
="$ac_cv_prog_RANLIB"
3144 echo "$as_me:3144: checking whether ${MAKE-make} sets \${MAKE}" >&5
3145 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
3146 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
3147 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3148 echo $ECHO_N "(cached) $ECHO_C" >&6
3150 cat >conftest.
make <<\EOF
3152 @
echo 'ac_maketemp="${MAKE}"'
3154 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3155 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3156 if test -n "$ac_maketemp"; then
3157 eval ac_cv_prog_make_
${ac_make}_set
=yes
3159 eval ac_cv_prog_make_
${ac_make}_set
=no
3163 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3164 echo "$as_me:3164: result: yes" >&5
3165 echo "${ECHO_T}yes" >&6
3168 echo "$as_me:3168: result: no" >&5
3169 echo "${ECHO_T}no" >&6
3170 SET_MAKE
="MAKE=${MAKE-make}"
3173 # Check whether --enable-largefile or --disable-largefile was given.
3174 if test "${enable_largefile+set}" = set; then
3175 enableval
="$enable_largefile"
3178 if test "$enable_largefile" != no
; then
3180 echo "$as_me:3180: checking for special C compiler options needed for large files" >&5
3181 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
3182 if test "${ac_cv_sys_largefile_CC+set}" = set; then
3183 echo $ECHO_N "(cached) $ECHO_C" >&6
3185 ac_cv_sys_largefile_CC
=no
3186 if test "$GCC" != yes; then
3189 # IRIX 6.2 and later do not support large files by default,
3190 # so use the C compiler's -n32 option if that helps.
3191 cat >conftest.
$ac_ext <<_ACEOF
3192 #line 3192 "configure"
3193 #include "confdefs.h"
3194 #include <sys/types.h>
3195 /* Check that off_t can represent 2**63 - 1 correctly.
3196 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3197 since some C++ compilers masquerading as C compilers
3198 incorrectly reject 9223372036854775807. */
3199 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3200 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3201 && LARGE_OFF_T % 2147483647 == 1)
3211 rm -f conftest.
$ac_objext
3212 if { (eval echo "$as_me:3212: \"$ac_compile\"") >&5
3213 (eval $ac_compile) 2>&5
3215 echo "$as_me:3215: \$? = $ac_status" >&5
3216 (exit $ac_status); } &&
3217 { ac_try
='test -s conftest.$ac_objext'
3218 { (eval echo "$as_me:3218: \"$ac_try\"") >&5
3221 echo "$as_me:3221: \$? = $ac_status" >&5
3222 (exit $ac_status); }; }; then
3225 echo "$as_me: failed program was:" >&5
3226 cat conftest.
$ac_ext >&5
3228 rm -f conftest.
$ac_objext
3230 rm -f conftest.
$ac_objext
3231 if { (eval echo "$as_me:3231: \"$ac_compile\"") >&5
3232 (eval $ac_compile) 2>&5
3234 echo "$as_me:3234: \$? = $ac_status" >&5
3235 (exit $ac_status); } &&
3236 { ac_try
='test -s conftest.$ac_objext'
3237 { (eval echo "$as_me:3237: \"$ac_try\"") >&5
3240 echo "$as_me:3240: \$? = $ac_status" >&5
3241 (exit $ac_status); }; }; then
3242 ac_cv_sys_largefile_CC
=' -n32'; break
3244 echo "$as_me: failed program was:" >&5
3245 cat conftest.
$ac_ext >&5
3247 rm -f conftest.
$ac_objext
3251 rm -f conftest.
$ac_ext
3254 echo "$as_me:3254: result: $ac_cv_sys_largefile_CC" >&5
3255 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
3256 if test "$ac_cv_sys_largefile_CC" != no
; then
3257 CC
=$CC$ac_cv_sys_largefile_CC
3260 echo "$as_me:3260: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3261 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
3262 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3263 echo $ECHO_N "(cached) $ECHO_C" >&6
3266 ac_cv_sys_file_offset_bits
=no
3267 cat >conftest.
$ac_ext <<_ACEOF
3268 #line 3268 "configure"
3269 #include "confdefs.h"
3270 #include <sys/types.h>
3271 /* Check that off_t can represent 2**63 - 1 correctly.
3272 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3273 since some C++ compilers masquerading as C compilers
3274 incorrectly reject 9223372036854775807. */
3275 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3276 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3277 && LARGE_OFF_T % 2147483647 == 1)
3287 rm -f conftest.
$ac_objext
3288 if { (eval echo "$as_me:3288: \"$ac_compile\"") >&5
3289 (eval $ac_compile) 2>&5
3291 echo "$as_me:3291: \$? = $ac_status" >&5
3292 (exit $ac_status); } &&
3293 { ac_try
='test -s conftest.$ac_objext'
3294 { (eval echo "$as_me:3294: \"$ac_try\"") >&5
3297 echo "$as_me:3297: \$? = $ac_status" >&5
3298 (exit $ac_status); }; }; then
3301 echo "$as_me: failed program was:" >&5
3302 cat conftest.
$ac_ext >&5
3304 rm -f conftest.
$ac_objext conftest.
$ac_ext
3305 cat >conftest.
$ac_ext <<_ACEOF
3306 #line 3306 "configure"
3307 #include "confdefs.h"
3308 #define _FILE_OFFSET_BITS 64
3309 #include <sys/types.h>
3310 /* Check that off_t can represent 2**63 - 1 correctly.
3311 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3312 since some C++ compilers masquerading as C compilers
3313 incorrectly reject 9223372036854775807. */
3314 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3315 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3316 && LARGE_OFF_T % 2147483647 == 1)
3326 rm -f conftest.
$ac_objext
3327 if { (eval echo "$as_me:3327: \"$ac_compile\"") >&5
3328 (eval $ac_compile) 2>&5
3330 echo "$as_me:3330: \$? = $ac_status" >&5
3331 (exit $ac_status); } &&
3332 { ac_try
='test -s conftest.$ac_objext'
3333 { (eval echo "$as_me:3333: \"$ac_try\"") >&5
3336 echo "$as_me:3336: \$? = $ac_status" >&5
3337 (exit $ac_status); }; }; then
3338 ac_cv_sys_file_offset_bits
=64; break
3340 echo "$as_me: failed program was:" >&5
3341 cat conftest.
$ac_ext >&5
3343 rm -f conftest.
$ac_objext conftest.
$ac_ext
3347 echo "$as_me:3347: result: $ac_cv_sys_file_offset_bits" >&5
3348 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
3349 if test "$ac_cv_sys_file_offset_bits" != no
; then
3351 cat >>confdefs.h
<<EOF
3352 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3357 echo "$as_me:3357: checking for _LARGE_FILES value needed for large files" >&5
3358 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
3359 if test "${ac_cv_sys_large_files+set}" = set; then
3360 echo $ECHO_N "(cached) $ECHO_C" >&6
3363 ac_cv_sys_large_files
=no
3364 cat >conftest.
$ac_ext <<_ACEOF
3365 #line 3365 "configure"
3366 #include "confdefs.h"
3367 #include <sys/types.h>
3368 /* Check that off_t can represent 2**63 - 1 correctly.
3369 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3370 since some C++ compilers masquerading as C compilers
3371 incorrectly reject 9223372036854775807. */
3372 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3373 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3374 && LARGE_OFF_T % 2147483647 == 1)
3384 rm -f conftest.
$ac_objext
3385 if { (eval echo "$as_me:3385: \"$ac_compile\"") >&5
3386 (eval $ac_compile) 2>&5
3388 echo "$as_me:3388: \$? = $ac_status" >&5
3389 (exit $ac_status); } &&
3390 { ac_try
='test -s conftest.$ac_objext'
3391 { (eval echo "$as_me:3391: \"$ac_try\"") >&5
3394 echo "$as_me:3394: \$? = $ac_status" >&5
3395 (exit $ac_status); }; }; then
3398 echo "$as_me: failed program was:" >&5
3399 cat conftest.
$ac_ext >&5
3401 rm -f conftest.
$ac_objext conftest.
$ac_ext
3402 cat >conftest.
$ac_ext <<_ACEOF
3403 #line 3403 "configure"
3404 #include "confdefs.h"
3405 #define _LARGE_FILES 1
3406 #include <sys/types.h>
3407 /* Check that off_t can represent 2**63 - 1 correctly.
3408 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3409 since some C++ compilers masquerading as C compilers
3410 incorrectly reject 9223372036854775807. */
3411 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3412 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3413 && LARGE_OFF_T % 2147483647 == 1)
3423 rm -f conftest.
$ac_objext
3424 if { (eval echo "$as_me:3424: \"$ac_compile\"") >&5
3425 (eval $ac_compile) 2>&5
3427 echo "$as_me:3427: \$? = $ac_status" >&5
3428 (exit $ac_status); } &&
3429 { ac_try
='test -s conftest.$ac_objext'
3430 { (eval echo "$as_me:3430: \"$ac_try\"") >&5
3433 echo "$as_me:3433: \$? = $ac_status" >&5
3434 (exit $ac_status); }; }; then
3435 ac_cv_sys_large_files
=1; break
3437 echo "$as_me: failed program was:" >&5
3438 cat conftest.
$ac_ext >&5
3440 rm -f conftest.
$ac_objext conftest.
$ac_ext
3444 echo "$as_me:3444: result: $ac_cv_sys_large_files" >&5
3445 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
3446 if test "$ac_cv_sys_large_files" != no
; then
3448 cat >>confdefs.h
<<EOF
3449 #define _LARGE_FILES $ac_cv_sys_large_files
3456 echo "$as_me:3456: checking whether byte ordering is bigendian" >&5
3457 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
3458 if test "${ac_cv_c_bigendian+set}" = set; then
3459 echo $ECHO_N "(cached) $ECHO_C" >&6
3461 ac_cv_c_bigendian
=unknown
3462 # See if sys/param.h defines the BYTE_ORDER macro.
3463 cat >conftest.
$ac_ext <<_ACEOF
3464 #line 3464 "configure"
3465 #include "confdefs.h"
3466 #include <sys/types.h>
3467 #include <sys/param.h>
3472 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
3480 rm -f conftest.
$ac_objext
3481 if { (eval echo "$as_me:3481: \"$ac_compile\"") >&5
3482 (eval $ac_compile) 2>&5
3484 echo "$as_me:3484: \$? = $ac_status" >&5
3485 (exit $ac_status); } &&
3486 { ac_try
='test -s conftest.$ac_objext'
3487 { (eval echo "$as_me:3487: \"$ac_try\"") >&5
3490 echo "$as_me:3490: \$? = $ac_status" >&5
3491 (exit $ac_status); }; }; then
3492 # It does; now see whether it defined to BIG_ENDIAN or not.
3493 cat >conftest.
$ac_ext <<_ACEOF
3494 #line 3494 "configure"
3495 #include "confdefs.h"
3496 #include <sys/types.h>
3497 #include <sys/param.h>
3502 #if BYTE_ORDER != BIG_ENDIAN
3510 rm -f conftest.
$ac_objext
3511 if { (eval echo "$as_me:3511: \"$ac_compile\"") >&5
3512 (eval $ac_compile) 2>&5
3514 echo "$as_me:3514: \$? = $ac_status" >&5
3515 (exit $ac_status); } &&
3516 { ac_try
='test -s conftest.$ac_objext'
3517 { (eval echo "$as_me:3517: \"$ac_try\"") >&5
3520 echo "$as_me:3520: \$? = $ac_status" >&5
3521 (exit $ac_status); }; }; then
3522 ac_cv_c_bigendian
=yes
3524 echo "$as_me: failed program was:" >&5
3525 cat conftest.
$ac_ext >&5
3526 ac_cv_c_bigendian
=no
3528 rm -f conftest.
$ac_objext conftest.
$ac_ext
3530 echo "$as_me: failed program was:" >&5
3531 cat conftest.
$ac_ext >&5
3533 rm -f conftest.
$ac_objext conftest.
$ac_ext
3534 if test $ac_cv_c_bigendian = unknown
; then
3535 if test "$cross_compiling" = yes; then
3536 { { echo "$as_me:3536: error: cannot run test program while cross compiling" >&5
3537 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
3538 { (exit 1); exit 1; }; }
3540 cat >conftest.
$ac_ext <<_ACEOF
3541 #line 3541 "configure"
3542 #include "confdefs.h"
3546 /* Are we little or big endian? From Harbison&Steele. */
3550 char c[sizeof (long)];
3553 exit (u.c[sizeof (long) - 1] == 1);
3556 rm -f conftest
$ac_exeext
3557 if { (eval echo "$as_me:3557: \"$ac_link\"") >&5
3558 (eval $ac_link) 2>&5
3560 echo "$as_me:3560: \$? = $ac_status" >&5
3561 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3562 { (eval echo "$as_me:3562: \"$ac_try\"") >&5
3565 echo "$as_me:3565: \$? = $ac_status" >&5
3566 (exit $ac_status); }; }; then
3567 ac_cv_c_bigendian
=no
3569 echo "$as_me: program exited with status $ac_status" >&5
3570 echo "$as_me: failed program was:" >&5
3571 cat conftest.
$ac_ext >&5
3572 ac_cv_c_bigendian
=yes
3574 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_ext
3578 echo "$as_me:3578: result: $ac_cv_c_bigendian" >&5
3579 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
3580 if test $ac_cv_c_bigendian = yes; then
3582 cat >>confdefs.h
<<\EOF
3583 #define WORDS_BIGENDIAN 1
3588 echo "$as_me:3588: checking for an ANSI C-conforming const" >&5
3589 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3590 if test "${ac_cv_c_const+set}" = set; then
3591 echo $ECHO_N "(cached) $ECHO_C" >&6
3593 cat >conftest.
$ac_ext <<_ACEOF
3594 #line 3594 "configure"
3595 #include "confdefs.h"
3600 /* FIXME: Include the comments suggested by Paul. */
3602 /* Ultrix mips cc rejects this. */
3603 typedef int charset[2];
3605 /* SunOS 4.1.1 cc rejects this. */
3606 char const *const *ccp;
3608 /* NEC SVR4.0.2 mips cc rejects this. */
3609 struct point {int x, y;};
3610 static struct point const zero = {0,0};
3611 /* AIX XL C 1.02.0.0 rejects this.
3612 It does not let you subtract one const X* pointer from another in
3613 an arm of an if-expression whose if-part is not a constant
3615 const char *g = "string";
3616 ccp = &g + (g ? g-g : 0);
3617 /* HPUX 7.0 cc rejects these. */
3620 ccp = (char const *const *) p;
3621 { /* SCO 3.2v4 cc rejects this. */
3623 char const *s = 0 ? (char *) 0 : (char const *) 0;
3627 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3629 const int *foo = &x[0];
3632 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3633 typedef const int *iptr;
3637 { /* AIX XL C 1.02.0.0 rejects this saying
3638 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3639 struct s { int j; const int *ap[3]; };
3640 struct s *b; b->j = 5;
3642 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3651 rm -f conftest.
$ac_objext
3652 if { (eval echo "$as_me:3652: \"$ac_compile\"") >&5
3653 (eval $ac_compile) 2>&5
3655 echo "$as_me:3655: \$? = $ac_status" >&5
3656 (exit $ac_status); } &&
3657 { ac_try
='test -s conftest.$ac_objext'
3658 { (eval echo "$as_me:3658: \"$ac_try\"") >&5
3661 echo "$as_me:3661: \$? = $ac_status" >&5
3662 (exit $ac_status); }; }; then
3665 echo "$as_me: failed program was:" >&5
3666 cat conftest.
$ac_ext >&5
3669 rm -f conftest.
$ac_objext conftest.
$ac_ext
3671 echo "$as_me:3671: result: $ac_cv_c_const" >&5
3672 echo "${ECHO_T}$ac_cv_c_const" >&6
3673 if test $ac_cv_c_const = no
; then
3675 cat >>confdefs.h
<<\EOF
3681 echo "$as_me:3681: checking for working volatile" >&5
3682 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
3683 if test "${ac_cv_c_volatile+set}" = set; then
3684 echo $ECHO_N "(cached) $ECHO_C" >&6
3686 cat >conftest.
$ac_ext <<_ACEOF
3687 #line 3687 "configure"
3688 #include "confdefs.h"
3700 rm -f conftest.
$ac_objext
3701 if { (eval echo "$as_me:3701: \"$ac_compile\"") >&5
3702 (eval $ac_compile) 2>&5
3704 echo "$as_me:3704: \$? = $ac_status" >&5
3705 (exit $ac_status); } &&
3706 { ac_try
='test -s conftest.$ac_objext'
3707 { (eval echo "$as_me:3707: \"$ac_try\"") >&5
3710 echo "$as_me:3710: \$? = $ac_status" >&5
3711 (exit $ac_status); }; }; then
3712 ac_cv_c_volatile
=yes
3714 echo "$as_me: failed program was:" >&5
3715 cat conftest.
$ac_ext >&5
3718 rm -f conftest.
$ac_objext conftest.
$ac_ext
3720 echo "$as_me:3720: result: $ac_cv_c_volatile" >&5
3721 echo "${ECHO_T}$ac_cv_c_volatile" >&6
3722 if test $ac_cv_c_volatile = no
; then
3724 cat >>confdefs.h
<<\EOF
3730 echo "$as_me:3730: checking for inline" >&5
3731 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3732 if test "${ac_cv_c_inline+set}" = set; then
3733 echo $ECHO_N "(cached) $ECHO_C" >&6
3736 for ac_kw
in inline __inline__ __inline
; do
3737 cat >conftest.
$ac_ext <<_ACEOF
3738 #line 3738 "configure"
3739 #include "confdefs.h"
3741 static $ac_kw int static_foo () {return 0; }
3742 $ac_kw int foo () {return 0; }
3746 rm -f conftest.
$ac_objext
3747 if { (eval echo "$as_me:3747: \"$ac_compile\"") >&5
3748 (eval $ac_compile) 2>&5
3750 echo "$as_me:3750: \$? = $ac_status" >&5
3751 (exit $ac_status); } &&
3752 { ac_try
='test -s conftest.$ac_objext'
3753 { (eval echo "$as_me:3753: \"$ac_try\"") >&5
3756 echo "$as_me:3756: \$? = $ac_status" >&5
3757 (exit $ac_status); }; }; then
3758 ac_cv_c_inline
=$ac_kw; break
3760 echo "$as_me: failed program was:" >&5
3761 cat conftest.
$ac_ext >&5
3763 rm -f conftest.
$ac_objext conftest.
$ac_ext
3767 echo "$as_me:3767: result: $ac_cv_c_inline" >&5
3768 echo "${ECHO_T}$ac_cv_c_inline" >&6
3769 case $ac_cv_c_inline in
3772 cat >>confdefs.h
<<\EOF
3776 *) cat >>confdefs.h
<<EOF
3777 #define inline $ac_cv_c_inline
3782 echo "$as_me:3782: checking for long double" >&5
3783 echo $ECHO_N "checking for long double... $ECHO_C" >&6
3784 if test "${ac_cv_c_long_double+set}" = set; then
3785 echo $ECHO_N "(cached) $ECHO_C" >&6
3787 if test "$GCC" = yes; then
3788 ac_cv_c_long_double
=yes
3790 if test "$cross_compiling" = yes; then
3791 { { echo "$as_me:3791: error: cannot run test program while cross compiling" >&5
3792 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
3793 { (exit 1); exit 1; }; }
3795 cat >conftest.
$ac_ext <<_ACEOF
3796 #line 3796 "configure"
3797 #include "confdefs.h"
3801 /* The Stardent Vistra knows sizeof(long double), but does not
3803 long double foo = 0.0;
3804 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
3805 exit (sizeof (long double) < sizeof (double));
3808 rm -f conftest
$ac_exeext
3809 if { (eval echo "$as_me:3809: \"$ac_link\"") >&5
3810 (eval $ac_link) 2>&5
3812 echo "$as_me:3812: \$? = $ac_status" >&5
3813 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3814 { (eval echo "$as_me:3814: \"$ac_try\"") >&5
3817 echo "$as_me:3817: \$? = $ac_status" >&5
3818 (exit $ac_status); }; }; then
3819 ac_cv_c_long_double
=yes
3821 echo "$as_me: program exited with status $ac_status" >&5
3822 echo "$as_me: failed program was:" >&5
3823 cat conftest.
$ac_ext >&5
3824 ac_cv_c_long_double
=no
3826 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_ext
3830 echo "$as_me:3830: result: $ac_cv_c_long_double" >&5
3831 echo "${ECHO_T}$ac_cv_c_long_double" >&6
3832 if test $ac_cv_c_long_double = yes; then
3834 cat >>confdefs.h
<<\EOF
3835 #define HAVE_LONG_DOUBLE 1
3841 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
3842 ac_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $ac_tr_sh`
3843 echo "$as_me:3843: checking for $ac_hdr that defines DIR" >&5
3844 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
3845 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
3846 echo $ECHO_N "(cached) $ECHO_C" >&6
3848 cat >conftest.
$ac_ext <<_ACEOF
3849 #line 3849 "configure"
3850 #include "confdefs.h"
3851 #include <sys/types.h>
3862 rm -f conftest.
$ac_objext
3863 if { (eval echo "$as_me:3863: \"$ac_compile\"") >&5
3864 (eval $ac_compile) 2>&5
3866 echo "$as_me:3866: \$? = $ac_status" >&5
3867 (exit $ac_status); } &&
3868 { ac_try
='test -s conftest.$ac_objext'
3869 { (eval echo "$as_me:3869: \"$ac_try\"") >&5
3872 echo "$as_me:3872: \$? = $ac_status" >&5
3873 (exit $ac_status); }; }; then
3874 eval "$ac_ac_Header=yes"
3876 echo "$as_me: failed program was:" >&5
3877 cat conftest.
$ac_ext >&5
3878 eval "$ac_ac_Header=no"
3880 rm -f conftest.
$ac_objext conftest.
$ac_ext
3882 echo "$as_me:3882: result: `eval echo '${'$ac_ac_Header'}'`" >&5
3883 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
3884 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
3885 cat >>confdefs.h
<<EOF
3886 #define `echo "HAVE_$ac_hdr" | $ac_tr_cpp` 1
3889 ac_header_dirent
=$ac_hdr; break
3893 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3894 if test $ac_header_dirent = dirent.h
; then
3895 echo "$as_me:3895: checking for opendir in -ldir" >&5
3896 echo $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6
3897 if test "${ac_cv_lib_dir_opendir+set}" = set; then
3898 echo $ECHO_N "(cached) $ECHO_C" >&6
3900 ac_check_lib_save_LIBS
=$LIBS
3902 cat >conftest.
$ac_ext <<_ACEOF
3903 #line 3903 "configure"
3904 #include "confdefs.h"
3906 /* Override any gcc2 internal prototype to avoid an error. */
3910 /* We use char because int might match the return type of a gcc2
3911 builtin and then its argument prototype would still apply. */
3921 rm -f conftest.
$ac_objext conftest
$ac_exeext
3922 if { (eval echo "$as_me:3922: \"$ac_link\"") >&5
3923 (eval $ac_link) 2>&5
3925 echo "$as_me:3925: \$? = $ac_status" >&5
3926 (exit $ac_status); } &&
3927 { ac_try
='test -s conftest$ac_exeext'
3928 { (eval echo "$as_me:3928: \"$ac_try\"") >&5
3931 echo "$as_me:3931: \$? = $ac_status" >&5
3932 (exit $ac_status); }; }; then
3933 ac_cv_lib_dir_opendir
=yes
3935 echo "$as_me: failed program was:" >&5
3936 cat conftest.
$ac_ext >&5
3937 ac_cv_lib_dir_opendir
=no
3939 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3940 LIBS
=$ac_check_lib_save_LIBS
3942 echo "$as_me:3942: result: $ac_cv_lib_dir_opendir" >&5
3943 echo "${ECHO_T}$ac_cv_lib_dir_opendir" >&6
3944 if test $ac_cv_lib_dir_opendir = yes; then
3949 echo "$as_me:3949: checking for opendir in -lx" >&5
3950 echo $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6
3951 if test "${ac_cv_lib_x_opendir+set}" = set; then
3952 echo $ECHO_N "(cached) $ECHO_C" >&6
3954 ac_check_lib_save_LIBS
=$LIBS
3956 cat >conftest.
$ac_ext <<_ACEOF
3957 #line 3957 "configure"
3958 #include "confdefs.h"
3960 /* Override any gcc2 internal prototype to avoid an error. */
3964 /* We use char because int might match the return type of a gcc2
3965 builtin and then its argument prototype would still apply. */
3975 rm -f conftest.
$ac_objext conftest
$ac_exeext
3976 if { (eval echo "$as_me:3976: \"$ac_link\"") >&5
3977 (eval $ac_link) 2>&5
3979 echo "$as_me:3979: \$? = $ac_status" >&5
3980 (exit $ac_status); } &&
3981 { ac_try
='test -s conftest$ac_exeext'
3982 { (eval echo "$as_me:3982: \"$ac_try\"") >&5
3985 echo "$as_me:3985: \$? = $ac_status" >&5
3986 (exit $ac_status); }; }; then
3987 ac_cv_lib_x_opendir
=yes
3989 echo "$as_me: failed program was:" >&5
3990 cat conftest.
$ac_ext >&5
3991 ac_cv_lib_x_opendir
=no
3993 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3994 LIBS
=$ac_check_lib_save_LIBS
3996 echo "$as_me:3996: result: $ac_cv_lib_x_opendir" >&5
3997 echo "${ECHO_T}$ac_cv_lib_x_opendir" >&6
3998 if test $ac_cv_lib_x_opendir = yes; then
4004 for ac_header
in stdlib.h string.h memory.h
strings.h inttypes.h unistd.h
4006 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4007 echo "$as_me:4007: checking for $ac_header" >&5
4008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4009 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4010 echo $ECHO_N "(cached) $ECHO_C" >&6
4012 cat >conftest.
$ac_ext <<_ACEOF
4013 #line 4013 "configure"
4014 #include "confdefs.h"
4015 #include <$ac_header>
4017 if { (eval echo "$as_me:4017: \"$ac_cpp conftest.$ac_ext\"") >&5
4018 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4020 egrep -v '^ *\+' conftest.er1
>conftest.err
4022 cat conftest.err
>&5
4023 echo "$as_me:4023: \$? = $ac_status" >&5
4024 (exit $ac_status); } >/dev
/null
; then
4025 if test -s conftest.err
; then
4026 ac_cpp_err
=$ac_c_preproc_warn_flag
4033 if test -z "$ac_cpp_err"; then
4034 eval "$ac_ac_Header=yes"
4036 echo "$as_me: failed program was:" >&5
4037 cat conftest.
$ac_ext >&5
4038 eval "$ac_ac_Header=no"
4040 rm -f conftest.err conftest.
$ac_ext
4042 echo "$as_me:4042: result: `eval echo '${'$ac_ac_Header'}'`" >&5
4043 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
4044 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
4045 cat >>confdefs.h
<<EOF
4046 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
4052 echo "$as_me:4052: checking for struct stat.st_blocks" >&5
4053 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
4054 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
4055 echo $ECHO_N "(cached) $ECHO_C" >&6
4057 cat >conftest.
$ac_ext <<_ACEOF
4058 #line 4058 "configure"
4059 #include "confdefs.h"
4060 $ac_includes_default
4070 rm -f conftest.
$ac_objext
4071 if { (eval echo "$as_me:4071: \"$ac_compile\"") >&5
4072 (eval $ac_compile) 2>&5
4074 echo "$as_me:4074: \$? = $ac_status" >&5
4075 (exit $ac_status); } &&
4076 { ac_try
='test -s conftest.$ac_objext'
4077 { (eval echo "$as_me:4077: \"$ac_try\"") >&5
4080 echo "$as_me:4080: \$? = $ac_status" >&5
4081 (exit $ac_status); }; }; then
4082 ac_cv_member_struct_stat_st_blocks
=yes
4084 echo "$as_me: failed program was:" >&5
4085 cat conftest.
$ac_ext >&5
4086 ac_cv_member_struct_stat_st_blocks
=no
4088 rm -f conftest.
$ac_objext conftest.
$ac_ext
4090 echo "$as_me:4090: result: $ac_cv_member_struct_stat_st_blocks" >&5
4091 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
4092 if test $ac_cv_member_struct_stat_st_blocks = yes; then
4094 cat >>confdefs.h
<<EOF
4095 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
4098 cat >>confdefs.h
<<\EOF
4099 #define HAVE_ST_BLOCKS 1
4103 LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
4106 echo "$as_me:4106: checking whether struct tm is in sys/time.h or time.h" >&5
4107 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4108 if test "${ac_cv_struct_tm+set}" = set; then
4109 echo $ECHO_N "(cached) $ECHO_C" >&6
4111 cat >conftest.
$ac_ext <<_ACEOF
4112 #line 4112 "configure"
4113 #include "confdefs.h"
4114 #include <sys/types.h>
4120 struct tm *tp; tp->tm_sec;
4125 rm -f conftest.
$ac_objext
4126 if { (eval echo "$as_me:4126: \"$ac_compile\"") >&5
4127 (eval $ac_compile) 2>&5
4129 echo "$as_me:4129: \$? = $ac_status" >&5
4130 (exit $ac_status); } &&
4131 { ac_try
='test -s conftest.$ac_objext'
4132 { (eval echo "$as_me:4132: \"$ac_try\"") >&5
4135 echo "$as_me:4135: \$? = $ac_status" >&5
4136 (exit $ac_status); }; }; then
4137 ac_cv_struct_tm
=time.h
4139 echo "$as_me: failed program was:" >&5
4140 cat conftest.
$ac_ext >&5
4141 ac_cv_struct_tm
=sys
/time.h
4143 rm -f conftest.
$ac_objext conftest.
$ac_ext
4145 echo "$as_me:4145: result: $ac_cv_struct_tm" >&5
4146 echo "${ECHO_T}$ac_cv_struct_tm" >&6
4147 if test $ac_cv_struct_tm = sys
/time.h
; then
4149 cat >>confdefs.h
<<\EOF
4150 #define TM_IN_SYS_TIME 1
4155 echo "$as_me:4155: checking for struct tm.tm_zone" >&5
4156 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
4157 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
4158 echo $ECHO_N "(cached) $ECHO_C" >&6
4160 cat >conftest.
$ac_ext <<_ACEOF
4161 #line 4161 "configure"
4162 #include "confdefs.h"
4163 #include <sys/types.h>
4164 #include <$ac_cv_struct_tm>
4175 rm -f conftest.
$ac_objext
4176 if { (eval echo "$as_me:4176: \"$ac_compile\"") >&5
4177 (eval $ac_compile) 2>&5
4179 echo "$as_me:4179: \$? = $ac_status" >&5
4180 (exit $ac_status); } &&
4181 { ac_try
='test -s conftest.$ac_objext'
4182 { (eval echo "$as_me:4182: \"$ac_try\"") >&5
4185 echo "$as_me:4185: \$? = $ac_status" >&5
4186 (exit $ac_status); }; }; then
4187 ac_cv_member_struct_tm_tm_zone
=yes
4189 echo "$as_me: failed program was:" >&5
4190 cat conftest.
$ac_ext >&5
4191 ac_cv_member_struct_tm_tm_zone
=no
4193 rm -f conftest.
$ac_objext conftest.
$ac_ext
4195 echo "$as_me:4195: result: $ac_cv_member_struct_tm_tm_zone" >&5
4196 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
4197 if test $ac_cv_member_struct_tm_tm_zone = yes; then
4199 cat >>confdefs.h
<<EOF
4200 #define HAVE_STRUCT_TM_TM_ZONE 1
4205 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
4207 cat >>confdefs.h
<<\EOF
4208 #define HAVE_TM_ZONE 1
4212 echo "$as_me:4212: checking for tzname" >&5
4213 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
4214 if test "${ac_cv_var_tzname+set}" = set; then
4215 echo $ECHO_N "(cached) $ECHO_C" >&6
4217 cat >conftest.
$ac_ext <<_ACEOF
4218 #line 4218 "configure"
4219 #include "confdefs.h"
4221 #ifndef tzname /* For SGI. */
4222 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
4233 rm -f conftest.
$ac_objext conftest
$ac_exeext
4234 if { (eval echo "$as_me:4234: \"$ac_link\"") >&5
4235 (eval $ac_link) 2>&5
4237 echo "$as_me:4237: \$? = $ac_status" >&5
4238 (exit $ac_status); } &&
4239 { ac_try
='test -s conftest$ac_exeext'
4240 { (eval echo "$as_me:4240: \"$ac_try\"") >&5
4243 echo "$as_me:4243: \$? = $ac_status" >&5
4244 (exit $ac_status); }; }; then
4245 ac_cv_var_tzname
=yes
4247 echo "$as_me: failed program was:" >&5
4248 cat conftest.
$ac_ext >&5
4251 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4253 echo "$as_me:4253: result: $ac_cv_var_tzname" >&5
4254 echo "${ECHO_T}$ac_cv_var_tzname" >&6
4255 if test $ac_cv_var_tzname = yes; then
4257 cat >>confdefs.h
<<\EOF
4258 #define HAVE_TZNAME 1
4264 echo "$as_me:4264: checking whether stat file-mode macros are broken" >&5
4265 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
4266 if test "${ac_cv_header_stat_broken+set}" = set; then
4267 echo $ECHO_N "(cached) $ECHO_C" >&6
4269 cat >conftest.
$ac_ext <<_ACEOF
4270 #line 4270 "configure"
4271 #include "confdefs.h"
4272 #include <sys/types.h>
4273 #include <sys/stat.h>
4275 #if defined(S_ISBLK) && defined(S_IFDIR)
4276 # if S_ISBLK (S_IFDIR)
4281 #if defined(S_ISBLK) && defined(S_IFCHR)
4282 # if S_ISBLK (S_IFCHR)
4287 #if defined(S_ISLNK) && defined(S_IFREG)
4288 # if S_ISLNK (S_IFREG)
4293 #if defined(S_ISSOCK) && defined(S_IFREG)
4294 # if S_ISSOCK (S_IFREG)
4300 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4301 egrep "You lose" >/dev
/null
2>&1; then
4302 ac_cv_header_stat_broken
=yes
4304 ac_cv_header_stat_broken
=no
4309 echo "$as_me:4309: result: $ac_cv_header_stat_broken" >&5
4310 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
4311 if test $ac_cv_header_stat_broken = yes; then
4313 cat >>confdefs.h
<<\EOF
4314 #define STAT_MACROS_BROKEN 1
4319 echo "$as_me:4319: checking for nanoseconds member of struct stat.st_mtim" >&5
4320 echo $ECHO_N "checking for nanoseconds member of struct stat.st_mtim... $ECHO_C" >&6
4321 if test "${ac_cv_struct_st_mtim_nsec+set}" = set; then
4322 echo $ECHO_N "(cached) $ECHO_C" >&6
4324 ac_save_CPPFLAGS
="$CPPFLAGS"
4325 ac_cv_struct_st_mtim_nsec
=no
4326 # tv_nsec -- the usual case
4327 # _tv_nsec -- Solaris 2.6, if
4328 # (defined _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED == 1
4329 # && !defined __EXTENSIONS__)
4330 # st__tim.tv_nsec -- UnixWare 2.1.2
4331 for ac_val
in tv_nsec _tv_nsec st__tim.tv_nsec
; do
4332 CPPFLAGS
="$ac_save_CPPFLAGS -DST_MTIM_NSEC=$ac_val"
4333 cat >conftest.
$ac_ext <<_ACEOF
4334 #line 4334 "configure"
4335 #include "confdefs.h"
4336 #include <sys/types.h>
4337 #include <sys/stat.h>
4341 struct stat s; s.st_mtim.ST_MTIM_NSEC;
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_struct_st_mtim_nsec
=$ac_val; break
4360 echo "$as_me: failed program was:" >&5
4361 cat conftest.
$ac_ext >&5
4363 rm -f conftest.
$ac_objext conftest.
$ac_ext
4365 CPPFLAGS
="$ac_save_CPPFLAGS"
4367 echo "$as_me:4367: result: $ac_cv_struct_st_mtim_nsec" >&5
4368 echo "${ECHO_T}$ac_cv_struct_st_mtim_nsec" >&6
4370 if test $ac_cv_struct_st_mtim_nsec != no
; then
4372 cat >>confdefs.h
<<EOF
4373 #define ST_MTIM_NSEC $ac_cv_struct_st_mtim_nsec
4378 echo "$as_me:4378: checking for st_dm_mode in struct stat" >&5
4379 echo $ECHO_N "checking for st_dm_mode in struct stat... $ECHO_C" >&6
4380 if test "${ac_cv_struct_st_dm_mode+set}" = set; then
4381 echo $ECHO_N "(cached) $ECHO_C" >&6
4383 cat >conftest.
$ac_ext <<_ACEOF
4384 #line 4384 "configure"
4385 #include "confdefs.h"
4386 #include <sys/types.h>
4387 #include <sys/stat.h>
4391 struct stat s; s.st_dm_mode;
4396 rm -f conftest.
$ac_objext
4397 if { (eval echo "$as_me:4397: \"$ac_compile\"") >&5
4398 (eval $ac_compile) 2>&5
4400 echo "$as_me:4400: \$? = $ac_status" >&5
4401 (exit $ac_status); } &&
4402 { ac_try
='test -s conftest.$ac_objext'
4403 { (eval echo "$as_me:4403: \"$ac_try\"") >&5
4406 echo "$as_me:4406: \$? = $ac_status" >&5
4407 (exit $ac_status); }; }; then
4408 ac_cv_struct_st_dm_mode
=yes
4410 echo "$as_me: failed program was:" >&5
4411 cat conftest.
$ac_ext >&5
4412 ac_cv_struct_st_dm_mode
=no
4414 rm -f conftest.
$ac_objext conftest.
$ac_ext
4416 echo "$as_me:4416: result: $ac_cv_struct_st_dm_mode" >&5
4417 echo "${ECHO_T}$ac_cv_struct_st_dm_mode" >&6
4419 if test $ac_cv_struct_st_dm_mode = yes; then
4421 cat >>confdefs.h
<<EOF
4422 #define HAVE_ST_DM_MODE 1
4427 echo "$as_me:4427: checking whether time.h and sys/time.h may both be included" >&5
4428 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
4429 if test "${ac_cv_header_time+set}" = set; then
4430 echo $ECHO_N "(cached) $ECHO_C" >&6
4432 cat >conftest.
$ac_ext <<_ACEOF
4433 #line 4433 "configure"
4434 #include "confdefs.h"
4435 #include <sys/types.h>
4436 #include <sys/time.h>
4447 rm -f conftest.
$ac_objext
4448 if { (eval echo "$as_me:4448: \"$ac_compile\"") >&5
4449 (eval $ac_compile) 2>&5
4451 echo "$as_me:4451: \$? = $ac_status" >&5
4452 (exit $ac_status); } &&
4453 { ac_try
='test -s conftest.$ac_objext'
4454 { (eval echo "$as_me:4454: \"$ac_try\"") >&5
4457 echo "$as_me:4457: \$? = $ac_status" >&5
4458 (exit $ac_status); }; }; then
4459 ac_cv_header_time
=yes
4461 echo "$as_me: failed program was:" >&5
4462 cat conftest.
$ac_ext >&5
4463 ac_cv_header_time
=no
4465 rm -f conftest.
$ac_objext conftest.
$ac_ext
4467 echo "$as_me:4467: result: $ac_cv_header_time" >&5
4468 echo "${ECHO_T}$ac_cv_header_time" >&6
4469 if test $ac_cv_header_time = yes; then
4471 cat >>confdefs.h
<<\EOF
4472 #define TIME_WITH_SYS_TIME 1
4477 echo "$as_me:4477: checking for struct timespec" >&5
4478 echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6
4479 if test "${fu_cv_sys_struct_timespec+set}" = set; then
4480 echo $ECHO_N "(cached) $ECHO_C" >&6
4482 cat >conftest.
$ac_ext <<_ACEOF
4483 #line 4483 "configure"
4484 #include "confdefs.h"
4486 # if TIME_WITH_SYS_TIME
4487 # include <sys/time.h>
4490 # if HAVE_SYS_TIME_H
4491 # include <sys/time.h>
4500 static struct timespec x; x.tv_sec = x.tv_nsec;
4505 rm -f conftest.
$ac_objext
4506 if { (eval echo "$as_me:4506: \"$ac_compile\"") >&5
4507 (eval $ac_compile) 2>&5
4509 echo "$as_me:4509: \$? = $ac_status" >&5
4510 (exit $ac_status); } &&
4511 { ac_try
='test -s conftest.$ac_objext'
4512 { (eval echo "$as_me:4512: \"$ac_try\"") >&5
4515 echo "$as_me:4515: \$? = $ac_status" >&5
4516 (exit $ac_status); }; }; then
4517 fu_cv_sys_struct_timespec
=yes
4519 echo "$as_me: failed program was:" >&5
4520 cat conftest.
$ac_ext >&5
4521 fu_cv_sys_struct_timespec
=no
4523 rm -f conftest.
$ac_objext conftest.
$ac_ext
4526 echo "$as_me:4526: result: $fu_cv_sys_struct_timespec" >&5
4527 echo "${ECHO_T}$fu_cv_sys_struct_timespec" >&6
4529 if test $fu_cv_sys_struct_timespec = yes; then
4531 cat >>confdefs.h
<<EOF
4532 #define HAVE_STRUCT_TIMESPEC 1
4537 echo "$as_me:4537: checking for uid_t in sys/types.h" >&5
4538 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
4539 if test "${ac_cv_type_uid_t+set}" = set; then
4540 echo $ECHO_N "(cached) $ECHO_C" >&6
4542 cat >conftest.
$ac_ext <<_ACEOF
4543 #line 4543 "configure"
4544 #include "confdefs.h"
4545 #include <sys/types.h>
4548 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4549 egrep "uid_t" >/dev
/null
2>&1; then
4550 ac_cv_type_uid_t
=yes
4557 echo "$as_me:4557: result: $ac_cv_type_uid_t" >&5
4558 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
4559 if test $ac_cv_type_uid_t = no
; then
4561 cat >>confdefs.h
<<\EOF
4565 cat >>confdefs.h
<<\EOF
4571 echo "$as_me:4571: checking type of array argument to getgroups" >&5
4572 echo $ECHO_N "checking type of array argument to getgroups... $ECHO_C" >&6
4573 if test "${ac_cv_type_getgroups+set}" = set; then
4574 echo $ECHO_N "(cached) $ECHO_C" >&6
4576 if test "$cross_compiling" = yes; then
4577 ac_cv_type_getgroups
=cross
4579 cat >conftest.
$ac_ext <<_ACEOF
4580 #line 4580 "configure"
4581 #include "confdefs.h"
4582 /* Thanks to Mike Rendell for this test. */
4583 #include <sys/types.h>
4586 #define MAX(x, y) ((x) > (y) ? (x) : (y))
4593 union { gid_t gval; long lval; } val;
4596 for (i = 0; i < NGID; i++)
4597 gidset[i] = val.gval;
4598 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
4600 /* Exit non-zero if getgroups seems to require an array of ints. This
4601 happens when gid_t is short but getgroups modifies an array of ints. */
4602 exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
4605 rm -f conftest
$ac_exeext
4606 if { (eval echo "$as_me:4606: \"$ac_link\"") >&5
4607 (eval $ac_link) 2>&5
4609 echo "$as_me:4609: \$? = $ac_status" >&5
4610 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4611 { (eval echo "$as_me:4611: \"$ac_try\"") >&5
4614 echo "$as_me:4614: \$? = $ac_status" >&5
4615 (exit $ac_status); }; }; then
4616 ac_cv_type_getgroups
=gid_t
4618 echo "$as_me: program exited with status $ac_status" >&5
4619 echo "$as_me: failed program was:" >&5
4620 cat conftest.
$ac_ext >&5
4621 ac_cv_type_getgroups
=int
4623 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_ext
4625 if test $ac_cv_type_getgroups = cross
; then
4626 cat >conftest.
$ac_ext <<_ACEOF
4627 #line 4627 "configure"
4628 #include "confdefs.h"
4632 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4633 egrep "getgroups.*int.*gid_t" >/dev
/null
2>&1; then
4634 ac_cv_type_getgroups
=gid_t
4636 ac_cv_type_getgroups
=int
4642 echo "$as_me:4642: result: $ac_cv_type_getgroups" >&5
4643 echo "${ECHO_T}$ac_cv_type_getgroups" >&6
4645 cat >>confdefs.h
<<EOF
4646 #define GETGROUPS_T $ac_cv_type_getgroups
4649 echo "$as_me:4649: checking for mode_t" >&5
4650 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
4651 if test "${ac_cv_type_mode_t+set}" = set; then
4652 echo $ECHO_N "(cached) $ECHO_C" >&6
4654 cat >conftest.
$ac_ext <<_ACEOF
4655 #line 4655 "configure"
4656 #include "confdefs.h"
4657 $ac_includes_default
4663 if (sizeof (mode_t))
4669 rm -f conftest.
$ac_objext
4670 if { (eval echo "$as_me:4670: \"$ac_compile\"") >&5
4671 (eval $ac_compile) 2>&5
4673 echo "$as_me:4673: \$? = $ac_status" >&5
4674 (exit $ac_status); } &&
4675 { ac_try
='test -s conftest.$ac_objext'
4676 { (eval echo "$as_me:4676: \"$ac_try\"") >&5
4679 echo "$as_me:4679: \$? = $ac_status" >&5
4680 (exit $ac_status); }; }; then
4681 ac_cv_type_mode_t
=yes
4683 echo "$as_me: failed program was:" >&5
4684 cat conftest.
$ac_ext >&5
4685 ac_cv_type_mode_t
=no
4687 rm -f conftest.
$ac_objext conftest.
$ac_ext
4689 echo "$as_me:4689: result: $ac_cv_type_mode_t" >&5
4690 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
4691 if test $ac_cv_type_mode_t = yes; then
4695 cat >>confdefs.h
<<EOF
4701 echo "$as_me:4701: checking for off_t" >&5
4702 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
4703 if test "${ac_cv_type_off_t+set}" = set; then
4704 echo $ECHO_N "(cached) $ECHO_C" >&6
4706 cat >conftest.
$ac_ext <<_ACEOF
4707 #line 4707 "configure"
4708 #include "confdefs.h"
4709 $ac_includes_default
4721 rm -f conftest.
$ac_objext
4722 if { (eval echo "$as_me:4722: \"$ac_compile\"") >&5
4723 (eval $ac_compile) 2>&5
4725 echo "$as_me:4725: \$? = $ac_status" >&5
4726 (exit $ac_status); } &&
4727 { ac_try
='test -s conftest.$ac_objext'
4728 { (eval echo "$as_me:4728: \"$ac_try\"") >&5
4731 echo "$as_me:4731: \$? = $ac_status" >&5
4732 (exit $ac_status); }; }; then
4733 ac_cv_type_off_t
=yes
4735 echo "$as_me: failed program was:" >&5
4736 cat conftest.
$ac_ext >&5
4739 rm -f conftest.
$ac_objext conftest.
$ac_ext
4741 echo "$as_me:4741: result: $ac_cv_type_off_t" >&5
4742 echo "${ECHO_T}$ac_cv_type_off_t" >&6
4743 if test $ac_cv_type_off_t = yes; then
4747 cat >>confdefs.h
<<EOF
4753 echo "$as_me:4753: checking for pid_t" >&5
4754 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
4755 if test "${ac_cv_type_pid_t+set}" = set; then
4756 echo $ECHO_N "(cached) $ECHO_C" >&6
4758 cat >conftest.
$ac_ext <<_ACEOF
4759 #line 4759 "configure"
4760 #include "confdefs.h"
4761 $ac_includes_default
4773 rm -f conftest.
$ac_objext
4774 if { (eval echo "$as_me:4774: \"$ac_compile\"") >&5
4775 (eval $ac_compile) 2>&5
4777 echo "$as_me:4777: \$? = $ac_status" >&5
4778 (exit $ac_status); } &&
4779 { ac_try
='test -s conftest.$ac_objext'
4780 { (eval echo "$as_me:4780: \"$ac_try\"") >&5
4783 echo "$as_me:4783: \$? = $ac_status" >&5
4784 (exit $ac_status); }; }; then
4785 ac_cv_type_pid_t
=yes
4787 echo "$as_me: failed program was:" >&5
4788 cat conftest.
$ac_ext >&5
4791 rm -f conftest.
$ac_objext conftest.
$ac_ext
4793 echo "$as_me:4793: result: $ac_cv_type_pid_t" >&5
4794 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
4795 if test $ac_cv_type_pid_t = yes; then
4799 cat >>confdefs.h
<<EOF
4805 echo "$as_me:4805: checking return type of signal handlers" >&5
4806 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4807 if test "${ac_cv_type_signal+set}" = set; then
4808 echo $ECHO_N "(cached) $ECHO_C" >&6
4810 cat >conftest.
$ac_ext <<_ACEOF
4811 #line 4811 "configure"
4812 #include "confdefs.h"
4813 #include <sys/types.h>
4819 extern "C" void (*signal (int, void (*)(int)))(int);
4821 void (*signal ()) ();
4832 rm -f conftest.
$ac_objext
4833 if { (eval echo "$as_me:4833: \"$ac_compile\"") >&5
4834 (eval $ac_compile) 2>&5
4836 echo "$as_me:4836: \$? = $ac_status" >&5
4837 (exit $ac_status); } &&
4838 { ac_try
='test -s conftest.$ac_objext'
4839 { (eval echo "$as_me:4839: \"$ac_try\"") >&5
4842 echo "$as_me:4842: \$? = $ac_status" >&5
4843 (exit $ac_status); }; }; then
4844 ac_cv_type_signal
=void
4846 echo "$as_me: failed program was:" >&5
4847 cat conftest.
$ac_ext >&5
4848 ac_cv_type_signal
=int
4850 rm -f conftest.
$ac_objext conftest.
$ac_ext
4852 echo "$as_me:4852: result: $ac_cv_type_signal" >&5
4853 echo "${ECHO_T}$ac_cv_type_signal" >&6
4855 cat >>confdefs.h
<<EOF
4856 #define RETSIGTYPE $ac_cv_type_signal
4859 echo "$as_me:4859: checking for size_t" >&5
4860 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4861 if test "${ac_cv_type_size_t+set}" = set; then
4862 echo $ECHO_N "(cached) $ECHO_C" >&6
4864 cat >conftest.
$ac_ext <<_ACEOF
4865 #line 4865 "configure"
4866 #include "confdefs.h"
4867 $ac_includes_default
4873 if (sizeof (size_t))
4879 rm -f conftest.
$ac_objext
4880 if { (eval echo "$as_me:4880: \"$ac_compile\"") >&5
4881 (eval $ac_compile) 2>&5
4883 echo "$as_me:4883: \$? = $ac_status" >&5
4884 (exit $ac_status); } &&
4885 { ac_try
='test -s conftest.$ac_objext'
4886 { (eval echo "$as_me:4886: \"$ac_try\"") >&5
4889 echo "$as_me:4889: \$? = $ac_status" >&5
4890 (exit $ac_status); }; }; then
4891 ac_cv_type_size_t
=yes
4893 echo "$as_me: failed program was:" >&5
4894 cat conftest.
$ac_ext >&5
4895 ac_cv_type_size_t
=no
4897 rm -f conftest.
$ac_objext conftest.
$ac_ext
4899 echo "$as_me:4899: result: $ac_cv_type_size_t" >&5
4900 echo "${ECHO_T}$ac_cv_type_size_t" >&6
4901 if test $ac_cv_type_size_t = yes; then
4905 cat >>confdefs.h
<<EOF
4906 #define size_t unsigned
4911 echo "$as_me:4911: checking for inttypes.h" >&5
4912 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
4913 if test "${jm_ac_cv_header_inttypes_h+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 #include <sys/types.h>
4920 #include <inttypes.h>
4924 uintmax_t i = (uintmax_t) -1;
4929 rm -f conftest.
$ac_objext
4930 if { (eval echo "$as_me:4930: \"$ac_compile\"") >&5
4931 (eval $ac_compile) 2>&5
4933 echo "$as_me:4933: \$? = $ac_status" >&5
4934 (exit $ac_status); } &&
4935 { ac_try
='test -s conftest.$ac_objext'
4936 { (eval echo "$as_me:4936: \"$ac_try\"") >&5
4939 echo "$as_me:4939: \$? = $ac_status" >&5
4940 (exit $ac_status); }; }; then
4941 jm_ac_cv_header_inttypes_h
=yes
4943 echo "$as_me: failed program was:" >&5
4944 cat conftest.
$ac_ext >&5
4945 jm_ac_cv_header_inttypes_h
=no
4947 rm -f conftest.
$ac_objext conftest.
$ac_ext
4949 echo "$as_me:4949: result: $jm_ac_cv_header_inttypes_h" >&5
4950 echo "${ECHO_T}$jm_ac_cv_header_inttypes_h" >&6
4951 if test $jm_ac_cv_header_inttypes_h = yes; then
4953 cat >>confdefs.h
<<EOF
4954 #define HAVE_INTTYPES_H 1
4959 echo "$as_me:4959: checking for unsigned long long" >&5
4960 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
4961 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
4962 echo $ECHO_N "(cached) $ECHO_C" >&6
4964 cat >conftest.
$ac_ext <<_ACEOF
4965 #line 4965 "configure"
4966 #include "confdefs.h"
4967 unsigned long long ull = 1; int i = 63;
4971 unsigned long long ullmax = (unsigned long long) -1;
4972 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
4977 rm -f conftest.
$ac_objext conftest
$ac_exeext
4978 if { (eval echo "$as_me:4978: \"$ac_link\"") >&5
4979 (eval $ac_link) 2>&5
4981 echo "$as_me:4981: \$? = $ac_status" >&5
4982 (exit $ac_status); } &&
4983 { ac_try
='test -s conftest$ac_exeext'
4984 { (eval echo "$as_me:4984: \"$ac_try\"") >&5
4987 echo "$as_me:4987: \$? = $ac_status" >&5
4988 (exit $ac_status); }; }; then
4989 ac_cv_type_unsigned_long_long
=yes
4991 echo "$as_me: failed program was:" >&5
4992 cat conftest.
$ac_ext >&5
4993 ac_cv_type_unsigned_long_long
=no
4995 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4997 echo "$as_me:4997: result: $ac_cv_type_unsigned_long_long" >&5
4998 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
4999 if test $ac_cv_type_unsigned_long_long = yes; then
5001 cat >>confdefs.h
<<\EOF
5002 #define HAVE_UNSIGNED_LONG_LONG 1
5007 if test $jm_ac_cv_header_inttypes_h = no
; then
5009 test $ac_cv_type_unsigned_long_long = yes \
5010 && ac_type
='unsigned long long' \
5011 || ac_type
='unsigned long'
5013 cat >>confdefs.h
<<EOF
5014 #define uintmax_t $ac_type
5019 echo "$as_me:5019: checking whether sys/types.h defines makedev" >&5
5020 echo $ECHO_N "checking whether sys/types.h defines makedev... $ECHO_C" >&6
5021 if test "${ac_cv_header_sys_types_h_makedev+set}" = set; then
5022 echo $ECHO_N "(cached) $ECHO_C" >&6
5024 cat >conftest.
$ac_ext <<_ACEOF
5025 #line 5025 "configure"
5026 #include "confdefs.h"
5027 #include <sys/types.h>
5032 return makedev(0, 0);
5037 rm -f conftest.
$ac_objext conftest
$ac_exeext
5038 if { (eval echo "$as_me:5038: \"$ac_link\"") >&5
5039 (eval $ac_link) 2>&5
5041 echo "$as_me:5041: \$? = $ac_status" >&5
5042 (exit $ac_status); } &&
5043 { ac_try
='test -s conftest$ac_exeext'
5044 { (eval echo "$as_me:5044: \"$ac_try\"") >&5
5047 echo "$as_me:5047: \$? = $ac_status" >&5
5048 (exit $ac_status); }; }; then
5049 ac_cv_header_sys_types_h_makedev
=yes
5051 echo "$as_me: failed program was:" >&5
5052 cat conftest.
$ac_ext >&5
5053 ac_cv_header_sys_types_h_makedev
=no
5055 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5058 echo "$as_me:5058: result: $ac_cv_header_sys_types_h_makedev" >&5
5059 echo "${ECHO_T}$ac_cv_header_sys_types_h_makedev" >&6
5061 if test $ac_cv_header_sys_types_h_makedev = no
; then
5062 echo "$as_me:5062: checking for sys/mkdev.h" >&5
5063 echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6
5064 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
5065 echo $ECHO_N "(cached) $ECHO_C" >&6
5067 cat >conftest.
$ac_ext <<_ACEOF
5068 #line 5068 "configure"
5069 #include "confdefs.h"
5070 #include <sys/mkdev.h>
5072 if { (eval echo "$as_me:5072: \"$ac_cpp conftest.$ac_ext\"") >&5
5073 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5075 egrep -v '^ *\+' conftest.er1
>conftest.err
5077 cat conftest.err
>&5
5078 echo "$as_me:5078: \$? = $ac_status" >&5
5079 (exit $ac_status); } >/dev
/null
; then
5080 if test -s conftest.err
; then
5081 ac_cpp_err
=$ac_c_preproc_warn_flag
5088 if test -z "$ac_cpp_err"; then
5089 ac_cv_header_sys_mkdev_h
=yes
5091 echo "$as_me: failed program was:" >&5
5092 cat conftest.
$ac_ext >&5
5093 ac_cv_header_sys_mkdev_h
=no
5095 rm -f conftest.err conftest.
$ac_ext
5097 echo "$as_me:5097: result: $ac_cv_header_sys_mkdev_h" >&5
5098 echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6
5099 if test $ac_cv_header_sys_mkdev_h = yes; then
5101 cat >>confdefs.h
<<\EOF
5102 #define MAJOR_IN_MKDEV 1
5107 if test $ac_cv_header_sys_mkdev_h = no
; then
5108 echo "$as_me:5108: checking for sys/sysmacros.h" >&5
5109 echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6
5110 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
5111 echo $ECHO_N "(cached) $ECHO_C" >&6
5113 cat >conftest.
$ac_ext <<_ACEOF
5114 #line 5114 "configure"
5115 #include "confdefs.h"
5116 #include <sys/sysmacros.h>
5118 if { (eval echo "$as_me:5118: \"$ac_cpp conftest.$ac_ext\"") >&5
5119 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5121 egrep -v '^ *\+' conftest.er1
>conftest.err
5123 cat conftest.err
>&5
5124 echo "$as_me:5124: \$? = $ac_status" >&5
5125 (exit $ac_status); } >/dev
/null
; then
5126 if test -s conftest.err
; then
5127 ac_cpp_err
=$ac_c_preproc_warn_flag
5134 if test -z "$ac_cpp_err"; then
5135 ac_cv_header_sys_sysmacros_h
=yes
5137 echo "$as_me: failed program was:" >&5
5138 cat conftest.
$ac_ext >&5
5139 ac_cv_header_sys_sysmacros_h
=no
5141 rm -f conftest.err conftest.
$ac_ext
5143 echo "$as_me:5143: result: $ac_cv_header_sys_sysmacros_h" >&5
5144 echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6
5145 if test $ac_cv_header_sys_sysmacros_h = yes; then
5147 cat >>confdefs.h
<<\EOF
5148 #define MAJOR_IN_SYSMACROS 1
5156 echo "$as_me:5156: checking for struct stat.st_blksize" >&5
5157 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
5158 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
5159 echo $ECHO_N "(cached) $ECHO_C" >&6
5161 cat >conftest.
$ac_ext <<_ACEOF
5162 #line 5162 "configure"
5163 #include "confdefs.h"
5164 $ac_includes_default
5165 #include <sys/stat.h>
5176 rm -f conftest.
$ac_objext
5177 if { (eval echo "$as_me:5177: \"$ac_compile\"") >&5
5178 (eval $ac_compile) 2>&5
5180 echo "$as_me:5180: \$? = $ac_status" >&5
5181 (exit $ac_status); } &&
5182 { ac_try
='test -s conftest.$ac_objext'
5183 { (eval echo "$as_me:5183: \"$ac_try\"") >&5
5186 echo "$as_me:5186: \$? = $ac_status" >&5
5187 (exit $ac_status); }; }; then
5188 ac_cv_member_struct_stat_st_blksize
=yes
5190 echo "$as_me: failed program was:" >&5
5191 cat conftest.
$ac_ext >&5
5192 ac_cv_member_struct_stat_st_blksize
=no
5194 rm -f conftest.
$ac_objext conftest.
$ac_ext
5196 echo "$as_me:5196: result: $ac_cv_member_struct_stat_st_blksize" >&5
5197 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
5198 if test $ac_cv_member_struct_stat_st_blksize = yes; then
5200 cat >>confdefs.h
<<EOF
5201 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
5206 echo "$as_me:5206: checking for ino_t" >&5
5207 echo $ECHO_N "checking for ino_t... $ECHO_C" >&6
5208 if test "${ac_cv_type_ino_t+set}" = set; then
5209 echo $ECHO_N "(cached) $ECHO_C" >&6
5211 cat >conftest.
$ac_ext <<_ACEOF
5212 #line 5212 "configure"
5213 #include "confdefs.h"
5214 $ac_includes_default
5226 rm -f conftest.
$ac_objext
5227 if { (eval echo "$as_me:5227: \"$ac_compile\"") >&5
5228 (eval $ac_compile) 2>&5
5230 echo "$as_me:5230: \$? = $ac_status" >&5
5231 (exit $ac_status); } &&
5232 { ac_try
='test -s conftest.$ac_objext'
5233 { (eval echo "$as_me:5233: \"$ac_try\"") >&5
5236 echo "$as_me:5236: \$? = $ac_status" >&5
5237 (exit $ac_status); }; }; then
5238 ac_cv_type_ino_t
=yes
5240 echo "$as_me: failed program was:" >&5
5241 cat conftest.
$ac_ext >&5
5244 rm -f conftest.
$ac_objext conftest.
$ac_ext
5246 echo "$as_me:5246: result: $ac_cv_type_ino_t" >&5
5247 echo "${ECHO_T}$ac_cv_type_ino_t" >&6
5248 if test $ac_cv_type_ino_t = yes; then
5252 cat >>confdefs.h
<<EOF
5253 #define ino_t unsigned long
5258 echo "$as_me:5258: checking for ssize_t" >&5
5259 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
5260 if test "${ac_cv_type_ssize_t+set}" = set; then
5261 echo $ECHO_N "(cached) $ECHO_C" >&6
5263 cat >conftest.
$ac_ext <<_ACEOF
5264 #line 5264 "configure"
5265 #include "confdefs.h"
5266 $ac_includes_default
5272 if (sizeof (ssize_t))
5278 rm -f conftest.
$ac_objext
5279 if { (eval echo "$as_me:5279: \"$ac_compile\"") >&5
5280 (eval $ac_compile) 2>&5
5282 echo "$as_me:5282: \$? = $ac_status" >&5
5283 (exit $ac_status); } &&
5284 { ac_try
='test -s conftest.$ac_objext'
5285 { (eval echo "$as_me:5285: \"$ac_try\"") >&5
5288 echo "$as_me:5288: \$? = $ac_status" >&5
5289 (exit $ac_status); }; }; then
5290 ac_cv_type_ssize_t
=yes
5292 echo "$as_me: failed program was:" >&5
5293 cat conftest.
$ac_ext >&5
5294 ac_cv_type_ssize_t
=no
5296 rm -f conftest.
$ac_objext conftest.
$ac_ext
5298 echo "$as_me:5298: result: $ac_cv_type_ssize_t" >&5
5299 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
5300 if test $ac_cv_type_ssize_t = yes; then
5304 cat >>confdefs.h
<<EOF
5310 echo "$as_me:5310: checking for getpwnam in -lsun" >&5
5311 echo $ECHO_N "checking for getpwnam in -lsun... $ECHO_C" >&6
5312 if test "${ac_cv_lib_sun_getpwnam+set}" = set; then
5313 echo $ECHO_N "(cached) $ECHO_C" >&6
5315 ac_check_lib_save_LIBS
=$LIBS
5317 cat >conftest.
$ac_ext <<_ACEOF
5318 #line 5318 "configure"
5319 #include "confdefs.h"
5321 /* Override any gcc2 internal prototype to avoid an error. */
5325 /* We use char because int might match the return type of a gcc2
5326 builtin and then its argument prototype would still apply. */
5336 rm -f conftest.
$ac_objext conftest
$ac_exeext
5337 if { (eval echo "$as_me:5337: \"$ac_link\"") >&5
5338 (eval $ac_link) 2>&5
5340 echo "$as_me:5340: \$? = $ac_status" >&5
5341 (exit $ac_status); } &&
5342 { ac_try
='test -s conftest$ac_exeext'
5343 { (eval echo "$as_me:5343: \"$ac_try\"") >&5
5346 echo "$as_me:5346: \$? = $ac_status" >&5
5347 (exit $ac_status); }; }; then
5348 ac_cv_lib_sun_getpwnam
=yes
5350 echo "$as_me: failed program was:" >&5
5351 cat conftest.
$ac_ext >&5
5352 ac_cv_lib_sun_getpwnam
=no
5354 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5355 LIBS
=$ac_check_lib_save_LIBS
5357 echo "$as_me:5357: result: $ac_cv_lib_sun_getpwnam" >&5
5358 echo "${ECHO_T}$ac_cv_lib_sun_getpwnam" >&6
5359 if test $ac_cv_lib_sun_getpwnam = yes; then
5360 cat >>confdefs.h
<<EOF
5361 #define HAVE_LIBSUN 1
5368 for ac_header
in fcntl.h string.h limits.h unistd.h errno.h
5370 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
5371 echo "$as_me:5371: checking for $ac_header" >&5
5372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5373 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
5374 echo $ECHO_N "(cached) $ECHO_C" >&6
5376 cat >conftest.
$ac_ext <<_ACEOF
5377 #line 5377 "configure"
5378 #include "confdefs.h"
5379 #include <$ac_header>
5381 if { (eval echo "$as_me:5381: \"$ac_cpp conftest.$ac_ext\"") >&5
5382 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5384 egrep -v '^ *\+' conftest.er1
>conftest.err
5386 cat conftest.err
>&5
5387 echo "$as_me:5387: \$? = $ac_status" >&5
5388 (exit $ac_status); } >/dev
/null
; then
5389 if test -s conftest.err
; then
5390 ac_cpp_err
=$ac_c_preproc_warn_flag
5397 if test -z "$ac_cpp_err"; then
5398 eval "$ac_ac_Header=yes"
5400 echo "$as_me: failed program was:" >&5
5401 cat conftest.
$ac_ext >&5
5402 eval "$ac_ac_Header=no"
5404 rm -f conftest.err conftest.
$ac_ext
5406 echo "$as_me:5406: result: `eval echo '${'$ac_ac_Header'}'`" >&5
5407 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
5408 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
5409 cat >>confdefs.h
<<EOF
5410 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
5416 echo "$as_me:5416: checking for ANSI C header files" >&5
5417 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5418 if test "${ac_cv_header_stdc+set}" = set; then
5419 echo $ECHO_N "(cached) $ECHO_C" >&6
5421 cat >conftest.
$ac_ext <<_ACEOF
5422 #line 5422 "configure"
5423 #include "confdefs.h"
5430 if { (eval echo "$as_me:5430: \"$ac_cpp conftest.$ac_ext\"") >&5
5431 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5433 egrep -v '^ *\+' conftest.er1
>conftest.err
5435 cat conftest.err
>&5
5436 echo "$as_me:5436: \$? = $ac_status" >&5
5437 (exit $ac_status); } >/dev
/null
; then
5438 if test -s conftest.err
; then
5439 ac_cpp_err
=$ac_c_preproc_warn_flag
5446 if test -z "$ac_cpp_err"; then
5447 ac_cv_header_stdc
=yes
5449 echo "$as_me: failed program was:" >&5
5450 cat conftest.
$ac_ext >&5
5451 ac_cv_header_stdc
=no
5453 rm -f conftest.err conftest.
$ac_ext
5455 if test $ac_cv_header_stdc = yes; then
5456 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5457 cat >conftest.
$ac_ext <<_ACEOF
5458 #line 5458 "configure"
5459 #include "confdefs.h"
5463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5464 egrep "memchr" >/dev
/null
2>&1; then
5467 ac_cv_header_stdc
=no
5473 if test $ac_cv_header_stdc = yes; then
5474 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5475 cat >conftest.
$ac_ext <<_ACEOF
5476 #line 5476 "configure"
5477 #include "confdefs.h"
5481 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5482 egrep "free" >/dev
/null
2>&1; then
5485 ac_cv_header_stdc
=no
5491 if test $ac_cv_header_stdc = yes; then
5492 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5493 if test "$cross_compiling" = yes; then
5496 cat >conftest.
$ac_ext <<_ACEOF
5497 #line 5497 "configure"
5498 #include "confdefs.h"
5500 #if ((' ' & 0x0FF) == 0x020)
5501 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5502 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5504 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
5505 || ('j' <= (c) && (c) <= 'r') \
5506 || ('s' <= (c) && (c) <= 'z'))
5507 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5510 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5515 for (i = 0; i < 256; i++)
5516 if (XOR (islower (i), ISLOWER (i))
5517 || toupper (i) != TOUPPER (i))
5522 rm -f conftest
$ac_exeext
5523 if { (eval echo "$as_me:5523: \"$ac_link\"") >&5
5524 (eval $ac_link) 2>&5
5526 echo "$as_me:5526: \$? = $ac_status" >&5
5527 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5528 { (eval echo "$as_me:5528: \"$ac_try\"") >&5
5531 echo "$as_me:5531: \$? = $ac_status" >&5
5532 (exit $ac_status); }; }; then
5535 echo "$as_me: program exited with status $ac_status" >&5
5536 echo "$as_me: failed program was:" >&5
5537 cat conftest.
$ac_ext >&5
5538 ac_cv_header_stdc
=no
5540 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_ext
5544 echo "$as_me:5544: result: $ac_cv_header_stdc" >&5
5545 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5546 if test $ac_cv_header_stdc = yes; then
5548 cat >>confdefs.h
<<\EOF
5549 #define STDC_HEADERS 1
5554 echo "$as_me:5554: checking whether sys/types.h defines makedev" >&5
5555 echo $ECHO_N "checking whether sys/types.h defines makedev... $ECHO_C" >&6
5556 if test "${ac_cv_header_sys_types_h_makedev+set}" = set; then
5557 echo $ECHO_N "(cached) $ECHO_C" >&6
5559 cat >conftest.
$ac_ext <<_ACEOF
5560 #line 5560 "configure"
5561 #include "confdefs.h"
5562 #include <sys/types.h>
5567 return makedev(0, 0);
5572 rm -f conftest.
$ac_objext conftest
$ac_exeext
5573 if { (eval echo "$as_me:5573: \"$ac_link\"") >&5
5574 (eval $ac_link) 2>&5
5576 echo "$as_me:5576: \$? = $ac_status" >&5
5577 (exit $ac_status); } &&
5578 { ac_try
='test -s conftest$ac_exeext'
5579 { (eval echo "$as_me:5579: \"$ac_try\"") >&5
5582 echo "$as_me:5582: \$? = $ac_status" >&5
5583 (exit $ac_status); }; }; then
5584 ac_cv_header_sys_types_h_makedev
=yes
5586 echo "$as_me: failed program was:" >&5
5587 cat conftest.
$ac_ext >&5
5588 ac_cv_header_sys_types_h_makedev
=no
5590 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5593 echo "$as_me:5593: result: $ac_cv_header_sys_types_h_makedev" >&5
5594 echo "${ECHO_T}$ac_cv_header_sys_types_h_makedev" >&6
5596 if test $ac_cv_header_sys_types_h_makedev = no
; then
5597 echo "$as_me:5597: checking for sys/mkdev.h" >&5
5598 echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6
5599 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
5600 echo $ECHO_N "(cached) $ECHO_C" >&6
5602 cat >conftest.
$ac_ext <<_ACEOF
5603 #line 5603 "configure"
5604 #include "confdefs.h"
5605 #include <sys/mkdev.h>
5607 if { (eval echo "$as_me:5607: \"$ac_cpp conftest.$ac_ext\"") >&5
5608 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5610 egrep -v '^ *\+' conftest.er1
>conftest.err
5612 cat conftest.err
>&5
5613 echo "$as_me:5613: \$? = $ac_status" >&5
5614 (exit $ac_status); } >/dev
/null
; then
5615 if test -s conftest.err
; then
5616 ac_cpp_err
=$ac_c_preproc_warn_flag
5623 if test -z "$ac_cpp_err"; then
5624 ac_cv_header_sys_mkdev_h
=yes
5626 echo "$as_me: failed program was:" >&5
5627 cat conftest.
$ac_ext >&5
5628 ac_cv_header_sys_mkdev_h
=no
5630 rm -f conftest.err conftest.
$ac_ext
5632 echo "$as_me:5632: result: $ac_cv_header_sys_mkdev_h" >&5
5633 echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6
5634 if test $ac_cv_header_sys_mkdev_h = yes; then
5636 cat >>confdefs.h
<<\EOF
5637 #define MAJOR_IN_MKDEV 1
5642 if test $ac_cv_header_sys_mkdev_h = no
; then
5643 echo "$as_me:5643: checking for sys/sysmacros.h" >&5
5644 echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6
5645 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
5646 echo $ECHO_N "(cached) $ECHO_C" >&6
5648 cat >conftest.
$ac_ext <<_ACEOF
5649 #line 5649 "configure"
5650 #include "confdefs.h"
5651 #include <sys/sysmacros.h>
5653 if { (eval echo "$as_me:5653: \"$ac_cpp conftest.$ac_ext\"") >&5
5654 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5656 egrep -v '^ *\+' conftest.er1
>conftest.err
5658 cat conftest.err
>&5
5659 echo "$as_me:5659: \$? = $ac_status" >&5
5660 (exit $ac_status); } >/dev
/null
; then
5661 if test -s conftest.err
; then
5662 ac_cpp_err
=$ac_c_preproc_warn_flag
5669 if test -z "$ac_cpp_err"; then
5670 ac_cv_header_sys_sysmacros_h
=yes
5672 echo "$as_me: failed program was:" >&5
5673 cat conftest.
$ac_ext >&5
5674 ac_cv_header_sys_sysmacros_h
=no
5676 rm -f conftest.err conftest.
$ac_ext
5678 echo "$as_me:5678: result: $ac_cv_header_sys_sysmacros_h" >&5
5679 echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6
5680 if test $ac_cv_header_sys_sysmacros_h = yes; then
5682 cat >>confdefs.h
<<\EOF
5683 #define MAJOR_IN_SYSMACROS 1
5692 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
5693 ac_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $ac_tr_sh`
5694 echo "$as_me:5694: checking for $ac_hdr that defines DIR" >&5
5695 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
5696 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
5697 echo $ECHO_N "(cached) $ECHO_C" >&6
5699 cat >conftest.
$ac_ext <<_ACEOF
5700 #line 5700 "configure"
5701 #include "confdefs.h"
5702 #include <sys/types.h>
5713 rm -f conftest.
$ac_objext
5714 if { (eval echo "$as_me:5714: \"$ac_compile\"") >&5
5715 (eval $ac_compile) 2>&5
5717 echo "$as_me:5717: \$? = $ac_status" >&5
5718 (exit $ac_status); } &&
5719 { ac_try
='test -s conftest.$ac_objext'
5720 { (eval echo "$as_me:5720: \"$ac_try\"") >&5
5723 echo "$as_me:5723: \$? = $ac_status" >&5
5724 (exit $ac_status); }; }; then
5725 eval "$ac_ac_Header=yes"
5727 echo "$as_me: failed program was:" >&5
5728 cat conftest.
$ac_ext >&5
5729 eval "$ac_ac_Header=no"
5731 rm -f conftest.
$ac_objext conftest.
$ac_ext
5733 echo "$as_me:5733: result: `eval echo '${'$ac_ac_Header'}'`" >&5
5734 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
5735 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
5736 cat >>confdefs.h
<<EOF
5737 #define `echo "HAVE_$ac_hdr" | $ac_tr_cpp` 1
5740 ac_header_dirent
=$ac_hdr; break
5744 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5745 if test $ac_header_dirent = dirent.h
; then
5746 echo "$as_me:5746: checking for opendir in -ldir" >&5
5747 echo $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6
5748 if test "${ac_cv_lib_dir_opendir+set}" = set; then
5749 echo $ECHO_N "(cached) $ECHO_C" >&6
5751 ac_check_lib_save_LIBS
=$LIBS
5753 cat >conftest.
$ac_ext <<_ACEOF
5754 #line 5754 "configure"
5755 #include "confdefs.h"
5757 /* Override any gcc2 internal prototype to avoid an error. */
5761 /* We use char because int might match the return type of a gcc2
5762 builtin and then its argument prototype would still apply. */
5772 rm -f conftest.
$ac_objext conftest
$ac_exeext
5773 if { (eval echo "$as_me:5773: \"$ac_link\"") >&5
5774 (eval $ac_link) 2>&5
5776 echo "$as_me:5776: \$? = $ac_status" >&5
5777 (exit $ac_status); } &&
5778 { ac_try
='test -s conftest$ac_exeext'
5779 { (eval echo "$as_me:5779: \"$ac_try\"") >&5
5782 echo "$as_me:5782: \$? = $ac_status" >&5
5783 (exit $ac_status); }; }; then
5784 ac_cv_lib_dir_opendir
=yes
5786 echo "$as_me: failed program was:" >&5
5787 cat conftest.
$ac_ext >&5
5788 ac_cv_lib_dir_opendir
=no
5790 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5791 LIBS
=$ac_check_lib_save_LIBS
5793 echo "$as_me:5793: result: $ac_cv_lib_dir_opendir" >&5
5794 echo "${ECHO_T}$ac_cv_lib_dir_opendir" >&6
5795 if test $ac_cv_lib_dir_opendir = yes; then
5800 echo "$as_me:5800: checking for opendir in -lx" >&5
5801 echo $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6
5802 if test "${ac_cv_lib_x_opendir+set}" = set; then
5803 echo $ECHO_N "(cached) $ECHO_C" >&6
5805 ac_check_lib_save_LIBS
=$LIBS
5807 cat >conftest.
$ac_ext <<_ACEOF
5808 #line 5808 "configure"
5809 #include "confdefs.h"
5811 /* Override any gcc2 internal prototype to avoid an error. */
5815 /* We use char because int might match the return type of a gcc2
5816 builtin and then its argument prototype would still apply. */
5826 rm -f conftest.
$ac_objext conftest
$ac_exeext
5827 if { (eval echo "$as_me:5827: \"$ac_link\"") >&5
5828 (eval $ac_link) 2>&5
5830 echo "$as_me:5830: \$? = $ac_status" >&5
5831 (exit $ac_status); } &&
5832 { ac_try
='test -s conftest$ac_exeext'
5833 { (eval echo "$as_me:5833: \"$ac_try\"") >&5
5836 echo "$as_me:5836: \$? = $ac_status" >&5
5837 (exit $ac_status); }; }; then
5838 ac_cv_lib_x_opendir
=yes
5840 echo "$as_me: failed program was:" >&5
5841 cat conftest.
$ac_ext >&5
5842 ac_cv_lib_x_opendir
=no
5844 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5845 LIBS
=$ac_check_lib_save_LIBS
5847 echo "$as_me:5847: result: $ac_cv_lib_x_opendir" >&5
5848 echo "${ECHO_T}$ac_cv_lib_x_opendir" >&6
5849 if test $ac_cv_lib_x_opendir = yes; then
5855 echo "$as_me:5855: checking whether stat file-mode macros are broken" >&5
5856 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
5857 if test "${ac_cv_header_stat_broken+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"
5863 #include <sys/types.h>
5864 #include <sys/stat.h>
5866 #if defined(S_ISBLK) && defined(S_IFDIR)
5867 # if S_ISBLK (S_IFDIR)
5872 #if defined(S_ISBLK) && defined(S_IFCHR)
5873 # if S_ISBLK (S_IFCHR)
5878 #if defined(S_ISLNK) && defined(S_IFREG)
5879 # if S_ISLNK (S_IFREG)
5884 #if defined(S_ISSOCK) && defined(S_IFREG)
5885 # if S_ISSOCK (S_IFREG)
5891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5892 egrep "You lose" >/dev
/null
2>&1; then
5893 ac_cv_header_stat_broken
=yes
5895 ac_cv_header_stat_broken
=no
5900 echo "$as_me:5900: result: $ac_cv_header_stat_broken" >&5
5901 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
5902 if test $ac_cv_header_stat_broken = yes; then
5904 cat >>confdefs.h
<<\EOF
5905 #define STAT_MACROS_BROKEN 1
5910 echo "$as_me:5910: checking for sys/wait.h that is POSIX.1 compatible" >&5
5911 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
5912 if test "${ac_cv_header_sys_wait_h+set}" = set; then
5913 echo $ECHO_N "(cached) $ECHO_C" >&6
5915 cat >conftest.
$ac_ext <<_ACEOF
5916 #line 5916 "configure"
5917 #include "confdefs.h"
5918 #include <sys/types.h>
5919 #include <sys/wait.h>
5921 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
5924 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5932 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
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_header_sys_wait_h
=yes
5951 echo "$as_me: failed program was:" >&5
5952 cat conftest.
$ac_ext >&5
5953 ac_cv_header_sys_wait_h
=no
5955 rm -f conftest.
$ac_objext conftest.
$ac_ext
5957 echo "$as_me:5957: result: $ac_cv_header_sys_wait_h" >&5
5958 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
5959 if test $ac_cv_header_sys_wait_h = yes; then
5961 cat >>confdefs.h
<<\EOF
5962 #define HAVE_SYS_WAIT_H 1
5967 echo "$as_me:5967: checking how to get filesystem type" >&5
5968 echo $ECHO_N "checking how to get filesystem type... $ECHO_C" >&6
5970 # The order of these tests is important.
5971 cat >conftest.
$ac_ext <<_ACEOF
5972 #line 5972 "configure"
5973 #include "confdefs.h"
5974 #include <sys/statvfs.h>
5975 #include <sys/fstyp.h>
5977 if { (eval echo "$as_me:5977: \"$ac_cpp conftest.$ac_ext\"") >&5
5978 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5980 egrep -v '^ *\+' conftest.er1
>conftest.err
5982 cat conftest.err
>&5
5983 echo "$as_me:5983: \$? = $ac_status" >&5
5984 (exit $ac_status); } >/dev
/null
; then
5985 if test -s conftest.err
; then
5986 ac_cpp_err
=$ac_c_preproc_warn_flag
5993 if test -z "$ac_cpp_err"; then
5995 cat >>confdefs.h
<<\EOF
5996 #define FSTYPE_STATVFS 1
6000 echo "$as_me: failed program was:" >&5
6001 cat conftest.
$ac_ext >&5
6004 rm -f conftest.err conftest.
$ac_ext
6005 if test $fstype = no
; then
6006 cat >conftest.
$ac_ext <<_ACEOF
6007 #line 6007 "configure"
6008 #include "confdefs.h"
6009 #include <sys/statfs.h>
6010 #include <sys/fstyp.h>
6012 if { (eval echo "$as_me:6012: \"$ac_cpp conftest.$ac_ext\"") >&5
6013 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6015 egrep -v '^ *\+' conftest.er1
>conftest.err
6017 cat conftest.err
>&5
6018 echo "$as_me:6018: \$? = $ac_status" >&5
6019 (exit $ac_status); } >/dev
/null
; then
6020 if test -s conftest.err
; then
6021 ac_cpp_err
=$ac_c_preproc_warn_flag
6028 if test -z "$ac_cpp_err"; then
6030 cat >>confdefs.h
<<\EOF
6031 #define FSTYPE_USG_STATFS 1
6035 echo "$as_me: failed program was:" >&5
6036 cat conftest.
$ac_ext >&5
6039 rm -f conftest.err conftest.
$ac_ext
6041 if test $fstype = no
; then
6042 cat >conftest.
$ac_ext <<_ACEOF
6043 #line 6043 "configure"
6044 #include "confdefs.h"
6045 #include <sys/statfs.h>
6046 #include <sys/vmount.h>
6048 if { (eval echo "$as_me:6048: \"$ac_cpp conftest.$ac_ext\"") >&5
6049 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6051 egrep -v '^ *\+' conftest.er1
>conftest.err
6053 cat conftest.err
>&5
6054 echo "$as_me:6054: \$? = $ac_status" >&5
6055 (exit $ac_status); } >/dev
/null
; then
6056 if test -s conftest.err
; then
6057 ac_cpp_err
=$ac_c_preproc_warn_flag
6064 if test -z "$ac_cpp_err"; then
6066 cat >>confdefs.h
<<\EOF
6067 #define FSTYPE_AIX_STATFS 1
6071 echo "$as_me: failed program was:" >&5
6072 cat conftest.
$ac_ext >&5
6075 rm -f conftest.err conftest.
$ac_ext
6077 if test $fstype = no
; then
6078 cat >conftest.
$ac_ext <<_ACEOF
6079 #line 6079 "configure"
6080 #include "confdefs.h"
6083 if { (eval echo "$as_me:6083: \"$ac_cpp conftest.$ac_ext\"") >&5
6084 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6086 egrep -v '^ *\+' conftest.er1
>conftest.err
6088 cat conftest.err
>&5
6089 echo "$as_me:6089: \$? = $ac_status" >&5
6090 (exit $ac_status); } >/dev
/null
; then
6091 if test -s conftest.err
; then
6092 ac_cpp_err
=$ac_c_preproc_warn_flag
6099 if test -z "$ac_cpp_err"; then
6101 cat >>confdefs.h
<<\EOF
6102 #define FSTYPE_MNTENT 1
6106 echo "$as_me: failed program was:" >&5
6107 cat conftest.
$ac_ext >&5
6110 rm -f conftest.err conftest.
$ac_ext
6112 if test $fstype = no
; then
6113 cat >conftest.
$ac_ext <<_ACEOF
6114 #line 6114 "configure"
6115 #include "confdefs.h"
6116 #include <sys/mount.h>
6119 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6120 egrep "f_type;" >/dev
/null
2>&1; then
6122 cat >>confdefs.h
<<\EOF
6123 #define FSTYPE_STATFS 1
6130 if test $fstype = no
; then
6131 cat >conftest.
$ac_ext <<_ACEOF
6132 #line 6132 "configure"
6133 #include "confdefs.h"
6134 #include <sys/mount.h>
6135 #include <sys/fs_types.h>
6137 if { (eval echo "$as_me:6137: \"$ac_cpp conftest.$ac_ext\"") >&5
6138 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6140 egrep -v '^ *\+' conftest.er1
>conftest.err
6142 cat conftest.err
>&5
6143 echo "$as_me:6143: \$? = $ac_status" >&5
6144 (exit $ac_status); } >/dev
/null
; then
6145 if test -s conftest.err
; then
6146 ac_cpp_err
=$ac_c_preproc_warn_flag
6153 if test -z "$ac_cpp_err"; then
6155 cat >>confdefs.h
<<\EOF
6156 #define FSTYPE_GETMNT 1
6160 echo "$as_me: failed program was:" >&5
6161 cat conftest.
$ac_ext >&5
6164 rm -f conftest.err conftest.
$ac_ext
6166 echo "$as_me:6166: result: $fstype" >&5
6167 echo "${ECHO_T}$fstype" >&6
6169 echo "$as_me:6169: checking for uid_t in sys/types.h" >&5
6170 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
6171 if test "${ac_cv_type_uid_t+set}" = set; then
6172 echo $ECHO_N "(cached) $ECHO_C" >&6
6174 cat >conftest.
$ac_ext <<_ACEOF
6175 #line 6175 "configure"
6176 #include "confdefs.h"
6177 #include <sys/types.h>
6180 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6181 egrep "uid_t" >/dev
/null
2>&1; then
6182 ac_cv_type_uid_t
=yes
6189 echo "$as_me:6189: result: $ac_cv_type_uid_t" >&5
6190 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
6191 if test $ac_cv_type_uid_t = no
; then
6193 cat >>confdefs.h
<<\EOF
6197 cat >>confdefs.h
<<\EOF
6203 echo "$as_me:6203: checking for size_t" >&5
6204 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
6205 if test "${ac_cv_type_size_t+set}" = set; then
6206 echo $ECHO_N "(cached) $ECHO_C" >&6
6208 cat >conftest.
$ac_ext <<_ACEOF
6209 #line 6209 "configure"
6210 #include "confdefs.h"
6211 $ac_includes_default
6217 if (sizeof (size_t))
6223 rm -f conftest.
$ac_objext
6224 if { (eval echo "$as_me:6224: \"$ac_compile\"") >&5
6225 (eval $ac_compile) 2>&5
6227 echo "$as_me:6227: \$? = $ac_status" >&5
6228 (exit $ac_status); } &&
6229 { ac_try
='test -s conftest.$ac_objext'
6230 { (eval echo "$as_me:6230: \"$ac_try\"") >&5
6233 echo "$as_me:6233: \$? = $ac_status" >&5
6234 (exit $ac_status); }; }; then
6235 ac_cv_type_size_t
=yes
6237 echo "$as_me: failed program was:" >&5
6238 cat conftest.
$ac_ext >&5
6239 ac_cv_type_size_t
=no
6241 rm -f conftest.
$ac_objext conftest.
$ac_ext
6243 echo "$as_me:6243: result: $ac_cv_type_size_t" >&5
6244 echo "${ECHO_T}$ac_cv_type_size_t" >&6
6245 if test $ac_cv_type_size_t = yes; then
6249 cat >>confdefs.h
<<EOF
6250 #define size_t unsigned
6255 echo "$as_me:6255: checking for ssize_t" >&5
6256 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
6257 if test "${ac_cv_type_ssize_t+set}" = set; then
6258 echo $ECHO_N "(cached) $ECHO_C" >&6
6260 cat >conftest.
$ac_ext <<_ACEOF
6261 #line 6261 "configure"
6262 #include "confdefs.h"
6263 $ac_includes_default
6269 if (sizeof (ssize_t))
6275 rm -f conftest.
$ac_objext
6276 if { (eval echo "$as_me:6276: \"$ac_compile\"") >&5
6277 (eval $ac_compile) 2>&5
6279 echo "$as_me:6279: \$? = $ac_status" >&5
6280 (exit $ac_status); } &&
6281 { ac_try
='test -s conftest.$ac_objext'
6282 { (eval echo "$as_me:6282: \"$ac_try\"") >&5
6285 echo "$as_me:6285: \$? = $ac_status" >&5
6286 (exit $ac_status); }; }; then
6287 ac_cv_type_ssize_t
=yes
6289 echo "$as_me: failed program was:" >&5
6290 cat conftest.
$ac_ext >&5
6291 ac_cv_type_ssize_t
=no
6293 rm -f conftest.
$ac_objext conftest.
$ac_ext
6295 echo "$as_me:6295: result: $ac_cv_type_ssize_t" >&5
6296 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
6297 if test $ac_cv_type_ssize_t = yes; then
6301 cat >>confdefs.h
<<EOF
6307 echo "$as_me:6307: checking for pid_t" >&5
6308 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
6309 if test "${ac_cv_type_pid_t+set}" = set; then
6310 echo $ECHO_N "(cached) $ECHO_C" >&6
6312 cat >conftest.
$ac_ext <<_ACEOF
6313 #line 6313 "configure"
6314 #include "confdefs.h"
6315 $ac_includes_default
6327 rm -f conftest.
$ac_objext
6328 if { (eval echo "$as_me:6328: \"$ac_compile\"") >&5
6329 (eval $ac_compile) 2>&5
6331 echo "$as_me:6331: \$? = $ac_status" >&5
6332 (exit $ac_status); } &&
6333 { ac_try
='test -s conftest.$ac_objext'
6334 { (eval echo "$as_me:6334: \"$ac_try\"") >&5
6337 echo "$as_me:6337: \$? = $ac_status" >&5
6338 (exit $ac_status); }; }; then
6339 ac_cv_type_pid_t
=yes
6341 echo "$as_me: failed program was:" >&5
6342 cat conftest.
$ac_ext >&5
6345 rm -f conftest.
$ac_objext conftest.
$ac_ext
6347 echo "$as_me:6347: result: $ac_cv_type_pid_t" >&5
6348 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
6349 if test $ac_cv_type_pid_t = yes; then
6353 cat >>confdefs.h
<<EOF
6359 echo "$as_me:6359: checking for ino_t" >&5
6360 echo $ECHO_N "checking for ino_t... $ECHO_C" >&6
6361 if test "${ac_cv_type_ino_t+set}" = set; then
6362 echo $ECHO_N "(cached) $ECHO_C" >&6
6364 cat >conftest.
$ac_ext <<_ACEOF
6365 #line 6365 "configure"
6366 #include "confdefs.h"
6367 $ac_includes_default
6379 rm -f conftest.
$ac_objext
6380 if { (eval echo "$as_me:6380: \"$ac_compile\"") >&5
6381 (eval $ac_compile) 2>&5
6383 echo "$as_me:6383: \$? = $ac_status" >&5
6384 (exit $ac_status); } &&
6385 { ac_try
='test -s conftest.$ac_objext'
6386 { (eval echo "$as_me:6386: \"$ac_try\"") >&5
6389 echo "$as_me:6389: \$? = $ac_status" >&5
6390 (exit $ac_status); }; }; then
6391 ac_cv_type_ino_t
=yes
6393 echo "$as_me: failed program was:" >&5
6394 cat conftest.
$ac_ext >&5
6397 rm -f conftest.
$ac_objext conftest.
$ac_ext
6399 echo "$as_me:6399: result: $ac_cv_type_ino_t" >&5
6400 echo "${ECHO_T}$ac_cv_type_ino_t" >&6
6401 if test $ac_cv_type_ino_t = yes; then
6405 cat >>confdefs.h
<<EOF
6406 #define ino_t unsigned long
6411 echo "$as_me:6411: checking for dev_t" >&5
6412 echo $ECHO_N "checking for dev_t... $ECHO_C" >&6
6413 if test "${ac_cv_type_dev_t+set}" = set; then
6414 echo $ECHO_N "(cached) $ECHO_C" >&6
6416 cat >conftest.
$ac_ext <<_ACEOF
6417 #line 6417 "configure"
6418 #include "confdefs.h"
6419 $ac_includes_default
6431 rm -f conftest.
$ac_objext
6432 if { (eval echo "$as_me:6432: \"$ac_compile\"") >&5
6433 (eval $ac_compile) 2>&5
6435 echo "$as_me:6435: \$? = $ac_status" >&5
6436 (exit $ac_status); } &&
6437 { ac_try
='test -s conftest.$ac_objext'
6438 { (eval echo "$as_me:6438: \"$ac_try\"") >&5
6441 echo "$as_me:6441: \$? = $ac_status" >&5
6442 (exit $ac_status); }; }; then
6443 ac_cv_type_dev_t
=yes
6445 echo "$as_me: failed program was:" >&5
6446 cat conftest.
$ac_ext >&5
6449 rm -f conftest.
$ac_objext conftest.
$ac_ext
6451 echo "$as_me:6451: result: $ac_cv_type_dev_t" >&5
6452 echo "${ECHO_T}$ac_cv_type_dev_t" >&6
6453 if test $ac_cv_type_dev_t = yes; then
6457 cat >>confdefs.h
<<EOF
6458 #define dev_t unsigned long
6463 echo "$as_me:6463: checking for mode_t" >&5
6464 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
6465 if test "${ac_cv_type_mode_t+set}" = set; then
6466 echo $ECHO_N "(cached) $ECHO_C" >&6
6468 cat >conftest.
$ac_ext <<_ACEOF
6469 #line 6469 "configure"
6470 #include "confdefs.h"
6471 $ac_includes_default
6477 if (sizeof (mode_t))
6483 rm -f conftest.
$ac_objext
6484 if { (eval echo "$as_me:6484: \"$ac_compile\"") >&5
6485 (eval $ac_compile) 2>&5
6487 echo "$as_me:6487: \$? = $ac_status" >&5
6488 (exit $ac_status); } &&
6489 { ac_try
='test -s conftest.$ac_objext'
6490 { (eval echo "$as_me:6490: \"$ac_try\"") >&5
6493 echo "$as_me:6493: \$? = $ac_status" >&5
6494 (exit $ac_status); }; }; then
6495 ac_cv_type_mode_t
=yes
6497 echo "$as_me: failed program was:" >&5
6498 cat conftest.
$ac_ext >&5
6499 ac_cv_type_mode_t
=no
6501 rm -f conftest.
$ac_objext conftest.
$ac_ext
6503 echo "$as_me:6503: result: $ac_cv_type_mode_t" >&5
6504 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
6505 if test $ac_cv_type_mode_t = yes; then
6509 cat >>confdefs.h
<<EOF
6515 if test $jm_ac_cv_header_inttypes_h = no
; then
6517 test $ac_cv_type_unsigned_long_long = yes \
6518 && ac_type
='unsigned long long' \
6519 || ac_type
='unsigned long'
6521 cat >>confdefs.h
<<EOF
6522 #define uintmax_t $ac_type
6527 echo "$as_me:6527: checking for struct stat.st_blocks" >&5
6528 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
6529 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6530 echo $ECHO_N "(cached) $ECHO_C" >&6
6532 cat >conftest.
$ac_ext <<_ACEOF
6533 #line 6533 "configure"
6534 #include "confdefs.h"
6535 $ac_includes_default
6545 rm -f conftest.
$ac_objext
6546 if { (eval echo "$as_me:6546: \"$ac_compile\"") >&5
6547 (eval $ac_compile) 2>&5
6549 echo "$as_me:6549: \$? = $ac_status" >&5
6550 (exit $ac_status); } &&
6551 { ac_try
='test -s conftest.$ac_objext'
6552 { (eval echo "$as_me:6552: \"$ac_try\"") >&5
6555 echo "$as_me:6555: \$? = $ac_status" >&5
6556 (exit $ac_status); }; }; then
6557 ac_cv_member_struct_stat_st_blocks
=yes
6559 echo "$as_me: failed program was:" >&5
6560 cat conftest.
$ac_ext >&5
6561 ac_cv_member_struct_stat_st_blocks
=no
6563 rm -f conftest.
$ac_objext conftest.
$ac_ext
6565 echo "$as_me:6565: result: $ac_cv_member_struct_stat_st_blocks" >&5
6566 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
6567 if test $ac_cv_member_struct_stat_st_blocks = yes; then
6569 cat >>confdefs.h
<<EOF
6570 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6573 cat >>confdefs.h
<<\EOF
6574 #define HAVE_ST_BLOCKS 1
6578 LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6581 echo "$as_me:6581: checking for struct stat.st_rdev" >&5
6582 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
6583 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6584 echo $ECHO_N "(cached) $ECHO_C" >&6
6586 cat >conftest.
$ac_ext <<_ACEOF
6587 #line 6587 "configure"
6588 #include "confdefs.h"
6589 $ac_includes_default
6599 rm -f conftest.
$ac_objext
6600 if { (eval echo "$as_me:6600: \"$ac_compile\"") >&5
6601 (eval $ac_compile) 2>&5
6603 echo "$as_me:6603: \$? = $ac_status" >&5
6604 (exit $ac_status); } &&
6605 { ac_try
='test -s conftest.$ac_objext'
6606 { (eval echo "$as_me:6606: \"$ac_try\"") >&5
6609 echo "$as_me:6609: \$? = $ac_status" >&5
6610 (exit $ac_status); }; }; then
6611 ac_cv_member_struct_stat_st_rdev
=yes
6613 echo "$as_me: failed program was:" >&5
6614 cat conftest.
$ac_ext >&5
6615 ac_cv_member_struct_stat_st_rdev
=no
6617 rm -f conftest.
$ac_objext conftest.
$ac_ext
6619 echo "$as_me:6619: result: $ac_cv_member_struct_stat_st_rdev" >&5
6620 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
6621 if test $ac_cv_member_struct_stat_st_rdev = yes; then
6623 cat >>confdefs.h
<<EOF
6624 #define HAVE_STRUCT_STAT_ST_RDEV 1
6629 echo "$as_me:6629: checking whether struct tm is in sys/time.h or time.h" >&5
6630 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
6631 if test "${ac_cv_struct_tm+set}" = set; then
6632 echo $ECHO_N "(cached) $ECHO_C" >&6
6634 cat >conftest.
$ac_ext <<_ACEOF
6635 #line 6635 "configure"
6636 #include "confdefs.h"
6637 #include <sys/types.h>
6643 struct tm *tp; tp->tm_sec;
6648 rm -f conftest.
$ac_objext
6649 if { (eval echo "$as_me:6649: \"$ac_compile\"") >&5
6650 (eval $ac_compile) 2>&5
6652 echo "$as_me:6652: \$? = $ac_status" >&5
6653 (exit $ac_status); } &&
6654 { ac_try
='test -s conftest.$ac_objext'
6655 { (eval echo "$as_me:6655: \"$ac_try\"") >&5
6658 echo "$as_me:6658: \$? = $ac_status" >&5
6659 (exit $ac_status); }; }; then
6660 ac_cv_struct_tm
=time.h
6662 echo "$as_me: failed program was:" >&5
6663 cat conftest.
$ac_ext >&5
6664 ac_cv_struct_tm
=sys
/time.h
6666 rm -f conftest.
$ac_objext conftest.
$ac_ext
6668 echo "$as_me:6668: result: $ac_cv_struct_tm" >&5
6669 echo "${ECHO_T}$ac_cv_struct_tm" >&6
6670 if test $ac_cv_struct_tm = sys
/time.h
; then
6672 cat >>confdefs.h
<<\EOF
6673 #define TM_IN_SYS_TIME 1
6678 echo "$as_me:6678: checking for struct tm.tm_zone" >&5
6679 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
6680 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
6681 echo $ECHO_N "(cached) $ECHO_C" >&6
6683 cat >conftest.
$ac_ext <<_ACEOF
6684 #line 6684 "configure"
6685 #include "confdefs.h"
6686 #include <sys/types.h>
6687 #include <$ac_cv_struct_tm>
6698 rm -f conftest.
$ac_objext
6699 if { (eval echo "$as_me:6699: \"$ac_compile\"") >&5
6700 (eval $ac_compile) 2>&5
6702 echo "$as_me:6702: \$? = $ac_status" >&5
6703 (exit $ac_status); } &&
6704 { ac_try
='test -s conftest.$ac_objext'
6705 { (eval echo "$as_me:6705: \"$ac_try\"") >&5
6708 echo "$as_me:6708: \$? = $ac_status" >&5
6709 (exit $ac_status); }; }; then
6710 ac_cv_member_struct_tm_tm_zone
=yes
6712 echo "$as_me: failed program was:" >&5
6713 cat conftest.
$ac_ext >&5
6714 ac_cv_member_struct_tm_tm_zone
=no
6716 rm -f conftest.
$ac_objext conftest.
$ac_ext
6718 echo "$as_me:6718: result: $ac_cv_member_struct_tm_tm_zone" >&5
6719 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
6720 if test $ac_cv_member_struct_tm_tm_zone = yes; then
6722 cat >>confdefs.h
<<EOF
6723 #define HAVE_STRUCT_TM_TM_ZONE 1
6728 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6730 cat >>confdefs.h
<<\EOF
6731 #define HAVE_TM_ZONE 1
6735 echo "$as_me:6735: checking for tzname" >&5
6736 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
6737 if test "${ac_cv_var_tzname+set}" = set; then
6738 echo $ECHO_N "(cached) $ECHO_C" >&6
6740 cat >conftest.
$ac_ext <<_ACEOF
6741 #line 6741 "configure"
6742 #include "confdefs.h"
6744 #ifndef tzname /* For SGI. */
6745 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
6756 rm -f conftest.
$ac_objext conftest
$ac_exeext
6757 if { (eval echo "$as_me:6757: \"$ac_link\"") >&5
6758 (eval $ac_link) 2>&5
6760 echo "$as_me:6760: \$? = $ac_status" >&5
6761 (exit $ac_status); } &&
6762 { ac_try
='test -s conftest$ac_exeext'
6763 { (eval echo "$as_me:6763: \"$ac_try\"") >&5
6766 echo "$as_me:6766: \$? = $ac_status" >&5
6767 (exit $ac_status); }; }; then
6768 ac_cv_var_tzname
=yes
6770 echo "$as_me: failed program was:" >&5
6771 cat conftest.
$ac_ext >&5
6774 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6776 echo "$as_me:6776: result: $ac_cv_var_tzname" >&5
6777 echo "${ECHO_T}$ac_cv_var_tzname" >&6
6778 if test $ac_cv_var_tzname = yes; then
6780 cat >>confdefs.h
<<\EOF
6781 #define HAVE_TZNAME 1
6787 for ac_func
in strftime
6789 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
6790 echo "$as_me:6790: checking for $ac_func" >&5
6791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6792 if eval "test \"\${$ac_ac_var+set}\" = set"; then
6793 echo $ECHO_N "(cached) $ECHO_C" >&6
6795 cat >conftest.
$ac_ext <<_ACEOF
6796 #line 6796 "configure"
6797 #include "confdefs.h"
6798 /* System header to define __stub macros and hopefully few prototypes,
6799 which can conflict with char $ac_func (); below. */
6801 /* Override any gcc2 internal prototype to avoid an error. */
6805 /* We use char because int might match the return type of a gcc2
6806 builtin and then its argument prototype would still apply. */
6813 /* The GNU C library defines this for functions which it implements
6814 to always fail with ENOSYS. Some functions are actually named
6815 something starting with __ and the normal name is an alias. */
6816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6826 rm -f conftest.
$ac_objext conftest
$ac_exeext
6827 if { (eval echo "$as_me:6827: \"$ac_link\"") >&5
6828 (eval $ac_link) 2>&5
6830 echo "$as_me:6830: \$? = $ac_status" >&5
6831 (exit $ac_status); } &&
6832 { ac_try
='test -s conftest$ac_exeext'
6833 { (eval echo "$as_me:6833: \"$ac_try\"") >&5
6836 echo "$as_me:6836: \$? = $ac_status" >&5
6837 (exit $ac_status); }; }; then
6838 eval "$ac_ac_var=yes"
6840 echo "$as_me: failed program was:" >&5
6841 cat conftest.
$ac_ext >&5
6842 eval "$ac_ac_var=no"
6844 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6846 echo "$as_me:6846: result: `eval echo '${'$ac_ac_var'}'`" >&5
6847 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
6848 if test `eval echo '${'$ac_ac_var'}'` = yes; then
6849 cat >>confdefs.h
<<EOF
6850 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
6854 # strftime is in -lintl on SCO UNIX.
6855 echo "$as_me:6855: checking for strftime in -lintl" >&5
6856 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
6857 if test "${ac_cv_lib_intl_strftime+set}" = set; then
6858 echo $ECHO_N "(cached) $ECHO_C" >&6
6860 ac_check_lib_save_LIBS
=$LIBS
6862 cat >conftest.
$ac_ext <<_ACEOF
6863 #line 6863 "configure"
6864 #include "confdefs.h"
6866 /* Override any gcc2 internal prototype to avoid an error. */
6870 /* We use char because int might match the return type of a gcc2
6871 builtin and then its argument prototype would still apply. */
6881 rm -f conftest.
$ac_objext conftest
$ac_exeext
6882 if { (eval echo "$as_me:6882: \"$ac_link\"") >&5
6883 (eval $ac_link) 2>&5
6885 echo "$as_me:6885: \$? = $ac_status" >&5
6886 (exit $ac_status); } &&
6887 { ac_try
='test -s conftest$ac_exeext'
6888 { (eval echo "$as_me:6888: \"$ac_try\"") >&5
6891 echo "$as_me:6891: \$? = $ac_status" >&5
6892 (exit $ac_status); }; }; then
6893 ac_cv_lib_intl_strftime
=yes
6895 echo "$as_me: failed program was:" >&5
6896 cat conftest.
$ac_ext >&5
6897 ac_cv_lib_intl_strftime
=no
6899 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6900 LIBS
=$ac_check_lib_save_LIBS
6902 echo "$as_me:6902: result: $ac_cv_lib_intl_strftime" >&5
6903 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
6904 if test $ac_cv_lib_intl_strftime = yes; then
6905 cat >>confdefs.h
<<\EOF
6906 #define HAVE_STRFTIME 1
6915 for ac_func
in memcmp memset stpcpy strdup strftime strspn strstr \
6916 strtol strtoul waitpid
6918 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
6919 echo "$as_me:6919: checking for $ac_func" >&5
6920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6921 if eval "test \"\${$ac_ac_var+set}\" = set"; then
6922 echo $ECHO_N "(cached) $ECHO_C" >&6
6924 cat >conftest.
$ac_ext <<_ACEOF
6925 #line 6925 "configure"
6926 #include "confdefs.h"
6927 /* System header to define __stub macros and hopefully few prototypes,
6928 which can conflict with char $ac_func (); below. */
6930 /* Override any gcc2 internal prototype to avoid an error. */
6934 /* We use char because int might match the return type of a gcc2
6935 builtin and then its argument prototype would still apply. */
6942 /* The GNU C library defines this for functions which it implements
6943 to always fail with ENOSYS. Some functions are actually named
6944 something starting with __ and the normal name is an alias. */
6945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6955 rm -f conftest.
$ac_objext conftest
$ac_exeext
6956 if { (eval echo "$as_me:6956: \"$ac_link\"") >&5
6957 (eval $ac_link) 2>&5
6959 echo "$as_me:6959: \$? = $ac_status" >&5
6960 (exit $ac_status); } &&
6961 { ac_try
='test -s conftest$ac_exeext'
6962 { (eval echo "$as_me:6962: \"$ac_try\"") >&5
6965 echo "$as_me:6965: \$? = $ac_status" >&5
6966 (exit $ac_status); }; }; then
6967 eval "$ac_ac_var=yes"
6969 echo "$as_me: failed program was:" >&5
6970 cat conftest.
$ac_ext >&5
6971 eval "$ac_ac_var=no"
6973 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6975 echo "$as_me:6975: result: `eval echo '${'$ac_ac_var'}'`" >&5
6976 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
6977 if test `eval echo '${'$ac_ac_var'}'` = yes; then
6978 cat >>confdefs.h
<<EOF
6979 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
6983 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
6987 echo "$as_me:6987: checking whether to enable assertions" >&5
6988 echo $ECHO_N "checking whether to enable assertions... $ECHO_C" >&6
6989 # Check whether --enable-assert or --disable-assert was given.
6990 if test "${enable_assert+set}" = set; then
6991 enableval
="$enable_assert"
6992 echo "$as_me:6992: result: no" >&5
6993 echo "${ECHO_T}no" >&6
6995 cat >>confdefs.h
<<\EOF
7000 echo "$as_me:7000: result: yes" >&5
7001 echo "${ECHO_T}yes" >&6
7005 echo "$as_me:7005: checking for d_type member in directory struct" >&5
7006 echo $ECHO_N "checking for d_type member in directory struct... $ECHO_C" >&6
7007 if test "${jm_cv_struct_dirent_d_type+set}" = set; then
7008 echo $ECHO_N "(cached) $ECHO_C" >&6
7010 cat >conftest.
$ac_ext <<_ACEOF
7011 #line 7011 "configure"
7012 #include "confdefs.h"
7014 #include <sys/types.h>
7015 #ifdef HAVE_DIRENT_H
7016 # include <dirent.h>
7017 #else /* not HAVE_DIRENT_H */
7018 # define dirent direct
7019 # ifdef HAVE_SYS_NDIR_H
7020 # include <sys/ndir.h>
7021 # endif /* HAVE_SYS_NDIR_H */
7022 # ifdef HAVE_SYS_DIR_H
7023 # include <sys/dir.h>
7024 # endif /* HAVE_SYS_DIR_H */
7027 # endif /* HAVE_NDIR_H */
7028 #endif /* HAVE_DIRENT_H */
7033 struct dirent dp; dp.d_type = 0;
7038 rm -f conftest.
$ac_objext conftest
$ac_exeext
7039 if { (eval echo "$as_me:7039: \"$ac_link\"") >&5
7040 (eval $ac_link) 2>&5
7042 echo "$as_me:7042: \$? = $ac_status" >&5
7043 (exit $ac_status); } &&
7044 { ac_try
='test -s conftest$ac_exeext'
7045 { (eval echo "$as_me:7045: \"$ac_try\"") >&5
7048 echo "$as_me:7048: \$? = $ac_status" >&5
7049 (exit $ac_status); }; }; then
7050 jm_cv_struct_dirent_d_type
=yes
7052 echo "$as_me: failed program was:" >&5
7053 cat conftest.
$ac_ext >&5
7054 jm_cv_struct_dirent_d_type
=no
7056 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7059 echo "$as_me:7059: result: $jm_cv_struct_dirent_d_type" >&5
7060 echo "${ECHO_T}$jm_cv_struct_dirent_d_type" >&6
7061 if test $jm_cv_struct_dirent_d_type = yes; then
7063 cat >>confdefs.h
<<\EOF
7064 #define D_TYPE_IN_DIRENT 1
7069 echo "$as_me:7069: checking for d_ino member in directory struct" >&5
7070 echo $ECHO_N "checking for d_ino member in directory struct... $ECHO_C" >&6
7071 if test "${jm_cv_struct_dirent_d_ino+set}" = set; then
7072 echo $ECHO_N "(cached) $ECHO_C" >&6
7074 cat >conftest.
$ac_ext <<_ACEOF
7075 #line 7075 "configure"
7076 #include "confdefs.h"
7078 #include <sys/types.h>
7079 #ifdef HAVE_DIRENT_H
7080 # include <dirent.h>
7081 #else /* not HAVE_DIRENT_H */
7082 # define dirent direct
7083 # ifdef HAVE_SYS_NDIR_H
7084 # include <sys/ndir.h>
7085 # endif /* HAVE_SYS_NDIR_H */
7086 # ifdef HAVE_SYS_DIR_H
7087 # include <sys/dir.h>
7088 # endif /* HAVE_SYS_DIR_H */
7091 # endif /* HAVE_NDIR_H */
7092 #endif /* HAVE_DIRENT_H */
7097 struct dirent dp; dp.d_ino = 0;
7102 rm -f conftest.
$ac_objext conftest
$ac_exeext
7103 if { (eval echo "$as_me:7103: \"$ac_link\"") >&5
7104 (eval $ac_link) 2>&5
7106 echo "$as_me:7106: \$? = $ac_status" >&5
7107 (exit $ac_status); } &&
7108 { ac_try
='test -s conftest$ac_exeext'
7109 { (eval echo "$as_me:7109: \"$ac_try\"") >&5
7112 echo "$as_me:7112: \$? = $ac_status" >&5
7113 (exit $ac_status); }; }; then
7114 jm_cv_struct_dirent_d_ino
=yes
7116 echo "$as_me: failed program was:" >&5
7117 cat conftest.
$ac_ext >&5
7118 jm_cv_struct_dirent_d_ino
=no
7120 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7123 echo "$as_me:7123: result: $jm_cv_struct_dirent_d_ino" >&5
7124 echo "${ECHO_T}$jm_cv_struct_dirent_d_ino" >&6
7125 if test $jm_cv_struct_dirent_d_ino = yes; then
7127 cat >>confdefs.h
<<\EOF
7128 #define D_INO_IN_DIRENT 1
7133 for ac_header
in memory.h string.h
strings.h stdlib.h unistd.h sys
/time.h \
7136 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
7137 echo "$as_me:7137: checking for $ac_header" >&5
7138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7139 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
7140 echo $ECHO_N "(cached) $ECHO_C" >&6
7142 cat >conftest.
$ac_ext <<_ACEOF
7143 #line 7143 "configure"
7144 #include "confdefs.h"
7145 #include <$ac_header>
7147 if { (eval echo "$as_me:7147: \"$ac_cpp conftest.$ac_ext\"") >&5
7148 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7150 egrep -v '^ *\+' conftest.er1
>conftest.err
7152 cat conftest.err
>&5
7153 echo "$as_me:7153: \$? = $ac_status" >&5
7154 (exit $ac_status); } >/dev
/null
; then
7155 if test -s conftest.err
; then
7156 ac_cpp_err
=$ac_c_preproc_warn_flag
7163 if test -z "$ac_cpp_err"; then
7164 eval "$ac_ac_Header=yes"
7166 echo "$as_me: failed program was:" >&5
7167 cat conftest.
$ac_ext >&5
7168 eval "$ac_ac_Header=no"
7170 rm -f conftest.err conftest.
$ac_ext
7172 echo "$as_me:7172: result: `eval echo '${'$ac_ac_Header'}'`" >&5
7173 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
7174 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
7175 cat >>confdefs.h
<<EOF
7176 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
7185 # if !STDC_HEADERS && HAVE_MEMORY_H
7186 # include <memory.h>
7188 # include <string.h>
7191 # include <strings.h>
7195 # include <stdlib.h>
7198 # include <unistd.h>
7201 #include <sys/types.h>
7202 #if TIME_WITH_SYS_TIME
7203 # include <sys/time.h>
7206 # if HAVE_SYS_TIME_H
7207 # include <sys/time.h>
7218 echo "$as_me:7218: checking whether free is declared" >&5
7219 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
7220 if test "${ac_cv_have_decl_free+set}" = set; then
7221 echo $ECHO_N "(cached) $ECHO_C" >&6
7223 cat >conftest.
$ac_ext <<_ACEOF
7224 #line 7224 "configure"
7225 #include "confdefs.h"
7232 char *p = (char *) free;
7239 rm -f conftest.
$ac_objext
7240 if { (eval echo "$as_me:7240: \"$ac_compile\"") >&5
7241 (eval $ac_compile) 2>&5
7243 echo "$as_me:7243: \$? = $ac_status" >&5
7244 (exit $ac_status); } &&
7245 { ac_try
='test -s conftest.$ac_objext'
7246 { (eval echo "$as_me:7246: \"$ac_try\"") >&5
7249 echo "$as_me:7249: \$? = $ac_status" >&5
7250 (exit $ac_status); }; }; then
7251 ac_cv_have_decl_free
=yes
7253 echo "$as_me: failed program was:" >&5
7254 cat conftest.
$ac_ext >&5
7255 ac_cv_have_decl_free
=no
7257 rm -f conftest.
$ac_objext conftest.
$ac_ext
7259 echo "$as_me:7259: result: $ac_cv_have_decl_free" >&5
7260 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
7261 if test $ac_cv_have_decl_free = yes; then
7263 cat >>confdefs.h
<<EOF
7264 #define HAVE_DECL_FREE 1
7268 cat >>confdefs.h
<<EOF
7269 #define HAVE_DECL_FREE 0
7273 echo "$as_me:7273: checking whether getenv is declared" >&5
7274 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
7275 if test "${ac_cv_have_decl_getenv+set}" = set; then
7276 echo $ECHO_N "(cached) $ECHO_C" >&6
7278 cat >conftest.
$ac_ext <<_ACEOF
7279 #line 7279 "configure"
7280 #include "confdefs.h"
7287 char *p = (char *) getenv;
7294 rm -f conftest.
$ac_objext
7295 if { (eval echo "$as_me:7295: \"$ac_compile\"") >&5
7296 (eval $ac_compile) 2>&5
7298 echo "$as_me:7298: \$? = $ac_status" >&5
7299 (exit $ac_status); } &&
7300 { ac_try
='test -s conftest.$ac_objext'
7301 { (eval echo "$as_me:7301: \"$ac_try\"") >&5
7304 echo "$as_me:7304: \$? = $ac_status" >&5
7305 (exit $ac_status); }; }; then
7306 ac_cv_have_decl_getenv
=yes
7308 echo "$as_me: failed program was:" >&5
7309 cat conftest.
$ac_ext >&5
7310 ac_cv_have_decl_getenv
=no
7312 rm -f conftest.
$ac_objext conftest.
$ac_ext
7314 echo "$as_me:7314: result: $ac_cv_have_decl_getenv" >&5
7315 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
7316 if test $ac_cv_have_decl_getenv = yes; then
7318 cat >>confdefs.h
<<EOF
7319 #define HAVE_DECL_GETENV 1
7323 cat >>confdefs.h
<<EOF
7324 #define HAVE_DECL_GETENV 0
7328 echo "$as_me:7328: checking whether geteuid is declared" >&5
7329 echo $ECHO_N "checking whether geteuid is declared... $ECHO_C" >&6
7330 if test "${ac_cv_have_decl_geteuid+set}" = set; then
7331 echo $ECHO_N "(cached) $ECHO_C" >&6
7333 cat >conftest.
$ac_ext <<_ACEOF
7334 #line 7334 "configure"
7335 #include "confdefs.h"
7342 char *p = (char *) geteuid;
7349 rm -f conftest.
$ac_objext
7350 if { (eval echo "$as_me:7350: \"$ac_compile\"") >&5
7351 (eval $ac_compile) 2>&5
7353 echo "$as_me:7353: \$? = $ac_status" >&5
7354 (exit $ac_status); } &&
7355 { ac_try
='test -s conftest.$ac_objext'
7356 { (eval echo "$as_me:7356: \"$ac_try\"") >&5
7359 echo "$as_me:7359: \$? = $ac_status" >&5
7360 (exit $ac_status); }; }; then
7361 ac_cv_have_decl_geteuid
=yes
7363 echo "$as_me: failed program was:" >&5
7364 cat conftest.
$ac_ext >&5
7365 ac_cv_have_decl_geteuid
=no
7367 rm -f conftest.
$ac_objext conftest.
$ac_ext
7369 echo "$as_me:7369: result: $ac_cv_have_decl_geteuid" >&5
7370 echo "${ECHO_T}$ac_cv_have_decl_geteuid" >&6
7371 if test $ac_cv_have_decl_geteuid = yes; then
7373 cat >>confdefs.h
<<EOF
7374 #define HAVE_DECL_GETEUID 1
7378 cat >>confdefs.h
<<EOF
7379 #define HAVE_DECL_GETEUID 0
7383 echo "$as_me:7383: checking whether getgrgid is declared" >&5
7384 echo $ECHO_N "checking whether getgrgid is declared... $ECHO_C" >&6
7385 if test "${ac_cv_have_decl_getgrgid+set}" = set; then
7386 echo $ECHO_N "(cached) $ECHO_C" >&6
7388 cat >conftest.
$ac_ext <<_ACEOF
7389 #line 7389 "configure"
7390 #include "confdefs.h"
7397 char *p = (char *) getgrgid;
7404 rm -f conftest.
$ac_objext
7405 if { (eval echo "$as_me:7405: \"$ac_compile\"") >&5
7406 (eval $ac_compile) 2>&5
7408 echo "$as_me:7408: \$? = $ac_status" >&5
7409 (exit $ac_status); } &&
7410 { ac_try
='test -s conftest.$ac_objext'
7411 { (eval echo "$as_me:7411: \"$ac_try\"") >&5
7414 echo "$as_me:7414: \$? = $ac_status" >&5
7415 (exit $ac_status); }; }; then
7416 ac_cv_have_decl_getgrgid
=yes
7418 echo "$as_me: failed program was:" >&5
7419 cat conftest.
$ac_ext >&5
7420 ac_cv_have_decl_getgrgid
=no
7422 rm -f conftest.
$ac_objext conftest.
$ac_ext
7424 echo "$as_me:7424: result: $ac_cv_have_decl_getgrgid" >&5
7425 echo "${ECHO_T}$ac_cv_have_decl_getgrgid" >&6
7426 if test $ac_cv_have_decl_getgrgid = yes; then
7428 cat >>confdefs.h
<<EOF
7429 #define HAVE_DECL_GETGRGID 1
7433 cat >>confdefs.h
<<EOF
7434 #define HAVE_DECL_GETGRGID 0
7438 echo "$as_me:7438: checking whether getlogin is declared" >&5
7439 echo $ECHO_N "checking whether getlogin is declared... $ECHO_C" >&6
7440 if test "${ac_cv_have_decl_getlogin+set}" = set; then
7441 echo $ECHO_N "(cached) $ECHO_C" >&6
7443 cat >conftest.
$ac_ext <<_ACEOF
7444 #line 7444 "configure"
7445 #include "confdefs.h"
7452 char *p = (char *) getlogin;
7459 rm -f conftest.
$ac_objext
7460 if { (eval echo "$as_me:7460: \"$ac_compile\"") >&5
7461 (eval $ac_compile) 2>&5
7463 echo "$as_me:7463: \$? = $ac_status" >&5
7464 (exit $ac_status); } &&
7465 { ac_try
='test -s conftest.$ac_objext'
7466 { (eval echo "$as_me:7466: \"$ac_try\"") >&5
7469 echo "$as_me:7469: \$? = $ac_status" >&5
7470 (exit $ac_status); }; }; then
7471 ac_cv_have_decl_getlogin
=yes
7473 echo "$as_me: failed program was:" >&5
7474 cat conftest.
$ac_ext >&5
7475 ac_cv_have_decl_getlogin
=no
7477 rm -f conftest.
$ac_objext conftest.
$ac_ext
7479 echo "$as_me:7479: result: $ac_cv_have_decl_getlogin" >&5
7480 echo "${ECHO_T}$ac_cv_have_decl_getlogin" >&6
7481 if test $ac_cv_have_decl_getlogin = yes; then
7483 cat >>confdefs.h
<<EOF
7484 #define HAVE_DECL_GETLOGIN 1
7488 cat >>confdefs.h
<<EOF
7489 #define HAVE_DECL_GETLOGIN 0
7493 echo "$as_me:7493: checking whether getpwuid is declared" >&5
7494 echo $ECHO_N "checking whether getpwuid is declared... $ECHO_C" >&6
7495 if test "${ac_cv_have_decl_getpwuid+set}" = set; then
7496 echo $ECHO_N "(cached) $ECHO_C" >&6
7498 cat >conftest.
$ac_ext <<_ACEOF
7499 #line 7499 "configure"
7500 #include "confdefs.h"
7507 char *p = (char *) getpwuid;
7514 rm -f conftest.
$ac_objext
7515 if { (eval echo "$as_me:7515: \"$ac_compile\"") >&5
7516 (eval $ac_compile) 2>&5
7518 echo "$as_me:7518: \$? = $ac_status" >&5
7519 (exit $ac_status); } &&
7520 { ac_try
='test -s conftest.$ac_objext'
7521 { (eval echo "$as_me:7521: \"$ac_try\"") >&5
7524 echo "$as_me:7524: \$? = $ac_status" >&5
7525 (exit $ac_status); }; }; then
7526 ac_cv_have_decl_getpwuid
=yes
7528 echo "$as_me: failed program was:" >&5
7529 cat conftest.
$ac_ext >&5
7530 ac_cv_have_decl_getpwuid
=no
7532 rm -f conftest.
$ac_objext conftest.
$ac_ext
7534 echo "$as_me:7534: result: $ac_cv_have_decl_getpwuid" >&5
7535 echo "${ECHO_T}$ac_cv_have_decl_getpwuid" >&6
7536 if test $ac_cv_have_decl_getpwuid = yes; then
7538 cat >>confdefs.h
<<EOF
7539 #define HAVE_DECL_GETPWUID 1
7543 cat >>confdefs.h
<<EOF
7544 #define HAVE_DECL_GETPWUID 0
7548 echo "$as_me:7548: checking whether getuid is declared" >&5
7549 echo $ECHO_N "checking whether getuid is declared... $ECHO_C" >&6
7550 if test "${ac_cv_have_decl_getuid+set}" = set; then
7551 echo $ECHO_N "(cached) $ECHO_C" >&6
7553 cat >conftest.
$ac_ext <<_ACEOF
7554 #line 7554 "configure"
7555 #include "confdefs.h"
7562 char *p = (char *) getuid;
7569 rm -f conftest.
$ac_objext
7570 if { (eval echo "$as_me:7570: \"$ac_compile\"") >&5
7571 (eval $ac_compile) 2>&5
7573 echo "$as_me:7573: \$? = $ac_status" >&5
7574 (exit $ac_status); } &&
7575 { ac_try
='test -s conftest.$ac_objext'
7576 { (eval echo "$as_me:7576: \"$ac_try\"") >&5
7579 echo "$as_me:7579: \$? = $ac_status" >&5
7580 (exit $ac_status); }; }; then
7581 ac_cv_have_decl_getuid
=yes
7583 echo "$as_me: failed program was:" >&5
7584 cat conftest.
$ac_ext >&5
7585 ac_cv_have_decl_getuid
=no
7587 rm -f conftest.
$ac_objext conftest.
$ac_ext
7589 echo "$as_me:7589: result: $ac_cv_have_decl_getuid" >&5
7590 echo "${ECHO_T}$ac_cv_have_decl_getuid" >&6
7591 if test $ac_cv_have_decl_getuid = yes; then
7593 cat >>confdefs.h
<<EOF
7594 #define HAVE_DECL_GETUID 1
7598 cat >>confdefs.h
<<EOF
7599 #define HAVE_DECL_GETUID 0
7603 echo "$as_me:7603: checking whether getutent is declared" >&5
7604 echo $ECHO_N "checking whether getutent is declared... $ECHO_C" >&6
7605 if test "${ac_cv_have_decl_getutent+set}" = set; then
7606 echo $ECHO_N "(cached) $ECHO_C" >&6
7608 cat >conftest.
$ac_ext <<_ACEOF
7609 #line 7609 "configure"
7610 #include "confdefs.h"
7617 char *p = (char *) getutent;
7624 rm -f conftest.
$ac_objext
7625 if { (eval echo "$as_me:7625: \"$ac_compile\"") >&5
7626 (eval $ac_compile) 2>&5
7628 echo "$as_me:7628: \$? = $ac_status" >&5
7629 (exit $ac_status); } &&
7630 { ac_try
='test -s conftest.$ac_objext'
7631 { (eval echo "$as_me:7631: \"$ac_try\"") >&5
7634 echo "$as_me:7634: \$? = $ac_status" >&5
7635 (exit $ac_status); }; }; then
7636 ac_cv_have_decl_getutent
=yes
7638 echo "$as_me: failed program was:" >&5
7639 cat conftest.
$ac_ext >&5
7640 ac_cv_have_decl_getutent
=no
7642 rm -f conftest.
$ac_objext conftest.
$ac_ext
7644 echo "$as_me:7644: result: $ac_cv_have_decl_getutent" >&5
7645 echo "${ECHO_T}$ac_cv_have_decl_getutent" >&6
7646 if test $ac_cv_have_decl_getutent = yes; then
7648 cat >>confdefs.h
<<EOF
7649 #define HAVE_DECL_GETUTENT 1
7653 cat >>confdefs.h
<<EOF
7654 #define HAVE_DECL_GETUTENT 0
7658 echo "$as_me:7658: checking whether lseek is declared" >&5
7659 echo $ECHO_N "checking whether lseek is declared... $ECHO_C" >&6
7660 if test "${ac_cv_have_decl_lseek+set}" = set; then
7661 echo $ECHO_N "(cached) $ECHO_C" >&6
7663 cat >conftest.
$ac_ext <<_ACEOF
7664 #line 7664 "configure"
7665 #include "confdefs.h"
7672 char *p = (char *) lseek;
7679 rm -f conftest.
$ac_objext
7680 if { (eval echo "$as_me:7680: \"$ac_compile\"") >&5
7681 (eval $ac_compile) 2>&5
7683 echo "$as_me:7683: \$? = $ac_status" >&5
7684 (exit $ac_status); } &&
7685 { ac_try
='test -s conftest.$ac_objext'
7686 { (eval echo "$as_me:7686: \"$ac_try\"") >&5
7689 echo "$as_me:7689: \$? = $ac_status" >&5
7690 (exit $ac_status); }; }; then
7691 ac_cv_have_decl_lseek
=yes
7693 echo "$as_me: failed program was:" >&5
7694 cat conftest.
$ac_ext >&5
7695 ac_cv_have_decl_lseek
=no
7697 rm -f conftest.
$ac_objext conftest.
$ac_ext
7699 echo "$as_me:7699: result: $ac_cv_have_decl_lseek" >&5
7700 echo "${ECHO_T}$ac_cv_have_decl_lseek" >&6
7701 if test $ac_cv_have_decl_lseek = yes; then
7703 cat >>confdefs.h
<<EOF
7704 #define HAVE_DECL_LSEEK 1
7708 cat >>confdefs.h
<<EOF
7709 #define HAVE_DECL_LSEEK 0
7713 echo "$as_me:7713: checking whether malloc is declared" >&5
7714 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
7715 if test "${ac_cv_have_decl_malloc+set}" = set; then
7716 echo $ECHO_N "(cached) $ECHO_C" >&6
7718 cat >conftest.
$ac_ext <<_ACEOF
7719 #line 7719 "configure"
7720 #include "confdefs.h"
7727 char *p = (char *) malloc;
7734 rm -f conftest.
$ac_objext
7735 if { (eval echo "$as_me:7735: \"$ac_compile\"") >&5
7736 (eval $ac_compile) 2>&5
7738 echo "$as_me:7738: \$? = $ac_status" >&5
7739 (exit $ac_status); } &&
7740 { ac_try
='test -s conftest.$ac_objext'
7741 { (eval echo "$as_me:7741: \"$ac_try\"") >&5
7744 echo "$as_me:7744: \$? = $ac_status" >&5
7745 (exit $ac_status); }; }; then
7746 ac_cv_have_decl_malloc
=yes
7748 echo "$as_me: failed program was:" >&5
7749 cat conftest.
$ac_ext >&5
7750 ac_cv_have_decl_malloc
=no
7752 rm -f conftest.
$ac_objext conftest.
$ac_ext
7754 echo "$as_me:7754: result: $ac_cv_have_decl_malloc" >&5
7755 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
7756 if test $ac_cv_have_decl_malloc = yes; then
7758 cat >>confdefs.h
<<EOF
7759 #define HAVE_DECL_MALLOC 1
7763 cat >>confdefs.h
<<EOF
7764 #define HAVE_DECL_MALLOC 0
7768 echo "$as_me:7768: checking whether memchr is declared" >&5
7769 echo $ECHO_N "checking whether memchr is declared... $ECHO_C" >&6
7770 if test "${ac_cv_have_decl_memchr+set}" = set; then
7771 echo $ECHO_N "(cached) $ECHO_C" >&6
7773 cat >conftest.
$ac_ext <<_ACEOF
7774 #line 7774 "configure"
7775 #include "confdefs.h"
7782 char *p = (char *) memchr;
7789 rm -f conftest.
$ac_objext
7790 if { (eval echo "$as_me:7790: \"$ac_compile\"") >&5
7791 (eval $ac_compile) 2>&5
7793 echo "$as_me:7793: \$? = $ac_status" >&5
7794 (exit $ac_status); } &&
7795 { ac_try
='test -s conftest.$ac_objext'
7796 { (eval echo "$as_me:7796: \"$ac_try\"") >&5
7799 echo "$as_me:7799: \$? = $ac_status" >&5
7800 (exit $ac_status); }; }; then
7801 ac_cv_have_decl_memchr
=yes
7803 echo "$as_me: failed program was:" >&5
7804 cat conftest.
$ac_ext >&5
7805 ac_cv_have_decl_memchr
=no
7807 rm -f conftest.
$ac_objext conftest.
$ac_ext
7809 echo "$as_me:7809: result: $ac_cv_have_decl_memchr" >&5
7810 echo "${ECHO_T}$ac_cv_have_decl_memchr" >&6
7811 if test $ac_cv_have_decl_memchr = yes; then
7813 cat >>confdefs.h
<<EOF
7814 #define HAVE_DECL_MEMCHR 1
7818 cat >>confdefs.h
<<EOF
7819 #define HAVE_DECL_MEMCHR 0
7823 echo "$as_me:7823: checking whether memrchr is declared" >&5
7824 echo $ECHO_N "checking whether memrchr is declared... $ECHO_C" >&6
7825 if test "${ac_cv_have_decl_memrchr+set}" = set; then
7826 echo $ECHO_N "(cached) $ECHO_C" >&6
7828 cat >conftest.
$ac_ext <<_ACEOF
7829 #line 7829 "configure"
7830 #include "confdefs.h"
7837 char *p = (char *) memrchr;
7844 rm -f conftest.
$ac_objext
7845 if { (eval echo "$as_me:7845: \"$ac_compile\"") >&5
7846 (eval $ac_compile) 2>&5
7848 echo "$as_me:7848: \$? = $ac_status" >&5
7849 (exit $ac_status); } &&
7850 { ac_try
='test -s conftest.$ac_objext'
7851 { (eval echo "$as_me:7851: \"$ac_try\"") >&5
7854 echo "$as_me:7854: \$? = $ac_status" >&5
7855 (exit $ac_status); }; }; then
7856 ac_cv_have_decl_memrchr
=yes
7858 echo "$as_me: failed program was:" >&5
7859 cat conftest.
$ac_ext >&5
7860 ac_cv_have_decl_memrchr
=no
7862 rm -f conftest.
$ac_objext conftest.
$ac_ext
7864 echo "$as_me:7864: result: $ac_cv_have_decl_memrchr" >&5
7865 echo "${ECHO_T}$ac_cv_have_decl_memrchr" >&6
7866 if test $ac_cv_have_decl_memrchr = yes; then
7868 cat >>confdefs.h
<<EOF
7869 #define HAVE_DECL_MEMRCHR 1
7873 cat >>confdefs.h
<<EOF
7874 #define HAVE_DECL_MEMRCHR 0
7878 echo "$as_me:7878: checking whether realloc is declared" >&5
7879 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
7880 if test "${ac_cv_have_decl_realloc+set}" = set; then
7881 echo $ECHO_N "(cached) $ECHO_C" >&6
7883 cat >conftest.
$ac_ext <<_ACEOF
7884 #line 7884 "configure"
7885 #include "confdefs.h"
7892 char *p = (char *) realloc;
7899 rm -f conftest.
$ac_objext
7900 if { (eval echo "$as_me:7900: \"$ac_compile\"") >&5
7901 (eval $ac_compile) 2>&5
7903 echo "$as_me:7903: \$? = $ac_status" >&5
7904 (exit $ac_status); } &&
7905 { ac_try
='test -s conftest.$ac_objext'
7906 { (eval echo "$as_me:7906: \"$ac_try\"") >&5
7909 echo "$as_me:7909: \$? = $ac_status" >&5
7910 (exit $ac_status); }; }; then
7911 ac_cv_have_decl_realloc
=yes
7913 echo "$as_me: failed program was:" >&5
7914 cat conftest.
$ac_ext >&5
7915 ac_cv_have_decl_realloc
=no
7917 rm -f conftest.
$ac_objext conftest.
$ac_ext
7919 echo "$as_me:7919: result: $ac_cv_have_decl_realloc" >&5
7920 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
7921 if test $ac_cv_have_decl_realloc = yes; then
7923 cat >>confdefs.h
<<EOF
7924 #define HAVE_DECL_REALLOC 1
7928 cat >>confdefs.h
<<EOF
7929 #define HAVE_DECL_REALLOC 0
7933 echo "$as_me:7933: checking whether stpcpy is declared" >&5
7934 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
7935 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
7936 echo $ECHO_N "(cached) $ECHO_C" >&6
7938 cat >conftest.
$ac_ext <<_ACEOF
7939 #line 7939 "configure"
7940 #include "confdefs.h"
7947 char *p = (char *) stpcpy;
7954 rm -f conftest.
$ac_objext
7955 if { (eval echo "$as_me:7955: \"$ac_compile\"") >&5
7956 (eval $ac_compile) 2>&5
7958 echo "$as_me:7958: \$? = $ac_status" >&5
7959 (exit $ac_status); } &&
7960 { ac_try
='test -s conftest.$ac_objext'
7961 { (eval echo "$as_me:7961: \"$ac_try\"") >&5
7964 echo "$as_me:7964: \$? = $ac_status" >&5
7965 (exit $ac_status); }; }; then
7966 ac_cv_have_decl_stpcpy
=yes
7968 echo "$as_me: failed program was:" >&5
7969 cat conftest.
$ac_ext >&5
7970 ac_cv_have_decl_stpcpy
=no
7972 rm -f conftest.
$ac_objext conftest.
$ac_ext
7974 echo "$as_me:7974: result: $ac_cv_have_decl_stpcpy" >&5
7975 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
7976 if test $ac_cv_have_decl_stpcpy = yes; then
7978 cat >>confdefs.h
<<EOF
7979 #define HAVE_DECL_STPCPY 1
7983 cat >>confdefs.h
<<EOF
7984 #define HAVE_DECL_STPCPY 0
7988 echo "$as_me:7988: checking whether strndup is declared" >&5
7989 echo $ECHO_N "checking whether strndup is declared... $ECHO_C" >&6
7990 if test "${ac_cv_have_decl_strndup+set}" = set; then
7991 echo $ECHO_N "(cached) $ECHO_C" >&6
7993 cat >conftest.
$ac_ext <<_ACEOF
7994 #line 7994 "configure"
7995 #include "confdefs.h"
8002 char *p = (char *) strndup;
8009 rm -f conftest.
$ac_objext
8010 if { (eval echo "$as_me:8010: \"$ac_compile\"") >&5
8011 (eval $ac_compile) 2>&5
8013 echo "$as_me:8013: \$? = $ac_status" >&5
8014 (exit $ac_status); } &&
8015 { ac_try
='test -s conftest.$ac_objext'
8016 { (eval echo "$as_me:8016: \"$ac_try\"") >&5
8019 echo "$as_me:8019: \$? = $ac_status" >&5
8020 (exit $ac_status); }; }; then
8021 ac_cv_have_decl_strndup
=yes
8023 echo "$as_me: failed program was:" >&5
8024 cat conftest.
$ac_ext >&5
8025 ac_cv_have_decl_strndup
=no
8027 rm -f conftest.
$ac_objext conftest.
$ac_ext
8029 echo "$as_me:8029: result: $ac_cv_have_decl_strndup" >&5
8030 echo "${ECHO_T}$ac_cv_have_decl_strndup" >&6
8031 if test $ac_cv_have_decl_strndup = yes; then
8033 cat >>confdefs.h
<<EOF
8034 #define HAVE_DECL_STRNDUP 1
8038 cat >>confdefs.h
<<EOF
8039 #define HAVE_DECL_STRNDUP 0
8043 echo "$as_me:8043: checking whether strnlen is declared" >&5
8044 echo $ECHO_N "checking whether strnlen is declared... $ECHO_C" >&6
8045 if test "${ac_cv_have_decl_strnlen+set}" = set; then
8046 echo $ECHO_N "(cached) $ECHO_C" >&6
8048 cat >conftest.
$ac_ext <<_ACEOF
8049 #line 8049 "configure"
8050 #include "confdefs.h"
8057 char *p = (char *) strnlen;
8064 rm -f conftest.
$ac_objext
8065 if { (eval echo "$as_me:8065: \"$ac_compile\"") >&5
8066 (eval $ac_compile) 2>&5
8068 echo "$as_me:8068: \$? = $ac_status" >&5
8069 (exit $ac_status); } &&
8070 { ac_try
='test -s conftest.$ac_objext'
8071 { (eval echo "$as_me:8071: \"$ac_try\"") >&5
8074 echo "$as_me:8074: \$? = $ac_status" >&5
8075 (exit $ac_status); }; }; then
8076 ac_cv_have_decl_strnlen
=yes
8078 echo "$as_me: failed program was:" >&5
8079 cat conftest.
$ac_ext >&5
8080 ac_cv_have_decl_strnlen
=no
8082 rm -f conftest.
$ac_objext conftest.
$ac_ext
8084 echo "$as_me:8084: result: $ac_cv_have_decl_strnlen" >&5
8085 echo "${ECHO_T}$ac_cv_have_decl_strnlen" >&6
8086 if test $ac_cv_have_decl_strnlen = yes; then
8088 cat >>confdefs.h
<<EOF
8089 #define HAVE_DECL_STRNLEN 1
8093 cat >>confdefs.h
<<EOF
8094 #define HAVE_DECL_STRNLEN 0
8098 echo "$as_me:8098: checking whether strstr is declared" >&5
8099 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
8100 if test "${ac_cv_have_decl_strstr+set}" = set; then
8101 echo $ECHO_N "(cached) $ECHO_C" >&6
8103 cat >conftest.
$ac_ext <<_ACEOF
8104 #line 8104 "configure"
8105 #include "confdefs.h"
8112 char *p = (char *) strstr;
8119 rm -f conftest.
$ac_objext
8120 if { (eval echo "$as_me:8120: \"$ac_compile\"") >&5
8121 (eval $ac_compile) 2>&5
8123 echo "$as_me:8123: \$? = $ac_status" >&5
8124 (exit $ac_status); } &&
8125 { ac_try
='test -s conftest.$ac_objext'
8126 { (eval echo "$as_me:8126: \"$ac_try\"") >&5
8129 echo "$as_me:8129: \$? = $ac_status" >&5
8130 (exit $ac_status); }; }; then
8131 ac_cv_have_decl_strstr
=yes
8133 echo "$as_me: failed program was:" >&5
8134 cat conftest.
$ac_ext >&5
8135 ac_cv_have_decl_strstr
=no
8137 rm -f conftest.
$ac_objext conftest.
$ac_ext
8139 echo "$as_me:8139: result: $ac_cv_have_decl_strstr" >&5
8140 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
8141 if test $ac_cv_have_decl_strstr = yes; then
8143 cat >>confdefs.h
<<EOF
8144 #define HAVE_DECL_STRSTR 1
8148 cat >>confdefs.h
<<EOF
8149 #define HAVE_DECL_STRSTR 0
8153 echo "$as_me:8153: checking whether strtoul is declared" >&5
8154 echo $ECHO_N "checking whether strtoul is declared... $ECHO_C" >&6
8155 if test "${ac_cv_have_decl_strtoul+set}" = set; then
8156 echo $ECHO_N "(cached) $ECHO_C" >&6
8158 cat >conftest.
$ac_ext <<_ACEOF
8159 #line 8159 "configure"
8160 #include "confdefs.h"
8167 char *p = (char *) strtoul;
8174 rm -f conftest.
$ac_objext
8175 if { (eval echo "$as_me:8175: \"$ac_compile\"") >&5
8176 (eval $ac_compile) 2>&5
8178 echo "$as_me:8178: \$? = $ac_status" >&5
8179 (exit $ac_status); } &&
8180 { ac_try
='test -s conftest.$ac_objext'
8181 { (eval echo "$as_me:8181: \"$ac_try\"") >&5
8184 echo "$as_me:8184: \$? = $ac_status" >&5
8185 (exit $ac_status); }; }; then
8186 ac_cv_have_decl_strtoul
=yes
8188 echo "$as_me: failed program was:" >&5
8189 cat conftest.
$ac_ext >&5
8190 ac_cv_have_decl_strtoul
=no
8192 rm -f conftest.
$ac_objext conftest.
$ac_ext
8194 echo "$as_me:8194: result: $ac_cv_have_decl_strtoul" >&5
8195 echo "${ECHO_T}$ac_cv_have_decl_strtoul" >&6
8196 if test $ac_cv_have_decl_strtoul = yes; then
8198 cat >>confdefs.h
<<EOF
8199 #define HAVE_DECL_STRTOUL 1
8203 cat >>confdefs.h
<<EOF
8204 #define HAVE_DECL_STRTOUL 0
8208 echo "$as_me:8208: checking whether strtoull is declared" >&5
8209 echo $ECHO_N "checking whether strtoull is declared... $ECHO_C" >&6
8210 if test "${ac_cv_have_decl_strtoull+set}" = set; then
8211 echo $ECHO_N "(cached) $ECHO_C" >&6
8213 cat >conftest.
$ac_ext <<_ACEOF
8214 #line 8214 "configure"
8215 #include "confdefs.h"
8222 char *p = (char *) strtoull;
8229 rm -f conftest.
$ac_objext
8230 if { (eval echo "$as_me:8230: \"$ac_compile\"") >&5
8231 (eval $ac_compile) 2>&5
8233 echo "$as_me:8233: \$? = $ac_status" >&5
8234 (exit $ac_status); } &&
8235 { ac_try
='test -s conftest.$ac_objext'
8236 { (eval echo "$as_me:8236: \"$ac_try\"") >&5
8239 echo "$as_me:8239: \$? = $ac_status" >&5
8240 (exit $ac_status); }; }; then
8241 ac_cv_have_decl_strtoull
=yes
8243 echo "$as_me: failed program was:" >&5
8244 cat conftest.
$ac_ext >&5
8245 ac_cv_have_decl_strtoull
=no
8247 rm -f conftest.
$ac_objext conftest.
$ac_ext
8249 echo "$as_me:8249: result: $ac_cv_have_decl_strtoull" >&5
8250 echo "${ECHO_T}$ac_cv_have_decl_strtoull" >&6
8251 if test $ac_cv_have_decl_strtoull = yes; then
8253 cat >>confdefs.h
<<EOF
8254 #define HAVE_DECL_STRTOULL 1
8258 cat >>confdefs.h
<<EOF
8259 #define HAVE_DECL_STRTOULL 0
8263 echo "$as_me:8263: checking whether ttyname is declared" >&5
8264 echo $ECHO_N "checking whether ttyname is declared... $ECHO_C" >&6
8265 if test "${ac_cv_have_decl_ttyname+set}" = set; then
8266 echo $ECHO_N "(cached) $ECHO_C" >&6
8268 cat >conftest.
$ac_ext <<_ACEOF
8269 #line 8269 "configure"
8270 #include "confdefs.h"
8277 char *p = (char *) ttyname;
8284 rm -f conftest.
$ac_objext
8285 if { (eval echo "$as_me:8285: \"$ac_compile\"") >&5
8286 (eval $ac_compile) 2>&5
8288 echo "$as_me:8288: \$? = $ac_status" >&5
8289 (exit $ac_status); } &&
8290 { ac_try
='test -s conftest.$ac_objext'
8291 { (eval echo "$as_me:8291: \"$ac_try\"") >&5
8294 echo "$as_me:8294: \$? = $ac_status" >&5
8295 (exit $ac_status); }; }; then
8296 ac_cv_have_decl_ttyname
=yes
8298 echo "$as_me: failed program was:" >&5
8299 cat conftest.
$ac_ext >&5
8300 ac_cv_have_decl_ttyname
=no
8302 rm -f conftest.
$ac_objext conftest.
$ac_ext
8304 echo "$as_me:8304: result: $ac_cv_have_decl_ttyname" >&5
8305 echo "${ECHO_T}$ac_cv_have_decl_ttyname" >&6
8306 if test $ac_cv_have_decl_ttyname = yes; then
8308 cat >>confdefs.h
<<EOF
8309 #define HAVE_DECL_TTYNAME 1
8313 cat >>confdefs.h
<<EOF
8314 #define HAVE_DECL_TTYNAME 0
8319 echo "$as_me:8319: checking for long file names" >&5
8320 echo $ECHO_N "checking for long file names... $ECHO_C" >&6
8321 if test "${ac_cv_sys_long_file_names+set}" = set; then
8322 echo $ECHO_N "(cached) $ECHO_C" >&6
8324 ac_cv_sys_long_file_names
=yes
8325 # Test for long file names in all the places we know might matter:
8326 # . the current directory, where building will happen
8327 # $prefix/lib where we will be installing things
8328 # $exec_prefix/lib likewise
8329 # eval it to expand exec_prefix.
8330 # $TMPDIR if set, where it might want to write temporary files
8331 # if $TMPDIR is not set:
8332 # /tmp where it might want to write temporary files
8335 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
8338 ac_tmpdirs
='/tmp /var/tmp /usr/tmp'
8340 for ac_dir
in .
$ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
8341 test -d $ac_dir ||
continue
8342 test -w $ac_dir ||
continue # It is less confusing to not echo anything here.
8343 ac_xdir
=$ac_dir/cf$$
8344 (umask 077 && mkdir
$ac_xdir 2>/dev
/null
) ||
continue
8345 ac_tf1
=$ac_xdir/conftest9012345
8346 ac_tf2
=$ac_xdir/conftest9012346
8347 (echo 1 >$ac_tf1) 2>/dev
/null
8348 (echo 2 >$ac_tf2) 2>/dev
/null
8349 ac_val
=`cat $ac_tf1 2>/dev/null`
8350 if test ! -f $ac_tf1 ||
test "$ac_val" != 1; then
8351 ac_cv_sys_long_file_names
=no
8352 rm -rf $ac_xdir 2>/dev
/null
8355 rm -rf $ac_xdir 2>/dev
/null
8358 echo "$as_me:8358: result: $ac_cv_sys_long_file_names" >&5
8359 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
8360 if test $ac_cv_sys_long_file_names = yes; then
8362 cat >>confdefs.h
<<\EOF
8363 #define HAVE_LONG_FILE_NAMES 1
8368 for ac_func
in pathconf
8370 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
8371 echo "$as_me:8371: checking for $ac_func" >&5
8372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8373 if eval "test \"\${$ac_ac_var+set}\" = set"; then
8374 echo $ECHO_N "(cached) $ECHO_C" >&6
8376 cat >conftest.
$ac_ext <<_ACEOF
8377 #line 8377 "configure"
8378 #include "confdefs.h"
8379 /* System header to define __stub macros and hopefully few prototypes,
8380 which can conflict with char $ac_func (); below. */
8382 /* Override any gcc2 internal prototype to avoid an error. */
8386 /* We use char because int might match the return type of a gcc2
8387 builtin and then its argument prototype would still apply. */
8394 /* The GNU C library defines this for functions which it implements
8395 to always fail with ENOSYS. Some functions are actually named
8396 something starting with __ and the normal name is an alias. */
8397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8407 rm -f conftest.
$ac_objext conftest
$ac_exeext
8408 if { (eval echo "$as_me:8408: \"$ac_link\"") >&5
8409 (eval $ac_link) 2>&5
8411 echo "$as_me:8411: \$? = $ac_status" >&5
8412 (exit $ac_status); } &&
8413 { ac_try
='test -s conftest$ac_exeext'
8414 { (eval echo "$as_me:8414: \"$ac_try\"") >&5
8417 echo "$as_me:8417: \$? = $ac_status" >&5
8418 (exit $ac_status); }; }; then
8419 eval "$ac_ac_var=yes"
8421 echo "$as_me: failed program was:" >&5
8422 cat conftest.
$ac_ext >&5
8423 eval "$ac_ac_var=no"
8425 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8427 echo "$as_me:8427: result: `eval echo '${'$ac_ac_var'}'`" >&5
8428 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
8429 if test `eval echo '${'$ac_ac_var'}'` = yes; then
8430 cat >>confdefs.h
<<EOF
8431 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
8437 for ac_header
in limits.h string.h unistd.h
8439 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
8440 echo "$as_me:8440: checking for $ac_header" >&5
8441 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8442 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
8443 echo $ECHO_N "(cached) $ECHO_C" >&6
8445 cat >conftest.
$ac_ext <<_ACEOF
8446 #line 8446 "configure"
8447 #include "confdefs.h"
8448 #include <$ac_header>
8450 if { (eval echo "$as_me:8450: \"$ac_cpp conftest.$ac_ext\"") >&5
8451 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8453 egrep -v '^ *\+' conftest.er1
>conftest.err
8455 cat conftest.err
>&5
8456 echo "$as_me:8456: \$? = $ac_status" >&5
8457 (exit $ac_status); } >/dev
/null
; then
8458 if test -s conftest.err
; then
8459 ac_cpp_err
=$ac_c_preproc_warn_flag
8466 if test -z "$ac_cpp_err"; then
8467 eval "$ac_ac_Header=yes"
8469 echo "$as_me: failed program was:" >&5
8470 cat conftest.
$ac_ext >&5
8471 eval "$ac_ac_Header=no"
8473 rm -f conftest.err conftest.
$ac_ext
8475 echo "$as_me:8475: result: `eval echo '${'$ac_ac_Header'}'`" >&5
8476 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
8477 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
8478 cat >>confdefs.h
<<EOF
8479 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
8485 echo "$as_me:8485: checking for library containing gethostbyname" >&5
8486 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
8487 if test "${ac_cv_search_gethostbyname+set}" = set; then
8488 echo $ECHO_N "(cached) $ECHO_C" >&6
8490 ac_func_search_save_LIBS
=$LIBS
8491 ac_cv_search_gethostbyname
=no
8492 cat >conftest.
$ac_ext <<_ACEOF
8493 #line 8493 "configure"
8494 #include "confdefs.h"
8496 /* Override any gcc2 internal prototype to avoid an error. */
8500 /* We use char because int might match the return type of a gcc2
8501 builtin and then its argument prototype would still apply. */
8502 char gethostbyname ();
8511 rm -f conftest.
$ac_objext conftest
$ac_exeext
8512 if { (eval echo "$as_me:8512: \"$ac_link\"") >&5
8513 (eval $ac_link) 2>&5
8515 echo "$as_me:8515: \$? = $ac_status" >&5
8516 (exit $ac_status); } &&
8517 { ac_try
='test -s conftest$ac_exeext'
8518 { (eval echo "$as_me:8518: \"$ac_try\"") >&5
8521 echo "$as_me:8521: \$? = $ac_status" >&5
8522 (exit $ac_status); }; }; then
8523 ac_cv_search_gethostbyname
="none required"
8525 echo "$as_me: failed program was:" >&5
8526 cat conftest.
$ac_ext >&5
8528 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8529 test "$ac_cv_search_gethostbyname" = no
&& for ac_lib
in inet nsl
; do
8530 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8531 cat >conftest.
$ac_ext <<_ACEOF
8532 #line 8532 "configure"
8533 #include "confdefs.h"
8535 /* Override any gcc2 internal prototype to avoid an error. */
8539 /* We use char because int might match the return type of a gcc2
8540 builtin and then its argument prototype would still apply. */
8541 char gethostbyname ();
8550 rm -f conftest.
$ac_objext conftest
$ac_exeext
8551 if { (eval echo "$as_me:8551: \"$ac_link\"") >&5
8552 (eval $ac_link) 2>&5
8554 echo "$as_me:8554: \$? = $ac_status" >&5
8555 (exit $ac_status); } &&
8556 { ac_try
='test -s conftest$ac_exeext'
8557 { (eval echo "$as_me:8557: \"$ac_try\"") >&5
8560 echo "$as_me:8560: \$? = $ac_status" >&5
8561 (exit $ac_status); }; }; then
8562 ac_cv_search_gethostbyname
="-l$ac_lib"
8565 echo "$as_me: failed program was:" >&5
8566 cat conftest.
$ac_ext >&5
8568 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8570 LIBS
=$ac_func_search_save_LIBS
8572 echo "$as_me:8572: result: $ac_cv_search_gethostbyname" >&5
8573 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
8574 if test "$ac_cv_search_gethostbyname" != no
; then
8575 test "$ac_cv_search_gethostbyname" = "none required" || LIBS
="$ac_cv_search_gethostbyname $LIBS"
8579 for ac_func
in gethostbyname gethostbyaddr inet_ntoa
8581 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
8582 echo "$as_me:8582: checking for $ac_func" >&5
8583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8584 if eval "test \"\${$ac_ac_var+set}\" = set"; then
8585 echo $ECHO_N "(cached) $ECHO_C" >&6
8587 cat >conftest.
$ac_ext <<_ACEOF
8588 #line 8588 "configure"
8589 #include "confdefs.h"
8590 /* System header to define __stub macros and hopefully few prototypes,
8591 which can conflict with char $ac_func (); below. */
8593 /* Override any gcc2 internal prototype to avoid an error. */
8597 /* We use char because int might match the return type of a gcc2
8598 builtin and then its argument prototype would still apply. */
8605 /* The GNU C library defines this for functions which it implements
8606 to always fail with ENOSYS. Some functions are actually named
8607 something starting with __ and the normal name is an alias. */
8608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8618 rm -f conftest.
$ac_objext conftest
$ac_exeext
8619 if { (eval echo "$as_me:8619: \"$ac_link\"") >&5
8620 (eval $ac_link) 2>&5
8622 echo "$as_me:8622: \$? = $ac_status" >&5
8623 (exit $ac_status); } &&
8624 { ac_try
='test -s conftest$ac_exeext'
8625 { (eval echo "$as_me:8625: \"$ac_try\"") >&5
8628 echo "$as_me:8628: \$? = $ac_status" >&5
8629 (exit $ac_status); }; }; then
8630 eval "$ac_ac_var=yes"
8632 echo "$as_me: failed program was:" >&5
8633 cat conftest.
$ac_ext >&5
8634 eval "$ac_ac_var=no"
8636 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8638 echo "$as_me:8638: result: `eval echo '${'$ac_ac_var'}'`" >&5
8639 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
8640 if test `eval echo '${'$ac_ac_var'}'` = yes; then
8641 cat >>confdefs.h
<<EOF
8642 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
8648 for ac_func
in gethostbyname gethostbyaddr inet_ntoa
8650 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
8651 echo "$as_me:8651: checking for $ac_func" >&5
8652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8653 if eval "test \"\${$ac_ac_var+set}\" = set"; then
8654 echo $ECHO_N "(cached) $ECHO_C" >&6
8656 cat >conftest.
$ac_ext <<_ACEOF
8657 #line 8657 "configure"
8658 #include "confdefs.h"
8659 /* System header to define __stub macros and hopefully few prototypes,
8660 which can conflict with char $ac_func (); below. */
8662 /* Override any gcc2 internal prototype to avoid an error. */
8666 /* We use char because int might match the return type of a gcc2
8667 builtin and then its argument prototype would still apply. */
8674 /* The GNU C library defines this for functions which it implements
8675 to always fail with ENOSYS. Some functions are actually named
8676 something starting with __ and the normal name is an alias. */
8677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8687 rm -f conftest.
$ac_objext conftest
$ac_exeext
8688 if { (eval echo "$as_me:8688: \"$ac_link\"") >&5
8689 (eval $ac_link) 2>&5
8691 echo "$as_me:8691: \$? = $ac_status" >&5
8692 (exit $ac_status); } &&
8693 { ac_try
='test -s conftest$ac_exeext'
8694 { (eval echo "$as_me:8694: \"$ac_try\"") >&5
8697 echo "$as_me:8697: \$? = $ac_status" >&5
8698 (exit $ac_status); }; }; then
8699 eval "$ac_ac_var=yes"
8701 echo "$as_me: failed program was:" >&5
8702 cat conftest.
$ac_ext >&5
8703 eval "$ac_ac_var=no"
8705 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8707 echo "$as_me:8707: result: `eval echo '${'$ac_ac_var'}'`" >&5
8708 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
8709 if test `eval echo '${'$ac_ac_var'}'` = yes; then
8710 cat >>confdefs.h
<<EOF
8711 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
8717 for ac_header
in unistd.h string.h netdb.h sys
/socket.h \
8718 netinet
/in.h arpa
/inet.h
8720 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
8721 echo "$as_me:8721: checking for $ac_header" >&5
8722 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8723 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
8724 echo $ECHO_N "(cached) $ECHO_C" >&6
8726 cat >conftest.
$ac_ext <<_ACEOF
8727 #line 8727 "configure"
8728 #include "confdefs.h"
8729 #include <$ac_header>
8731 if { (eval echo "$as_me:8731: \"$ac_cpp conftest.$ac_ext\"") >&5
8732 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8734 egrep -v '^ *\+' conftest.er1
>conftest.err
8736 cat conftest.err
>&5
8737 echo "$as_me:8737: \$? = $ac_status" >&5
8738 (exit $ac_status); } >/dev
/null
; then
8739 if test -s conftest.err
; then
8740 ac_cpp_err
=$ac_c_preproc_warn_flag
8747 if test -z "$ac_cpp_err"; then
8748 eval "$ac_ac_Header=yes"
8750 echo "$as_me: failed program was:" >&5
8751 cat conftest.
$ac_ext >&5
8752 eval "$ac_ac_Header=no"
8754 rm -f conftest.err conftest.
$ac_ext
8756 echo "$as_me:8756: result: `eval echo '${'$ac_ac_Header'}'`" >&5
8757 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
8758 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
8759 cat >>confdefs.h
<<EOF
8760 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
8766 for ac_func
in strerror strerror_r vprintf doprnt
8768 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
8769 echo "$as_me:8769: checking for $ac_func" >&5
8770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8771 if eval "test \"\${$ac_ac_var+set}\" = set"; then
8772 echo $ECHO_N "(cached) $ECHO_C" >&6
8774 cat >conftest.
$ac_ext <<_ACEOF
8775 #line 8775 "configure"
8776 #include "confdefs.h"
8777 /* System header to define __stub macros and hopefully few prototypes,
8778 which can conflict with char $ac_func (); below. */
8780 /* Override any gcc2 internal prototype to avoid an error. */
8784 /* We use char because int might match the return type of a gcc2
8785 builtin and then its argument prototype would still apply. */
8792 /* The GNU C library defines this for functions which it implements
8793 to always fail with ENOSYS. Some functions are actually named
8794 something starting with __ and the normal name is an alias. */
8795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8805 rm -f conftest.
$ac_objext conftest
$ac_exeext
8806 if { (eval echo "$as_me:8806: \"$ac_link\"") >&5
8807 (eval $ac_link) 2>&5
8809 echo "$as_me:8809: \$? = $ac_status" >&5
8810 (exit $ac_status); } &&
8811 { ac_try
='test -s conftest$ac_exeext'
8812 { (eval echo "$as_me:8812: \"$ac_try\"") >&5
8815 echo "$as_me:8815: \$? = $ac_status" >&5
8816 (exit $ac_status); }; }; then
8817 eval "$ac_ac_var=yes"
8819 echo "$as_me: failed program was:" >&5
8820 cat conftest.
$ac_ext >&5
8821 eval "$ac_ac_var=no"
8823 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8825 echo "$as_me:8825: result: `eval echo '${'$ac_ac_var'}'`" >&5
8826 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
8827 if test `eval echo '${'$ac_ac_var'}'` = yes; then
8828 cat >>confdefs.h
<<EOF
8829 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
8835 echo "$as_me:8835: checking for ANSI C header files" >&5
8836 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
8837 if test "${ac_cv_header_stdc+set}" = set; then
8838 echo $ECHO_N "(cached) $ECHO_C" >&6
8840 cat >conftest.
$ac_ext <<_ACEOF
8841 #line 8841 "configure"
8842 #include "confdefs.h"
8849 if { (eval echo "$as_me:8849: \"$ac_cpp conftest.$ac_ext\"") >&5
8850 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8852 egrep -v '^ *\+' conftest.er1
>conftest.err
8854 cat conftest.err
>&5
8855 echo "$as_me:8855: \$? = $ac_status" >&5
8856 (exit $ac_status); } >/dev
/null
; then
8857 if test -s conftest.err
; then
8858 ac_cpp_err
=$ac_c_preproc_warn_flag
8865 if test -z "$ac_cpp_err"; then
8866 ac_cv_header_stdc
=yes
8868 echo "$as_me: failed program was:" >&5
8869 cat conftest.
$ac_ext >&5
8870 ac_cv_header_stdc
=no
8872 rm -f conftest.err conftest.
$ac_ext
8874 if test $ac_cv_header_stdc = yes; then
8875 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8876 cat >conftest.
$ac_ext <<_ACEOF
8877 #line 8877 "configure"
8878 #include "confdefs.h"
8882 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8883 egrep "memchr" >/dev
/null
2>&1; then
8886 ac_cv_header_stdc
=no
8892 if test $ac_cv_header_stdc = yes; then
8893 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8894 cat >conftest.
$ac_ext <<_ACEOF
8895 #line 8895 "configure"
8896 #include "confdefs.h"
8900 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8901 egrep "free" >/dev
/null
2>&1; then
8904 ac_cv_header_stdc
=no
8910 if test $ac_cv_header_stdc = yes; then
8911 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8912 if test "$cross_compiling" = yes; then
8915 cat >conftest.
$ac_ext <<_ACEOF
8916 #line 8916 "configure"
8917 #include "confdefs.h"
8919 #if ((' ' & 0x0FF) == 0x020)
8920 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8921 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8923 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
8924 || ('j' <= (c) && (c) <= 'r') \
8925 || ('s' <= (c) && (c) <= 'z'))
8926 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8929 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8934 for (i = 0; i < 256; i++)
8935 if (XOR (islower (i), ISLOWER (i))
8936 || toupper (i) != TOUPPER (i))
8941 rm -f conftest
$ac_exeext
8942 if { (eval echo "$as_me:8942: \"$ac_link\"") >&5
8943 (eval $ac_link) 2>&5
8945 echo "$as_me:8945: \$? = $ac_status" >&5
8946 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8947 { (eval echo "$as_me:8947: \"$ac_try\"") >&5
8950 echo "$as_me:8950: \$? = $ac_status" >&5
8951 (exit $ac_status); }; }; then
8954 echo "$as_me: program exited with status $ac_status" >&5
8955 echo "$as_me: failed program was:" >&5
8956 cat conftest.
$ac_ext >&5
8957 ac_cv_header_stdc
=no
8959 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_ext
8963 echo "$as_me:8963: result: $ac_cv_header_stdc" >&5
8964 echo "${ECHO_T}$ac_cv_header_stdc" >&6
8965 if test $ac_cv_header_stdc = yes; then
8967 cat >>confdefs.h
<<\EOF
8968 #define STDC_HEADERS 1
8973 for ac_func
in isascii iswprint mbrtowc
8975 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
8976 echo "$as_me:8976: checking for $ac_func" >&5
8977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8978 if eval "test \"\${$ac_ac_var+set}\" = set"; then
8979 echo $ECHO_N "(cached) $ECHO_C" >&6
8981 cat >conftest.
$ac_ext <<_ACEOF
8982 #line 8982 "configure"
8983 #include "confdefs.h"
8984 /* System header to define __stub macros and hopefully few prototypes,
8985 which can conflict with char $ac_func (); below. */
8987 /* Override any gcc2 internal prototype to avoid an error. */
8991 /* We use char because int might match the return type of a gcc2
8992 builtin and then its argument prototype would still apply. */
8999 /* The GNU C library defines this for functions which it implements
9000 to always fail with ENOSYS. Some functions are actually named
9001 something starting with __ and the normal name is an alias. */
9002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9012 rm -f conftest.
$ac_objext conftest
$ac_exeext
9013 if { (eval echo "$as_me:9013: \"$ac_link\"") >&5
9014 (eval $ac_link) 2>&5
9016 echo "$as_me:9016: \$? = $ac_status" >&5
9017 (exit $ac_status); } &&
9018 { ac_try
='test -s conftest$ac_exeext'
9019 { (eval echo "$as_me:9019: \"$ac_try\"") >&5
9022 echo "$as_me:9022: \$? = $ac_status" >&5
9023 (exit $ac_status); }; }; then
9024 eval "$ac_ac_var=yes"
9026 echo "$as_me: failed program was:" >&5
9027 cat conftest.
$ac_ext >&5
9028 eval "$ac_ac_var=no"
9030 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9032 echo "$as_me:9032: result: `eval echo '${'$ac_ac_var'}'`" >&5
9033 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
9034 if test `eval echo '${'$ac_ac_var'}'` = yes; then
9035 cat >>confdefs.h
<<EOF
9036 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
9042 for ac_header
in limits.h stdlib.h string.h wchar.h wctype.h
9044 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
9045 echo "$as_me:9045: checking for $ac_header" >&5
9046 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9047 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
9048 echo $ECHO_N "(cached) $ECHO_C" >&6
9050 cat >conftest.
$ac_ext <<_ACEOF
9051 #line 9051 "configure"
9052 #include "confdefs.h"
9053 #include <$ac_header>
9055 if { (eval echo "$as_me:9055: \"$ac_cpp conftest.$ac_ext\"") >&5
9056 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9058 egrep -v '^ *\+' conftest.er1
>conftest.err
9060 cat conftest.err
>&5
9061 echo "$as_me:9061: \$? = $ac_status" >&5
9062 (exit $ac_status); } >/dev
/null
; then
9063 if test -s conftest.err
; then
9064 ac_cpp_err
=$ac_c_preproc_warn_flag
9071 if test -z "$ac_cpp_err"; then
9072 eval "$ac_ac_Header=yes"
9074 echo "$as_me: failed program was:" >&5
9075 cat conftest.
$ac_ext >&5
9076 eval "$ac_ac_Header=no"
9078 rm -f conftest.err conftest.
$ac_ext
9080 echo "$as_me:9080: result: `eval echo '${'$ac_ac_Header'}'`" >&5
9081 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
9082 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
9083 cat >>confdefs.h
<<EOF
9084 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
9090 echo "$as_me:9090: checking for ANSI C header files" >&5
9091 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
9092 if test "${ac_cv_header_stdc+set}" = set; then
9093 echo $ECHO_N "(cached) $ECHO_C" >&6
9095 cat >conftest.
$ac_ext <<_ACEOF
9096 #line 9096 "configure"
9097 #include "confdefs.h"
9104 if { (eval echo "$as_me:9104: \"$ac_cpp conftest.$ac_ext\"") >&5
9105 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9107 egrep -v '^ *\+' conftest.er1
>conftest.err
9109 cat conftest.err
>&5
9110 echo "$as_me:9110: \$? = $ac_status" >&5
9111 (exit $ac_status); } >/dev
/null
; then
9112 if test -s conftest.err
; then
9113 ac_cpp_err
=$ac_c_preproc_warn_flag
9120 if test -z "$ac_cpp_err"; then
9121 ac_cv_header_stdc
=yes
9123 echo "$as_me: failed program was:" >&5
9124 cat conftest.
$ac_ext >&5
9125 ac_cv_header_stdc
=no
9127 rm -f conftest.err conftest.
$ac_ext
9129 if test $ac_cv_header_stdc = yes; then
9130 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9131 cat >conftest.
$ac_ext <<_ACEOF
9132 #line 9132 "configure"
9133 #include "confdefs.h"
9137 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9138 egrep "memchr" >/dev
/null
2>&1; then
9141 ac_cv_header_stdc
=no
9147 if test $ac_cv_header_stdc = yes; then
9148 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9149 cat >conftest.
$ac_ext <<_ACEOF
9150 #line 9150 "configure"
9151 #include "confdefs.h"
9155 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9156 egrep "free" >/dev
/null
2>&1; then
9159 ac_cv_header_stdc
=no
9165 if test $ac_cv_header_stdc = yes; then
9166 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9167 if test "$cross_compiling" = yes; then
9170 cat >conftest.
$ac_ext <<_ACEOF
9171 #line 9171 "configure"
9172 #include "confdefs.h"
9174 #if ((' ' & 0x0FF) == 0x020)
9175 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9176 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9178 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
9179 || ('j' <= (c) && (c) <= 'r') \
9180 || ('s' <= (c) && (c) <= 'z'))
9181 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9184 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9189 for (i = 0; i < 256; i++)
9190 if (XOR (islower (i), ISLOWER (i))
9191 || toupper (i) != TOUPPER (i))
9196 rm -f conftest
$ac_exeext
9197 if { (eval echo "$as_me:9197: \"$ac_link\"") >&5
9198 (eval $ac_link) 2>&5
9200 echo "$as_me:9200: \$? = $ac_status" >&5
9201 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9202 { (eval echo "$as_me:9202: \"$ac_try\"") >&5
9205 echo "$as_me:9205: \$? = $ac_status" >&5
9206 (exit $ac_status); }; }; then
9209 echo "$as_me: program exited with status $ac_status" >&5
9210 echo "$as_me: failed program was:" >&5
9211 cat conftest.
$ac_ext >&5
9212 ac_cv_header_stdc
=no
9214 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_ext
9218 echo "$as_me:9218: result: $ac_cv_header_stdc" >&5
9219 echo "${ECHO_T}$ac_cv_header_stdc" >&6
9220 if test $ac_cv_header_stdc = yes; then
9222 cat >>confdefs.h
<<\EOF
9223 #define STDC_HEADERS 1
9228 echo "$as_me:9228: checking whether backslash-a works in strings" >&5
9229 echo $ECHO_N "checking whether backslash-a works in strings... $ECHO_C" >&6
9230 if test "${ac_cv_c_backslash_a+set}" = set; then
9231 echo $ECHO_N "(cached) $ECHO_C" >&6
9233 cat >conftest.
$ac_ext <<_ACEOF
9234 #line 9234 "configure"
9235 #include "confdefs.h"
9244 char buf['\a' == 'a' ? -1 : 1];
9246 return buf[0] != "\a"[0];
9252 rm -f conftest.
$ac_objext
9253 if { (eval echo "$as_me:9253: \"$ac_compile\"") >&5
9254 (eval $ac_compile) 2>&5
9256 echo "$as_me:9256: \$? = $ac_status" >&5
9257 (exit $ac_status); } &&
9258 { ac_try
='test -s conftest.$ac_objext'
9259 { (eval echo "$as_me:9259: \"$ac_try\"") >&5
9262 echo "$as_me:9262: \$? = $ac_status" >&5
9263 (exit $ac_status); }; }; then
9264 ac_cv_c_backslash_a
=yes
9266 echo "$as_me: failed program was:" >&5
9267 cat conftest.
$ac_ext >&5
9268 ac_cv_c_backslash_a
=no
9270 rm -f conftest.
$ac_objext conftest.
$ac_ext
9272 echo "$as_me:9272: result: $ac_cv_c_backslash_a" >&5
9273 echo "${ECHO_T}$ac_cv_c_backslash_a" >&6
9274 if test $ac_cv_c_backslash_a = yes; then
9276 cat >>confdefs.h
<<\EOF
9277 #define HAVE_C_BACKSLASH_A 1
9282 echo "$as_me:9282: checking for mbstate_t object type" >&5
9283 echo $ECHO_N "checking for mbstate_t object type... $ECHO_C" >&6
9284 if test "${ac_cv_type_mbstate_t_object+set}" = set; then
9285 echo $ECHO_N "(cached) $ECHO_C" >&6
9287 cat >conftest.
$ac_ext <<_ACEOF
9288 #line 9288 "configure"
9289 #include "confdefs.h"
9294 mbstate_t x; return sizeof x;
9299 rm -f conftest.
$ac_objext
9300 if { (eval echo "$as_me:9300: \"$ac_compile\"") >&5
9301 (eval $ac_compile) 2>&5
9303 echo "$as_me:9303: \$? = $ac_status" >&5
9304 (exit $ac_status); } &&
9305 { ac_try
='test -s conftest.$ac_objext'
9306 { (eval echo "$as_me:9306: \"$ac_try\"") >&5
9309 echo "$as_me:9309: \$? = $ac_status" >&5
9310 (exit $ac_status); }; }; then
9311 ac_cv_type_mbstate_t_object
=yes
9313 echo "$as_me: failed program was:" >&5
9314 cat conftest.
$ac_ext >&5
9315 ac_cv_type_mbstate_t_object
=no
9317 rm -f conftest.
$ac_objext conftest.
$ac_ext
9319 echo "$as_me:9319: result: $ac_cv_type_mbstate_t_object" >&5
9320 echo "${ECHO_T}$ac_cv_type_mbstate_t_object" >&6
9321 if test $ac_cv_type_mbstate_t_object = yes; then
9323 cat >>confdefs.h
<<\EOF
9324 #define HAVE_MBSTATE_T_OBJECT 1
9329 echo "$as_me:9329: checking for function prototypes" >&5
9330 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
9331 if test "$am_cv_prog_cc_stdc" != no
; then
9332 echo "$as_me:9332: result: yes" >&5
9333 echo "${ECHO_T}yes" >&6
9335 cat >>confdefs.h
<<\EOF
9336 #define PROTOTYPES 1
9341 echo "$as_me:9341: result: no" >&5
9342 echo "${ECHO_T}no" >&6
9343 U
=_ ANSI2KNR
=.
/ansi2knr
9345 # Ensure some checks needed by ansi2knr itself.
9346 echo "$as_me:9346: checking for ANSI C header files" >&5
9347 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
9348 if test "${ac_cv_header_stdc+set}" = set; then
9349 echo $ECHO_N "(cached) $ECHO_C" >&6
9351 cat >conftest.
$ac_ext <<_ACEOF
9352 #line 9352 "configure"
9353 #include "confdefs.h"
9360 if { (eval echo "$as_me:9360: \"$ac_cpp conftest.$ac_ext\"") >&5
9361 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9363 egrep -v '^ *\+' conftest.er1
>conftest.err
9365 cat conftest.err
>&5
9366 echo "$as_me:9366: \$? = $ac_status" >&5
9367 (exit $ac_status); } >/dev
/null
; then
9368 if test -s conftest.err
; then
9369 ac_cpp_err
=$ac_c_preproc_warn_flag
9376 if test -z "$ac_cpp_err"; then
9377 ac_cv_header_stdc
=yes
9379 echo "$as_me: failed program was:" >&5
9380 cat conftest.
$ac_ext >&5
9381 ac_cv_header_stdc
=no
9383 rm -f conftest.err conftest.
$ac_ext
9385 if test $ac_cv_header_stdc = yes; then
9386 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9387 cat >conftest.
$ac_ext <<_ACEOF
9388 #line 9388 "configure"
9389 #include "confdefs.h"
9393 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9394 egrep "memchr" >/dev
/null
2>&1; then
9397 ac_cv_header_stdc
=no
9403 if test $ac_cv_header_stdc = yes; then
9404 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9405 cat >conftest.
$ac_ext <<_ACEOF
9406 #line 9406 "configure"
9407 #include "confdefs.h"
9411 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9412 egrep "free" >/dev
/null
2>&1; then
9415 ac_cv_header_stdc
=no
9421 if test $ac_cv_header_stdc = yes; then
9422 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9423 if test "$cross_compiling" = yes; then
9426 cat >conftest.
$ac_ext <<_ACEOF
9427 #line 9427 "configure"
9428 #include "confdefs.h"
9430 #if ((' ' & 0x0FF) == 0x020)
9431 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9432 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9434 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
9435 || ('j' <= (c) && (c) <= 'r') \
9436 || ('s' <= (c) && (c) <= 'z'))
9437 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9440 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9445 for (i = 0; i < 256; i++)
9446 if (XOR (islower (i), ISLOWER (i))
9447 || toupper (i) != TOUPPER (i))
9452 rm -f conftest
$ac_exeext
9453 if { (eval echo "$as_me:9453: \"$ac_link\"") >&5
9454 (eval $ac_link) 2>&5
9456 echo "$as_me:9456: \$? = $ac_status" >&5
9457 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9458 { (eval echo "$as_me:9458: \"$ac_try\"") >&5
9461 echo "$as_me:9461: \$? = $ac_status" >&5
9462 (exit $ac_status); }; }; then
9465 echo "$as_me: program exited with status $ac_status" >&5
9466 echo "$as_me: failed program was:" >&5
9467 cat conftest.
$ac_ext >&5
9468 ac_cv_header_stdc
=no
9470 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_ext
9474 echo "$as_me:9474: result: $ac_cv_header_stdc" >&5
9475 echo "${ECHO_T}$ac_cv_header_stdc" >&6
9476 if test $ac_cv_header_stdc = yes; then
9478 cat >>confdefs.h
<<\EOF
9479 #define STDC_HEADERS 1
9484 for ac_header
in string.h
9486 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
9487 echo "$as_me:9487: checking for $ac_header" >&5
9488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9489 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
9490 echo $ECHO_N "(cached) $ECHO_C" >&6
9492 cat >conftest.
$ac_ext <<_ACEOF
9493 #line 9493 "configure"
9494 #include "confdefs.h"
9495 #include <$ac_header>
9497 if { (eval echo "$as_me:9497: \"$ac_cpp conftest.$ac_ext\"") >&5
9498 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9500 egrep -v '^ *\+' conftest.er1
>conftest.err
9502 cat conftest.err
>&5
9503 echo "$as_me:9503: \$? = $ac_status" >&5
9504 (exit $ac_status); } >/dev
/null
; then
9505 if test -s conftest.err
; then
9506 ac_cpp_err
=$ac_c_preproc_warn_flag
9513 if test -z "$ac_cpp_err"; then
9514 eval "$ac_ac_Header=yes"
9516 echo "$as_me: failed program was:" >&5
9517 cat conftest.
$ac_ext >&5
9518 eval "$ac_ac_Header=no"
9520 rm -f conftest.err conftest.
$ac_ext
9522 echo "$as_me:9522: result: `eval echo '${'$ac_ac_Header'}'`" >&5
9523 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
9524 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
9525 cat >>confdefs.h
<<EOF
9526 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
9532 echo "$as_me:9532: checking for ANSI C header files" >&5
9533 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
9534 if test "${ac_cv_header_stdc+set}" = set; then
9535 echo $ECHO_N "(cached) $ECHO_C" >&6
9537 cat >conftest.
$ac_ext <<_ACEOF
9538 #line 9538 "configure"
9539 #include "confdefs.h"
9546 if { (eval echo "$as_me:9546: \"$ac_cpp conftest.$ac_ext\"") >&5
9547 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9549 egrep -v '^ *\+' conftest.er1
>conftest.err
9551 cat conftest.err
>&5
9552 echo "$as_me:9552: \$? = $ac_status" >&5
9553 (exit $ac_status); } >/dev
/null
; then
9554 if test -s conftest.err
; then
9555 ac_cpp_err
=$ac_c_preproc_warn_flag
9562 if test -z "$ac_cpp_err"; then
9563 ac_cv_header_stdc
=yes
9565 echo "$as_me: failed program was:" >&5
9566 cat conftest.
$ac_ext >&5
9567 ac_cv_header_stdc
=no
9569 rm -f conftest.err conftest.
$ac_ext
9571 if test $ac_cv_header_stdc = yes; then
9572 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9573 cat >conftest.
$ac_ext <<_ACEOF
9574 #line 9574 "configure"
9575 #include "confdefs.h"
9579 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9580 egrep "memchr" >/dev
/null
2>&1; then
9583 ac_cv_header_stdc
=no
9589 if test $ac_cv_header_stdc = yes; then
9590 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9591 cat >conftest.
$ac_ext <<_ACEOF
9592 #line 9592 "configure"
9593 #include "confdefs.h"
9597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9598 egrep "free" >/dev
/null
2>&1; then
9601 ac_cv_header_stdc
=no
9607 if test $ac_cv_header_stdc = yes; then
9608 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9609 if test "$cross_compiling" = yes; then
9612 cat >conftest.
$ac_ext <<_ACEOF
9613 #line 9613 "configure"
9614 #include "confdefs.h"
9616 #if ((' ' & 0x0FF) == 0x020)
9617 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9618 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9620 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
9621 || ('j' <= (c) && (c) <= 'r') \
9622 || ('s' <= (c) && (c) <= 'z'))
9623 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9626 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9631 for (i = 0; i < 256; i++)
9632 if (XOR (islower (i), ISLOWER (i))
9633 || toupper (i) != TOUPPER (i))
9638 rm -f conftest
$ac_exeext
9639 if { (eval echo "$as_me:9639: \"$ac_link\"") >&5
9640 (eval $ac_link) 2>&5
9642 echo "$as_me:9642: \$? = $ac_status" >&5
9643 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9644 { (eval echo "$as_me:9644: \"$ac_try\"") >&5
9647 echo "$as_me:9647: \$? = $ac_status" >&5
9648 (exit $ac_status); }; }; then
9651 echo "$as_me: program exited with status $ac_status" >&5
9652 echo "$as_me: failed program was:" >&5
9653 cat conftest.
$ac_ext >&5
9654 ac_cv_header_stdc
=no
9656 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_ext
9660 echo "$as_me:9660: result: $ac_cv_header_stdc" >&5
9661 echo "${ECHO_T}$ac_cv_header_stdc" >&6
9662 if test $ac_cv_header_stdc = yes; then
9664 cat >>confdefs.h
<<\EOF
9665 #define STDC_HEADERS 1
9670 for ac_header
in string.h utmpx.h sys
/param.h
9672 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
9673 echo "$as_me:9673: checking for $ac_header" >&5
9674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9675 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
9676 echo $ECHO_N "(cached) $ECHO_C" >&6
9678 cat >conftest.
$ac_ext <<_ACEOF
9679 #line 9679 "configure"
9680 #include "confdefs.h"
9681 #include <$ac_header>
9683 if { (eval echo "$as_me:9683: \"$ac_cpp conftest.$ac_ext\"") >&5
9684 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9686 egrep -v '^ *\+' conftest.er1
>conftest.err
9688 cat conftest.err
>&5
9689 echo "$as_me:9689: \$? = $ac_status" >&5
9690 (exit $ac_status); } >/dev
/null
; then
9691 if test -s conftest.err
; then
9692 ac_cpp_err
=$ac_c_preproc_warn_flag
9699 if test -z "$ac_cpp_err"; then
9700 eval "$ac_ac_Header=yes"
9702 echo "$as_me: failed program was:" >&5
9703 cat conftest.
$ac_ext >&5
9704 eval "$ac_ac_Header=no"
9706 rm -f conftest.err conftest.
$ac_ext
9708 echo "$as_me:9708: result: `eval echo '${'$ac_ac_Header'}'`" >&5
9709 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
9710 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
9711 cat >>confdefs.h
<<EOF
9712 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
9718 for ac_func
in utmpname
9720 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
9721 echo "$as_me:9721: checking for $ac_func" >&5
9722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9723 if eval "test \"\${$ac_ac_var+set}\" = set"; then
9724 echo $ECHO_N "(cached) $ECHO_C" >&6
9726 cat >conftest.
$ac_ext <<_ACEOF
9727 #line 9727 "configure"
9728 #include "confdefs.h"
9729 /* System header to define __stub macros and hopefully few prototypes,
9730 which can conflict with char $ac_func (); below. */
9732 /* Override any gcc2 internal prototype to avoid an error. */
9736 /* We use char because int might match the return type of a gcc2
9737 builtin and then its argument prototype would still apply. */
9744 /* The GNU C library defines this for functions which it implements
9745 to always fail with ENOSYS. Some functions are actually named
9746 something starting with __ and the normal name is an alias. */
9747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9757 rm -f conftest.
$ac_objext conftest
$ac_exeext
9758 if { (eval echo "$as_me:9758: \"$ac_link\"") >&5
9759 (eval $ac_link) 2>&5
9761 echo "$as_me:9761: \$? = $ac_status" >&5
9762 (exit $ac_status); } &&
9763 { ac_try
='test -s conftest$ac_exeext'
9764 { (eval echo "$as_me:9764: \"$ac_try\"") >&5
9767 echo "$as_me:9767: \$? = $ac_status" >&5
9768 (exit $ac_status); }; }; then
9769 eval "$ac_ac_var=yes"
9771 echo "$as_me: failed program was:" >&5
9772 cat conftest.
$ac_ext >&5
9773 eval "$ac_ac_var=no"
9775 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9777 echo "$as_me:9777: result: `eval echo '${'$ac_ac_var'}'`" >&5
9778 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
9779 if test `eval echo '${'$ac_ac_var'}'` = yes; then
9780 cat >>confdefs.h
<<EOF
9781 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
9787 for ac_func
in utmpxname
9789 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
9790 echo "$as_me:9790: checking for $ac_func" >&5
9791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9792 if eval "test \"\${$ac_ac_var+set}\" = set"; then
9793 echo $ECHO_N "(cached) $ECHO_C" >&6
9795 cat >conftest.
$ac_ext <<_ACEOF
9796 #line 9796 "configure"
9797 #include "confdefs.h"
9798 /* System header to define __stub macros and hopefully few prototypes,
9799 which can conflict with char $ac_func (); below. */
9801 /* Override any gcc2 internal prototype to avoid an error. */
9805 /* We use char because int might match the return type of a gcc2
9806 builtin and then its argument prototype would still apply. */
9813 /* The GNU C library defines this for functions which it implements
9814 to always fail with ENOSYS. Some functions are actually named
9815 something starting with __ and the normal name is an alias. */
9816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9826 rm -f conftest.
$ac_objext conftest
$ac_exeext
9827 if { (eval echo "$as_me:9827: \"$ac_link\"") >&5
9828 (eval $ac_link) 2>&5
9830 echo "$as_me:9830: \$? = $ac_status" >&5
9831 (exit $ac_status); } &&
9832 { ac_try
='test -s conftest$ac_exeext'
9833 { (eval echo "$as_me:9833: \"$ac_try\"") >&5
9836 echo "$as_me:9836: \$? = $ac_status" >&5
9837 (exit $ac_status); }; }; then
9838 eval "$ac_ac_var=yes"
9840 echo "$as_me: failed program was:" >&5
9841 cat conftest.
$ac_ext >&5
9842 eval "$ac_ac_var=no"
9844 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9846 echo "$as_me:9846: result: `eval echo '${'$ac_ac_var'}'`" >&5
9847 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
9848 if test `eval echo '${'$ac_ac_var'}'` = yes; then
9849 cat >>confdefs.h
<<EOF
9850 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
9856 echo "$as_me:9856: checking for function prototypes" >&5
9857 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
9858 if test "$am_cv_prog_cc_stdc" != no
; then
9859 echo "$as_me:9859: result: yes" >&5
9860 echo "${ECHO_T}yes" >&6
9862 cat >>confdefs.h
<<\EOF
9863 #define PROTOTYPES 1
9868 echo "$as_me:9868: result: no" >&5
9869 echo "${ECHO_T}no" >&6
9870 U
=_ ANSI2KNR
=.
/ansi2knr
9872 # Ensure some checks needed by ansi2knr itself.
9873 echo "$as_me:9873: checking for ANSI C header files" >&5
9874 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
9875 if test "${ac_cv_header_stdc+set}" = set; then
9876 echo $ECHO_N "(cached) $ECHO_C" >&6
9878 cat >conftest.
$ac_ext <<_ACEOF
9879 #line 9879 "configure"
9880 #include "confdefs.h"
9887 if { (eval echo "$as_me:9887: \"$ac_cpp conftest.$ac_ext\"") >&5
9888 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9890 egrep -v '^ *\+' conftest.er1
>conftest.err
9892 cat conftest.err
>&5
9893 echo "$as_me:9893: \$? = $ac_status" >&5
9894 (exit $ac_status); } >/dev
/null
; then
9895 if test -s conftest.err
; then
9896 ac_cpp_err
=$ac_c_preproc_warn_flag
9903 if test -z "$ac_cpp_err"; then
9904 ac_cv_header_stdc
=yes
9906 echo "$as_me: failed program was:" >&5
9907 cat conftest.
$ac_ext >&5
9908 ac_cv_header_stdc
=no
9910 rm -f conftest.err conftest.
$ac_ext
9912 if test $ac_cv_header_stdc = yes; then
9913 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9914 cat >conftest.
$ac_ext <<_ACEOF
9915 #line 9915 "configure"
9916 #include "confdefs.h"
9920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9921 egrep "memchr" >/dev
/null
2>&1; then
9924 ac_cv_header_stdc
=no
9930 if test $ac_cv_header_stdc = yes; then
9931 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9932 cat >conftest.
$ac_ext <<_ACEOF
9933 #line 9933 "configure"
9934 #include "confdefs.h"
9938 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9939 egrep "free" >/dev
/null
2>&1; then
9942 ac_cv_header_stdc
=no
9948 if test $ac_cv_header_stdc = yes; then
9949 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9950 if test "$cross_compiling" = yes; then
9953 cat >conftest.
$ac_ext <<_ACEOF
9954 #line 9954 "configure"
9955 #include "confdefs.h"
9957 #if ((' ' & 0x0FF) == 0x020)
9958 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9959 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9961 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
9962 || ('j' <= (c) && (c) <= 'r') \
9963 || ('s' <= (c) && (c) <= 'z'))
9964 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9967 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9972 for (i = 0; i < 256; i++)
9973 if (XOR (islower (i), ISLOWER (i))
9974 || toupper (i) != TOUPPER (i))
9979 rm -f conftest
$ac_exeext
9980 if { (eval echo "$as_me:9980: \"$ac_link\"") >&5
9981 (eval $ac_link) 2>&5
9983 echo "$as_me:9983: \$? = $ac_status" >&5
9984 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9985 { (eval echo "$as_me:9985: \"$ac_try\"") >&5
9988 echo "$as_me:9988: \$? = $ac_status" >&5
9989 (exit $ac_status); }; }; then
9992 echo "$as_me: program exited with status $ac_status" >&5
9993 echo "$as_me: failed program was:" >&5
9994 cat conftest.
$ac_ext >&5
9995 ac_cv_header_stdc
=no
9997 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_ext
10001 echo "$as_me:10001: result: $ac_cv_header_stdc" >&5
10002 echo "${ECHO_T}$ac_cv_header_stdc" >&6
10003 if test $ac_cv_header_stdc = yes; then
10005 cat >>confdefs.h
<<\EOF
10006 #define STDC_HEADERS 1
10011 for ac_header
in string.h
10013 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
10014 echo "$as_me:10014: checking for $ac_header" >&5
10015 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10016 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
10017 echo $ECHO_N "(cached) $ECHO_C" >&6
10019 cat >conftest.
$ac_ext <<_ACEOF
10020 #line 10020 "configure"
10021 #include "confdefs.h"
10022 #include <$ac_header>
10024 if { (eval echo "$as_me:10024: \"$ac_cpp conftest.$ac_ext\"") >&5
10025 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10027 egrep -v '^ *\+' conftest.er1
>conftest.err
10029 cat conftest.err
>&5
10030 echo "$as_me:10030: \$? = $ac_status" >&5
10031 (exit $ac_status); } >/dev
/null
; then
10032 if test -s conftest.err
; then
10033 ac_cpp_err
=$ac_c_preproc_warn_flag
10040 if test -z "$ac_cpp_err"; then
10041 eval "$ac_ac_Header=yes"
10043 echo "$as_me: failed program was:" >&5
10044 cat conftest.
$ac_ext >&5
10045 eval "$ac_ac_Header=no"
10047 rm -f conftest.err conftest.
$ac_ext
10049 echo "$as_me:10049: result: `eval echo '${'$ac_ac_Header'}'`" >&5
10050 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
10051 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
10052 cat >>confdefs.h
<<EOF
10053 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
10060 $ac_includes_default
10061 #ifdef HAVE_UTMPX_H
10062 # include <utmpx.h>
10067 echo "$as_me:10067: checking for struct utmpx.ut_user" >&5
10068 echo $ECHO_N "checking for struct utmpx.ut_user... $ECHO_C" >&6
10069 if test "${ac_cv_member_struct_utmpx_ut_user+set}" = set; then
10070 echo $ECHO_N "(cached) $ECHO_C" >&6
10072 cat >conftest.
$ac_ext <<_ACEOF
10073 #line 10073 "configure"
10074 #include "confdefs.h"
10086 rm -f conftest.
$ac_objext
10087 if { (eval echo "$as_me:10087: \"$ac_compile\"") >&5
10088 (eval $ac_compile) 2>&5
10090 echo "$as_me:10090: \$? = $ac_status" >&5
10091 (exit $ac_status); } &&
10092 { ac_try
='test -s conftest.$ac_objext'
10093 { (eval echo "$as_me:10093: \"$ac_try\"") >&5
10094 (eval $ac_try) 2>&5
10096 echo "$as_me:10096: \$? = $ac_status" >&5
10097 (exit $ac_status); }; }; then
10098 ac_cv_member_struct_utmpx_ut_user
=yes
10100 echo "$as_me: failed program was:" >&5
10101 cat conftest.
$ac_ext >&5
10102 ac_cv_member_struct_utmpx_ut_user
=no
10104 rm -f conftest.
$ac_objext conftest.
$ac_ext
10106 echo "$as_me:10106: result: $ac_cv_member_struct_utmpx_ut_user" >&5
10107 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_user" >&6
10108 if test $ac_cv_member_struct_utmpx_ut_user = yes; then
10110 cat >>confdefs.h
<<EOF
10111 #define HAVE_STRUCT_UTMPX_UT_USER 1
10116 echo "$as_me:10116: checking for struct utmp.ut_user" >&5
10117 echo $ECHO_N "checking for struct utmp.ut_user... $ECHO_C" >&6
10118 if test "${ac_cv_member_struct_utmp_ut_user+set}" = set; then
10119 echo $ECHO_N "(cached) $ECHO_C" >&6
10121 cat >conftest.
$ac_ext <<_ACEOF
10122 #line 10122 "configure"
10123 #include "confdefs.h"
10135 rm -f conftest.
$ac_objext
10136 if { (eval echo "$as_me:10136: \"$ac_compile\"") >&5
10137 (eval $ac_compile) 2>&5
10139 echo "$as_me:10139: \$? = $ac_status" >&5
10140 (exit $ac_status); } &&
10141 { ac_try
='test -s conftest.$ac_objext'
10142 { (eval echo "$as_me:10142: \"$ac_try\"") >&5
10143 (eval $ac_try) 2>&5
10145 echo "$as_me:10145: \$? = $ac_status" >&5
10146 (exit $ac_status); }; }; then
10147 ac_cv_member_struct_utmp_ut_user
=yes
10149 echo "$as_me: failed program was:" >&5
10150 cat conftest.
$ac_ext >&5
10151 ac_cv_member_struct_utmp_ut_user
=no
10153 rm -f conftest.
$ac_objext conftest.
$ac_ext
10155 echo "$as_me:10155: result: $ac_cv_member_struct_utmp_ut_user" >&5
10156 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_user" >&6
10157 if test $ac_cv_member_struct_utmp_ut_user = yes; then
10159 cat >>confdefs.h
<<EOF
10160 #define HAVE_STRUCT_UTMP_UT_USER 1
10165 echo "$as_me:10165: checking for struct utmpx.ut_name" >&5
10166 echo $ECHO_N "checking for struct utmpx.ut_name... $ECHO_C" >&6
10167 if test "${ac_cv_member_struct_utmpx_ut_name+set}" = set; then
10168 echo $ECHO_N "(cached) $ECHO_C" >&6
10170 cat >conftest.
$ac_ext <<_ACEOF
10171 #line 10171 "configure"
10172 #include "confdefs.h"
10184 rm -f conftest.
$ac_objext
10185 if { (eval echo "$as_me:10185: \"$ac_compile\"") >&5
10186 (eval $ac_compile) 2>&5
10188 echo "$as_me:10188: \$? = $ac_status" >&5
10189 (exit $ac_status); } &&
10190 { ac_try
='test -s conftest.$ac_objext'
10191 { (eval echo "$as_me:10191: \"$ac_try\"") >&5
10192 (eval $ac_try) 2>&5
10194 echo "$as_me:10194: \$? = $ac_status" >&5
10195 (exit $ac_status); }; }; then
10196 ac_cv_member_struct_utmpx_ut_name
=yes
10198 echo "$as_me: failed program was:" >&5
10199 cat conftest.
$ac_ext >&5
10200 ac_cv_member_struct_utmpx_ut_name
=no
10202 rm -f conftest.
$ac_objext conftest.
$ac_ext
10204 echo "$as_me:10204: result: $ac_cv_member_struct_utmpx_ut_name" >&5
10205 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_name" >&6
10206 if test $ac_cv_member_struct_utmpx_ut_name = yes; then
10208 cat >>confdefs.h
<<EOF
10209 #define HAVE_STRUCT_UTMPX_UT_NAME 1
10214 echo "$as_me:10214: checking for struct utmp.ut_name" >&5
10215 echo $ECHO_N "checking for struct utmp.ut_name... $ECHO_C" >&6
10216 if test "${ac_cv_member_struct_utmp_ut_name+set}" = set; then
10217 echo $ECHO_N "(cached) $ECHO_C" >&6
10219 cat >conftest.
$ac_ext <<_ACEOF
10220 #line 10220 "configure"
10221 #include "confdefs.h"
10233 rm -f conftest.
$ac_objext
10234 if { (eval echo "$as_me:10234: \"$ac_compile\"") >&5
10235 (eval $ac_compile) 2>&5
10237 echo "$as_me:10237: \$? = $ac_status" >&5
10238 (exit $ac_status); } &&
10239 { ac_try
='test -s conftest.$ac_objext'
10240 { (eval echo "$as_me:10240: \"$ac_try\"") >&5
10241 (eval $ac_try) 2>&5
10243 echo "$as_me:10243: \$? = $ac_status" >&5
10244 (exit $ac_status); }; }; then
10245 ac_cv_member_struct_utmp_ut_name
=yes
10247 echo "$as_me: failed program was:" >&5
10248 cat conftest.
$ac_ext >&5
10249 ac_cv_member_struct_utmp_ut_name
=no
10251 rm -f conftest.
$ac_objext conftest.
$ac_ext
10253 echo "$as_me:10253: result: $ac_cv_member_struct_utmp_ut_name" >&5
10254 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_name" >&6
10255 if test $ac_cv_member_struct_utmp_ut_name = yes; then
10257 cat >>confdefs.h
<<EOF
10258 #define HAVE_STRUCT_UTMP_UT_NAME 1
10263 for ac_func
in bzero bcopy isascii btowc
10265 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
10266 echo "$as_me:10266: checking for $ac_func" >&5
10267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10268 if eval "test \"\${$ac_ac_var+set}\" = set"; then
10269 echo $ECHO_N "(cached) $ECHO_C" >&6
10271 cat >conftest.
$ac_ext <<_ACEOF
10272 #line 10272 "configure"
10273 #include "confdefs.h"
10274 /* System header to define __stub macros and hopefully few prototypes,
10275 which can conflict with char $ac_func (); below. */
10276 #include <assert.h>
10277 /* Override any gcc2 internal prototype to avoid an error. */
10281 /* We use char because int might match the return type of a gcc2
10282 builtin and then its argument prototype would still apply. */
10289 /* The GNU C library defines this for functions which it implements
10290 to always fail with ENOSYS. Some functions are actually named
10291 something starting with __ and the normal name is an alias. */
10292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10302 rm -f conftest.
$ac_objext conftest
$ac_exeext
10303 if { (eval echo "$as_me:10303: \"$ac_link\"") >&5
10304 (eval $ac_link) 2>&5
10306 echo "$as_me:10306: \$? = $ac_status" >&5
10307 (exit $ac_status); } &&
10308 { ac_try
='test -s conftest$ac_exeext'
10309 { (eval echo "$as_me:10309: \"$ac_try\"") >&5
10310 (eval $ac_try) 2>&5
10312 echo "$as_me:10312: \$? = $ac_status" >&5
10313 (exit $ac_status); }; }; then
10314 eval "$ac_ac_var=yes"
10316 echo "$as_me: failed program was:" >&5
10317 cat conftest.
$ac_ext >&5
10318 eval "$ac_ac_var=no"
10320 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10322 echo "$as_me:10322: result: `eval echo '${'$ac_ac_var'}'`" >&5
10323 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
10324 if test `eval echo '${'$ac_ac_var'}'` = yes; then
10325 cat >>confdefs.h
<<EOF
10326 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
10332 for ac_header
in alloca.h libintl.h wctype.h wchar.h
10334 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
10335 echo "$as_me:10335: checking for $ac_header" >&5
10336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10337 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
10338 echo $ECHO_N "(cached) $ECHO_C" >&6
10340 cat >conftest.
$ac_ext <<_ACEOF
10341 #line 10341 "configure"
10342 #include "confdefs.h"
10343 #include <$ac_header>
10345 if { (eval echo "$as_me:10345: \"$ac_cpp conftest.$ac_ext\"") >&5
10346 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10348 egrep -v '^ *\+' conftest.er1
>conftest.err
10350 cat conftest.err
>&5
10351 echo "$as_me:10351: \$? = $ac_status" >&5
10352 (exit $ac_status); } >/dev
/null
; then
10353 if test -s conftest.err
; then
10354 ac_cpp_err
=$ac_c_preproc_warn_flag
10361 if test -z "$ac_cpp_err"; then
10362 eval "$ac_ac_Header=yes"
10364 echo "$as_me: failed program was:" >&5
10365 cat conftest.
$ac_ext >&5
10366 eval "$ac_ac_Header=no"
10368 rm -f conftest.err conftest.
$ac_ext
10370 echo "$as_me:10370: result: `eval echo '${'$ac_ac_Header'}'`" >&5
10371 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
10372 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
10373 cat >>confdefs.h
<<EOF
10374 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
10380 echo "$as_me:10380: checking for ANSI C header files" >&5
10381 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
10382 if test "${ac_cv_header_stdc+set}" = set; then
10383 echo $ECHO_N "(cached) $ECHO_C" >&6
10385 cat >conftest.
$ac_ext <<_ACEOF
10386 #line 10386 "configure"
10387 #include "confdefs.h"
10388 #include <stdlib.h>
10389 #include <stdarg.h>
10390 #include <string.h>
10394 if { (eval echo "$as_me:10394: \"$ac_cpp conftest.$ac_ext\"") >&5
10395 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10397 egrep -v '^ *\+' conftest.er1
>conftest.err
10399 cat conftest.err
>&5
10400 echo "$as_me:10400: \$? = $ac_status" >&5
10401 (exit $ac_status); } >/dev
/null
; then
10402 if test -s conftest.err
; then
10403 ac_cpp_err
=$ac_c_preproc_warn_flag
10410 if test -z "$ac_cpp_err"; then
10411 ac_cv_header_stdc
=yes
10413 echo "$as_me: failed program was:" >&5
10414 cat conftest.
$ac_ext >&5
10415 ac_cv_header_stdc
=no
10417 rm -f conftest.err conftest.
$ac_ext
10419 if test $ac_cv_header_stdc = yes; then
10420 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10421 cat >conftest.
$ac_ext <<_ACEOF
10422 #line 10422 "configure"
10423 #include "confdefs.h"
10424 #include <string.h>
10427 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10428 egrep "memchr" >/dev
/null
2>&1; then
10431 ac_cv_header_stdc
=no
10437 if test $ac_cv_header_stdc = yes; then
10438 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10439 cat >conftest.
$ac_ext <<_ACEOF
10440 #line 10440 "configure"
10441 #include "confdefs.h"
10442 #include <stdlib.h>
10445 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10446 egrep "free" >/dev
/null
2>&1; then
10449 ac_cv_header_stdc
=no
10455 if test $ac_cv_header_stdc = yes; then
10456 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10457 if test "$cross_compiling" = yes; then
10460 cat >conftest.
$ac_ext <<_ACEOF
10461 #line 10461 "configure"
10462 #include "confdefs.h"
10464 #if ((' ' & 0x0FF) == 0x020)
10465 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10466 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10468 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
10469 || ('j' <= (c) && (c) <= 'r') \
10470 || ('s' <= (c) && (c) <= 'z'))
10471 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10474 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10479 for (i = 0; i < 256; i++)
10480 if (XOR (islower (i), ISLOWER (i))
10481 || toupper (i) != TOUPPER (i))
10486 rm -f conftest
$ac_exeext
10487 if { (eval echo "$as_me:10487: \"$ac_link\"") >&5
10488 (eval $ac_link) 2>&5
10490 echo "$as_me:10490: \$? = $ac_status" >&5
10491 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10492 { (eval echo "$as_me:10492: \"$ac_try\"") >&5
10493 (eval $ac_try) 2>&5
10495 echo "$as_me:10495: \$? = $ac_status" >&5
10496 (exit $ac_status); }; }; then
10499 echo "$as_me: program exited with status $ac_status" >&5
10500 echo "$as_me: failed program was:" >&5
10501 cat conftest.
$ac_ext >&5
10502 ac_cv_header_stdc
=no
10504 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_ext
10508 echo "$as_me:10508: result: $ac_cv_header_stdc" >&5
10509 echo "${ECHO_T}$ac_cv_header_stdc" >&6
10510 if test $ac_cv_header_stdc = yes; then
10512 cat >>confdefs.h
<<\EOF
10513 #define STDC_HEADERS 1
10518 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
10519 # for constant arguments. Useless!
10520 echo "$as_me:10520: checking for working alloca.h" >&5
10521 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
10522 if test "${ac_cv_working_alloca_h+set}" = set; then
10523 echo $ECHO_N "(cached) $ECHO_C" >&6
10525 cat >conftest.
$ac_ext <<_ACEOF
10526 #line 10526 "configure"
10527 #include "confdefs.h"
10528 #include <alloca.h>
10532 char *p = (char *) alloca (2 * sizeof (int));
10537 rm -f conftest.
$ac_objext conftest
$ac_exeext
10538 if { (eval echo "$as_me:10538: \"$ac_link\"") >&5
10539 (eval $ac_link) 2>&5
10541 echo "$as_me:10541: \$? = $ac_status" >&5
10542 (exit $ac_status); } &&
10543 { ac_try
='test -s conftest$ac_exeext'
10544 { (eval echo "$as_me:10544: \"$ac_try\"") >&5
10545 (eval $ac_try) 2>&5
10547 echo "$as_me:10547: \$? = $ac_status" >&5
10548 (exit $ac_status); }; }; then
10549 ac_cv_working_alloca_h
=yes
10551 echo "$as_me: failed program was:" >&5
10552 cat conftest.
$ac_ext >&5
10553 ac_cv_working_alloca_h
=no
10555 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10557 echo "$as_me:10557: result: $ac_cv_working_alloca_h" >&5
10558 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
10559 if test $ac_cv_working_alloca_h = yes; then
10561 cat >>confdefs.h
<<\EOF
10562 #define HAVE_ALLOCA_H 1
10567 echo "$as_me:10567: checking for alloca" >&5
10568 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
10569 if test "${ac_cv_func_alloca_works+set}" = set; then
10570 echo $ECHO_N "(cached) $ECHO_C" >&6
10572 cat >conftest.
$ac_ext <<_ACEOF
10573 #line 10573 "configure"
10574 #include "confdefs.h"
10576 # define alloca __builtin_alloca
10579 # include <malloc.h>
10580 # define alloca _alloca
10583 # include <alloca.h>
10588 # ifndef alloca /* predefined by HP cc +Olibcalls */
10599 char *p = (char *) alloca (1);
10604 rm -f conftest.
$ac_objext conftest
$ac_exeext
10605 if { (eval echo "$as_me:10605: \"$ac_link\"") >&5
10606 (eval $ac_link) 2>&5
10608 echo "$as_me:10608: \$? = $ac_status" >&5
10609 (exit $ac_status); } &&
10610 { ac_try
='test -s conftest$ac_exeext'
10611 { (eval echo "$as_me:10611: \"$ac_try\"") >&5
10612 (eval $ac_try) 2>&5
10614 echo "$as_me:10614: \$? = $ac_status" >&5
10615 (exit $ac_status); }; }; then
10616 ac_cv_func_alloca_works
=yes
10618 echo "$as_me: failed program was:" >&5
10619 cat conftest.
$ac_ext >&5
10620 ac_cv_func_alloca_works
=no
10622 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10624 echo "$as_me:10624: result: $ac_cv_func_alloca_works" >&5
10625 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
10627 if test $ac_cv_func_alloca_works = yes; then
10629 cat >>confdefs.h
<<\EOF
10630 #define HAVE_ALLOCA 1
10634 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
10635 # that cause trouble. Some versions do not even contain alloca or
10636 # contain a buggy version. If you still want to use their alloca,
10637 # use ar to extract alloca.o from them instead of compiling alloca.c.
10639 ALLOCA
=alloca.
$ac_objext
10641 cat >>confdefs.h
<<\EOF
10645 echo "$as_me:10645: checking whether \`alloca.c' needs Cray hooks" >&5
10646 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
10647 if test "${ac_cv_os_cray+set}" = set; then
10648 echo $ECHO_N "(cached) $ECHO_C" >&6
10650 cat >conftest.
$ac_ext <<_ACEOF
10651 #line 10651 "configure"
10652 #include "confdefs.h"
10653 #if defined(CRAY) && ! defined(CRAY2)
10660 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10661 egrep "webecray" >/dev
/null
2>&1; then
10669 echo "$as_me:10669: result: $ac_cv_os_cray" >&5
10670 echo "${ECHO_T}$ac_cv_os_cray" >&6
10671 if test $ac_cv_os_cray = yes; then
10672 for ac_func
in _getb67 GETB67 getb67
; do
10673 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
10674 echo "$as_me:10674: checking for $ac_func" >&5
10675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10676 if eval "test \"\${$ac_ac_var+set}\" = set"; then
10677 echo $ECHO_N "(cached) $ECHO_C" >&6
10679 cat >conftest.
$ac_ext <<_ACEOF
10680 #line 10680 "configure"
10681 #include "confdefs.h"
10682 /* System header to define __stub macros and hopefully few prototypes,
10683 which can conflict with char $ac_func (); below. */
10684 #include <assert.h>
10685 /* Override any gcc2 internal prototype to avoid an error. */
10689 /* We use char because int might match the return type of a gcc2
10690 builtin and then its argument prototype would still apply. */
10697 /* The GNU C library defines this for functions which it implements
10698 to always fail with ENOSYS. Some functions are actually named
10699 something starting with __ and the normal name is an alias. */
10700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10710 rm -f conftest.
$ac_objext conftest
$ac_exeext
10711 if { (eval echo "$as_me:10711: \"$ac_link\"") >&5
10712 (eval $ac_link) 2>&5
10714 echo "$as_me:10714: \$? = $ac_status" >&5
10715 (exit $ac_status); } &&
10716 { ac_try
='test -s conftest$ac_exeext'
10717 { (eval echo "$as_me:10717: \"$ac_try\"") >&5
10718 (eval $ac_try) 2>&5
10720 echo "$as_me:10720: \$? = $ac_status" >&5
10721 (exit $ac_status); }; }; then
10722 eval "$ac_ac_var=yes"
10724 echo "$as_me: failed program was:" >&5
10725 cat conftest.
$ac_ext >&5
10726 eval "$ac_ac_var=no"
10728 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10730 echo "$as_me:10730: result: `eval echo '${'$ac_ac_var'}'`" >&5
10731 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
10732 if test `eval echo '${'$ac_ac_var'}'` = yes; then
10734 cat >>confdefs.h
<<EOF
10735 #define CRAY_STACKSEG_END $ac_func
10744 echo "$as_me:10744: checking stack direction for C alloca" >&5
10745 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
10746 if test "${ac_cv_c_stack_direction+set}" = set; then
10747 echo $ECHO_N "(cached) $ECHO_C" >&6
10749 if test "$cross_compiling" = yes; then
10750 ac_cv_c_stack_direction
=0
10752 cat >conftest.
$ac_ext <<_ACEOF
10753 #line 10753 "configure"
10754 #include "confdefs.h"
10756 find_stack_direction ()
10758 static char *addr = 0;
10763 return find_stack_direction ();
10766 return (&dummy > addr) ? 1 : -1;
10772 exit (find_stack_direction () < 0);
10775 rm -f conftest
$ac_exeext
10776 if { (eval echo "$as_me:10776: \"$ac_link\"") >&5
10777 (eval $ac_link) 2>&5
10779 echo "$as_me:10779: \$? = $ac_status" >&5
10780 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10781 { (eval echo "$as_me:10781: \"$ac_try\"") >&5
10782 (eval $ac_try) 2>&5
10784 echo "$as_me:10784: \$? = $ac_status" >&5
10785 (exit $ac_status); }; }; then
10786 ac_cv_c_stack_direction
=1
10788 echo "$as_me: program exited with status $ac_status" >&5
10789 echo "$as_me: failed program was:" >&5
10790 cat conftest.
$ac_ext >&5
10791 ac_cv_c_stack_direction
=-1
10793 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_ext
10796 echo "$as_me:10796: result: $ac_cv_c_stack_direction" >&5
10797 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
10799 cat >>confdefs.h
<<EOF
10800 #define STACK_DIRECTION $ac_cv_c_stack_direction
10805 for ac_header
in sys
/time.h unistd.h
10807 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
10808 echo "$as_me:10808: checking for $ac_header" >&5
10809 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10810 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
10811 echo $ECHO_N "(cached) $ECHO_C" >&6
10813 cat >conftest.
$ac_ext <<_ACEOF
10814 #line 10814 "configure"
10815 #include "confdefs.h"
10816 #include <$ac_header>
10818 if { (eval echo "$as_me:10818: \"$ac_cpp conftest.$ac_ext\"") >&5
10819 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10821 egrep -v '^ *\+' conftest.er1
>conftest.err
10823 cat conftest.err
>&5
10824 echo "$as_me:10824: \$? = $ac_status" >&5
10825 (exit $ac_status); } >/dev
/null
; then
10826 if test -s conftest.err
; then
10827 ac_cpp_err
=$ac_c_preproc_warn_flag
10834 if test -z "$ac_cpp_err"; then
10835 eval "$ac_ac_Header=yes"
10837 echo "$as_me: failed program was:" >&5
10838 cat conftest.
$ac_ext >&5
10839 eval "$ac_ac_Header=no"
10841 rm -f conftest.err conftest.
$ac_ext
10843 echo "$as_me:10843: result: `eval echo '${'$ac_ac_Header'}'`" >&5
10844 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
10845 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
10846 cat >>confdefs.h
<<EOF
10847 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
10853 for ac_func
in alarm
10855 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
10856 echo "$as_me:10856: checking for $ac_func" >&5
10857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10858 if eval "test \"\${$ac_ac_var+set}\" = set"; then
10859 echo $ECHO_N "(cached) $ECHO_C" >&6
10861 cat >conftest.
$ac_ext <<_ACEOF
10862 #line 10862 "configure"
10863 #include "confdefs.h"
10864 /* System header to define __stub macros and hopefully few prototypes,
10865 which can conflict with char $ac_func (); below. */
10866 #include <assert.h>
10867 /* Override any gcc2 internal prototype to avoid an error. */
10871 /* We use char because int might match the return type of a gcc2
10872 builtin and then its argument prototype would still apply. */
10879 /* The GNU C library defines this for functions which it implements
10880 to always fail with ENOSYS. Some functions are actually named
10881 something starting with __ and the normal name is an alias. */
10882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10892 rm -f conftest.
$ac_objext conftest
$ac_exeext
10893 if { (eval echo "$as_me:10893: \"$ac_link\"") >&5
10894 (eval $ac_link) 2>&5
10896 echo "$as_me:10896: \$? = $ac_status" >&5
10897 (exit $ac_status); } &&
10898 { ac_try
='test -s conftest$ac_exeext'
10899 { (eval echo "$as_me:10899: \"$ac_try\"") >&5
10900 (eval $ac_try) 2>&5
10902 echo "$as_me:10902: \$? = $ac_status" >&5
10903 (exit $ac_status); }; }; then
10904 eval "$ac_ac_var=yes"
10906 echo "$as_me: failed program was:" >&5
10907 cat conftest.
$ac_ext >&5
10908 eval "$ac_ac_var=no"
10910 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10912 echo "$as_me:10912: result: `eval echo '${'$ac_ac_var'}'`" >&5
10913 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
10914 if test `eval echo '${'$ac_ac_var'}'` = yes; then
10915 cat >>confdefs.h
<<EOF
10916 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
10922 echo "$as_me:10922: checking for working mktime" >&5
10923 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
10924 if test "${ac_cv_func_working_mktime+set}" = set; then
10925 echo $ECHO_N "(cached) $ECHO_C" >&6
10927 if test "$cross_compiling" = yes; then
10928 ac_cv_func_working_mktime
=no
10930 cat >conftest.
$ac_ext <<_ACEOF
10931 #line 10931 "configure"
10932 #include "confdefs.h"
10933 /* Test program from Paul Eggert and Tony Leneis. */
10934 #if TIME_WITH_SYS_TIME
10935 # include <sys/time.h>
10938 # if HAVE_SYS_TIME_H
10939 # include <sys/time.h>
10946 # include <unistd.h>
10950 # define alarm(X) /* empty */
10953 /* Work around redefinition to rpl_putenv by other config tests. */
10956 static time_t time_t_max;
10958 /* Values we'll use to set the TZ environment variable. */
10959 static const char *const tz_strings[] = {
10960 (const char *) 0, "TZ=GMT0", "TZ=JST-9",
10961 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
10963 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
10965 /* Fail if mktime fails to convert a date in the spring-forward gap.
10966 Based on a problem report from Andreas Jaeger. */
10968 spring_forward_gap ()
10970 /* glibc (up to about 1998-10-07) failed this test. */
10973 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
10974 instead of "TZ=America/Vancouver" in order to detect the bug even
10975 on systems that don't support the Olson extension, or don't have the
10976 full zoneinfo tables installed. */
10977 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
10986 if (mktime (&tm) == (time_t)-1)
10995 if ((lt = localtime (&now)) && mktime (lt) != now)
10997 now = time_t_max - now;
10998 if ((lt = localtime (&now)) && mktime (lt) != now)
11005 /* Based on code from Ariel Faigon. */
11015 if (tm.tm_mon != 2 || tm.tm_mday != 31)
11025 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
11026 now = mktime (&tm);
11027 if (now != (time_t) -1)
11029 struct tm *lt = localtime (&now);
11031 && lt->tm_year == tm.tm_year
11032 && lt->tm_mon == tm.tm_mon
11033 && lt->tm_mday == tm.tm_mday
11034 && lt->tm_hour == tm.tm_hour
11035 && lt->tm_min == tm.tm_min
11036 && lt->tm_sec == tm.tm_sec
11037 && lt->tm_yday == tm.tm_yday
11038 && lt->tm_wday == tm.tm_wday
11039 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
11040 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
11051 /* This test makes some buggy mktime implementations loop.
11052 Give up after 60 seconds; a mktime slower than that
11053 isn't worth using anyway. */
11056 for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
11059 delta = time_t_max / 997; /* a suitable prime number */
11060 for (i = 0; i < N_STRINGS; i++)
11063 putenv (tz_strings[i]);
11065 for (t = 0; t <= time_t_max - delta; t += delta)
11067 mktime_test ((time_t) 60 * 60);
11068 mktime_test ((time_t) 60 * 60 * 24);
11070 for (j = 1; 0 < j; j *= 2)
11072 bigtime_test (j - 1);
11075 spring_forward_gap ();
11079 rm -f conftest
$ac_exeext
11080 if { (eval echo "$as_me:11080: \"$ac_link\"") >&5
11081 (eval $ac_link) 2>&5
11083 echo "$as_me:11083: \$? = $ac_status" >&5
11084 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11085 { (eval echo "$as_me:11085: \"$ac_try\"") >&5
11086 (eval $ac_try) 2>&5
11088 echo "$as_me:11088: \$? = $ac_status" >&5
11089 (exit $ac_status); }; }; then
11090 ac_cv_func_working_mktime
=yes
11092 echo "$as_me: program exited with status $ac_status" >&5
11093 echo "$as_me: failed program was:" >&5
11094 cat conftest.
$ac_ext >&5
11095 ac_cv_func_working_mktime
=no
11097 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_ext
11100 echo "$as_me:11100: result: $ac_cv_func_working_mktime" >&5
11101 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
11102 if test $ac_cv_func_working_mktime = no
; then
11103 LIBOBJS
="$LIBOBJS mktime.$ac_objext"
11106 for ac_func
in localtime_r
11108 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
11109 echo "$as_me:11109: checking for $ac_func" >&5
11110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11111 if eval "test \"\${$ac_ac_var+set}\" = set"; then
11112 echo $ECHO_N "(cached) $ECHO_C" >&6
11114 cat >conftest.
$ac_ext <<_ACEOF
11115 #line 11115 "configure"
11116 #include "confdefs.h"
11117 /* System header to define __stub macros and hopefully few prototypes,
11118 which can conflict with char $ac_func (); below. */
11119 #include <assert.h>
11120 /* Override any gcc2 internal prototype to avoid an error. */
11124 /* We use char because int might match the return type of a gcc2
11125 builtin and then its argument prototype would still apply. */
11132 /* The GNU C library defines this for functions which it implements
11133 to always fail with ENOSYS. Some functions are actually named
11134 something starting with __ and the normal name is an alias. */
11135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11145 rm -f conftest.
$ac_objext conftest
$ac_exeext
11146 if { (eval echo "$as_me:11146: \"$ac_link\"") >&5
11147 (eval $ac_link) 2>&5
11149 echo "$as_me:11149: \$? = $ac_status" >&5
11150 (exit $ac_status); } &&
11151 { ac_try
='test -s conftest$ac_exeext'
11152 { (eval echo "$as_me:11152: \"$ac_try\"") >&5
11153 (eval $ac_try) 2>&5
11155 echo "$as_me:11155: \$? = $ac_status" >&5
11156 (exit $ac_status); }; }; then
11157 eval "$ac_ac_var=yes"
11159 echo "$as_me: failed program was:" >&5
11160 cat conftest.
$ac_ext >&5
11161 eval "$ac_ac_var=no"
11163 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11165 echo "$as_me:11165: result: `eval echo '${'$ac_ac_var'}'`" >&5
11166 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
11167 if test `eval echo '${'$ac_ac_var'}'` = yes; then
11168 cat >>confdefs.h
<<EOF
11169 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
11175 if test $ac_cv_func_working_mktime = no
; then
11177 cat >>confdefs.h
<<EOF
11178 #define mktime rpl_mktime
11183 echo "$as_me:11183: checking whether lstat accepts an empty string" >&5
11184 echo $ECHO_N "checking whether lstat accepts an empty string... $ECHO_C" >&6
11185 if test "${jm_cv_func_lstat_empty_string_bug+set}" = set; then
11186 echo $ECHO_N "(cached) $ECHO_C" >&6
11188 if test "$cross_compiling" = yes; then
11189 jm_cv_func_lstat_empty_string_bug
=yes
11191 cat >conftest.
$ac_ext <<_ACEOF
11192 #line 11192 "configure"
11193 #include "confdefs.h"
11195 # include <sys/types.h>
11196 # include <sys/stat.h>
11202 exit (lstat ("", &sbuf) ? 1 : 0);
11206 rm -f conftest
$ac_exeext
11207 if { (eval echo "$as_me:11207: \"$ac_link\"") >&5
11208 (eval $ac_link) 2>&5
11210 echo "$as_me:11210: \$? = $ac_status" >&5
11211 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11212 { (eval echo "$as_me:11212: \"$ac_try\"") >&5
11213 (eval $ac_try) 2>&5
11215 echo "$as_me:11215: \$? = $ac_status" >&5
11216 (exit $ac_status); }; }; then
11217 jm_cv_func_lstat_empty_string_bug
=yes
11219 echo "$as_me: program exited with status $ac_status" >&5
11220 echo "$as_me: failed program was:" >&5
11221 cat conftest.
$ac_ext >&5
11222 jm_cv_func_lstat_empty_string_bug
=no
11224 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_ext
11228 echo "$as_me:11228: result: $jm_cv_func_lstat_empty_string_bug" >&5
11229 echo "${ECHO_T}$jm_cv_func_lstat_empty_string_bug" >&6
11230 if test $jm_cv_func_lstat_empty_string_bug = yes; then
11232 LIBOBJS
="$LIBOBJS lstat.$ac_objext"
11234 cat >>confdefs.h
<<EOF
11235 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
11240 echo "$as_me:11240: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
11241 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6
11242 if test "${jm_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
11243 echo $ECHO_N "(cached) $ECHO_C" >&6
11246 rm -f conftest.sym conftest.
file
11248 if ln -s conftest.
file conftest.sym
; then
11249 if test "$cross_compiling" = yes; then
11250 jm_cv_func_lstat_dereferences_slashed_symlink
=no
11253 cat >conftest.
$ac_ext <<_ACEOF
11254 #line 11254 "configure"
11255 #include "confdefs.h"
11257 # include <sys/types.h>
11258 # include <sys/stat.h>
11264 /* Linux will dereference the symlink and fail.
11265 That is better in the sense that it means we will not
11266 have to compile and use the lstat wrapper. */
11267 exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1);
11271 rm -f conftest
$ac_exeext
11272 if { (eval echo "$as_me:11272: \"$ac_link\"") >&5
11273 (eval $ac_link) 2>&5
11275 echo "$as_me:11275: \$? = $ac_status" >&5
11276 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11277 { (eval echo "$as_me:11277: \"$ac_try\"") >&5
11278 (eval $ac_try) 2>&5
11280 echo "$as_me:11280: \$? = $ac_status" >&5
11281 (exit $ac_status); }; }; then
11282 jm_cv_func_lstat_dereferences_slashed_symlink
=yes
11284 echo "$as_me: program exited with status $ac_status" >&5
11285 echo "$as_me: failed program was:" >&5
11286 cat conftest.
$ac_ext >&5
11287 jm_cv_func_lstat_dereferences_slashed_symlink
=no
11289 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_ext
11292 # If the `ln -s' command failed, then we probably don't even
11293 # have an lstat function.
11294 jm_cv_func_lstat_dereferences_slashed_symlink
=no
11298 echo "$as_me:11298: result: $jm_cv_func_lstat_dereferences_slashed_symlink" >&5
11299 echo "${ECHO_T}$jm_cv_func_lstat_dereferences_slashed_symlink" >&6
11301 test $jm_cv_func_lstat_dereferences_slashed_symlink = yes \
11305 cat >>confdefs.h
<<EOF
11306 #define LSTAT_FOLLOWS_SLASHED_SYMLINK $zero_one
11309 if test $jm_cv_func_lstat_dereferences_slashed_symlink = no
; then
11311 # Append lstat.o if it's not already in $LIBOBJS.
11313 *lstat.
$ac_objext*) ;;
11314 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext" ;;
11318 echo "$as_me:11318: checking whether stat accepts an empty string" >&5
11319 echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6
11320 if test "${jm_cv_func_stat_empty_string_bug+set}" = set; then
11321 echo $ECHO_N "(cached) $ECHO_C" >&6
11323 if test "$cross_compiling" = yes; then
11324 jm_cv_func_stat_empty_string_bug
=yes
11326 cat >conftest.
$ac_ext <<_ACEOF
11327 #line 11327 "configure"
11328 #include "confdefs.h"
11330 # include <sys/types.h>
11331 # include <sys/stat.h>
11337 exit (stat ("", &sbuf) ? 1 : 0);
11341 rm -f conftest
$ac_exeext
11342 if { (eval echo "$as_me:11342: \"$ac_link\"") >&5
11343 (eval $ac_link) 2>&5
11345 echo "$as_me:11345: \$? = $ac_status" >&5
11346 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11347 { (eval echo "$as_me:11347: \"$ac_try\"") >&5
11348 (eval $ac_try) 2>&5
11350 echo "$as_me:11350: \$? = $ac_status" >&5
11351 (exit $ac_status); }; }; then
11352 jm_cv_func_stat_empty_string_bug
=yes
11354 echo "$as_me: program exited with status $ac_status" >&5
11355 echo "$as_me: failed program was:" >&5
11356 cat conftest.
$ac_ext >&5
11357 jm_cv_func_stat_empty_string_bug
=no
11359 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_ext
11363 echo "$as_me:11363: result: $jm_cv_func_stat_empty_string_bug" >&5
11364 echo "${ECHO_T}$jm_cv_func_stat_empty_string_bug" >&6
11365 if test $jm_cv_func_stat_empty_string_bug = yes; then
11367 LIBOBJS
="$LIBOBJS stat.$ac_objext"
11369 cat >>confdefs.h
<<EOF
11370 #define HAVE_STAT_EMPTY_STRING_BUG 1
11375 cat >>confdefs.h
<<EOF
11376 #define HAVE_DONE_WORKING_REALLOC_CHECK 1
11379 echo "$as_me:11379: checking for working realloc" >&5
11380 echo $ECHO_N "checking for working realloc... $ECHO_C" >&6
11381 if test "${jm_cv_func_working_realloc+set}" = set; then
11382 echo $ECHO_N "(cached) $ECHO_C" >&6
11384 if test "$cross_compiling" = yes; then
11385 jm_cv_func_working_realloc
=no
11387 cat >conftest.
$ac_ext <<_ACEOF
11388 #line 11388 "configure"
11389 #include "confdefs.h"
11395 exit (realloc (0, 0) ? 0 : 1);
11399 rm -f conftest
$ac_exeext
11400 if { (eval echo "$as_me:11400: \"$ac_link\"") >&5
11401 (eval $ac_link) 2>&5
11403 echo "$as_me:11403: \$? = $ac_status" >&5
11404 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11405 { (eval echo "$as_me:11405: \"$ac_try\"") >&5
11406 (eval $ac_try) 2>&5
11408 echo "$as_me:11408: \$? = $ac_status" >&5
11409 (exit $ac_status); }; }; then
11410 jm_cv_func_working_realloc
=yes
11412 echo "$as_me: program exited with status $ac_status" >&5
11413 echo "$as_me: failed program was:" >&5
11414 cat conftest.
$ac_ext >&5
11415 jm_cv_func_working_realloc
=no
11417 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_ext
11421 echo "$as_me:11421: result: $jm_cv_func_working_realloc" >&5
11422 echo "${ECHO_T}$jm_cv_func_working_realloc" >&6
11423 if test $jm_cv_func_working_realloc = no
; then
11425 LIBOBJS
="$LIBOBJS realloc.$ac_objext"
11427 cat >>confdefs.h
<<EOF
11428 #define realloc rpl_realloc
11433 cat >>confdefs.h
<<EOF
11434 #define HAVE_DONE_WORKING_MALLOC_CHECK 1
11437 echo "$as_me:11437: checking for working malloc" >&5
11438 echo $ECHO_N "checking for working malloc... $ECHO_C" >&6
11439 if test "${jm_cv_func_working_malloc+set}" = set; then
11440 echo $ECHO_N "(cached) $ECHO_C" >&6
11442 if test "$cross_compiling" = yes; then
11443 jm_cv_func_working_malloc
=no
11445 cat >conftest.
$ac_ext <<_ACEOF
11446 #line 11446 "configure"
11447 #include "confdefs.h"
11453 exit (malloc (0) ? 0 : 1);
11457 rm -f conftest
$ac_exeext
11458 if { (eval echo "$as_me:11458: \"$ac_link\"") >&5
11459 (eval $ac_link) 2>&5
11461 echo "$as_me:11461: \$? = $ac_status" >&5
11462 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11463 { (eval echo "$as_me:11463: \"$ac_try\"") >&5
11464 (eval $ac_try) 2>&5
11466 echo "$as_me:11466: \$? = $ac_status" >&5
11467 (exit $ac_status); }; }; then
11468 jm_cv_func_working_malloc
=yes
11470 echo "$as_me: program exited with status $ac_status" >&5
11471 echo "$as_me: failed program was:" >&5
11472 cat conftest.
$ac_ext >&5
11473 jm_cv_func_working_malloc
=no
11475 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_ext
11479 echo "$as_me:11479: result: $jm_cv_func_working_malloc" >&5
11480 echo "${ECHO_T}$jm_cv_func_working_malloc" >&6
11481 if test $jm_cv_func_working_malloc = no
; then
11483 LIBOBJS
="$LIBOBJS malloc.$ac_objext"
11485 cat >>confdefs.h
<<EOF
11486 #define malloc rpl_malloc
11491 echo "$as_me:11491: checking whether strerror_r is declared" >&5
11492 echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6
11493 if test "${ac_cv_have_decl_strerror_r+set}" = set; then
11494 echo $ECHO_N "(cached) $ECHO_C" >&6
11496 cat >conftest.
$ac_ext <<_ACEOF
11497 #line 11497 "configure"
11498 #include "confdefs.h"
11499 $ac_includes_default
11504 char *p = (char *) strerror_r;
11511 rm -f conftest.
$ac_objext
11512 if { (eval echo "$as_me:11512: \"$ac_compile\"") >&5
11513 (eval $ac_compile) 2>&5
11515 echo "$as_me:11515: \$? = $ac_status" >&5
11516 (exit $ac_status); } &&
11517 { ac_try
='test -s conftest.$ac_objext'
11518 { (eval echo "$as_me:11518: \"$ac_try\"") >&5
11519 (eval $ac_try) 2>&5
11521 echo "$as_me:11521: \$? = $ac_status" >&5
11522 (exit $ac_status); }; }; then
11523 ac_cv_have_decl_strerror_r
=yes
11525 echo "$as_me: failed program was:" >&5
11526 cat conftest.
$ac_ext >&5
11527 ac_cv_have_decl_strerror_r
=no
11529 rm -f conftest.
$ac_objext conftest.
$ac_ext
11531 echo "$as_me:11531: result: $ac_cv_have_decl_strerror_r" >&5
11532 echo "${ECHO_T}$ac_cv_have_decl_strerror_r" >&6
11533 if test $ac_cv_have_decl_strerror_r = yes; then
11535 cat >>confdefs.h
<<EOF
11536 #define HAVE_DECL_STRERROR_R 1
11540 cat >>confdefs.h
<<EOF
11541 #define HAVE_DECL_STRERROR_R 0
11546 for ac_func
in strerror_r
11548 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
11549 echo "$as_me:11549: checking for $ac_func" >&5
11550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11551 if eval "test \"\${$ac_ac_var+set}\" = set"; then
11552 echo $ECHO_N "(cached) $ECHO_C" >&6
11554 cat >conftest.
$ac_ext <<_ACEOF
11555 #line 11555 "configure"
11556 #include "confdefs.h"
11557 /* System header to define __stub macros and hopefully few prototypes,
11558 which can conflict with char $ac_func (); below. */
11559 #include <assert.h>
11560 /* Override any gcc2 internal prototype to avoid an error. */
11564 /* We use char because int might match the return type of a gcc2
11565 builtin and then its argument prototype would still apply. */
11572 /* The GNU C library defines this for functions which it implements
11573 to always fail with ENOSYS. Some functions are actually named
11574 something starting with __ and the normal name is an alias. */
11575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11585 rm -f conftest.
$ac_objext conftest
$ac_exeext
11586 if { (eval echo "$as_me:11586: \"$ac_link\"") >&5
11587 (eval $ac_link) 2>&5
11589 echo "$as_me:11589: \$? = $ac_status" >&5
11590 (exit $ac_status); } &&
11591 { ac_try
='test -s conftest$ac_exeext'
11592 { (eval echo "$as_me:11592: \"$ac_try\"") >&5
11593 (eval $ac_try) 2>&5
11595 echo "$as_me:11595: \$? = $ac_status" >&5
11596 (exit $ac_status); }; }; then
11597 eval "$ac_ac_var=yes"
11599 echo "$as_me: failed program was:" >&5
11600 cat conftest.
$ac_ext >&5
11601 eval "$ac_ac_var=no"
11603 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11605 echo "$as_me:11605: result: `eval echo '${'$ac_ac_var'}'`" >&5
11606 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
11607 if test `eval echo '${'$ac_ac_var'}'` = yes; then
11608 cat >>confdefs.h
<<EOF
11609 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
11615 if test $ac_cv_func_strerror_r = yes; then
11617 for ac_header
in string.h
11619 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
11620 echo "$as_me:11620: checking for $ac_header" >&5
11621 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11622 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
11623 echo $ECHO_N "(cached) $ECHO_C" >&6
11625 cat >conftest.
$ac_ext <<_ACEOF
11626 #line 11626 "configure"
11627 #include "confdefs.h"
11628 #include <$ac_header>
11630 if { (eval echo "$as_me:11630: \"$ac_cpp conftest.$ac_ext\"") >&5
11631 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11633 egrep -v '^ *\+' conftest.er1
>conftest.err
11635 cat conftest.err
>&5
11636 echo "$as_me:11636: \$? = $ac_status" >&5
11637 (exit $ac_status); } >/dev
/null
; then
11638 if test -s conftest.err
; then
11639 ac_cpp_err
=$ac_c_preproc_warn_flag
11646 if test -z "$ac_cpp_err"; then
11647 eval "$ac_ac_Header=yes"
11649 echo "$as_me: failed program was:" >&5
11650 cat conftest.
$ac_ext >&5
11651 eval "$ac_ac_Header=no"
11653 rm -f conftest.err conftest.
$ac_ext
11655 echo "$as_me:11655: result: `eval echo '${'$ac_ac_Header'}'`" >&5
11656 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
11657 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
11658 cat >>confdefs.h
<<EOF
11659 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
11665 echo "$as_me:11665: checking for working strerror_r" >&5
11666 echo $ECHO_N "checking for working strerror_r... $ECHO_C" >&6
11667 if test "${ac_cv_func_strerror_r_works+set}" = set; then
11668 echo $ECHO_N "(cached) $ECHO_C" >&6
11671 cat >conftest.
$ac_ext <<_ACEOF
11672 #line 11672 "configure"
11673 #include "confdefs.h"
11675 # include <stdio.h>
11677 # include <string.h>
11685 char x = *strerror_r (0, buf, sizeof buf);
11691 rm -f conftest.
$ac_objext
11692 if { (eval echo "$as_me:11692: \"$ac_compile\"") >&5
11693 (eval $ac_compile) 2>&5
11695 echo "$as_me:11695: \$? = $ac_status" >&5
11696 (exit $ac_status); } &&
11697 { ac_try
='test -s conftest.$ac_objext'
11698 { (eval echo "$as_me:11698: \"$ac_try\"") >&5
11699 (eval $ac_try) 2>&5
11701 echo "$as_me:11701: \$? = $ac_status" >&5
11702 (exit $ac_status); }; }; then
11703 ac_cv_func_strerror_r_works
=yes
11705 echo "$as_me: failed program was:" >&5
11706 cat conftest.
$ac_ext >&5
11707 ac_cv_func_strerror_r_works
=no
11710 rm -f conftest.
$ac_objext conftest.
$ac_ext
11711 if test $ac_cv_func_strerror_r_works = no
; then
11712 # strerror_r seems not to work, but now we have to choose between
11713 # systems that have relatively inaccessible declarations for the
11714 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
11715 # former has a strerror_r that returns char*, while the latter
11716 # has a strerror_r that returns `int'.
11717 # This test should segfault on the DEC system.
11718 if test "$cross_compiling" = yes; then
11719 ac_cv_func_strerror_r_works
=no
11721 cat >conftest.
$ac_ext <<_ACEOF
11722 #line 11722 "configure"
11723 #include "confdefs.h"
11725 # include <stdio.h>
11726 # include <string.h>
11727 # include <ctype.h>
11729 extern char *strerror_r ();
11735 char x = *strerror_r (0, buf, sizeof buf);
11736 exit (!isalpha (x));
11740 rm -f conftest
$ac_exeext
11741 if { (eval echo "$as_me:11741: \"$ac_link\"") >&5
11742 (eval $ac_link) 2>&5
11744 echo "$as_me:11744: \$? = $ac_status" >&5
11745 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11746 { (eval echo "$as_me:11746: \"$ac_try\"") >&5
11747 (eval $ac_try) 2>&5
11749 echo "$as_me:11749: \$? = $ac_status" >&5
11750 (exit $ac_status); }; }; then
11751 ac_cv_func_strerror_r_works
=yes
11753 echo "$as_me: program exited with status $ac_status" >&5
11754 echo "$as_me: failed program was:" >&5
11755 cat conftest.
$ac_ext >&5
11756 ac_cv_func_strerror_r_works
=no
11758 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_ext
11763 echo "$as_me:11763: result: $ac_cv_func_strerror_r_works" >&5
11764 echo "${ECHO_T}$ac_cv_func_strerror_r_works" >&6
11765 if test $ac_cv_func_strerror_r_works = yes; then
11767 cat >>confdefs.h
<<EOF
11768 #define HAVE_WORKING_STRERROR_R 1
11774 for ac_header
in string.h
11776 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
11777 echo "$as_me:11777: checking for $ac_header" >&5
11778 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11779 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
11780 echo $ECHO_N "(cached) $ECHO_C" >&6
11782 cat >conftest.
$ac_ext <<_ACEOF
11783 #line 11783 "configure"
11784 #include "confdefs.h"
11785 #include <$ac_header>
11787 if { (eval echo "$as_me:11787: \"$ac_cpp conftest.$ac_ext\"") >&5
11788 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11790 egrep -v '^ *\+' conftest.er1
>conftest.err
11792 cat conftest.err
>&5
11793 echo "$as_me:11793: \$? = $ac_status" >&5
11794 (exit $ac_status); } >/dev
/null
; then
11795 if test -s conftest.err
; then
11796 ac_cpp_err
=$ac_c_preproc_warn_flag
11803 if test -z "$ac_cpp_err"; then
11804 eval "$ac_ac_Header=yes"
11806 echo "$as_me: failed program was:" >&5
11807 cat conftest.
$ac_ext >&5
11808 eval "$ac_ac_Header=no"
11810 rm -f conftest.err conftest.
$ac_ext
11812 echo "$as_me:11812: result: `eval echo '${'$ac_ac_Header'}'`" >&5
11813 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
11814 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
11815 cat >>confdefs.h
<<EOF
11816 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
11822 echo "$as_me:11822: checking for working readdir" >&5
11823 echo $ECHO_N "checking for working readdir... $ECHO_C" >&6
11824 if test "${jm_cv_func_working_readdir+set}" = set; then
11825 echo $ECHO_N "(cached) $ECHO_C" >&6
11827 # Arrange for deletion of the temporary directory this test creates, in
11828 # case the test itself fails to delete everything -- as happens on Sunos.
11829 ac_clean_files
="$ac_clean_files conf-dir"
11831 if test "$cross_compiling" = yes; then
11832 jm_cv_func_working_readdir
=no
11834 cat >conftest.
$ac_ext <<_ACEOF
11835 #line 11835 "configure"
11836 #include "confdefs.h"
11837 # include <stdio.h>
11838 # include <sys/types.h>
11840 # include <string.h>
11843 # ifdef HAVE_DIRENT_H
11844 # include <dirent.h>
11845 # define NLENGTH(direct) (strlen((direct)->d_name))
11846 # else /* not HAVE_DIRENT_H */
11847 # define dirent direct
11848 # define NLENGTH(direct) ((direct)->d_namlen)
11849 # ifdef HAVE_SYS_NDIR_H
11850 # include <sys/ndir.h>
11851 # endif /* HAVE_SYS_NDIR_H */
11852 # ifdef HAVE_SYS_DIR_H
11853 # include <sys/dir.h>
11854 # endif /* HAVE_SYS_DIR_H */
11855 # ifdef HAVE_NDIR_H
11857 # endif /* HAVE_NDIR_H */
11858 # endif /* HAVE_DIRENT_H */
11860 # define DOT_OR_DOTDOT(Basename) \
11861 (Basename[0] == '.' && (Basename[1] == '\0' \
11862 || (Basename[1] == '.' && Basename[2] == '\0')))
11865 create_300_file_dir (const char *dir)
11869 if (mkdir (dir, 0700))
11874 for (i = 0; i < 300; i++)
11879 sprintf (file_name, "%03d", i);
11880 out = fopen (file_name, "w");
11883 if (fclose (out) == EOF)
11892 remove_dir (const char *dir)
11899 dirp = opendir (".");
11905 struct dirent *dp = readdir (dirp);
11909 if (DOT_OR_DOTDOT (dp->d_name))
11912 if (unlink (dp->d_name))
11927 const char *dir = "conf-dir";
11928 create_300_file_dir (dir);
11933 rm -f conftest
$ac_exeext
11934 if { (eval echo "$as_me:11934: \"$ac_link\"") >&5
11935 (eval $ac_link) 2>&5
11937 echo "$as_me:11937: \$? = $ac_status" >&5
11938 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11939 { (eval echo "$as_me:11939: \"$ac_try\"") >&5
11940 (eval $ac_try) 2>&5
11942 echo "$as_me:11942: \$? = $ac_status" >&5
11943 (exit $ac_status); }; }; then
11944 jm_cv_func_working_readdir
=yes
11946 echo "$as_me: program exited with status $ac_status" >&5
11947 echo "$as_me: failed program was:" >&5
11948 cat conftest.
$ac_ext >&5
11949 jm_cv_func_working_readdir
=no
11951 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_ext
11954 echo "$as_me:11954: result: $jm_cv_func_working_readdir" >&5
11955 echo "${ECHO_T}$jm_cv_func_working_readdir" >&6
11957 if test $jm_cv_func_working_readdir = yes; then
11959 cat >>confdefs.h
<<EOF
11960 #define HAVE_WORKING_READDIR 1
11965 echo "$as_me:11965: checking for working memcmp" >&5
11966 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
11967 if test "${jm_cv_func_memcmp_working+set}" = set; then
11968 echo $ECHO_N "(cached) $ECHO_C" >&6
11970 if test "$cross_compiling" = yes; then
11971 jm_cv_func_memcmp_working
=no
11973 cat >conftest.
$ac_ext <<_ACEOF
11974 #line 11974 "configure"
11975 #include "confdefs.h"
11979 /* Some versions of memcmp are not 8-bit clean. */
11980 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
11981 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
11984 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
11985 or more and with at least one buffer not starting on a 4-byte boundary.
11986 William Lewis provided this test program. */
11991 for (i = 0; i < 4; i++)
11995 strcpy (a, "--------01111111");
11996 strcpy (b, "--------10000000");
11997 if (memcmp (a, b, 16) >= 0)
12004 rm -f conftest
$ac_exeext
12005 if { (eval echo "$as_me:12005: \"$ac_link\"") >&5
12006 (eval $ac_link) 2>&5
12008 echo "$as_me:12008: \$? = $ac_status" >&5
12009 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12010 { (eval echo "$as_me:12010: \"$ac_try\"") >&5
12011 (eval $ac_try) 2>&5
12013 echo "$as_me:12013: \$? = $ac_status" >&5
12014 (exit $ac_status); }; }; then
12015 jm_cv_func_memcmp_working
=yes
12017 echo "$as_me: program exited with status $ac_status" >&5
12018 echo "$as_me: failed program was:" >&5
12019 cat conftest.
$ac_ext >&5
12020 jm_cv_func_memcmp_working
=no
12022 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_ext
12025 echo "$as_me:12025: result: $jm_cv_func_memcmp_working" >&5
12026 echo "${ECHO_T}$jm_cv_func_memcmp_working" >&6
12027 test $jm_cv_func_memcmp_working = no \
12028 && LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
12030 if test $jm_cv_func_memcmp_working = no
; then
12032 cat >>confdefs.h
<<EOF
12033 #define memcmp rpl_memcmp
12038 # Kludge (not executed) to make autoheader do the right thing.
12039 if test a
= b
; then
12040 echo "$as_me:12040: checking whether clearerr_unlocked is declared" >&5
12041 echo $ECHO_N "checking whether clearerr_unlocked is declared... $ECHO_C" >&6
12042 if test "${ac_cv_have_decl_clearerr_unlocked+set}" = set; then
12043 echo $ECHO_N "(cached) $ECHO_C" >&6
12045 cat >conftest.
$ac_ext <<_ACEOF
12046 #line 12046 "configure"
12047 #include "confdefs.h"
12048 $ac_includes_default
12052 #ifndef clearerr_unlocked
12053 char *p = (char *) clearerr_unlocked;
12060 rm -f conftest.
$ac_objext
12061 if { (eval echo "$as_me:12061: \"$ac_compile\"") >&5
12062 (eval $ac_compile) 2>&5
12064 echo "$as_me:12064: \$? = $ac_status" >&5
12065 (exit $ac_status); } &&
12066 { ac_try
='test -s conftest.$ac_objext'
12067 { (eval echo "$as_me:12067: \"$ac_try\"") >&5
12068 (eval $ac_try) 2>&5
12070 echo "$as_me:12070: \$? = $ac_status" >&5
12071 (exit $ac_status); }; }; then
12072 ac_cv_have_decl_clearerr_unlocked
=yes
12074 echo "$as_me: failed program was:" >&5
12075 cat conftest.
$ac_ext >&5
12076 ac_cv_have_decl_clearerr_unlocked
=no
12078 rm -f conftest.
$ac_objext conftest.
$ac_ext
12080 echo "$as_me:12080: result: $ac_cv_have_decl_clearerr_unlocked" >&5
12081 echo "${ECHO_T}$ac_cv_have_decl_clearerr_unlocked" >&6
12082 if test $ac_cv_have_decl_clearerr_unlocked = yes; then
12084 cat >>confdefs.h
<<EOF
12085 #define HAVE_DECL_CLEARERR_UNLOCKED 1
12089 cat >>confdefs.h
<<EOF
12090 #define HAVE_DECL_CLEARERR_UNLOCKED 0
12094 echo "$as_me:12094: checking whether feof_unlocked is declared" >&5
12095 echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6
12096 if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then
12097 echo $ECHO_N "(cached) $ECHO_C" >&6
12099 cat >conftest.
$ac_ext <<_ACEOF
12100 #line 12100 "configure"
12101 #include "confdefs.h"
12102 $ac_includes_default
12106 #ifndef feof_unlocked
12107 char *p = (char *) feof_unlocked;
12114 rm -f conftest.
$ac_objext
12115 if { (eval echo "$as_me:12115: \"$ac_compile\"") >&5
12116 (eval $ac_compile) 2>&5
12118 echo "$as_me:12118: \$? = $ac_status" >&5
12119 (exit $ac_status); } &&
12120 { ac_try
='test -s conftest.$ac_objext'
12121 { (eval echo "$as_me:12121: \"$ac_try\"") >&5
12122 (eval $ac_try) 2>&5
12124 echo "$as_me:12124: \$? = $ac_status" >&5
12125 (exit $ac_status); }; }; then
12126 ac_cv_have_decl_feof_unlocked
=yes
12128 echo "$as_me: failed program was:" >&5
12129 cat conftest.
$ac_ext >&5
12130 ac_cv_have_decl_feof_unlocked
=no
12132 rm -f conftest.
$ac_objext conftest.
$ac_ext
12134 echo "$as_me:12134: result: $ac_cv_have_decl_feof_unlocked" >&5
12135 echo "${ECHO_T}$ac_cv_have_decl_feof_unlocked" >&6
12136 if test $ac_cv_have_decl_feof_unlocked = yes; then
12138 cat >>confdefs.h
<<EOF
12139 #define HAVE_DECL_FEOF_UNLOCKED 1
12143 cat >>confdefs.h
<<EOF
12144 #define HAVE_DECL_FEOF_UNLOCKED 0
12148 echo "$as_me:12148: checking whether ferror_unlocked is declared" >&5
12149 echo $ECHO_N "checking whether ferror_unlocked is declared... $ECHO_C" >&6
12150 if test "${ac_cv_have_decl_ferror_unlocked+set}" = set; then
12151 echo $ECHO_N "(cached) $ECHO_C" >&6
12153 cat >conftest.
$ac_ext <<_ACEOF
12154 #line 12154 "configure"
12155 #include "confdefs.h"
12156 $ac_includes_default
12160 #ifndef ferror_unlocked
12161 char *p = (char *) ferror_unlocked;
12168 rm -f conftest.
$ac_objext
12169 if { (eval echo "$as_me:12169: \"$ac_compile\"") >&5
12170 (eval $ac_compile) 2>&5
12172 echo "$as_me:12172: \$? = $ac_status" >&5
12173 (exit $ac_status); } &&
12174 { ac_try
='test -s conftest.$ac_objext'
12175 { (eval echo "$as_me:12175: \"$ac_try\"") >&5
12176 (eval $ac_try) 2>&5
12178 echo "$as_me:12178: \$? = $ac_status" >&5
12179 (exit $ac_status); }; }; then
12180 ac_cv_have_decl_ferror_unlocked
=yes
12182 echo "$as_me: failed program was:" >&5
12183 cat conftest.
$ac_ext >&5
12184 ac_cv_have_decl_ferror_unlocked
=no
12186 rm -f conftest.
$ac_objext conftest.
$ac_ext
12188 echo "$as_me:12188: result: $ac_cv_have_decl_ferror_unlocked" >&5
12189 echo "${ECHO_T}$ac_cv_have_decl_ferror_unlocked" >&6
12190 if test $ac_cv_have_decl_ferror_unlocked = yes; then
12192 cat >>confdefs.h
<<EOF
12193 #define HAVE_DECL_FERROR_UNLOCKED 1
12197 cat >>confdefs.h
<<EOF
12198 #define HAVE_DECL_FERROR_UNLOCKED 0
12202 echo "$as_me:12202: checking whether fflush_unlocked is declared" >&5
12203 echo $ECHO_N "checking whether fflush_unlocked is declared... $ECHO_C" >&6
12204 if test "${ac_cv_have_decl_fflush_unlocked+set}" = set; then
12205 echo $ECHO_N "(cached) $ECHO_C" >&6
12207 cat >conftest.
$ac_ext <<_ACEOF
12208 #line 12208 "configure"
12209 #include "confdefs.h"
12210 $ac_includes_default
12214 #ifndef fflush_unlocked
12215 char *p = (char *) fflush_unlocked;
12222 rm -f conftest.
$ac_objext
12223 if { (eval echo "$as_me:12223: \"$ac_compile\"") >&5
12224 (eval $ac_compile) 2>&5
12226 echo "$as_me:12226: \$? = $ac_status" >&5
12227 (exit $ac_status); } &&
12228 { ac_try
='test -s conftest.$ac_objext'
12229 { (eval echo "$as_me:12229: \"$ac_try\"") >&5
12230 (eval $ac_try) 2>&5
12232 echo "$as_me:12232: \$? = $ac_status" >&5
12233 (exit $ac_status); }; }; then
12234 ac_cv_have_decl_fflush_unlocked
=yes
12236 echo "$as_me: failed program was:" >&5
12237 cat conftest.
$ac_ext >&5
12238 ac_cv_have_decl_fflush_unlocked
=no
12240 rm -f conftest.
$ac_objext conftest.
$ac_ext
12242 echo "$as_me:12242: result: $ac_cv_have_decl_fflush_unlocked" >&5
12243 echo "${ECHO_T}$ac_cv_have_decl_fflush_unlocked" >&6
12244 if test $ac_cv_have_decl_fflush_unlocked = yes; then
12246 cat >>confdefs.h
<<EOF
12247 #define HAVE_DECL_FFLUSH_UNLOCKED 1
12251 cat >>confdefs.h
<<EOF
12252 #define HAVE_DECL_FFLUSH_UNLOCKED 0
12256 echo "$as_me:12256: checking whether fputc_unlocked is declared" >&5
12257 echo $ECHO_N "checking whether fputc_unlocked is declared... $ECHO_C" >&6
12258 if test "${ac_cv_have_decl_fputc_unlocked+set}" = set; then
12259 echo $ECHO_N "(cached) $ECHO_C" >&6
12261 cat >conftest.
$ac_ext <<_ACEOF
12262 #line 12262 "configure"
12263 #include "confdefs.h"
12264 $ac_includes_default
12268 #ifndef fputc_unlocked
12269 char *p = (char *) fputc_unlocked;
12276 rm -f conftest.
$ac_objext
12277 if { (eval echo "$as_me:12277: \"$ac_compile\"") >&5
12278 (eval $ac_compile) 2>&5
12280 echo "$as_me:12280: \$? = $ac_status" >&5
12281 (exit $ac_status); } &&
12282 { ac_try
='test -s conftest.$ac_objext'
12283 { (eval echo "$as_me:12283: \"$ac_try\"") >&5
12284 (eval $ac_try) 2>&5
12286 echo "$as_me:12286: \$? = $ac_status" >&5
12287 (exit $ac_status); }; }; then
12288 ac_cv_have_decl_fputc_unlocked
=yes
12290 echo "$as_me: failed program was:" >&5
12291 cat conftest.
$ac_ext >&5
12292 ac_cv_have_decl_fputc_unlocked
=no
12294 rm -f conftest.
$ac_objext conftest.
$ac_ext
12296 echo "$as_me:12296: result: $ac_cv_have_decl_fputc_unlocked" >&5
12297 echo "${ECHO_T}$ac_cv_have_decl_fputc_unlocked" >&6
12298 if test $ac_cv_have_decl_fputc_unlocked = yes; then
12300 cat >>confdefs.h
<<EOF
12301 #define HAVE_DECL_FPUTC_UNLOCKED 1
12305 cat >>confdefs.h
<<EOF
12306 #define HAVE_DECL_FPUTC_UNLOCKED 0
12310 echo "$as_me:12310: checking whether fread_unlocked is declared" >&5
12311 echo $ECHO_N "checking whether fread_unlocked is declared... $ECHO_C" >&6
12312 if test "${ac_cv_have_decl_fread_unlocked+set}" = set; then
12313 echo $ECHO_N "(cached) $ECHO_C" >&6
12315 cat >conftest.
$ac_ext <<_ACEOF
12316 #line 12316 "configure"
12317 #include "confdefs.h"
12318 $ac_includes_default
12322 #ifndef fread_unlocked
12323 char *p = (char *) fread_unlocked;
12330 rm -f conftest.
$ac_objext
12331 if { (eval echo "$as_me:12331: \"$ac_compile\"") >&5
12332 (eval $ac_compile) 2>&5
12334 echo "$as_me:12334: \$? = $ac_status" >&5
12335 (exit $ac_status); } &&
12336 { ac_try
='test -s conftest.$ac_objext'
12337 { (eval echo "$as_me:12337: \"$ac_try\"") >&5
12338 (eval $ac_try) 2>&5
12340 echo "$as_me:12340: \$? = $ac_status" >&5
12341 (exit $ac_status); }; }; then
12342 ac_cv_have_decl_fread_unlocked
=yes
12344 echo "$as_me: failed program was:" >&5
12345 cat conftest.
$ac_ext >&5
12346 ac_cv_have_decl_fread_unlocked
=no
12348 rm -f conftest.
$ac_objext conftest.
$ac_ext
12350 echo "$as_me:12350: result: $ac_cv_have_decl_fread_unlocked" >&5
12351 echo "${ECHO_T}$ac_cv_have_decl_fread_unlocked" >&6
12352 if test $ac_cv_have_decl_fread_unlocked = yes; then
12354 cat >>confdefs.h
<<EOF
12355 #define HAVE_DECL_FREAD_UNLOCKED 1
12359 cat >>confdefs.h
<<EOF
12360 #define HAVE_DECL_FREAD_UNLOCKED 0
12364 echo "$as_me:12364: checking whether fwrite_unlocked is declared" >&5
12365 echo $ECHO_N "checking whether fwrite_unlocked is declared... $ECHO_C" >&6
12366 if test "${ac_cv_have_decl_fwrite_unlocked+set}" = set; then
12367 echo $ECHO_N "(cached) $ECHO_C" >&6
12369 cat >conftest.
$ac_ext <<_ACEOF
12370 #line 12370 "configure"
12371 #include "confdefs.h"
12372 $ac_includes_default
12376 #ifndef fwrite_unlocked
12377 char *p = (char *) fwrite_unlocked;
12384 rm -f conftest.
$ac_objext
12385 if { (eval echo "$as_me:12385: \"$ac_compile\"") >&5
12386 (eval $ac_compile) 2>&5
12388 echo "$as_me:12388: \$? = $ac_status" >&5
12389 (exit $ac_status); } &&
12390 { ac_try
='test -s conftest.$ac_objext'
12391 { (eval echo "$as_me:12391: \"$ac_try\"") >&5
12392 (eval $ac_try) 2>&5
12394 echo "$as_me:12394: \$? = $ac_status" >&5
12395 (exit $ac_status); }; }; then
12396 ac_cv_have_decl_fwrite_unlocked
=yes
12398 echo "$as_me: failed program was:" >&5
12399 cat conftest.
$ac_ext >&5
12400 ac_cv_have_decl_fwrite_unlocked
=no
12402 rm -f conftest.
$ac_objext conftest.
$ac_ext
12404 echo "$as_me:12404: result: $ac_cv_have_decl_fwrite_unlocked" >&5
12405 echo "${ECHO_T}$ac_cv_have_decl_fwrite_unlocked" >&6
12406 if test $ac_cv_have_decl_fwrite_unlocked = yes; then
12408 cat >>confdefs.h
<<EOF
12409 #define HAVE_DECL_FWRITE_UNLOCKED 1
12413 cat >>confdefs.h
<<EOF
12414 #define HAVE_DECL_FWRITE_UNLOCKED 0
12418 echo "$as_me:12418: checking whether getc_unlocked is declared" >&5
12419 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
12420 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
12421 echo $ECHO_N "(cached) $ECHO_C" >&6
12423 cat >conftest.
$ac_ext <<_ACEOF
12424 #line 12424 "configure"
12425 #include "confdefs.h"
12426 $ac_includes_default
12430 #ifndef getc_unlocked
12431 char *p = (char *) getc_unlocked;
12438 rm -f conftest.
$ac_objext
12439 if { (eval echo "$as_me:12439: \"$ac_compile\"") >&5
12440 (eval $ac_compile) 2>&5
12442 echo "$as_me:12442: \$? = $ac_status" >&5
12443 (exit $ac_status); } &&
12444 { ac_try
='test -s conftest.$ac_objext'
12445 { (eval echo "$as_me:12445: \"$ac_try\"") >&5
12446 (eval $ac_try) 2>&5
12448 echo "$as_me:12448: \$? = $ac_status" >&5
12449 (exit $ac_status); }; }; then
12450 ac_cv_have_decl_getc_unlocked
=yes
12452 echo "$as_me: failed program was:" >&5
12453 cat conftest.
$ac_ext >&5
12454 ac_cv_have_decl_getc_unlocked
=no
12456 rm -f conftest.
$ac_objext conftest.
$ac_ext
12458 echo "$as_me:12458: result: $ac_cv_have_decl_getc_unlocked" >&5
12459 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
12460 if test $ac_cv_have_decl_getc_unlocked = yes; then
12462 cat >>confdefs.h
<<EOF
12463 #define HAVE_DECL_GETC_UNLOCKED 1
12467 cat >>confdefs.h
<<EOF
12468 #define HAVE_DECL_GETC_UNLOCKED 0
12472 echo "$as_me:12472: checking whether getchar_unlocked is declared" >&5
12473 echo $ECHO_N "checking whether getchar_unlocked is declared... $ECHO_C" >&6
12474 if test "${ac_cv_have_decl_getchar_unlocked+set}" = set; then
12475 echo $ECHO_N "(cached) $ECHO_C" >&6
12477 cat >conftest.
$ac_ext <<_ACEOF
12478 #line 12478 "configure"
12479 #include "confdefs.h"
12480 $ac_includes_default
12484 #ifndef getchar_unlocked
12485 char *p = (char *) getchar_unlocked;
12492 rm -f conftest.
$ac_objext
12493 if { (eval echo "$as_me:12493: \"$ac_compile\"") >&5
12494 (eval $ac_compile) 2>&5
12496 echo "$as_me:12496: \$? = $ac_status" >&5
12497 (exit $ac_status); } &&
12498 { ac_try
='test -s conftest.$ac_objext'
12499 { (eval echo "$as_me:12499: \"$ac_try\"") >&5
12500 (eval $ac_try) 2>&5
12502 echo "$as_me:12502: \$? = $ac_status" >&5
12503 (exit $ac_status); }; }; then
12504 ac_cv_have_decl_getchar_unlocked
=yes
12506 echo "$as_me: failed program was:" >&5
12507 cat conftest.
$ac_ext >&5
12508 ac_cv_have_decl_getchar_unlocked
=no
12510 rm -f conftest.
$ac_objext conftest.
$ac_ext
12512 echo "$as_me:12512: result: $ac_cv_have_decl_getchar_unlocked" >&5
12513 echo "${ECHO_T}$ac_cv_have_decl_getchar_unlocked" >&6
12514 if test $ac_cv_have_decl_getchar_unlocked = yes; then
12516 cat >>confdefs.h
<<EOF
12517 #define HAVE_DECL_GETCHAR_UNLOCKED 1
12521 cat >>confdefs.h
<<EOF
12522 #define HAVE_DECL_GETCHAR_UNLOCKED 0
12526 echo "$as_me:12526: checking whether putc_unlocked is declared" >&5
12527 echo $ECHO_N "checking whether putc_unlocked is declared... $ECHO_C" >&6
12528 if test "${ac_cv_have_decl_putc_unlocked+set}" = set; then
12529 echo $ECHO_N "(cached) $ECHO_C" >&6
12531 cat >conftest.
$ac_ext <<_ACEOF
12532 #line 12532 "configure"
12533 #include "confdefs.h"
12534 $ac_includes_default
12538 #ifndef putc_unlocked
12539 char *p = (char *) putc_unlocked;
12546 rm -f conftest.
$ac_objext
12547 if { (eval echo "$as_me:12547: \"$ac_compile\"") >&5
12548 (eval $ac_compile) 2>&5
12550 echo "$as_me:12550: \$? = $ac_status" >&5
12551 (exit $ac_status); } &&
12552 { ac_try
='test -s conftest.$ac_objext'
12553 { (eval echo "$as_me:12553: \"$ac_try\"") >&5
12554 (eval $ac_try) 2>&5
12556 echo "$as_me:12556: \$? = $ac_status" >&5
12557 (exit $ac_status); }; }; then
12558 ac_cv_have_decl_putc_unlocked
=yes
12560 echo "$as_me: failed program was:" >&5
12561 cat conftest.
$ac_ext >&5
12562 ac_cv_have_decl_putc_unlocked
=no
12564 rm -f conftest.
$ac_objext conftest.
$ac_ext
12566 echo "$as_me:12566: result: $ac_cv_have_decl_putc_unlocked" >&5
12567 echo "${ECHO_T}$ac_cv_have_decl_putc_unlocked" >&6
12568 if test $ac_cv_have_decl_putc_unlocked = yes; then
12570 cat >>confdefs.h
<<EOF
12571 #define HAVE_DECL_PUTC_UNLOCKED 1
12575 cat >>confdefs.h
<<EOF
12576 #define HAVE_DECL_PUTC_UNLOCKED 0
12580 echo "$as_me:12580: checking whether putchar_unlocked is declared" >&5
12581 echo $ECHO_N "checking whether putchar_unlocked is declared... $ECHO_C" >&6
12582 if test "${ac_cv_have_decl_putchar_unlocked+set}" = set; then
12583 echo $ECHO_N "(cached) $ECHO_C" >&6
12585 cat >conftest.
$ac_ext <<_ACEOF
12586 #line 12586 "configure"
12587 #include "confdefs.h"
12588 $ac_includes_default
12592 #ifndef putchar_unlocked
12593 char *p = (char *) putchar_unlocked;
12600 rm -f conftest.
$ac_objext
12601 if { (eval echo "$as_me:12601: \"$ac_compile\"") >&5
12602 (eval $ac_compile) 2>&5
12604 echo "$as_me:12604: \$? = $ac_status" >&5
12605 (exit $ac_status); } &&
12606 { ac_try
='test -s conftest.$ac_objext'
12607 { (eval echo "$as_me:12607: \"$ac_try\"") >&5
12608 (eval $ac_try) 2>&5
12610 echo "$as_me:12610: \$? = $ac_status" >&5
12611 (exit $ac_status); }; }; then
12612 ac_cv_have_decl_putchar_unlocked
=yes
12614 echo "$as_me: failed program was:" >&5
12615 cat conftest.
$ac_ext >&5
12616 ac_cv_have_decl_putchar_unlocked
=no
12618 rm -f conftest.
$ac_objext conftest.
$ac_ext
12620 echo "$as_me:12620: result: $ac_cv_have_decl_putchar_unlocked" >&5
12621 echo "${ECHO_T}$ac_cv_have_decl_putchar_unlocked" >&6
12622 if test $ac_cv_have_decl_putchar_unlocked = yes; then
12624 cat >>confdefs.h
<<EOF
12625 #define HAVE_DECL_PUTCHAR_UNLOCKED 1
12629 cat >>confdefs.h
<<EOF
12630 #define HAVE_DECL_PUTCHAR_UNLOCKED 0
12637 io_functions
='clearerr_unlocked feof_unlocked ferror_unlocked
12638 fflush_unlocked fputc_unlocked fread_unlocked fwrite_unlocked
12639 getc_unlocked getchar_unlocked putc_unlocked putchar_unlocked'
12640 for jm_io_func
in $io_functions; do
12641 # Check for the existence of each function only if its declared.
12642 # Otherwise, we'd get the Solaris5.5.1 functions that are not
12643 # declared, and that have been removed from Solaris5.6. The resulting
12644 # 5.5.1 binaries would not run on 5.6 due to shared library differences.
12645 ac_ac_Symbol
=`echo "ac_cv_have_decl_$jm_io_func" | $ac_tr_sh`
12646 echo "$as_me:12646: checking whether $jm_io_func is declared" >&5
12647 echo $ECHO_N "checking whether $jm_io_func is declared... $ECHO_C" >&6
12648 if eval "test \"\${$ac_ac_Symbol+set}\" = set"; then
12649 echo $ECHO_N "(cached) $ECHO_C" >&6
12651 cat >conftest.
$ac_ext <<_ACEOF
12652 #line 12652 "configure"
12653 #include "confdefs.h"
12659 #ifndef $jm_io_func
12660 char *p = (char *) $jm_io_func;
12667 rm -f conftest.
$ac_objext
12668 if { (eval echo "$as_me:12668: \"$ac_compile\"") >&5
12669 (eval $ac_compile) 2>&5
12671 echo "$as_me:12671: \$? = $ac_status" >&5
12672 (exit $ac_status); } &&
12673 { ac_try
='test -s conftest.$ac_objext'
12674 { (eval echo "$as_me:12674: \"$ac_try\"") >&5
12675 (eval $ac_try) 2>&5
12677 echo "$as_me:12677: \$? = $ac_status" >&5
12678 (exit $ac_status); }; }; then
12679 eval "$ac_ac_Symbol=yes"
12681 echo "$as_me: failed program was:" >&5
12682 cat conftest.
$ac_ext >&5
12683 eval "$ac_ac_Symbol=no"
12685 rm -f conftest.
$ac_objext conftest.
$ac_ext
12687 echo "$as_me:12687: result: `eval echo '${'$ac_ac_Symbol'}'`" >&5
12688 echo "${ECHO_T}`eval echo '${'$ac_ac_Symbol'}'`" >&6
12689 if test `eval echo '${'$ac_ac_Symbol'}'` = yes; then
12691 cat >>confdefs.h
<<EOF
12692 #define `echo "HAVE_DECL_$jm_io_func" | $ac_tr_cpp` 1
12697 cat >>confdefs.h
<<EOF
12698 #define `echo "HAVE_DECL_$jm_io_func" | $ac_tr_cpp` 0
12704 if test $jm_declared = yes; then
12706 for ac_func
in $jm_io_func
12708 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
12709 echo "$as_me:12709: checking for $ac_func" >&5
12710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12711 if eval "test \"\${$ac_ac_var+set}\" = set"; then
12712 echo $ECHO_N "(cached) $ECHO_C" >&6
12714 cat >conftest.
$ac_ext <<_ACEOF
12715 #line 12715 "configure"
12716 #include "confdefs.h"
12717 /* System header to define __stub macros and hopefully few prototypes,
12718 which can conflict with char $ac_func (); below. */
12719 #include <assert.h>
12720 /* Override any gcc2 internal prototype to avoid an error. */
12724 /* We use char because int might match the return type of a gcc2
12725 builtin and then its argument prototype would still apply. */
12732 /* The GNU C library defines this for functions which it implements
12733 to always fail with ENOSYS. Some functions are actually named
12734 something starting with __ and the normal name is an alias. */
12735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12745 rm -f conftest.
$ac_objext conftest
$ac_exeext
12746 if { (eval echo "$as_me:12746: \"$ac_link\"") >&5
12747 (eval $ac_link) 2>&5
12749 echo "$as_me:12749: \$? = $ac_status" >&5
12750 (exit $ac_status); } &&
12751 { ac_try
='test -s conftest$ac_exeext'
12752 { (eval echo "$as_me:12752: \"$ac_try\"") >&5
12753 (eval $ac_try) 2>&5
12755 echo "$as_me:12755: \$? = $ac_status" >&5
12756 (exit $ac_status); }; }; then
12757 eval "$ac_ac_var=yes"
12759 echo "$as_me: failed program was:" >&5
12760 cat conftest.
$ac_ext >&5
12761 eval "$ac_ac_var=no"
12763 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12765 echo "$as_me:12765: result: `eval echo '${'$ac_ac_var'}'`" >&5
12766 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
12767 if test `eval echo '${'$ac_ac_var'}'` = yes; then
12768 cat >>confdefs.h
<<EOF
12769 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
12778 echo "$as_me:12778: checking whether we are using the GNU C Library" >&5
12779 echo $ECHO_N "checking whether we are using the GNU C Library... $ECHO_C" >&6
12780 if test "${ac_cv_gnu_library+set}" = set; then
12781 echo $ECHO_N "(cached) $ECHO_C" >&6
12783 cat >conftest.
$ac_ext <<_ACEOF
12784 #line 12784 "configure"
12785 #include "confdefs.h"
12787 #include <features.h>
12788 #ifdef __GNU_LIBRARY__
12789 Thanks for using GNU
12793 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12794 egrep "Thanks for using GNU" >/dev
/null
2>&1; then
12795 ac_cv_gnu_library
=yes
12797 ac_cv_gnu_library
=no
12802 echo "$as_me:12802: result: $ac_cv_gnu_library" >&5
12803 echo "${ECHO_T}$ac_cv_gnu_library" >&6
12804 echo "$as_me:12804: checking for version 2 of the GNU C Library" >&5
12805 echo $ECHO_N "checking for version 2 of the GNU C Library... $ECHO_C" >&6
12806 if test "${ac_cv_glibc+set}" = set; then
12807 echo $ECHO_N "(cached) $ECHO_C" >&6
12809 cat >conftest.
$ac_ext <<_ACEOF
12810 #line 12810 "configure"
12811 #include "confdefs.h"
12813 #include <features.h>
12815 Thanks for using GNU too
12819 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12820 egrep "Thanks for using GNU too" >/dev
/null
2>&1; then
12828 echo "$as_me:12828: result: $ac_cv_glibc" >&5
12829 echo "${ECHO_T}$ac_cv_glibc" >&6
12831 for ac_header
in fnmatch.h
12833 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
12834 echo "$as_me:12834: checking for $ac_header" >&5
12835 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12836 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
12837 echo $ECHO_N "(cached) $ECHO_C" >&6
12839 cat >conftest.
$ac_ext <<_ACEOF
12840 #line 12840 "configure"
12841 #include "confdefs.h"
12842 #include <$ac_header>
12844 if { (eval echo "$as_me:12844: \"$ac_cpp conftest.$ac_ext\"") >&5
12845 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12847 egrep -v '^ *\+' conftest.er1
>conftest.err
12849 cat conftest.err
>&5
12850 echo "$as_me:12850: \$? = $ac_status" >&5
12851 (exit $ac_status); } >/dev
/null
; then
12852 if test -s conftest.err
; then
12853 ac_cpp_err
=$ac_c_preproc_warn_flag
12860 if test -z "$ac_cpp_err"; then
12861 eval "$ac_ac_Header=yes"
12863 echo "$as_me: failed program was:" >&5
12864 cat conftest.
$ac_ext >&5
12865 eval "$ac_ac_Header=no"
12867 rm -f conftest.err conftest.
$ac_ext
12869 echo "$as_me:12869: result: `eval echo '${'$ac_ac_Header'}'`" >&5
12870 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
12871 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
12872 cat >>confdefs.h
<<EOF
12873 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
12879 echo "$as_me:12879: checking for working fnmatch with case folding" >&5
12880 echo $ECHO_N "checking for working fnmatch with case folding... $ECHO_C" >&6
12881 if test "${ac_cv_func_fnmatch_works+set}" = set; then
12882 echo $ECHO_N "(cached) $ECHO_C" >&6
12884 # Some versions of Solaris or SCO have a broken fnmatch function.
12885 # So we run a test program. If we are cross-compiling, take no chance.
12886 # Also want FNM_CASEFOLD
12887 # Thanks to John Oleynick and Franc,ois Pinard for this test.
12888 if test "$cross_compiling" = yes; then
12889 ac_cv_func_fnmatch_works
=no
12891 cat >conftest.
$ac_ext <<_ACEOF
12892 #line 12892 "configure"
12893 #include "confdefs.h"
12895 #define _GNU_SOURCE
12897 # include <fnmatch.h>
12903 exit (fnmatch ("A*", "abc", FNM_CASEFOLD) != 0);
12906 rm -f conftest
$ac_exeext
12907 if { (eval echo "$as_me:12907: \"$ac_link\"") >&5
12908 (eval $ac_link) 2>&5
12910 echo "$as_me:12910: \$? = $ac_status" >&5
12911 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12912 { (eval echo "$as_me:12912: \"$ac_try\"") >&5
12913 (eval $ac_try) 2>&5
12915 echo "$as_me:12915: \$? = $ac_status" >&5
12916 (exit $ac_status); }; }; then
12917 ac_cv_func_fnmatch_works
=yes
12919 echo "$as_me: program exited with status $ac_status" >&5
12920 echo "$as_me: failed program was:" >&5
12921 cat conftest.
$ac_ext >&5
12922 ac_cv_func_fnmatch_works
=no
12924 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_ext
12927 echo "$as_me:12927: result: $ac_cv_func_fnmatch_works" >&5
12928 echo "${ECHO_T}$ac_cv_func_fnmatch_works" >&6
12929 if test $ac_cv_func_fnmatch_works = yes; then
12931 cat >>confdefs.h
<<\EOF
12932 #define HAVE_FNMATCH 1
12937 if test $ac_cv_func_fnmatch_works = no \
12938 && test $ac_cv_gnu_library = no
; then
12940 LIBOBJS
="$LIBOBJS fnmatch.$ac_objext"
12942 cat >>confdefs.h
<<EOF
12943 #define fnmatch rpl_fnmatch
12948 echo "$as_me:12948: checking for AFS" >&5
12949 echo $ECHO_N "checking for AFS... $ECHO_C" >&6
12950 if test -d /afs
; then
12952 cat >>confdefs.h
<<\EOF
12960 echo "$as_me:12960: result: $ac_result" >&5
12961 echo "${ECHO_T}$ac_result" >&6
12963 for ac_header
in stdlib.h
12965 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
12966 echo "$as_me:12966: checking for $ac_header" >&5
12967 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12968 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
12969 echo $ECHO_N "(cached) $ECHO_C" >&6
12971 cat >conftest.
$ac_ext <<_ACEOF
12972 #line 12972 "configure"
12973 #include "confdefs.h"
12974 #include <$ac_header>
12976 if { (eval echo "$as_me:12976: \"$ac_cpp conftest.$ac_ext\"") >&5
12977 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12979 egrep -v '^ *\+' conftest.er1
>conftest.err
12981 cat conftest.err
>&5
12982 echo "$as_me:12982: \$? = $ac_status" >&5
12983 (exit $ac_status); } >/dev
/null
; then
12984 if test -s conftest.err
; then
12985 ac_cpp_err
=$ac_c_preproc_warn_flag
12992 if test -z "$ac_cpp_err"; then
12993 eval "$ac_ac_Header=yes"
12995 echo "$as_me: failed program was:" >&5
12996 cat conftest.
$ac_ext >&5
12997 eval "$ac_ac_Header=no"
12999 rm -f conftest.err conftest.
$ac_ext
13001 echo "$as_me:13001: result: `eval echo '${'$ac_ac_Header'}'`" >&5
13002 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
13003 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
13004 cat >>confdefs.h
<<EOF
13005 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
13011 echo "$as_me:13011: checking whether <inttypes.h> defines strtoumax as a macro" >&5
13012 echo $ECHO_N "checking whether <inttypes.h> defines strtoumax as a macro... $ECHO_C" >&6
13013 if test "${jm_cv_func_strtoumax_macro+set}" = set; then
13014 echo $ECHO_N "(cached) $ECHO_C" >&6
13016 cat >conftest.
$ac_ext <<_ACEOF
13017 #line 13017 "configure"
13018 #include "confdefs.h"
13019 #include <inttypes.h>
13021 inttypes_h_defines_strtoumax
13024 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13025 egrep "inttypes_h_defines_strtoumax" >/dev
/null
2>&1; then
13026 jm_cv_func_strtoumax_macro
=yes
13028 jm_cv_func_strtoumax_macro
=no
13033 echo "$as_me:13033: result: $jm_cv_func_strtoumax_macro" >&5
13034 echo "${ECHO_T}$jm_cv_func_strtoumax_macro" >&6
13036 if test "$jm_cv_func_strtoumax_macro" != yes; then
13038 for ac_func
in strtoumax
13040 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
13041 echo "$as_me:13041: checking for $ac_func" >&5
13042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13043 if eval "test \"\${$ac_ac_var+set}\" = set"; then
13044 echo $ECHO_N "(cached) $ECHO_C" >&6
13046 cat >conftest.
$ac_ext <<_ACEOF
13047 #line 13047 "configure"
13048 #include "confdefs.h"
13049 /* System header to define __stub macros and hopefully few prototypes,
13050 which can conflict with char $ac_func (); below. */
13051 #include <assert.h>
13052 /* Override any gcc2 internal prototype to avoid an error. */
13056 /* We use char because int might match the return type of a gcc2
13057 builtin and then its argument prototype would still apply. */
13064 /* The GNU C library defines this for functions which it implements
13065 to always fail with ENOSYS. Some functions are actually named
13066 something starting with __ and the normal name is an alias. */
13067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13077 rm -f conftest.
$ac_objext conftest
$ac_exeext
13078 if { (eval echo "$as_me:13078: \"$ac_link\"") >&5
13079 (eval $ac_link) 2>&5
13081 echo "$as_me:13081: \$? = $ac_status" >&5
13082 (exit $ac_status); } &&
13083 { ac_try
='test -s conftest$ac_exeext'
13084 { (eval echo "$as_me:13084: \"$ac_try\"") >&5
13085 (eval $ac_try) 2>&5
13087 echo "$as_me:13087: \$? = $ac_status" >&5
13088 (exit $ac_status); }; }; then
13089 eval "$ac_ac_var=yes"
13091 echo "$as_me: failed program was:" >&5
13092 cat conftest.
$ac_ext >&5
13093 eval "$ac_ac_var=no"
13095 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13097 echo "$as_me:13097: result: `eval echo '${'$ac_ac_var'}'`" >&5
13098 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
13099 if test `eval echo '${'$ac_ac_var'}'` = yes; then
13100 cat >>confdefs.h
<<EOF
13101 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
13105 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
13111 case "$ac_cv_type_unsigned_long_long,$jm_cv_func_strtoumax_macro,$ac_cv_func_strtoumax" in
13114 for ac_func
in strtoull
13116 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
13117 echo "$as_me:13117: checking for $ac_func" >&5
13118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13119 if eval "test \"\${$ac_ac_var+set}\" = set"; then
13120 echo $ECHO_N "(cached) $ECHO_C" >&6
13122 cat >conftest.
$ac_ext <<_ACEOF
13123 #line 13123 "configure"
13124 #include "confdefs.h"
13125 /* System header to define __stub macros and hopefully few prototypes,
13126 which can conflict with char $ac_func (); below. */
13127 #include <assert.h>
13128 /* Override any gcc2 internal prototype to avoid an error. */
13132 /* We use char because int might match the return type of a gcc2
13133 builtin and then its argument prototype would still apply. */
13140 /* The GNU C library defines this for functions which it implements
13141 to always fail with ENOSYS. Some functions are actually named
13142 something starting with __ and the normal name is an alias. */
13143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13153 rm -f conftest.
$ac_objext conftest
$ac_exeext
13154 if { (eval echo "$as_me:13154: \"$ac_link\"") >&5
13155 (eval $ac_link) 2>&5
13157 echo "$as_me:13157: \$? = $ac_status" >&5
13158 (exit $ac_status); } &&
13159 { ac_try
='test -s conftest$ac_exeext'
13160 { (eval echo "$as_me:13160: \"$ac_try\"") >&5
13161 (eval $ac_try) 2>&5
13163 echo "$as_me:13163: \$? = $ac_status" >&5
13164 (exit $ac_status); }; }; then
13165 eval "$ac_ac_var=yes"
13167 echo "$as_me: failed program was:" >&5
13168 cat conftest.
$ac_ext >&5
13169 eval "$ac_ac_var=no"
13171 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13173 echo "$as_me:13173: result: `eval echo '${'$ac_ac_var'}'`" >&5
13174 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
13175 if test `eval echo '${'$ac_ac_var'}'` = yes; then
13176 cat >>confdefs.h
<<EOF
13177 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
13181 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
13188 echo "$as_me:13188: checking whether link(2) follows symlinks" >&5
13189 echo $ECHO_N "checking whether link(2) follows symlinks... $ECHO_C" >&6
13190 if test "${jm_ac_cv_func_link_follows_symlink+set}" = set; then
13191 echo $ECHO_N "(cached) $ECHO_C" >&6
13194 test -z "$ac_cv_header_unistd_h" \
13196 for ac_header
in unistd.h
13198 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
13199 echo "$as_me:13199: checking for $ac_header" >&5
13200 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13201 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
13202 echo $ECHO_N "(cached) $ECHO_C" >&6
13204 cat >conftest.
$ac_ext <<_ACEOF
13205 #line 13205 "configure"
13206 #include "confdefs.h"
13207 #include <$ac_header>
13209 if { (eval echo "$as_me:13209: \"$ac_cpp conftest.$ac_ext\"") >&5
13210 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13212 egrep -v '^ *\+' conftest.er1
>conftest.err
13214 cat conftest.err
>&5
13215 echo "$as_me:13215: \$? = $ac_status" >&5
13216 (exit $ac_status); } >/dev
/null
; then
13217 if test -s conftest.err
; then
13218 ac_cpp_err
=$ac_c_preproc_warn_flag
13225 if test -z "$ac_cpp_err"; then
13226 eval "$ac_ac_Header=yes"
13228 echo "$as_me: failed program was:" >&5
13229 cat conftest.
$ac_ext >&5
13230 eval "$ac_ac_Header=no"
13232 rm -f conftest.err conftest.
$ac_ext
13234 echo "$as_me:13234: result: `eval echo '${'$ac_ac_Header'}'`" >&5
13235 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
13236 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
13237 cat >>confdefs.h
<<EOF
13238 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
13244 # Create a regular file.
13245 echo > conftest.
file
13246 if test "$cross_compiling" = yes; then
13247 jm_ac_cv_func_link_follows_symlink
=yes
13249 cat >conftest.
$ac_ext <<_ACEOF
13250 #line 13250 "configure"
13251 #include "confdefs.h"
13253 # include <sys/types.h>
13254 # include <sys/stat.h>
13255 # ifdef HAVE_UNISTD_H
13256 # include <unistd.h>
13259 # define SAME_INODE(Stat_buf_1, Stat_buf_2) \
13260 ((Stat_buf_1).st_ino == (Stat_buf_2).st_ino \
13261 && (Stat_buf_1).st_dev == (Stat_buf_2).st_dev)
13266 const char *file = "conftest.file";
13267 const char *sym = "conftest.sym";
13268 const char *hard = "conftest.hard";
13269 struct stat sb_file, sb_hard;
13271 /* Create a symlink to the regular file. */
13272 if (symlink (file, sym))
13275 /* Create a hard link to that symlink. */
13276 if (link (sym, hard))
13279 if (lstat (hard, &sb_hard))
13281 if (lstat (file, &sb_file))
13284 /* If the dev/inode of hard and file are the same, then
13285 the link call followed the symlink. */
13286 return SAME_INODE (sb_hard, sb_file) ? 0 : 1;
13290 rm -f conftest
$ac_exeext
13291 if { (eval echo "$as_me:13291: \"$ac_link\"") >&5
13292 (eval $ac_link) 2>&5
13294 echo "$as_me:13294: \$? = $ac_status" >&5
13295 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13296 { (eval echo "$as_me:13296: \"$ac_try\"") >&5
13297 (eval $ac_try) 2>&5
13299 echo "$as_me:13299: \$? = $ac_status" >&5
13300 (exit $ac_status); }; }; then
13301 jm_ac_cv_func_link_follows_symlink
=yes
13303 echo "$as_me: program exited with status $ac_status" >&5
13304 echo "$as_me: failed program was:" >&5
13305 cat conftest.
$ac_ext >&5
13306 jm_ac_cv_func_link_follows_symlink
=no
13308 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_ext
13312 echo "$as_me:13312: result: $jm_ac_cv_func_link_follows_symlink" >&5
13313 echo "${ECHO_T}$jm_ac_cv_func_link_follows_symlink" >&6
13314 if test $jm_ac_cv_func_link_follows_symlink = yes; then
13316 cat >>confdefs.h
<<\EOF
13317 #define LINK_FOLLOWS_SYMLINKS 1
13322 echo "$as_me:13322: checking for error_at_line" >&5
13323 echo $ECHO_N "checking for error_at_line... $ECHO_C" >&6
13324 if test "${am_cv_lib_error_at_line+set}" = set; then
13325 echo $ECHO_N "(cached) $ECHO_C" >&6
13327 cat >conftest.
$ac_ext <<_ACEOF
13328 #line 13328 "configure"
13329 #include "confdefs.h"
13334 error_at_line(0, 0, "", 0, "");
13339 rm -f conftest.
$ac_objext conftest
$ac_exeext
13340 if { (eval echo "$as_me:13340: \"$ac_link\"") >&5
13341 (eval $ac_link) 2>&5
13343 echo "$as_me:13343: \$? = $ac_status" >&5
13344 (exit $ac_status); } &&
13345 { ac_try
='test -s conftest$ac_exeext'
13346 { (eval echo "$as_me:13346: \"$ac_try\"") >&5
13347 (eval $ac_try) 2>&5
13349 echo "$as_me:13349: \$? = $ac_status" >&5
13350 (exit $ac_status); }; }; then
13351 am_cv_lib_error_at_line
=yes
13353 echo "$as_me: failed program was:" >&5
13354 cat conftest.
$ac_ext >&5
13355 am_cv_lib_error_at_line
=no
13357 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13359 echo "$as_me:13359: result: $am_cv_lib_error_at_line" >&5
13360 echo "${ECHO_T}$am_cv_lib_error_at_line" >&6
13361 if test $am_cv_lib_error_at_line = no
; then
13362 LIBOBJS
="$LIBOBJS error.$ac_objext"
13365 for ac_func
in localtime_r
13367 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
13368 echo "$as_me:13368: checking for $ac_func" >&5
13369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13370 if eval "test \"\${$ac_ac_var+set}\" = set"; then
13371 echo $ECHO_N "(cached) $ECHO_C" >&6
13373 cat >conftest.
$ac_ext <<_ACEOF
13374 #line 13374 "configure"
13375 #include "confdefs.h"
13376 /* System header to define __stub macros and hopefully few prototypes,
13377 which can conflict with char $ac_func (); below. */
13378 #include <assert.h>
13379 /* Override any gcc2 internal prototype to avoid an error. */
13383 /* We use char because int might match the return type of a gcc2
13384 builtin and then its argument prototype would still apply. */
13391 /* The GNU C library defines this for functions which it implements
13392 to always fail with ENOSYS. Some functions are actually named
13393 something starting with __ and the normal name is an alias. */
13394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13404 rm -f conftest.
$ac_objext conftest
$ac_exeext
13405 if { (eval echo "$as_me:13405: \"$ac_link\"") >&5
13406 (eval $ac_link) 2>&5
13408 echo "$as_me:13408: \$? = $ac_status" >&5
13409 (exit $ac_status); } &&
13410 { ac_try
='test -s conftest$ac_exeext'
13411 { (eval echo "$as_me:13411: \"$ac_try\"") >&5
13412 (eval $ac_try) 2>&5
13414 echo "$as_me:13414: \$? = $ac_status" >&5
13415 (exit $ac_status); }; }; then
13416 eval "$ac_ac_var=yes"
13418 echo "$as_me: failed program was:" >&5
13419 cat conftest.
$ac_ext >&5
13420 eval "$ac_ac_var=no"
13422 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13424 echo "$as_me:13424: result: `eval echo '${'$ac_ac_var'}'`" >&5
13425 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
13426 if test `eval echo '${'$ac_ac_var'}'` = yes; then
13427 cat >>confdefs.h
<<EOF
13428 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
13434 for ac_header
in limits.h
13436 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
13437 echo "$as_me:13437: checking for $ac_header" >&5
13438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13439 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
13440 echo $ECHO_N "(cached) $ECHO_C" >&6
13442 cat >conftest.
$ac_ext <<_ACEOF
13443 #line 13443 "configure"
13444 #include "confdefs.h"
13445 #include <$ac_header>
13447 if { (eval echo "$as_me:13447: \"$ac_cpp conftest.$ac_ext\"") >&5
13448 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13450 egrep -v '^ *\+' conftest.er1
>conftest.err
13452 cat conftest.err
>&5
13453 echo "$as_me:13453: \$? = $ac_status" >&5
13454 (exit $ac_status); } >/dev
/null
; then
13455 if test -s conftest.err
; then
13456 ac_cpp_err
=$ac_c_preproc_warn_flag
13463 if test -z "$ac_cpp_err"; then
13464 eval "$ac_ac_Header=yes"
13466 echo "$as_me: failed program was:" >&5
13467 cat conftest.
$ac_ext >&5
13468 eval "$ac_ac_Header=no"
13470 rm -f conftest.err conftest.
$ac_ext
13472 echo "$as_me:13472: result: `eval echo '${'$ac_ac_Header'}'`" >&5
13473 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
13474 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
13475 cat >>confdefs.h
<<EOF
13476 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
13482 for ac_func
in bcopy tzset mempcpy memcpy memset
13484 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
13485 echo "$as_me:13485: checking for $ac_func" >&5
13486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13487 if eval "test \"\${$ac_ac_var+set}\" = set"; then
13488 echo $ECHO_N "(cached) $ECHO_C" >&6
13490 cat >conftest.
$ac_ext <<_ACEOF
13491 #line 13491 "configure"
13492 #include "confdefs.h"
13493 /* System header to define __stub macros and hopefully few prototypes,
13494 which can conflict with char $ac_func (); below. */
13495 #include <assert.h>
13496 /* Override any gcc2 internal prototype to avoid an error. */
13500 /* We use char because int might match the return type of a gcc2
13501 builtin and then its argument prototype would still apply. */
13508 /* The GNU C library defines this for functions which it implements
13509 to always fail with ENOSYS. Some functions are actually named
13510 something starting with __ and the normal name is an alias. */
13511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13521 rm -f conftest.
$ac_objext conftest
$ac_exeext
13522 if { (eval echo "$as_me:13522: \"$ac_link\"") >&5
13523 (eval $ac_link) 2>&5
13525 echo "$as_me:13525: \$? = $ac_status" >&5
13526 (exit $ac_status); } &&
13527 { ac_try
='test -s conftest$ac_exeext'
13528 { (eval echo "$as_me:13528: \"$ac_try\"") >&5
13529 (eval $ac_try) 2>&5
13531 echo "$as_me:13531: \$? = $ac_status" >&5
13532 (exit $ac_status); }; }; then
13533 eval "$ac_ac_var=yes"
13535 echo "$as_me: failed program was:" >&5
13536 cat conftest.
$ac_ext >&5
13537 eval "$ac_ac_var=no"
13539 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13541 echo "$as_me:13541: result: `eval echo '${'$ac_ac_var'}'`" >&5
13542 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
13543 if test `eval echo '${'$ac_ac_var'}'` = yes; then
13544 cat >>confdefs.h
<<EOF
13545 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
13551 # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE.
13552 echo "$as_me:13552: checking for struct tm.tm_zone" >&5
13553 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
13554 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
13555 echo $ECHO_N "(cached) $ECHO_C" >&6
13557 cat >conftest.
$ac_ext <<_ACEOF
13558 #line 13558 "configure"
13559 #include "confdefs.h"
13560 #include <sys/types.h>
13561 #include <$ac_cv_struct_tm>
13572 rm -f conftest.
$ac_objext
13573 if { (eval echo "$as_me:13573: \"$ac_compile\"") >&5
13574 (eval $ac_compile) 2>&5
13576 echo "$as_me:13576: \$? = $ac_status" >&5
13577 (exit $ac_status); } &&
13578 { ac_try
='test -s conftest.$ac_objext'
13579 { (eval echo "$as_me:13579: \"$ac_try\"") >&5
13580 (eval $ac_try) 2>&5
13582 echo "$as_me:13582: \$? = $ac_status" >&5
13583 (exit $ac_status); }; }; then
13584 ac_cv_member_struct_tm_tm_zone
=yes
13586 echo "$as_me: failed program was:" >&5
13587 cat conftest.
$ac_ext >&5
13588 ac_cv_member_struct_tm_tm_zone
=no
13590 rm -f conftest.
$ac_objext conftest.
$ac_ext
13592 echo "$as_me:13592: result: $ac_cv_member_struct_tm_tm_zone" >&5
13593 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
13594 if test $ac_cv_member_struct_tm_tm_zone = yes; then
13596 cat >>confdefs.h
<<EOF
13597 #define HAVE_STRUCT_TM_TM_ZONE 1
13602 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
13604 cat >>confdefs.h
<<\EOF
13605 #define HAVE_TM_ZONE 1
13609 echo "$as_me:13609: checking for tzname" >&5
13610 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
13611 if test "${ac_cv_var_tzname+set}" = set; then
13612 echo $ECHO_N "(cached) $ECHO_C" >&6
13614 cat >conftest.
$ac_ext <<_ACEOF
13615 #line 13615 "configure"
13616 #include "confdefs.h"
13618 #ifndef tzname /* For SGI. */
13619 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
13630 rm -f conftest.
$ac_objext conftest
$ac_exeext
13631 if { (eval echo "$as_me:13631: \"$ac_link\"") >&5
13632 (eval $ac_link) 2>&5
13634 echo "$as_me:13634: \$? = $ac_status" >&5
13635 (exit $ac_status); } &&
13636 { ac_try
='test -s conftest$ac_exeext'
13637 { (eval echo "$as_me:13637: \"$ac_try\"") >&5
13638 (eval $ac_try) 2>&5
13640 echo "$as_me:13640: \$? = $ac_status" >&5
13641 (exit $ac_status); }; }; then
13642 ac_cv_var_tzname
=yes
13644 echo "$as_me: failed program was:" >&5
13645 cat conftest.
$ac_ext >&5
13646 ac_cv_var_tzname
=no
13648 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13650 echo "$as_me:13650: result: $ac_cv_var_tzname" >&5
13651 echo "${ECHO_T}$ac_cv_var_tzname" >&6
13652 if test $ac_cv_var_tzname = yes; then
13654 cat >>confdefs.h
<<\EOF
13655 #define HAVE_TZNAME 1
13661 for ac_func
in mblen mbrlen
13663 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
13664 echo "$as_me:13664: checking for $ac_func" >&5
13665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13666 if eval "test \"\${$ac_ac_var+set}\" = set"; then
13667 echo $ECHO_N "(cached) $ECHO_C" >&6
13669 cat >conftest.
$ac_ext <<_ACEOF
13670 #line 13670 "configure"
13671 #include "confdefs.h"
13672 /* System header to define __stub macros and hopefully few prototypes,
13673 which can conflict with char $ac_func (); below. */
13674 #include <assert.h>
13675 /* Override any gcc2 internal prototype to avoid an error. */
13679 /* We use char because int might match the return type of a gcc2
13680 builtin and then its argument prototype would still apply. */
13687 /* The GNU C library defines this for functions which it implements
13688 to always fail with ENOSYS. Some functions are actually named
13689 something starting with __ and the normal name is an alias. */
13690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13700 rm -f conftest.
$ac_objext conftest
$ac_exeext
13701 if { (eval echo "$as_me:13701: \"$ac_link\"") >&5
13702 (eval $ac_link) 2>&5
13704 echo "$as_me:13704: \$? = $ac_status" >&5
13705 (exit $ac_status); } &&
13706 { ac_try
='test -s conftest$ac_exeext'
13707 { (eval echo "$as_me:13707: \"$ac_try\"") >&5
13708 (eval $ac_try) 2>&5
13710 echo "$as_me:13710: \$? = $ac_status" >&5
13711 (exit $ac_status); }; }; then
13712 eval "$ac_ac_var=yes"
13714 echo "$as_me: failed program was:" >&5
13715 cat conftest.
$ac_ext >&5
13716 eval "$ac_ac_var=no"
13718 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13720 echo "$as_me:13720: result: `eval echo '${'$ac_ac_var'}'`" >&5
13721 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
13722 if test `eval echo '${'$ac_ac_var'}'` = yes; then
13723 cat >>confdefs.h
<<EOF
13724 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
13730 echo "$as_me:13730: checking for struct tm.tm_gmtoff" >&5
13731 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6
13732 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
13733 echo $ECHO_N "(cached) $ECHO_C" >&6
13735 cat >conftest.
$ac_ext <<_ACEOF
13736 #line 13736 "configure"
13737 #include "confdefs.h"
13749 rm -f conftest.
$ac_objext
13750 if { (eval echo "$as_me:13750: \"$ac_compile\"") >&5
13751 (eval $ac_compile) 2>&5
13753 echo "$as_me:13753: \$? = $ac_status" >&5
13754 (exit $ac_status); } &&
13755 { ac_try
='test -s conftest.$ac_objext'
13756 { (eval echo "$as_me:13756: \"$ac_try\"") >&5
13757 (eval $ac_try) 2>&5
13759 echo "$as_me:13759: \$? = $ac_status" >&5
13760 (exit $ac_status); }; }; then
13761 ac_cv_member_struct_tm_tm_gmtoff
=yes
13763 echo "$as_me: failed program was:" >&5
13764 cat conftest.
$ac_ext >&5
13765 ac_cv_member_struct_tm_tm_gmtoff
=no
13767 rm -f conftest.
$ac_objext conftest.
$ac_ext
13769 echo "$as_me:13769: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
13770 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6
13771 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
13773 cat >>confdefs.h
<<\EOF
13774 #define HAVE_TM_GMTOFF 1
13779 for ac_header
in sys
/time.h
13781 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
13782 echo "$as_me:13782: checking for $ac_header" >&5
13783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13784 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
13785 echo $ECHO_N "(cached) $ECHO_C" >&6
13787 cat >conftest.
$ac_ext <<_ACEOF
13788 #line 13788 "configure"
13789 #include "confdefs.h"
13790 #include <$ac_header>
13792 if { (eval echo "$as_me:13792: \"$ac_cpp conftest.$ac_ext\"") >&5
13793 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13795 egrep -v '^ *\+' conftest.er1
>conftest.err
13797 cat conftest.err
>&5
13798 echo "$as_me:13798: \$? = $ac_status" >&5
13799 (exit $ac_status); } >/dev
/null
; then
13800 if test -s conftest.err
; then
13801 ac_cpp_err
=$ac_c_preproc_warn_flag
13808 if test -z "$ac_cpp_err"; then
13809 eval "$ac_ac_Header=yes"
13811 echo "$as_me: failed program was:" >&5
13812 cat conftest.
$ac_ext >&5
13813 eval "$ac_ac_Header=no"
13815 rm -f conftest.err conftest.
$ac_ext
13817 echo "$as_me:13817: result: `eval echo '${'$ac_ac_Header'}'`" >&5
13818 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
13819 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
13820 cat >>confdefs.h
<<EOF
13821 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
13827 echo "$as_me:13827: checking for working GNU strftime" >&5
13828 echo $ECHO_N "checking for working GNU strftime... $ECHO_C" >&6
13829 if test "${jm_cv_func_working_gnu_strftime+set}" = set; then
13830 echo $ECHO_N "(cached) $ECHO_C" >&6
13832 # Set TZ to GMT0 to make strftime give consistent results during the test.
13833 ac_save_TZ
="${TZ-GMT0}"
13836 if test "$cross_compiling" = yes; then
13837 jm_cv_func_working_gnu_strftime
=no
13839 cat >conftest.
$ac_ext <<_ACEOF
13840 #line 13840 "configure"
13841 #include "confdefs.h"
13842 /* Ulrich Drepper provided parts of the test program. */
13844 # include <stdlib.h>
13847 #if TIME_WITH_SYS_TIME
13848 # include <sys/time.h>
13851 # if HAVE_SYS_TIME_H
13852 # include <sys/time.h>
13859 compare (const char *fmt, const struct tm *tm, const char *expected)
13862 strftime (buf, 99, fmt, tm);
13863 if (strcmp (buf, expected))
13865 #ifdef SHOW_FAILURES
13866 printf ("fmt: \"%s\", expected \"%s\", got \"%s\"\n",
13867 fmt, expected, buf);
13879 time_t t = 738367; /* Fri Jan 9 13:06:07 1970 */
13883 #define CMP(Fmt, Expected) n_fail += compare ((Fmt), tm, (Expected))
13885 CMP ("%-m", "1"); /* GNU */
13886 CMP ("%A", "Friday");
13887 CMP ("%^A", "FRIDAY"); /* The ^ is a GNU extension. */
13888 CMP ("%B", "January");
13889 CMP ("%^B", "JANUARY");
13890 CMP ("%C", "19"); /* POSIX.2 */
13891 CMP ("%D", "01/09/70"); /* POSIX.2 */
13892 CMP ("%F", "1970-01-09");
13893 CMP ("%G", "1970"); /* GNU */
13898 CMP ("%R", "13:06"); /* POSIX.2 */
13900 CMP ("%T", "13:06:07"); /* POSIX.2 */
13904 CMP ("%X", "13:06:07");
13905 CMP ("%Y", "1970");
13907 CMP ("%_m", " 1"); /* GNU */
13909 CMP ("%^a", "FRI");
13911 CMP ("%^b", "JAN");
13912 CMP ("%c", "Fri Jan 9 13:06:07 1970");
13913 CMP ("%^c", "FRI JAN 9 13:06:07 1970");
13915 CMP ("%e", " 9"); /* POSIX.2 */
13916 CMP ("%g", "70"); /* GNU */
13917 CMP ("%h", "Jan"); /* POSIX.2 */
13918 CMP ("%^h", "JAN");
13920 CMP ("%k", "13"); /* GNU */
13921 CMP ("%l", " 1"); /* GNU */
13923 CMP ("%n", "\n"); /* POSIX.2 */
13925 CMP ("%r", "01:06:07 PM"); /* POSIX.2 */
13926 CMP ("%s", "738367"); /* GNU */
13927 CMP ("%t", "\t"); /* POSIX.2 */
13928 CMP ("%u", "5"); /* POSIX.2 */
13930 CMP ("%x", "01/09/70");
13932 CMP ("%z", "+0000"); /* GNU */
13934 exit (n_fail ? 1 : 0);
13937 rm -f conftest
$ac_exeext
13938 if { (eval echo "$as_me:13938: \"$ac_link\"") >&5
13939 (eval $ac_link) 2>&5
13941 echo "$as_me:13941: \$? = $ac_status" >&5
13942 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13943 { (eval echo "$as_me:13943: \"$ac_try\"") >&5
13944 (eval $ac_try) 2>&5
13946 echo "$as_me:13946: \$? = $ac_status" >&5
13947 (exit $ac_status); }; }; then
13948 jm_cv_func_working_gnu_strftime
=yes
13950 echo "$as_me: program exited with status $ac_status" >&5
13951 echo "$as_me: failed program was:" >&5
13952 cat conftest.
$ac_ext >&5
13953 jm_cv_func_working_gnu_strftime
=no
13955 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_ext
13960 echo "$as_me:13960: result: $jm_cv_func_working_gnu_strftime" >&5
13961 echo "${ECHO_T}$jm_cv_func_working_gnu_strftime" >&6
13962 if test $jm_cv_func_working_gnu_strftime = no
; then
13964 LIBOBJS
="$LIBOBJS strftime.$ac_objext"
13966 cat >>confdefs.h
<<EOF
13967 #define strftime gnu_strftime
13972 for ac_func
in vprintf
13974 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
13975 echo "$as_me:13975: checking for $ac_func" >&5
13976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13977 if eval "test \"\${$ac_ac_var+set}\" = set"; then
13978 echo $ECHO_N "(cached) $ECHO_C" >&6
13980 cat >conftest.
$ac_ext <<_ACEOF
13981 #line 13981 "configure"
13982 #include "confdefs.h"
13983 /* System header to define __stub macros and hopefully few prototypes,
13984 which can conflict with char $ac_func (); below. */
13985 #include <assert.h>
13986 /* Override any gcc2 internal prototype to avoid an error. */
13990 /* We use char because int might match the return type of a gcc2
13991 builtin and then its argument prototype would still apply. */
13998 /* The GNU C library defines this for functions which it implements
13999 to always fail with ENOSYS. Some functions are actually named
14000 something starting with __ and the normal name is an alias. */
14001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14011 rm -f conftest.
$ac_objext conftest
$ac_exeext
14012 if { (eval echo "$as_me:14012: \"$ac_link\"") >&5
14013 (eval $ac_link) 2>&5
14015 echo "$as_me:14015: \$? = $ac_status" >&5
14016 (exit $ac_status); } &&
14017 { ac_try
='test -s conftest$ac_exeext'
14018 { (eval echo "$as_me:14018: \"$ac_try\"") >&5
14019 (eval $ac_try) 2>&5
14021 echo "$as_me:14021: \$? = $ac_status" >&5
14022 (exit $ac_status); }; }; then
14023 eval "$ac_ac_var=yes"
14025 echo "$as_me: failed program was:" >&5
14026 cat conftest.
$ac_ext >&5
14027 eval "$ac_ac_var=no"
14029 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14031 echo "$as_me:14031: result: `eval echo '${'$ac_ac_var'}'`" >&5
14032 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
14033 if test `eval echo '${'$ac_ac_var'}'` = yes; then
14034 cat >>confdefs.h
<<EOF
14035 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
14038 echo "$as_me:14038: checking for _doprnt" >&5
14039 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
14040 if test "${ac_cv_func__doprnt+set}" = set; then
14041 echo $ECHO_N "(cached) $ECHO_C" >&6
14043 cat >conftest.
$ac_ext <<_ACEOF
14044 #line 14044 "configure"
14045 #include "confdefs.h"
14046 /* System header to define __stub macros and hopefully few prototypes,
14047 which can conflict with char _doprnt (); below. */
14048 #include <assert.h>
14049 /* Override any gcc2 internal prototype to avoid an error. */
14053 /* We use char because int might match the return type of a gcc2
14054 builtin and then its argument prototype would still apply. */
14061 /* The GNU C library defines this for functions which it implements
14062 to always fail with ENOSYS. Some functions are actually named
14063 something starting with __ and the normal name is an alias. */
14064 #if defined (__stub__doprnt) || defined (__stub____doprnt)
14074 rm -f conftest.
$ac_objext conftest
$ac_exeext
14075 if { (eval echo "$as_me:14075: \"$ac_link\"") >&5
14076 (eval $ac_link) 2>&5
14078 echo "$as_me:14078: \$? = $ac_status" >&5
14079 (exit $ac_status); } &&
14080 { ac_try
='test -s conftest$ac_exeext'
14081 { (eval echo "$as_me:14081: \"$ac_try\"") >&5
14082 (eval $ac_try) 2>&5
14084 echo "$as_me:14084: \$? = $ac_status" >&5
14085 (exit $ac_status); }; }; then
14086 ac_cv_func__doprnt
=yes
14088 echo "$as_me: failed program was:" >&5
14089 cat conftest.
$ac_ext >&5
14090 ac_cv_func__doprnt
=no
14092 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14094 echo "$as_me:14094: result: $ac_cv_func__doprnt" >&5
14095 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
14096 if test $ac_cv_func__doprnt = yes; then
14098 cat >>confdefs.h
<<\EOF
14099 #define HAVE_DOPRNT 1
14107 echo "$as_me:14107: checking whether closedir returns void" >&5
14108 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6
14109 if test "${ac_cv_func_closedir_void+set}" = set; then
14110 echo $ECHO_N "(cached) $ECHO_C" >&6
14112 if test "$cross_compiling" = yes; then
14113 ac_cv_func_closedir_void
=yes
14115 cat >conftest.
$ac_ext <<_ACEOF
14116 #line 14116 "configure"
14117 #include "confdefs.h"
14118 #include <sys/types.h>
14119 #include <$ac_header_dirent>
14125 exit (closedir (opendir (".")) != 0);
14128 rm -f conftest
$ac_exeext
14129 if { (eval echo "$as_me:14129: \"$ac_link\"") >&5
14130 (eval $ac_link) 2>&5
14132 echo "$as_me:14132: \$? = $ac_status" >&5
14133 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14134 { (eval echo "$as_me:14134: \"$ac_try\"") >&5
14135 (eval $ac_try) 2>&5
14137 echo "$as_me:14137: \$? = $ac_status" >&5
14138 (exit $ac_status); }; }; then
14139 ac_cv_func_closedir_void
=no
14141 echo "$as_me: program exited with status $ac_status" >&5
14142 echo "$as_me: failed program was:" >&5
14143 cat conftest.
$ac_ext >&5
14144 ac_cv_func_closedir_void
=yes
14146 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_ext
14149 echo "$as_me:14149: result: $ac_cv_func_closedir_void" >&5
14150 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6
14151 if test $ac_cv_func_closedir_void = yes; then
14153 cat >>confdefs.h
<<\EOF
14154 #define CLOSEDIR_VOID 1
14159 GNU_PACKAGE
="GNU $PACKAGE"
14161 cat >>confdefs.h
<<EOF
14162 #define GNU_PACKAGE "$GNU_PACKAGE"
14202 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
14203 echo "$as_me:14203: checking for $ac_header" >&5
14204 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14205 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
14206 echo $ECHO_N "(cached) $ECHO_C" >&6
14208 cat >conftest.
$ac_ext <<_ACEOF
14209 #line 14209 "configure"
14210 #include "confdefs.h"
14211 #include <$ac_header>
14213 if { (eval echo "$as_me:14213: \"$ac_cpp conftest.$ac_ext\"") >&5
14214 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14216 egrep -v '^ *\+' conftest.er1
>conftest.err
14218 cat conftest.err
>&5
14219 echo "$as_me:14219: \$? = $ac_status" >&5
14220 (exit $ac_status); } >/dev
/null
; then
14221 if test -s conftest.err
; then
14222 ac_cpp_err
=$ac_c_preproc_warn_flag
14229 if test -z "$ac_cpp_err"; then
14230 eval "$ac_ac_Header=yes"
14232 echo "$as_me: failed program was:" >&5
14233 cat conftest.
$ac_ext >&5
14234 eval "$ac_ac_Header=no"
14236 rm -f conftest.err conftest.
$ac_ext
14238 echo "$as_me:14238: result: `eval echo '${'$ac_ac_Header'}'`" >&5
14239 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
14240 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
14241 cat >>confdefs.h
<<EOF
14242 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
14248 # Assume we'll default to using the included regex.c.
14249 ac_use_included_regex
=yes
14251 # However, if the system regex support is good enough that it passes the
14252 # the following run test, then default to *not* using the included regex.c.
14253 # If cross compiling, assume the test would fail and use the included
14254 # regex.c. The first failing regular expression is from `Spencer ere
14255 # test #75' in grep-2.3.
14256 echo "$as_me:14256: checking for working re_compile_pattern" >&5
14257 echo $ECHO_N "checking for working re_compile_pattern... $ECHO_C" >&6
14258 if test "${jm_cv_func_working_re_compile_pattern+set}" = set; then
14259 echo $ECHO_N "(cached) $ECHO_C" >&6
14261 if test "$cross_compiling" = yes; then
14262 jm_cv_func_working_re_compile_pattern
=no
14264 cat >conftest.
$ac_ext <<_ACEOF
14265 #line 14265 "configure"
14266 #include "confdefs.h"
14272 static struct re_pattern_buffer regex;
14274 re_set_syntax (RE_SYNTAX_POSIX_EGREP);
14275 /* Add this third left square bracket, , to balance the
14276 three right ones below. Otherwise autoconf-2.14 chokes. */
14277 s = re_compile_pattern ("a[[:]:]b\n", 9, ®ex);
14278 /* This should fail with _Invalid character class name_ error. */
14282 /* This should succeed, but doesn't for e.g. glibc-2.1.3. */
14283 s = re_compile_pattern ("{1", 2, ®ex);
14289 rm -f conftest
$ac_exeext
14290 if { (eval echo "$as_me:14290: \"$ac_link\"") >&5
14291 (eval $ac_link) 2>&5
14293 echo "$as_me:14293: \$? = $ac_status" >&5
14294 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14295 { (eval echo "$as_me:14295: \"$ac_try\"") >&5
14296 (eval $ac_try) 2>&5
14298 echo "$as_me:14298: \$? = $ac_status" >&5
14299 (exit $ac_status); }; }; then
14300 jm_cv_func_working_re_compile_pattern
=yes
14302 echo "$as_me: program exited with status $ac_status" >&5
14303 echo "$as_me: failed program was:" >&5
14304 cat conftest.
$ac_ext >&5
14305 jm_cv_func_working_re_compile_pattern
=no
14307 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_ext
14310 echo "$as_me:14310: result: $jm_cv_func_working_re_compile_pattern" >&5
14311 echo "${ECHO_T}$jm_cv_func_working_re_compile_pattern" >&6
14312 if test $jm_cv_func_working_re_compile_pattern = yes; then
14313 ac_use_included_regex
=no
14316 test -n "lib/regex.c" ||
{ { echo "$as_me:14316: error: missing argument" >&5
14317 echo "$as_me: error: missing argument" >&2;}
14318 { (exit 1); exit 1; }; }
14320 # Check whether --with-included-regex or --without-included-regex was given.
14321 if test "${with_included_regex+set}" = set; then
14322 withval
="$with_included_regex"
14323 jm_with_regex
=$withval
14325 jm_with_regex
=$ac_use_included_regex
14327 if test "$jm_with_regex" = yes; then
14329 LIBOBJS
="$LIBOBJS regex.$ac_objext"
14332 for ac_func
in strncasecmp
14334 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
14335 echo "$as_me:14335: checking for $ac_func" >&5
14336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14337 if eval "test \"\${$ac_ac_var+set}\" = set"; then
14338 echo $ECHO_N "(cached) $ECHO_C" >&6
14340 cat >conftest.
$ac_ext <<_ACEOF
14341 #line 14341 "configure"
14342 #include "confdefs.h"
14343 /* System header to define __stub macros and hopefully few prototypes,
14344 which can conflict with char $ac_func (); below. */
14345 #include <assert.h>
14346 /* Override any gcc2 internal prototype to avoid an error. */
14350 /* We use char because int might match the return type of a gcc2
14351 builtin and then its argument prototype would still apply. */
14358 /* The GNU C library defines this for functions which it implements
14359 to always fail with ENOSYS. Some functions are actually named
14360 something starting with __ and the normal name is an alias. */
14361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14371 rm -f conftest.
$ac_objext conftest
$ac_exeext
14372 if { (eval echo "$as_me:14372: \"$ac_link\"") >&5
14373 (eval $ac_link) 2>&5
14375 echo "$as_me:14375: \$? = $ac_status" >&5
14376 (exit $ac_status); } &&
14377 { ac_try
='test -s conftest$ac_exeext'
14378 { (eval echo "$as_me:14378: \"$ac_try\"") >&5
14379 (eval $ac_try) 2>&5
14381 echo "$as_me:14381: \$? = $ac_status" >&5
14382 (exit $ac_status); }; }; then
14383 eval "$ac_ac_var=yes"
14385 echo "$as_me: failed program was:" >&5
14386 cat conftest.
$ac_ext >&5
14387 eval "$ac_ac_var=no"
14389 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14391 echo "$as_me:14391: result: `eval echo '${'$ac_ac_var'}'`" >&5
14392 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
14393 if test `eval echo '${'$ac_ac_var'}'` = yes; then
14394 cat >>confdefs.h
<<EOF
14395 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
14399 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
14403 for ac_func
in stpcpy strstr strtol strtoul
14405 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
14406 echo "$as_me:14406: checking for $ac_func" >&5
14407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14408 if eval "test \"\${$ac_ac_var+set}\" = set"; then
14409 echo $ECHO_N "(cached) $ECHO_C" >&6
14411 cat >conftest.
$ac_ext <<_ACEOF
14412 #line 14412 "configure"
14413 #include "confdefs.h"
14414 /* System header to define __stub macros and hopefully few prototypes,
14415 which can conflict with char $ac_func (); below. */
14416 #include <assert.h>
14417 /* Override any gcc2 internal prototype to avoid an error. */
14421 /* We use char because int might match the return type of a gcc2
14422 builtin and then its argument prototype would still apply. */
14429 /* The GNU C library defines this for functions which it implements
14430 to always fail with ENOSYS. Some functions are actually named
14431 something starting with __ and the normal name is an alias. */
14432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14442 rm -f conftest.
$ac_objext conftest
$ac_exeext
14443 if { (eval echo "$as_me:14443: \"$ac_link\"") >&5
14444 (eval $ac_link) 2>&5
14446 echo "$as_me:14446: \$? = $ac_status" >&5
14447 (exit $ac_status); } &&
14448 { ac_try
='test -s conftest$ac_exeext'
14449 { (eval echo "$as_me:14449: \"$ac_try\"") >&5
14450 (eval $ac_try) 2>&5
14452 echo "$as_me:14452: \$? = $ac_status" >&5
14453 (exit $ac_status); }; }; then
14454 eval "$ac_ac_var=yes"
14456 echo "$as_me: failed program was:" >&5
14457 cat conftest.
$ac_ext >&5
14458 eval "$ac_ac_var=no"
14460 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14462 echo "$as_me:14462: result: `eval echo '${'$ac_ac_var'}'`" >&5
14463 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
14464 if test `eval echo '${'$ac_ac_var'}'` = yes; then
14465 cat >>confdefs.h
<<EOF
14466 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
14470 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
14474 for ac_func
in memcmp rpmatch
14476 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
14477 echo "$as_me:14477: checking for $ac_func" >&5
14478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14479 if eval "test \"\${$ac_ac_var+set}\" = set"; then
14480 echo $ECHO_N "(cached) $ECHO_C" >&6
14482 cat >conftest.
$ac_ext <<_ACEOF
14483 #line 14483 "configure"
14484 #include "confdefs.h"
14485 /* System header to define __stub macros and hopefully few prototypes,
14486 which can conflict with char $ac_func (); below. */
14487 #include <assert.h>
14488 /* Override any gcc2 internal prototype to avoid an error. */
14492 /* We use char because int might match the return type of a gcc2
14493 builtin and then its argument prototype would still apply. */
14500 /* The GNU C library defines this for functions which it implements
14501 to always fail with ENOSYS. Some functions are actually named
14502 something starting with __ and the normal name is an alias. */
14503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14513 rm -f conftest.
$ac_objext conftest
$ac_exeext
14514 if { (eval echo "$as_me:14514: \"$ac_link\"") >&5
14515 (eval $ac_link) 2>&5
14517 echo "$as_me:14517: \$? = $ac_status" >&5
14518 (exit $ac_status); } &&
14519 { ac_try
='test -s conftest$ac_exeext'
14520 { (eval echo "$as_me:14520: \"$ac_try\"") >&5
14521 (eval $ac_try) 2>&5
14523 echo "$as_me:14523: \$? = $ac_status" >&5
14524 (exit $ac_status); }; }; then
14525 eval "$ac_ac_var=yes"
14527 echo "$as_me: failed program was:" >&5
14528 cat conftest.
$ac_ext >&5
14529 eval "$ac_ac_var=no"
14531 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14533 echo "$as_me:14533: result: `eval echo '${'$ac_ac_var'}'`" >&5
14534 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
14535 if test `eval echo '${'$ac_ac_var'}'` = yes; then
14536 cat >>confdefs.h
<<EOF
14537 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
14541 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
14545 for ac_func
in strdup
14547 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
14548 echo "$as_me:14548: checking for $ac_func" >&5
14549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14550 if eval "test \"\${$ac_ac_var+set}\" = set"; then
14551 echo $ECHO_N "(cached) $ECHO_C" >&6
14553 cat >conftest.
$ac_ext <<_ACEOF
14554 #line 14554 "configure"
14555 #include "confdefs.h"
14556 /* System header to define __stub macros and hopefully few prototypes,
14557 which can conflict with char $ac_func (); below. */
14558 #include <assert.h>
14559 /* Override any gcc2 internal prototype to avoid an error. */
14563 /* We use char because int might match the return type of a gcc2
14564 builtin and then its argument prototype would still apply. */
14571 /* The GNU C library defines this for functions which it implements
14572 to always fail with ENOSYS. Some functions are actually named
14573 something starting with __ and the normal name is an alias. */
14574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14584 rm -f conftest.
$ac_objext conftest
$ac_exeext
14585 if { (eval echo "$as_me:14585: \"$ac_link\"") >&5
14586 (eval $ac_link) 2>&5
14588 echo "$as_me:14588: \$? = $ac_status" >&5
14589 (exit $ac_status); } &&
14590 { ac_try
='test -s conftest$ac_exeext'
14591 { (eval echo "$as_me:14591: \"$ac_try\"") >&5
14592 (eval $ac_try) 2>&5
14594 echo "$as_me:14594: \$? = $ac_status" >&5
14595 (exit $ac_status); }; }; then
14596 eval "$ac_ac_var=yes"
14598 echo "$as_me: failed program was:" >&5
14599 cat conftest.
$ac_ext >&5
14600 eval "$ac_ac_var=no"
14602 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14604 echo "$as_me:14604: result: `eval echo '${'$ac_ac_var'}'`" >&5
14605 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
14606 if test `eval echo '${'$ac_ac_var'}'` = yes; then
14607 cat >>confdefs.h
<<EOF
14608 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
14612 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
14616 for ac_func
in memcpy memset
14618 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
14619 echo "$as_me:14619: checking for $ac_func" >&5
14620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14621 if eval "test \"\${$ac_ac_var+set}\" = set"; then
14622 echo $ECHO_N "(cached) $ECHO_C" >&6
14624 cat >conftest.
$ac_ext <<_ACEOF
14625 #line 14625 "configure"
14626 #include "confdefs.h"
14627 /* System header to define __stub macros and hopefully few prototypes,
14628 which can conflict with char $ac_func (); below. */
14629 #include <assert.h>
14630 /* Override any gcc2 internal prototype to avoid an error. */
14634 /* We use char because int might match the return type of a gcc2
14635 builtin and then its argument prototype would still apply. */
14642 /* The GNU C library defines this for functions which it implements
14643 to always fail with ENOSYS. Some functions are actually named
14644 something starting with __ and the normal name is an alias. */
14645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14655 rm -f conftest.
$ac_objext conftest
$ac_exeext
14656 if { (eval echo "$as_me:14656: \"$ac_link\"") >&5
14657 (eval $ac_link) 2>&5
14659 echo "$as_me:14659: \$? = $ac_status" >&5
14660 (exit $ac_status); } &&
14661 { ac_try
='test -s conftest$ac_exeext'
14662 { (eval echo "$as_me:14662: \"$ac_try\"") >&5
14663 (eval $ac_try) 2>&5
14665 echo "$as_me:14665: \$? = $ac_status" >&5
14666 (exit $ac_status); }; }; then
14667 eval "$ac_ac_var=yes"
14669 echo "$as_me: failed program was:" >&5
14670 cat conftest.
$ac_ext >&5
14671 eval "$ac_ac_var=no"
14673 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14675 echo "$as_me:14675: result: `eval echo '${'$ac_ac_var'}'`" >&5
14676 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
14677 if test `eval echo '${'$ac_ac_var'}'` = yes; then
14678 cat >>confdefs.h
<<EOF
14679 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
14683 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
14687 for ac_func
in getpagesize
14689 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
14690 echo "$as_me:14690: checking for $ac_func" >&5
14691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14692 if eval "test \"\${$ac_ac_var+set}\" = set"; then
14693 echo $ECHO_N "(cached) $ECHO_C" >&6
14695 cat >conftest.
$ac_ext <<_ACEOF
14696 #line 14696 "configure"
14697 #include "confdefs.h"
14698 /* System header to define __stub macros and hopefully few prototypes,
14699 which can conflict with char $ac_func (); below. */
14700 #include <assert.h>
14701 /* Override any gcc2 internal prototype to avoid an error. */
14705 /* We use char because int might match the return type of a gcc2
14706 builtin and then its argument prototype would still apply. */
14713 /* The GNU C library defines this for functions which it implements
14714 to always fail with ENOSYS. Some functions are actually named
14715 something starting with __ and the normal name is an alias. */
14716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14726 rm -f conftest.
$ac_objext conftest
$ac_exeext
14727 if { (eval echo "$as_me:14727: \"$ac_link\"") >&5
14728 (eval $ac_link) 2>&5
14730 echo "$as_me:14730: \$? = $ac_status" >&5
14731 (exit $ac_status); } &&
14732 { ac_try
='test -s conftest$ac_exeext'
14733 { (eval echo "$as_me:14733: \"$ac_try\"") >&5
14734 (eval $ac_try) 2>&5
14736 echo "$as_me:14736: \$? = $ac_status" >&5
14737 (exit $ac_status); }; }; then
14738 eval "$ac_ac_var=yes"
14740 echo "$as_me: failed program was:" >&5
14741 cat conftest.
$ac_ext >&5
14742 eval "$ac_ac_var=no"
14744 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14746 echo "$as_me:14746: result: `eval echo '${'$ac_ac_var'}'`" >&5
14747 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
14748 if test `eval echo '${'$ac_ac_var'}'` = yes; then
14749 cat >>confdefs.h
<<EOF
14750 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
14756 # By default, argmatch should fail calling usage (1).
14758 cat >>confdefs.h
<<\EOF
14759 #define ARGMATCH_DIE usage (1)
14762 cat >>confdefs.h
<<\EOF
14763 #define ARGMATCH_DIE_DECL extern void usage ()
14766 echo "$as_me:14766: checking whether setvbuf arguments are reversed" >&5
14767 echo $ECHO_N "checking whether setvbuf arguments are reversed... $ECHO_C" >&6
14768 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then
14769 echo $ECHO_N "(cached) $ECHO_C" >&6
14771 if test "$cross_compiling" = yes; then
14772 { { echo "$as_me:14772: error: cannot run test program while cross compiling" >&5
14773 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
14774 { (exit 1); exit 1; }; }
14776 cat >conftest.
$ac_ext <<_ACEOF
14777 #line 14777 "configure"
14778 #include "confdefs.h"
14780 /* If setvbuf has the reversed format, exit 0. */
14784 /* This call has the arguments reversed.
14785 A reversed system may check and see that the address of main
14786 is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
14787 if (setvbuf(stdout, _IOLBF, (char *) main, BUFSIZ) != 0)
14789 putc('\r', stdout);
14790 exit(0); /* Non-reversed systems segv here. */
14793 rm -f conftest
$ac_exeext
14794 if { (eval echo "$as_me:14794: \"$ac_link\"") >&5
14795 (eval $ac_link) 2>&5
14797 echo "$as_me:14797: \$? = $ac_status" >&5
14798 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14799 { (eval echo "$as_me:14799: \"$ac_try\"") >&5
14800 (eval $ac_try) 2>&5
14802 echo "$as_me:14802: \$? = $ac_status" >&5
14803 (exit $ac_status); }; }; then
14804 ac_cv_func_setvbuf_reversed
=yes
14806 echo "$as_me: program exited with status $ac_status" >&5
14807 echo "$as_me: failed program was:" >&5
14808 cat conftest.
$ac_ext >&5
14809 ac_cv_func_setvbuf_reversed
=no
14811 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_ext
14813 rm -f core core.
* *.core
14815 echo "$as_me:14815: result: $ac_cv_func_setvbuf_reversed" >&5
14816 echo "${ECHO_T}$ac_cv_func_setvbuf_reversed" >&6
14817 if test $ac_cv_func_setvbuf_reversed = yes; then
14819 cat >>confdefs.h
<<\EOF
14820 #define SETVBUF_REVERSED 1
14825 for ac_func
in getdelim
14827 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
14828 echo "$as_me:14828: checking for $ac_func" >&5
14829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14830 if eval "test \"\${$ac_ac_var+set}\" = set"; then
14831 echo $ECHO_N "(cached) $ECHO_C" >&6
14833 cat >conftest.
$ac_ext <<_ACEOF
14834 #line 14834 "configure"
14835 #include "confdefs.h"
14836 /* System header to define __stub macros and hopefully few prototypes,
14837 which can conflict with char $ac_func (); below. */
14838 #include <assert.h>
14839 /* Override any gcc2 internal prototype to avoid an error. */
14843 /* We use char because int might match the return type of a gcc2
14844 builtin and then its argument prototype would still apply. */
14851 /* The GNU C library defines this for functions which it implements
14852 to always fail with ENOSYS. Some functions are actually named
14853 something starting with __ and the normal name is an alias. */
14854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14864 rm -f conftest.
$ac_objext conftest
$ac_exeext
14865 if { (eval echo "$as_me:14865: \"$ac_link\"") >&5
14866 (eval $ac_link) 2>&5
14868 echo "$as_me:14868: \$? = $ac_status" >&5
14869 (exit $ac_status); } &&
14870 { ac_try
='test -s conftest$ac_exeext'
14871 { (eval echo "$as_me:14871: \"$ac_try\"") >&5
14872 (eval $ac_try) 2>&5
14874 echo "$as_me:14874: \$? = $ac_status" >&5
14875 (exit $ac_status); }; }; then
14876 eval "$ac_ac_var=yes"
14878 echo "$as_me: failed program was:" >&5
14879 cat conftest.
$ac_ext >&5
14880 eval "$ac_ac_var=no"
14882 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14884 echo "$as_me:14884: result: `eval echo '${'$ac_ac_var'}'`" >&5
14885 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
14886 if test `eval echo '${'$ac_ac_var'}'` = yes; then
14887 cat >>confdefs.h
<<EOF
14888 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
14923 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
14924 echo "$as_me:14924: checking for $ac_func" >&5
14925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14926 if eval "test \"\${$ac_ac_var+set}\" = set"; then
14927 echo $ECHO_N "(cached) $ECHO_C" >&6
14929 cat >conftest.
$ac_ext <<_ACEOF
14930 #line 14930 "configure"
14931 #include "confdefs.h"
14932 /* System header to define __stub macros and hopefully few prototypes,
14933 which can conflict with char $ac_func (); below. */
14934 #include <assert.h>
14935 /* Override any gcc2 internal prototype to avoid an error. */
14939 /* We use char because int might match the return type of a gcc2
14940 builtin and then its argument prototype would still apply. */
14947 /* The GNU C library defines this for functions which it implements
14948 to always fail with ENOSYS. Some functions are actually named
14949 something starting with __ and the normal name is an alias. */
14950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14960 rm -f conftest.
$ac_objext conftest
$ac_exeext
14961 if { (eval echo "$as_me:14961: \"$ac_link\"") >&5
14962 (eval $ac_link) 2>&5
14964 echo "$as_me:14964: \$? = $ac_status" >&5
14965 (exit $ac_status); } &&
14966 { ac_try
='test -s conftest$ac_exeext'
14967 { (eval echo "$as_me:14967: \"$ac_try\"") >&5
14968 (eval $ac_try) 2>&5
14970 echo "$as_me:14970: \$? = $ac_status" >&5
14971 (exit $ac_status); }; }; then
14972 eval "$ac_ac_var=yes"
14974 echo "$as_me: failed program was:" >&5
14975 cat conftest.
$ac_ext >&5
14976 eval "$ac_ac_var=no"
14978 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14980 echo "$as_me:14980: result: `eval echo '${'$ac_ac_var'}'`" >&5
14981 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
14982 if test `eval echo '${'$ac_ac_var'}'` = yes; then
14983 cat >>confdefs.h
<<EOF
14984 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
14990 am_getline_needs_run_time_check
=no
14991 echo "$as_me:14991: checking for getline" >&5
14992 echo $ECHO_N "checking for getline... $ECHO_C" >&6
14993 if test "${ac_cv_func_getline+set}" = set; then
14994 echo $ECHO_N "(cached) $ECHO_C" >&6
14996 cat >conftest.
$ac_ext <<_ACEOF
14997 #line 14997 "configure"
14998 #include "confdefs.h"
14999 /* System header to define __stub macros and hopefully few prototypes,
15000 which can conflict with char getline (); below. */
15001 #include <assert.h>
15002 /* Override any gcc2 internal prototype to avoid an error. */
15006 /* We use char because int might match the return type of a gcc2
15007 builtin and then its argument prototype would still apply. */
15014 /* The GNU C library defines this for functions which it implements
15015 to always fail with ENOSYS. Some functions are actually named
15016 something starting with __ and the normal name is an alias. */
15017 #if defined (__stub_getline) || defined (__stub___getline)
15027 rm -f conftest.
$ac_objext conftest
$ac_exeext
15028 if { (eval echo "$as_me:15028: \"$ac_link\"") >&5
15029 (eval $ac_link) 2>&5
15031 echo "$as_me:15031: \$? = $ac_status" >&5
15032 (exit $ac_status); } &&
15033 { ac_try
='test -s conftest$ac_exeext'
15034 { (eval echo "$as_me:15034: \"$ac_try\"") >&5
15035 (eval $ac_try) 2>&5
15037 echo "$as_me:15037: \$? = $ac_status" >&5
15038 (exit $ac_status); }; }; then
15039 ac_cv_func_getline
=yes
15041 echo "$as_me: failed program was:" >&5
15042 cat conftest.
$ac_ext >&5
15043 ac_cv_func_getline
=no
15045 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15047 echo "$as_me:15047: result: $ac_cv_func_getline" >&5
15048 echo "${ECHO_T}$ac_cv_func_getline" >&6
15049 if test $ac_cv_func_getline = yes; then
15050 am_getline_needs_run_time_check
=yes
15052 am_cv_func_working_getline
=no
15055 if test $am_getline_needs_run_time_check = yes; then
15057 for ac_header
in string.h
15059 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
15060 echo "$as_me:15060: checking for $ac_header" >&5
15061 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15062 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
15063 echo $ECHO_N "(cached) $ECHO_C" >&6
15065 cat >conftest.
$ac_ext <<_ACEOF
15066 #line 15066 "configure"
15067 #include "confdefs.h"
15068 #include <$ac_header>
15070 if { (eval echo "$as_me:15070: \"$ac_cpp conftest.$ac_ext\"") >&5
15071 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15073 egrep -v '^ *\+' conftest.er1
>conftest.err
15075 cat conftest.err
>&5
15076 echo "$as_me:15076: \$? = $ac_status" >&5
15077 (exit $ac_status); } >/dev
/null
; then
15078 if test -s conftest.err
; then
15079 ac_cpp_err
=$ac_c_preproc_warn_flag
15086 if test -z "$ac_cpp_err"; then
15087 eval "$ac_ac_Header=yes"
15089 echo "$as_me: failed program was:" >&5
15090 cat conftest.
$ac_ext >&5
15091 eval "$ac_ac_Header=no"
15093 rm -f conftest.err conftest.
$ac_ext
15095 echo "$as_me:15095: result: `eval echo '${'$ac_ac_Header'}'`" >&5
15096 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
15097 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
15098 cat >>confdefs.h
<<EOF
15099 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
15105 echo "$as_me:15105: checking for working getline function" >&5
15106 echo $ECHO_N "checking for working getline function... $ECHO_C" >&6
15107 if test "${am_cv_func_working_getline+set}" = set; then
15108 echo $ECHO_N "(cached) $ECHO_C" >&6
15110 echo fooN |
tr -d '\012'|
tr N
'\012' > conftest.data
15111 if test "$cross_compiling" = yes; then
15112 am_cv_func_working_getline
=no
15114 cat >conftest.
$ac_ext <<_ACEOF
15115 #line 15115 "configure"
15116 #include "confdefs.h"
15118 # include <stdio.h>
15119 # include <sys/types.h>
15121 # include <string.h>
15130 getstr(&path, &n, stream, terminator, offset);
15134 { /* Based on a test program from Karl Heuer. */
15138 FILE *in = fopen ("./conftest.data", "r");
15141 len = getline (&line, &siz, in);
15142 nread = getstr (&path, &pathsize, fp, '\0', count);
15144 exit ((len == 4 && line && strcmp (line, "foo\n") == 0) ? 0 : 1);
15148 rm -f conftest
$ac_exeext
15149 if { (eval echo "$as_me:15149: \"$ac_link\"") >&5
15150 (eval $ac_link) 2>&5
15152 echo "$as_me:15152: \$? = $ac_status" >&5
15153 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15154 { (eval echo "$as_me:15154: \"$ac_try\"") >&5
15155 (eval $ac_try) 2>&5
15157 echo "$as_me:15157: \$? = $ac_status" >&5
15158 (exit $ac_status); }; }; then
15159 am_cv_func_working_getline
=yes
15161 echo "$as_me: program exited with status $ac_status" >&5
15162 echo "$as_me: failed program was:" >&5
15163 cat conftest.
$ac_ext >&5
15164 am_cv_func_working_getline
=no
15166 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_ext
15169 echo "$as_me:15169: result: $am_cv_func_working_getline" >&5
15170 echo "${ECHO_T}$am_cv_func_working_getline" >&6
15173 if test $am_cv_func_working_getline = no
; then
15174 LIBOBJS
="$LIBOBJS getline.$ac_objext"
15177 if test $am_cv_func_working_getline != yes; then
15179 for ac_func
in getdelim
15181 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
15182 echo "$as_me:15182: checking for $ac_func" >&5
15183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15184 if eval "test \"\${$ac_ac_var+set}\" = set"; then
15185 echo $ECHO_N "(cached) $ECHO_C" >&6
15187 cat >conftest.
$ac_ext <<_ACEOF
15188 #line 15188 "configure"
15189 #include "confdefs.h"
15190 /* System header to define __stub macros and hopefully few prototypes,
15191 which can conflict with char $ac_func (); below. */
15192 #include <assert.h>
15193 /* Override any gcc2 internal prototype to avoid an error. */
15197 /* We use char because int might match the return type of a gcc2
15198 builtin and then its argument prototype would still apply. */
15205 /* The GNU C library defines this for functions which it implements
15206 to always fail with ENOSYS. Some functions are actually named
15207 something starting with __ and the normal name is an alias. */
15208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15218 rm -f conftest.
$ac_objext conftest
$ac_exeext
15219 if { (eval echo "$as_me:15219: \"$ac_link\"") >&5
15220 (eval $ac_link) 2>&5
15222 echo "$as_me:15222: \$? = $ac_status" >&5
15223 (exit $ac_status); } &&
15224 { ac_try
='test -s conftest$ac_exeext'
15225 { (eval echo "$as_me:15225: \"$ac_try\"") >&5
15226 (eval $ac_try) 2>&5
15228 echo "$as_me:15228: \$? = $ac_status" >&5
15229 (exit $ac_status); }; }; then
15230 eval "$ac_ac_var=yes"
15232 echo "$as_me: failed program was:" >&5
15233 cat conftest.
$ac_ext >&5
15234 eval "$ac_ac_var=no"
15236 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15238 echo "$as_me:15238: result: `eval echo '${'$ac_ac_var'}'`" >&5
15239 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
15240 if test `eval echo '${'$ac_ac_var'}'` = yes; then
15241 cat >>confdefs.h
<<EOF
15242 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
15250 echo "$as_me:15250: checking whether we are using the GNU C Library 2.1 or newer" >&5
15251 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
15252 if test "${ac_cv_gnu_library_2_1+set}" = set; then
15253 echo $ECHO_N "(cached) $ECHO_C" >&6
15255 cat >conftest.
$ac_ext <<_ACEOF
15256 #line 15256 "configure"
15257 #include "confdefs.h"
15259 #include <features.h>
15260 #ifdef __GNU_LIBRARY__
15261 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
15267 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15268 egrep "Lucky GNU user" >/dev
/null
2>&1; then
15269 ac_cv_gnu_library_2_1
=yes
15271 ac_cv_gnu_library_2_1
=no
15276 echo "$as_me:15276: result: $ac_cv_gnu_library_2_1" >&5
15277 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
15279 GLIBC21
="$ac_cv_gnu_library_2_1"
15281 echo "$as_me:15281: checking for iconv" >&5
15282 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
15283 if test "${jm_cv_func_iconv+set}" = set; then
15284 echo $ECHO_N "(cached) $ECHO_C" >&6
15287 jm_cv_func_iconv
="no, consider installing libiconv"
15289 cat >conftest.
$ac_ext <<_ACEOF
15290 #line 15290 "configure"
15291 #include "confdefs.h"
15292 #include <stdlib.h>
15297 iconv_t cd = iconv_open("","");
15298 iconv(cd,NULL,NULL,NULL,NULL);
15304 rm -f conftest.
$ac_objext conftest
$ac_exeext
15305 if { (eval echo "$as_me:15305: \"$ac_link\"") >&5
15306 (eval $ac_link) 2>&5
15308 echo "$as_me:15308: \$? = $ac_status" >&5
15309 (exit $ac_status); } &&
15310 { ac_try
='test -s conftest$ac_exeext'
15311 { (eval echo "$as_me:15311: \"$ac_try\"") >&5
15312 (eval $ac_try) 2>&5
15314 echo "$as_me:15314: \$? = $ac_status" >&5
15315 (exit $ac_status); }; }; then
15316 jm_cv_func_iconv
=yes
15318 echo "$as_me: failed program was:" >&5
15319 cat conftest.
$ac_ext >&5
15321 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15322 if test "$jm_cv_func_iconv" != yes; then
15323 jm_save_LIBS
="$LIBS"
15324 LIBS
="$LIBS -liconv"
15325 cat >conftest.
$ac_ext <<_ACEOF
15326 #line 15326 "configure"
15327 #include "confdefs.h"
15328 #include <stdlib.h>
15333 iconv_t cd = iconv_open("","");
15334 iconv(cd,NULL,NULL,NULL,NULL);
15340 rm -f conftest.
$ac_objext conftest
$ac_exeext
15341 if { (eval echo "$as_me:15341: \"$ac_link\"") >&5
15342 (eval $ac_link) 2>&5
15344 echo "$as_me:15344: \$? = $ac_status" >&5
15345 (exit $ac_status); } &&
15346 { ac_try
='test -s conftest$ac_exeext'
15347 { (eval echo "$as_me:15347: \"$ac_try\"") >&5
15348 (eval $ac_try) 2>&5
15350 echo "$as_me:15350: \$? = $ac_status" >&5
15351 (exit $ac_status); }; }; then
15352 jm_cv_lib_iconv
=yes
15353 jm_cv_func_iconv
=yes
15355 echo "$as_me: failed program was:" >&5
15356 cat conftest.
$ac_ext >&5
15358 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15359 LIBS
="$jm_save_LIBS"
15363 echo "$as_me:15363: result: $jm_cv_func_iconv" >&5
15364 echo "${ECHO_T}$jm_cv_func_iconv" >&6
15365 if test "$jm_cv_func_iconv" = yes; then
15367 cat >>confdefs.h
<<\EOF
15368 #define HAVE_ICONV 1
15373 if test "$jm_cv_lib_iconv" = yes; then
15377 # These tests are for df.
15379 echo "$as_me:15379: checking for f_fstypename in struct statfs" >&5
15380 echo $ECHO_N "checking for f_fstypename in struct statfs... $ECHO_C" >&6
15381 if test "${fu_cv_sys_f_fstypename_in_statfs+set}" = set; then
15382 echo $ECHO_N "(cached) $ECHO_C" >&6
15385 cat >conftest.
$ac_ext <<_ACEOF
15386 #line 15386 "configure"
15387 #include "confdefs.h"
15389 #include <sys/param.h>
15390 #include <sys/types.h>
15391 #include <sys/mount.h>
15396 struct statfs s; int i = sizeof s.f_fstypename;
15401 rm -f conftest.
$ac_objext
15402 if { (eval echo "$as_me:15402: \"$ac_compile\"") >&5
15403 (eval $ac_compile) 2>&5
15405 echo "$as_me:15405: \$? = $ac_status" >&5
15406 (exit $ac_status); } &&
15407 { ac_try
='test -s conftest.$ac_objext'
15408 { (eval echo "$as_me:15408: \"$ac_try\"") >&5
15409 (eval $ac_try) 2>&5
15411 echo "$as_me:15411: \$? = $ac_status" >&5
15412 (exit $ac_status); }; }; then
15413 fu_cv_sys_f_fstypename_in_statfs
=yes
15415 echo "$as_me: failed program was:" >&5
15416 cat conftest.
$ac_ext >&5
15417 fu_cv_sys_f_fstypename_in_statfs
=no
15420 rm -f conftest.
$ac_objext conftest.
$ac_ext
15423 echo "$as_me:15423: result: $fu_cv_sys_f_fstypename_in_statfs" >&5
15424 echo "${ECHO_T}$fu_cv_sys_f_fstypename_in_statfs" >&6
15426 if test $fu_cv_sys_f_fstypename_in_statfs = yes; then
15428 cat >>confdefs.h
<<EOF
15429 #define HAVE_F_FSTYPENAME_IN_STATFS 1
15434 for ac_func
in fchdir getcwd strerror endgrent endpwent
15436 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
15437 echo "$as_me:15437: checking for $ac_func" >&5
15438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15439 if eval "test \"\${$ac_ac_var+set}\" = set"; then
15440 echo $ECHO_N "(cached) $ECHO_C" >&6
15442 cat >conftest.
$ac_ext <<_ACEOF
15443 #line 15443 "configure"
15444 #include "confdefs.h"
15445 /* System header to define __stub macros and hopefully few prototypes,
15446 which can conflict with char $ac_func (); below. */
15447 #include <assert.h>
15448 /* Override any gcc2 internal prototype to avoid an error. */
15452 /* We use char because int might match the return type of a gcc2
15453 builtin and then its argument prototype would still apply. */
15460 /* The GNU C library defines this for functions which it implements
15461 to always fail with ENOSYS. Some functions are actually named
15462 something starting with __ and the normal name is an alias. */
15463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15473 rm -f conftest.
$ac_objext conftest
$ac_exeext
15474 if { (eval echo "$as_me:15474: \"$ac_link\"") >&5
15475 (eval $ac_link) 2>&5
15477 echo "$as_me:15477: \$? = $ac_status" >&5
15478 (exit $ac_status); } &&
15479 { ac_try
='test -s conftest$ac_exeext'
15480 { (eval echo "$as_me:15480: \"$ac_try\"") >&5
15481 (eval $ac_try) 2>&5
15483 echo "$as_me:15483: \$? = $ac_status" >&5
15484 (exit $ac_status); }; }; then
15485 eval "$ac_ac_var=yes"
15487 echo "$as_me: failed program was:" >&5
15488 cat conftest.
$ac_ext >&5
15489 eval "$ac_ac_var=no"
15491 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15493 echo "$as_me:15493: result: `eval echo '${'$ac_ac_var'}'`" >&5
15494 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
15495 if test `eval echo '${'$ac_ac_var'}'` = yes; then
15496 cat >>confdefs.h
<<EOF
15497 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
15503 for ac_func
in vprintf
15505 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
15506 echo "$as_me:15506: checking for $ac_func" >&5
15507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15508 if eval "test \"\${$ac_ac_var+set}\" = set"; then
15509 echo $ECHO_N "(cached) $ECHO_C" >&6
15511 cat >conftest.
$ac_ext <<_ACEOF
15512 #line 15512 "configure"
15513 #include "confdefs.h"
15514 /* System header to define __stub macros and hopefully few prototypes,
15515 which can conflict with char $ac_func (); below. */
15516 #include <assert.h>
15517 /* Override any gcc2 internal prototype to avoid an error. */
15521 /* We use char because int might match the return type of a gcc2
15522 builtin and then its argument prototype would still apply. */
15529 /* The GNU C library defines this for functions which it implements
15530 to always fail with ENOSYS. Some functions are actually named
15531 something starting with __ and the normal name is an alias. */
15532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15542 rm -f conftest.
$ac_objext conftest
$ac_exeext
15543 if { (eval echo "$as_me:15543: \"$ac_link\"") >&5
15544 (eval $ac_link) 2>&5
15546 echo "$as_me:15546: \$? = $ac_status" >&5
15547 (exit $ac_status); } &&
15548 { ac_try
='test -s conftest$ac_exeext'
15549 { (eval echo "$as_me:15549: \"$ac_try\"") >&5
15550 (eval $ac_try) 2>&5
15552 echo "$as_me:15552: \$? = $ac_status" >&5
15553 (exit $ac_status); }; }; then
15554 eval "$ac_ac_var=yes"
15556 echo "$as_me: failed program was:" >&5
15557 cat conftest.
$ac_ext >&5
15558 eval "$ac_ac_var=no"
15560 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15562 echo "$as_me:15562: result: `eval echo '${'$ac_ac_var'}'`" >&5
15563 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
15564 if test `eval echo '${'$ac_ac_var'}'` = yes; then
15565 cat >>confdefs.h
<<EOF
15566 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
15569 echo "$as_me:15569: checking for _doprnt" >&5
15570 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
15571 if test "${ac_cv_func__doprnt+set}" = set; then
15572 echo $ECHO_N "(cached) $ECHO_C" >&6
15574 cat >conftest.
$ac_ext <<_ACEOF
15575 #line 15575 "configure"
15576 #include "confdefs.h"
15577 /* System header to define __stub macros and hopefully few prototypes,
15578 which can conflict with char _doprnt (); below. */
15579 #include <assert.h>
15580 /* Override any gcc2 internal prototype to avoid an error. */
15584 /* We use char because int might match the return type of a gcc2
15585 builtin and then its argument prototype would still apply. */
15592 /* The GNU C library defines this for functions which it implements
15593 to always fail with ENOSYS. Some functions are actually named
15594 something starting with __ and the normal name is an alias. */
15595 #if defined (__stub__doprnt) || defined (__stub____doprnt)
15605 rm -f conftest.
$ac_objext conftest
$ac_exeext
15606 if { (eval echo "$as_me:15606: \"$ac_link\"") >&5
15607 (eval $ac_link) 2>&5
15609 echo "$as_me:15609: \$? = $ac_status" >&5
15610 (exit $ac_status); } &&
15611 { ac_try
='test -s conftest$ac_exeext'
15612 { (eval echo "$as_me:15612: \"$ac_try\"") >&5
15613 (eval $ac_try) 2>&5
15615 echo "$as_me:15615: \$? = $ac_status" >&5
15616 (exit $ac_status); }; }; then
15617 ac_cv_func__doprnt
=yes
15619 echo "$as_me: failed program was:" >&5
15620 cat conftest.
$ac_ext >&5
15621 ac_cv_func__doprnt
=no
15623 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15625 echo "$as_me:15625: result: $ac_cv_func__doprnt" >&5
15626 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
15627 if test $ac_cv_func__doprnt = yes; then
15629 cat >>confdefs.h
<<\EOF
15630 #define HAVE_DOPRNT 1
15638 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15639 # for constant arguments. Useless!
15640 echo "$as_me:15640: checking for working alloca.h" >&5
15641 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
15642 if test "${ac_cv_working_alloca_h+set}" = set; then
15643 echo $ECHO_N "(cached) $ECHO_C" >&6
15645 cat >conftest.
$ac_ext <<_ACEOF
15646 #line 15646 "configure"
15647 #include "confdefs.h"
15648 #include <alloca.h>
15652 char *p = (char *) alloca (2 * sizeof (int));
15657 rm -f conftest.
$ac_objext conftest
$ac_exeext
15658 if { (eval echo "$as_me:15658: \"$ac_link\"") >&5
15659 (eval $ac_link) 2>&5
15661 echo "$as_me:15661: \$? = $ac_status" >&5
15662 (exit $ac_status); } &&
15663 { ac_try
='test -s conftest$ac_exeext'
15664 { (eval echo "$as_me:15664: \"$ac_try\"") >&5
15665 (eval $ac_try) 2>&5
15667 echo "$as_me:15667: \$? = $ac_status" >&5
15668 (exit $ac_status); }; }; then
15669 ac_cv_working_alloca_h
=yes
15671 echo "$as_me: failed program was:" >&5
15672 cat conftest.
$ac_ext >&5
15673 ac_cv_working_alloca_h
=no
15675 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15677 echo "$as_me:15677: result: $ac_cv_working_alloca_h" >&5
15678 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
15679 if test $ac_cv_working_alloca_h = yes; then
15681 cat >>confdefs.h
<<\EOF
15682 #define HAVE_ALLOCA_H 1
15687 echo "$as_me:15687: checking for alloca" >&5
15688 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
15689 if test "${ac_cv_func_alloca_works+set}" = set; then
15690 echo $ECHO_N "(cached) $ECHO_C" >&6
15692 cat >conftest.
$ac_ext <<_ACEOF
15693 #line 15693 "configure"
15694 #include "confdefs.h"
15696 # define alloca __builtin_alloca
15699 # include <malloc.h>
15700 # define alloca _alloca
15703 # include <alloca.h>
15708 # ifndef alloca /* predefined by HP cc +Olibcalls */
15719 char *p = (char *) alloca (1);
15724 rm -f conftest.
$ac_objext conftest
$ac_exeext
15725 if { (eval echo "$as_me:15725: \"$ac_link\"") >&5
15726 (eval $ac_link) 2>&5
15728 echo "$as_me:15728: \$? = $ac_status" >&5
15729 (exit $ac_status); } &&
15730 { ac_try
='test -s conftest$ac_exeext'
15731 { (eval echo "$as_me:15731: \"$ac_try\"") >&5
15732 (eval $ac_try) 2>&5
15734 echo "$as_me:15734: \$? = $ac_status" >&5
15735 (exit $ac_status); }; }; then
15736 ac_cv_func_alloca_works
=yes
15738 echo "$as_me: failed program was:" >&5
15739 cat conftest.
$ac_ext >&5
15740 ac_cv_func_alloca_works
=no
15742 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15744 echo "$as_me:15744: result: $ac_cv_func_alloca_works" >&5
15745 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
15747 if test $ac_cv_func_alloca_works = yes; then
15749 cat >>confdefs.h
<<\EOF
15750 #define HAVE_ALLOCA 1
15754 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15755 # that cause trouble. Some versions do not even contain alloca or
15756 # contain a buggy version. If you still want to use their alloca,
15757 # use ar to extract alloca.o from them instead of compiling alloca.c.
15759 ALLOCA
=alloca.
$ac_objext
15761 cat >>confdefs.h
<<\EOF
15765 echo "$as_me:15765: checking whether \`alloca.c' needs Cray hooks" >&5
15766 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
15767 if test "${ac_cv_os_cray+set}" = set; then
15768 echo $ECHO_N "(cached) $ECHO_C" >&6
15770 cat >conftest.
$ac_ext <<_ACEOF
15771 #line 15771 "configure"
15772 #include "confdefs.h"
15773 #if defined(CRAY) && ! defined(CRAY2)
15780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15781 egrep "webecray" >/dev
/null
2>&1; then
15789 echo "$as_me:15789: result: $ac_cv_os_cray" >&5
15790 echo "${ECHO_T}$ac_cv_os_cray" >&6
15791 if test $ac_cv_os_cray = yes; then
15792 for ac_func
in _getb67 GETB67 getb67
; do
15793 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
15794 echo "$as_me:15794: checking for $ac_func" >&5
15795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15796 if eval "test \"\${$ac_ac_var+set}\" = set"; then
15797 echo $ECHO_N "(cached) $ECHO_C" >&6
15799 cat >conftest.
$ac_ext <<_ACEOF
15800 #line 15800 "configure"
15801 #include "confdefs.h"
15802 /* System header to define __stub macros and hopefully few prototypes,
15803 which can conflict with char $ac_func (); below. */
15804 #include <assert.h>
15805 /* Override any gcc2 internal prototype to avoid an error. */
15809 /* We use char because int might match the return type of a gcc2
15810 builtin and then its argument prototype would still apply. */
15817 /* The GNU C library defines this for functions which it implements
15818 to always fail with ENOSYS. Some functions are actually named
15819 something starting with __ and the normal name is an alias. */
15820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15830 rm -f conftest.
$ac_objext conftest
$ac_exeext
15831 if { (eval echo "$as_me:15831: \"$ac_link\"") >&5
15832 (eval $ac_link) 2>&5
15834 echo "$as_me:15834: \$? = $ac_status" >&5
15835 (exit $ac_status); } &&
15836 { ac_try
='test -s conftest$ac_exeext'
15837 { (eval echo "$as_me:15837: \"$ac_try\"") >&5
15838 (eval $ac_try) 2>&5
15840 echo "$as_me:15840: \$? = $ac_status" >&5
15841 (exit $ac_status); }; }; then
15842 eval "$ac_ac_var=yes"
15844 echo "$as_me: failed program was:" >&5
15845 cat conftest.
$ac_ext >&5
15846 eval "$ac_ac_var=no"
15848 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15850 echo "$as_me:15850: result: `eval echo '${'$ac_ac_var'}'`" >&5
15851 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
15852 if test `eval echo '${'$ac_ac_var'}'` = yes; then
15854 cat >>confdefs.h
<<EOF
15855 #define CRAY_STACKSEG_END $ac_func
15864 echo "$as_me:15864: checking stack direction for C alloca" >&5
15865 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
15866 if test "${ac_cv_c_stack_direction+set}" = set; then
15867 echo $ECHO_N "(cached) $ECHO_C" >&6
15869 if test "$cross_compiling" = yes; then
15870 ac_cv_c_stack_direction
=0
15872 cat >conftest.
$ac_ext <<_ACEOF
15873 #line 15873 "configure"
15874 #include "confdefs.h"
15876 find_stack_direction ()
15878 static char *addr = 0;
15883 return find_stack_direction ();
15886 return (&dummy > addr) ? 1 : -1;
15892 exit (find_stack_direction () < 0);
15895 rm -f conftest
$ac_exeext
15896 if { (eval echo "$as_me:15896: \"$ac_link\"") >&5
15897 (eval $ac_link) 2>&5
15899 echo "$as_me:15899: \$? = $ac_status" >&5
15900 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15901 { (eval echo "$as_me:15901: \"$ac_try\"") >&5
15902 (eval $ac_try) 2>&5
15904 echo "$as_me:15904: \$? = $ac_status" >&5
15905 (exit $ac_status); }; }; then
15906 ac_cv_c_stack_direction
=1
15908 echo "$as_me: program exited with status $ac_status" >&5
15909 echo "$as_me: failed program was:" >&5
15910 cat conftest.
$ac_ext >&5
15911 ac_cv_c_stack_direction
=-1
15913 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_ext
15916 echo "$as_me:15916: result: $ac_cv_c_stack_direction" >&5
15917 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
15919 cat >>confdefs.h
<<EOF
15920 #define STACK_DIRECTION $ac_cv_c_stack_direction
15925 # getmntent is in -lsun on Irix 4, -lseq on Dynix/PTX, -lgen on Unixware.
15926 echo "$as_me:15926: checking for getmntent in -lsun" >&5
15927 echo $ECHO_N "checking for getmntent in -lsun... $ECHO_C" >&6
15928 if test "${ac_cv_lib_sun_getmntent+set}" = set; then
15929 echo $ECHO_N "(cached) $ECHO_C" >&6
15931 ac_check_lib_save_LIBS
=$LIBS
15933 cat >conftest.
$ac_ext <<_ACEOF
15934 #line 15934 "configure"
15935 #include "confdefs.h"
15937 /* Override any gcc2 internal prototype to avoid an error. */
15941 /* We use char because int might match the return type of a gcc2
15942 builtin and then its argument prototype would still apply. */
15952 rm -f conftest.
$ac_objext conftest
$ac_exeext
15953 if { (eval echo "$as_me:15953: \"$ac_link\"") >&5
15954 (eval $ac_link) 2>&5
15956 echo "$as_me:15956: \$? = $ac_status" >&5
15957 (exit $ac_status); } &&
15958 { ac_try
='test -s conftest$ac_exeext'
15959 { (eval echo "$as_me:15959: \"$ac_try\"") >&5
15960 (eval $ac_try) 2>&5
15962 echo "$as_me:15962: \$? = $ac_status" >&5
15963 (exit $ac_status); }; }; then
15964 ac_cv_lib_sun_getmntent
=yes
15966 echo "$as_me: failed program was:" >&5
15967 cat conftest.
$ac_ext >&5
15968 ac_cv_lib_sun_getmntent
=no
15970 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15971 LIBS
=$ac_check_lib_save_LIBS
15973 echo "$as_me:15973: result: $ac_cv_lib_sun_getmntent" >&5
15974 echo "${ECHO_T}$ac_cv_lib_sun_getmntent" >&6
15975 if test $ac_cv_lib_sun_getmntent = yes; then
15978 echo "$as_me:15978: checking for getmntent in -lseq" >&5
15979 echo $ECHO_N "checking for getmntent in -lseq... $ECHO_C" >&6
15980 if test "${ac_cv_lib_seq_getmntent+set}" = set; then
15981 echo $ECHO_N "(cached) $ECHO_C" >&6
15983 ac_check_lib_save_LIBS
=$LIBS
15985 cat >conftest.
$ac_ext <<_ACEOF
15986 #line 15986 "configure"
15987 #include "confdefs.h"
15989 /* Override any gcc2 internal prototype to avoid an error. */
15993 /* We use char because int might match the return type of a gcc2
15994 builtin and then its argument prototype would still apply. */
16004 rm -f conftest.
$ac_objext conftest
$ac_exeext
16005 if { (eval echo "$as_me:16005: \"$ac_link\"") >&5
16006 (eval $ac_link) 2>&5
16008 echo "$as_me:16008: \$? = $ac_status" >&5
16009 (exit $ac_status); } &&
16010 { ac_try
='test -s conftest$ac_exeext'
16011 { (eval echo "$as_me:16011: \"$ac_try\"") >&5
16012 (eval $ac_try) 2>&5
16014 echo "$as_me:16014: \$? = $ac_status" >&5
16015 (exit $ac_status); }; }; then
16016 ac_cv_lib_seq_getmntent
=yes
16018 echo "$as_me: failed program was:" >&5
16019 cat conftest.
$ac_ext >&5
16020 ac_cv_lib_seq_getmntent
=no
16022 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16023 LIBS
=$ac_check_lib_save_LIBS
16025 echo "$as_me:16025: result: $ac_cv_lib_seq_getmntent" >&5
16026 echo "${ECHO_T}$ac_cv_lib_seq_getmntent" >&6
16027 if test $ac_cv_lib_seq_getmntent = yes; then
16030 echo "$as_me:16030: checking for getmntent in -lgen" >&5
16031 echo $ECHO_N "checking for getmntent in -lgen... $ECHO_C" >&6
16032 if test "${ac_cv_lib_gen_getmntent+set}" = set; then
16033 echo $ECHO_N "(cached) $ECHO_C" >&6
16035 ac_check_lib_save_LIBS
=$LIBS
16037 cat >conftest.
$ac_ext <<_ACEOF
16038 #line 16038 "configure"
16039 #include "confdefs.h"
16041 /* Override any gcc2 internal prototype to avoid an error. */
16045 /* We use char because int might match the return type of a gcc2
16046 builtin and then its argument prototype would still apply. */
16056 rm -f conftest.
$ac_objext conftest
$ac_exeext
16057 if { (eval echo "$as_me:16057: \"$ac_link\"") >&5
16058 (eval $ac_link) 2>&5
16060 echo "$as_me:16060: \$? = $ac_status" >&5
16061 (exit $ac_status); } &&
16062 { ac_try
='test -s conftest$ac_exeext'
16063 { (eval echo "$as_me:16063: \"$ac_try\"") >&5
16064 (eval $ac_try) 2>&5
16066 echo "$as_me:16066: \$? = $ac_status" >&5
16067 (exit $ac_status); }; }; then
16068 ac_cv_lib_gen_getmntent
=yes
16070 echo "$as_me: failed program was:" >&5
16071 cat conftest.
$ac_ext >&5
16072 ac_cv_lib_gen_getmntent
=no
16074 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16075 LIBS
=$ac_check_lib_save_LIBS
16077 echo "$as_me:16077: result: $ac_cv_lib_gen_getmntent" >&5
16078 echo "${ECHO_T}$ac_cv_lib_gen_getmntent" >&6
16079 if test $ac_cv_lib_gen_getmntent = yes; then
16087 echo "$as_me:16087: checking for getmntent" >&5
16088 echo $ECHO_N "checking for getmntent... $ECHO_C" >&6
16089 if test "${ac_cv_func_getmntent+set}" = set; then
16090 echo $ECHO_N "(cached) $ECHO_C" >&6
16092 cat >conftest.
$ac_ext <<_ACEOF
16093 #line 16093 "configure"
16094 #include "confdefs.h"
16095 /* System header to define __stub macros and hopefully few prototypes,
16096 which can conflict with char getmntent (); below. */
16097 #include <assert.h>
16098 /* Override any gcc2 internal prototype to avoid an error. */
16102 /* We use char because int might match the return type of a gcc2
16103 builtin and then its argument prototype would still apply. */
16110 /* The GNU C library defines this for functions which it implements
16111 to always fail with ENOSYS. Some functions are actually named
16112 something starting with __ and the normal name is an alias. */
16113 #if defined (__stub_getmntent) || defined (__stub___getmntent)
16123 rm -f conftest.
$ac_objext conftest
$ac_exeext
16124 if { (eval echo "$as_me:16124: \"$ac_link\"") >&5
16125 (eval $ac_link) 2>&5
16127 echo "$as_me:16127: \$? = $ac_status" >&5
16128 (exit $ac_status); } &&
16129 { ac_try
='test -s conftest$ac_exeext'
16130 { (eval echo "$as_me:16130: \"$ac_try\"") >&5
16131 (eval $ac_try) 2>&5
16133 echo "$as_me:16133: \$? = $ac_status" >&5
16134 (exit $ac_status); }; }; then
16135 ac_cv_func_getmntent
=yes
16137 echo "$as_me: failed program was:" >&5
16138 cat conftest.
$ac_ext >&5
16139 ac_cv_func_getmntent
=no
16141 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16143 echo "$as_me:16143: result: $ac_cv_func_getmntent" >&5
16144 echo "${ECHO_T}$ac_cv_func_getmntent" >&6
16145 if test $ac_cv_func_getmntent = yes; then
16147 cat >>confdefs.h
<<\EOF
16148 #define HAVE_GETMNTENT 1
16153 echo "$as_me:16153: checking whether closedir returns void" >&5
16154 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6
16155 if test "${ac_cv_func_closedir_void+set}" = set; then
16156 echo $ECHO_N "(cached) $ECHO_C" >&6
16158 if test "$cross_compiling" = yes; then
16159 ac_cv_func_closedir_void
=yes
16161 cat >conftest.
$ac_ext <<_ACEOF
16162 #line 16162 "configure"
16163 #include "confdefs.h"
16164 #include <sys/types.h>
16165 #include <$ac_header_dirent>
16171 exit (closedir (opendir (".")) != 0);
16174 rm -f conftest
$ac_exeext
16175 if { (eval echo "$as_me:16175: \"$ac_link\"") >&5
16176 (eval $ac_link) 2>&5
16178 echo "$as_me:16178: \$? = $ac_status" >&5
16179 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16180 { (eval echo "$as_me:16180: \"$ac_try\"") >&5
16181 (eval $ac_try) 2>&5
16183 echo "$as_me:16183: \$? = $ac_status" >&5
16184 (exit $ac_status); }; }; then
16185 ac_cv_func_closedir_void
=no
16187 echo "$as_me: program exited with status $ac_status" >&5
16188 echo "$as_me: failed program was:" >&5
16189 cat conftest.
$ac_ext >&5
16190 ac_cv_func_closedir_void
=yes
16192 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_ext
16195 echo "$as_me:16195: result: $ac_cv_func_closedir_void" >&5
16196 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6
16197 if test $ac_cv_func_closedir_void = yes; then
16199 cat >>confdefs.h
<<\EOF
16200 #define CLOSEDIR_VOID 1
16205 for ac_header
in stdlib.h unistd.h
16207 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
16208 echo "$as_me:16208: checking for $ac_header" >&5
16209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16210 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
16211 echo $ECHO_N "(cached) $ECHO_C" >&6
16213 cat >conftest.
$ac_ext <<_ACEOF
16214 #line 16214 "configure"
16215 #include "confdefs.h"
16216 #include <$ac_header>
16218 if { (eval echo "$as_me:16218: \"$ac_cpp conftest.$ac_ext\"") >&5
16219 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16221 egrep -v '^ *\+' conftest.er1
>conftest.err
16223 cat conftest.err
>&5
16224 echo "$as_me:16224: \$? = $ac_status" >&5
16225 (exit $ac_status); } >/dev
/null
; then
16226 if test -s conftest.err
; then
16227 ac_cpp_err
=$ac_c_preproc_warn_flag
16234 if test -z "$ac_cpp_err"; then
16235 eval "$ac_ac_Header=yes"
16237 echo "$as_me: failed program was:" >&5
16238 cat conftest.
$ac_ext >&5
16239 eval "$ac_ac_Header=no"
16241 rm -f conftest.err conftest.
$ac_ext
16243 echo "$as_me:16243: result: `eval echo '${'$ac_ac_Header'}'`" >&5
16244 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
16245 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
16246 cat >>confdefs.h
<<EOF
16247 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
16253 for ac_func
in getpagesize
16255 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
16256 echo "$as_me:16256: checking for $ac_func" >&5
16257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16258 if eval "test \"\${$ac_ac_var+set}\" = set"; then
16259 echo $ECHO_N "(cached) $ECHO_C" >&6
16261 cat >conftest.
$ac_ext <<_ACEOF
16262 #line 16262 "configure"
16263 #include "confdefs.h"
16264 /* System header to define __stub macros and hopefully few prototypes,
16265 which can conflict with char $ac_func (); below. */
16266 #include <assert.h>
16267 /* Override any gcc2 internal prototype to avoid an error. */
16271 /* We use char because int might match the return type of a gcc2
16272 builtin and then its argument prototype would still apply. */
16279 /* The GNU C library defines this for functions which it implements
16280 to always fail with ENOSYS. Some functions are actually named
16281 something starting with __ and the normal name is an alias. */
16282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16292 rm -f conftest.
$ac_objext conftest
$ac_exeext
16293 if { (eval echo "$as_me:16293: \"$ac_link\"") >&5
16294 (eval $ac_link) 2>&5
16296 echo "$as_me:16296: \$? = $ac_status" >&5
16297 (exit $ac_status); } &&
16298 { ac_try
='test -s conftest$ac_exeext'
16299 { (eval echo "$as_me:16299: \"$ac_try\"") >&5
16300 (eval $ac_try) 2>&5
16302 echo "$as_me:16302: \$? = $ac_status" >&5
16303 (exit $ac_status); }; }; then
16304 eval "$ac_ac_var=yes"
16306 echo "$as_me: failed program was:" >&5
16307 cat conftest.
$ac_ext >&5
16308 eval "$ac_ac_var=no"
16310 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16312 echo "$as_me:16312: result: `eval echo '${'$ac_ac_var'}'`" >&5
16313 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
16314 if test `eval echo '${'$ac_ac_var'}'` = yes; then
16315 cat >>confdefs.h
<<EOF
16316 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
16322 echo "$as_me:16322: checking for working mmap" >&5
16323 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
16324 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
16325 echo $ECHO_N "(cached) $ECHO_C" >&6
16327 if test "$cross_compiling" = yes; then
16328 ac_cv_func_mmap_fixed_mapped
=no
16330 cat >conftest.
$ac_ext <<_ACEOF
16331 #line 16331 "configure"
16332 #include "confdefs.h"
16333 /* Thanks to Mike Haertel and Jim Avera for this test.
16334 Here is a matrix of mmap possibilities:
16335 mmap private not fixed
16336 mmap private fixed at somewhere currently unmapped
16337 mmap private fixed at somewhere already mapped
16338 mmap shared not fixed
16339 mmap shared fixed at somewhere currently unmapped
16340 mmap shared fixed at somewhere already mapped
16341 For private mappings, we should verify that changes cannot be read()
16342 back from the file, nor mmap's back from the file at a different
16343 address. (There have been systems where private was not correctly
16344 implemented like the infamous i386 svr4.0, and systems where the
16345 VM page cache was not coherent with the file system buffer cache
16346 like early versions of FreeBSD and possibly contemporary NetBSD.)
16347 For shared mappings, we should conversely verify that changes get
16348 propogated back to all the places they're supposed to be.
16350 Grep wants private fixed already mapped.
16351 The main things grep needs to know about mmap are:
16352 * does it exist and is it safe to write into the mmap'd area
16353 * how to use it (BSD variants) */
16354 #include <sys/types.h>
16356 #include <sys/mman.h>
16358 #if STDC_HEADERS || HAVE_STDLIB_H
16359 # include <stdlib.h>
16364 # include <unistd.h>
16366 #include <sys/stat.h>
16368 /* This mess was copied from the GNU getpagesize.h. */
16369 #if !HAVE_GETPAGESIZE
16370 /* Assume that all systems that can run configure have sys/param.h. */
16371 # if !HAVE_SYS_PARAM_H
16372 # define HAVE_SYS_PARAM_H 1
16375 # ifdef _SC_PAGESIZE
16376 # define getpagesize() sysconf(_SC_PAGESIZE)
16377 # else /* no _SC_PAGESIZE */
16378 # if HAVE_SYS_PARAM_H
16379 # include <sys/param.h>
16380 # ifdef EXEC_PAGESIZE
16381 # define getpagesize() EXEC_PAGESIZE
16382 # else /* no EXEC_PAGESIZE */
16384 # define getpagesize() NBPG * CLSIZE
16387 # endif /* no CLSIZE */
16388 # else /* no NBPG */
16390 # define getpagesize() NBPC
16391 # else /* no NBPC */
16393 # define getpagesize() PAGESIZE
16394 # endif /* PAGESIZE */
16395 # endif /* no NBPC */
16396 # endif /* no NBPG */
16397 # endif /* no EXEC_PAGESIZE */
16398 # else /* no HAVE_SYS_PARAM_H */
16399 # define getpagesize() 8192 /* punt totally */
16400 # endif /* no HAVE_SYS_PARAM_H */
16401 # endif /* no _SC_PAGESIZE */
16403 #endif /* no HAVE_GETPAGESIZE */
16408 char *data, *data2, *data3;
16412 pagesize = getpagesize ();
16414 /* First, make a file with some known garbage in it. */
16415 data = (char *) malloc (pagesize);
16418 for (i = 0; i < pagesize; ++i)
16419 *(data + i) = rand ();
16421 fd = creat ("conftest.mmap", 0600);
16424 if (write (fd, data, pagesize) != pagesize)
16428 /* Next, try to mmap the file at a fixed address which already has
16429 something else allocated at it. If we can, also make sure that
16430 we see the same garbage. */
16431 fd = open ("conftest.mmap", O_RDWR);
16434 data2 = (char *) malloc (2 * pagesize);
16437 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
16438 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
16439 MAP_PRIVATE | MAP_FIXED, fd, 0L))
16441 for (i = 0; i < pagesize; ++i)
16442 if (*(data + i) != *(data2 + i))
16445 /* Finally, make sure that changes to the mapped area do not
16446 percolate back to the file as seen by read(). (This is a bug on
16447 some variants of i386 svr4.0.) */
16448 for (i = 0; i < pagesize; ++i)
16449 *(data2 + i) = *(data2 + i) + 1;
16450 data3 = (char *) malloc (pagesize);
16453 if (read (fd, data3, pagesize) != pagesize)
16455 for (i = 0; i < pagesize; ++i)
16456 if (*(data + i) != *(data3 + i))
16462 rm -f conftest
$ac_exeext
16463 if { (eval echo "$as_me:16463: \"$ac_link\"") >&5
16464 (eval $ac_link) 2>&5
16466 echo "$as_me:16466: \$? = $ac_status" >&5
16467 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16468 { (eval echo "$as_me:16468: \"$ac_try\"") >&5
16469 (eval $ac_try) 2>&5
16471 echo "$as_me:16471: \$? = $ac_status" >&5
16472 (exit $ac_status); }; }; then
16473 ac_cv_func_mmap_fixed_mapped
=yes
16475 echo "$as_me: program exited with status $ac_status" >&5
16476 echo "$as_me: failed program was:" >&5
16477 cat conftest.
$ac_ext >&5
16478 ac_cv_func_mmap_fixed_mapped
=no
16480 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_ext
16483 echo "$as_me:16483: result: $ac_cv_func_mmap_fixed_mapped" >&5
16484 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
16485 if test $ac_cv_func_mmap_fixed_mapped = yes; then
16487 cat >>confdefs.h
<<\EOF
16488 #define HAVE_MMAP 1
16492 rm -f conftest.mmap
16494 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
16495 unistd.h sys
/param.h
16497 ac_ac_Header
=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
16498 echo "$as_me:16498: checking for $ac_header" >&5
16499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16500 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
16501 echo $ECHO_N "(cached) $ECHO_C" >&6
16503 cat >conftest.
$ac_ext <<_ACEOF
16504 #line 16504 "configure"
16505 #include "confdefs.h"
16506 #include <$ac_header>
16508 if { (eval echo "$as_me:16508: \"$ac_cpp conftest.$ac_ext\"") >&5
16509 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16511 egrep -v '^ *\+' conftest.er1
>conftest.err
16513 cat conftest.err
>&5
16514 echo "$as_me:16514: \$? = $ac_status" >&5
16515 (exit $ac_status); } >/dev
/null
; then
16516 if test -s conftest.err
; then
16517 ac_cpp_err
=$ac_c_preproc_warn_flag
16524 if test -z "$ac_cpp_err"; then
16525 eval "$ac_ac_Header=yes"
16527 echo "$as_me: failed program was:" >&5
16528 cat conftest.
$ac_ext >&5
16529 eval "$ac_ac_Header=no"
16531 rm -f conftest.err conftest.
$ac_ext
16533 echo "$as_me:16533: result: `eval echo '${'$ac_ac_Header'}'`" >&5
16534 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
16535 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
16536 cat >>confdefs.h
<<EOF
16537 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
16543 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
16544 strdup __argz_count __argz_stringify __argz_next
16546 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
16547 echo "$as_me:16547: checking for $ac_func" >&5
16548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16549 if eval "test \"\${$ac_ac_var+set}\" = set"; then
16550 echo $ECHO_N "(cached) $ECHO_C" >&6
16552 cat >conftest.
$ac_ext <<_ACEOF
16553 #line 16553 "configure"
16554 #include "confdefs.h"
16555 /* System header to define __stub macros and hopefully few prototypes,
16556 which can conflict with char $ac_func (); below. */
16557 #include <assert.h>
16558 /* Override any gcc2 internal prototype to avoid an error. */
16562 /* We use char because int might match the return type of a gcc2
16563 builtin and then its argument prototype would still apply. */
16570 /* The GNU C library defines this for functions which it implements
16571 to always fail with ENOSYS. Some functions are actually named
16572 something starting with __ and the normal name is an alias. */
16573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16583 rm -f conftest.
$ac_objext conftest
$ac_exeext
16584 if { (eval echo "$as_me:16584: \"$ac_link\"") >&5
16585 (eval $ac_link) 2>&5
16587 echo "$as_me:16587: \$? = $ac_status" >&5
16588 (exit $ac_status); } &&
16589 { ac_try
='test -s conftest$ac_exeext'
16590 { (eval echo "$as_me:16590: \"$ac_try\"") >&5
16591 (eval $ac_try) 2>&5
16593 echo "$as_me:16593: \$? = $ac_status" >&5
16594 (exit $ac_status); }; }; then
16595 eval "$ac_ac_var=yes"
16597 echo "$as_me: failed program was:" >&5
16598 cat conftest.
$ac_ext >&5
16599 eval "$ac_ac_var=no"
16601 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16603 echo "$as_me:16603: result: `eval echo '${'$ac_ac_var'}'`" >&5
16604 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
16605 if test `eval echo '${'$ac_ac_var'}'` = yes; then
16606 cat >>confdefs.h
<<EOF
16607 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
16613 if test "${ac_cv_func_stpcpy+set}" != "set"; then
16615 for ac_func
in stpcpy
16617 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
16618 echo "$as_me:16618: checking for $ac_func" >&5
16619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16620 if eval "test \"\${$ac_ac_var+set}\" = set"; then
16621 echo $ECHO_N "(cached) $ECHO_C" >&6
16623 cat >conftest.
$ac_ext <<_ACEOF
16624 #line 16624 "configure"
16625 #include "confdefs.h"
16626 /* System header to define __stub macros and hopefully few prototypes,
16627 which can conflict with char $ac_func (); below. */
16628 #include <assert.h>
16629 /* Override any gcc2 internal prototype to avoid an error. */
16633 /* We use char because int might match the return type of a gcc2
16634 builtin and then its argument prototype would still apply. */
16641 /* The GNU C library defines this for functions which it implements
16642 to always fail with ENOSYS. Some functions are actually named
16643 something starting with __ and the normal name is an alias. */
16644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16654 rm -f conftest.
$ac_objext conftest
$ac_exeext
16655 if { (eval echo "$as_me:16655: \"$ac_link\"") >&5
16656 (eval $ac_link) 2>&5
16658 echo "$as_me:16658: \$? = $ac_status" >&5
16659 (exit $ac_status); } &&
16660 { ac_try
='test -s conftest$ac_exeext'
16661 { (eval echo "$as_me:16661: \"$ac_try\"") >&5
16662 (eval $ac_try) 2>&5
16664 echo "$as_me:16664: \$? = $ac_status" >&5
16665 (exit $ac_status); }; }; then
16666 eval "$ac_ac_var=yes"
16668 echo "$as_me: failed program was:" >&5
16669 cat conftest.
$ac_ext >&5
16670 eval "$ac_ac_var=no"
16672 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16674 echo "$as_me:16674: result: `eval echo '${'$ac_ac_var'}'`" >&5
16675 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
16676 if test `eval echo '${'$ac_ac_var'}'` = yes; then
16677 cat >>confdefs.h
<<EOF
16678 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
16685 if test "${ac_cv_func_stpcpy}" = "yes"; then
16687 cat >>confdefs.h
<<\EOF
16688 #define HAVE_STPCPY 1
16693 if test $ac_cv_header_locale_h = yes; then
16694 echo "$as_me:16694: checking for LC_MESSAGES" >&5
16695 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
16696 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
16697 echo $ECHO_N "(cached) $ECHO_C" >&6
16699 cat >conftest.
$ac_ext <<_ACEOF
16700 #line 16700 "configure"
16701 #include "confdefs.h"
16702 #include <locale.h>
16711 rm -f conftest.
$ac_objext conftest
$ac_exeext
16712 if { (eval echo "$as_me:16712: \"$ac_link\"") >&5
16713 (eval $ac_link) 2>&5
16715 echo "$as_me:16715: \$? = $ac_status" >&5
16716 (exit $ac_status); } &&
16717 { ac_try
='test -s conftest$ac_exeext'
16718 { (eval echo "$as_me:16718: \"$ac_try\"") >&5
16719 (eval $ac_try) 2>&5
16721 echo "$as_me:16721: \$? = $ac_status" >&5
16722 (exit $ac_status); }; }; then
16723 am_cv_val_LC_MESSAGES
=yes
16725 echo "$as_me: failed program was:" >&5
16726 cat conftest.
$ac_ext >&5
16727 am_cv_val_LC_MESSAGES
=no
16729 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16731 echo "$as_me:16731: result: $am_cv_val_LC_MESSAGES" >&5
16732 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
16733 if test $am_cv_val_LC_MESSAGES = yes; then
16735 cat >>confdefs.h
<<\EOF
16736 #define HAVE_LC_MESSAGES 1
16741 echo "$as_me:16741: checking whether NLS is requested" >&5
16742 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
16743 # Check whether --enable-nls or --disable-nls was given.
16744 if test "${enable_nls+set}" = set; then
16745 enableval
="$enable_nls"
16750 echo "$as_me:16750: result: $USE_NLS" >&5
16751 echo "${ECHO_T}$USE_NLS" >&6
16753 USE_INCLUDED_LIBINTL
=no
16755 if test "$USE_NLS" = "yes"; then
16757 cat >>confdefs.h
<<\EOF
16758 #define ENABLE_NLS 1
16761 echo "$as_me:16761: checking whether included gettext is requested" >&5
16762 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
16764 # Check whether --with-included-gettext or --without-included-gettext was given.
16765 if test "${with_included_gettext+set}" = set; then
16766 withval
="$with_included_gettext"
16767 nls_cv_force_use_gnu_gettext
=$withval
16769 nls_cv_force_use_gnu_gettext
=no
16771 echo "$as_me:16771: result: $nls_cv_force_use_gnu_gettext" >&5
16772 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
16774 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
16775 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
16776 nls_cv_header_intl
=
16777 nls_cv_header_libgt
=
16780 echo "$as_me:16780: checking for libintl.h" >&5
16781 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
16782 if test "${ac_cv_header_libintl_h+set}" = set; then
16783 echo $ECHO_N "(cached) $ECHO_C" >&6
16785 cat >conftest.
$ac_ext <<_ACEOF
16786 #line 16786 "configure"
16787 #include "confdefs.h"
16788 #include <libintl.h>
16790 if { (eval echo "$as_me:16790: \"$ac_cpp conftest.$ac_ext\"") >&5
16791 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16793 egrep -v '^ *\+' conftest.er1
>conftest.err
16795 cat conftest.err
>&5
16796 echo "$as_me:16796: \$? = $ac_status" >&5
16797 (exit $ac_status); } >/dev
/null
; then
16798 if test -s conftest.err
; then
16799 ac_cpp_err
=$ac_c_preproc_warn_flag
16806 if test -z "$ac_cpp_err"; then
16807 ac_cv_header_libintl_h
=yes
16809 echo "$as_me: failed program was:" >&5
16810 cat conftest.
$ac_ext >&5
16811 ac_cv_header_libintl_h
=no
16813 rm -f conftest.err conftest.
$ac_ext
16815 echo "$as_me:16815: result: $ac_cv_header_libintl_h" >&5
16816 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
16817 if test $ac_cv_header_libintl_h = yes; then
16818 echo "$as_me:16818: checking for gettext in libc" >&5
16819 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
16820 if test "${gt_cv_func_gettext_libc+set}" = set; then
16821 echo $ECHO_N "(cached) $ECHO_C" >&6
16823 cat >conftest.
$ac_ext <<_ACEOF
16824 #line 16824 "configure"
16825 #include "confdefs.h"
16826 #include <libintl.h>
16830 return (int) gettext ("")
16835 rm -f conftest.
$ac_objext conftest
$ac_exeext
16836 if { (eval echo "$as_me:16836: \"$ac_link\"") >&5
16837 (eval $ac_link) 2>&5
16839 echo "$as_me:16839: \$? = $ac_status" >&5
16840 (exit $ac_status); } &&
16841 { ac_try
='test -s conftest$ac_exeext'
16842 { (eval echo "$as_me:16842: \"$ac_try\"") >&5
16843 (eval $ac_try) 2>&5
16845 echo "$as_me:16845: \$? = $ac_status" >&5
16846 (exit $ac_status); }; }; then
16847 gt_cv_func_gettext_libc
=yes
16849 echo "$as_me: failed program was:" >&5
16850 cat conftest.
$ac_ext >&5
16851 gt_cv_func_gettext_libc
=no
16853 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16855 echo "$as_me:16855: result: $gt_cv_func_gettext_libc" >&5
16856 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
16858 if test "$gt_cv_func_gettext_libc" != "yes"; then
16859 echo "$as_me:16859: checking for bindtextdomain in -lintl" >&5
16860 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
16861 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
16862 echo $ECHO_N "(cached) $ECHO_C" >&6
16864 ac_check_lib_save_LIBS
=$LIBS
16865 LIBS
="-lintl $LIBS"
16866 cat >conftest.
$ac_ext <<_ACEOF
16867 #line 16867 "configure"
16868 #include "confdefs.h"
16870 /* Override any gcc2 internal prototype to avoid an error. */
16874 /* We use char because int might match the return type of a gcc2
16875 builtin and then its argument prototype would still apply. */
16876 char bindtextdomain ();
16885 rm -f conftest.
$ac_objext conftest
$ac_exeext
16886 if { (eval echo "$as_me:16886: \"$ac_link\"") >&5
16887 (eval $ac_link) 2>&5
16889 echo "$as_me:16889: \$? = $ac_status" >&5
16890 (exit $ac_status); } &&
16891 { ac_try
='test -s conftest$ac_exeext'
16892 { (eval echo "$as_me:16892: \"$ac_try\"") >&5
16893 (eval $ac_try) 2>&5
16895 echo "$as_me:16895: \$? = $ac_status" >&5
16896 (exit $ac_status); }; }; then
16897 ac_cv_lib_intl_bindtextdomain
=yes
16899 echo "$as_me: failed program was:" >&5
16900 cat conftest.
$ac_ext >&5
16901 ac_cv_lib_intl_bindtextdomain
=no
16903 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16904 LIBS
=$ac_check_lib_save_LIBS
16906 echo "$as_me:16906: result: $ac_cv_lib_intl_bindtextdomain" >&5
16907 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
16908 if test $ac_cv_lib_intl_bindtextdomain = yes; then
16910 echo "$as_me:16910: checking for gettext in -lintl" >&5
16911 echo $ECHO_N "checking for gettext in -lintl... $ECHO_C" >&6
16912 if test "${ac_cv_lib_intl_gettext+set}" = set; then
16913 echo $ECHO_N "(cached) $ECHO_C" >&6
16915 ac_check_lib_save_LIBS
=$LIBS
16916 LIBS
="-lintl $LIBS"
16917 cat >conftest.
$ac_ext <<_ACEOF
16918 #line 16918 "configure"
16919 #include "confdefs.h"
16921 /* Override any gcc2 internal prototype to avoid an error. */
16925 /* We use char because int might match the return type of a gcc2
16926 builtin and then its argument prototype would still apply. */
16936 rm -f conftest.
$ac_objext conftest
$ac_exeext
16937 if { (eval echo "$as_me:16937: \"$ac_link\"") >&5
16938 (eval $ac_link) 2>&5
16940 echo "$as_me:16940: \$? = $ac_status" >&5
16941 (exit $ac_status); } &&
16942 { ac_try
='test -s conftest$ac_exeext'
16943 { (eval echo "$as_me:16943: \"$ac_try\"") >&5
16944 (eval $ac_try) 2>&5
16946 echo "$as_me:16946: \$? = $ac_status" >&5
16947 (exit $ac_status); }; }; then
16948 ac_cv_lib_intl_gettext
=yes
16950 echo "$as_me: failed program was:" >&5
16951 cat conftest.
$ac_ext >&5
16952 ac_cv_lib_intl_gettext
=no
16954 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16955 LIBS
=$ac_check_lib_save_LIBS
16957 echo "$as_me:16957: result: $ac_cv_lib_intl_gettext" >&5
16958 echo "${ECHO_T}$ac_cv_lib_intl_gettext" >&6
16959 if test $ac_cv_lib_intl_gettext = yes; then
16960 cat >>confdefs.h
<<EOF
16961 #define HAVE_LIBINTL 1
16964 LIBS
="-lintl $LIBS"
16972 if test "$gt_cv_func_gettext_libc" = "yes" \
16973 ||
test "$ac_cv_lib_intl_gettext" = "yes"; then
16975 cat >>confdefs.h
<<\EOF
16976 #define HAVE_GETTEXT 1
16979 # Extract the first word of "msgfmt", so it can be a program name with args.
16980 set dummy msgfmt
; ac_word
=$2
16981 echo "$as_me:16981: checking for $ac_word" >&5
16982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16983 if test "${ac_cv_path_MSGFMT+set}" = set; then
16984 echo $ECHO_N "(cached) $ECHO_C" >&6
16988 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
16991 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
16992 for ac_dir
in $PATH; do
16993 test -z "$ac_dir" && ac_dir
=.
16994 if test -f $ac_dir/$ac_word; then
16995 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
16996 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
17002 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
17006 MSGFMT
="$ac_cv_path_MSGFMT"
17007 if test -n "$MSGFMT"; then
17008 echo "$as_me:17008: result: $MSGFMT" >&5
17009 echo "${ECHO_T}$MSGFMT" >&6
17011 echo "$as_me:17011: result: no" >&5
17012 echo "${ECHO_T}no" >&6
17014 if test "$MSGFMT" != "no"; then
17016 for ac_func
in dcgettext
17018 ac_ac_var
=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
17019 echo "$as_me:17019: checking for $ac_func" >&5
17020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17021 if eval "test \"\${$ac_ac_var+set}\" = set"; then
17022 echo $ECHO_N "(cached) $ECHO_C" >&6
17024 cat >conftest.
$ac_ext <<_ACEOF
17025 #line 17025 "configure"
17026 #include "confdefs.h"
17027 /* System header to define __stub macros and hopefully few prototypes,
17028 which can conflict with char $ac_func (); below. */
17029 #include <assert.h>
17030 /* Override any gcc2 internal prototype to avoid an error. */
17034 /* We use char because int might match the return type of a gcc2
17035 builtin and then its argument prototype would still apply. */
17042 /* The GNU C library defines this for functions which it implements
17043 to always fail with ENOSYS. Some functions are actually named
17044 something starting with __ and the normal name is an alias. */
17045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17055 rm -f conftest.
$ac_objext conftest
$ac_exeext
17056 if { (eval echo "$as_me:17056: \"$ac_link\"") >&5
17057 (eval $ac_link) 2>&5
17059 echo "$as_me:17059: \$? = $ac_status" >&5
17060 (exit $ac_status); } &&
17061 { ac_try
='test -s conftest$ac_exeext'
17062 { (eval echo "$as_me:17062: \"$ac_try\"") >&5
17063 (eval $ac_try) 2>&5
17065 echo "$as_me:17065: \$? = $ac_status" >&5
17066 (exit $ac_status); }; }; then
17067 eval "$ac_ac_var=yes"
17069 echo "$as_me: failed program was:" >&5
17070 cat conftest.
$ac_ext >&5
17071 eval "$ac_ac_var=no"
17073 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17075 echo "$as_me:17075: result: `eval echo '${'$ac_ac_var'}'`" >&5
17076 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
17077 if test `eval echo '${'$ac_ac_var'}'` = yes; then
17078 cat >>confdefs.h
<<EOF
17079 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
17085 # Extract the first word of "gmsgfmt", so it can be a program name with args.
17086 set dummy gmsgfmt
; ac_word
=$2
17087 echo "$as_me:17087: checking for $ac_word" >&5
17088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17089 if test "${ac_cv_path_GMSGFMT+set}" = set; then
17090 echo $ECHO_N "(cached) $ECHO_C" >&6
17094 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
17097 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
17099 for ac_dir
in $ac_dummy; do
17101 test -z "$ac_dir" && ac_dir
=.
17102 if $as_executable_p "$ac_dir/$ac_word"; then
17103 ac_cv_path_GMSGFMT
="$ac_dir/$ac_word"
17104 echo "$as_me:17104: found $ac_dir/$ac_word" >&5
17109 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
17113 GMSGFMT
=$ac_cv_path_GMSGFMT
17115 if test -n "$GMSGFMT"; then
17116 echo "$as_me:17116: result: $GMSGFMT" >&5
17117 echo "${ECHO_T}$GMSGFMT" >&6
17119 echo "$as_me:17119: result: no" >&5
17120 echo "${ECHO_T}no" >&6
17123 # Extract the first word of "xgettext", so it can be a program name with args.
17124 set dummy xgettext
; ac_word
=$2
17125 echo "$as_me:17125: checking for $ac_word" >&5
17126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17127 if test "${ac_cv_path_XGETTEXT+set}" = set; then
17128 echo $ECHO_N "(cached) $ECHO_C" >&6
17130 case "$XGETTEXT" in
17132 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
17135 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
17136 for ac_dir
in $PATH; do
17137 test -z "$ac_dir" && ac_dir
=.
17138 if test -f $ac_dir/$ac_word; then
17139 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
17140 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
17146 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
17150 XGETTEXT
="$ac_cv_path_XGETTEXT"
17151 if test -n "$XGETTEXT"; then
17152 echo "$as_me:17152: result: $XGETTEXT" >&5
17153 echo "${ECHO_T}$XGETTEXT" >&6
17155 echo "$as_me:17155: result: no" >&5
17156 echo "${ECHO_T}no" >&6
17159 cat >conftest.
$ac_ext <<_ACEOF
17160 #line 17160 "configure"
17161 #include "confdefs.h"
17166 extern int _nl_msg_cat_cntr;
17167 return _nl_msg_cat_cntr
17172 rm -f conftest.
$ac_objext conftest
$ac_exeext
17173 if { (eval echo "$as_me:17173: \"$ac_link\"") >&5
17174 (eval $ac_link) 2>&5
17176 echo "$as_me:17176: \$? = $ac_status" >&5
17177 (exit $ac_status); } &&
17178 { ac_try
='test -s conftest$ac_exeext'
17179 { (eval echo "$as_me:17179: \"$ac_try\"") >&5
17180 (eval $ac_try) 2>&5
17182 echo "$as_me:17182: \$? = $ac_status" >&5
17183 (exit $ac_status); }; }; then
17187 echo "$as_me: failed program was:" >&5
17188 cat conftest.
$ac_ext >&5
17192 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17199 if test "$CATOBJEXT" = "NONE"; then
17200 echo "$as_me:17200: checking whether catgets can be used" >&5
17201 echo $ECHO_N "checking whether catgets can be used... $ECHO_C" >&6
17203 # Check whether --with-catgets or --without-catgets was given.
17204 if test "${with_catgets+set}" = set; then
17205 withval
="$with_catgets"
17206 nls_cv_use_catgets
=$withval
17208 nls_cv_use_catgets
=no
17210 echo "$as_me:17210: result: $nls_cv_use_catgets" >&5
17211 echo "${ECHO_T}$nls_cv_use_catgets" >&6
17213 if test "$nls_cv_use_catgets" = "yes"; then
17215 echo "$as_me:17215: checking for main in -li" >&5
17216 echo $ECHO_N "checking for main in -li... $ECHO_C" >&6
17217 if test "${ac_cv_lib_i_main+set}" = set; then
17218 echo $ECHO_N "(cached) $ECHO_C" >&6
17220 ac_check_lib_save_LIBS
=$LIBS
17222 cat >conftest.
$ac_ext <<_ACEOF
17223 #line 17223 "configure"
17224 #include "confdefs.h"
17234 rm -f conftest.
$ac_objext conftest
$ac_exeext
17235 if { (eval echo "$as_me:17235: \"$ac_link\"") >&5
17236 (eval $ac_link) 2>&5
17238 echo "$as_me:17238: \$? = $ac_status" >&5
17239 (exit $ac_status); } &&
17240 { ac_try
='test -s conftest$ac_exeext'
17241 { (eval echo "$as_me:17241: \"$ac_try\"") >&5
17242 (eval $ac_try) 2>&5
17244 echo "$as_me:17244: \$? = $ac_status" >&5
17245 (exit $ac_status); }; }; then
17246 ac_cv_lib_i_main
=yes
17248 echo "$as_me: failed program was:" >&5
17249 cat conftest.
$ac_ext >&5
17250 ac_cv_lib_i_main
=no
17252 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17253 LIBS
=$ac_check_lib_save_LIBS
17255 echo "$as_me:17255: result: $ac_cv_lib_i_main" >&5
17256 echo "${ECHO_T}$ac_cv_lib_i_main" >&6
17257 if test $ac_cv_lib_i_main = yes; then
17258 cat >>confdefs.h
<<EOF
17259 #define HAVE_LIBI 1
17266 echo "$as_me:17266: checking for catgets" >&5
17267 echo $ECHO_N "checking for catgets... $ECHO_C" >&6
17268 if test "${ac_cv_func_catgets+set}" = set; then
17269 echo $ECHO_N "(cached) $ECHO_C" >&6
17271 cat >conftest.
$ac_ext <<_ACEOF
17272 #line 17272 "configure"
17273 #include "confdefs.h"
17274 /* System header to define __stub macros and hopefully few prototypes,
17275 which can conflict with char catgets (); below. */
17276 #include <assert.h>
17277 /* Override any gcc2 internal prototype to avoid an error. */
17281 /* We use char because int might match the return type of a gcc2
17282 builtin and then its argument prototype would still apply. */
17289 /* The GNU C library defines this for functions which it implements
17290 to always fail with ENOSYS. Some functions are actually named
17291 something starting with __ and the normal name is an alias. */
17292 #if defined (__stub_catgets) || defined (__stub___catgets)
17302 rm -f conftest.
$ac_objext conftest
$ac_exeext
17303 if { (eval echo "$as_me:17303: \"$ac_link\"") >&5
17304 (eval $ac_link) 2>&5
17306 echo "$as_me:17306: \$? = $ac_status" >&5
17307 (exit $ac_status); } &&
17308 { ac_try
='test -s conftest$ac_exeext'
17309 { (eval echo "$as_me:17309: \"$ac_try\"") >&5
17310 (eval $ac_try) 2>&5
17312 echo "$as_me:17312: \$? = $ac_status" >&5
17313 (exit $ac_status); }; }; then
17314 ac_cv_func_catgets
=yes
17316 echo "$as_me: failed program was:" >&5
17317 cat conftest.
$ac_ext >&5
17318 ac_cv_func_catgets
=no
17320 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17322 echo "$as_me:17322: result: $ac_cv_func_catgets" >&5
17323 echo "${ECHO_T}$ac_cv_func_catgets" >&6
17324 if test $ac_cv_func_catgets = yes; then
17326 cat >>confdefs.h
<<\EOF
17327 #define HAVE_CATGETS 1
17330 INTLOBJS
="\$(CATOBJS)"
17331 # Extract the first word of "gencat", so it can be a program name with args.
17332 set dummy gencat
; ac_word
=$2
17333 echo "$as_me:17333: checking for $ac_word" >&5
17334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17335 if test "${ac_cv_path_GENCAT+set}" = set; then
17336 echo $ECHO_N "(cached) $ECHO_C" >&6
17340 ac_cv_path_GENCAT
="$GENCAT" # Let the user override the test with a path.
17343 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
17345 for ac_dir
in $ac_dummy; do
17347 test -z "$ac_dir" && ac_dir
=.
17348 if $as_executable_p "$ac_dir/$ac_word"; then
17349 ac_cv_path_GENCAT
="$ac_dir/$ac_word"
17350 echo "$as_me:17350: found $ac_dir/$ac_word" >&5
17355 test -z "$ac_cv_path_GENCAT" && ac_cv_path_GENCAT
="no"
17359 GENCAT
=$ac_cv_path_GENCAT
17361 if test -n "$GENCAT"; then
17362 echo "$as_me:17362: result: $GENCAT" >&5
17363 echo "${ECHO_T}$GENCAT" >&6
17365 echo "$as_me:17365: result: no" >&5
17366 echo "${ECHO_T}no" >&6
17368 if test "$GENCAT" != "no"; then
17369 # Extract the first word of "gmsgfmt", so it can be a program name with args.
17370 set dummy gmsgfmt
; ac_word
=$2
17371 echo "$as_me:17371: checking for $ac_word" >&5
17372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17373 if test "${ac_cv_path_GMSGFMT+set}" = set; then
17374 echo $ECHO_N "(cached) $ECHO_C" >&6
17378 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
17381 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
17383 for ac_dir
in $ac_dummy; do
17385 test -z "$ac_dir" && ac_dir
=.
17386 if $as_executable_p "$ac_dir/$ac_word"; then
17387 ac_cv_path_GMSGFMT
="$ac_dir/$ac_word"
17388 echo "$as_me:17388: found $ac_dir/$ac_word" >&5
17393 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="no"
17397 GMSGFMT
=$ac_cv_path_GMSGFMT
17399 if test -n "$GMSGFMT"; then
17400 echo "$as_me:17400: result: $GMSGFMT" >&5
17401 echo "${ECHO_T}$GMSGFMT" >&6
17403 echo "$as_me:17403: result: no" >&5
17404 echo "${ECHO_T}no" >&6
17407 if test "$GMSGFMT" = "no"; then
17408 # Extract the first word of "msgfmt", so it can be a program name with args.
17409 set dummy msgfmt
; ac_word
=$2
17410 echo "$as_me:17410: checking for $ac_word" >&5
17411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17412 if test "${ac_cv_path_GMSGFMT+set}" = set; then
17413 echo $ECHO_N "(cached) $ECHO_C" >&6
17417 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
17420 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
17421 for ac_dir
in $PATH; do
17422 test -z "$ac_dir" && ac_dir
=.
17423 if test -f $ac_dir/$ac_word; then
17424 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
17425 ac_cv_path_GMSGFMT
="$ac_dir/$ac_word"
17431 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="no"
17435 GMSGFMT
="$ac_cv_path_GMSGFMT"
17436 if test -n "$GMSGFMT"; then
17437 echo "$as_me:17437: result: $GMSGFMT" >&5
17438 echo "${ECHO_T}$GMSGFMT" >&6
17440 echo "$as_me:17440: result: no" >&5
17441 echo "${ECHO_T}no" >&6
17445 # Extract the first word of "xgettext", so it can be a program name with args.
17446 set dummy xgettext
; ac_word
=$2
17447 echo "$as_me:17447: checking for $ac_word" >&5
17448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17449 if test "${ac_cv_path_XGETTEXT+set}" = set; then
17450 echo $ECHO_N "(cached) $ECHO_C" >&6
17452 case "$XGETTEXT" in
17454 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
17457 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
17458 for ac_dir
in $PATH; do
17459 test -z "$ac_dir" && ac_dir
=.
17460 if test -f $ac_dir/$ac_word; then
17461 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
17462 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
17468 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
17472 XGETTEXT
="$ac_cv_path_XGETTEXT"
17473 if test -n "$XGETTEXT"; then
17474 echo "$as_me:17474: result: $XGETTEXT" >&5
17475 echo "${ECHO_T}$XGETTEXT" >&6
17477 echo "$as_me:17477: result: no" >&5
17478 echo "${ECHO_T}no" >&6
17481 USE_INCLUDED_LIBINTL
=yes
17485 INTLDEPS
='$(top_builddir)/intl/libintl.a'
17487 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
17488 nls_cv_header_intl
=intl
/libintl.h
17489 nls_cv_header_libgt
=intl
/libgettext.h
17496 if test "$CATOBJEXT" = "NONE"; then
17497 nls_cv_use_gnu_gettext
=yes
17501 if test "$nls_cv_use_gnu_gettext" = "yes"; then
17502 INTLOBJS
="\$(GETTOBJS)"
17503 # Extract the first word of "msgfmt", so it can be a program name with args.
17504 set dummy msgfmt
; ac_word
=$2
17505 echo "$as_me:17505: checking for $ac_word" >&5
17506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17507 if test "${ac_cv_path_MSGFMT+set}" = set; then
17508 echo $ECHO_N "(cached) $ECHO_C" >&6
17512 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
17515 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
17516 for ac_dir
in $PATH; do
17517 test -z "$ac_dir" && ac_dir
=.
17518 if test -f $ac_dir/$ac_word; then
17519 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
17520 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
17526 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
17530 MSGFMT
="$ac_cv_path_MSGFMT"
17531 if test -n "$MSGFMT"; then
17532 echo "$as_me:17532: result: $MSGFMT" >&5
17533 echo "${ECHO_T}$MSGFMT" >&6
17535 echo "$as_me:17535: result: no" >&5
17536 echo "${ECHO_T}no" >&6
17539 # Extract the first word of "gmsgfmt", so it can be a program name with args.
17540 set dummy gmsgfmt
; ac_word
=$2
17541 echo "$as_me:17541: checking for $ac_word" >&5
17542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17543 if test "${ac_cv_path_GMSGFMT+set}" = set; then
17544 echo $ECHO_N "(cached) $ECHO_C" >&6
17548 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
17551 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
17553 for ac_dir
in $ac_dummy; do
17555 test -z "$ac_dir" && ac_dir
=.
17556 if $as_executable_p "$ac_dir/$ac_word"; then
17557 ac_cv_path_GMSGFMT
="$ac_dir/$ac_word"
17558 echo "$as_me:17558: found $ac_dir/$ac_word" >&5
17563 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
17567 GMSGFMT
=$ac_cv_path_GMSGFMT
17569 if test -n "$GMSGFMT"; then
17570 echo "$as_me:17570: result: $GMSGFMT" >&5
17571 echo "${ECHO_T}$GMSGFMT" >&6
17573 echo "$as_me:17573: result: no" >&5
17574 echo "${ECHO_T}no" >&6
17577 # Extract the first word of "xgettext", so it can be a program name with args.
17578 set dummy xgettext
; ac_word
=$2
17579 echo "$as_me:17579: checking for $ac_word" >&5
17580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17581 if test "${ac_cv_path_XGETTEXT+set}" = set; then
17582 echo $ECHO_N "(cached) $ECHO_C" >&6
17584 case "$XGETTEXT" in
17586 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
17589 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
17590 for ac_dir
in $PATH; do
17591 test -z "$ac_dir" && ac_dir
=.
17592 if test -f $ac_dir/$ac_word; then
17593 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
17594 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
17600 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
17604 XGETTEXT
="$ac_cv_path_XGETTEXT"
17605 if test -n "$XGETTEXT"; then
17606 echo "$as_me:17606: result: $XGETTEXT" >&5
17607 echo "${ECHO_T}$XGETTEXT" >&6
17609 echo "$as_me:17609: result: no" >&5
17610 echo "${ECHO_T}no" >&6
17613 USE_INCLUDED_LIBINTL
=yes
17617 INTLDEPS
='$(top_builddir)/intl/libintl.a'
17619 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
17620 nls_cv_header_intl
=intl
/libintl.h
17621 nls_cv_header_libgt
=intl
/libgettext.h
17624 if test "$XGETTEXT" != ":"; then
17625 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
17628 echo "$as_me:17628: result: found xgettext program is not GNU xgettext; ignore it" >&5
17629 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
17634 # We need to process the po/ directory.
17638 nls_cv_header_intl
=intl
/libintl.h
17639 nls_cv_header_libgt
=intl
/libgettext.h
17641 if test -z "$nls_cv_header_intl"; then
17642 # Clean out junk possibly left behind by a previous configuration.
17643 rm -f intl
/libintl.h
17645 ac_config_links
="$ac_config_links $nls_cv_header_intl:$nls_cv_header_libgt"
17647 ac_config_commands
="$ac_config_commands default-3"
17649 # If this is used in GNU gettext we have to set USE_NLS to `yes'
17650 # because some of the sources are only built for this goal.
17651 if test "$PACKAGE" = gettext; then
17653 USE_INCLUDED_LIBINTL
=yes
17656 for lang
in $ALL_LINGUAS; do
17657 GMOFILES
="$GMOFILES $lang.gmo"
17658 POFILES
="$POFILES $lang.po"
17661 if test "x$CATOBJEXT" != "x"; then
17662 if test "x$ALL_LINGUAS" = "x"; then
17665 echo "$as_me:17665: checking for catalogs to be installed" >&5
17666 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
17668 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
17669 case "$ALL_LINGUAS" in
17670 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
17673 LINGUAS
=$NEW_LINGUAS
17674 echo "$as_me:17674: result: $LINGUAS" >&5
17675 echo "${ECHO_T}$LINGUAS" >&6
17678 if test -n "$LINGUAS"; then
17679 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
17683 if test $ac_cv_header_locale_h = yes; then
17684 INCLUDE_LOCALE_H
="#include <locale.h>"
17686 INCLUDE_LOCALE_H
="\
17687 /* The system does not provide the header <locale.h>. Take care yourself. */"
17690 test -d intl || mkdir intl
17691 if test "$CATOBJEXT" = ".cat"; then
17692 echo "$as_me:17692: checking for linux/version.h" >&5
17693 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
17694 if test "${ac_cv_header_linux_version_h+set}" = set; then
17695 echo $ECHO_N "(cached) $ECHO_C" >&6
17697 cat >conftest.
$ac_ext <<_ACEOF
17698 #line 17698 "configure"
17699 #include "confdefs.h"
17700 #include <linux/version.h>
17702 if { (eval echo "$as_me:17702: \"$ac_cpp conftest.$ac_ext\"") >&5
17703 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17705 egrep -v '^ *\+' conftest.er1
>conftest.err
17707 cat conftest.err
>&5
17708 echo "$as_me:17708: \$? = $ac_status" >&5
17709 (exit $ac_status); } >/dev
/null
; then
17710 if test -s conftest.err
; then
17711 ac_cpp_err
=$ac_c_preproc_warn_flag
17718 if test -z "$ac_cpp_err"; then
17719 ac_cv_header_linux_version_h
=yes
17721 echo "$as_me: failed program was:" >&5
17722 cat conftest.
$ac_ext >&5
17723 ac_cv_header_linux_version_h
=no
17725 rm -f conftest.err conftest.
$ac_ext
17727 echo "$as_me:17727: result: $ac_cv_header_linux_version_h" >&5
17728 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
17729 if test $ac_cv_header_linux_version_h = yes; then
17735 sed -e '/^#/d' $srcdir/intl
/$msgformat-msg.
sed > intl
/po2msg.
sed
17737 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
17738 $srcdir/intl
/po2tbl.
sed.
in > intl
/po2tbl.
sed
17740 if test "$PACKAGE" = "gettext"; then
17749 if test -n "$ac_aux_dir"; then
17750 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
17752 if test -z "$MKINSTALLDIRS"; then
17753 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
17758 test -d po || mkdir po
17761 posrcprefix
="../" ;;
17763 posrcprefix
="$srcdir/" ;;
17765 posrcprefix
="../$srcdir/" ;;
17768 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
17769 < $srcdir/po
/POTFILES.
in > po
/POTFILES
17771 # These no-op lines work around a bug in automake 1.4:
17772 # it doesn't recognize the assignments to LIBOBJS in m4/*.m4.
17773 : LIBOBJS
="$LIBOBJS fnmatch.o lstat.o"
17774 : LIBOBJS
="$LIBOBJS malloc.o memcmp.o mktime.o"
17775 : LIBOBJS
="$LIBOBJS realloc.o regex.o stat.o strftime.o"
17777 # This is necessary so that .o files in LIBOBJS are also built via
17778 # the ANSI2KNR-filtering rules.
17779 LIBOBJS
=`echo $LIBOBJS|sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'`
17780 ac_config_files
="$ac_config_files Makefile lib/Makefile lib/posix/Makefile find/Makefile find/testsuite/Makefile xargs/Makefile xargs/testsuite/Makefile locate/Makefile locate/testsuite/Makefile intl/Makefile po/Makefile.in doc/Makefile m4/Makefile"
17781 cat >confcache
<<\_ACEOF
17782 # This file is a shell script that caches the results of configure
17783 # tests run on this system so they can be shared between configure
17784 # scripts and configure runs, see configure's option --config-cache.
17785 # It is not useful on other systems. If it contains results you don't
17786 # want to keep, you may remove or edit it.
17788 # config.status only pays attention to the cache file if you give it
17789 # the --recheck option to rerun configure.
17791 # `ac_cv_env_foo' variables (set or unset) will be overriden when
17792 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17793 # following values.
17797 # The following way of writing the cache mishandles newlines in values,
17798 # but we know of no workaround that is simple, portable, and efficient.
17799 # So, don't put newlines in cache variables' values.
17800 # Ultrix sh set writes to stderr and can't be redirected directly,
17801 # and sets the high bit in the cache file unless we assign to the vars.
17804 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17806 # `set' does not quote correctly, so add quotes (double-quote
17807 # substitution turns \\\\ into \\, and sed turns \\ into \).
17810 s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17813 # `set' quotes correctly as required by POSIX, so do not add quotes.
17815 "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17822 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17824 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17826 if cmp -s $cache_file confcache
; then :; else
17827 if test -w $cache_file; then
17828 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17829 cat confcache
>$cache_file
17831 echo "not updating unwritable cache $cache_file"
17836 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17837 # Let make expand exec_prefix.
17838 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17840 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17841 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
17842 # trailing colons and then remove the whole line if VPATH becomes empty
17843 # (actually we leave an empty line to preserve line numbers).
17844 if test "x$srcdir" = x.
; then
17845 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
17846 s/:*\$(srcdir):*/:/;
17847 s/:*\${srcdir}:*/:/;
17849 s/^\([^=]*=[ ]*\):*/\1/;
17855 DEFS
=-DHAVE_CONFIG_H
17857 : ${CONFIG_STATUS=./config.status}
17858 ac_clean_files_save
=$ac_clean_files
17859 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17860 { echo "$as_me:17860: creating $CONFIG_STATUS" >&5
17861 echo "$as_me: creating $CONFIG_STATUS" >&6;}
17862 cat >$CONFIG_STATUS <<_ACEOF
17864 # Generated automatically by configure.
17865 # Run this file to recreate the current configuration.
17866 # Compiler output produced by configure, useful for debugging
17867 # configure, is in config.log if it exists.
17870 SHELL=\${CONFIG_SHELL-$SHELL}
17871 ac_cs_invocation="\$0 \$@"
17875 cat >>$CONFIG_STATUS <<\_ACEOF
17876 # Be Bourne compatible
17877 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17880 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
17884 # Name of the executable.
17885 as_me
=`echo "$0" |sed 's,.*[\\/],,'`
17887 if expr a
: '\(a\)' >/dev
/null
2>&1; then
17893 rm -f conf$$ conf$$.exe conf$$.
file
17895 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17896 # We could just check for DJGPP; but this test a) works b) is more generic
17897 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
17898 if test -f conf$$.exe
; then
17899 # Don't use ln at all; we don't have any links
17904 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17909 rm -f conf$$ conf$$.exe conf$$.
file
17911 as_executable_p
="test -f"
17913 # Support unset when possible.
17914 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
17921 $as_unset LANG ||
test "${LANG+set}" != set ||
{ LANG
=C
; export LANG
; }
17922 $as_unset LC_ALL ||
test "${LC_ALL+set}" != set ||
{ LC_ALL
=C
; export LC_ALL
; }
17923 $as_unset LC_TIME ||
test "${LC_TIME+set}" != set ||
{ LC_TIME
=C
; export LC_TIME
; }
17924 $as_unset LC_CTYPE ||
test "${LC_CTYPE+set}" != set ||
{ LC_CTYPE
=C
; export LC_CTYPE
; }
17925 $as_unset LANGUAGE ||
test "${LANGUAGE+set}" != set ||
{ LANGUAGE
=C
; export LANGUAGE
; }
17926 $as_unset LC_COLLATE ||
test "${LC_COLLATE+set}" != set ||
{ LC_COLLATE
=C
; export LC_COLLATE
; }
17927 $as_unset LC_NUMERIC ||
test "${LC_NUMERIC+set}" != set ||
{ LC_NUMERIC
=C
; export LC_NUMERIC
; }
17928 $as_unset LC_MESSAGES ||
test "${LC_MESSAGES+set}" != set ||
{ LC_MESSAGES
=C
; export LC_MESSAGES
; }
17931 # We need space, tab and new line, in precisely that order.
17937 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=:; export CDPATH
; }
17943 # Files that config.status was made for.
17944 if test -n "$ac_config_files"; then
17945 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
17948 if test -n "$ac_config_headers"; then
17949 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
17952 if test -n "$ac_config_links"; then
17953 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
17956 if test -n "$ac_config_commands"; then
17957 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
17960 cat >>$CONFIG_STATUS <<\EOF
17963 \`$as_me' instantiates files from templates according to the
17964 current configuration.
17966 Usage: $0 [OPTIONS] [FILE]...
17968 -h, --help print this help, then exit
17969 -V, --version print version number, then exit
17970 -d, --debug don't remove temporary files
17971 --recheck update $as_me by reconfiguring in the same conditions
17972 --file=FILE[:TEMPLATE]
17973 instantiate the configuration file FILE
17974 --header=FILE[:TEMPLATE]
17975 instantiate the configuration header FILE
17977 Configuration files:
17980 Configuration headers:
17983 Configuration links:
17986 Configuration commands:
17989 Report bugs to <bug-autoconf@gnu.org>."
17992 cat >>$CONFIG_STATUS <<EOF
17995 configured by $0, generated by GNU Autoconf 2.49f,
17996 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
17998 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
17999 Free Software Foundation, Inc.
18000 This config.status script is free software; the Free Software Foundation
18001 gives unlimited permission to copy, distribute and modify it."
18006 cat >>$CONFIG_STATUS <<\EOF
18007 # If no file are specified by the user, then we need to provide default
18008 # value. By we need to know if files were specified by the user.
18014 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
18015 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
18017 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
18021 *) # This is not an option, so the user has probably given explicit
18023 ac_need_defaults
=false
;;
18027 # Handling of the options.
18029 cat >>$CONFIG_STATUS <<EOF
18030 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18031 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
18032 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
18034 cat >>$CONFIG_STATUS <<\EOF
18035 --version |
--vers* |
-V )
18036 echo "$ac_cs_version"; exit 0 ;;
18038 # Conflict between --help and --header
18039 { { echo "$as_me:18039: error: ambiguous option: $1
18040 Try \`$0 --help' for more information." >&5
18041 echo "$as_me: error: ambiguous option: $1
18042 Try \`$0 --help' for more information." >&2;}
18043 { (exit 1); exit 1; }; };;
18044 --help |
--hel |
-h )
18045 echo "$ac_cs_usage"; exit 0 ;;
18046 --debug |
--d* |
-d )
18048 --file |
--fil |
--fi |
--f )
18050 CONFIG_FILES
="$CONFIG_FILES $1"
18051 ac_need_defaults
=false
;;
18052 --header |
--heade |
--head |
--hea )
18054 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
18055 ac_need_defaults
=false
;;
18057 # Handling of arguments.
18058 'Makefile' ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
18059 'lib/Makefile' ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
18060 'lib/posix/Makefile' ) CONFIG_FILES
="$CONFIG_FILES lib/posix/Makefile" ;;
18061 'find/Makefile' ) CONFIG_FILES
="$CONFIG_FILES find/Makefile" ;;
18062 'find/testsuite/Makefile' ) CONFIG_FILES
="$CONFIG_FILES find/testsuite/Makefile" ;;
18063 'xargs/Makefile' ) CONFIG_FILES
="$CONFIG_FILES xargs/Makefile" ;;
18064 'xargs/testsuite/Makefile' ) CONFIG_FILES
="$CONFIG_FILES xargs/testsuite/Makefile" ;;
18065 'locate/Makefile' ) CONFIG_FILES
="$CONFIG_FILES locate/Makefile" ;;
18066 'locate/testsuite/Makefile' ) CONFIG_FILES
="$CONFIG_FILES locate/testsuite/Makefile" ;;
18067 'intl/Makefile' ) CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
18068 'po/Makefile.in' ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
18069 'doc/Makefile' ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
18070 'm4/Makefile' ) CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
18071 '$nls_cv_header_intl' ) CONFIG_LINKS
="$CONFIG_LINKS $nls_cv_header_intl:$nls_cv_header_libgt" ;;
18072 'default-1' ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
18073 'default-2' ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-2" ;;
18074 'default-3' ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-3" ;;
18075 'config.h' ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
18077 # This is an error.
18078 -*) { { echo "$as_me:18078: error: unrecognized option: $1
18079 Try \`$0 --help' for more information." >&5
18080 echo "$as_me: error: unrecognized option: $1
18081 Try \`$0 --help' for more information." >&2;}
18082 { (exit 1); exit 1; }; } ;;
18083 *) { { echo "$as_me:18083: error: invalid argument: $1" >&5
18084 echo "$as_me: error: invalid argument: $1" >&2;}
18085 { (exit 1); exit 1; }; };;
18093 ## ----------------------- ##
18094 ## Running config.status. ##
18095 ## ----------------------- ##
18097 This file was extended by $as_me 2.49f, executed with
18098 > $ac_cs_invocation
18099 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18104 cat >>$CONFIG_STATUS <<\EOF
18105 # If the user did not use the arguments to specify the items to instantiate,
18106 # then the envvar interface is used. Set only those that are not.
18107 # We use the long form for the default assignment because of an extremely
18108 # bizarre bug on SunOS 4.1.3.
18109 if $ac_need_defaults; then
18110 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18111 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18112 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18113 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18116 # Create a temporary directory, and hook for its removal unless debugging.
18119 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
18120 trap '{ (exit $?); exit $?; }' 1 2 13 15
18123 # Create a (secure) tmp directory for tmp files.
18126 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
18127 test -n "$tmp" && test -d "$tmp"
18130 tmp
=$TMPDIR/cs$$
-$RANDOM
18131 (umask 077 && mkdir
$tmp)
18134 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
18135 { (exit 1); exit 1; }
18140 cat >>$CONFIG_STATUS <<EOF
18142 # INIT-COMMANDS section.
18146 for am_file in config.h; do
18147 case " $CONFIG_HEADERS " in
18149 echo timestamp > `echo $am_file | sed 's%:.*%%;s%[^/]*$%%'`stamp-h$am_indx
18152 am_indx=\`expr \$am_indx + 1\`
18155 ac_aux_dir="$ac_aux_dir"
18159 cat >>$CONFIG_STATUS <<EOF
18162 # CONFIG_FILES section.
18165 # No need to generate the scripts if there are no CONFIG_FILES.
18166 # This happens for instance when ./config.status config.h
18167 if test -n "\$CONFIG_FILES"; then
18168 # Protect against being on the right side of a sed subst in config.status.
18169 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
18170 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
18171 s,@SHELL@,$SHELL,;t t
18172 s,@exec_prefix@,$exec_prefix,;t t
18173 s,@prefix@,$prefix,;t t
18174 s,@program_transform_name@,$program_transform_name,;t t
18175 s,@bindir@,$bindir,;t t
18176 s,@sbindir@,$sbindir,;t t
18177 s,@libexecdir@,$libexecdir,;t t
18178 s,@datadir@,$datadir,;t t
18179 s,@sysconfdir@,$sysconfdir,;t t
18180 s,@sharedstatedir@,$sharedstatedir,;t t
18181 s,@localstatedir@,$localstatedir,;t t
18182 s,@libdir@,$libdir,;t t
18183 s,@includedir@,$includedir,;t t
18184 s,@oldincludedir@,$oldincludedir,;t t
18185 s,@infodir@,$infodir,;t t
18186 s,@mandir@,$mandir,;t t
18187 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
18188 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
18189 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
18190 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
18191 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
18192 s,@ECHO_C@,$ECHO_C,;t t
18193 s,@ECHO_N@,$ECHO_N,;t t
18194 s,@ECHO_T@,$ECHO_T,;t t
18195 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
18196 s,@DEFS@,$DEFS,;t t
18197 s,@LIBS@,$LIBS,;t t
18198 s,@build@,$build,;t t
18199 s,@build_cpu@,$build_cpu,;t t
18200 s,@build_vendor@,$build_vendor,;t t
18201 s,@build_os@,$build_os,;t t
18202 s,@host@,$host,;t t
18203 s,@host_cpu@,$host_cpu,;t t
18204 s,@host_vendor@,$host_vendor,;t t
18205 s,@host_os@,$host_os,;t t
18206 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
18207 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
18208 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
18209 s,@PACKAGE@,$PACKAGE,;t t
18210 s,@VERSION@,$VERSION,;t t
18211 s,@ACLOCAL@,$ACLOCAL,;t t
18212 s,@AUTOCONF@,$AUTOCONF,;t t
18213 s,@AUTOMAKE@,$AUTOMAKE,;t t
18214 s,@AUTOHEADER@,$AUTOHEADER,;t t
18215 s,@MAKEINFO@,$MAKEINFO,;t t
18216 s,@AMTAR@,$AMTAR,;t t
18217 s,@install_sh@,$install_sh,;t t
18219 s,@SET_MAKE@,$SET_MAKE,;t t
18220 s,@AMDEP@,$AMDEP,;t t
18221 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
18222 s,@DEPDIR@,$DEPDIR,;t t
18223 s,@INCLUDES@,$INCLUDES,;t t
18225 s,@CFLAGS@,$CFLAGS,;t t
18226 s,@LDFLAGS@,$LDFLAGS,;t t
18227 s,@CPPFLAGS@,$CPPFLAGS,;t t
18228 s,@ac_ct_CC@,$ac_ct_CC,;t t
18229 s,@EXEEXT@,$EXEEXT,;t t
18230 s,@OBJEXT@,$OBJEXT,;t t
18232 s,@_am_include@,$_am_include,;t t
18233 s,@CCDEPMODE@,$CCDEPMODE,;t t
18235 s,@ANSI2KNR@,$ANSI2KNR,;t t
18236 s,@RANLIB@,$RANLIB,;t t
18237 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
18238 s,@LIBOBJS@,$LIBOBJS,;t t
18239 s,@GNU_PACKAGE@,$GNU_PACKAGE,;t t
18240 s,@OPTIONAL_BIN_PROGS@,$OPTIONAL_BIN_PROGS,;t t
18241 s,@OPTIONAL_BIN_ZCRIPTS@,$OPTIONAL_BIN_ZCRIPTS,;t t
18243 s,@DF_PROG@,$DF_PROG,;t t
18244 s,@ALLOCA@,$ALLOCA,;t t
18245 s,@GLIBC21@,$GLIBC21,;t t
18246 s,@LIBICONV@,$LIBICONV,;t t
18247 s,@USE_NLS@,$USE_NLS,;t t
18248 s,@MSGFMT@,$MSGFMT,;t t
18249 s,@GMSGFMT@,$GMSGFMT,;t t
18250 s,@XGETTEXT@,$XGETTEXT,;t t
18251 s,@GENCAT@,$GENCAT,;t t
18252 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
18253 s,@CATALOGS@,$CATALOGS,;t t
18254 s,@CATOBJEXT@,$CATOBJEXT,;t t
18255 s,@DATADIRNAME@,$DATADIRNAME,;t t
18256 s,@GMOFILES@,$GMOFILES,;t t
18257 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
18258 s,@INTLDEPS@,$INTLDEPS,;t t
18259 s,@INTLLIBS@,$INTLLIBS,;t t
18260 s,@INTLOBJS@,$INTLOBJS,;t t
18261 s,@POFILES@,$POFILES,;t t
18262 s,@POSUB@,$POSUB,;t t
18263 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
18264 s,@GT_NO@,$GT_NO,;t t
18265 s,@GT_YES@,$GT_YES,;t t
18266 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
18272 cat >>$CONFIG_STATUS <<\EOF
18273 # Split the substitutions into bite-sized pieces for seds with
18274 # small command number limits, like on Digital OSF/1 and HP-UX.
18275 ac_max_sed_lines
=48
18276 ac_sed_frag
=1 # Number of current file.
18277 ac_beg
=1 # First line for current file.
18278 ac_end
=$ac_max_sed_lines # Line after last line for current file.
18281 while $ac_more_lines; do
18282 if test $ac_beg -gt 1; then
18283 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
18285 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
18287 if test ! -s $tmp/subs.frag
; then
18288 ac_more_lines
=false
18290 # The purpose of the label and of the branching condition is to
18291 # speed up the sed processing (if there are no `@' at all, there
18292 # is no need to browse any of the substitutions).
18293 # These are the two extra sed commands mentioned above.
18295 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
18296 if test -z "$ac_sed_cmds"; then
18297 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
18299 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
18301 ac_sed_frag
=`expr $ac_sed_frag + 1`
18303 ac_end
=`expr $ac_end + $ac_max_sed_lines`
18306 if test -z "$ac_sed_cmds"; then
18309 fi # test -n "$CONFIG_FILES"
18312 cat >>$CONFIG_STATUS <<\EOF
18313 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
18314 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18316 - |
*:- |
*:-:* ) # input from stdin
18318 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18319 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18320 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18321 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18322 * ) ac_file_in
=$ac_file.
in ;;
18325 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
18326 ac_dir
=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18327 X"$ac_file" : 'X\(//\)[^/]' \| \
18328 X"$ac_file" : 'X\(//\)$' \| \
18329 X"$ac_file" : 'X\(/\)' \| \
18330 . : '\(.\)' 2>/dev/null ||
18332 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18333 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18334 /^X\(\/\/\)$/{ s//\1/; q; }
18335 /^X\(\/\).*/{ s//\1/; q; }
18337 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
18338 { case "$ac_dir" in
18339 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
18343 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
18344 case $as_mkdir_dir in
18345 # Skip DOS drivespec
18346 ?
:) as_incr_dir
=$as_mkdir_dir ;;
18348 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
18349 test -d "$as_incr_dir" || mkdir
"$as_incr_dir"
18354 ac_dir_suffix
="/`echo $ac_dir|sed 's,^\./,,'`"
18355 # A "../" for each directory in $ac_dir_suffix.
18356 ac_dots
=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
18358 ac_dir_suffix
= ac_dots
=
18363 if test -z "$ac_dots"; then
18366 ac_top_srcdir
=`echo $ac_dots | sed 's,/$,,'`
18368 [\\/]* | ?
:[\\/]* )
18369 ac_srcdir
=$srcdir$ac_dir_suffix;
18370 ac_top_srcdir
=$srcdir ;;
18371 *) # Relative path.
18372 ac_srcdir
=$ac_dots$srcdir$ac_dir_suffix
18373 ac_top_srcdir
=$ac_dots$srcdir ;;
18377 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18378 *) ac_INSTALL
=$ac_dots$INSTALL ;;
18381 if test x
"$ac_file" != x-
; then
18382 { echo "$as_me:18382: creating $ac_file" >&5
18383 echo "$as_me: creating $ac_file" >&6;}
18386 # Let's still pretend it is `configure' which instantiates (i.e., don't
18387 # use $as_me), people would be surprised to read:
18388 # /* config.h. Generated automatically by config.status. */
18389 configure_input
="Generated automatically from `echo $ac_file_in |
18390 sed 's,.*/,,'` by configure."
18392 # First look for the input files in the build tree, otherwise in the
18394 ac_file_inputs
=`IFS=:
18395 for f in $ac_file_in; do
18397 -) echo $tmp/stdin ;;
18399 # Absolute (can't be DOS-style, as IFS=:)
18400 test -f "$f" || { { echo "$as_me:18400: error: cannot find input file: $f" >&5
18401 echo "$as_me: error: cannot find input file: $f" >&2;}
18402 { (exit 1); exit 1; }; }
18405 if test -f "$f"; then
18408 elif test -f "$srcdir/$f"; then
18413 { { echo "$as_me:18413: error: cannot find input file: $f" >&5
18414 echo "$as_me: error: cannot find input file: $f" >&2;}
18415 { (exit 1); exit 1; }; }
18418 done` ||
{ (exit 1); exit 1; }
18420 cat >>$CONFIG_STATUS <<EOF
18424 cat >>$CONFIG_STATUS <<\EOF
18426 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18427 s
,@configure_input@
,$configure_input,;t t
18428 s
,@srcdir@
,$ac_srcdir,;t t
18429 s
,@top_srcdir@
,$ac_top_srcdir,;t t
18430 s
,@INSTALL@
,$ac_INSTALL,;t t
18431 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
18433 if test x"$ac_file" != x-; then
18434 mv $tmp/out $ac_file
18442 cat >>$CONFIG_STATUS <<\EOF
18445 # CONFIG_HEADER section.
18448 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
18449 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18451 # ac_d sets the value in "#define NAME VALUE" lines.
18452 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18453 ac_dB
='[ ].*$,\1#\2'
18456 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18457 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18458 ac_uB
='$,\1#\2define\3'
18462 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
18463 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18465 - |
*:- |
*:-:* ) # input from stdin
18467 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18468 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18469 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18470 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18471 * ) ac_file_in
=$ac_file.
in ;;
18474 test x
"$ac_file" != x-
&& { echo "$as_me:18474: creating $ac_file" >&5
18475 echo "$as_me: creating $ac_file" >&6;}
18477 # First look for the input files in the build tree, otherwise in the
18479 ac_file_inputs
=`IFS=:
18480 for f in $ac_file_in; do
18482 -) echo $tmp/stdin ;;
18484 # Absolute (can't be DOS-style, as IFS=:)
18485 test -f "$f" || { { echo "$as_me:18485: error: cannot find input file: $f" >&5
18486 echo "$as_me: error: cannot find input file: $f" >&2;}
18487 { (exit 1); exit 1; }; }
18490 if test -f "$f"; then
18493 elif test -f "$srcdir/$f"; then
18498 { { echo "$as_me:18498: error: cannot find input file: $f" >&5
18499 echo "$as_me: error: cannot find input file: $f" >&2;}
18500 { (exit 1); exit 1; }; }
18503 done` ||
{ (exit 1); exit 1; }
18504 # Remove the trailing spaces.
18505 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
18509 # Transform confdefs.h into two sed scripts, `conftest.defines' and
18510 # `conftest.undefs', that substitutes the proper values into
18511 # config.h.in to produce config.h. The first handles `#define'
18512 # templates, and the second `#undef' templates.
18513 # And first: Protect against being on the right side of a sed subst in
18514 # config.status. Protect against being in an unquoted here document
18515 # in config.status.
18516 rm -f conftest.defines conftest.undefs
18517 # Using a here document instead of a string reduces the quoting nightmare.
18518 # Putting comments in sed scripts is not portable.
18520 # `end' is used to avoid that the second main sed command (meant for
18521 # 0-ary CPP macros) applies to n-ary macro definitions.
18522 # See the Autoconf documentation for `clear'.
18523 cat >confdef2sed.
sed <<\EOF
18528 s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
18530 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
18533 # If some macros were called several times there might be several times
18534 # the same #defines, which is useless. Nevertheless, we may not want to
18535 # sort them, since we want the *last* AC-DEFINE to be honored.
18536 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
18537 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
18538 rm -f confdef2sed.sed
18540 # This sed command replaces #undef with comments. This is necessary, for
18541 # example, in the case of _POSIX_SOURCE, which is predefined and required
18542 # on some systems where configure will not decide to define it.
18543 cat >>conftest.undefs <<\EOF
18544 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
18547 # Break up conftest.defines because some shells have a limit on the size
18548 # of here documents, and old seds have small limits too (100 cmds).
18549 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
18550 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
18551 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
18552 echo ' :' >>$CONFIG_STATUS
18553 rm -f conftest.tail
18554 while grep . conftest.defines >/dev/null
18556 # Write a limited-size here document to $tmp/defines.sed.
18557 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
18558 # Speed up: don't consider the non `#define' lines.
18559 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
18560 # Work around the forget-to-reset-the-flag bug.
18561 echo 't clr' >>$CONFIG_STATUS
18562 echo ': clr' >>$CONFIG_STATUS
18563 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
18565 sed -f $tmp/defines.sed $tmp/in >$tmp/out
18567 mv $tmp/out $tmp/in
18569 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
18570 rm -f conftest.defines
18571 mv conftest.
tail conftest.defines
18573 rm -f conftest.defines
18574 echo ' fi # egrep' >>$CONFIG_STATUS
18575 echo >>$CONFIG_STATUS
18577 # Break up conftest.undefs because some shells have a limit on the size
18578 # of here documents, and old seds have small limits too (100 cmds).
18579 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
18580 rm -f conftest.
tail
18581 while grep . conftest.undefs
>/dev
/null
18583 # Write a limited-size here document to $tmp/undefs.sed.
18584 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
18585 # Speed up: don't consider the non
`#undef'
18586 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
18587 # Work around the forget-to-reset-the-flag bug.
18588 echo 't clr' >>$CONFIG_STATUS
18589 echo ': clr' >>$CONFIG_STATUS
18590 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
18592 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
18594 mv $tmp/out $tmp/in
18596 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
18597 rm -f conftest.undefs
18598 mv conftest.tail conftest.undefs
18600 rm -f conftest.undefs
18602 cat >>$CONFIG_STATUS <<\EOF
18603 # Let's still pretend it is `configure
' which instantiates (i.e., don't
18604 # use $as_me), people would be surprised to read:
18605 # /* config.h. Generated automatically by config.status. */
18606 if test x
"$ac_file" = x-
; then
18607 echo "/* Generated automatically by configure. */" >$tmp/config.h
18609 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
18611 cat $tmp/in >>$tmp/config.h
18613 if test x
"$ac_file" != x-
; then
18614 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
18615 { echo "$as_me:18615: $ac_file is unchanged" >&5
18616 echo "$as_me: $ac_file is unchanged" >&6;}
18618 ac_dir
=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18619 X"$ac_file" : 'X\(//\)[^/]' \| \
18620 X"$ac_file" : 'X\(//\)$' \| \
18621 X"$ac_file" : 'X\(/\)' \| \
18622 . : '\(.\)' 2>/dev/null ||
18624 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18625 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18626 /^X\(\/\/\)$/{ s//\1/; q; }
18627 /^X\(\/\).*/{ s//\1/; q; }
18629 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
18630 { case "$ac_dir" in
18631 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
18635 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
18636 case $as_mkdir_dir in
18637 # Skip DOS drivespec
18638 ?
:) as_incr_dir
=$as_mkdir_dir ;;
18640 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
18641 test -d "$as_incr_dir" || mkdir
"$as_incr_dir"
18648 mv $tmp/config.h
$ac_file
18652 rm -f $tmp/config.h
18656 cat >>$CONFIG_STATUS <<\EOF
18659 # CONFIG_LINKS section.
18662 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
18663 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
18664 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18666 { echo "$as_me:18666: linking $srcdir/$ac_source to $ac_dest" >&5
18667 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
18669 if test ! -r $srcdir/$ac_source; then
18670 { { echo "$as_me:18670: error: $srcdir/$ac_source: File not found" >&5
18671 echo "$as_me: error: $srcdir/$ac_source: File not found" >&2;}
18672 { (exit 1); exit 1; }; }
18676 # Make relative symlinks.
18677 ac_dest_dir
=`$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18678 X"$ac_dest" : 'X\(//\)[^/]' \| \
18679 X"$ac_dest" : 'X\(//\)$' \| \
18680 X"$ac_dest" : 'X\(/\)' \| \
18681 . : '\(.\)' 2>/dev/null ||
18683 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18684 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18685 /^X\(\/\/\)$/{ s//\1/; q; }
18686 /^X\(\/\).*/{ s//\1/; q; }
18688 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .
; then
18689 { case "$ac_dest_dir" in
18690 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
18693 as_dummy
="$ac_dest_dir"
18694 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
18695 case $as_mkdir_dir in
18696 # Skip DOS drivespec
18697 ?
:) as_incr_dir
=$as_mkdir_dir ;;
18699 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
18700 test -d "$as_incr_dir" || mkdir
"$as_incr_dir"
18705 ac_dest_dir_suffix
="/`echo $ac_dest_dir|sed 's,^\./,,'`"
18706 # A "../" for each directory in $ac_dest_dir_suffix.
18707 ac_dots
=`echo $ac_dest_dir_suffix|sed 's,/[^/]*,../,g'`
18709 ac_dest_dir_suffix
= ac_dots
=
18713 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
18714 *) ac_rel_source
=$ac_dots$srcdir/$ac_source ;;
18717 # Make a symlink if possible; otherwise try a hard link.
18718 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
18719 ln $srcdir/$ac_source $ac_dest ||
18720 { { echo "$as_me:18720: error: cannot link $ac_dest to $srcdir/$ac_source" >&5
18721 echo "$as_me: error: cannot link $ac_dest to $srcdir/$ac_source" >&2;}
18722 { (exit 1); exit 1; }; }
18725 cat >>$CONFIG_STATUS <<\EOF
18728 # CONFIG_COMMANDS section.
18730 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
18731 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
18732 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18735 default-1
) test -z "$CONFIG_HEADERS" ||
echo timestamp
> stamp-h
;;
18737 test x
"$AMDEP" != x
"" ||
18738 for mf
in $CONFIG_FILES; do
18740 Makefile
) dirpart
=.
;;
18741 */Makefile
) dirpart
=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
18744 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
18745 # Extract the definition of DEP_FILES from the Makefile without
18747 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
18748 test -z "$DEPDIR" && continue
18749 # When using ansi2knr, U may be empty or an underscore; expand it
18750 U
=`sed -n -e '/^U = / s///p' < "$mf"`
18751 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
18752 # We invoke sed twice because it is the simplest approach to
18753 # changing $(DEPDIR) to its actual value in the expansion.
18754 for file in `sed -n -e '
18755 /^DEP_FILES = .*\\\\$/ {
18764 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
18765 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18766 # Make sure the directory exists.
18767 test -f "$dirpart/$file" && continue
18768 fdir
=`echo "$file" | sed -e 's|/[^/]*$||'`
18769 $ac_aux_dir/mkinstalldirs
"$dirpart/$fdir" > /dev
/null
2>&1
18770 # echo "creating $dirpart/$file"
18771 echo '# dummy' > "$dirpart/$file"
18775 default-3
) case "$CONFIG_FILES" in *po
/Makefile.
in*)
18776 sed -e "/POTFILES =/r po/POTFILES" po
/Makefile.
in > po
/Makefile
18782 cat >>$CONFIG_STATUS <<\EOF
18784 { (exit 0); exit 0; }
18786 chmod +x
$CONFIG_STATUS
18787 ac_clean_files
=$ac_clean_files_save
18789 # configure is writing to config.log, and then calls config.status.
18790 # config.status does its own redirection, appending to config.log.
18791 # Unfortunately, on DOS this fails, as config.log is still kept open
18792 # by configure, so config.status won't be able to write to it; its
18793 # output is simply discarded. So we exec the FD to /dev/null,
18794 # effectively closing config.log, so it can be properly (re)opened and
18795 # appended to by config.status. When coming back to configure, we
18796 # need to make the FD available again.
18797 if test "$no_create" != yes; then
18800 $SHELL $CONFIG_STATUS || ac_cs_success
=false
18802 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18803 # would make configure fail if this is the last instruction.
18804 $ac_cs_success ||
{ (exit 1); exit 1; }