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_ESD HAS_OSS HAS_SUNAUDIO 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 disable plugin support
]
852 --disable-audio disable audio support
853 --enable-alsa enable ALSA audio support
854 --enable-esd enable ESD audio support
855 --enable-oss enable OSS audio support
856 --enable-sunaudio enable Sun audio support
857 --disable-video disable video device support
in PWLIB
858 --enable-v4l enable V4L video support
859 --enable-v4l2 enable V4L2 video support
860 --enable-bsdvideo enable BSD video support
861 --enable-avc enable IEEE1394
/AVC video support
862 --enable-dc enable IEEE1394
/DC video support
864 Some influential environment variables
:
865 CXX C
++ compiler
command
866 CXXFLAGS C
++ compiler flags
867 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
868 nonstandard directory
<lib dir
>
869 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
870 headers
in a nonstandard directory
<include dir
>
871 CC C compiler
command
872 CFLAGS C compiler flags
875 Use these variables to override the choices made by
`configure' or to help
876 it to find libraries and programs with nonstandard names/locations.
881 if test "$ac_init_help" = "recursive"; then
882 # If there are subdirs, report their specific --help.
884 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
885 test -d $ac_dir || continue
888 if test "$ac_dir" != .; then
889 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
890 # A "../" for each directory in $ac_dir_suffix.
891 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
893 ac_dir_suffix= ac_top_builddir=
897 .) # No --srcdir option. We are building in place.
899 if test -z "$ac_top_builddir"; then
902 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
904 [\\/]* | ?:[\\/]* ) # Absolute path.
905 ac_srcdir=$srcdir$ac_dir_suffix;
906 ac_top_srcdir=$srcdir ;;
908 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
909 ac_top_srcdir=$ac_top_builddir$srcdir ;;
912 # Do not use `cd foo
&& pwd` to compute absolute paths, because
913 # the directories may not exist.
915 .) ac_abs_builddir="$ac_dir";;
918 .) ac_abs_builddir=`pwd`;;
919 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
920 *) ac_abs_builddir=`pwd`/"$ac_dir";;
923 case $ac_abs_builddir in
924 .) ac_abs_top_builddir=${ac_top_builddir}.;;
926 case ${ac_top_builddir}. in
927 .) ac_abs_top_builddir=$ac_abs_builddir;;
928 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
929 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
932 case $ac_abs_builddir in
933 .) ac_abs_srcdir=$ac_srcdir;;
936 .) ac_abs_srcdir=$ac_abs_builddir;;
937 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
938 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
941 case $ac_abs_builddir in
942 .) ac_abs_top_srcdir=$ac_top_srcdir;;
944 case $ac_top_srcdir in
945 .) ac_abs_top_srcdir=$ac_abs_builddir;;
946 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
947 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
952 # Check for guested configure; otherwise get Cygnus style configure.
953 if test -f $ac_srcdir/configure.gnu; then
955 $SHELL $ac_srcdir/configure.gnu --help=recursive
956 elif test -f $ac_srcdir/configure; then
958 $SHELL $ac_srcdir/configure --help=recursive
959 elif test -f $ac_srcdir/configure.ac ||
960 test -f $ac_srcdir/configure.in; then
964 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
970 test -n "$ac_init_help" && exit 0
971 if $ac_init_version; then
974 Copyright (C) 2003 Free Software Foundation, Inc.
975 This configure script is free software; the Free Software Foundation
976 gives unlimited permission to copy, distribute and modify it.
982 This file contains any messages produced by compilers while
983 running configure, to aid debugging if configure makes a mistake.
985 It was created by $as_me, which was
986 generated by GNU Autoconf 2.59. Invocation command line was
997 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
998 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
999 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1000 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1001 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1003 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1004 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1006 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1007 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1008 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1009 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1010 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1011 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1012 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1020 test -z "$as_dir" && as_dir=.
1021 echo "PATH: $as_dir"
1036 # Keep a trace of the command line.
1037 # Strip out --no-create and --no-recursion so they do not pile up.
1038 # Strip out --silent because we don't want to record it for future runs.
1039 # Also quote any args containing shell meta-characters.
1040 # Make two passes to allow for proper duplicate-argument suppression.
1045 ac_must_keep_next=false
1051 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1052 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1053 | -silent | --silent | --silen | --sile | --sil)
1055 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1056 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1059 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1061 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1062 if test $ac_must_keep_next = true; then
1063 ac_must_keep_next=false # Got value, back to normal.
1066 *=* | --config-cache | -C | -disable-* | --disable-* \
1067 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1068 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1069 | -with-* | --with-* | -without-* | --without-* | --x)
1070 case "$ac_configure_args0 " in
1071 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1074 -* ) ac_must_keep_next=true ;;
1077 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1078 # Get rid of the leading space.
1084 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1085 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1087 # When interrupted or exit'd, cleanup temporary files, and complete
1088 # config.log. We remove comments because anyway the quotes in there
1089 # would cause problems or look ugly.
1090 # WARNING: Be sure not to use single quotes in there, as some shells,
1091 # such as our DU 5.0 friend, will then `close
' the trap.
1092 trap 'exit_status
=$?
1093 # Save into config.log some information that might help in debugging.
1098 ## ---------------- ##
1099 ## Cache variables. ##
1100 ## ---------------- ##
1103 # The following way of writing the cache mishandles newlines in values,
1106 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1109 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1110 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1114 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1121 ## ----------------- ##
1122 ## Output variables. ##
1123 ## ----------------- ##
1126 for ac_var
in $ac_subst_vars
1128 eval ac_val
=$
`echo $ac_var`
1129 echo "$ac_var='"'"'$ac_val'"'"'"
1133 if test -n "$ac_subst_files"; then
1140 for ac_var
in $ac_subst_files
1142 eval ac_val
=$
`echo $ac_var`
1143 echo "$ac_var='"'"'$ac_val'"'"'"
1148 if test -s confdefs.h
; then
1155 sed "/^$/d" confdefs.h |
sort
1158 test "$ac_signal" != 0 &&
1159 echo "$as_me: caught signal $ac_signal"
1160 echo "$as_me: exit $exit_status"
1162 rm -f core
*.core
&&
1163 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1166 for ac_signal in 1 2 13 15; do
1167 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1171 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1172 rm -rf conftest* confdefs.h
1173 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1176 # Predefined preprocessor variables.
1178 cat >>confdefs.h <<_ACEOF
1179 #define PACKAGE_NAME "$PACKAGE_NAME"
1183 cat >>confdefs.h <<_ACEOF
1184 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1188 cat >>confdefs.h <<_ACEOF
1189 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1193 cat >>confdefs.h <<_ACEOF
1194 #define PACKAGE_STRING "$PACKAGE_STRING"
1198 cat >>confdefs.h <<_ACEOF
1199 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1203 # Let the site file select an alternate cache file if it wants to.
1204 # Prefer explicitly selected file to automatically selected ones.
1205 if test -z "$CONFIG_SITE"; then
1206 if test "x$prefix" != xNONE; then
1207 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1209 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1212 for ac_site_file in $CONFIG_SITE; do
1213 if test -r "$ac_site_file"; then
1214 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1215 echo "$as_me: loading site script $ac_site_file" >&6;}
1216 sed 's
/^
/|
/' "$ac_site_file" >&5
1221 if test -r "$cache_file"; then
1222 # Some versions of bash will fail to source /dev/null (special
1223 # files actually), so we avoid doing that.
1224 if test -f "$cache_file"; then
1225 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1226 echo "$as_me: loading cache $cache_file" >&6;}
1228 [\\/]* | ?:[\\/]* ) . $cache_file;;
1229 *) . ./$cache_file;;
1233 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1234 echo "$as_me: creating cache $cache_file" >&6;}
1238 # Check that the precious variables saved in the cache have kept the same
1240 ac_cache_corrupted=false
1241 for ac_var in `(set) 2>&1 |
1242 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1243 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1244 eval ac_new_set=\$ac_env_${ac_var}_set
1245 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1246 eval ac_new_val="\$ac_env_${ac_var}_value"
1247 case $ac_old_set,$ac_new_set in
1249 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1250 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1251 ac_cache_corrupted=: ;;
1253 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1254 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1255 ac_cache_corrupted=: ;;
1258 if test "x$ac_old_val" != "x$ac_new_val"; then
1259 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1260 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1261 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1262 echo "$as_me: former value: $ac_old_val" >&2;}
1263 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1264 echo "$as_me: current value: $ac_new_val" >&2;}
1265 ac_cache_corrupted=:
1268 # Pass precious variables to config.status.
1269 if test "$ac_new_set" = set; then
1271 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1272 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1273 *) ac_arg=$ac_var=$ac_new_val ;;
1275 case " $ac_configure_args " in
1276 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1277 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1281 if $ac_cache_corrupted; then
1282 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1283 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1284 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1285 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1286 { (exit 1); exit 1; }; }
1290 ac_cpp='$CPP $CPPFLAGS'
1291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1292 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1315 ac_cpp='$CXXCPP $CPPFLAGS'
1316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1317 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1319 if test -n "$ac_tool_prefix"; then
1320 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1322 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1323 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1324 echo "$as_me:$LINENO: checking for $ac_word" >&5
1325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1326 if test "${ac_cv_prog_CXX+set}" = set; then
1327 echo $ECHO_N "(cached) $ECHO_C" >&6
1329 if test -n "$CXX"; then
1330 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1336 test -z "$as_dir" && as_dir=.
1337 for ac_exec_ext in '' $ac_executable_extensions; do
1338 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1339 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1349 if test -n "$CXX"; then
1350 echo "$as_me:$LINENO: result: $CXX" >&5
1351 echo "${ECHO_T}$CXX" >&6
1353 echo "$as_me:$LINENO: result: no" >&5
1354 echo "${ECHO_T}no" >&6
1357 test -n "$CXX" && break
1360 if test -z "$CXX"; then
1362 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1364 # Extract the first word of "$ac_prog", so it can be a program name with args.
1365 set dummy $ac_prog; ac_word=$2
1366 echo "$as_me:$LINENO: checking for $ac_word" >&5
1367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1368 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1369 echo $ECHO_N "(cached) $ECHO_C" >&6
1371 if test -n "$ac_ct_CXX"; then
1372 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1378 test -z "$as_dir" && as_dir=.
1379 for ac_exec_ext in '' $ac_executable_extensions; do
1380 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1381 ac_cv_prog_ac_ct_CXX="$ac_prog"
1382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1390 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1391 if test -n "$ac_ct_CXX"; then
1392 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1393 echo "${ECHO_T}$ac_ct_CXX" >&6
1395 echo "$as_me:$LINENO: result: no" >&5
1396 echo "${ECHO_T}no" >&6
1399 test -n "$ac_ct_CXX" && break
1401 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1407 # Provide some information about the compiler.
1408 echo "$as_me:$LINENO:" \
1409 "checking for C++ compiler version" >&5
1410 ac_compiler=`set X $ac_compile; echo $2`
1411 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1412 (eval $ac_compiler --version </dev/null >&5) 2>&5
1414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1415 (exit $ac_status); }
1416 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1417 (eval $ac_compiler -v </dev/null >&5) 2>&5
1419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1420 (exit $ac_status); }
1421 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1422 (eval $ac_compiler -V </dev/null >&5) 2>&5
1424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1425 (exit $ac_status); }
1427 cat >conftest.$ac_ext <<_ACEOF
1430 cat confdefs.h >>conftest.$ac_ext
1431 cat >>conftest.$ac_ext <<_ACEOF
1432 /* end confdefs.h. */
1442 ac_clean_files_save=$ac_clean_files
1443 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1444 # Try to create an executable without -o first, disregard a.out.
1445 # It will help us diagnose broken compilers, and finding out an intuition
1447 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
1448 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
1449 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
1450 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1451 (eval $ac_link_default) 2>&5
1453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1454 (exit $ac_status); }; then
1455 # Find the output, starting from the most likely. This scheme is
1456 # not robust to junk in `.', hence go to wildcards
(a.
*) only as a last
1459 # Be careful to initialize this variable, since it used to be cached.
1460 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1462 # b.out is created by i960 compilers.
1463 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1465 test -f "$ac_file" ||
continue
1467 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1470 # This is the source file.
1473 # We found the default executable, but exeext='' is most
1477 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1478 # FIXME: I believe we export ac_cv_exeext for Libtool,
1479 # but it would be cool to find out if it's true. Does anybody
1480 # maintain Libtool? --akim.
1488 echo "$as_me: failed program was:" >&5
1489 sed 's/^/| /' conftest.
$ac_ext >&5
1491 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
1492 See \`config.log' for more details." >&5
1493 echo "$as_me: error: C++ compiler cannot create executables
1494 See \`config.log' for more details." >&2;}
1495 { (exit 77); exit 77; }; }
1498 ac_exeext
=$ac_cv_exeext
1499 echo "$as_me:$LINENO: result: $ac_file" >&5
1500 echo "${ECHO_T}$ac_file" >&6
1502 # Check the compiler produces executables we can run. If not, either
1503 # the compiler is broken, or we cross compile.
1504 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
1505 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
1506 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1507 # If not cross compiling, check that we can run a simple program.
1508 if test "$cross_compiling" != yes; then
1509 if { ac_try
='./$ac_file'
1510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1514 (exit $ac_status); }; }; then
1517 if test "$cross_compiling" = maybe
; then
1520 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
1521 If you meant to cross compile, use \`--host'.
1522 See \`config.log' for more details." >&5
1523 echo "$as_me: error: cannot run C++ compiled programs.
1524 If you meant to cross compile, use \`--host'.
1525 See \`config.log' for more details." >&2;}
1526 { (exit 1); exit 1; }; }
1530 echo "$as_me:$LINENO: result: yes" >&5
1531 echo "${ECHO_T}yes" >&6
1533 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1534 ac_clean_files
=$ac_clean_files_save
1535 # Check the compiler produces executables we can run. If not, either
1536 # the compiler is broken, or we cross compile.
1537 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1538 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1539 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1540 echo "${ECHO_T}$cross_compiling" >&6
1542 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1543 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1545 (eval $ac_link) 2>&5
1547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1548 (exit $ac_status); }; then
1549 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1550 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1551 # work properly (i.e., refer to `conftest.exe'), while it won't with
1553 for ac_file
in conftest.exe conftest conftest.
*; do
1554 test -f "$ac_file" ||
continue
1556 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1557 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1564 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1565 See \`config.log' for more details." >&5
1566 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1567 See \`config.log' for more details." >&2;}
1568 { (exit 1); exit 1; }; }
1571 rm -f conftest
$ac_cv_exeext
1572 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1573 echo "${ECHO_T}$ac_cv_exeext" >&6
1575 rm -f conftest.
$ac_ext
1576 EXEEXT
=$ac_cv_exeext
1578 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1579 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1580 if test "${ac_cv_objext+set}" = set; then
1581 echo $ECHO_N "(cached) $ECHO_C" >&6
1583 cat >conftest.
$ac_ext <<_ACEOF
1586 cat confdefs.h
>>conftest.
$ac_ext
1587 cat >>conftest.
$ac_ext <<_ACEOF
1588 /* end confdefs.h. */
1598 rm -f conftest.o conftest.obj
1599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1600 (eval $ac_compile) 2>&5
1602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1603 (exit $ac_status); }; then
1604 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1606 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1607 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1612 echo "$as_me: failed program was:" >&5
1613 sed 's/^/| /' conftest.
$ac_ext >&5
1615 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1616 See \`config.log' for more details." >&5
1617 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1618 See \`config.log' for more details." >&2;}
1619 { (exit 1); exit 1; }; }
1622 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1624 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1625 echo "${ECHO_T}$ac_cv_objext" >&6
1626 OBJEXT
=$ac_cv_objext
1628 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
1629 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
1630 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1631 echo $ECHO_N "(cached) $ECHO_C" >&6
1633 cat >conftest.
$ac_ext <<_ACEOF
1636 cat confdefs.h
>>conftest.
$ac_ext
1637 cat >>conftest.
$ac_ext <<_ACEOF
1638 /* end confdefs.h. */
1651 rm -f conftest.
$ac_objext
1652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1653 (eval $ac_compile) 2>conftest.er1
1655 grep -v '^ *+' conftest.er1
>conftest.err
1657 cat conftest.err
>&5
1658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1659 (exit $ac_status); } &&
1660 { ac_try
='test -z "$ac_cxx_werror_flag"
1661 || test ! -s conftest.err'
1662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1666 (exit $ac_status); }; } &&
1667 { ac_try
='test -s conftest.$ac_objext'
1668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1672 (exit $ac_status); }; }; then
1675 echo "$as_me: failed program was:" >&5
1676 sed 's/^/| /' conftest.
$ac_ext >&5
1680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1681 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
1684 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
1685 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
1686 GXX
=`test $ac_compiler_gnu = yes && echo yes`
1687 ac_test_CXXFLAGS
=${CXXFLAGS+set}
1688 ac_save_CXXFLAGS
=$CXXFLAGS
1690 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
1691 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
1692 if test "${ac_cv_prog_cxx_g+set}" = set; then
1693 echo $ECHO_N "(cached) $ECHO_C" >&6
1695 cat >conftest.
$ac_ext <<_ACEOF
1698 cat confdefs.h
>>conftest.
$ac_ext
1699 cat >>conftest.
$ac_ext <<_ACEOF
1700 /* end confdefs.h. */
1710 rm -f conftest.
$ac_objext
1711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1712 (eval $ac_compile) 2>conftest.er1
1714 grep -v '^ *+' conftest.er1
>conftest.err
1716 cat conftest.err
>&5
1717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1718 (exit $ac_status); } &&
1719 { ac_try
='test -z "$ac_cxx_werror_flag"
1720 || test ! -s conftest.err'
1721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1725 (exit $ac_status); }; } &&
1726 { ac_try
='test -s conftest.$ac_objext'
1727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1731 (exit $ac_status); }; }; then
1732 ac_cv_prog_cxx_g
=yes
1734 echo "$as_me: failed program was:" >&5
1735 sed 's/^/| /' conftest.
$ac_ext >&5
1739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1741 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
1742 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1743 if test "$ac_test_CXXFLAGS" = set; then
1744 CXXFLAGS
=$ac_save_CXXFLAGS
1745 elif test $ac_cv_prog_cxx_g = yes; then
1746 if test "$GXX" = yes; then
1752 if test "$GXX" = yes; then
1758 for ac_declaration
in \
1760 'extern "C" void std::exit (int) throw (); using std::exit;' \
1761 'extern "C" void std::exit (int); using std::exit;' \
1762 'extern "C" void exit (int) throw ();' \
1763 'extern "C" void exit (int);' \
1766 cat >conftest.
$ac_ext <<_ACEOF
1769 cat confdefs.h
>>conftest.
$ac_ext
1770 cat >>conftest.
$ac_ext <<_ACEOF
1771 /* end confdefs.h. */
1782 rm -f conftest.
$ac_objext
1783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1784 (eval $ac_compile) 2>conftest.er1
1786 grep -v '^ *+' conftest.er1
>conftest.err
1788 cat conftest.err
>&5
1789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1790 (exit $ac_status); } &&
1791 { ac_try
='test -z "$ac_cxx_werror_flag"
1792 || test ! -s conftest.err'
1793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1797 (exit $ac_status); }; } &&
1798 { ac_try
='test -s conftest.$ac_objext'
1799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1803 (exit $ac_status); }; }; then
1806 echo "$as_me: failed program was:" >&5
1807 sed 's/^/| /' conftest.
$ac_ext >&5
1811 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1812 cat >conftest.
$ac_ext <<_ACEOF
1815 cat confdefs.h
>>conftest.
$ac_ext
1816 cat >>conftest.
$ac_ext <<_ACEOF
1817 /* end confdefs.h. */
1827 rm -f conftest.
$ac_objext
1828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1829 (eval $ac_compile) 2>conftest.er1
1831 grep -v '^ *+' conftest.er1
>conftest.err
1833 cat conftest.err
>&5
1834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1835 (exit $ac_status); } &&
1836 { ac_try
='test -z "$ac_cxx_werror_flag"
1837 || test ! -s conftest.err'
1838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1842 (exit $ac_status); }; } &&
1843 { ac_try
='test -s conftest.$ac_objext'
1844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1848 (exit $ac_status); }; }; then
1851 echo "$as_me: failed program was:" >&5
1852 sed 's/^/| /' conftest.
$ac_ext >&5
1855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1858 if test -n "$ac_declaration"; then
1859 echo '#ifdef __cplusplus' >>confdefs.h
1860 echo $ac_declaration >>confdefs.h
1861 echo '#endif' >>confdefs.h
1865 ac_cpp
='$CPP $CPPFLAGS'
1866 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1867 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1868 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1873 echo "Plugin source directory is $PWLIBDIR";
1877 if test "x$prefix" = "xNONE"; then
1878 INSTALLPREFIX
="/usr/local"
1880 INSTALLPREFIX
="${prefix}"
1888 # Check whether --enable-plugins or --disable-plugins was given.
1889 if test "${enable_plugins+set}" = set; then
1890 enableval
="$enable_plugins"
1893 if test "${enable_plugins}z" = "z" ; then
1896 if test "$enable_plugins" = "no" ; then
1897 { echo "$as_me:$LINENO: Plugins disabled" >&5
1898 echo "$as_me: Plugins disabled" >&6;}
1902 # Check whether --enable-audio or --disable-audio was given.
1903 if test "${enable_audio+set}" = set; then
1904 enableval
="$enable_audio"
1907 if test "${enable_audio}z" = "z" ; then
1911 if test "${enable_audio}" = "yes" ; then
1914 # Check whether --enable-alsa or --disable-alsa was given.
1915 if test "${enable_alsa+set}" = set; then
1916 enableval
="$enable_alsa"
1922 if test "${enable_alsa}z" = "yesz" ; then
1924 ac_cpp
='$CPP $CPPFLAGS'
1925 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1926 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1927 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1928 if test -n "$ac_tool_prefix"; then
1929 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1930 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1931 echo "$as_me:$LINENO: checking for $ac_word" >&5
1932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1933 if test "${ac_cv_prog_CC+set}" = set; then
1934 echo $ECHO_N "(cached) $ECHO_C" >&6
1936 if test -n "$CC"; then
1937 ac_cv_prog_CC
="$CC" # Let the user override the test.
1939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1943 test -z "$as_dir" && as_dir
=.
1944 for ac_exec_ext
in '' $ac_executable_extensions; do
1945 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1946 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1956 if test -n "$CC"; then
1957 echo "$as_me:$LINENO: result: $CC" >&5
1958 echo "${ECHO_T}$CC" >&6
1960 echo "$as_me:$LINENO: result: no" >&5
1961 echo "${ECHO_T}no" >&6
1965 if test -z "$ac_cv_prog_CC"; then
1967 # Extract the first word of "gcc", so it can be a program name with args.
1968 set dummy gcc
; ac_word
=$2
1969 echo "$as_me:$LINENO: checking for $ac_word" >&5
1970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1971 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1972 echo $ECHO_N "(cached) $ECHO_C" >&6
1974 if test -n "$ac_ct_CC"; then
1975 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1981 test -z "$as_dir" && as_dir
=.
1982 for ac_exec_ext
in '' $ac_executable_extensions; do
1983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1984 ac_cv_prog_ac_ct_CC
="gcc"
1985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1993 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1994 if test -n "$ac_ct_CC"; then
1995 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1996 echo "${ECHO_T}$ac_ct_CC" >&6
1998 echo "$as_me:$LINENO: result: no" >&5
1999 echo "${ECHO_T}no" >&6
2007 if test -z "$CC"; then
2008 if test -n "$ac_tool_prefix"; then
2009 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2010 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2011 echo "$as_me:$LINENO: checking for $ac_word" >&5
2012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2013 if test "${ac_cv_prog_CC+set}" = set; then
2014 echo $ECHO_N "(cached) $ECHO_C" >&6
2016 if test -n "$CC"; then
2017 ac_cv_prog_CC
="$CC" # Let the user override the test.
2019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2023 test -z "$as_dir" && as_dir
=.
2024 for ac_exec_ext
in '' $ac_executable_extensions; do
2025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2026 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2036 if test -n "$CC"; then
2037 echo "$as_me:$LINENO: result: $CC" >&5
2038 echo "${ECHO_T}$CC" >&6
2040 echo "$as_me:$LINENO: result: no" >&5
2041 echo "${ECHO_T}no" >&6
2045 if test -z "$ac_cv_prog_CC"; then
2047 # Extract the first word of "cc", so it can be a program name with args.
2048 set dummy cc
; ac_word
=$2
2049 echo "$as_me:$LINENO: checking for $ac_word" >&5
2050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2051 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2052 echo $ECHO_N "(cached) $ECHO_C" >&6
2054 if test -n "$ac_ct_CC"; then
2055 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2061 test -z "$as_dir" && as_dir
=.
2062 for ac_exec_ext
in '' $ac_executable_extensions; do
2063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2064 ac_cv_prog_ac_ct_CC
="cc"
2065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2073 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2074 if test -n "$ac_ct_CC"; then
2075 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2076 echo "${ECHO_T}$ac_ct_CC" >&6
2078 echo "$as_me:$LINENO: result: no" >&5
2079 echo "${ECHO_T}no" >&6
2088 if test -z "$CC"; then
2089 # Extract the first word of "cc", so it can be a program name with args.
2090 set dummy cc
; ac_word
=$2
2091 echo "$as_me:$LINENO: checking for $ac_word" >&5
2092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2093 if test "${ac_cv_prog_CC+set}" = set; then
2094 echo $ECHO_N "(cached) $ECHO_C" >&6
2096 if test -n "$CC"; then
2097 ac_cv_prog_CC
="$CC" # Let the user override the test.
2100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2104 test -z "$as_dir" && as_dir
=.
2105 for ac_exec_ext
in '' $ac_executable_extensions; do
2106 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2107 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2108 ac_prog_rejected
=yes
2112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2118 if test $ac_prog_rejected = yes; then
2119 # We found a bogon in the path, so make sure we never use it.
2120 set dummy
$ac_cv_prog_CC
2122 if test $# != 0; then
2123 # We chose a different compiler from the bogus one.
2124 # However, it has the same basename, so the bogon will be chosen
2125 # first if we set CC to just the basename; use the full file name.
2127 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2133 if test -n "$CC"; then
2134 echo "$as_me:$LINENO: result: $CC" >&5
2135 echo "${ECHO_T}$CC" >&6
2137 echo "$as_me:$LINENO: result: no" >&5
2138 echo "${ECHO_T}no" >&6
2142 if test -z "$CC"; then
2143 if test -n "$ac_tool_prefix"; then
2146 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2147 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2148 echo "$as_me:$LINENO: checking for $ac_word" >&5
2149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2150 if test "${ac_cv_prog_CC+set}" = set; then
2151 echo $ECHO_N "(cached) $ECHO_C" >&6
2153 if test -n "$CC"; then
2154 ac_cv_prog_CC
="$CC" # Let the user override the test.
2156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2160 test -z "$as_dir" && as_dir
=.
2161 for ac_exec_ext
in '' $ac_executable_extensions; do
2162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2163 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2173 if test -n "$CC"; then
2174 echo "$as_me:$LINENO: result: $CC" >&5
2175 echo "${ECHO_T}$CC" >&6
2177 echo "$as_me:$LINENO: result: no" >&5
2178 echo "${ECHO_T}no" >&6
2181 test -n "$CC" && break
2184 if test -z "$CC"; then
2188 # Extract the first word of "$ac_prog", so it can be a program name with args.
2189 set dummy
$ac_prog; ac_word
=$2
2190 echo "$as_me:$LINENO: checking for $ac_word" >&5
2191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2192 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2193 echo $ECHO_N "(cached) $ECHO_C" >&6
2195 if test -n "$ac_ct_CC"; then
2196 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2202 test -z "$as_dir" && as_dir
=.
2203 for ac_exec_ext
in '' $ac_executable_extensions; do
2204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2205 ac_cv_prog_ac_ct_CC
="$ac_prog"
2206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2214 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2215 if test -n "$ac_ct_CC"; then
2216 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2217 echo "${ECHO_T}$ac_ct_CC" >&6
2219 echo "$as_me:$LINENO: result: no" >&5
2220 echo "${ECHO_T}no" >&6
2223 test -n "$ac_ct_CC" && break
2232 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2233 See \`config.log' for more details." >&5
2234 echo "$as_me: error: no acceptable C compiler found in \$PATH
2235 See \`config.log' for more details." >&2;}
2236 { (exit 1); exit 1; }; }
2238 # Provide some information about the compiler.
2239 echo "$as_me:$LINENO:" \
2240 "checking for C compiler version" >&5
2241 ac_compiler
=`set X $ac_compile; echo $2`
2242 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2243 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2246 (exit $ac_status); }
2247 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2248 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2251 (exit $ac_status); }
2252 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2253 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2256 (exit $ac_status); }
2258 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2259 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2260 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2261 echo $ECHO_N "(cached) $ECHO_C" >&6
2263 cat >conftest.
$ac_ext <<_ACEOF
2266 cat confdefs.h
>>conftest.
$ac_ext
2267 cat >>conftest.
$ac_ext <<_ACEOF
2268 /* end confdefs.h. */
2281 rm -f conftest.
$ac_objext
2282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2283 (eval $ac_compile) 2>conftest.er1
2285 grep -v '^ *+' conftest.er1
>conftest.err
2287 cat conftest.err
>&5
2288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2289 (exit $ac_status); } &&
2290 { ac_try
='test -z "$ac_c_werror_flag"
2291 || test ! -s conftest.err'
2292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2296 (exit $ac_status); }; } &&
2297 { ac_try
='test -s conftest.$ac_objext'
2298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2302 (exit $ac_status); }; }; then
2305 echo "$as_me: failed program was:" >&5
2306 sed 's/^/| /' conftest.
$ac_ext >&5
2310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2311 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2314 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2315 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2316 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2317 ac_test_CFLAGS
=${CFLAGS+set}
2318 ac_save_CFLAGS
=$CFLAGS
2320 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2321 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2322 if test "${ac_cv_prog_cc_g+set}" = set; then
2323 echo $ECHO_N "(cached) $ECHO_C" >&6
2325 cat >conftest.
$ac_ext <<_ACEOF
2328 cat confdefs.h
>>conftest.
$ac_ext
2329 cat >>conftest.
$ac_ext <<_ACEOF
2330 /* end confdefs.h. */
2340 rm -f conftest.
$ac_objext
2341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2342 (eval $ac_compile) 2>conftest.er1
2344 grep -v '^ *+' conftest.er1
>conftest.err
2346 cat conftest.err
>&5
2347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2348 (exit $ac_status); } &&
2349 { ac_try
='test -z "$ac_c_werror_flag"
2350 || test ! -s conftest.err'
2351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355 (exit $ac_status); }; } &&
2356 { ac_try
='test -s conftest.$ac_objext'
2357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361 (exit $ac_status); }; }; then
2364 echo "$as_me: failed program was:" >&5
2365 sed 's/^/| /' conftest.
$ac_ext >&5
2369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2371 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2372 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2373 if test "$ac_test_CFLAGS" = set; then
2374 CFLAGS
=$ac_save_CFLAGS
2375 elif test $ac_cv_prog_cc_g = yes; then
2376 if test "$GCC" = yes; then
2382 if test "$GCC" = yes; then
2388 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2389 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2390 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2391 echo $ECHO_N "(cached) $ECHO_C" >&6
2393 ac_cv_prog_cc_stdc
=no
2395 cat >conftest.
$ac_ext <<_ACEOF
2398 cat confdefs.h
>>conftest.
$ac_ext
2399 cat >>conftest.
$ac_ext <<_ACEOF
2400 /* end confdefs.h. */
2403 #include <sys/types.h>
2404 #include <sys/stat.h>
2405 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2406 struct buf { int x; };
2407 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2408 static char *e (p, i)
2414 static char *f (char * (*g) (char **, int), char **p, ...)
2419 s = g (p, va_arg (v,int));
2424 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2425 function prototypes and stuff, but not '\xHH' hex character constants.
2426 These don't provoke an error unfortunately, instead are silently treated
2427 as 'x'. The following induces an error, until -std1 is added to get
2428 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2429 array size at least. It's necessary to write '\x00'==0 to get something
2430 that's true only with -std1. */
2431 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2433 int test (int i, double x);
2434 struct s1 {int (*f) (int a);};
2435 struct s2 {int (*f) (double a);};
2436 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2442 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2447 # Don't try gcc -ansi; that turns off useful extensions and
2448 # breaks some systems' header files.
2449 # AIX -qlanglvl=ansi
2450 # Ultrix and OSF/1 -std1
2451 # HP-UX 10.20 and later -Ae
2452 # HP-UX older versions -Aa -D_HPUX_SOURCE
2453 # SVR4 -Xc -D__EXTENSIONS__
2454 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2456 CC
="$ac_save_CC $ac_arg"
2457 rm -f conftest.
$ac_objext
2458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2459 (eval $ac_compile) 2>conftest.er1
2461 grep -v '^ *+' conftest.er1
>conftest.err
2463 cat conftest.err
>&5
2464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2465 (exit $ac_status); } &&
2466 { ac_try
='test -z "$ac_c_werror_flag"
2467 || test ! -s conftest.err'
2468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472 (exit $ac_status); }; } &&
2473 { ac_try
='test -s conftest.$ac_objext'
2474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2478 (exit $ac_status); }; }; then
2479 ac_cv_prog_cc_stdc
=$ac_arg
2482 echo "$as_me: failed program was:" >&5
2483 sed 's/^/| /' conftest.
$ac_ext >&5
2486 rm -f conftest.err conftest.
$ac_objext
2488 rm -f conftest.
$ac_ext conftest.
$ac_objext
2493 case "x$ac_cv_prog_cc_stdc" in
2495 echo "$as_me:$LINENO: result: none needed" >&5
2496 echo "${ECHO_T}none needed" >&6 ;;
2498 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2499 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2500 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2503 # Some people use a C++ compiler to compile C. Since we use `exit',
2504 # in C++ we need to declare it. In case someone uses the same compiler
2505 # for both compiling C and C++ we need to have the C++ compiler decide
2506 # the declaration of exit, since it's the most demanding environment.
2507 cat >conftest.
$ac_ext <<_ACEOF
2512 rm -f conftest.
$ac_objext
2513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2514 (eval $ac_compile) 2>conftest.er1
2516 grep -v '^ *+' conftest.er1
>conftest.err
2518 cat conftest.err
>&5
2519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520 (exit $ac_status); } &&
2521 { ac_try
='test -z "$ac_c_werror_flag"
2522 || test ! -s conftest.err'
2523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527 (exit $ac_status); }; } &&
2528 { ac_try
='test -s conftest.$ac_objext'
2529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533 (exit $ac_status); }; }; then
2534 for ac_declaration
in \
2536 'extern "C" void std::exit (int) throw (); using std::exit;' \
2537 'extern "C" void std::exit (int); using std::exit;' \
2538 'extern "C" void exit (int) throw ();' \
2539 'extern "C" void exit (int);' \
2542 cat >conftest.
$ac_ext <<_ACEOF
2545 cat confdefs.h
>>conftest.
$ac_ext
2546 cat >>conftest.
$ac_ext <<_ACEOF
2547 /* end confdefs.h. */
2558 rm -f conftest.
$ac_objext
2559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2560 (eval $ac_compile) 2>conftest.er1
2562 grep -v '^ *+' conftest.er1
>conftest.err
2564 cat conftest.err
>&5
2565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566 (exit $ac_status); } &&
2567 { ac_try
='test -z "$ac_c_werror_flag"
2568 || test ! -s conftest.err'
2569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2573 (exit $ac_status); }; } &&
2574 { ac_try
='test -s conftest.$ac_objext'
2575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2579 (exit $ac_status); }; }; then
2582 echo "$as_me: failed program was:" >&5
2583 sed 's/^/| /' conftest.
$ac_ext >&5
2587 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2588 cat >conftest.
$ac_ext <<_ACEOF
2591 cat confdefs.h
>>conftest.
$ac_ext
2592 cat >>conftest.
$ac_ext <<_ACEOF
2593 /* end confdefs.h. */
2603 rm -f conftest.
$ac_objext
2604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2605 (eval $ac_compile) 2>conftest.er1
2607 grep -v '^ *+' conftest.er1
>conftest.err
2609 cat conftest.err
>&5
2610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2611 (exit $ac_status); } &&
2612 { ac_try
='test -z "$ac_c_werror_flag"
2613 || test ! -s conftest.err'
2614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618 (exit $ac_status); }; } &&
2619 { ac_try
='test -s conftest.$ac_objext'
2620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2624 (exit $ac_status); }; }; then
2627 echo "$as_me: failed program was:" >&5
2628 sed 's/^/| /' conftest.
$ac_ext >&5
2631 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2634 if test -n "$ac_declaration"; then
2635 echo '#ifdef __cplusplus' >>confdefs.h
2636 echo $ac_declaration >>confdefs.h
2637 echo '#endif' >>confdefs.h
2641 echo "$as_me: failed program was:" >&5
2642 sed 's/^/| /' conftest.
$ac_ext >&5
2645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2647 ac_cpp
='$CPP $CPPFLAGS'
2648 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2649 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2650 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2654 ac_cpp
='$CPP $CPPFLAGS'
2655 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2656 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2657 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2658 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2659 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2660 # On Suns, sometimes $CPP names a directory.
2661 if test -n "$CPP" && test -d "$CPP"; then
2664 if test -z "$CPP"; then
2665 if test "${ac_cv_prog_CPP+set}" = set; then
2666 echo $ECHO_N "(cached) $ECHO_C" >&6
2668 # Double quotes because CPP needs to be expanded
2669 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2672 for ac_c_preproc_warn_flag
in '' yes
2674 # Use a header file that comes with gcc, so configuring glibc
2675 # with a fresh cross-compiler works.
2676 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2677 # <limits.h> exists even on freestanding compilers.
2678 # On the NeXT, cc -E runs the code through the compiler's parser,
2679 # not just through cpp. "Syntax error" is here to catch this case.
2680 cat >conftest.
$ac_ext <<_ACEOF
2683 cat confdefs.h
>>conftest.
$ac_ext
2684 cat >>conftest.
$ac_ext <<_ACEOF
2685 /* end confdefs.h. */
2687 # include <limits.h>
2689 # include <assert.h>
2693 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2694 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2696 grep -v '^ *+' conftest.er1
>conftest.err
2698 cat conftest.err
>&5
2699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2700 (exit $ac_status); } >/dev
/null
; then
2701 if test -s conftest.err
; then
2702 ac_cpp_err
=$ac_c_preproc_warn_flag
2703 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2710 if test -z "$ac_cpp_err"; then
2713 echo "$as_me: failed program was:" >&5
2714 sed 's/^/| /' conftest.
$ac_ext >&5
2716 # Broken: fails on valid input.
2719 rm -f conftest.err conftest.
$ac_ext
2721 # OK, works on sane cases. Now check whether non-existent headers
2722 # can be detected and how.
2723 cat >conftest.
$ac_ext <<_ACEOF
2726 cat confdefs.h
>>conftest.
$ac_ext
2727 cat >>conftest.
$ac_ext <<_ACEOF
2728 /* end confdefs.h. */
2729 #include <ac_nonexistent.h>
2731 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2732 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2734 grep -v '^ *+' conftest.er1
>conftest.err
2736 cat conftest.err
>&5
2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738 (exit $ac_status); } >/dev
/null
; then
2739 if test -s conftest.err
; then
2740 ac_cpp_err
=$ac_c_preproc_warn_flag
2741 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2748 if test -z "$ac_cpp_err"; then
2749 # Broken: success on invalid input.
2752 echo "$as_me: failed program was:" >&5
2753 sed 's/^/| /' conftest.
$ac_ext >&5
2755 # Passes both tests.
2759 rm -f conftest.err conftest.
$ac_ext
2762 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2763 rm -f conftest.err conftest.
$ac_ext
2764 if $ac_preproc_ok; then
2776 echo "$as_me:$LINENO: result: $CPP" >&5
2777 echo "${ECHO_T}$CPP" >&6
2779 for ac_c_preproc_warn_flag
in '' yes
2781 # Use a header file that comes with gcc, so configuring glibc
2782 # with a fresh cross-compiler works.
2783 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2784 # <limits.h> exists even on freestanding compilers.
2785 # On the NeXT, cc -E runs the code through the compiler's parser,
2786 # not just through cpp. "Syntax error" is here to catch this case.
2787 cat >conftest.
$ac_ext <<_ACEOF
2790 cat confdefs.h
>>conftest.
$ac_ext
2791 cat >>conftest.
$ac_ext <<_ACEOF
2792 /* end confdefs.h. */
2794 # include <limits.h>
2796 # include <assert.h>
2800 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2801 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2803 grep -v '^ *+' conftest.er1
>conftest.err
2805 cat conftest.err
>&5
2806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2807 (exit $ac_status); } >/dev
/null
; then
2808 if test -s conftest.err
; then
2809 ac_cpp_err
=$ac_c_preproc_warn_flag
2810 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2817 if test -z "$ac_cpp_err"; then
2820 echo "$as_me: failed program was:" >&5
2821 sed 's/^/| /' conftest.
$ac_ext >&5
2823 # Broken: fails on valid input.
2826 rm -f conftest.err conftest.
$ac_ext
2828 # OK, works on sane cases. Now check whether non-existent headers
2829 # can be detected and how.
2830 cat >conftest.
$ac_ext <<_ACEOF
2833 cat confdefs.h
>>conftest.
$ac_ext
2834 cat >>conftest.
$ac_ext <<_ACEOF
2835 /* end confdefs.h. */
2836 #include <ac_nonexistent.h>
2838 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2839 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2841 grep -v '^ *+' conftest.er1
>conftest.err
2843 cat conftest.err
>&5
2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); } >/dev
/null
; then
2846 if test -s conftest.err
; then
2847 ac_cpp_err
=$ac_c_preproc_warn_flag
2848 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2855 if test -z "$ac_cpp_err"; then
2856 # Broken: success on invalid input.
2859 echo "$as_me: failed program was:" >&5
2860 sed 's/^/| /' conftest.
$ac_ext >&5
2862 # Passes both tests.
2866 rm -f conftest.err conftest.
$ac_ext
2869 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2870 rm -f conftest.err conftest.
$ac_ext
2871 if $ac_preproc_ok; then
2874 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2875 See \`config.log' for more details." >&5
2876 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2877 See \`config.log' for more details." >&2;}
2878 { (exit 1); exit 1; }; }
2882 ac_cpp
='$CPP $CPPFLAGS'
2883 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2884 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2885 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2888 echo "$as_me:$LINENO: checking for egrep" >&5
2889 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2890 if test "${ac_cv_prog_egrep+set}" = set; then
2891 echo $ECHO_N "(cached) $ECHO_C" >&6
2893 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2894 then ac_cv_prog_egrep
='grep -E'
2895 else ac_cv_prog_egrep
='egrep'
2898 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2899 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2900 EGREP
=$ac_cv_prog_egrep
2903 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2904 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2905 if test "${ac_cv_header_stdc+set}" = set; then
2906 echo $ECHO_N "(cached) $ECHO_C" >&6
2908 cat >conftest.
$ac_ext <<_ACEOF
2911 cat confdefs.h
>>conftest.
$ac_ext
2912 cat >>conftest.
$ac_ext <<_ACEOF
2913 /* end confdefs.h. */
2927 rm -f conftest.
$ac_objext
2928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2929 (eval $ac_compile) 2>conftest.er1
2931 grep -v '^ *+' conftest.er1
>conftest.err
2933 cat conftest.err
>&5
2934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935 (exit $ac_status); } &&
2936 { ac_try
='test -z "$ac_c_werror_flag"
2937 || test ! -s conftest.err'
2938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2942 (exit $ac_status); }; } &&
2943 { ac_try
='test -s conftest.$ac_objext'
2944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948 (exit $ac_status); }; }; then
2949 ac_cv_header_stdc
=yes
2951 echo "$as_me: failed program was:" >&5
2952 sed 's/^/| /' conftest.
$ac_ext >&5
2954 ac_cv_header_stdc
=no
2956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2958 if test $ac_cv_header_stdc = yes; then
2959 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2960 cat >conftest.
$ac_ext <<_ACEOF
2963 cat confdefs.h
>>conftest.
$ac_ext
2964 cat >>conftest.
$ac_ext <<_ACEOF
2965 /* end confdefs.h. */
2969 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2970 $EGREP "memchr" >/dev
/null
2>&1; then
2973 ac_cv_header_stdc
=no
2979 if test $ac_cv_header_stdc = yes; then
2980 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2981 cat >conftest.
$ac_ext <<_ACEOF
2984 cat confdefs.h
>>conftest.
$ac_ext
2985 cat >>conftest.
$ac_ext <<_ACEOF
2986 /* end confdefs.h. */
2990 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2991 $EGREP "free" >/dev
/null
2>&1; then
2994 ac_cv_header_stdc
=no
3000 if test $ac_cv_header_stdc = yes; then
3001 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3002 if test "$cross_compiling" = yes; then
3005 cat >conftest.
$ac_ext <<_ACEOF
3008 cat confdefs.h
>>conftest.
$ac_ext
3009 cat >>conftest.
$ac_ext <<_ACEOF
3010 /* end confdefs.h. */
3012 #if ((' ' & 0x0FF) == 0x020)
3013 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3014 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3016 # define ISLOWER(c) \
3017 (('a' <= (c) && (c) <= 'i') \
3018 || ('j' <= (c) && (c) <= 'r') \
3019 || ('s' <= (c) && (c) <= 'z'))
3020 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3023 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3028 for (i = 0; i < 256; i++)
3029 if (XOR (islower (i), ISLOWER (i))
3030 || toupper (i) != TOUPPER (i))
3035 rm -f conftest
$ac_exeext
3036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3037 (eval $ac_link) 2>&5
3039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3040 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3045 (exit $ac_status); }; }; then
3048 echo "$as_me: program exited with status $ac_status" >&5
3049 echo "$as_me: failed program was:" >&5
3050 sed 's/^/| /' conftest.
$ac_ext >&5
3053 ac_cv_header_stdc
=no
3055 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3059 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3060 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3061 if test $ac_cv_header_stdc = yes; then
3063 cat >>confdefs.h
<<\_ACEOF
3064 #define STDC_HEADERS 1
3069 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3079 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3080 inttypes.h stdint.h unistd.h
3082 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3083 echo "$as_me:$LINENO: checking for $ac_header" >&5
3084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3086 echo $ECHO_N "(cached) $ECHO_C" >&6
3088 cat >conftest.
$ac_ext <<_ACEOF
3091 cat confdefs.h
>>conftest.
$ac_ext
3092 cat >>conftest.
$ac_ext <<_ACEOF
3093 /* end confdefs.h. */
3094 $ac_includes_default
3096 #include <$ac_header>
3098 rm -f conftest.
$ac_objext
3099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3100 (eval $ac_compile) 2>conftest.er1
3102 grep -v '^ *+' conftest.er1
>conftest.err
3104 cat conftest.err
>&5
3105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106 (exit $ac_status); } &&
3107 { ac_try
='test -z "$ac_c_werror_flag"
3108 || test ! -s conftest.err'
3109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3113 (exit $ac_status); }; } &&
3114 { ac_try
='test -s conftest.$ac_objext'
3115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3119 (exit $ac_status); }; }; then
3120 eval "$as_ac_Header=yes"
3122 echo "$as_me: failed program was:" >&5
3123 sed 's/^/| /' conftest.
$ac_ext >&5
3125 eval "$as_ac_Header=no"
3127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3130 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3131 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3132 cat >>confdefs.h
<<_ACEOF
3133 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3141 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
3142 echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
3143 echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6
3144 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
3145 echo $ECHO_N "(cached) $ECHO_C" >&6
3147 echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
3148 echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6
3150 # Is the header compilable?
3151 echo "$as_me:$LINENO: checking alsa/asoundlib.h usability" >&5
3152 echo $ECHO_N "checking alsa/asoundlib.h usability... $ECHO_C" >&6
3153 cat >conftest.
$ac_ext <<_ACEOF
3156 cat confdefs.h
>>conftest.
$ac_ext
3157 cat >>conftest.
$ac_ext <<_ACEOF
3158 /* end confdefs.h. */
3159 $ac_includes_default
3160 #include <alsa/asoundlib.h>
3162 rm -f conftest.
$ac_objext
3163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3164 (eval $ac_compile) 2>conftest.er1
3166 grep -v '^ *+' conftest.er1
>conftest.err
3168 cat conftest.err
>&5
3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); } &&
3171 { ac_try
='test -z "$ac_c_werror_flag"
3172 || test ! -s conftest.err'
3173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177 (exit $ac_status); }; } &&
3178 { ac_try
='test -s conftest.$ac_objext'
3179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183 (exit $ac_status); }; }; then
3184 ac_header_compiler
=yes
3186 echo "$as_me: failed program was:" >&5
3187 sed 's/^/| /' conftest.
$ac_ext >&5
3189 ac_header_compiler
=no
3191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3192 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3193 echo "${ECHO_T}$ac_header_compiler" >&6
3195 # Is the header present?
3196 echo "$as_me:$LINENO: checking alsa/asoundlib.h presence" >&5
3197 echo $ECHO_N "checking alsa/asoundlib.h presence... $ECHO_C" >&6
3198 cat >conftest.
$ac_ext <<_ACEOF
3201 cat confdefs.h
>>conftest.
$ac_ext
3202 cat >>conftest.
$ac_ext <<_ACEOF
3203 /* end confdefs.h. */
3204 #include <alsa/asoundlib.h>
3206 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3207 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3209 grep -v '^ *+' conftest.er1
>conftest.err
3211 cat conftest.err
>&5
3212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3213 (exit $ac_status); } >/dev
/null
; then
3214 if test -s conftest.err
; then
3215 ac_cpp_err
=$ac_c_preproc_warn_flag
3216 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3223 if test -z "$ac_cpp_err"; then
3224 ac_header_preproc
=yes
3226 echo "$as_me: failed program was:" >&5
3227 sed 's/^/| /' conftest.
$ac_ext >&5
3229 ac_header_preproc
=no
3231 rm -f conftest.err conftest.
$ac_ext
3232 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3233 echo "${ECHO_T}$ac_header_preproc" >&6
3235 # So? What about this header?
3236 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3238 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
3239 echo "$as_me: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3240 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&5
3241 echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&2;}
3242 ac_header_preproc
=yes
3245 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&5
3246 echo "$as_me: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&2;}
3247 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&5
3248 echo "$as_me: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&2;}
3249 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&5
3250 echo "$as_me: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&2;}
3251 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&5
3252 echo "$as_me: WARNING: alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
3253 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&5
3254 echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;}
3255 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&5
3256 echo "$as_me: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&2;}
3259 ## ------------------------------------------ ##
3260 ## Report this to the AC_PACKAGE_NAME lists. ##
3261 ## ------------------------------------------ ##
3264 sed "s/^/$as_me: WARNING: /" >&2
3267 echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
3268 echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6
3269 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
3270 echo $ECHO_N "(cached) $ECHO_C" >&6
3272 ac_cv_header_alsa_asoundlib_h
=$ac_header_preproc
3274 echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
3275 echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6
3278 if test $ac_cv_header_alsa_asoundlib_h = yes; then
3283 echo "$as_me:$LINENO: checking for ALSA sound support" >&5
3284 echo $ECHO_N "checking for ALSA sound support... $ECHO_C" >&6
3285 if test "${ALSAHDR}z" != "z"; then
3288 echo "$as_me:$LINENO: result: yes" >&5
3289 echo "${ECHO_T}yes" >&6
3291 echo "$as_me:$LINENO: result: no" >&5
3292 echo "${ECHO_T}no" >&6
3297 # Check whether --enable-esd or --disable-esd was given.
3298 if test "${enable_esd+set}" = set; then
3299 enableval
="$enable_esd"
3305 if test "${enable_esd}z" = "yesz" ; then
3306 if test "${ac_cv_header_esd_h+set}" = set; then
3307 echo "$as_me:$LINENO: checking for esd.h" >&5
3308 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
3309 if test "${ac_cv_header_esd_h+set}" = set; then
3310 echo $ECHO_N "(cached) $ECHO_C" >&6
3312 echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
3313 echo "${ECHO_T}$ac_cv_header_esd_h" >&6
3315 # Is the header compilable?
3316 echo "$as_me:$LINENO: checking esd.h usability" >&5
3317 echo $ECHO_N "checking esd.h usability... $ECHO_C" >&6
3318 cat >conftest.
$ac_ext <<_ACEOF
3321 cat confdefs.h
>>conftest.
$ac_ext
3322 cat >>conftest.
$ac_ext <<_ACEOF
3323 /* end confdefs.h. */
3324 $ac_includes_default
3327 rm -f conftest.
$ac_objext
3328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3329 (eval $ac_compile) 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); } &&
3336 { ac_try
='test -z "$ac_c_werror_flag"
3337 || test ! -s conftest.err'
3338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3342 (exit $ac_status); }; } &&
3343 { ac_try
='test -s conftest.$ac_objext'
3344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3348 (exit $ac_status); }; }; then
3349 ac_header_compiler
=yes
3351 echo "$as_me: failed program was:" >&5
3352 sed 's/^/| /' conftest.
$ac_ext >&5
3354 ac_header_compiler
=no
3356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3357 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3358 echo "${ECHO_T}$ac_header_compiler" >&6
3360 # Is the header present?
3361 echo "$as_me:$LINENO: checking esd.h presence" >&5
3362 echo $ECHO_N "checking esd.h presence... $ECHO_C" >&6
3363 cat >conftest.
$ac_ext <<_ACEOF
3366 cat confdefs.h
>>conftest.
$ac_ext
3367 cat >>conftest.
$ac_ext <<_ACEOF
3368 /* end confdefs.h. */
3371 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3372 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3374 grep -v '^ *+' conftest.er1
>conftest.err
3376 cat conftest.err
>&5
3377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3378 (exit $ac_status); } >/dev
/null
; then
3379 if test -s conftest.err
; then
3380 ac_cpp_err
=$ac_c_preproc_warn_flag
3381 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3388 if test -z "$ac_cpp_err"; then
3389 ac_header_preproc
=yes
3391 echo "$as_me: failed program was:" >&5
3392 sed 's/^/| /' conftest.
$ac_ext >&5
3394 ac_header_preproc
=no
3396 rm -f conftest.err conftest.
$ac_ext
3397 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3398 echo "${ECHO_T}$ac_header_preproc" >&6
3400 # So? What about this header?
3401 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3403 { echo "$as_me:$LINENO: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&5
3404 echo "$as_me: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3405 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the compiler's result" >&5
3406 echo "$as_me: WARNING: esd.h: proceeding with the compiler's result" >&2;}
3407 ac_header_preproc
=yes
3410 { echo "$as_me:$LINENO: WARNING: esd.h: present but cannot be compiled" >&5
3411 echo "$as_me: WARNING: esd.h: present but cannot be compiled" >&2;}
3412 { echo "$as_me:$LINENO: WARNING: esd.h: check for missing prerequisite headers?" >&5
3413 echo "$as_me: WARNING: esd.h: check for missing prerequisite headers?" >&2;}
3414 { echo "$as_me:$LINENO: WARNING: esd.h: see the Autoconf documentation" >&5
3415 echo "$as_me: WARNING: esd.h: see the Autoconf documentation" >&2;}
3416 { echo "$as_me:$LINENO: WARNING: esd.h: section \"Present But Cannot Be Compiled\"" >&5
3417 echo "$as_me: WARNING: esd.h: section \"Present But Cannot Be Compiled\"" >&2;}
3418 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
3419 echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
3420 { echo "$as_me:$LINENO: WARNING: esd.h: in the future, the compiler will take precedence" >&5
3421 echo "$as_me: WARNING: esd.h: in the future, the compiler will take precedence" >&2;}
3424 ## ------------------------------------------ ##
3425 ## Report this to the AC_PACKAGE_NAME lists. ##
3426 ## ------------------------------------------ ##
3429 sed "s/^/$as_me: WARNING: /" >&2
3432 echo "$as_me:$LINENO: checking for esd.h" >&5
3433 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
3434 if test "${ac_cv_header_esd_h+set}" = set; then
3435 echo $ECHO_N "(cached) $ECHO_C" >&6
3437 ac_cv_header_esd_h
=$ac_header_preproc
3439 echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
3440 echo "${ECHO_T}$ac_cv_header_esd_h" >&6
3443 if test $ac_cv_header_esd_h = yes; then
3448 echo "$as_me:$LINENO: checking for ESD sound support" >&5
3449 echo $ECHO_N "checking for ESD sound support... $ECHO_C" >&6
3450 if test "${ESDHDR}z" != "z"; then
3453 echo "$as_me:$LINENO: result: yes" >&5
3454 echo "${ECHO_T}yes" >&6
3456 echo "$as_me:$LINENO: result: no" >&5
3457 echo "${ECHO_T}no" >&6
3462 # Check whether --enable-oss or --disable-oss was given.
3463 if test "${enable_oss+set}" = set; then
3464 enableval
="$enable_oss"
3470 if test "${enable_oss}z" = "yesz" ; then
3471 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
3472 echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5
3473 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6
3474 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
3475 echo $ECHO_N "(cached) $ECHO_C" >&6
3477 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5
3478 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6
3480 # Is the header compilable?
3481 echo "$as_me:$LINENO: checking sys/soundcard.h usability" >&5
3482 echo $ECHO_N "checking sys/soundcard.h usability... $ECHO_C" >&6
3483 cat >conftest.
$ac_ext <<_ACEOF
3486 cat confdefs.h
>>conftest.
$ac_ext
3487 cat >>conftest.
$ac_ext <<_ACEOF
3488 /* end confdefs.h. */
3489 $ac_includes_default
3490 #include <sys/soundcard.h>
3492 rm -f conftest.
$ac_objext
3493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3494 (eval $ac_compile) 2>conftest.er1
3496 grep -v '^ *+' conftest.er1
>conftest.err
3498 cat conftest.err
>&5
3499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500 (exit $ac_status); } &&
3501 { ac_try
='test -z "$ac_c_werror_flag"
3502 || test ! -s conftest.err'
3503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3507 (exit $ac_status); }; } &&
3508 { ac_try
='test -s conftest.$ac_objext'
3509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3513 (exit $ac_status); }; }; then
3514 ac_header_compiler
=yes
3516 echo "$as_me: failed program was:" >&5
3517 sed 's/^/| /' conftest.
$ac_ext >&5
3519 ac_header_compiler
=no
3521 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3522 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3523 echo "${ECHO_T}$ac_header_compiler" >&6
3525 # Is the header present?
3526 echo "$as_me:$LINENO: checking sys/soundcard.h presence" >&5
3527 echo $ECHO_N "checking sys/soundcard.h presence... $ECHO_C" >&6
3528 cat >conftest.
$ac_ext <<_ACEOF
3531 cat confdefs.h
>>conftest.
$ac_ext
3532 cat >>conftest.
$ac_ext <<_ACEOF
3533 /* end confdefs.h. */
3534 #include <sys/soundcard.h>
3536 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3537 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3539 grep -v '^ *+' conftest.er1
>conftest.err
3541 cat conftest.err
>&5
3542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3543 (exit $ac_status); } >/dev
/null
; then
3544 if test -s conftest.err
; then
3545 ac_cpp_err
=$ac_c_preproc_warn_flag
3546 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3553 if test -z "$ac_cpp_err"; then
3554 ac_header_preproc
=yes
3556 echo "$as_me: failed program was:" >&5
3557 sed 's/^/| /' conftest.
$ac_ext >&5
3559 ac_header_preproc
=no
3561 rm -f conftest.err conftest.
$ac_ext
3562 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3563 echo "${ECHO_T}$ac_header_preproc" >&6
3565 # So? What about this header?
3566 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3568 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5
3569 echo "$as_me: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3570 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&5
3571 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&2;}
3572 ac_header_preproc
=yes
3575 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: present but cannot be compiled" >&5
3576 echo "$as_me: WARNING: sys/soundcard.h: present but cannot be compiled" >&2;}
3577 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&5
3578 echo "$as_me: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&2;}
3579 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: see the Autoconf documentation" >&5
3580 echo "$as_me: WARNING: sys/soundcard.h: see the Autoconf documentation" >&2;}
3581 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&5
3582 echo "$as_me: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;}
3583 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&5
3584 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&2;}
3585 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5
3586 echo "$as_me: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&2;}
3589 ## ------------------------------------------ ##
3590 ## Report this to the AC_PACKAGE_NAME lists. ##
3591 ## ------------------------------------------ ##
3594 sed "s/^/$as_me: WARNING: /" >&2
3597 echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5
3598 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6
3599 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
3600 echo $ECHO_N "(cached) $ECHO_C" >&6
3602 ac_cv_header_sys_soundcard_h
=$ac_header_preproc
3604 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5
3605 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6
3608 if test $ac_cv_header_sys_soundcard_h = yes; then
3613 echo "$as_me:$LINENO: checking for OSS sound support" >&5
3614 echo $ECHO_N "checking for OSS sound support... $ECHO_C" >&6
3615 if test "${SNDCARDHDR}z" != "z"; then
3618 echo "$as_me:$LINENO: result: yes" >&5
3619 echo "${ECHO_T}yes" >&6
3621 echo "$as_me:$LINENO: result: no" >&5
3622 echo "${ECHO_T}no" >&6
3627 # Check whether --enable-sunaudio or --disable-sunaudio was given.
3628 if test "${enable_sunaudio+set}" = set; then
3629 enableval
="$enable_sunaudio"
3635 if test "${enable_sunaudio}z" = "yesz" ; then
3636 if test "${ac_cv_header_sys_conf_h+set}" = set; then
3637 echo "$as_me:$LINENO: checking for sys/conf.h" >&5
3638 echo $ECHO_N "checking for sys/conf.h... $ECHO_C" >&6
3639 if test "${ac_cv_header_sys_conf_h+set}" = set; then
3640 echo $ECHO_N "(cached) $ECHO_C" >&6
3642 echo "$as_me:$LINENO: result: $ac_cv_header_sys_conf_h" >&5
3643 echo "${ECHO_T}$ac_cv_header_sys_conf_h" >&6
3645 # Is the header compilable?
3646 echo "$as_me:$LINENO: checking sys/conf.h usability" >&5
3647 echo $ECHO_N "checking sys/conf.h usability... $ECHO_C" >&6
3648 cat >conftest.
$ac_ext <<_ACEOF
3651 cat confdefs.h
>>conftest.
$ac_ext
3652 cat >>conftest.
$ac_ext <<_ACEOF
3653 /* end confdefs.h. */
3654 $ac_includes_default
3655 #include <sys/conf.h>
3657 rm -f conftest.
$ac_objext
3658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3659 (eval $ac_compile) 2>conftest.er1
3661 grep -v '^ *+' conftest.er1
>conftest.err
3663 cat conftest.err
>&5
3664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3665 (exit $ac_status); } &&
3666 { ac_try
='test -z "$ac_c_werror_flag"
3667 || test ! -s conftest.err'
3668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672 (exit $ac_status); }; } &&
3673 { ac_try
='test -s conftest.$ac_objext'
3674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3678 (exit $ac_status); }; }; then
3679 ac_header_compiler
=yes
3681 echo "$as_me: failed program was:" >&5
3682 sed 's/^/| /' conftest.
$ac_ext >&5
3684 ac_header_compiler
=no
3686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3687 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3688 echo "${ECHO_T}$ac_header_compiler" >&6
3690 # Is the header present?
3691 echo "$as_me:$LINENO: checking sys/conf.h presence" >&5
3692 echo $ECHO_N "checking sys/conf.h presence... $ECHO_C" >&6
3693 cat >conftest.
$ac_ext <<_ACEOF
3696 cat confdefs.h
>>conftest.
$ac_ext
3697 cat >>conftest.
$ac_ext <<_ACEOF
3698 /* end confdefs.h. */
3699 #include <sys/conf.h>
3701 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3702 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3704 grep -v '^ *+' conftest.er1
>conftest.err
3706 cat conftest.err
>&5
3707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3708 (exit $ac_status); } >/dev
/null
; then
3709 if test -s conftest.err
; then
3710 ac_cpp_err
=$ac_c_preproc_warn_flag
3711 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3718 if test -z "$ac_cpp_err"; then
3719 ac_header_preproc
=yes
3721 echo "$as_me: failed program was:" >&5
3722 sed 's/^/| /' conftest.
$ac_ext >&5
3724 ac_header_preproc
=no
3726 rm -f conftest.err conftest.
$ac_ext
3727 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3728 echo "${ECHO_T}$ac_header_preproc" >&6
3730 # So? What about this header?
3731 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3733 { echo "$as_me:$LINENO: WARNING: sys/conf.h: accepted by the compiler, rejected by the preprocessor!" >&5
3734 echo "$as_me: WARNING: sys/conf.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3735 { echo "$as_me:$LINENO: WARNING: sys/conf.h: proceeding with the compiler's result" >&5
3736 echo "$as_me: WARNING: sys/conf.h: proceeding with the compiler's result" >&2;}
3737 ac_header_preproc
=yes
3740 { echo "$as_me:$LINENO: WARNING: sys/conf.h: present but cannot be compiled" >&5
3741 echo "$as_me: WARNING: sys/conf.h: present but cannot be compiled" >&2;}
3742 { echo "$as_me:$LINENO: WARNING: sys/conf.h: check for missing prerequisite headers?" >&5
3743 echo "$as_me: WARNING: sys/conf.h: check for missing prerequisite headers?" >&2;}
3744 { echo "$as_me:$LINENO: WARNING: sys/conf.h: see the Autoconf documentation" >&5
3745 echo "$as_me: WARNING: sys/conf.h: see the Autoconf documentation" >&2;}
3746 { echo "$as_me:$LINENO: WARNING: sys/conf.h: section \"Present But Cannot Be Compiled\"" >&5
3747 echo "$as_me: WARNING: sys/conf.h: section \"Present But Cannot Be Compiled\"" >&2;}
3748 { echo "$as_me:$LINENO: WARNING: sys/conf.h: proceeding with the preprocessor's result" >&5
3749 echo "$as_me: WARNING: sys/conf.h: proceeding with the preprocessor's result" >&2;}
3750 { echo "$as_me:$LINENO: WARNING: sys/conf.h: in the future, the compiler will take precedence" >&5
3751 echo "$as_me: WARNING: sys/conf.h: in the future, the compiler will take precedence" >&2;}
3754 ## ------------------------------------------ ##
3755 ## Report this to the AC_PACKAGE_NAME lists. ##
3756 ## ------------------------------------------ ##
3759 sed "s/^/$as_me: WARNING: /" >&2
3762 echo "$as_me:$LINENO: checking for sys/conf.h" >&5
3763 echo $ECHO_N "checking for sys/conf.h... $ECHO_C" >&6
3764 if test "${ac_cv_header_sys_conf_h+set}" = set; then
3765 echo $ECHO_N "(cached) $ECHO_C" >&6
3767 ac_cv_header_sys_conf_h
=$ac_header_preproc
3769 echo "$as_me:$LINENO: result: $ac_cv_header_sys_conf_h" >&5
3770 echo "${ECHO_T}$ac_cv_header_sys_conf_h" >&6
3773 if test $ac_cv_header_sys_conf_h = yes; then
3778 echo "$as_me:$LINENO: checking for Sun audio sound support" >&5
3779 echo $ECHO_N "checking for Sun audio sound support... $ECHO_C" >&6
3780 if test "${SNDCARDHDR}z" != "z"; then
3783 echo "$as_me:$LINENO: result: yes" >&5
3784 echo "${ECHO_T}yes" >&6
3786 echo "$as_me:$LINENO: result: no" >&5
3787 echo "${ECHO_T}no" >&6
3792 # Check whether --enable-video or --disable-video was given.
3793 if test "${enable_video+set}" = set; then
3794 enableval
="$enable_video"
3798 if test "${enable_video}z" = "z" ; then
3802 if test "$enable_video" = "yes" ; then
3805 # Check whether --enable-v4l or --disable-v4l was given.
3806 if test "${enable_v4l+set}" = set; then
3807 enableval
="$enable_v4l"
3813 if test "${enable_v4l}z" = "yesz" ; then
3814 if test "${ac_cv_header_linux_videodev_h+set}" = set; then
3815 echo "$as_me:$LINENO: checking for linux/videodev.h" >&5
3816 echo $ECHO_N "checking for linux/videodev.h... $ECHO_C" >&6
3817 if test "${ac_cv_header_linux_videodev_h+set}" = set; then
3818 echo $ECHO_N "(cached) $ECHO_C" >&6
3820 echo "$as_me:$LINENO: result: $ac_cv_header_linux_videodev_h" >&5
3821 echo "${ECHO_T}$ac_cv_header_linux_videodev_h" >&6
3823 # Is the header compilable?
3824 echo "$as_me:$LINENO: checking linux/videodev.h usability" >&5
3825 echo $ECHO_N "checking linux/videodev.h usability... $ECHO_C" >&6
3826 cat >conftest.
$ac_ext <<_ACEOF
3829 cat confdefs.h
>>conftest.
$ac_ext
3830 cat >>conftest.
$ac_ext <<_ACEOF
3831 /* end confdefs.h. */
3832 $ac_includes_default
3833 #include <linux/videodev.h>
3835 rm -f conftest.
$ac_objext
3836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3837 (eval $ac_compile) 2>conftest.er1
3839 grep -v '^ *+' conftest.er1
>conftest.err
3841 cat conftest.err
>&5
3842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3843 (exit $ac_status); } &&
3844 { ac_try
='test -z "$ac_c_werror_flag"
3845 || test ! -s conftest.err'
3846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3850 (exit $ac_status); }; } &&
3851 { ac_try
='test -s conftest.$ac_objext'
3852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856 (exit $ac_status); }; }; then
3857 ac_header_compiler
=yes
3859 echo "$as_me: failed program was:" >&5
3860 sed 's/^/| /' conftest.
$ac_ext >&5
3862 ac_header_compiler
=no
3864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3865 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3866 echo "${ECHO_T}$ac_header_compiler" >&6
3868 # Is the header present?
3869 echo "$as_me:$LINENO: checking linux/videodev.h presence" >&5
3870 echo $ECHO_N "checking linux/videodev.h presence... $ECHO_C" >&6
3871 cat >conftest.
$ac_ext <<_ACEOF
3874 cat confdefs.h
>>conftest.
$ac_ext
3875 cat >>conftest.
$ac_ext <<_ACEOF
3876 /* end confdefs.h. */
3877 #include <linux/videodev.h>
3879 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3880 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3882 grep -v '^ *+' conftest.er1
>conftest.err
3884 cat conftest.err
>&5
3885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3886 (exit $ac_status); } >/dev
/null
; then
3887 if test -s conftest.err
; then
3888 ac_cpp_err
=$ac_c_preproc_warn_flag
3889 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3896 if test -z "$ac_cpp_err"; then
3897 ac_header_preproc
=yes
3899 echo "$as_me: failed program was:" >&5
3900 sed 's/^/| /' conftest.
$ac_ext >&5
3902 ac_header_preproc
=no
3904 rm -f conftest.err conftest.
$ac_ext
3905 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3906 echo "${ECHO_T}$ac_header_preproc" >&6
3908 # So? What about this header?
3909 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3911 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: accepted by the compiler, rejected by the preprocessor!" >&5
3912 echo "$as_me: WARNING: linux/videodev.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3913 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: proceeding with the compiler's result" >&5
3914 echo "$as_me: WARNING: linux/videodev.h: proceeding with the compiler's result" >&2;}
3915 ac_header_preproc
=yes
3918 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: present but cannot be compiled" >&5
3919 echo "$as_me: WARNING: linux/videodev.h: present but cannot be compiled" >&2;}
3920 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: check for missing prerequisite headers?" >&5
3921 echo "$as_me: WARNING: linux/videodev.h: check for missing prerequisite headers?" >&2;}
3922 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: see the Autoconf documentation" >&5
3923 echo "$as_me: WARNING: linux/videodev.h: see the Autoconf documentation" >&2;}
3924 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: section \"Present But Cannot Be Compiled\"" >&5
3925 echo "$as_me: WARNING: linux/videodev.h: section \"Present But Cannot Be Compiled\"" >&2;}
3926 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: proceeding with the preprocessor's result" >&5
3927 echo "$as_me: WARNING: linux/videodev.h: proceeding with the preprocessor's result" >&2;}
3928 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: in the future, the compiler will take precedence" >&5
3929 echo "$as_me: WARNING: linux/videodev.h: in the future, the compiler will take precedence" >&2;}
3932 ## ------------------------------------------ ##
3933 ## Report this to the AC_PACKAGE_NAME lists. ##
3934 ## ------------------------------------------ ##
3937 sed "s/^/$as_me: WARNING: /" >&2
3940 echo "$as_me:$LINENO: checking for linux/videodev.h" >&5
3941 echo $ECHO_N "checking for linux/videodev.h... $ECHO_C" >&6
3942 if test "${ac_cv_header_linux_videodev_h+set}" = set; then
3943 echo $ECHO_N "(cached) $ECHO_C" >&6
3945 ac_cv_header_linux_videodev_h
=$ac_header_preproc
3947 echo "$as_me:$LINENO: result: $ac_cv_header_linux_videodev_h" >&5
3948 echo "${ECHO_T}$ac_cv_header_linux_videodev_h" >&6
3951 if test $ac_cv_header_linux_videodev_h = yes; then
3956 echo "$as_me:$LINENO: checking for V4L video support" >&5
3957 echo $ECHO_N "checking for V4L video support... $ECHO_C" >&6
3958 if test "${V4LHDR}z" != "z"; then
3961 echo "$as_me:$LINENO: result: yes" >&5
3962 echo "${ECHO_T}yes" >&6
3964 echo "$as_me:$LINENO: result: no" >&5
3965 echo "${ECHO_T}no" >&6
3970 # Check whether --enable-v4l2 or --disable-v4l2 was given.
3971 if test "${enable_v4l2+set}" = set; then
3972 enableval
="$enable_v4l2"
3978 if test "${enable_v4l2}z" = "yesz" ; then
3979 if test "${OSTYPE}z" = "solaris2.11z"; then
3980 VIDEODEV
="sys/videodev2.h"
3982 VIDEODEV
="linux/videodev2.h"
3984 as_ac_Header
=`echo "ac_cv_header_$VIDEODEV" | $as_tr_sh`
3985 echo "$as_me:$LINENO: checking for $VIDEODEV" >&5
3986 echo $ECHO_N "checking for $VIDEODEV... $ECHO_C" >&6
3987 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3988 echo $ECHO_N "(cached) $ECHO_C" >&6
3990 cat >conftest.
$ac_ext <<_ACEOF
3993 cat confdefs.h
>>conftest.
$ac_ext
3994 cat >>conftest.
$ac_ext <<_ACEOF
3995 /* end confdefs.h. */
3998 #include <linux/types.h>
4002 #include <$VIDEODEV>
4004 rm -f conftest.
$ac_objext
4005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4006 (eval $ac_compile) 2>conftest.er1
4008 grep -v '^ *+' conftest.er1
>conftest.err
4010 cat conftest.err
>&5
4011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4012 (exit $ac_status); } &&
4013 { ac_try
='test -z "$ac_c_werror_flag"
4014 || test ! -s conftest.err'
4015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4019 (exit $ac_status); }; } &&
4020 { ac_try
='test -s conftest.$ac_objext'
4021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4025 (exit $ac_status); }; }; then
4026 eval "$as_ac_Header=yes"
4028 echo "$as_me: failed program was:" >&5
4029 sed 's/^/| /' conftest.
$ac_ext >&5
4031 eval "$as_ac_Header=no"
4033 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4036 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4037 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4041 # We can't use AC_CHECK_HEADER again because
4042 # the value is cached, perhaps we have another
4043 # method to do this more cleanly ?
4044 echo "$as_me:$LINENO: checking for $VIDEODEV with sys/types.h" >&5
4045 echo $ECHO_N "checking for $VIDEODEV with sys/types.h... $ECHO_C" >&6
4046 cat >conftest.
$ac_ext <<_ACEOF
4049 cat confdefs.h
>>conftest.
$ac_ext
4050 cat >>conftest.
$ac_ext <<_ACEOF
4051 /* end confdefs.h. */
4054 #include <sys/types.h>
4055 #include <linux/types.h>
4058 #include <sys/types.h>
4059 #include <sys/time.h>
4061 #error "not supported"
4075 rm -f conftest.
$ac_objext
4076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4077 (eval $ac_compile) 2>conftest.er1
4079 grep -v '^ *+' conftest.er1
>conftest.err
4081 cat conftest.err
>&5
4082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4083 (exit $ac_status); } &&
4084 { ac_try
='test -z "$ac_c_werror_flag"
4085 || test ! -s conftest.err'
4086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090 (exit $ac_status); }; } &&
4091 { ac_try
='test -s conftest.$ac_objext'
4092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4096 (exit $ac_status); }; }; then
4099 echo "$as_me:$LINENO: result: yes" >&5
4100 echo "${ECHO_T}yes" >&6
4103 echo "$as_me: failed program was:" >&5
4104 sed 's/^/| /' conftest.
$ac_ext >&5
4107 echo "$as_me:$LINENO: result: no" >&5
4108 echo "${ECHO_T}no" >&6
4111 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4116 echo "$as_me:$LINENO: checking for V4L2 video support" >&5
4117 echo $ECHO_N "checking for V4L2 video support... $ECHO_C" >&6
4118 if test "${V4L2HDR}z" != "z"; then
4121 echo "$as_me:$LINENO: result: yes" >&5
4122 echo "${ECHO_T}yes" >&6
4124 echo "$as_me:$LINENO: result: no" >&5
4125 echo "${ECHO_T}no" >&6
4130 # Check whether --enable-bsdvideo or --disable-bsdvideo was given.
4131 if test "${enable_bsdvideo+set}" = set; then
4132 enableval
="$enable_bsdvideo"
4138 if test "${enable_bsdvideo}z" = "yesz" ; then
4139 if test "${ac_cv_header_machine_ioctl_meteor_h+set}" = set; then
4140 echo "$as_me:$LINENO: checking for machine/ioctl_meteor.h" >&5
4141 echo $ECHO_N "checking for machine/ioctl_meteor.h... $ECHO_C" >&6
4142 if test "${ac_cv_header_machine_ioctl_meteor_h+set}" = set; then
4143 echo $ECHO_N "(cached) $ECHO_C" >&6
4145 echo "$as_me:$LINENO: result: $ac_cv_header_machine_ioctl_meteor_h" >&5
4146 echo "${ECHO_T}$ac_cv_header_machine_ioctl_meteor_h" >&6
4148 # Is the header compilable?
4149 echo "$as_me:$LINENO: checking machine/ioctl_meteor.h usability" >&5
4150 echo $ECHO_N "checking machine/ioctl_meteor.h usability... $ECHO_C" >&6
4151 cat >conftest.
$ac_ext <<_ACEOF
4154 cat confdefs.h
>>conftest.
$ac_ext
4155 cat >>conftest.
$ac_ext <<_ACEOF
4156 /* end confdefs.h. */
4157 $ac_includes_default
4158 #include <machine/ioctl_meteor.h>
4160 rm -f conftest.
$ac_objext
4161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4162 (eval $ac_compile) 2>conftest.er1
4164 grep -v '^ *+' conftest.er1
>conftest.err
4166 cat conftest.err
>&5
4167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4168 (exit $ac_status); } &&
4169 { ac_try
='test -z "$ac_c_werror_flag"
4170 || test ! -s conftest.err'
4171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4175 (exit $ac_status); }; } &&
4176 { ac_try
='test -s conftest.$ac_objext'
4177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4181 (exit $ac_status); }; }; then
4182 ac_header_compiler
=yes
4184 echo "$as_me: failed program was:" >&5
4185 sed 's/^/| /' conftest.
$ac_ext >&5
4187 ac_header_compiler
=no
4189 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4190 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4191 echo "${ECHO_T}$ac_header_compiler" >&6
4193 # Is the header present?
4194 echo "$as_me:$LINENO: checking machine/ioctl_meteor.h presence" >&5
4195 echo $ECHO_N "checking machine/ioctl_meteor.h presence... $ECHO_C" >&6
4196 cat >conftest.
$ac_ext <<_ACEOF
4199 cat confdefs.h
>>conftest.
$ac_ext
4200 cat >>conftest.
$ac_ext <<_ACEOF
4201 /* end confdefs.h. */
4202 #include <machine/ioctl_meteor.h>
4204 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4205 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4207 grep -v '^ *+' conftest.er1
>conftest.err
4209 cat conftest.err
>&5
4210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4211 (exit $ac_status); } >/dev
/null
; then
4212 if test -s conftest.err
; then
4213 ac_cpp_err
=$ac_c_preproc_warn_flag
4214 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4221 if test -z "$ac_cpp_err"; then
4222 ac_header_preproc
=yes
4224 echo "$as_me: failed program was:" >&5
4225 sed 's/^/| /' conftest.
$ac_ext >&5
4227 ac_header_preproc
=no
4229 rm -f conftest.err conftest.
$ac_ext
4230 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4231 echo "${ECHO_T}$ac_header_preproc" >&6
4233 # So? What about this header?
4234 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4236 { echo "$as_me:$LINENO: WARNING: machine/ioctl_meteor.h: accepted by the compiler, rejected by the preprocessor!" >&5
4237 echo "$as_me: WARNING: machine/ioctl_meteor.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4238 { echo "$as_me:$LINENO: WARNING: machine/ioctl_meteor.h: proceeding with the compiler's result" >&5
4239 echo "$as_me: WARNING: machine/ioctl_meteor.h: proceeding with the compiler's result" >&2;}
4240 ac_header_preproc
=yes
4243 { echo "$as_me:$LINENO: WARNING: machine/ioctl_meteor.h: present but cannot be compiled" >&5
4244 echo "$as_me: WARNING: machine/ioctl_meteor.h: present but cannot be compiled" >&2;}
4245 { echo "$as_me:$LINENO: WARNING: machine/ioctl_meteor.h: check for missing prerequisite headers?" >&5
4246 echo "$as_me: WARNING: machine/ioctl_meteor.h: check for missing prerequisite headers?" >&2;}
4247 { echo "$as_me:$LINENO: WARNING: machine/ioctl_meteor.h: see the Autoconf documentation" >&5
4248 echo "$as_me: WARNING: machine/ioctl_meteor.h: see the Autoconf documentation" >&2;}
4249 { echo "$as_me:$LINENO: WARNING: machine/ioctl_meteor.h: section \"Present But Cannot Be Compiled\"" >&5
4250 echo "$as_me: WARNING: machine/ioctl_meteor.h: section \"Present But Cannot Be Compiled\"" >&2;}
4251 { echo "$as_me:$LINENO: WARNING: machine/ioctl_meteor.h: proceeding with the preprocessor's result" >&5
4252 echo "$as_me: WARNING: machine/ioctl_meteor.h: proceeding with the preprocessor's result" >&2;}
4253 { echo "$as_me:$LINENO: WARNING: machine/ioctl_meteor.h: in the future, the compiler will take precedence" >&5
4254 echo "$as_me: WARNING: machine/ioctl_meteor.h: in the future, the compiler will take precedence" >&2;}
4257 ## ------------------------------------------ ##
4258 ## Report this to the AC_PACKAGE_NAME lists. ##
4259 ## ------------------------------------------ ##
4262 sed "s/^/$as_me: WARNING: /" >&2
4265 echo "$as_me:$LINENO: checking for machine/ioctl_meteor.h" >&5
4266 echo $ECHO_N "checking for machine/ioctl_meteor.h... $ECHO_C" >&6
4267 if test "${ac_cv_header_machine_ioctl_meteor_h+set}" = set; then
4268 echo $ECHO_N "(cached) $ECHO_C" >&6
4270 ac_cv_header_machine_ioctl_meteor_h
=$ac_header_preproc
4272 echo "$as_me:$LINENO: result: $ac_cv_header_machine_ioctl_meteor_h" >&5
4273 echo "${ECHO_T}$ac_cv_header_machine_ioctl_meteor_h" >&6
4276 if test $ac_cv_header_machine_ioctl_meteor_h = yes; then
4281 if test "${ac_cv_header_i386_ioctl_meteor_h+set}" = set; then
4282 echo "$as_me:$LINENO: checking for i386/ioctl_meteor.h" >&5
4283 echo $ECHO_N "checking for i386/ioctl_meteor.h... $ECHO_C" >&6
4284 if test "${ac_cv_header_i386_ioctl_meteor_h+set}" = set; then
4285 echo $ECHO_N "(cached) $ECHO_C" >&6
4287 echo "$as_me:$LINENO: result: $ac_cv_header_i386_ioctl_meteor_h" >&5
4288 echo "${ECHO_T}$ac_cv_header_i386_ioctl_meteor_h" >&6
4290 # Is the header compilable?
4291 echo "$as_me:$LINENO: checking i386/ioctl_meteor.h usability" >&5
4292 echo $ECHO_N "checking i386/ioctl_meteor.h usability... $ECHO_C" >&6
4293 cat >conftest.
$ac_ext <<_ACEOF
4296 cat confdefs.h
>>conftest.
$ac_ext
4297 cat >>conftest.
$ac_ext <<_ACEOF
4298 /* end confdefs.h. */
4299 $ac_includes_default
4300 #include <i386/ioctl_meteor.h>
4302 rm -f conftest.
$ac_objext
4303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4304 (eval $ac_compile) 2>conftest.er1
4306 grep -v '^ *+' conftest.er1
>conftest.err
4308 cat conftest.err
>&5
4309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4310 (exit $ac_status); } &&
4311 { ac_try
='test -z "$ac_c_werror_flag"
4312 || test ! -s conftest.err'
4313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4317 (exit $ac_status); }; } &&
4318 { ac_try
='test -s conftest.$ac_objext'
4319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4323 (exit $ac_status); }; }; then
4324 ac_header_compiler
=yes
4326 echo "$as_me: failed program was:" >&5
4327 sed 's/^/| /' conftest.
$ac_ext >&5
4329 ac_header_compiler
=no
4331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4332 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4333 echo "${ECHO_T}$ac_header_compiler" >&6
4335 # Is the header present?
4336 echo "$as_me:$LINENO: checking i386/ioctl_meteor.h presence" >&5
4337 echo $ECHO_N "checking i386/ioctl_meteor.h presence... $ECHO_C" >&6
4338 cat >conftest.
$ac_ext <<_ACEOF
4341 cat confdefs.h
>>conftest.
$ac_ext
4342 cat >>conftest.
$ac_ext <<_ACEOF
4343 /* end confdefs.h. */
4344 #include <i386/ioctl_meteor.h>
4346 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4347 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4349 grep -v '^ *+' conftest.er1
>conftest.err
4351 cat conftest.err
>&5
4352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4353 (exit $ac_status); } >/dev
/null
; then
4354 if test -s conftest.err
; then
4355 ac_cpp_err
=$ac_c_preproc_warn_flag
4356 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4363 if test -z "$ac_cpp_err"; then
4364 ac_header_preproc
=yes
4366 echo "$as_me: failed program was:" >&5
4367 sed 's/^/| /' conftest.
$ac_ext >&5
4369 ac_header_preproc
=no
4371 rm -f conftest.err conftest.
$ac_ext
4372 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4373 echo "${ECHO_T}$ac_header_preproc" >&6
4375 # So? What about this header?
4376 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4378 { echo "$as_me:$LINENO: WARNING: i386/ioctl_meteor.h: accepted by the compiler, rejected by the preprocessor!" >&5
4379 echo "$as_me: WARNING: i386/ioctl_meteor.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4380 { echo "$as_me:$LINENO: WARNING: i386/ioctl_meteor.h: proceeding with the compiler's result" >&5
4381 echo "$as_me: WARNING: i386/ioctl_meteor.h: proceeding with the compiler's result" >&2;}
4382 ac_header_preproc
=yes
4385 { echo "$as_me:$LINENO: WARNING: i386/ioctl_meteor.h: present but cannot be compiled" >&5
4386 echo "$as_me: WARNING: i386/ioctl_meteor.h: present but cannot be compiled" >&2;}
4387 { echo "$as_me:$LINENO: WARNING: i386/ioctl_meteor.h: check for missing prerequisite headers?" >&5
4388 echo "$as_me: WARNING: i386/ioctl_meteor.h: check for missing prerequisite headers?" >&2;}
4389 { echo "$as_me:$LINENO: WARNING: i386/ioctl_meteor.h: see the Autoconf documentation" >&5
4390 echo "$as_me: WARNING: i386/ioctl_meteor.h: see the Autoconf documentation" >&2;}
4391 { echo "$as_me:$LINENO: WARNING: i386/ioctl_meteor.h: section \"Present But Cannot Be Compiled\"" >&5
4392 echo "$as_me: WARNING: i386/ioctl_meteor.h: section \"Present But Cannot Be Compiled\"" >&2;}
4393 { echo "$as_me:$LINENO: WARNING: i386/ioctl_meteor.h: proceeding with the preprocessor's result" >&5
4394 echo "$as_me: WARNING: i386/ioctl_meteor.h: proceeding with the preprocessor's result" >&2;}
4395 { echo "$as_me:$LINENO: WARNING: i386/ioctl_meteor.h: in the future, the compiler will take precedence" >&5
4396 echo "$as_me: WARNING: i386/ioctl_meteor.h: in the future, the compiler will take precedence" >&2;}
4399 ## ------------------------------------------ ##
4400 ## Report this to the AC_PACKAGE_NAME lists. ##
4401 ## ------------------------------------------ ##
4404 sed "s/^/$as_me: WARNING: /" >&2
4407 echo "$as_me:$LINENO: checking for i386/ioctl_meteor.h" >&5
4408 echo $ECHO_N "checking for i386/ioctl_meteor.h... $ECHO_C" >&6
4409 if test "${ac_cv_header_i386_ioctl_meteor_h+set}" = set; then
4410 echo $ECHO_N "(cached) $ECHO_C" >&6
4412 ac_cv_header_i386_ioctl_meteor_h
=$ac_header_preproc
4414 echo "$as_me:$LINENO: result: $ac_cv_header_i386_ioctl_meteor_h" >&5
4415 echo "${ECHO_T}$ac_cv_header_i386_ioctl_meteor_h" >&6
4418 if test $ac_cv_header_i386_ioctl_meteor_h = yes; then
4423 if test "${ac_cv_header_dev_ic_bt8xx_h+set}" = set; then
4424 echo "$as_me:$LINENO: checking for dev/ic/bt8xx.h" >&5
4425 echo $ECHO_N "checking for dev/ic/bt8xx.h... $ECHO_C" >&6
4426 if test "${ac_cv_header_dev_ic_bt8xx_h+set}" = set; then
4427 echo $ECHO_N "(cached) $ECHO_C" >&6
4429 echo "$as_me:$LINENO: result: $ac_cv_header_dev_ic_bt8xx_h" >&5
4430 echo "${ECHO_T}$ac_cv_header_dev_ic_bt8xx_h" >&6
4432 # Is the header compilable?
4433 echo "$as_me:$LINENO: checking dev/ic/bt8xx.h usability" >&5
4434 echo $ECHO_N "checking dev/ic/bt8xx.h usability... $ECHO_C" >&6
4435 cat >conftest.
$ac_ext <<_ACEOF
4438 cat confdefs.h
>>conftest.
$ac_ext
4439 cat >>conftest.
$ac_ext <<_ACEOF
4440 /* end confdefs.h. */
4441 $ac_includes_default
4442 #include <dev/ic/bt8xx.h>
4444 rm -f conftest.
$ac_objext
4445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4446 (eval $ac_compile) 2>conftest.er1
4448 grep -v '^ *+' conftest.er1
>conftest.err
4450 cat conftest.err
>&5
4451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4452 (exit $ac_status); } &&
4453 { ac_try
='test -z "$ac_c_werror_flag"
4454 || test ! -s conftest.err'
4455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4459 (exit $ac_status); }; } &&
4460 { ac_try
='test -s conftest.$ac_objext'
4461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465 (exit $ac_status); }; }; then
4466 ac_header_compiler
=yes
4468 echo "$as_me: failed program was:" >&5
4469 sed 's/^/| /' conftest.
$ac_ext >&5
4471 ac_header_compiler
=no
4473 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4474 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4475 echo "${ECHO_T}$ac_header_compiler" >&6
4477 # Is the header present?
4478 echo "$as_me:$LINENO: checking dev/ic/bt8xx.h presence" >&5
4479 echo $ECHO_N "checking dev/ic/bt8xx.h presence... $ECHO_C" >&6
4480 cat >conftest.
$ac_ext <<_ACEOF
4483 cat confdefs.h
>>conftest.
$ac_ext
4484 cat >>conftest.
$ac_ext <<_ACEOF
4485 /* end confdefs.h. */
4486 #include <dev/ic/bt8xx.h>
4488 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4489 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4491 grep -v '^ *+' conftest.er1
>conftest.err
4493 cat conftest.err
>&5
4494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4495 (exit $ac_status); } >/dev
/null
; then
4496 if test -s conftest.err
; then
4497 ac_cpp_err
=$ac_c_preproc_warn_flag
4498 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4505 if test -z "$ac_cpp_err"; then
4506 ac_header_preproc
=yes
4508 echo "$as_me: failed program was:" >&5
4509 sed 's/^/| /' conftest.
$ac_ext >&5
4511 ac_header_preproc
=no
4513 rm -f conftest.err conftest.
$ac_ext
4514 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4515 echo "${ECHO_T}$ac_header_preproc" >&6
4517 # So? What about this header?
4518 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4520 { echo "$as_me:$LINENO: WARNING: dev/ic/bt8xx.h: accepted by the compiler, rejected by the preprocessor!" >&5
4521 echo "$as_me: WARNING: dev/ic/bt8xx.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4522 { echo "$as_me:$LINENO: WARNING: dev/ic/bt8xx.h: proceeding with the compiler's result" >&5
4523 echo "$as_me: WARNING: dev/ic/bt8xx.h: proceeding with the compiler's result" >&2;}
4524 ac_header_preproc
=yes
4527 { echo "$as_me:$LINENO: WARNING: dev/ic/bt8xx.h: present but cannot be compiled" >&5
4528 echo "$as_me: WARNING: dev/ic/bt8xx.h: present but cannot be compiled" >&2;}
4529 { echo "$as_me:$LINENO: WARNING: dev/ic/bt8xx.h: check for missing prerequisite headers?" >&5
4530 echo "$as_me: WARNING: dev/ic/bt8xx.h: check for missing prerequisite headers?" >&2;}
4531 { echo "$as_me:$LINENO: WARNING: dev/ic/bt8xx.h: see the Autoconf documentation" >&5
4532 echo "$as_me: WARNING: dev/ic/bt8xx.h: see the Autoconf documentation" >&2;}
4533 { echo "$as_me:$LINENO: WARNING: dev/ic/bt8xx.h: section \"Present But Cannot Be Compiled\"" >&5
4534 echo "$as_me: WARNING: dev/ic/bt8xx.h: section \"Present But Cannot Be Compiled\"" >&2;}
4535 { echo "$as_me:$LINENO: WARNING: dev/ic/bt8xx.h: proceeding with the preprocessor's result" >&5
4536 echo "$as_me: WARNING: dev/ic/bt8xx.h: proceeding with the preprocessor's result" >&2;}
4537 { echo "$as_me:$LINENO: WARNING: dev/ic/bt8xx.h: in the future, the compiler will take precedence" >&5
4538 echo "$as_me: WARNING: dev/ic/bt8xx.h: in the future, the compiler will take precedence" >&2;}
4541 ## ------------------------------------------ ##
4542 ## Report this to the AC_PACKAGE_NAME lists. ##
4543 ## ------------------------------------------ ##
4546 sed "s/^/$as_me: WARNING: /" >&2
4549 echo "$as_me:$LINENO: checking for dev/ic/bt8xx.h" >&5
4550 echo $ECHO_N "checking for dev/ic/bt8xx.h... $ECHO_C" >&6
4551 if test "${ac_cv_header_dev_ic_bt8xx_h+set}" = set; then
4552 echo $ECHO_N "(cached) $ECHO_C" >&6
4554 ac_cv_header_dev_ic_bt8xx_h
=$ac_header_preproc
4556 echo "$as_me:$LINENO: result: $ac_cv_header_dev_ic_bt8xx_h" >&5
4557 echo "${ECHO_T}$ac_cv_header_dev_ic_bt8xx_h" >&6
4560 if test $ac_cv_header_dev_ic_bt8xx_h = yes; then
4565 echo "$as_me:$LINENO: checking for BSD video support" >&5
4566 echo $ECHO_N "checking for BSD video support... $ECHO_C" >&6
4567 if test "${BSDVIDEOHDR}z" != "z"; then
4570 echo "$as_me:$LINENO: result: yes" >&5
4571 echo "${ECHO_T}yes" >&6
4573 echo "$as_me:$LINENO: result: no" >&5
4574 echo "${ECHO_T}no" >&6
4579 # Check whether --enable-avc or --disable-avc was given.
4580 if test "${enable_avc+set}" = set; then
4581 enableval
="$enable_avc"
4587 if test "${enable_avc}z" = "yesz" ; then
4588 if test "${ac_cv_header_libavc1394_avc1394_h+set}" = set; then
4589 echo "$as_me:$LINENO: checking for libavc1394/avc1394.h" >&5
4590 echo $ECHO_N "checking for libavc1394/avc1394.h... $ECHO_C" >&6
4591 if test "${ac_cv_header_libavc1394_avc1394_h+set}" = set; then
4592 echo $ECHO_N "(cached) $ECHO_C" >&6
4594 echo "$as_me:$LINENO: result: $ac_cv_header_libavc1394_avc1394_h" >&5
4595 echo "${ECHO_T}$ac_cv_header_libavc1394_avc1394_h" >&6
4597 # Is the header compilable?
4598 echo "$as_me:$LINENO: checking libavc1394/avc1394.h usability" >&5
4599 echo $ECHO_N "checking libavc1394/avc1394.h usability... $ECHO_C" >&6
4600 cat >conftest.
$ac_ext <<_ACEOF
4603 cat confdefs.h
>>conftest.
$ac_ext
4604 cat >>conftest.
$ac_ext <<_ACEOF
4605 /* end confdefs.h. */
4606 $ac_includes_default
4607 #include <libavc1394/avc1394.h>
4609 rm -f conftest.
$ac_objext
4610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4611 (eval $ac_compile) 2>conftest.er1
4613 grep -v '^ *+' conftest.er1
>conftest.err
4615 cat conftest.err
>&5
4616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4617 (exit $ac_status); } &&
4618 { ac_try
='test -z "$ac_c_werror_flag"
4619 || test ! -s conftest.err'
4620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4624 (exit $ac_status); }; } &&
4625 { ac_try
='test -s conftest.$ac_objext'
4626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4630 (exit $ac_status); }; }; then
4631 ac_header_compiler
=yes
4633 echo "$as_me: failed program was:" >&5
4634 sed 's/^/| /' conftest.
$ac_ext >&5
4636 ac_header_compiler
=no
4638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4639 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4640 echo "${ECHO_T}$ac_header_compiler" >&6
4642 # Is the header present?
4643 echo "$as_me:$LINENO: checking libavc1394/avc1394.h presence" >&5
4644 echo $ECHO_N "checking libavc1394/avc1394.h presence... $ECHO_C" >&6
4645 cat >conftest.
$ac_ext <<_ACEOF
4648 cat confdefs.h
>>conftest.
$ac_ext
4649 cat >>conftest.
$ac_ext <<_ACEOF
4650 /* end confdefs.h. */
4651 #include <libavc1394/avc1394.h>
4653 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4654 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4656 grep -v '^ *+' conftest.er1
>conftest.err
4658 cat conftest.err
>&5
4659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660 (exit $ac_status); } >/dev
/null
; then
4661 if test -s conftest.err
; then
4662 ac_cpp_err
=$ac_c_preproc_warn_flag
4663 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4670 if test -z "$ac_cpp_err"; then
4671 ac_header_preproc
=yes
4673 echo "$as_me: failed program was:" >&5
4674 sed 's/^/| /' conftest.
$ac_ext >&5
4676 ac_header_preproc
=no
4678 rm -f conftest.err conftest.
$ac_ext
4679 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4680 echo "${ECHO_T}$ac_header_preproc" >&6
4682 # So? What about this header?
4683 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4685 { echo "$as_me:$LINENO: WARNING: libavc1394/avc1394.h: accepted by the compiler, rejected by the preprocessor!" >&5
4686 echo "$as_me: WARNING: libavc1394/avc1394.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4687 { echo "$as_me:$LINENO: WARNING: libavc1394/avc1394.h: proceeding with the compiler's result" >&5
4688 echo "$as_me: WARNING: libavc1394/avc1394.h: proceeding with the compiler's result" >&2;}
4689 ac_header_preproc
=yes
4692 { echo "$as_me:$LINENO: WARNING: libavc1394/avc1394.h: present but cannot be compiled" >&5
4693 echo "$as_me: WARNING: libavc1394/avc1394.h: present but cannot be compiled" >&2;}
4694 { echo "$as_me:$LINENO: WARNING: libavc1394/avc1394.h: check for missing prerequisite headers?" >&5
4695 echo "$as_me: WARNING: libavc1394/avc1394.h: check for missing prerequisite headers?" >&2;}
4696 { echo "$as_me:$LINENO: WARNING: libavc1394/avc1394.h: see the Autoconf documentation" >&5
4697 echo "$as_me: WARNING: libavc1394/avc1394.h: see the Autoconf documentation" >&2;}
4698 { echo "$as_me:$LINENO: WARNING: libavc1394/avc1394.h: section \"Present But Cannot Be Compiled\"" >&5
4699 echo "$as_me: WARNING: libavc1394/avc1394.h: section \"Present But Cannot Be Compiled\"" >&2;}
4700 { echo "$as_me:$LINENO: WARNING: libavc1394/avc1394.h: proceeding with the preprocessor's result" >&5
4701 echo "$as_me: WARNING: libavc1394/avc1394.h: proceeding with the preprocessor's result" >&2;}
4702 { echo "$as_me:$LINENO: WARNING: libavc1394/avc1394.h: in the future, the compiler will take precedence" >&5
4703 echo "$as_me: WARNING: libavc1394/avc1394.h: in the future, the compiler will take precedence" >&2;}
4706 ## ------------------------------------------ ##
4707 ## Report this to the AC_PACKAGE_NAME lists. ##
4708 ## ------------------------------------------ ##
4711 sed "s/^/$as_me: WARNING: /" >&2
4714 echo "$as_me:$LINENO: checking for libavc1394/avc1394.h" >&5
4715 echo $ECHO_N "checking for libavc1394/avc1394.h... $ECHO_C" >&6
4716 if test "${ac_cv_header_libavc1394_avc1394_h+set}" = set; then
4717 echo $ECHO_N "(cached) $ECHO_C" >&6
4719 ac_cv_header_libavc1394_avc1394_h
=$ac_header_preproc
4721 echo "$as_me:$LINENO: result: $ac_cv_header_libavc1394_avc1394_h" >&5
4722 echo "${ECHO_T}$ac_cv_header_libavc1394_avc1394_h" >&6
4725 if test $ac_cv_header_libavc1394_avc1394_h = yes; then
4730 if test "${ac_cv_header_libdv_dv_h+set}" = set; then
4731 echo "$as_me:$LINENO: checking for libdv/dv.h" >&5
4732 echo $ECHO_N "checking for libdv/dv.h... $ECHO_C" >&6
4733 if test "${ac_cv_header_libdv_dv_h+set}" = set; then
4734 echo $ECHO_N "(cached) $ECHO_C" >&6
4736 echo "$as_me:$LINENO: result: $ac_cv_header_libdv_dv_h" >&5
4737 echo "${ECHO_T}$ac_cv_header_libdv_dv_h" >&6
4739 # Is the header compilable?
4740 echo "$as_me:$LINENO: checking libdv/dv.h usability" >&5
4741 echo $ECHO_N "checking libdv/dv.h usability... $ECHO_C" >&6
4742 cat >conftest.
$ac_ext <<_ACEOF
4745 cat confdefs.h
>>conftest.
$ac_ext
4746 cat >>conftest.
$ac_ext <<_ACEOF
4747 /* end confdefs.h. */
4748 $ac_includes_default
4749 #include <libdv/dv.h>
4751 rm -f conftest.
$ac_objext
4752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4753 (eval $ac_compile) 2>conftest.er1
4755 grep -v '^ *+' conftest.er1
>conftest.err
4757 cat conftest.err
>&5
4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); } &&
4760 { ac_try
='test -z "$ac_c_werror_flag"
4761 || test ! -s conftest.err'
4762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4766 (exit $ac_status); }; } &&
4767 { ac_try
='test -s conftest.$ac_objext'
4768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4772 (exit $ac_status); }; }; then
4773 ac_header_compiler
=yes
4775 echo "$as_me: failed program was:" >&5
4776 sed 's/^/| /' conftest.
$ac_ext >&5
4778 ac_header_compiler
=no
4780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4781 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4782 echo "${ECHO_T}$ac_header_compiler" >&6
4784 # Is the header present?
4785 echo "$as_me:$LINENO: checking libdv/dv.h presence" >&5
4786 echo $ECHO_N "checking libdv/dv.h presence... $ECHO_C" >&6
4787 cat >conftest.
$ac_ext <<_ACEOF
4790 cat confdefs.h
>>conftest.
$ac_ext
4791 cat >>conftest.
$ac_ext <<_ACEOF
4792 /* end confdefs.h. */
4793 #include <libdv/dv.h>
4795 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4796 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4798 grep -v '^ *+' conftest.er1
>conftest.err
4800 cat conftest.err
>&5
4801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4802 (exit $ac_status); } >/dev
/null
; then
4803 if test -s conftest.err
; then
4804 ac_cpp_err
=$ac_c_preproc_warn_flag
4805 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4812 if test -z "$ac_cpp_err"; then
4813 ac_header_preproc
=yes
4815 echo "$as_me: failed program was:" >&5
4816 sed 's/^/| /' conftest.
$ac_ext >&5
4818 ac_header_preproc
=no
4820 rm -f conftest.err conftest.
$ac_ext
4821 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4822 echo "${ECHO_T}$ac_header_preproc" >&6
4824 # So? What about this header?
4825 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4827 { echo "$as_me:$LINENO: WARNING: libdv/dv.h: accepted by the compiler, rejected by the preprocessor!" >&5
4828 echo "$as_me: WARNING: libdv/dv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4829 { echo "$as_me:$LINENO: WARNING: libdv/dv.h: proceeding with the compiler's result" >&5
4830 echo "$as_me: WARNING: libdv/dv.h: proceeding with the compiler's result" >&2;}
4831 ac_header_preproc
=yes
4834 { echo "$as_me:$LINENO: WARNING: libdv/dv.h: present but cannot be compiled" >&5
4835 echo "$as_me: WARNING: libdv/dv.h: present but cannot be compiled" >&2;}
4836 { echo "$as_me:$LINENO: WARNING: libdv/dv.h: check for missing prerequisite headers?" >&5
4837 echo "$as_me: WARNING: libdv/dv.h: check for missing prerequisite headers?" >&2;}
4838 { echo "$as_me:$LINENO: WARNING: libdv/dv.h: see the Autoconf documentation" >&5
4839 echo "$as_me: WARNING: libdv/dv.h: see the Autoconf documentation" >&2;}
4840 { echo "$as_me:$LINENO: WARNING: libdv/dv.h: section \"Present But Cannot Be Compiled\"" >&5
4841 echo "$as_me: WARNING: libdv/dv.h: section \"Present But Cannot Be Compiled\"" >&2;}
4842 { echo "$as_me:$LINENO: WARNING: libdv/dv.h: proceeding with the preprocessor's result" >&5
4843 echo "$as_me: WARNING: libdv/dv.h: proceeding with the preprocessor's result" >&2;}
4844 { echo "$as_me:$LINENO: WARNING: libdv/dv.h: in the future, the compiler will take precedence" >&5
4845 echo "$as_me: WARNING: libdv/dv.h: in the future, the compiler will take precedence" >&2;}
4848 ## ------------------------------------------ ##
4849 ## Report this to the AC_PACKAGE_NAME lists. ##
4850 ## ------------------------------------------ ##
4853 sed "s/^/$as_me: WARNING: /" >&2
4856 echo "$as_me:$LINENO: checking for libdv/dv.h" >&5
4857 echo $ECHO_N "checking for libdv/dv.h... $ECHO_C" >&6
4858 if test "${ac_cv_header_libdv_dv_h+set}" = set; then
4859 echo $ECHO_N "(cached) $ECHO_C" >&6
4861 ac_cv_header_libdv_dv_h
=$ac_header_preproc
4863 echo "$as_me:$LINENO: result: $ac_cv_header_libdv_dv_h" >&5
4864 echo "${ECHO_T}$ac_cv_header_libdv_dv_h" >&6
4867 if test $ac_cv_header_libdv_dv_h = yes; then
4872 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
4873 echo "$as_me:$LINENO: checking for libraw1394/raw1394.h" >&5
4874 echo $ECHO_N "checking for libraw1394/raw1394.h... $ECHO_C" >&6
4875 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
4876 echo $ECHO_N "(cached) $ECHO_C" >&6
4878 echo "$as_me:$LINENO: result: $ac_cv_header_libraw1394_raw1394_h" >&5
4879 echo "${ECHO_T}$ac_cv_header_libraw1394_raw1394_h" >&6
4881 # Is the header compilable?
4882 echo "$as_me:$LINENO: checking libraw1394/raw1394.h usability" >&5
4883 echo $ECHO_N "checking libraw1394/raw1394.h usability... $ECHO_C" >&6
4884 cat >conftest.
$ac_ext <<_ACEOF
4887 cat confdefs.h
>>conftest.
$ac_ext
4888 cat >>conftest.
$ac_ext <<_ACEOF
4889 /* end confdefs.h. */
4890 $ac_includes_default
4891 #include <libraw1394/raw1394.h>
4893 rm -f conftest.
$ac_objext
4894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4895 (eval $ac_compile) 2>conftest.er1
4897 grep -v '^ *+' conftest.er1
>conftest.err
4899 cat conftest.err
>&5
4900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4901 (exit $ac_status); } &&
4902 { ac_try
='test -z "$ac_c_werror_flag"
4903 || test ! -s conftest.err'
4904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4908 (exit $ac_status); }; } &&
4909 { ac_try
='test -s conftest.$ac_objext'
4910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4914 (exit $ac_status); }; }; then
4915 ac_header_compiler
=yes
4917 echo "$as_me: failed program was:" >&5
4918 sed 's/^/| /' conftest.
$ac_ext >&5
4920 ac_header_compiler
=no
4922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4923 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4924 echo "${ECHO_T}$ac_header_compiler" >&6
4926 # Is the header present?
4927 echo "$as_me:$LINENO: checking libraw1394/raw1394.h presence" >&5
4928 echo $ECHO_N "checking libraw1394/raw1394.h presence... $ECHO_C" >&6
4929 cat >conftest.
$ac_ext <<_ACEOF
4932 cat confdefs.h
>>conftest.
$ac_ext
4933 cat >>conftest.
$ac_ext <<_ACEOF
4934 /* end confdefs.h. */
4935 #include <libraw1394/raw1394.h>
4937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4938 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4940 grep -v '^ *+' conftest.er1
>conftest.err
4942 cat conftest.err
>&5
4943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4944 (exit $ac_status); } >/dev
/null
; then
4945 if test -s conftest.err
; then
4946 ac_cpp_err
=$ac_c_preproc_warn_flag
4947 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4954 if test -z "$ac_cpp_err"; then
4955 ac_header_preproc
=yes
4957 echo "$as_me: failed program was:" >&5
4958 sed 's/^/| /' conftest.
$ac_ext >&5
4960 ac_header_preproc
=no
4962 rm -f conftest.err conftest.
$ac_ext
4963 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4964 echo "${ECHO_T}$ac_header_preproc" >&6
4966 # So? What about this header?
4967 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4969 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: accepted by the compiler, rejected by the preprocessor!" >&5
4970 echo "$as_me: WARNING: libraw1394/raw1394.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4971 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: proceeding with the compiler's result" >&5
4972 echo "$as_me: WARNING: libraw1394/raw1394.h: proceeding with the compiler's result" >&2;}
4973 ac_header_preproc
=yes
4976 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: present but cannot be compiled" >&5
4977 echo "$as_me: WARNING: libraw1394/raw1394.h: present but cannot be compiled" >&2;}
4978 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: check for missing prerequisite headers?" >&5
4979 echo "$as_me: WARNING: libraw1394/raw1394.h: check for missing prerequisite headers?" >&2;}
4980 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: see the Autoconf documentation" >&5
4981 echo "$as_me: WARNING: libraw1394/raw1394.h: see the Autoconf documentation" >&2;}
4982 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: section \"Present But Cannot Be Compiled\"" >&5
4983 echo "$as_me: WARNING: libraw1394/raw1394.h: section \"Present But Cannot Be Compiled\"" >&2;}
4984 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: proceeding with the preprocessor's result" >&5
4985 echo "$as_me: WARNING: libraw1394/raw1394.h: proceeding with the preprocessor's result" >&2;}
4986 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: in the future, the compiler will take precedence" >&5
4987 echo "$as_me: WARNING: libraw1394/raw1394.h: in the future, the compiler will take precedence" >&2;}
4990 ## ------------------------------------------ ##
4991 ## Report this to the AC_PACKAGE_NAME lists. ##
4992 ## ------------------------------------------ ##
4995 sed "s/^/$as_me: WARNING: /" >&2
4998 echo "$as_me:$LINENO: checking for libraw1394/raw1394.h" >&5
4999 echo $ECHO_N "checking for libraw1394/raw1394.h... $ECHO_C" >&6
5000 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
5001 echo $ECHO_N "(cached) $ECHO_C" >&6
5003 ac_cv_header_libraw1394_raw1394_h
=$ac_header_preproc
5005 echo "$as_me:$LINENO: result: $ac_cv_header_libraw1394_raw1394_h" >&5
5006 echo "${ECHO_T}$ac_cv_header_libraw1394_raw1394_h" >&6
5009 if test $ac_cv_header_libraw1394_raw1394_h = yes; then
5014 echo "$as_me:$LINENO: checking for IEEE1394/AVC video support" >&5
5015 echo $ECHO_N "checking for IEEE1394/AVC video support... $ECHO_C" >&6
5016 if test "${AVC1394HDR}z" != "z" -a "${DVHDR}z" != "z" -a "${RAW1394HDR}z" != "z"; then
5019 echo "$as_me:$LINENO: result: yes" >&5
5020 echo "${ECHO_T}yes" >&6
5022 echo "$as_me:$LINENO: result: no" >&5
5023 echo "${ECHO_T}no" >&6
5028 # Check whether --enable-dc or --disable-dc was given.
5029 if test "${enable_dc+set}" = set; then
5030 enableval
="$enable_dc"
5036 if test "${enable_dc}z" = "yesz" ; then
5037 if test "${ac_cv_header_libdc1394_dc1394_control_h+set}" = set; then
5038 echo "$as_me:$LINENO: checking for libdc1394/dc1394_control.h" >&5
5039 echo $ECHO_N "checking for libdc1394/dc1394_control.h... $ECHO_C" >&6
5040 if test "${ac_cv_header_libdc1394_dc1394_control_h+set}" = set; then
5041 echo $ECHO_N "(cached) $ECHO_C" >&6
5043 echo "$as_me:$LINENO: result: $ac_cv_header_libdc1394_dc1394_control_h" >&5
5044 echo "${ECHO_T}$ac_cv_header_libdc1394_dc1394_control_h" >&6
5046 # Is the header compilable?
5047 echo "$as_me:$LINENO: checking libdc1394/dc1394_control.h usability" >&5
5048 echo $ECHO_N "checking libdc1394/dc1394_control.h usability... $ECHO_C" >&6
5049 cat >conftest.
$ac_ext <<_ACEOF
5052 cat confdefs.h
>>conftest.
$ac_ext
5053 cat >>conftest.
$ac_ext <<_ACEOF
5054 /* end confdefs.h. */
5055 $ac_includes_default
5056 #include <libdc1394/dc1394_control.h>
5058 rm -f conftest.
$ac_objext
5059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5060 (eval $ac_compile) 2>conftest.er1
5062 grep -v '^ *+' conftest.er1
>conftest.err
5064 cat conftest.err
>&5
5065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5066 (exit $ac_status); } &&
5067 { ac_try
='test -z "$ac_c_werror_flag"
5068 || test ! -s conftest.err'
5069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5073 (exit $ac_status); }; } &&
5074 { ac_try
='test -s conftest.$ac_objext'
5075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5079 (exit $ac_status); }; }; then
5080 ac_header_compiler
=yes
5082 echo "$as_me: failed program was:" >&5
5083 sed 's/^/| /' conftest.
$ac_ext >&5
5085 ac_header_compiler
=no
5087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5088 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5089 echo "${ECHO_T}$ac_header_compiler" >&6
5091 # Is the header present?
5092 echo "$as_me:$LINENO: checking libdc1394/dc1394_control.h presence" >&5
5093 echo $ECHO_N "checking libdc1394/dc1394_control.h presence... $ECHO_C" >&6
5094 cat >conftest.
$ac_ext <<_ACEOF
5097 cat confdefs.h
>>conftest.
$ac_ext
5098 cat >>conftest.
$ac_ext <<_ACEOF
5099 /* end confdefs.h. */
5100 #include <libdc1394/dc1394_control.h>
5102 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5103 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5105 grep -v '^ *+' conftest.er1
>conftest.err
5107 cat conftest.err
>&5
5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 (exit $ac_status); } >/dev
/null
; then
5110 if test -s conftest.err
; then
5111 ac_cpp_err
=$ac_c_preproc_warn_flag
5112 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5119 if test -z "$ac_cpp_err"; then
5120 ac_header_preproc
=yes
5122 echo "$as_me: failed program was:" >&5
5123 sed 's/^/| /' conftest.
$ac_ext >&5
5125 ac_header_preproc
=no
5127 rm -f conftest.err conftest.
$ac_ext
5128 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5129 echo "${ECHO_T}$ac_header_preproc" >&6
5131 # So? What about this header?
5132 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5134 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: accepted by the compiler, rejected by the preprocessor!" >&5
5135 echo "$as_me: WARNING: libdc1394/dc1394_control.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5136 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: proceeding with the compiler's result" >&5
5137 echo "$as_me: WARNING: libdc1394/dc1394_control.h: proceeding with the compiler's result" >&2;}
5138 ac_header_preproc
=yes
5141 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: present but cannot be compiled" >&5
5142 echo "$as_me: WARNING: libdc1394/dc1394_control.h: present but cannot be compiled" >&2;}
5143 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: check for missing prerequisite headers?" >&5
5144 echo "$as_me: WARNING: libdc1394/dc1394_control.h: check for missing prerequisite headers?" >&2;}
5145 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: see the Autoconf documentation" >&5
5146 echo "$as_me: WARNING: libdc1394/dc1394_control.h: see the Autoconf documentation" >&2;}
5147 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: section \"Present But Cannot Be Compiled\"" >&5
5148 echo "$as_me: WARNING: libdc1394/dc1394_control.h: section \"Present But Cannot Be Compiled\"" >&2;}
5149 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: proceeding with the preprocessor's result" >&5
5150 echo "$as_me: WARNING: libdc1394/dc1394_control.h: proceeding with the preprocessor's result" >&2;}
5151 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: in the future, the compiler will take precedence" >&5
5152 echo "$as_me: WARNING: libdc1394/dc1394_control.h: in the future, the compiler will take precedence" >&2;}
5155 ## ------------------------------------------ ##
5156 ## Report this to the AC_PACKAGE_NAME lists. ##
5157 ## ------------------------------------------ ##
5160 sed "s/^/$as_me: WARNING: /" >&2
5163 echo "$as_me:$LINENO: checking for libdc1394/dc1394_control.h" >&5
5164 echo $ECHO_N "checking for libdc1394/dc1394_control.h... $ECHO_C" >&6
5165 if test "${ac_cv_header_libdc1394_dc1394_control_h+set}" = set; then
5166 echo $ECHO_N "(cached) $ECHO_C" >&6
5168 ac_cv_header_libdc1394_dc1394_control_h
=$ac_header_preproc
5170 echo "$as_me:$LINENO: result: $ac_cv_header_libdc1394_dc1394_control_h" >&5
5171 echo "${ECHO_T}$ac_cv_header_libdc1394_dc1394_control_h" >&6
5174 if test $ac_cv_header_libdc1394_dc1394_control_h = yes; then
5179 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
5180 echo "$as_me:$LINENO: checking for libraw1394/raw1394.h" >&5
5181 echo $ECHO_N "checking for libraw1394/raw1394.h... $ECHO_C" >&6
5182 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
5183 echo $ECHO_N "(cached) $ECHO_C" >&6
5185 echo "$as_me:$LINENO: result: $ac_cv_header_libraw1394_raw1394_h" >&5
5186 echo "${ECHO_T}$ac_cv_header_libraw1394_raw1394_h" >&6
5188 # Is the header compilable?
5189 echo "$as_me:$LINENO: checking libraw1394/raw1394.h usability" >&5
5190 echo $ECHO_N "checking libraw1394/raw1394.h usability... $ECHO_C" >&6
5191 cat >conftest.
$ac_ext <<_ACEOF
5194 cat confdefs.h
>>conftest.
$ac_ext
5195 cat >>conftest.
$ac_ext <<_ACEOF
5196 /* end confdefs.h. */
5197 $ac_includes_default
5198 #include <libraw1394/raw1394.h>
5200 rm -f conftest.
$ac_objext
5201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5202 (eval $ac_compile) 2>conftest.er1
5204 grep -v '^ *+' conftest.er1
>conftest.err
5206 cat conftest.err
>&5
5207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5208 (exit $ac_status); } &&
5209 { ac_try
='test -z "$ac_c_werror_flag"
5210 || test ! -s conftest.err'
5211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5215 (exit $ac_status); }; } &&
5216 { ac_try
='test -s conftest.$ac_objext'
5217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5221 (exit $ac_status); }; }; then
5222 ac_header_compiler
=yes
5224 echo "$as_me: failed program was:" >&5
5225 sed 's/^/| /' conftest.
$ac_ext >&5
5227 ac_header_compiler
=no
5229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5230 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5231 echo "${ECHO_T}$ac_header_compiler" >&6
5233 # Is the header present?
5234 echo "$as_me:$LINENO: checking libraw1394/raw1394.h presence" >&5
5235 echo $ECHO_N "checking libraw1394/raw1394.h presence... $ECHO_C" >&6
5236 cat >conftest.
$ac_ext <<_ACEOF
5239 cat confdefs.h
>>conftest.
$ac_ext
5240 cat >>conftest.
$ac_ext <<_ACEOF
5241 /* end confdefs.h. */
5242 #include <libraw1394/raw1394.h>
5244 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5245 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5247 grep -v '^ *+' conftest.er1
>conftest.err
5249 cat conftest.err
>&5
5250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5251 (exit $ac_status); } >/dev
/null
; then
5252 if test -s conftest.err
; then
5253 ac_cpp_err
=$ac_c_preproc_warn_flag
5254 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5261 if test -z "$ac_cpp_err"; then
5262 ac_header_preproc
=yes
5264 echo "$as_me: failed program was:" >&5
5265 sed 's/^/| /' conftest.
$ac_ext >&5
5267 ac_header_preproc
=no
5269 rm -f conftest.err conftest.
$ac_ext
5270 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5271 echo "${ECHO_T}$ac_header_preproc" >&6
5273 # So? What about this header?
5274 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5276 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: accepted by the compiler, rejected by the preprocessor!" >&5
5277 echo "$as_me: WARNING: libraw1394/raw1394.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5278 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: proceeding with the compiler's result" >&5
5279 echo "$as_me: WARNING: libraw1394/raw1394.h: proceeding with the compiler's result" >&2;}
5280 ac_header_preproc
=yes
5283 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: present but cannot be compiled" >&5
5284 echo "$as_me: WARNING: libraw1394/raw1394.h: present but cannot be compiled" >&2;}
5285 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: check for missing prerequisite headers?" >&5
5286 echo "$as_me: WARNING: libraw1394/raw1394.h: check for missing prerequisite headers?" >&2;}
5287 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: see the Autoconf documentation" >&5
5288 echo "$as_me: WARNING: libraw1394/raw1394.h: see the Autoconf documentation" >&2;}
5289 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: section \"Present But Cannot Be Compiled\"" >&5
5290 echo "$as_me: WARNING: libraw1394/raw1394.h: section \"Present But Cannot Be Compiled\"" >&2;}
5291 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: proceeding with the preprocessor's result" >&5
5292 echo "$as_me: WARNING: libraw1394/raw1394.h: proceeding with the preprocessor's result" >&2;}
5293 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: in the future, the compiler will take precedence" >&5
5294 echo "$as_me: WARNING: libraw1394/raw1394.h: in the future, the compiler will take precedence" >&2;}
5297 ## ------------------------------------------ ##
5298 ## Report this to the AC_PACKAGE_NAME lists. ##
5299 ## ------------------------------------------ ##
5302 sed "s/^/$as_me: WARNING: /" >&2
5305 echo "$as_me:$LINENO: checking for libraw1394/raw1394.h" >&5
5306 echo $ECHO_N "checking for libraw1394/raw1394.h... $ECHO_C" >&6
5307 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
5308 echo $ECHO_N "(cached) $ECHO_C" >&6
5310 ac_cv_header_libraw1394_raw1394_h
=$ac_header_preproc
5312 echo "$as_me:$LINENO: result: $ac_cv_header_libraw1394_raw1394_h" >&5
5313 echo "${ECHO_T}$ac_cv_header_libraw1394_raw1394_h" >&6
5316 if test $ac_cv_header_libraw1394_raw1394_h = yes; then
5321 echo "$as_me:$LINENO: checking for IEEE1394/DC video support" >&5
5322 echo $ECHO_N "checking for IEEE1394/DC video support... $ECHO_C" >&6
5323 if test "${DC1394HDR}z" != "z" -a "${RAW1394HDR}z" != "z"; then
5326 echo "$as_me:$LINENO: result: yes" >&5
5327 echo "${ECHO_T}yes" >&6
5328 echo "$as_me:$LINENO: checking if dc1394_dma_setup_capture has 12 parms" >&5
5329 echo $ECHO_N "checking if dc1394_dma_setup_capture has 12 parms... $ECHO_C" >&6
5330 cat >conftest.
$ac_ext <<_ACEOF
5332 #include "libdc1394/dc1394_control.h"
5333 int main(int ac,char **av)
5335 raw1394handle_t handle;
5342 int num_dma_buffers;
5343 int do_extra_buffering;
5345 const char *dma_device_file;
5346 dc1394_cameracapture *camera;
5347 dc1394_dma_setup_capture(handle, node, channel, format, mode, speed, frame_rate, num_dma_buffers,
5348 do_extra_buffering, drop_frames, dma_device_file, camera);
5353 rm -f conftest.
$ac_objext
5354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5355 (eval $ac_compile) 2>conftest.er1
5357 grep -v '^ *+' conftest.er1
>conftest.err
5359 cat conftest.err
>&5
5360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5361 (exit $ac_status); } &&
5362 { ac_try
='test -z "$ac_c_werror_flag"
5363 || test ! -s conftest.err'
5364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5368 (exit $ac_status); }; } &&
5369 { ac_try
='test -s conftest.$ac_objext'
5370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5374 (exit $ac_status); }; }; then
5377 echo "$as_me: failed program was:" >&5
5378 sed 's/^/| /' conftest.
$ac_ext >&5
5382 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5383 if test "$NEW_DC_API" = "1" ; then
5384 DC_CFLAGS
=-DNEW_DC_API
5386 echo "$as_me:$LINENO: result: yes" >&5
5387 echo "${ECHO_T}yes" >&6
5390 echo "$as_me:$LINENO: result: no" >&5
5391 echo "${ECHO_T}no" >&6
5394 echo "$as_me:$LINENO: result: no" >&5
5395 echo "${ECHO_T}no" >&6
5404 ac_config_files
="$ac_config_files Makefile"
5406 ac_config_files
="$ac_config_files vidinput_dc/Makefile"
5409 cat >confcache
<<\_ACEOF
5410 # This file is a shell script that caches the results of configure
5411 # tests run on this system so they can be shared between configure
5412 # scripts and configure runs, see configure's option --config-cache.
5413 # It is not useful on other systems. If it contains results you don't
5414 # want to keep, you may remove or edit it.
5416 # config.status only pays attention to the cache file if you give it
5417 # the --recheck option to rerun configure.
5419 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5420 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5425 # The following way of writing the cache mishandles newlines in values,
5426 # but we know of no workaround that is simple, portable, and efficient.
5427 # So, don't put newlines in cache variables' values.
5428 # Ultrix sh set writes to stderr and can't be redirected directly,
5429 # and sets the high bit in the cache file unless we assign to the vars.
5432 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5434 # `set' does not quote correctly, so add quotes (double-quote
5435 # substitution turns \\\\ into \\, and sed turns \\ into \).
5438 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5441 # `set' quotes correctly as required by POSIX, so do not add quotes.
5443 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5450 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5452 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5454 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5455 if test -w $cache_file; then
5456 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5457 cat confcache
>$cache_file
5459 echo "not updating unwritable cache $cache_file"
5464 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5465 # Let make expand exec_prefix.
5466 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5468 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5469 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5470 # trailing colons and then remove the whole line if VPATH becomes empty
5471 # (actually we leave an empty line to preserve line numbers).
5472 if test "x$srcdir" = x.
; then
5473 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5474 s/:*\$(srcdir):*/:/;
5475 s/:*\${srcdir}:*/:/;
5477 s/^\([^=]*=[ ]*\):*/\1/;
5483 # Transform confdefs.h into DEFS.
5484 # Protect against shell expansion while executing Makefile rules.
5485 # Protect against Makefile macro expansion.
5487 # If the first sed substitution is executed (which looks for macros that
5488 # take arguments), then we branch to the quote section. Otherwise,
5489 # look for a macro that doesn't take arguments.
5490 cat >confdef2opt.
sed <<\_ACEOF
5493 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
5495 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
5499 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
5505 # We use echo to avoid assuming a particular line-breaking character.
5506 # The extra dot is to prevent the shell from consuming trailing
5507 # line-breaks from the sub-command output. A line-break within
5508 # single-quotes doesn't work because, if this script is created in a
5509 # platform that uses two characters for line-breaks (e.g., DOS), tr
5511 ac_LF_and_DOT=`echo; echo .
`
5512 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
5513 rm -f confdef2opt.sed
5518 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5519 # 1. Remove the extension, and $U if already installed.
5520 ac_i=`echo "$ac_i" |
5521 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5523 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5524 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5528 LTLIBOBJS=$ac_ltlibobjs
5532 : ${CONFIG_STATUS=./config.status}
5533 ac_clean_files_save=$ac_clean_files
5534 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5535 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5536 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5537 cat >$CONFIG_STATUS <<_ACEOF
5539 # Generated by $as_me.
5540 # Run this file to recreate the current configuration.
5541 # Compiler output produced by configure, useful for debugging
5542 # configure, is in config.log if it exists.
5547 SHELL=\${CONFIG_SHELL-$SHELL}
5550 cat >>$CONFIG_STATUS <<\_ACEOF
5551 ## --------------------- ##
5552 ## M4sh Initialization. ##
5553 ## --------------------- ##
5555 # Be Bourne compatible
5556 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5559 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5560 # is contrary to our usage. Disable this feature.
5561 alias -g '${1+"$@"}'='"$@"'
5562 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5565 DUALCASE=1; export DUALCASE # for MKS sh
5567 # Support unset when possible.
5568 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5575 # Work around bugs in pre-3.0 UWIN ksh.
5576 $as_unset ENV MAIL MAILPATH
5583 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5584 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5585 LC_TELEPHONE LC_TIME
5587 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
5588 eval $as_var=C; export $as_var
5594 # Required to use basename.
5595 if expr a : '\(a\)' >/dev/null 2>&1; then
5601 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5602 as_basename=basename
5608 # Name of the executable.
5609 as_me=`$as_basename "$0" ||
5610 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5611 X
"$0" : 'X\(//\)$' \| \
5612 X
"$0" : 'X\(/\)$' \| \
5613 .
: '\(.\)' 2>/dev
/null ||
5615 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5616 /^X\/\(\/\/\)$/{ s//\1/; q; }
5617 /^X\/\(\/\).*/{ s//\1/; q; }
5621 # PATH needs CR, and LINENO needs CR and PATH.
5622 # Avoid depending upon Character Ranges.
5623 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5624 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5625 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5626 as_cr_digits='0123456789'
5627 as_cr_alnum=$as_cr_Letters$as_cr_digits
5629 # The user is always right.
5630 if test "${PATH_SEPARATOR+set}" != set; then
5631 echo "#! /bin/sh" >conf$$.sh
5632 echo "exit 0" >>conf$$.sh
5634 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5645 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
5646 test "x$as_lineno_1" != "x$as_lineno_2" &&
5647 test "x$as_lineno_3" = "x$as_lineno_2" || {
5648 # Find who we are. Look in the path if we contain no path at all
5651 *[\\/]* ) as_myself=$0 ;;
5652 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5656 test -z "$as_dir" && as_dir=.
5657 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5662 # We did not find ourselves, most probably we were run as `sh COMMAND
'
5663 # in which case we are not to be found in the path.
5664 if test "x$as_myself" = x; then
5667 if test ! -f "$as_myself"; then
5668 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5669 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5670 { (exit 1); exit 1; }; }
5672 case $CONFIG_SHELL in
5674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5675 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5678 test -z "$as_dir" && as_dir=.
5679 for as_base in sh bash ksh sh5; do
5682 if ("$as_dir/$as_base" -c '
5685 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5686 test "x$as_lineno_1" != "x$as_lineno_2" &&
5687 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5688 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5689 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5690 CONFIG_SHELL=$as_dir/$as_base
5692 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5700 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5701 # uniformly replaced by the line number. The first 'sed' inserts a
5702 # line-number line before each line; the second 'sed' does the real
5703 # work. The second script uses 'N
' to pair each line-number line
5704 # with the numbered line, and appends trailing '-' during
5705 # substitution so that $LINENO is not a special case at line end.
5706 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5707 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
5708 sed '=' <$as_myself |
5713 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5716 s,^['$as_cr_digits']*\n,,
5718 chmod +x
$as_me.lineno ||
5719 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5720 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5721 { (exit 1); exit 1; }; }
5723 # Don't try to exec as it changes $[0], causing all sort of problems
5724 # (the dirname of $[0] is not the place where we might find the
5725 # original and so on. Autoconf is especially sensible to this).
5727 # Exit status is that of the last command.
5732 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5733 *c
*,-n*) ECHO_N
= ECHO_C
='
5735 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5736 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5739 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5745 rm -f conf$$ conf$$.exe conf$$.
file
5747 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5748 # We could just check for DJGPP; but this test a) works b) is more generic
5749 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5750 if test -f conf$$.exe
; then
5751 # Don't use ln at all; we don't have any links
5756 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5761 rm -f conf$$ conf$$.exe conf$$.
file
5763 if mkdir
-p .
2>/dev
/null
; then
5766 test -d .
/-p && rmdir .
/-p
5770 as_executable_p
="test -f"
5772 # Sed expression to map a string onto a valid CPP name.
5773 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5775 # Sed expression to map a string onto a valid variable name.
5776 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5780 # We need space, tab and new line, in precisely that order.
5790 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5791 # report actual input values of CONFIG_FILES etc. instead of their
5792 # values after options handling. Logging --version etc. is OK.
5796 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5797 ## Running $as_me. ##
5802 This file was extended by $as_me, which was
5803 generated by GNU Autoconf 2.59. Invocation command line was
5805 CONFIG_FILES = $CONFIG_FILES
5806 CONFIG_HEADERS = $CONFIG_HEADERS
5807 CONFIG_LINKS = $CONFIG_LINKS
5808 CONFIG_COMMANDS = $CONFIG_COMMANDS
5812 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5816 # Files that config.status was made for.
5817 if test -n "$ac_config_files"; then
5818 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5821 if test -n "$ac_config_headers"; then
5822 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5825 if test -n "$ac_config_links"; then
5826 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5829 if test -n "$ac_config_commands"; then
5830 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5833 cat >>$CONFIG_STATUS <<\_ACEOF
5836 \`$as_me' instantiates files from templates according to the
5837 current configuration.
5839 Usage: $0 [OPTIONS] [FILE]...
5841 -h, --help print this help, then exit
5842 -V, --version print version number, then exit
5843 -q, --quiet do not print progress messages
5844 -d, --debug don't remove temporary files
5845 --recheck update $as_me by reconfiguring in the same conditions
5846 --file=FILE[:TEMPLATE]
5847 instantiate the configuration file FILE
5849 Configuration files:
5852 Report bugs to <bug-autoconf@gnu.org>."
5855 cat >>$CONFIG_STATUS <<_ACEOF
5858 configured by $0, generated by GNU Autoconf 2.59,
5859 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5861 Copyright (C) 2003 Free Software Foundation, Inc.
5862 This config.status script is free software; the Free Software Foundation
5863 gives unlimited permission to copy, distribute and modify it."
5867 cat >>$CONFIG_STATUS <<\_ACEOF
5868 # If no file are specified by the user, then we need to provide default
5869 # value. By we need to know if files were specified by the user.
5875 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
5876 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5884 *) # This is not an option, so the user has probably given explicit
5887 ac_need_defaults
=false
;;
5891 # Handling of the options.
5893 cat >>$CONFIG_STATUS <<\_ACEOF
5894 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5896 --version |
--vers* |
-V )
5897 echo "$ac_cs_version"; exit 0 ;;
5899 # Conflict between --help and --header
5900 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5901 Try \`$0 --help' for more information." >&5
5902 echo "$as_me: error: ambiguous option: $1
5903 Try \`$0 --help' for more information." >&2;}
5904 { (exit 1); exit 1; }; };;
5905 --help |
--hel |
-h )
5906 echo "$ac_cs_usage"; exit 0 ;;
5907 --debug |
--d* |
-d )
5909 --file |
--fil |
--fi |
--f )
5911 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5912 ac_need_defaults
=false
;;
5913 --header |
--heade |
--head |
--hea )
5915 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
5916 ac_need_defaults
=false
;;
5917 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5918 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5922 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5923 Try \`$0 --help' for more information." >&5
5924 echo "$as_me: error: unrecognized option: $1
5925 Try \`$0 --help' for more information." >&2;}
5926 { (exit 1); exit 1; }; } ;;
5928 *) ac_config_targets
="$ac_config_targets $1" ;;
5934 ac_configure_extra_args
=
5936 if $ac_cs_silent; then
5938 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5942 cat >>$CONFIG_STATUS <<_ACEOF
5943 if \$ac_cs_recheck; then
5944 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5945 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5954 cat >>$CONFIG_STATUS <<\_ACEOF
5955 for ac_config_target
in $ac_config_targets
5957 case "$ac_config_target" in
5958 # Handling of arguments.
5959 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5960 "vidinput_dc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES vidinput_dc/Makefile" ;;
5961 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5962 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5963 { (exit 1); exit 1; }; };;
5967 # If the user did not use the arguments to specify the items to instantiate,
5968 # then the envvar interface is used. Set only those that are not.
5969 # We use the long form for the default assignment because of an extremely
5970 # bizarre bug on SunOS 4.1.3.
5971 if $ac_need_defaults; then
5972 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5975 # Have a temporary directory for convenience. Make it in the build tree
5976 # simply because there is no reason to put it here, and in addition,
5977 # creating and moving files from /tmp can sometimes cause problems.
5978 # Create a temporary directory, and hook for its removal unless debugging.
5981 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5982 trap '{ (exit 1); exit 1; }' 1 2 13 15
5985 # Create a (secure) tmp directory for tmp files.
5988 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5989 test -n "$tmp" && test -d "$tmp"
5992 tmp
=.
/confstat$$
-$RANDOM
5993 (umask 077 && mkdir
$tmp)
5996 echo "$me: cannot create a temporary directory in ." >&2
5997 { (exit 1); exit 1; }
6002 cat >>$CONFIG_STATUS <<_ACEOF
6005 # CONFIG_FILES section.
6008 # No need to generate the scripts if there are no CONFIG_FILES.
6009 # This happens for instance when ./config.status config.h
6010 if test -n "\$CONFIG_FILES"; then
6011 # Protect against being on the right side of a sed subst in config.status.
6012 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6013 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6014 s,@SHELL@,$SHELL,;t t
6015 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6016 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6017 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6018 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6019 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6020 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6021 s,@exec_prefix@,$exec_prefix,;t t
6022 s,@prefix@,$prefix,;t t
6023 s,@program_transform_name@,$program_transform_name,;t t
6024 s,@bindir@,$bindir,;t t
6025 s,@sbindir@,$sbindir,;t t
6026 s,@libexecdir@,$libexecdir,;t t
6027 s,@datadir@,$datadir,;t t
6028 s,@sysconfdir@,$sysconfdir,;t t
6029 s,@sharedstatedir@,$sharedstatedir,;t t
6030 s,@localstatedir@,$localstatedir,;t t
6031 s,@libdir@,$libdir,;t t
6032 s,@includedir@,$includedir,;t t
6033 s,@oldincludedir@,$oldincludedir,;t t
6034 s,@infodir@,$infodir,;t t
6035 s,@mandir@,$mandir,;t t
6036 s,@build_alias@,$build_alias,;t t
6037 s,@host_alias@,$host_alias,;t t
6038 s,@target_alias@,$target_alias,;t t
6040 s,@ECHO_C@,$ECHO_C,;t t
6041 s,@ECHO_N@,$ECHO_N,;t t
6042 s,@ECHO_T@,$ECHO_T,;t t
6045 s,@CXXFLAGS@,$CXXFLAGS,;t t
6046 s,@LDFLAGS@,$LDFLAGS,;t t
6047 s,@CPPFLAGS@,$CPPFLAGS,;t t
6048 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
6049 s,@EXEEXT@,$EXEEXT,;t t
6050 s,@OBJEXT@,$OBJEXT,;t t
6051 s,@PWLIBDIR@,$PWLIBDIR,;t t
6052 s,@PWINSTDIR@,$PWINSTDIR,;t t
6053 s,@INSTALLPREFIX@,$INSTALLPREFIX,;t t
6054 s,@LIBDIR@,$LIBDIR,;t t
6056 s,@CFLAGS@,$CFLAGS,;t t
6057 s,@ac_ct_CC@,$ac_ct_CC,;t t
6059 s,@EGREP@,$EGREP,;t t
6060 s,@HAS_ALSA@,$HAS_ALSA,;t t
6061 s,@HAS_ESD@,$HAS_ESD,;t t
6062 s,@HAS_OSS@,$HAS_OSS,;t t
6063 s,@HAS_SUNAUDIO@,$HAS_SUNAUDIO,;t t
6064 s,@HAS_V4L@,$HAS_V4L,;t t
6065 s,@HAS_V4L2@,$HAS_V4L2,;t t
6066 s,@HAS_BSDVIDEOCAP@,$HAS_BSDVIDEOCAP,;t t
6067 s,@HAS_AVC1394@,$HAS_AVC1394,;t t
6068 s,@HAS_DC1394@,$HAS_DC1394,;t t
6069 s,@DC_CFLAGS@,$DC_CFLAGS,;t t
6070 s,@LIBOBJS@,$LIBOBJS,;t t
6071 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6076 cat >>$CONFIG_STATUS <<\_ACEOF
6077 # Split the substitutions into bite-sized pieces for seds with
6078 # small command number limits, like on Digital OSF/1 and HP-UX.
6080 ac_sed_frag
=1 # Number of current file.
6081 ac_beg
=1 # First line for current file.
6082 ac_end
=$ac_max_sed_lines # Line after last line for current file.
6085 while $ac_more_lines; do
6086 if test $ac_beg -gt 1; then
6087 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6089 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6091 if test ! -s $tmp/subs.frag
; then
6094 # The purpose of the label and of the branching condition is to
6095 # speed up the sed processing (if there are no `@' at all, there
6096 # is no need to browse any of the substitutions).
6097 # These are the two extra sed commands mentioned above.
6099 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
6100 if test -z "$ac_sed_cmds"; then
6101 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6103 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6105 ac_sed_frag
=`expr $ac_sed_frag + 1`
6107 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6110 if test -z "$ac_sed_cmds"; then
6113 fi # test -n "$CONFIG_FILES"
6116 cat >>$CONFIG_STATUS <<\_ACEOF
6117 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6118 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6120 - |
*:- |
*:-:* ) # input from stdin
6122 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6123 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6124 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6125 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6126 * ) ac_file_in
=$ac_file.
in ;;
6129 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6130 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6131 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6132 X"$ac_file" : 'X\(//\)[^/]' \| \
6133 X"$ac_file" : 'X\(//\)$' \| \
6134 X"$ac_file" : 'X\(/\)' \| \
6135 . : '\(.\)' 2>/dev/null ||
6137 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6138 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6139 /^X\(\/\/\)$/{ s//\1/; q; }
6140 /^X\(\/\).*/{ s//\1/; q; }
6142 { if $as_mkdir_p; then
6147 while test ! -d "$as_dir"; do
6148 as_dirs
="$as_dir $as_dirs"
6149 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6150 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6151 X"$as_dir" : 'X\(//\)[^/]' \| \
6152 X"$as_dir" : 'X\(//\)$' \| \
6153 X"$as_dir" : 'X\(/\)' \| \
6154 . : '\(.\)' 2>/dev/null ||
6156 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6157 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6158 /^X\(\/\/\)$/{ s//\1/; q; }
6159 /^X\(\/\).*/{ s//\1/; q; }
6162 test ! -n "$as_dirs" || mkdir
$as_dirs
6163 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6164 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6165 { (exit 1); exit 1; }; }; }
6169 if test "$ac_dir" != .
; then
6170 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6171 # A "../" for each directory in $ac_dir_suffix.
6172 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6174 ac_dir_suffix
= ac_top_builddir
=
6178 .
) # No --srcdir option. We are building in place.
6180 if test -z "$ac_top_builddir"; then
6183 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6185 [\\/]* | ?
:[\\/]* ) # Absolute path.
6186 ac_srcdir
=$srcdir$ac_dir_suffix;
6187 ac_top_srcdir
=$srcdir ;;
6189 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6190 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6193 # Do not use `cd foo && pwd` to compute absolute paths, because
6194 # the directories may not exist.
6196 .
) ac_abs_builddir
="$ac_dir";;
6199 .
) ac_abs_builddir
=`pwd`;;
6200 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6201 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6204 case $ac_abs_builddir in
6205 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6207 case ${ac_top_builddir}.
in
6208 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6209 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6210 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6213 case $ac_abs_builddir in
6214 .
) ac_abs_srcdir
=$ac_srcdir;;
6217 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6218 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6219 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6222 case $ac_abs_builddir in
6223 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6225 case $ac_top_srcdir in
6226 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6227 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6228 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6234 if test x
"$ac_file" != x-
; then
6235 { echo "$as_me:$LINENO: creating $ac_file" >&5
6236 echo "$as_me: creating $ac_file" >&6;}
6239 # Let's still pretend it is `configure' which instantiates (i.e., don't
6240 # use $as_me), people would be surprised to read:
6241 # /* config.h. Generated by config.status. */
6242 if test x
"$ac_file" = x-
; then
6245 configure_input
="$ac_file. "
6247 configure_input
=$configure_input"Generated from `echo $ac_file_in |
6248 sed 's,.*/,,'` by configure."
6250 # First look for the input files in the build tree, otherwise in the
6252 ac_file_inputs
=`IFS=:
6253 for f in $ac_file_in; do
6255 -) echo $tmp/stdin ;;
6257 # Absolute (can't be DOS-style, as IFS=:)
6258 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6259 echo "$as_me: error: cannot find input file: $f" >&2;}
6260 { (exit 1); exit 1; }; }
6263 if test -f "$f"; then
6266 elif test -f "$srcdir/$f"; then
6271 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6272 echo "$as_me: error: cannot find input file: $f" >&2;}
6273 { (exit 1); exit 1; }; }
6276 done` ||
{ (exit 1); exit 1; }
6278 cat >>$CONFIG_STATUS <<_ACEOF
6282 cat >>$CONFIG_STATUS <<\_ACEOF
6284 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6285 s
,@configure_input@
,$configure_input,;t t
6286 s
,@srcdir@
,$ac_srcdir,;t t
6287 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
6288 s
,@top_srcdir@
,$ac_top_srcdir,;t t
6289 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
6290 s
,@builddir@
,$ac_builddir,;t t
6291 s
,@abs_builddir@
,$ac_abs_builddir,;t t
6292 s
,@top_builddir@
,$ac_top_builddir,;t t
6293 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
6294 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6296 if test x"$ac_file" != x-; then
6297 mv $tmp/out $ac_file
6306 cat >>$CONFIG_STATUS <<\_ACEOF
6308 { (exit 0); exit 0; }
6310 chmod +x $CONFIG_STATUS
6311 ac_clean_files=$ac_clean_files_save
6314 # configure is writing to config.log, and then calls config.status.
6315 # config.status does its own redirection, appending to config.log.
6316 # Unfortunately, on DOS this fails, as config.log is still kept open
6317 # by configure, so config.status won't be able to write to it; its
6318 # output is simply discarded. So we exec the FD to /dev/null,
6319 # effectively closing config.log, so it can be properly (re)opened and
6320 # appended to by config.status. When coming back to configure, we
6321 # need to make the FD available again.
6322 if test "$no_create" != yes; then
6324 ac_config_status_args=
6325 test "$silent" = yes &&
6326 ac_config_status_args="$ac_config_status_args --quiet"
6328 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6330 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6331 # would make configure fail if this is the last instruction.
6332 $ac_cs_success || { (exit 1); exit 1; }