2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for FULL-PACKAGE-NAME VERSION.
5 # Report bugs to <BUG-REPORT-ADDRESS>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME
='FULL-PACKAGE-NAME'
271 PACKAGE_TARNAME
='full-package-name'
272 PACKAGE_VERSION
='VERSION'
273 PACKAGE_STRING
='FULL-PACKAGE-NAME VERSION'
274 PACKAGE_BUGREPORT
='BUG-REPORT-ADDRESS'
276 ac_unique_file
="carwhisperer.c"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 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 CPP EGREP LIBOBJS LTLIBOBJS'
317 # Initialize some variables set by options.
319 ac_init_version
=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name
=s
,x
,x
,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir
='${exec_prefix}/bin'
343 sbindir
='${exec_prefix}/sbin'
344 libexecdir
='${exec_prefix}/libexec'
345 datadir
='${prefix}/share'
346 sysconfdir
='${prefix}/etc'
347 sharedstatedir
='${prefix}/com'
348 localstatedir
='${prefix}/var'
349 libdir
='${exec_prefix}/lib'
350 includedir
='${prefix}/include'
351 oldincludedir
='/usr/include'
352 infodir
='${prefix}/info'
353 mandir
='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
373 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
376 -build |
--build |
--buil |
--bui |
--bu)
377 ac_prev
=build_alias
;;
378 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
379 build_alias
=$ac_optarg ;;
381 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
382 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
383 ac_prev
=cache_file
;;
384 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
385 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
386 cache_file
=$ac_optarg ;;
389 cache_file
=config.cache
;;
391 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
393 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
395 datadir
=$ac_optarg ;;
397 -disable-* |
--disable-*)
398 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* |
--enable-*)
407 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
420 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
421 |
--exec |
--exe |
--ex)
422 ac_prev
=exec_prefix
;;
423 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
424 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
425 |
--exec=* |
--exe=* |
--ex=*)
426 exec_prefix
=$ac_optarg ;;
428 -gas |
--gas |
--ga |
--g)
429 # Obsolete; use --with-gas.
432 -help |
--help |
--hel |
--he |
-h)
434 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
435 ac_init_help
=recursive
;;
436 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
437 ac_init_help
=short
;;
439 -host |
--host |
--hos |
--ho)
440 ac_prev
=host_alias
;;
441 -host=* |
--host=* |
--hos=* |
--ho=*)
442 host_alias
=$ac_optarg ;;
444 -includedir |
--includedir |
--includedi |
--included |
--include \
445 |
--includ |
--inclu |
--incl |
--inc)
446 ac_prev
=includedir
;;
447 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
448 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
449 includedir
=$ac_optarg ;;
451 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
453 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
454 infodir
=$ac_optarg ;;
456 -libdir |
--libdir |
--libdi |
--libd)
458 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
461 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
462 |
--libexe |
--libex |
--libe)
463 ac_prev
=libexecdir
;;
464 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
465 |
--libexe=* |
--libex=* |
--libe=*)
466 libexecdir
=$ac_optarg ;;
468 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
469 |
--localstate |
--localstat |
--localsta |
--localst \
470 |
--locals |
--local |
--loca |
--loc |
--lo)
471 ac_prev
=localstatedir
;;
472 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
473 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
474 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
475 localstatedir
=$ac_optarg ;;
477 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
479 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
483 # Obsolete; use --without-fp.
486 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
487 |
--no-cr |
--no-c |
-n)
490 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
491 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
494 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
495 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
496 |
--oldin |
--oldi |
--old |
--ol |
--o)
497 ac_prev
=oldincludedir
;;
498 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
499 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
500 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
501 oldincludedir
=$ac_optarg ;;
503 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
505 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
508 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
509 |
--program-pre |
--program-pr |
--program-p)
510 ac_prev
=program_prefix
;;
511 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
512 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
513 program_prefix
=$ac_optarg ;;
515 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
516 |
--program-suf |
--program-su |
--program-s)
517 ac_prev
=program_suffix
;;
518 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
519 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
520 program_suffix
=$ac_optarg ;;
522 -program-transform-name |
--program-transform-name \
523 |
--program-transform-nam |
--program-transform-na \
524 |
--program-transform-n |
--program-transform- \
525 |
--program-transform |
--program-transfor \
526 |
--program-transfo |
--program-transf \
527 |
--program-trans |
--program-tran \
528 |
--progr-tra |
--program-tr |
--program-t)
529 ac_prev
=program_transform_name
;;
530 -program-transform-name=* |
--program-transform-name=* \
531 |
--program-transform-nam=* |
--program-transform-na=* \
532 |
--program-transform-n=* |
--program-transform-=* \
533 |
--program-transform=* |
--program-transfor=* \
534 |
--program-transfo=* |
--program-transf=* \
535 |
--program-trans=* |
--program-tran=* \
536 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
537 program_transform_name
=$ac_optarg ;;
539 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
540 |
-silent |
--silent |
--silen |
--sile |
--sil)
543 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
545 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
547 sbindir
=$ac_optarg ;;
549 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
550 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
551 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
553 ac_prev
=sharedstatedir
;;
554 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
555 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
556 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
558 sharedstatedir
=$ac_optarg ;;
560 -site |
--site |
--sit)
562 -site=* |
--site=* |
--sit=*)
565 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
567 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
570 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
571 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
572 ac_prev
=sysconfdir
;;
573 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
574 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
575 sysconfdir
=$ac_optarg ;;
577 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
578 ac_prev
=target_alias
;;
579 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
580 target_alias
=$ac_optarg ;;
582 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
585 -version |
--version |
--versio |
--versi |
--vers |
-V)
589 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package
=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* |
--without-*)
602 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package
=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
615 |
--x-incl |
--x-inc |
--x-in |
--x-i)
616 ac_prev
=x_includes
;;
617 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
618 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
619 x_includes
=$ac_optarg ;;
621 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
622 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
623 ac_prev
=x_libraries
;;
624 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
625 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
626 x_libraries
=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var
in exec_prefix prefix
663 eval ac_val
=$
`echo $ac_var`
665 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val
=$
`echo $ac_var`
677 [\\/$
]* | ?
:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x
; then
692 if test "x$build_alias" = x
; then
693 cross_compiling
=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
704 test "$silent" = yes && exec 6>/dev
/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted
=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir
=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted
=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set
=${build_alias+set}
744 ac_env_build_alias_value
=$build_alias
745 ac_cv_env_build_alias_set
=${build_alias+set}
746 ac_cv_env_build_alias_value
=$build_alias
747 ac_env_host_alias_set
=${host_alias+set}
748 ac_env_host_alias_value
=$host_alias
749 ac_cv_env_host_alias_set
=${host_alias+set}
750 ac_cv_env_host_alias_value
=$host_alias
751 ac_env_target_alias_set
=${target_alias+set}
752 ac_env_target_alias_value
=$target_alias
753 ac_cv_env_target_alias_set
=${target_alias+set}
754 ac_cv_env_target_alias_value
=$target_alias
755 ac_env_CC_set
=${CC+set}
757 ac_cv_env_CC_set
=${CC+set}
758 ac_cv_env_CC_value
=$CC
759 ac_env_CFLAGS_set
=${CFLAGS+set}
760 ac_env_CFLAGS_value
=$CFLAGS
761 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value
=$CFLAGS
763 ac_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_env_LDFLAGS_value
=$LDFLAGS
765 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value
=$LDFLAGS
767 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_env_CPP_set
=${CPP+set}
772 ac_env_CPP_value
=$CPP
773 ac_cv_env_CPP_set
=${CPP+set}
774 ac_cv_env_CPP_value
=$CPP
777 # Report the --help message.
779 if test "$ac_init_help" = "long"; then
780 # Omit some internal or obsolete options to make the list less imposing.
781 # This message is too long to be a string in the A/UX 3.1 sh.
783 \`configure' configures FULL-PACKAGE-NAME VERSION to adapt to many kinds of systems.
785 Usage: $0 [OPTION]... [VAR=VALUE]...
787 To assign environment variables (e.g., CC, CFLAGS...), specify them as
788 VAR=VALUE. See below for descriptions of some of the useful variables.
790 Defaults for the options are specified in brackets.
793 -h, --help display this help and exit
794 --help=short display options specific to this package
795 --help=recursive display the short help of all the included packages
796 -V, --version display version information and exit
797 -q, --quiet, --silent do not print \`checking...' messages
798 --cache-file=FILE cache test results in FILE [disabled]
799 -C, --config-cache alias for \`--cache-file=config.cache'
800 -n, --no-create do not create output files
801 --srcdir=DIR find the sources in DIR [configure dir or \`..']
806 Installation directories:
807 --prefix=PREFIX install architecture-independent files in PREFIX
809 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
812 By default, \`make install' will install all the files in
813 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
814 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
815 for instance \`--prefix=\$HOME'.
817 For better control, use the options below.
819 Fine tuning of the installation directories:
820 --bindir=DIR user executables [EPREFIX/bin]
821 --sbindir=DIR system admin executables [EPREFIX/sbin]
822 --libexecdir=DIR program executables [EPREFIX/libexec]
823 --datadir=DIR read-only architecture-independent data [PREFIX/share]
824 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
825 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
826 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
827 --libdir=DIR object code libraries [EPREFIX/lib]
828 --includedir=DIR C header files [PREFIX/include]
829 --oldincludedir=DIR C header files for non-gcc [/usr/include]
830 --infodir=DIR info documentation [PREFIX/info]
831 --mandir=DIR man documentation [PREFIX/man]
838 if test -n "$ac_init_help"; then
839 case $ac_init_help in
840 short | recursive
) echo "Configuration of FULL-PACKAGE-NAME VERSION:";;
844 Some influential environment variables
:
845 CC C compiler
command
846 CFLAGS C compiler flags
847 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
848 nonstandard directory
<lib dir
>
849 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
850 headers
in a nonstandard directory
<include dir
>
853 Use these variables to override the choices made by
`configure' or to help
854 it to find libraries and programs with nonstandard names/locations.
856 Report bugs to <BUG-REPORT-ADDRESS>.
860 if test "$ac_init_help" = "recursive"; then
861 # If there are subdirs, report their specific --help.
863 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
864 test -d $ac_dir || continue
867 if test "$ac_dir" != .; then
868 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
869 # A "../" for each directory in $ac_dir_suffix.
870 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
872 ac_dir_suffix= ac_top_builddir=
876 .) # No --srcdir option. We are building in place.
878 if test -z "$ac_top_builddir"; then
881 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
883 [\\/]* | ?:[\\/]* ) # Absolute path.
884 ac_srcdir=$srcdir$ac_dir_suffix;
885 ac_top_srcdir=$srcdir ;;
887 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
888 ac_top_srcdir=$ac_top_builddir$srcdir ;;
891 # Do not use `cd foo
&& pwd` to compute absolute paths, because
892 # the directories may not exist.
894 .) ac_abs_builddir="$ac_dir";;
897 .) ac_abs_builddir=`pwd`;;
898 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
899 *) ac_abs_builddir=`pwd`/"$ac_dir";;
902 case $ac_abs_builddir in
903 .) ac_abs_top_builddir=${ac_top_builddir}.;;
905 case ${ac_top_builddir}. in
906 .) ac_abs_top_builddir=$ac_abs_builddir;;
907 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
908 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
911 case $ac_abs_builddir in
912 .) ac_abs_srcdir=$ac_srcdir;;
915 .) ac_abs_srcdir=$ac_abs_builddir;;
916 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
917 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
920 case $ac_abs_builddir in
921 .) ac_abs_top_srcdir=$ac_top_srcdir;;
923 case $ac_top_srcdir in
924 .) ac_abs_top_srcdir=$ac_abs_builddir;;
925 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
926 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
931 # Check for guested configure; otherwise get Cygnus style configure.
932 if test -f $ac_srcdir/configure.gnu; then
934 $SHELL $ac_srcdir/configure.gnu --help=recursive
935 elif test -f $ac_srcdir/configure; then
937 $SHELL $ac_srcdir/configure --help=recursive
938 elif test -f $ac_srcdir/configure.ac ||
939 test -f $ac_srcdir/configure.in; then
943 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
949 test -n "$ac_init_help" && exit 0
950 if $ac_init_version; then
952 FULL-PACKAGE-NAME configure VERSION
953 generated by GNU Autoconf 2.59
955 Copyright (C) 2003 Free Software Foundation, Inc.
956 This configure script is free software; the Free Software Foundation
957 gives unlimited permission to copy, distribute and modify it.
963 This file contains any messages produced by compilers while
964 running configure, to aid debugging if configure makes a mistake.
966 It was created by FULL-PACKAGE-NAME $as_me VERSION, which was
967 generated by GNU Autoconf 2.59. Invocation command line was
978 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
979 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
980 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
981 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
982 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
984 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
985 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
987 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
988 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
989 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
990 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
991 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
992 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
993 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1001 test -z "$as_dir" && as_dir=.
1002 echo "PATH: $as_dir"
1017 # Keep a trace of the command line.
1018 # Strip out --no-create and --no-recursion so they do not pile up.
1019 # Strip out --silent because we don't want to record it for future runs.
1020 # Also quote any args containing shell meta-characters.
1021 # Make two passes to allow for proper duplicate-argument suppression.
1026 ac_must_keep_next=false
1032 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1033 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1034 | -silent | --silent | --silen | --sile | --sil)
1036 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1037 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1040 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1042 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1043 if test $ac_must_keep_next = true; then
1044 ac_must_keep_next=false # Got value, back to normal.
1047 *=* | --config-cache | -C | -disable-* | --disable-* \
1048 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1049 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1050 | -with-* | --with-* | -without-* | --without-* | --x)
1051 case "$ac_configure_args0 " in
1052 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1055 -* ) ac_must_keep_next=true ;;
1058 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1059 # Get rid of the leading space.
1065 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1066 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1068 # When interrupted or exit'd, cleanup temporary files, and complete
1069 # config.log. We remove comments because anyway the quotes in there
1070 # would cause problems or look ugly.
1071 # WARNING: Be sure not to use single quotes in there, as some shells,
1072 # such as our DU 5.0 friend, will then `close
' the trap.
1073 trap 'exit_status
=$?
1074 # Save into config.log some information that might help in debugging.
1079 ## ---------------- ##
1080 ## Cache variables. ##
1081 ## ---------------- ##
1084 # The following way of writing the cache mishandles newlines in values,
1087 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1090 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1091 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1095 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1102 ## ----------------- ##
1103 ## Output variables. ##
1104 ## ----------------- ##
1107 for ac_var
in $ac_subst_vars
1109 eval ac_val
=$
`echo $ac_var`
1110 echo "$ac_var='"'"'$ac_val'"'"'"
1114 if test -n "$ac_subst_files"; then
1121 for ac_var
in $ac_subst_files
1123 eval ac_val
=$
`echo $ac_var`
1124 echo "$ac_var='"'"'$ac_val'"'"'"
1129 if test -s confdefs.h
; then
1136 sed "/^$/d" confdefs.h |
sort
1139 test "$ac_signal" != 0 &&
1140 echo "$as_me: caught signal $ac_signal"
1141 echo "$as_me: exit $exit_status"
1143 rm -f core
*.core
&&
1144 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1147 for ac_signal in 1 2 13 15; do
1148 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1152 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1153 rm -rf conftest* confdefs.h
1154 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1157 # Predefined preprocessor variables.
1159 cat >>confdefs.h <<_ACEOF
1160 #define PACKAGE_NAME "$PACKAGE_NAME"
1164 cat >>confdefs.h <<_ACEOF
1165 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1169 cat >>confdefs.h <<_ACEOF
1170 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1174 cat >>confdefs.h <<_ACEOF
1175 #define PACKAGE_STRING "$PACKAGE_STRING"
1179 cat >>confdefs.h <<_ACEOF
1180 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1184 # Let the site file select an alternate cache file if it wants to.
1185 # Prefer explicitly selected file to automatically selected ones.
1186 if test -z "$CONFIG_SITE"; then
1187 if test "x$prefix" != xNONE; then
1188 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1190 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1193 for ac_site_file in $CONFIG_SITE; do
1194 if test -r "$ac_site_file"; then
1195 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1196 echo "$as_me: loading site script $ac_site_file" >&6;}
1197 sed 's
/^
/|
/' "$ac_site_file" >&5
1202 if test -r "$cache_file"; then
1203 # Some versions of bash will fail to source /dev/null (special
1204 # files actually), so we avoid doing that.
1205 if test -f "$cache_file"; then
1206 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1207 echo "$as_me: loading cache $cache_file" >&6;}
1209 [\\/]* | ?:[\\/]* ) . $cache_file;;
1210 *) . ./$cache_file;;
1214 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1215 echo "$as_me: creating cache $cache_file" >&6;}
1219 # Check that the precious variables saved in the cache have kept the same
1221 ac_cache_corrupted=false
1222 for ac_var in `(set) 2>&1 |
1223 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1224 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1225 eval ac_new_set=\$ac_env_${ac_var}_set
1226 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1227 eval ac_new_val="\$ac_env_${ac_var}_value"
1228 case $ac_old_set,$ac_new_set in
1230 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1231 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1232 ac_cache_corrupted=: ;;
1234 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1235 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1236 ac_cache_corrupted=: ;;
1239 if test "x$ac_old_val" != "x$ac_new_val"; then
1240 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1241 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1242 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1243 echo "$as_me: former value: $ac_old_val" >&2;}
1244 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1245 echo "$as_me: current value: $ac_new_val" >&2;}
1246 ac_cache_corrupted=:
1249 # Pass precious variables to config.status.
1250 if test "$ac_new_set" = set; then
1252 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1253 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1254 *) ac_arg=$ac_var=$ac_new_val ;;
1256 case " $ac_configure_args " in
1257 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1258 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1262 if $ac_cache_corrupted; then
1263 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1264 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1265 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1266 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1267 { (exit 1); exit 1; }; }
1271 ac_cpp='$CPP $CPPFLAGS'
1272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1273 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1304 # Checks for programs.
1306 ac_cpp='$CPP $CPPFLAGS'
1307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1308 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1310 if test -n "$ac_tool_prefix"; then
1311 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1312 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1313 echo "$as_me:$LINENO: checking for $ac_word" >&5
1314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1315 if test "${ac_cv_prog_CC+set}" = set; then
1316 echo $ECHO_N "(cached) $ECHO_C" >&6
1318 if test -n "$CC"; then
1319 ac_cv_prog_CC="$CC" # Let the user override the test.
1321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1325 test -z "$as_dir" && as_dir=.
1326 for ac_exec_ext in '' $ac_executable_extensions; do
1327 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1328 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1338 if test -n "$CC"; then
1339 echo "$as_me:$LINENO: result: $CC" >&5
1340 echo "${ECHO_T}$CC" >&6
1342 echo "$as_me:$LINENO: result: no" >&5
1343 echo "${ECHO_T}no" >&6
1347 if test -z "$ac_cv_prog_CC"; then
1349 # Extract the first word of "gcc", so it can be a program name with args.
1350 set dummy gcc; ac_word=$2
1351 echo "$as_me:$LINENO: checking for $ac_word" >&5
1352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1353 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1354 echo $ECHO_N "(cached) $ECHO_C" >&6
1356 if test -n "$ac_ct_CC"; then
1357 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1363 test -z "$as_dir" && as_dir=.
1364 for ac_exec_ext in '' $ac_executable_extensions; do
1365 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1366 ac_cv_prog_ac_ct_CC="gcc"
1367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1375 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1376 if test -n "$ac_ct_CC"; then
1377 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1378 echo "${ECHO_T}$ac_ct_CC" >&6
1380 echo "$as_me:$LINENO: result: no" >&5
1381 echo "${ECHO_T}no" >&6
1389 if test -z "$CC"; then
1390 if test -n "$ac_tool_prefix"; then
1391 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1392 set dummy ${ac_tool_prefix}cc; ac_word=$2
1393 echo "$as_me:$LINENO: checking for $ac_word" >&5
1394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1395 if test "${ac_cv_prog_CC+set}" = set; then
1396 echo $ECHO_N "(cached) $ECHO_C" >&6
1398 if test -n "$CC"; then
1399 ac_cv_prog_CC="$CC" # Let the user override the test.
1401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1405 test -z "$as_dir" && as_dir=.
1406 for ac_exec_ext in '' $ac_executable_extensions; do
1407 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1408 ac_cv_prog_CC="${ac_tool_prefix}cc"
1409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1418 if test -n "$CC"; then
1419 echo "$as_me:$LINENO: result: $CC" >&5
1420 echo "${ECHO_T}$CC" >&6
1422 echo "$as_me:$LINENO: result: no" >&5
1423 echo "${ECHO_T}no" >&6
1427 if test -z "$ac_cv_prog_CC"; then
1429 # Extract the first word of "cc", so it can be a program name with args.
1430 set dummy cc; ac_word=$2
1431 echo "$as_me:$LINENO: checking for $ac_word" >&5
1432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1433 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1434 echo $ECHO_N "(cached) $ECHO_C" >&6
1436 if test -n "$ac_ct_CC"; then
1437 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1443 test -z "$as_dir" && as_dir=.
1444 for ac_exec_ext in '' $ac_executable_extensions; do
1445 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1446 ac_cv_prog_ac_ct_CC="cc"
1447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1455 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1456 if test -n "$ac_ct_CC"; then
1457 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1458 echo "${ECHO_T}$ac_ct_CC" >&6
1460 echo "$as_me:$LINENO: result: no" >&5
1461 echo "${ECHO_T}no" >&6
1470 if test -z "$CC"; then
1471 # Extract the first word of "cc", so it can be a program name with args.
1472 set dummy cc; ac_word=$2
1473 echo "$as_me:$LINENO: checking for $ac_word" >&5
1474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1475 if test "${ac_cv_prog_CC+set}" = set; then
1476 echo $ECHO_N "(cached) $ECHO_C" >&6
1478 if test -n "$CC"; then
1479 ac_cv_prog_CC="$CC" # Let the user override the test.
1482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1486 test -z "$as_dir" && as_dir=.
1487 for ac_exec_ext in '' $ac_executable_extensions; do
1488 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1489 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1490 ac_prog_rejected=yes
1494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1500 if test $ac_prog_rejected = yes; then
1501 # We found a bogon in the path, so make sure we never use it.
1502 set dummy $ac_cv_prog_CC
1504 if test $# != 0; then
1505 # We chose a different compiler from the bogus one.
1506 # However, it has the same basename, so the bogon will be chosen
1507 # first if we set CC to just the basename; use the full file name.
1509 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1515 if test -n "$CC"; then
1516 echo "$as_me:$LINENO: result: $CC" >&5
1517 echo "${ECHO_T}$CC" >&6
1519 echo "$as_me:$LINENO: result: no" >&5
1520 echo "${ECHO_T}no" >&6
1524 if test -z "$CC"; then
1525 if test -n "$ac_tool_prefix"; then
1528 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1529 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1530 echo "$as_me:$LINENO: checking for $ac_word" >&5
1531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1532 if test "${ac_cv_prog_CC+set}" = set; then
1533 echo $ECHO_N "(cached) $ECHO_C" >&6
1535 if test -n "$CC"; then
1536 ac_cv_prog_CC="$CC" # Let the user override the test.
1538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1542 test -z "$as_dir" && as_dir=.
1543 for ac_exec_ext in '' $ac_executable_extensions; do
1544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1545 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1555 if test -n "$CC"; then
1556 echo "$as_me:$LINENO: result: $CC" >&5
1557 echo "${ECHO_T}$CC" >&6
1559 echo "$as_me:$LINENO: result: no" >&5
1560 echo "${ECHO_T}no" >&6
1563 test -n "$CC" && break
1566 if test -z "$CC"; then
1570 # Extract the first word of "$ac_prog", so it can be a program name with args.
1571 set dummy $ac_prog; ac_word=$2
1572 echo "$as_me:$LINENO: checking for $ac_word" >&5
1573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1574 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1575 echo $ECHO_N "(cached) $ECHO_C" >&6
1577 if test -n "$ac_ct_CC"; then
1578 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1584 test -z "$as_dir" && as_dir=.
1585 for ac_exec_ext in '' $ac_executable_extensions; do
1586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1587 ac_cv_prog_ac_ct_CC="$ac_prog"
1588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1596 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1597 if test -n "$ac_ct_CC"; then
1598 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1599 echo "${ECHO_T}$ac_ct_CC" >&6
1601 echo "$as_me:$LINENO: result: no" >&5
1602 echo "${ECHO_T}no" >&6
1605 test -n "$ac_ct_CC" && break
1614 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1615 See \`config.log' for more details.
" >&5
1616 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1617 See \
`config.log' for more details." >&2;}
1618 { (exit 1); exit 1; }; }
1620 # Provide some information about the compiler.
1621 echo "$as_me:$LINENO:" \
1622 "checking for C compiler version" >&5
1623 ac_compiler=`set X
$ac_compile; echo $2`
1624 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1625 (eval $ac_compiler --version </dev/null >&5) 2>&5
1627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1628 (exit $ac_status); }
1629 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1630 (eval $ac_compiler -v </dev/null >&5) 2>&5
1632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1633 (exit $ac_status); }
1634 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1635 (eval $ac_compiler -V </dev/null >&5) 2>&5
1637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1638 (exit $ac_status); }
1640 cat >conftest.$ac_ext <<_ACEOF
1643 cat confdefs.h >>conftest.$ac_ext
1644 cat >>conftest.$ac_ext <<_ACEOF
1645 /* end confdefs.h. */
1655 ac_clean_files_save=$ac_clean_files
1656 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1657 # Try to create an executable without -o first, disregard a.out.
1658 # It will help us diagnose broken compilers, and finding out an intuition
1660 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1661 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1662 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1663 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1664 (eval $ac_link_default) 2>&5
1666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1667 (exit $ac_status); }; then
1668 # Find the output, starting from the most likely. This scheme is
1669 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1672 # Be careful to initialize this variable, since it used to be cached.
1673 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1675 # b.out is created by i960 compilers.
1676 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1678 test -f "$ac_file" || continue
1680 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1683 # This is the source file.
1686 # We found the default executable, but exeext='' is most
1690 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1691 # FIXME: I believe we export ac_cv_exeext for Libtool,
1692 # but it would be cool to find out if it's true. Does anybody
1693 # maintain Libtool? --akim.
1701 echo "$as_me: failed program was:" >&5
1702 sed 's/^/| /' conftest.$ac_ext >&5
1704 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1705 See \`config.log
' for more details." >&5
1706 echo "$as_me: error: C compiler cannot create executables
1707 See \`config.log' for more details.
" >&2;}
1708 { (exit 77); exit 77; }; }
1711 ac_exeext=$ac_cv_exeext
1712 echo "$as_me:$LINENO: result
: $ac_file" >&5
1713 echo "${ECHO_T}$ac_file" >&6
1715 # Check the compiler produces executables we can run. If not, either
1716 # the compiler is broken, or we cross compile.
1717 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1718 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1719 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1720 # If not cross compiling, check that we can run a simple program.
1721 if test "$cross_compiling" != yes; then
1722 if { ac_try='./$ac_file'
1723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1726 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1727 (exit $ac_status); }; }; then
1730 if test "$cross_compiling" = maybe; then
1733 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1734 If you meant to cross compile
, use \
`--host'.
1735 See \`config.log
' for more details." >&5
1736 echo "$as_me: error: cannot run C compiled programs.
1737 If you meant to cross compile, use \`--host'.
1738 See \
`config.log' for more details." >&2;}
1739 { (exit 1); exit 1; }; }
1743 echo "$as_me:$LINENO: result: yes" >&5
1744 echo "${ECHO_T}yes" >&6
1746 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1747 ac_clean_files=$ac_clean_files_save
1748 # Check the compiler produces executables we can run. If not, either
1749 # the compiler is broken, or we cross compile.
1750 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1751 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1752 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1753 echo "${ECHO_T}$cross_compiling" >&6
1755 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1756 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1758 (eval $ac_link) 2>&5
1760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1761 (exit $ac_status); }; then
1762 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1763 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1764 # work properly (i.e., refer to `conftest.exe'), while it won't with
1766 for ac_file
in conftest.exe conftest conftest.
*; do
1767 test -f "$ac_file" ||
continue
1769 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1770 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1777 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1778 See \`config.log' for more details." >&5
1779 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1780 See \`config.log' for more details." >&2;}
1781 { (exit 1); exit 1; }; }
1784 rm -f conftest
$ac_cv_exeext
1785 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1786 echo "${ECHO_T}$ac_cv_exeext" >&6
1788 rm -f conftest.
$ac_ext
1789 EXEEXT
=$ac_cv_exeext
1791 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1792 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1793 if test "${ac_cv_objext+set}" = set; then
1794 echo $ECHO_N "(cached) $ECHO_C" >&6
1796 cat >conftest.
$ac_ext <<_ACEOF
1799 cat confdefs.h
>>conftest.
$ac_ext
1800 cat >>conftest.
$ac_ext <<_ACEOF
1801 /* end confdefs.h. */
1811 rm -f conftest.o conftest.obj
1812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1813 (eval $ac_compile) 2>&5
1815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1816 (exit $ac_status); }; then
1817 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1819 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1820 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1825 echo "$as_me: failed program was:" >&5
1826 sed 's/^/| /' conftest.
$ac_ext >&5
1828 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1829 See \`config.log' for more details." >&5
1830 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1831 See \`config.log' for more details." >&2;}
1832 { (exit 1); exit 1; }; }
1835 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1837 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1838 echo "${ECHO_T}$ac_cv_objext" >&6
1839 OBJEXT
=$ac_cv_objext
1841 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1842 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1843 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1844 echo $ECHO_N "(cached) $ECHO_C" >&6
1846 cat >conftest.
$ac_ext <<_ACEOF
1849 cat confdefs.h
>>conftest.
$ac_ext
1850 cat >>conftest.
$ac_ext <<_ACEOF
1851 /* end confdefs.h. */
1864 rm -f conftest.
$ac_objext
1865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1866 (eval $ac_compile) 2>conftest.er1
1868 grep -v '^ *+' conftest.er1
>conftest.err
1870 cat conftest.err
>&5
1871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1872 (exit $ac_status); } &&
1873 { ac_try
='test -z "$ac_c_werror_flag"
1874 || test ! -s conftest.err'
1875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1879 (exit $ac_status); }; } &&
1880 { ac_try
='test -s conftest.$ac_objext'
1881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1885 (exit $ac_status); }; }; then
1888 echo "$as_me: failed program was:" >&5
1889 sed 's/^/| /' conftest.
$ac_ext >&5
1893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1894 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1897 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1898 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1899 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1900 ac_test_CFLAGS
=${CFLAGS+set}
1901 ac_save_CFLAGS
=$CFLAGS
1903 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1904 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1905 if test "${ac_cv_prog_cc_g+set}" = set; then
1906 echo $ECHO_N "(cached) $ECHO_C" >&6
1908 cat >conftest.
$ac_ext <<_ACEOF
1911 cat confdefs.h
>>conftest.
$ac_ext
1912 cat >>conftest.
$ac_ext <<_ACEOF
1913 /* end confdefs.h. */
1923 rm -f conftest.
$ac_objext
1924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1925 (eval $ac_compile) 2>conftest.er1
1927 grep -v '^ *+' conftest.er1
>conftest.err
1929 cat conftest.err
>&5
1930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1931 (exit $ac_status); } &&
1932 { ac_try
='test -z "$ac_c_werror_flag"
1933 || test ! -s conftest.err'
1934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1938 (exit $ac_status); }; } &&
1939 { ac_try
='test -s conftest.$ac_objext'
1940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1944 (exit $ac_status); }; }; then
1947 echo "$as_me: failed program was:" >&5
1948 sed 's/^/| /' conftest.
$ac_ext >&5
1952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1954 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1955 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1956 if test "$ac_test_CFLAGS" = set; then
1957 CFLAGS
=$ac_save_CFLAGS
1958 elif test $ac_cv_prog_cc_g = yes; then
1959 if test "$GCC" = yes; then
1965 if test "$GCC" = yes; then
1971 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1972 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1973 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1974 echo $ECHO_N "(cached) $ECHO_C" >&6
1976 ac_cv_prog_cc_stdc
=no
1978 cat >conftest.
$ac_ext <<_ACEOF
1981 cat confdefs.h
>>conftest.
$ac_ext
1982 cat >>conftest.
$ac_ext <<_ACEOF
1983 /* end confdefs.h. */
1986 #include <sys/types.h>
1987 #include <sys/stat.h>
1988 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1989 struct buf { int x; };
1990 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1991 static char *e (p, i)
1997 static char *f (char * (*g) (char **, int), char **p, ...)
2002 s = g (p, va_arg (v,int));
2007 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2008 function prototypes and stuff, but not '\xHH' hex character constants.
2009 These don't provoke an error unfortunately, instead are silently treated
2010 as 'x'. The following induces an error, until -std1 is added to get
2011 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2012 array size at least. It's necessary to write '\x00'==0 to get something
2013 that's true only with -std1. */
2014 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2016 int test (int i, double x);
2017 struct s1 {int (*f) (int a);};
2018 struct s2 {int (*f) (double a);};
2019 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2025 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2030 # Don't try gcc -ansi; that turns off useful extensions and
2031 # breaks some systems' header files.
2032 # AIX -qlanglvl=ansi
2033 # Ultrix and OSF/1 -std1
2034 # HP-UX 10.20 and later -Ae
2035 # HP-UX older versions -Aa -D_HPUX_SOURCE
2036 # SVR4 -Xc -D__EXTENSIONS__
2037 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2039 CC
="$ac_save_CC $ac_arg"
2040 rm -f conftest.
$ac_objext
2041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2042 (eval $ac_compile) 2>conftest.er1
2044 grep -v '^ *+' conftest.er1
>conftest.err
2046 cat conftest.err
>&5
2047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2048 (exit $ac_status); } &&
2049 { ac_try
='test -z "$ac_c_werror_flag"
2050 || test ! -s conftest.err'
2051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2055 (exit $ac_status); }; } &&
2056 { ac_try
='test -s conftest.$ac_objext'
2057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2061 (exit $ac_status); }; }; then
2062 ac_cv_prog_cc_stdc
=$ac_arg
2065 echo "$as_me: failed program was:" >&5
2066 sed 's/^/| /' conftest.
$ac_ext >&5
2069 rm -f conftest.err conftest.
$ac_objext
2071 rm -f conftest.
$ac_ext conftest.
$ac_objext
2076 case "x$ac_cv_prog_cc_stdc" in
2078 echo "$as_me:$LINENO: result: none needed" >&5
2079 echo "${ECHO_T}none needed" >&6 ;;
2081 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2082 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2083 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2086 # Some people use a C++ compiler to compile C. Since we use `exit',
2087 # in C++ we need to declare it. In case someone uses the same compiler
2088 # for both compiling C and C++ we need to have the C++ compiler decide
2089 # the declaration of exit, since it's the most demanding environment.
2090 cat >conftest.
$ac_ext <<_ACEOF
2095 rm -f conftest.
$ac_objext
2096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2097 (eval $ac_compile) 2>conftest.er1
2099 grep -v '^ *+' conftest.er1
>conftest.err
2101 cat conftest.err
>&5
2102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2103 (exit $ac_status); } &&
2104 { ac_try
='test -z "$ac_c_werror_flag"
2105 || test ! -s conftest.err'
2106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2110 (exit $ac_status); }; } &&
2111 { ac_try
='test -s conftest.$ac_objext'
2112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2116 (exit $ac_status); }; }; then
2117 for ac_declaration
in \
2119 'extern "C" void std::exit (int) throw (); using std::exit;' \
2120 'extern "C" void std::exit (int); using std::exit;' \
2121 'extern "C" void exit (int) throw ();' \
2122 'extern "C" void exit (int);' \
2125 cat >conftest.
$ac_ext <<_ACEOF
2128 cat confdefs.h
>>conftest.
$ac_ext
2129 cat >>conftest.
$ac_ext <<_ACEOF
2130 /* end confdefs.h. */
2141 rm -f conftest.
$ac_objext
2142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2143 (eval $ac_compile) 2>conftest.er1
2145 grep -v '^ *+' conftest.er1
>conftest.err
2147 cat conftest.err
>&5
2148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2149 (exit $ac_status); } &&
2150 { ac_try
='test -z "$ac_c_werror_flag"
2151 || test ! -s conftest.err'
2152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2156 (exit $ac_status); }; } &&
2157 { ac_try
='test -s conftest.$ac_objext'
2158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2162 (exit $ac_status); }; }; then
2165 echo "$as_me: failed program was:" >&5
2166 sed 's/^/| /' conftest.
$ac_ext >&5
2170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2171 cat >conftest.
$ac_ext <<_ACEOF
2174 cat confdefs.h
>>conftest.
$ac_ext
2175 cat >>conftest.
$ac_ext <<_ACEOF
2176 /* end confdefs.h. */
2186 rm -f conftest.
$ac_objext
2187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2188 (eval $ac_compile) 2>conftest.er1
2190 grep -v '^ *+' conftest.er1
>conftest.err
2192 cat conftest.err
>&5
2193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2194 (exit $ac_status); } &&
2195 { ac_try
='test -z "$ac_c_werror_flag"
2196 || test ! -s conftest.err'
2197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2201 (exit $ac_status); }; } &&
2202 { ac_try
='test -s conftest.$ac_objext'
2203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2207 (exit $ac_status); }; }; then
2210 echo "$as_me: failed program was:" >&5
2211 sed 's/^/| /' conftest.
$ac_ext >&5
2214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2217 if test -n "$ac_declaration"; then
2218 echo '#ifdef __cplusplus' >>confdefs.h
2219 echo $ac_declaration >>confdefs.h
2220 echo '#endif' >>confdefs.h
2224 echo "$as_me: failed program was:" >&5
2225 sed 's/^/| /' conftest.
$ac_ext >&5
2228 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2230 ac_cpp
='$CPP $CPPFLAGS'
2231 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2232 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2233 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2236 # Checks for libraries.
2239 echo "$as_me:$LINENO: checking for main in -lbluetooth" >&5
2240 echo $ECHO_N "checking for main in -lbluetooth... $ECHO_C" >&6
2241 if test "${ac_cv_lib_bluetooth_main+set}" = set; then
2242 echo $ECHO_N "(cached) $ECHO_C" >&6
2244 ac_check_lib_save_LIBS
=$LIBS
2245 LIBS
="-lbluetooth $LIBS"
2246 cat >conftest.
$ac_ext <<_ACEOF
2249 cat confdefs.h
>>conftest.
$ac_ext
2250 cat >>conftest.
$ac_ext <<_ACEOF
2251 /* end confdefs.h. */
2262 rm -f conftest.
$ac_objext conftest
$ac_exeext
2263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2264 (eval $ac_link) 2>conftest.er1
2266 grep -v '^ *+' conftest.er1
>conftest.err
2268 cat conftest.err
>&5
2269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2270 (exit $ac_status); } &&
2271 { ac_try
='test -z "$ac_c_werror_flag"
2272 || test ! -s conftest.err'
2273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2277 (exit $ac_status); }; } &&
2278 { ac_try
='test -s conftest$ac_exeext'
2279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2283 (exit $ac_status); }; }; then
2284 ac_cv_lib_bluetooth_main
=yes
2286 echo "$as_me: failed program was:" >&5
2287 sed 's/^/| /' conftest.
$ac_ext >&5
2289 ac_cv_lib_bluetooth_main
=no
2291 rm -f conftest.err conftest.
$ac_objext \
2292 conftest
$ac_exeext conftest.
$ac_ext
2293 LIBS
=$ac_check_lib_save_LIBS
2295 echo "$as_me:$LINENO: result: $ac_cv_lib_bluetooth_main" >&5
2296 echo "${ECHO_T}$ac_cv_lib_bluetooth_main" >&6
2297 if test $ac_cv_lib_bluetooth_main = yes; then
2298 cat >>confdefs.h
<<_ACEOF
2299 #define HAVE_LIBBLUETOOTH 1
2302 LIBS
="-lbluetooth $LIBS"
2305 { { echo "$as_me:$LINENO: error: Bluetooth not found" >&5
2306 echo "$as_me: error: Bluetooth not found" >&2;}
2307 { (exit 1); exit 1; }; }
2309 ac_cv_lib_bluetooth
=ac_cv_lib_bluetooth_main
2312 # Checks for header files.
2314 ac_cpp
='$CPP $CPPFLAGS'
2315 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2316 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2317 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2318 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2319 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2320 # On Suns, sometimes $CPP names a directory.
2321 if test -n "$CPP" && test -d "$CPP"; then
2324 if test -z "$CPP"; then
2325 if test "${ac_cv_prog_CPP+set}" = set; then
2326 echo $ECHO_N "(cached) $ECHO_C" >&6
2328 # Double quotes because CPP needs to be expanded
2329 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2332 for ac_c_preproc_warn_flag
in '' yes
2334 # Use a header file that comes with gcc, so configuring glibc
2335 # with a fresh cross-compiler works.
2336 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2337 # <limits.h> exists even on freestanding compilers.
2338 # On the NeXT, cc -E runs the code through the compiler's parser,
2339 # not just through cpp. "Syntax error" is here to catch this case.
2340 cat >conftest.
$ac_ext <<_ACEOF
2343 cat confdefs.h
>>conftest.
$ac_ext
2344 cat >>conftest.
$ac_ext <<_ACEOF
2345 /* end confdefs.h. */
2347 # include <limits.h>
2349 # include <assert.h>
2353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2354 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2356 grep -v '^ *+' conftest.er1
>conftest.err
2358 cat conftest.err
>&5
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); } >/dev
/null
; then
2361 if test -s conftest.err
; then
2362 ac_cpp_err
=$ac_c_preproc_warn_flag
2363 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2370 if test -z "$ac_cpp_err"; then
2373 echo "$as_me: failed program was:" >&5
2374 sed 's/^/| /' conftest.
$ac_ext >&5
2376 # Broken: fails on valid input.
2379 rm -f conftest.err conftest.
$ac_ext
2381 # OK, works on sane cases. Now check whether non-existent headers
2382 # can be detected and how.
2383 cat >conftest.
$ac_ext <<_ACEOF
2386 cat confdefs.h
>>conftest.
$ac_ext
2387 cat >>conftest.
$ac_ext <<_ACEOF
2388 /* end confdefs.h. */
2389 #include <ac_nonexistent.h>
2391 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2392 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2394 grep -v '^ *+' conftest.er1
>conftest.err
2396 cat conftest.err
>&5
2397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2398 (exit $ac_status); } >/dev
/null
; then
2399 if test -s conftest.err
; then
2400 ac_cpp_err
=$ac_c_preproc_warn_flag
2401 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2408 if test -z "$ac_cpp_err"; then
2409 # Broken: success on invalid input.
2412 echo "$as_me: failed program was:" >&5
2413 sed 's/^/| /' conftest.
$ac_ext >&5
2415 # Passes both tests.
2419 rm -f conftest.err conftest.
$ac_ext
2422 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2423 rm -f conftest.err conftest.
$ac_ext
2424 if $ac_preproc_ok; then
2436 echo "$as_me:$LINENO: result: $CPP" >&5
2437 echo "${ECHO_T}$CPP" >&6
2439 for ac_c_preproc_warn_flag
in '' yes
2441 # Use a header file that comes with gcc, so configuring glibc
2442 # with a fresh cross-compiler works.
2443 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2444 # <limits.h> exists even on freestanding compilers.
2445 # On the NeXT, cc -E runs the code through the compiler's parser,
2446 # not just through cpp. "Syntax error" is here to catch this case.
2447 cat >conftest.
$ac_ext <<_ACEOF
2450 cat confdefs.h
>>conftest.
$ac_ext
2451 cat >>conftest.
$ac_ext <<_ACEOF
2452 /* end confdefs.h. */
2454 # include <limits.h>
2456 # include <assert.h>
2460 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2461 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2463 grep -v '^ *+' conftest.er1
>conftest.err
2465 cat conftest.err
>&5
2466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2467 (exit $ac_status); } >/dev
/null
; then
2468 if test -s conftest.err
; then
2469 ac_cpp_err
=$ac_c_preproc_warn_flag
2470 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2477 if test -z "$ac_cpp_err"; then
2480 echo "$as_me: failed program was:" >&5
2481 sed 's/^/| /' conftest.
$ac_ext >&5
2483 # Broken: fails on valid input.
2486 rm -f conftest.err conftest.
$ac_ext
2488 # OK, works on sane cases. Now check whether non-existent headers
2489 # can be detected and how.
2490 cat >conftest.
$ac_ext <<_ACEOF
2493 cat confdefs.h
>>conftest.
$ac_ext
2494 cat >>conftest.
$ac_ext <<_ACEOF
2495 /* end confdefs.h. */
2496 #include <ac_nonexistent.h>
2498 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2499 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2501 grep -v '^ *+' conftest.er1
>conftest.err
2503 cat conftest.err
>&5
2504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2505 (exit $ac_status); } >/dev
/null
; then
2506 if test -s conftest.err
; then
2507 ac_cpp_err
=$ac_c_preproc_warn_flag
2508 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2515 if test -z "$ac_cpp_err"; then
2516 # Broken: success on invalid input.
2519 echo "$as_me: failed program was:" >&5
2520 sed 's/^/| /' conftest.
$ac_ext >&5
2522 # Passes both tests.
2526 rm -f conftest.err conftest.
$ac_ext
2529 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2530 rm -f conftest.err conftest.
$ac_ext
2531 if $ac_preproc_ok; then
2534 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2535 See \`config.log' for more details." >&5
2536 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2537 See \`config.log' for more details." >&2;}
2538 { (exit 1); exit 1; }; }
2542 ac_cpp
='$CPP $CPPFLAGS'
2543 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2544 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2545 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2548 echo "$as_me:$LINENO: checking for egrep" >&5
2549 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2550 if test "${ac_cv_prog_egrep+set}" = set; then
2551 echo $ECHO_N "(cached) $ECHO_C" >&6
2553 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2554 then ac_cv_prog_egrep
='grep -E'
2555 else ac_cv_prog_egrep
='egrep'
2558 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2559 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2560 EGREP
=$ac_cv_prog_egrep
2563 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2564 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2565 if test "${ac_cv_header_stdc+set}" = set; then
2566 echo $ECHO_N "(cached) $ECHO_C" >&6
2568 cat >conftest.
$ac_ext <<_ACEOF
2571 cat confdefs.h
>>conftest.
$ac_ext
2572 cat >>conftest.
$ac_ext <<_ACEOF
2573 /* end confdefs.h. */
2587 rm -f conftest.
$ac_objext
2588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2589 (eval $ac_compile) 2>conftest.er1
2591 grep -v '^ *+' conftest.er1
>conftest.err
2593 cat conftest.err
>&5
2594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2595 (exit $ac_status); } &&
2596 { ac_try
='test -z "$ac_c_werror_flag"
2597 || test ! -s conftest.err'
2598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); }; } &&
2603 { ac_try
='test -s conftest.$ac_objext'
2604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608 (exit $ac_status); }; }; then
2609 ac_cv_header_stdc
=yes
2611 echo "$as_me: failed program was:" >&5
2612 sed 's/^/| /' conftest.
$ac_ext >&5
2614 ac_cv_header_stdc
=no
2616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2618 if test $ac_cv_header_stdc = yes; then
2619 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2620 cat >conftest.
$ac_ext <<_ACEOF
2623 cat confdefs.h
>>conftest.
$ac_ext
2624 cat >>conftest.
$ac_ext <<_ACEOF
2625 /* end confdefs.h. */
2629 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2630 $EGREP "memchr" >/dev
/null
2>&1; then
2633 ac_cv_header_stdc
=no
2639 if test $ac_cv_header_stdc = yes; then
2640 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2641 cat >conftest.
$ac_ext <<_ACEOF
2644 cat confdefs.h
>>conftest.
$ac_ext
2645 cat >>conftest.
$ac_ext <<_ACEOF
2646 /* end confdefs.h. */
2650 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2651 $EGREP "free" >/dev
/null
2>&1; then
2654 ac_cv_header_stdc
=no
2660 if test $ac_cv_header_stdc = yes; then
2661 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2662 if test "$cross_compiling" = yes; then
2665 cat >conftest.
$ac_ext <<_ACEOF
2668 cat confdefs.h
>>conftest.
$ac_ext
2669 cat >>conftest.
$ac_ext <<_ACEOF
2670 /* end confdefs.h. */
2672 #if ((' ' & 0x0FF) == 0x020)
2673 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2674 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2676 # define ISLOWER(c) \
2677 (('a' <= (c) && (c) <= 'i') \
2678 || ('j' <= (c) && (c) <= 'r') \
2679 || ('s' <= (c) && (c) <= 'z'))
2680 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2683 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2688 for (i = 0; i < 256; i++)
2689 if (XOR (islower (i), ISLOWER (i))
2690 || toupper (i) != TOUPPER (i))
2695 rm -f conftest
$ac_exeext
2696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2697 (eval $ac_link) 2>&5
2699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2700 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705 (exit $ac_status); }; }; then
2708 echo "$as_me: program exited with status $ac_status" >&5
2709 echo "$as_me: failed program was:" >&5
2710 sed 's/^/| /' conftest.
$ac_ext >&5
2713 ac_cv_header_stdc
=no
2715 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2719 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2720 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2721 if test $ac_cv_header_stdc = yes; then
2723 cat >>confdefs.h
<<\_ACEOF
2724 #define STDC_HEADERS 1
2729 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2739 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
2740 inttypes.h stdint.h unistd.h
2742 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2743 echo "$as_me:$LINENO: checking for $ac_header" >&5
2744 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2745 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2746 echo $ECHO_N "(cached) $ECHO_C" >&6
2748 cat >conftest.
$ac_ext <<_ACEOF
2751 cat confdefs.h
>>conftest.
$ac_ext
2752 cat >>conftest.
$ac_ext <<_ACEOF
2753 /* end confdefs.h. */
2754 $ac_includes_default
2756 #include <$ac_header>
2758 rm -f conftest.
$ac_objext
2759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2760 (eval $ac_compile) 2>conftest.er1
2762 grep -v '^ *+' conftest.er1
>conftest.err
2764 cat conftest.err
>&5
2765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2766 (exit $ac_status); } &&
2767 { ac_try
='test -z "$ac_c_werror_flag"
2768 || test ! -s conftest.err'
2769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2773 (exit $ac_status); }; } &&
2774 { ac_try
='test -s conftest.$ac_objext'
2775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); }; }; then
2780 eval "$as_ac_Header=yes"
2782 echo "$as_me: failed program was:" >&5
2783 sed 's/^/| /' conftest.
$ac_ext >&5
2785 eval "$as_ac_Header=no"
2787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2790 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2791 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2792 cat >>confdefs.h
<<_ACEOF
2793 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2807 for ac_header
in netinet
/in.h stdlib.h string.h sys
/ioctl.h sys
/socket.h unistd.h
2809 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2811 echo "$as_me:$LINENO: checking for $ac_header" >&5
2812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2813 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2814 echo $ECHO_N "(cached) $ECHO_C" >&6
2816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2817 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2819 # Is the header compilable?
2820 echo "$as_me:$LINENO: checking $ac_header usability" >&5
2821 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2822 cat >conftest.
$ac_ext <<_ACEOF
2825 cat confdefs.h
>>conftest.
$ac_ext
2826 cat >>conftest.
$ac_ext <<_ACEOF
2827 /* end confdefs.h. */
2828 $ac_includes_default
2829 #include <$ac_header>
2831 rm -f conftest.
$ac_objext
2832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2833 (eval $ac_compile) 2>conftest.er1
2835 grep -v '^ *+' conftest.er1
>conftest.err
2837 cat conftest.err
>&5
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); } &&
2840 { ac_try
='test -z "$ac_c_werror_flag"
2841 || test ! -s conftest.err'
2842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); }; } &&
2847 { ac_try
='test -s conftest.$ac_objext'
2848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2852 (exit $ac_status); }; }; then
2853 ac_header_compiler
=yes
2855 echo "$as_me: failed program was:" >&5
2856 sed 's/^/| /' conftest.
$ac_ext >&5
2858 ac_header_compiler
=no
2860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2861 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2862 echo "${ECHO_T}$ac_header_compiler" >&6
2864 # Is the header present?
2865 echo "$as_me:$LINENO: checking $ac_header presence" >&5
2866 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
2867 cat >conftest.
$ac_ext <<_ACEOF
2870 cat confdefs.h
>>conftest.
$ac_ext
2871 cat >>conftest.
$ac_ext <<_ACEOF
2872 /* end confdefs.h. */
2873 #include <$ac_header>
2875 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2876 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2878 grep -v '^ *+' conftest.er1
>conftest.err
2880 cat conftest.err
>&5
2881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882 (exit $ac_status); } >/dev
/null
; then
2883 if test -s conftest.err
; then
2884 ac_cpp_err
=$ac_c_preproc_warn_flag
2885 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2892 if test -z "$ac_cpp_err"; then
2893 ac_header_preproc
=yes
2895 echo "$as_me: failed program was:" >&5
2896 sed 's/^/| /' conftest.
$ac_ext >&5
2898 ac_header_preproc
=no
2900 rm -f conftest.err conftest.
$ac_ext
2901 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2902 echo "${ECHO_T}$ac_header_preproc" >&6
2904 # So? What about this header?
2905 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
2907 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
2908 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
2909 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
2910 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
2911 ac_header_preproc
=yes
2914 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
2915 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
2916 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
2917 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
2918 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
2919 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
2920 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
2921 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
2922 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2923 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
2924 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
2925 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
2928 ## --------------------------------- ##
2929 ## Report this to BUG-REPORT-ADDRESS ##
2930 ## --------------------------------- ##
2933 sed "s/^/$as_me: WARNING: /" >&2
2936 echo "$as_me:$LINENO: checking for $ac_header" >&5
2937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2939 echo $ECHO_N "(cached) $ECHO_C" >&6
2941 eval "$as_ac_Header=\$ac_header_preproc"
2943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2944 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2947 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2948 cat >>confdefs.h
<<_ACEOF
2949 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2957 for ac_header
in bluetooth
/bluetooth.h
2959 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2960 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2961 echo "$as_me:$LINENO: checking for $ac_header" >&5
2962 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2963 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2964 echo $ECHO_N "(cached) $ECHO_C" >&6
2966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2967 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2969 # Is the header compilable?
2970 echo "$as_me:$LINENO: checking $ac_header usability" >&5
2971 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2972 cat >conftest.
$ac_ext <<_ACEOF
2975 cat confdefs.h
>>conftest.
$ac_ext
2976 cat >>conftest.
$ac_ext <<_ACEOF
2977 /* end confdefs.h. */
2978 $ac_includes_default
2979 #include <$ac_header>
2981 rm -f conftest.
$ac_objext
2982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2983 (eval $ac_compile) 2>conftest.er1
2985 grep -v '^ *+' conftest.er1
>conftest.err
2987 cat conftest.err
>&5
2988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989 (exit $ac_status); } &&
2990 { ac_try
='test -z "$ac_c_werror_flag"
2991 || test ! -s conftest.err'
2992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2996 (exit $ac_status); }; } &&
2997 { ac_try
='test -s conftest.$ac_objext'
2998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002 (exit $ac_status); }; }; then
3003 ac_header_compiler
=yes
3005 echo "$as_me: failed program was:" >&5
3006 sed 's/^/| /' conftest.
$ac_ext >&5
3008 ac_header_compiler
=no
3010 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3011 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3012 echo "${ECHO_T}$ac_header_compiler" >&6
3014 # Is the header present?
3015 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3016 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3017 cat >conftest.
$ac_ext <<_ACEOF
3020 cat confdefs.h
>>conftest.
$ac_ext
3021 cat >>conftest.
$ac_ext <<_ACEOF
3022 /* end confdefs.h. */
3023 #include <$ac_header>
3025 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3026 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3028 grep -v '^ *+' conftest.er1
>conftest.err
3030 cat conftest.err
>&5
3031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3032 (exit $ac_status); } >/dev
/null
; then
3033 if test -s conftest.err
; then
3034 ac_cpp_err
=$ac_c_preproc_warn_flag
3035 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3042 if test -z "$ac_cpp_err"; then
3043 ac_header_preproc
=yes
3045 echo "$as_me: failed program was:" >&5
3046 sed 's/^/| /' conftest.
$ac_ext >&5
3048 ac_header_preproc
=no
3050 rm -f conftest.err conftest.
$ac_ext
3051 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3052 echo "${ECHO_T}$ac_header_preproc" >&6
3054 # So? What about this header?
3055 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3057 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3058 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3059 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3060 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3061 ac_header_preproc
=yes
3064 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3065 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3066 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3067 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3068 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3069 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3070 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3071 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3072 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3073 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3074 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3075 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3078 ## --------------------------------- ##
3079 ## Report this to BUG-REPORT-ADDRESS ##
3080 ## --------------------------------- ##
3083 sed "s/^/$as_me: WARNING: /" >&2
3086 echo "$as_me:$LINENO: checking for $ac_header" >&5
3087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3088 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3089 echo $ECHO_N "(cached) $ECHO_C" >&6
3091 eval "$as_ac_Header=\$ac_header_preproc"
3093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3094 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3097 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3098 cat >>confdefs.h
<<_ACEOF
3099 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3103 { { echo "$as_me:$LINENO: error: Bluetooth headers MIA" >&5
3104 echo "$as_me: error: Bluetooth headers MIA" >&2;}
3105 { (exit 1); exit 1; }; }
3111 # Checks for typedefs, structures, and compiler characteristics.
3112 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3113 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3114 if test "${ac_cv_c_const+set}" = set; then
3115 echo $ECHO_N "(cached) $ECHO_C" >&6
3117 cat >conftest.
$ac_ext <<_ACEOF
3120 cat confdefs.h
>>conftest.
$ac_ext
3121 cat >>conftest.
$ac_ext <<_ACEOF
3122 /* end confdefs.h. */
3127 /* FIXME: Include the comments suggested by Paul. */
3129 /* Ultrix mips cc rejects this. */
3130 typedef int charset[2];
3132 /* SunOS 4.1.1 cc rejects this. */
3133 char const *const *ccp;
3135 /* NEC SVR4.0.2 mips cc rejects this. */
3136 struct point {int x, y;};
3137 static struct point const zero = {0,0};
3138 /* AIX XL C 1.02.0.0 rejects this.
3139 It does not let you subtract one const X* pointer from another in
3140 an arm of an if-expression whose if-part is not a constant
3142 const char *g = "string";
3143 ccp = &g + (g ? g-g : 0);
3144 /* HPUX 7.0 cc rejects these. */
3147 ccp = (char const *const *) p;
3148 { /* SCO 3.2v4 cc rejects this. */
3150 char const *s = 0 ? (char *) 0 : (char const *) 0;
3154 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3156 const int *foo = &x[0];
3159 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3160 typedef const int *iptr;
3164 { /* AIX XL C 1.02.0.0 rejects this saying
3165 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3166 struct s { int j; const int *ap[3]; };
3167 struct s *b; b->j = 5;
3169 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3178 rm -f conftest.
$ac_objext
3179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3180 (eval $ac_compile) 2>conftest.er1
3182 grep -v '^ *+' conftest.er1
>conftest.err
3184 cat conftest.err
>&5
3185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186 (exit $ac_status); } &&
3187 { ac_try
='test -z "$ac_c_werror_flag"
3188 || test ! -s conftest.err'
3189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193 (exit $ac_status); }; } &&
3194 { ac_try
='test -s conftest.$ac_objext'
3195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199 (exit $ac_status); }; }; then
3202 echo "$as_me: failed program was:" >&5
3203 sed 's/^/| /' conftest.
$ac_ext >&5
3207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3209 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3210 echo "${ECHO_T}$ac_cv_c_const" >&6
3211 if test $ac_cv_c_const = no
; then
3213 cat >>confdefs.h
<<\_ACEOF
3219 echo "$as_me:$LINENO: checking for size_t" >&5
3220 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3221 if test "${ac_cv_type_size_t+set}" = set; then
3222 echo $ECHO_N "(cached) $ECHO_C" >&6
3224 cat >conftest.
$ac_ext <<_ACEOF
3227 cat confdefs.h
>>conftest.
$ac_ext
3228 cat >>conftest.
$ac_ext <<_ACEOF
3229 /* end confdefs.h. */
3230 $ac_includes_default
3236 if (sizeof (size_t))
3242 rm -f conftest.
$ac_objext
3243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3244 (eval $ac_compile) 2>conftest.er1
3246 grep -v '^ *+' conftest.er1
>conftest.err
3248 cat conftest.err
>&5
3249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3250 (exit $ac_status); } &&
3251 { ac_try
='test -z "$ac_c_werror_flag"
3252 || test ! -s conftest.err'
3253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3257 (exit $ac_status); }; } &&
3258 { ac_try
='test -s conftest.$ac_objext'
3259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263 (exit $ac_status); }; }; then
3264 ac_cv_type_size_t
=yes
3266 echo "$as_me: failed program was:" >&5
3267 sed 's/^/| /' conftest.
$ac_ext >&5
3269 ac_cv_type_size_t
=no
3271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3273 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3274 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3275 if test $ac_cv_type_size_t = yes; then
3279 cat >>confdefs.h
<<_ACEOF
3280 #define size_t unsigned
3286 # Checks for library functions.
3287 if test $ac_cv_c_compiler_gnu = yes; then
3288 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3289 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
3290 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3291 echo $ECHO_N "(cached) $ECHO_C" >&6
3293 ac_pattern
="Autoconf.*'x'"
3294 cat >conftest.
$ac_ext <<_ACEOF
3297 cat confdefs.h
>>conftest.
$ac_ext
3298 cat >>conftest.
$ac_ext <<_ACEOF
3299 /* end confdefs.h. */
3303 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3304 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3305 ac_cv_prog_gcc_traditional
=yes
3307 ac_cv_prog_gcc_traditional
=no
3312 if test $ac_cv_prog_gcc_traditional = no
; then
3313 cat >conftest.
$ac_ext <<_ACEOF
3316 cat confdefs.h
>>conftest.
$ac_ext
3317 cat >>conftest.
$ac_ext <<_ACEOF
3318 /* end confdefs.h. */
3322 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3323 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3324 ac_cv_prog_gcc_traditional
=yes
3330 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3331 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
3332 if test $ac_cv_prog_gcc_traditional = yes; then
3333 CC
="$CC -traditional"
3338 for ac_header
in stdlib.h
3340 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3342 echo "$as_me:$LINENO: checking for $ac_header" >&5
3343 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3345 echo $ECHO_N "(cached) $ECHO_C" >&6
3347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3348 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3350 # Is the header compilable?
3351 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3352 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3353 cat >conftest.
$ac_ext <<_ACEOF
3356 cat confdefs.h
>>conftest.
$ac_ext
3357 cat >>conftest.
$ac_ext <<_ACEOF
3358 /* end confdefs.h. */
3359 $ac_includes_default
3360 #include <$ac_header>
3362 rm -f conftest.
$ac_objext
3363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3364 (eval $ac_compile) 2>conftest.er1
3366 grep -v '^ *+' conftest.er1
>conftest.err
3368 cat conftest.err
>&5
3369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3370 (exit $ac_status); } &&
3371 { ac_try
='test -z "$ac_c_werror_flag"
3372 || test ! -s conftest.err'
3373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3377 (exit $ac_status); }; } &&
3378 { ac_try
='test -s conftest.$ac_objext'
3379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383 (exit $ac_status); }; }; then
3384 ac_header_compiler
=yes
3386 echo "$as_me: failed program was:" >&5
3387 sed 's/^/| /' conftest.
$ac_ext >&5
3389 ac_header_compiler
=no
3391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3392 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3393 echo "${ECHO_T}$ac_header_compiler" >&6
3395 # Is the header present?
3396 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3397 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3398 cat >conftest.
$ac_ext <<_ACEOF
3401 cat confdefs.h
>>conftest.
$ac_ext
3402 cat >>conftest.
$ac_ext <<_ACEOF
3403 /* end confdefs.h. */
3404 #include <$ac_header>
3406 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3407 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3409 grep -v '^ *+' conftest.er1
>conftest.err
3411 cat conftest.err
>&5
3412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3413 (exit $ac_status); } >/dev
/null
; then
3414 if test -s conftest.err
; then
3415 ac_cpp_err
=$ac_c_preproc_warn_flag
3416 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3423 if test -z "$ac_cpp_err"; then
3424 ac_header_preproc
=yes
3426 echo "$as_me: failed program was:" >&5
3427 sed 's/^/| /' conftest.
$ac_ext >&5
3429 ac_header_preproc
=no
3431 rm -f conftest.err conftest.
$ac_ext
3432 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3433 echo "${ECHO_T}$ac_header_preproc" >&6
3435 # So? What about this header?
3436 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3438 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3439 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3440 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3441 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3442 ac_header_preproc
=yes
3445 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3446 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3447 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3448 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3449 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3450 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3451 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3452 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3453 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3454 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3455 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3456 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3459 ## --------------------------------- ##
3460 ## Report this to BUG-REPORT-ADDRESS ##
3461 ## --------------------------------- ##
3464 sed "s/^/$as_me: WARNING: /" >&2
3467 echo "$as_me:$LINENO: checking for $ac_header" >&5
3468 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3469 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3470 echo $ECHO_N "(cached) $ECHO_C" >&6
3472 eval "$as_ac_Header=\$ac_header_preproc"
3474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3475 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3478 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3479 cat >>confdefs.h
<<_ACEOF
3480 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3487 echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
3488 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
3489 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
3490 echo $ECHO_N "(cached) $ECHO_C" >&6
3492 if test "$cross_compiling" = yes; then
3493 ac_cv_func_malloc_0_nonnull
=no
3495 cat >conftest.
$ac_ext <<_ACEOF
3498 cat confdefs.h
>>conftest.
$ac_ext
3499 cat >>conftest.
$ac_ext <<_ACEOF
3500 /* end confdefs.h. */
3501 #if STDC_HEADERS || HAVE_STDLIB_H
3502 # include <stdlib.h>
3510 exit (malloc (0) ? 0 : 1);
3515 rm -f conftest
$ac_exeext
3516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3517 (eval $ac_link) 2>&5
3519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3520 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3525 (exit $ac_status); }; }; then
3526 ac_cv_func_malloc_0_nonnull
=yes
3528 echo "$as_me: program exited with status $ac_status" >&5
3529 echo "$as_me: failed program was:" >&5
3530 sed 's/^/| /' conftest.
$ac_ext >&5
3533 ac_cv_func_malloc_0_nonnull
=no
3535 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3538 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
3539 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
3540 if test $ac_cv_func_malloc_0_nonnull = yes; then
3542 cat >>confdefs.h
<<\_ACEOF
3543 #define HAVE_MALLOC 1
3547 cat >>confdefs.h
<<\_ACEOF
3548 #define HAVE_MALLOC 0
3552 "malloc.$ac_objext" | \
3553 *" malloc.$ac_objext" | \
3554 "malloc.$ac_objext "* | \
3555 *" malloc.$ac_objext "* ) ;;
3556 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext" ;;
3560 cat >>confdefs.h
<<\_ACEOF
3561 #define malloc rpl_malloc
3568 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
3569 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
3570 if test "${ac_cv_type_signal+set}" = set; then
3571 echo $ECHO_N "(cached) $ECHO_C" >&6
3573 cat >conftest.
$ac_ext <<_ACEOF
3576 cat confdefs.h
>>conftest.
$ac_ext
3577 cat >>conftest.
$ac_ext <<_ACEOF
3578 /* end confdefs.h. */
3579 #include <sys/types.h>
3585 extern "C" void (*signal (int, void (*)(int)))(int);
3587 void (*signal ()) ();
3598 rm -f conftest.
$ac_objext
3599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3600 (eval $ac_compile) 2>conftest.er1
3602 grep -v '^ *+' conftest.er1
>conftest.err
3604 cat conftest.err
>&5
3605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606 (exit $ac_status); } &&
3607 { ac_try
='test -z "$ac_c_werror_flag"
3608 || test ! -s conftest.err'
3609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613 (exit $ac_status); }; } &&
3614 { ac_try
='test -s conftest.$ac_objext'
3615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619 (exit $ac_status); }; }; then
3620 ac_cv_type_signal
=void
3622 echo "$as_me: failed program was:" >&5
3623 sed 's/^/| /' conftest.
$ac_ext >&5
3625 ac_cv_type_signal
=int
3627 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3629 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
3630 echo "${ECHO_T}$ac_cv_type_signal" >&6
3632 cat >>confdefs.h
<<_ACEOF
3633 #define RETSIGTYPE $ac_cv_type_signal
3639 for ac_func
in memset strerror
3641 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3642 echo "$as_me:$LINENO: checking for $ac_func" >&5
3643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3644 if eval "test \"\${$as_ac_var+set}\" = set"; then
3645 echo $ECHO_N "(cached) $ECHO_C" >&6
3647 cat >conftest.
$ac_ext <<_ACEOF
3650 cat confdefs.h
>>conftest.
$ac_ext
3651 cat >>conftest.
$ac_ext <<_ACEOF
3652 /* end confdefs.h. */
3653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3655 #define $ac_func innocuous_$ac_func
3657 /* System header to define __stub macros and hopefully few prototypes,
3658 which can conflict with char $ac_func (); below.
3659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3660 <limits.h> exists even on freestanding compilers. */
3663 # include <limits.h>
3665 # include <assert.h>
3670 /* Override any gcc2 internal prototype to avoid an error. */
3675 /* We use char because int might match the return type of a gcc2
3676 builtin and then its argument prototype would still apply. */
3678 /* The GNU C library defines this for functions which it implements
3679 to always fail with ENOSYS. Some functions are actually named
3680 something starting with __ and the normal name is an alias. */
3681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3684 char (*f) () = $ac_func;
3693 return f != $ac_func;
3698 rm -f conftest.
$ac_objext conftest
$ac_exeext
3699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3700 (eval $ac_link) 2>conftest.er1
3702 grep -v '^ *+' conftest.er1
>conftest.err
3704 cat conftest.err
>&5
3705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3706 (exit $ac_status); } &&
3707 { ac_try
='test -z "$ac_c_werror_flag"
3708 || test ! -s conftest.err'
3709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3713 (exit $ac_status); }; } &&
3714 { ac_try
='test -s conftest$ac_exeext'
3715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719 (exit $ac_status); }; }; then
3720 eval "$as_ac_var=yes"
3722 echo "$as_me: failed program was:" >&5
3723 sed 's/^/| /' conftest.
$ac_ext >&5
3725 eval "$as_ac_var=no"
3727 rm -f conftest.err conftest.
$ac_objext \
3728 conftest
$ac_exeext conftest.
$ac_ext
3730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3732 if test `eval echo '${'$as_ac_var'}'` = yes; then
3733 cat >>confdefs.h
<<_ACEOF
3734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3744 ac_config_files
="$ac_config_files Makefile"
3746 cat >confcache
<<\_ACEOF
3747 # This file is a shell script that caches the results of configure
3748 # tests run on this system so they can be shared between configure
3749 # scripts and configure runs, see configure's option --config-cache.
3750 # It is not useful on other systems. If it contains results you don't
3751 # want to keep, you may remove or edit it.
3753 # config.status only pays attention to the cache file if you give it
3754 # the --recheck option to rerun configure.
3756 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3757 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3762 # The following way of writing the cache mishandles newlines in values,
3763 # but we know of no workaround that is simple, portable, and efficient.
3764 # So, don't put newlines in cache variables' values.
3765 # Ultrix sh set writes to stderr and can't be redirected directly,
3766 # and sets the high bit in the cache file unless we assign to the vars.
3769 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3771 # `set' does not quote correctly, so add quotes (double-quote
3772 # substitution turns \\\\ into \\, and sed turns \\ into \).
3775 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3778 # `set' quotes correctly as required by POSIX, so do not add quotes.
3780 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3787 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3789 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3791 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
3792 if test -w $cache_file; then
3793 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3794 cat confcache
>$cache_file
3796 echo "not updating unwritable cache $cache_file"
3801 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3802 # Let make expand exec_prefix.
3803 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3805 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3806 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3807 # trailing colons and then remove the whole line if VPATH becomes empty
3808 # (actually we leave an empty line to preserve line numbers).
3809 if test "x$srcdir" = x.
; then
3810 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
3811 s/:*\$(srcdir):*/:/;
3812 s/:*\${srcdir}:*/:/;
3814 s/^\([^=]*=[ ]*\):*/\1/;
3820 # Transform confdefs.h into DEFS.
3821 # Protect against shell expansion while executing Makefile rules.
3822 # Protect against Makefile macro expansion.
3824 # If the first sed substitution is executed (which looks for macros that
3825 # take arguments), then we branch to the quote section. Otherwise,
3826 # look for a macro that doesn't take arguments.
3827 cat >confdef2opt.
sed <<\_ACEOF
3830 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3832 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3836 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3842 # We use echo to avoid assuming a particular line-breaking character.
3843 # The extra dot is to prevent the shell from consuming trailing
3844 # line-breaks from the sub-command output. A line-break within
3845 # single-quotes doesn't work because, if this script is created in a
3846 # platform that uses two characters for line-breaks (e.g., DOS), tr
3848 ac_LF_and_DOT=`echo; echo .
`
3849 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
3850 rm -f confdef2opt.sed
3855 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3856 # 1. Remove the extension, and $U if already installed.
3857 ac_i=`echo "$ac_i" |
3858 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3860 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3861 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3865 LTLIBOBJS=$ac_ltlibobjs
3869 : ${CONFIG_STATUS=./config.status}
3870 ac_clean_files_save=$ac_clean_files
3871 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3872 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3873 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3874 cat >$CONFIG_STATUS <<_ACEOF
3876 # Generated by $as_me.
3877 # Run this file to recreate the current configuration.
3878 # Compiler output produced by configure, useful for debugging
3879 # configure, is in config.log if it exists.
3884 SHELL=\${CONFIG_SHELL-$SHELL}
3887 cat >>$CONFIG_STATUS <<\_ACEOF
3888 ## --------------------- ##
3889 ## M4sh Initialization. ##
3890 ## --------------------- ##
3892 # Be Bourne compatible
3893 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3896 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3897 # is contrary to our usage. Disable this feature.
3898 alias -g '${1+"$@"}'='"$@"'
3899 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3902 DUALCASE=1; export DUALCASE # for MKS sh
3904 # Support unset when possible.
3905 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3912 # Work around bugs in pre-3.0 UWIN ksh.
3913 $as_unset ENV MAIL MAILPATH
3920 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3921 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3922 LC_TELEPHONE LC_TIME
3924 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
3925 eval $as_var=C; export $as_var
3931 # Required to use basename.
3932 if expr a : '\(a\)' >/dev/null 2>&1; then
3938 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3939 as_basename=basename
3945 # Name of the executable.
3946 as_me=`$as_basename "$0" ||
3947 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3948 X
"$0" : 'X\(//\)$' \| \
3949 X
"$0" : 'X\(/\)$' \| \
3950 .
: '\(.\)' 2>/dev
/null ||
3952 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3953 /^X\/\(\/\/\)$/{ s//\1/; q; }
3954 /^X\/\(\/\).*/{ s//\1/; q; }
3958 # PATH needs CR, and LINENO needs CR and PATH.
3959 # Avoid depending upon Character Ranges.
3960 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3961 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3962 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3963 as_cr_digits='0123456789'
3964 as_cr_alnum=$as_cr_Letters$as_cr_digits
3966 # The user is always right.
3967 if test "${PATH_SEPARATOR+set}" != set; then
3968 echo "#! /bin/sh" >conf$$.sh
3969 echo "exit 0" >>conf$$.sh
3971 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3982 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
3983 test "x$as_lineno_1" != "x$as_lineno_2" &&
3984 test "x$as_lineno_3" = "x$as_lineno_2" || {
3985 # Find who we are. Look in the path if we contain no path at all
3988 *[\\/]* ) as_myself=$0 ;;
3989 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3993 test -z "$as_dir" && as_dir=.
3994 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3999 # We did not find ourselves, most probably we were run as `sh COMMAND
'
4000 # in which case we are not to be found in the path.
4001 if test "x$as_myself" = x; then
4004 if test ! -f "$as_myself"; then
4005 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4006 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4007 { (exit 1); exit 1; }; }
4009 case $CONFIG_SHELL in
4011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4012 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4015 test -z "$as_dir" && as_dir=.
4016 for as_base in sh bash ksh sh5; do
4019 if ("$as_dir/$as_base" -c '
4022 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
4023 test "x$as_lineno_1" != "x$as_lineno_2" &&
4024 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4025 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4026 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4027 CONFIG_SHELL=$as_dir/$as_base
4029 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4037 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4038 # uniformly replaced by the line number. The first 'sed' inserts a
4039 # line-number line before each line; the second 'sed' does the real
4040 # work. The second script uses 'N
' to pair each line-number line
4041 # with the numbered line, and appends trailing '-' during
4042 # substitution so that $LINENO is not a special case at line end.
4043 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4044 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
4045 sed '=' <$as_myself |
4050 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4053 s,^['$as_cr_digits']*\n,,
4055 chmod +x
$as_me.lineno ||
4056 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4057 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4058 { (exit 1); exit 1; }; }
4060 # Don't try to exec as it changes $[0], causing all sort of problems
4061 # (the dirname of $[0] is not the place where we might find the
4062 # original and so on. Autoconf is especially sensible to this).
4064 # Exit status is that of the last command.
4069 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4070 *c
*,-n*) ECHO_N
= ECHO_C
='
4072 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
4073 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
4076 if expr a
: '\(a\)' >/dev
/null
2>&1; then
4082 rm -f conf$$ conf$$.exe conf$$.
file
4084 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4085 # We could just check for DJGPP; but this test a) works b) is more generic
4086 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4087 if test -f conf$$.exe
; then
4088 # Don't use ln at all; we don't have any links
4093 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4098 rm -f conf$$ conf$$.exe conf$$.
file
4100 if mkdir
-p .
2>/dev
/null
; then
4103 test -d .
/-p && rmdir .
/-p
4107 as_executable_p
="test -f"
4109 # Sed expression to map a string onto a valid CPP name.
4110 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4112 # Sed expression to map a string onto a valid variable name.
4113 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4117 # We need space, tab and new line, in precisely that order.
4127 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4128 # report actual input values of CONFIG_FILES etc. instead of their
4129 # values after options handling. Logging --version etc. is OK.
4133 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4134 ## Running $as_me. ##
4139 This file was extended by FULL-PACKAGE-NAME $as_me VERSION, which was
4140 generated by GNU Autoconf 2.59. Invocation command line was
4142 CONFIG_FILES = $CONFIG_FILES
4143 CONFIG_HEADERS = $CONFIG_HEADERS
4144 CONFIG_LINKS = $CONFIG_LINKS
4145 CONFIG_COMMANDS = $CONFIG_COMMANDS
4149 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4153 # Files that config.status was made for.
4154 if test -n "$ac_config_files"; then
4155 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4158 if test -n "$ac_config_headers"; then
4159 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4162 if test -n "$ac_config_links"; then
4163 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4166 if test -n "$ac_config_commands"; then
4167 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4170 cat >>$CONFIG_STATUS <<\_ACEOF
4173 \`$as_me' instantiates files from templates according to the
4174 current configuration.
4176 Usage: $0 [OPTIONS] [FILE]...
4178 -h, --help print this help, then exit
4179 -V, --version print version number, then exit
4180 -q, --quiet do not print progress messages
4181 -d, --debug don't remove temporary files
4182 --recheck update $as_me by reconfiguring in the same conditions
4183 --file=FILE[:TEMPLATE]
4184 instantiate the configuration file FILE
4186 Configuration files:
4189 Report bugs to <bug-autoconf@gnu.org>."
4192 cat >>$CONFIG_STATUS <<_ACEOF
4194 FULL-PACKAGE-NAME config.status VERSION
4195 configured by $0, generated by GNU Autoconf 2.59,
4196 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4198 Copyright (C) 2003 Free Software Foundation, Inc.
4199 This config.status script is free software; the Free Software Foundation
4200 gives unlimited permission to copy, distribute and modify it."
4204 cat >>$CONFIG_STATUS <<\_ACEOF
4205 # If no file are specified by the user, then we need to provide default
4206 # value. By we need to know if files were specified by the user.
4212 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
4213 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
4221 *) # This is not an option, so the user has probably given explicit
4224 ac_need_defaults
=false
;;
4228 # Handling of the options.
4230 cat >>$CONFIG_STATUS <<\_ACEOF
4231 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4233 --version |
--vers* |
-V )
4234 echo "$ac_cs_version"; exit 0 ;;
4236 # Conflict between --help and --header
4237 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4238 Try \`$0 --help' for more information." >&5
4239 echo "$as_me: error: ambiguous option: $1
4240 Try \`$0 --help' for more information." >&2;}
4241 { (exit 1); exit 1; }; };;
4242 --help |
--hel |
-h )
4243 echo "$ac_cs_usage"; exit 0 ;;
4244 --debug |
--d* |
-d )
4246 --file |
--fil |
--fi |
--f )
4248 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
4249 ac_need_defaults
=false
;;
4250 --header |
--heade |
--head |
--hea )
4252 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
4253 ac_need_defaults
=false
;;
4254 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4255 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4259 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4260 Try \`$0 --help' for more information." >&5
4261 echo "$as_me: error: unrecognized option: $1
4262 Try \`$0 --help' for more information." >&2;}
4263 { (exit 1); exit 1; }; } ;;
4265 *) ac_config_targets
="$ac_config_targets $1" ;;
4271 ac_configure_extra_args
=
4273 if $ac_cs_silent; then
4275 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4279 cat >>$CONFIG_STATUS <<_ACEOF
4280 if \$ac_cs_recheck; then
4281 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4282 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4291 cat >>$CONFIG_STATUS <<\_ACEOF
4292 for ac_config_target
in $ac_config_targets
4294 case "$ac_config_target" in
4295 # Handling of arguments.
4296 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4297 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4298 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4299 { (exit 1); exit 1; }; };;
4303 # If the user did not use the arguments to specify the items to instantiate,
4304 # then the envvar interface is used. Set only those that are not.
4305 # We use the long form for the default assignment because of an extremely
4306 # bizarre bug on SunOS 4.1.3.
4307 if $ac_need_defaults; then
4308 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4311 # Have a temporary directory for convenience. Make it in the build tree
4312 # simply because there is no reason to put it here, and in addition,
4313 # creating and moving files from /tmp can sometimes cause problems.
4314 # Create a temporary directory, and hook for its removal unless debugging.
4317 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4318 trap '{ (exit 1); exit 1; }' 1 2 13 15
4321 # Create a (secure) tmp directory for tmp files.
4324 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4325 test -n "$tmp" && test -d "$tmp"
4328 tmp
=.
/confstat$$
-$RANDOM
4329 (umask 077 && mkdir
$tmp)
4332 echo "$me: cannot create a temporary directory in ." >&2
4333 { (exit 1); exit 1; }
4338 cat >>$CONFIG_STATUS <<_ACEOF
4341 # CONFIG_FILES section.
4344 # No need to generate the scripts if there are no CONFIG_FILES.
4345 # This happens for instance when ./config.status config.h
4346 if test -n "\$CONFIG_FILES"; then
4347 # Protect against being on the right side of a sed subst in config.status.
4348 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4349 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4350 s,@SHELL@,$SHELL,;t t
4351 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4352 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4353 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4354 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4355 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4356 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4357 s,@exec_prefix@,$exec_prefix,;t t
4358 s,@prefix@,$prefix,;t t
4359 s,@program_transform_name@,$program_transform_name,;t t
4360 s,@bindir@,$bindir,;t t
4361 s,@sbindir@,$sbindir,;t t
4362 s,@libexecdir@,$libexecdir,;t t
4363 s,@datadir@,$datadir,;t t
4364 s,@sysconfdir@,$sysconfdir,;t t
4365 s,@sharedstatedir@,$sharedstatedir,;t t
4366 s,@localstatedir@,$localstatedir,;t t
4367 s,@libdir@,$libdir,;t t
4368 s,@includedir@,$includedir,;t t
4369 s,@oldincludedir@,$oldincludedir,;t t
4370 s,@infodir@,$infodir,;t t
4371 s,@mandir@,$mandir,;t t
4372 s,@build_alias@,$build_alias,;t t
4373 s,@host_alias@,$host_alias,;t t
4374 s,@target_alias@,$target_alias,;t t
4376 s,@ECHO_C@,$ECHO_C,;t t
4377 s,@ECHO_N@,$ECHO_N,;t t
4378 s,@ECHO_T@,$ECHO_T,;t t
4381 s,@CFLAGS@,$CFLAGS,;t t
4382 s,@LDFLAGS@,$LDFLAGS,;t t
4383 s,@CPPFLAGS@,$CPPFLAGS,;t t
4384 s,@ac_ct_CC@,$ac_ct_CC,;t t
4385 s,@EXEEXT@,$EXEEXT,;t t
4386 s,@OBJEXT@,$OBJEXT,;t t
4388 s,@EGREP@,$EGREP,;t t
4389 s,@LIBOBJS@,$LIBOBJS,;t t
4390 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4395 cat >>$CONFIG_STATUS <<\_ACEOF
4396 # Split the substitutions into bite-sized pieces for seds with
4397 # small command number limits, like on Digital OSF/1 and HP-UX.
4399 ac_sed_frag
=1 # Number of current file.
4400 ac_beg
=1 # First line for current file.
4401 ac_end
=$ac_max_sed_lines # Line after last line for current file.
4404 while $ac_more_lines; do
4405 if test $ac_beg -gt 1; then
4406 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4408 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4410 if test ! -s $tmp/subs.frag
; then
4413 # The purpose of the label and of the branching condition is to
4414 # speed up the sed processing (if there are no `@' at all, there
4415 # is no need to browse any of the substitutions).
4416 # These are the two extra sed commands mentioned above.
4418 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
4419 if test -z "$ac_sed_cmds"; then
4420 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
4422 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4424 ac_sed_frag
=`expr $ac_sed_frag + 1`
4426 ac_end
=`expr $ac_end + $ac_max_sed_lines`
4429 if test -z "$ac_sed_cmds"; then
4432 fi # test -n "$CONFIG_FILES"
4435 cat >>$CONFIG_STATUS <<\_ACEOF
4436 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
4437 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4439 - |
*:- |
*:-:* ) # input from stdin
4441 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4442 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4443 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4444 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4445 * ) ac_file_in
=$ac_file.
in ;;
4448 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4449 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
4450 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4451 X"$ac_file" : 'X\(//\)[^/]' \| \
4452 X"$ac_file" : 'X\(//\)$' \| \
4453 X"$ac_file" : 'X\(/\)' \| \
4454 . : '\(.\)' 2>/dev/null ||
4456 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4457 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4458 /^X\(\/\/\)$/{ s//\1/; q; }
4459 /^X\(\/\).*/{ s//\1/; q; }
4461 { if $as_mkdir_p; then
4466 while test ! -d "$as_dir"; do
4467 as_dirs
="$as_dir $as_dirs"
4468 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
4469 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4470 X"$as_dir" : 'X\(//\)[^/]' \| \
4471 X"$as_dir" : 'X\(//\)$' \| \
4472 X"$as_dir" : 'X\(/\)' \| \
4473 . : '\(.\)' 2>/dev/null ||
4475 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4476 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4477 /^X\(\/\/\)$/{ s//\1/; q; }
4478 /^X\(\/\).*/{ s//\1/; q; }
4481 test ! -n "$as_dirs" || mkdir
$as_dirs
4482 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4483 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4484 { (exit 1); exit 1; }; }; }
4488 if test "$ac_dir" != .
; then
4489 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4490 # A "../" for each directory in $ac_dir_suffix.
4491 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4493 ac_dir_suffix
= ac_top_builddir
=
4497 .
) # No --srcdir option. We are building in place.
4499 if test -z "$ac_top_builddir"; then
4502 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
4504 [\\/]* | ?
:[\\/]* ) # Absolute path.
4505 ac_srcdir
=$srcdir$ac_dir_suffix;
4506 ac_top_srcdir
=$srcdir ;;
4508 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
4509 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
4512 # Do not use `cd foo && pwd` to compute absolute paths, because
4513 # the directories may not exist.
4515 .
) ac_abs_builddir
="$ac_dir";;
4518 .
) ac_abs_builddir
=`pwd`;;
4519 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
4520 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
4523 case $ac_abs_builddir in
4524 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4526 case ${ac_top_builddir}.
in
4527 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
4528 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4529 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
4532 case $ac_abs_builddir in
4533 .
) ac_abs_srcdir
=$ac_srcdir;;
4536 .
) ac_abs_srcdir
=$ac_abs_builddir;;
4537 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
4538 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
4541 case $ac_abs_builddir in
4542 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
4544 case $ac_top_srcdir in
4545 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
4546 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
4547 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
4553 if test x
"$ac_file" != x-
; then
4554 { echo "$as_me:$LINENO: creating $ac_file" >&5
4555 echo "$as_me: creating $ac_file" >&6;}
4558 # Let's still pretend it is `configure' which instantiates (i.e., don't
4559 # use $as_me), people would be surprised to read:
4560 # /* config.h. Generated by config.status. */
4561 if test x
"$ac_file" = x-
; then
4564 configure_input
="$ac_file. "
4566 configure_input
=$configure_input"Generated from `echo $ac_file_in |
4567 sed 's,.*/,,'` by configure."
4569 # First look for the input files in the build tree, otherwise in the
4571 ac_file_inputs
=`IFS=:
4572 for f in $ac_file_in; do
4574 -) echo $tmp/stdin ;;
4576 # Absolute (can't be DOS-style, as IFS=:)
4577 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4578 echo "$as_me: error: cannot find input file: $f" >&2;}
4579 { (exit 1); exit 1; }; }
4582 if test -f "$f"; then
4585 elif test -f "$srcdir/$f"; then
4590 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4591 echo "$as_me: error: cannot find input file: $f" >&2;}
4592 { (exit 1); exit 1; }; }
4595 done` ||
{ (exit 1); exit 1; }
4597 cat >>$CONFIG_STATUS <<_ACEOF
4601 cat >>$CONFIG_STATUS <<\_ACEOF
4603 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4604 s
,@configure_input@
,$configure_input,;t t
4605 s
,@srcdir@
,$ac_srcdir,;t t
4606 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
4607 s
,@top_srcdir@
,$ac_top_srcdir,;t t
4608 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
4609 s
,@builddir@
,$ac_builddir,;t t
4610 s
,@abs_builddir@
,$ac_abs_builddir,;t t
4611 s
,@top_builddir@
,$ac_top_builddir,;t t
4612 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
4613 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4615 if test x"$ac_file" != x-; then
4616 mv $tmp/out $ac_file
4625 cat >>$CONFIG_STATUS <<\_ACEOF
4627 { (exit 0); exit 0; }
4629 chmod +x $CONFIG_STATUS
4630 ac_clean_files=$ac_clean_files_save
4633 # configure is writing to config.log, and then calls config.status.
4634 # config.status does its own redirection, appending to config.log.
4635 # Unfortunately, on DOS this fails, as config.log is still kept open
4636 # by configure, so config.status won't be able to write to it; its
4637 # output is simply discarded. So we exec the FD to /dev/null,
4638 # effectively closing config.log, so it can be properly (re)opened and
4639 # appended to by config.status. When coming back to configure, we
4640 # need to make the FD available again.
4641 if test "$no_create" != yes; then
4643 ac_config_status_args=
4644 test "$silent" = yes &&
4645 ac_config_status_args="$ac_config_status_args --quiet"
4647 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4649 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4650 # would make configure fail if this is the last instruction.
4651 $ac_cs_success || { (exit 1); exit 1; }