2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="query-loc.c"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CPP EGREP LOC_NTOA LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
836 if test -n "$ac_init_help"; then
840 Some influential environment variables
:
841 CC C compiler
command
842 CFLAGS C compiler flags
843 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
844 nonstandard directory
<lib dir
>
845 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
846 headers
in a nonstandard directory
<include dir
>
849 Use these variables to override the choices made by
`configure' or to help
850 it to find libraries and programs with nonstandard names/locations.
855 if test "$ac_init_help" = "recursive"; then
856 # If there are subdirs, report their specific --help.
858 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
859 test -d $ac_dir || continue
862 if test "$ac_dir" != .; then
863 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
864 # A "../" for each directory in $ac_dir_suffix.
865 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
867 ac_dir_suffix= ac_top_builddir=
871 .) # No --srcdir option. We are building in place.
873 if test -z "$ac_top_builddir"; then
876 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
878 [\\/]* | ?:[\\/]* ) # Absolute path.
879 ac_srcdir=$srcdir$ac_dir_suffix;
880 ac_top_srcdir=$srcdir ;;
882 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
883 ac_top_srcdir=$ac_top_builddir$srcdir ;;
886 # Do not use `cd foo
&& pwd` to compute absolute paths, because
887 # the directories may not exist.
889 .) ac_abs_builddir="$ac_dir";;
892 .) ac_abs_builddir=`pwd`;;
893 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
894 *) ac_abs_builddir=`pwd`/"$ac_dir";;
897 case $ac_abs_builddir in
898 .) ac_abs_top_builddir=${ac_top_builddir}.;;
900 case ${ac_top_builddir}. in
901 .) ac_abs_top_builddir=$ac_abs_builddir;;
902 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
903 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
906 case $ac_abs_builddir in
907 .) ac_abs_srcdir=$ac_srcdir;;
910 .) ac_abs_srcdir=$ac_abs_builddir;;
911 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
912 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
915 case $ac_abs_builddir in
916 .) ac_abs_top_srcdir=$ac_top_srcdir;;
918 case $ac_top_srcdir in
919 .) ac_abs_top_srcdir=$ac_abs_builddir;;
920 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
921 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
926 # Check for guested configure; otherwise get Cygnus style configure.
927 if test -f $ac_srcdir/configure.gnu; then
929 $SHELL $ac_srcdir/configure.gnu --help=recursive
930 elif test -f $ac_srcdir/configure; then
932 $SHELL $ac_srcdir/configure --help=recursive
933 elif test -f $ac_srcdir/configure.ac ||
934 test -f $ac_srcdir/configure.in; then
938 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
944 test -n "$ac_init_help" && exit 0
945 if $ac_init_version; then
948 Copyright (C) 2003 Free Software Foundation, Inc.
949 This configure script is free software; the Free Software Foundation
950 gives unlimited permission to copy, distribute and modify it.
956 This file contains any messages produced by compilers while
957 running configure, to aid debugging if configure makes a mistake.
959 It was created by $as_me, which was
960 generated by GNU Autoconf 2.59. Invocation command line was
971 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
972 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
973 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
974 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
975 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
977 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
978 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
980 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
981 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
982 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
983 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
984 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
985 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
986 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
994 test -z "$as_dir" && as_dir=.
1010 # Keep a trace of the command line.
1011 # Strip out --no-create and --no-recursion so they do not pile up.
1012 # Strip out --silent because we don't want to record it for future runs.
1013 # Also quote any args containing shell meta-characters.
1014 # Make two passes to allow for proper duplicate-argument suppression.
1019 ac_must_keep_next=false
1025 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1026 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1027 | -silent | --silent | --silen | --sile | --sil)
1029 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1030 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1033 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1035 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1036 if test $ac_must_keep_next = true; then
1037 ac_must_keep_next=false # Got value, back to normal.
1040 *=* | --config-cache | -C | -disable-* | --disable-* \
1041 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1042 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1043 | -with-* | --with-* | -without-* | --without-* | --x)
1044 case "$ac_configure_args0 " in
1045 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1048 -* ) ac_must_keep_next=true ;;
1051 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1052 # Get rid of the leading space.
1058 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1059 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1061 # When interrupted or exit'd, cleanup temporary files, and complete
1062 # config.log. We remove comments because anyway the quotes in there
1063 # would cause problems or look ugly.
1064 # WARNING: Be sure not to use single quotes in there, as some shells,
1065 # such as our DU 5.0 friend, will then `close
' the trap.
1066 trap 'exit_status
=$?
1067 # Save into config.log some information that might help in debugging.
1072 ## ---------------- ##
1073 ## Cache variables. ##
1074 ## ---------------- ##
1077 # The following way of writing the cache mishandles newlines in values,
1080 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1083 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1084 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1088 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1095 ## ----------------- ##
1096 ## Output variables. ##
1097 ## ----------------- ##
1100 for ac_var
in $ac_subst_vars
1102 eval ac_val
=$
`echo $ac_var`
1103 echo "$ac_var='"'"'$ac_val'"'"'"
1107 if test -n "$ac_subst_files"; then
1114 for ac_var
in $ac_subst_files
1116 eval ac_val
=$
`echo $ac_var`
1117 echo "$ac_var='"'"'$ac_val'"'"'"
1122 if test -s confdefs.h
; then
1129 sed "/^$/d" confdefs.h |
sort
1132 test "$ac_signal" != 0 &&
1133 echo "$as_me: caught signal $ac_signal"
1134 echo "$as_me: exit $exit_status"
1136 rm -f core
*.core
&&
1137 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1140 for ac_signal in 1 2 13 15; do
1141 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1145 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1146 rm -rf conftest* confdefs.h
1147 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1150 # Predefined preprocessor variables.
1152 cat >>confdefs.h <<_ACEOF
1153 #define PACKAGE_NAME "$PACKAGE_NAME"
1157 cat >>confdefs.h <<_ACEOF
1158 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1162 cat >>confdefs.h <<_ACEOF
1163 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1167 cat >>confdefs.h <<_ACEOF
1168 #define PACKAGE_STRING "$PACKAGE_STRING"
1172 cat >>confdefs.h <<_ACEOF
1173 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1177 # Let the site file select an alternate cache file if it wants to.
1178 # Prefer explicitly selected file to automatically selected ones.
1179 if test -z "$CONFIG_SITE"; then
1180 if test "x$prefix" != xNONE; then
1181 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1183 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1186 for ac_site_file in $CONFIG_SITE; do
1187 if test -r "$ac_site_file"; then
1188 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1189 echo "$as_me: loading site script $ac_site_file" >&6;}
1190 sed 's
/^
/|
/' "$ac_site_file" >&5
1195 if test -r "$cache_file"; then
1196 # Some versions of bash will fail to source /dev/null (special
1197 # files actually), so we avoid doing that.
1198 if test -f "$cache_file"; then
1199 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1200 echo "$as_me: loading cache $cache_file" >&6;}
1202 [\\/]* | ?:[\\/]* ) . $cache_file;;
1203 *) . ./$cache_file;;
1207 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1208 echo "$as_me: creating cache $cache_file" >&6;}
1212 # Check that the precious variables saved in the cache have kept the same
1214 ac_cache_corrupted=false
1215 for ac_var in `(set) 2>&1 |
1216 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1217 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1218 eval ac_new_set=\$ac_env_${ac_var}_set
1219 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1220 eval ac_new_val="\$ac_env_${ac_var}_value"
1221 case $ac_old_set,$ac_new_set in
1223 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1224 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1225 ac_cache_corrupted=: ;;
1227 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1228 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1229 ac_cache_corrupted=: ;;
1232 if test "x$ac_old_val" != "x$ac_new_val"; then
1233 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1234 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1235 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1236 echo "$as_me: former value: $ac_old_val" >&2;}
1237 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1238 echo "$as_me: current value: $ac_new_val" >&2;}
1239 ac_cache_corrupted=:
1242 # Pass precious variables to config.status.
1243 if test "$ac_new_set" = set; then
1245 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1246 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1247 *) ac_arg=$ac_var=$ac_new_val ;;
1249 case " $ac_configure_args " in
1250 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1251 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1255 if $ac_cache_corrupted; then
1256 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1257 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1258 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1259 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1260 { (exit 1); exit 1; }; }
1264 ac_cpp='$CPP $CPPFLAGS'
1265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1266 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1289 ac_cpp='$CPP $CPPFLAGS'
1290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1291 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1293 if test -n "$ac_tool_prefix"; then
1294 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1295 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1296 echo "$as_me:$LINENO: checking for $ac_word" >&5
1297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1298 if test "${ac_cv_prog_CC+set}" = set; then
1299 echo $ECHO_N "(cached) $ECHO_C" >&6
1301 if test -n "$CC"; then
1302 ac_cv_prog_CC="$CC" # Let the user override the test.
1304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1308 test -z "$as_dir" && as_dir=.
1309 for ac_exec_ext in '' $ac_executable_extensions; do
1310 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1311 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1321 if test -n "$CC"; then
1322 echo "$as_me:$LINENO: result: $CC" >&5
1323 echo "${ECHO_T}$CC" >&6
1325 echo "$as_me:$LINENO: result: no" >&5
1326 echo "${ECHO_T}no" >&6
1330 if test -z "$ac_cv_prog_CC"; then
1332 # Extract the first word of "gcc", so it can be a program name with args.
1333 set dummy gcc; ac_word=$2
1334 echo "$as_me:$LINENO: checking for $ac_word" >&5
1335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1336 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1337 echo $ECHO_N "(cached) $ECHO_C" >&6
1339 if test -n "$ac_ct_CC"; then
1340 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1346 test -z "$as_dir" && as_dir=.
1347 for ac_exec_ext in '' $ac_executable_extensions; do
1348 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1349 ac_cv_prog_ac_ct_CC="gcc"
1350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1358 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1359 if test -n "$ac_ct_CC"; then
1360 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1361 echo "${ECHO_T}$ac_ct_CC" >&6
1363 echo "$as_me:$LINENO: result: no" >&5
1364 echo "${ECHO_T}no" >&6
1372 if test -z "$CC"; then
1373 if test -n "$ac_tool_prefix"; then
1374 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1375 set dummy ${ac_tool_prefix}cc; ac_word=$2
1376 echo "$as_me:$LINENO: checking for $ac_word" >&5
1377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1378 if test "${ac_cv_prog_CC+set}" = set; then
1379 echo $ECHO_N "(cached) $ECHO_C" >&6
1381 if test -n "$CC"; then
1382 ac_cv_prog_CC="$CC" # Let the user override the test.
1384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1388 test -z "$as_dir" && as_dir=.
1389 for ac_exec_ext in '' $ac_executable_extensions; do
1390 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1391 ac_cv_prog_CC="${ac_tool_prefix}cc"
1392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1401 if test -n "$CC"; then
1402 echo "$as_me:$LINENO: result: $CC" >&5
1403 echo "${ECHO_T}$CC" >&6
1405 echo "$as_me:$LINENO: result: no" >&5
1406 echo "${ECHO_T}no" >&6
1410 if test -z "$ac_cv_prog_CC"; then
1412 # Extract the first word of "cc", so it can be a program name with args.
1413 set dummy cc; ac_word=$2
1414 echo "$as_me:$LINENO: checking for $ac_word" >&5
1415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1416 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1417 echo $ECHO_N "(cached) $ECHO_C" >&6
1419 if test -n "$ac_ct_CC"; then
1420 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1426 test -z "$as_dir" && as_dir=.
1427 for ac_exec_ext in '' $ac_executable_extensions; do
1428 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1429 ac_cv_prog_ac_ct_CC="cc"
1430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1438 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1439 if test -n "$ac_ct_CC"; then
1440 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1441 echo "${ECHO_T}$ac_ct_CC" >&6
1443 echo "$as_me:$LINENO: result: no" >&5
1444 echo "${ECHO_T}no" >&6
1453 if test -z "$CC"; then
1454 # Extract the first word of "cc", so it can be a program name with args.
1455 set dummy cc; ac_word=$2
1456 echo "$as_me:$LINENO: checking for $ac_word" >&5
1457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1458 if test "${ac_cv_prog_CC+set}" = set; then
1459 echo $ECHO_N "(cached) $ECHO_C" >&6
1461 if test -n "$CC"; then
1462 ac_cv_prog_CC="$CC" # Let the user override the test.
1465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1469 test -z "$as_dir" && as_dir=.
1470 for ac_exec_ext in '' $ac_executable_extensions; do
1471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1472 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1473 ac_prog_rejected=yes
1477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1483 if test $ac_prog_rejected = yes; then
1484 # We found a bogon in the path, so make sure we never use it.
1485 set dummy $ac_cv_prog_CC
1487 if test $# != 0; then
1488 # We chose a different compiler from the bogus one.
1489 # However, it has the same basename, so the bogon will be chosen
1490 # first if we set CC to just the basename; use the full file name.
1492 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1498 if test -n "$CC"; then
1499 echo "$as_me:$LINENO: result: $CC" >&5
1500 echo "${ECHO_T}$CC" >&6
1502 echo "$as_me:$LINENO: result: no" >&5
1503 echo "${ECHO_T}no" >&6
1507 if test -z "$CC"; then
1508 if test -n "$ac_tool_prefix"; then
1511 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1512 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1513 echo "$as_me:$LINENO: checking for $ac_word" >&5
1514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1515 if test "${ac_cv_prog_CC+set}" = set; then
1516 echo $ECHO_N "(cached) $ECHO_C" >&6
1518 if test -n "$CC"; then
1519 ac_cv_prog_CC="$CC" # Let the user override the test.
1521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1525 test -z "$as_dir" && as_dir=.
1526 for ac_exec_ext in '' $ac_executable_extensions; do
1527 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1528 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1538 if test -n "$CC"; then
1539 echo "$as_me:$LINENO: result: $CC" >&5
1540 echo "${ECHO_T}$CC" >&6
1542 echo "$as_me:$LINENO: result: no" >&5
1543 echo "${ECHO_T}no" >&6
1546 test -n "$CC" && break
1549 if test -z "$CC"; then
1553 # Extract the first word of "$ac_prog", so it can be a program name with args.
1554 set dummy $ac_prog; ac_word=$2
1555 echo "$as_me:$LINENO: checking for $ac_word" >&5
1556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1557 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1558 echo $ECHO_N "(cached) $ECHO_C" >&6
1560 if test -n "$ac_ct_CC"; then
1561 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1567 test -z "$as_dir" && as_dir=.
1568 for ac_exec_ext in '' $ac_executable_extensions; do
1569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1570 ac_cv_prog_ac_ct_CC="$ac_prog"
1571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1579 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1580 if test -n "$ac_ct_CC"; then
1581 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1582 echo "${ECHO_T}$ac_ct_CC" >&6
1584 echo "$as_me:$LINENO: result: no" >&5
1585 echo "${ECHO_T}no" >&6
1588 test -n "$ac_ct_CC" && break
1597 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1598 See \`config.log' for more details.
" >&5
1599 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1600 See \
`config.log' for more details." >&2;}
1601 { (exit 1); exit 1; }; }
1603 # Provide some information about the compiler.
1604 echo "$as_me:$LINENO:" \
1605 "checking for C compiler version" >&5
1606 ac_compiler=`set X
$ac_compile; echo $2`
1607 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1608 (eval $ac_compiler --version </dev/null >&5) 2>&5
1610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1611 (exit $ac_status); }
1612 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1613 (eval $ac_compiler -v </dev/null >&5) 2>&5
1615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1616 (exit $ac_status); }
1617 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1618 (eval $ac_compiler -V </dev/null >&5) 2>&5
1620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1621 (exit $ac_status); }
1623 cat >conftest.$ac_ext <<_ACEOF
1626 cat confdefs.h >>conftest.$ac_ext
1627 cat >>conftest.$ac_ext <<_ACEOF
1628 /* end confdefs.h. */
1638 ac_clean_files_save=$ac_clean_files
1639 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1640 # Try to create an executable without -o first, disregard a.out.
1641 # It will help us diagnose broken compilers, and finding out an intuition
1643 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1644 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1645 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1646 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1647 (eval $ac_link_default) 2>&5
1649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1650 (exit $ac_status); }; then
1651 # Find the output, starting from the most likely. This scheme is
1652 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1655 # Be careful to initialize this variable, since it used to be cached.
1656 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1658 # b.out is created by i960 compilers.
1659 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1661 test -f "$ac_file" || continue
1663 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1666 # This is the source file.
1669 # We found the default executable, but exeext='' is most
1673 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1674 # FIXME: I believe we export ac_cv_exeext for Libtool,
1675 # but it would be cool to find out if it's true. Does anybody
1676 # maintain Libtool? --akim.
1684 echo "$as_me: failed program was:" >&5
1685 sed 's/^/| /' conftest.$ac_ext >&5
1687 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1688 See \`config.log
' for more details." >&5
1689 echo "$as_me: error: C compiler cannot create executables
1690 See \`config.log' for more details.
" >&2;}
1691 { (exit 77); exit 77; }; }
1694 ac_exeext=$ac_cv_exeext
1695 echo "$as_me:$LINENO: result
: $ac_file" >&5
1696 echo "${ECHO_T}$ac_file" >&6
1698 # Check the compiler produces executables we can run. If not, either
1699 # the compiler is broken, or we cross compile.
1700 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1701 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1702 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1703 # If not cross compiling, check that we can run a simple program.
1704 if test "$cross_compiling" != yes; then
1705 if { ac_try='./$ac_file'
1706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1709 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1710 (exit $ac_status); }; }; then
1713 if test "$cross_compiling" = maybe; then
1716 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1717 If you meant to cross compile
, use \
`--host'.
1718 See \`config.log
' for more details." >&5
1719 echo "$as_me: error: cannot run C compiled programs.
1720 If you meant to cross compile, use \`--host'.
1721 See \
`config.log' for more details." >&2;}
1722 { (exit 1); exit 1; }; }
1726 echo "$as_me:$LINENO: result: yes" >&5
1727 echo "${ECHO_T}yes" >&6
1729 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1730 ac_clean_files=$ac_clean_files_save
1731 # Check the compiler produces executables we can run. If not, either
1732 # the compiler is broken, or we cross compile.
1733 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1734 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1735 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1736 echo "${ECHO_T}$cross_compiling" >&6
1738 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1739 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1741 (eval $ac_link) 2>&5
1743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1744 (exit $ac_status); }; then
1745 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1746 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1747 # work properly (i.e., refer to `conftest.exe'), while it won't with
1749 for ac_file
in conftest.exe conftest conftest.
*; do
1750 test -f "$ac_file" ||
continue
1752 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1753 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1760 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1761 See \`config.log' for more details." >&5
1762 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1763 See \`config.log' for more details." >&2;}
1764 { (exit 1); exit 1; }; }
1767 rm -f conftest
$ac_cv_exeext
1768 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1769 echo "${ECHO_T}$ac_cv_exeext" >&6
1771 rm -f conftest.
$ac_ext
1772 EXEEXT
=$ac_cv_exeext
1774 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1775 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1776 if test "${ac_cv_objext+set}" = set; then
1777 echo $ECHO_N "(cached) $ECHO_C" >&6
1779 cat >conftest.
$ac_ext <<_ACEOF
1782 cat confdefs.h
>>conftest.
$ac_ext
1783 cat >>conftest.
$ac_ext <<_ACEOF
1784 /* end confdefs.h. */
1794 rm -f conftest.o conftest.obj
1795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1796 (eval $ac_compile) 2>&5
1798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1799 (exit $ac_status); }; then
1800 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1802 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1803 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1808 echo "$as_me: failed program was:" >&5
1809 sed 's/^/| /' conftest.
$ac_ext >&5
1811 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1812 See \`config.log' for more details." >&5
1813 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1814 See \`config.log' for more details." >&2;}
1815 { (exit 1); exit 1; }; }
1818 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1820 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1821 echo "${ECHO_T}$ac_cv_objext" >&6
1822 OBJEXT
=$ac_cv_objext
1824 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1825 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1826 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1827 echo $ECHO_N "(cached) $ECHO_C" >&6
1829 cat >conftest.
$ac_ext <<_ACEOF
1832 cat confdefs.h
>>conftest.
$ac_ext
1833 cat >>conftest.
$ac_ext <<_ACEOF
1834 /* end confdefs.h. */
1847 rm -f conftest.
$ac_objext
1848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1849 (eval $ac_compile) 2>conftest.er1
1851 grep -v '^ *+' conftest.er1
>conftest.err
1853 cat conftest.err
>&5
1854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1855 (exit $ac_status); } &&
1856 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1861 (exit $ac_status); }; } &&
1862 { ac_try
='test -s conftest.$ac_objext'
1863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1867 (exit $ac_status); }; }; then
1870 echo "$as_me: failed program was:" >&5
1871 sed 's/^/| /' conftest.
$ac_ext >&5
1875 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1876 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1879 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1880 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1881 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1882 ac_test_CFLAGS
=${CFLAGS+set}
1883 ac_save_CFLAGS
=$CFLAGS
1885 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1886 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1887 if test "${ac_cv_prog_cc_g+set}" = set; then
1888 echo $ECHO_N "(cached) $ECHO_C" >&6
1890 cat >conftest.
$ac_ext <<_ACEOF
1893 cat confdefs.h
>>conftest.
$ac_ext
1894 cat >>conftest.
$ac_ext <<_ACEOF
1895 /* end confdefs.h. */
1905 rm -f conftest.
$ac_objext
1906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1907 (eval $ac_compile) 2>conftest.er1
1909 grep -v '^ *+' conftest.er1
>conftest.err
1911 cat conftest.err
>&5
1912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1913 (exit $ac_status); } &&
1914 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1919 (exit $ac_status); }; } &&
1920 { ac_try
='test -s conftest.$ac_objext'
1921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1925 (exit $ac_status); }; }; then
1928 echo "$as_me: failed program was:" >&5
1929 sed 's/^/| /' conftest.
$ac_ext >&5
1933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1935 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1936 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1937 if test "$ac_test_CFLAGS" = set; then
1938 CFLAGS
=$ac_save_CFLAGS
1939 elif test $ac_cv_prog_cc_g = yes; then
1940 if test "$GCC" = yes; then
1946 if test "$GCC" = yes; then
1952 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1953 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1954 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1955 echo $ECHO_N "(cached) $ECHO_C" >&6
1957 ac_cv_prog_cc_stdc
=no
1959 cat >conftest.
$ac_ext <<_ACEOF
1962 cat confdefs.h
>>conftest.
$ac_ext
1963 cat >>conftest.
$ac_ext <<_ACEOF
1964 /* end confdefs.h. */
1967 #include <sys/types.h>
1968 #include <sys/stat.h>
1969 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1970 struct buf { int x; };
1971 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1972 static char *e (p, i)
1978 static char *f (char * (*g) (char **, int), char **p, ...)
1983 s = g (p, va_arg (v,int));
1988 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1989 function prototypes and stuff, but not '\xHH' hex character constants.
1990 These don't provoke an error unfortunately, instead are silently treated
1991 as 'x'. The following induces an error, until -std1 is added to get
1992 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1993 array size at least. It's necessary to write '\x00'==0 to get something
1994 that's true only with -std1. */
1995 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1997 int test (int i, double x);
1998 struct s1 {int (*f) (int a);};
1999 struct s2 {int (*f) (double a);};
2000 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2006 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2011 # Don't try gcc -ansi; that turns off useful extensions and
2012 # breaks some systems' header files.
2013 # AIX -qlanglvl=ansi
2014 # Ultrix and OSF/1 -std1
2015 # HP-UX 10.20 and later -Ae
2016 # HP-UX older versions -Aa -D_HPUX_SOURCE
2017 # SVR4 -Xc -D__EXTENSIONS__
2018 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2020 CC
="$ac_save_CC $ac_arg"
2021 rm -f conftest.
$ac_objext
2022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2023 (eval $ac_compile) 2>conftest.er1
2025 grep -v '^ *+' conftest.er1
>conftest.err
2027 cat conftest.err
>&5
2028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2029 (exit $ac_status); } &&
2030 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2035 (exit $ac_status); }; } &&
2036 { ac_try
='test -s conftest.$ac_objext'
2037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2041 (exit $ac_status); }; }; then
2042 ac_cv_prog_cc_stdc
=$ac_arg
2045 echo "$as_me: failed program was:" >&5
2046 sed 's/^/| /' conftest.
$ac_ext >&5
2049 rm -f conftest.err conftest.
$ac_objext
2051 rm -f conftest.
$ac_ext conftest.
$ac_objext
2056 case "x$ac_cv_prog_cc_stdc" in
2058 echo "$as_me:$LINENO: result: none needed" >&5
2059 echo "${ECHO_T}none needed" >&6 ;;
2061 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2062 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2063 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2066 # Some people use a C++ compiler to compile C. Since we use `exit',
2067 # in C++ we need to declare it. In case someone uses the same compiler
2068 # for both compiling C and C++ we need to have the C++ compiler decide
2069 # the declaration of exit, since it's the most demanding environment.
2070 cat >conftest.
$ac_ext <<_ACEOF
2075 rm -f conftest.
$ac_objext
2076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2077 (eval $ac_compile) 2>conftest.er1
2079 grep -v '^ *+' conftest.er1
>conftest.err
2081 cat conftest.err
>&5
2082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2083 (exit $ac_status); } &&
2084 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2089 (exit $ac_status); }; } &&
2090 { ac_try
='test -s conftest.$ac_objext'
2091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2095 (exit $ac_status); }; }; then
2096 for ac_declaration
in \
2098 'extern "C" void std::exit (int) throw (); using std::exit;' \
2099 'extern "C" void std::exit (int); using std::exit;' \
2100 'extern "C" void exit (int) throw ();' \
2101 'extern "C" void exit (int);' \
2104 cat >conftest.
$ac_ext <<_ACEOF
2107 cat confdefs.h
>>conftest.
$ac_ext
2108 cat >>conftest.
$ac_ext <<_ACEOF
2109 /* end confdefs.h. */
2120 rm -f conftest.
$ac_objext
2121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2122 (eval $ac_compile) 2>conftest.er1
2124 grep -v '^ *+' conftest.er1
>conftest.err
2126 cat conftest.err
>&5
2127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2128 (exit $ac_status); } &&
2129 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2134 (exit $ac_status); }; } &&
2135 { ac_try
='test -s conftest.$ac_objext'
2136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2140 (exit $ac_status); }; }; then
2143 echo "$as_me: failed program was:" >&5
2144 sed 's/^/| /' conftest.
$ac_ext >&5
2148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2149 cat >conftest.
$ac_ext <<_ACEOF
2152 cat confdefs.h
>>conftest.
$ac_ext
2153 cat >>conftest.
$ac_ext <<_ACEOF
2154 /* end confdefs.h. */
2164 rm -f conftest.
$ac_objext
2165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2166 (eval $ac_compile) 2>conftest.er1
2168 grep -v '^ *+' conftest.er1
>conftest.err
2170 cat conftest.err
>&5
2171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2172 (exit $ac_status); } &&
2173 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2178 (exit $ac_status); }; } &&
2179 { ac_try
='test -s conftest.$ac_objext'
2180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2184 (exit $ac_status); }; }; then
2187 echo "$as_me: failed program was:" >&5
2188 sed 's/^/| /' conftest.
$ac_ext >&5
2191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2194 if test -n "$ac_declaration"; then
2195 echo '#ifdef __cplusplus' >>confdefs.h
2196 echo $ac_declaration >>confdefs.h
2197 echo '#endif' >>confdefs.h
2201 echo "$as_me: failed program was:" >&5
2202 sed 's/^/| /' conftest.
$ac_ext >&5
2205 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2207 ac_cpp
='$CPP $CPPFLAGS'
2208 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2209 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2210 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2212 if test "$GCC" = "yes"; then
2213 CFLAGS
="${CFLAGS} -Wall"
2216 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
2217 if test -f $ac_dir/install-sh
; then
2219 ac_install_sh
="$ac_aux_dir/install-sh -c"
2221 elif test -f $ac_dir/install.sh
; then
2223 ac_install_sh
="$ac_aux_dir/install.sh -c"
2225 elif test -f $ac_dir/shtool
; then
2227 ac_install_sh
="$ac_aux_dir/shtool install -c"
2231 if test -z "$ac_aux_dir"; then
2232 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2233 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2234 { (exit 1); exit 1; }; }
2236 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
2237 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
2238 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2240 # Find a good install program. We prefer a C program (faster),
2241 # so one script is as good as another. But avoid the broken or
2242 # incompatible versions:
2243 # SysV /etc/install, /usr/sbin/install
2244 # SunOS /usr/etc/install
2245 # IRIX /sbin/install
2247 # AmigaOS /C/install, which installs bootblocks on floppy discs
2248 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2249 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2250 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2251 # OS/2's system install, which has a completely different semantic
2252 # ./install, which can be erroneously created by make from ./install.sh.
2253 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2254 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2255 if test -z "$INSTALL"; then
2256 if test "${ac_cv_path_install+set}" = set; then
2257 echo $ECHO_N "(cached) $ECHO_C" >&6
2259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2263 test -z "$as_dir" && as_dir
=.
2264 # Account for people who put trailing slashes in PATH elements.
2266 .
/ | .
// |
/cC
/* | \
2267 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2268 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2271 # OSF1 and SCO ODT 3.0 have their own names for install.
2272 # Don't use installbsd from OSF since it installs stuff as root
2274 for ac_prog
in ginstall scoinst
install; do
2275 for ac_exec_ext
in '' $ac_executable_extensions; do
2276 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2277 if test $ac_prog = install &&
2278 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2279 # AIX install. It has an incompatible calling convention.
2281 elif test $ac_prog = install &&
2282 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2283 # program-specific install script used by HP pwplus--don't use.
2286 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2298 if test "${ac_cv_path_install+set}" = set; then
2299 INSTALL
=$ac_cv_path_install
2301 # As a last resort, use the slow shell script. We don't cache a
2302 # path for INSTALL within a source directory, because that will
2303 # break other packages using the cache if that directory is
2304 # removed, or if the path is relative.
2305 INSTALL
=$ac_install_sh
2308 echo "$as_me:$LINENO: result: $INSTALL" >&5
2309 echo "${ECHO_T}$INSTALL" >&6
2311 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2312 # It thinks the first close brace ends the variable substitution.
2313 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2315 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2317 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2322 echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
2323 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6
2324 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
2325 echo $ECHO_N "(cached) $ECHO_C" >&6
2327 ac_check_lib_save_LIBS
=$LIBS
2328 LIBS
="-lresolv $LIBS"
2329 cat >conftest.
$ac_ext <<_ACEOF
2332 cat confdefs.h
>>conftest.
$ac_ext
2333 cat >>conftest.
$ac_ext <<_ACEOF
2334 /* end confdefs.h. */
2336 /* Override any gcc2 internal prototype to avoid an error. */
2340 /* We use char because int might match the return type of a gcc2
2341 builtin and then its argument prototype would still apply. */
2351 rm -f conftest.
$ac_objext conftest
$ac_exeext
2352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2353 (eval $ac_link) 2>conftest.er1
2355 grep -v '^ *+' conftest.er1
>conftest.err
2357 cat conftest.err
>&5
2358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359 (exit $ac_status); } &&
2360 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }; } &&
2366 { ac_try
='test -s conftest$ac_exeext'
2367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2371 (exit $ac_status); }; }; then
2372 ac_cv_lib_resolv_res_query
=yes
2374 echo "$as_me: failed program was:" >&5
2375 sed 's/^/| /' conftest.
$ac_ext >&5
2377 ac_cv_lib_resolv_res_query
=no
2379 rm -f conftest.err conftest.
$ac_objext \
2380 conftest
$ac_exeext conftest.
$ac_ext
2381 LIBS
=$ac_check_lib_save_LIBS
2383 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
2384 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6
2385 if test $ac_cv_lib_resolv_res_query = yes; then
2386 cat >>confdefs.h
<<_ACEOF
2387 #define HAVE_LIBRESOLV 1
2390 LIBS
="-lresolv $LIBS"
2396 ac_cpp
='$CPP $CPPFLAGS'
2397 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2398 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2399 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2400 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2401 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2402 # On Suns, sometimes $CPP names a directory.
2403 if test -n "$CPP" && test -d "$CPP"; then
2406 if test -z "$CPP"; then
2407 if test "${ac_cv_prog_CPP+set}" = set; then
2408 echo $ECHO_N "(cached) $ECHO_C" >&6
2410 # Double quotes because CPP needs to be expanded
2411 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2414 for ac_c_preproc_warn_flag
in '' yes
2416 # Use a header file that comes with gcc, so configuring glibc
2417 # with a fresh cross-compiler works.
2418 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2419 # <limits.h> exists even on freestanding compilers.
2420 # On the NeXT, cc -E runs the code through the compiler's parser,
2421 # not just through cpp. "Syntax error" is here to catch this case.
2422 cat >conftest.
$ac_ext <<_ACEOF
2425 cat confdefs.h
>>conftest.
$ac_ext
2426 cat >>conftest.
$ac_ext <<_ACEOF
2427 /* end confdefs.h. */
2429 # include <limits.h>
2431 # include <assert.h>
2435 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2436 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2438 grep -v '^ *+' conftest.er1
>conftest.err
2440 cat conftest.err
>&5
2441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2442 (exit $ac_status); } >/dev
/null
; then
2443 if test -s conftest.err
; then
2444 ac_cpp_err
=$ac_c_preproc_warn_flag
2445 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2452 if test -z "$ac_cpp_err"; then
2455 echo "$as_me: failed program was:" >&5
2456 sed 's/^/| /' conftest.
$ac_ext >&5
2458 # Broken: fails on valid input.
2461 rm -f conftest.err conftest.
$ac_ext
2463 # OK, works on sane cases. Now check whether non-existent headers
2464 # can be detected and how.
2465 cat >conftest.
$ac_ext <<_ACEOF
2468 cat confdefs.h
>>conftest.
$ac_ext
2469 cat >>conftest.
$ac_ext <<_ACEOF
2470 /* end confdefs.h. */
2471 #include <ac_nonexistent.h>
2473 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2474 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2476 grep -v '^ *+' conftest.er1
>conftest.err
2478 cat conftest.err
>&5
2479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2480 (exit $ac_status); } >/dev
/null
; then
2481 if test -s conftest.err
; then
2482 ac_cpp_err
=$ac_c_preproc_warn_flag
2483 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2490 if test -z "$ac_cpp_err"; then
2491 # Broken: success on invalid input.
2494 echo "$as_me: failed program was:" >&5
2495 sed 's/^/| /' conftest.
$ac_ext >&5
2497 # Passes both tests.
2501 rm -f conftest.err conftest.
$ac_ext
2504 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2505 rm -f conftest.err conftest.
$ac_ext
2506 if $ac_preproc_ok; then
2518 echo "$as_me:$LINENO: result: $CPP" >&5
2519 echo "${ECHO_T}$CPP" >&6
2521 for ac_c_preproc_warn_flag
in '' yes
2523 # Use a header file that comes with gcc, so configuring glibc
2524 # with a fresh cross-compiler works.
2525 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2526 # <limits.h> exists even on freestanding compilers.
2527 # On the NeXT, cc -E runs the code through the compiler's parser,
2528 # not just through cpp. "Syntax error" is here to catch this case.
2529 cat >conftest.
$ac_ext <<_ACEOF
2532 cat confdefs.h
>>conftest.
$ac_ext
2533 cat >>conftest.
$ac_ext <<_ACEOF
2534 /* end confdefs.h. */
2536 # include <limits.h>
2538 # include <assert.h>
2542 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2543 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2545 grep -v '^ *+' conftest.er1
>conftest.err
2547 cat conftest.err
>&5
2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549 (exit $ac_status); } >/dev
/null
; then
2550 if test -s conftest.err
; then
2551 ac_cpp_err
=$ac_c_preproc_warn_flag
2552 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2559 if test -z "$ac_cpp_err"; then
2562 echo "$as_me: failed program was:" >&5
2563 sed 's/^/| /' conftest.
$ac_ext >&5
2565 # Broken: fails on valid input.
2568 rm -f conftest.err conftest.
$ac_ext
2570 # OK, works on sane cases. Now check whether non-existent headers
2571 # can be detected and how.
2572 cat >conftest.
$ac_ext <<_ACEOF
2575 cat confdefs.h
>>conftest.
$ac_ext
2576 cat >>conftest.
$ac_ext <<_ACEOF
2577 /* end confdefs.h. */
2578 #include <ac_nonexistent.h>
2580 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2581 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2583 grep -v '^ *+' conftest.er1
>conftest.err
2585 cat conftest.err
>&5
2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587 (exit $ac_status); } >/dev
/null
; then
2588 if test -s conftest.err
; then
2589 ac_cpp_err
=$ac_c_preproc_warn_flag
2590 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2597 if test -z "$ac_cpp_err"; then
2598 # Broken: success on invalid input.
2601 echo "$as_me: failed program was:" >&5
2602 sed 's/^/| /' conftest.
$ac_ext >&5
2604 # Passes both tests.
2608 rm -f conftest.err conftest.
$ac_ext
2611 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2612 rm -f conftest.err conftest.
$ac_ext
2613 if $ac_preproc_ok; then
2616 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2617 See \`config.log' for more details." >&5
2618 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2619 See \`config.log' for more details." >&2;}
2620 { (exit 1); exit 1; }; }
2624 ac_cpp
='$CPP $CPPFLAGS'
2625 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2626 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2627 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2630 echo "$as_me:$LINENO: checking for egrep" >&5
2631 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2632 if test "${ac_cv_prog_egrep+set}" = set; then
2633 echo $ECHO_N "(cached) $ECHO_C" >&6
2635 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2636 then ac_cv_prog_egrep
='grep -E'
2637 else ac_cv_prog_egrep
='egrep'
2640 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2641 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2642 EGREP
=$ac_cv_prog_egrep
2645 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2646 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2647 if test "${ac_cv_header_stdc+set}" = set; then
2648 echo $ECHO_N "(cached) $ECHO_C" >&6
2650 cat >conftest.
$ac_ext <<_ACEOF
2653 cat confdefs.h
>>conftest.
$ac_ext
2654 cat >>conftest.
$ac_ext <<_ACEOF
2655 /* end confdefs.h. */
2669 rm -f conftest.
$ac_objext
2670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2671 (eval $ac_compile) 2>conftest.er1
2673 grep -v '^ *+' conftest.er1
>conftest.err
2675 cat conftest.err
>&5
2676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2677 (exit $ac_status); } &&
2678 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683 (exit $ac_status); }; } &&
2684 { ac_try
='test -s conftest.$ac_objext'
2685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); }; }; then
2690 ac_cv_header_stdc
=yes
2692 echo "$as_me: failed program was:" >&5
2693 sed 's/^/| /' conftest.
$ac_ext >&5
2695 ac_cv_header_stdc
=no
2697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2699 if test $ac_cv_header_stdc = yes; then
2700 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2701 cat >conftest.
$ac_ext <<_ACEOF
2704 cat confdefs.h
>>conftest.
$ac_ext
2705 cat >>conftest.
$ac_ext <<_ACEOF
2706 /* end confdefs.h. */
2710 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2711 $EGREP "memchr" >/dev
/null
2>&1; then
2714 ac_cv_header_stdc
=no
2720 if test $ac_cv_header_stdc = yes; then
2721 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2722 cat >conftest.
$ac_ext <<_ACEOF
2725 cat confdefs.h
>>conftest.
$ac_ext
2726 cat >>conftest.
$ac_ext <<_ACEOF
2727 /* end confdefs.h. */
2731 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2732 $EGREP "free" >/dev
/null
2>&1; then
2735 ac_cv_header_stdc
=no
2741 if test $ac_cv_header_stdc = yes; then
2742 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2743 if test "$cross_compiling" = yes; then
2746 cat >conftest.
$ac_ext <<_ACEOF
2749 cat confdefs.h
>>conftest.
$ac_ext
2750 cat >>conftest.
$ac_ext <<_ACEOF
2751 /* end confdefs.h. */
2753 #if ((' ' & 0x0FF) == 0x020)
2754 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2755 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2757 # define ISLOWER(c) \
2758 (('a' <= (c) && (c) <= 'i') \
2759 || ('j' <= (c) && (c) <= 'r') \
2760 || ('s' <= (c) && (c) <= 'z'))
2761 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2764 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2769 for (i = 0; i < 256; i++)
2770 if (XOR (islower (i), ISLOWER (i))
2771 || toupper (i) != TOUPPER (i))
2776 rm -f conftest
$ac_exeext
2777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2778 (eval $ac_link) 2>&5
2780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2781 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); }; }; then
2789 echo "$as_me: program exited with status $ac_status" >&5
2790 echo "$as_me: failed program was:" >&5
2791 sed 's/^/| /' conftest.
$ac_ext >&5
2794 ac_cv_header_stdc
=no
2796 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2800 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2801 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2802 if test $ac_cv_header_stdc = yes; then
2804 cat >>confdefs.h
<<\_ACEOF
2805 #define STDC_HEADERS 1
2810 ac_config_headers
="$ac_config_headers config.h"
2812 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2822 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
2823 inttypes.h stdint.h unistd.h
2825 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2826 echo "$as_me:$LINENO: checking for $ac_header" >&5
2827 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2829 echo $ECHO_N "(cached) $ECHO_C" >&6
2831 cat >conftest.
$ac_ext <<_ACEOF
2834 cat confdefs.h
>>conftest.
$ac_ext
2835 cat >>conftest.
$ac_ext <<_ACEOF
2836 /* end confdefs.h. */
2837 $ac_includes_default
2839 #include <$ac_header>
2841 rm -f conftest.
$ac_objext
2842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2843 (eval $ac_compile) 2>conftest.er1
2845 grep -v '^ *+' conftest.er1
>conftest.err
2847 cat conftest.err
>&5
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); } &&
2850 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2855 (exit $ac_status); }; } &&
2856 { ac_try
='test -s conftest.$ac_objext'
2857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861 (exit $ac_status); }; }; then
2862 eval "$as_ac_Header=yes"
2864 echo "$as_me: failed program was:" >&5
2865 sed 's/^/| /' conftest.
$ac_ext >&5
2867 eval "$as_ac_Header=no"
2869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2872 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2873 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2874 cat >>confdefs.h
<<_ACEOF
2875 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2883 if test "${ac_cv_header_resolv_h+set}" = set; then
2884 echo "$as_me:$LINENO: checking for resolv.h" >&5
2885 echo $ECHO_N "checking for resolv.h... $ECHO_C" >&6
2886 if test "${ac_cv_header_resolv_h+set}" = set; then
2887 echo $ECHO_N "(cached) $ECHO_C" >&6
2889 echo "$as_me:$LINENO: result: $ac_cv_header_resolv_h" >&5
2890 echo "${ECHO_T}$ac_cv_header_resolv_h" >&6
2892 # Is the header compilable?
2893 echo "$as_me:$LINENO: checking resolv.h usability" >&5
2894 echo $ECHO_N "checking resolv.h usability... $ECHO_C" >&6
2895 cat >conftest.
$ac_ext <<_ACEOF
2898 cat confdefs.h
>>conftest.
$ac_ext
2899 cat >>conftest.
$ac_ext <<_ACEOF
2900 /* end confdefs.h. */
2901 $ac_includes_default
2904 rm -f conftest.
$ac_objext
2905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2906 (eval $ac_compile) 2>conftest.er1
2908 grep -v '^ *+' conftest.er1
>conftest.err
2910 cat conftest.err
>&5
2911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2912 (exit $ac_status); } &&
2913 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918 (exit $ac_status); }; } &&
2919 { ac_try
='test -s conftest.$ac_objext'
2920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924 (exit $ac_status); }; }; then
2925 ac_header_compiler
=yes
2927 echo "$as_me: failed program was:" >&5
2928 sed 's/^/| /' conftest.
$ac_ext >&5
2930 ac_header_compiler
=no
2932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2933 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2934 echo "${ECHO_T}$ac_header_compiler" >&6
2936 # Is the header present?
2937 echo "$as_me:$LINENO: checking resolv.h presence" >&5
2938 echo $ECHO_N "checking resolv.h presence... $ECHO_C" >&6
2939 cat >conftest.
$ac_ext <<_ACEOF
2942 cat confdefs.h
>>conftest.
$ac_ext
2943 cat >>conftest.
$ac_ext <<_ACEOF
2944 /* end confdefs.h. */
2947 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2948 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2950 grep -v '^ *+' conftest.er1
>conftest.err
2952 cat conftest.err
>&5
2953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2954 (exit $ac_status); } >/dev
/null
; then
2955 if test -s conftest.err
; then
2956 ac_cpp_err
=$ac_c_preproc_warn_flag
2957 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2964 if test -z "$ac_cpp_err"; then
2965 ac_header_preproc
=yes
2967 echo "$as_me: failed program was:" >&5
2968 sed 's/^/| /' conftest.
$ac_ext >&5
2970 ac_header_preproc
=no
2972 rm -f conftest.err conftest.
$ac_ext
2973 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2974 echo "${ECHO_T}$ac_header_preproc" >&6
2976 # So? What about this header?
2977 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
2979 { echo "$as_me:$LINENO: WARNING: resolv.h: accepted by the compiler, rejected by the preprocessor!" >&5
2980 echo "$as_me: WARNING: resolv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
2981 { echo "$as_me:$LINENO: WARNING: resolv.h: proceeding with the compiler's result" >&5
2982 echo "$as_me: WARNING: resolv.h: proceeding with the compiler's result" >&2;}
2983 ac_header_preproc
=yes
2986 { echo "$as_me:$LINENO: WARNING: resolv.h: present but cannot be compiled" >&5
2987 echo "$as_me: WARNING: resolv.h: present but cannot be compiled" >&2;}
2988 { echo "$as_me:$LINENO: WARNING: resolv.h: check for missing prerequisite headers?" >&5
2989 echo "$as_me: WARNING: resolv.h: check for missing prerequisite headers?" >&2;}
2990 { echo "$as_me:$LINENO: WARNING: resolv.h: see the Autoconf documentation" >&5
2991 echo "$as_me: WARNING: resolv.h: see the Autoconf documentation" >&2;}
2992 { echo "$as_me:$LINENO: WARNING: resolv.h: section \"Present But Cannot Be Compiled\"" >&5
2993 echo "$as_me: WARNING: resolv.h: section \"Present But Cannot Be Compiled\"" >&2;}
2994 { echo "$as_me:$LINENO: WARNING: resolv.h: proceeding with the preprocessor's result" >&5
2995 echo "$as_me: WARNING: resolv.h: proceeding with the preprocessor's result" >&2;}
2996 { echo "$as_me:$LINENO: WARNING: resolv.h: in the future, the compiler will take precedence" >&5
2997 echo "$as_me: WARNING: resolv.h: in the future, the compiler will take precedence" >&2;}
3000 ## ------------------------------------------ ##
3001 ## Report this to the AC_PACKAGE_NAME lists. ##
3002 ## ------------------------------------------ ##
3005 sed "s/^/$as_me: WARNING: /" >&2
3008 echo "$as_me:$LINENO: checking for resolv.h" >&5
3009 echo $ECHO_N "checking for resolv.h... $ECHO_C" >&6
3010 if test "${ac_cv_header_resolv_h+set}" = set; then
3011 echo $ECHO_N "(cached) $ECHO_C" >&6
3013 ac_cv_header_resolv_h
=$ac_header_preproc
3015 echo "$as_me:$LINENO: result: $ac_cv_header_resolv_h" >&5
3016 echo "${ECHO_T}$ac_cv_header_resolv_h" >&6
3019 if test $ac_cv_header_resolv_h = yes; then
3022 { { echo "$as_me:$LINENO: error: \"No headers for name service applications\"" >&5
3023 echo "$as_me: error: \"No headers for name service applications\"" >&2;}
3024 { (exit 1); exit 1; }; }
3028 if test "${ac_cv_header_arpa_nameser_h+set}" = set; then
3029 echo "$as_me:$LINENO: checking for arpa/nameser.h" >&5
3030 echo $ECHO_N "checking for arpa/nameser.h... $ECHO_C" >&6
3031 if test "${ac_cv_header_arpa_nameser_h+set}" = set; then
3032 echo $ECHO_N "(cached) $ECHO_C" >&6
3034 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_nameser_h" >&5
3035 echo "${ECHO_T}$ac_cv_header_arpa_nameser_h" >&6
3037 # Is the header compilable?
3038 echo "$as_me:$LINENO: checking arpa/nameser.h usability" >&5
3039 echo $ECHO_N "checking arpa/nameser.h usability... $ECHO_C" >&6
3040 cat >conftest.
$ac_ext <<_ACEOF
3043 cat confdefs.h
>>conftest.
$ac_ext
3044 cat >>conftest.
$ac_ext <<_ACEOF
3045 /* end confdefs.h. */
3046 $ac_includes_default
3047 #include <arpa/nameser.h>
3049 rm -f conftest.
$ac_objext
3050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3051 (eval $ac_compile) 2>conftest.er1
3053 grep -v '^ *+' conftest.er1
>conftest.err
3055 cat conftest.err
>&5
3056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057 (exit $ac_status); } &&
3058 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063 (exit $ac_status); }; } &&
3064 { ac_try
='test -s conftest.$ac_objext'
3065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3069 (exit $ac_status); }; }; then
3070 ac_header_compiler
=yes
3072 echo "$as_me: failed program was:" >&5
3073 sed 's/^/| /' conftest.
$ac_ext >&5
3075 ac_header_compiler
=no
3077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3078 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3079 echo "${ECHO_T}$ac_header_compiler" >&6
3081 # Is the header present?
3082 echo "$as_me:$LINENO: checking arpa/nameser.h presence" >&5
3083 echo $ECHO_N "checking arpa/nameser.h presence... $ECHO_C" >&6
3084 cat >conftest.
$ac_ext <<_ACEOF
3087 cat confdefs.h
>>conftest.
$ac_ext
3088 cat >>conftest.
$ac_ext <<_ACEOF
3089 /* end confdefs.h. */
3090 #include <arpa/nameser.h>
3092 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3093 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3095 grep -v '^ *+' conftest.er1
>conftest.err
3097 cat conftest.err
>&5
3098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099 (exit $ac_status); } >/dev
/null
; then
3100 if test -s conftest.err
; then
3101 ac_cpp_err
=$ac_c_preproc_warn_flag
3102 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3109 if test -z "$ac_cpp_err"; then
3110 ac_header_preproc
=yes
3112 echo "$as_me: failed program was:" >&5
3113 sed 's/^/| /' conftest.
$ac_ext >&5
3115 ac_header_preproc
=no
3117 rm -f conftest.err conftest.
$ac_ext
3118 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3119 echo "${ECHO_T}$ac_header_preproc" >&6
3121 # So? What about this header?
3122 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3124 { echo "$as_me:$LINENO: WARNING: arpa/nameser.h: accepted by the compiler, rejected by the preprocessor!" >&5
3125 echo "$as_me: WARNING: arpa/nameser.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3126 { echo "$as_me:$LINENO: WARNING: arpa/nameser.h: proceeding with the compiler's result" >&5
3127 echo "$as_me: WARNING: arpa/nameser.h: proceeding with the compiler's result" >&2;}
3128 ac_header_preproc
=yes
3131 { echo "$as_me:$LINENO: WARNING: arpa/nameser.h: present but cannot be compiled" >&5
3132 echo "$as_me: WARNING: arpa/nameser.h: present but cannot be compiled" >&2;}
3133 { echo "$as_me:$LINENO: WARNING: arpa/nameser.h: check for missing prerequisite headers?" >&5
3134 echo "$as_me: WARNING: arpa/nameser.h: check for missing prerequisite headers?" >&2;}
3135 { echo "$as_me:$LINENO: WARNING: arpa/nameser.h: see the Autoconf documentation" >&5
3136 echo "$as_me: WARNING: arpa/nameser.h: see the Autoconf documentation" >&2;}
3137 { echo "$as_me:$LINENO: WARNING: arpa/nameser.h: section \"Present But Cannot Be Compiled\"" >&5
3138 echo "$as_me: WARNING: arpa/nameser.h: section \"Present But Cannot Be Compiled\"" >&2;}
3139 { echo "$as_me:$LINENO: WARNING: arpa/nameser.h: proceeding with the preprocessor's result" >&5
3140 echo "$as_me: WARNING: arpa/nameser.h: proceeding with the preprocessor's result" >&2;}
3141 { echo "$as_me:$LINENO: WARNING: arpa/nameser.h: in the future, the compiler will take precedence" >&5
3142 echo "$as_me: WARNING: arpa/nameser.h: in the future, the compiler will take precedence" >&2;}
3145 ## ------------------------------------------ ##
3146 ## Report this to the AC_PACKAGE_NAME lists. ##
3147 ## ------------------------------------------ ##
3150 sed "s/^/$as_me: WARNING: /" >&2
3153 echo "$as_me:$LINENO: checking for arpa/nameser.h" >&5
3154 echo $ECHO_N "checking for arpa/nameser.h... $ECHO_C" >&6
3155 if test "${ac_cv_header_arpa_nameser_h+set}" = set; then
3156 echo $ECHO_N "(cached) $ECHO_C" >&6
3158 ac_cv_header_arpa_nameser_h
=$ac_header_preproc
3160 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_nameser_h" >&5
3161 echo "${ECHO_T}$ac_cv_header_arpa_nameser_h" >&6
3164 if test $ac_cv_header_arpa_nameser_h = yes; then
3167 { { echo "$as_me:$LINENO: error: \"No headers for name service applications\"" >&5
3168 echo "$as_me: error: \"No headers for name service applications\"" >&2;}
3169 { (exit 1); exit 1; }; }
3173 if test "${ac_cv_header_sys_time_h+set}" = set; then
3174 echo "$as_me:$LINENO: checking for sys/time.h" >&5
3175 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6
3176 if test "${ac_cv_header_sys_time_h+set}" = set; then
3177 echo $ECHO_N "(cached) $ECHO_C" >&6
3179 echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5
3180 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6
3182 # Is the header compilable?
3183 echo "$as_me:$LINENO: checking sys/time.h usability" >&5
3184 echo $ECHO_N "checking sys/time.h usability... $ECHO_C" >&6
3185 cat >conftest.
$ac_ext <<_ACEOF
3188 cat confdefs.h
>>conftest.
$ac_ext
3189 cat >>conftest.
$ac_ext <<_ACEOF
3190 /* end confdefs.h. */
3191 $ac_includes_default
3192 #include <sys/time.h>
3194 rm -f conftest.
$ac_objext
3195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3196 (eval $ac_compile) 2>conftest.er1
3198 grep -v '^ *+' conftest.er1
>conftest.err
3200 cat conftest.err
>&5
3201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3202 (exit $ac_status); } &&
3203 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3208 (exit $ac_status); }; } &&
3209 { ac_try
='test -s conftest.$ac_objext'
3210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214 (exit $ac_status); }; }; then
3215 ac_header_compiler
=yes
3217 echo "$as_me: failed program was:" >&5
3218 sed 's/^/| /' conftest.
$ac_ext >&5
3220 ac_header_compiler
=no
3222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3223 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3224 echo "${ECHO_T}$ac_header_compiler" >&6
3226 # Is the header present?
3227 echo "$as_me:$LINENO: checking sys/time.h presence" >&5
3228 echo $ECHO_N "checking sys/time.h presence... $ECHO_C" >&6
3229 cat >conftest.
$ac_ext <<_ACEOF
3232 cat confdefs.h
>>conftest.
$ac_ext
3233 cat >>conftest.
$ac_ext <<_ACEOF
3234 /* end confdefs.h. */
3235 #include <sys/time.h>
3237 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3238 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3240 grep -v '^ *+' conftest.er1
>conftest.err
3242 cat conftest.err
>&5
3243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3244 (exit $ac_status); } >/dev
/null
; then
3245 if test -s conftest.err
; then
3246 ac_cpp_err
=$ac_c_preproc_warn_flag
3247 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3254 if test -z "$ac_cpp_err"; then
3255 ac_header_preproc
=yes
3257 echo "$as_me: failed program was:" >&5
3258 sed 's/^/| /' conftest.
$ac_ext >&5
3260 ac_header_preproc
=no
3262 rm -f conftest.err conftest.
$ac_ext
3263 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3264 echo "${ECHO_T}$ac_header_preproc" >&6
3266 # So? What about this header?
3267 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3269 { echo "$as_me:$LINENO: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&5
3270 echo "$as_me: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3271 { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the compiler's result" >&5
3272 echo "$as_me: WARNING: sys/time.h: proceeding with the compiler's result" >&2;}
3273 ac_header_preproc
=yes
3276 { echo "$as_me:$LINENO: WARNING: sys/time.h: present but cannot be compiled" >&5
3277 echo "$as_me: WARNING: sys/time.h: present but cannot be compiled" >&2;}
3278 { echo "$as_me:$LINENO: WARNING: sys/time.h: check for missing prerequisite headers?" >&5
3279 echo "$as_me: WARNING: sys/time.h: check for missing prerequisite headers?" >&2;}
3280 { echo "$as_me:$LINENO: WARNING: sys/time.h: see the Autoconf documentation" >&5
3281 echo "$as_me: WARNING: sys/time.h: see the Autoconf documentation" >&2;}
3282 { echo "$as_me:$LINENO: WARNING: sys/time.h: section \"Present But Cannot Be Compiled\"" >&5
3283 echo "$as_me: WARNING: sys/time.h: section \"Present But Cannot Be Compiled\"" >&2;}
3284 { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the preprocessor's result" >&5
3285 echo "$as_me: WARNING: sys/time.h: proceeding with the preprocessor's result" >&2;}
3286 { echo "$as_me:$LINENO: WARNING: sys/time.h: in the future, the compiler will take precedence" >&5
3287 echo "$as_me: WARNING: sys/time.h: in the future, the compiler will take precedence" >&2;}
3290 ## ------------------------------------------ ##
3291 ## Report this to the AC_PACKAGE_NAME lists. ##
3292 ## ------------------------------------------ ##
3295 sed "s/^/$as_me: WARNING: /" >&2
3298 echo "$as_me:$LINENO: checking for sys/time.h" >&5
3299 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6
3300 if test "${ac_cv_header_sys_time_h+set}" = set; then
3301 echo $ECHO_N "(cached) $ECHO_C" >&6
3303 ac_cv_header_sys_time_h
=$ac_header_preproc
3305 echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5
3306 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6
3309 if test $ac_cv_header_sys_time_h = yes; then
3312 { { echo "$as_me:$LINENO: error: \"Mandatory header missing on your system\"" >&5
3313 echo "$as_me: error: \"Mandatory header missing on your system\"" >&2;}
3314 { (exit 1); exit 1; }; }
3318 if test "${ac_cv_header_unistd_h+set}" = set; then
3319 echo "$as_me:$LINENO: checking for unistd.h" >&5
3320 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6
3321 if test "${ac_cv_header_unistd_h+set}" = set; then
3322 echo $ECHO_N "(cached) $ECHO_C" >&6
3324 echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5
3325 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6
3327 # Is the header compilable?
3328 echo "$as_me:$LINENO: checking unistd.h usability" >&5
3329 echo $ECHO_N "checking unistd.h usability... $ECHO_C" >&6
3330 cat >conftest.
$ac_ext <<_ACEOF
3333 cat confdefs.h
>>conftest.
$ac_ext
3334 cat >>conftest.
$ac_ext <<_ACEOF
3335 /* end confdefs.h. */
3336 $ac_includes_default
3339 rm -f conftest.
$ac_objext
3340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3341 (eval $ac_compile) 2>conftest.er1
3343 grep -v '^ *+' conftest.er1
>conftest.err
3345 cat conftest.err
>&5
3346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3347 (exit $ac_status); } &&
3348 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3353 (exit $ac_status); }; } &&
3354 { ac_try
='test -s conftest.$ac_objext'
3355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3359 (exit $ac_status); }; }; then
3360 ac_header_compiler
=yes
3362 echo "$as_me: failed program was:" >&5
3363 sed 's/^/| /' conftest.
$ac_ext >&5
3365 ac_header_compiler
=no
3367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3368 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3369 echo "${ECHO_T}$ac_header_compiler" >&6
3371 # Is the header present?
3372 echo "$as_me:$LINENO: checking unistd.h presence" >&5
3373 echo $ECHO_N "checking unistd.h presence... $ECHO_C" >&6
3374 cat >conftest.
$ac_ext <<_ACEOF
3377 cat confdefs.h
>>conftest.
$ac_ext
3378 cat >>conftest.
$ac_ext <<_ACEOF
3379 /* end confdefs.h. */
3382 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3383 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3385 grep -v '^ *+' conftest.er1
>conftest.err
3387 cat conftest.err
>&5
3388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389 (exit $ac_status); } >/dev
/null
; then
3390 if test -s conftest.err
; then
3391 ac_cpp_err
=$ac_c_preproc_warn_flag
3392 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3399 if test -z "$ac_cpp_err"; then
3400 ac_header_preproc
=yes
3402 echo "$as_me: failed program was:" >&5
3403 sed 's/^/| /' conftest.
$ac_ext >&5
3405 ac_header_preproc
=no
3407 rm -f conftest.err conftest.
$ac_ext
3408 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3409 echo "${ECHO_T}$ac_header_preproc" >&6
3411 # So? What about this header?
3412 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3414 { echo "$as_me:$LINENO: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&5
3415 echo "$as_me: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3416 { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the compiler's result" >&5
3417 echo "$as_me: WARNING: unistd.h: proceeding with the compiler's result" >&2;}
3418 ac_header_preproc
=yes
3421 { echo "$as_me:$LINENO: WARNING: unistd.h: present but cannot be compiled" >&5
3422 echo "$as_me: WARNING: unistd.h: present but cannot be compiled" >&2;}
3423 { echo "$as_me:$LINENO: WARNING: unistd.h: check for missing prerequisite headers?" >&5
3424 echo "$as_me: WARNING: unistd.h: check for missing prerequisite headers?" >&2;}
3425 { echo "$as_me:$LINENO: WARNING: unistd.h: see the Autoconf documentation" >&5
3426 echo "$as_me: WARNING: unistd.h: see the Autoconf documentation" >&2;}
3427 { echo "$as_me:$LINENO: WARNING: unistd.h: section \"Present But Cannot Be Compiled\"" >&5
3428 echo "$as_me: WARNING: unistd.h: section \"Present But Cannot Be Compiled\"" >&2;}
3429 { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5
3430 echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;}
3431 { echo "$as_me:$LINENO: WARNING: unistd.h: in the future, the compiler will take precedence" >&5
3432 echo "$as_me: WARNING: unistd.h: in the future, the compiler will take precedence" >&2;}
3435 ## ------------------------------------------ ##
3436 ## Report this to the AC_PACKAGE_NAME lists. ##
3437 ## ------------------------------------------ ##
3440 sed "s/^/$as_me: WARNING: /" >&2
3443 echo "$as_me:$LINENO: checking for unistd.h" >&5
3444 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6
3445 if test "${ac_cv_header_unistd_h+set}" = set; then
3446 echo $ECHO_N "(cached) $ECHO_C" >&6
3448 ac_cv_header_unistd_h
=$ac_header_preproc
3450 echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5
3451 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6
3454 if test $ac_cv_header_unistd_h = yes; then
3457 { { echo "$as_me:$LINENO: error: \"Mandatory header missing on your system\"" >&5
3458 echo "$as_me: error: \"Mandatory header missing on your system\"" >&2;}
3459 { (exit 1); exit 1; }; }
3465 echo "$as_me:$LINENO: checking if libnsl is mandatory" >&5
3466 echo $ECHO_N "checking if libnsl is mandatory... $ECHO_C" >&6
3467 cat >conftest.
$ac_ext <<_ACEOF
3470 cat confdefs.h
>>conftest.
$ac_ext
3471 cat >>conftest.
$ac_ext <<_ACEOF
3472 /* end confdefs.h. */
3473 #include <sys/types.h>
3474 #include <netinet/in.h>
3475 #include <arpa/nameser.h>
3480 u_char buf[4096]; /* With RFC 2671, otherwise 512 is enough */
3491 (u_char *) & response,
3497 rm -f conftest.
$ac_objext conftest
$ac_exeext
3498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3499 (eval $ac_link) 2>conftest.er1
3501 grep -v '^ *+' conftest.er1
>conftest.err
3503 cat conftest.err
>&5
3504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3505 (exit $ac_status); } &&
3506 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 (exit $ac_status); }; } &&
3512 { ac_try
='test -s conftest$ac_exeext'
3513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517 (exit $ac_status); }; }; then
3518 echo "$as_me:$LINENO: result: no" >&5
3519 echo "${ECHO_T}no" >&6
3521 echo "$as_me: failed program was:" >&5
3522 sed 's/^/| /' conftest.
$ac_ext >&5
3524 echo "$as_me:$LINENO: result: yes" >&5
3525 echo "${ECHO_T}yes" >&6; LIBS
="${LIBS} -lnsl"
3527 rm -f conftest.err conftest.
$ac_objext \
3528 conftest
$ac_exeext conftest.
$ac_ext
3530 echo "$as_me:$LINENO: checking loc_ntoa" >&5
3531 echo $ECHO_N "checking loc_ntoa... $ECHO_C" >&6
3532 cat >conftest.
$ac_ext <<_ACEOF
3535 cat confdefs.h
>>conftest.
$ac_ext
3536 cat >>conftest.
$ac_ext <<_ACEOF
3537 /* end confdefs.h. */
3542 u_char *cp; char *result; loc_ntoa(cp, result)
3547 rm -f conftest.
$ac_objext conftest
$ac_exeext
3548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3549 (eval $ac_link) 2>conftest.er1
3551 grep -v '^ *+' conftest.er1
>conftest.err
3553 cat conftest.err
>&5
3554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3555 (exit $ac_status); } &&
3556 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3561 (exit $ac_status); }; } &&
3562 { ac_try
='test -s conftest$ac_exeext'
3563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3567 (exit $ac_status); }; }; then
3568 echo "$as_me:$LINENO: result: yes" >&5
3569 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
3570 #define HAVE_LOC_NTOA 1
3574 echo "$as_me: failed program was:" >&5
3575 sed 's/^/| /' conftest.
$ac_ext >&5
3577 echo "$as_me:$LINENO: result: no, using the alternative" >&5
3578 echo "${ECHO_T}no, using the alternative" >&6; LOC_NTOA
=loc_ntoa.o
3580 rm -f conftest.err conftest.
$ac_objext \
3581 conftest
$ac_exeext conftest.
$ac_ext
3584 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3585 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3586 if test "${ac_cv_c_const+set}" = set; then
3587 echo $ECHO_N "(cached) $ECHO_C" >&6
3589 cat >conftest.
$ac_ext <<_ACEOF
3592 cat confdefs.h
>>conftest.
$ac_ext
3593 cat >>conftest.
$ac_ext <<_ACEOF
3594 /* end confdefs.h. */
3599 /* FIXME: Include the comments suggested by Paul. */
3601 /* Ultrix mips cc rejects this. */
3602 typedef int charset[2];
3604 /* SunOS 4.1.1 cc rejects this. */
3605 char const *const *ccp;
3607 /* NEC SVR4.0.2 mips cc rejects this. */
3608 struct point {int x, y;};
3609 static struct point const zero = {0,0};
3610 /* AIX XL C 1.02.0.0 rejects this.
3611 It does not let you subtract one const X* pointer from another in
3612 an arm of an if-expression whose if-part is not a constant
3614 const char *g = "string";
3615 ccp = &g + (g ? g-g : 0);
3616 /* HPUX 7.0 cc rejects these. */
3619 ccp = (char const *const *) p;
3620 { /* SCO 3.2v4 cc rejects this. */
3622 char const *s = 0 ? (char *) 0 : (char const *) 0;
3626 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3628 const int *foo = &x[0];
3631 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3632 typedef const int *iptr;
3636 { /* AIX XL C 1.02.0.0 rejects this saying
3637 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3638 struct s { int j; const int *ap[3]; };
3639 struct s *b; b->j = 5;
3641 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3650 rm -f conftest.
$ac_objext
3651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3652 (eval $ac_compile) 2>conftest.er1
3654 grep -v '^ *+' conftest.er1
>conftest.err
3656 cat conftest.err
>&5
3657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3658 (exit $ac_status); } &&
3659 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664 (exit $ac_status); }; } &&
3665 { ac_try
='test -s conftest.$ac_objext'
3666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670 (exit $ac_status); }; }; then
3673 echo "$as_me: failed program was:" >&5
3674 sed 's/^/| /' conftest.
$ac_ext >&5
3678 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3680 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3681 echo "${ECHO_T}$ac_cv_c_const" >&6
3682 if test $ac_cv_c_const = no
; then
3684 cat >>confdefs.h
<<\_ACEOF
3690 echo "$as_me:$LINENO: checking for long" >&5
3691 echo $ECHO_N "checking for long... $ECHO_C" >&6
3692 if test "${ac_cv_type_long+set}" = set; then
3693 echo $ECHO_N "(cached) $ECHO_C" >&6
3695 cat >conftest.
$ac_ext <<_ACEOF
3698 cat confdefs.h
>>conftest.
$ac_ext
3699 cat >>conftest.
$ac_ext <<_ACEOF
3700 /* end confdefs.h. */
3701 $ac_includes_default
3713 rm -f conftest.
$ac_objext
3714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3715 (eval $ac_compile) 2>conftest.er1
3717 grep -v '^ *+' conftest.er1
>conftest.err
3719 cat conftest.err
>&5
3720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3721 (exit $ac_status); } &&
3722 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3727 (exit $ac_status); }; } &&
3728 { ac_try
='test -s conftest.$ac_objext'
3729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3733 (exit $ac_status); }; }; then
3736 echo "$as_me: failed program was:" >&5
3737 sed 's/^/| /' conftest.
$ac_ext >&5
3741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3743 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
3744 echo "${ECHO_T}$ac_cv_type_long" >&6
3746 echo "$as_me:$LINENO: checking size of long" >&5
3747 echo $ECHO_N "checking size of long... $ECHO_C" >&6
3748 if test "${ac_cv_sizeof_long+set}" = set; then
3749 echo $ECHO_N "(cached) $ECHO_C" >&6
3751 if test "$ac_cv_type_long" = yes; then
3752 # The cast to unsigned long works around a bug in the HP C Compiler
3753 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3754 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3755 # This bug is HP SR number 8606223364.
3756 if test "$cross_compiling" = yes; then
3757 # Depending upon the size, compute the lo and hi bounds.
3758 cat >conftest.
$ac_ext <<_ACEOF
3761 cat confdefs.h
>>conftest.
$ac_ext
3762 cat >>conftest.
$ac_ext <<_ACEOF
3763 /* end confdefs.h. */
3764 $ac_includes_default
3768 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
3775 rm -f conftest.
$ac_objext
3776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3777 (eval $ac_compile) 2>conftest.er1
3779 grep -v '^ *+' conftest.er1
>conftest.err
3781 cat conftest.err
>&5
3782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3783 (exit $ac_status); } &&
3784 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3789 (exit $ac_status); }; } &&
3790 { ac_try
='test -s conftest.$ac_objext'
3791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795 (exit $ac_status); }; }; then
3798 cat >conftest.
$ac_ext <<_ACEOF
3801 cat confdefs.h
>>conftest.
$ac_ext
3802 cat >>conftest.
$ac_ext <<_ACEOF
3803 /* end confdefs.h. */
3804 $ac_includes_default
3808 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
3815 rm -f conftest.
$ac_objext
3816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3817 (eval $ac_compile) 2>conftest.er1
3819 grep -v '^ *+' conftest.er1
>conftest.err
3821 cat conftest.err
>&5
3822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3823 (exit $ac_status); } &&
3824 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3829 (exit $ac_status); }; } &&
3830 { ac_try
='test -s conftest.$ac_objext'
3831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3835 (exit $ac_status); }; }; then
3836 ac_hi
=$ac_mid; break
3838 echo "$as_me: failed program was:" >&5
3839 sed 's/^/| /' conftest.
$ac_ext >&5
3841 ac_lo
=`expr $ac_mid + 1`
3842 if test $ac_lo -le $ac_mid; then
3846 ac_mid
=`expr 2 '*' $ac_mid + 1`
3848 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3851 echo "$as_me: failed program was:" >&5
3852 sed 's/^/| /' conftest.
$ac_ext >&5
3854 cat >conftest.
$ac_ext <<_ACEOF
3857 cat confdefs.h
>>conftest.
$ac_ext
3858 cat >>conftest.
$ac_ext <<_ACEOF
3859 /* end confdefs.h. */
3860 $ac_includes_default
3864 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
3871 rm -f conftest.
$ac_objext
3872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3873 (eval $ac_compile) 2>conftest.er1
3875 grep -v '^ *+' conftest.er1
>conftest.err
3877 cat conftest.err
>&5
3878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3879 (exit $ac_status); } &&
3880 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3885 (exit $ac_status); }; } &&
3886 { ac_try
='test -s conftest.$ac_objext'
3887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3891 (exit $ac_status); }; }; then
3894 cat >conftest.
$ac_ext <<_ACEOF
3897 cat confdefs.h
>>conftest.
$ac_ext
3898 cat >>conftest.
$ac_ext <<_ACEOF
3899 /* end confdefs.h. */
3900 $ac_includes_default
3904 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
3911 rm -f conftest.
$ac_objext
3912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3913 (eval $ac_compile) 2>conftest.er1
3915 grep -v '^ *+' conftest.er1
>conftest.err
3917 cat conftest.err
>&5
3918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3919 (exit $ac_status); } &&
3920 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3925 (exit $ac_status); }; } &&
3926 { ac_try
='test -s conftest.$ac_objext'
3927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931 (exit $ac_status); }; }; then
3932 ac_lo
=$ac_mid; break
3934 echo "$as_me: failed program was:" >&5
3935 sed 's/^/| /' conftest.
$ac_ext >&5
3937 ac_hi
=`expr '(' $ac_mid ')' - 1`
3938 if test $ac_mid -le $ac_hi; then
3942 ac_mid
=`expr 2 '*' $ac_mid`
3944 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3947 echo "$as_me: failed program was:" >&5
3948 sed 's/^/| /' conftest.
$ac_ext >&5
3952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3955 # Binary search between lo and hi bounds.
3956 while test "x$ac_lo" != "x$ac_hi"; do
3957 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
3958 cat >conftest.
$ac_ext <<_ACEOF
3961 cat confdefs.h
>>conftest.
$ac_ext
3962 cat >>conftest.
$ac_ext <<_ACEOF
3963 /* end confdefs.h. */
3964 $ac_includes_default
3968 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
3975 rm -f conftest.
$ac_objext
3976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3977 (eval $ac_compile) 2>conftest.er1
3979 grep -v '^ *+' conftest.er1
>conftest.err
3981 cat conftest.err
>&5
3982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3983 (exit $ac_status); } &&
3984 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3989 (exit $ac_status); }; } &&
3990 { ac_try
='test -s conftest.$ac_objext'
3991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3995 (exit $ac_status); }; }; then
3998 echo "$as_me: failed program was:" >&5
3999 sed 's/^/| /' conftest.
$ac_ext >&5
4001 ac_lo
=`expr '(' $ac_mid ')' + 1`
4003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4006 ?
*) ac_cv_sizeof_long
=$ac_lo;;
4007 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4008 See \`config.log' for more details." >&5
4009 echo "$as_me: error: cannot compute sizeof (long), 77
4010 See \`config.log' for more details." >&2;}
4011 { (exit 1); exit 1; }; } ;;
4014 if test "$cross_compiling" = yes; then
4015 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
4016 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
4017 { (exit 1); exit 1; }; }
4019 cat >conftest.
$ac_ext <<_ACEOF
4022 cat confdefs.h
>>conftest.
$ac_ext
4023 cat >>conftest.
$ac_ext <<_ACEOF
4024 /* end confdefs.h. */
4025 $ac_includes_default
4026 long longval () { return (long) (sizeof (long)); }
4027 unsigned long ulongval () { return (long) (sizeof (long)); }
4034 FILE *f = fopen ("conftest.val", "w");
4037 if (((long) (sizeof (long))) < 0)
4039 long i = longval ();
4040 if (i != ((long) (sizeof (long))))
4042 fprintf (f, "%ld\n", i);
4046 unsigned long i = ulongval ();
4047 if (i != ((long) (sizeof (long))))
4049 fprintf (f, "%lu\n", i);
4051 exit (ferror (f) || fclose (f) != 0);
4057 rm -f conftest
$ac_exeext
4058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4059 (eval $ac_link) 2>&5
4061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4062 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4067 (exit $ac_status); }; }; then
4068 ac_cv_sizeof_long
=`cat conftest.val`
4070 echo "$as_me: program exited with status $ac_status" >&5
4071 echo "$as_me: failed program was:" >&5
4072 sed 's/^/| /' conftest.
$ac_ext >&5
4075 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4076 See \`config.log' for more details." >&5
4077 echo "$as_me: error: cannot compute sizeof (long), 77
4078 See \`config.log' for more details." >&2;}
4079 { (exit 1); exit 1; }; }
4081 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4089 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
4090 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
4091 cat >>confdefs.h
<<_ACEOF
4092 #define SIZEOF_LONG $ac_cv_sizeof_long
4096 echo "$as_me:$LINENO: checking for int" >&5
4097 echo $ECHO_N "checking for int... $ECHO_C" >&6
4098 if test "${ac_cv_type_int+set}" = set; then
4099 echo $ECHO_N "(cached) $ECHO_C" >&6
4101 cat >conftest.
$ac_ext <<_ACEOF
4104 cat confdefs.h
>>conftest.
$ac_ext
4105 cat >>conftest.
$ac_ext <<_ACEOF
4106 /* end confdefs.h. */
4107 $ac_includes_default
4119 rm -f conftest.
$ac_objext
4120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4121 (eval $ac_compile) 2>conftest.er1
4123 grep -v '^ *+' conftest.er1
>conftest.err
4125 cat conftest.err
>&5
4126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4127 (exit $ac_status); } &&
4128 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4133 (exit $ac_status); }; } &&
4134 { ac_try
='test -s conftest.$ac_objext'
4135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4139 (exit $ac_status); }; }; then
4142 echo "$as_me: failed program was:" >&5
4143 sed 's/^/| /' conftest.
$ac_ext >&5
4147 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4149 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
4150 echo "${ECHO_T}$ac_cv_type_int" >&6
4152 echo "$as_me:$LINENO: checking size of int" >&5
4153 echo $ECHO_N "checking size of int... $ECHO_C" >&6
4154 if test "${ac_cv_sizeof_int+set}" = set; then
4155 echo $ECHO_N "(cached) $ECHO_C" >&6
4157 if test "$ac_cv_type_int" = yes; then
4158 # The cast to unsigned long works around a bug in the HP C Compiler
4159 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4160 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4161 # This bug is HP SR number 8606223364.
4162 if test "$cross_compiling" = yes; then
4163 # Depending upon the size, compute the lo and hi bounds.
4164 cat >conftest.
$ac_ext <<_ACEOF
4167 cat confdefs.h
>>conftest.
$ac_ext
4168 cat >>conftest.
$ac_ext <<_ACEOF
4169 /* end confdefs.h. */
4170 $ac_includes_default
4174 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
4181 rm -f conftest.
$ac_objext
4182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4183 (eval $ac_compile) 2>conftest.er1
4185 grep -v '^ *+' conftest.er1
>conftest.err
4187 cat conftest.err
>&5
4188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4189 (exit $ac_status); } &&
4190 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4195 (exit $ac_status); }; } &&
4196 { ac_try
='test -s conftest.$ac_objext'
4197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201 (exit $ac_status); }; }; then
4204 cat >conftest.
$ac_ext <<_ACEOF
4207 cat confdefs.h
>>conftest.
$ac_ext
4208 cat >>conftest.
$ac_ext <<_ACEOF
4209 /* end confdefs.h. */
4210 $ac_includes_default
4214 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4221 rm -f conftest.
$ac_objext
4222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4223 (eval $ac_compile) 2>conftest.er1
4225 grep -v '^ *+' conftest.er1
>conftest.err
4227 cat conftest.err
>&5
4228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4229 (exit $ac_status); } &&
4230 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4235 (exit $ac_status); }; } &&
4236 { ac_try
='test -s conftest.$ac_objext'
4237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4241 (exit $ac_status); }; }; then
4242 ac_hi
=$ac_mid; break
4244 echo "$as_me: failed program was:" >&5
4245 sed 's/^/| /' conftest.
$ac_ext >&5
4247 ac_lo
=`expr $ac_mid + 1`
4248 if test $ac_lo -le $ac_mid; then
4252 ac_mid
=`expr 2 '*' $ac_mid + 1`
4254 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4257 echo "$as_me: failed program was:" >&5
4258 sed 's/^/| /' conftest.
$ac_ext >&5
4260 cat >conftest.
$ac_ext <<_ACEOF
4263 cat confdefs.h
>>conftest.
$ac_ext
4264 cat >>conftest.
$ac_ext <<_ACEOF
4265 /* end confdefs.h. */
4266 $ac_includes_default
4270 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
4277 rm -f conftest.
$ac_objext
4278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4279 (eval $ac_compile) 2>conftest.er1
4281 grep -v '^ *+' conftest.er1
>conftest.err
4283 cat conftest.err
>&5
4284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4285 (exit $ac_status); } &&
4286 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4291 (exit $ac_status); }; } &&
4292 { ac_try
='test -s conftest.$ac_objext'
4293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4297 (exit $ac_status); }; }; then
4300 cat >conftest.
$ac_ext <<_ACEOF
4303 cat confdefs.h
>>conftest.
$ac_ext
4304 cat >>conftest.
$ac_ext <<_ACEOF
4305 /* end confdefs.h. */
4306 $ac_includes_default
4310 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
4317 rm -f conftest.
$ac_objext
4318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4319 (eval $ac_compile) 2>conftest.er1
4321 grep -v '^ *+' conftest.er1
>conftest.err
4323 cat conftest.err
>&5
4324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4325 (exit $ac_status); } &&
4326 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4331 (exit $ac_status); }; } &&
4332 { ac_try
='test -s conftest.$ac_objext'
4333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337 (exit $ac_status); }; }; then
4338 ac_lo
=$ac_mid; break
4340 echo "$as_me: failed program was:" >&5
4341 sed 's/^/| /' conftest.
$ac_ext >&5
4343 ac_hi
=`expr '(' $ac_mid ')' - 1`
4344 if test $ac_mid -le $ac_hi; then
4348 ac_mid
=`expr 2 '*' $ac_mid`
4350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4353 echo "$as_me: failed program was:" >&5
4354 sed 's/^/| /' conftest.
$ac_ext >&5
4358 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4361 # Binary search between lo and hi bounds.
4362 while test "x$ac_lo" != "x$ac_hi"; do
4363 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4364 cat >conftest.
$ac_ext <<_ACEOF
4367 cat confdefs.h
>>conftest.
$ac_ext
4368 cat >>conftest.
$ac_ext <<_ACEOF
4369 /* end confdefs.h. */
4370 $ac_includes_default
4374 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4381 rm -f conftest.
$ac_objext
4382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4383 (eval $ac_compile) 2>conftest.er1
4385 grep -v '^ *+' conftest.er1
>conftest.err
4387 cat conftest.err
>&5
4388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4389 (exit $ac_status); } &&
4390 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4395 (exit $ac_status); }; } &&
4396 { ac_try
='test -s conftest.$ac_objext'
4397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4401 (exit $ac_status); }; }; then
4404 echo "$as_me: failed program was:" >&5
4405 sed 's/^/| /' conftest.
$ac_ext >&5
4407 ac_lo
=`expr '(' $ac_mid ')' + 1`
4409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4412 ?
*) ac_cv_sizeof_int
=$ac_lo;;
4413 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4414 See \`config.log' for more details." >&5
4415 echo "$as_me: error: cannot compute sizeof (int), 77
4416 See \`config.log' for more details." >&2;}
4417 { (exit 1); exit 1; }; } ;;
4420 if test "$cross_compiling" = yes; then
4421 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
4422 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
4423 { (exit 1); exit 1; }; }
4425 cat >conftest.
$ac_ext <<_ACEOF
4428 cat confdefs.h
>>conftest.
$ac_ext
4429 cat >>conftest.
$ac_ext <<_ACEOF
4430 /* end confdefs.h. */
4431 $ac_includes_default
4432 long longval () { return (long) (sizeof (int)); }
4433 unsigned long ulongval () { return (long) (sizeof (int)); }
4440 FILE *f = fopen ("conftest.val", "w");
4443 if (((long) (sizeof (int))) < 0)
4445 long i = longval ();
4446 if (i != ((long) (sizeof (int))))
4448 fprintf (f, "%ld\n", i);
4452 unsigned long i = ulongval ();
4453 if (i != ((long) (sizeof (int))))
4455 fprintf (f, "%lu\n", i);
4457 exit (ferror (f) || fclose (f) != 0);
4463 rm -f conftest
$ac_exeext
4464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4465 (eval $ac_link) 2>&5
4467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4468 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4473 (exit $ac_status); }; }; then
4474 ac_cv_sizeof_int
=`cat conftest.val`
4476 echo "$as_me: program exited with status $ac_status" >&5
4477 echo "$as_me: failed program was:" >&5
4478 sed 's/^/| /' conftest.
$ac_ext >&5
4481 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4482 See \`config.log' for more details." >&5
4483 echo "$as_me: error: cannot compute sizeof (int), 77
4484 See \`config.log' for more details." >&2;}
4485 { (exit 1); exit 1; }; }
4487 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4495 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
4496 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
4497 cat >>confdefs.h
<<_ACEOF
4498 #define SIZEOF_INT $ac_cv_sizeof_int
4502 echo "$as_me:$LINENO: checking for short" >&5
4503 echo $ECHO_N "checking for short... $ECHO_C" >&6
4504 if test "${ac_cv_type_short+set}" = set; then
4505 echo $ECHO_N "(cached) $ECHO_C" >&6
4507 cat >conftest.
$ac_ext <<_ACEOF
4510 cat confdefs.h
>>conftest.
$ac_ext
4511 cat >>conftest.
$ac_ext <<_ACEOF
4512 /* end confdefs.h. */
4513 $ac_includes_default
4525 rm -f conftest.
$ac_objext
4526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4527 (eval $ac_compile) 2>conftest.er1
4529 grep -v '^ *+' conftest.er1
>conftest.err
4531 cat conftest.err
>&5
4532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4533 (exit $ac_status); } &&
4534 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4539 (exit $ac_status); }; } &&
4540 { ac_try
='test -s conftest.$ac_objext'
4541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4545 (exit $ac_status); }; }; then
4546 ac_cv_type_short
=yes
4548 echo "$as_me: failed program was:" >&5
4549 sed 's/^/| /' conftest.
$ac_ext >&5
4553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4555 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
4556 echo "${ECHO_T}$ac_cv_type_short" >&6
4558 echo "$as_me:$LINENO: checking size of short" >&5
4559 echo $ECHO_N "checking size of short... $ECHO_C" >&6
4560 if test "${ac_cv_sizeof_short+set}" = set; then
4561 echo $ECHO_N "(cached) $ECHO_C" >&6
4563 if test "$ac_cv_type_short" = yes; then
4564 # The cast to unsigned long works around a bug in the HP C Compiler
4565 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4566 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4567 # This bug is HP SR number 8606223364.
4568 if test "$cross_compiling" = yes; then
4569 # Depending upon the size, compute the lo and hi bounds.
4570 cat >conftest.
$ac_ext <<_ACEOF
4573 cat confdefs.h
>>conftest.
$ac_ext
4574 cat >>conftest.
$ac_ext <<_ACEOF
4575 /* end confdefs.h. */
4576 $ac_includes_default
4580 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
4587 rm -f conftest.
$ac_objext
4588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4589 (eval $ac_compile) 2>conftest.er1
4591 grep -v '^ *+' conftest.er1
>conftest.err
4593 cat conftest.err
>&5
4594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595 (exit $ac_status); } &&
4596 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4601 (exit $ac_status); }; } &&
4602 { ac_try
='test -s conftest.$ac_objext'
4603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607 (exit $ac_status); }; }; then
4610 cat >conftest.
$ac_ext <<_ACEOF
4613 cat confdefs.h
>>conftest.
$ac_ext
4614 cat >>conftest.
$ac_ext <<_ACEOF
4615 /* end confdefs.h. */
4616 $ac_includes_default
4620 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
4627 rm -f conftest.
$ac_objext
4628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4629 (eval $ac_compile) 2>conftest.er1
4631 grep -v '^ *+' conftest.er1
>conftest.err
4633 cat conftest.err
>&5
4634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4635 (exit $ac_status); } &&
4636 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641 (exit $ac_status); }; } &&
4642 { ac_try
='test -s conftest.$ac_objext'
4643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4647 (exit $ac_status); }; }; then
4648 ac_hi
=$ac_mid; break
4650 echo "$as_me: failed program was:" >&5
4651 sed 's/^/| /' conftest.
$ac_ext >&5
4653 ac_lo
=`expr $ac_mid + 1`
4654 if test $ac_lo -le $ac_mid; then
4658 ac_mid
=`expr 2 '*' $ac_mid + 1`
4660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4663 echo "$as_me: failed program was:" >&5
4664 sed 's/^/| /' conftest.
$ac_ext >&5
4666 cat >conftest.
$ac_ext <<_ACEOF
4669 cat confdefs.h
>>conftest.
$ac_ext
4670 cat >>conftest.
$ac_ext <<_ACEOF
4671 /* end confdefs.h. */
4672 $ac_includes_default
4676 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
4683 rm -f conftest.
$ac_objext
4684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4685 (eval $ac_compile) 2>conftest.er1
4687 grep -v '^ *+' conftest.er1
>conftest.err
4689 cat conftest.err
>&5
4690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4691 (exit $ac_status); } &&
4692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697 (exit $ac_status); }; } &&
4698 { ac_try
='test -s conftest.$ac_objext'
4699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703 (exit $ac_status); }; }; then
4706 cat >conftest.
$ac_ext <<_ACEOF
4709 cat confdefs.h
>>conftest.
$ac_ext
4710 cat >>conftest.
$ac_ext <<_ACEOF
4711 /* end confdefs.h. */
4712 $ac_includes_default
4716 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
4723 rm -f conftest.
$ac_objext
4724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4725 (eval $ac_compile) 2>conftest.er1
4727 grep -v '^ *+' conftest.er1
>conftest.err
4729 cat conftest.err
>&5
4730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4731 (exit $ac_status); } &&
4732 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4737 (exit $ac_status); }; } &&
4738 { ac_try
='test -s conftest.$ac_objext'
4739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4743 (exit $ac_status); }; }; then
4744 ac_lo
=$ac_mid; break
4746 echo "$as_me: failed program was:" >&5
4747 sed 's/^/| /' conftest.
$ac_ext >&5
4749 ac_hi
=`expr '(' $ac_mid ')' - 1`
4750 if test $ac_mid -le $ac_hi; then
4754 ac_mid
=`expr 2 '*' $ac_mid`
4756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4759 echo "$as_me: failed program was:" >&5
4760 sed 's/^/| /' conftest.
$ac_ext >&5
4764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4767 # Binary search between lo and hi bounds.
4768 while test "x$ac_lo" != "x$ac_hi"; do
4769 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4770 cat >conftest.
$ac_ext <<_ACEOF
4773 cat confdefs.h
>>conftest.
$ac_ext
4774 cat >>conftest.
$ac_ext <<_ACEOF
4775 /* end confdefs.h. */
4776 $ac_includes_default
4780 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
4787 rm -f conftest.
$ac_objext
4788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4789 (eval $ac_compile) 2>conftest.er1
4791 grep -v '^ *+' conftest.er1
>conftest.err
4793 cat conftest.err
>&5
4794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4795 (exit $ac_status); } &&
4796 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4801 (exit $ac_status); }; } &&
4802 { ac_try
='test -s conftest.$ac_objext'
4803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807 (exit $ac_status); }; }; then
4810 echo "$as_me: failed program was:" >&5
4811 sed 's/^/| /' conftest.
$ac_ext >&5
4813 ac_lo
=`expr '(' $ac_mid ')' + 1`
4815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4818 ?
*) ac_cv_sizeof_short
=$ac_lo;;
4819 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
4820 See \`config.log' for more details." >&5
4821 echo "$as_me: error: cannot compute sizeof (short), 77
4822 See \`config.log' for more details." >&2;}
4823 { (exit 1); exit 1; }; } ;;
4826 if test "$cross_compiling" = yes; then
4827 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
4828 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
4829 { (exit 1); exit 1; }; }
4831 cat >conftest.
$ac_ext <<_ACEOF
4834 cat confdefs.h
>>conftest.
$ac_ext
4835 cat >>conftest.
$ac_ext <<_ACEOF
4836 /* end confdefs.h. */
4837 $ac_includes_default
4838 long longval () { return (long) (sizeof (short)); }
4839 unsigned long ulongval () { return (long) (sizeof (short)); }
4846 FILE *f = fopen ("conftest.val", "w");
4849 if (((long) (sizeof (short))) < 0)
4851 long i = longval ();
4852 if (i != ((long) (sizeof (short))))
4854 fprintf (f, "%ld\n", i);
4858 unsigned long i = ulongval ();
4859 if (i != ((long) (sizeof (short))))
4861 fprintf (f, "%lu\n", i);
4863 exit (ferror (f) || fclose (f) != 0);
4869 rm -f conftest
$ac_exeext
4870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4871 (eval $ac_link) 2>&5
4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4879 (exit $ac_status); }; }; then
4880 ac_cv_sizeof_short
=`cat conftest.val`
4882 echo "$as_me: program exited with status $ac_status" >&5
4883 echo "$as_me: failed program was:" >&5
4884 sed 's/^/| /' conftest.
$ac_ext >&5
4887 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
4888 See \`config.log' for more details." >&5
4889 echo "$as_me: error: cannot compute sizeof (short), 77
4890 See \`config.log' for more details." >&2;}
4891 { (exit 1); exit 1; }; }
4893 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4898 ac_cv_sizeof_short
=0
4901 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
4902 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
4903 cat >>confdefs.h
<<_ACEOF
4904 #define SIZEOF_SHORT $ac_cv_sizeof_short
4908 echo "$as_me:$LINENO: checking for char" >&5
4909 echo $ECHO_N "checking for char... $ECHO_C" >&6
4910 if test "${ac_cv_type_char+set}" = set; then
4911 echo $ECHO_N "(cached) $ECHO_C" >&6
4913 cat >conftest.
$ac_ext <<_ACEOF
4916 cat confdefs.h
>>conftest.
$ac_ext
4917 cat >>conftest.
$ac_ext <<_ACEOF
4918 /* end confdefs.h. */
4919 $ac_includes_default
4931 rm -f conftest.
$ac_objext
4932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4933 (eval $ac_compile) 2>conftest.er1
4935 grep -v '^ *+' conftest.er1
>conftest.err
4937 cat conftest.err
>&5
4938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939 (exit $ac_status); } &&
4940 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4945 (exit $ac_status); }; } &&
4946 { ac_try
='test -s conftest.$ac_objext'
4947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4951 (exit $ac_status); }; }; then
4954 echo "$as_me: failed program was:" >&5
4955 sed 's/^/| /' conftest.
$ac_ext >&5
4959 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4961 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
4962 echo "${ECHO_T}$ac_cv_type_char" >&6
4964 echo "$as_me:$LINENO: checking size of char" >&5
4965 echo $ECHO_N "checking size of char... $ECHO_C" >&6
4966 if test "${ac_cv_sizeof_char+set}" = set; then
4967 echo $ECHO_N "(cached) $ECHO_C" >&6
4969 if test "$ac_cv_type_char" = yes; then
4970 # The cast to unsigned long works around a bug in the HP C Compiler
4971 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4972 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4973 # This bug is HP SR number 8606223364.
4974 if test "$cross_compiling" = yes; then
4975 # Depending upon the size, compute the lo and hi bounds.
4976 cat >conftest.
$ac_ext <<_ACEOF
4979 cat confdefs.h
>>conftest.
$ac_ext
4980 cat >>conftest.
$ac_ext <<_ACEOF
4981 /* end confdefs.h. */
4982 $ac_includes_default
4986 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
4993 rm -f conftest.
$ac_objext
4994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4995 (eval $ac_compile) 2>conftest.er1
4997 grep -v '^ *+' conftest.er1
>conftest.err
4999 cat conftest.err
>&5
5000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5001 (exit $ac_status); } &&
5002 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5007 (exit $ac_status); }; } &&
5008 { ac_try
='test -s conftest.$ac_objext'
5009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5013 (exit $ac_status); }; }; then
5016 cat >conftest.
$ac_ext <<_ACEOF
5019 cat confdefs.h
>>conftest.
$ac_ext
5020 cat >>conftest.
$ac_ext <<_ACEOF
5021 /* end confdefs.h. */
5022 $ac_includes_default
5026 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
5033 rm -f conftest.
$ac_objext
5034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5035 (eval $ac_compile) 2>conftest.er1
5037 grep -v '^ *+' conftest.er1
>conftest.err
5039 cat conftest.err
>&5
5040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5041 (exit $ac_status); } &&
5042 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5047 (exit $ac_status); }; } &&
5048 { ac_try
='test -s conftest.$ac_objext'
5049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5053 (exit $ac_status); }; }; then
5054 ac_hi
=$ac_mid; break
5056 echo "$as_me: failed program was:" >&5
5057 sed 's/^/| /' conftest.
$ac_ext >&5
5059 ac_lo
=`expr $ac_mid + 1`
5060 if test $ac_lo -le $ac_mid; then
5064 ac_mid
=`expr 2 '*' $ac_mid + 1`
5066 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5069 echo "$as_me: failed program was:" >&5
5070 sed 's/^/| /' conftest.
$ac_ext >&5
5072 cat >conftest.
$ac_ext <<_ACEOF
5075 cat confdefs.h
>>conftest.
$ac_ext
5076 cat >>conftest.
$ac_ext <<_ACEOF
5077 /* end confdefs.h. */
5078 $ac_includes_default
5082 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
5089 rm -f conftest.
$ac_objext
5090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5091 (eval $ac_compile) 2>conftest.er1
5093 grep -v '^ *+' conftest.er1
>conftest.err
5095 cat conftest.err
>&5
5096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5097 (exit $ac_status); } &&
5098 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103 (exit $ac_status); }; } &&
5104 { ac_try
='test -s conftest.$ac_objext'
5105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 (exit $ac_status); }; }; then
5112 cat >conftest.
$ac_ext <<_ACEOF
5115 cat confdefs.h
>>conftest.
$ac_ext
5116 cat >>conftest.
$ac_ext <<_ACEOF
5117 /* end confdefs.h. */
5118 $ac_includes_default
5122 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
5129 rm -f conftest.
$ac_objext
5130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5131 (eval $ac_compile) 2>conftest.er1
5133 grep -v '^ *+' conftest.er1
>conftest.err
5135 cat conftest.err
>&5
5136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137 (exit $ac_status); } &&
5138 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5143 (exit $ac_status); }; } &&
5144 { ac_try
='test -s conftest.$ac_objext'
5145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5149 (exit $ac_status); }; }; then
5150 ac_lo
=$ac_mid; break
5152 echo "$as_me: failed program was:" >&5
5153 sed 's/^/| /' conftest.
$ac_ext >&5
5155 ac_hi
=`expr '(' $ac_mid ')' - 1`
5156 if test $ac_mid -le $ac_hi; then
5160 ac_mid
=`expr 2 '*' $ac_mid`
5162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5165 echo "$as_me: failed program was:" >&5
5166 sed 's/^/| /' conftest.
$ac_ext >&5
5170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5173 # Binary search between lo and hi bounds.
5174 while test "x$ac_lo" != "x$ac_hi"; do
5175 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5176 cat >conftest.
$ac_ext <<_ACEOF
5179 cat confdefs.h
>>conftest.
$ac_ext
5180 cat >>conftest.
$ac_ext <<_ACEOF
5181 /* end confdefs.h. */
5182 $ac_includes_default
5186 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
5193 rm -f conftest.
$ac_objext
5194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5195 (eval $ac_compile) 2>conftest.er1
5197 grep -v '^ *+' conftest.er1
>conftest.err
5199 cat conftest.err
>&5
5200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5201 (exit $ac_status); } &&
5202 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5207 (exit $ac_status); }; } &&
5208 { ac_try
='test -s conftest.$ac_objext'
5209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5213 (exit $ac_status); }; }; then
5216 echo "$as_me: failed program was:" >&5
5217 sed 's/^/| /' conftest.
$ac_ext >&5
5219 ac_lo
=`expr '(' $ac_mid ')' + 1`
5221 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5224 ?
*) ac_cv_sizeof_char
=$ac_lo;;
5225 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
5226 See \`config.log' for more details." >&5
5227 echo "$as_me: error: cannot compute sizeof (char), 77
5228 See \`config.log' for more details." >&2;}
5229 { (exit 1); exit 1; }; } ;;
5232 if test "$cross_compiling" = yes; then
5233 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
5234 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
5235 { (exit 1); exit 1; }; }
5237 cat >conftest.
$ac_ext <<_ACEOF
5240 cat confdefs.h
>>conftest.
$ac_ext
5241 cat >>conftest.
$ac_ext <<_ACEOF
5242 /* end confdefs.h. */
5243 $ac_includes_default
5244 long longval () { return (long) (sizeof (char)); }
5245 unsigned long ulongval () { return (long) (sizeof (char)); }
5252 FILE *f = fopen ("conftest.val", "w");
5255 if (((long) (sizeof (char))) < 0)
5257 long i = longval ();
5258 if (i != ((long) (sizeof (char))))
5260 fprintf (f, "%ld\n", i);
5264 unsigned long i = ulongval ();
5265 if (i != ((long) (sizeof (char))))
5267 fprintf (f, "%lu\n", i);
5269 exit (ferror (f) || fclose (f) != 0);
5275 rm -f conftest
$ac_exeext
5276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5277 (eval $ac_link) 2>&5
5279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5280 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5285 (exit $ac_status); }; }; then
5286 ac_cv_sizeof_char
=`cat conftest.val`
5288 echo "$as_me: program exited with status $ac_status" >&5
5289 echo "$as_me: failed program was:" >&5
5290 sed 's/^/| /' conftest.
$ac_ext >&5
5293 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
5294 See \`config.log' for more details." >&5
5295 echo "$as_me: error: cannot compute sizeof (char), 77
5296 See \`config.log' for more details." >&2;}
5297 { (exit 1); exit 1; }; }
5299 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5307 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
5308 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
5309 cat >>confdefs.h
<<_ACEOF
5310 #define SIZEOF_CHAR $ac_cv_sizeof_char
5315 ac_config_files
="$ac_config_files Makefile"
5316 cat >confcache
<<\_ACEOF
5317 # This file is a shell script that caches the results of configure
5318 # tests run on this system so they can be shared between configure
5319 # scripts and configure runs, see configure's option --config-cache.
5320 # It is not useful on other systems. If it contains results you don't
5321 # want to keep, you may remove or edit it.
5323 # config.status only pays attention to the cache file if you give it
5324 # the --recheck option to rerun configure.
5326 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5327 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5332 # The following way of writing the cache mishandles newlines in values,
5333 # but we know of no workaround that is simple, portable, and efficient.
5334 # So, don't put newlines in cache variables' values.
5335 # Ultrix sh set writes to stderr and can't be redirected directly,
5336 # and sets the high bit in the cache file unless we assign to the vars.
5339 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5341 # `set' does not quote correctly, so add quotes (double-quote
5342 # substitution turns \\\\ into \\, and sed turns \\ into \).
5345 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5348 # `set' quotes correctly as required by POSIX, so do not add quotes.
5350 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5357 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5359 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5361 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5362 if test -w $cache_file; then
5363 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5364 cat confcache
>$cache_file
5366 echo "not updating unwritable cache $cache_file"
5371 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5372 # Let make expand exec_prefix.
5373 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5375 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5376 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5377 # trailing colons and then remove the whole line if VPATH becomes empty
5378 # (actually we leave an empty line to preserve line numbers).
5379 if test "x$srcdir" = x.
; then
5380 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5381 s/:*\$(srcdir):*/:/;
5382 s/:*\${srcdir}:*/:/;
5384 s/^\([^=]*=[ ]*\):*/\1/;
5390 DEFS
=-DHAVE_CONFIG_H
5394 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5395 # 1. Remove the extension, and $U if already installed.
5396 ac_i
=`echo "$ac_i" |
5397 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5399 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
5400 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
5404 LTLIBOBJS
=$ac_ltlibobjs
5408 : ${CONFIG_STATUS=./config.status}
5409 ac_clean_files_save
=$ac_clean_files
5410 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5411 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5412 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5413 cat >$CONFIG_STATUS <<_ACEOF
5415 # Generated by $as_me.
5416 # Run this file to recreate the current configuration.
5417 # Compiler output produced by configure, useful for debugging
5418 # configure, is in config.log if it exists.
5423 SHELL=\${CONFIG_SHELL-$SHELL}
5426 cat >>$CONFIG_STATUS <<\_ACEOF
5427 ## --------------------- ##
5428 ## M4sh Initialization. ##
5429 ## --------------------- ##
5431 # Be Bourne compatible
5432 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
5435 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5436 # is contrary to our usage. Disable this feature.
5437 alias -g '${1+"$@"}'='"$@"'
5438 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
5441 DUALCASE
=1; export DUALCASE
# for MKS sh
5443 # Support unset when possible.
5444 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5451 # Work around bugs in pre-3.0 UWIN ksh.
5452 $as_unset ENV MAIL MAILPATH
5459 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5460 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5461 LC_TELEPHONE LC_TIME
5463 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5464 eval $as_var=C
; export $as_var
5470 # Required to use basename.
5471 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5477 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
5478 as_basename
=basename
5484 # Name of the executable.
5485 as_me
=`$as_basename "$0" ||
5486 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5487 X"$0" : 'X\(//\)$' \| \
5488 X"$0" : 'X\(/\)$' \| \
5489 . : '\(.\)' 2>/dev/null ||
5491 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5492 /^X\/\(\/\/\)$/{ s//\1/; q; }
5493 /^X\/\(\/\).*/{ s//\1/; q; }
5497 # PATH needs CR, and LINENO needs CR and PATH.
5498 # Avoid depending upon Character Ranges.
5499 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5500 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5501 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5502 as_cr_digits
='0123456789'
5503 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5505 # The user is always right.
5506 if test "${PATH_SEPARATOR+set}" != set; then
5507 echo "#! /bin/sh" >conf$$.sh
5508 echo "exit 0" >>conf$$.sh
5510 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5521 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5522 test "x$as_lineno_1" != "x$as_lineno_2" &&
5523 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
5524 # Find who we are. Look in the path if we contain no path at all
5527 *[\\/]* ) as_myself
=$0 ;;
5528 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5532 test -z "$as_dir" && as_dir
=.
5533 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
5538 # We did not find ourselves, most probably we were run as `sh COMMAND'
5539 # in which case we are not to be found in the path.
5540 if test "x$as_myself" = x
; then
5543 if test ! -f "$as_myself"; then
5544 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5545 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5546 { (exit 1); exit 1; }; }
5548 case $CONFIG_SHELL in
5550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5551 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
5554 test -z "$as_dir" && as_dir
=.
5555 for as_base
in sh bash ksh sh5
; do
5558 if ("$as_dir/$as_base" -c '
5561 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5562 test "x$as_lineno_1" != "x$as_lineno_2" &&
5563 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
5564 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
5565 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
5566 CONFIG_SHELL
=$as_dir/$as_base
5568 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5576 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5577 # uniformly replaced by the line number. The first 'sed' inserts a
5578 # line-number line before each line; the second 'sed' does the real
5579 # work. The second script uses 'N' to pair each line-number line
5580 # with the numbered line, and appends trailing '-' during
5581 # substitution so that $LINENO is not a special case at line end.
5582 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5583 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5584 sed '=' <$as_myself |
5589 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5592 s,^['$as_cr_digits']*\n,,
5594 chmod +x
$as_me.lineno ||
5595 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5596 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5597 { (exit 1); exit 1; }; }
5599 # Don't try to exec as it changes $[0], causing all sort of problems
5600 # (the dirname of $[0] is not the place where we might find the
5601 # original and so on. Autoconf is especially sensible to this).
5603 # Exit status is that of the last command.
5608 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5609 *c
*,-n*) ECHO_N
= ECHO_C
='
5611 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5612 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5615 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5621 rm -f conf$$ conf$$.exe conf$$.
file
5623 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5624 # We could just check for DJGPP; but this test a) works b) is more generic
5625 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5626 if test -f conf$$.exe
; then
5627 # Don't use ln at all; we don't have any links
5632 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5637 rm -f conf$$ conf$$.exe conf$$.
file
5639 if mkdir
-p .
2>/dev
/null
; then
5642 test -d .
/-p && rmdir .
/-p
5646 as_executable_p
="test -f"
5648 # Sed expression to map a string onto a valid CPP name.
5649 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5651 # Sed expression to map a string onto a valid variable name.
5652 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5656 # We need space, tab and new line, in precisely that order.
5666 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5667 # report actual input values of CONFIG_FILES etc. instead of their
5668 # values after options handling. Logging --version etc. is OK.
5672 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5673 ## Running $as_me. ##
5678 This file was extended by $as_me, which was
5679 generated by GNU Autoconf 2.59. Invocation command line was
5681 CONFIG_FILES = $CONFIG_FILES
5682 CONFIG_HEADERS = $CONFIG_HEADERS
5683 CONFIG_LINKS = $CONFIG_LINKS
5684 CONFIG_COMMANDS = $CONFIG_COMMANDS
5688 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5692 # Files that config.status was made for.
5693 if test -n "$ac_config_files"; then
5694 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5697 if test -n "$ac_config_headers"; then
5698 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5701 if test -n "$ac_config_links"; then
5702 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5705 if test -n "$ac_config_commands"; then
5706 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5709 cat >>$CONFIG_STATUS <<\_ACEOF
5712 \`$as_me' instantiates files from templates according to the
5713 current configuration.
5715 Usage: $0 [OPTIONS] [FILE]...
5717 -h, --help print this help, then exit
5718 -V, --version print version number, then exit
5719 -q, --quiet do not print progress messages
5720 -d, --debug don't remove temporary files
5721 --recheck update $as_me by reconfiguring in the same conditions
5722 --file=FILE[:TEMPLATE]
5723 instantiate the configuration file FILE
5724 --header=FILE[:TEMPLATE]
5725 instantiate the configuration header FILE
5727 Configuration files:
5730 Configuration headers:
5733 Report bugs to <bug-autoconf@gnu.org>."
5736 cat >>$CONFIG_STATUS <<_ACEOF
5739 configured by $0, generated by GNU Autoconf 2.59,
5740 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5742 Copyright (C) 2003 Free Software Foundation, Inc.
5743 This config.status script is free software; the Free Software Foundation
5744 gives unlimited permission to copy, distribute and modify it."
5749 cat >>$CONFIG_STATUS <<\_ACEOF
5750 # If no file are specified by the user, then we need to provide default
5751 # value. By we need to know if files were specified by the user.
5757 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
5758 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5766 *) # This is not an option, so the user has probably given explicit
5769 ac_need_defaults
=false
;;
5773 # Handling of the options.
5775 cat >>$CONFIG_STATUS <<\_ACEOF
5776 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5778 --version |
--vers* |
-V )
5779 echo "$ac_cs_version"; exit 0 ;;
5781 # Conflict between --help and --header
5782 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5783 Try \`$0 --help' for more information." >&5
5784 echo "$as_me: error: ambiguous option: $1
5785 Try \`$0 --help' for more information." >&2;}
5786 { (exit 1); exit 1; }; };;
5787 --help |
--hel |
-h )
5788 echo "$ac_cs_usage"; exit 0 ;;
5789 --debug |
--d* |
-d )
5791 --file |
--fil |
--fi |
--f )
5793 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5794 ac_need_defaults
=false
;;
5795 --header |
--heade |
--head |
--hea )
5797 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
5798 ac_need_defaults
=false
;;
5799 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5800 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5804 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5805 Try \`$0 --help' for more information." >&5
5806 echo "$as_me: error: unrecognized option: $1
5807 Try \`$0 --help' for more information." >&2;}
5808 { (exit 1); exit 1; }; } ;;
5810 *) ac_config_targets
="$ac_config_targets $1" ;;
5816 ac_configure_extra_args
=
5818 if $ac_cs_silent; then
5820 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5824 cat >>$CONFIG_STATUS <<_ACEOF
5825 if \$ac_cs_recheck; then
5826 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5827 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5836 cat >>$CONFIG_STATUS <<\_ACEOF
5837 for ac_config_target
in $ac_config_targets
5839 case "$ac_config_target" in
5840 # Handling of arguments.
5841 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5842 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
5843 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5844 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5845 { (exit 1); exit 1; }; };;
5849 # If the user did not use the arguments to specify the items to instantiate,
5850 # then the envvar interface is used. Set only those that are not.
5851 # We use the long form for the default assignment because of an extremely
5852 # bizarre bug on SunOS 4.1.3.
5853 if $ac_need_defaults; then
5854 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5855 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5858 # Have a temporary directory for convenience. Make it in the build tree
5859 # simply because there is no reason to put it here, and in addition,
5860 # creating and moving files from /tmp can sometimes cause problems.
5861 # Create a temporary directory, and hook for its removal unless debugging.
5864 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5865 trap '{ (exit 1); exit 1; }' 1 2 13 15
5868 # Create a (secure) tmp directory for tmp files.
5871 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5872 test -n "$tmp" && test -d "$tmp"
5875 tmp
=.
/confstat$$
-$RANDOM
5876 (umask 077 && mkdir
$tmp)
5879 echo "$me: cannot create a temporary directory in ." >&2
5880 { (exit 1); exit 1; }
5885 cat >>$CONFIG_STATUS <<_ACEOF
5888 # CONFIG_FILES section.
5891 # No need to generate the scripts if there are no CONFIG_FILES.
5892 # This happens for instance when ./config.status config.h
5893 if test -n "\$CONFIG_FILES"; then
5894 # Protect against being on the right side of a sed subst in config.status.
5895 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5896 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5897 s,@SHELL@,$SHELL,;t t
5898 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5899 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5900 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5901 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5902 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5903 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5904 s,@exec_prefix@,$exec_prefix,;t t
5905 s,@prefix@,$prefix,;t t
5906 s,@program_transform_name@,$program_transform_name,;t t
5907 s,@bindir@,$bindir,;t t
5908 s,@sbindir@,$sbindir,;t t
5909 s,@libexecdir@,$libexecdir,;t t
5910 s,@datadir@,$datadir,;t t
5911 s,@sysconfdir@,$sysconfdir,;t t
5912 s,@sharedstatedir@,$sharedstatedir,;t t
5913 s,@localstatedir@,$localstatedir,;t t
5914 s,@libdir@,$libdir,;t t
5915 s,@includedir@,$includedir,;t t
5916 s,@oldincludedir@,$oldincludedir,;t t
5917 s,@infodir@,$infodir,;t t
5918 s,@mandir@,$mandir,;t t
5919 s,@build_alias@,$build_alias,;t t
5920 s,@host_alias@,$host_alias,;t t
5921 s,@target_alias@,$target_alias,;t t
5923 s,@ECHO_C@,$ECHO_C,;t t
5924 s,@ECHO_N@,$ECHO_N,;t t
5925 s,@ECHO_T@,$ECHO_T,;t t
5928 s,@CFLAGS@,$CFLAGS,;t t
5929 s,@LDFLAGS@,$LDFLAGS,;t t
5930 s,@CPPFLAGS@,$CPPFLAGS,;t t
5931 s,@ac_ct_CC@,$ac_ct_CC,;t t
5932 s,@EXEEXT@,$EXEEXT,;t t
5933 s,@OBJEXT@,$OBJEXT,;t t
5934 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5935 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5936 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5938 s,@EGREP@,$EGREP,;t t
5939 s,@LOC_NTOA@,$LOC_NTOA,;t t
5940 s,@LIBOBJS@,$LIBOBJS,;t t
5941 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5946 cat >>$CONFIG_STATUS <<\_ACEOF
5947 # Split the substitutions into bite-sized pieces for seds with
5948 # small command number limits, like on Digital OSF/1 and HP-UX.
5950 ac_sed_frag
=1 # Number of current file.
5951 ac_beg
=1 # First line for current file.
5952 ac_end
=$ac_max_sed_lines # Line after last line for current file.
5955 while $ac_more_lines; do
5956 if test $ac_beg -gt 1; then
5957 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5959 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5961 if test ! -s $tmp/subs.frag
; then
5964 # The purpose of the label and of the branching condition is to
5965 # speed up the sed processing (if there are no `@' at all, there
5966 # is no need to browse any of the substitutions).
5967 # These are the two extra sed commands mentioned above.
5969 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
5970 if test -z "$ac_sed_cmds"; then
5971 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
5973 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5975 ac_sed_frag
=`expr $ac_sed_frag + 1`
5977 ac_end
=`expr $ac_end + $ac_max_sed_lines`
5980 if test -z "$ac_sed_cmds"; then
5983 fi # test -n "$CONFIG_FILES"
5986 cat >>$CONFIG_STATUS <<\_ACEOF
5987 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
5988 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5990 - |
*:- |
*:-:* ) # input from stdin
5992 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5993 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5994 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5995 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5996 * ) ac_file_in
=$ac_file.
in ;;
5999 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6000 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6001 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6002 X"$ac_file" : 'X\(//\)[^/]' \| \
6003 X"$ac_file" : 'X\(//\)$' \| \
6004 X"$ac_file" : 'X\(/\)' \| \
6005 . : '\(.\)' 2>/dev/null ||
6007 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6008 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6009 /^X\(\/\/\)$/{ s//\1/; q; }
6010 /^X\(\/\).*/{ s//\1/; q; }
6012 { if $as_mkdir_p; then
6017 while test ! -d "$as_dir"; do
6018 as_dirs
="$as_dir $as_dirs"
6019 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6020 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6021 X"$as_dir" : 'X\(//\)[^/]' \| \
6022 X"$as_dir" : 'X\(//\)$' \| \
6023 X"$as_dir" : 'X\(/\)' \| \
6024 . : '\(.\)' 2>/dev/null ||
6026 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6027 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6028 /^X\(\/\/\)$/{ s//\1/; q; }
6029 /^X\(\/\).*/{ s//\1/; q; }
6032 test ! -n "$as_dirs" || mkdir
$as_dirs
6033 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6034 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6035 { (exit 1); exit 1; }; }; }
6039 if test "$ac_dir" != .
; then
6040 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6041 # A "../" for each directory in $ac_dir_suffix.
6042 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6044 ac_dir_suffix
= ac_top_builddir
=
6048 .
) # No --srcdir option. We are building in place.
6050 if test -z "$ac_top_builddir"; then
6053 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6055 [\\/]* | ?
:[\\/]* ) # Absolute path.
6056 ac_srcdir
=$srcdir$ac_dir_suffix;
6057 ac_top_srcdir
=$srcdir ;;
6059 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6060 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6063 # Do not use `cd foo && pwd` to compute absolute paths, because
6064 # the directories may not exist.
6066 .
) ac_abs_builddir
="$ac_dir";;
6069 .
) ac_abs_builddir
=`pwd`;;
6070 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6071 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6074 case $ac_abs_builddir in
6075 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6077 case ${ac_top_builddir}.
in
6078 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6079 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6080 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6083 case $ac_abs_builddir in
6084 .
) ac_abs_srcdir
=$ac_srcdir;;
6087 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6088 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6089 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6092 case $ac_abs_builddir in
6093 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6095 case $ac_top_srcdir in
6096 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6097 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6098 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6104 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6105 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
6108 # Let's still pretend it is `configure' which instantiates (i.e., don't
6109 # use $as_me), people would be surprised to read:
6110 # /* config.h. Generated by config.status. */
6111 if test x
"$ac_file" = x-
; then
6114 configure_input
="$ac_file. "
6116 configure_input
=$configure_input"Generated from `echo $ac_file_in |
6117 sed 's,.*/,,'` by configure."
6119 # First look for the input files in the build tree, otherwise in the
6121 ac_file_inputs
=`IFS=:
6122 for f in $ac_file_in; do
6124 -) echo $tmp/stdin ;;
6126 # Absolute (can't be DOS-style, as IFS=:)
6127 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6128 echo "$as_me: error: cannot find input file: $f" >&2;}
6129 { (exit 1); exit 1; }; }
6132 if test -f "$f"; then
6135 elif test -f "$srcdir/$f"; then
6140 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6141 echo "$as_me: error: cannot find input file: $f" >&2;}
6142 { (exit 1); exit 1; }; }
6145 done` ||
{ (exit 1); exit 1; }
6147 if test x
"$ac_file" != x-
; then
6148 { echo "$as_me:$LINENO: creating $ac_file" >&5
6149 echo "$as_me: creating $ac_file" >&6;}
6153 cat >>$CONFIG_STATUS <<_ACEOF
6157 cat >>$CONFIG_STATUS <<\_ACEOF
6159 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6160 s
,@configure_input@
,$configure_input,;t t
6161 s
,@srcdir@
,$ac_srcdir,;t t
6162 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
6163 s
,@top_srcdir@
,$ac_top_srcdir,;t t
6164 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
6165 s
,@builddir@
,$ac_builddir,;t t
6166 s
,@abs_builddir@
,$ac_abs_builddir,;t t
6167 s
,@top_builddir@
,$ac_top_builddir,;t t
6168 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
6169 s
,@INSTALL@
,$ac_INSTALL,;t t
6170 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6172 if test x"$ac_file" != x-; then
6173 mv $tmp/out $ac_file
6181 cat >>$CONFIG_STATUS <<\_ACEOF
6184 # CONFIG_HEADER section.
6187 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
6188 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6190 # ac_d sets the value in "#define NAME VALUE" lines.
6191 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6192 ac_dB
='[ ].*$,\1#\2'
6195 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6196 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6197 ac_uB
='$,\1#\2define\3'
6201 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
6202 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6204 - |
*:- |
*:-:* ) # input from stdin
6206 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6207 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6208 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6209 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6210 * ) ac_file_in
=$ac_file.
in ;;
6213 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
6214 echo "$as_me: creating $ac_file" >&6;}
6216 # First look for the input files in the build tree, otherwise in the
6218 ac_file_inputs
=`IFS=:
6219 for f in $ac_file_in; do
6221 -) echo $tmp/stdin ;;
6223 # Absolute (can't be DOS-style, as IFS=:)
6224 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6225 echo "$as_me: error: cannot find input file: $f" >&2;}
6226 { (exit 1); exit 1; }; }
6227 # Do quote $f, to prevent DOS paths from being IFS'd.
6230 if test -f "$f"; then
6233 elif test -f "$srcdir/$f"; then
6238 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6239 echo "$as_me: error: cannot find input file: $f" >&2;}
6240 { (exit 1); exit 1; }; }
6243 done` ||
{ (exit 1); exit 1; }
6244 # Remove the trailing spaces.
6245 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6249 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6250 # `conftest.undefs', that substitutes the proper values into
6251 # config.h.in to produce config.h. The first handles `#define'
6252 # templates, and the second `#undef' templates.
6253 # And first: Protect against being on the right side of a sed subst in
6254 # config.status. Protect against being in an unquoted here document
6256 rm -f conftest.defines conftest.undefs
6257 # Using a here document instead of a string reduces the quoting nightmare.
6258 # Putting comments in sed scripts is not portable.
6260 # `end' is used to avoid that the second main sed command (meant for
6261 # 0-ary CPP macros) applies to n-ary macro definitions.
6262 # See the Autoconf documentation for `clear'.
6263 cat >confdef2sed.
sed <<\_ACEOF
6268 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6270 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6273 # If some macros were called several times there might be several times
6274 # the same #defines, which is useless. Nevertheless, we may not want to
6275 # sort them, since we want the *last* AC-DEFINE to be honored.
6276 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6277 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6278 rm -f confdef2sed.sed
6280 # This sed command replaces #undef with comments. This is necessary, for
6281 # example, in the case of _POSIX_SOURCE, which is predefined and required
6282 # on some systems where configure will not decide to define it.
6283 cat >>conftest.undefs <<\_ACEOF
6284 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6287 # Break up conftest.defines because some shells have a limit on the size
6288 # of here documents, and old seds have small limits too (100 cmds).
6289 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6290 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6291 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6292 echo ' :' >>$CONFIG_STATUS
6294 while grep . conftest.defines >/dev/null
6296 # Write a limited-size here document to $tmp/defines.sed.
6297 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6298 # Speed up: don't consider the non `#define' lines.
6299 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6300 # Work around the forget-to-reset-the-flag bug.
6301 echo 't clr' >>$CONFIG_STATUS
6302 echo ': clr' >>$CONFIG_STATUS
6303 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
6305 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6309 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
6310 rm -f conftest.defines
6311 mv conftest.
tail conftest.defines
6313 rm -f conftest.defines
6314 echo ' fi # grep' >>$CONFIG_STATUS
6315 echo >>$CONFIG_STATUS
6317 # Break up conftest.undefs because some shells have a limit on the size
6318 # of here documents, and old seds have small limits too (100 cmds).
6319 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6321 while grep . conftest.undefs
>/dev
/null
6323 # Write a limited-size here document to $tmp/undefs.sed.
6324 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6325 # Speed up: don't consider the non
`#undef'
6326 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6327 # Work around the forget-to-reset-the-flag bug.
6328 echo 't clr' >>$CONFIG_STATUS
6329 echo ': clr' >>$CONFIG_STATUS
6330 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6332 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6336 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6337 rm -f conftest.undefs
6338 mv conftest.tail conftest.undefs
6340 rm -f conftest.undefs
6342 cat >>$CONFIG_STATUS <<\_ACEOF
6343 # Let's still pretend it is `configure
' which instantiates (i.e., don't
6344 # use $as_me), people would be surprised to read:
6345 # /* config.h. Generated by config.status. */
6346 if test x
"$ac_file" = x-
; then
6347 echo "/* Generated by configure. */" >$tmp/config.h
6349 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6351 cat $tmp/in >>$tmp/config.h
6353 if test x
"$ac_file" != x-
; then
6354 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
6355 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6356 echo "$as_me: $ac_file is unchanged" >&6;}
6358 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6359 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6360 X"$ac_file" : 'X\(//\)[^/]' \| \
6361 X"$ac_file" : 'X\(//\)$' \| \
6362 X"$ac_file" : 'X\(/\)' \| \
6363 . : '\(.\)' 2>/dev/null ||
6365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6366 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6367 /^X\(\/\/\)$/{ s//\1/; q; }
6368 /^X\(\/\).*/{ s//\1/; q; }
6370 { if $as_mkdir_p; then
6375 while test ! -d "$as_dir"; do
6376 as_dirs
="$as_dir $as_dirs"
6377 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6378 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6379 X"$as_dir" : 'X\(//\)[^/]' \| \
6380 X"$as_dir" : 'X\(//\)$' \| \
6381 X"$as_dir" : 'X\(/\)' \| \
6382 . : '\(.\)' 2>/dev/null ||
6384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6385 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6386 /^X\(\/\/\)$/{ s//\1/; q; }
6387 /^X\(\/\).*/{ s//\1/; q; }
6390 test ! -n "$as_dirs" || mkdir
$as_dirs
6391 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6392 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6393 { (exit 1); exit 1; }; }; }
6396 mv $tmp/config.h
$ac_file
6405 cat >>$CONFIG_STATUS <<\_ACEOF
6407 { (exit 0); exit 0; }
6409 chmod +x
$CONFIG_STATUS
6410 ac_clean_files
=$ac_clean_files_save
6413 # configure is writing to config.log, and then calls config.status.
6414 # config.status does its own redirection, appending to config.log.
6415 # Unfortunately, on DOS this fails, as config.log is still kept open
6416 # by configure, so config.status won't be able to write to it; its
6417 # output is simply discarded. So we exec the FD to /dev/null,
6418 # effectively closing config.log, so it can be properly (re)opened and
6419 # appended to by config.status. When coming back to configure, we
6420 # need to make the FD available again.
6421 if test "$no_create" != yes; then
6423 ac_config_status_args
=
6424 test "$silent" = yes &&
6425 ac_config_status_args
="$ac_config_status_args --quiet"
6427 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6429 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6430 # would make configure fail if this is the last instruction.
6431 $ac_cs_success ||
{ (exit 1); exit 1; }