2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="../include/ptlib.h"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT PWLIBDIR PWINSTDIR INSTALLPREFIX LIBDIR CC CFLAGS ac_ct_CC CPP EGREP HAS_ALSA HAS_OSS HAS_V4L HAS_V4L2 HAS_BSDVIDEOCAP HAS_AVC1394 HAS_DC1394 DC_CFLAGS LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CXX_set
=${CXX+set}
754 ac_env_CXX_value
=$CXX
755 ac_cv_env_CXX_set
=${CXX+set}
756 ac_cv_env_CXX_value
=$CXX
757 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
758 ac_env_CXXFLAGS_value
=$CXXFLAGS
759 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
760 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CC_set
=${CC+set}
771 ac_cv_env_CC_set
=${CC+set}
772 ac_cv_env_CC_value
=$CC
773 ac_env_CFLAGS_set
=${CFLAGS+set}
774 ac_env_CFLAGS_value
=$CFLAGS
775 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
776 ac_cv_env_CFLAGS_value
=$CFLAGS
777 ac_env_CPP_set
=${CPP+set}
778 ac_env_CPP_value
=$CPP
779 ac_cv_env_CPP_set
=${CPP+set}
780 ac_cv_env_CPP_value
=$CPP
783 # Report the --help message.
785 if test "$ac_init_help" = "long"; then
786 # Omit some internal or obsolete options to make the list less imposing.
787 # This message is too long to be a string in the A/UX 3.1 sh.
789 \`configure' configures this package to adapt to many kinds of systems.
791 Usage: $0 [OPTION]... [VAR=VALUE]...
793 To assign environment variables (e.g., CC, CFLAGS...), specify them as
794 VAR=VALUE. See below for descriptions of some of the useful variables.
796 Defaults for the options are specified in brackets.
799 -h, --help display this help and exit
800 --help=short display options specific to this package
801 --help=recursive display the short help of all the included packages
802 -V, --version display version information and exit
803 -q, --quiet, --silent do not print \`checking...' messages
804 --cache-file=FILE cache test results in FILE [disabled]
805 -C, --config-cache alias for \`--cache-file=config.cache'
806 -n, --no-create do not create output files
807 --srcdir=DIR find the sources in DIR [configure dir or \`..']
812 Installation directories:
813 --prefix=PREFIX install architecture-independent files in PREFIX
815 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
818 By default, \`make install' will install all the files in
819 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
820 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
821 for instance \`--prefix=\$HOME'.
823 For better control, use the options below.
825 Fine tuning of the installation directories:
826 --bindir=DIR user executables [EPREFIX/bin]
827 --sbindir=DIR system admin executables [EPREFIX/sbin]
828 --libexecdir=DIR program executables [EPREFIX/libexec]
829 --datadir=DIR read-only architecture-independent data [PREFIX/share]
830 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
831 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
832 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
833 --libdir=DIR object code libraries [EPREFIX/lib]
834 --includedir=DIR C header files [PREFIX/include]
835 --oldincludedir=DIR C header files for non-gcc [/usr/include]
836 --infodir=DIR info documentation [PREFIX/info]
837 --mandir=DIR man documentation [PREFIX/man]
844 if test -n "$ac_init_help"; then
849 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
850 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
851 --enable-alsa enable ALSA audio support
852 --enable-oss enable OSS audio support
853 --disable-video disable video device support
in PWLIB
854 --enable-v4l enable V4L video support
855 --enable-v4l2 enable V4L2 video support
856 --enable-bsdvideo enable BSD video support
857 --enable-avc enable IEEE1394
/AVC video support
858 --enable-dc enable IEEE1394
/DC video support
860 Some influential environment variables
:
861 CXX C
++ compiler
command
862 CXXFLAGS C
++ compiler flags
863 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
864 nonstandard directory
<lib dir
>
865 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
866 headers
in a nonstandard directory
<include dir
>
867 CC C compiler
command
868 CFLAGS C compiler flags
871 Use these variables to override the choices made by
`configure' or to help
872 it to find libraries and programs with nonstandard names/locations.
877 if test "$ac_init_help" = "recursive"; then
878 # If there are subdirs, report their specific --help.
880 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
881 test -d $ac_dir || continue
884 if test "$ac_dir" != .; then
885 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
886 # A "../" for each directory in $ac_dir_suffix.
887 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
889 ac_dir_suffix= ac_top_builddir=
893 .) # No --srcdir option. We are building in place.
895 if test -z "$ac_top_builddir"; then
898 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
900 [\\/]* | ?:[\\/]* ) # Absolute path.
901 ac_srcdir=$srcdir$ac_dir_suffix;
902 ac_top_srcdir=$srcdir ;;
904 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
905 ac_top_srcdir=$ac_top_builddir$srcdir ;;
908 # Do not use `cd foo
&& pwd` to compute absolute paths, because
909 # the directories may not exist.
911 .) ac_abs_builddir="$ac_dir";;
914 .) ac_abs_builddir=`pwd`;;
915 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
916 *) ac_abs_builddir=`pwd`/"$ac_dir";;
919 case $ac_abs_builddir in
920 .) ac_abs_top_builddir=${ac_top_builddir}.;;
922 case ${ac_top_builddir}. in
923 .) ac_abs_top_builddir=$ac_abs_builddir;;
924 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
925 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
928 case $ac_abs_builddir in
929 .) ac_abs_srcdir=$ac_srcdir;;
932 .) ac_abs_srcdir=$ac_abs_builddir;;
933 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
934 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
937 case $ac_abs_builddir in
938 .) ac_abs_top_srcdir=$ac_top_srcdir;;
940 case $ac_top_srcdir in
941 .) ac_abs_top_srcdir=$ac_abs_builddir;;
942 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
943 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
948 # Check for guested configure; otherwise get Cygnus style configure.
949 if test -f $ac_srcdir/configure.gnu; then
951 $SHELL $ac_srcdir/configure.gnu --help=recursive
952 elif test -f $ac_srcdir/configure; then
954 $SHELL $ac_srcdir/configure --help=recursive
955 elif test -f $ac_srcdir/configure.ac ||
956 test -f $ac_srcdir/configure.in; then
960 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
966 test -n "$ac_init_help" && exit 0
967 if $ac_init_version; then
970 Copyright (C) 2003 Free Software Foundation, Inc.
971 This configure script is free software; the Free Software Foundation
972 gives unlimited permission to copy, distribute and modify it.
978 This file contains any messages produced by compilers while
979 running configure, to aid debugging if configure makes a mistake.
981 It was created by $as_me, which was
982 generated by GNU Autoconf 2.59. Invocation command line was
993 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
994 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
995 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
996 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
997 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
999 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1000 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1002 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1003 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1004 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1005 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1006 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1007 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1008 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1016 test -z "$as_dir" && as_dir=.
1017 echo "PATH: $as_dir"
1032 # Keep a trace of the command line.
1033 # Strip out --no-create and --no-recursion so they do not pile up.
1034 # Strip out --silent because we don't want to record it for future runs.
1035 # Also quote any args containing shell meta-characters.
1036 # Make two passes to allow for proper duplicate-argument suppression.
1041 ac_must_keep_next=false
1047 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1048 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1049 | -silent | --silent | --silen | --sile | --sil)
1051 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1052 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1055 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1057 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1058 if test $ac_must_keep_next = true; then
1059 ac_must_keep_next=false # Got value, back to normal.
1062 *=* | --config-cache | -C | -disable-* | --disable-* \
1063 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1064 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1065 | -with-* | --with-* | -without-* | --without-* | --x)
1066 case "$ac_configure_args0 " in
1067 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1070 -* ) ac_must_keep_next=true ;;
1073 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1074 # Get rid of the leading space.
1080 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1081 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1083 # When interrupted or exit'd, cleanup temporary files, and complete
1084 # config.log. We remove comments because anyway the quotes in there
1085 # would cause problems or look ugly.
1086 # WARNING: Be sure not to use single quotes in there, as some shells,
1087 # such as our DU 5.0 friend, will then `close
' the trap.
1088 trap 'exit_status
=$?
1089 # Save into config.log some information that might help in debugging.
1094 ## ---------------- ##
1095 ## Cache variables. ##
1096 ## ---------------- ##
1099 # The following way of writing the cache mishandles newlines in values,
1102 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1105 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1106 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1110 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1117 ## ----------------- ##
1118 ## Output variables. ##
1119 ## ----------------- ##
1122 for ac_var
in $ac_subst_vars
1124 eval ac_val
=$
`echo $ac_var`
1125 echo "$ac_var='"'"'$ac_val'"'"'"
1129 if test -n "$ac_subst_files"; then
1136 for ac_var
in $ac_subst_files
1138 eval ac_val
=$
`echo $ac_var`
1139 echo "$ac_var='"'"'$ac_val'"'"'"
1144 if test -s confdefs.h
; then
1151 sed "/^$/d" confdefs.h |
sort
1154 test "$ac_signal" != 0 &&
1155 echo "$as_me: caught signal $ac_signal"
1156 echo "$as_me: exit $exit_status"
1158 rm -f core
*.core
&&
1159 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1162 for ac_signal in 1 2 13 15; do
1163 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1167 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1168 rm -rf conftest* confdefs.h
1169 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1172 # Predefined preprocessor variables.
1174 cat >>confdefs.h <<_ACEOF
1175 #define PACKAGE_NAME "$PACKAGE_NAME"
1179 cat >>confdefs.h <<_ACEOF
1180 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_STRING "$PACKAGE_STRING"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1199 # Let the site file select an alternate cache file if it wants to.
1200 # Prefer explicitly selected file to automatically selected ones.
1201 if test -z "$CONFIG_SITE"; then
1202 if test "x$prefix" != xNONE; then
1203 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1205 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1208 for ac_site_file in $CONFIG_SITE; do
1209 if test -r "$ac_site_file"; then
1210 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1211 echo "$as_me: loading site script $ac_site_file" >&6;}
1212 sed 's
/^
/|
/' "$ac_site_file" >&5
1217 if test -r "$cache_file"; then
1218 # Some versions of bash will fail to source /dev/null (special
1219 # files actually), so we avoid doing that.
1220 if test -f "$cache_file"; then
1221 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1222 echo "$as_me: loading cache $cache_file" >&6;}
1224 [\\/]* | ?:[\\/]* ) . $cache_file;;
1225 *) . ./$cache_file;;
1229 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1230 echo "$as_me: creating cache $cache_file" >&6;}
1234 # Check that the precious variables saved in the cache have kept the same
1236 ac_cache_corrupted=false
1237 for ac_var in `(set) 2>&1 |
1238 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1239 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1240 eval ac_new_set=\$ac_env_${ac_var}_set
1241 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1242 eval ac_new_val="\$ac_env_${ac_var}_value"
1243 case $ac_old_set,$ac_new_set in
1245 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1246 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1247 ac_cache_corrupted=: ;;
1249 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1250 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1251 ac_cache_corrupted=: ;;
1254 if test "x$ac_old_val" != "x$ac_new_val"; then
1255 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1256 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1257 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1258 echo "$as_me: former value: $ac_old_val" >&2;}
1259 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1260 echo "$as_me: current value: $ac_new_val" >&2;}
1261 ac_cache_corrupted=:
1264 # Pass precious variables to config.status.
1265 if test "$ac_new_set" = set; then
1267 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1268 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1269 *) ac_arg=$ac_var=$ac_new_val ;;
1271 case " $ac_configure_args " in
1272 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1273 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1277 if $ac_cache_corrupted; then
1278 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1279 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1280 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1281 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1282 { (exit 1); exit 1; }; }
1286 ac_cpp='$CPP $CPPFLAGS'
1287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1288 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1311 ac_cpp='$CXXCPP $CPPFLAGS'
1312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1313 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1315 if test -n "$ac_tool_prefix"; then
1316 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1318 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1319 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1320 echo "$as_me:$LINENO: checking for $ac_word" >&5
1321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1322 if test "${ac_cv_prog_CXX+set}" = set; then
1323 echo $ECHO_N "(cached) $ECHO_C" >&6
1325 if test -n "$CXX"; then
1326 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1332 test -z "$as_dir" && as_dir=.
1333 for ac_exec_ext in '' $ac_executable_extensions; do
1334 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1335 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1345 if test -n "$CXX"; then
1346 echo "$as_me:$LINENO: result: $CXX" >&5
1347 echo "${ECHO_T}$CXX" >&6
1349 echo "$as_me:$LINENO: result: no" >&5
1350 echo "${ECHO_T}no" >&6
1353 test -n "$CXX" && break
1356 if test -z "$CXX"; then
1358 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1360 # Extract the first word of "$ac_prog", so it can be a program name with args.
1361 set dummy $ac_prog; ac_word=$2
1362 echo "$as_me:$LINENO: checking for $ac_word" >&5
1363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1364 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1365 echo $ECHO_N "(cached) $ECHO_C" >&6
1367 if test -n "$ac_ct_CXX"; then
1368 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1374 test -z "$as_dir" && as_dir=.
1375 for ac_exec_ext in '' $ac_executable_extensions; do
1376 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1377 ac_cv_prog_ac_ct_CXX="$ac_prog"
1378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1386 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1387 if test -n "$ac_ct_CXX"; then
1388 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1389 echo "${ECHO_T}$ac_ct_CXX" >&6
1391 echo "$as_me:$LINENO: result: no" >&5
1392 echo "${ECHO_T}no" >&6
1395 test -n "$ac_ct_CXX" && break
1397 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1403 # Provide some information about the compiler.
1404 echo "$as_me:$LINENO:" \
1405 "checking for C++ compiler version" >&5
1406 ac_compiler=`set X $ac_compile; echo $2`
1407 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1408 (eval $ac_compiler --version </dev/null >&5) 2>&5
1410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1411 (exit $ac_status); }
1412 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1413 (eval $ac_compiler -v </dev/null >&5) 2>&5
1415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1416 (exit $ac_status); }
1417 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1418 (eval $ac_compiler -V </dev/null >&5) 2>&5
1420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1421 (exit $ac_status); }
1423 cat >conftest.$ac_ext <<_ACEOF
1426 cat confdefs.h >>conftest.$ac_ext
1427 cat >>conftest.$ac_ext <<_ACEOF
1428 /* end confdefs.h. */
1438 ac_clean_files_save=$ac_clean_files
1439 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1440 # Try to create an executable without -o first, disregard a.out.
1441 # It will help us diagnose broken compilers, and finding out an intuition
1443 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
1444 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
1445 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
1446 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1447 (eval $ac_link_default) 2>&5
1449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1450 (exit $ac_status); }; then
1451 # Find the output, starting from the most likely. This scheme is
1452 # not robust to junk in `.', hence go to wildcards
(a.
*) only as a last
1455 # Be careful to initialize this variable, since it used to be cached.
1456 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1458 # b.out is created by i960 compilers.
1459 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1461 test -f "$ac_file" ||
continue
1463 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1466 # This is the source file.
1469 # We found the default executable, but exeext='' is most
1473 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1474 # FIXME: I believe we export ac_cv_exeext for Libtool,
1475 # but it would be cool to find out if it's true. Does anybody
1476 # maintain Libtool? --akim.
1484 echo "$as_me: failed program was:" >&5
1485 sed 's/^/| /' conftest.
$ac_ext >&5
1487 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
1488 See \`config.log' for more details." >&5
1489 echo "$as_me: error: C++ compiler cannot create executables
1490 See \`config.log' for more details." >&2;}
1491 { (exit 77); exit 77; }; }
1494 ac_exeext
=$ac_cv_exeext
1495 echo "$as_me:$LINENO: result: $ac_file" >&5
1496 echo "${ECHO_T}$ac_file" >&6
1498 # Check the compiler produces executables we can run. If not, either
1499 # the compiler is broken, or we cross compile.
1500 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
1501 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
1502 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1503 # If not cross compiling, check that we can run a simple program.
1504 if test "$cross_compiling" != yes; then
1505 if { ac_try
='./$ac_file'
1506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1510 (exit $ac_status); }; }; then
1513 if test "$cross_compiling" = maybe
; then
1516 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
1517 If you meant to cross compile, use \`--host'.
1518 See \`config.log' for more details." >&5
1519 echo "$as_me: error: cannot run C++ compiled programs.
1520 If you meant to cross compile, use \`--host'.
1521 See \`config.log' for more details." >&2;}
1522 { (exit 1); exit 1; }; }
1526 echo "$as_me:$LINENO: result: yes" >&5
1527 echo "${ECHO_T}yes" >&6
1529 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1530 ac_clean_files
=$ac_clean_files_save
1531 # Check the compiler produces executables we can run. If not, either
1532 # the compiler is broken, or we cross compile.
1533 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1534 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1535 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1536 echo "${ECHO_T}$cross_compiling" >&6
1538 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1539 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1541 (eval $ac_link) 2>&5
1543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1544 (exit $ac_status); }; then
1545 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1546 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1547 # work properly (i.e., refer to `conftest.exe'), while it won't with
1549 for ac_file
in conftest.exe conftest conftest.
*; do
1550 test -f "$ac_file" ||
continue
1552 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1553 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1560 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1561 See \`config.log' for more details." >&5
1562 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1563 See \`config.log' for more details." >&2;}
1564 { (exit 1); exit 1; }; }
1567 rm -f conftest
$ac_cv_exeext
1568 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1569 echo "${ECHO_T}$ac_cv_exeext" >&6
1571 rm -f conftest.
$ac_ext
1572 EXEEXT
=$ac_cv_exeext
1574 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1575 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1576 if test "${ac_cv_objext+set}" = set; then
1577 echo $ECHO_N "(cached) $ECHO_C" >&6
1579 cat >conftest.
$ac_ext <<_ACEOF
1582 cat confdefs.h
>>conftest.
$ac_ext
1583 cat >>conftest.
$ac_ext <<_ACEOF
1584 /* end confdefs.h. */
1594 rm -f conftest.o conftest.obj
1595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1596 (eval $ac_compile) 2>&5
1598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1599 (exit $ac_status); }; then
1600 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1602 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1603 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1608 echo "$as_me: failed program was:" >&5
1609 sed 's/^/| /' conftest.
$ac_ext >&5
1611 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1612 See \`config.log' for more details." >&5
1613 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1614 See \`config.log' for more details." >&2;}
1615 { (exit 1); exit 1; }; }
1618 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1620 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1621 echo "${ECHO_T}$ac_cv_objext" >&6
1622 OBJEXT
=$ac_cv_objext
1624 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
1625 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
1626 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1627 echo $ECHO_N "(cached) $ECHO_C" >&6
1629 cat >conftest.
$ac_ext <<_ACEOF
1632 cat confdefs.h
>>conftest.
$ac_ext
1633 cat >>conftest.
$ac_ext <<_ACEOF
1634 /* end confdefs.h. */
1647 rm -f conftest.
$ac_objext
1648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1649 (eval $ac_compile) 2>conftest.er1
1651 grep -v '^ *+' conftest.er1
>conftest.err
1653 cat conftest.err
>&5
1654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1655 (exit $ac_status); } &&
1656 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
1657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1661 (exit $ac_status); }; } &&
1662 { ac_try
='test -s conftest.$ac_objext'
1663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1667 (exit $ac_status); }; }; then
1670 echo "$as_me: failed program was:" >&5
1671 sed 's/^/| /' conftest.
$ac_ext >&5
1675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1676 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
1679 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
1680 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
1681 GXX
=`test $ac_compiler_gnu = yes && echo yes`
1682 ac_test_CXXFLAGS
=${CXXFLAGS+set}
1683 ac_save_CXXFLAGS
=$CXXFLAGS
1685 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
1686 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
1687 if test "${ac_cv_prog_cxx_g+set}" = set; then
1688 echo $ECHO_N "(cached) $ECHO_C" >&6
1690 cat >conftest.
$ac_ext <<_ACEOF
1693 cat confdefs.h
>>conftest.
$ac_ext
1694 cat >>conftest.
$ac_ext <<_ACEOF
1695 /* end confdefs.h. */
1705 rm -f conftest.
$ac_objext
1706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1707 (eval $ac_compile) 2>conftest.er1
1709 grep -v '^ *+' conftest.er1
>conftest.err
1711 cat conftest.err
>&5
1712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1713 (exit $ac_status); } &&
1714 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
1715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1719 (exit $ac_status); }; } &&
1720 { ac_try
='test -s conftest.$ac_objext'
1721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1725 (exit $ac_status); }; }; then
1726 ac_cv_prog_cxx_g
=yes
1728 echo "$as_me: failed program was:" >&5
1729 sed 's/^/| /' conftest.
$ac_ext >&5
1733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1735 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
1736 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1737 if test "$ac_test_CXXFLAGS" = set; then
1738 CXXFLAGS
=$ac_save_CXXFLAGS
1739 elif test $ac_cv_prog_cxx_g = yes; then
1740 if test "$GXX" = yes; then
1746 if test "$GXX" = yes; then
1752 for ac_declaration
in \
1754 'extern "C" void std::exit (int) throw (); using std::exit;' \
1755 'extern "C" void std::exit (int); using std::exit;' \
1756 'extern "C" void exit (int) throw ();' \
1757 'extern "C" void exit (int);' \
1760 cat >conftest.
$ac_ext <<_ACEOF
1763 cat confdefs.h
>>conftest.
$ac_ext
1764 cat >>conftest.
$ac_ext <<_ACEOF
1765 /* end confdefs.h. */
1776 rm -f conftest.
$ac_objext
1777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1778 (eval $ac_compile) 2>conftest.er1
1780 grep -v '^ *+' conftest.er1
>conftest.err
1782 cat conftest.err
>&5
1783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1784 (exit $ac_status); } &&
1785 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
1786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1790 (exit $ac_status); }; } &&
1791 { ac_try
='test -s conftest.$ac_objext'
1792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1796 (exit $ac_status); }; }; then
1799 echo "$as_me: failed program was:" >&5
1800 sed 's/^/| /' conftest.
$ac_ext >&5
1804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1805 cat >conftest.
$ac_ext <<_ACEOF
1808 cat confdefs.h
>>conftest.
$ac_ext
1809 cat >>conftest.
$ac_ext <<_ACEOF
1810 /* end confdefs.h. */
1820 rm -f conftest.
$ac_objext
1821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1822 (eval $ac_compile) 2>conftest.er1
1824 grep -v '^ *+' conftest.er1
>conftest.err
1826 cat conftest.err
>&5
1827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1828 (exit $ac_status); } &&
1829 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
1830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1834 (exit $ac_status); }; } &&
1835 { ac_try
='test -s conftest.$ac_objext'
1836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1840 (exit $ac_status); }; }; then
1843 echo "$as_me: failed program was:" >&5
1844 sed 's/^/| /' conftest.
$ac_ext >&5
1847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1850 if test -n "$ac_declaration"; then
1851 echo '#ifdef __cplusplus' >>confdefs.h
1852 echo $ac_declaration >>confdefs.h
1853 echo '#endif' >>confdefs.h
1857 ac_cpp
='$CPP $CPPFLAGS'
1858 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1859 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1860 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1865 echo "Plugin source directory is $PWLIBDIR";
1869 if test "x$prefix" = "xNONE"; then
1870 INSTALLPREFIX
="/usr/local"
1872 INSTALLPREFIX
="${prefix}"
1881 # Check whether --enable-alsa or --disable-alsa was given.
1882 if test "${enable_alsa+set}" = set; then
1883 enableval
="$enable_alsa"
1889 if test "$enable_alsa" = "yes" ; then
1891 ac_cpp
='$CPP $CPPFLAGS'
1892 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1893 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1894 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1895 if test -n "$ac_tool_prefix"; then
1896 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1897 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1898 echo "$as_me:$LINENO: checking for $ac_word" >&5
1899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1900 if test "${ac_cv_prog_CC+set}" = set; then
1901 echo $ECHO_N "(cached) $ECHO_C" >&6
1903 if test -n "$CC"; then
1904 ac_cv_prog_CC
="$CC" # Let the user override the test.
1906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1910 test -z "$as_dir" && as_dir
=.
1911 for ac_exec_ext
in '' $ac_executable_extensions; do
1912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1913 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1923 if test -n "$CC"; then
1924 echo "$as_me:$LINENO: result: $CC" >&5
1925 echo "${ECHO_T}$CC" >&6
1927 echo "$as_me:$LINENO: result: no" >&5
1928 echo "${ECHO_T}no" >&6
1932 if test -z "$ac_cv_prog_CC"; then
1934 # Extract the first word of "gcc", so it can be a program name with args.
1935 set dummy gcc
; ac_word
=$2
1936 echo "$as_me:$LINENO: checking for $ac_word" >&5
1937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1938 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1939 echo $ECHO_N "(cached) $ECHO_C" >&6
1941 if test -n "$ac_ct_CC"; then
1942 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1948 test -z "$as_dir" && as_dir
=.
1949 for ac_exec_ext
in '' $ac_executable_extensions; do
1950 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1951 ac_cv_prog_ac_ct_CC
="gcc"
1952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1960 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1961 if test -n "$ac_ct_CC"; then
1962 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1963 echo "${ECHO_T}$ac_ct_CC" >&6
1965 echo "$as_me:$LINENO: result: no" >&5
1966 echo "${ECHO_T}no" >&6
1974 if test -z "$CC"; then
1975 if test -n "$ac_tool_prefix"; then
1976 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1977 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1978 echo "$as_me:$LINENO: checking for $ac_word" >&5
1979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1980 if test "${ac_cv_prog_CC+set}" = set; then
1981 echo $ECHO_N "(cached) $ECHO_C" >&6
1983 if test -n "$CC"; then
1984 ac_cv_prog_CC
="$CC" # Let the user override the test.
1986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1990 test -z "$as_dir" && as_dir
=.
1991 for ac_exec_ext
in '' $ac_executable_extensions; do
1992 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1993 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2003 if test -n "$CC"; then
2004 echo "$as_me:$LINENO: result: $CC" >&5
2005 echo "${ECHO_T}$CC" >&6
2007 echo "$as_me:$LINENO: result: no" >&5
2008 echo "${ECHO_T}no" >&6
2012 if test -z "$ac_cv_prog_CC"; then
2014 # Extract the first word of "cc", so it can be a program name with args.
2015 set dummy cc
; ac_word
=$2
2016 echo "$as_me:$LINENO: checking for $ac_word" >&5
2017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2018 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2019 echo $ECHO_N "(cached) $ECHO_C" >&6
2021 if test -n "$ac_ct_CC"; then
2022 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2028 test -z "$as_dir" && as_dir
=.
2029 for ac_exec_ext
in '' $ac_executable_extensions; do
2030 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2031 ac_cv_prog_ac_ct_CC
="cc"
2032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2040 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2041 if test -n "$ac_ct_CC"; then
2042 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2043 echo "${ECHO_T}$ac_ct_CC" >&6
2045 echo "$as_me:$LINENO: result: no" >&5
2046 echo "${ECHO_T}no" >&6
2055 if test -z "$CC"; then
2056 # Extract the first word of "cc", so it can be a program name with args.
2057 set dummy cc
; ac_word
=$2
2058 echo "$as_me:$LINENO: checking for $ac_word" >&5
2059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2060 if test "${ac_cv_prog_CC+set}" = set; then
2061 echo $ECHO_N "(cached) $ECHO_C" >&6
2063 if test -n "$CC"; then
2064 ac_cv_prog_CC
="$CC" # Let the user override the test.
2067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2071 test -z "$as_dir" && as_dir
=.
2072 for ac_exec_ext
in '' $ac_executable_extensions; do
2073 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2074 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2075 ac_prog_rejected
=yes
2079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2085 if test $ac_prog_rejected = yes; then
2086 # We found a bogon in the path, so make sure we never use it.
2087 set dummy
$ac_cv_prog_CC
2089 if test $# != 0; then
2090 # We chose a different compiler from the bogus one.
2091 # However, it has the same basename, so the bogon will be chosen
2092 # first if we set CC to just the basename; use the full file name.
2094 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2100 if test -n "$CC"; then
2101 echo "$as_me:$LINENO: result: $CC" >&5
2102 echo "${ECHO_T}$CC" >&6
2104 echo "$as_me:$LINENO: result: no" >&5
2105 echo "${ECHO_T}no" >&6
2109 if test -z "$CC"; then
2110 if test -n "$ac_tool_prefix"; then
2113 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2114 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2115 echo "$as_me:$LINENO: checking for $ac_word" >&5
2116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2117 if test "${ac_cv_prog_CC+set}" = set; then
2118 echo $ECHO_N "(cached) $ECHO_C" >&6
2120 if test -n "$CC"; then
2121 ac_cv_prog_CC
="$CC" # Let the user override the test.
2123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2127 test -z "$as_dir" && as_dir
=.
2128 for ac_exec_ext
in '' $ac_executable_extensions; do
2129 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2130 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2140 if test -n "$CC"; then
2141 echo "$as_me:$LINENO: result: $CC" >&5
2142 echo "${ECHO_T}$CC" >&6
2144 echo "$as_me:$LINENO: result: no" >&5
2145 echo "${ECHO_T}no" >&6
2148 test -n "$CC" && break
2151 if test -z "$CC"; then
2155 # Extract the first word of "$ac_prog", so it can be a program name with args.
2156 set dummy
$ac_prog; ac_word
=$2
2157 echo "$as_me:$LINENO: checking for $ac_word" >&5
2158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2159 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2160 echo $ECHO_N "(cached) $ECHO_C" >&6
2162 if test -n "$ac_ct_CC"; then
2163 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2169 test -z "$as_dir" && as_dir
=.
2170 for ac_exec_ext
in '' $ac_executable_extensions; do
2171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2172 ac_cv_prog_ac_ct_CC
="$ac_prog"
2173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2181 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2182 if test -n "$ac_ct_CC"; then
2183 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2184 echo "${ECHO_T}$ac_ct_CC" >&6
2186 echo "$as_me:$LINENO: result: no" >&5
2187 echo "${ECHO_T}no" >&6
2190 test -n "$ac_ct_CC" && break
2199 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2200 See \`config.log' for more details." >&5
2201 echo "$as_me: error: no acceptable C compiler found in \$PATH
2202 See \`config.log' for more details." >&2;}
2203 { (exit 1); exit 1; }; }
2205 # Provide some information about the compiler.
2206 echo "$as_me:$LINENO:" \
2207 "checking for C compiler version" >&5
2208 ac_compiler
=`set X $ac_compile; echo $2`
2209 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2210 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2213 (exit $ac_status); }
2214 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2215 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2218 (exit $ac_status); }
2219 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2220 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2223 (exit $ac_status); }
2225 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2226 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2227 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2228 echo $ECHO_N "(cached) $ECHO_C" >&6
2230 cat >conftest.
$ac_ext <<_ACEOF
2233 cat confdefs.h
>>conftest.
$ac_ext
2234 cat >>conftest.
$ac_ext <<_ACEOF
2235 /* end confdefs.h. */
2248 rm -f conftest.
$ac_objext
2249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2250 (eval $ac_compile) 2>conftest.er1
2252 grep -v '^ *+' conftest.er1
>conftest.err
2254 cat conftest.err
>&5
2255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2256 (exit $ac_status); } &&
2257 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2262 (exit $ac_status); }; } &&
2263 { ac_try
='test -s conftest.$ac_objext'
2264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2268 (exit $ac_status); }; }; then
2271 echo "$as_me: failed program was:" >&5
2272 sed 's/^/| /' conftest.
$ac_ext >&5
2276 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2277 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2280 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2281 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2282 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2283 ac_test_CFLAGS
=${CFLAGS+set}
2284 ac_save_CFLAGS
=$CFLAGS
2286 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2287 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2288 if test "${ac_cv_prog_cc_g+set}" = set; then
2289 echo $ECHO_N "(cached) $ECHO_C" >&6
2291 cat >conftest.
$ac_ext <<_ACEOF
2294 cat confdefs.h
>>conftest.
$ac_ext
2295 cat >>conftest.
$ac_ext <<_ACEOF
2296 /* end confdefs.h. */
2306 rm -f conftest.
$ac_objext
2307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2308 (eval $ac_compile) 2>conftest.er1
2310 grep -v '^ *+' conftest.er1
>conftest.err
2312 cat conftest.err
>&5
2313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2314 (exit $ac_status); } &&
2315 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2320 (exit $ac_status); }; } &&
2321 { ac_try
='test -s conftest.$ac_objext'
2322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2326 (exit $ac_status); }; }; then
2329 echo "$as_me: failed program was:" >&5
2330 sed 's/^/| /' conftest.
$ac_ext >&5
2334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2336 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2337 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2338 if test "$ac_test_CFLAGS" = set; then
2339 CFLAGS
=$ac_save_CFLAGS
2340 elif test $ac_cv_prog_cc_g = yes; then
2341 if test "$GCC" = yes; then
2347 if test "$GCC" = yes; then
2353 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2354 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2355 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2356 echo $ECHO_N "(cached) $ECHO_C" >&6
2358 ac_cv_prog_cc_stdc
=no
2360 cat >conftest.
$ac_ext <<_ACEOF
2363 cat confdefs.h
>>conftest.
$ac_ext
2364 cat >>conftest.
$ac_ext <<_ACEOF
2365 /* end confdefs.h. */
2368 #include <sys/types.h>
2369 #include <sys/stat.h>
2370 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2371 struct buf { int x; };
2372 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2373 static char *e (p, i)
2379 static char *f (char * (*g) (char **, int), char **p, ...)
2384 s = g (p, va_arg (v,int));
2389 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2390 function prototypes and stuff, but not '\xHH' hex character constants.
2391 These don't provoke an error unfortunately, instead are silently treated
2392 as 'x'. The following induces an error, until -std1 is added to get
2393 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2394 array size at least. It's necessary to write '\x00'==0 to get something
2395 that's true only with -std1. */
2396 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2398 int test (int i, double x);
2399 struct s1 {int (*f) (int a);};
2400 struct s2 {int (*f) (double a);};
2401 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2407 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2412 # Don't try gcc -ansi; that turns off useful extensions and
2413 # breaks some systems' header files.
2414 # AIX -qlanglvl=ansi
2415 # Ultrix and OSF/1 -std1
2416 # HP-UX 10.20 and later -Ae
2417 # HP-UX older versions -Aa -D_HPUX_SOURCE
2418 # SVR4 -Xc -D__EXTENSIONS__
2419 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2421 CC
="$ac_save_CC $ac_arg"
2422 rm -f conftest.
$ac_objext
2423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2424 (eval $ac_compile) 2>conftest.er1
2426 grep -v '^ *+' conftest.er1
>conftest.err
2428 cat conftest.err
>&5
2429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2430 (exit $ac_status); } &&
2431 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436 (exit $ac_status); }; } &&
2437 { ac_try
='test -s conftest.$ac_objext'
2438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2442 (exit $ac_status); }; }; then
2443 ac_cv_prog_cc_stdc
=$ac_arg
2446 echo "$as_me: failed program was:" >&5
2447 sed 's/^/| /' conftest.
$ac_ext >&5
2450 rm -f conftest.err conftest.
$ac_objext
2452 rm -f conftest.
$ac_ext conftest.
$ac_objext
2457 case "x$ac_cv_prog_cc_stdc" in
2459 echo "$as_me:$LINENO: result: none needed" >&5
2460 echo "${ECHO_T}none needed" >&6 ;;
2462 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2463 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2464 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2467 # Some people use a C++ compiler to compile C. Since we use `exit',
2468 # in C++ we need to declare it. In case someone uses the same compiler
2469 # for both compiling C and C++ we need to have the C++ compiler decide
2470 # the declaration of exit, since it's the most demanding environment.
2471 cat >conftest.
$ac_ext <<_ACEOF
2476 rm -f conftest.
$ac_objext
2477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2478 (eval $ac_compile) 2>conftest.er1
2480 grep -v '^ *+' conftest.er1
>conftest.err
2482 cat conftest.err
>&5
2483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2484 (exit $ac_status); } &&
2485 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2490 (exit $ac_status); }; } &&
2491 { ac_try
='test -s conftest.$ac_objext'
2492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2496 (exit $ac_status); }; }; then
2497 for ac_declaration
in \
2499 'extern "C" void std::exit (int) throw (); using std::exit;' \
2500 'extern "C" void std::exit (int); using std::exit;' \
2501 'extern "C" void exit (int) throw ();' \
2502 'extern "C" void exit (int);' \
2505 cat >conftest.
$ac_ext <<_ACEOF
2508 cat confdefs.h
>>conftest.
$ac_ext
2509 cat >>conftest.
$ac_ext <<_ACEOF
2510 /* end confdefs.h. */
2521 rm -f conftest.
$ac_objext
2522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2523 (eval $ac_compile) 2>conftest.er1
2525 grep -v '^ *+' conftest.er1
>conftest.err
2527 cat conftest.err
>&5
2528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2529 (exit $ac_status); } &&
2530 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); }; } &&
2536 { ac_try
='test -s conftest.$ac_objext'
2537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 (exit $ac_status); }; }; then
2544 echo "$as_me: failed program was:" >&5
2545 sed 's/^/| /' conftest.
$ac_ext >&5
2549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2550 cat >conftest.
$ac_ext <<_ACEOF
2553 cat confdefs.h
>>conftest.
$ac_ext
2554 cat >>conftest.
$ac_ext <<_ACEOF
2555 /* end confdefs.h. */
2565 rm -f conftest.
$ac_objext
2566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2567 (eval $ac_compile) 2>conftest.er1
2569 grep -v '^ *+' conftest.er1
>conftest.err
2571 cat conftest.err
>&5
2572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2573 (exit $ac_status); } &&
2574 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2579 (exit $ac_status); }; } &&
2580 { ac_try
='test -s conftest.$ac_objext'
2581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2585 (exit $ac_status); }; }; then
2588 echo "$as_me: failed program was:" >&5
2589 sed 's/^/| /' conftest.
$ac_ext >&5
2592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2595 if test -n "$ac_declaration"; then
2596 echo '#ifdef __cplusplus' >>confdefs.h
2597 echo $ac_declaration >>confdefs.h
2598 echo '#endif' >>confdefs.h
2602 echo "$as_me: failed program was:" >&5
2603 sed 's/^/| /' conftest.
$ac_ext >&5
2606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2608 ac_cpp
='$CPP $CPPFLAGS'
2609 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2610 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2611 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2615 ac_cpp
='$CPP $CPPFLAGS'
2616 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2617 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2618 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2619 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2620 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2621 # On Suns, sometimes $CPP names a directory.
2622 if test -n "$CPP" && test -d "$CPP"; then
2625 if test -z "$CPP"; then
2626 if test "${ac_cv_prog_CPP+set}" = set; then
2627 echo $ECHO_N "(cached) $ECHO_C" >&6
2629 # Double quotes because CPP needs to be expanded
2630 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2633 for ac_c_preproc_warn_flag
in '' yes
2635 # Use a header file that comes with gcc, so configuring glibc
2636 # with a fresh cross-compiler works.
2637 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2638 # <limits.h> exists even on freestanding compilers.
2639 # On the NeXT, cc -E runs the code through the compiler's parser,
2640 # not just through cpp. "Syntax error" is here to catch this case.
2641 cat >conftest.
$ac_ext <<_ACEOF
2644 cat confdefs.h
>>conftest.
$ac_ext
2645 cat >>conftest.
$ac_ext <<_ACEOF
2646 /* end confdefs.h. */
2648 # include <limits.h>
2650 # include <assert.h>
2654 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2655 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2657 grep -v '^ *+' conftest.er1
>conftest.err
2659 cat conftest.err
>&5
2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661 (exit $ac_status); } >/dev
/null
; then
2662 if test -s conftest.err
; then
2663 ac_cpp_err
=$ac_c_preproc_warn_flag
2664 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2671 if test -z "$ac_cpp_err"; then
2674 echo "$as_me: failed program was:" >&5
2675 sed 's/^/| /' conftest.
$ac_ext >&5
2677 # Broken: fails on valid input.
2680 rm -f conftest.err conftest.
$ac_ext
2682 # OK, works on sane cases. Now check whether non-existent headers
2683 # can be detected and how.
2684 cat >conftest.
$ac_ext <<_ACEOF
2687 cat confdefs.h
>>conftest.
$ac_ext
2688 cat >>conftest.
$ac_ext <<_ACEOF
2689 /* end confdefs.h. */
2690 #include <ac_nonexistent.h>
2692 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2693 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2695 grep -v '^ *+' conftest.er1
>conftest.err
2697 cat conftest.err
>&5
2698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699 (exit $ac_status); } >/dev
/null
; then
2700 if test -s conftest.err
; then
2701 ac_cpp_err
=$ac_c_preproc_warn_flag
2702 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2709 if test -z "$ac_cpp_err"; then
2710 # Broken: success on invalid input.
2713 echo "$as_me: failed program was:" >&5
2714 sed 's/^/| /' conftest.
$ac_ext >&5
2716 # Passes both tests.
2720 rm -f conftest.err conftest.
$ac_ext
2723 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2724 rm -f conftest.err conftest.
$ac_ext
2725 if $ac_preproc_ok; then
2737 echo "$as_me:$LINENO: result: $CPP" >&5
2738 echo "${ECHO_T}$CPP" >&6
2740 for ac_c_preproc_warn_flag
in '' yes
2742 # Use a header file that comes with gcc, so configuring glibc
2743 # with a fresh cross-compiler works.
2744 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2745 # <limits.h> exists even on freestanding compilers.
2746 # On the NeXT, cc -E runs the code through the compiler's parser,
2747 # not just through cpp. "Syntax error" is here to catch this case.
2748 cat >conftest.
$ac_ext <<_ACEOF
2751 cat confdefs.h
>>conftest.
$ac_ext
2752 cat >>conftest.
$ac_ext <<_ACEOF
2753 /* end confdefs.h. */
2755 # include <limits.h>
2757 # include <assert.h>
2761 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2762 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2764 grep -v '^ *+' conftest.er1
>conftest.err
2766 cat conftest.err
>&5
2767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2768 (exit $ac_status); } >/dev
/null
; then
2769 if test -s conftest.err
; then
2770 ac_cpp_err
=$ac_c_preproc_warn_flag
2771 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2778 if test -z "$ac_cpp_err"; then
2781 echo "$as_me: failed program was:" >&5
2782 sed 's/^/| /' conftest.
$ac_ext >&5
2784 # Broken: fails on valid input.
2787 rm -f conftest.err conftest.
$ac_ext
2789 # OK, works on sane cases. Now check whether non-existent headers
2790 # can be detected and how.
2791 cat >conftest.
$ac_ext <<_ACEOF
2794 cat confdefs.h
>>conftest.
$ac_ext
2795 cat >>conftest.
$ac_ext <<_ACEOF
2796 /* end confdefs.h. */
2797 #include <ac_nonexistent.h>
2799 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2800 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2802 grep -v '^ *+' conftest.er1
>conftest.err
2804 cat conftest.err
>&5
2805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2806 (exit $ac_status); } >/dev
/null
; then
2807 if test -s conftest.err
; then
2808 ac_cpp_err
=$ac_c_preproc_warn_flag
2809 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2816 if test -z "$ac_cpp_err"; then
2817 # Broken: success on invalid input.
2820 echo "$as_me: failed program was:" >&5
2821 sed 's/^/| /' conftest.
$ac_ext >&5
2823 # Passes both tests.
2827 rm -f conftest.err conftest.
$ac_ext
2830 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2831 rm -f conftest.err conftest.
$ac_ext
2832 if $ac_preproc_ok; then
2835 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2836 See \`config.log' for more details." >&5
2837 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2838 See \`config.log' for more details." >&2;}
2839 { (exit 1); exit 1; }; }
2843 ac_cpp
='$CPP $CPPFLAGS'
2844 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2845 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2846 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2849 echo "$as_me:$LINENO: checking for egrep" >&5
2850 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2851 if test "${ac_cv_prog_egrep+set}" = set; then
2852 echo $ECHO_N "(cached) $ECHO_C" >&6
2854 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2855 then ac_cv_prog_egrep
='grep -E'
2856 else ac_cv_prog_egrep
='egrep'
2859 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2860 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2861 EGREP
=$ac_cv_prog_egrep
2864 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2865 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2866 if test "${ac_cv_header_stdc+set}" = set; then
2867 echo $ECHO_N "(cached) $ECHO_C" >&6
2869 cat >conftest.
$ac_ext <<_ACEOF
2872 cat confdefs.h
>>conftest.
$ac_ext
2873 cat >>conftest.
$ac_ext <<_ACEOF
2874 /* end confdefs.h. */
2888 rm -f conftest.
$ac_objext
2889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2890 (eval $ac_compile) 2>conftest.er1
2892 grep -v '^ *+' conftest.er1
>conftest.err
2894 cat conftest.err
>&5
2895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896 (exit $ac_status); } &&
2897 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902 (exit $ac_status); }; } &&
2903 { ac_try
='test -s conftest.$ac_objext'
2904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908 (exit $ac_status); }; }; then
2909 ac_cv_header_stdc
=yes
2911 echo "$as_me: failed program was:" >&5
2912 sed 's/^/| /' conftest.
$ac_ext >&5
2914 ac_cv_header_stdc
=no
2916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2918 if test $ac_cv_header_stdc = yes; then
2919 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2920 cat >conftest.
$ac_ext <<_ACEOF
2923 cat confdefs.h
>>conftest.
$ac_ext
2924 cat >>conftest.
$ac_ext <<_ACEOF
2925 /* end confdefs.h. */
2929 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2930 $EGREP "memchr" >/dev
/null
2>&1; then
2933 ac_cv_header_stdc
=no
2939 if test $ac_cv_header_stdc = yes; then
2940 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2941 cat >conftest.
$ac_ext <<_ACEOF
2944 cat confdefs.h
>>conftest.
$ac_ext
2945 cat >>conftest.
$ac_ext <<_ACEOF
2946 /* end confdefs.h. */
2950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2951 $EGREP "free" >/dev
/null
2>&1; then
2954 ac_cv_header_stdc
=no
2960 if test $ac_cv_header_stdc = yes; then
2961 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2962 if test "$cross_compiling" = yes; then
2965 cat >conftest.
$ac_ext <<_ACEOF
2968 cat confdefs.h
>>conftest.
$ac_ext
2969 cat >>conftest.
$ac_ext <<_ACEOF
2970 /* end confdefs.h. */
2972 #if ((' ' & 0x0FF) == 0x020)
2973 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2974 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2976 # define ISLOWER(c) \
2977 (('a' <= (c) && (c) <= 'i') \
2978 || ('j' <= (c) && (c) <= 'r') \
2979 || ('s' <= (c) && (c) <= 'z'))
2980 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2983 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2988 for (i = 0; i < 256; i++)
2989 if (XOR (islower (i), ISLOWER (i))
2990 || toupper (i) != TOUPPER (i))
2995 rm -f conftest
$ac_exeext
2996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2997 (eval $ac_link) 2>&5
2999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3000 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3005 (exit $ac_status); }; }; then
3008 echo "$as_me: program exited with status $ac_status" >&5
3009 echo "$as_me: failed program was:" >&5
3010 sed 's/^/| /' conftest.
$ac_ext >&5
3013 ac_cv_header_stdc
=no
3015 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3019 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3020 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3021 if test $ac_cv_header_stdc = yes; then
3023 cat >>confdefs.h
<<\_ACEOF
3024 #define STDC_HEADERS 1
3029 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3039 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3040 inttypes.h stdint.h unistd.h
3042 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3043 echo "$as_me:$LINENO: checking for $ac_header" >&5
3044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3046 echo $ECHO_N "(cached) $ECHO_C" >&6
3048 cat >conftest.
$ac_ext <<_ACEOF
3051 cat confdefs.h
>>conftest.
$ac_ext
3052 cat >>conftest.
$ac_ext <<_ACEOF
3053 /* end confdefs.h. */
3054 $ac_includes_default
3056 #include <$ac_header>
3058 rm -f conftest.
$ac_objext
3059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3060 (eval $ac_compile) 2>conftest.er1
3062 grep -v '^ *+' conftest.er1
>conftest.err
3064 cat conftest.err
>&5
3065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3066 (exit $ac_status); } &&
3067 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3072 (exit $ac_status); }; } &&
3073 { ac_try
='test -s conftest.$ac_objext'
3074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3078 (exit $ac_status); }; }; then
3079 eval "$as_ac_Header=yes"
3081 echo "$as_me: failed program was:" >&5
3082 sed 's/^/| /' conftest.
$ac_ext >&5
3084 eval "$as_ac_Header=no"
3086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3089 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3090 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3091 cat >>confdefs.h
<<_ACEOF
3092 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3100 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
3101 echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
3102 echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6
3103 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
3104 echo $ECHO_N "(cached) $ECHO_C" >&6
3106 echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
3107 echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6
3109 # Is the header compilable?
3110 echo "$as_me:$LINENO: checking alsa/asoundlib.h usability" >&5
3111 echo $ECHO_N "checking alsa/asoundlib.h usability... $ECHO_C" >&6
3112 cat >conftest.
$ac_ext <<_ACEOF
3115 cat confdefs.h
>>conftest.
$ac_ext
3116 cat >>conftest.
$ac_ext <<_ACEOF
3117 /* end confdefs.h. */
3118 $ac_includes_default
3119 #include <alsa/asoundlib.h>
3121 rm -f conftest.
$ac_objext
3122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3123 (eval $ac_compile) 2>conftest.er1
3125 grep -v '^ *+' conftest.er1
>conftest.err
3127 cat conftest.err
>&5
3128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3129 (exit $ac_status); } &&
3130 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3135 (exit $ac_status); }; } &&
3136 { ac_try
='test -s conftest.$ac_objext'
3137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3141 (exit $ac_status); }; }; then
3142 ac_header_compiler
=yes
3144 echo "$as_me: failed program was:" >&5
3145 sed 's/^/| /' conftest.
$ac_ext >&5
3147 ac_header_compiler
=no
3149 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3150 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3151 echo "${ECHO_T}$ac_header_compiler" >&6
3153 # Is the header present?
3154 echo "$as_me:$LINENO: checking alsa/asoundlib.h presence" >&5
3155 echo $ECHO_N "checking alsa/asoundlib.h presence... $ECHO_C" >&6
3156 cat >conftest.
$ac_ext <<_ACEOF
3159 cat confdefs.h
>>conftest.
$ac_ext
3160 cat >>conftest.
$ac_ext <<_ACEOF
3161 /* end confdefs.h. */
3162 #include <alsa/asoundlib.h>
3164 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3165 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3167 grep -v '^ *+' conftest.er1
>conftest.err
3169 cat conftest.err
>&5
3170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3171 (exit $ac_status); } >/dev
/null
; then
3172 if test -s conftest.err
; then
3173 ac_cpp_err
=$ac_c_preproc_warn_flag
3174 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3181 if test -z "$ac_cpp_err"; then
3182 ac_header_preproc
=yes
3184 echo "$as_me: failed program was:" >&5
3185 sed 's/^/| /' conftest.
$ac_ext >&5
3187 ac_header_preproc
=no
3189 rm -f conftest.err conftest.
$ac_ext
3190 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3191 echo "${ECHO_T}$ac_header_preproc" >&6
3193 # So? What about this header?
3194 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3196 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
3197 echo "$as_me: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3198 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&5
3199 echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&2;}
3200 ac_header_preproc
=yes
3203 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&5
3204 echo "$as_me: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&2;}
3205 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&5
3206 echo "$as_me: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&2;}
3207 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&5
3208 echo "$as_me: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&2;}
3209 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&5
3210 echo "$as_me: WARNING: alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
3211 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&5
3212 echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;}
3213 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&5
3214 echo "$as_me: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&2;}
3217 ## ------------------------------------------ ##
3218 ## Report this to the AC_PACKAGE_NAME lists. ##
3219 ## ------------------------------------------ ##
3222 sed "s/^/$as_me: WARNING: /" >&2
3225 echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
3226 echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6
3227 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
3228 echo $ECHO_N "(cached) $ECHO_C" >&6
3230 ac_cv_header_alsa_asoundlib_h
=$ac_header_preproc
3232 echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
3233 echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6
3236 if test $ac_cv_header_alsa_asoundlib_h = yes; then
3241 echo "$as_me:$LINENO: checking for ALSA sound support" >&5
3242 echo $ECHO_N "checking for ALSA sound support... $ECHO_C" >&6
3243 if test "${ALSAHDR:-unset}" != "unset"; then
3246 echo "$as_me:$LINENO: result: yes" >&5
3247 echo "${ECHO_T}yes" >&6
3249 echo "$as_me:$LINENO: result: no" >&5
3250 echo "${ECHO_T}no" >&6
3255 # Check whether --enable-oss or --disable-oss was given.
3256 if test "${enable_oss+set}" = set; then
3257 enableval
="$enable_oss"
3263 if test "$enable_oss" = "yes" ; then
3264 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
3265 echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5
3266 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6
3267 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
3268 echo $ECHO_N "(cached) $ECHO_C" >&6
3270 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5
3271 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6
3273 # Is the header compilable?
3274 echo "$as_me:$LINENO: checking sys/soundcard.h usability" >&5
3275 echo $ECHO_N "checking sys/soundcard.h usability... $ECHO_C" >&6
3276 cat >conftest.
$ac_ext <<_ACEOF
3279 cat confdefs.h
>>conftest.
$ac_ext
3280 cat >>conftest.
$ac_ext <<_ACEOF
3281 /* end confdefs.h. */
3282 $ac_includes_default
3283 #include <sys/soundcard.h>
3285 rm -f conftest.
$ac_objext
3286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3287 (eval $ac_compile) 2>conftest.er1
3289 grep -v '^ *+' conftest.er1
>conftest.err
3291 cat conftest.err
>&5
3292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3293 (exit $ac_status); } &&
3294 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299 (exit $ac_status); }; } &&
3300 { ac_try
='test -s conftest.$ac_objext'
3301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305 (exit $ac_status); }; }; then
3306 ac_header_compiler
=yes
3308 echo "$as_me: failed program was:" >&5
3309 sed 's/^/| /' conftest.
$ac_ext >&5
3311 ac_header_compiler
=no
3313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3314 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3315 echo "${ECHO_T}$ac_header_compiler" >&6
3317 # Is the header present?
3318 echo "$as_me:$LINENO: checking sys/soundcard.h presence" >&5
3319 echo $ECHO_N "checking sys/soundcard.h presence... $ECHO_C" >&6
3320 cat >conftest.
$ac_ext <<_ACEOF
3323 cat confdefs.h
>>conftest.
$ac_ext
3324 cat >>conftest.
$ac_ext <<_ACEOF
3325 /* end confdefs.h. */
3326 #include <sys/soundcard.h>
3328 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3329 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3331 grep -v '^ *+' conftest.er1
>conftest.err
3333 cat conftest.err
>&5
3334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3335 (exit $ac_status); } >/dev
/null
; then
3336 if test -s conftest.err
; then
3337 ac_cpp_err
=$ac_c_preproc_warn_flag
3338 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3345 if test -z "$ac_cpp_err"; then
3346 ac_header_preproc
=yes
3348 echo "$as_me: failed program was:" >&5
3349 sed 's/^/| /' conftest.
$ac_ext >&5
3351 ac_header_preproc
=no
3353 rm -f conftest.err conftest.
$ac_ext
3354 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3355 echo "${ECHO_T}$ac_header_preproc" >&6
3357 # So? What about this header?
3358 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3360 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5
3361 echo "$as_me: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3362 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&5
3363 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&2;}
3364 ac_header_preproc
=yes
3367 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: present but cannot be compiled" >&5
3368 echo "$as_me: WARNING: sys/soundcard.h: present but cannot be compiled" >&2;}
3369 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&5
3370 echo "$as_me: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&2;}
3371 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: see the Autoconf documentation" >&5
3372 echo "$as_me: WARNING: sys/soundcard.h: see the Autoconf documentation" >&2;}
3373 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&5
3374 echo "$as_me: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;}
3375 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&5
3376 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&2;}
3377 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5
3378 echo "$as_me: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&2;}
3381 ## ------------------------------------------ ##
3382 ## Report this to the AC_PACKAGE_NAME lists. ##
3383 ## ------------------------------------------ ##
3386 sed "s/^/$as_me: WARNING: /" >&2
3389 echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5
3390 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6
3391 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
3392 echo $ECHO_N "(cached) $ECHO_C" >&6
3394 ac_cv_header_sys_soundcard_h
=$ac_header_preproc
3396 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5
3397 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6
3400 if test $ac_cv_header_sys_soundcard_h = yes; then
3405 echo "$as_me:$LINENO: checking for OSS sound support" >&5
3406 echo $ECHO_N "checking for OSS sound support... $ECHO_C" >&6
3407 if test "${SNDCARDHDR:-unset}" != "unset"; then
3410 echo "$as_me:$LINENO: result: yes" >&5
3411 echo "${ECHO_T}yes" >&6
3413 echo "$as_me:$LINENO: result: no" >&5
3414 echo "${ECHO_T}no" >&6
3418 # Check whether --enable-video or --disable-video was given.
3419 if test "${enable_video+set}" = set; then
3420 enableval
="$enable_video"
3424 if test "$video" != "no" ; then
3427 # Check whether --enable-v4l or --disable-v4l was given.
3428 if test "${enable_v4l+set}" = set; then
3429 enableval
="$enable_v4l"
3435 if test "$enable_v4l" = "yes" ; then
3436 if test "${ac_cv_header_linux_videodev_h+set}" = set; then
3437 echo "$as_me:$LINENO: checking for linux/videodev.h" >&5
3438 echo $ECHO_N "checking for linux/videodev.h... $ECHO_C" >&6
3439 if test "${ac_cv_header_linux_videodev_h+set}" = set; then
3440 echo $ECHO_N "(cached) $ECHO_C" >&6
3442 echo "$as_me:$LINENO: result: $ac_cv_header_linux_videodev_h" >&5
3443 echo "${ECHO_T}$ac_cv_header_linux_videodev_h" >&6
3445 # Is the header compilable?
3446 echo "$as_me:$LINENO: checking linux/videodev.h usability" >&5
3447 echo $ECHO_N "checking linux/videodev.h usability... $ECHO_C" >&6
3448 cat >conftest.
$ac_ext <<_ACEOF
3451 cat confdefs.h
>>conftest.
$ac_ext
3452 cat >>conftest.
$ac_ext <<_ACEOF
3453 /* end confdefs.h. */
3454 $ac_includes_default
3455 #include <linux/videodev.h>
3457 rm -f conftest.
$ac_objext
3458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3459 (eval $ac_compile) 2>conftest.er1
3461 grep -v '^ *+' conftest.er1
>conftest.err
3463 cat conftest.err
>&5
3464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3465 (exit $ac_status); } &&
3466 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3471 (exit $ac_status); }; } &&
3472 { ac_try
='test -s conftest.$ac_objext'
3473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3477 (exit $ac_status); }; }; then
3478 ac_header_compiler
=yes
3480 echo "$as_me: failed program was:" >&5
3481 sed 's/^/| /' conftest.
$ac_ext >&5
3483 ac_header_compiler
=no
3485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3486 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3487 echo "${ECHO_T}$ac_header_compiler" >&6
3489 # Is the header present?
3490 echo "$as_me:$LINENO: checking linux/videodev.h presence" >&5
3491 echo $ECHO_N "checking linux/videodev.h presence... $ECHO_C" >&6
3492 cat >conftest.
$ac_ext <<_ACEOF
3495 cat confdefs.h
>>conftest.
$ac_ext
3496 cat >>conftest.
$ac_ext <<_ACEOF
3497 /* end confdefs.h. */
3498 #include <linux/videodev.h>
3500 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3501 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3503 grep -v '^ *+' conftest.er1
>conftest.err
3505 cat conftest.err
>&5
3506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3507 (exit $ac_status); } >/dev
/null
; then
3508 if test -s conftest.err
; then
3509 ac_cpp_err
=$ac_c_preproc_warn_flag
3510 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3517 if test -z "$ac_cpp_err"; then
3518 ac_header_preproc
=yes
3520 echo "$as_me: failed program was:" >&5
3521 sed 's/^/| /' conftest.
$ac_ext >&5
3523 ac_header_preproc
=no
3525 rm -f conftest.err conftest.
$ac_ext
3526 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3527 echo "${ECHO_T}$ac_header_preproc" >&6
3529 # So? What about this header?
3530 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3532 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: accepted by the compiler, rejected by the preprocessor!" >&5
3533 echo "$as_me: WARNING: linux/videodev.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3534 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: proceeding with the compiler's result" >&5
3535 echo "$as_me: WARNING: linux/videodev.h: proceeding with the compiler's result" >&2;}
3536 ac_header_preproc
=yes
3539 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: present but cannot be compiled" >&5
3540 echo "$as_me: WARNING: linux/videodev.h: present but cannot be compiled" >&2;}
3541 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: check for missing prerequisite headers?" >&5
3542 echo "$as_me: WARNING: linux/videodev.h: check for missing prerequisite headers?" >&2;}
3543 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: see the Autoconf documentation" >&5
3544 echo "$as_me: WARNING: linux/videodev.h: see the Autoconf documentation" >&2;}
3545 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: section \"Present But Cannot Be Compiled\"" >&5
3546 echo "$as_me: WARNING: linux/videodev.h: section \"Present But Cannot Be Compiled\"" >&2;}
3547 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: proceeding with the preprocessor's result" >&5
3548 echo "$as_me: WARNING: linux/videodev.h: proceeding with the preprocessor's result" >&2;}
3549 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: in the future, the compiler will take precedence" >&5
3550 echo "$as_me: WARNING: linux/videodev.h: in the future, the compiler will take precedence" >&2;}
3553 ## ------------------------------------------ ##
3554 ## Report this to the AC_PACKAGE_NAME lists. ##
3555 ## ------------------------------------------ ##
3558 sed "s/^/$as_me: WARNING: /" >&2
3561 echo "$as_me:$LINENO: checking for linux/videodev.h" >&5
3562 echo $ECHO_N "checking for linux/videodev.h... $ECHO_C" >&6
3563 if test "${ac_cv_header_linux_videodev_h+set}" = set; then
3564 echo $ECHO_N "(cached) $ECHO_C" >&6
3566 ac_cv_header_linux_videodev_h
=$ac_header_preproc
3568 echo "$as_me:$LINENO: result: $ac_cv_header_linux_videodev_h" >&5
3569 echo "${ECHO_T}$ac_cv_header_linux_videodev_h" >&6
3572 if test $ac_cv_header_linux_videodev_h = yes; then
3577 echo "$as_me:$LINENO: checking for V4L video support" >&5
3578 echo $ECHO_N "checking for V4L video support... $ECHO_C" >&6
3579 if test "${V4LHDR:-unset}" != "unset"; then
3582 echo "$as_me:$LINENO: result: yes" >&5
3583 echo "${ECHO_T}yes" >&6
3585 echo "$as_me:$LINENO: result: no" >&5
3586 echo "${ECHO_T}no" >&6
3591 # Check whether --enable-v4l2 or --disable-v4l2 was given.
3592 if test "${enable_v4l2+set}" = set; then
3593 enableval
="$enable_v4l2"
3599 if test "$enable_v4l2" = "yes" ; then
3600 if test "${ac_cv_header_linux_videodev2_h+set}" = set; then
3601 echo "$as_me:$LINENO: checking for linux/videodev2.h" >&5
3602 echo $ECHO_N "checking for linux/videodev2.h... $ECHO_C" >&6
3603 if test "${ac_cv_header_linux_videodev2_h+set}" = set; then
3604 echo $ECHO_N "(cached) $ECHO_C" >&6
3606 echo "$as_me:$LINENO: result: $ac_cv_header_linux_videodev2_h" >&5
3607 echo "${ECHO_T}$ac_cv_header_linux_videodev2_h" >&6
3609 # Is the header compilable?
3610 echo "$as_me:$LINENO: checking linux/videodev2.h usability" >&5
3611 echo $ECHO_N "checking linux/videodev2.h usability... $ECHO_C" >&6
3612 cat >conftest.
$ac_ext <<_ACEOF
3615 cat confdefs.h
>>conftest.
$ac_ext
3616 cat >>conftest.
$ac_ext <<_ACEOF
3617 /* end confdefs.h. */
3618 $ac_includes_default
3619 #include <linux/videodev2.h>
3621 rm -f conftest.
$ac_objext
3622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3623 (eval $ac_compile) 2>conftest.er1
3625 grep -v '^ *+' conftest.er1
>conftest.err
3627 cat conftest.err
>&5
3628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3629 (exit $ac_status); } &&
3630 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3635 (exit $ac_status); }; } &&
3636 { ac_try
='test -s conftest.$ac_objext'
3637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3641 (exit $ac_status); }; }; then
3642 ac_header_compiler
=yes
3644 echo "$as_me: failed program was:" >&5
3645 sed 's/^/| /' conftest.
$ac_ext >&5
3647 ac_header_compiler
=no
3649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3650 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3651 echo "${ECHO_T}$ac_header_compiler" >&6
3653 # Is the header present?
3654 echo "$as_me:$LINENO: checking linux/videodev2.h presence" >&5
3655 echo $ECHO_N "checking linux/videodev2.h presence... $ECHO_C" >&6
3656 cat >conftest.
$ac_ext <<_ACEOF
3659 cat confdefs.h
>>conftest.
$ac_ext
3660 cat >>conftest.
$ac_ext <<_ACEOF
3661 /* end confdefs.h. */
3662 #include <linux/videodev2.h>
3664 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3665 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3667 grep -v '^ *+' conftest.er1
>conftest.err
3669 cat conftest.err
>&5
3670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3671 (exit $ac_status); } >/dev
/null
; then
3672 if test -s conftest.err
; then
3673 ac_cpp_err
=$ac_c_preproc_warn_flag
3674 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3681 if test -z "$ac_cpp_err"; then
3682 ac_header_preproc
=yes
3684 echo "$as_me: failed program was:" >&5
3685 sed 's/^/| /' conftest.
$ac_ext >&5
3687 ac_header_preproc
=no
3689 rm -f conftest.err conftest.
$ac_ext
3690 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3691 echo "${ECHO_T}$ac_header_preproc" >&6
3693 # So? What about this header?
3694 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3696 { echo "$as_me:$LINENO: WARNING: linux/videodev2.h: accepted by the compiler, rejected by the preprocessor!" >&5
3697 echo "$as_me: WARNING: linux/videodev2.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3698 { echo "$as_me:$LINENO: WARNING: linux/videodev2.h: proceeding with the compiler's result" >&5
3699 echo "$as_me: WARNING: linux/videodev2.h: proceeding with the compiler's result" >&2;}
3700 ac_header_preproc
=yes
3703 { echo "$as_me:$LINENO: WARNING: linux/videodev2.h: present but cannot be compiled" >&5
3704 echo "$as_me: WARNING: linux/videodev2.h: present but cannot be compiled" >&2;}
3705 { echo "$as_me:$LINENO: WARNING: linux/videodev2.h: check for missing prerequisite headers?" >&5
3706 echo "$as_me: WARNING: linux/videodev2.h: check for missing prerequisite headers?" >&2;}
3707 { echo "$as_me:$LINENO: WARNING: linux/videodev2.h: see the Autoconf documentation" >&5
3708 echo "$as_me: WARNING: linux/videodev2.h: see the Autoconf documentation" >&2;}
3709 { echo "$as_me:$LINENO: WARNING: linux/videodev2.h: section \"Present But Cannot Be Compiled\"" >&5
3710 echo "$as_me: WARNING: linux/videodev2.h: section \"Present But Cannot Be Compiled\"" >&2;}
3711 { echo "$as_me:$LINENO: WARNING: linux/videodev2.h: proceeding with the preprocessor's result" >&5
3712 echo "$as_me: WARNING: linux/videodev2.h: proceeding with the preprocessor's result" >&2;}
3713 { echo "$as_me:$LINENO: WARNING: linux/videodev2.h: in the future, the compiler will take precedence" >&5
3714 echo "$as_me: WARNING: linux/videodev2.h: in the future, the compiler will take precedence" >&2;}
3717 ## ------------------------------------------ ##
3718 ## Report this to the AC_PACKAGE_NAME lists. ##
3719 ## ------------------------------------------ ##
3722 sed "s/^/$as_me: WARNING: /" >&2
3725 echo "$as_me:$LINENO: checking for linux/videodev2.h" >&5
3726 echo $ECHO_N "checking for linux/videodev2.h... $ECHO_C" >&6
3727 if test "${ac_cv_header_linux_videodev2_h+set}" = set; then
3728 echo $ECHO_N "(cached) $ECHO_C" >&6
3730 ac_cv_header_linux_videodev2_h
=$ac_header_preproc
3732 echo "$as_me:$LINENO: result: $ac_cv_header_linux_videodev2_h" >&5
3733 echo "${ECHO_T}$ac_cv_header_linux_videodev2_h" >&6
3736 if test $ac_cv_header_linux_videodev2_h = yes; then
3741 echo "$as_me:$LINENO: checking for V4L2 video support" >&5
3742 echo $ECHO_N "checking for V4L2 video support... $ECHO_C" >&6
3743 if test "${V4LHDR:-unset}" != "unset"; then
3746 echo "$as_me:$LINENO: result: yes" >&5
3747 echo "${ECHO_T}yes" >&6
3749 echo "$as_me:$LINENO: result: no" >&5
3750 echo "${ECHO_T}no" >&6
3755 # Check whether --enable-bsdvideo or --disable-bsdvideo was given.
3756 if test "${enable_bsdvideo+set}" = set; then
3757 enableval
="$enable_bsdvideo"
3763 if test "$enable_bsdvideo" = "yes" ; then
3764 if test "${ac_cv_header_machine_ioctl_meteor_h+set}" = set; then
3765 echo "$as_me:$LINENO: checking for machine/ioctl_meteor.h" >&5
3766 echo $ECHO_N "checking for machine/ioctl_meteor.h... $ECHO_C" >&6
3767 if test "${ac_cv_header_machine_ioctl_meteor_h+set}" = set; then
3768 echo $ECHO_N "(cached) $ECHO_C" >&6
3770 echo "$as_me:$LINENO: result: $ac_cv_header_machine_ioctl_meteor_h" >&5
3771 echo "${ECHO_T}$ac_cv_header_machine_ioctl_meteor_h" >&6
3773 # Is the header compilable?
3774 echo "$as_me:$LINENO: checking machine/ioctl_meteor.h usability" >&5
3775 echo $ECHO_N "checking machine/ioctl_meteor.h usability... $ECHO_C" >&6
3776 cat >conftest.
$ac_ext <<_ACEOF
3779 cat confdefs.h
>>conftest.
$ac_ext
3780 cat >>conftest.
$ac_ext <<_ACEOF
3781 /* end confdefs.h. */
3782 $ac_includes_default
3783 #include <machine/ioctl_meteor.h>
3785 rm -f conftest.
$ac_objext
3786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3787 (eval $ac_compile) 2>conftest.er1
3789 grep -v '^ *+' conftest.er1
>conftest.err
3791 cat conftest.err
>&5
3792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793 (exit $ac_status); } &&
3794 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3799 (exit $ac_status); }; } &&
3800 { ac_try
='test -s conftest.$ac_objext'
3801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3805 (exit $ac_status); }; }; then
3806 ac_header_compiler
=yes
3808 echo "$as_me: failed program was:" >&5
3809 sed 's/^/| /' conftest.
$ac_ext >&5
3811 ac_header_compiler
=no
3813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3814 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3815 echo "${ECHO_T}$ac_header_compiler" >&6
3817 # Is the header present?
3818 echo "$as_me:$LINENO: checking machine/ioctl_meteor.h presence" >&5
3819 echo $ECHO_N "checking machine/ioctl_meteor.h presence... $ECHO_C" >&6
3820 cat >conftest.
$ac_ext <<_ACEOF
3823 cat confdefs.h
>>conftest.
$ac_ext
3824 cat >>conftest.
$ac_ext <<_ACEOF
3825 /* end confdefs.h. */
3826 #include <machine/ioctl_meteor.h>
3828 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3829 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3831 grep -v '^ *+' conftest.er1
>conftest.err
3833 cat conftest.err
>&5
3834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3835 (exit $ac_status); } >/dev
/null
; then
3836 if test -s conftest.err
; then
3837 ac_cpp_err
=$ac_c_preproc_warn_flag
3838 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3845 if test -z "$ac_cpp_err"; then
3846 ac_header_preproc
=yes
3848 echo "$as_me: failed program was:" >&5
3849 sed 's/^/| /' conftest.
$ac_ext >&5
3851 ac_header_preproc
=no
3853 rm -f conftest.err conftest.
$ac_ext
3854 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3855 echo "${ECHO_T}$ac_header_preproc" >&6
3857 # So? What about this header?
3858 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3860 { echo "$as_me:$LINENO: WARNING: machine/ioctl_meteor.h: accepted by the compiler, rejected by the preprocessor!" >&5
3861 echo "$as_me: WARNING: machine/ioctl_meteor.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3862 { echo "$as_me:$LINENO: WARNING: machine/ioctl_meteor.h: proceeding with the compiler's result" >&5
3863 echo "$as_me: WARNING: machine/ioctl_meteor.h: proceeding with the compiler's result" >&2;}
3864 ac_header_preproc
=yes
3867 { echo "$as_me:$LINENO: WARNING: machine/ioctl_meteor.h: present but cannot be compiled" >&5
3868 echo "$as_me: WARNING: machine/ioctl_meteor.h: present but cannot be compiled" >&2;}
3869 { echo "$as_me:$LINENO: WARNING: machine/ioctl_meteor.h: check for missing prerequisite headers?" >&5
3870 echo "$as_me: WARNING: machine/ioctl_meteor.h: check for missing prerequisite headers?" >&2;}
3871 { echo "$as_me:$LINENO: WARNING: machine/ioctl_meteor.h: see the Autoconf documentation" >&5
3872 echo "$as_me: WARNING: machine/ioctl_meteor.h: see the Autoconf documentation" >&2;}
3873 { echo "$as_me:$LINENO: WARNING: machine/ioctl_meteor.h: section \"Present But Cannot Be Compiled\"" >&5
3874 echo "$as_me: WARNING: machine/ioctl_meteor.h: section \"Present But Cannot Be Compiled\"" >&2;}
3875 { echo "$as_me:$LINENO: WARNING: machine/ioctl_meteor.h: proceeding with the preprocessor's result" >&5
3876 echo "$as_me: WARNING: machine/ioctl_meteor.h: proceeding with the preprocessor's result" >&2;}
3877 { echo "$as_me:$LINENO: WARNING: machine/ioctl_meteor.h: in the future, the compiler will take precedence" >&5
3878 echo "$as_me: WARNING: machine/ioctl_meteor.h: in the future, the compiler will take precedence" >&2;}
3881 ## ------------------------------------------ ##
3882 ## Report this to the AC_PACKAGE_NAME lists. ##
3883 ## ------------------------------------------ ##
3886 sed "s/^/$as_me: WARNING: /" >&2
3889 echo "$as_me:$LINENO: checking for machine/ioctl_meteor.h" >&5
3890 echo $ECHO_N "checking for machine/ioctl_meteor.h... $ECHO_C" >&6
3891 if test "${ac_cv_header_machine_ioctl_meteor_h+set}" = set; then
3892 echo $ECHO_N "(cached) $ECHO_C" >&6
3894 ac_cv_header_machine_ioctl_meteor_h
=$ac_header_preproc
3896 echo "$as_me:$LINENO: result: $ac_cv_header_machine_ioctl_meteor_h" >&5
3897 echo "${ECHO_T}$ac_cv_header_machine_ioctl_meteor_h" >&6
3900 if test $ac_cv_header_machine_ioctl_meteor_h = yes; then
3905 if test "${ac_cv_header_i386_ioctl_meteor_h+set}" = set; then
3906 echo "$as_me:$LINENO: checking for i386/ioctl_meteor.h" >&5
3907 echo $ECHO_N "checking for i386/ioctl_meteor.h... $ECHO_C" >&6
3908 if test "${ac_cv_header_i386_ioctl_meteor_h+set}" = set; then
3909 echo $ECHO_N "(cached) $ECHO_C" >&6
3911 echo "$as_me:$LINENO: result: $ac_cv_header_i386_ioctl_meteor_h" >&5
3912 echo "${ECHO_T}$ac_cv_header_i386_ioctl_meteor_h" >&6
3914 # Is the header compilable?
3915 echo "$as_me:$LINENO: checking i386/ioctl_meteor.h usability" >&5
3916 echo $ECHO_N "checking i386/ioctl_meteor.h usability... $ECHO_C" >&6
3917 cat >conftest.
$ac_ext <<_ACEOF
3920 cat confdefs.h
>>conftest.
$ac_ext
3921 cat >>conftest.
$ac_ext <<_ACEOF
3922 /* end confdefs.h. */
3923 $ac_includes_default
3924 #include <i386/ioctl_meteor.h>
3926 rm -f conftest.
$ac_objext
3927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3928 (eval $ac_compile) 2>conftest.er1
3930 grep -v '^ *+' conftest.er1
>conftest.err
3932 cat conftest.err
>&5
3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934 (exit $ac_status); } &&
3935 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3940 (exit $ac_status); }; } &&
3941 { ac_try
='test -s conftest.$ac_objext'
3942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3946 (exit $ac_status); }; }; then
3947 ac_header_compiler
=yes
3949 echo "$as_me: failed program was:" >&5
3950 sed 's/^/| /' conftest.
$ac_ext >&5
3952 ac_header_compiler
=no
3954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3955 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3956 echo "${ECHO_T}$ac_header_compiler" >&6
3958 # Is the header present?
3959 echo "$as_me:$LINENO: checking i386/ioctl_meteor.h presence" >&5
3960 echo $ECHO_N "checking i386/ioctl_meteor.h presence... $ECHO_C" >&6
3961 cat >conftest.
$ac_ext <<_ACEOF
3964 cat confdefs.h
>>conftest.
$ac_ext
3965 cat >>conftest.
$ac_ext <<_ACEOF
3966 /* end confdefs.h. */
3967 #include <i386/ioctl_meteor.h>
3969 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3970 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3972 grep -v '^ *+' conftest.er1
>conftest.err
3974 cat conftest.err
>&5
3975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3976 (exit $ac_status); } >/dev
/null
; then
3977 if test -s conftest.err
; then
3978 ac_cpp_err
=$ac_c_preproc_warn_flag
3979 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3986 if test -z "$ac_cpp_err"; then
3987 ac_header_preproc
=yes
3989 echo "$as_me: failed program was:" >&5
3990 sed 's/^/| /' conftest.
$ac_ext >&5
3992 ac_header_preproc
=no
3994 rm -f conftest.err conftest.
$ac_ext
3995 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3996 echo "${ECHO_T}$ac_header_preproc" >&6
3998 # So? What about this header?
3999 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4001 { echo "$as_me:$LINENO: WARNING: i386/ioctl_meteor.h: accepted by the compiler, rejected by the preprocessor!" >&5
4002 echo "$as_me: WARNING: i386/ioctl_meteor.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4003 { echo "$as_me:$LINENO: WARNING: i386/ioctl_meteor.h: proceeding with the compiler's result" >&5
4004 echo "$as_me: WARNING: i386/ioctl_meteor.h: proceeding with the compiler's result" >&2;}
4005 ac_header_preproc
=yes
4008 { echo "$as_me:$LINENO: WARNING: i386/ioctl_meteor.h: present but cannot be compiled" >&5
4009 echo "$as_me: WARNING: i386/ioctl_meteor.h: present but cannot be compiled" >&2;}
4010 { echo "$as_me:$LINENO: WARNING: i386/ioctl_meteor.h: check for missing prerequisite headers?" >&5
4011 echo "$as_me: WARNING: i386/ioctl_meteor.h: check for missing prerequisite headers?" >&2;}
4012 { echo "$as_me:$LINENO: WARNING: i386/ioctl_meteor.h: see the Autoconf documentation" >&5
4013 echo "$as_me: WARNING: i386/ioctl_meteor.h: see the Autoconf documentation" >&2;}
4014 { echo "$as_me:$LINENO: WARNING: i386/ioctl_meteor.h: section \"Present But Cannot Be Compiled\"" >&5
4015 echo "$as_me: WARNING: i386/ioctl_meteor.h: section \"Present But Cannot Be Compiled\"" >&2;}
4016 { echo "$as_me:$LINENO: WARNING: i386/ioctl_meteor.h: proceeding with the preprocessor's result" >&5
4017 echo "$as_me: WARNING: i386/ioctl_meteor.h: proceeding with the preprocessor's result" >&2;}
4018 { echo "$as_me:$LINENO: WARNING: i386/ioctl_meteor.h: in the future, the compiler will take precedence" >&5
4019 echo "$as_me: WARNING: i386/ioctl_meteor.h: in the future, the compiler will take precedence" >&2;}
4022 ## ------------------------------------------ ##
4023 ## Report this to the AC_PACKAGE_NAME lists. ##
4024 ## ------------------------------------------ ##
4027 sed "s/^/$as_me: WARNING: /" >&2
4030 echo "$as_me:$LINENO: checking for i386/ioctl_meteor.h" >&5
4031 echo $ECHO_N "checking for i386/ioctl_meteor.h... $ECHO_C" >&6
4032 if test "${ac_cv_header_i386_ioctl_meteor_h+set}" = set; then
4033 echo $ECHO_N "(cached) $ECHO_C" >&6
4035 ac_cv_header_i386_ioctl_meteor_h
=$ac_header_preproc
4037 echo "$as_me:$LINENO: result: $ac_cv_header_i386_ioctl_meteor_h" >&5
4038 echo "${ECHO_T}$ac_cv_header_i386_ioctl_meteor_h" >&6
4041 if test $ac_cv_header_i386_ioctl_meteor_h = yes; then
4046 if test "${ac_cv_header_dev_ic_bt8xx_h+set}" = set; then
4047 echo "$as_me:$LINENO: checking for dev/ic/bt8xx.h" >&5
4048 echo $ECHO_N "checking for dev/ic/bt8xx.h... $ECHO_C" >&6
4049 if test "${ac_cv_header_dev_ic_bt8xx_h+set}" = set; then
4050 echo $ECHO_N "(cached) $ECHO_C" >&6
4052 echo "$as_me:$LINENO: result: $ac_cv_header_dev_ic_bt8xx_h" >&5
4053 echo "${ECHO_T}$ac_cv_header_dev_ic_bt8xx_h" >&6
4055 # Is the header compilable?
4056 echo "$as_me:$LINENO: checking dev/ic/bt8xx.h usability" >&5
4057 echo $ECHO_N "checking dev/ic/bt8xx.h usability... $ECHO_C" >&6
4058 cat >conftest.
$ac_ext <<_ACEOF
4061 cat confdefs.h
>>conftest.
$ac_ext
4062 cat >>conftest.
$ac_ext <<_ACEOF
4063 /* end confdefs.h. */
4064 $ac_includes_default
4065 #include <dev/ic/bt8xx.h>
4067 rm -f conftest.
$ac_objext
4068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4069 (eval $ac_compile) 2>conftest.er1
4071 grep -v '^ *+' conftest.er1
>conftest.err
4073 cat conftest.err
>&5
4074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4075 (exit $ac_status); } &&
4076 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4081 (exit $ac_status); }; } &&
4082 { ac_try
='test -s conftest.$ac_objext'
4083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4087 (exit $ac_status); }; }; then
4088 ac_header_compiler
=yes
4090 echo "$as_me: failed program was:" >&5
4091 sed 's/^/| /' conftest.
$ac_ext >&5
4093 ac_header_compiler
=no
4095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4096 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4097 echo "${ECHO_T}$ac_header_compiler" >&6
4099 # Is the header present?
4100 echo "$as_me:$LINENO: checking dev/ic/bt8xx.h presence" >&5
4101 echo $ECHO_N "checking dev/ic/bt8xx.h presence... $ECHO_C" >&6
4102 cat >conftest.
$ac_ext <<_ACEOF
4105 cat confdefs.h
>>conftest.
$ac_ext
4106 cat >>conftest.
$ac_ext <<_ACEOF
4107 /* end confdefs.h. */
4108 #include <dev/ic/bt8xx.h>
4110 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4111 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4113 grep -v '^ *+' conftest.er1
>conftest.err
4115 cat conftest.err
>&5
4116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4117 (exit $ac_status); } >/dev
/null
; then
4118 if test -s conftest.err
; then
4119 ac_cpp_err
=$ac_c_preproc_warn_flag
4120 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4127 if test -z "$ac_cpp_err"; then
4128 ac_header_preproc
=yes
4130 echo "$as_me: failed program was:" >&5
4131 sed 's/^/| /' conftest.
$ac_ext >&5
4133 ac_header_preproc
=no
4135 rm -f conftest.err conftest.
$ac_ext
4136 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4137 echo "${ECHO_T}$ac_header_preproc" >&6
4139 # So? What about this header?
4140 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4142 { echo "$as_me:$LINENO: WARNING: dev/ic/bt8xx.h: accepted by the compiler, rejected by the preprocessor!" >&5
4143 echo "$as_me: WARNING: dev/ic/bt8xx.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4144 { echo "$as_me:$LINENO: WARNING: dev/ic/bt8xx.h: proceeding with the compiler's result" >&5
4145 echo "$as_me: WARNING: dev/ic/bt8xx.h: proceeding with the compiler's result" >&2;}
4146 ac_header_preproc
=yes
4149 { echo "$as_me:$LINENO: WARNING: dev/ic/bt8xx.h: present but cannot be compiled" >&5
4150 echo "$as_me: WARNING: dev/ic/bt8xx.h: present but cannot be compiled" >&2;}
4151 { echo "$as_me:$LINENO: WARNING: dev/ic/bt8xx.h: check for missing prerequisite headers?" >&5
4152 echo "$as_me: WARNING: dev/ic/bt8xx.h: check for missing prerequisite headers?" >&2;}
4153 { echo "$as_me:$LINENO: WARNING: dev/ic/bt8xx.h: see the Autoconf documentation" >&5
4154 echo "$as_me: WARNING: dev/ic/bt8xx.h: see the Autoconf documentation" >&2;}
4155 { echo "$as_me:$LINENO: WARNING: dev/ic/bt8xx.h: section \"Present But Cannot Be Compiled\"" >&5
4156 echo "$as_me: WARNING: dev/ic/bt8xx.h: section \"Present But Cannot Be Compiled\"" >&2;}
4157 { echo "$as_me:$LINENO: WARNING: dev/ic/bt8xx.h: proceeding with the preprocessor's result" >&5
4158 echo "$as_me: WARNING: dev/ic/bt8xx.h: proceeding with the preprocessor's result" >&2;}
4159 { echo "$as_me:$LINENO: WARNING: dev/ic/bt8xx.h: in the future, the compiler will take precedence" >&5
4160 echo "$as_me: WARNING: dev/ic/bt8xx.h: in the future, the compiler will take precedence" >&2;}
4163 ## ------------------------------------------ ##
4164 ## Report this to the AC_PACKAGE_NAME lists. ##
4165 ## ------------------------------------------ ##
4168 sed "s/^/$as_me: WARNING: /" >&2
4171 echo "$as_me:$LINENO: checking for dev/ic/bt8xx.h" >&5
4172 echo $ECHO_N "checking for dev/ic/bt8xx.h... $ECHO_C" >&6
4173 if test "${ac_cv_header_dev_ic_bt8xx_h+set}" = set; then
4174 echo $ECHO_N "(cached) $ECHO_C" >&6
4176 ac_cv_header_dev_ic_bt8xx_h
=$ac_header_preproc
4178 echo "$as_me:$LINENO: result: $ac_cv_header_dev_ic_bt8xx_h" >&5
4179 echo "${ECHO_T}$ac_cv_header_dev_ic_bt8xx_h" >&6
4182 if test $ac_cv_header_dev_ic_bt8xx_h = yes; then
4187 echo "$as_me:$LINENO: checking for BSD video support" >&5
4188 echo $ECHO_N "checking for BSD video support... $ECHO_C" >&6
4189 if test "${BSDVIDEOHDR:-unset}" != "unset"; then
4192 echo "$as_me:$LINENO: result: yes" >&5
4193 echo "${ECHO_T}yes" >&6
4195 echo "$as_me:$LINENO: result: no" >&5
4196 echo "${ECHO_T}no" >&6
4201 # Check whether --enable-avc or --disable-avc was given.
4202 if test "${enable_avc+set}" = set; then
4203 enableval
="$enable_avc"
4209 if test "$enable_avc" = "yes" ; then
4210 if test "${ac_cv_header_libavc1394_avc1394_h+set}" = set; then
4211 echo "$as_me:$LINENO: checking for libavc1394/avc1394.h" >&5
4212 echo $ECHO_N "checking for libavc1394/avc1394.h... $ECHO_C" >&6
4213 if test "${ac_cv_header_libavc1394_avc1394_h+set}" = set; then
4214 echo $ECHO_N "(cached) $ECHO_C" >&6
4216 echo "$as_me:$LINENO: result: $ac_cv_header_libavc1394_avc1394_h" >&5
4217 echo "${ECHO_T}$ac_cv_header_libavc1394_avc1394_h" >&6
4219 # Is the header compilable?
4220 echo "$as_me:$LINENO: checking libavc1394/avc1394.h usability" >&5
4221 echo $ECHO_N "checking libavc1394/avc1394.h usability... $ECHO_C" >&6
4222 cat >conftest.
$ac_ext <<_ACEOF
4225 cat confdefs.h
>>conftest.
$ac_ext
4226 cat >>conftest.
$ac_ext <<_ACEOF
4227 /* end confdefs.h. */
4228 $ac_includes_default
4229 #include <libavc1394/avc1394.h>
4231 rm -f conftest.
$ac_objext
4232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4233 (eval $ac_compile) 2>conftest.er1
4235 grep -v '^ *+' conftest.er1
>conftest.err
4237 cat conftest.err
>&5
4238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4239 (exit $ac_status); } &&
4240 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4245 (exit $ac_status); }; } &&
4246 { ac_try
='test -s conftest.$ac_objext'
4247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251 (exit $ac_status); }; }; then
4252 ac_header_compiler
=yes
4254 echo "$as_me: failed program was:" >&5
4255 sed 's/^/| /' conftest.
$ac_ext >&5
4257 ac_header_compiler
=no
4259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4260 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4261 echo "${ECHO_T}$ac_header_compiler" >&6
4263 # Is the header present?
4264 echo "$as_me:$LINENO: checking libavc1394/avc1394.h presence" >&5
4265 echo $ECHO_N "checking libavc1394/avc1394.h presence... $ECHO_C" >&6
4266 cat >conftest.
$ac_ext <<_ACEOF
4269 cat confdefs.h
>>conftest.
$ac_ext
4270 cat >>conftest.
$ac_ext <<_ACEOF
4271 /* end confdefs.h. */
4272 #include <libavc1394/avc1394.h>
4274 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4275 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4277 grep -v '^ *+' conftest.er1
>conftest.err
4279 cat conftest.err
>&5
4280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4281 (exit $ac_status); } >/dev
/null
; then
4282 if test -s conftest.err
; then
4283 ac_cpp_err
=$ac_c_preproc_warn_flag
4284 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4291 if test -z "$ac_cpp_err"; then
4292 ac_header_preproc
=yes
4294 echo "$as_me: failed program was:" >&5
4295 sed 's/^/| /' conftest.
$ac_ext >&5
4297 ac_header_preproc
=no
4299 rm -f conftest.err conftest.
$ac_ext
4300 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4301 echo "${ECHO_T}$ac_header_preproc" >&6
4303 # So? What about this header?
4304 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4306 { echo "$as_me:$LINENO: WARNING: libavc1394/avc1394.h: accepted by the compiler, rejected by the preprocessor!" >&5
4307 echo "$as_me: WARNING: libavc1394/avc1394.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4308 { echo "$as_me:$LINENO: WARNING: libavc1394/avc1394.h: proceeding with the compiler's result" >&5
4309 echo "$as_me: WARNING: libavc1394/avc1394.h: proceeding with the compiler's result" >&2;}
4310 ac_header_preproc
=yes
4313 { echo "$as_me:$LINENO: WARNING: libavc1394/avc1394.h: present but cannot be compiled" >&5
4314 echo "$as_me: WARNING: libavc1394/avc1394.h: present but cannot be compiled" >&2;}
4315 { echo "$as_me:$LINENO: WARNING: libavc1394/avc1394.h: check for missing prerequisite headers?" >&5
4316 echo "$as_me: WARNING: libavc1394/avc1394.h: check for missing prerequisite headers?" >&2;}
4317 { echo "$as_me:$LINENO: WARNING: libavc1394/avc1394.h: see the Autoconf documentation" >&5
4318 echo "$as_me: WARNING: libavc1394/avc1394.h: see the Autoconf documentation" >&2;}
4319 { echo "$as_me:$LINENO: WARNING: libavc1394/avc1394.h: section \"Present But Cannot Be Compiled\"" >&5
4320 echo "$as_me: WARNING: libavc1394/avc1394.h: section \"Present But Cannot Be Compiled\"" >&2;}
4321 { echo "$as_me:$LINENO: WARNING: libavc1394/avc1394.h: proceeding with the preprocessor's result" >&5
4322 echo "$as_me: WARNING: libavc1394/avc1394.h: proceeding with the preprocessor's result" >&2;}
4323 { echo "$as_me:$LINENO: WARNING: libavc1394/avc1394.h: in the future, the compiler will take precedence" >&5
4324 echo "$as_me: WARNING: libavc1394/avc1394.h: in the future, the compiler will take precedence" >&2;}
4327 ## ------------------------------------------ ##
4328 ## Report this to the AC_PACKAGE_NAME lists. ##
4329 ## ------------------------------------------ ##
4332 sed "s/^/$as_me: WARNING: /" >&2
4335 echo "$as_me:$LINENO: checking for libavc1394/avc1394.h" >&5
4336 echo $ECHO_N "checking for libavc1394/avc1394.h... $ECHO_C" >&6
4337 if test "${ac_cv_header_libavc1394_avc1394_h+set}" = set; then
4338 echo $ECHO_N "(cached) $ECHO_C" >&6
4340 ac_cv_header_libavc1394_avc1394_h
=$ac_header_preproc
4342 echo "$as_me:$LINENO: result: $ac_cv_header_libavc1394_avc1394_h" >&5
4343 echo "${ECHO_T}$ac_cv_header_libavc1394_avc1394_h" >&6
4346 if test $ac_cv_header_libavc1394_avc1394_h = yes; then
4351 if test "${ac_cv_header_libdv_dv_h+set}" = set; then
4352 echo "$as_me:$LINENO: checking for libdv/dv.h" >&5
4353 echo $ECHO_N "checking for libdv/dv.h... $ECHO_C" >&6
4354 if test "${ac_cv_header_libdv_dv_h+set}" = set; then
4355 echo $ECHO_N "(cached) $ECHO_C" >&6
4357 echo "$as_me:$LINENO: result: $ac_cv_header_libdv_dv_h" >&5
4358 echo "${ECHO_T}$ac_cv_header_libdv_dv_h" >&6
4360 # Is the header compilable?
4361 echo "$as_me:$LINENO: checking libdv/dv.h usability" >&5
4362 echo $ECHO_N "checking libdv/dv.h usability... $ECHO_C" >&6
4363 cat >conftest.
$ac_ext <<_ACEOF
4366 cat confdefs.h
>>conftest.
$ac_ext
4367 cat >>conftest.
$ac_ext <<_ACEOF
4368 /* end confdefs.h. */
4369 $ac_includes_default
4370 #include <libdv/dv.h>
4372 rm -f conftest.
$ac_objext
4373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4374 (eval $ac_compile) 2>conftest.er1
4376 grep -v '^ *+' conftest.er1
>conftest.err
4378 cat conftest.err
>&5
4379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4380 (exit $ac_status); } &&
4381 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4386 (exit $ac_status); }; } &&
4387 { ac_try
='test -s conftest.$ac_objext'
4388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4392 (exit $ac_status); }; }; then
4393 ac_header_compiler
=yes
4395 echo "$as_me: failed program was:" >&5
4396 sed 's/^/| /' conftest.
$ac_ext >&5
4398 ac_header_compiler
=no
4400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4401 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4402 echo "${ECHO_T}$ac_header_compiler" >&6
4404 # Is the header present?
4405 echo "$as_me:$LINENO: checking libdv/dv.h presence" >&5
4406 echo $ECHO_N "checking libdv/dv.h presence... $ECHO_C" >&6
4407 cat >conftest.
$ac_ext <<_ACEOF
4410 cat confdefs.h
>>conftest.
$ac_ext
4411 cat >>conftest.
$ac_ext <<_ACEOF
4412 /* end confdefs.h. */
4413 #include <libdv/dv.h>
4415 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4416 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4418 grep -v '^ *+' conftest.er1
>conftest.err
4420 cat conftest.err
>&5
4421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4422 (exit $ac_status); } >/dev
/null
; then
4423 if test -s conftest.err
; then
4424 ac_cpp_err
=$ac_c_preproc_warn_flag
4425 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4432 if test -z "$ac_cpp_err"; then
4433 ac_header_preproc
=yes
4435 echo "$as_me: failed program was:" >&5
4436 sed 's/^/| /' conftest.
$ac_ext >&5
4438 ac_header_preproc
=no
4440 rm -f conftest.err conftest.
$ac_ext
4441 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4442 echo "${ECHO_T}$ac_header_preproc" >&6
4444 # So? What about this header?
4445 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4447 { echo "$as_me:$LINENO: WARNING: libdv/dv.h: accepted by the compiler, rejected by the preprocessor!" >&5
4448 echo "$as_me: WARNING: libdv/dv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4449 { echo "$as_me:$LINENO: WARNING: libdv/dv.h: proceeding with the compiler's result" >&5
4450 echo "$as_me: WARNING: libdv/dv.h: proceeding with the compiler's result" >&2;}
4451 ac_header_preproc
=yes
4454 { echo "$as_me:$LINENO: WARNING: libdv/dv.h: present but cannot be compiled" >&5
4455 echo "$as_me: WARNING: libdv/dv.h: present but cannot be compiled" >&2;}
4456 { echo "$as_me:$LINENO: WARNING: libdv/dv.h: check for missing prerequisite headers?" >&5
4457 echo "$as_me: WARNING: libdv/dv.h: check for missing prerequisite headers?" >&2;}
4458 { echo "$as_me:$LINENO: WARNING: libdv/dv.h: see the Autoconf documentation" >&5
4459 echo "$as_me: WARNING: libdv/dv.h: see the Autoconf documentation" >&2;}
4460 { echo "$as_me:$LINENO: WARNING: libdv/dv.h: section \"Present But Cannot Be Compiled\"" >&5
4461 echo "$as_me: WARNING: libdv/dv.h: section \"Present But Cannot Be Compiled\"" >&2;}
4462 { echo "$as_me:$LINENO: WARNING: libdv/dv.h: proceeding with the preprocessor's result" >&5
4463 echo "$as_me: WARNING: libdv/dv.h: proceeding with the preprocessor's result" >&2;}
4464 { echo "$as_me:$LINENO: WARNING: libdv/dv.h: in the future, the compiler will take precedence" >&5
4465 echo "$as_me: WARNING: libdv/dv.h: in the future, the compiler will take precedence" >&2;}
4468 ## ------------------------------------------ ##
4469 ## Report this to the AC_PACKAGE_NAME lists. ##
4470 ## ------------------------------------------ ##
4473 sed "s/^/$as_me: WARNING: /" >&2
4476 echo "$as_me:$LINENO: checking for libdv/dv.h" >&5
4477 echo $ECHO_N "checking for libdv/dv.h... $ECHO_C" >&6
4478 if test "${ac_cv_header_libdv_dv_h+set}" = set; then
4479 echo $ECHO_N "(cached) $ECHO_C" >&6
4481 ac_cv_header_libdv_dv_h
=$ac_header_preproc
4483 echo "$as_me:$LINENO: result: $ac_cv_header_libdv_dv_h" >&5
4484 echo "${ECHO_T}$ac_cv_header_libdv_dv_h" >&6
4487 if test $ac_cv_header_libdv_dv_h = yes; then
4492 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
4493 echo "$as_me:$LINENO: checking for libraw1394/raw1394.h" >&5
4494 echo $ECHO_N "checking for libraw1394/raw1394.h... $ECHO_C" >&6
4495 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
4496 echo $ECHO_N "(cached) $ECHO_C" >&6
4498 echo "$as_me:$LINENO: result: $ac_cv_header_libraw1394_raw1394_h" >&5
4499 echo "${ECHO_T}$ac_cv_header_libraw1394_raw1394_h" >&6
4501 # Is the header compilable?
4502 echo "$as_me:$LINENO: checking libraw1394/raw1394.h usability" >&5
4503 echo $ECHO_N "checking libraw1394/raw1394.h usability... $ECHO_C" >&6
4504 cat >conftest.
$ac_ext <<_ACEOF
4507 cat confdefs.h
>>conftest.
$ac_ext
4508 cat >>conftest.
$ac_ext <<_ACEOF
4509 /* end confdefs.h. */
4510 $ac_includes_default
4511 #include <libraw1394/raw1394.h>
4513 rm -f conftest.
$ac_objext
4514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4515 (eval $ac_compile) 2>conftest.er1
4517 grep -v '^ *+' conftest.er1
>conftest.err
4519 cat conftest.err
>&5
4520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521 (exit $ac_status); } &&
4522 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); }; } &&
4528 { ac_try
='test -s conftest.$ac_objext'
4529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4533 (exit $ac_status); }; }; then
4534 ac_header_compiler
=yes
4536 echo "$as_me: failed program was:" >&5
4537 sed 's/^/| /' conftest.
$ac_ext >&5
4539 ac_header_compiler
=no
4541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4542 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4543 echo "${ECHO_T}$ac_header_compiler" >&6
4545 # Is the header present?
4546 echo "$as_me:$LINENO: checking libraw1394/raw1394.h presence" >&5
4547 echo $ECHO_N "checking libraw1394/raw1394.h presence... $ECHO_C" >&6
4548 cat >conftest.
$ac_ext <<_ACEOF
4551 cat confdefs.h
>>conftest.
$ac_ext
4552 cat >>conftest.
$ac_ext <<_ACEOF
4553 /* end confdefs.h. */
4554 #include <libraw1394/raw1394.h>
4556 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4557 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4559 grep -v '^ *+' conftest.er1
>conftest.err
4561 cat conftest.err
>&5
4562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4563 (exit $ac_status); } >/dev
/null
; then
4564 if test -s conftest.err
; then
4565 ac_cpp_err
=$ac_c_preproc_warn_flag
4566 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4573 if test -z "$ac_cpp_err"; then
4574 ac_header_preproc
=yes
4576 echo "$as_me: failed program was:" >&5
4577 sed 's/^/| /' conftest.
$ac_ext >&5
4579 ac_header_preproc
=no
4581 rm -f conftest.err conftest.
$ac_ext
4582 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4583 echo "${ECHO_T}$ac_header_preproc" >&6
4585 # So? What about this header?
4586 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4588 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: accepted by the compiler, rejected by the preprocessor!" >&5
4589 echo "$as_me: WARNING: libraw1394/raw1394.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4590 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: proceeding with the compiler's result" >&5
4591 echo "$as_me: WARNING: libraw1394/raw1394.h: proceeding with the compiler's result" >&2;}
4592 ac_header_preproc
=yes
4595 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: present but cannot be compiled" >&5
4596 echo "$as_me: WARNING: libraw1394/raw1394.h: present but cannot be compiled" >&2;}
4597 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: check for missing prerequisite headers?" >&5
4598 echo "$as_me: WARNING: libraw1394/raw1394.h: check for missing prerequisite headers?" >&2;}
4599 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: see the Autoconf documentation" >&5
4600 echo "$as_me: WARNING: libraw1394/raw1394.h: see the Autoconf documentation" >&2;}
4601 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: section \"Present But Cannot Be Compiled\"" >&5
4602 echo "$as_me: WARNING: libraw1394/raw1394.h: section \"Present But Cannot Be Compiled\"" >&2;}
4603 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: proceeding with the preprocessor's result" >&5
4604 echo "$as_me: WARNING: libraw1394/raw1394.h: proceeding with the preprocessor's result" >&2;}
4605 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: in the future, the compiler will take precedence" >&5
4606 echo "$as_me: WARNING: libraw1394/raw1394.h: in the future, the compiler will take precedence" >&2;}
4609 ## ------------------------------------------ ##
4610 ## Report this to the AC_PACKAGE_NAME lists. ##
4611 ## ------------------------------------------ ##
4614 sed "s/^/$as_me: WARNING: /" >&2
4617 echo "$as_me:$LINENO: checking for libraw1394/raw1394.h" >&5
4618 echo $ECHO_N "checking for libraw1394/raw1394.h... $ECHO_C" >&6
4619 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
4620 echo $ECHO_N "(cached) $ECHO_C" >&6
4622 ac_cv_header_libraw1394_raw1394_h
=$ac_header_preproc
4624 echo "$as_me:$LINENO: result: $ac_cv_header_libraw1394_raw1394_h" >&5
4625 echo "${ECHO_T}$ac_cv_header_libraw1394_raw1394_h" >&6
4628 if test $ac_cv_header_libraw1394_raw1394_h = yes; then
4633 echo "$as_me:$LINENO: checking for IEEE1394/AVC video support" >&5
4634 echo $ECHO_N "checking for IEEE1394/AVC video support... $ECHO_C" >&6
4635 if test "${AVC1394HDR:-unset}" != "unset" -a ${DVHDR:-unset} != "unset" -a "${RAW1394HDR:-unset}" != "unset"; then
4638 echo "$as_me:$LINENO: result: yes" >&5
4639 echo "${ECHO_T}yes" >&6
4641 echo "$as_me:$LINENO: result: no" >&5
4642 echo "${ECHO_T}no" >&6
4647 # Check whether --enable-dc or --disable-dc was given.
4648 if test "${enable_dc+set}" = set; then
4649 enableval
="$enable_dc"
4655 if test "$enable_dc" = "yes" ; then
4656 if test "${ac_cv_header_libdc1394_dc1394_control_h+set}" = set; then
4657 echo "$as_me:$LINENO: checking for libdc1394/dc1394_control.h" >&5
4658 echo $ECHO_N "checking for libdc1394/dc1394_control.h... $ECHO_C" >&6
4659 if test "${ac_cv_header_libdc1394_dc1394_control_h+set}" = set; then
4660 echo $ECHO_N "(cached) $ECHO_C" >&6
4662 echo "$as_me:$LINENO: result: $ac_cv_header_libdc1394_dc1394_control_h" >&5
4663 echo "${ECHO_T}$ac_cv_header_libdc1394_dc1394_control_h" >&6
4665 # Is the header compilable?
4666 echo "$as_me:$LINENO: checking libdc1394/dc1394_control.h usability" >&5
4667 echo $ECHO_N "checking libdc1394/dc1394_control.h usability... $ECHO_C" >&6
4668 cat >conftest.
$ac_ext <<_ACEOF
4671 cat confdefs.h
>>conftest.
$ac_ext
4672 cat >>conftest.
$ac_ext <<_ACEOF
4673 /* end confdefs.h. */
4674 $ac_includes_default
4675 #include <libdc1394/dc1394_control.h>
4677 rm -f conftest.
$ac_objext
4678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4679 (eval $ac_compile) 2>conftest.er1
4681 grep -v '^ *+' conftest.er1
>conftest.err
4683 cat conftest.err
>&5
4684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4685 (exit $ac_status); } &&
4686 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4691 (exit $ac_status); }; } &&
4692 { ac_try
='test -s conftest.$ac_objext'
4693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697 (exit $ac_status); }; }; then
4698 ac_header_compiler
=yes
4700 echo "$as_me: failed program was:" >&5
4701 sed 's/^/| /' conftest.
$ac_ext >&5
4703 ac_header_compiler
=no
4705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4706 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4707 echo "${ECHO_T}$ac_header_compiler" >&6
4709 # Is the header present?
4710 echo "$as_me:$LINENO: checking libdc1394/dc1394_control.h presence" >&5
4711 echo $ECHO_N "checking libdc1394/dc1394_control.h presence... $ECHO_C" >&6
4712 cat >conftest.
$ac_ext <<_ACEOF
4715 cat confdefs.h
>>conftest.
$ac_ext
4716 cat >>conftest.
$ac_ext <<_ACEOF
4717 /* end confdefs.h. */
4718 #include <libdc1394/dc1394_control.h>
4720 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4721 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4723 grep -v '^ *+' conftest.er1
>conftest.err
4725 cat conftest.err
>&5
4726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4727 (exit $ac_status); } >/dev
/null
; then
4728 if test -s conftest.err
; then
4729 ac_cpp_err
=$ac_c_preproc_warn_flag
4730 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4737 if test -z "$ac_cpp_err"; then
4738 ac_header_preproc
=yes
4740 echo "$as_me: failed program was:" >&5
4741 sed 's/^/| /' conftest.
$ac_ext >&5
4743 ac_header_preproc
=no
4745 rm -f conftest.err conftest.
$ac_ext
4746 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4747 echo "${ECHO_T}$ac_header_preproc" >&6
4749 # So? What about this header?
4750 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4752 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: accepted by the compiler, rejected by the preprocessor!" >&5
4753 echo "$as_me: WARNING: libdc1394/dc1394_control.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4754 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: proceeding with the compiler's result" >&5
4755 echo "$as_me: WARNING: libdc1394/dc1394_control.h: proceeding with the compiler's result" >&2;}
4756 ac_header_preproc
=yes
4759 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: present but cannot be compiled" >&5
4760 echo "$as_me: WARNING: libdc1394/dc1394_control.h: present but cannot be compiled" >&2;}
4761 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: check for missing prerequisite headers?" >&5
4762 echo "$as_me: WARNING: libdc1394/dc1394_control.h: check for missing prerequisite headers?" >&2;}
4763 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: see the Autoconf documentation" >&5
4764 echo "$as_me: WARNING: libdc1394/dc1394_control.h: see the Autoconf documentation" >&2;}
4765 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: section \"Present But Cannot Be Compiled\"" >&5
4766 echo "$as_me: WARNING: libdc1394/dc1394_control.h: section \"Present But Cannot Be Compiled\"" >&2;}
4767 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: proceeding with the preprocessor's result" >&5
4768 echo "$as_me: WARNING: libdc1394/dc1394_control.h: proceeding with the preprocessor's result" >&2;}
4769 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: in the future, the compiler will take precedence" >&5
4770 echo "$as_me: WARNING: libdc1394/dc1394_control.h: in the future, the compiler will take precedence" >&2;}
4773 ## ------------------------------------------ ##
4774 ## Report this to the AC_PACKAGE_NAME lists. ##
4775 ## ------------------------------------------ ##
4778 sed "s/^/$as_me: WARNING: /" >&2
4781 echo "$as_me:$LINENO: checking for libdc1394/dc1394_control.h" >&5
4782 echo $ECHO_N "checking for libdc1394/dc1394_control.h... $ECHO_C" >&6
4783 if test "${ac_cv_header_libdc1394_dc1394_control_h+set}" = set; then
4784 echo $ECHO_N "(cached) $ECHO_C" >&6
4786 ac_cv_header_libdc1394_dc1394_control_h
=$ac_header_preproc
4788 echo "$as_me:$LINENO: result: $ac_cv_header_libdc1394_dc1394_control_h" >&5
4789 echo "${ECHO_T}$ac_cv_header_libdc1394_dc1394_control_h" >&6
4792 if test $ac_cv_header_libdc1394_dc1394_control_h = yes; then
4797 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
4798 echo "$as_me:$LINENO: checking for libraw1394/raw1394.h" >&5
4799 echo $ECHO_N "checking for libraw1394/raw1394.h... $ECHO_C" >&6
4800 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
4801 echo $ECHO_N "(cached) $ECHO_C" >&6
4803 echo "$as_me:$LINENO: result: $ac_cv_header_libraw1394_raw1394_h" >&5
4804 echo "${ECHO_T}$ac_cv_header_libraw1394_raw1394_h" >&6
4806 # Is the header compilable?
4807 echo "$as_me:$LINENO: checking libraw1394/raw1394.h usability" >&5
4808 echo $ECHO_N "checking libraw1394/raw1394.h usability... $ECHO_C" >&6
4809 cat >conftest.
$ac_ext <<_ACEOF
4812 cat confdefs.h
>>conftest.
$ac_ext
4813 cat >>conftest.
$ac_ext <<_ACEOF
4814 /* end confdefs.h. */
4815 $ac_includes_default
4816 #include <libraw1394/raw1394.h>
4818 rm -f conftest.
$ac_objext
4819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4820 (eval $ac_compile) 2>conftest.er1
4822 grep -v '^ *+' conftest.er1
>conftest.err
4824 cat conftest.err
>&5
4825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4826 (exit $ac_status); } &&
4827 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4832 (exit $ac_status); }; } &&
4833 { ac_try
='test -s conftest.$ac_objext'
4834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4838 (exit $ac_status); }; }; then
4839 ac_header_compiler
=yes
4841 echo "$as_me: failed program was:" >&5
4842 sed 's/^/| /' conftest.
$ac_ext >&5
4844 ac_header_compiler
=no
4846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4847 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4848 echo "${ECHO_T}$ac_header_compiler" >&6
4850 # Is the header present?
4851 echo "$as_me:$LINENO: checking libraw1394/raw1394.h presence" >&5
4852 echo $ECHO_N "checking libraw1394/raw1394.h presence... $ECHO_C" >&6
4853 cat >conftest.
$ac_ext <<_ACEOF
4856 cat confdefs.h
>>conftest.
$ac_ext
4857 cat >>conftest.
$ac_ext <<_ACEOF
4858 /* end confdefs.h. */
4859 #include <libraw1394/raw1394.h>
4861 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4862 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4864 grep -v '^ *+' conftest.er1
>conftest.err
4866 cat conftest.err
>&5
4867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4868 (exit $ac_status); } >/dev
/null
; then
4869 if test -s conftest.err
; then
4870 ac_cpp_err
=$ac_c_preproc_warn_flag
4871 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4878 if test -z "$ac_cpp_err"; then
4879 ac_header_preproc
=yes
4881 echo "$as_me: failed program was:" >&5
4882 sed 's/^/| /' conftest.
$ac_ext >&5
4884 ac_header_preproc
=no
4886 rm -f conftest.err conftest.
$ac_ext
4887 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4888 echo "${ECHO_T}$ac_header_preproc" >&6
4890 # So? What about this header?
4891 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4893 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: accepted by the compiler, rejected by the preprocessor!" >&5
4894 echo "$as_me: WARNING: libraw1394/raw1394.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4895 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: proceeding with the compiler's result" >&5
4896 echo "$as_me: WARNING: libraw1394/raw1394.h: proceeding with the compiler's result" >&2;}
4897 ac_header_preproc
=yes
4900 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: present but cannot be compiled" >&5
4901 echo "$as_me: WARNING: libraw1394/raw1394.h: present but cannot be compiled" >&2;}
4902 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: check for missing prerequisite headers?" >&5
4903 echo "$as_me: WARNING: libraw1394/raw1394.h: check for missing prerequisite headers?" >&2;}
4904 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: see the Autoconf documentation" >&5
4905 echo "$as_me: WARNING: libraw1394/raw1394.h: see the Autoconf documentation" >&2;}
4906 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: section \"Present But Cannot Be Compiled\"" >&5
4907 echo "$as_me: WARNING: libraw1394/raw1394.h: section \"Present But Cannot Be Compiled\"" >&2;}
4908 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: proceeding with the preprocessor's result" >&5
4909 echo "$as_me: WARNING: libraw1394/raw1394.h: proceeding with the preprocessor's result" >&2;}
4910 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: in the future, the compiler will take precedence" >&5
4911 echo "$as_me: WARNING: libraw1394/raw1394.h: in the future, the compiler will take precedence" >&2;}
4914 ## ------------------------------------------ ##
4915 ## Report this to the AC_PACKAGE_NAME lists. ##
4916 ## ------------------------------------------ ##
4919 sed "s/^/$as_me: WARNING: /" >&2
4922 echo "$as_me:$LINENO: checking for libraw1394/raw1394.h" >&5
4923 echo $ECHO_N "checking for libraw1394/raw1394.h... $ECHO_C" >&6
4924 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
4925 echo $ECHO_N "(cached) $ECHO_C" >&6
4927 ac_cv_header_libraw1394_raw1394_h
=$ac_header_preproc
4929 echo "$as_me:$LINENO: result: $ac_cv_header_libraw1394_raw1394_h" >&5
4930 echo "${ECHO_T}$ac_cv_header_libraw1394_raw1394_h" >&6
4933 if test $ac_cv_header_libraw1394_raw1394_h = yes; then
4938 echo "$as_me:$LINENO: checking for IEEE1394/DC video support" >&5
4939 echo $ECHO_N "checking for IEEE1394/DC video support... $ECHO_C" >&6
4940 if test "${DC1394HDR:-unset}" != "unset" -a ${RAW1394HDR:-unset} != "unset"; then
4943 echo "$as_me:$LINENO: result: yes" >&5
4944 echo "${ECHO_T}yes" >&6
4945 echo "$as_me:$LINENO: checking if dc1394_dma_setup_capture has 12 parms" >&5
4946 echo $ECHO_N "checking if dc1394_dma_setup_capture has 12 parms... $ECHO_C" >&6
4947 cat >conftest.
$ac_ext <<_ACEOF
4949 #include "libdc1394/dc1394_control.h"
4950 int main(int ac,char **av)
4952 raw1394handle_t handle;
4959 int num_dma_buffers;
4960 int do_extra_buffering;
4962 const char *dma_device_file;
4963 dc1394_cameracapture *camera;
4964 dc1394_dma_setup_capture(handle, node, channel, format, mode, speed, frame_rate, num_dma_buffers,
4965 do_extra_buffering, drop_frames, dma_device_file, camera);
4970 rm -f conftest.
$ac_objext
4971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4972 (eval $ac_compile) 2>conftest.er1
4974 grep -v '^ *+' conftest.er1
>conftest.err
4976 cat conftest.err
>&5
4977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4978 (exit $ac_status); } &&
4979 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4984 (exit $ac_status); }; } &&
4985 { ac_try
='test -s conftest.$ac_objext'
4986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4990 (exit $ac_status); }; }; then
4993 echo "$as_me: failed program was:" >&5
4994 sed 's/^/| /' conftest.
$ac_ext >&5
4998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4999 if test "$NEW_DC_API" = "1" ; then
5000 DC_CFLAGS
=-DNEW_DC_API
5002 echo "$as_me:$LINENO: result: yes" >&5
5003 echo "${ECHO_T}yes" >&6
5006 echo "$as_me:$LINENO: result: no" >&5
5007 echo "${ECHO_T}no" >&6
5010 echo "$as_me:$LINENO: result: no" >&5
5011 echo "${ECHO_T}no" >&6
5018 ac_config_files
="$ac_config_files Makefile"
5020 ac_config_files
="$ac_config_files vidinput_dc/Makefile"
5023 cat >confcache
<<\_ACEOF
5024 # This file is a shell script that caches the results of configure
5025 # tests run on this system so they can be shared between configure
5026 # scripts and configure runs, see configure's option --config-cache.
5027 # It is not useful on other systems. If it contains results you don't
5028 # want to keep, you may remove or edit it.
5030 # config.status only pays attention to the cache file if you give it
5031 # the --recheck option to rerun configure.
5033 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5034 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5039 # The following way of writing the cache mishandles newlines in values,
5040 # but we know of no workaround that is simple, portable, and efficient.
5041 # So, don't put newlines in cache variables' values.
5042 # Ultrix sh set writes to stderr and can't be redirected directly,
5043 # and sets the high bit in the cache file unless we assign to the vars.
5046 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5048 # `set' does not quote correctly, so add quotes (double-quote
5049 # substitution turns \\\\ into \\, and sed turns \\ into \).
5052 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5055 # `set' quotes correctly as required by POSIX, so do not add quotes.
5057 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5064 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5066 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5068 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5069 if test -w $cache_file; then
5070 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5071 cat confcache
>$cache_file
5073 echo "not updating unwritable cache $cache_file"
5078 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5079 # Let make expand exec_prefix.
5080 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5082 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5083 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5084 # trailing colons and then remove the whole line if VPATH becomes empty
5085 # (actually we leave an empty line to preserve line numbers).
5086 if test "x$srcdir" = x.
; then
5087 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5088 s/:*\$(srcdir):*/:/;
5089 s/:*\${srcdir}:*/:/;
5091 s/^\([^=]*=[ ]*\):*/\1/;
5097 # Transform confdefs.h into DEFS.
5098 # Protect against shell expansion while executing Makefile rules.
5099 # Protect against Makefile macro expansion.
5101 # If the first sed substitution is executed (which looks for macros that
5102 # take arguments), then we branch to the quote section. Otherwise,
5103 # look for a macro that doesn't take arguments.
5104 cat >confdef2opt.
sed <<\_ACEOF
5107 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
5109 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
5113 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
5119 # We use echo to avoid assuming a particular line-breaking character.
5120 # The extra dot is to prevent the shell from consuming trailing
5121 # line-breaks from the sub-command output. A line-break within
5122 # single-quotes doesn't work because, if this script is created in a
5123 # platform that uses two characters for line-breaks (e.g., DOS), tr
5125 ac_LF_and_DOT=`echo; echo .
`
5126 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
5127 rm -f confdef2opt.sed
5132 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5133 # 1. Remove the extension, and $U if already installed.
5134 ac_i=`echo "$ac_i" |
5135 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5137 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5138 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5142 LTLIBOBJS=$ac_ltlibobjs
5146 : ${CONFIG_STATUS=./config.status}
5147 ac_clean_files_save=$ac_clean_files
5148 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5149 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5150 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5151 cat >$CONFIG_STATUS <<_ACEOF
5153 # Generated by $as_me.
5154 # Run this file to recreate the current configuration.
5155 # Compiler output produced by configure, useful for debugging
5156 # configure, is in config.log if it exists.
5161 SHELL=\${CONFIG_SHELL-$SHELL}
5164 cat >>$CONFIG_STATUS <<\_ACEOF
5165 ## --------------------- ##
5166 ## M4sh Initialization. ##
5167 ## --------------------- ##
5169 # Be Bourne compatible
5170 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5173 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5174 # is contrary to our usage. Disable this feature.
5175 alias -g '${1+"$@"}'='"$@"'
5176 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5179 DUALCASE=1; export DUALCASE # for MKS sh
5181 # Support unset when possible.
5182 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5189 # Work around bugs in pre-3.0 UWIN ksh.
5190 $as_unset ENV MAIL MAILPATH
5197 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5198 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5199 LC_TELEPHONE LC_TIME
5201 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
5202 eval $as_var=C; export $as_var
5208 # Required to use basename.
5209 if expr a : '\(a\)' >/dev/null 2>&1; then
5215 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5216 as_basename=basename
5222 # Name of the executable.
5223 as_me=`$as_basename "$0" ||
5224 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5225 X
"$0" : 'X\(//\)$' \| \
5226 X
"$0" : 'X\(/\)$' \| \
5227 .
: '\(.\)' 2>/dev
/null ||
5229 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5230 /^X\/\(\/\/\)$/{ s//\1/; q; }
5231 /^X\/\(\/\).*/{ s//\1/; q; }
5235 # PATH needs CR, and LINENO needs CR and PATH.
5236 # Avoid depending upon Character Ranges.
5237 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5238 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5239 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5240 as_cr_digits='0123456789'
5241 as_cr_alnum=$as_cr_Letters$as_cr_digits
5243 # The user is always right.
5244 if test "${PATH_SEPARATOR+set}" != set; then
5245 echo "#! /bin/sh" >conf$$.sh
5246 echo "exit 0" >>conf$$.sh
5248 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5259 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
5260 test "x$as_lineno_1" != "x$as_lineno_2" &&
5261 test "x$as_lineno_3" = "x$as_lineno_2" || {
5262 # Find who we are. Look in the path if we contain no path at all
5265 *[\\/]* ) as_myself=$0 ;;
5266 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5270 test -z "$as_dir" && as_dir=.
5271 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5276 # We did not find ourselves, most probably we were run as `sh COMMAND
'
5277 # in which case we are not to be found in the path.
5278 if test "x$as_myself" = x; then
5281 if test ! -f "$as_myself"; then
5282 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5283 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5284 { (exit 1); exit 1; }; }
5286 case $CONFIG_SHELL in
5288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5289 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5292 test -z "$as_dir" && as_dir=.
5293 for as_base in sh bash ksh sh5; do
5296 if ("$as_dir/$as_base" -c '
5299 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5300 test "x$as_lineno_1" != "x$as_lineno_2" &&
5301 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5302 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5303 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5304 CONFIG_SHELL=$as_dir/$as_base
5306 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5314 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5315 # uniformly replaced by the line number. The first 'sed' inserts a
5316 # line-number line before each line; the second 'sed' does the real
5317 # work. The second script uses 'N
' to pair each line-number line
5318 # with the numbered line, and appends trailing '-' during
5319 # substitution so that $LINENO is not a special case at line end.
5320 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5321 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
5322 sed '=' <$as_myself |
5327 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5330 s,^['$as_cr_digits']*\n,,
5332 chmod +x
$as_me.lineno ||
5333 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5334 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5335 { (exit 1); exit 1; }; }
5337 # Don't try to exec as it changes $[0], causing all sort of problems
5338 # (the dirname of $[0] is not the place where we might find the
5339 # original and so on. Autoconf is especially sensible to this).
5341 # Exit status is that of the last command.
5346 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5347 *c
*,-n*) ECHO_N
= ECHO_C
='
5349 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5350 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5353 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5359 rm -f conf$$ conf$$.exe conf$$.
file
5361 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5362 # We could just check for DJGPP; but this test a) works b) is more generic
5363 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5364 if test -f conf$$.exe
; then
5365 # Don't use ln at all; we don't have any links
5370 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5375 rm -f conf$$ conf$$.exe conf$$.
file
5377 if mkdir
-p .
2>/dev
/null
; then
5380 test -d .
/-p && rmdir .
/-p
5384 as_executable_p
="test -f"
5386 # Sed expression to map a string onto a valid CPP name.
5387 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5389 # Sed expression to map a string onto a valid variable name.
5390 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5394 # We need space, tab and new line, in precisely that order.
5404 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5405 # report actual input values of CONFIG_FILES etc. instead of their
5406 # values after options handling. Logging --version etc. is OK.
5410 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5411 ## Running $as_me. ##
5416 This file was extended by $as_me, which was
5417 generated by GNU Autoconf 2.59. Invocation command line was
5419 CONFIG_FILES = $CONFIG_FILES
5420 CONFIG_HEADERS = $CONFIG_HEADERS
5421 CONFIG_LINKS = $CONFIG_LINKS
5422 CONFIG_COMMANDS = $CONFIG_COMMANDS
5426 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5430 # Files that config.status was made for.
5431 if test -n "$ac_config_files"; then
5432 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5435 if test -n "$ac_config_headers"; then
5436 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5439 if test -n "$ac_config_links"; then
5440 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5443 if test -n "$ac_config_commands"; then
5444 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5447 cat >>$CONFIG_STATUS <<\_ACEOF
5450 \`$as_me' instantiates files from templates according to the
5451 current configuration.
5453 Usage: $0 [OPTIONS] [FILE]...
5455 -h, --help print this help, then exit
5456 -V, --version print version number, then exit
5457 -q, --quiet do not print progress messages
5458 -d, --debug don't remove temporary files
5459 --recheck update $as_me by reconfiguring in the same conditions
5460 --file=FILE[:TEMPLATE]
5461 instantiate the configuration file FILE
5463 Configuration files:
5466 Report bugs to <bug-autoconf@gnu.org>."
5469 cat >>$CONFIG_STATUS <<_ACEOF
5472 configured by $0, generated by GNU Autoconf 2.59,
5473 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5475 Copyright (C) 2003 Free Software Foundation, Inc.
5476 This config.status script is free software; the Free Software Foundation
5477 gives unlimited permission to copy, distribute and modify it."
5481 cat >>$CONFIG_STATUS <<\_ACEOF
5482 # If no file are specified by the user, then we need to provide default
5483 # value. By we need to know if files were specified by the user.
5489 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
5490 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5498 *) # This is not an option, so the user has probably given explicit
5501 ac_need_defaults
=false
;;
5505 # Handling of the options.
5507 cat >>$CONFIG_STATUS <<\_ACEOF
5508 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5510 --version |
--vers* |
-V )
5511 echo "$ac_cs_version"; exit 0 ;;
5513 # Conflict between --help and --header
5514 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5515 Try \`$0 --help' for more information." >&5
5516 echo "$as_me: error: ambiguous option: $1
5517 Try \`$0 --help' for more information." >&2;}
5518 { (exit 1); exit 1; }; };;
5519 --help |
--hel |
-h )
5520 echo "$ac_cs_usage"; exit 0 ;;
5521 --debug |
--d* |
-d )
5523 --file |
--fil |
--fi |
--f )
5525 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5526 ac_need_defaults
=false
;;
5527 --header |
--heade |
--head |
--hea )
5529 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
5530 ac_need_defaults
=false
;;
5531 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5532 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5536 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5537 Try \`$0 --help' for more information." >&5
5538 echo "$as_me: error: unrecognized option: $1
5539 Try \`$0 --help' for more information." >&2;}
5540 { (exit 1); exit 1; }; } ;;
5542 *) ac_config_targets
="$ac_config_targets $1" ;;
5548 ac_configure_extra_args
=
5550 if $ac_cs_silent; then
5552 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5556 cat >>$CONFIG_STATUS <<_ACEOF
5557 if \$ac_cs_recheck; then
5558 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5559 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5568 cat >>$CONFIG_STATUS <<\_ACEOF
5569 for ac_config_target
in $ac_config_targets
5571 case "$ac_config_target" in
5572 # Handling of arguments.
5573 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5574 "vidinput_dc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES vidinput_dc/Makefile" ;;
5575 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5576 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5577 { (exit 1); exit 1; }; };;
5581 # If the user did not use the arguments to specify the items to instantiate,
5582 # then the envvar interface is used. Set only those that are not.
5583 # We use the long form for the default assignment because of an extremely
5584 # bizarre bug on SunOS 4.1.3.
5585 if $ac_need_defaults; then
5586 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5589 # Have a temporary directory for convenience. Make it in the build tree
5590 # simply because there is no reason to put it here, and in addition,
5591 # creating and moving files from /tmp can sometimes cause problems.
5592 # Create a temporary directory, and hook for its removal unless debugging.
5595 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5596 trap '{ (exit 1); exit 1; }' 1 2 13 15
5599 # Create a (secure) tmp directory for tmp files.
5602 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5603 test -n "$tmp" && test -d "$tmp"
5606 tmp
=.
/confstat$$
-$RANDOM
5607 (umask 077 && mkdir
$tmp)
5610 echo "$me: cannot create a temporary directory in ." >&2
5611 { (exit 1); exit 1; }
5616 cat >>$CONFIG_STATUS <<_ACEOF
5619 # CONFIG_FILES section.
5622 # No need to generate the scripts if there are no CONFIG_FILES.
5623 # This happens for instance when ./config.status config.h
5624 if test -n "\$CONFIG_FILES"; then
5625 # Protect against being on the right side of a sed subst in config.status.
5626 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5627 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5628 s,@SHELL@,$SHELL,;t t
5629 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5630 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5631 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5632 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5633 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5634 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5635 s,@exec_prefix@,$exec_prefix,;t t
5636 s,@prefix@,$prefix,;t t
5637 s,@program_transform_name@,$program_transform_name,;t t
5638 s,@bindir@,$bindir,;t t
5639 s,@sbindir@,$sbindir,;t t
5640 s,@libexecdir@,$libexecdir,;t t
5641 s,@datadir@,$datadir,;t t
5642 s,@sysconfdir@,$sysconfdir,;t t
5643 s,@sharedstatedir@,$sharedstatedir,;t t
5644 s,@localstatedir@,$localstatedir,;t t
5645 s,@libdir@,$libdir,;t t
5646 s,@includedir@,$includedir,;t t
5647 s,@oldincludedir@,$oldincludedir,;t t
5648 s,@infodir@,$infodir,;t t
5649 s,@mandir@,$mandir,;t t
5650 s,@build_alias@,$build_alias,;t t
5651 s,@host_alias@,$host_alias,;t t
5652 s,@target_alias@,$target_alias,;t t
5654 s,@ECHO_C@,$ECHO_C,;t t
5655 s,@ECHO_N@,$ECHO_N,;t t
5656 s,@ECHO_T@,$ECHO_T,;t t
5659 s,@CXXFLAGS@,$CXXFLAGS,;t t
5660 s,@LDFLAGS@,$LDFLAGS,;t t
5661 s,@CPPFLAGS@,$CPPFLAGS,;t t
5662 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
5663 s,@EXEEXT@,$EXEEXT,;t t
5664 s,@OBJEXT@,$OBJEXT,;t t
5665 s,@PWLIBDIR@,$PWLIBDIR,;t t
5666 s,@PWINSTDIR@,$PWINSTDIR,;t t
5667 s,@INSTALLPREFIX@,$INSTALLPREFIX,;t t
5668 s,@LIBDIR@,$LIBDIR,;t t
5670 s,@CFLAGS@,$CFLAGS,;t t
5671 s,@ac_ct_CC@,$ac_ct_CC,;t t
5673 s,@EGREP@,$EGREP,;t t
5674 s,@HAS_ALSA@,$HAS_ALSA,;t t
5675 s,@HAS_OSS@,$HAS_OSS,;t t
5676 s,@HAS_V4L@,$HAS_V4L,;t t
5677 s,@HAS_V4L2@,$HAS_V4L2,;t t
5678 s,@HAS_BSDVIDEOCAP@,$HAS_BSDVIDEOCAP,;t t
5679 s,@HAS_AVC1394@,$HAS_AVC1394,;t t
5680 s,@HAS_DC1394@,$HAS_DC1394,;t t
5681 s,@DC_CFLAGS@,$DC_CFLAGS,;t t
5682 s,@LIBOBJS@,$LIBOBJS,;t t
5683 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5688 cat >>$CONFIG_STATUS <<\_ACEOF
5689 # Split the substitutions into bite-sized pieces for seds with
5690 # small command number limits, like on Digital OSF/1 and HP-UX.
5692 ac_sed_frag
=1 # Number of current file.
5693 ac_beg
=1 # First line for current file.
5694 ac_end
=$ac_max_sed_lines # Line after last line for current file.
5697 while $ac_more_lines; do
5698 if test $ac_beg -gt 1; then
5699 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5701 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5703 if test ! -s $tmp/subs.frag
; then
5706 # The purpose of the label and of the branching condition is to
5707 # speed up the sed processing (if there are no `@' at all, there
5708 # is no need to browse any of the substitutions).
5709 # These are the two extra sed commands mentioned above.
5711 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
5712 if test -z "$ac_sed_cmds"; then
5713 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
5715 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5717 ac_sed_frag
=`expr $ac_sed_frag + 1`
5719 ac_end
=`expr $ac_end + $ac_max_sed_lines`
5722 if test -z "$ac_sed_cmds"; then
5725 fi # test -n "$CONFIG_FILES"
5728 cat >>$CONFIG_STATUS <<\_ACEOF
5729 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
5730 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5732 - |
*:- |
*:-:* ) # input from stdin
5734 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5735 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5736 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5737 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5738 * ) ac_file_in
=$ac_file.
in ;;
5741 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5742 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5743 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5744 X"$ac_file" : 'X\(//\)[^/]' \| \
5745 X"$ac_file" : 'X\(//\)$' \| \
5746 X"$ac_file" : 'X\(/\)' \| \
5747 . : '\(.\)' 2>/dev/null ||
5749 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5750 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5751 /^X\(\/\/\)$/{ s//\1/; q; }
5752 /^X\(\/\).*/{ s//\1/; q; }
5754 { if $as_mkdir_p; then
5759 while test ! -d "$as_dir"; do
5760 as_dirs
="$as_dir $as_dirs"
5761 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5762 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5763 X"$as_dir" : 'X\(//\)[^/]' \| \
5764 X"$as_dir" : 'X\(//\)$' \| \
5765 X"$as_dir" : 'X\(/\)' \| \
5766 . : '\(.\)' 2>/dev/null ||
5768 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5769 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5770 /^X\(\/\/\)$/{ s//\1/; q; }
5771 /^X\(\/\).*/{ s//\1/; q; }
5774 test ! -n "$as_dirs" || mkdir
$as_dirs
5775 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5776 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5777 { (exit 1); exit 1; }; }; }
5781 if test "$ac_dir" != .
; then
5782 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5783 # A "../" for each directory in $ac_dir_suffix.
5784 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5786 ac_dir_suffix
= ac_top_builddir
=
5790 .
) # No --srcdir option. We are building in place.
5792 if test -z "$ac_top_builddir"; then
5795 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5797 [\\/]* | ?
:[\\/]* ) # Absolute path.
5798 ac_srcdir
=$srcdir$ac_dir_suffix;
5799 ac_top_srcdir
=$srcdir ;;
5801 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5802 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5805 # Do not use `cd foo && pwd` to compute absolute paths, because
5806 # the directories may not exist.
5808 .
) ac_abs_builddir
="$ac_dir";;
5811 .
) ac_abs_builddir
=`pwd`;;
5812 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
5813 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
5816 case $ac_abs_builddir in
5817 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5819 case ${ac_top_builddir}.
in
5820 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
5821 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5822 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
5825 case $ac_abs_builddir in
5826 .
) ac_abs_srcdir
=$ac_srcdir;;
5829 .
) ac_abs_srcdir
=$ac_abs_builddir;;
5830 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
5831 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
5834 case $ac_abs_builddir in
5835 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
5837 case $ac_top_srcdir in
5838 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
5839 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
5840 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
5846 # Let's still pretend it is `configure' which instantiates (i.e., don't
5847 # use $as_me), people would be surprised to read:
5848 # /* config.h. Generated by config.status. */
5849 if test x
"$ac_file" = x-
; then
5852 configure_input
="$ac_file. "
5854 configure_input
=$configure_input"Generated from `echo $ac_file_in |
5855 sed 's,.*/,,'` by configure."
5857 # First look for the input files in the build tree, otherwise in the
5859 ac_file_inputs
=`IFS=:
5860 for f in $ac_file_in; do
5862 -) echo $tmp/stdin ;;
5864 # Absolute (can't be DOS-style, as IFS=:)
5865 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5866 echo "$as_me: error: cannot find input file: $f" >&2;}
5867 { (exit 1); exit 1; }; }
5870 if test -f "$f"; then
5873 elif test -f "$srcdir/$f"; then
5878 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5879 echo "$as_me: error: cannot find input file: $f" >&2;}
5880 { (exit 1); exit 1; }; }
5883 done` ||
{ (exit 1); exit 1; }
5885 if test x
"$ac_file" != x-
; then
5886 { echo "$as_me:$LINENO: creating $ac_file" >&5
5887 echo "$as_me: creating $ac_file" >&6;}
5891 cat >>$CONFIG_STATUS <<_ACEOF
5895 cat >>$CONFIG_STATUS <<\_ACEOF
5897 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5898 s
,@configure_input@
,$configure_input,;t t
5899 s
,@srcdir@
,$ac_srcdir,;t t
5900 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
5901 s
,@top_srcdir@
,$ac_top_srcdir,;t t
5902 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
5903 s
,@builddir@
,$ac_builddir,;t t
5904 s
,@abs_builddir@
,$ac_abs_builddir,;t t
5905 s
,@top_builddir@
,$ac_top_builddir,;t t
5906 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
5907 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5909 if test x"$ac_file" != x-; then
5910 mv $tmp/out $ac_file
5919 cat >>$CONFIG_STATUS <<\_ACEOF
5921 { (exit 0); exit 0; }
5923 chmod +x $CONFIG_STATUS
5924 ac_clean_files=$ac_clean_files_save
5927 # configure is writing to config.log, and then calls config.status.
5928 # config.status does its own redirection, appending to config.log.
5929 # Unfortunately, on DOS this fails, as config.log is still kept open
5930 # by configure, so config.status won't be able to write to it; its
5931 # output is simply discarded. So we exec the FD to /dev/null,
5932 # effectively closing config.log, so it can be properly (re)opened and
5933 # appended to by config.status. When coming back to configure, we
5934 # need to make the FD available again.
5935 if test "$no_create" != yes; then
5937 ac_config_status_args=
5938 test "$silent" = yes &&
5939 ac_config_status_args="$ac_config_status_args --quiet"
5941 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5943 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5944 # would make configure fail if this is the last instruction.
5945 $ac_cs_success || { (exit 1); exit 1; }