2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 # Support unset when possible.
25 if (FOO
=FOO
; unset FOO
) >/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 -n "`(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
224 as_executable_p
="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
253 ac_default_prefix
=/usr
/local
254 ac_config_libobj_dir
=.
259 SHELL
=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
273 ac_unique_file
="../include/ptlib.h"
274 # Factoring default headers for most tests.
275 ac_includes_default
="\
278 # include <sys/types.h>
281 # include <sys/stat.h>
292 # if !STDC_HEADERS && HAVE_MEMORY_H
298 # include <strings.h>
301 # include <inttypes.h>
311 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT PWLIBDIR PWINSTDIR INSTALLPREFIX LIBDIR CC CFLAGS ac_ct_CC CPP EGREP HAS_ALSA HAS_OSS HAS_V4L HAS_BSDVIDEOCAP HAS_AVC1394 HAS_DC1394 LIBOBJS LTLIBOBJS'
314 # Initialize some variables set by options.
316 ac_init_version
=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
326 program_transform_name
=s
,x
,x
,
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir
='${exec_prefix}/bin'
340 sbindir
='${exec_prefix}/sbin'
341 libexecdir
='${exec_prefix}/libexec'
342 datadir
='${prefix}/share'
343 sysconfdir
='${prefix}/etc'
344 sharedstatedir
='${prefix}/com'
345 localstatedir
='${prefix}/var'
346 libdir
='${exec_prefix}/lib'
347 includedir
='${prefix}/include'
348 oldincludedir
='/usr/include'
349 infodir
='${prefix}/info'
350 mandir
='${prefix}/man'
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
362 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
368 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
370 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
373 -build |
--build |
--buil |
--bui |
--bu)
374 ac_prev
=build_alias
;;
375 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
376 build_alias
=$ac_optarg ;;
378 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
379 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
380 ac_prev
=cache_file
;;
381 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
382 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
383 cache_file
=$ac_optarg ;;
386 cache_file
=config.cache
;;
388 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
390 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
392 datadir
=$ac_optarg ;;
394 -disable-* |
--disable-*)
395 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* |
--enable-*)
404 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
411 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
417 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
418 |
--exec |
--exe |
--ex)
419 ac_prev
=exec_prefix
;;
420 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
421 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
422 |
--exec=* |
--exe=* |
--ex=*)
423 exec_prefix
=$ac_optarg ;;
425 -gas |
--gas |
--ga |
--g)
426 # Obsolete; use --with-gas.
429 -help |
--help |
--hel |
--he |
-h)
431 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
432 ac_init_help
=recursive
;;
433 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
434 ac_init_help
=short
;;
436 -host |
--host |
--hos |
--ho)
437 ac_prev
=host_alias
;;
438 -host=* |
--host=* |
--hos=* |
--ho=*)
439 host_alias
=$ac_optarg ;;
441 -includedir |
--includedir |
--includedi |
--included |
--include \
442 |
--includ |
--inclu |
--incl |
--inc)
443 ac_prev
=includedir
;;
444 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
445 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
446 includedir
=$ac_optarg ;;
448 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
450 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
451 infodir
=$ac_optarg ;;
453 -libdir |
--libdir |
--libdi |
--libd)
455 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
458 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
459 |
--libexe |
--libex |
--libe)
460 ac_prev
=libexecdir
;;
461 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
462 |
--libexe=* |
--libex=* |
--libe=*)
463 libexecdir
=$ac_optarg ;;
465 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
466 |
--localstate |
--localstat |
--localsta |
--localst \
467 |
--locals |
--local |
--loca |
--loc |
--lo)
468 ac_prev
=localstatedir
;;
469 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
470 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
471 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
472 localstatedir
=$ac_optarg ;;
474 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
476 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
480 # Obsolete; use --without-fp.
483 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
484 |
--no-cr |
--no-c |
-n)
487 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
488 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
491 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
492 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
493 |
--oldin |
--oldi |
--old |
--ol |
--o)
494 ac_prev
=oldincludedir
;;
495 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
496 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
497 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
498 oldincludedir
=$ac_optarg ;;
500 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
502 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
505 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
506 |
--program-pre |
--program-pr |
--program-p)
507 ac_prev
=program_prefix
;;
508 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
509 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
510 program_prefix
=$ac_optarg ;;
512 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
513 |
--program-suf |
--program-su |
--program-s)
514 ac_prev
=program_suffix
;;
515 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
516 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
517 program_suffix
=$ac_optarg ;;
519 -program-transform-name |
--program-transform-name \
520 |
--program-transform-nam |
--program-transform-na \
521 |
--program-transform-n |
--program-transform- \
522 |
--program-transform |
--program-transfor \
523 |
--program-transfo |
--program-transf \
524 |
--program-trans |
--program-tran \
525 |
--progr-tra |
--program-tr |
--program-t)
526 ac_prev
=program_transform_name
;;
527 -program-transform-name=* |
--program-transform-name=* \
528 |
--program-transform-nam=* |
--program-transform-na=* \
529 |
--program-transform-n=* |
--program-transform-=* \
530 |
--program-transform=* |
--program-transfor=* \
531 |
--program-transfo=* |
--program-transf=* \
532 |
--program-trans=* |
--program-tran=* \
533 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
534 program_transform_name
=$ac_optarg ;;
536 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
537 |
-silent |
--silent |
--silen |
--sile |
--sil)
540 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
542 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
544 sbindir
=$ac_optarg ;;
546 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
547 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
548 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
550 ac_prev
=sharedstatedir
;;
551 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
552 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
553 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
555 sharedstatedir
=$ac_optarg ;;
557 -site |
--site |
--sit)
559 -site=* |
--site=* |
--sit=*)
562 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
564 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
567 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
568 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
569 ac_prev
=sysconfdir
;;
570 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
571 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
572 sysconfdir
=$ac_optarg ;;
574 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
575 ac_prev
=target_alias
;;
576 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
577 target_alias
=$ac_optarg ;;
579 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
582 -version |
--version |
--versio |
--versi |
--vers |
-V)
586 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package
=`echo $ac_package| sed 's/-/_/g'`
593 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* |
--without-*)
599 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package
=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
608 # Obsolete; use --with-x.
611 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
612 |
--x-incl |
--x-inc |
--x-in |
--x-i)
613 ac_prev
=x_includes
;;
614 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
615 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
616 x_includes
=$ac_optarg ;;
618 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
619 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
620 ac_prev
=x_libraries
;;
621 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
622 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
623 x_libraries
=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
631 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 if test -n "$ac_prev"; then
652 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var
in exec_prefix prefix
660 eval ac_val
=$
`echo $ac_var`
662 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # Be sure to have absolute paths.
669 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val
=$
`echo $ac_var`
674 [\\/$
]* | ?
:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x
; then
689 if test "x$build_alias" = x
; then
690 cross_compiling
=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
699 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
701 test "$silent" = yes && exec 6>/dev
/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted
=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir
=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
721 if test ! -r $srcdir/$ac_unique_file; then
725 ac_srcdir_defaulted
=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set
=${build_alias+set}
741 ac_env_build_alias_value
=$build_alias
742 ac_cv_env_build_alias_set
=${build_alias+set}
743 ac_cv_env_build_alias_value
=$build_alias
744 ac_env_host_alias_set
=${host_alias+set}
745 ac_env_host_alias_value
=$host_alias
746 ac_cv_env_host_alias_set
=${host_alias+set}
747 ac_cv_env_host_alias_value
=$host_alias
748 ac_env_target_alias_set
=${target_alias+set}
749 ac_env_target_alias_value
=$target_alias
750 ac_cv_env_target_alias_set
=${target_alias+set}
751 ac_cv_env_target_alias_value
=$target_alias
752 ac_env_CXX_set
=${CXX+set}
753 ac_env_CXX_value
=$CXX
754 ac_cv_env_CXX_set
=${CXX+set}
755 ac_cv_env_CXX_value
=$CXX
756 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
757 ac_env_CXXFLAGS_value
=$CXXFLAGS
758 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
759 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
760 ac_env_LDFLAGS_set
=${LDFLAGS+set}
761 ac_env_LDFLAGS_value
=$LDFLAGS
762 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value
=$LDFLAGS
764 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
765 ac_env_CPPFLAGS_value
=$CPPFLAGS
766 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
767 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
768 ac_env_CC_set
=${CC+set}
770 ac_cv_env_CC_set
=${CC+set}
771 ac_cv_env_CC_value
=$CC
772 ac_env_CFLAGS_set
=${CFLAGS+set}
773 ac_env_CFLAGS_value
=$CFLAGS
774 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
775 ac_cv_env_CFLAGS_value
=$CFLAGS
776 ac_env_CPP_set
=${CPP+set}
777 ac_env_CPP_value
=$CPP
778 ac_cv_env_CPP_set
=${CPP+set}
779 ac_cv_env_CPP_value
=$CPP
782 # Report the --help message.
784 if test "$ac_init_help" = "long"; then
785 # Omit some internal or obsolete options to make the list less imposing.
786 # This message is too long to be a string in the A/UX 3.1 sh.
788 \`configure' configures this package to adapt to many kinds of systems.
790 Usage: $0 [OPTION]... [VAR=VALUE]...
792 To assign environment variables (e.g., CC, CFLAGS...), specify them as
793 VAR=VALUE. See below for descriptions of some of the useful variables.
795 Defaults for the options are specified in brackets.
798 -h, --help display this help and exit
799 --help=short display options specific to this package
800 --help=recursive display the short help of all the included packages
801 -V, --version display version information and exit
802 -q, --quiet, --silent do not print \`checking...' messages
803 --cache-file=FILE cache test results in FILE [disabled]
804 -C, --config-cache alias for \`--cache-file=config.cache'
805 -n, --no-create do not create output files
806 --srcdir=DIR find the sources in DIR [configure dir or \`..']
811 Installation directories:
812 --prefix=PREFIX install architecture-independent files in PREFIX
814 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
817 By default, \`make install' will install all the files in
818 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
819 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
820 for instance \`--prefix=\$HOME'.
822 For better control, use the options below.
824 Fine tuning of the installation directories:
825 --bindir=DIR user executables [EPREFIX/bin]
826 --sbindir=DIR system admin executables [EPREFIX/sbin]
827 --libexecdir=DIR program executables [EPREFIX/libexec]
828 --datadir=DIR read-only architecture-independent data [PREFIX/share]
829 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
830 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
831 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
832 --libdir=DIR object code libraries [EPREFIX/lib]
833 --includedir=DIR C header files [PREFIX/include]
834 --oldincludedir=DIR C header files for non-gcc [/usr/include]
835 --infodir=DIR info documentation [PREFIX/info]
836 --mandir=DIR man documentation [PREFIX/man]
843 if test -n "$ac_init_help"; then
848 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
849 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
850 --enable-alsa enable ALSA audio support
851 --enable-oss enable OSS audio support
852 --disable-video disable video device support
in PWLIB
853 --enable-v4l enable V4L video support
854 --enable-bsdvideo enable BSD video support
855 --enable-avc enable IEEE1394
/AVC video support
856 --enable-dc enable IEEE1394
/DC video support
858 Some influential environment variables
:
859 CXX C
++ compiler
command
860 CXXFLAGS C
++ compiler flags
861 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
862 nonstandard directory
<lib dir
>
863 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
864 headers
in a nonstandard directory
<include dir
>
865 CC C compiler
command
866 CFLAGS C compiler flags
869 Use these variables to override the choices made by
`configure' or to help
870 it to find libraries and programs with nonstandard names/locations.
875 if test "$ac_init_help" = "recursive"; then
876 # If there are subdirs, report their specific --help.
878 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
879 test -d $ac_dir || continue
882 if test "$ac_dir" != .; then
883 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
884 # A "../" for each directory in $ac_dir_suffix.
885 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
887 ac_dir_suffix= ac_top_builddir=
891 .) # No --srcdir option. We are building in place.
893 if test -z "$ac_top_builddir"; then
896 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
898 [\\/]* | ?:[\\/]* ) # Absolute path.
899 ac_srcdir=$srcdir$ac_dir_suffix;
900 ac_top_srcdir=$srcdir ;;
902 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
903 ac_top_srcdir=$ac_top_builddir$srcdir ;;
905 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
907 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
908 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
909 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
910 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
913 # Check for guested configure; otherwise get Cygnus style configure.
914 if test -f $ac_srcdir/configure.gnu; then
916 $SHELL $ac_srcdir/configure.gnu --help=recursive
917 elif test -f $ac_srcdir/configure; then
919 $SHELL $ac_srcdir/configure --help=recursive
920 elif test -f $ac_srcdir/configure.ac ||
921 test -f $ac_srcdir/configure.in; then
925 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
931 test -n "$ac_init_help" && exit 0
932 if $ac_init_version; then
935 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
936 Free Software Foundation, Inc.
937 This configure script is free software; the Free Software Foundation
938 gives unlimited permission to copy, distribute and modify it.
944 This file contains any messages produced by compilers while
945 running configure, to aid debugging if configure makes a mistake.
947 It was created by $as_me, which was
948 generated by GNU Autoconf 2.57. Invocation command line was
959 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
960 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
961 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
962 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
963 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
965 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
966 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
968 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
969 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
970 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
971 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
972 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
973 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
974 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
982 test -z "$as_dir" && as_dir=.
998 # Keep a trace of the command line.
999 # Strip out --no-create and --no-recursion so they do not pile up.
1000 # Strip out --silent because we don't want to record it for future runs.
1001 # Also quote any args containing shell meta-characters.
1002 # Make two passes to allow for proper duplicate-argument suppression.
1007 ac_must_keep_next=false
1013 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1014 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1015 | -silent | --silent | --silen | --sile | --sil)
1017 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1018 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1021 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1023 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1024 if test $ac_must_keep_next = true; then
1025 ac_must_keep_next=false # Got value, back to normal.
1028 *=* | --config-cache | -C | -disable-* | --disable-* \
1029 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1030 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1031 | -with-* | --with-* | -without-* | --without-* | --x)
1032 case "$ac_configure_args0 " in
1033 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1036 -* ) ac_must_keep_next=true ;;
1039 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1040 # Get rid of the leading space.
1046 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1047 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1049 # When interrupted or exit'd, cleanup temporary files, and complete
1050 # config.log. We remove comments because anyway the quotes in there
1051 # would cause problems or look ugly.
1052 # WARNING: Be sure not to use single quotes in there, as some shells,
1053 # such as our DU 5.0 friend, will then `close
' the trap.
1054 trap 'exit_status
=$?
1055 # Save into config.log some information that might help in debugging.
1060 ## ---------------- ##
1061 ## Cache variables. ##
1062 ## ---------------- ##
1065 # The following way of writing the cache mishandles newlines in values,
1068 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1071 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1072 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1076 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1083 ## ----------------- ##
1084 ## Output variables. ##
1085 ## ----------------- ##
1088 for ac_var
in $ac_subst_vars
1090 eval ac_val
=$
`echo $ac_var`
1091 echo "$ac_var='"'"'$ac_val'"'"'"
1095 if test -n "$ac_subst_files"; then
1102 for ac_var
in $ac_subst_files
1104 eval ac_val
=$
`echo $ac_var`
1105 echo "$ac_var='"'"'$ac_val'"'"'"
1110 if test -s confdefs.h
; then
1117 sed "/^$/d" confdefs.h |
sort
1120 test "$ac_signal" != 0 &&
1121 echo "$as_me: caught signal $ac_signal"
1122 echo "$as_me: exit $exit_status"
1124 rm -f core core.
* *.core
&&
1125 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1128 for ac_signal in 1 2 13 15; do
1129 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1133 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1134 rm -rf conftest* confdefs.h
1135 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1138 # Predefined preprocessor variables.
1140 cat >>confdefs.h <<_ACEOF
1141 #define PACKAGE_NAME "$PACKAGE_NAME"
1145 cat >>confdefs.h <<_ACEOF
1146 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1150 cat >>confdefs.h <<_ACEOF
1151 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1155 cat >>confdefs.h <<_ACEOF
1156 #define PACKAGE_STRING "$PACKAGE_STRING"
1160 cat >>confdefs.h <<_ACEOF
1161 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1165 # Let the site file select an alternate cache file if it wants to.
1166 # Prefer explicitly selected file to automatically selected ones.
1167 if test -z "$CONFIG_SITE"; then
1168 if test "x$prefix" != xNONE; then
1169 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1171 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1174 for ac_site_file in $CONFIG_SITE; do
1175 if test -r "$ac_site_file"; then
1176 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1177 echo "$as_me: loading site script $ac_site_file" >&6;}
1178 sed 's
/^
/|
/' "$ac_site_file" >&5
1183 if test -r "$cache_file"; then
1184 # Some versions of bash will fail to source /dev/null (special
1185 # files actually), so we avoid doing that.
1186 if test -f "$cache_file"; then
1187 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1188 echo "$as_me: loading cache $cache_file" >&6;}
1190 [\\/]* | ?:[\\/]* ) . $cache_file;;
1191 *) . ./$cache_file;;
1195 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1196 echo "$as_me: creating cache $cache_file" >&6;}
1200 # Check that the precious variables saved in the cache have kept the same
1202 ac_cache_corrupted=false
1203 for ac_var in `(set) 2>&1 |
1204 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1205 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1206 eval ac_new_set=\$ac_env_${ac_var}_set
1207 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1208 eval ac_new_val="\$ac_env_${ac_var}_value"
1209 case $ac_old_set,$ac_new_set in
1211 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1212 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1213 ac_cache_corrupted=: ;;
1215 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1216 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1217 ac_cache_corrupted=: ;;
1220 if test "x$ac_old_val" != "x$ac_new_val"; then
1221 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1222 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1223 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1224 echo "$as_me: former value: $ac_old_val" >&2;}
1225 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1226 echo "$as_me: current value: $ac_new_val" >&2;}
1227 ac_cache_corrupted=:
1230 # Pass precious variables to config.status.
1231 if test "$ac_new_set" = set; then
1233 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1234 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1235 *) ac_arg=$ac_var=$ac_new_val ;;
1237 case " $ac_configure_args " in
1238 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1239 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1243 if $ac_cache_corrupted; then
1244 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1245 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1246 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1247 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1248 { (exit 1); exit 1; }; }
1252 ac_cpp='$CPP $CPPFLAGS'
1253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1254 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1277 ac_cpp='$CXXCPP $CPPFLAGS'
1278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1279 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1281 if test -n "$ac_tool_prefix"; then
1282 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1284 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1285 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1286 echo "$as_me:$LINENO: checking for $ac_word" >&5
1287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1288 if test "${ac_cv_prog_CXX+set}" = set; then
1289 echo $ECHO_N "(cached) $ECHO_C" >&6
1291 if test -n "$CXX"; then
1292 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1298 test -z "$as_dir" && as_dir=.
1299 for ac_exec_ext in '' $ac_executable_extensions; do
1300 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1301 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1311 if test -n "$CXX"; then
1312 echo "$as_me:$LINENO: result: $CXX" >&5
1313 echo "${ECHO_T}$CXX" >&6
1315 echo "$as_me:$LINENO: result: no" >&5
1316 echo "${ECHO_T}no" >&6
1319 test -n "$CXX" && break
1322 if test -z "$CXX"; then
1324 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1326 # Extract the first word of "$ac_prog", so it can be a program name with args.
1327 set dummy $ac_prog; ac_word=$2
1328 echo "$as_me:$LINENO: checking for $ac_word" >&5
1329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1330 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1331 echo $ECHO_N "(cached) $ECHO_C" >&6
1333 if test -n "$ac_ct_CXX"; then
1334 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1340 test -z "$as_dir" && as_dir=.
1341 for ac_exec_ext in '' $ac_executable_extensions; do
1342 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1343 ac_cv_prog_ac_ct_CXX="$ac_prog"
1344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1352 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1353 if test -n "$ac_ct_CXX"; then
1354 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1355 echo "${ECHO_T}$ac_ct_CXX" >&6
1357 echo "$as_me:$LINENO: result: no" >&5
1358 echo "${ECHO_T}no" >&6
1361 test -n "$ac_ct_CXX" && break
1363 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1369 # Provide some information about the compiler.
1370 echo "$as_me:$LINENO:" \
1371 "checking for C++ compiler version" >&5
1372 ac_compiler=`set X $ac_compile; echo $2`
1373 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1374 (eval $ac_compiler --version </dev/null >&5) 2>&5
1376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1377 (exit $ac_status); }
1378 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1379 (eval $ac_compiler -v </dev/null >&5) 2>&5
1381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1382 (exit $ac_status); }
1383 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1384 (eval $ac_compiler -V </dev/null >&5) 2>&5
1386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1387 (exit $ac_status); }
1389 cat >conftest.$ac_ext <<_ACEOF
1390 #line $LINENO "configure"
1393 cat confdefs.h >>conftest.$ac_ext
1394 cat >>conftest.$ac_ext <<_ACEOF
1395 /* end confdefs.h. */
1405 ac_clean_files_save=$ac_clean_files
1406 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1407 # Try to create an executable without -o first, disregard a.out.
1408 # It will help us diagnose broken compilers, and finding out an intuition
1410 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
1411 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
1412 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
1413 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1414 (eval $ac_link_default) 2>&5
1416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1417 (exit $ac_status); }; then
1418 # Find the output, starting from the most likely. This scheme is
1419 # not robust to junk in `.', hence go to wildcards
(a.
*) only as a last
1422 # Be careful to initialize this variable, since it used to be cached.
1423 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1425 # b.out is created by i960 compilers.
1426 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1428 test -f "$ac_file" ||
continue
1430 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1433 # This is the source file.
1436 # We found the default executable, but exeext='' is most
1440 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1441 # FIXME: I believe we export ac_cv_exeext for Libtool,
1442 # but it would be cool to find out if it's true. Does anybody
1443 # maintain Libtool? --akim.
1451 echo "$as_me: failed program was:" >&5
1452 sed 's/^/| /' conftest.
$ac_ext >&5
1454 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
1455 See \`config.log' for more details." >&5
1456 echo "$as_me: error: C++ compiler cannot create executables
1457 See \`config.log' for more details." >&2;}
1458 { (exit 77); exit 77; }; }
1461 ac_exeext
=$ac_cv_exeext
1462 echo "$as_me:$LINENO: result: $ac_file" >&5
1463 echo "${ECHO_T}$ac_file" >&6
1465 # Check the compiler produces executables we can run. If not, either
1466 # the compiler is broken, or we cross compile.
1467 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
1468 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
1469 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1470 # If not cross compiling, check that we can run a simple program.
1471 if test "$cross_compiling" != yes; then
1472 if { ac_try
='./$ac_file'
1473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1477 (exit $ac_status); }; }; then
1480 if test "$cross_compiling" = maybe
; then
1483 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
1484 If you meant to cross compile, use \`--host'.
1485 See \`config.log' for more details." >&5
1486 echo "$as_me: error: cannot run C++ compiled programs.
1487 If you meant to cross compile, use \`--host'.
1488 See \`config.log' for more details." >&2;}
1489 { (exit 1); exit 1; }; }
1493 echo "$as_me:$LINENO: result: yes" >&5
1494 echo "${ECHO_T}yes" >&6
1496 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1497 ac_clean_files
=$ac_clean_files_save
1498 # Check the compiler produces executables we can run. If not, either
1499 # the compiler is broken, or we cross compile.
1500 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1501 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1502 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1503 echo "${ECHO_T}$cross_compiling" >&6
1505 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1506 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1508 (eval $ac_link) 2>&5
1510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1511 (exit $ac_status); }; then
1512 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1513 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1514 # work properly (i.e., refer to `conftest.exe'), while it won't with
1516 for ac_file
in conftest.exe conftest conftest.
*; do
1517 test -f "$ac_file" ||
continue
1519 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1520 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1527 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1528 See \`config.log' for more details." >&5
1529 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1530 See \`config.log' for more details." >&2;}
1531 { (exit 1); exit 1; }; }
1534 rm -f conftest
$ac_cv_exeext
1535 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1536 echo "${ECHO_T}$ac_cv_exeext" >&6
1538 rm -f conftest.
$ac_ext
1539 EXEEXT
=$ac_cv_exeext
1541 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1542 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1543 if test "${ac_cv_objext+set}" = set; then
1544 echo $ECHO_N "(cached) $ECHO_C" >&6
1546 cat >conftest.
$ac_ext <<_ACEOF
1547 #line $LINENO "configure"
1550 cat confdefs.h
>>conftest.
$ac_ext
1551 cat >>conftest.
$ac_ext <<_ACEOF
1552 /* end confdefs.h. */
1562 rm -f conftest.o conftest.obj
1563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1564 (eval $ac_compile) 2>&5
1566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1567 (exit $ac_status); }; then
1568 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1570 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1571 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1576 echo "$as_me: failed program was:" >&5
1577 sed 's/^/| /' conftest.
$ac_ext >&5
1579 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1580 See \`config.log' for more details." >&5
1581 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1582 See \`config.log' for more details." >&2;}
1583 { (exit 1); exit 1; }; }
1586 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1588 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1589 echo "${ECHO_T}$ac_cv_objext" >&6
1590 OBJEXT
=$ac_cv_objext
1592 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
1593 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
1594 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1595 echo $ECHO_N "(cached) $ECHO_C" >&6
1597 cat >conftest.
$ac_ext <<_ACEOF
1598 #line $LINENO "configure"
1601 cat confdefs.h
>>conftest.
$ac_ext
1602 cat >>conftest.
$ac_ext <<_ACEOF
1603 /* end confdefs.h. */
1616 rm -f conftest.
$ac_objext
1617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1618 (eval $ac_compile) 2>&5
1620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1621 (exit $ac_status); } &&
1622 { ac_try
='test -s conftest.$ac_objext'
1623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1627 (exit $ac_status); }; }; then
1630 echo "$as_me: failed program was:" >&5
1631 sed 's/^/| /' conftest.
$ac_ext >&5
1635 rm -f conftest.
$ac_objext conftest.
$ac_ext
1636 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
1639 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
1640 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
1641 GXX
=`test $ac_compiler_gnu = yes && echo yes`
1642 ac_test_CXXFLAGS
=${CXXFLAGS+set}
1643 ac_save_CXXFLAGS
=$CXXFLAGS
1645 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
1646 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
1647 if test "${ac_cv_prog_cxx_g+set}" = set; then
1648 echo $ECHO_N "(cached) $ECHO_C" >&6
1650 cat >conftest.
$ac_ext <<_ACEOF
1651 #line $LINENO "configure"
1654 cat confdefs.h
>>conftest.
$ac_ext
1655 cat >>conftest.
$ac_ext <<_ACEOF
1656 /* end confdefs.h. */
1666 rm -f conftest.
$ac_objext
1667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1668 (eval $ac_compile) 2>&5
1670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1671 (exit $ac_status); } &&
1672 { ac_try
='test -s conftest.$ac_objext'
1673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1677 (exit $ac_status); }; }; then
1678 ac_cv_prog_cxx_g
=yes
1680 echo "$as_me: failed program was:" >&5
1681 sed 's/^/| /' conftest.
$ac_ext >&5
1685 rm -f conftest.
$ac_objext conftest.
$ac_ext
1687 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
1688 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1689 if test "$ac_test_CXXFLAGS" = set; then
1690 CXXFLAGS
=$ac_save_CXXFLAGS
1691 elif test $ac_cv_prog_cxx_g = yes; then
1692 if test "$GXX" = yes; then
1698 if test "$GXX" = yes; then
1704 for ac_declaration
in \
1706 '#include <stdlib.h>' \
1707 'extern "C" void std::exit (int) throw (); using std::exit;' \
1708 'extern "C" void std::exit (int); using std::exit;' \
1709 'extern "C" void exit (int) throw ();' \
1710 'extern "C" void exit (int);' \
1713 cat >conftest.
$ac_ext <<_ACEOF
1714 #line $LINENO "configure"
1717 cat confdefs.h
>>conftest.
$ac_ext
1718 cat >>conftest.
$ac_ext <<_ACEOF
1719 /* end confdefs.h. */
1730 rm -f conftest.
$ac_objext
1731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1732 (eval $ac_compile) 2>&5
1734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1735 (exit $ac_status); } &&
1736 { ac_try
='test -s conftest.$ac_objext'
1737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1741 (exit $ac_status); }; }; then
1744 echo "$as_me: failed program was:" >&5
1745 sed 's/^/| /' conftest.
$ac_ext >&5
1749 rm -f conftest.
$ac_objext conftest.
$ac_ext
1750 cat >conftest.
$ac_ext <<_ACEOF
1751 #line $LINENO "configure"
1754 cat confdefs.h
>>conftest.
$ac_ext
1755 cat >>conftest.
$ac_ext <<_ACEOF
1756 /* end confdefs.h. */
1766 rm -f conftest.
$ac_objext
1767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1768 (eval $ac_compile) 2>&5
1770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1771 (exit $ac_status); } &&
1772 { ac_try
='test -s conftest.$ac_objext'
1773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1777 (exit $ac_status); }; }; then
1780 echo "$as_me: failed program was:" >&5
1781 sed 's/^/| /' conftest.
$ac_ext >&5
1784 rm -f conftest.
$ac_objext conftest.
$ac_ext
1787 if test -n "$ac_declaration"; then
1788 echo '#ifdef __cplusplus' >>confdefs.h
1789 echo $ac_declaration >>confdefs.h
1790 echo '#endif' >>confdefs.h
1794 ac_cpp
='$CPP $CPPFLAGS'
1795 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1796 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1797 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1802 echo "Plugin source directory is $PWLIBDIR";
1806 if test "x$prefix" = "xNONE"; then
1807 INSTALLPREFIX
="/usr/local"
1809 INSTALLPREFIX
="${prefix}"
1818 # Check whether --enable-alsa or --disable-alsa was given.
1819 if test "${enable_alsa+set}" = set; then
1820 enableval
="$enable_alsa"
1826 if test "$enable_alsa" = "yes" ; then
1828 ac_cpp
='$CPP $CPPFLAGS'
1829 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1830 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1831 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1832 if test -n "$ac_tool_prefix"; then
1833 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1834 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1835 echo "$as_me:$LINENO: checking for $ac_word" >&5
1836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1837 if test "${ac_cv_prog_CC+set}" = set; then
1838 echo $ECHO_N "(cached) $ECHO_C" >&6
1840 if test -n "$CC"; then
1841 ac_cv_prog_CC
="$CC" # Let the user override the test.
1843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1847 test -z "$as_dir" && as_dir
=.
1848 for ac_exec_ext
in '' $ac_executable_extensions; do
1849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1850 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1860 if test -n "$CC"; then
1861 echo "$as_me:$LINENO: result: $CC" >&5
1862 echo "${ECHO_T}$CC" >&6
1864 echo "$as_me:$LINENO: result: no" >&5
1865 echo "${ECHO_T}no" >&6
1869 if test -z "$ac_cv_prog_CC"; then
1871 # Extract the first word of "gcc", so it can be a program name with args.
1872 set dummy gcc
; ac_word
=$2
1873 echo "$as_me:$LINENO: checking for $ac_word" >&5
1874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1875 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1876 echo $ECHO_N "(cached) $ECHO_C" >&6
1878 if test -n "$ac_ct_CC"; then
1879 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1885 test -z "$as_dir" && as_dir
=.
1886 for ac_exec_ext
in '' $ac_executable_extensions; do
1887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1888 ac_cv_prog_ac_ct_CC
="gcc"
1889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1897 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1898 if test -n "$ac_ct_CC"; then
1899 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1900 echo "${ECHO_T}$ac_ct_CC" >&6
1902 echo "$as_me:$LINENO: result: no" >&5
1903 echo "${ECHO_T}no" >&6
1911 if test -z "$CC"; then
1912 if test -n "$ac_tool_prefix"; then
1913 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1914 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1915 echo "$as_me:$LINENO: checking for $ac_word" >&5
1916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1917 if test "${ac_cv_prog_CC+set}" = set; then
1918 echo $ECHO_N "(cached) $ECHO_C" >&6
1920 if test -n "$CC"; then
1921 ac_cv_prog_CC
="$CC" # Let the user override the test.
1923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1927 test -z "$as_dir" && as_dir
=.
1928 for ac_exec_ext
in '' $ac_executable_extensions; do
1929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1930 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1940 if test -n "$CC"; then
1941 echo "$as_me:$LINENO: result: $CC" >&5
1942 echo "${ECHO_T}$CC" >&6
1944 echo "$as_me:$LINENO: result: no" >&5
1945 echo "${ECHO_T}no" >&6
1949 if test -z "$ac_cv_prog_CC"; then
1951 # Extract the first word of "cc", so it can be a program name with args.
1952 set dummy cc
; ac_word
=$2
1953 echo "$as_me:$LINENO: checking for $ac_word" >&5
1954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1955 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1956 echo $ECHO_N "(cached) $ECHO_C" >&6
1958 if test -n "$ac_ct_CC"; then
1959 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1965 test -z "$as_dir" && as_dir
=.
1966 for ac_exec_ext
in '' $ac_executable_extensions; do
1967 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1968 ac_cv_prog_ac_ct_CC
="cc"
1969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1977 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1978 if test -n "$ac_ct_CC"; then
1979 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1980 echo "${ECHO_T}$ac_ct_CC" >&6
1982 echo "$as_me:$LINENO: result: no" >&5
1983 echo "${ECHO_T}no" >&6
1992 if test -z "$CC"; then
1993 # Extract the first word of "cc", so it can be a program name with args.
1994 set dummy cc
; ac_word
=$2
1995 echo "$as_me:$LINENO: checking for $ac_word" >&5
1996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1997 if test "${ac_cv_prog_CC+set}" = set; then
1998 echo $ECHO_N "(cached) $ECHO_C" >&6
2000 if test -n "$CC"; then
2001 ac_cv_prog_CC
="$CC" # Let the user override the test.
2004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2008 test -z "$as_dir" && as_dir
=.
2009 for ac_exec_ext
in '' $ac_executable_extensions; do
2010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2011 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2012 ac_prog_rejected
=yes
2016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2022 if test $ac_prog_rejected = yes; then
2023 # We found a bogon in the path, so make sure we never use it.
2024 set dummy
$ac_cv_prog_CC
2026 if test $# != 0; then
2027 # We chose a different compiler from the bogus one.
2028 # However, it has the same basename, so the bogon will be chosen
2029 # first if we set CC to just the basename; use the full file name.
2031 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2037 if test -n "$CC"; then
2038 echo "$as_me:$LINENO: result: $CC" >&5
2039 echo "${ECHO_T}$CC" >&6
2041 echo "$as_me:$LINENO: result: no" >&5
2042 echo "${ECHO_T}no" >&6
2046 if test -z "$CC"; then
2047 if test -n "$ac_tool_prefix"; then
2050 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2051 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2052 echo "$as_me:$LINENO: checking for $ac_word" >&5
2053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2054 if test "${ac_cv_prog_CC+set}" = set; then
2055 echo $ECHO_N "(cached) $ECHO_C" >&6
2057 if test -n "$CC"; then
2058 ac_cv_prog_CC
="$CC" # Let the user override the test.
2060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2064 test -z "$as_dir" && as_dir
=.
2065 for ac_exec_ext
in '' $ac_executable_extensions; do
2066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2067 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2077 if test -n "$CC"; then
2078 echo "$as_me:$LINENO: result: $CC" >&5
2079 echo "${ECHO_T}$CC" >&6
2081 echo "$as_me:$LINENO: result: no" >&5
2082 echo "${ECHO_T}no" >&6
2085 test -n "$CC" && break
2088 if test -z "$CC"; then
2092 # Extract the first word of "$ac_prog", so it can be a program name with args.
2093 set dummy
$ac_prog; ac_word
=$2
2094 echo "$as_me:$LINENO: checking for $ac_word" >&5
2095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2096 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2097 echo $ECHO_N "(cached) $ECHO_C" >&6
2099 if test -n "$ac_ct_CC"; then
2100 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2106 test -z "$as_dir" && as_dir
=.
2107 for ac_exec_ext
in '' $ac_executable_extensions; do
2108 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2109 ac_cv_prog_ac_ct_CC
="$ac_prog"
2110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2118 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2119 if test -n "$ac_ct_CC"; then
2120 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2121 echo "${ECHO_T}$ac_ct_CC" >&6
2123 echo "$as_me:$LINENO: result: no" >&5
2124 echo "${ECHO_T}no" >&6
2127 test -n "$ac_ct_CC" && break
2136 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2137 See \`config.log' for more details." >&5
2138 echo "$as_me: error: no acceptable C compiler found in \$PATH
2139 See \`config.log' for more details." >&2;}
2140 { (exit 1); exit 1; }; }
2142 # Provide some information about the compiler.
2143 echo "$as_me:$LINENO:" \
2144 "checking for C compiler version" >&5
2145 ac_compiler
=`set X $ac_compile; echo $2`
2146 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2147 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2150 (exit $ac_status); }
2151 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2152 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2155 (exit $ac_status); }
2156 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2157 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160 (exit $ac_status); }
2162 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2163 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2164 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2165 echo $ECHO_N "(cached) $ECHO_C" >&6
2167 cat >conftest.
$ac_ext <<_ACEOF
2168 #line $LINENO "configure"
2171 cat confdefs.h
>>conftest.
$ac_ext
2172 cat >>conftest.
$ac_ext <<_ACEOF
2173 /* end confdefs.h. */
2186 rm -f conftest.
$ac_objext
2187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2188 (eval $ac_compile) 2>&5
2190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2191 (exit $ac_status); } &&
2192 { ac_try
='test -s conftest.$ac_objext'
2193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2197 (exit $ac_status); }; }; then
2200 echo "$as_me: failed program was:" >&5
2201 sed 's/^/| /' conftest.
$ac_ext >&5
2205 rm -f conftest.
$ac_objext conftest.
$ac_ext
2206 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2209 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2210 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2211 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2212 ac_test_CFLAGS
=${CFLAGS+set}
2213 ac_save_CFLAGS
=$CFLAGS
2215 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2216 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2217 if test "${ac_cv_prog_cc_g+set}" = set; then
2218 echo $ECHO_N "(cached) $ECHO_C" >&6
2220 cat >conftest.
$ac_ext <<_ACEOF
2221 #line $LINENO "configure"
2224 cat confdefs.h
>>conftest.
$ac_ext
2225 cat >>conftest.
$ac_ext <<_ACEOF
2226 /* end confdefs.h. */
2236 rm -f conftest.
$ac_objext
2237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2238 (eval $ac_compile) 2>&5
2240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241 (exit $ac_status); } &&
2242 { ac_try
='test -s conftest.$ac_objext'
2243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2247 (exit $ac_status); }; }; then
2250 echo "$as_me: failed program was:" >&5
2251 sed 's/^/| /' conftest.
$ac_ext >&5
2255 rm -f conftest.
$ac_objext conftest.
$ac_ext
2257 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2258 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2259 if test "$ac_test_CFLAGS" = set; then
2260 CFLAGS
=$ac_save_CFLAGS
2261 elif test $ac_cv_prog_cc_g = yes; then
2262 if test "$GCC" = yes; then
2268 if test "$GCC" = yes; then
2274 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2275 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2276 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2277 echo $ECHO_N "(cached) $ECHO_C" >&6
2279 ac_cv_prog_cc_stdc
=no
2281 cat >conftest.
$ac_ext <<_ACEOF
2282 #line $LINENO "configure"
2285 cat confdefs.h
>>conftest.
$ac_ext
2286 cat >>conftest.
$ac_ext <<_ACEOF
2287 /* end confdefs.h. */
2290 #include <sys/types.h>
2291 #include <sys/stat.h>
2292 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2293 struct buf { int x; };
2294 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2295 static char *e (p, i)
2301 static char *f (char * (*g) (char **, int), char **p, ...)
2306 s = g (p, va_arg (v,int));
2310 int test (int i, double x);
2311 struct s1 {int (*f) (int a);};
2312 struct s2 {int (*f) (double a);};
2313 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2319 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2324 # Don't try gcc -ansi; that turns off useful extensions and
2325 # breaks some systems' header files.
2326 # AIX -qlanglvl=ansi
2327 # Ultrix and OSF/1 -std1
2328 # HP-UX 10.20 and later -Ae
2329 # HP-UX older versions -Aa -D_HPUX_SOURCE
2330 # SVR4 -Xc -D__EXTENSIONS__
2331 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2333 CC
="$ac_save_CC $ac_arg"
2334 rm -f conftest.
$ac_objext
2335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2336 (eval $ac_compile) 2>&5
2338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2339 (exit $ac_status); } &&
2340 { ac_try
='test -s conftest.$ac_objext'
2341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2345 (exit $ac_status); }; }; then
2346 ac_cv_prog_cc_stdc
=$ac_arg
2349 echo "$as_me: failed program was:" >&5
2350 sed 's/^/| /' conftest.
$ac_ext >&5
2353 rm -f conftest.
$ac_objext
2355 rm -f conftest.
$ac_ext conftest.
$ac_objext
2360 case "x$ac_cv_prog_cc_stdc" in
2362 echo "$as_me:$LINENO: result: none needed" >&5
2363 echo "${ECHO_T}none needed" >&6 ;;
2365 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2366 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2367 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2370 # Some people use a C++ compiler to compile C. Since we use `exit',
2371 # in C++ we need to declare it. In case someone uses the same compiler
2372 # for both compiling C and C++ we need to have the C++ compiler decide
2373 # the declaration of exit, since it's the most demanding environment.
2374 cat >conftest.
$ac_ext <<_ACEOF
2379 rm -f conftest.
$ac_objext
2380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2381 (eval $ac_compile) 2>&5
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); } &&
2385 { ac_try
='test -s conftest.$ac_objext'
2386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2390 (exit $ac_status); }; }; then
2391 for ac_declaration
in \
2393 '#include <stdlib.h>' \
2394 'extern "C" void std::exit (int) throw (); using std::exit;' \
2395 'extern "C" void std::exit (int); using std::exit;' \
2396 'extern "C" void exit (int) throw ();' \
2397 'extern "C" void exit (int);' \
2400 cat >conftest.
$ac_ext <<_ACEOF
2401 #line $LINENO "configure"
2404 cat confdefs.h
>>conftest.
$ac_ext
2405 cat >>conftest.
$ac_ext <<_ACEOF
2406 /* end confdefs.h. */
2417 rm -f conftest.
$ac_objext
2418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2419 (eval $ac_compile) 2>&5
2421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422 (exit $ac_status); } &&
2423 { ac_try
='test -s conftest.$ac_objext'
2424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2428 (exit $ac_status); }; }; then
2431 echo "$as_me: failed program was:" >&5
2432 sed 's/^/| /' conftest.
$ac_ext >&5
2436 rm -f conftest.
$ac_objext conftest.
$ac_ext
2437 cat >conftest.
$ac_ext <<_ACEOF
2438 #line $LINENO "configure"
2441 cat confdefs.h
>>conftest.
$ac_ext
2442 cat >>conftest.
$ac_ext <<_ACEOF
2443 /* end confdefs.h. */
2453 rm -f conftest.
$ac_objext
2454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2455 (eval $ac_compile) 2>&5
2457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458 (exit $ac_status); } &&
2459 { ac_try
='test -s conftest.$ac_objext'
2460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2464 (exit $ac_status); }; }; then
2467 echo "$as_me: failed program was:" >&5
2468 sed 's/^/| /' conftest.
$ac_ext >&5
2471 rm -f conftest.
$ac_objext conftest.
$ac_ext
2474 if test -n "$ac_declaration"; then
2475 echo '#ifdef __cplusplus' >>confdefs.h
2476 echo $ac_declaration >>confdefs.h
2477 echo '#endif' >>confdefs.h
2481 echo "$as_me: failed program was:" >&5
2482 sed 's/^/| /' conftest.
$ac_ext >&5
2485 rm -f conftest.
$ac_objext conftest.
$ac_ext
2487 ac_cpp
='$CPP $CPPFLAGS'
2488 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2489 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2490 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2494 ac_cpp
='$CPP $CPPFLAGS'
2495 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2496 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2497 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2498 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2499 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2500 # On Suns, sometimes $CPP names a directory.
2501 if test -n "$CPP" && test -d "$CPP"; then
2504 if test -z "$CPP"; then
2505 if test "${ac_cv_prog_CPP+set}" = set; then
2506 echo $ECHO_N "(cached) $ECHO_C" >&6
2508 # Double quotes because CPP needs to be expanded
2509 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2512 for ac_c_preproc_warn_flag
in '' yes
2514 # Use a header file that comes with gcc, so configuring glibc
2515 # with a fresh cross-compiler works.
2516 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2517 # <limits.h> exists even on freestanding compilers.
2518 # On the NeXT, cc -E runs the code through the compiler's parser,
2519 # not just through cpp. "Syntax error" is here to catch this case.
2520 cat >conftest.
$ac_ext <<_ACEOF
2521 #line $LINENO "configure"
2524 cat confdefs.h
>>conftest.
$ac_ext
2525 cat >>conftest.
$ac_ext <<_ACEOF
2526 /* end confdefs.h. */
2528 # include <limits.h>
2530 # include <assert.h>
2534 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2535 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2537 grep -v '^ *+' conftest.er1
>conftest.err
2539 cat conftest.err
>&5
2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 (exit $ac_status); } >/dev
/null
; then
2542 if test -s conftest.err
; then
2543 ac_cpp_err
=$ac_c_preproc_warn_flag
2550 if test -z "$ac_cpp_err"; then
2553 echo "$as_me: failed program was:" >&5
2554 sed 's/^/| /' conftest.
$ac_ext >&5
2556 # Broken: fails on valid input.
2559 rm -f conftest.err conftest.
$ac_ext
2561 # OK, works on sane cases. Now check whether non-existent headers
2562 # can be detected and how.
2563 cat >conftest.
$ac_ext <<_ACEOF
2564 #line $LINENO "configure"
2567 cat confdefs.h
>>conftest.
$ac_ext
2568 cat >>conftest.
$ac_ext <<_ACEOF
2569 /* end confdefs.h. */
2570 #include <ac_nonexistent.h>
2572 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2573 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2575 grep -v '^ *+' conftest.er1
>conftest.err
2577 cat conftest.err
>&5
2578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2579 (exit $ac_status); } >/dev
/null
; then
2580 if test -s conftest.err
; then
2581 ac_cpp_err
=$ac_c_preproc_warn_flag
2588 if test -z "$ac_cpp_err"; then
2589 # Broken: success on invalid input.
2592 echo "$as_me: failed program was:" >&5
2593 sed 's/^/| /' conftest.
$ac_ext >&5
2595 # Passes both tests.
2599 rm -f conftest.err conftest.
$ac_ext
2602 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2603 rm -f conftest.err conftest.
$ac_ext
2604 if $ac_preproc_ok; then
2616 echo "$as_me:$LINENO: result: $CPP" >&5
2617 echo "${ECHO_T}$CPP" >&6
2619 for ac_c_preproc_warn_flag
in '' yes
2621 # Use a header file that comes with gcc, so configuring glibc
2622 # with a fresh cross-compiler works.
2623 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2624 # <limits.h> exists even on freestanding compilers.
2625 # On the NeXT, cc -E runs the code through the compiler's parser,
2626 # not just through cpp. "Syntax error" is here to catch this case.
2627 cat >conftest.
$ac_ext <<_ACEOF
2628 #line $LINENO "configure"
2631 cat confdefs.h
>>conftest.
$ac_ext
2632 cat >>conftest.
$ac_ext <<_ACEOF
2633 /* end confdefs.h. */
2635 # include <limits.h>
2637 # include <assert.h>
2641 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2642 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2644 grep -v '^ *+' conftest.er1
>conftest.err
2646 cat conftest.err
>&5
2647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648 (exit $ac_status); } >/dev
/null
; then
2649 if test -s conftest.err
; then
2650 ac_cpp_err
=$ac_c_preproc_warn_flag
2657 if test -z "$ac_cpp_err"; then
2660 echo "$as_me: failed program was:" >&5
2661 sed 's/^/| /' conftest.
$ac_ext >&5
2663 # Broken: fails on valid input.
2666 rm -f conftest.err conftest.
$ac_ext
2668 # OK, works on sane cases. Now check whether non-existent headers
2669 # can be detected and how.
2670 cat >conftest.
$ac_ext <<_ACEOF
2671 #line $LINENO "configure"
2674 cat confdefs.h
>>conftest.
$ac_ext
2675 cat >>conftest.
$ac_ext <<_ACEOF
2676 /* end confdefs.h. */
2677 #include <ac_nonexistent.h>
2679 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2680 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2682 grep -v '^ *+' conftest.er1
>conftest.err
2684 cat conftest.err
>&5
2685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2686 (exit $ac_status); } >/dev
/null
; then
2687 if test -s conftest.err
; then
2688 ac_cpp_err
=$ac_c_preproc_warn_flag
2695 if test -z "$ac_cpp_err"; then
2696 # Broken: success on invalid input.
2699 echo "$as_me: failed program was:" >&5
2700 sed 's/^/| /' conftest.
$ac_ext >&5
2702 # Passes both tests.
2706 rm -f conftest.err conftest.
$ac_ext
2709 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2710 rm -f conftest.err conftest.
$ac_ext
2711 if $ac_preproc_ok; then
2714 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2715 See \`config.log' for more details." >&5
2716 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2717 See \`config.log' for more details." >&2;}
2718 { (exit 1); exit 1; }; }
2722 ac_cpp
='$CPP $CPPFLAGS'
2723 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2724 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2725 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2728 echo "$as_me:$LINENO: checking for egrep" >&5
2729 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2730 if test "${ac_cv_prog_egrep+set}" = set; then
2731 echo $ECHO_N "(cached) $ECHO_C" >&6
2733 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2734 then ac_cv_prog_egrep
='grep -E'
2735 else ac_cv_prog_egrep
='egrep'
2738 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2739 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2740 EGREP
=$ac_cv_prog_egrep
2743 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2744 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2745 if test "${ac_cv_header_stdc+set}" = set; then
2746 echo $ECHO_N "(cached) $ECHO_C" >&6
2748 cat >conftest.
$ac_ext <<_ACEOF
2749 #line $LINENO "configure"
2752 cat confdefs.h
>>conftest.
$ac_ext
2753 cat >>conftest.
$ac_ext <<_ACEOF
2754 /* end confdefs.h. */
2768 rm -f conftest.
$ac_objext
2769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2770 (eval $ac_compile) 2>&5
2772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2773 (exit $ac_status); } &&
2774 { ac_try
='test -s conftest.$ac_objext'
2775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); }; }; then
2780 ac_cv_header_stdc
=yes
2782 echo "$as_me: failed program was:" >&5
2783 sed 's/^/| /' conftest.
$ac_ext >&5
2785 ac_cv_header_stdc
=no
2787 rm -f conftest.
$ac_objext conftest.
$ac_ext
2789 if test $ac_cv_header_stdc = yes; then
2790 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2791 cat >conftest.
$ac_ext <<_ACEOF
2792 #line $LINENO "configure"
2795 cat confdefs.h
>>conftest.
$ac_ext
2796 cat >>conftest.
$ac_ext <<_ACEOF
2797 /* end confdefs.h. */
2801 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2802 $EGREP "memchr" >/dev
/null
2>&1; then
2805 ac_cv_header_stdc
=no
2811 if test $ac_cv_header_stdc = yes; then
2812 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2813 cat >conftest.
$ac_ext <<_ACEOF
2814 #line $LINENO "configure"
2817 cat confdefs.h
>>conftest.
$ac_ext
2818 cat >>conftest.
$ac_ext <<_ACEOF
2819 /* end confdefs.h. */
2823 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2824 $EGREP "free" >/dev
/null
2>&1; then
2827 ac_cv_header_stdc
=no
2833 if test $ac_cv_header_stdc = yes; then
2834 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2835 if test "$cross_compiling" = yes; then
2838 cat >conftest.
$ac_ext <<_ACEOF
2839 #line $LINENO "configure"
2842 cat confdefs.h
>>conftest.
$ac_ext
2843 cat >>conftest.
$ac_ext <<_ACEOF
2844 /* end confdefs.h. */
2846 #if ((' ' & 0x0FF) == 0x020)
2847 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2848 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2850 # define ISLOWER(c) \
2851 (('a' <= (c) && (c) <= 'i') \
2852 || ('j' <= (c) && (c) <= 'r') \
2853 || ('s' <= (c) && (c) <= 'z'))
2854 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2857 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2862 for (i = 0; i < 256; i++)
2863 if (XOR (islower (i), ISLOWER (i))
2864 || toupper (i) != TOUPPER (i))
2869 rm -f conftest
$ac_exeext
2870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2871 (eval $ac_link) 2>&5
2873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879 (exit $ac_status); }; }; then
2882 echo "$as_me: program exited with status $ac_status" >&5
2883 echo "$as_me: failed program was:" >&5
2884 sed 's/^/| /' conftest.
$ac_ext >&5
2887 ac_cv_header_stdc
=no
2889 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2893 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2894 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2895 if test $ac_cv_header_stdc = yes; then
2897 cat >>confdefs.h
<<\_ACEOF
2898 #define STDC_HEADERS 1
2903 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2913 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
2914 inttypes.h stdint.h unistd.h
2916 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2917 echo "$as_me:$LINENO: checking for $ac_header" >&5
2918 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2919 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2920 echo $ECHO_N "(cached) $ECHO_C" >&6
2922 cat >conftest.
$ac_ext <<_ACEOF
2923 #line $LINENO "configure"
2926 cat confdefs.h
>>conftest.
$ac_ext
2927 cat >>conftest.
$ac_ext <<_ACEOF
2928 /* end confdefs.h. */
2929 $ac_includes_default
2931 #include <$ac_header>
2933 rm -f conftest.
$ac_objext
2934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2935 (eval $ac_compile) 2>&5
2937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938 (exit $ac_status); } &&
2939 { ac_try
='test -s conftest.$ac_objext'
2940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944 (exit $ac_status); }; }; then
2945 eval "$as_ac_Header=yes"
2947 echo "$as_me: failed program was:" >&5
2948 sed 's/^/| /' conftest.
$ac_ext >&5
2950 eval "$as_ac_Header=no"
2952 rm -f conftest.
$ac_objext conftest.
$ac_ext
2954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2955 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2956 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2957 cat >>confdefs.h
<<_ACEOF
2958 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2966 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
2967 echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
2968 echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6
2969 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
2970 echo $ECHO_N "(cached) $ECHO_C" >&6
2972 echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
2973 echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6
2975 # Is the header compilable?
2976 echo "$as_me:$LINENO: checking alsa/asoundlib.h usability" >&5
2977 echo $ECHO_N "checking alsa/asoundlib.h usability... $ECHO_C" >&6
2978 cat >conftest.
$ac_ext <<_ACEOF
2979 #line $LINENO "configure"
2982 cat confdefs.h
>>conftest.
$ac_ext
2983 cat >>conftest.
$ac_ext <<_ACEOF
2984 /* end confdefs.h. */
2985 $ac_includes_default
2986 #include <alsa/asoundlib.h>
2988 rm -f conftest.
$ac_objext
2989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2990 (eval $ac_compile) 2>&5
2992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993 (exit $ac_status); } &&
2994 { ac_try
='test -s conftest.$ac_objext'
2995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999 (exit $ac_status); }; }; then
3000 ac_header_compiler
=yes
3002 echo "$as_me: failed program was:" >&5
3003 sed 's/^/| /' conftest.
$ac_ext >&5
3005 ac_header_compiler
=no
3007 rm -f conftest.
$ac_objext conftest.
$ac_ext
3008 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3009 echo "${ECHO_T}$ac_header_compiler" >&6
3011 # Is the header present?
3012 echo "$as_me:$LINENO: checking alsa/asoundlib.h presence" >&5
3013 echo $ECHO_N "checking alsa/asoundlib.h presence... $ECHO_C" >&6
3014 cat >conftest.
$ac_ext <<_ACEOF
3015 #line $LINENO "configure"
3018 cat confdefs.h
>>conftest.
$ac_ext
3019 cat >>conftest.
$ac_ext <<_ACEOF
3020 /* end confdefs.h. */
3021 #include <alsa/asoundlib.h>
3023 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3024 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3026 grep -v '^ *+' conftest.er1
>conftest.err
3028 cat conftest.err
>&5
3029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3030 (exit $ac_status); } >/dev
/null
; then
3031 if test -s conftest.err
; then
3032 ac_cpp_err
=$ac_c_preproc_warn_flag
3039 if test -z "$ac_cpp_err"; then
3040 ac_header_preproc
=yes
3042 echo "$as_me: failed program was:" >&5
3043 sed 's/^/| /' conftest.
$ac_ext >&5
3045 ac_header_preproc
=no
3047 rm -f conftest.err conftest.
$ac_ext
3048 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3049 echo "${ECHO_T}$ac_header_preproc" >&6
3051 # So? What about this header?
3052 case $ac_header_compiler:$ac_header_preproc in
3054 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
3055 echo "$as_me: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3056 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&5
3057 echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;}
3060 ## ------------------------------------ ##
3061 ## Report this to bug-autoconf@gnu.org. ##
3062 ## ------------------------------------ ##
3065 sed "s/^/$as_me: WARNING: /" >&2
3068 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&5
3069 echo "$as_me: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&2;}
3070 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&5
3071 echo "$as_me: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&2;}
3072 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&5
3073 echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;}
3076 ## ------------------------------------ ##
3077 ## Report this to bug-autoconf@gnu.org. ##
3078 ## ------------------------------------ ##
3081 sed "s/^/$as_me: WARNING: /" >&2
3084 echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
3085 echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6
3086 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
3087 echo $ECHO_N "(cached) $ECHO_C" >&6
3089 ac_cv_header_alsa_asoundlib_h
=$ac_header_preproc
3091 echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
3092 echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6
3095 if test $ac_cv_header_alsa_asoundlib_h = yes; then
3100 echo "$as_me:$LINENO: checking for ALSA sound support" >&5
3101 echo $ECHO_N "checking for ALSA sound support... $ECHO_C" >&6
3102 if test "${ALSAHDR:-unset}" != "unset"; then
3105 echo "$as_me:$LINENO: result: yes" >&5
3106 echo "${ECHO_T}yes" >&6
3108 echo "$as_me:$LINENO: result: no" >&5
3109 echo "${ECHO_T}no" >&6
3114 # Check whether --enable-oss or --disable-oss was given.
3115 if test "${enable_oss+set}" = set; then
3116 enableval
="$enable_oss"
3122 if test "$enable_oss" = "yes" ; then
3123 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
3124 echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5
3125 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6
3126 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
3127 echo $ECHO_N "(cached) $ECHO_C" >&6
3129 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5
3130 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6
3132 # Is the header compilable?
3133 echo "$as_me:$LINENO: checking sys/soundcard.h usability" >&5
3134 echo $ECHO_N "checking sys/soundcard.h usability... $ECHO_C" >&6
3135 cat >conftest.
$ac_ext <<_ACEOF
3136 #line $LINENO "configure"
3139 cat confdefs.h
>>conftest.
$ac_ext
3140 cat >>conftest.
$ac_ext <<_ACEOF
3141 /* end confdefs.h. */
3142 $ac_includes_default
3143 #include <sys/soundcard.h>
3145 rm -f conftest.
$ac_objext
3146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3147 (eval $ac_compile) 2>&5
3149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3150 (exit $ac_status); } &&
3151 { ac_try
='test -s conftest.$ac_objext'
3152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3156 (exit $ac_status); }; }; then
3157 ac_header_compiler
=yes
3159 echo "$as_me: failed program was:" >&5
3160 sed 's/^/| /' conftest.
$ac_ext >&5
3162 ac_header_compiler
=no
3164 rm -f conftest.
$ac_objext conftest.
$ac_ext
3165 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3166 echo "${ECHO_T}$ac_header_compiler" >&6
3168 # Is the header present?
3169 echo "$as_me:$LINENO: checking sys/soundcard.h presence" >&5
3170 echo $ECHO_N "checking sys/soundcard.h presence... $ECHO_C" >&6
3171 cat >conftest.
$ac_ext <<_ACEOF
3172 #line $LINENO "configure"
3175 cat confdefs.h
>>conftest.
$ac_ext
3176 cat >>conftest.
$ac_ext <<_ACEOF
3177 /* end confdefs.h. */
3178 #include <sys/soundcard.h>
3180 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3181 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3183 grep -v '^ *+' conftest.er1
>conftest.err
3185 cat conftest.err
>&5
3186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3187 (exit $ac_status); } >/dev
/null
; then
3188 if test -s conftest.err
; then
3189 ac_cpp_err
=$ac_c_preproc_warn_flag
3196 if test -z "$ac_cpp_err"; then
3197 ac_header_preproc
=yes
3199 echo "$as_me: failed program was:" >&5
3200 sed 's/^/| /' conftest.
$ac_ext >&5
3202 ac_header_preproc
=no
3204 rm -f conftest.err conftest.
$ac_ext
3205 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3206 echo "${ECHO_T}$ac_header_preproc" >&6
3208 # So? What about this header?
3209 case $ac_header_compiler:$ac_header_preproc in
3211 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5
3212 echo "$as_me: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3213 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&5
3214 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&2;}
3217 ## ------------------------------------ ##
3218 ## Report this to bug-autoconf@gnu.org. ##
3219 ## ------------------------------------ ##
3222 sed "s/^/$as_me: WARNING: /" >&2
3225 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: present but cannot be compiled" >&5
3226 echo "$as_me: WARNING: sys/soundcard.h: present but cannot be compiled" >&2;}
3227 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&5
3228 echo "$as_me: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&2;}
3229 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&5
3230 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&2;}
3233 ## ------------------------------------ ##
3234 ## Report this to bug-autoconf@gnu.org. ##
3235 ## ------------------------------------ ##
3238 sed "s/^/$as_me: WARNING: /" >&2
3241 echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5
3242 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6
3243 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
3244 echo $ECHO_N "(cached) $ECHO_C" >&6
3246 ac_cv_header_sys_soundcard_h
=$ac_header_preproc
3248 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5
3249 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6
3252 if test $ac_cv_header_sys_soundcard_h = yes; then
3257 echo "$as_me:$LINENO: checking for OSS sound support" >&5
3258 echo $ECHO_N "checking for OSS sound support... $ECHO_C" >&6
3259 if test "${SNDCARDHDR:-unset}" != "unset"; then
3262 echo "$as_me:$LINENO: result: yes" >&5
3263 echo "${ECHO_T}yes" >&6
3265 echo "$as_me:$LINENO: result: no" >&5
3266 echo "${ECHO_T}no" >&6
3270 # Check whether --enable-video or --disable-video was given.
3271 if test "${enable_video+set}" = set; then
3272 enableval
="$enable_video"
3276 if test "$video" != "no" ; then
3279 # Check whether --enable-v4l or --disable-v4l was given.
3280 if test "${enable_v4l+set}" = set; then
3281 enableval
="$enable_v4l"
3287 if test "$enable_v4l" = "yes" ; then
3288 if test "${ac_cv_header_linux_videodev_h+set}" = set; then
3289 echo "$as_me:$LINENO: checking for linux/videodev.h" >&5
3290 echo $ECHO_N "checking for linux/videodev.h... $ECHO_C" >&6
3291 if test "${ac_cv_header_linux_videodev_h+set}" = set; then
3292 echo $ECHO_N "(cached) $ECHO_C" >&6
3294 echo "$as_me:$LINENO: result: $ac_cv_header_linux_videodev_h" >&5
3295 echo "${ECHO_T}$ac_cv_header_linux_videodev_h" >&6
3297 # Is the header compilable?
3298 echo "$as_me:$LINENO: checking linux/videodev.h usability" >&5
3299 echo $ECHO_N "checking linux/videodev.h usability... $ECHO_C" >&6
3300 cat >conftest.
$ac_ext <<_ACEOF
3301 #line $LINENO "configure"
3304 cat confdefs.h
>>conftest.
$ac_ext
3305 cat >>conftest.
$ac_ext <<_ACEOF
3306 /* end confdefs.h. */
3307 $ac_includes_default
3308 #include <linux/videodev.h>
3310 rm -f conftest.
$ac_objext
3311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3312 (eval $ac_compile) 2>&5
3314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315 (exit $ac_status); } &&
3316 { ac_try
='test -s conftest.$ac_objext'
3317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321 (exit $ac_status); }; }; then
3322 ac_header_compiler
=yes
3324 echo "$as_me: failed program was:" >&5
3325 sed 's/^/| /' conftest.
$ac_ext >&5
3327 ac_header_compiler
=no
3329 rm -f conftest.
$ac_objext conftest.
$ac_ext
3330 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3331 echo "${ECHO_T}$ac_header_compiler" >&6
3333 # Is the header present?
3334 echo "$as_me:$LINENO: checking linux/videodev.h presence" >&5
3335 echo $ECHO_N "checking linux/videodev.h presence... $ECHO_C" >&6
3336 cat >conftest.
$ac_ext <<_ACEOF
3337 #line $LINENO "configure"
3340 cat confdefs.h
>>conftest.
$ac_ext
3341 cat >>conftest.
$ac_ext <<_ACEOF
3342 /* end confdefs.h. */
3343 #include <linux/videodev.h>
3345 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3346 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3348 grep -v '^ *+' conftest.er1
>conftest.err
3350 cat conftest.err
>&5
3351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352 (exit $ac_status); } >/dev
/null
; then
3353 if test -s conftest.err
; then
3354 ac_cpp_err
=$ac_c_preproc_warn_flag
3361 if test -z "$ac_cpp_err"; then
3362 ac_header_preproc
=yes
3364 echo "$as_me: failed program was:" >&5
3365 sed 's/^/| /' conftest.
$ac_ext >&5
3367 ac_header_preproc
=no
3369 rm -f conftest.err conftest.
$ac_ext
3370 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3371 echo "${ECHO_T}$ac_header_preproc" >&6
3373 # So? What about this header?
3374 case $ac_header_compiler:$ac_header_preproc in
3376 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: accepted by the compiler, rejected by the preprocessor!" >&5
3377 echo "$as_me: WARNING: linux/videodev.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3378 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: proceeding with the preprocessor's result" >&5
3379 echo "$as_me: WARNING: linux/videodev.h: proceeding with the preprocessor's result" >&2;}
3382 ## ------------------------------------ ##
3383 ## Report this to bug-autoconf@gnu.org. ##
3384 ## ------------------------------------ ##
3387 sed "s/^/$as_me: WARNING: /" >&2
3390 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: present but cannot be compiled" >&5
3391 echo "$as_me: WARNING: linux/videodev.h: present but cannot be compiled" >&2;}
3392 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: check for missing prerequisite headers?" >&5
3393 echo "$as_me: WARNING: linux/videodev.h: check for missing prerequisite headers?" >&2;}
3394 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: proceeding with the preprocessor's result" >&5
3395 echo "$as_me: WARNING: linux/videodev.h: proceeding with the preprocessor's result" >&2;}
3398 ## ------------------------------------ ##
3399 ## Report this to bug-autoconf@gnu.org. ##
3400 ## ------------------------------------ ##
3403 sed "s/^/$as_me: WARNING: /" >&2
3406 echo "$as_me:$LINENO: checking for linux/videodev.h" >&5
3407 echo $ECHO_N "checking for linux/videodev.h... $ECHO_C" >&6
3408 if test "${ac_cv_header_linux_videodev_h+set}" = set; then
3409 echo $ECHO_N "(cached) $ECHO_C" >&6
3411 ac_cv_header_linux_videodev_h
=$ac_header_preproc
3413 echo "$as_me:$LINENO: result: $ac_cv_header_linux_videodev_h" >&5
3414 echo "${ECHO_T}$ac_cv_header_linux_videodev_h" >&6
3417 if test $ac_cv_header_linux_videodev_h = yes; then
3422 echo "$as_me:$LINENO: checking for V4L video support" >&5
3423 echo $ECHO_N "checking for V4L video support... $ECHO_C" >&6
3424 if test "${V4LHDR:-unset}" != "unset"; then
3427 echo "$as_me:$LINENO: result: yes" >&5
3428 echo "${ECHO_T}yes" >&6
3430 echo "$as_me:$LINENO: result: no" >&5
3431 echo "${ECHO_T}no" >&6
3436 # Check whether --enable-bsdvideo or --disable-bsdvideo was given.
3437 if test "${enable_bsdvideo+set}" = set; then
3438 enableval
="$enable_bsdvideo"
3444 if test "$enable_bsdvideo" = "yes" ; then
3445 if test "${ac_cv_header_machine_ioctl_meteor_h+set}" = set; then
3446 echo "$as_me:$LINENO: checking for machine/ioctl_meteor.h" >&5
3447 echo $ECHO_N "checking for machine/ioctl_meteor.h... $ECHO_C" >&6
3448 if test "${ac_cv_header_machine_ioctl_meteor_h+set}" = set; then
3449 echo $ECHO_N "(cached) $ECHO_C" >&6
3451 echo "$as_me:$LINENO: result: $ac_cv_header_machine_ioctl_meteor_h" >&5
3452 echo "${ECHO_T}$ac_cv_header_machine_ioctl_meteor_h" >&6
3454 # Is the header compilable?
3455 echo "$as_me:$LINENO: checking machine/ioctl_meteor.h usability" >&5
3456 echo $ECHO_N "checking machine/ioctl_meteor.h usability... $ECHO_C" >&6
3457 cat >conftest.
$ac_ext <<_ACEOF
3458 #line $LINENO "configure"
3461 cat confdefs.h
>>conftest.
$ac_ext
3462 cat >>conftest.
$ac_ext <<_ACEOF
3463 /* end confdefs.h. */
3464 $ac_includes_default
3465 #include <machine/ioctl_meteor.h>
3467 rm -f conftest.
$ac_objext
3468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3469 (eval $ac_compile) 2>&5
3471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3472 (exit $ac_status); } &&
3473 { ac_try
='test -s conftest.$ac_objext'
3474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3478 (exit $ac_status); }; }; then
3479 ac_header_compiler
=yes
3481 echo "$as_me: failed program was:" >&5
3482 sed 's/^/| /' conftest.
$ac_ext >&5
3484 ac_header_compiler
=no
3486 rm -f conftest.
$ac_objext conftest.
$ac_ext
3487 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3488 echo "${ECHO_T}$ac_header_compiler" >&6
3490 # Is the header present?
3491 echo "$as_me:$LINENO: checking machine/ioctl_meteor.h presence" >&5
3492 echo $ECHO_N "checking machine/ioctl_meteor.h presence... $ECHO_C" >&6
3493 cat >conftest.
$ac_ext <<_ACEOF
3494 #line $LINENO "configure"
3497 cat confdefs.h
>>conftest.
$ac_ext
3498 cat >>conftest.
$ac_ext <<_ACEOF
3499 /* end confdefs.h. */
3500 #include <machine/ioctl_meteor.h>
3502 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3503 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3505 grep -v '^ *+' conftest.er1
>conftest.err
3507 cat conftest.err
>&5
3508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3509 (exit $ac_status); } >/dev
/null
; then
3510 if test -s conftest.err
; then
3511 ac_cpp_err
=$ac_c_preproc_warn_flag
3518 if test -z "$ac_cpp_err"; then
3519 ac_header_preproc
=yes
3521 echo "$as_me: failed program was:" >&5
3522 sed 's/^/| /' conftest.
$ac_ext >&5
3524 ac_header_preproc
=no
3526 rm -f conftest.err conftest.
$ac_ext
3527 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3528 echo "${ECHO_T}$ac_header_preproc" >&6
3530 # So? What about this header?
3531 case $ac_header_compiler:$ac_header_preproc in
3533 { echo "$as_me:$LINENO: WARNING: machine/ioctl_meteor.h: accepted by the compiler, rejected by the preprocessor!" >&5
3534 echo "$as_me: WARNING: machine/ioctl_meteor.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3535 { echo "$as_me:$LINENO: WARNING: machine/ioctl_meteor.h: proceeding with the preprocessor's result" >&5
3536 echo "$as_me: WARNING: machine/ioctl_meteor.h: proceeding with the preprocessor's result" >&2;}
3539 ## ------------------------------------ ##
3540 ## Report this to bug-autoconf@gnu.org. ##
3541 ## ------------------------------------ ##
3544 sed "s/^/$as_me: WARNING: /" >&2
3547 { echo "$as_me:$LINENO: WARNING: machine/ioctl_meteor.h: present but cannot be compiled" >&5
3548 echo "$as_me: WARNING: machine/ioctl_meteor.h: present but cannot be compiled" >&2;}
3549 { echo "$as_me:$LINENO: WARNING: machine/ioctl_meteor.h: check for missing prerequisite headers?" >&5
3550 echo "$as_me: WARNING: machine/ioctl_meteor.h: check for missing prerequisite headers?" >&2;}
3551 { echo "$as_me:$LINENO: WARNING: machine/ioctl_meteor.h: proceeding with the preprocessor's result" >&5
3552 echo "$as_me: WARNING: machine/ioctl_meteor.h: proceeding with the preprocessor's result" >&2;}
3555 ## ------------------------------------ ##
3556 ## Report this to bug-autoconf@gnu.org. ##
3557 ## ------------------------------------ ##
3560 sed "s/^/$as_me: WARNING: /" >&2
3563 echo "$as_me:$LINENO: checking for machine/ioctl_meteor.h" >&5
3564 echo $ECHO_N "checking for machine/ioctl_meteor.h... $ECHO_C" >&6
3565 if test "${ac_cv_header_machine_ioctl_meteor_h+set}" = set; then
3566 echo $ECHO_N "(cached) $ECHO_C" >&6
3568 ac_cv_header_machine_ioctl_meteor_h
=$ac_header_preproc
3570 echo "$as_me:$LINENO: result: $ac_cv_header_machine_ioctl_meteor_h" >&5
3571 echo "${ECHO_T}$ac_cv_header_machine_ioctl_meteor_h" >&6
3574 if test $ac_cv_header_machine_ioctl_meteor_h = yes; then
3579 if test "${ac_cv_header_i386_ioctl_meteor_h+set}" = set; then
3580 echo "$as_me:$LINENO: checking for i386/ioctl_meteor.h" >&5
3581 echo $ECHO_N "checking for i386/ioctl_meteor.h... $ECHO_C" >&6
3582 if test "${ac_cv_header_i386_ioctl_meteor_h+set}" = set; then
3583 echo $ECHO_N "(cached) $ECHO_C" >&6
3585 echo "$as_me:$LINENO: result: $ac_cv_header_i386_ioctl_meteor_h" >&5
3586 echo "${ECHO_T}$ac_cv_header_i386_ioctl_meteor_h" >&6
3588 # Is the header compilable?
3589 echo "$as_me:$LINENO: checking i386/ioctl_meteor.h usability" >&5
3590 echo $ECHO_N "checking i386/ioctl_meteor.h usability... $ECHO_C" >&6
3591 cat >conftest.
$ac_ext <<_ACEOF
3592 #line $LINENO "configure"
3595 cat confdefs.h
>>conftest.
$ac_ext
3596 cat >>conftest.
$ac_ext <<_ACEOF
3597 /* end confdefs.h. */
3598 $ac_includes_default
3599 #include <i386/ioctl_meteor.h>
3601 rm -f conftest.
$ac_objext
3602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3603 (eval $ac_compile) 2>&5
3605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606 (exit $ac_status); } &&
3607 { ac_try
='test -s conftest.$ac_objext'
3608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612 (exit $ac_status); }; }; then
3613 ac_header_compiler
=yes
3615 echo "$as_me: failed program was:" >&5
3616 sed 's/^/| /' conftest.
$ac_ext >&5
3618 ac_header_compiler
=no
3620 rm -f conftest.
$ac_objext conftest.
$ac_ext
3621 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3622 echo "${ECHO_T}$ac_header_compiler" >&6
3624 # Is the header present?
3625 echo "$as_me:$LINENO: checking i386/ioctl_meteor.h presence" >&5
3626 echo $ECHO_N "checking i386/ioctl_meteor.h presence... $ECHO_C" >&6
3627 cat >conftest.
$ac_ext <<_ACEOF
3628 #line $LINENO "configure"
3631 cat confdefs.h
>>conftest.
$ac_ext
3632 cat >>conftest.
$ac_ext <<_ACEOF
3633 /* end confdefs.h. */
3634 #include <i386/ioctl_meteor.h>
3636 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3637 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3639 grep -v '^ *+' conftest.er1
>conftest.err
3641 cat conftest.err
>&5
3642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3643 (exit $ac_status); } >/dev
/null
; then
3644 if test -s conftest.err
; then
3645 ac_cpp_err
=$ac_c_preproc_warn_flag
3652 if test -z "$ac_cpp_err"; then
3653 ac_header_preproc
=yes
3655 echo "$as_me: failed program was:" >&5
3656 sed 's/^/| /' conftest.
$ac_ext >&5
3658 ac_header_preproc
=no
3660 rm -f conftest.err conftest.
$ac_ext
3661 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3662 echo "${ECHO_T}$ac_header_preproc" >&6
3664 # So? What about this header?
3665 case $ac_header_compiler:$ac_header_preproc in
3667 { echo "$as_me:$LINENO: WARNING: i386/ioctl_meteor.h: accepted by the compiler, rejected by the preprocessor!" >&5
3668 echo "$as_me: WARNING: i386/ioctl_meteor.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3669 { echo "$as_me:$LINENO: WARNING: i386/ioctl_meteor.h: proceeding with the preprocessor's result" >&5
3670 echo "$as_me: WARNING: i386/ioctl_meteor.h: proceeding with the preprocessor's result" >&2;}
3673 ## ------------------------------------ ##
3674 ## Report this to bug-autoconf@gnu.org. ##
3675 ## ------------------------------------ ##
3678 sed "s/^/$as_me: WARNING: /" >&2
3681 { echo "$as_me:$LINENO: WARNING: i386/ioctl_meteor.h: present but cannot be compiled" >&5
3682 echo "$as_me: WARNING: i386/ioctl_meteor.h: present but cannot be compiled" >&2;}
3683 { echo "$as_me:$LINENO: WARNING: i386/ioctl_meteor.h: check for missing prerequisite headers?" >&5
3684 echo "$as_me: WARNING: i386/ioctl_meteor.h: check for missing prerequisite headers?" >&2;}
3685 { echo "$as_me:$LINENO: WARNING: i386/ioctl_meteor.h: proceeding with the preprocessor's result" >&5
3686 echo "$as_me: WARNING: i386/ioctl_meteor.h: proceeding with the preprocessor's result" >&2;}
3689 ## ------------------------------------ ##
3690 ## Report this to bug-autoconf@gnu.org. ##
3691 ## ------------------------------------ ##
3694 sed "s/^/$as_me: WARNING: /" >&2
3697 echo "$as_me:$LINENO: checking for i386/ioctl_meteor.h" >&5
3698 echo $ECHO_N "checking for i386/ioctl_meteor.h... $ECHO_C" >&6
3699 if test "${ac_cv_header_i386_ioctl_meteor_h+set}" = set; then
3700 echo $ECHO_N "(cached) $ECHO_C" >&6
3702 ac_cv_header_i386_ioctl_meteor_h
=$ac_header_preproc
3704 echo "$as_me:$LINENO: result: $ac_cv_header_i386_ioctl_meteor_h" >&5
3705 echo "${ECHO_T}$ac_cv_header_i386_ioctl_meteor_h" >&6
3708 if test $ac_cv_header_i386_ioctl_meteor_h = yes; then
3713 if test "${ac_cv_header_dev_ic_bt8xx_h+set}" = set; then
3714 echo "$as_me:$LINENO: checking for dev/ic/bt8xx.h" >&5
3715 echo $ECHO_N "checking for dev/ic/bt8xx.h... $ECHO_C" >&6
3716 if test "${ac_cv_header_dev_ic_bt8xx_h+set}" = set; then
3717 echo $ECHO_N "(cached) $ECHO_C" >&6
3719 echo "$as_me:$LINENO: result: $ac_cv_header_dev_ic_bt8xx_h" >&5
3720 echo "${ECHO_T}$ac_cv_header_dev_ic_bt8xx_h" >&6
3722 # Is the header compilable?
3723 echo "$as_me:$LINENO: checking dev/ic/bt8xx.h usability" >&5
3724 echo $ECHO_N "checking dev/ic/bt8xx.h usability... $ECHO_C" >&6
3725 cat >conftest.
$ac_ext <<_ACEOF
3726 #line $LINENO "configure"
3729 cat confdefs.h
>>conftest.
$ac_ext
3730 cat >>conftest.
$ac_ext <<_ACEOF
3731 /* end confdefs.h. */
3732 $ac_includes_default
3733 #include <dev/ic/bt8xx.h>
3735 rm -f conftest.
$ac_objext
3736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3737 (eval $ac_compile) 2>&5
3739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3740 (exit $ac_status); } &&
3741 { ac_try
='test -s conftest.$ac_objext'
3742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3746 (exit $ac_status); }; }; then
3747 ac_header_compiler
=yes
3749 echo "$as_me: failed program was:" >&5
3750 sed 's/^/| /' conftest.
$ac_ext >&5
3752 ac_header_compiler
=no
3754 rm -f conftest.
$ac_objext conftest.
$ac_ext
3755 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3756 echo "${ECHO_T}$ac_header_compiler" >&6
3758 # Is the header present?
3759 echo "$as_me:$LINENO: checking dev/ic/bt8xx.h presence" >&5
3760 echo $ECHO_N "checking dev/ic/bt8xx.h presence... $ECHO_C" >&6
3761 cat >conftest.
$ac_ext <<_ACEOF
3762 #line $LINENO "configure"
3765 cat confdefs.h
>>conftest.
$ac_ext
3766 cat >>conftest.
$ac_ext <<_ACEOF
3767 /* end confdefs.h. */
3768 #include <dev/ic/bt8xx.h>
3770 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3771 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3773 grep -v '^ *+' conftest.er1
>conftest.err
3775 cat conftest.err
>&5
3776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3777 (exit $ac_status); } >/dev
/null
; then
3778 if test -s conftest.err
; then
3779 ac_cpp_err
=$ac_c_preproc_warn_flag
3786 if test -z "$ac_cpp_err"; then
3787 ac_header_preproc
=yes
3789 echo "$as_me: failed program was:" >&5
3790 sed 's/^/| /' conftest.
$ac_ext >&5
3792 ac_header_preproc
=no
3794 rm -f conftest.err conftest.
$ac_ext
3795 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3796 echo "${ECHO_T}$ac_header_preproc" >&6
3798 # So? What about this header?
3799 case $ac_header_compiler:$ac_header_preproc in
3801 { echo "$as_me:$LINENO: WARNING: dev/ic/bt8xx.h: accepted by the compiler, rejected by the preprocessor!" >&5
3802 echo "$as_me: WARNING: dev/ic/bt8xx.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3803 { echo "$as_me:$LINENO: WARNING: dev/ic/bt8xx.h: proceeding with the preprocessor's result" >&5
3804 echo "$as_me: WARNING: dev/ic/bt8xx.h: proceeding with the preprocessor's result" >&2;}
3807 ## ------------------------------------ ##
3808 ## Report this to bug-autoconf@gnu.org. ##
3809 ## ------------------------------------ ##
3812 sed "s/^/$as_me: WARNING: /" >&2
3815 { echo "$as_me:$LINENO: WARNING: dev/ic/bt8xx.h: present but cannot be compiled" >&5
3816 echo "$as_me: WARNING: dev/ic/bt8xx.h: present but cannot be compiled" >&2;}
3817 { echo "$as_me:$LINENO: WARNING: dev/ic/bt8xx.h: check for missing prerequisite headers?" >&5
3818 echo "$as_me: WARNING: dev/ic/bt8xx.h: check for missing prerequisite headers?" >&2;}
3819 { echo "$as_me:$LINENO: WARNING: dev/ic/bt8xx.h: proceeding with the preprocessor's result" >&5
3820 echo "$as_me: WARNING: dev/ic/bt8xx.h: proceeding with the preprocessor's result" >&2;}
3823 ## ------------------------------------ ##
3824 ## Report this to bug-autoconf@gnu.org. ##
3825 ## ------------------------------------ ##
3828 sed "s/^/$as_me: WARNING: /" >&2
3831 echo "$as_me:$LINENO: checking for dev/ic/bt8xx.h" >&5
3832 echo $ECHO_N "checking for dev/ic/bt8xx.h... $ECHO_C" >&6
3833 if test "${ac_cv_header_dev_ic_bt8xx_h+set}" = set; then
3834 echo $ECHO_N "(cached) $ECHO_C" >&6
3836 ac_cv_header_dev_ic_bt8xx_h
=$ac_header_preproc
3838 echo "$as_me:$LINENO: result: $ac_cv_header_dev_ic_bt8xx_h" >&5
3839 echo "${ECHO_T}$ac_cv_header_dev_ic_bt8xx_h" >&6
3842 if test $ac_cv_header_dev_ic_bt8xx_h = yes; then
3847 echo "$as_me:$LINENO: checking for BSD video support" >&5
3848 echo $ECHO_N "checking for BSD video support... $ECHO_C" >&6
3849 if test "${BSDVIDEOHDR:-unset}" != "unset"; then
3852 echo "$as_me:$LINENO: result: yes" >&5
3853 echo "${ECHO_T}yes" >&6
3855 echo "$as_me:$LINENO: result: no" >&5
3856 echo "${ECHO_T}no" >&6
3861 # Check whether --enable-avc or --disable-avc was given.
3862 if test "${enable_avc+set}" = set; then
3863 enableval
="$enable_avc"
3869 if test "$enable_avc" = "yes" ; then
3870 if test "${ac_cv_header_libavc1394_avc1394_h+set}" = set; then
3871 echo "$as_me:$LINENO: checking for libavc1394/avc1394.h" >&5
3872 echo $ECHO_N "checking for libavc1394/avc1394.h... $ECHO_C" >&6
3873 if test "${ac_cv_header_libavc1394_avc1394_h+set}" = set; then
3874 echo $ECHO_N "(cached) $ECHO_C" >&6
3876 echo "$as_me:$LINENO: result: $ac_cv_header_libavc1394_avc1394_h" >&5
3877 echo "${ECHO_T}$ac_cv_header_libavc1394_avc1394_h" >&6
3879 # Is the header compilable?
3880 echo "$as_me:$LINENO: checking libavc1394/avc1394.h usability" >&5
3881 echo $ECHO_N "checking libavc1394/avc1394.h usability... $ECHO_C" >&6
3882 cat >conftest.
$ac_ext <<_ACEOF
3883 #line $LINENO "configure"
3886 cat confdefs.h
>>conftest.
$ac_ext
3887 cat >>conftest.
$ac_ext <<_ACEOF
3888 /* end confdefs.h. */
3889 $ac_includes_default
3890 #include <libavc1394/avc1394.h>
3892 rm -f conftest.
$ac_objext
3893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3894 (eval $ac_compile) 2>&5
3896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3897 (exit $ac_status); } &&
3898 { ac_try
='test -s conftest.$ac_objext'
3899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3903 (exit $ac_status); }; }; then
3904 ac_header_compiler
=yes
3906 echo "$as_me: failed program was:" >&5
3907 sed 's/^/| /' conftest.
$ac_ext >&5
3909 ac_header_compiler
=no
3911 rm -f conftest.
$ac_objext conftest.
$ac_ext
3912 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3913 echo "${ECHO_T}$ac_header_compiler" >&6
3915 # Is the header present?
3916 echo "$as_me:$LINENO: checking libavc1394/avc1394.h presence" >&5
3917 echo $ECHO_N "checking libavc1394/avc1394.h presence... $ECHO_C" >&6
3918 cat >conftest.
$ac_ext <<_ACEOF
3919 #line $LINENO "configure"
3922 cat confdefs.h
>>conftest.
$ac_ext
3923 cat >>conftest.
$ac_ext <<_ACEOF
3924 /* end confdefs.h. */
3925 #include <libavc1394/avc1394.h>
3927 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3928 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3930 grep -v '^ *+' conftest.er1
>conftest.err
3932 cat conftest.err
>&5
3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934 (exit $ac_status); } >/dev
/null
; then
3935 if test -s conftest.err
; then
3936 ac_cpp_err
=$ac_c_preproc_warn_flag
3943 if test -z "$ac_cpp_err"; then
3944 ac_header_preproc
=yes
3946 echo "$as_me: failed program was:" >&5
3947 sed 's/^/| /' conftest.
$ac_ext >&5
3949 ac_header_preproc
=no
3951 rm -f conftest.err conftest.
$ac_ext
3952 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3953 echo "${ECHO_T}$ac_header_preproc" >&6
3955 # So? What about this header?
3956 case $ac_header_compiler:$ac_header_preproc in
3958 { echo "$as_me:$LINENO: WARNING: libavc1394/avc1394.h: accepted by the compiler, rejected by the preprocessor!" >&5
3959 echo "$as_me: WARNING: libavc1394/avc1394.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3960 { echo "$as_me:$LINENO: WARNING: libavc1394/avc1394.h: proceeding with the preprocessor's result" >&5
3961 echo "$as_me: WARNING: libavc1394/avc1394.h: proceeding with the preprocessor's result" >&2;}
3964 ## ------------------------------------ ##
3965 ## Report this to bug-autoconf@gnu.org. ##
3966 ## ------------------------------------ ##
3969 sed "s/^/$as_me: WARNING: /" >&2
3972 { echo "$as_me:$LINENO: WARNING: libavc1394/avc1394.h: present but cannot be compiled" >&5
3973 echo "$as_me: WARNING: libavc1394/avc1394.h: present but cannot be compiled" >&2;}
3974 { echo "$as_me:$LINENO: WARNING: libavc1394/avc1394.h: check for missing prerequisite headers?" >&5
3975 echo "$as_me: WARNING: libavc1394/avc1394.h: check for missing prerequisite headers?" >&2;}
3976 { echo "$as_me:$LINENO: WARNING: libavc1394/avc1394.h: proceeding with the preprocessor's result" >&5
3977 echo "$as_me: WARNING: libavc1394/avc1394.h: proceeding with the preprocessor's result" >&2;}
3980 ## ------------------------------------ ##
3981 ## Report this to bug-autoconf@gnu.org. ##
3982 ## ------------------------------------ ##
3985 sed "s/^/$as_me: WARNING: /" >&2
3988 echo "$as_me:$LINENO: checking for libavc1394/avc1394.h" >&5
3989 echo $ECHO_N "checking for libavc1394/avc1394.h... $ECHO_C" >&6
3990 if test "${ac_cv_header_libavc1394_avc1394_h+set}" = set; then
3991 echo $ECHO_N "(cached) $ECHO_C" >&6
3993 ac_cv_header_libavc1394_avc1394_h
=$ac_header_preproc
3995 echo "$as_me:$LINENO: result: $ac_cv_header_libavc1394_avc1394_h" >&5
3996 echo "${ECHO_T}$ac_cv_header_libavc1394_avc1394_h" >&6
3999 if test $ac_cv_header_libavc1394_avc1394_h = yes; then
4004 if test "${ac_cv_header_libdv_dv_h+set}" = set; then
4005 echo "$as_me:$LINENO: checking for libdv/dv.h" >&5
4006 echo $ECHO_N "checking for libdv/dv.h... $ECHO_C" >&6
4007 if test "${ac_cv_header_libdv_dv_h+set}" = set; then
4008 echo $ECHO_N "(cached) $ECHO_C" >&6
4010 echo "$as_me:$LINENO: result: $ac_cv_header_libdv_dv_h" >&5
4011 echo "${ECHO_T}$ac_cv_header_libdv_dv_h" >&6
4013 # Is the header compilable?
4014 echo "$as_me:$LINENO: checking libdv/dv.h usability" >&5
4015 echo $ECHO_N "checking libdv/dv.h usability... $ECHO_C" >&6
4016 cat >conftest.
$ac_ext <<_ACEOF
4017 #line $LINENO "configure"
4020 cat confdefs.h
>>conftest.
$ac_ext
4021 cat >>conftest.
$ac_ext <<_ACEOF
4022 /* end confdefs.h. */
4023 $ac_includes_default
4024 #include <libdv/dv.h>
4026 rm -f conftest.
$ac_objext
4027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4028 (eval $ac_compile) 2>&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); } &&
4032 { ac_try
='test -s conftest.$ac_objext'
4033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037 (exit $ac_status); }; }; then
4038 ac_header_compiler
=yes
4040 echo "$as_me: failed program was:" >&5
4041 sed 's/^/| /' conftest.
$ac_ext >&5
4043 ac_header_compiler
=no
4045 rm -f conftest.
$ac_objext conftest.
$ac_ext
4046 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4047 echo "${ECHO_T}$ac_header_compiler" >&6
4049 # Is the header present?
4050 echo "$as_me:$LINENO: checking libdv/dv.h presence" >&5
4051 echo $ECHO_N "checking libdv/dv.h presence... $ECHO_C" >&6
4052 cat >conftest.
$ac_ext <<_ACEOF
4053 #line $LINENO "configure"
4056 cat confdefs.h
>>conftest.
$ac_ext
4057 cat >>conftest.
$ac_ext <<_ACEOF
4058 /* end confdefs.h. */
4059 #include <libdv/dv.h>
4061 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4062 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4064 grep -v '^ *+' conftest.er1
>conftest.err
4066 cat conftest.err
>&5
4067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4068 (exit $ac_status); } >/dev
/null
; then
4069 if test -s conftest.err
; then
4070 ac_cpp_err
=$ac_c_preproc_warn_flag
4077 if test -z "$ac_cpp_err"; then
4078 ac_header_preproc
=yes
4080 echo "$as_me: failed program was:" >&5
4081 sed 's/^/| /' conftest.
$ac_ext >&5
4083 ac_header_preproc
=no
4085 rm -f conftest.err conftest.
$ac_ext
4086 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4087 echo "${ECHO_T}$ac_header_preproc" >&6
4089 # So? What about this header?
4090 case $ac_header_compiler:$ac_header_preproc in
4092 { echo "$as_me:$LINENO: WARNING: libdv/dv.h: accepted by the compiler, rejected by the preprocessor!" >&5
4093 echo "$as_me: WARNING: libdv/dv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4094 { echo "$as_me:$LINENO: WARNING: libdv/dv.h: proceeding with the preprocessor's result" >&5
4095 echo "$as_me: WARNING: libdv/dv.h: proceeding with the preprocessor's result" >&2;}
4098 ## ------------------------------------ ##
4099 ## Report this to bug-autoconf@gnu.org. ##
4100 ## ------------------------------------ ##
4103 sed "s/^/$as_me: WARNING: /" >&2
4106 { echo "$as_me:$LINENO: WARNING: libdv/dv.h: present but cannot be compiled" >&5
4107 echo "$as_me: WARNING: libdv/dv.h: present but cannot be compiled" >&2;}
4108 { echo "$as_me:$LINENO: WARNING: libdv/dv.h: check for missing prerequisite headers?" >&5
4109 echo "$as_me: WARNING: libdv/dv.h: check for missing prerequisite headers?" >&2;}
4110 { echo "$as_me:$LINENO: WARNING: libdv/dv.h: proceeding with the preprocessor's result" >&5
4111 echo "$as_me: WARNING: libdv/dv.h: proceeding with the preprocessor's result" >&2;}
4114 ## ------------------------------------ ##
4115 ## Report this to bug-autoconf@gnu.org. ##
4116 ## ------------------------------------ ##
4119 sed "s/^/$as_me: WARNING: /" >&2
4122 echo "$as_me:$LINENO: checking for libdv/dv.h" >&5
4123 echo $ECHO_N "checking for libdv/dv.h... $ECHO_C" >&6
4124 if test "${ac_cv_header_libdv_dv_h+set}" = set; then
4125 echo $ECHO_N "(cached) $ECHO_C" >&6
4127 ac_cv_header_libdv_dv_h
=$ac_header_preproc
4129 echo "$as_me:$LINENO: result: $ac_cv_header_libdv_dv_h" >&5
4130 echo "${ECHO_T}$ac_cv_header_libdv_dv_h" >&6
4133 if test $ac_cv_header_libdv_dv_h = yes; then
4138 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
4139 echo "$as_me:$LINENO: checking for libraw1394/raw1394.h" >&5
4140 echo $ECHO_N "checking for libraw1394/raw1394.h... $ECHO_C" >&6
4141 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
4142 echo $ECHO_N "(cached) $ECHO_C" >&6
4144 echo "$as_me:$LINENO: result: $ac_cv_header_libraw1394_raw1394_h" >&5
4145 echo "${ECHO_T}$ac_cv_header_libraw1394_raw1394_h" >&6
4147 # Is the header compilable?
4148 echo "$as_me:$LINENO: checking libraw1394/raw1394.h usability" >&5
4149 echo $ECHO_N "checking libraw1394/raw1394.h usability... $ECHO_C" >&6
4150 cat >conftest.
$ac_ext <<_ACEOF
4151 #line $LINENO "configure"
4154 cat confdefs.h
>>conftest.
$ac_ext
4155 cat >>conftest.
$ac_ext <<_ACEOF
4156 /* end confdefs.h. */
4157 $ac_includes_default
4158 #include <libraw1394/raw1394.h>
4160 rm -f conftest.
$ac_objext
4161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4162 (eval $ac_compile) 2>&5
4164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4165 (exit $ac_status); } &&
4166 { ac_try
='test -s conftest.$ac_objext'
4167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4171 (exit $ac_status); }; }; then
4172 ac_header_compiler
=yes
4174 echo "$as_me: failed program was:" >&5
4175 sed 's/^/| /' conftest.
$ac_ext >&5
4177 ac_header_compiler
=no
4179 rm -f conftest.
$ac_objext conftest.
$ac_ext
4180 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4181 echo "${ECHO_T}$ac_header_compiler" >&6
4183 # Is the header present?
4184 echo "$as_me:$LINENO: checking libraw1394/raw1394.h presence" >&5
4185 echo $ECHO_N "checking libraw1394/raw1394.h presence... $ECHO_C" >&6
4186 cat >conftest.
$ac_ext <<_ACEOF
4187 #line $LINENO "configure"
4190 cat confdefs.h
>>conftest.
$ac_ext
4191 cat >>conftest.
$ac_ext <<_ACEOF
4192 /* end confdefs.h. */
4193 #include <libraw1394/raw1394.h>
4195 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4196 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4198 grep -v '^ *+' conftest.er1
>conftest.err
4200 cat conftest.err
>&5
4201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4202 (exit $ac_status); } >/dev
/null
; then
4203 if test -s conftest.err
; then
4204 ac_cpp_err
=$ac_c_preproc_warn_flag
4211 if test -z "$ac_cpp_err"; then
4212 ac_header_preproc
=yes
4214 echo "$as_me: failed program was:" >&5
4215 sed 's/^/| /' conftest.
$ac_ext >&5
4217 ac_header_preproc
=no
4219 rm -f conftest.err conftest.
$ac_ext
4220 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4221 echo "${ECHO_T}$ac_header_preproc" >&6
4223 # So? What about this header?
4224 case $ac_header_compiler:$ac_header_preproc in
4226 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: accepted by the compiler, rejected by the preprocessor!" >&5
4227 echo "$as_me: WARNING: libraw1394/raw1394.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4228 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: proceeding with the preprocessor's result" >&5
4229 echo "$as_me: WARNING: libraw1394/raw1394.h: proceeding with the preprocessor's result" >&2;}
4232 ## ------------------------------------ ##
4233 ## Report this to bug-autoconf@gnu.org. ##
4234 ## ------------------------------------ ##
4237 sed "s/^/$as_me: WARNING: /" >&2
4240 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: present but cannot be compiled" >&5
4241 echo "$as_me: WARNING: libraw1394/raw1394.h: present but cannot be compiled" >&2;}
4242 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: check for missing prerequisite headers?" >&5
4243 echo "$as_me: WARNING: libraw1394/raw1394.h: check for missing prerequisite headers?" >&2;}
4244 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: proceeding with the preprocessor's result" >&5
4245 echo "$as_me: WARNING: libraw1394/raw1394.h: proceeding with the preprocessor's result" >&2;}
4248 ## ------------------------------------ ##
4249 ## Report this to bug-autoconf@gnu.org. ##
4250 ## ------------------------------------ ##
4253 sed "s/^/$as_me: WARNING: /" >&2
4256 echo "$as_me:$LINENO: checking for libraw1394/raw1394.h" >&5
4257 echo $ECHO_N "checking for libraw1394/raw1394.h... $ECHO_C" >&6
4258 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
4259 echo $ECHO_N "(cached) $ECHO_C" >&6
4261 ac_cv_header_libraw1394_raw1394_h
=$ac_header_preproc
4263 echo "$as_me:$LINENO: result: $ac_cv_header_libraw1394_raw1394_h" >&5
4264 echo "${ECHO_T}$ac_cv_header_libraw1394_raw1394_h" >&6
4267 if test $ac_cv_header_libraw1394_raw1394_h = yes; then
4272 echo "$as_me:$LINENO: checking for IEEE1394/AVC video support" >&5
4273 echo $ECHO_N "checking for IEEE1394/AVC video support... $ECHO_C" >&6
4274 if test "${AVC1394HDR:-unset}" != "unset" -a ${DVHDR:-unset} != "unset" -a "${RAW1394HDR:-unset}" != "unset"; then
4277 echo "$as_me:$LINENO: result: yes" >&5
4278 echo "${ECHO_T}yes" >&6
4280 echo "$as_me:$LINENO: result: no" >&5
4281 echo "${ECHO_T}no" >&6
4286 # Check whether --enable-dc or --disable-dc was given.
4287 if test "${enable_dc+set}" = set; then
4288 enableval
="$enable_dc"
4294 if test "$enable_dc" = "yes" ; then
4295 if test "${ac_cv_header_libdc1394_dc1394_control_h+set}" = set; then
4296 echo "$as_me:$LINENO: checking for libdc1394/dc1394_control.h" >&5
4297 echo $ECHO_N "checking for libdc1394/dc1394_control.h... $ECHO_C" >&6
4298 if test "${ac_cv_header_libdc1394_dc1394_control_h+set}" = set; then
4299 echo $ECHO_N "(cached) $ECHO_C" >&6
4301 echo "$as_me:$LINENO: result: $ac_cv_header_libdc1394_dc1394_control_h" >&5
4302 echo "${ECHO_T}$ac_cv_header_libdc1394_dc1394_control_h" >&6
4304 # Is the header compilable?
4305 echo "$as_me:$LINENO: checking libdc1394/dc1394_control.h usability" >&5
4306 echo $ECHO_N "checking libdc1394/dc1394_control.h usability... $ECHO_C" >&6
4307 cat >conftest.
$ac_ext <<_ACEOF
4308 #line $LINENO "configure"
4311 cat confdefs.h
>>conftest.
$ac_ext
4312 cat >>conftest.
$ac_ext <<_ACEOF
4313 /* end confdefs.h. */
4314 $ac_includes_default
4315 #include <libdc1394/dc1394_control.h>
4317 rm -f conftest.
$ac_objext
4318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4319 (eval $ac_compile) 2>&5
4321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4322 (exit $ac_status); } &&
4323 { ac_try
='test -s conftest.$ac_objext'
4324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4328 (exit $ac_status); }; }; then
4329 ac_header_compiler
=yes
4331 echo "$as_me: failed program was:" >&5
4332 sed 's/^/| /' conftest.
$ac_ext >&5
4334 ac_header_compiler
=no
4336 rm -f conftest.
$ac_objext conftest.
$ac_ext
4337 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4338 echo "${ECHO_T}$ac_header_compiler" >&6
4340 # Is the header present?
4341 echo "$as_me:$LINENO: checking libdc1394/dc1394_control.h presence" >&5
4342 echo $ECHO_N "checking libdc1394/dc1394_control.h presence... $ECHO_C" >&6
4343 cat >conftest.
$ac_ext <<_ACEOF
4344 #line $LINENO "configure"
4347 cat confdefs.h
>>conftest.
$ac_ext
4348 cat >>conftest.
$ac_ext <<_ACEOF
4349 /* end confdefs.h. */
4350 #include <libdc1394/dc1394_control.h>
4352 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4353 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4355 grep -v '^ *+' conftest.er1
>conftest.err
4357 cat conftest.err
>&5
4358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4359 (exit $ac_status); } >/dev
/null
; then
4360 if test -s conftest.err
; then
4361 ac_cpp_err
=$ac_c_preproc_warn_flag
4368 if test -z "$ac_cpp_err"; then
4369 ac_header_preproc
=yes
4371 echo "$as_me: failed program was:" >&5
4372 sed 's/^/| /' conftest.
$ac_ext >&5
4374 ac_header_preproc
=no
4376 rm -f conftest.err conftest.
$ac_ext
4377 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4378 echo "${ECHO_T}$ac_header_preproc" >&6
4380 # So? What about this header?
4381 case $ac_header_compiler:$ac_header_preproc in
4383 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: accepted by the compiler, rejected by the preprocessor!" >&5
4384 echo "$as_me: WARNING: libdc1394/dc1394_control.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4385 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: proceeding with the preprocessor's result" >&5
4386 echo "$as_me: WARNING: libdc1394/dc1394_control.h: proceeding with the preprocessor's result" >&2;}
4389 ## ------------------------------------ ##
4390 ## Report this to bug-autoconf@gnu.org. ##
4391 ## ------------------------------------ ##
4394 sed "s/^/$as_me: WARNING: /" >&2
4397 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: present but cannot be compiled" >&5
4398 echo "$as_me: WARNING: libdc1394/dc1394_control.h: present but cannot be compiled" >&2;}
4399 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: check for missing prerequisite headers?" >&5
4400 echo "$as_me: WARNING: libdc1394/dc1394_control.h: check for missing prerequisite headers?" >&2;}
4401 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: proceeding with the preprocessor's result" >&5
4402 echo "$as_me: WARNING: libdc1394/dc1394_control.h: proceeding with the preprocessor's result" >&2;}
4405 ## ------------------------------------ ##
4406 ## Report this to bug-autoconf@gnu.org. ##
4407 ## ------------------------------------ ##
4410 sed "s/^/$as_me: WARNING: /" >&2
4413 echo "$as_me:$LINENO: checking for libdc1394/dc1394_control.h" >&5
4414 echo $ECHO_N "checking for libdc1394/dc1394_control.h... $ECHO_C" >&6
4415 if test "${ac_cv_header_libdc1394_dc1394_control_h+set}" = set; then
4416 echo $ECHO_N "(cached) $ECHO_C" >&6
4418 ac_cv_header_libdc1394_dc1394_control_h
=$ac_header_preproc
4420 echo "$as_me:$LINENO: result: $ac_cv_header_libdc1394_dc1394_control_h" >&5
4421 echo "${ECHO_T}$ac_cv_header_libdc1394_dc1394_control_h" >&6
4424 if test $ac_cv_header_libdc1394_dc1394_control_h = yes; then
4429 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
4430 echo "$as_me:$LINENO: checking for libraw1394/raw1394.h" >&5
4431 echo $ECHO_N "checking for libraw1394/raw1394.h... $ECHO_C" >&6
4432 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
4433 echo $ECHO_N "(cached) $ECHO_C" >&6
4435 echo "$as_me:$LINENO: result: $ac_cv_header_libraw1394_raw1394_h" >&5
4436 echo "${ECHO_T}$ac_cv_header_libraw1394_raw1394_h" >&6
4438 # Is the header compilable?
4439 echo "$as_me:$LINENO: checking libraw1394/raw1394.h usability" >&5
4440 echo $ECHO_N "checking libraw1394/raw1394.h usability... $ECHO_C" >&6
4441 cat >conftest.
$ac_ext <<_ACEOF
4442 #line $LINENO "configure"
4445 cat confdefs.h
>>conftest.
$ac_ext
4446 cat >>conftest.
$ac_ext <<_ACEOF
4447 /* end confdefs.h. */
4448 $ac_includes_default
4449 #include <libraw1394/raw1394.h>
4451 rm -f conftest.
$ac_objext
4452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4453 (eval $ac_compile) 2>&5
4455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4456 (exit $ac_status); } &&
4457 { ac_try
='test -s conftest.$ac_objext'
4458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4462 (exit $ac_status); }; }; then
4463 ac_header_compiler
=yes
4465 echo "$as_me: failed program was:" >&5
4466 sed 's/^/| /' conftest.
$ac_ext >&5
4468 ac_header_compiler
=no
4470 rm -f conftest.
$ac_objext conftest.
$ac_ext
4471 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4472 echo "${ECHO_T}$ac_header_compiler" >&6
4474 # Is the header present?
4475 echo "$as_me:$LINENO: checking libraw1394/raw1394.h presence" >&5
4476 echo $ECHO_N "checking libraw1394/raw1394.h presence... $ECHO_C" >&6
4477 cat >conftest.
$ac_ext <<_ACEOF
4478 #line $LINENO "configure"
4481 cat confdefs.h
>>conftest.
$ac_ext
4482 cat >>conftest.
$ac_ext <<_ACEOF
4483 /* end confdefs.h. */
4484 #include <libraw1394/raw1394.h>
4486 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4487 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4489 grep -v '^ *+' conftest.er1
>conftest.err
4491 cat conftest.err
>&5
4492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4493 (exit $ac_status); } >/dev
/null
; then
4494 if test -s conftest.err
; then
4495 ac_cpp_err
=$ac_c_preproc_warn_flag
4502 if test -z "$ac_cpp_err"; then
4503 ac_header_preproc
=yes
4505 echo "$as_me: failed program was:" >&5
4506 sed 's/^/| /' conftest.
$ac_ext >&5
4508 ac_header_preproc
=no
4510 rm -f conftest.err conftest.
$ac_ext
4511 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4512 echo "${ECHO_T}$ac_header_preproc" >&6
4514 # So? What about this header?
4515 case $ac_header_compiler:$ac_header_preproc in
4517 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: accepted by the compiler, rejected by the preprocessor!" >&5
4518 echo "$as_me: WARNING: libraw1394/raw1394.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4519 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: proceeding with the preprocessor's result" >&5
4520 echo "$as_me: WARNING: libraw1394/raw1394.h: proceeding with the preprocessor's result" >&2;}
4523 ## ------------------------------------ ##
4524 ## Report this to bug-autoconf@gnu.org. ##
4525 ## ------------------------------------ ##
4528 sed "s/^/$as_me: WARNING: /" >&2
4531 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: present but cannot be compiled" >&5
4532 echo "$as_me: WARNING: libraw1394/raw1394.h: present but cannot be compiled" >&2;}
4533 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: check for missing prerequisite headers?" >&5
4534 echo "$as_me: WARNING: libraw1394/raw1394.h: check for missing prerequisite headers?" >&2;}
4535 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: proceeding with the preprocessor's result" >&5
4536 echo "$as_me: WARNING: libraw1394/raw1394.h: proceeding with the preprocessor's result" >&2;}
4539 ## ------------------------------------ ##
4540 ## Report this to bug-autoconf@gnu.org. ##
4541 ## ------------------------------------ ##
4544 sed "s/^/$as_me: WARNING: /" >&2
4547 echo "$as_me:$LINENO: checking for libraw1394/raw1394.h" >&5
4548 echo $ECHO_N "checking for libraw1394/raw1394.h... $ECHO_C" >&6
4549 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
4550 echo $ECHO_N "(cached) $ECHO_C" >&6
4552 ac_cv_header_libraw1394_raw1394_h
=$ac_header_preproc
4554 echo "$as_me:$LINENO: result: $ac_cv_header_libraw1394_raw1394_h" >&5
4555 echo "${ECHO_T}$ac_cv_header_libraw1394_raw1394_h" >&6
4558 if test $ac_cv_header_libraw1394_raw1394_h = yes; then
4563 echo "$as_me:$LINENO: checking for IEEE1394/DC video support" >&5
4564 echo $ECHO_N "checking for IEEE1394/DC video support... $ECHO_C" >&6
4565 if test "${DC1394HDR:-unset}" != "unset" -a ${RAW1394HDR:-unset} != "unset"; then
4568 echo "$as_me:$LINENO: result: yes" >&5
4569 echo "${ECHO_T}yes" >&6
4571 echo "$as_me:$LINENO: result: no" >&5
4572 echo "${ECHO_T}no" >&6
4579 ac_config_files
="$ac_config_files Makefile"
4582 cat >confcache
<<\_ACEOF
4583 # This file is a shell script that caches the results of configure
4584 # tests run on this system so they can be shared between configure
4585 # scripts and configure runs, see configure's option --config-cache.
4586 # It is not useful on other systems. If it contains results you don't
4587 # want to keep, you may remove or edit it.
4589 # config.status only pays attention to the cache file if you give it
4590 # the --recheck option to rerun configure.
4592 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4593 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4598 # The following way of writing the cache mishandles newlines in values,
4599 # but we know of no workaround that is simple, portable, and efficient.
4600 # So, don't put newlines in cache variables' values.
4601 # Ultrix sh set writes to stderr and can't be redirected directly,
4602 # and sets the high bit in the cache file unless we assign to the vars.
4605 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4607 # `set' does not quote correctly, so add quotes (double-quote
4608 # substitution turns \\\\ into \\, and sed turns \\ into \).
4611 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4614 # `set' quotes correctly as required by POSIX, so do not add quotes.
4616 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4623 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4625 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4627 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4628 if test -w $cache_file; then
4629 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4630 cat confcache
>$cache_file
4632 echo "not updating unwritable cache $cache_file"
4637 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4638 # Let make expand exec_prefix.
4639 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4641 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4642 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4643 # trailing colons and then remove the whole line if VPATH becomes empty
4644 # (actually we leave an empty line to preserve line numbers).
4645 if test "x$srcdir" = x.
; then
4646 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
4647 s/:*\$(srcdir):*/:/;
4648 s/:*\${srcdir}:*/:/;
4650 s/^\([^=]*=[ ]*\):*/\1/;
4656 # Transform confdefs.h into DEFS.
4657 # Protect against shell expansion while executing Makefile rules.
4658 # Protect against Makefile macro expansion.
4660 # If the first sed substitution is executed (which looks for macros that
4661 # take arguments), then we branch to the quote section. Otherwise,
4662 # look for a macro that doesn't take arguments.
4663 cat >confdef2opt.
sed <<\_ACEOF
4666 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
4668 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
4672 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
4678 # We use echo to avoid assuming a particular line-breaking character.
4679 # The extra dot is to prevent the shell from consuming trailing
4680 # line-breaks from the sub-command output. A line-break within
4681 # single-quotes doesn't work because, if this script is created in a
4682 # platform that uses two characters for line-breaks (e.g., DOS), tr
4684 ac_LF_and_DOT=`echo; echo .
`
4685 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
4686 rm -f confdef2opt.sed
4691 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4692 # 1. Remove the extension, and $U if already installed.
4693 ac_i=`echo "$ac_i" |
4694 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4696 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4697 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4701 LTLIBOBJS=$ac_ltlibobjs
4705 : ${CONFIG_STATUS=./config.status}
4706 ac_clean_files_save=$ac_clean_files
4707 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4708 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4709 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4710 cat >$CONFIG_STATUS <<_ACEOF
4712 # Generated by $as_me.
4713 # Run this file to recreate the current configuration.
4714 # Compiler output produced by configure, useful for debugging
4715 # configure, is in config.log if it exists.
4720 SHELL=\${CONFIG_SHELL-$SHELL}
4723 cat >>$CONFIG_STATUS <<\_ACEOF
4724 ## --------------------- ##
4725 ## M4sh Initialization. ##
4726 ## --------------------- ##
4728 # Be Bourne compatible
4729 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4732 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4733 # is contrary to our usage. Disable this feature.
4734 alias -g '${1+"$@"}'='"$@"'
4735 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4739 # Support unset when possible.
4740 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
4747 # Work around bugs in pre-3.0 UWIN ksh.
4748 $as_unset ENV MAIL MAILPATH
4755 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4756 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4757 LC_TELEPHONE LC_TIME
4759 if (set +x; test -n "`(eval $as_var=C
; export $as_var) 2>&1`"); then
4760 eval $as_var=C; export $as_var
4766 # Required to use basename.
4767 if expr a : '\(a\)' >/dev/null 2>&1; then
4773 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4774 as_basename=basename
4780 # Name of the executable.
4781 as_me=`$as_basename "$0" ||
4782 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4783 X
"$0" : 'X\(//\)$' \| \
4784 X
"$0" : 'X\(/\)$' \| \
4785 .
: '\(.\)' 2>/dev
/null ||
4787 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4788 /^X\/\(\/\/\)$/{ s//\1/; q; }
4789 /^X\/\(\/\).*/{ s//\1/; q; }
4793 # PATH needs CR, and LINENO needs CR and PATH.
4794 # Avoid depending upon Character Ranges.
4795 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4796 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4797 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4798 as_cr_digits='0123456789'
4799 as_cr_alnum=$as_cr_Letters$as_cr_digits
4801 # The user is always right.
4802 if test "${PATH_SEPARATOR+set}" != set; then
4803 echo "#! /bin/sh" >conf$$.sh
4804 echo "exit 0" >>conf$$.sh
4806 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4817 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
4818 test "x$as_lineno_1" != "x$as_lineno_2" &&
4819 test "x$as_lineno_3" = "x$as_lineno_2" || {
4820 # Find who we are. Look in the path if we contain no path at all
4823 *[\\/]* ) as_myself=$0 ;;
4824 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4828 test -z "$as_dir" && as_dir=.
4829 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4834 # We did not find ourselves, most probably we were run as `sh COMMAND
'
4835 # in which case we are not to be found in the path.
4836 if test "x$as_myself" = x; then
4839 if test ! -f "$as_myself"; then
4840 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4841 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4842 { (exit 1); exit 1; }; }
4844 case $CONFIG_SHELL in
4846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4847 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4850 test -z "$as_dir" && as_dir=.
4851 for as_base in sh bash ksh sh5; do
4854 if ("$as_dir/$as_base" -c '
4857 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
4858 test "x$as_lineno_1" != "x$as_lineno_2" &&
4859 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4860 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4861 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4862 CONFIG_SHELL=$as_dir/$as_base
4864 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4872 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4873 # uniformly replaced by the line number. The first 'sed' inserts a
4874 # line-number line before each line; the second 'sed' does the real
4875 # work. The second script uses 'N
' to pair each line-number line
4876 # with the numbered line, and appends trailing '-' during
4877 # substitution so that $LINENO is not a special case at line end.
4878 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4879 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
4880 sed '=' <$as_myself |
4885 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4888 s,^['$as_cr_digits']*\n,,
4890 chmod +x
$as_me.lineno ||
4891 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4892 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4893 { (exit 1); exit 1; }; }
4895 # Don't try to exec as it changes $[0], causing all sort of problems
4896 # (the dirname of $[0] is not the place where we might find the
4897 # original and so on. Autoconf is especially sensible to this).
4899 # Exit status is that of the last command.
4904 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4905 *c
*,-n*) ECHO_N
= ECHO_C
='
4907 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
4908 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
4911 if expr a
: '\(a\)' >/dev
/null
2>&1; then
4917 rm -f conf$$ conf$$.exe conf$$.
file
4919 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4920 # We could just check for DJGPP; but this test a) works b) is more generic
4921 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4922 if test -f conf$$.exe
; then
4923 # Don't use ln at all; we don't have any links
4928 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4933 rm -f conf$$ conf$$.exe conf$$.
file
4935 if mkdir
-p .
2>/dev
/null
; then
4941 as_executable_p
="test -f"
4943 # Sed expression to map a string onto a valid CPP name.
4944 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
4946 # Sed expression to map a string onto a valid variable name.
4947 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
4951 # We need space, tab and new line, in precisely that order.
4961 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4962 # report actual input values of CONFIG_FILES etc. instead of their
4963 # values after options handling. Logging --version etc. is OK.
4967 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4968 ## Running $as_me. ##
4973 This file was extended by $as_me, which was
4974 generated by GNU Autoconf 2.57. Invocation command line was
4976 CONFIG_FILES = $CONFIG_FILES
4977 CONFIG_HEADERS = $CONFIG_HEADERS
4978 CONFIG_LINKS = $CONFIG_LINKS
4979 CONFIG_COMMANDS = $CONFIG_COMMANDS
4983 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4987 # Files that config.status was made for.
4988 if test -n "$ac_config_files"; then
4989 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4992 if test -n "$ac_config_headers"; then
4993 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4996 if test -n "$ac_config_links"; then
4997 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5000 if test -n "$ac_config_commands"; then
5001 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5004 cat >>$CONFIG_STATUS <<\_ACEOF
5007 \`$as_me' instantiates files from templates according to the
5008 current configuration.
5010 Usage: $0 [OPTIONS] [FILE]...
5012 -h, --help print this help, then exit
5013 -V, --version print version number, then exit
5014 -q, --quiet do not print progress messages
5015 -d, --debug don't remove temporary files
5016 --recheck update $as_me by reconfiguring in the same conditions
5017 --file=FILE[:TEMPLATE]
5018 instantiate the configuration file FILE
5020 Configuration files:
5023 Report bugs to <bug-autoconf@gnu.org>."
5026 cat >>$CONFIG_STATUS <<_ACEOF
5029 configured by $0, generated by GNU Autoconf 2.57,
5030 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5032 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
5033 Free Software Foundation, Inc.
5034 This config.status script is free software; the Free Software Foundation
5035 gives unlimited permission to copy, distribute and modify it."
5039 cat >>$CONFIG_STATUS <<\_ACEOF
5040 # If no file are specified by the user, then we need to provide default
5041 # value. By we need to know if files were specified by the user.
5047 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
5048 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5056 *) # This is not an option, so the user has probably given explicit
5059 ac_need_defaults
=false
;;
5063 # Handling of the options.
5065 cat >>$CONFIG_STATUS <<\_ACEOF
5066 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5068 --version |
--vers* |
-V )
5069 echo "$ac_cs_version"; exit 0 ;;
5071 # Conflict between --help and --header
5072 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5073 Try \`$0 --help' for more information." >&5
5074 echo "$as_me: error: ambiguous option: $1
5075 Try \`$0 --help' for more information." >&2;}
5076 { (exit 1); exit 1; }; };;
5077 --help |
--hel |
-h )
5078 echo "$ac_cs_usage"; exit 0 ;;
5079 --debug |
--d* |
-d )
5081 --file |
--fil |
--fi |
--f )
5083 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5084 ac_need_defaults
=false
;;
5085 --header |
--heade |
--head |
--hea )
5087 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
5088 ac_need_defaults
=false
;;
5089 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5090 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5094 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5095 Try \`$0 --help' for more information." >&5
5096 echo "$as_me: error: unrecognized option: $1
5097 Try \`$0 --help' for more information." >&2;}
5098 { (exit 1); exit 1; }; } ;;
5100 *) ac_config_targets
="$ac_config_targets $1" ;;
5106 ac_configure_extra_args
=
5108 if $ac_cs_silent; then
5110 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5114 cat >>$CONFIG_STATUS <<_ACEOF
5115 if \$ac_cs_recheck; then
5116 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5117 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5126 cat >>$CONFIG_STATUS <<\_ACEOF
5127 for ac_config_target
in $ac_config_targets
5129 case "$ac_config_target" in
5130 # Handling of arguments.
5131 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5132 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5133 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5134 { (exit 1); exit 1; }; };;
5138 # If the user did not use the arguments to specify the items to instantiate,
5139 # then the envvar interface is used. Set only those that are not.
5140 # We use the long form for the default assignment because of an extremely
5141 # bizarre bug on SunOS 4.1.3.
5142 if $ac_need_defaults; then
5143 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5146 # Have a temporary directory for convenience. Make it in the build tree
5147 # simply because there is no reason to put it here, and in addition,
5148 # creating and moving files from /tmp can sometimes cause problems.
5149 # Create a temporary directory, and hook for its removal unless debugging.
5152 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5153 trap '{ (exit 1); exit 1; }' 1 2 13 15
5156 # Create a (secure) tmp directory for tmp files.
5159 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5160 test -n "$tmp" && test -d "$tmp"
5163 tmp
=.
/confstat$$
-$RANDOM
5164 (umask 077 && mkdir
$tmp)
5167 echo "$me: cannot create a temporary directory in ." >&2
5168 { (exit 1); exit 1; }
5173 cat >>$CONFIG_STATUS <<_ACEOF
5176 # CONFIG_FILES section.
5179 # No need to generate the scripts if there are no CONFIG_FILES.
5180 # This happens for instance when ./config.status config.h
5181 if test -n "\$CONFIG_FILES"; then
5182 # Protect against being on the right side of a sed subst in config.status.
5183 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5184 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5185 s,@SHELL@,$SHELL,;t t
5186 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5187 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5188 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5189 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5190 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5191 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5192 s,@exec_prefix@,$exec_prefix,;t t
5193 s,@prefix@,$prefix,;t t
5194 s,@program_transform_name@,$program_transform_name,;t t
5195 s,@bindir@,$bindir,;t t
5196 s,@sbindir@,$sbindir,;t t
5197 s,@libexecdir@,$libexecdir,;t t
5198 s,@datadir@,$datadir,;t t
5199 s,@sysconfdir@,$sysconfdir,;t t
5200 s,@sharedstatedir@,$sharedstatedir,;t t
5201 s,@localstatedir@,$localstatedir,;t t
5202 s,@libdir@,$libdir,;t t
5203 s,@includedir@,$includedir,;t t
5204 s,@oldincludedir@,$oldincludedir,;t t
5205 s,@infodir@,$infodir,;t t
5206 s,@mandir@,$mandir,;t t
5207 s,@build_alias@,$build_alias,;t t
5208 s,@host_alias@,$host_alias,;t t
5209 s,@target_alias@,$target_alias,;t t
5211 s,@ECHO_C@,$ECHO_C,;t t
5212 s,@ECHO_N@,$ECHO_N,;t t
5213 s,@ECHO_T@,$ECHO_T,;t t
5216 s,@CXXFLAGS@,$CXXFLAGS,;t t
5217 s,@LDFLAGS@,$LDFLAGS,;t t
5218 s,@CPPFLAGS@,$CPPFLAGS,;t t
5219 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
5220 s,@EXEEXT@,$EXEEXT,;t t
5221 s,@OBJEXT@,$OBJEXT,;t t
5222 s,@PWLIBDIR@,$PWLIBDIR,;t t
5223 s,@PWINSTDIR@,$PWINSTDIR,;t t
5224 s,@INSTALLPREFIX@,$INSTALLPREFIX,;t t
5225 s,@LIBDIR@,$LIBDIR,;t t
5227 s,@CFLAGS@,$CFLAGS,;t t
5228 s,@ac_ct_CC@,$ac_ct_CC,;t t
5230 s,@EGREP@,$EGREP,;t t
5231 s,@HAS_ALSA@,$HAS_ALSA,;t t
5232 s,@HAS_OSS@,$HAS_OSS,;t t
5233 s,@HAS_V4L@,$HAS_V4L,;t t
5234 s,@HAS_BSDVIDEOCAP@,$HAS_BSDVIDEOCAP,;t t
5235 s,@HAS_AVC1394@,$HAS_AVC1394,;t t
5236 s,@HAS_DC1394@,$HAS_DC1394,;t t
5237 s,@LIBOBJS@,$LIBOBJS,;t t
5238 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5243 cat >>$CONFIG_STATUS <<\_ACEOF
5244 # Split the substitutions into bite-sized pieces for seds with
5245 # small command number limits, like on Digital OSF/1 and HP-UX.
5247 ac_sed_frag
=1 # Number of current file.
5248 ac_beg
=1 # First line for current file.
5249 ac_end
=$ac_max_sed_lines # Line after last line for current file.
5252 while $ac_more_lines; do
5253 if test $ac_beg -gt 1; then
5254 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5256 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5258 if test ! -s $tmp/subs.frag
; then
5261 # The purpose of the label and of the branching condition is to
5262 # speed up the sed processing (if there are no `@' at all, there
5263 # is no need to browse any of the substitutions).
5264 # These are the two extra sed commands mentioned above.
5266 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
5267 if test -z "$ac_sed_cmds"; then
5268 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
5270 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5272 ac_sed_frag
=`expr $ac_sed_frag + 1`
5274 ac_end
=`expr $ac_end + $ac_max_sed_lines`
5277 if test -z "$ac_sed_cmds"; then
5280 fi # test -n "$CONFIG_FILES"
5283 cat >>$CONFIG_STATUS <<\_ACEOF
5284 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
5285 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5287 - |
*:- |
*:-:* ) # input from stdin
5289 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5290 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5291 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5292 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5293 * ) ac_file_in
=$ac_file.
in ;;
5296 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5297 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5298 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5299 X"$ac_file" : 'X\(//\)[^/]' \| \
5300 X"$ac_file" : 'X\(//\)$' \| \
5301 X"$ac_file" : 'X\(/\)' \| \
5302 . : '\(.\)' 2>/dev/null ||
5304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5305 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5306 /^X\(\/\/\)$/{ s//\1/; q; }
5307 /^X\(\/\).*/{ s//\1/; q; }
5309 { if $as_mkdir_p; then
5314 while test ! -d "$as_dir"; do
5315 as_dirs
="$as_dir $as_dirs"
5316 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5317 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5318 X"$as_dir" : 'X\(//\)[^/]' \| \
5319 X"$as_dir" : 'X\(//\)$' \| \
5320 X"$as_dir" : 'X\(/\)' \| \
5321 . : '\(.\)' 2>/dev/null ||
5323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5324 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5325 /^X\(\/\/\)$/{ s//\1/; q; }
5326 /^X\(\/\).*/{ s//\1/; q; }
5329 test ! -n "$as_dirs" || mkdir
$as_dirs
5330 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5331 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5332 { (exit 1); exit 1; }; }; }
5336 if test "$ac_dir" != .
; then
5337 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5338 # A "../" for each directory in $ac_dir_suffix.
5339 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5341 ac_dir_suffix
= ac_top_builddir
=
5345 .
) # No --srcdir option. We are building in place.
5347 if test -z "$ac_top_builddir"; then
5350 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5352 [\\/]* | ?
:[\\/]* ) # Absolute path.
5353 ac_srcdir
=$srcdir$ac_dir_suffix;
5354 ac_top_srcdir
=$srcdir ;;
5356 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5357 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5359 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5361 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
5362 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5363 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5364 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5368 if test x
"$ac_file" != x-
; then
5369 { echo "$as_me:$LINENO: creating $ac_file" >&5
5370 echo "$as_me: creating $ac_file" >&6;}
5373 # Let's still pretend it is `configure' which instantiates (i.e., don't
5374 # use $as_me), people would be surprised to read:
5375 # /* config.h. Generated by config.status. */
5376 if test x
"$ac_file" = x-
; then
5379 configure_input
="$ac_file. "
5381 configure_input
=$configure_input"Generated from `echo $ac_file_in |
5382 sed 's,.*/,,'` by configure."
5384 # First look for the input files in the build tree, otherwise in the
5386 ac_file_inputs
=`IFS=:
5387 for f in $ac_file_in; do
5389 -) echo $tmp/stdin ;;
5391 # Absolute (can't be DOS-style, as IFS=:)
5392 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5393 echo "$as_me: error: cannot find input file: $f" >&2;}
5394 { (exit 1); exit 1; }; }
5397 if test -f "$f"; then
5400 elif test -f "$srcdir/$f"; then
5405 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5406 echo "$as_me: error: cannot find input file: $f" >&2;}
5407 { (exit 1); exit 1; }; }
5410 done` ||
{ (exit 1); exit 1; }
5412 cat >>$CONFIG_STATUS <<_ACEOF
5416 cat >>$CONFIG_STATUS <<\_ACEOF
5418 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5419 s
,@configure_input@
,$configure_input,;t t
5420 s
,@srcdir@
,$ac_srcdir,;t t
5421 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
5422 s
,@top_srcdir@
,$ac_top_srcdir,;t t
5423 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
5424 s
,@builddir@
,$ac_builddir,;t t
5425 s
,@abs_builddir@
,$ac_abs_builddir,;t t
5426 s
,@top_builddir@
,$ac_top_builddir,;t t
5427 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
5428 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5430 if test x"$ac_file" != x-; then
5431 mv $tmp/out $ac_file
5440 cat >>$CONFIG_STATUS <<\_ACEOF
5442 { (exit 0); exit 0; }
5444 chmod +x $CONFIG_STATUS
5445 ac_clean_files=$ac_clean_files_save
5448 # configure is writing to config.log, and then calls config.status.
5449 # config.status does its own redirection, appending to config.log.
5450 # Unfortunately, on DOS this fails, as config.log is still kept open
5451 # by configure, so config.status won't be able to write to it; its
5452 # output is simply discarded. So we exec the FD to /dev/null,
5453 # effectively closing config.log, so it can be properly (re)opened and
5454 # appended to by config.status. When coming back to configure, we
5455 # need to make the FD available again.
5456 if test "$no_create" != yes; then
5458 ac_config_status_args=
5459 test "$silent" = yes &&
5460 ac_config_status_args="$ac_config_status_args --quiet"
5462 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5464 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5465 # would make configure fail if this is the last instruction.
5466 $ac_cs_success || { (exit 1); exit 1; }