Fixed GCC 3.4 warnings and improved crash avoidance with NULL pointers.
[pwlib.git] / plugins / configure
blob46a5acdcaca2295d1ab32bc834049005318c3a5e
1 #! /bin/sh
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
15 emulate sh
16 NULLCMD=:
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
21 set -o posix
24 # Support unset when possible.
25 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for as_var in \
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 \
42 LC_TELEPHONE LC_TIME
44 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
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 ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; 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
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
96 rm -f conf$$.sh
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
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
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
118 esac
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
122 as_myself=$0
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
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
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
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
154 esac
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 |
165 sed '
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
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).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >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
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 as_mkdir_p=false
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"
233 # IFS
234 # We need space, tab and new line, in precisely that order.
235 as_nl='
237 IFS=" $as_nl"
239 # CDPATH.
240 $as_unset CDPATH
243 # Name of the host.
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`
248 exec 6>&1
251 # Initializations.
253 ac_default_prefix=/usr/local
254 ac_config_libobj_dir=.
255 cross_compiling=no
256 subdirs=
257 MFLAGS=
258 MAKEFLAGS=
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.
267 PACKAGE_NAME=
268 PACKAGE_TARNAME=
269 PACKAGE_VERSION=
270 PACKAGE_STRING=
271 PACKAGE_BUGREPORT=
273 ac_unique_file="../include/ptlib.h"
274 # Factoring default headers for most tests.
275 ac_includes_default="\
276 #include <stdio.h>
277 #if HAVE_SYS_TYPES_H
278 # include <sys/types.h>
279 #endif
280 #if HAVE_SYS_STAT_H
281 # include <sys/stat.h>
282 #endif
283 #if STDC_HEADERS
284 # include <stdlib.h>
285 # include <stddef.h>
286 #else
287 # if HAVE_STDLIB_H
288 # include <stdlib.h>
289 # endif
290 #endif
291 #if HAVE_STRING_H
292 # if !STDC_HEADERS && HAVE_MEMORY_H
293 # include <memory.h>
294 # endif
295 # include <string.h>
296 #endif
297 #if HAVE_STRINGS_H
298 # include <strings.h>
299 #endif
300 #if HAVE_INTTYPES_H
301 # include <inttypes.h>
302 #else
303 # if HAVE_STDINT_H
304 # include <stdint.h>
305 # endif
306 #endif
307 #if HAVE_UNISTD_H
308 # include <unistd.h>
309 #endif"
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'
312 ac_subst_files=''
314 # Initialize some variables set by options.
315 ac_init_help=
316 ac_init_version=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
319 cache_file=/dev/null
320 exec_prefix=NONE
321 no_create=
322 no_recursion=
323 prefix=NONE
324 program_prefix=NONE
325 program_suffix=NONE
326 program_transform_name=s,x,x,
327 silent=
328 site=
329 srcdir=
330 verbose=
331 x_includes=NONE
332 x_libraries=NONE
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'
352 ac_prev=
353 for ac_option
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
358 ac_prev=
359 continue
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
366 case $ac_option in
368 -bindir | --bindir | --bindi | --bind | --bin | --bi)
369 ac_prev=bindir ;;
370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
371 bindir=$ac_optarg ;;
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 ;;
385 --config-cache | -C)
386 cache_file=config.cache ;;
388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
389 ac_prev=datadir ;;
390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
391 | --da=*)
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'`
410 case $ac_option in
411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
412 *) ac_optarg=yes ;;
413 esac
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.
427 with_gas=yes ;;
429 -help | --help | --hel | --he | -h)
430 ac_init_help=long ;;
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)
449 ac_prev=infodir ;;
450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451 infodir=$ac_optarg ;;
453 -libdir | --libdir | --libdi | --libd)
454 ac_prev=libdir ;;
455 -libdir=* | --libdir=* | --libdi=* | --libd=*)
456 libdir=$ac_optarg ;;
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)
475 ac_prev=mandir ;;
476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
477 mandir=$ac_optarg ;;
479 -nfp | --nfp | --nf)
480 # Obsolete; use --without-fp.
481 with_fp=no ;;
483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 | --no-cr | --no-c | -n)
485 no_create=yes ;;
487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
489 no_recursion=yes ;;
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)
501 ac_prev=prefix ;;
502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
503 prefix=$ac_optarg ;;
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)
538 silent=yes ;;
540 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
541 ac_prev=sbindir ;;
542 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
543 | --sbi=* | --sb=*)
544 sbindir=$ac_optarg ;;
546 -sharedstatedir | --sharedstatedir | --sharedstatedi \
547 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548 | --sharedst | --shareds | --shared | --share | --shar \
549 | --sha | --sh)
550 ac_prev=sharedstatedir ;;
551 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
554 | --sha=* | --sh=*)
555 sharedstatedir=$ac_optarg ;;
557 -site | --site | --sit)
558 ac_prev=site ;;
559 -site=* | --site=* | --sit=*)
560 site=$ac_optarg ;;
562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
563 ac_prev=srcdir ;;
564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
565 srcdir=$ac_optarg ;;
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)
580 verbose=yes ;;
582 -version | --version | --versio | --versi | --vers | -V)
583 ac_init_version=: ;;
585 -with-* | --with-*)
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'`
592 case $ac_option in
593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
594 *) ac_optarg=yes ;;
595 esac
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" ;;
607 --x)
608 # Obsolete; use --with-x.
609 with_x=yes ;;
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; }; }
630 *=*)
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'"
638 export $ac_envvar ;;
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}
648 esac
649 done
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`
661 case $ac_val in
662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
665 esac
666 done
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`
673 case $ac_val in
674 [\\/$]* | ?:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
677 esac
678 done
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.
683 build=$build_alias
684 host=$host_alias
685 target=$target_alias
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
694 cross_compiling=yes
698 ac_tool_prefix=
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 ||
714 echo X"$0" |
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
719 s/.*/./; q'`
720 srcdir=$ac_confdir
721 if test ! -r $srcdir/$ac_unique_file; then
722 srcdir=..
724 else
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; }; }
731 else
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}
769 ac_env_CC_value=$CC
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.
787 cat <<_ACEOF
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.
797 Configuration:
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 \`..']
808 _ACEOF
810 cat <<_ACEOF
811 Installation directories:
812 --prefix=PREFIX install architecture-independent files in PREFIX
813 [$ac_default_prefix]
814 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
815 [PREFIX]
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]
837 _ACEOF
839 cat <<\_ACEOF
840 _ACEOF
843 if test -n "$ac_init_help"; then
845 cat <<\_ACEOF
847 Optional Features:
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
867 CPP C preprocessor
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.
872 _ACEOF
875 if test "$ac_init_help" = "recursive"; then
876 # If there are subdirs, report their specific --help.
877 ac_popdir=`pwd`
878 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
879 test -d $ac_dir || continue
880 ac_builddir=.
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'`
886 else
887 ac_dir_suffix= ac_top_builddir=
890 case $srcdir in
891 .) # No --srcdir option. We are building in place.
892 ac_srcdir=.
893 if test -z "$ac_top_builddir"; then
894 ac_top_srcdir=.
895 else
896 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
897 fi ;;
898 [\\/]* | ?:[\\/]* ) # Absolute path.
899 ac_srcdir=$srcdir$ac_dir_suffix;
900 ac_top_srcdir=$srcdir ;;
901 *) # Relative path.
902 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
903 ac_top_srcdir=$ac_top_builddir$srcdir ;;
904 esac
905 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
906 # absolute.
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`
912 cd $ac_dir
913 # Check for guested configure; otherwise get Cygnus style configure.
914 if test -f $ac_srcdir/configure.gnu; then
915 echo
916 $SHELL $ac_srcdir/configure.gnu --help=recursive
917 elif test -f $ac_srcdir/configure; then
918 echo
919 $SHELL $ac_srcdir/configure --help=recursive
920 elif test -f $ac_srcdir/configure.ac ||
921 test -f $ac_srcdir/configure.in; then
922 echo
923 $ac_configure --help
924 else
925 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
927 cd $ac_popdir
928 done
931 test -n "$ac_init_help" && exit 0
932 if $ac_init_version; then
933 cat <<\_ACEOF
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.
939 _ACEOF
940 exit 0
942 exec 5>config.log
943 cat >&5 <<_ACEOF
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
950 $ $0 $@
952 _ACEOF
954 cat <<_ASUNAME
955 ## --------- ##
956 ## Platform. ##
957 ## --------- ##
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`
976 _ASUNAME
978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
979 for as_dir in $PATH
981 IFS=$as_save_IFS
982 test -z "$as_dir" && as_dir=.
983 echo "PATH: $as_dir"
984 done
986 } >&5
988 cat >&5 <<_ACEOF
991 ## ----------- ##
992 ## Core tests. ##
993 ## ----------- ##
995 _ACEOF
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.
1003 ac_configure_args=
1004 ac_configure_args0=
1005 ac_configure_args1=
1006 ac_sep=
1007 ac_must_keep_next=false
1008 for ac_pass in 1 2
1010 for ac_arg
1012 case $ac_arg in
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)
1016 continue ;;
1017 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1018 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1019 esac
1020 case $ac_pass in
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.
1026 else
1027 case $ac_arg in
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 ;;
1034 esac
1036 -* ) ac_must_keep_next=true ;;
1037 esac
1039 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1040 # Get rid of the leading space.
1041 ac_sep=" "
1043 esac
1044 done
1045 done
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.
1057 echo
1059 cat <<\_ASBOX
1060 ## ---------------- ##
1061 ## Cache variables. ##
1062 ## ---------------- ##
1063 _ASBOX
1064 echo
1065 # The following way of writing the cache mishandles newlines in values,
1067 (set) 2>&1 |
1068 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1069 *ac_space=\ *)
1070 sed -n \
1071 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1072 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1075 sed -n \
1076 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1078 esac;
1080 echo
1082 cat <<\_ASBOX
1083 ## ----------------- ##
1084 ## Output variables. ##
1085 ## ----------------- ##
1086 _ASBOX
1087 echo
1088 for ac_var in $ac_subst_vars
1090 eval ac_val=$`echo $ac_var`
1091 echo "$ac_var='"'"'$ac_val'"'"'"
1092 done | sort
1093 echo
1095 if test -n "$ac_subst_files"; then
1096 cat <<\_ASBOX
1097 ## ------------- ##
1098 ## Output files. ##
1099 ## ------------- ##
1100 _ASBOX
1101 echo
1102 for ac_var in $ac_subst_files
1104 eval ac_val=$`echo $ac_var`
1105 echo "$ac_var='"'"'$ac_val'"'"'"
1106 done | sort
1107 echo
1110 if test -s confdefs.h; then
1111 cat <<\_ASBOX
1112 ## ----------- ##
1113 ## confdefs.h. ##
1114 ## ----------- ##
1115 _ASBOX
1116 echo
1117 sed "/^$/d" confdefs.h | sort
1118 echo
1120 test "$ac_signal" != 0 &&
1121 echo "$as_me: caught signal $ac_signal"
1122 echo "$as_me: exit $exit_status"
1123 } >&5
1124 rm -f core core.* *.core &&
1125 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1126 exit $exit_status
1128 for ac_signal in 1 2 13 15; do
1129 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1130 done
1131 ac_signal=0
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.
1136 echo >confdefs.h
1138 # Predefined preprocessor variables.
1140 cat >>confdefs.h <<_ACEOF
1141 #define PACKAGE_NAME "$PACKAGE_NAME"
1142 _ACEOF
1145 cat >>confdefs.h <<_ACEOF
1146 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1147 _ACEOF
1150 cat >>confdefs.h <<_ACEOF
1151 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1152 _ACEOF
1155 cat >>confdefs.h <<_ACEOF
1156 #define PACKAGE_STRING "$PACKAGE_STRING"
1157 _ACEOF
1160 cat >>confdefs.h <<_ACEOF
1161 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1162 _ACEOF
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"
1170 else
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
1179 . "$ac_site_file"
1181 done
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;}
1189 case $cache_file in
1190 [\\/]* | ?:[\\/]* ) . $cache_file;;
1191 *) . ./$cache_file;;
1192 esac
1194 else
1195 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1196 echo "$as_me: creating cache $cache_file" >&6;}
1197 >$cache_file
1200 # Check that the precious variables saved in the cache have kept the same
1201 # value.
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
1210 set,)
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=: ;;
1214 ,set)
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=: ;;
1218 ,);;
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=:
1228 fi;;
1229 esac
1230 # Pass precious variables to config.status.
1231 if test "$ac_new_set" = set; then
1232 case $ac_new_val in
1233 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1234 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1235 *) ac_arg=$ac_var=$ac_new_val ;;
1236 esac
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'" ;;
1240 esac
1242 done
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; }; }
1251 ac_ext=c
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
1276 ac_ext=cc
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
1290 else
1291 if test -n "$CXX"; then
1292 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1293 else
1294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1295 for as_dir in $PATH
1297 IFS=$as_save_IFS
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
1303 break 2
1305 done
1306 done
1310 CXX=$ac_cv_prog_CXX
1311 if test -n "$CXX"; then
1312 echo "$as_me:$LINENO: result: $CXX" >&5
1313 echo "${ECHO_T}$CXX" >&6
1314 else
1315 echo "$as_me:$LINENO: result: no" >&5
1316 echo "${ECHO_T}no" >&6
1319 test -n "$CXX" && break
1320 done
1322 if test -z "$CXX"; then
1323 ac_ct_CXX=$CXX
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
1332 else
1333 if test -n "$ac_ct_CXX"; then
1334 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1335 else
1336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1337 for as_dir in $PATH
1339 IFS=$as_save_IFS
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
1345 break 2
1347 done
1348 done
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
1356 else
1357 echo "$as_me:$LINENO: result: no" >&5
1358 echo "${ECHO_T}no" >&6
1361 test -n "$ac_ct_CXX" && break
1362 done
1363 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1365 CXX=$ac_ct_CXX
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
1375 ac_status=$?
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
1380 ac_status=$?
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
1385 ac_status=$?
1386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1387 (exit $ac_status); }
1389 cat >conftest.$ac_ext <<_ACEOF
1390 #line $LINENO "configure"
1391 /* confdefs.h. */
1392 _ACEOF
1393 cat confdefs.h >>conftest.$ac_ext
1394 cat >>conftest.$ac_ext <<_ACEOF
1395 /* end confdefs.h. */
1398 main ()
1402 return 0;
1404 _ACEOF
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
1409 # of exeext.
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
1415 ac_status=$?
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
1420 # resort.
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.
1424 ac_cv_exeext=
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
1429 case $ac_file in
1430 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1432 conftest.$ac_ext )
1433 # This is the source file.
1435 [ab].out )
1436 # We found the default executable, but exeext='' is most
1437 # certainly right.
1438 break;;
1439 *.* )
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.
1444 export ac_cv_exeext
1445 break;;
1447 break;;
1448 esac
1449 done
1450 else
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
1474 (eval $ac_try) 2>&5
1475 ac_status=$?
1476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1477 (exit $ac_status); }; }; then
1478 cross_compiling=no
1479 else
1480 if test "$cross_compiling" = maybe; then
1481 cross_compiling=yes
1482 else
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
1509 ac_status=$?
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
1515 # `rm'.
1516 for ac_file in conftest.exe conftest conftest.*; do
1517 test -f "$ac_file" || continue
1518 case $ac_file in
1519 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1520 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1521 export ac_cv_exeext
1522 break;;
1523 * ) break;;
1524 esac
1525 done
1526 else
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
1540 ac_exeext=$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
1545 else
1546 cat >conftest.$ac_ext <<_ACEOF
1547 #line $LINENO "configure"
1548 /* confdefs.h. */
1549 _ACEOF
1550 cat confdefs.h >>conftest.$ac_ext
1551 cat >>conftest.$ac_ext <<_ACEOF
1552 /* end confdefs.h. */
1555 main ()
1559 return 0;
1561 _ACEOF
1562 rm -f conftest.o conftest.obj
1563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1564 (eval $ac_compile) 2>&5
1565 ac_status=$?
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
1569 case $ac_file in
1570 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1571 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1572 break;;
1573 esac
1574 done
1575 else
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
1591 ac_objext=$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
1596 else
1597 cat >conftest.$ac_ext <<_ACEOF
1598 #line $LINENO "configure"
1599 /* confdefs.h. */
1600 _ACEOF
1601 cat confdefs.h >>conftest.$ac_ext
1602 cat >>conftest.$ac_ext <<_ACEOF
1603 /* end confdefs.h. */
1606 main ()
1608 #ifndef __GNUC__
1609 choke me
1610 #endif
1613 return 0;
1615 _ACEOF
1616 rm -f conftest.$ac_objext
1617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1618 (eval $ac_compile) 2>&5
1619 ac_status=$?
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
1624 (eval $ac_try) 2>&5
1625 ac_status=$?
1626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1627 (exit $ac_status); }; }; then
1628 ac_compiler_gnu=yes
1629 else
1630 echo "$as_me: failed program was:" >&5
1631 sed 's/^/| /' conftest.$ac_ext >&5
1633 ac_compiler_gnu=no
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
1644 CXXFLAGS="-g"
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
1649 else
1650 cat >conftest.$ac_ext <<_ACEOF
1651 #line $LINENO "configure"
1652 /* confdefs.h. */
1653 _ACEOF
1654 cat confdefs.h >>conftest.$ac_ext
1655 cat >>conftest.$ac_ext <<_ACEOF
1656 /* end confdefs.h. */
1659 main ()
1663 return 0;
1665 _ACEOF
1666 rm -f conftest.$ac_objext
1667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1668 (eval $ac_compile) 2>&5
1669 ac_status=$?
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
1674 (eval $ac_try) 2>&5
1675 ac_status=$?
1676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1677 (exit $ac_status); }; }; then
1678 ac_cv_prog_cxx_g=yes
1679 else
1680 echo "$as_me: failed program was:" >&5
1681 sed 's/^/| /' conftest.$ac_ext >&5
1683 ac_cv_prog_cxx_g=no
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
1693 CXXFLAGS="-g -O2"
1694 else
1695 CXXFLAGS="-g"
1697 else
1698 if test "$GXX" = yes; then
1699 CXXFLAGS="-O2"
1700 else
1701 CXXFLAGS=
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);' \
1711 'void exit (int);'
1713 cat >conftest.$ac_ext <<_ACEOF
1714 #line $LINENO "configure"
1715 /* confdefs.h. */
1716 _ACEOF
1717 cat confdefs.h >>conftest.$ac_ext
1718 cat >>conftest.$ac_ext <<_ACEOF
1719 /* end confdefs.h. */
1720 #include <stdlib.h>
1721 $ac_declaration
1723 main ()
1725 exit (42);
1727 return 0;
1729 _ACEOF
1730 rm -f conftest.$ac_objext
1731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1732 (eval $ac_compile) 2>&5
1733 ac_status=$?
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
1738 (eval $ac_try) 2>&5
1739 ac_status=$?
1740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1741 (exit $ac_status); }; }; then
1743 else
1744 echo "$as_me: failed program was:" >&5
1745 sed 's/^/| /' conftest.$ac_ext >&5
1747 continue
1749 rm -f conftest.$ac_objext conftest.$ac_ext
1750 cat >conftest.$ac_ext <<_ACEOF
1751 #line $LINENO "configure"
1752 /* confdefs.h. */
1753 _ACEOF
1754 cat confdefs.h >>conftest.$ac_ext
1755 cat >>conftest.$ac_ext <<_ACEOF
1756 /* end confdefs.h. */
1757 $ac_declaration
1759 main ()
1761 exit (42);
1763 return 0;
1765 _ACEOF
1766 rm -f conftest.$ac_objext
1767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1768 (eval $ac_compile) 2>&5
1769 ac_status=$?
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
1774 (eval $ac_try) 2>&5
1775 ac_status=$?
1776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1777 (exit $ac_status); }; }; then
1778 break
1779 else
1780 echo "$as_me: failed program was:" >&5
1781 sed 's/^/| /' conftest.$ac_ext >&5
1784 rm -f conftest.$ac_objext conftest.$ac_ext
1785 done
1786 rm -f conftest*
1787 if test -n "$ac_declaration"; then
1788 echo '#ifdef __cplusplus' >>confdefs.h
1789 echo $ac_declaration >>confdefs.h
1790 echo '#endif' >>confdefs.h
1793 ac_ext=c
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
1801 PWLIBDIR=`pwd`
1802 echo "Plugin source directory is $PWLIBDIR";
1806 if test "x$prefix" = "xNONE"; then
1807 INSTALLPREFIX="/usr/local"
1808 else
1809 INSTALLPREFIX="${prefix}"
1814 LIBDIR="${libdir}"
1818 # Check whether --enable-alsa or --disable-alsa was given.
1819 if test "${enable_alsa+set}" = set; then
1820 enableval="$enable_alsa"
1822 else
1823 enable_alsa=yes
1826 if test "$enable_alsa" = "yes" ; then
1827 ac_ext=c
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
1839 else
1840 if test -n "$CC"; then
1841 ac_cv_prog_CC="$CC" # Let the user override the test.
1842 else
1843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1844 for as_dir in $PATH
1846 IFS=$as_save_IFS
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
1852 break 2
1854 done
1855 done
1859 CC=$ac_cv_prog_CC
1860 if test -n "$CC"; then
1861 echo "$as_me:$LINENO: result: $CC" >&5
1862 echo "${ECHO_T}$CC" >&6
1863 else
1864 echo "$as_me:$LINENO: result: no" >&5
1865 echo "${ECHO_T}no" >&6
1869 if test -z "$ac_cv_prog_CC"; then
1870 ac_ct_CC=$CC
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
1877 else
1878 if test -n "$ac_ct_CC"; then
1879 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1880 else
1881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1882 for as_dir in $PATH
1884 IFS=$as_save_IFS
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
1890 break 2
1892 done
1893 done
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
1901 else
1902 echo "$as_me:$LINENO: result: no" >&5
1903 echo "${ECHO_T}no" >&6
1906 CC=$ac_ct_CC
1907 else
1908 CC="$ac_cv_prog_CC"
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
1919 else
1920 if test -n "$CC"; then
1921 ac_cv_prog_CC="$CC" # Let the user override the test.
1922 else
1923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1924 for as_dir in $PATH
1926 IFS=$as_save_IFS
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
1932 break 2
1934 done
1935 done
1939 CC=$ac_cv_prog_CC
1940 if test -n "$CC"; then
1941 echo "$as_me:$LINENO: result: $CC" >&5
1942 echo "${ECHO_T}$CC" >&6
1943 else
1944 echo "$as_me:$LINENO: result: no" >&5
1945 echo "${ECHO_T}no" >&6
1949 if test -z "$ac_cv_prog_CC"; then
1950 ac_ct_CC=$CC
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
1957 else
1958 if test -n "$ac_ct_CC"; then
1959 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1960 else
1961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1962 for as_dir in $PATH
1964 IFS=$as_save_IFS
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
1970 break 2
1972 done
1973 done
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
1981 else
1982 echo "$as_me:$LINENO: result: no" >&5
1983 echo "${ECHO_T}no" >&6
1986 CC=$ac_ct_CC
1987 else
1988 CC="$ac_cv_prog_CC"
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
1999 else
2000 if test -n "$CC"; then
2001 ac_cv_prog_CC="$CC" # Let the user override the test.
2002 else
2003 ac_prog_rejected=no
2004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2005 for as_dir in $PATH
2007 IFS=$as_save_IFS
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
2013 continue
2015 ac_cv_prog_CC="cc"
2016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2017 break 2
2019 done
2020 done
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
2025 shift
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.
2030 shift
2031 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2036 CC=$ac_cv_prog_CC
2037 if test -n "$CC"; then
2038 echo "$as_me:$LINENO: result: $CC" >&5
2039 echo "${ECHO_T}$CC" >&6
2040 else
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
2048 for ac_prog in cl
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
2056 else
2057 if test -n "$CC"; then
2058 ac_cv_prog_CC="$CC" # Let the user override the test.
2059 else
2060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2061 for as_dir in $PATH
2063 IFS=$as_save_IFS
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
2069 break 2
2071 done
2072 done
2076 CC=$ac_cv_prog_CC
2077 if test -n "$CC"; then
2078 echo "$as_me:$LINENO: result: $CC" >&5
2079 echo "${ECHO_T}$CC" >&6
2080 else
2081 echo "$as_me:$LINENO: result: no" >&5
2082 echo "${ECHO_T}no" >&6
2085 test -n "$CC" && break
2086 done
2088 if test -z "$CC"; then
2089 ac_ct_CC=$CC
2090 for ac_prog in cl
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
2098 else
2099 if test -n "$ac_ct_CC"; then
2100 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2101 else
2102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2103 for as_dir in $PATH
2105 IFS=$as_save_IFS
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
2111 break 2
2113 done
2114 done
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
2122 else
2123 echo "$as_me:$LINENO: result: no" >&5
2124 echo "${ECHO_T}no" >&6
2127 test -n "$ac_ct_CC" && break
2128 done
2130 CC=$ac_ct_CC
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
2148 ac_status=$?
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
2153 ac_status=$?
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
2158 ac_status=$?
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
2166 else
2167 cat >conftest.$ac_ext <<_ACEOF
2168 #line $LINENO "configure"
2169 /* confdefs.h. */
2170 _ACEOF
2171 cat confdefs.h >>conftest.$ac_ext
2172 cat >>conftest.$ac_ext <<_ACEOF
2173 /* end confdefs.h. */
2176 main ()
2178 #ifndef __GNUC__
2179 choke me
2180 #endif
2183 return 0;
2185 _ACEOF
2186 rm -f conftest.$ac_objext
2187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2188 (eval $ac_compile) 2>&5
2189 ac_status=$?
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
2194 (eval $ac_try) 2>&5
2195 ac_status=$?
2196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2197 (exit $ac_status); }; }; then
2198 ac_compiler_gnu=yes
2199 else
2200 echo "$as_me: failed program was:" >&5
2201 sed 's/^/| /' conftest.$ac_ext >&5
2203 ac_compiler_gnu=no
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
2214 CFLAGS="-g"
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
2219 else
2220 cat >conftest.$ac_ext <<_ACEOF
2221 #line $LINENO "configure"
2222 /* confdefs.h. */
2223 _ACEOF
2224 cat confdefs.h >>conftest.$ac_ext
2225 cat >>conftest.$ac_ext <<_ACEOF
2226 /* end confdefs.h. */
2229 main ()
2233 return 0;
2235 _ACEOF
2236 rm -f conftest.$ac_objext
2237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2238 (eval $ac_compile) 2>&5
2239 ac_status=$?
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
2244 (eval $ac_try) 2>&5
2245 ac_status=$?
2246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2247 (exit $ac_status); }; }; then
2248 ac_cv_prog_cc_g=yes
2249 else
2250 echo "$as_me: failed program was:" >&5
2251 sed 's/^/| /' conftest.$ac_ext >&5
2253 ac_cv_prog_cc_g=no
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
2263 CFLAGS="-g -O2"
2264 else
2265 CFLAGS="-g"
2267 else
2268 if test "$GCC" = yes; then
2269 CFLAGS="-O2"
2270 else
2271 CFLAGS=
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
2278 else
2279 ac_cv_prog_cc_stdc=no
2280 ac_save_CC=$CC
2281 cat >conftest.$ac_ext <<_ACEOF
2282 #line $LINENO "configure"
2283 /* confdefs.h. */
2284 _ACEOF
2285 cat confdefs.h >>conftest.$ac_ext
2286 cat >>conftest.$ac_ext <<_ACEOF
2287 /* end confdefs.h. */
2288 #include <stdarg.h>
2289 #include <stdio.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)
2296 char **p;
2297 int i;
2299 return p[i];
2301 static char *f (char * (*g) (char **, int), char **p, ...)
2303 char *s;
2304 va_list v;
2305 va_start (v,p);
2306 s = g (p, va_arg (v,int));
2307 va_end (v);
2308 return s;
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);
2314 int argc;
2315 char **argv;
2317 main ()
2319 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2321 return 0;
2323 _ACEOF
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
2337 ac_status=$?
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
2342 (eval $ac_try) 2>&5
2343 ac_status=$?
2344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2345 (exit $ac_status); }; }; then
2346 ac_cv_prog_cc_stdc=$ac_arg
2347 break
2348 else
2349 echo "$as_me: failed program was:" >&5
2350 sed 's/^/| /' conftest.$ac_ext >&5
2353 rm -f conftest.$ac_objext
2354 done
2355 rm -f conftest.$ac_ext conftest.$ac_objext
2356 CC=$ac_save_CC
2360 case "x$ac_cv_prog_cc_stdc" in
2361 x|xno)
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" ;;
2368 esac
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
2375 #ifndef __cplusplus
2376 choke me
2377 #endif
2378 _ACEOF
2379 rm -f conftest.$ac_objext
2380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2381 (eval $ac_compile) 2>&5
2382 ac_status=$?
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
2387 (eval $ac_try) 2>&5
2388 ac_status=$?
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);' \
2398 'void exit (int);'
2400 cat >conftest.$ac_ext <<_ACEOF
2401 #line $LINENO "configure"
2402 /* confdefs.h. */
2403 _ACEOF
2404 cat confdefs.h >>conftest.$ac_ext
2405 cat >>conftest.$ac_ext <<_ACEOF
2406 /* end confdefs.h. */
2407 #include <stdlib.h>
2408 $ac_declaration
2410 main ()
2412 exit (42);
2414 return 0;
2416 _ACEOF
2417 rm -f conftest.$ac_objext
2418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2419 (eval $ac_compile) 2>&5
2420 ac_status=$?
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
2425 (eval $ac_try) 2>&5
2426 ac_status=$?
2427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2428 (exit $ac_status); }; }; then
2430 else
2431 echo "$as_me: failed program was:" >&5
2432 sed 's/^/| /' conftest.$ac_ext >&5
2434 continue
2436 rm -f conftest.$ac_objext conftest.$ac_ext
2437 cat >conftest.$ac_ext <<_ACEOF
2438 #line $LINENO "configure"
2439 /* confdefs.h. */
2440 _ACEOF
2441 cat confdefs.h >>conftest.$ac_ext
2442 cat >>conftest.$ac_ext <<_ACEOF
2443 /* end confdefs.h. */
2444 $ac_declaration
2446 main ()
2448 exit (42);
2450 return 0;
2452 _ACEOF
2453 rm -f conftest.$ac_objext
2454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2455 (eval $ac_compile) 2>&5
2456 ac_status=$?
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
2461 (eval $ac_try) 2>&5
2462 ac_status=$?
2463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2464 (exit $ac_status); }; }; then
2465 break
2466 else
2467 echo "$as_me: failed program was:" >&5
2468 sed 's/^/| /' conftest.$ac_ext >&5
2471 rm -f conftest.$ac_objext conftest.$ac_ext
2472 done
2473 rm -f conftest*
2474 if test -n "$ac_declaration"; then
2475 echo '#ifdef __cplusplus' >>confdefs.h
2476 echo $ac_declaration >>confdefs.h
2477 echo '#endif' >>confdefs.h
2480 else
2481 echo "$as_me: failed program was:" >&5
2482 sed 's/^/| /' conftest.$ac_ext >&5
2485 rm -f conftest.$ac_objext conftest.$ac_ext
2486 ac_ext=c
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
2493 ac_ext=c
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
2502 CPP=
2504 if test -z "$CPP"; then
2505 if test "${ac_cv_prog_CPP+set}" = set; then
2506 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 else
2508 # Double quotes because CPP needs to be expanded
2509 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2511 ac_preproc_ok=false
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"
2522 /* confdefs.h. */
2523 _ACEOF
2524 cat confdefs.h >>conftest.$ac_ext
2525 cat >>conftest.$ac_ext <<_ACEOF
2526 /* end confdefs.h. */
2527 #ifdef __STDC__
2528 # include <limits.h>
2529 #else
2530 # include <assert.h>
2531 #endif
2532 Syntax error
2533 _ACEOF
2534 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2535 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2536 ac_status=$?
2537 grep -v '^ *+' conftest.er1 >conftest.err
2538 rm -f conftest.er1
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
2544 else
2545 ac_cpp_err=
2547 else
2548 ac_cpp_err=yes
2550 if test -z "$ac_cpp_err"; then
2552 else
2553 echo "$as_me: failed program was:" >&5
2554 sed 's/^/| /' conftest.$ac_ext >&5
2556 # Broken: fails on valid input.
2557 continue
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"
2565 /* confdefs.h. */
2566 _ACEOF
2567 cat confdefs.h >>conftest.$ac_ext
2568 cat >>conftest.$ac_ext <<_ACEOF
2569 /* end confdefs.h. */
2570 #include <ac_nonexistent.h>
2571 _ACEOF
2572 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2573 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2574 ac_status=$?
2575 grep -v '^ *+' conftest.er1 >conftest.err
2576 rm -f conftest.er1
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
2582 else
2583 ac_cpp_err=
2585 else
2586 ac_cpp_err=yes
2588 if test -z "$ac_cpp_err"; then
2589 # Broken: success on invalid input.
2590 continue
2591 else
2592 echo "$as_me: failed program was:" >&5
2593 sed 's/^/| /' conftest.$ac_ext >&5
2595 # Passes both tests.
2596 ac_preproc_ok=:
2597 break
2599 rm -f conftest.err conftest.$ac_ext
2601 done
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
2605 break
2608 done
2609 ac_cv_prog_CPP=$CPP
2612 CPP=$ac_cv_prog_CPP
2613 else
2614 ac_cv_prog_CPP=$CPP
2616 echo "$as_me:$LINENO: result: $CPP" >&5
2617 echo "${ECHO_T}$CPP" >&6
2618 ac_preproc_ok=false
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"
2629 /* confdefs.h. */
2630 _ACEOF
2631 cat confdefs.h >>conftest.$ac_ext
2632 cat >>conftest.$ac_ext <<_ACEOF
2633 /* end confdefs.h. */
2634 #ifdef __STDC__
2635 # include <limits.h>
2636 #else
2637 # include <assert.h>
2638 #endif
2639 Syntax error
2640 _ACEOF
2641 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2642 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2643 ac_status=$?
2644 grep -v '^ *+' conftest.er1 >conftest.err
2645 rm -f conftest.er1
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
2651 else
2652 ac_cpp_err=
2654 else
2655 ac_cpp_err=yes
2657 if test -z "$ac_cpp_err"; then
2659 else
2660 echo "$as_me: failed program was:" >&5
2661 sed 's/^/| /' conftest.$ac_ext >&5
2663 # Broken: fails on valid input.
2664 continue
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"
2672 /* confdefs.h. */
2673 _ACEOF
2674 cat confdefs.h >>conftest.$ac_ext
2675 cat >>conftest.$ac_ext <<_ACEOF
2676 /* end confdefs.h. */
2677 #include <ac_nonexistent.h>
2678 _ACEOF
2679 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2680 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2681 ac_status=$?
2682 grep -v '^ *+' conftest.er1 >conftest.err
2683 rm -f conftest.er1
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
2689 else
2690 ac_cpp_err=
2692 else
2693 ac_cpp_err=yes
2695 if test -z "$ac_cpp_err"; then
2696 # Broken: success on invalid input.
2697 continue
2698 else
2699 echo "$as_me: failed program was:" >&5
2700 sed 's/^/| /' conftest.$ac_ext >&5
2702 # Passes both tests.
2703 ac_preproc_ok=:
2704 break
2706 rm -f conftest.err conftest.$ac_ext
2708 done
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
2713 else
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; }; }
2721 ac_ext=c
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
2732 else
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
2747 else
2748 cat >conftest.$ac_ext <<_ACEOF
2749 #line $LINENO "configure"
2750 /* confdefs.h. */
2751 _ACEOF
2752 cat confdefs.h >>conftest.$ac_ext
2753 cat >>conftest.$ac_ext <<_ACEOF
2754 /* end confdefs.h. */
2755 #include <stdlib.h>
2756 #include <stdarg.h>
2757 #include <string.h>
2758 #include <float.h>
2761 main ()
2765 return 0;
2767 _ACEOF
2768 rm -f conftest.$ac_objext
2769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2770 (eval $ac_compile) 2>&5
2771 ac_status=$?
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
2776 (eval $ac_try) 2>&5
2777 ac_status=$?
2778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); }; }; then
2780 ac_cv_header_stdc=yes
2781 else
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"
2793 /* confdefs.h. */
2794 _ACEOF
2795 cat confdefs.h >>conftest.$ac_ext
2796 cat >>conftest.$ac_ext <<_ACEOF
2797 /* end confdefs.h. */
2798 #include <string.h>
2800 _ACEOF
2801 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2802 $EGREP "memchr" >/dev/null 2>&1; then
2804 else
2805 ac_cv_header_stdc=no
2807 rm -f conftest*
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"
2815 /* confdefs.h. */
2816 _ACEOF
2817 cat confdefs.h >>conftest.$ac_ext
2818 cat >>conftest.$ac_ext <<_ACEOF
2819 /* end confdefs.h. */
2820 #include <stdlib.h>
2822 _ACEOF
2823 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2824 $EGREP "free" >/dev/null 2>&1; then
2826 else
2827 ac_cv_header_stdc=no
2829 rm -f conftest*
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
2837 else
2838 cat >conftest.$ac_ext <<_ACEOF
2839 #line $LINENO "configure"
2840 /* confdefs.h. */
2841 _ACEOF
2842 cat confdefs.h >>conftest.$ac_ext
2843 cat >>conftest.$ac_ext <<_ACEOF
2844 /* end confdefs.h. */
2845 #include <ctype.h>
2846 #if ((' ' & 0x0FF) == 0x020)
2847 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2848 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2849 #else
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))
2855 #endif
2857 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2859 main ()
2861 int i;
2862 for (i = 0; i < 256; i++)
2863 if (XOR (islower (i), ISLOWER (i))
2864 || toupper (i) != TOUPPER (i))
2865 exit(2);
2866 exit (0);
2868 _ACEOF
2869 rm -f conftest$ac_exeext
2870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2871 (eval $ac_link) 2>&5
2872 ac_status=$?
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
2876 (eval $ac_try) 2>&5
2877 ac_status=$?
2878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879 (exit $ac_status); }; }; then
2881 else
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
2886 ( exit $ac_status )
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
2899 _ACEOF
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
2921 else
2922 cat >conftest.$ac_ext <<_ACEOF
2923 #line $LINENO "configure"
2924 /* confdefs.h. */
2925 _ACEOF
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>
2932 _ACEOF
2933 rm -f conftest.$ac_objext
2934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2935 (eval $ac_compile) 2>&5
2936 ac_status=$?
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
2941 (eval $ac_try) 2>&5
2942 ac_status=$?
2943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944 (exit $ac_status); }; }; then
2945 eval "$as_ac_Header=yes"
2946 else
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
2959 _ACEOF
2963 done
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
2974 else
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"
2980 /* confdefs.h. */
2981 _ACEOF
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>
2987 _ACEOF
2988 rm -f conftest.$ac_objext
2989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2990 (eval $ac_compile) 2>&5
2991 ac_status=$?
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
2996 (eval $ac_try) 2>&5
2997 ac_status=$?
2998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999 (exit $ac_status); }; }; then
3000 ac_header_compiler=yes
3001 else
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"
3016 /* confdefs.h. */
3017 _ACEOF
3018 cat confdefs.h >>conftest.$ac_ext
3019 cat >>conftest.$ac_ext <<_ACEOF
3020 /* end confdefs.h. */
3021 #include <alsa/asoundlib.h>
3022 _ACEOF
3023 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3024 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3025 ac_status=$?
3026 grep -v '^ *+' conftest.er1 >conftest.err
3027 rm -f conftest.er1
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
3033 else
3034 ac_cpp_err=
3036 else
3037 ac_cpp_err=yes
3039 if test -z "$ac_cpp_err"; then
3040 ac_header_preproc=yes
3041 else
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
3053 yes:no )
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;}
3059 cat <<\_ASBOX
3060 ## ------------------------------------ ##
3061 ## Report this to bug-autoconf@gnu.org. ##
3062 ## ------------------------------------ ##
3063 _ASBOX
3065 sed "s/^/$as_me: WARNING: /" >&2
3067 no:yes )
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;}
3075 cat <<\_ASBOX
3076 ## ------------------------------------ ##
3077 ## Report this to bug-autoconf@gnu.org. ##
3078 ## ------------------------------------ ##
3079 _ASBOX
3081 sed "s/^/$as_me: WARNING: /" >&2
3083 esac
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
3088 else
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
3096 ALSAHDR=1
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
3103 HAS_ALSA=1
3105 echo "$as_me:$LINENO: result: yes" >&5
3106 echo "${ECHO_T}yes" >&6
3107 else
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"
3118 else
3119 enable_oss=yes
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
3131 else
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"
3137 /* confdefs.h. */
3138 _ACEOF
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>
3144 _ACEOF
3145 rm -f conftest.$ac_objext
3146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3147 (eval $ac_compile) 2>&5
3148 ac_status=$?
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
3153 (eval $ac_try) 2>&5
3154 ac_status=$?
3155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3156 (exit $ac_status); }; }; then
3157 ac_header_compiler=yes
3158 else
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"
3173 /* confdefs.h. */
3174 _ACEOF
3175 cat confdefs.h >>conftest.$ac_ext
3176 cat >>conftest.$ac_ext <<_ACEOF
3177 /* end confdefs.h. */
3178 #include <sys/soundcard.h>
3179 _ACEOF
3180 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3181 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3182 ac_status=$?
3183 grep -v '^ *+' conftest.er1 >conftest.err
3184 rm -f conftest.er1
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
3190 else
3191 ac_cpp_err=
3193 else
3194 ac_cpp_err=yes
3196 if test -z "$ac_cpp_err"; then
3197 ac_header_preproc=yes
3198 else
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
3210 yes:no )
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;}
3216 cat <<\_ASBOX
3217 ## ------------------------------------ ##
3218 ## Report this to bug-autoconf@gnu.org. ##
3219 ## ------------------------------------ ##
3220 _ASBOX
3222 sed "s/^/$as_me: WARNING: /" >&2
3224 no:yes )
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;}
3232 cat <<\_ASBOX
3233 ## ------------------------------------ ##
3234 ## Report this to bug-autoconf@gnu.org. ##
3235 ## ------------------------------------ ##
3236 _ASBOX
3238 sed "s/^/$as_me: WARNING: /" >&2
3240 esac
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
3245 else
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
3253 SNDCARDHDR=1
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
3260 HAS_OSS=1
3262 echo "$as_me:$LINENO: result: yes" >&5
3263 echo "${ECHO_T}yes" >&6
3264 else
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"
3273 video=$enableval
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"
3283 else
3284 enable_v4l=yes
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
3296 else
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"
3302 /* confdefs.h. */
3303 _ACEOF
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>
3309 _ACEOF
3310 rm -f conftest.$ac_objext
3311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3312 (eval $ac_compile) 2>&5
3313 ac_status=$?
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
3318 (eval $ac_try) 2>&5
3319 ac_status=$?
3320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321 (exit $ac_status); }; }; then
3322 ac_header_compiler=yes
3323 else
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"
3338 /* confdefs.h. */
3339 _ACEOF
3340 cat confdefs.h >>conftest.$ac_ext
3341 cat >>conftest.$ac_ext <<_ACEOF
3342 /* end confdefs.h. */
3343 #include <linux/videodev.h>
3344 _ACEOF
3345 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3346 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3347 ac_status=$?
3348 grep -v '^ *+' conftest.er1 >conftest.err
3349 rm -f conftest.er1
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
3355 else
3356 ac_cpp_err=
3358 else
3359 ac_cpp_err=yes
3361 if test -z "$ac_cpp_err"; then
3362 ac_header_preproc=yes
3363 else
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
3375 yes:no )
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;}
3381 cat <<\_ASBOX
3382 ## ------------------------------------ ##
3383 ## Report this to bug-autoconf@gnu.org. ##
3384 ## ------------------------------------ ##
3385 _ASBOX
3387 sed "s/^/$as_me: WARNING: /" >&2
3389 no:yes )
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;}
3397 cat <<\_ASBOX
3398 ## ------------------------------------ ##
3399 ## Report this to bug-autoconf@gnu.org. ##
3400 ## ------------------------------------ ##
3401 _ASBOX
3403 sed "s/^/$as_me: WARNING: /" >&2
3405 esac
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
3410 else
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
3418 V4LHDR=1
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
3425 HAS_V4L=1
3427 echo "$as_me:$LINENO: result: yes" >&5
3428 echo "${ECHO_T}yes" >&6
3429 else
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"
3440 else
3441 enable_bsdvideo=yes
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
3453 else
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"
3459 /* confdefs.h. */
3460 _ACEOF
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>
3466 _ACEOF
3467 rm -f conftest.$ac_objext
3468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3469 (eval $ac_compile) 2>&5
3470 ac_status=$?
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
3475 (eval $ac_try) 2>&5
3476 ac_status=$?
3477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3478 (exit $ac_status); }; }; then
3479 ac_header_compiler=yes
3480 else
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"
3495 /* confdefs.h. */
3496 _ACEOF
3497 cat confdefs.h >>conftest.$ac_ext
3498 cat >>conftest.$ac_ext <<_ACEOF
3499 /* end confdefs.h. */
3500 #include <machine/ioctl_meteor.h>
3501 _ACEOF
3502 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3503 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3504 ac_status=$?
3505 grep -v '^ *+' conftest.er1 >conftest.err
3506 rm -f conftest.er1
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
3512 else
3513 ac_cpp_err=
3515 else
3516 ac_cpp_err=yes
3518 if test -z "$ac_cpp_err"; then
3519 ac_header_preproc=yes
3520 else
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
3532 yes:no )
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;}
3538 cat <<\_ASBOX
3539 ## ------------------------------------ ##
3540 ## Report this to bug-autoconf@gnu.org. ##
3541 ## ------------------------------------ ##
3542 _ASBOX
3544 sed "s/^/$as_me: WARNING: /" >&2
3546 no:yes )
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;}
3554 cat <<\_ASBOX
3555 ## ------------------------------------ ##
3556 ## Report this to bug-autoconf@gnu.org. ##
3557 ## ------------------------------------ ##
3558 _ASBOX
3560 sed "s/^/$as_me: WARNING: /" >&2
3562 esac
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
3567 else
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
3575 BSDVIDEOHDR=1
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
3587 else
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"
3593 /* confdefs.h. */
3594 _ACEOF
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>
3600 _ACEOF
3601 rm -f conftest.$ac_objext
3602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3603 (eval $ac_compile) 2>&5
3604 ac_status=$?
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
3609 (eval $ac_try) 2>&5
3610 ac_status=$?
3611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612 (exit $ac_status); }; }; then
3613 ac_header_compiler=yes
3614 else
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"
3629 /* confdefs.h. */
3630 _ACEOF
3631 cat confdefs.h >>conftest.$ac_ext
3632 cat >>conftest.$ac_ext <<_ACEOF
3633 /* end confdefs.h. */
3634 #include <i386/ioctl_meteor.h>
3635 _ACEOF
3636 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3637 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3638 ac_status=$?
3639 grep -v '^ *+' conftest.er1 >conftest.err
3640 rm -f conftest.er1
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
3646 else
3647 ac_cpp_err=
3649 else
3650 ac_cpp_err=yes
3652 if test -z "$ac_cpp_err"; then
3653 ac_header_preproc=yes
3654 else
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
3666 yes:no )
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;}
3672 cat <<\_ASBOX
3673 ## ------------------------------------ ##
3674 ## Report this to bug-autoconf@gnu.org. ##
3675 ## ------------------------------------ ##
3676 _ASBOX
3678 sed "s/^/$as_me: WARNING: /" >&2
3680 no:yes )
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;}
3688 cat <<\_ASBOX
3689 ## ------------------------------------ ##
3690 ## Report this to bug-autoconf@gnu.org. ##
3691 ## ------------------------------------ ##
3692 _ASBOX
3694 sed "s/^/$as_me: WARNING: /" >&2
3696 esac
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
3701 else
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
3709 BSDVIDEOHDR=1
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
3721 else
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"
3727 /* confdefs.h. */
3728 _ACEOF
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>
3734 _ACEOF
3735 rm -f conftest.$ac_objext
3736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3737 (eval $ac_compile) 2>&5
3738 ac_status=$?
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
3743 (eval $ac_try) 2>&5
3744 ac_status=$?
3745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3746 (exit $ac_status); }; }; then
3747 ac_header_compiler=yes
3748 else
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"
3763 /* confdefs.h. */
3764 _ACEOF
3765 cat confdefs.h >>conftest.$ac_ext
3766 cat >>conftest.$ac_ext <<_ACEOF
3767 /* end confdefs.h. */
3768 #include <dev/ic/bt8xx.h>
3769 _ACEOF
3770 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3771 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3772 ac_status=$?
3773 grep -v '^ *+' conftest.er1 >conftest.err
3774 rm -f conftest.er1
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
3780 else
3781 ac_cpp_err=
3783 else
3784 ac_cpp_err=yes
3786 if test -z "$ac_cpp_err"; then
3787 ac_header_preproc=yes
3788 else
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
3800 yes:no )
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;}
3806 cat <<\_ASBOX
3807 ## ------------------------------------ ##
3808 ## Report this to bug-autoconf@gnu.org. ##
3809 ## ------------------------------------ ##
3810 _ASBOX
3812 sed "s/^/$as_me: WARNING: /" >&2
3814 no:yes )
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;}
3822 cat <<\_ASBOX
3823 ## ------------------------------------ ##
3824 ## Report this to bug-autoconf@gnu.org. ##
3825 ## ------------------------------------ ##
3826 _ASBOX
3828 sed "s/^/$as_me: WARNING: /" >&2
3830 esac
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
3835 else
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
3843 BSDVIDEOHDR=1
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
3850 HAS_BSDVIDEOCAP=1
3852 echo "$as_me:$LINENO: result: yes" >&5
3853 echo "${ECHO_T}yes" >&6
3854 else
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"
3865 else
3866 enable_avc=yes
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
3878 else
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"
3884 /* confdefs.h. */
3885 _ACEOF
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>
3891 _ACEOF
3892 rm -f conftest.$ac_objext
3893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3894 (eval $ac_compile) 2>&5
3895 ac_status=$?
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
3900 (eval $ac_try) 2>&5
3901 ac_status=$?
3902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3903 (exit $ac_status); }; }; then
3904 ac_header_compiler=yes
3905 else
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"
3920 /* confdefs.h. */
3921 _ACEOF
3922 cat confdefs.h >>conftest.$ac_ext
3923 cat >>conftest.$ac_ext <<_ACEOF
3924 /* end confdefs.h. */
3925 #include <libavc1394/avc1394.h>
3926 _ACEOF
3927 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3928 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3929 ac_status=$?
3930 grep -v '^ *+' conftest.er1 >conftest.err
3931 rm -f conftest.er1
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
3937 else
3938 ac_cpp_err=
3940 else
3941 ac_cpp_err=yes
3943 if test -z "$ac_cpp_err"; then
3944 ac_header_preproc=yes
3945 else
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
3957 yes:no )
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;}
3963 cat <<\_ASBOX
3964 ## ------------------------------------ ##
3965 ## Report this to bug-autoconf@gnu.org. ##
3966 ## ------------------------------------ ##
3967 _ASBOX
3969 sed "s/^/$as_me: WARNING: /" >&2
3971 no:yes )
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;}
3979 cat <<\_ASBOX
3980 ## ------------------------------------ ##
3981 ## Report this to bug-autoconf@gnu.org. ##
3982 ## ------------------------------------ ##
3983 _ASBOX
3985 sed "s/^/$as_me: WARNING: /" >&2
3987 esac
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
3992 else
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
4000 AVC1394HDR=1
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
4012 else
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"
4018 /* confdefs.h. */
4019 _ACEOF
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>
4025 _ACEOF
4026 rm -f conftest.$ac_objext
4027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4028 (eval $ac_compile) 2>&5
4029 ac_status=$?
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
4034 (eval $ac_try) 2>&5
4035 ac_status=$?
4036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037 (exit $ac_status); }; }; then
4038 ac_header_compiler=yes
4039 else
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"
4054 /* confdefs.h. */
4055 _ACEOF
4056 cat confdefs.h >>conftest.$ac_ext
4057 cat >>conftest.$ac_ext <<_ACEOF
4058 /* end confdefs.h. */
4059 #include <libdv/dv.h>
4060 _ACEOF
4061 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4062 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4063 ac_status=$?
4064 grep -v '^ *+' conftest.er1 >conftest.err
4065 rm -f conftest.er1
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
4071 else
4072 ac_cpp_err=
4074 else
4075 ac_cpp_err=yes
4077 if test -z "$ac_cpp_err"; then
4078 ac_header_preproc=yes
4079 else
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
4091 yes:no )
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;}
4097 cat <<\_ASBOX
4098 ## ------------------------------------ ##
4099 ## Report this to bug-autoconf@gnu.org. ##
4100 ## ------------------------------------ ##
4101 _ASBOX
4103 sed "s/^/$as_me: WARNING: /" >&2
4105 no:yes )
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;}
4113 cat <<\_ASBOX
4114 ## ------------------------------------ ##
4115 ## Report this to bug-autoconf@gnu.org. ##
4116 ## ------------------------------------ ##
4117 _ASBOX
4119 sed "s/^/$as_me: WARNING: /" >&2
4121 esac
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
4126 else
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
4134 DVHDR=1
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
4146 else
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"
4152 /* confdefs.h. */
4153 _ACEOF
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>
4159 _ACEOF
4160 rm -f conftest.$ac_objext
4161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4162 (eval $ac_compile) 2>&5
4163 ac_status=$?
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
4168 (eval $ac_try) 2>&5
4169 ac_status=$?
4170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4171 (exit $ac_status); }; }; then
4172 ac_header_compiler=yes
4173 else
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"
4188 /* confdefs.h. */
4189 _ACEOF
4190 cat confdefs.h >>conftest.$ac_ext
4191 cat >>conftest.$ac_ext <<_ACEOF
4192 /* end confdefs.h. */
4193 #include <libraw1394/raw1394.h>
4194 _ACEOF
4195 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4196 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4197 ac_status=$?
4198 grep -v '^ *+' conftest.er1 >conftest.err
4199 rm -f conftest.er1
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
4205 else
4206 ac_cpp_err=
4208 else
4209 ac_cpp_err=yes
4211 if test -z "$ac_cpp_err"; then
4212 ac_header_preproc=yes
4213 else
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
4225 yes:no )
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;}
4231 cat <<\_ASBOX
4232 ## ------------------------------------ ##
4233 ## Report this to bug-autoconf@gnu.org. ##
4234 ## ------------------------------------ ##
4235 _ASBOX
4237 sed "s/^/$as_me: WARNING: /" >&2
4239 no:yes )
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;}
4247 cat <<\_ASBOX
4248 ## ------------------------------------ ##
4249 ## Report this to bug-autoconf@gnu.org. ##
4250 ## ------------------------------------ ##
4251 _ASBOX
4253 sed "s/^/$as_me: WARNING: /" >&2
4255 esac
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
4260 else
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
4268 RAW1394HDR=1
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
4275 HAS_AVC1394=1
4277 echo "$as_me:$LINENO: result: yes" >&5
4278 echo "${ECHO_T}yes" >&6
4279 else
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"
4290 else
4291 enable_dc=yes
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
4303 else
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"
4309 /* confdefs.h. */
4310 _ACEOF
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>
4316 _ACEOF
4317 rm -f conftest.$ac_objext
4318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4319 (eval $ac_compile) 2>&5
4320 ac_status=$?
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
4325 (eval $ac_try) 2>&5
4326 ac_status=$?
4327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4328 (exit $ac_status); }; }; then
4329 ac_header_compiler=yes
4330 else
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"
4345 /* confdefs.h. */
4346 _ACEOF
4347 cat confdefs.h >>conftest.$ac_ext
4348 cat >>conftest.$ac_ext <<_ACEOF
4349 /* end confdefs.h. */
4350 #include <libdc1394/dc1394_control.h>
4351 _ACEOF
4352 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4353 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4354 ac_status=$?
4355 grep -v '^ *+' conftest.er1 >conftest.err
4356 rm -f conftest.er1
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
4362 else
4363 ac_cpp_err=
4365 else
4366 ac_cpp_err=yes
4368 if test -z "$ac_cpp_err"; then
4369 ac_header_preproc=yes
4370 else
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
4382 yes:no )
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;}
4388 cat <<\_ASBOX
4389 ## ------------------------------------ ##
4390 ## Report this to bug-autoconf@gnu.org. ##
4391 ## ------------------------------------ ##
4392 _ASBOX
4394 sed "s/^/$as_me: WARNING: /" >&2
4396 no:yes )
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;}
4404 cat <<\_ASBOX
4405 ## ------------------------------------ ##
4406 ## Report this to bug-autoconf@gnu.org. ##
4407 ## ------------------------------------ ##
4408 _ASBOX
4410 sed "s/^/$as_me: WARNING: /" >&2
4412 esac
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
4417 else
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
4425 DC1394HDR=1
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
4437 else
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"
4443 /* confdefs.h. */
4444 _ACEOF
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>
4450 _ACEOF
4451 rm -f conftest.$ac_objext
4452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4453 (eval $ac_compile) 2>&5
4454 ac_status=$?
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
4459 (eval $ac_try) 2>&5
4460 ac_status=$?
4461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4462 (exit $ac_status); }; }; then
4463 ac_header_compiler=yes
4464 else
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"
4479 /* confdefs.h. */
4480 _ACEOF
4481 cat confdefs.h >>conftest.$ac_ext
4482 cat >>conftest.$ac_ext <<_ACEOF
4483 /* end confdefs.h. */
4484 #include <libraw1394/raw1394.h>
4485 _ACEOF
4486 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4487 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4488 ac_status=$?
4489 grep -v '^ *+' conftest.er1 >conftest.err
4490 rm -f conftest.er1
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
4496 else
4497 ac_cpp_err=
4499 else
4500 ac_cpp_err=yes
4502 if test -z "$ac_cpp_err"; then
4503 ac_header_preproc=yes
4504 else
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
4516 yes:no )
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;}
4522 cat <<\_ASBOX
4523 ## ------------------------------------ ##
4524 ## Report this to bug-autoconf@gnu.org. ##
4525 ## ------------------------------------ ##
4526 _ASBOX
4528 sed "s/^/$as_me: WARNING: /" >&2
4530 no:yes )
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;}
4538 cat <<\_ASBOX
4539 ## ------------------------------------ ##
4540 ## Report this to bug-autoconf@gnu.org. ##
4541 ## ------------------------------------ ##
4542 _ASBOX
4544 sed "s/^/$as_me: WARNING: /" >&2
4546 esac
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
4551 else
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
4559 RAW1394HDR=1
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
4566 HAS_DC1394=1
4568 echo "$as_me:$LINENO: result: yes" >&5
4569 echo "${ECHO_T}yes" >&6
4570 else
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
4594 # following values.
4596 _ACEOF
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.
4604 (set) 2>&1 |
4605 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4606 *ac_space=\ *)
4607 # `set' does not quote correctly, so add quotes (double-quote
4608 # substitution turns \\\\ into \\, and sed turns \\ into \).
4609 sed -n \
4610 "s/'/'\\\\''/g;
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.
4615 sed -n \
4616 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4618 esac;
4620 sed '
4621 t clear
4622 : clear
4623 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4624 t end
4625 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4626 : end' >>confcache
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
4631 else
4632 echo "not updating unwritable cache $cache_file"
4635 rm -f confcache
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}:*/:/;
4649 s/:*@srcdir@:*/:/;
4650 s/^\([^=]*=[ ]*\):*/\1/;
4651 s/:*$//;
4652 s/^[^=]*=[ ]*$//;
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
4664 t clear
4665 : clear
4666 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
4667 t quote
4668 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
4669 t quote
4671 : quote
4672 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
4673 s,\[,\\&,g
4674 s,\],\\&,g
4675 s,\$,$$,g
4677 _ACEOF
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
4683 # would break.
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
4689 ac_libobjs=
4690 ac_ltlibobjs=
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$//'`
4695 # 2. Add them.
4696 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4697 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4698 done
4699 LIBOBJS=$ac_libobjs
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
4711 #! $SHELL
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.
4717 debug=false
4718 ac_cs_recheck=false
4719 ac_cs_silent=false
4720 SHELL=\${CONFIG_SHELL-$SHELL}
4721 _ACEOF
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
4730 emulate sh
4731 NULLCMD=:
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
4736 set -o posix
4739 # Support unset when possible.
4740 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
4741 as_unset=unset
4742 else
4743 as_unset=false
4747 # Work around bugs in pre-3.0 UWIN ksh.
4748 $as_unset ENV MAIL MAILPATH
4749 PS1='$ '
4750 PS2='> '
4751 PS4='+ '
4753 # NLS nuisances.
4754 for as_var in \
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
4761 else
4762 $as_unset $as_var
4764 done
4766 # Required to use basename.
4767 if expr a : '\(a\)' >/dev/null 2>&1; then
4768 as_expr=expr
4769 else
4770 as_expr=false
4773 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4774 as_basename=basename
4775 else
4776 as_basename=false
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 ||
4786 echo X/"$0" |
4787 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4788 /^X\/\(\/\/\)$/{ s//\1/; q; }
4789 /^X\/\(\/\).*/{ s//\1/; q; }
4790 s/.*/./; 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
4805 chmod +x conf$$.sh
4806 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4807 PATH_SEPARATOR=';'
4808 else
4809 PATH_SEPARATOR=:
4811 rm -f conf$$.sh
4815 as_lineno_1=$LINENO
4816 as_lineno_2=$LINENO
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
4821 # relative or not.
4822 case $0 in
4823 *[\\/]* ) as_myself=$0 ;;
4824 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4825 for as_dir in $PATH
4827 IFS=$as_save_IFS
4828 test -z "$as_dir" && as_dir=.
4829 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4830 done
4833 esac
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
4837 as_myself=$0
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
4849 IFS=$as_save_IFS
4850 test -z "$as_dir" && as_dir=.
4851 for as_base in sh bash ksh sh5; do
4852 case $as_dir in
4854 if ("$as_dir/$as_base" -c '
4855 as_lineno_1=$LINENO
4856 as_lineno_2=$LINENO
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
4863 export CONFIG_SHELL
4864 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4865 fi;;
4866 esac
4867 done
4868 done
4870 esac
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 |
4881 sed '
4883 s,$,-,
4884 : loop
4885 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4886 t loop
4887 s,-$,,
4888 s,^['$as_cr_digits']*\n,,
4889 ' >$as_me.lineno &&
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).
4898 . ./$as_me.lineno
4899 # Exit status is that of the last command.
4900 exit
4904 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4905 *c*,-n*) ECHO_N= ECHO_C='
4906 ' ECHO_T=' ' ;;
4907 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4908 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4909 esac
4911 if expr a : '\(a\)' >/dev/null 2>&1; then
4912 as_expr=expr
4913 else
4914 as_expr=false
4917 rm -f conf$$ conf$$.exe conf$$.file
4918 echo >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
4924 as_ln_s='cp -p'
4925 else
4926 as_ln_s='ln -s'
4928 elif ln conf$$.file conf$$ 2>/dev/null; then
4929 as_ln_s=ln
4930 else
4931 as_ln_s='cp -p'
4933 rm -f conf$$ conf$$.exe conf$$.file
4935 if mkdir -p . 2>/dev/null; then
4936 as_mkdir_p=:
4937 else
4938 as_mkdir_p=false
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"
4950 # IFS
4951 # We need space, tab and new line, in precisely that order.
4952 as_nl='
4954 IFS=" $as_nl"
4956 # CDPATH.
4957 $as_unset CDPATH
4959 exec 6>&1
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.
4964 exec 5>>config.log
4966 echo
4967 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4968 ## Running $as_me. ##
4969 _ASBOX
4970 } >&5
4971 cat >&5 <<_CSEOF
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
4980 $ $0 $@
4982 _CSEOF
4983 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4984 echo >&5
4985 _ACEOF
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
5006 ac_cs_usage="\
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:
5021 $config_files
5023 Report bugs to <bug-autoconf@gnu.org>."
5024 _ACEOF
5026 cat >>$CONFIG_STATUS <<_ACEOF
5027 ac_cs_version="\\
5028 config.status
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."
5036 srcdir=$srcdir
5037 _ACEOF
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.
5042 ac_need_defaults=:
5043 while test $# != 0
5045 case $1 in
5046 --*=*)
5047 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5048 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5049 ac_shift=:
5052 ac_option=$1
5053 ac_optarg=$2
5054 ac_shift=shift
5056 *) # This is not an option, so the user has probably given explicit
5057 # arguments.
5058 ac_option=$1
5059 ac_need_defaults=false;;
5060 esac
5062 case $ac_option in
5063 # Handling of the options.
5064 _ACEOF
5065 cat >>$CONFIG_STATUS <<\_ACEOF
5066 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5067 ac_cs_recheck=: ;;
5068 --version | --vers* | -V )
5069 echo "$ac_cs_version"; exit 0 ;;
5070 --he | --h)
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 )
5080 debug=: ;;
5081 --file | --fil | --fi | --f )
5082 $ac_shift
5083 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5084 ac_need_defaults=false;;
5085 --header | --heade | --head | --hea )
5086 $ac_shift
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)
5091 ac_cs_silent=: ;;
5093 # This is an error.
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" ;;
5102 esac
5103 shift
5104 done
5106 ac_configure_extra_args=
5108 if $ac_cs_silent; then
5109 exec 6>/dev/null
5110 ac_configure_extra_args="$ac_configure_extra_args --silent"
5113 _ACEOF
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
5120 _ACEOF
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; }; };;
5135 esac
5136 done
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.
5150 $debug ||
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"
5161 } ||
5163 tmp=./confstat$$-$RANDOM
5164 (umask 077 && mkdir $tmp)
5165 } ||
5167 echo "$me: cannot create a temporary directory in ." >&2
5168 { (exit 1); exit 1; }
5171 _ACEOF
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
5210 s,@DEFS@,$DEFS,;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
5214 s,@LIBS@,$LIBS,;t t
5215 s,@CXX@,$CXX,;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
5226 s,@CC@,$CC,;t t
5227 s,@CFLAGS@,$CFLAGS,;t t
5228 s,@ac_ct_CC@,$ac_ct_CC,;t t
5229 s,@CPP@,$CPP,;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
5239 CEOF
5241 _ACEOF
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.
5246 ac_max_sed_lines=48
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.
5250 ac_more_lines=:
5251 ac_sed_cmds=
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
5255 else
5256 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5258 if test ! -s $tmp/subs.frag; then
5259 ac_more_lines=false
5260 else
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.
5265 (echo ':t
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"
5269 else
5270 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5272 ac_sed_frag=`expr $ac_sed_frag + 1`
5273 ac_beg=$ac_end
5274 ac_end=`expr $ac_end + $ac_max_sed_lines`
5276 done
5277 if test -z "$ac_sed_cmds"; then
5278 ac_sed_cmds=cat
5280 fi # test -n "$CONFIG_FILES"
5282 _ACEOF
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".
5286 case $ac_file in
5287 - | *:- | *:-:* ) # input from stdin
5288 cat >$tmp/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 ;;
5294 esac
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 ||
5303 echo X"$ac_file" |
5304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5305 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5306 /^X\(\/\/\)$/{ s//\1/; q; }
5307 /^X\(\/\).*/{ s//\1/; q; }
5308 s/.*/./; q'`
5309 { if $as_mkdir_p; then
5310 mkdir -p "$ac_dir"
5311 else
5312 as_dir="$ac_dir"
5313 as_dirs=
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 ||
5322 echo X"$as_dir" |
5323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5324 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5325 /^X\(\/\/\)$/{ s//\1/; q; }
5326 /^X\(\/\).*/{ s//\1/; q; }
5327 s/.*/./; q'`
5328 done
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; }; }; }
5334 ac_builddir=.
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'`
5340 else
5341 ac_dir_suffix= ac_top_builddir=
5344 case $srcdir in
5345 .) # No --srcdir option. We are building in place.
5346 ac_srcdir=.
5347 if test -z "$ac_top_builddir"; then
5348 ac_top_srcdir=.
5349 else
5350 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5351 fi ;;
5352 [\\/]* | ?:[\\/]* ) # Absolute path.
5353 ac_srcdir=$srcdir$ac_dir_suffix;
5354 ac_top_srcdir=$srcdir ;;
5355 *) # Relative path.
5356 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5357 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5358 esac
5359 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5360 # absolute.
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;}
5371 rm -f "$ac_file"
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
5377 configure_input=
5378 else
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
5385 # src tree.
5386 ac_file_inputs=`IFS=:
5387 for f in $ac_file_in; do
5388 case $f in
5389 -) echo $tmp/stdin ;;
5390 [\\/$]*)
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; }; }
5395 echo $f;;
5396 *) # Relative
5397 if test -f "$f"; then
5398 # Build tree
5399 echo $f
5400 elif test -f "$srcdir/$f"; then
5401 # Source tree
5402 echo $srcdir/$f
5403 else
5404 # /dev/null tree
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; }; }
5408 fi;;
5409 esac
5410 done` || { (exit 1); exit 1; }
5411 _ACEOF
5412 cat >>$CONFIG_STATUS <<_ACEOF
5413 sed "$ac_vpsub
5414 $extrasub
5415 _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
5429 rm -f $tmp/stdin
5430 if test x"$ac_file" != x-; then
5431 mv $tmp/out $ac_file
5432 else
5433 cat $tmp/out
5434 rm -f $tmp/out
5437 done
5438 _ACEOF
5440 cat >>$CONFIG_STATUS <<\_ACEOF
5442 { (exit 0); exit 0; }
5443 _ACEOF
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
5457 ac_cs_success=:
5458 ac_config_status_args=
5459 test "$silent" = yes &&
5460 ac_config_status_args="$ac_config_status_args --quiet"
5461 exec 5>/dev/null
5462 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5463 exec 5>>config.log
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; }