2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53.
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.
10 if expr a : '\(a\)' >/dev/null 2>&1; then
17 ## --------------------- ##
18 ## M4sh Initialization. ##
19 ## --------------------- ##
21 # Be Bourne compatible
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
25 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
30 # Support unset when possible.
31 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
37 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
38 { $as_unset LANG || test "${LANG+set}" != set; } ||
39 { LANG=C; export LANG; }
40 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
41 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
42 { LC_ALL=C; export LC_ALL; }
43 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
44 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
45 { LC_TIME=C; export LC_TIME; }
46 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
47 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
48 { LC_CTYPE=C; export LC_CTYPE; }
49 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
50 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
51 { LANGUAGE=C; export LANGUAGE; }
52 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
53 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
54 { LC_COLLATE=C; export LC_COLLATE; }
55 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
56 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
57 { LC_NUMERIC=C; export LC_NUMERIC; }
58 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
59 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
60 { LC_MESSAGES=C; export LC_MESSAGES; }
63 # Name of the executable.
64 as_me=`(basename "$0") 2>/dev/null ||
65 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66 X"$0" : 'X\(//\)$' \| \
67 X"$0" : 'X\(/\)$' \| \
68 . : '\(.\)' 2>/dev/null ||
70 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
71 /^X\/\(\/\/\)$/{ s//\1/; q; }
72 /^X\/\(\/\).*/{ s//\1/; q; }
75 # PATH needs CR, and LINENO needs CR and PATH.
76 # Avoid depending upon Character Ranges.
77 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80 as_cr_digits='0123456789'
81 as_cr_alnum=$as_cr_Letters$as_cr_digits
83 # The user is always right.
84 if test "${PATH_SEPARATOR+set}" != set; then
85 echo "#! /bin/sh" >conftest.sh
86 echo "exit 0" >>conftest.sh
88 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
99 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
100 test "x$as_lineno_1" != "x$as_lineno_2" &&
101 test "x$as_lineno_3" = "x$as_lineno_2" || {
102 # Find who we are. Look in the path if we contain no path at all
105 *[\\/]* ) as_myself=$0 ;;
106 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 test -z "$as_dir" && as_dir=.
111 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
116 # We did not find ourselves, most probably we were run as `sh COMMAND'
117 # in which case we are not to be found in the path.
118 if test "x$as_myself" = x; then
121 if test ! -f "$as_myself"; then
122 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
123 { (exit 1); exit 1; }; }
125 case $CONFIG_SHELL in
127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
128 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
131 test -z "$as_dir" && as_dir=.
132 for as_base in sh bash ksh sh5; do
135 if ("$as_dir/$as_base" -c '
138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139 test "x$as_lineno_1" != "x$as_lineno_2" &&
140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
141 CONFIG_SHELL=$as_dir/$as_base
143 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
152 # uniformly replaced by the line number. The first 'sed' inserts a
153 # line-number line before each line; the second 'sed' does the real
154 # work. The second script uses 'N' to pair each line-number line
155 # with the numbered line, and appends trailing '-' during
156 # substitution so that $LINENO is not a special case at line end.
157 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
158 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
159 sed '=' <$as_myself |
164 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
167 s,^['$as_cr_digits']*\n,,
169 chmod +x $as_me.lineno ||
170 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
171 { (exit 1); exit 1; }; }
173 # Don't try to exec as it changes $[0], causing all sort of problems
174 # (the dirname of $[0] is not the place where we might find the
175 # original and so on. Autoconf is especially sensible to this).
177 # Exit status is that of the last command.
182 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
183 *c*,-n*) ECHO_N= ECHO_C='
185 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
186 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
189 if expr a : '\(a\)' >/dev/null 2>&1; then
195 rm -f conf$$ conf$$.exe conf$$.file
197 if ln -s conf$$.file conf$$ 2>/dev/null; then
198 # We could just check for DJGPP; but this test a) works b) is more generic
199 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
200 if test -f conf$$.exe; then
201 # Don't use ln at all; we don't have any links
206 elif ln conf$$.file conf$$ 2>/dev/null; then
211 rm -f conf$$ conf$$.exe conf$$.file
213 as_executable_p="test -f"
215 # Sed expression to map a string onto a valid CPP name.
216 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
218 # Sed expression to map a string onto a valid variable name.
219 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
223 # We need space, tab and new line, in precisely that order.
229 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
233 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
234 # so uname gets run too.
235 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
242 ac_default_prefix=/usr/local
247 SHELL=${CONFIG_SHELL-/bin/sh}
249 # Maximum number of lines to put in a shell here document.
250 # This variable seems obsolete. It should probably be removed, and
251 # only ac_max_sed_lines should be used.
252 : ${ac_max_here_lines=38}
254 # Identity of this package.
261 ac_unique_file="include/main.h"
262 # Factoring default headers for most tests.
263 ac_includes_default="\
266 # include <sys/types.h>
269 # include <sys/stat.h>
280 # if !STDC_HEADERS && HAVE_MEMORY_H
286 # include <strings.h>
289 # include <inttypes.h>
300 # Initialize some variables set by options.
302 ac_init_version=false
303 # The variables have the same names as the options, with
304 # dashes changed to underlines.
312 program_transform_name=s,x,x,
320 # Installation directory options.
321 # These are left unexpanded so users can "make install exec_prefix=/foo"
322 # and all the variables that are supposed to be based on exec_prefix
323 # by default will actually change.
324 # Use braces instead of parens because sh, perl, etc. also accept them.
325 bindir='${exec_prefix}/bin'
326 sbindir='${exec_prefix}/sbin'
327 libexecdir='${exec_prefix}/libexec'
328 datadir='${prefix}/share'
329 sysconfdir='${prefix}/etc'
330 sharedstatedir='${prefix}/com'
331 localstatedir='${prefix}/var'
332 libdir='${exec_prefix}/lib'
333 includedir='${prefix}/include'
334 oldincludedir='/usr/include'
335 infodir='${prefix}/info'
336 mandir='${prefix}/man'
341 # If the previous option needs an argument, assign it.
342 if test -n "$ac_prev"; then
343 eval "$ac_prev=\$ac_option"
348 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
350 # Accept the important Cygnus configure options, so we can diagnose typos.
354 -bindir | --bindir | --bindi | --bind | --bin | --bi)
356 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
359 -build | --build | --buil | --bui | --bu)
360 ac_prev=build_alias ;;
361 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
362 build_alias=$ac_optarg ;;
364 -cache-file | --cache-file | --cache-fil | --cache-fi \
365 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
366 ac_prev=cache_file ;;
367 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
368 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
369 cache_file=$ac_optarg ;;
372 cache_file=config.cache ;;
374 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
376 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
378 datadir=$ac_optarg ;;
380 -disable-* | --disable-*)
381 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
382 # Reject names that are not valid shell variable names.
383 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
384 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
385 { (exit 1); exit 1; }; }
386 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
387 eval "enable_$ac_feature=no" ;;
389 -enable-* | --enable-*)
390 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
391 # Reject names that are not valid shell variable names.
392 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
393 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
394 { (exit 1); exit 1; }; }
395 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
397 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
400 eval "enable_$ac_feature='$ac_optarg'" ;;
402 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
403 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
404 | --exec | --exe | --ex)
405 ac_prev=exec_prefix ;;
406 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
407 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
408 | --exec=* | --exe=* | --ex=*)
409 exec_prefix=$ac_optarg ;;
411 -gas | --gas | --ga | --g)
412 # Obsolete; use --with-gas.
415 -help | --help | --hel | --he | -h)
417 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
418 ac_init_help=recursive ;;
419 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
420 ac_init_help=short ;;
422 -host | --host | --hos | --ho)
423 ac_prev=host_alias ;;
424 -host=* | --host=* | --hos=* | --ho=*)
425 host_alias=$ac_optarg ;;
427 -includedir | --includedir | --includedi | --included | --include \
428 | --includ | --inclu | --incl | --inc)
429 ac_prev=includedir ;;
430 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
431 | --includ=* | --inclu=* | --incl=* | --inc=*)
432 includedir=$ac_optarg ;;
434 -infodir | --infodir | --infodi | --infod | --info | --inf)
436 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
437 infodir=$ac_optarg ;;
439 -libdir | --libdir | --libdi | --libd)
441 -libdir=* | --libdir=* | --libdi=* | --libd=*)
444 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
445 | --libexe | --libex | --libe)
446 ac_prev=libexecdir ;;
447 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
448 | --libexe=* | --libex=* | --libe=*)
449 libexecdir=$ac_optarg ;;
451 -localstatedir | --localstatedir | --localstatedi | --localstated \
452 | --localstate | --localstat | --localsta | --localst \
453 | --locals | --local | --loca | --loc | --lo)
454 ac_prev=localstatedir ;;
455 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
456 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
457 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
458 localstatedir=$ac_optarg ;;
460 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
462 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
466 # Obsolete; use --without-fp.
469 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
470 | --no-cr | --no-c | -n)
473 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
474 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
477 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
478 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
479 | --oldin | --oldi | --old | --ol | --o)
480 ac_prev=oldincludedir ;;
481 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
482 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
483 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
484 oldincludedir=$ac_optarg ;;
486 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
488 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
491 -program-prefix | --program-prefix | --program-prefi | --program-pref \
492 | --program-pre | --program-pr | --program-p)
493 ac_prev=program_prefix ;;
494 -program-prefix=* | --program-prefix=* | --program-prefi=* \
495 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
496 program_prefix=$ac_optarg ;;
498 -program-suffix | --program-suffix | --program-suffi | --program-suff \
499 | --program-suf | --program-su | --program-s)
500 ac_prev=program_suffix ;;
501 -program-suffix=* | --program-suffix=* | --program-suffi=* \
502 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
503 program_suffix=$ac_optarg ;;
505 -program-transform-name | --program-transform-name \
506 | --program-transform-nam | --program-transform-na \
507 | --program-transform-n | --program-transform- \
508 | --program-transform | --program-transfor \
509 | --program-transfo | --program-transf \
510 | --program-trans | --program-tran \
511 | --progr-tra | --program-tr | --program-t)
512 ac_prev=program_transform_name ;;
513 -program-transform-name=* | --program-transform-name=* \
514 | --program-transform-nam=* | --program-transform-na=* \
515 | --program-transform-n=* | --program-transform-=* \
516 | --program-transform=* | --program-transfor=* \
517 | --program-transfo=* | --program-transf=* \
518 | --program-trans=* | --program-tran=* \
519 | --progr-tra=* | --program-tr=* | --program-t=*)
520 program_transform_name=$ac_optarg ;;
522 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
523 | -silent | --silent | --silen | --sile | --sil)
526 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
528 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
530 sbindir=$ac_optarg ;;
532 -sharedstatedir | --sharedstatedir | --sharedstatedi \
533 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
534 | --sharedst | --shareds | --shared | --share | --shar \
536 ac_prev=sharedstatedir ;;
537 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
538 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
539 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
541 sharedstatedir=$ac_optarg ;;
543 -site | --site | --sit)
545 -site=* | --site=* | --sit=*)
548 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
550 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
553 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
554 | --syscon | --sysco | --sysc | --sys | --sy)
555 ac_prev=sysconfdir ;;
556 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
557 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
558 sysconfdir=$ac_optarg ;;
560 -target | --target | --targe | --targ | --tar | --ta | --t)
561 ac_prev=target_alias ;;
562 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
563 target_alias=$ac_optarg ;;
565 -v | -verbose | --verbose | --verbos | --verbo | --verb)
568 -version | --version | --versio | --versi | --vers | -V)
572 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
573 # Reject names that are not valid shell variable names.
574 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
575 { echo "$as_me: error: invalid package name: $ac_package" >&2
576 { (exit 1); exit 1; }; }
577 ac_package=`echo $ac_package| sed 's/-/_/g'`
579 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
582 eval "with_$ac_package='$ac_optarg'" ;;
584 -without-* | --without-*)
585 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
586 # Reject names that are not valid shell variable names.
587 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
588 { echo "$as_me: error: invalid package name: $ac_package" >&2
589 { (exit 1); exit 1; }; }
590 ac_package=`echo $ac_package | sed 's/-/_/g'`
591 eval "with_$ac_package=no" ;;
594 # Obsolete; use --with-x.
597 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
598 | --x-incl | --x-inc | --x-in | --x-i)
599 ac_prev=x_includes ;;
600 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
601 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
602 x_includes=$ac_optarg ;;
604 -x-libraries | --x-libraries | --x-librarie | --x-librari \
605 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
606 ac_prev=x_libraries ;;
607 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
608 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
609 x_libraries=$ac_optarg ;;
611 -*) { echo "$as_me: error: unrecognized option: $ac_option
612 Try \`$0 --help' for more information." >&2
613 { (exit 1); exit 1; }; }
617 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
618 # Reject names that are not valid shell variable names.
619 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
620 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
621 { (exit 1); exit 1; }; }
622 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
623 eval "$ac_envvar='$ac_optarg'"
627 # FIXME: should be removed in autoconf 3.0.
628 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
629 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
630 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
631 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
637 if test -n "$ac_prev"; then
638 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
639 { echo "$as_me: error: missing argument to $ac_option" >&2
640 { (exit 1); exit 1; }; }
643 # Be sure to have absolute paths.
644 for ac_var in exec_prefix prefix
646 eval ac_val=$`echo $ac_var`
648 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
649 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
650 { (exit 1); exit 1; }; };;
654 # Be sure to have absolute paths.
655 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
656 localstatedir libdir includedir oldincludedir infodir mandir
658 eval ac_val=$`echo $ac_var`
660 [\\/$]* | ?:[\\/]* ) ;;
661 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
662 { (exit 1); exit 1; }; };;
666 # There might be people who depend on the old broken behavior: `$host'
667 # used to hold the argument of --host etc.
668 # FIXME: To remove some day.
673 # FIXME: To remove some day.
674 if test "x$host_alias" != x; then
675 if test "x$build_alias" = x; then
676 cross_compiling=maybe
677 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
678 If a cross compiler is detected then cross compile mode will be used." >&2
679 elif test "x$build_alias" != "x$host_alias"; then
685 test -n "$host_alias" && ac_tool_prefix=$host_alias-
687 test "$silent" = yes && exec 6>/dev/null
690 # Find the source files, if location was not specified.
691 if test -z "$srcdir"; then
692 ac_srcdir_defaulted=yes
693 # Try the directory containing this script, then its parent.
694 ac_confdir=`(dirname "$0") 2>/dev/null ||
695 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
696 X"$0" : 'X\(//\)[^/]' \| \
697 X"$0" : 'X\(//\)$' \| \
698 X"$0" : 'X\(/\)' \| \
699 . : '\(.\)' 2>/dev/null ||
701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
702 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
703 /^X\(\/\/\)$/{ s//\1/; q; }
704 /^X\(\/\).*/{ s//\1/; q; }
707 if test ! -r $srcdir/$ac_unique_file; then
711 ac_srcdir_defaulted=no
713 if test ! -r $srcdir/$ac_unique_file; then
714 if test "$ac_srcdir_defaulted" = yes; then
715 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
716 { (exit 1); exit 1; }; }
718 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
719 { (exit 1); exit 1; }; }
722 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
723 ac_env_build_alias_set=${build_alias+set}
724 ac_env_build_alias_value=$build_alias
725 ac_cv_env_build_alias_set=${build_alias+set}
726 ac_cv_env_build_alias_value=$build_alias
727 ac_env_host_alias_set=${host_alias+set}
728 ac_env_host_alias_value=$host_alias
729 ac_cv_env_host_alias_set=${host_alias+set}
730 ac_cv_env_host_alias_value=$host_alias
731 ac_env_target_alias_set=${target_alias+set}
732 ac_env_target_alias_value=$target_alias
733 ac_cv_env_target_alias_set=${target_alias+set}
734 ac_cv_env_target_alias_value=$target_alias
735 ac_env_CC_set=${CC+set}
737 ac_cv_env_CC_set=${CC+set}
738 ac_cv_env_CC_value=$CC
739 ac_env_CFLAGS_set=${CFLAGS+set}
740 ac_env_CFLAGS_value=$CFLAGS
741 ac_cv_env_CFLAGS_set=${CFLAGS+set}
742 ac_cv_env_CFLAGS_value=$CFLAGS
743 ac_env_LDFLAGS_set=${LDFLAGS+set}
744 ac_env_LDFLAGS_value=$LDFLAGS
745 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
746 ac_cv_env_LDFLAGS_value=$LDFLAGS
747 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
748 ac_env_CPPFLAGS_value=$CPPFLAGS
749 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
750 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
751 ac_env_CPP_set=${CPP+set}
752 ac_env_CPP_value=$CPP
753 ac_cv_env_CPP_set=${CPP+set}
754 ac_cv_env_CPP_value=$CPP
757 # Report the --help message.
759 if test "$ac_init_help" = "long"; then
760 # Omit some internal or obsolete options to make the list less imposing.
761 # This message is too long to be a string in the A/UX 3.1 sh.
763 \`configure' configures this package to adapt to many kinds of systems.
765 Usage: $0 [OPTION]... [VAR=VALUE]...
767 To assign environment variables (e.g., CC, CFLAGS...), specify them as
768 VAR=VALUE. See below for descriptions of some of the useful variables.
770 Defaults for the options are specified in brackets.
773 -h, --help display this help and exit
774 --help=short display options specific to this package
775 --help=recursive display the short help of all the included packages
776 -V, --version display version information and exit
777 -q, --quiet, --silent do not print \`checking...' messages
778 --cache-file=FILE cache test results in FILE [disabled]
779 -C, --config-cache alias for \`--cache-file=config.cache'
780 -n, --no-create do not create output files
781 --srcdir=DIR find the sources in DIR [configure dir or \`..']
786 Installation directories:
787 --prefix=PREFIX install architecture-independent files in PREFIX
789 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
792 By default, \`make install' will install all the files in
793 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
794 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
795 for instance \`--prefix=\$HOME'.
797 For better control, use the options below.
799 Fine tuning of the installation directories:
800 --bindir=DIR user executables [EPREFIX/bin]
801 --sbindir=DIR system admin executables [EPREFIX/sbin]
802 --libexecdir=DIR program executables [EPREFIX/libexec]
803 --datadir=DIR read-only architecture-independent data [PREFIX/share]
804 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
805 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
806 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
807 --libdir=DIR object code libraries [EPREFIX/lib]
808 --includedir=DIR C header files [PREFIX/include]
809 --oldincludedir=DIR C header files for non-gcc [/usr/include]
810 --infodir=DIR info documentation [PREFIX/info]
811 --mandir=DIR man documentation [PREFIX/man]
817 --build=BUILD configure for building on BUILD [guessed]
818 --host=HOST cross-compile to build programs to run on HOST [BUILD]
819 --target=TARGET configure for building compilers for TARGET [HOST]
823 if test -n "$ac_init_help"; then
828 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
829 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
830 --disable-nls do not use Native Language Support
831 --disable-optimizations disable compiler optimizations (default enabled)
832 --disable-altivec disable altivec optimizations (default enabled on PPC)
833 --enable-debug debug mode (default disabled)
834 --enable-release activate extra optimizations (default disabled)
835 --enable-dvd DVD input module (default enabled)
836 --enable-dvdread dvdread input module (default disabled)
837 --enable-dvbpsi dvbpsi ts demux module (default disabled)
838 --enable-vcd VCD support for Linux, FreeBSD and MacOS X (default enabled)
839 --enable-satellite satellite card support (default disabled)
840 --enable-avi AVI demux module (default enabled)
841 --enable-mad libmad module (default disabled)
842 --enable-ffmpeg ffmpeg codec (default disabled)
843 --enable-a52 AC3 support with liba52 (default enabled)
844 --enable-vorbis Ogg/Vorbis decoder support (default enabled)
845 --enable-x11 X11 support (default enabled)
846 --enable-xvideo XVideo support (default enabled)
847 --enable-sdl SDL support (default enabled)
848 --enable-qte QT Embedded support (default disabled)
849 --enable-directx Win32 DirectX support (default enabled on Win32)
850 --enable-fb Linux framebuffer support (default enabled on Linux)
851 --enable-mga Linux kernel Matrox support (default disabled)
852 --enable-ggi GGI support (default disabled)
853 --enable-glide Glide (3dfx) support (default disabled)
854 --enable-aa aalib output (default disabled)
855 --enable-dsp Linux /dev/dsp support (enabled on Linux)
856 --enable-esd Esound library support (default disabled)
857 --enable-arts aRts sound server (default disabled)
858 --enable-alsa ALSA sound support for Linux (default disabled)
859 --enable-waveout Win32 waveOut module (default enabled on Win32)
860 --enable-gtk Gtk+ support (default enabled)
861 --enable-familiar Familiar Gtk+ support (default disabled)
862 --enable-gnome Gnome interface support (default disabled)
863 --enable-qt Qt interface support (default disabled)
864 --enable-kde KDE interface support (default disabled)
865 --enable-opie Qt embedded interface support (default disabled)
866 --enable-macosx MacOS X support (default enabled on MacOS X)
867 --enable-qnx QNX RTOS support (default enabled on QNX RTOS)
868 --enable-intfwin Win32 interface support (default disabled)
869 --enable-ncurses ncurses interface support (default disabled)
870 --enable-lirc lirc support (default disabled)
871 --enable-gprof gprof profiling (default disabled)
872 --enable-cprof cprof profiling (default disabled)
873 --enable-pth GNU Pth support (default disabled)
874 --enable-st State Threads (default disabled)
875 --disable-plugins make all plug-ins built-in (default plug-ins enabled)
878 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
879 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
880 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
881 --with-included-gettext use the GNU gettext library included here
883 Optimization options:
884 --with-tuning=ARCH enable special tuning for an architecture
885 (default i686 on IA-32 and 750 on PPC)
887 --with-dvdcss=PATH libdvdcss headers and libraries
888 --with-dvdcss-tree=PATH libdvdcss tree for static linking
889 --with-dvdread=PATH libdvdread headers and libraries
890 --with-dvbpsi=PATH libdvbpsi headers and libraries
891 --with-dvbpsi-tree=PATH libdvbpsi tree for static linking
893 --with-mad=PATH path to libmad
894 --with-mad-tree=PATH mad tree for static linking
895 --with-ffmpeg=PATH path to ffmpeg installation
896 --with-ffmpeg-tree=PATH ffmpeg tree for static linking
897 --with-a52-tree=PATH a52dec tree for static linking
899 --with-sdl-config-path=PATH sdl-config path (default search in \$PATH)
900 --with-qte=PATH Qt Embedded headers and libraries
901 --with-directx=PATH Win32 DirectX headers and libraries
902 --with-ggi=PATH path to libggi
903 --with-glide=PATH path to libglide
906 --with-gtk-config-path=PATH gtk-config path (default search in \$PATH)
907 --with-bcbuilder=PATH Borland C++ Builder installation path
909 --with-words=endianness set endianness (big or little)
911 Some influential environment variables:
912 CC C compiler command
913 CFLAGS C compiler flags
914 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
915 nonstandard directory <lib dir>
916 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
917 headers in a nonstandard directory <include dir>
920 Use these variables to override the choices made by `configure' or to help
921 it to find libraries and programs with nonstandard names/locations.
926 if test "$ac_init_help" = "recursive"; then
927 # If there are subdirs, report their specific --help.
929 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
930 test -d $ac_dir || continue
933 if test "$ac_dir" != .; then
934 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
935 # A "../" for each directory in $ac_dir_suffix.
936 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
938 ac_dir_suffix= ac_top_builddir=
942 .) # No --srcdir option. We are building in place.
944 if test -z "$ac_top_builddir"; then
947 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
949 [\\/]* | ?:[\\/]* ) # Absolute path.
950 ac_srcdir=$srcdir$ac_dir_suffix;
951 ac_top_srcdir=$srcdir ;;
953 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
954 ac_top_srcdir=$ac_top_builddir$srcdir ;;
956 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
958 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
959 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
960 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
961 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
964 # Check for guested configure; otherwise get Cygnus style configure.
965 if test -f $ac_srcdir/configure.gnu; then
967 $SHELL $ac_srcdir/configure.gnu --help=recursive
968 elif test -f $ac_srcdir/configure; then
970 $SHELL $ac_srcdir/configure --help=recursive
971 elif test -f $ac_srcdir/configure.ac ||
972 test -f $ac_srcdir/configure.in; then
976 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
982 test -n "$ac_init_help" && exit 0
983 if $ac_init_version; then
986 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
987 Free Software Foundation, Inc.
988 This configure script is free software; the Free Software Foundation
989 gives unlimited permission to copy, distribute and modify it.
995 This file contains any messages produced by compilers while
996 running configure, to aid debugging if configure makes a mistake.
998 It was created by $as_me, which was
999 generated by GNU Autoconf 2.53. Invocation command line was
1010 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1011 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1012 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1013 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1014 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1016 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1017 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1019 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1020 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1021 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1022 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1023 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1024 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1025 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1033 test -z "$as_dir" && as_dir=.
1034 echo "PATH: $as_dir"
1049 # Keep a trace of the command line.
1050 # Strip out --no-create and --no-recursion so they do not pile up.
1051 # Also quote any args containing shell meta-characters.
1057 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1058 | --no-cr | --no-c | -n ) continue ;;
1059 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1060 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1062 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1063 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1065 case " $ac_configure_args " in
1066 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1067 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1070 # Get rid of the leading space.
1073 # When interrupted or exit'd, cleanup temporary files, and complete
1074 # config.log. We remove comments because anyway the quotes in there
1075 # would cause problems or look ugly.
1076 # WARNING: Be sure not to use single quotes in there, as some shells,
1077 # such as our DU 5.0 friend, will then `close' the trap.
1078 trap 'exit_status=$?
1079 # Save into config.log some information that might help in debugging.
1083 ## ---------------- ##
1084 ## Cache variables. ##
1085 ## ---------------- ##
1088 # The following way of writing the cache mishandles newlines in values,
1091 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1094 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1095 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1099 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1104 if test -s confdefs.h; then
1111 sed "/^$/d" confdefs.h
1114 test "$ac_signal" != 0 &&
1115 echo "$as_me: caught signal $ac_signal"
1116 echo "$as_me: exit $exit_status"
1118 rm -f core core.* *.core &&
1119 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1122 for ac_signal in 1 2 13 15; do
1123 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1127 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1128 rm -rf conftest* confdefs.h
1129 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1132 # Predefined preprocessor variables.
1134 cat >>confdefs.h <<_ACEOF
1135 #define PACKAGE_NAME "$PACKAGE_NAME"
1139 cat >>confdefs.h <<_ACEOF
1140 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1144 cat >>confdefs.h <<_ACEOF
1145 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1149 cat >>confdefs.h <<_ACEOF
1150 #define PACKAGE_STRING "$PACKAGE_STRING"
1154 cat >>confdefs.h <<_ACEOF
1155 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1159 # Let the site file select an alternate cache file if it wants to.
1160 # Prefer explicitly selected file to automatically selected ones.
1161 if test -z "$CONFIG_SITE"; then
1162 if test "x$prefix" != xNONE; then
1163 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1165 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1168 for ac_site_file in $CONFIG_SITE; do
1169 if test -r "$ac_site_file"; then
1170 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1171 echo "$as_me: loading site script $ac_site_file" >&6;}
1172 sed 's/^/| /' "$ac_site_file" >&5
1177 if test -r "$cache_file"; then
1178 # Some versions of bash will fail to source /dev/null (special
1179 # files actually), so we avoid doing that.
1180 if test -f "$cache_file"; then
1181 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1182 echo "$as_me: loading cache $cache_file" >&6;}
1184 [\\/]* | ?:[\\/]* ) . $cache_file;;
1185 *) . ./$cache_file;;
1189 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1190 echo "$as_me: creating cache $cache_file" >&6;}
1194 # Check that the precious variables saved in the cache have kept the same
1196 ac_cache_corrupted=false
1197 for ac_var in `(set) 2>&1 |
1198 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1199 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1200 eval ac_new_set=\$ac_env_${ac_var}_set
1201 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1202 eval ac_new_val="\$ac_env_${ac_var}_value"
1203 case $ac_old_set,$ac_new_set in
1205 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1206 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1207 ac_cache_corrupted=: ;;
1209 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1210 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1211 ac_cache_corrupted=: ;;
1214 if test "x$ac_old_val" != "x$ac_new_val"; then
1215 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1216 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1217 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1218 echo "$as_me: former value: $ac_old_val" >&2;}
1219 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1220 echo "$as_me: current value: $ac_new_val" >&2;}
1221 ac_cache_corrupted=:
1224 # Pass precious variables to config.status.
1225 if test "$ac_new_set" = set; then
1227 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1228 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1229 *) ac_arg=$ac_var=$ac_new_val ;;
1231 case " $ac_configure_args " in
1232 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1233 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1237 if $ac_cache_corrupted; then
1238 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1239 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1240 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1241 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1242 { (exit 1); exit 1; }; }
1246 ac_cpp='$CPP $CPPFLAGS'
1247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1268 ac_config_headers="$ac_config_headers include/defs.h"
1271 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1272 if test -f $ac_dir/install-sh; then
1274 ac_install_sh="$ac_aux_dir/install-sh -c"
1276 elif test -f $ac_dir/install.sh; then
1278 ac_install_sh="$ac_aux_dir/install.sh -c"
1280 elif test -f $ac_dir/shtool; then
1282 ac_install_sh="$ac_aux_dir/shtool install -c"
1286 if test -z "$ac_aux_dir"; then
1287 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1288 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1289 { (exit 1); exit 1; }; }
1291 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1292 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1293 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1295 # Make sure we can run config.sub.
1296 $ac_config_sub sun4 >/dev/null 2>&1 ||
1297 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1298 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1299 { (exit 1); exit 1; }; }
1301 echo "$as_me:$LINENO: checking build system type" >&5
1302 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1303 if test "${ac_cv_build+set}" = set; then
1304 echo $ECHO_N "(cached) $ECHO_C" >&6
1306 ac_cv_build_alias=$build_alias
1307 test -z "$ac_cv_build_alias" &&
1308 ac_cv_build_alias=`$ac_config_guess`
1309 test -z "$ac_cv_build_alias" &&
1310 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1311 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1312 { (exit 1); exit 1; }; }
1313 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1314 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1315 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1316 { (exit 1); exit 1; }; }
1319 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1320 echo "${ECHO_T}$ac_cv_build" >&6
1322 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1323 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1324 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1327 echo "$as_me:$LINENO: checking host system type" >&5
1328 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1329 if test "${ac_cv_host+set}" = set; then
1330 echo $ECHO_N "(cached) $ECHO_C" >&6
1332 ac_cv_host_alias=$host_alias
1333 test -z "$ac_cv_host_alias" &&
1334 ac_cv_host_alias=$ac_cv_build_alias
1335 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1336 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1337 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1338 { (exit 1); exit 1; }; }
1341 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1342 echo "${ECHO_T}$ac_cv_host" >&6
1344 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1345 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1346 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1349 echo "$as_me:$LINENO: checking target system type" >&5
1350 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1351 if test "${ac_cv_target+set}" = set; then
1352 echo $ECHO_N "(cached) $ECHO_C" >&6
1354 ac_cv_target_alias=$target_alias
1355 test "x$ac_cv_target_alias" = "x" &&
1356 ac_cv_target_alias=$ac_cv_host_alias
1357 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1358 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1359 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1360 { (exit 1); exit 1; }; }
1363 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1364 echo "${ECHO_T}$ac_cv_target" >&6
1365 target=$ac_cv_target
1366 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1367 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1368 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1371 # The aliases save the names the user supplied, while $host etc.
1372 # will get canonicalized.
1373 test -n "$target_alias" &&
1374 test "$program_prefix$program_suffix$program_transform_name" = \
1376 program_prefix=${target_alias}-
1382 save_CFLAGS="${CFLAGS}"
1383 save_CPPFLAGS="${CPPFLAGS}"
1384 save_LDFLAGS="${LDFLAGS}"
1386 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1387 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1388 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1389 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1390 echo $ECHO_N "(cached) $ECHO_C" >&6
1392 cat >conftest.make <<\_ACEOF
1394 @echo 'ac_maketemp="${MAKE}"'
1396 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1397 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1398 if test -n "$ac_maketemp"; then
1399 eval ac_cv_prog_make_${ac_make}_set=yes
1401 eval ac_cv_prog_make_${ac_make}_set=no
1405 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1406 echo "$as_me:$LINENO: result: yes" >&5
1407 echo "${ECHO_T}yes" >&6
1410 echo "$as_me:$LINENO: result: no" >&5
1411 echo "${ECHO_T}no" >&6
1412 SET_MAKE="MAKE=${MAKE-make}"
1416 ac_cpp='$CPP $CPPFLAGS'
1417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1420 if test -n "$ac_tool_prefix"; then
1421 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1422 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1423 echo "$as_me:$LINENO: checking for $ac_word" >&5
1424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1425 if test "${ac_cv_prog_CC+set}" = set; then
1426 echo $ECHO_N "(cached) $ECHO_C" >&6
1428 if test -n "$CC"; then
1429 ac_cv_prog_CC="$CC" # Let the user override the test.
1431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1435 test -z "$as_dir" && as_dir=.
1436 for ac_exec_ext in '' $ac_executable_extensions; do
1437 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1438 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1448 if test -n "$CC"; then
1449 echo "$as_me:$LINENO: result: $CC" >&5
1450 echo "${ECHO_T}$CC" >&6
1452 echo "$as_me:$LINENO: result: no" >&5
1453 echo "${ECHO_T}no" >&6
1457 if test -z "$ac_cv_prog_CC"; then
1459 # Extract the first word of "gcc", so it can be a program name with args.
1460 set dummy gcc; ac_word=$2
1461 echo "$as_me:$LINENO: checking for $ac_word" >&5
1462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1463 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1464 echo $ECHO_N "(cached) $ECHO_C" >&6
1466 if test -n "$ac_ct_CC"; then
1467 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1473 test -z "$as_dir" && as_dir=.
1474 for ac_exec_ext in '' $ac_executable_extensions; do
1475 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1476 ac_cv_prog_ac_ct_CC="gcc"
1477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1485 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1486 if test -n "$ac_ct_CC"; then
1487 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1488 echo "${ECHO_T}$ac_ct_CC" >&6
1490 echo "$as_me:$LINENO: result: no" >&5
1491 echo "${ECHO_T}no" >&6
1499 if test -z "$CC"; then
1500 if test -n "$ac_tool_prefix"; then
1501 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1502 set dummy ${ac_tool_prefix}cc; ac_word=$2
1503 echo "$as_me:$LINENO: checking for $ac_word" >&5
1504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1505 if test "${ac_cv_prog_CC+set}" = set; then
1506 echo $ECHO_N "(cached) $ECHO_C" >&6
1508 if test -n "$CC"; then
1509 ac_cv_prog_CC="$CC" # Let the user override the test.
1511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1515 test -z "$as_dir" && as_dir=.
1516 for ac_exec_ext in '' $ac_executable_extensions; do
1517 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1518 ac_cv_prog_CC="${ac_tool_prefix}cc"
1519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1528 if test -n "$CC"; then
1529 echo "$as_me:$LINENO: result: $CC" >&5
1530 echo "${ECHO_T}$CC" >&6
1532 echo "$as_me:$LINENO: result: no" >&5
1533 echo "${ECHO_T}no" >&6
1537 if test -z "$ac_cv_prog_CC"; then
1539 # Extract the first word of "cc", so it can be a program name with args.
1540 set dummy cc; ac_word=$2
1541 echo "$as_me:$LINENO: checking for $ac_word" >&5
1542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1543 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1544 echo $ECHO_N "(cached) $ECHO_C" >&6
1546 if test -n "$ac_ct_CC"; then
1547 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1553 test -z "$as_dir" && as_dir=.
1554 for ac_exec_ext in '' $ac_executable_extensions; do
1555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1556 ac_cv_prog_ac_ct_CC="cc"
1557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1565 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1566 if test -n "$ac_ct_CC"; then
1567 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1568 echo "${ECHO_T}$ac_ct_CC" >&6
1570 echo "$as_me:$LINENO: result: no" >&5
1571 echo "${ECHO_T}no" >&6
1580 if test -z "$CC"; then
1581 # Extract the first word of "cc", so it can be a program name with args.
1582 set dummy cc; ac_word=$2
1583 echo "$as_me:$LINENO: checking for $ac_word" >&5
1584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1585 if test "${ac_cv_prog_CC+set}" = set; then
1586 echo $ECHO_N "(cached) $ECHO_C" >&6
1588 if test -n "$CC"; then
1589 ac_cv_prog_CC="$CC" # Let the user override the test.
1592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1596 test -z "$as_dir" && as_dir=.
1597 for ac_exec_ext in '' $ac_executable_extensions; do
1598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1599 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1600 ac_prog_rejected=yes
1604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1610 if test $ac_prog_rejected = yes; then
1611 # We found a bogon in the path, so make sure we never use it.
1612 set dummy $ac_cv_prog_CC
1614 if test $# != 0; then
1615 # We chose a different compiler from the bogus one.
1616 # However, it has the same basename, so the bogon will be chosen
1617 # first if we set CC to just the basename; use the full file name.
1619 set dummy "$as_dir/$ac_word" ${1+"$@"}
1627 if test -n "$CC"; then
1628 echo "$as_me:$LINENO: result: $CC" >&5
1629 echo "${ECHO_T}$CC" >&6
1631 echo "$as_me:$LINENO: result: no" >&5
1632 echo "${ECHO_T}no" >&6
1636 if test -z "$CC"; then
1637 if test -n "$ac_tool_prefix"; then
1640 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1641 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1642 echo "$as_me:$LINENO: checking for $ac_word" >&5
1643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1644 if test "${ac_cv_prog_CC+set}" = set; then
1645 echo $ECHO_N "(cached) $ECHO_C" >&6
1647 if test -n "$CC"; then
1648 ac_cv_prog_CC="$CC" # Let the user override the test.
1650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1654 test -z "$as_dir" && as_dir=.
1655 for ac_exec_ext in '' $ac_executable_extensions; do
1656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1657 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1667 if test -n "$CC"; then
1668 echo "$as_me:$LINENO: result: $CC" >&5
1669 echo "${ECHO_T}$CC" >&6
1671 echo "$as_me:$LINENO: result: no" >&5
1672 echo "${ECHO_T}no" >&6
1675 test -n "$CC" && break
1678 if test -z "$CC"; then
1682 # Extract the first word of "$ac_prog", so it can be a program name with args.
1683 set dummy $ac_prog; ac_word=$2
1684 echo "$as_me:$LINENO: checking for $ac_word" >&5
1685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1686 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1687 echo $ECHO_N "(cached) $ECHO_C" >&6
1689 if test -n "$ac_ct_CC"; then
1690 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1696 test -z "$as_dir" && as_dir=.
1697 for ac_exec_ext in '' $ac_executable_extensions; do
1698 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1699 ac_cv_prog_ac_ct_CC="$ac_prog"
1700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1708 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1709 if test -n "$ac_ct_CC"; then
1710 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1711 echo "${ECHO_T}$ac_ct_CC" >&6
1713 echo "$as_me:$LINENO: result: no" >&5
1714 echo "${ECHO_T}no" >&6
1717 test -n "$ac_ct_CC" && break
1726 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1727 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1728 { (exit 1); exit 1; }; }
1730 # Provide some information about the compiler.
1731 echo "$as_me:$LINENO:" \
1732 "checking for C compiler version" >&5
1733 ac_compiler=`set X $ac_compile; echo $2`
1734 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1735 (eval $ac_compiler --version </dev/null >&5) 2>&5
1737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1738 (exit $ac_status); }
1739 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1740 (eval $ac_compiler -v </dev/null >&5) 2>&5
1742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1743 (exit $ac_status); }
1744 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1745 (eval $ac_compiler -V </dev/null >&5) 2>&5
1747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1748 (exit $ac_status); }
1750 cat >conftest.$ac_ext <<_ACEOF
1751 #line $LINENO "configure"
1752 #include "confdefs.h"
1754 #ifdef F77_DUMMY_MAIN
1758 int F77_DUMMY_MAIN() { return 1; }
1768 ac_clean_files_save=$ac_clean_files
1769 ac_clean_files="$ac_clean_files a.out a.exe"
1770 # Try to create an executable without -o first, disregard a.out.
1771 # It will help us diagnose broken compilers, and finding out an intuition
1773 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1774 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1775 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1776 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1777 (eval $ac_link_default) 2>&5
1779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1780 (exit $ac_status); }; then
1781 # Find the output, starting from the most likely. This scheme is
1782 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1785 # Be careful to initialize this variable, since it used to be cached.
1786 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1788 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1789 ls a.out conftest 2>/dev/null;
1790 ls a.* conftest.* 2>/dev/null`; do
1792 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
1793 a.out ) # We found the default executable, but exeext='' is most
1796 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1797 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1804 echo "$as_me: failed program was:" >&5
1805 cat conftest.$ac_ext >&5
1806 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1807 echo "$as_me: error: C compiler cannot create executables" >&2;}
1808 { (exit 77); exit 77; }; }
1811 ac_exeext=$ac_cv_exeext
1812 echo "$as_me:$LINENO: result: $ac_file" >&5
1813 echo "${ECHO_T}$ac_file" >&6
1815 # Check the compiler produces executables we can run. If not, either
1816 # the compiler is broken, or we cross compile.
1817 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1818 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1819 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1820 # If not cross compiling, check that we can run a simple program.
1821 if test "$cross_compiling" != yes; then
1822 if { ac_try='./$ac_file'
1823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1827 (exit $ac_status); }; }; then
1830 if test "$cross_compiling" = maybe; then
1833 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1834 If you meant to cross compile, use \`--host'." >&5
1835 echo "$as_me: error: cannot run C compiled programs.
1836 If you meant to cross compile, use \`--host'." >&2;}
1837 { (exit 1); exit 1; }; }
1841 echo "$as_me:$LINENO: result: yes" >&5
1842 echo "${ECHO_T}yes" >&6
1844 rm -f a.out a.exe conftest$ac_cv_exeext
1845 ac_clean_files=$ac_clean_files_save
1846 # Check the compiler produces executables we can run. If not, either
1847 # the compiler is broken, or we cross compile.
1848 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1849 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1850 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1851 echo "${ECHO_T}$cross_compiling" >&6
1853 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1854 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1856 (eval $ac_link) 2>&5
1858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1859 (exit $ac_status); }; then
1860 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1861 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1862 # work properly (i.e., refer to `conftest.exe'), while it won't with
1864 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1866 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1867 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1874 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1875 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1876 { (exit 1); exit 1; }; }
1879 rm -f conftest$ac_cv_exeext
1880 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1881 echo "${ECHO_T}$ac_cv_exeext" >&6
1883 rm -f conftest.$ac_ext
1884 EXEEXT=$ac_cv_exeext
1886 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1887 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1888 if test "${ac_cv_objext+set}" = set; then
1889 echo $ECHO_N "(cached) $ECHO_C" >&6
1891 cat >conftest.$ac_ext <<_ACEOF
1892 #line $LINENO "configure"
1893 #include "confdefs.h"
1895 #ifdef F77_DUMMY_MAIN
1899 int F77_DUMMY_MAIN() { return 1; }
1909 rm -f conftest.o conftest.obj
1910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1911 (eval $ac_compile) 2>&5
1913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1914 (exit $ac_status); }; then
1915 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1917 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1918 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1923 echo "$as_me: failed program was:" >&5
1924 cat conftest.$ac_ext >&5
1925 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1926 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1927 { (exit 1); exit 1; }; }
1930 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1932 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1933 echo "${ECHO_T}$ac_cv_objext" >&6
1934 OBJEXT=$ac_cv_objext
1936 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1937 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1938 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1939 echo $ECHO_N "(cached) $ECHO_C" >&6
1941 cat >conftest.$ac_ext <<_ACEOF
1942 #line $LINENO "configure"
1943 #include "confdefs.h"
1945 #ifdef F77_DUMMY_MAIN
1949 int F77_DUMMY_MAIN() { return 1; }
1962 rm -f conftest.$ac_objext
1963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1964 (eval $ac_compile) 2>&5
1966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1967 (exit $ac_status); } &&
1968 { ac_try='test -s conftest.$ac_objext'
1969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1973 (exit $ac_status); }; }; then
1976 echo "$as_me: failed program was:" >&5
1977 cat conftest.$ac_ext >&5
1980 rm -f conftest.$ac_objext conftest.$ac_ext
1981 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1984 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1985 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1986 GCC=`test $ac_compiler_gnu = yes && echo yes`
1987 ac_test_CFLAGS=${CFLAGS+set}
1988 ac_save_CFLAGS=$CFLAGS
1990 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1991 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1992 if test "${ac_cv_prog_cc_g+set}" = set; then
1993 echo $ECHO_N "(cached) $ECHO_C" >&6
1995 cat >conftest.$ac_ext <<_ACEOF
1996 #line $LINENO "configure"
1997 #include "confdefs.h"
1999 #ifdef F77_DUMMY_MAIN
2003 int F77_DUMMY_MAIN() { return 1; }
2013 rm -f conftest.$ac_objext
2014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2015 (eval $ac_compile) 2>&5
2017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2018 (exit $ac_status); } &&
2019 { ac_try='test -s conftest.$ac_objext'
2020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2024 (exit $ac_status); }; }; then
2027 echo "$as_me: failed program was:" >&5
2028 cat conftest.$ac_ext >&5
2031 rm -f conftest.$ac_objext conftest.$ac_ext
2033 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2034 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2035 if test "$ac_test_CFLAGS" = set; then
2036 CFLAGS=$ac_save_CFLAGS
2037 elif test $ac_cv_prog_cc_g = yes; then
2038 if test "$GCC" = yes; then
2044 if test "$GCC" = yes; then
2050 # Some people use a C++ compiler to compile C. Since we use `exit',
2051 # in C++ we need to declare it. In case someone uses the same compiler
2052 # for both compiling C and C++ we need to have the C++ compiler decide
2053 # the declaration of exit, since it's the most demanding environment.
2054 cat >conftest.$ac_ext <<_ACEOF
2059 rm -f conftest.$ac_objext
2060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2061 (eval $ac_compile) 2>&5
2063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2064 (exit $ac_status); } &&
2065 { ac_try='test -s conftest.$ac_objext'
2066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2070 (exit $ac_status); }; }; then
2071 for ac_declaration in \
2073 '#include <stdlib.h>' \
2074 'extern "C" void std::exit (int) throw (); using std::exit;' \
2075 'extern "C" void std::exit (int); using std::exit;' \
2076 'extern "C" void exit (int) throw ();' \
2077 'extern "C" void exit (int);' \
2080 cat >conftest.$ac_ext <<_ACEOF
2081 #line $LINENO "configure"
2082 #include "confdefs.h"
2085 #ifdef F77_DUMMY_MAIN
2089 int F77_DUMMY_MAIN() { return 1; }
2099 rm -f conftest.$ac_objext
2100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2101 (eval $ac_compile) 2>&5
2103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2104 (exit $ac_status); } &&
2105 { ac_try='test -s conftest.$ac_objext'
2106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2110 (exit $ac_status); }; }; then
2113 echo "$as_me: failed program was:" >&5
2114 cat conftest.$ac_ext >&5
2117 rm -f conftest.$ac_objext conftest.$ac_ext
2118 cat >conftest.$ac_ext <<_ACEOF
2119 #line $LINENO "configure"
2120 #include "confdefs.h"
2122 #ifdef F77_DUMMY_MAIN
2126 int F77_DUMMY_MAIN() { return 1; }
2136 rm -f conftest.$ac_objext
2137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2138 (eval $ac_compile) 2>&5
2140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2141 (exit $ac_status); } &&
2142 { ac_try='test -s conftest.$ac_objext'
2143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2147 (exit $ac_status); }; }; then
2150 echo "$as_me: failed program was:" >&5
2151 cat conftest.$ac_ext >&5
2153 rm -f conftest.$ac_objext conftest.$ac_ext
2156 if test -n "$ac_declaration"; then
2157 echo '#ifdef __cplusplus' >>confdefs.h
2158 echo $ac_declaration >>confdefs.h
2159 echo '#endif' >>confdefs.h
2163 echo "$as_me: failed program was:" >&5
2164 cat conftest.$ac_ext >&5
2166 rm -f conftest.$ac_objext conftest.$ac_ext
2168 ac_cpp='$CPP $CPPFLAGS'
2169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2174 ac_cpp='$CPP $CPPFLAGS'
2175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2178 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2179 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2180 # On Suns, sometimes $CPP names a directory.
2181 if test -n "$CPP" && test -d "$CPP"; then
2184 if test -z "$CPP"; then
2185 if test "${ac_cv_prog_CPP+set}" = set; then
2186 echo $ECHO_N "(cached) $ECHO_C" >&6
2188 # Double quotes because CPP needs to be expanded
2189 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2192 for ac_c_preproc_warn_flag in '' yes
2194 # Use a header file that comes with gcc, so configuring glibc
2195 # with a fresh cross-compiler works.
2196 # On the NeXT, cc -E runs the code through the compiler's parser,
2197 # not just through cpp. "Syntax error" is here to catch this case.
2198 cat >conftest.$ac_ext <<_ACEOF
2199 #line $LINENO "configure"
2200 #include "confdefs.h"
2204 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2205 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2207 egrep -v '^ *\+' conftest.er1 >conftest.err
2209 cat conftest.err >&5
2210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2211 (exit $ac_status); } >/dev/null; then
2212 if test -s conftest.err; then
2213 ac_cpp_err=$ac_c_preproc_warn_flag
2220 if test -z "$ac_cpp_err"; then
2223 echo "$as_me: failed program was:" >&5
2224 cat conftest.$ac_ext >&5
2225 # Broken: fails on valid input.
2228 rm -f conftest.err conftest.$ac_ext
2230 # OK, works on sane cases. Now check whether non-existent headers
2231 # can be detected and how.
2232 cat >conftest.$ac_ext <<_ACEOF
2233 #line $LINENO "configure"
2234 #include "confdefs.h"
2235 #include <ac_nonexistent.h>
2237 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2238 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2240 egrep -v '^ *\+' conftest.er1 >conftest.err
2242 cat conftest.err >&5
2243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2244 (exit $ac_status); } >/dev/null; then
2245 if test -s conftest.err; then
2246 ac_cpp_err=$ac_c_preproc_warn_flag
2253 if test -z "$ac_cpp_err"; then
2254 # Broken: success on invalid input.
2257 echo "$as_me: failed program was:" >&5
2258 cat conftest.$ac_ext >&5
2259 # Passes both tests.
2263 rm -f conftest.err conftest.$ac_ext
2266 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2267 rm -f conftest.err conftest.$ac_ext
2268 if $ac_preproc_ok; then
2280 echo "$as_me:$LINENO: result: $CPP" >&5
2281 echo "${ECHO_T}$CPP" >&6
2283 for ac_c_preproc_warn_flag in '' yes
2285 # Use a header file that comes with gcc, so configuring glibc
2286 # with a fresh cross-compiler works.
2287 # On the NeXT, cc -E runs the code through the compiler's parser,
2288 # not just through cpp. "Syntax error" is here to catch this case.
2289 cat >conftest.$ac_ext <<_ACEOF
2290 #line $LINENO "configure"
2291 #include "confdefs.h"
2295 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2296 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2298 egrep -v '^ *\+' conftest.er1 >conftest.err
2300 cat conftest.err >&5
2301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2302 (exit $ac_status); } >/dev/null; then
2303 if test -s conftest.err; then
2304 ac_cpp_err=$ac_c_preproc_warn_flag
2311 if test -z "$ac_cpp_err"; then
2314 echo "$as_me: failed program was:" >&5
2315 cat conftest.$ac_ext >&5
2316 # Broken: fails on valid input.
2319 rm -f conftest.err conftest.$ac_ext
2321 # OK, works on sane cases. Now check whether non-existent headers
2322 # can be detected and how.
2323 cat >conftest.$ac_ext <<_ACEOF
2324 #line $LINENO "configure"
2325 #include "confdefs.h"
2326 #include <ac_nonexistent.h>
2328 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2329 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2331 egrep -v '^ *\+' conftest.er1 >conftest.err
2333 cat conftest.err >&5
2334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2335 (exit $ac_status); } >/dev/null; then
2336 if test -s conftest.err; then
2337 ac_cpp_err=$ac_c_preproc_warn_flag
2344 if test -z "$ac_cpp_err"; then
2345 # Broken: success on invalid input.
2348 echo "$as_me: failed program was:" >&5
2349 cat conftest.$ac_ext >&5
2350 # Passes both tests.
2354 rm -f conftest.err conftest.$ac_ext
2357 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2358 rm -f conftest.err conftest.$ac_ext
2359 if $ac_preproc_ok; then
2362 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2363 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2364 { (exit 1); exit 1; }; }
2368 ac_cpp='$CPP $CPPFLAGS'
2369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2374 if test -n "$ac_tool_prefix"; then
2375 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2376 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2377 echo "$as_me:$LINENO: checking for $ac_word" >&5
2378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2379 if test "${ac_cv_prog_RANLIB+set}" = set; then
2380 echo $ECHO_N "(cached) $ECHO_C" >&6
2382 if test -n "$RANLIB"; then
2383 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2389 test -z "$as_dir" && as_dir=.
2390 for ac_exec_ext in '' $ac_executable_extensions; do
2391 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2392 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2401 RANLIB=$ac_cv_prog_RANLIB
2402 if test -n "$RANLIB"; then
2403 echo "$as_me:$LINENO: result: $RANLIB" >&5
2404 echo "${ECHO_T}$RANLIB" >&6
2406 echo "$as_me:$LINENO: result: no" >&5
2407 echo "${ECHO_T}no" >&6
2411 if test -z "$ac_cv_prog_RANLIB"; then
2412 ac_ct_RANLIB=$RANLIB
2413 # Extract the first word of "ranlib", so it can be a program name with args.
2414 set dummy ranlib; ac_word=$2
2415 echo "$as_me:$LINENO: checking for $ac_word" >&5
2416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2417 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2418 echo $ECHO_N "(cached) $ECHO_C" >&6
2420 if test -n "$ac_ct_RANLIB"; then
2421 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2427 test -z "$as_dir" && as_dir=.
2428 for ac_exec_ext in '' $ac_executable_extensions; do
2429 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2430 ac_cv_prog_ac_ct_RANLIB="ranlib"
2431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2437 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2440 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2441 if test -n "$ac_ct_RANLIB"; then
2442 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2443 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2445 echo "$as_me:$LINENO: result: no" >&5
2446 echo "${ECHO_T}no" >&6
2449 RANLIB=$ac_ct_RANLIB
2451 RANLIB="$ac_cv_prog_RANLIB"
2454 if test -n "$ac_tool_prefix"; then
2455 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2456 set dummy ${ac_tool_prefix}strip; ac_word=$2
2457 echo "$as_me:$LINENO: checking for $ac_word" >&5
2458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2459 if test "${ac_cv_prog_STRIP+set}" = set; then
2460 echo $ECHO_N "(cached) $ECHO_C" >&6
2462 if test -n "$STRIP"; then
2463 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2469 test -z "$as_dir" && as_dir=.
2470 for ac_exec_ext in '' $ac_executable_extensions; do
2471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2472 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2481 STRIP=$ac_cv_prog_STRIP
2482 if test -n "$STRIP"; then
2483 echo "$as_me:$LINENO: result: $STRIP" >&5
2484 echo "${ECHO_T}$STRIP" >&6
2486 echo "$as_me:$LINENO: result: no" >&5
2487 echo "${ECHO_T}no" >&6
2491 if test -z "$ac_cv_prog_STRIP"; then
2493 # Extract the first word of "strip", so it can be a program name with args.
2494 set dummy strip; ac_word=$2
2495 echo "$as_me:$LINENO: checking for $ac_word" >&5
2496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2497 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2498 echo $ECHO_N "(cached) $ECHO_C" >&6
2500 if test -n "$ac_ct_STRIP"; then
2501 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2507 test -z "$as_dir" && as_dir=.
2508 for ac_exec_ext in '' $ac_executable_extensions; do
2509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2510 ac_cv_prog_ac_ct_STRIP="strip"
2511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2517 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2520 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2521 if test -n "$ac_ct_STRIP"; then
2522 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2523 echo "${ECHO_T}$ac_ct_STRIP" >&6
2525 echo "$as_me:$LINENO: result: no" >&5
2526 echo "${ECHO_T}no" >&6
2531 STRIP="$ac_cv_prog_STRIP"
2535 # Extract the first word of "gmake", so it can be a program name with args.
2536 set dummy gmake; ac_word=$2
2537 echo "$as_me:$LINENO: checking for $ac_word" >&5
2538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2539 if test "${ac_cv_path_GMAKE+set}" = set; then
2540 echo $ECHO_N "(cached) $ECHO_C" >&6
2544 ac_cv_path_GMAKE="$GMAKE" # Let the user override the test with a path.
2547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2551 test -z "$as_dir" && as_dir=.
2552 for ac_exec_ext in '' $ac_executable_extensions; do
2553 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2554 ac_cv_path_GMAKE="$as_dir/$ac_word$ac_exec_ext"
2555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2561 test -z "$ac_cv_path_GMAKE" && ac_cv_path_GMAKE="no"
2565 GMAKE=$ac_cv_path_GMAKE
2567 if test -n "$GMAKE"; then
2568 echo "$as_me:$LINENO: result: $GMAKE" >&5
2569 echo "${ECHO_T}$GMAKE" >&6
2571 echo "$as_me:$LINENO: result: no" >&5
2572 echo "${ECHO_T}no" >&6
2575 if test "x$GMAKE" = "xno"; then
2576 echo "$as_me:$LINENO: checking whether GNU make is installed" >&5
2577 echo $ECHO_N "checking whether GNU make is installed... $ECHO_C" >&6
2578 if test "${ac_cv_gmake+set}" = set; then
2579 echo $ECHO_N "(cached) $ECHO_C" >&6
2581 if make --version | grep -q -i gnu; then
2584 echo "This software needs you to install GNU make to compile properly."
2585 echo "You can get it from http://www.gnu.org/."
2589 echo "$as_me:$LINENO: result: $ac_cv_gmake" >&5
2590 echo "${ECHO_T}$ac_cv_gmake" >&6
2596 ALL_LINGUAS="de en_GB fr ja no ru nl pl"
2599 cat >>confdefs.h <<_ACEOF
2600 #define VLC_PACKAGE "$PACKAGE"
2604 cat >>confdefs.h <<_ACEOF
2605 #define VLC_VERSION "$VERSION"
2608 if test -n "$ac_tool_prefix"; then
2609 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2610 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2611 echo "$as_me:$LINENO: checking for $ac_word" >&5
2612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2613 if test "${ac_cv_prog_RANLIB+set}" = set; then
2614 echo $ECHO_N "(cached) $ECHO_C" >&6
2616 if test -n "$RANLIB"; then
2617 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2623 test -z "$as_dir" && as_dir=.
2624 for ac_exec_ext in '' $ac_executable_extensions; do
2625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2626 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2635 RANLIB=$ac_cv_prog_RANLIB
2636 if test -n "$RANLIB"; then
2637 echo "$as_me:$LINENO: result: $RANLIB" >&5
2638 echo "${ECHO_T}$RANLIB" >&6
2640 echo "$as_me:$LINENO: result: no" >&5
2641 echo "${ECHO_T}no" >&6
2645 if test -z "$ac_cv_prog_RANLIB"; then
2646 ac_ct_RANLIB=$RANLIB
2647 # Extract the first word of "ranlib", so it can be a program name with args.
2648 set dummy ranlib; ac_word=$2
2649 echo "$as_me:$LINENO: checking for $ac_word" >&5
2650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2651 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2652 echo $ECHO_N "(cached) $ECHO_C" >&6
2654 if test -n "$ac_ct_RANLIB"; then
2655 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2661 test -z "$as_dir" && as_dir=.
2662 for ac_exec_ext in '' $ac_executable_extensions; do
2663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2664 ac_cv_prog_ac_ct_RANLIB="ranlib"
2665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2671 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2674 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2675 if test -n "$ac_ct_RANLIB"; then
2676 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2677 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2679 echo "$as_me:$LINENO: result: no" >&5
2680 echo "${ECHO_T}no" >&6
2683 RANLIB=$ac_ct_RANLIB
2685 RANLIB="$ac_cv_prog_RANLIB"
2690 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
2691 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2692 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2693 echo $ECHO_N "(cached) $ECHO_C" >&6
2695 ac_check_lib_save_LIBS=$LIBS
2696 LIBS="-lcposix $LIBS"
2697 cat >conftest.$ac_ext <<_ACEOF
2698 #line $LINENO "configure"
2699 #include "confdefs.h"
2701 /* Override any gcc2 internal prototype to avoid an error. */
2705 /* We use char because int might match the return type of a gcc2
2706 builtin and then its argument prototype would still apply. */
2708 #ifdef F77_DUMMY_MAIN
2712 int F77_DUMMY_MAIN() { return 1; }
2722 rm -f conftest.$ac_objext conftest$ac_exeext
2723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2724 (eval $ac_link) 2>&5
2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 (exit $ac_status); } &&
2728 { ac_try='test -s conftest$ac_exeext'
2729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); }; }; then
2734 ac_cv_lib_cposix_strerror=yes
2736 echo "$as_me: failed program was:" >&5
2737 cat conftest.$ac_ext >&5
2738 ac_cv_lib_cposix_strerror=no
2740 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2741 LIBS=$ac_check_lib_save_LIBS
2743 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
2744 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2745 if test $ac_cv_lib_cposix_strerror = yes; then
2746 LIBS="$LIBS -lcposix"
2752 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2753 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2754 if test "${ac_cv_header_stdc+set}" = set; then
2755 echo $ECHO_N "(cached) $ECHO_C" >&6
2757 cat >conftest.$ac_ext <<_ACEOF
2758 #line $LINENO "configure"
2759 #include "confdefs.h"
2766 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2767 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2769 egrep -v '^ *\+' conftest.er1 >conftest.err
2771 cat conftest.err >&5
2772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2773 (exit $ac_status); } >/dev/null; then
2774 if test -s conftest.err; then
2775 ac_cpp_err=$ac_c_preproc_warn_flag
2782 if test -z "$ac_cpp_err"; then
2783 ac_cv_header_stdc=yes
2785 echo "$as_me: failed program was:" >&5
2786 cat conftest.$ac_ext >&5
2787 ac_cv_header_stdc=no
2789 rm -f conftest.err conftest.$ac_ext
2791 if test $ac_cv_header_stdc = yes; then
2792 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2793 cat >conftest.$ac_ext <<_ACEOF
2794 #line $LINENO "configure"
2795 #include "confdefs.h"
2799 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2800 egrep "memchr" >/dev/null 2>&1; then
2803 ac_cv_header_stdc=no
2809 if test $ac_cv_header_stdc = yes; then
2810 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2811 cat >conftest.$ac_ext <<_ACEOF
2812 #line $LINENO "configure"
2813 #include "confdefs.h"
2817 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2818 egrep "free" >/dev/null 2>&1; then
2821 ac_cv_header_stdc=no
2827 if test $ac_cv_header_stdc = yes; then
2828 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2829 if test "$cross_compiling" = yes; then
2832 cat >conftest.$ac_ext <<_ACEOF
2833 #line $LINENO "configure"
2834 #include "confdefs.h"
2836 #if ((' ' & 0x0FF) == 0x020)
2837 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2838 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2840 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2841 || ('j' <= (c) && (c) <= 'r') \
2842 || ('s' <= (c) && (c) <= 'z'))
2843 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2846 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2851 for (i = 0; i < 256; i++)
2852 if (XOR (islower (i), ISLOWER (i))
2853 || toupper (i) != TOUPPER (i))
2858 rm -f conftest$ac_exeext
2859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2860 (eval $ac_link) 2>&5
2862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2863 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868 (exit $ac_status); }; }; then
2871 echo "$as_me: program exited with status $ac_status" >&5
2872 echo "$as_me: failed program was:" >&5
2873 cat conftest.$ac_ext >&5
2875 ac_cv_header_stdc=no
2877 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2881 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2882 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2883 if test $ac_cv_header_stdc = yes; then
2885 cat >>confdefs.h <<\_ACEOF
2886 #define STDC_HEADERS 1
2891 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2892 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2893 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2894 echo $ECHO_N "(cached) $ECHO_C" >&6
2896 ac_cv_prog_cc_stdc=no
2898 cat >conftest.$ac_ext <<_ACEOF
2899 #line $LINENO "configure"
2900 #include "confdefs.h"
2903 #include <sys/types.h>
2904 #include <sys/stat.h>
2905 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2906 struct buf { int x; };
2907 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2908 static char *e (p, i)
2914 static char *f (char * (*g) (char **, int), char **p, ...)
2919 s = g (p, va_arg (v,int));
2923 int test (int i, double x);
2924 struct s1 {int (*f) (int a);};
2925 struct s2 {int (*f) (double a);};
2926 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2929 #ifdef F77_DUMMY_MAIN
2933 int F77_DUMMY_MAIN() { return 1; }
2938 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2943 # Don't try gcc -ansi; that turns off useful extensions and
2944 # breaks some systems' header files.
2945 # AIX -qlanglvl=ansi
2946 # Ultrix and OSF/1 -std1
2947 # HP-UX 10.20 and later -Ae
2948 # HP-UX older versions -Aa -D_HPUX_SOURCE
2949 # SVR4 -Xc -D__EXTENSIONS__
2950 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2952 CC="$ac_save_CC $ac_arg"
2953 rm -f conftest.$ac_objext
2954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2955 (eval $ac_compile) 2>&5
2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); } &&
2959 { ac_try='test -s conftest.$ac_objext'
2960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2964 (exit $ac_status); }; }; then
2965 ac_cv_prog_cc_stdc=$ac_arg
2968 echo "$as_me: failed program was:" >&5
2969 cat conftest.$ac_ext >&5
2971 rm -f conftest.$ac_objext
2973 rm -f conftest.$ac_ext conftest.$ac_objext
2978 case "x$ac_cv_prog_cc_stdc" in
2980 echo "$as_me:$LINENO: result: none needed" >&5
2981 echo "${ECHO_T}none needed" >&6 ;;
2983 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2984 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2985 CC="$CC $ac_cv_prog_cc_stdc" ;;
2988 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
2989 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
2990 if test "${ac_cv_c_const+set}" = set; then
2991 echo $ECHO_N "(cached) $ECHO_C" >&6
2993 cat >conftest.$ac_ext <<_ACEOF
2994 #line $LINENO "configure"
2995 #include "confdefs.h"
2997 #ifdef F77_DUMMY_MAIN
3001 int F77_DUMMY_MAIN() { return 1; }
3006 /* FIXME: Include the comments suggested by Paul. */
3008 /* Ultrix mips cc rejects this. */
3009 typedef int charset[2];
3011 /* SunOS 4.1.1 cc rejects this. */
3012 char const *const *ccp;
3014 /* NEC SVR4.0.2 mips cc rejects this. */
3015 struct point {int x, y;};
3016 static struct point const zero = {0,0};
3017 /* AIX XL C 1.02.0.0 rejects this.
3018 It does not let you subtract one const X* pointer from another in
3019 an arm of an if-expression whose if-part is not a constant
3021 const char *g = "string";
3022 ccp = &g + (g ? g-g : 0);
3023 /* HPUX 7.0 cc rejects these. */
3026 ccp = (char const *const *) p;
3027 { /* SCO 3.2v4 cc rejects this. */
3029 char const *s = 0 ? (char *) 0 : (char const *) 0;
3033 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3035 const int *foo = &x[0];
3038 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3039 typedef const int *iptr;
3043 { /* AIX XL C 1.02.0.0 rejects this saying
3044 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3045 struct s { int j; const int *ap[3]; };
3046 struct s *b; b->j = 5;
3048 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3057 rm -f conftest.$ac_objext
3058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3059 (eval $ac_compile) 2>&5
3061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3062 (exit $ac_status); } &&
3063 { ac_try='test -s conftest.$ac_objext'
3064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3068 (exit $ac_status); }; }; then
3071 echo "$as_me: failed program was:" >&5
3072 cat conftest.$ac_ext >&5
3075 rm -f conftest.$ac_objext conftest.$ac_ext
3077 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3078 echo "${ECHO_T}$ac_cv_c_const" >&6
3079 if test $ac_cv_c_const = no; then
3081 cat >>confdefs.h <<\_ACEOF
3087 echo "$as_me:$LINENO: checking for inline" >&5
3088 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3089 if test "${ac_cv_c_inline+set}" = set; then
3090 echo $ECHO_N "(cached) $ECHO_C" >&6
3093 for ac_kw in inline __inline__ __inline; do
3094 cat >conftest.$ac_ext <<_ACEOF
3095 #line $LINENO "configure"
3096 #include "confdefs.h"
3098 static $ac_kw int static_foo () {return 0; }
3099 $ac_kw int foo () {return 0; }
3103 rm -f conftest.$ac_objext
3104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3105 (eval $ac_compile) 2>&5
3107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3108 (exit $ac_status); } &&
3109 { ac_try='test -s conftest.$ac_objext'
3110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3114 (exit $ac_status); }; }; then
3115 ac_cv_c_inline=$ac_kw; break
3117 echo "$as_me: failed program was:" >&5
3118 cat conftest.$ac_ext >&5
3120 rm -f conftest.$ac_objext conftest.$ac_ext
3124 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3125 echo "${ECHO_T}$ac_cv_c_inline" >&6
3126 case $ac_cv_c_inline in
3129 cat >>confdefs.h <<\_ACEOF
3133 *) cat >>confdefs.h <<_ACEOF
3134 #define inline $ac_cv_c_inline
3139 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3149 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3150 inttypes.h stdint.h unistd.h
3152 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3153 echo "$as_me:$LINENO: checking for $ac_header" >&5
3154 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3155 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3156 echo $ECHO_N "(cached) $ECHO_C" >&6
3158 cat >conftest.$ac_ext <<_ACEOF
3159 #line $LINENO "configure"
3160 #include "confdefs.h"
3161 $ac_includes_default
3163 #include <$ac_header>
3165 rm -f conftest.$ac_objext
3166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3167 (eval $ac_compile) 2>&5
3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); } &&
3171 { ac_try='test -s conftest.$ac_objext'
3172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176 (exit $ac_status); }; }; then
3177 eval "$as_ac_Header=yes"
3179 echo "$as_me: failed program was:" >&5
3180 cat conftest.$ac_ext >&5
3181 eval "$as_ac_Header=no"
3183 rm -f conftest.$ac_objext conftest.$ac_ext
3185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3186 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3187 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3188 cat >>confdefs.h <<_ACEOF
3189 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3197 echo "$as_me:$LINENO: checking for off_t" >&5
3198 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
3199 if test "${ac_cv_type_off_t+set}" = set; then
3200 echo $ECHO_N "(cached) $ECHO_C" >&6
3202 cat >conftest.$ac_ext <<_ACEOF
3203 #line $LINENO "configure"
3204 #include "confdefs.h"
3205 $ac_includes_default
3206 #ifdef F77_DUMMY_MAIN
3210 int F77_DUMMY_MAIN() { return 1; }
3223 rm -f conftest.$ac_objext
3224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3225 (eval $ac_compile) 2>&5
3227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3228 (exit $ac_status); } &&
3229 { ac_try='test -s conftest.$ac_objext'
3230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3234 (exit $ac_status); }; }; then
3235 ac_cv_type_off_t=yes
3237 echo "$as_me: failed program was:" >&5
3238 cat conftest.$ac_ext >&5
3241 rm -f conftest.$ac_objext conftest.$ac_ext
3243 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
3244 echo "${ECHO_T}$ac_cv_type_off_t" >&6
3245 if test $ac_cv_type_off_t = yes; then
3249 cat >>confdefs.h <<_ACEOF
3255 echo "$as_me:$LINENO: checking for size_t" >&5
3256 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3257 if test "${ac_cv_type_size_t+set}" = set; then
3258 echo $ECHO_N "(cached) $ECHO_C" >&6
3260 cat >conftest.$ac_ext <<_ACEOF
3261 #line $LINENO "configure"
3262 #include "confdefs.h"
3263 $ac_includes_default
3264 #ifdef F77_DUMMY_MAIN
3268 int F77_DUMMY_MAIN() { return 1; }
3275 if (sizeof (size_t))
3281 rm -f conftest.$ac_objext
3282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3283 (eval $ac_compile) 2>&5
3285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3286 (exit $ac_status); } &&
3287 { ac_try='test -s conftest.$ac_objext'
3288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3292 (exit $ac_status); }; }; then
3293 ac_cv_type_size_t=yes
3295 echo "$as_me: failed program was:" >&5
3296 cat conftest.$ac_ext >&5
3297 ac_cv_type_size_t=no
3299 rm -f conftest.$ac_objext conftest.$ac_ext
3301 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3302 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3303 if test $ac_cv_type_size_t = yes; then
3307 cat >>confdefs.h <<_ACEOF
3308 #define size_t unsigned
3313 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
3314 # for constant arguments. Useless!
3315 echo "$as_me:$LINENO: checking for working alloca.h" >&5
3316 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
3317 if test "${ac_cv_working_alloca_h+set}" = set; then
3318 echo $ECHO_N "(cached) $ECHO_C" >&6
3320 cat >conftest.$ac_ext <<_ACEOF
3321 #line $LINENO "configure"
3322 #include "confdefs.h"
3324 #ifdef F77_DUMMY_MAIN
3328 int F77_DUMMY_MAIN() { return 1; }
3333 char *p = (char *) alloca (2 * sizeof (int));
3338 rm -f conftest.$ac_objext conftest$ac_exeext
3339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3340 (eval $ac_link) 2>&5
3342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3343 (exit $ac_status); } &&
3344 { ac_try='test -s conftest$ac_exeext'
3345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3349 (exit $ac_status); }; }; then
3350 ac_cv_working_alloca_h=yes
3352 echo "$as_me: failed program was:" >&5
3353 cat conftest.$ac_ext >&5
3354 ac_cv_working_alloca_h=no
3356 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3358 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
3359 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
3360 if test $ac_cv_working_alloca_h = yes; then
3362 cat >>confdefs.h <<\_ACEOF
3363 #define HAVE_ALLOCA_H 1
3368 echo "$as_me:$LINENO: checking for alloca" >&5
3369 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
3370 if test "${ac_cv_func_alloca_works+set}" = set; then
3371 echo $ECHO_N "(cached) $ECHO_C" >&6
3373 cat >conftest.$ac_ext <<_ACEOF
3374 #line $LINENO "configure"
3375 #include "confdefs.h"
3377 # define alloca __builtin_alloca
3380 # include <malloc.h>
3381 # define alloca _alloca
3384 # include <alloca.h>
3389 # ifndef alloca /* predefined by HP cc +Olibcalls */
3397 #ifdef F77_DUMMY_MAIN
3401 int F77_DUMMY_MAIN() { return 1; }
3406 char *p = (char *) alloca (1);
3411 rm -f conftest.$ac_objext conftest$ac_exeext
3412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3413 (eval $ac_link) 2>&5
3415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416 (exit $ac_status); } &&
3417 { ac_try='test -s conftest$ac_exeext'
3418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3422 (exit $ac_status); }; }; then
3423 ac_cv_func_alloca_works=yes
3425 echo "$as_me: failed program was:" >&5
3426 cat conftest.$ac_ext >&5
3427 ac_cv_func_alloca_works=no
3429 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3431 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
3432 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
3434 if test $ac_cv_func_alloca_works = yes; then
3436 cat >>confdefs.h <<\_ACEOF
3437 #define HAVE_ALLOCA 1
3441 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
3442 # that cause trouble. Some versions do not even contain alloca or
3443 # contain a buggy version. If you still want to use their alloca,
3444 # use ar to extract alloca.o from them instead of compiling alloca.c.
3446 ALLOCA=alloca.$ac_objext
3448 cat >>confdefs.h <<\_ACEOF
3453 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
3454 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
3455 if test "${ac_cv_os_cray+set}" = set; then
3456 echo $ECHO_N "(cached) $ECHO_C" >&6
3458 cat >conftest.$ac_ext <<_ACEOF
3459 #line $LINENO "configure"
3460 #include "confdefs.h"
3461 #if defined(CRAY) && ! defined(CRAY2)
3468 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3469 egrep "webecray" >/dev/null 2>&1; then
3477 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
3478 echo "${ECHO_T}$ac_cv_os_cray" >&6
3479 if test $ac_cv_os_cray = yes; then
3480 for ac_func in _getb67 GETB67 getb67; do
3481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3482 echo "$as_me:$LINENO: checking for $ac_func" >&5
3483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3484 if eval "test \"\${$as_ac_var+set}\" = set"; then
3485 echo $ECHO_N "(cached) $ECHO_C" >&6
3487 cat >conftest.$ac_ext <<_ACEOF
3488 #line $LINENO "configure"
3489 #include "confdefs.h"
3490 /* System header to define __stub macros and hopefully few prototypes,
3491 which can conflict with char $ac_func (); below. */
3493 /* Override any gcc2 internal prototype to avoid an error. */
3497 /* We use char because int might match the return type of a gcc2
3498 builtin and then its argument prototype would still apply. */
3502 #ifdef F77_DUMMY_MAIN
3506 int F77_DUMMY_MAIN() { return 1; }
3511 /* The GNU C library defines this for functions which it implements
3512 to always fail with ENOSYS. Some functions are actually named
3513 something starting with __ and the normal name is an alias. */
3514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3524 rm -f conftest.$ac_objext conftest$ac_exeext
3525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3526 (eval $ac_link) 2>&5
3528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3529 (exit $ac_status); } &&
3530 { ac_try='test -s conftest$ac_exeext'
3531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3535 (exit $ac_status); }; }; then
3536 eval "$as_ac_var=yes"
3538 echo "$as_me: failed program was:" >&5
3539 cat conftest.$ac_ext >&5
3540 eval "$as_ac_var=no"
3542 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3546 if test `eval echo '${'$as_ac_var'}'` = yes; then
3548 cat >>confdefs.h <<_ACEOF
3549 #define CRAY_STACKSEG_END $ac_func
3558 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
3559 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
3560 if test "${ac_cv_c_stack_direction+set}" = set; then
3561 echo $ECHO_N "(cached) $ECHO_C" >&6
3563 if test "$cross_compiling" = yes; then
3564 ac_cv_c_stack_direction=0
3566 cat >conftest.$ac_ext <<_ACEOF
3567 #line $LINENO "configure"
3568 #include "confdefs.h"
3570 find_stack_direction ()
3572 static char *addr = 0;
3577 return find_stack_direction ();
3580 return (&dummy > addr) ? 1 : -1;
3586 exit (find_stack_direction () < 0);
3589 rm -f conftest$ac_exeext
3590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3591 (eval $ac_link) 2>&5
3593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3594 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3599 (exit $ac_status); }; }; then
3600 ac_cv_c_stack_direction=1
3602 echo "$as_me: program exited with status $ac_status" >&5
3603 echo "$as_me: failed program was:" >&5
3604 cat conftest.$ac_ext >&5
3606 ac_cv_c_stack_direction=-1
3608 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3611 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
3612 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
3614 cat >>confdefs.h <<_ACEOF
3615 #define STACK_DIRECTION $ac_cv_c_stack_direction
3623 for ac_header in stdlib.h unistd.h
3625 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3626 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3627 echo "$as_me:$LINENO: checking for $ac_header" >&5
3628 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3629 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3630 echo $ECHO_N "(cached) $ECHO_C" >&6
3632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3633 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3635 # Is the header compilable?
3636 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3637 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3638 cat >conftest.$ac_ext <<_ACEOF
3639 #line $LINENO "configure"
3640 #include "confdefs.h"
3641 $ac_includes_default
3642 #include <$ac_header>
3644 rm -f conftest.$ac_objext
3645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3646 (eval $ac_compile) 2>&5
3648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3649 (exit $ac_status); } &&
3650 { ac_try='test -s conftest.$ac_objext'
3651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3655 (exit $ac_status); }; }; then
3656 ac_header_compiler=yes
3658 echo "$as_me: failed program was:" >&5
3659 cat conftest.$ac_ext >&5
3660 ac_header_compiler=no
3662 rm -f conftest.$ac_objext conftest.$ac_ext
3663 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3664 echo "${ECHO_T}$ac_header_compiler" >&6
3666 # Is the header present?
3667 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3668 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3669 cat >conftest.$ac_ext <<_ACEOF
3670 #line $LINENO "configure"
3671 #include "confdefs.h"
3672 #include <$ac_header>
3674 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3675 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3677 egrep -v '^ *\+' conftest.er1 >conftest.err
3679 cat conftest.err >&5
3680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681 (exit $ac_status); } >/dev/null; then
3682 if test -s conftest.err; then
3683 ac_cpp_err=$ac_c_preproc_warn_flag
3690 if test -z "$ac_cpp_err"; then
3691 ac_header_preproc=yes
3693 echo "$as_me: failed program was:" >&5
3694 cat conftest.$ac_ext >&5
3695 ac_header_preproc=no
3697 rm -f conftest.err conftest.$ac_ext
3698 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3699 echo "${ECHO_T}$ac_header_preproc" >&6
3701 # So? What about this header?
3702 case $ac_header_compiler:$ac_header_preproc in
3704 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3705 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3706 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3707 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3709 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3710 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3711 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3712 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3713 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3714 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3716 echo "$as_me:$LINENO: checking for $ac_header" >&5
3717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3719 echo $ECHO_N "(cached) $ECHO_C" >&6
3721 eval "$as_ac_Header=$ac_header_preproc"
3723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3727 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3728 cat >>confdefs.h <<_ACEOF
3729 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3737 for ac_func in getpagesize
3739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3740 echo "$as_me:$LINENO: checking for $ac_func" >&5
3741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3742 if eval "test \"\${$as_ac_var+set}\" = set"; then
3743 echo $ECHO_N "(cached) $ECHO_C" >&6
3745 cat >conftest.$ac_ext <<_ACEOF
3746 #line $LINENO "configure"
3747 #include "confdefs.h"
3748 /* System header to define __stub macros and hopefully few prototypes,
3749 which can conflict with char $ac_func (); below. */
3751 /* Override any gcc2 internal prototype to avoid an error. */
3755 /* We use char because int might match the return type of a gcc2
3756 builtin and then its argument prototype would still apply. */
3760 #ifdef F77_DUMMY_MAIN
3764 int F77_DUMMY_MAIN() { return 1; }
3769 /* The GNU C library defines this for functions which it implements
3770 to always fail with ENOSYS. Some functions are actually named
3771 something starting with __ and the normal name is an alias. */
3772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3782 rm -f conftest.$ac_objext conftest$ac_exeext
3783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3784 (eval $ac_link) 2>&5
3786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3787 (exit $ac_status); } &&
3788 { ac_try='test -s conftest$ac_exeext'
3789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793 (exit $ac_status); }; }; then
3794 eval "$as_ac_var=yes"
3796 echo "$as_me: failed program was:" >&5
3797 cat conftest.$ac_ext >&5
3798 eval "$as_ac_var=no"
3800 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3804 if test `eval echo '${'$as_ac_var'}'` = yes; then
3805 cat >>confdefs.h <<_ACEOF
3806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3812 echo "$as_me:$LINENO: checking for working mmap" >&5
3813 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
3814 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
3815 echo $ECHO_N "(cached) $ECHO_C" >&6
3817 if test "$cross_compiling" = yes; then
3818 ac_cv_func_mmap_fixed_mapped=no
3820 cat >conftest.$ac_ext <<_ACEOF
3821 #line $LINENO "configure"
3822 #include "confdefs.h"
3823 $ac_includes_default
3824 /* malloc might have been renamed as rpl_malloc. */
3827 /* Thanks to Mike Haertel and Jim Avera for this test.
3828 Here is a matrix of mmap possibilities:
3829 mmap private not fixed
3830 mmap private fixed at somewhere currently unmapped
3831 mmap private fixed at somewhere already mapped
3832 mmap shared not fixed
3833 mmap shared fixed at somewhere currently unmapped
3834 mmap shared fixed at somewhere already mapped
3835 For private mappings, we should verify that changes cannot be read()
3836 back from the file, nor mmap's back from the file at a different
3837 address. (There have been systems where private was not correctly
3838 implemented like the infamous i386 svr4.0, and systems where the
3839 VM page cache was not coherent with the file system buffer cache
3840 like early versions of FreeBSD and possibly contemporary NetBSD.)
3841 For shared mappings, we should conversely verify that changes get
3842 propagated back to all the places they're supposed to be.
3844 Grep wants private fixed already mapped.
3845 The main things grep needs to know about mmap are:
3846 * does it exist and is it safe to write into the mmap'd area
3847 * how to use it (BSD variants) */
3850 #include <sys/mman.h>
3852 #if !STDC_HEADERS && !HAVE_STDLIB_H
3856 /* This mess was copied from the GNU getpagesize.h. */
3857 #if !HAVE_GETPAGESIZE
3858 /* Assume that all systems that can run configure have sys/param.h. */
3859 # if !HAVE_SYS_PARAM_H
3860 # define HAVE_SYS_PARAM_H 1
3863 # ifdef _SC_PAGESIZE
3864 # define getpagesize() sysconf(_SC_PAGESIZE)
3865 # else /* no _SC_PAGESIZE */
3866 # if HAVE_SYS_PARAM_H
3867 # include <sys/param.h>
3868 # ifdef EXEC_PAGESIZE
3869 # define getpagesize() EXEC_PAGESIZE
3870 # else /* no EXEC_PAGESIZE */
3872 # define getpagesize() NBPG * CLSIZE
3875 # endif /* no CLSIZE */
3876 # else /* no NBPG */
3878 # define getpagesize() NBPC
3879 # else /* no NBPC */
3881 # define getpagesize() PAGESIZE
3882 # endif /* PAGESIZE */
3883 # endif /* no NBPC */
3884 # endif /* no NBPG */
3885 # endif /* no EXEC_PAGESIZE */
3886 # else /* no HAVE_SYS_PARAM_H */
3887 # define getpagesize() 8192 /* punt totally */
3888 # endif /* no HAVE_SYS_PARAM_H */
3889 # endif /* no _SC_PAGESIZE */
3891 #endif /* no HAVE_GETPAGESIZE */
3896 char *data, *data2, *data3;
3900 pagesize = getpagesize ();
3902 /* First, make a file with some known garbage in it. */
3903 data = (char *) malloc (pagesize);
3906 for (i = 0; i < pagesize; ++i)
3907 *(data + i) = rand ();
3909 fd = creat ("conftest.mmap", 0600);
3912 if (write (fd, data, pagesize) != pagesize)
3916 /* Next, try to mmap the file at a fixed address which already has
3917 something else allocated at it. If we can, also make sure that
3918 we see the same garbage. */
3919 fd = open ("conftest.mmap", O_RDWR);
3922 data2 = (char *) malloc (2 * pagesize);
3925 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
3926 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
3927 MAP_PRIVATE | MAP_FIXED, fd, 0L))
3929 for (i = 0; i < pagesize; ++i)
3930 if (*(data + i) != *(data2 + i))
3933 /* Finally, make sure that changes to the mapped area do not
3934 percolate back to the file as seen by read(). (This is a bug on
3935 some variants of i386 svr4.0.) */
3936 for (i = 0; i < pagesize; ++i)
3937 *(data2 + i) = *(data2 + i) + 1;
3938 data3 = (char *) malloc (pagesize);
3941 if (read (fd, data3, pagesize) != pagesize)
3943 for (i = 0; i < pagesize; ++i)
3944 if (*(data + i) != *(data3 + i))
3950 rm -f conftest$ac_exeext
3951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3952 (eval $ac_link) 2>&5
3954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3960 (exit $ac_status); }; }; then
3961 ac_cv_func_mmap_fixed_mapped=yes
3963 echo "$as_me: program exited with status $ac_status" >&5
3964 echo "$as_me: failed program was:" >&5
3965 cat conftest.$ac_ext >&5
3967 ac_cv_func_mmap_fixed_mapped=no
3969 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3972 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
3973 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
3974 if test $ac_cv_func_mmap_fixed_mapped = yes; then
3976 cat >>confdefs.h <<\_ACEOF
3984 echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
3985 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
3986 if test "${ac_cv_gnu_library_2_1+set}" = set; then
3987 echo $ECHO_N "(cached) $ECHO_C" >&6
3989 cat >conftest.$ac_ext <<_ACEOF
3990 #line $LINENO "configure"
3991 #include "confdefs.h"
3993 #include <features.h>
3994 #ifdef __GNU_LIBRARY__
3995 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
4001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4002 egrep "Lucky GNU user" >/dev/null 2>&1; then
4003 ac_cv_gnu_library_2_1=yes
4005 ac_cv_gnu_library_2_1=no
4012 echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
4013 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
4015 GLIBC21="$ac_cv_gnu_library_2_1"
4029 for ac_header in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
4030 stdlib.h string.h unistd.h sys/param.h
4032 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4033 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4034 echo "$as_me:$LINENO: checking for $ac_header" >&5
4035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4037 echo $ECHO_N "(cached) $ECHO_C" >&6
4039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4042 # Is the header compilable?
4043 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4044 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4045 cat >conftest.$ac_ext <<_ACEOF
4046 #line $LINENO "configure"
4047 #include "confdefs.h"
4048 $ac_includes_default
4049 #include <$ac_header>
4051 rm -f conftest.$ac_objext
4052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4053 (eval $ac_compile) 2>&5
4055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4056 (exit $ac_status); } &&
4057 { ac_try='test -s conftest.$ac_objext'
4058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4062 (exit $ac_status); }; }; then
4063 ac_header_compiler=yes
4065 echo "$as_me: failed program was:" >&5
4066 cat conftest.$ac_ext >&5
4067 ac_header_compiler=no
4069 rm -f conftest.$ac_objext conftest.$ac_ext
4070 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4071 echo "${ECHO_T}$ac_header_compiler" >&6
4073 # Is the header present?
4074 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4075 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4076 cat >conftest.$ac_ext <<_ACEOF
4077 #line $LINENO "configure"
4078 #include "confdefs.h"
4079 #include <$ac_header>
4081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4084 egrep -v '^ *\+' conftest.er1 >conftest.err
4086 cat conftest.err >&5
4087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4088 (exit $ac_status); } >/dev/null; then
4089 if test -s conftest.err; then
4090 ac_cpp_err=$ac_c_preproc_warn_flag
4097 if test -z "$ac_cpp_err"; then
4098 ac_header_preproc=yes
4100 echo "$as_me: failed program was:" >&5
4101 cat conftest.$ac_ext >&5
4102 ac_header_preproc=no
4104 rm -f conftest.err conftest.$ac_ext
4105 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4106 echo "${ECHO_T}$ac_header_preproc" >&6
4108 # So? What about this header?
4109 case $ac_header_compiler:$ac_header_preproc in
4111 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4112 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4113 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4114 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4116 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4117 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4118 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4119 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4120 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4121 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4123 echo "$as_me:$LINENO: checking for $ac_header" >&5
4124 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4125 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4126 echo $ECHO_N "(cached) $ECHO_C" >&6
4128 eval "$as_ac_Header=$ac_header_preproc"
4130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4131 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4134 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4135 cat >>confdefs.h <<_ACEOF
4136 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4164 for ac_func in feof_unlocked fgets_unlocked getcwd getegid geteuid \
4165 getgid getuid mempcpy munmap putenv setenv setlocale stpcpy strchr strcasecmp \
4166 strdup strtoul tsearch __argz_count __argz_stringify __argz_next
4168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4169 echo "$as_me:$LINENO: checking for $ac_func" >&5
4170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4171 if eval "test \"\${$as_ac_var+set}\" = set"; then
4172 echo $ECHO_N "(cached) $ECHO_C" >&6
4174 cat >conftest.$ac_ext <<_ACEOF
4175 #line $LINENO "configure"
4176 #include "confdefs.h"
4177 /* System header to define __stub macros and hopefully few prototypes,
4178 which can conflict with char $ac_func (); below. */
4180 /* Override any gcc2 internal prototype to avoid an error. */
4184 /* We use char because int might match the return type of a gcc2
4185 builtin and then its argument prototype would still apply. */
4189 #ifdef F77_DUMMY_MAIN
4193 int F77_DUMMY_MAIN() { return 1; }
4198 /* The GNU C library defines this for functions which it implements
4199 to always fail with ENOSYS. Some functions are actually named
4200 something starting with __ and the normal name is an alias. */
4201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4211 rm -f conftest.$ac_objext conftest$ac_exeext
4212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4213 (eval $ac_link) 2>&5
4215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216 (exit $ac_status); } &&
4217 { ac_try='test -s conftest$ac_exeext'
4218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4222 (exit $ac_status); }; }; then
4223 eval "$as_ac_var=yes"
4225 echo "$as_me: failed program was:" >&5
4226 cat conftest.$ac_ext >&5
4227 eval "$as_ac_var=no"
4229 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4233 if test `eval echo '${'$as_ac_var'}'` = yes; then
4234 cat >>confdefs.h <<_ACEOF
4235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4245 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
4246 if test "${with_libiconv_prefix+set}" = set; then
4247 withval="$with_libiconv_prefix"
4249 for dir in `echo "$withval" | tr : ' '`; do
4250 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
4251 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
4256 echo "$as_me:$LINENO: checking for iconv" >&5
4257 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
4258 if test "${am_cv_func_iconv+set}" = set; then
4259 echo $ECHO_N "(cached) $ECHO_C" >&6
4262 am_cv_func_iconv="no, consider installing GNU libiconv"
4264 cat >conftest.$ac_ext <<_ACEOF
4265 #line $LINENO "configure"
4266 #include "confdefs.h"
4269 #ifdef F77_DUMMY_MAIN
4273 int F77_DUMMY_MAIN() { return 1; }
4278 iconv_t cd = iconv_open("","");
4279 iconv(cd,NULL,NULL,NULL,NULL);
4285 rm -f conftest.$ac_objext conftest$ac_exeext
4286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4287 (eval $ac_link) 2>&5
4289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4290 (exit $ac_status); } &&
4291 { ac_try='test -s conftest$ac_exeext'
4292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4296 (exit $ac_status); }; }; then
4297 am_cv_func_iconv=yes
4299 echo "$as_me: failed program was:" >&5
4300 cat conftest.$ac_ext >&5
4302 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4303 if test "$am_cv_func_iconv" != yes; then
4304 am_save_LIBS="$LIBS"
4305 LIBS="$LIBS -liconv"
4306 cat >conftest.$ac_ext <<_ACEOF
4307 #line $LINENO "configure"
4308 #include "confdefs.h"
4311 #ifdef F77_DUMMY_MAIN
4315 int F77_DUMMY_MAIN() { return 1; }
4320 iconv_t cd = iconv_open("","");
4321 iconv(cd,NULL,NULL,NULL,NULL);
4327 rm -f conftest.$ac_objext conftest$ac_exeext
4328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4329 (eval $ac_link) 2>&5
4331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4332 (exit $ac_status); } &&
4333 { ac_try='test -s conftest$ac_exeext'
4334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338 (exit $ac_status); }; }; then
4340 am_cv_func_iconv=yes
4342 echo "$as_me: failed program was:" >&5
4343 cat conftest.$ac_ext >&5
4345 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4346 LIBS="$am_save_LIBS"
4350 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
4351 echo "${ECHO_T}$am_cv_func_iconv" >&6
4352 if test "$am_cv_func_iconv" = yes; then
4354 cat >>confdefs.h <<\_ACEOF
4355 #define HAVE_ICONV 1
4358 echo "$as_me:$LINENO: checking for iconv declaration" >&5
4359 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
4360 if test "${am_cv_proto_iconv+set}" = set; then
4361 echo $ECHO_N "(cached) $ECHO_C" >&6
4364 cat >conftest.$ac_ext <<_ACEOF
4365 #line $LINENO "configure"
4366 #include "confdefs.h"
4374 #if defined(__STDC__) || defined(__cplusplus)
4375 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
4380 #ifdef F77_DUMMY_MAIN
4384 int F77_DUMMY_MAIN() { return 1; }
4394 rm -f conftest.$ac_objext
4395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4396 (eval $ac_compile) 2>&5
4398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4399 (exit $ac_status); } &&
4400 { ac_try='test -s conftest.$ac_objext'
4401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4405 (exit $ac_status); }; }; then
4406 am_cv_proto_iconv_arg1=""
4408 echo "$as_me: failed program was:" >&5
4409 cat conftest.$ac_ext >&5
4410 am_cv_proto_iconv_arg1="const"
4412 rm -f conftest.$ac_objext conftest.$ac_ext
4413 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
4416 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
4417 echo "$as_me:$LINENO: result: ${ac_t:-
4418 }$am_cv_proto_iconv" >&5
4419 echo "${ECHO_T}${ac_t:-
4420 }$am_cv_proto_iconv" >&6
4422 cat >>confdefs.h <<_ACEOF
4423 #define ICONV_CONST $am_cv_proto_iconv_arg1
4428 if test "$am_cv_lib_iconv" = yes; then
4434 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
4435 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
4436 if test "${am_cv_langinfo_codeset+set}" = set; then
4437 echo $ECHO_N "(cached) $ECHO_C" >&6
4439 cat >conftest.$ac_ext <<_ACEOF
4440 #line $LINENO "configure"
4441 #include "confdefs.h"
4442 #include <langinfo.h>
4443 #ifdef F77_DUMMY_MAIN
4447 int F77_DUMMY_MAIN() { return 1; }
4452 char* cs = nl_langinfo(CODESET);
4457 rm -f conftest.$ac_objext conftest$ac_exeext
4458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4459 (eval $ac_link) 2>&5
4461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4462 (exit $ac_status); } &&
4463 { ac_try='test -s conftest$ac_exeext'
4464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4468 (exit $ac_status); }; }; then
4469 am_cv_langinfo_codeset=yes
4471 echo "$as_me: failed program was:" >&5
4472 cat conftest.$ac_ext >&5
4473 am_cv_langinfo_codeset=no
4475 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4478 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
4479 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
4480 if test $am_cv_langinfo_codeset = yes; then
4482 cat >>confdefs.h <<\_ACEOF
4483 #define HAVE_LANGINFO_CODESET 1
4488 if test $ac_cv_header_locale_h = yes; then
4489 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
4490 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
4491 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
4492 echo $ECHO_N "(cached) $ECHO_C" >&6
4494 cat >conftest.$ac_ext <<_ACEOF
4495 #line $LINENO "configure"
4496 #include "confdefs.h"
4498 #ifdef F77_DUMMY_MAIN
4502 int F77_DUMMY_MAIN() { return 1; }
4512 rm -f conftest.$ac_objext conftest$ac_exeext
4513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4514 (eval $ac_link) 2>&5
4516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4517 (exit $ac_status); } &&
4518 { ac_try='test -s conftest$ac_exeext'
4519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523 (exit $ac_status); }; }; then
4524 am_cv_val_LC_MESSAGES=yes
4526 echo "$as_me: failed program was:" >&5
4527 cat conftest.$ac_ext >&5
4528 am_cv_val_LC_MESSAGES=no
4530 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4532 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
4533 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
4534 if test $am_cv_val_LC_MESSAGES = yes; then
4536 cat >>confdefs.h <<\_ACEOF
4537 #define HAVE_LC_MESSAGES 1
4542 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
4543 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
4544 # Check whether --enable-nls or --disable-nls was given.
4545 if test "${enable_nls+set}" = set; then
4546 enableval="$enable_nls"
4551 echo "$as_me:$LINENO: result: $USE_NLS" >&5
4552 echo "${ECHO_T}$USE_NLS" >&6
4555 BUILD_INCLUDED_LIBINTL=no
4556 USE_INCLUDED_LIBINTL=no
4559 if test "$USE_NLS" = "yes"; then
4561 cat >>confdefs.h <<\_ACEOF
4562 #define ENABLE_NLS 1
4565 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
4566 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
4568 # Check whether --with-included-gettext or --without-included-gettext was given.
4569 if test "${with_included_gettext+set}" = set; then
4570 withval="$with_included_gettext"
4571 nls_cv_force_use_gnu_gettext=$withval
4573 nls_cv_force_use_gnu_gettext=no
4575 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
4576 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
4578 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
4579 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
4585 if test "${ac_cv_header_libintl_h+set}" = set; then
4586 echo "$as_me:$LINENO: checking for libintl.h" >&5
4587 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4588 if test "${ac_cv_header_libintl_h+set}" = set; then
4589 echo $ECHO_N "(cached) $ECHO_C" >&6
4591 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4592 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4594 # Is the header compilable?
4595 echo "$as_me:$LINENO: checking libintl.h usability" >&5
4596 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
4597 cat >conftest.$ac_ext <<_ACEOF
4598 #line $LINENO "configure"
4599 #include "confdefs.h"
4600 $ac_includes_default
4601 #include <libintl.h>
4603 rm -f conftest.$ac_objext
4604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4605 (eval $ac_compile) 2>&5
4607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4608 (exit $ac_status); } &&
4609 { ac_try='test -s conftest.$ac_objext'
4610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4614 (exit $ac_status); }; }; then
4615 ac_header_compiler=yes
4617 echo "$as_me: failed program was:" >&5
4618 cat conftest.$ac_ext >&5
4619 ac_header_compiler=no
4621 rm -f conftest.$ac_objext conftest.$ac_ext
4622 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4623 echo "${ECHO_T}$ac_header_compiler" >&6
4625 # Is the header present?
4626 echo "$as_me:$LINENO: checking libintl.h presence" >&5
4627 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
4628 cat >conftest.$ac_ext <<_ACEOF
4629 #line $LINENO "configure"
4630 #include "confdefs.h"
4631 #include <libintl.h>
4633 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4634 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4636 egrep -v '^ *\+' conftest.er1 >conftest.err
4638 cat conftest.err >&5
4639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4640 (exit $ac_status); } >/dev/null; then
4641 if test -s conftest.err; then
4642 ac_cpp_err=$ac_c_preproc_warn_flag
4649 if test -z "$ac_cpp_err"; then
4650 ac_header_preproc=yes
4652 echo "$as_me: failed program was:" >&5
4653 cat conftest.$ac_ext >&5
4654 ac_header_preproc=no
4656 rm -f conftest.err conftest.$ac_ext
4657 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4658 echo "${ECHO_T}$ac_header_preproc" >&6
4660 # So? What about this header?
4661 case $ac_header_compiler:$ac_header_preproc in
4663 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
4664 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4665 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
4666 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
4668 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
4669 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
4670 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
4671 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
4672 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
4673 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
4675 echo "$as_me:$LINENO: checking for libintl.h" >&5
4676 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4677 if test "${ac_cv_header_libintl_h+set}" = set; then
4678 echo $ECHO_N "(cached) $ECHO_C" >&6
4680 ac_cv_header_libintl_h=$ac_header_preproc
4682 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4683 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4686 if test $ac_cv_header_libintl_h = yes; then
4687 echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
4688 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
4689 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
4690 echo $ECHO_N "(cached) $ECHO_C" >&6
4692 cat >conftest.$ac_ext <<_ACEOF
4693 #line $LINENO "configure"
4694 #include "confdefs.h"
4695 #include <libintl.h>
4696 extern int _nl_msg_cat_cntr;
4697 #ifdef F77_DUMMY_MAIN
4701 int F77_DUMMY_MAIN() { return 1; }
4706 bindtextdomain ("", "");
4707 return (int) gettext ("") + _nl_msg_cat_cntr
4712 rm -f conftest.$ac_objext conftest$ac_exeext
4713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4714 (eval $ac_link) 2>&5
4716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4717 (exit $ac_status); } &&
4718 { ac_try='test -s conftest$ac_exeext'
4719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4723 (exit $ac_status); }; }; then
4724 gt_cv_func_gnugettext1_libc=yes
4726 echo "$as_me: failed program was:" >&5
4727 cat conftest.$ac_ext >&5
4728 gt_cv_func_gnugettext1_libc=no
4730 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4732 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
4733 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
4735 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
4736 echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
4737 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
4738 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
4739 echo $ECHO_N "(cached) $ECHO_C" >&6
4741 gt_save_LIBS="$LIBS"
4742 LIBS="$LIBS -lintl $LIBICONV"
4743 cat >conftest.$ac_ext <<_ACEOF
4744 #line $LINENO "configure"
4745 #include "confdefs.h"
4746 #include <libintl.h>
4747 extern int _nl_msg_cat_cntr;
4748 #ifdef F77_DUMMY_MAIN
4752 int F77_DUMMY_MAIN() { return 1; }
4757 bindtextdomain ("", "");
4758 return (int) gettext ("") + _nl_msg_cat_cntr
4763 rm -f conftest.$ac_objext conftest$ac_exeext
4764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4765 (eval $ac_link) 2>&5
4767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768 (exit $ac_status); } &&
4769 { ac_try='test -s conftest$ac_exeext'
4770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4774 (exit $ac_status); }; }; then
4775 gt_cv_func_gnugettext1_libintl=yes
4777 echo "$as_me: failed program was:" >&5
4778 cat conftest.$ac_ext >&5
4779 gt_cv_func_gnugettext1_libintl=no
4781 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4782 LIBS="$gt_save_LIBS"
4784 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
4785 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
4788 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
4789 || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
4790 && test "$PACKAGE" != gettext; }; then
4792 cat >>confdefs.h <<\_ACEOF
4793 #define HAVE_GETTEXT 1
4797 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
4798 INTLLIBS="-lintl $LIBICONV"
4801 gt_save_LIBS="$LIBS"
4802 LIBS="$LIBS $INTLLIBS"
4804 for ac_func in dcgettext
4806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4807 echo "$as_me:$LINENO: checking for $ac_func" >&5
4808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4809 if eval "test \"\${$as_ac_var+set}\" = set"; then
4810 echo $ECHO_N "(cached) $ECHO_C" >&6
4812 cat >conftest.$ac_ext <<_ACEOF
4813 #line $LINENO "configure"
4814 #include "confdefs.h"
4815 /* System header to define __stub macros and hopefully few prototypes,
4816 which can conflict with char $ac_func (); below. */
4818 /* Override any gcc2 internal prototype to avoid an error. */
4822 /* We use char because int might match the return type of a gcc2
4823 builtin and then its argument prototype would still apply. */
4827 #ifdef F77_DUMMY_MAIN
4831 int F77_DUMMY_MAIN() { return 1; }
4836 /* The GNU C library defines this for functions which it implements
4837 to always fail with ENOSYS. Some functions are actually named
4838 something starting with __ and the normal name is an alias. */
4839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4849 rm -f conftest.$ac_objext conftest$ac_exeext
4850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4851 (eval $ac_link) 2>&5
4853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 (exit $ac_status); } &&
4855 { ac_try='test -s conftest$ac_exeext'
4856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4860 (exit $ac_status); }; }; then
4861 eval "$as_ac_var=yes"
4863 echo "$as_me: failed program was:" >&5
4864 cat conftest.$ac_ext >&5
4865 eval "$as_ac_var=no"
4867 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4871 if test `eval echo '${'$as_ac_var'}'` = yes; then
4872 cat >>confdefs.h <<_ACEOF
4873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4879 LIBS="$gt_save_LIBS"
4881 # Extract the first word of "msgfmt", so it can be a program name with args.
4882 set dummy msgfmt; ac_word=$2
4883 echo "$as_me:$LINENO: checking for $ac_word" >&5
4884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4885 if test "${ac_cv_path_MSGFMT+set}" = set; then
4886 echo $ECHO_N "(cached) $ECHO_C" >&6
4890 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4893 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
4894 for ac_dir in $PATH; do
4895 test -z "$ac_dir" && ac_dir=.
4896 if test -f $ac_dir/$ac_word; then
4897 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1; then
4898 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
4904 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
4908 MSGFMT="$ac_cv_path_MSGFMT"
4909 if test "$MSGFMT" != ":"; then
4910 echo "$as_me:$LINENO: result: $MSGFMT" >&5
4911 echo "${ECHO_T}$MSGFMT" >&6
4913 echo "$as_me:$LINENO: result: no" >&5
4914 echo "${ECHO_T}no" >&6
4917 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4918 set dummy gmsgfmt; ac_word=$2
4919 echo "$as_me:$LINENO: checking for $ac_word" >&5
4920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4921 if test "${ac_cv_path_GMSGFMT+set}" = set; then
4922 echo $ECHO_N "(cached) $ECHO_C" >&6
4926 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4933 test -z "$as_dir" && as_dir=.
4934 for ac_exec_ext in '' $ac_executable_extensions; do
4935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4936 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4943 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4947 GMSGFMT=$ac_cv_path_GMSGFMT
4949 if test -n "$GMSGFMT"; then
4950 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
4951 echo "${ECHO_T}$GMSGFMT" >&6
4953 echo "$as_me:$LINENO: result: no" >&5
4954 echo "${ECHO_T}no" >&6
4958 # Extract the first word of "xgettext", so it can be a program name with args.
4959 set dummy xgettext; ac_word=$2
4960 echo "$as_me:$LINENO: checking for $ac_word" >&5
4961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4962 if test "${ac_cv_path_XGETTEXT+set}" = set; then
4963 echo $ECHO_N "(cached) $ECHO_C" >&6
4967 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4970 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
4971 for ac_dir in $PATH; do
4972 test -z "$ac_dir" && ac_dir=.
4973 if test -f $ac_dir/$ac_word; then
4974 if $ac_dir/$ac_word --omit-header /dev/null >/dev/null 2>&1; then
4975 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
4981 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
4985 XGETTEXT="$ac_cv_path_XGETTEXT"
4986 if test "$XGETTEXT" != ":"; then
4987 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
4988 echo "${ECHO_T}$XGETTEXT" >&6
4990 echo "$as_me:$LINENO: result: no" >&5
4991 echo "${ECHO_T}no" >&6
5002 if test "$CATOBJEXT" = "NONE"; then
5003 nls_cv_use_gnu_gettext=yes
5007 if test "$nls_cv_use_gnu_gettext" = "yes"; then
5008 INTLOBJS="\$(GETTOBJS)"
5009 # Extract the first word of "msgfmt", so it can be a program name with args.
5010 set dummy msgfmt; ac_word=$2
5011 echo "$as_me:$LINENO: checking for $ac_word" >&5
5012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5013 if test "${ac_cv_path_MSGFMT+set}" = set; then
5014 echo $ECHO_N "(cached) $ECHO_C" >&6
5018 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5021 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5022 for ac_dir in $PATH; do
5023 test -z "$ac_dir" && ac_dir=.
5024 if test -f $ac_dir/$ac_word; then
5025 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1; then
5026 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
5032 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
5036 MSGFMT="$ac_cv_path_MSGFMT"
5037 if test "$MSGFMT" != ":"; then
5038 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5039 echo "${ECHO_T}$MSGFMT" >&6
5041 echo "$as_me:$LINENO: result: no" >&5
5042 echo "${ECHO_T}no" >&6
5045 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5046 set dummy gmsgfmt; ac_word=$2
5047 echo "$as_me:$LINENO: checking for $ac_word" >&5
5048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5049 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5050 echo $ECHO_N "(cached) $ECHO_C" >&6
5054 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5061 test -z "$as_dir" && as_dir=.
5062 for ac_exec_ext in '' $ac_executable_extensions; do
5063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5064 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5071 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5075 GMSGFMT=$ac_cv_path_GMSGFMT
5077 if test -n "$GMSGFMT"; then
5078 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5079 echo "${ECHO_T}$GMSGFMT" >&6
5081 echo "$as_me:$LINENO: result: no" >&5
5082 echo "${ECHO_T}no" >&6
5085 # Extract the first word of "xgettext", so it can be a program name with args.
5086 set dummy xgettext; ac_word=$2
5087 echo "$as_me:$LINENO: checking for $ac_word" >&5
5088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5089 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5090 echo $ECHO_N "(cached) $ECHO_C" >&6
5094 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5097 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5098 for ac_dir in $PATH; do
5099 test -z "$ac_dir" && ac_dir=.
5100 if test -f $ac_dir/$ac_word; then
5101 if $ac_dir/$ac_word --omit-header /dev/null >/dev/null 2>&1; then
5102 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
5108 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5112 XGETTEXT="$ac_cv_path_XGETTEXT"
5113 if test "$XGETTEXT" != ":"; then
5114 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5115 echo "${ECHO_T}$XGETTEXT" >&6
5117 echo "$as_me:$LINENO: result: no" >&5
5118 echo "${ECHO_T}no" >&6
5122 BUILD_INCLUDED_LIBINTL=yes
5123 USE_INCLUDED_LIBINTL=yes
5125 INTLLIBS="\$(top_builddir)/intl/libintl.a $LIBICONV"
5126 LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
5129 if test "$GMSGFMT" != ":"; then
5130 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1; then
5133 echo "$as_me:$LINENO: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
5134 echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6
5139 if test "$XGETTEXT" != ":"; then
5140 if $XGETTEXT --omit-header /dev/null >/dev/null 2>&1; then
5143 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
5144 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
5151 ac_config_commands="$ac_config_commands default-1"
5155 if test "$PACKAGE" = gettext; then
5156 BUILD_INCLUDED_LIBINTL=yes
5159 for ac_prog in bison
5161 # Extract the first word of "$ac_prog", so it can be a program name with args.
5162 set dummy $ac_prog; ac_word=$2
5163 echo "$as_me:$LINENO: checking for $ac_word" >&5
5164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5165 if test "${ac_cv_prog_INTLBISON+set}" = set; then
5166 echo $ECHO_N "(cached) $ECHO_C" >&6
5168 if test -n "$INTLBISON"; then
5169 ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test.
5171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5175 test -z "$as_dir" && as_dir=.
5176 for ac_exec_ext in '' $ac_executable_extensions; do
5177 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5178 ac_cv_prog_INTLBISON="$ac_prog"
5179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5187 INTLBISON=$ac_cv_prog_INTLBISON
5188 if test -n "$INTLBISON"; then
5189 echo "$as_me:$LINENO: result: $INTLBISON" >&5
5190 echo "${ECHO_T}$INTLBISON" >&6
5192 echo "$as_me:$LINENO: result: no" >&5
5193 echo "${ECHO_T}no" >&6
5196 test -n "$INTLBISON" && break
5199 if test -z "$INTLBISON"; then
5202 echo "$as_me:$LINENO: checking version of bison" >&5
5203 echo $ECHO_N "checking version of bison... $ECHO_C" >&6
5204 ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
5205 case $ac_prog_version in
5206 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
5207 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
5208 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
5209 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
5211 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5212 echo "${ECHO_T}$ac_prog_version" >&6
5214 if test $ac_verc_fail = yes; then
5218 for lang in $ALL_LINGUAS; do
5219 GMOFILES="$GMOFILES $lang.gmo"
5220 POFILES="$POFILES $lang.po"
5234 nls_cv_header_libgt=
5246 if test "x$CATOBJEXT" != "x"; then
5247 if test "x$ALL_LINGUAS" = "x"; then
5250 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5251 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5253 for presentlang in $ALL_LINGUAS; do
5255 for desiredlang in ${LINGUAS-$ALL_LINGUAS}; do
5256 # Use the presentlang catalog if desiredlang is
5257 # a. equal to presentlang, or
5258 # b. a variant of presentlang (because in this case,
5259 # presentlang can be used as a fallback for messages
5260 # which are not translated in the desiredlang catalog).
5261 case "$desiredlang" in
5262 "$presentlang"*) useit=yes;;
5265 if test $useit = yes; then
5266 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
5269 LINGUAS=$NEW_LINGUAS
5270 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5271 echo "${ECHO_T}$LINGUAS" >&6
5274 if test -n "$LINGUAS"; then
5275 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
5280 if test -n "$ac_aux_dir"; then
5281 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
5283 if test -z "$MKINSTALLDIRS"; then
5284 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
5288 INTL_LIBTOOL_SUFFIX_PREFIX=
5292 # Find a good install program. We prefer a C program (faster),
5293 # so one script is as good as another. But avoid the broken or
5294 # incompatible versions:
5295 # SysV /etc/install, /usr/sbin/install
5296 # SunOS /usr/etc/install
5297 # IRIX /sbin/install
5299 # AmigaOS /C/install, which installs bootblocks on floppy discs
5300 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5301 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5302 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5303 # ./install, which can be erroneously created by make from ./install.sh.
5304 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5305 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5306 if test -z "$INSTALL"; then
5307 if test "${ac_cv_path_install+set}" = set; then
5308 echo $ECHO_N "(cached) $ECHO_C" >&6
5310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5314 test -z "$as_dir" && as_dir=.
5315 # Account for people who put trailing slashes in PATH elements.
5317 ./ | .// | /cC/* | \
5318 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5321 # OSF1 and SCO ODT 3.0 have their own names for install.
5322 # Don't use installbsd from OSF since it installs stuff as root
5324 for ac_prog in ginstall scoinst install; do
5325 for ac_exec_ext in '' $ac_executable_extensions; do
5326 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5327 if test $ac_prog = install &&
5328 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5329 # AIX install. It has an incompatible calling convention.
5331 elif test $ac_prog = install &&
5332 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5333 # program-specific install script used by HP pwplus--don't use.
5336 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5348 if test "${ac_cv_path_install+set}" = set; then
5349 INSTALL=$ac_cv_path_install
5351 # As a last resort, use the slow shell script. We don't cache a
5352 # path for INSTALL within a source directory, because that will
5353 # break other packages using the cache if that directory is
5354 # removed, or if the path is relative.
5355 INSTALL=$ac_install_sh
5358 echo "$as_me:$LINENO: result: $INSTALL" >&5
5359 echo "${ECHO_T}$INSTALL" >&6
5361 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5362 # It thinks the first close brace ends the variable substitution.
5363 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5365 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5367 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5370 case x"${target_os}" in
5379 save_CFLAGS="${save_CFLAGS} -pthread"
5380 dvd_LDFLAGS="${dvd_LDFLAGS} -ldvd"
5381 vcd_LDFLAGS="${vcd_LDFLAGS} -ldvd"
5385 save_CFLAGS="${save_CFLAGS} -pthread"
5389 save_CFLAGS="${save_CFLAGS} -no-cpp-precomp"
5393 if test -n "$ac_tool_prefix"; then
5394 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5395 set dummy ${ac_tool_prefix}windres; ac_word=$2
5396 echo "$as_me:$LINENO: checking for $ac_word" >&5
5397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5398 if test "${ac_cv_prog_WINDRES+set}" = set; then
5399 echo $ECHO_N "(cached) $ECHO_C" >&6
5401 if test -n "$WINDRES"; then
5402 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5408 test -z "$as_dir" && as_dir=.
5409 for ac_exec_ext in '' $ac_executable_extensions; do
5410 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5411 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5420 WINDRES=$ac_cv_prog_WINDRES
5421 if test -n "$WINDRES"; then
5422 echo "$as_me:$LINENO: result: $WINDRES" >&5
5423 echo "${ECHO_T}$WINDRES" >&6
5425 echo "$as_me:$LINENO: result: no" >&5
5426 echo "${ECHO_T}no" >&6
5430 if test -z "$ac_cv_prog_WINDRES"; then
5431 ac_ct_WINDRES=$WINDRES
5432 # Extract the first word of "windres", so it can be a program name with args.
5433 set dummy windres; ac_word=$2
5434 echo "$as_me:$LINENO: checking for $ac_word" >&5
5435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5436 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5437 echo $ECHO_N "(cached) $ECHO_C" >&6
5439 if test -n "$ac_ct_WINDRES"; then
5440 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5446 test -z "$as_dir" && as_dir=.
5447 for ac_exec_ext in '' $ac_executable_extensions; do
5448 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5449 ac_cv_prog_ac_ct_WINDRES="windres"
5450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5456 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES=":"
5459 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5460 if test -n "$ac_ct_WINDRES"; then
5461 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5462 echo "${ECHO_T}$ac_ct_WINDRES" >&6
5464 echo "$as_me:$LINENO: result: no" >&5
5465 echo "${ECHO_T}no" >&6
5468 WINDRES=$ac_ct_WINDRES
5470 WINDRES="$ac_cv_prog_WINDRES"
5473 save_CFLAGS="${save_CFLAGS} -fnative-struct -D_OFF_T_ -D_off_t=long"
5474 vlc_LDFLAGS="${vlc_LDFLAGS} -mwindows -Xlinker --force-exe-suffix"
5475 vlc_LDFLAGS="${vlc_LDFLAGS} -lws2_32 -lnetapi32"
5476 ipv4_LDFLAGS="${ipv4_LDFLAGS} -lws2_32"
5477 ipv6_LDFLAGS="${ipv6_LDFLAGS} -lws2_32"
5478 http_LDFLAGS="${http_LDFLAGS} -lws2_32"
5479 rc_LDFLAGS="${rc_LDFLAGS} -lws2_32"
5483 x11_LDFLAGS="${x11_LDFLAGS} -lsocket"
5484 xvideo_LDFLAGS="${xvideo_LDFLAGS} -lsocket"
5488 save_CFLAGS="${save_CFLAGS} -Wno-multichar -Wno-ctor-dtor-privacy -Woverloaded-virtual"
5489 vlc_LDFLAGS="${vlc_LDFLAGS} -lbe"
5490 plugins_LDFLAGS="${plugins_LDFLAGS} -nostart"
5491 beos_LDFLAGS="${beos_LDFLAGS} -lbe -lgame -lroot -ltracker -ltranslation -lstdc++.r4"
5492 ipv4_LDFLAGS="${ipv4_LDFLAGS} -lbind"
5499 if test x"${SYS}" = xmingw32
5501 plugins_CFLAGS="${plugins_CFLAGS} -fnative-struct"
5503 plugins_CFLAGS="${plugins_CFLAGS} -fPIC"
5506 save_CFLAGS="${save_CFLAGS} -DSYS_`echo ${SYS} | sed -e 's/-.*//' | tr 'abcdefghijklmnopqrstuvwxyz.' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`"
5522 for ac_func in gettimeofday select strerror strtod strtol isatty vasprintf swab sigrelse getpwuid memalign posix_memalign gethostbyname2 atoll
5524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5525 echo "$as_me:$LINENO: checking for $ac_func" >&5
5526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5527 if eval "test \"\${$as_ac_var+set}\" = set"; then
5528 echo $ECHO_N "(cached) $ECHO_C" >&6
5530 cat >conftest.$ac_ext <<_ACEOF
5531 #line $LINENO "configure"
5532 #include "confdefs.h"
5533 /* System header to define __stub macros and hopefully few prototypes,
5534 which can conflict with char $ac_func (); below. */
5536 /* Override any gcc2 internal prototype to avoid an error. */
5540 /* We use char because int might match the return type of a gcc2
5541 builtin and then its argument prototype would still apply. */
5545 #ifdef F77_DUMMY_MAIN
5549 int F77_DUMMY_MAIN() { return 1; }
5554 /* The GNU C library defines this for functions which it implements
5555 to always fail with ENOSYS. Some functions are actually named
5556 something starting with __ and the normal name is an alias. */
5557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5567 rm -f conftest.$ac_objext conftest$ac_exeext
5568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5569 (eval $ac_link) 2>&5
5571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5572 (exit $ac_status); } &&
5573 { ac_try='test -s conftest$ac_exeext'
5574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5578 (exit $ac_status); }; }; then
5579 eval "$as_ac_var=yes"
5581 echo "$as_me: failed program was:" >&5
5582 cat conftest.$ac_ext >&5
5583 eval "$as_ac_var=no"
5585 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5589 if test `eval echo '${'$as_ac_var'}'` = yes; then
5590 cat >>confdefs.h <<_ACEOF
5591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5598 echo "$as_me:$LINENO: checking for connect" >&5
5599 echo $ECHO_N "checking for connect... $ECHO_C" >&6
5600 if test "${ac_cv_func_connect+set}" = set; then
5601 echo $ECHO_N "(cached) $ECHO_C" >&6
5603 cat >conftest.$ac_ext <<_ACEOF
5604 #line $LINENO "configure"
5605 #include "confdefs.h"
5606 /* System header to define __stub macros and hopefully few prototypes,
5607 which can conflict with char connect (); below. */
5609 /* Override any gcc2 internal prototype to avoid an error. */
5613 /* We use char because int might match the return type of a gcc2
5614 builtin and then its argument prototype would still apply. */
5618 #ifdef F77_DUMMY_MAIN
5622 int F77_DUMMY_MAIN() { return 1; }
5627 /* The GNU C library defines this for functions which it implements
5628 to always fail with ENOSYS. Some functions are actually named
5629 something starting with __ and the normal name is an alias. */
5630 #if defined (__stub_connect) || defined (__stub___connect)
5640 rm -f conftest.$ac_objext conftest$ac_exeext
5641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5642 (eval $ac_link) 2>&5
5644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5645 (exit $ac_status); } &&
5646 { ac_try='test -s conftest$ac_exeext'
5647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651 (exit $ac_status); }; }; then
5652 ac_cv_func_connect=yes
5654 echo "$as_me: failed program was:" >&5
5655 cat conftest.$ac_ext >&5
5656 ac_cv_func_connect=no
5658 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5660 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
5661 echo "${ECHO_T}$ac_cv_func_connect" >&6
5662 if test $ac_cv_func_connect = yes; then
5666 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
5667 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
5668 if test "${ac_cv_lib_socket_connect+set}" = set; then
5669 echo $ECHO_N "(cached) $ECHO_C" >&6
5671 ac_check_lib_save_LIBS=$LIBS
5672 LIBS="-lsocket $LIBS"
5673 cat >conftest.$ac_ext <<_ACEOF
5674 #line $LINENO "configure"
5675 #include "confdefs.h"
5677 /* Override any gcc2 internal prototype to avoid an error. */
5681 /* We use char because int might match the return type of a gcc2
5682 builtin and then its argument prototype would still apply. */
5684 #ifdef F77_DUMMY_MAIN
5688 int F77_DUMMY_MAIN() { return 1; }
5698 rm -f conftest.$ac_objext conftest$ac_exeext
5699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5700 (eval $ac_link) 2>&5
5702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5703 (exit $ac_status); } &&
5704 { ac_try='test -s conftest$ac_exeext'
5705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5709 (exit $ac_status); }; }; then
5710 ac_cv_lib_socket_connect=yes
5712 echo "$as_me: failed program was:" >&5
5713 cat conftest.$ac_ext >&5
5714 ac_cv_lib_socket_connect=no
5716 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5717 LIBS=$ac_check_lib_save_LIBS
5719 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
5720 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
5721 if test $ac_cv_lib_socket_connect = yes; then
5722 ipv4_LDFLAGS="${ipv4_LDFLAGS} -lsocket"
5723 vlc_LDFLAGS="${vlc_LDFLAGS} -lsocket"
5729 echo "$as_me:$LINENO: checking for gethostbyname" >&5
5730 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
5731 if test "${ac_cv_func_gethostbyname+set}" = set; then
5732 echo $ECHO_N "(cached) $ECHO_C" >&6
5734 cat >conftest.$ac_ext <<_ACEOF
5735 #line $LINENO "configure"
5736 #include "confdefs.h"
5737 /* System header to define __stub macros and hopefully few prototypes,
5738 which can conflict with char gethostbyname (); below. */
5740 /* Override any gcc2 internal prototype to avoid an error. */
5744 /* We use char because int might match the return type of a gcc2
5745 builtin and then its argument prototype would still apply. */
5746 char gethostbyname ();
5749 #ifdef F77_DUMMY_MAIN
5753 int F77_DUMMY_MAIN() { return 1; }
5758 /* The GNU C library defines this for functions which it implements
5759 to always fail with ENOSYS. Some functions are actually named
5760 something starting with __ and the normal name is an alias. */
5761 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
5771 rm -f conftest.$ac_objext conftest$ac_exeext
5772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5773 (eval $ac_link) 2>&5
5775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5776 (exit $ac_status); } &&
5777 { ac_try='test -s conftest$ac_exeext'
5778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5782 (exit $ac_status); }; }; then
5783 ac_cv_func_gethostbyname=yes
5785 echo "$as_me: failed program was:" >&5
5786 cat conftest.$ac_ext >&5
5787 ac_cv_func_gethostbyname=no
5789 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5791 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
5792 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
5793 if test $ac_cv_func_gethostbyname = yes; then
5797 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5798 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
5799 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5800 echo $ECHO_N "(cached) $ECHO_C" >&6
5802 ac_check_lib_save_LIBS=$LIBS
5804 cat >conftest.$ac_ext <<_ACEOF
5805 #line $LINENO "configure"
5806 #include "confdefs.h"
5808 /* Override any gcc2 internal prototype to avoid an error. */
5812 /* We use char because int might match the return type of a gcc2
5813 builtin and then its argument prototype would still apply. */
5814 char gethostbyname ();
5815 #ifdef F77_DUMMY_MAIN
5819 int F77_DUMMY_MAIN() { return 1; }
5829 rm -f conftest.$ac_objext conftest$ac_exeext
5830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5831 (eval $ac_link) 2>&5
5833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5834 (exit $ac_status); } &&
5835 { ac_try='test -s conftest$ac_exeext'
5836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5840 (exit $ac_status); }; }; then
5841 ac_cv_lib_nsl_gethostbyname=yes
5843 echo "$as_me: failed program was:" >&5
5844 cat conftest.$ac_ext >&5
5845 ac_cv_lib_nsl_gethostbyname=no
5847 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5848 LIBS=$ac_check_lib_save_LIBS
5850 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5851 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
5852 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5853 ipv4_LDFLAGS="${ipv4_LDFLAGS} -lnsl"
5859 echo "$as_me:$LINENO: checking for gethostbyname" >&5
5860 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
5861 if test "${ac_cv_func_gethostbyname+set}" = set; then
5862 echo $ECHO_N "(cached) $ECHO_C" >&6
5864 cat >conftest.$ac_ext <<_ACEOF
5865 #line $LINENO "configure"
5866 #include "confdefs.h"
5867 /* System header to define __stub macros and hopefully few prototypes,
5868 which can conflict with char gethostbyname (); below. */
5870 /* Override any gcc2 internal prototype to avoid an error. */
5874 /* We use char because int might match the return type of a gcc2
5875 builtin and then its argument prototype would still apply. */
5876 char gethostbyname ();
5879 #ifdef F77_DUMMY_MAIN
5883 int F77_DUMMY_MAIN() { return 1; }
5888 /* The GNU C library defines this for functions which it implements
5889 to always fail with ENOSYS. Some functions are actually named
5890 something starting with __ and the normal name is an alias. */
5891 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
5901 rm -f conftest.$ac_objext conftest$ac_exeext
5902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5903 (eval $ac_link) 2>&5
5905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5906 (exit $ac_status); } &&
5907 { ac_try='test -s conftest$ac_exeext'
5908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5912 (exit $ac_status); }; }; then
5913 ac_cv_func_gethostbyname=yes
5915 echo "$as_me: failed program was:" >&5
5916 cat conftest.$ac_ext >&5
5917 ac_cv_func_gethostbyname=no
5919 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5921 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
5922 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
5923 if test $ac_cv_func_gethostbyname = yes; then
5927 echo "$as_me:$LINENO: checking for gethostbyname in -lbind" >&5
5928 echo $ECHO_N "checking for gethostbyname in -lbind... $ECHO_C" >&6
5929 if test "${ac_cv_lib_bind_gethostbyname+set}" = set; then
5930 echo $ECHO_N "(cached) $ECHO_C" >&6
5932 ac_check_lib_save_LIBS=$LIBS
5934 cat >conftest.$ac_ext <<_ACEOF
5935 #line $LINENO "configure"
5936 #include "confdefs.h"
5938 /* Override any gcc2 internal prototype to avoid an error. */
5942 /* We use char because int might match the return type of a gcc2
5943 builtin and then its argument prototype would still apply. */
5944 char gethostbyname ();
5945 #ifdef F77_DUMMY_MAIN
5949 int F77_DUMMY_MAIN() { return 1; }
5959 rm -f conftest.$ac_objext conftest$ac_exeext
5960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5961 (eval $ac_link) 2>&5
5963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5964 (exit $ac_status); } &&
5965 { ac_try='test -s conftest$ac_exeext'
5966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5970 (exit $ac_status); }; }; then
5971 ac_cv_lib_bind_gethostbyname=yes
5973 echo "$as_me: failed program was:" >&5
5974 cat conftest.$ac_ext >&5
5975 ac_cv_lib_bind_gethostbyname=no
5977 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5978 LIBS=$ac_check_lib_save_LIBS
5980 echo "$as_me:$LINENO: result: $ac_cv_lib_bind_gethostbyname" >&5
5981 echo "${ECHO_T}$ac_cv_lib_bind_gethostbyname" >&6
5982 if test $ac_cv_lib_bind_gethostbyname = yes; then
5983 ipv4_LDFLAGS="${ipv4_LDFLAGS} -lbind"
5990 echo "$as_me:$LINENO: checking for nanosleep" >&5
5991 echo $ECHO_N "checking for nanosleep... $ECHO_C" >&6
5992 if test "${ac_cv_func_nanosleep+set}" = set; then
5993 echo $ECHO_N "(cached) $ECHO_C" >&6
5995 cat >conftest.$ac_ext <<_ACEOF
5996 #line $LINENO "configure"
5997 #include "confdefs.h"
5998 /* System header to define __stub macros and hopefully few prototypes,
5999 which can conflict with char nanosleep (); below. */
6001 /* Override any gcc2 internal prototype to avoid an error. */
6005 /* We use char because int might match the return type of a gcc2
6006 builtin and then its argument prototype would still apply. */
6010 #ifdef F77_DUMMY_MAIN
6014 int F77_DUMMY_MAIN() { return 1; }
6019 /* The GNU C library defines this for functions which it implements
6020 to always fail with ENOSYS. Some functions are actually named
6021 something starting with __ and the normal name is an alias. */
6022 #if defined (__stub_nanosleep) || defined (__stub___nanosleep)
6032 rm -f conftest.$ac_objext conftest$ac_exeext
6033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6034 (eval $ac_link) 2>&5
6036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6037 (exit $ac_status); } &&
6038 { ac_try='test -s conftest$ac_exeext'
6039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6043 (exit $ac_status); }; }; then
6044 ac_cv_func_nanosleep=yes
6046 echo "$as_me: failed program was:" >&5
6047 cat conftest.$ac_ext >&5
6048 ac_cv_func_nanosleep=no
6050 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6052 echo "$as_me:$LINENO: result: $ac_cv_func_nanosleep" >&5
6053 echo "${ECHO_T}$ac_cv_func_nanosleep" >&6
6054 if test $ac_cv_func_nanosleep = yes; then
6058 echo "$as_me:$LINENO: checking for nanosleep in -lrt" >&5
6059 echo $ECHO_N "checking for nanosleep in -lrt... $ECHO_C" >&6
6060 if test "${ac_cv_lib_rt_nanosleep+set}" = set; then
6061 echo $ECHO_N "(cached) $ECHO_C" >&6
6063 ac_check_lib_save_LIBS=$LIBS
6065 cat >conftest.$ac_ext <<_ACEOF
6066 #line $LINENO "configure"
6067 #include "confdefs.h"
6069 /* Override any gcc2 internal prototype to avoid an error. */
6073 /* We use char because int might match the return type of a gcc2
6074 builtin and then its argument prototype would still apply. */
6076 #ifdef F77_DUMMY_MAIN
6080 int F77_DUMMY_MAIN() { return 1; }
6090 rm -f conftest.$ac_objext conftest$ac_exeext
6091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6092 (eval $ac_link) 2>&5
6094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6095 (exit $ac_status); } &&
6096 { ac_try='test -s conftest$ac_exeext'
6097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6101 (exit $ac_status); }; }; then
6102 ac_cv_lib_rt_nanosleep=yes
6104 echo "$as_me: failed program was:" >&5
6105 cat conftest.$ac_ext >&5
6106 ac_cv_lib_rt_nanosleep=no
6108 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6109 LIBS=$ac_check_lib_save_LIBS
6111 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_nanosleep" >&5
6112 echo "${ECHO_T}$ac_cv_lib_rt_nanosleep" >&6
6113 if test $ac_cv_lib_rt_nanosleep = yes; then
6114 vlc_LDFLAGS="${vlc_LDFLAGS} -lrt"; have_nanosleep=1
6116 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
6117 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
6118 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
6119 echo $ECHO_N "(cached) $ECHO_C" >&6
6121 ac_check_lib_save_LIBS=$LIBS
6122 LIBS="-lposix4 $LIBS"
6123 cat >conftest.$ac_ext <<_ACEOF
6124 #line $LINENO "configure"
6125 #include "confdefs.h"
6127 /* Override any gcc2 internal prototype to avoid an error. */
6131 /* We use char because int might match the return type of a gcc2
6132 builtin and then its argument prototype would still apply. */
6134 #ifdef F77_DUMMY_MAIN
6138 int F77_DUMMY_MAIN() { return 1; }
6148 rm -f conftest.$ac_objext conftest$ac_exeext
6149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6150 (eval $ac_link) 2>&5
6152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6153 (exit $ac_status); } &&
6154 { ac_try='test -s conftest$ac_exeext'
6155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6159 (exit $ac_status); }; }; then
6160 ac_cv_lib_posix4_nanosleep=yes
6162 echo "$as_me: failed program was:" >&5
6163 cat conftest.$ac_ext >&5
6164 ac_cv_lib_posix4_nanosleep=no
6166 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6167 LIBS=$ac_check_lib_save_LIBS
6169 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
6170 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
6171 if test $ac_cv_lib_posix4_nanosleep = yes; then
6172 vlc_LDFLAGS="${vlc_LDFLAGS} -lposix4"; have_nanosleep=1
6181 if test x$have_nanosleep = x1; then
6183 cat >>confdefs.h <<\_ACEOF
6184 #define HAVE_NANOSLEEP 1
6188 echo "$as_me:$LINENO: checking for inet_aton" >&5
6189 echo $ECHO_N "checking for inet_aton... $ECHO_C" >&6
6190 if test "${ac_cv_func_inet_aton+set}" = set; then
6191 echo $ECHO_N "(cached) $ECHO_C" >&6
6193 cat >conftest.$ac_ext <<_ACEOF
6194 #line $LINENO "configure"
6195 #include "confdefs.h"
6196 /* System header to define __stub macros and hopefully few prototypes,
6197 which can conflict with char inet_aton (); below. */
6199 /* Override any gcc2 internal prototype to avoid an error. */
6203 /* We use char because int might match the return type of a gcc2
6204 builtin and then its argument prototype would still apply. */
6208 #ifdef F77_DUMMY_MAIN
6212 int F77_DUMMY_MAIN() { return 1; }
6217 /* The GNU C library defines this for functions which it implements
6218 to always fail with ENOSYS. Some functions are actually named
6219 something starting with __ and the normal name is an alias. */
6220 #if defined (__stub_inet_aton) || defined (__stub___inet_aton)
6230 rm -f conftest.$ac_objext conftest$ac_exeext
6231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6232 (eval $ac_link) 2>&5
6234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6235 (exit $ac_status); } &&
6236 { ac_try='test -s conftest$ac_exeext'
6237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6241 (exit $ac_status); }; }; then
6242 ac_cv_func_inet_aton=yes
6244 echo "$as_me: failed program was:" >&5
6245 cat conftest.$ac_ext >&5
6246 ac_cv_func_inet_aton=no
6248 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6250 echo "$as_me:$LINENO: result: $ac_cv_func_inet_aton" >&5
6251 echo "${ECHO_T}$ac_cv_func_inet_aton" >&6
6252 if test $ac_cv_func_inet_aton = yes; then
6256 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
6257 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
6258 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
6259 echo $ECHO_N "(cached) $ECHO_C" >&6
6261 ac_check_lib_save_LIBS=$LIBS
6262 LIBS="-lresolv $LIBS"
6263 cat >conftest.$ac_ext <<_ACEOF
6264 #line $LINENO "configure"
6265 #include "confdefs.h"
6267 /* Override any gcc2 internal prototype to avoid an error. */
6271 /* We use char because int might match the return type of a gcc2
6272 builtin and then its argument prototype would still apply. */
6274 #ifdef F77_DUMMY_MAIN
6278 int F77_DUMMY_MAIN() { return 1; }
6288 rm -f conftest.$ac_objext conftest$ac_exeext
6289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6290 (eval $ac_link) 2>&5
6292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293 (exit $ac_status); } &&
6294 { ac_try='test -s conftest$ac_exeext'
6295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6299 (exit $ac_status); }; }; then
6300 ac_cv_lib_resolv_inet_aton=yes
6302 echo "$as_me: failed program was:" >&5
6303 cat conftest.$ac_ext >&5
6304 ac_cv_lib_resolv_inet_aton=no
6306 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6307 LIBS=$ac_check_lib_save_LIBS
6309 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
6310 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
6311 if test $ac_cv_lib_resolv_inet_aton = yes; then
6312 ipv4_LDFLAGS="${ipv4_LDFLAGS} -lresolv"
6318 echo "$as_me:$LINENO: checking for textdomain" >&5
6319 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6
6320 if test "${ac_cv_func_textdomain+set}" = set; then
6321 echo $ECHO_N "(cached) $ECHO_C" >&6
6323 cat >conftest.$ac_ext <<_ACEOF
6324 #line $LINENO "configure"
6325 #include "confdefs.h"
6326 /* System header to define __stub macros and hopefully few prototypes,
6327 which can conflict with char textdomain (); below. */
6329 /* Override any gcc2 internal prototype to avoid an error. */
6333 /* We use char because int might match the return type of a gcc2
6334 builtin and then its argument prototype would still apply. */
6338 #ifdef F77_DUMMY_MAIN
6342 int F77_DUMMY_MAIN() { return 1; }
6347 /* The GNU C library defines this for functions which it implements
6348 to always fail with ENOSYS. Some functions are actually named
6349 something starting with __ and the normal name is an alias. */
6350 #if defined (__stub_textdomain) || defined (__stub___textdomain)
6360 rm -f conftest.$ac_objext conftest$ac_exeext
6361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6362 (eval $ac_link) 2>&5
6364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6365 (exit $ac_status); } &&
6366 { ac_try='test -s conftest$ac_exeext'
6367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6371 (exit $ac_status); }; }; then
6372 ac_cv_func_textdomain=yes
6374 echo "$as_me: failed program was:" >&5
6375 cat conftest.$ac_ext >&5
6376 ac_cv_func_textdomain=no
6378 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6380 echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5
6381 echo "${ECHO_T}$ac_cv_func_textdomain" >&6
6382 if test $ac_cv_func_textdomain = yes; then
6386 echo "$as_me:$LINENO: checking for textdomain in -lintl" >&5
6387 echo $ECHO_N "checking for textdomain in -lintl... $ECHO_C" >&6
6388 if test "${ac_cv_lib_intl_textdomain+set}" = set; then
6389 echo $ECHO_N "(cached) $ECHO_C" >&6
6391 ac_check_lib_save_LIBS=$LIBS
6393 cat >conftest.$ac_ext <<_ACEOF
6394 #line $LINENO "configure"
6395 #include "confdefs.h"
6397 /* Override any gcc2 internal prototype to avoid an error. */
6401 /* We use char because int might match the return type of a gcc2
6402 builtin and then its argument prototype would still apply. */
6404 #ifdef F77_DUMMY_MAIN
6408 int F77_DUMMY_MAIN() { return 1; }
6418 rm -f conftest.$ac_objext conftest$ac_exeext
6419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6420 (eval $ac_link) 2>&5
6422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6423 (exit $ac_status); } &&
6424 { ac_try='test -s conftest$ac_exeext'
6425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6429 (exit $ac_status); }; }; then
6430 ac_cv_lib_intl_textdomain=yes
6432 echo "$as_me: failed program was:" >&5
6433 cat conftest.$ac_ext >&5
6434 ac_cv_lib_intl_textdomain=no
6436 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6437 LIBS=$ac_check_lib_save_LIBS
6439 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_textdomain" >&5
6440 echo "${ECHO_T}$ac_cv_lib_intl_textdomain" >&6
6441 if test $ac_cv_lib_intl_textdomain = yes; then
6442 save_LDFLAGS="${save_LDFLAGS} -lintl"
6450 echo "$as_me:$LINENO: checking for getopt_long" >&5
6451 echo $ECHO_N "checking for getopt_long... $ECHO_C" >&6
6452 if test "${ac_cv_func_getopt_long+set}" = set; then
6453 echo $ECHO_N "(cached) $ECHO_C" >&6
6455 cat >conftest.$ac_ext <<_ACEOF
6456 #line $LINENO "configure"
6457 #include "confdefs.h"
6458 /* System header to define __stub macros and hopefully few prototypes,
6459 which can conflict with char getopt_long (); below. */
6461 /* Override any gcc2 internal prototype to avoid an error. */
6465 /* We use char because int might match the return type of a gcc2
6466 builtin and then its argument prototype would still apply. */
6467 char getopt_long ();
6470 #ifdef F77_DUMMY_MAIN
6474 int F77_DUMMY_MAIN() { return 1; }
6479 /* The GNU C library defines this for functions which it implements
6480 to always fail with ENOSYS. Some functions are actually named
6481 something starting with __ and the normal name is an alias. */
6482 #if defined (__stub_getopt_long) || defined (__stub___getopt_long)
6492 rm -f conftest.$ac_objext conftest$ac_exeext
6493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6494 (eval $ac_link) 2>&5
6496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6497 (exit $ac_status); } &&
6498 { ac_try='test -s conftest$ac_exeext'
6499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6503 (exit $ac_status); }; }; then
6504 ac_cv_func_getopt_long=yes
6506 echo "$as_me: failed program was:" >&5
6507 cat conftest.$ac_ext >&5
6508 ac_cv_func_getopt_long=no
6510 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6512 echo "$as_me:$LINENO: result: $ac_cv_func_getopt_long" >&5
6513 echo "${ECHO_T}$ac_cv_func_getopt_long" >&6
6514 if test $ac_cv_func_getopt_long = yes; then
6516 cat >>confdefs.h <<\_ACEOF
6517 #define HAVE_GETOPT_LONG 1
6521 # FreeBSD has a gnugetopt library for this:
6522 echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5
6523 echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6
6524 if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
6525 echo $ECHO_N "(cached) $ECHO_C" >&6
6527 ac_check_lib_save_LIBS=$LIBS
6528 LIBS="-lgnugetopt $LIBS"
6529 cat >conftest.$ac_ext <<_ACEOF
6530 #line $LINENO "configure"
6531 #include "confdefs.h"
6533 /* Override any gcc2 internal prototype to avoid an error. */
6537 /* We use char because int might match the return type of a gcc2
6538 builtin and then its argument prototype would still apply. */
6539 char getopt_long ();
6540 #ifdef F77_DUMMY_MAIN
6544 int F77_DUMMY_MAIN() { return 1; }
6554 rm -f conftest.$ac_objext conftest$ac_exeext
6555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6556 (eval $ac_link) 2>&5
6558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6559 (exit $ac_status); } &&
6560 { ac_try='test -s conftest$ac_exeext'
6561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6565 (exit $ac_status); }; }; then
6566 ac_cv_lib_gnugetopt_getopt_long=yes
6568 echo "$as_me: failed program was:" >&5
6569 cat conftest.$ac_ext >&5
6570 ac_cv_lib_gnugetopt_getopt_long=no
6572 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6573 LIBS=$ac_check_lib_save_LIBS
6575 echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
6576 echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6
6577 if test $ac_cv_lib_gnugetopt_getopt_long = yes; then
6579 cat >>confdefs.h <<\_ACEOF
6580 #define HAVE_GETOPT_LONG 1
6582 vlc_LDFLAGS="${vlc_LDFLAGS} -lgnugetopt"
6590 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6591 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
6592 if test "${ac_cv_type_signal+set}" = set; then
6593 echo $ECHO_N "(cached) $ECHO_C" >&6
6595 cat >conftest.$ac_ext <<_ACEOF
6596 #line $LINENO "configure"
6597 #include "confdefs.h"
6598 #include <sys/types.h>
6604 extern "C" void (*signal (int, void (*)(int)))(int);
6606 void (*signal ()) ();
6609 #ifdef F77_DUMMY_MAIN
6613 int F77_DUMMY_MAIN() { return 1; }
6623 rm -f conftest.$ac_objext
6624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6625 (eval $ac_compile) 2>&5
6627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6628 (exit $ac_status); } &&
6629 { ac_try='test -s conftest.$ac_objext'
6630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6634 (exit $ac_status); }; }; then
6635 ac_cv_type_signal=void
6637 echo "$as_me: failed program was:" >&5
6638 cat conftest.$ac_ext >&5
6639 ac_cv_type_signal=int
6641 rm -f conftest.$ac_objext conftest.$ac_ext
6643 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6644 echo "${ECHO_T}$ac_cv_type_signal" >&6
6646 cat >>confdefs.h <<_ACEOF
6647 #define RETSIGTYPE $ac_cv_type_signal
6651 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
6652 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
6653 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
6654 echo $ECHO_N "(cached) $ECHO_C" >&6
6656 ac_check_lib_save_LIBS=$LIBS
6658 cat >conftest.$ac_ext <<_ACEOF
6659 #line $LINENO "configure"
6660 #include "confdefs.h"
6662 /* Override any gcc2 internal prototype to avoid an error. */
6666 /* We use char because int might match the return type of a gcc2
6667 builtin and then its argument prototype would still apply. */
6669 #ifdef F77_DUMMY_MAIN
6673 int F77_DUMMY_MAIN() { return 1; }
6683 rm -f conftest.$ac_objext conftest$ac_exeext
6684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6685 (eval $ac_link) 2>&5
6687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6688 (exit $ac_status); } &&
6689 { ac_try='test -s conftest$ac_exeext'
6690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6694 (exit $ac_status); }; }; then
6695 ac_cv_lib_dl_dlopen=yes
6697 echo "$as_me: failed program was:" >&5
6698 cat conftest.$ac_ext >&5
6699 ac_cv_lib_dl_dlopen=no
6701 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6702 LIBS=$ac_check_lib_save_LIBS
6704 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
6705 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
6706 if test $ac_cv_lib_dl_dlopen = yes; then
6707 vlc_LDFLAGS="${vlc_LDFLAGS} -ldl"
6710 echo "$as_me:$LINENO: checking for cos in -lm" >&5
6711 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
6712 if test "${ac_cv_lib_m_cos+set}" = set; then
6713 echo $ECHO_N "(cached) $ECHO_C" >&6
6715 ac_check_lib_save_LIBS=$LIBS
6717 cat >conftest.$ac_ext <<_ACEOF
6718 #line $LINENO "configure"
6719 #include "confdefs.h"
6721 /* Override any gcc2 internal prototype to avoid an error. */
6725 /* We use char because int might match the return type of a gcc2
6726 builtin and then its argument prototype would still apply. */
6728 #ifdef F77_DUMMY_MAIN
6732 int F77_DUMMY_MAIN() { return 1; }
6742 rm -f conftest.$ac_objext conftest$ac_exeext
6743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6744 (eval $ac_link) 2>&5
6746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6747 (exit $ac_status); } &&
6748 { ac_try='test -s conftest$ac_exeext'
6749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6753 (exit $ac_status); }; }; then
6756 echo "$as_me: failed program was:" >&5
6757 cat conftest.$ac_ext >&5
6760 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6761 LIBS=$ac_check_lib_save_LIBS
6763 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
6764 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
6765 if test $ac_cv_lib_m_cos = yes; then
6766 imdct_LDFLAGS="${imdct_LDFLAGS} -lm"
6767 filter_distort_LDFLAGS="${filter_distort_LDFLAGS} -lm"
6770 echo "$as_me:$LINENO: checking for pow in -lm" >&5
6771 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
6772 if test "${ac_cv_lib_m_pow+set}" = set; then
6773 echo $ECHO_N "(cached) $ECHO_C" >&6
6775 ac_check_lib_save_LIBS=$LIBS
6777 cat >conftest.$ac_ext <<_ACEOF
6778 #line $LINENO "configure"
6779 #include "confdefs.h"
6781 /* Override any gcc2 internal prototype to avoid an error. */
6785 /* We use char because int might match the return type of a gcc2
6786 builtin and then its argument prototype would still apply. */
6788 #ifdef F77_DUMMY_MAIN
6792 int F77_DUMMY_MAIN() { return 1; }
6802 rm -f conftest.$ac_objext conftest$ac_exeext
6803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6804 (eval $ac_link) 2>&5
6806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6807 (exit $ac_status); } &&
6808 { ac_try='test -s conftest$ac_exeext'
6809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6813 (exit $ac_status); }; }; then
6816 echo "$as_me: failed program was:" >&5
6817 cat conftest.$ac_ext >&5
6820 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6821 LIBS=$ac_check_lib_save_LIBS
6823 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
6824 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
6825 if test $ac_cv_lib_m_pow = yes; then
6826 imdct_LDFLAGS="${imdct_LDFLAGS} -lm"
6827 imdct3dn_LDFLAGS="${imdct3dn_LDFLAGS} -lm"
6828 imdctsse_LDFLAGS="${imdctsse_LDFLAGS} -lm"
6829 chroma_i420_rgb_LDFLAGS="${chroma_i420_rgb_LDFLAGS} -lm"
6835 if test "x${THREAD_LIB}" = xerror; then
6836 echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthread" >&5
6837 echo $ECHO_N "checking for pthread_attr_init in -lpthread... $ECHO_C" >&6
6838 if test "${ac_cv_lib_pthread_pthread_attr_init+set}" = set; then
6839 echo $ECHO_N "(cached) $ECHO_C" >&6
6841 ac_check_lib_save_LIBS=$LIBS
6842 LIBS="-lpthread $LIBS"
6843 cat >conftest.$ac_ext <<_ACEOF
6844 #line $LINENO "configure"
6845 #include "confdefs.h"
6847 /* Override any gcc2 internal prototype to avoid an error. */
6851 /* We use char because int might match the return type of a gcc2
6852 builtin and then its argument prototype would still apply. */
6853 char pthread_attr_init ();
6854 #ifdef F77_DUMMY_MAIN
6858 int F77_DUMMY_MAIN() { return 1; }
6863 pthread_attr_init ();
6868 rm -f conftest.$ac_objext conftest$ac_exeext
6869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6870 (eval $ac_link) 2>&5
6872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6873 (exit $ac_status); } &&
6874 { ac_try='test -s conftest$ac_exeext'
6875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6879 (exit $ac_status); }; }; then
6880 ac_cv_lib_pthread_pthread_attr_init=yes
6882 echo "$as_me: failed program was:" >&5
6883 cat conftest.$ac_ext >&5
6884 ac_cv_lib_pthread_pthread_attr_init=no
6886 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6887 LIBS=$ac_check_lib_save_LIBS
6889 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_attr_init" >&5
6890 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_attr_init" >&6
6891 if test $ac_cv_lib_pthread_pthread_attr_init = yes; then
6892 THREAD_LIB="-lpthread"
6896 if test "x${THREAD_LIB}" = xerror; then
6897 echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthreads" >&5
6898 echo $ECHO_N "checking for pthread_attr_init in -lpthreads... $ECHO_C" >&6
6899 if test "${ac_cv_lib_pthreads_pthread_attr_init+set}" = set; then
6900 echo $ECHO_N "(cached) $ECHO_C" >&6
6902 ac_check_lib_save_LIBS=$LIBS
6903 LIBS="-lpthreads $LIBS"
6904 cat >conftest.$ac_ext <<_ACEOF
6905 #line $LINENO "configure"
6906 #include "confdefs.h"
6908 /* Override any gcc2 internal prototype to avoid an error. */
6912 /* We use char because int might match the return type of a gcc2
6913 builtin and then its argument prototype would still apply. */
6914 char pthread_attr_init ();
6915 #ifdef F77_DUMMY_MAIN
6919 int F77_DUMMY_MAIN() { return 1; }
6924 pthread_attr_init ();
6929 rm -f conftest.$ac_objext conftest$ac_exeext
6930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6931 (eval $ac_link) 2>&5
6933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6934 (exit $ac_status); } &&
6935 { ac_try='test -s conftest$ac_exeext'
6936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6940 (exit $ac_status); }; }; then
6941 ac_cv_lib_pthreads_pthread_attr_init=yes
6943 echo "$as_me: failed program was:" >&5
6944 cat conftest.$ac_ext >&5
6945 ac_cv_lib_pthreads_pthread_attr_init=no
6947 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6948 LIBS=$ac_check_lib_save_LIBS
6950 echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_pthread_attr_init" >&5
6951 echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_attr_init" >&6
6952 if test $ac_cv_lib_pthreads_pthread_attr_init = yes; then
6953 THREAD_LIB="-lpthreads"
6957 if test "x${THREAD_LIB}" = xerror; then
6958 echo "$as_me:$LINENO: checking for pthread_attr_init in -lc_r" >&5
6959 echo $ECHO_N "checking for pthread_attr_init in -lc_r... $ECHO_C" >&6
6960 if test "${ac_cv_lib_c_r_pthread_attr_init+set}" = set; then
6961 echo $ECHO_N "(cached) $ECHO_C" >&6
6963 ac_check_lib_save_LIBS=$LIBS
6965 cat >conftest.$ac_ext <<_ACEOF
6966 #line $LINENO "configure"
6967 #include "confdefs.h"
6969 /* Override any gcc2 internal prototype to avoid an error. */
6973 /* We use char because int might match the return type of a gcc2
6974 builtin and then its argument prototype would still apply. */
6975 char pthread_attr_init ();
6976 #ifdef F77_DUMMY_MAIN
6980 int F77_DUMMY_MAIN() { return 1; }
6985 pthread_attr_init ();
6990 rm -f conftest.$ac_objext conftest$ac_exeext
6991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6992 (eval $ac_link) 2>&5
6994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6995 (exit $ac_status); } &&
6996 { ac_try='test -s conftest$ac_exeext'
6997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7001 (exit $ac_status); }; }; then
7002 ac_cv_lib_c_r_pthread_attr_init=yes
7004 echo "$as_me: failed program was:" >&5
7005 cat conftest.$ac_ext >&5
7006 ac_cv_lib_c_r_pthread_attr_init=no
7008 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7009 LIBS=$ac_check_lib_save_LIBS
7011 echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_attr_init" >&5
7012 echo "${ECHO_T}$ac_cv_lib_c_r_pthread_attr_init" >&6
7013 if test $ac_cv_lib_c_r_pthread_attr_init = yes; then
7018 if test "x${THREAD_LIB}" = xerror; then
7019 echo "$as_me:$LINENO: checking for pthread_attr_init" >&5
7020 echo $ECHO_N "checking for pthread_attr_init... $ECHO_C" >&6
7021 if test "${ac_cv_func_pthread_attr_init+set}" = set; then
7022 echo $ECHO_N "(cached) $ECHO_C" >&6
7024 cat >conftest.$ac_ext <<_ACEOF
7025 #line $LINENO "configure"
7026 #include "confdefs.h"
7027 /* System header to define __stub macros and hopefully few prototypes,
7028 which can conflict with char pthread_attr_init (); below. */
7030 /* Override any gcc2 internal prototype to avoid an error. */
7034 /* We use char because int might match the return type of a gcc2
7035 builtin and then its argument prototype would still apply. */
7036 char pthread_attr_init ();
7039 #ifdef F77_DUMMY_MAIN
7043 int F77_DUMMY_MAIN() { return 1; }
7048 /* The GNU C library defines this for functions which it implements
7049 to always fail with ENOSYS. Some functions are actually named
7050 something starting with __ and the normal name is an alias. */
7051 #if defined (__stub_pthread_attr_init) || defined (__stub___pthread_attr_init)
7054 f = pthread_attr_init;
7061 rm -f conftest.$ac_objext conftest$ac_exeext
7062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7063 (eval $ac_link) 2>&5
7065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7066 (exit $ac_status); } &&
7067 { ac_try='test -s conftest$ac_exeext'
7068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7072 (exit $ac_status); }; }; then
7073 ac_cv_func_pthread_attr_init=yes
7075 echo "$as_me: failed program was:" >&5
7076 cat conftest.$ac_ext >&5
7077 ac_cv_func_pthread_attr_init=no
7079 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7081 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_init" >&5
7082 echo "${ECHO_T}$ac_cv_func_pthread_attr_init" >&6
7087 echo "$as_me:$LINENO: checking for cthread_fork in -lthreads" >&5
7088 echo $ECHO_N "checking for cthread_fork in -lthreads... $ECHO_C" >&6
7089 if test "${ac_cv_lib_threads_cthread_fork+set}" = set; then
7090 echo $ECHO_N "(cached) $ECHO_C" >&6
7092 ac_check_lib_save_LIBS=$LIBS
7093 LIBS="-lthreads $LIBS"
7094 cat >conftest.$ac_ext <<_ACEOF
7095 #line $LINENO "configure"
7096 #include "confdefs.h"
7098 /* Override any gcc2 internal prototype to avoid an error. */
7102 /* We use char because int might match the return type of a gcc2
7103 builtin and then its argument prototype would still apply. */
7104 char cthread_fork ();
7105 #ifdef F77_DUMMY_MAIN
7109 int F77_DUMMY_MAIN() { return 1; }
7119 rm -f conftest.$ac_objext conftest$ac_exeext
7120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7121 (eval $ac_link) 2>&5
7123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7124 (exit $ac_status); } &&
7125 { ac_try='test -s conftest$ac_exeext'
7126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7130 (exit $ac_status); }; }; then
7131 ac_cv_lib_threads_cthread_fork=yes
7133 echo "$as_me: failed program was:" >&5
7134 cat conftest.$ac_ext >&5
7135 ac_cv_lib_threads_cthread_fork=no
7137 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7138 LIBS=$ac_check_lib_save_LIBS
7140 echo "$as_me:$LINENO: result: $ac_cv_lib_threads_cthread_fork" >&5
7141 echo "${ECHO_T}$ac_cv_lib_threads_cthread_fork" >&6
7142 if test $ac_cv_lib_threads_cthread_fork = yes; then
7143 THREAD_LIB="-lthreads"
7147 cat >conftest.$ac_ext <<_ACEOF
7148 #line $LINENO "configure"
7149 #include "confdefs.h"
7150 #include <pthread.h>
7153 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7154 egrep "pthread_cond_t" >/dev/null 2>&1; then
7157 cat >>confdefs.h <<\_ACEOF
7158 #define PTHREAD_COND_T_IN_PTHREAD_H 1
7164 cat >conftest.$ac_ext <<_ACEOF
7165 #line $LINENO "configure"
7166 #include "confdefs.h"
7167 #include <strings.h>
7170 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7171 egrep "strncasecmp" >/dev/null 2>&1; then
7174 cat >>confdefs.h <<\_ACEOF
7175 #define STRNCASECMP_IN_STRINGS_H 1
7187 for ac_header in stdint.h getopt.h strings.h inttypes.h sys/int_types.h
7189 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7191 echo "$as_me:$LINENO: checking for $ac_header" >&5
7192 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7194 echo $ECHO_N "(cached) $ECHO_C" >&6
7196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7197 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7199 # Is the header compilable?
7200 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7201 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7202 cat >conftest.$ac_ext <<_ACEOF
7203 #line $LINENO "configure"
7204 #include "confdefs.h"
7205 $ac_includes_default
7206 #include <$ac_header>
7208 rm -f conftest.$ac_objext
7209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7210 (eval $ac_compile) 2>&5
7212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7213 (exit $ac_status); } &&
7214 { ac_try='test -s conftest.$ac_objext'
7215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7219 (exit $ac_status); }; }; then
7220 ac_header_compiler=yes
7222 echo "$as_me: failed program was:" >&5
7223 cat conftest.$ac_ext >&5
7224 ac_header_compiler=no
7226 rm -f conftest.$ac_objext conftest.$ac_ext
7227 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7228 echo "${ECHO_T}$ac_header_compiler" >&6
7230 # Is the header present?
7231 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7232 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7233 cat >conftest.$ac_ext <<_ACEOF
7234 #line $LINENO "configure"
7235 #include "confdefs.h"
7236 #include <$ac_header>
7238 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7239 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7241 egrep -v '^ *\+' conftest.er1 >conftest.err
7243 cat conftest.err >&5
7244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7245 (exit $ac_status); } >/dev/null; then
7246 if test -s conftest.err; then
7247 ac_cpp_err=$ac_c_preproc_warn_flag
7254 if test -z "$ac_cpp_err"; then
7255 ac_header_preproc=yes
7257 echo "$as_me: failed program was:" >&5
7258 cat conftest.$ac_ext >&5
7259 ac_header_preproc=no
7261 rm -f conftest.err conftest.$ac_ext
7262 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7263 echo "${ECHO_T}$ac_header_preproc" >&6
7265 # So? What about this header?
7266 case $ac_header_compiler:$ac_header_preproc in
7268 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7269 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7270 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7271 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7273 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7274 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7275 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7276 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7277 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7278 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7280 echo "$as_me:$LINENO: checking for $ac_header" >&5
7281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7283 echo $ECHO_N "(cached) $ECHO_C" >&6
7285 eval "$as_ac_Header=$ac_header_preproc"
7287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7288 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7291 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7292 cat >>confdefs.h <<_ACEOF
7293 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7305 for ac_header in sys/sockio.h fcntl.h sys/types.h sys/time.h sys/times.h
7307 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7308 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7309 echo "$as_me:$LINENO: checking for $ac_header" >&5
7310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7312 echo $ECHO_N "(cached) $ECHO_C" >&6
7314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7315 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7317 # Is the header compilable?
7318 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7319 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7320 cat >conftest.$ac_ext <<_ACEOF
7321 #line $LINENO "configure"
7322 #include "confdefs.h"
7323 $ac_includes_default
7324 #include <$ac_header>
7326 rm -f conftest.$ac_objext
7327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7328 (eval $ac_compile) 2>&5
7330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7331 (exit $ac_status); } &&
7332 { ac_try='test -s conftest.$ac_objext'
7333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7337 (exit $ac_status); }; }; then
7338 ac_header_compiler=yes
7340 echo "$as_me: failed program was:" >&5
7341 cat conftest.$ac_ext >&5
7342 ac_header_compiler=no
7344 rm -f conftest.$ac_objext conftest.$ac_ext
7345 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7346 echo "${ECHO_T}$ac_header_compiler" >&6
7348 # Is the header present?
7349 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7350 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7351 cat >conftest.$ac_ext <<_ACEOF
7352 #line $LINENO "configure"
7353 #include "confdefs.h"
7354 #include <$ac_header>
7356 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7357 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7359 egrep -v '^ *\+' conftest.er1 >conftest.err
7361 cat conftest.err >&5
7362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7363 (exit $ac_status); } >/dev/null; then
7364 if test -s conftest.err; then
7365 ac_cpp_err=$ac_c_preproc_warn_flag
7372 if test -z "$ac_cpp_err"; then
7373 ac_header_preproc=yes
7375 echo "$as_me: failed program was:" >&5
7376 cat conftest.$ac_ext >&5
7377 ac_header_preproc=no
7379 rm -f conftest.err conftest.$ac_ext
7380 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7381 echo "${ECHO_T}$ac_header_preproc" >&6
7383 # So? What about this header?
7384 case $ac_header_compiler:$ac_header_preproc in
7386 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7387 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7388 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7389 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7391 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7392 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7393 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7394 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7395 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7396 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7398 echo "$as_me:$LINENO: checking for $ac_header" >&5
7399 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7401 echo $ECHO_N "(cached) $ECHO_C" >&6
7403 eval "$as_ac_Header=$ac_header_preproc"
7405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7406 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7409 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7410 cat >>confdefs.h <<_ACEOF
7411 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7420 for ac_header in dlfcn.h image.h
7422 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7423 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7424 echo "$as_me:$LINENO: checking for $ac_header" >&5
7425 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7426 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7427 echo $ECHO_N "(cached) $ECHO_C" >&6
7429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7430 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7432 # Is the header compilable?
7433 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7434 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7435 cat >conftest.$ac_ext <<_ACEOF
7436 #line $LINENO "configure"
7437 #include "confdefs.h"
7438 $ac_includes_default
7439 #include <$ac_header>
7441 rm -f conftest.$ac_objext
7442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7443 (eval $ac_compile) 2>&5
7445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446 (exit $ac_status); } &&
7447 { ac_try='test -s conftest.$ac_objext'
7448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7452 (exit $ac_status); }; }; then
7453 ac_header_compiler=yes
7455 echo "$as_me: failed program was:" >&5
7456 cat conftest.$ac_ext >&5
7457 ac_header_compiler=no
7459 rm -f conftest.$ac_objext conftest.$ac_ext
7460 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7461 echo "${ECHO_T}$ac_header_compiler" >&6
7463 # Is the header present?
7464 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7465 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7466 cat >conftest.$ac_ext <<_ACEOF
7467 #line $LINENO "configure"
7468 #include "confdefs.h"
7469 #include <$ac_header>
7471 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7472 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7474 egrep -v '^ *\+' conftest.er1 >conftest.err
7476 cat conftest.err >&5
7477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7478 (exit $ac_status); } >/dev/null; then
7479 if test -s conftest.err; then
7480 ac_cpp_err=$ac_c_preproc_warn_flag
7487 if test -z "$ac_cpp_err"; then
7488 ac_header_preproc=yes
7490 echo "$as_me: failed program was:" >&5
7491 cat conftest.$ac_ext >&5
7492 ac_header_preproc=no
7494 rm -f conftest.err conftest.$ac_ext
7495 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7496 echo "${ECHO_T}$ac_header_preproc" >&6
7498 # So? What about this header?
7499 case $ac_header_compiler:$ac_header_preproc in
7501 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7502 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7503 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7504 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7506 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7507 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7508 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7509 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7510 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7511 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7513 echo "$as_me:$LINENO: checking for $ac_header" >&5
7514 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7515 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7516 echo $ECHO_N "(cached) $ECHO_C" >&6
7518 eval "$as_ac_Header=$ac_header_preproc"
7520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7521 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7524 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7525 cat >>confdefs.h <<_ACEOF
7526 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7537 for ac_header in arpa/inet.h net/if.h netinet/in.h sys/socket.h
7539 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7540 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7541 echo "$as_me:$LINENO: checking for $ac_header" >&5
7542 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7543 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7544 echo $ECHO_N "(cached) $ECHO_C" >&6
7546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7547 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7549 # Is the header compilable?
7550 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7551 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7552 cat >conftest.$ac_ext <<_ACEOF
7553 #line $LINENO "configure"
7554 #include "confdefs.h"
7555 $ac_includes_default
7556 #include <$ac_header>
7558 rm -f conftest.$ac_objext
7559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7560 (eval $ac_compile) 2>&5
7562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7563 (exit $ac_status); } &&
7564 { ac_try='test -s conftest.$ac_objext'
7565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7569 (exit $ac_status); }; }; then
7570 ac_header_compiler=yes
7572 echo "$as_me: failed program was:" >&5
7573 cat conftest.$ac_ext >&5
7574 ac_header_compiler=no
7576 rm -f conftest.$ac_objext conftest.$ac_ext
7577 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7578 echo "${ECHO_T}$ac_header_compiler" >&6
7580 # Is the header present?
7581 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7582 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7583 cat >conftest.$ac_ext <<_ACEOF
7584 #line $LINENO "configure"
7585 #include "confdefs.h"
7586 #include <$ac_header>
7588 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7589 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7591 egrep -v '^ *\+' conftest.er1 >conftest.err
7593 cat conftest.err >&5
7594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7595 (exit $ac_status); } >/dev/null; then
7596 if test -s conftest.err; then
7597 ac_cpp_err=$ac_c_preproc_warn_flag
7604 if test -z "$ac_cpp_err"; then
7605 ac_header_preproc=yes
7607 echo "$as_me: failed program was:" >&5
7608 cat conftest.$ac_ext >&5
7609 ac_header_preproc=no
7611 rm -f conftest.err conftest.$ac_ext
7612 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7613 echo "${ECHO_T}$ac_header_preproc" >&6
7615 # So? What about this header?
7616 case $ac_header_compiler:$ac_header_preproc in
7618 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7619 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7621 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7623 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7624 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7625 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7626 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7627 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7628 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7630 echo "$as_me:$LINENO: checking for $ac_header" >&5
7631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7633 echo $ECHO_N "(cached) $ECHO_C" >&6
7635 eval "$as_ac_Header=$ac_header_preproc"
7637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7638 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7641 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7642 cat >>confdefs.h <<_ACEOF
7643 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7652 for ac_header in machine/param.h sys/shm.h
7654 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7656 echo "$as_me:$LINENO: checking for $ac_header" >&5
7657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7659 echo $ECHO_N "(cached) $ECHO_C" >&6
7661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7662 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7664 # Is the header compilable?
7665 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7666 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7667 cat >conftest.$ac_ext <<_ACEOF
7668 #line $LINENO "configure"
7669 #include "confdefs.h"
7670 $ac_includes_default
7671 #include <$ac_header>
7673 rm -f conftest.$ac_objext
7674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7675 (eval $ac_compile) 2>&5
7677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7678 (exit $ac_status); } &&
7679 { ac_try='test -s conftest.$ac_objext'
7680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7684 (exit $ac_status); }; }; then
7685 ac_header_compiler=yes
7687 echo "$as_me: failed program was:" >&5
7688 cat conftest.$ac_ext >&5
7689 ac_header_compiler=no
7691 rm -f conftest.$ac_objext conftest.$ac_ext
7692 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7693 echo "${ECHO_T}$ac_header_compiler" >&6
7695 # Is the header present?
7696 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7697 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7698 cat >conftest.$ac_ext <<_ACEOF
7699 #line $LINENO "configure"
7700 #include "confdefs.h"
7701 #include <$ac_header>
7703 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7704 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7706 egrep -v '^ *\+' conftest.er1 >conftest.err
7708 cat conftest.err >&5
7709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7710 (exit $ac_status); } >/dev/null; then
7711 if test -s conftest.err; then
7712 ac_cpp_err=$ac_c_preproc_warn_flag
7719 if test -z "$ac_cpp_err"; then
7720 ac_header_preproc=yes
7722 echo "$as_me: failed program was:" >&5
7723 cat conftest.$ac_ext >&5
7724 ac_header_preproc=no
7726 rm -f conftest.err conftest.$ac_ext
7727 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7728 echo "${ECHO_T}$ac_header_preproc" >&6
7730 # So? What about this header?
7731 case $ac_header_compiler:$ac_header_preproc in
7733 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7734 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7735 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7736 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7738 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7739 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7740 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7741 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7742 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7743 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7745 echo "$as_me:$LINENO: checking for $ac_header" >&5
7746 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7748 echo $ECHO_N "(cached) $ECHO_C" >&6
7750 eval "$as_ac_Header=$ac_header_preproc"
7752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7753 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7756 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7757 cat >>confdefs.h <<_ACEOF
7758 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7766 for ac_header in linux/version.h
7768 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7769 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7770 echo "$as_me:$LINENO: checking for $ac_header" >&5
7771 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7772 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7773 echo $ECHO_N "(cached) $ECHO_C" >&6
7775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7776 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7778 # Is the header compilable?
7779 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7780 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7781 cat >conftest.$ac_ext <<_ACEOF
7782 #line $LINENO "configure"
7783 #include "confdefs.h"
7784 $ac_includes_default
7785 #include <$ac_header>
7787 rm -f conftest.$ac_objext
7788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7789 (eval $ac_compile) 2>&5
7791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7792 (exit $ac_status); } &&
7793 { ac_try='test -s conftest.$ac_objext'
7794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7798 (exit $ac_status); }; }; then
7799 ac_header_compiler=yes
7801 echo "$as_me: failed program was:" >&5
7802 cat conftest.$ac_ext >&5
7803 ac_header_compiler=no
7805 rm -f conftest.$ac_objext conftest.$ac_ext
7806 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7807 echo "${ECHO_T}$ac_header_compiler" >&6
7809 # Is the header present?
7810 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7811 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7812 cat >conftest.$ac_ext <<_ACEOF
7813 #line $LINENO "configure"
7814 #include "confdefs.h"
7815 #include <$ac_header>
7817 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7818 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7820 egrep -v '^ *\+' conftest.er1 >conftest.err
7822 cat conftest.err >&5
7823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7824 (exit $ac_status); } >/dev/null; then
7825 if test -s conftest.err; then
7826 ac_cpp_err=$ac_c_preproc_warn_flag
7833 if test -z "$ac_cpp_err"; then
7834 ac_header_preproc=yes
7836 echo "$as_me: failed program was:" >&5
7837 cat conftest.$ac_ext >&5
7838 ac_header_preproc=no
7840 rm -f conftest.err conftest.$ac_ext
7841 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7842 echo "${ECHO_T}$ac_header_preproc" >&6
7844 # So? What about this header?
7845 case $ac_header_compiler:$ac_header_preproc in
7847 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7848 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7849 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7850 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7852 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7853 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7854 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7855 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7856 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7857 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7859 echo "$as_me:$LINENO: checking for $ac_header" >&5
7860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7861 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7862 echo $ECHO_N "(cached) $ECHO_C" >&6
7864 eval "$as_ac_Header=$ac_header_preproc"
7866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7867 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7870 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7871 cat >>confdefs.h <<_ACEOF
7872 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7880 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
7881 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
7882 if test "${ac_cv_header_time+set}" = set; then
7883 echo $ECHO_N "(cached) $ECHO_C" >&6
7885 cat >conftest.$ac_ext <<_ACEOF
7886 #line $LINENO "configure"
7887 #include "confdefs.h"
7888 #include <sys/types.h>
7889 #include <sys/time.h>
7892 #ifdef F77_DUMMY_MAIN
7896 int F77_DUMMY_MAIN() { return 1; }
7901 if ((struct tm *) 0)
7907 rm -f conftest.$ac_objext
7908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7909 (eval $ac_compile) 2>&5
7911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7912 (exit $ac_status); } &&
7913 { ac_try='test -s conftest.$ac_objext'
7914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7918 (exit $ac_status); }; }; then
7919 ac_cv_header_time=yes
7921 echo "$as_me: failed program was:" >&5
7922 cat conftest.$ac_ext >&5
7923 ac_cv_header_time=no
7925 rm -f conftest.$ac_objext conftest.$ac_ext
7927 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
7928 echo "${ECHO_T}$ac_cv_header_time" >&6
7929 if test $ac_cv_header_time = yes; then
7931 cat >>confdefs.h <<\_ACEOF
7932 #define TIME_WITH_SYS_TIME 1
7938 cat >conftest.$ac_ext <<_ACEOF
7939 #line $LINENO "configure"
7940 #include "confdefs.h"
7944 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7945 egrep "nanosleep" >/dev/null 2>&1; then
7948 cat >>confdefs.h <<\_ACEOF
7949 #define HAVE_DECL_NANOSLEEP 1
7957 cat >conftest.$ac_ext <<_ACEOF
7958 #line $LINENO "configure"
7959 #include "confdefs.h"
7960 #include <sys/time.h>
7963 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7964 egrep "timespec" >/dev/null 2>&1; then
7967 cat >>confdefs.h <<\_ACEOF
7968 #define HAVE_STRUCT_TIMESPEC 1
7980 for ac_header in cthreads.h pthread.h kernel/scheduler.h kernel/OS.h
7982 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7983 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7984 echo "$as_me:$LINENO: checking for $ac_header" >&5
7985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7987 echo $ECHO_N "(cached) $ECHO_C" >&6
7989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7990 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7992 # Is the header compilable?
7993 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7994 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7995 cat >conftest.$ac_ext <<_ACEOF
7996 #line $LINENO "configure"
7997 #include "confdefs.h"
7998 $ac_includes_default
7999 #include <$ac_header>
8001 rm -f conftest.$ac_objext
8002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8003 (eval $ac_compile) 2>&5
8005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8006 (exit $ac_status); } &&
8007 { ac_try='test -s conftest.$ac_objext'
8008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8012 (exit $ac_status); }; }; then
8013 ac_header_compiler=yes
8015 echo "$as_me: failed program was:" >&5
8016 cat conftest.$ac_ext >&5
8017 ac_header_compiler=no
8019 rm -f conftest.$ac_objext conftest.$ac_ext
8020 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8021 echo "${ECHO_T}$ac_header_compiler" >&6
8023 # Is the header present?
8024 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8025 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8026 cat >conftest.$ac_ext <<_ACEOF
8027 #line $LINENO "configure"
8028 #include "confdefs.h"
8029 #include <$ac_header>
8031 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8032 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8034 egrep -v '^ *\+' conftest.er1 >conftest.err
8036 cat conftest.err >&5
8037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8038 (exit $ac_status); } >/dev/null; then
8039 if test -s conftest.err; then
8040 ac_cpp_err=$ac_c_preproc_warn_flag
8047 if test -z "$ac_cpp_err"; then
8048 ac_header_preproc=yes
8050 echo "$as_me: failed program was:" >&5
8051 cat conftest.$ac_ext >&5
8052 ac_header_preproc=no
8054 rm -f conftest.err conftest.$ac_ext
8055 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8056 echo "${ECHO_T}$ac_header_preproc" >&6
8058 # So? What about this header?
8059 case $ac_header_compiler:$ac_header_preproc in
8061 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8062 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8063 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8064 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8066 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8067 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8068 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8069 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8070 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8071 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8073 echo "$as_me:$LINENO: checking for $ac_header" >&5
8074 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8076 echo $ECHO_N "(cached) $ECHO_C" >&6
8078 eval "$as_ac_Header=$ac_header_preproc"
8080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8081 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8084 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8085 cat >>confdefs.h <<_ACEOF
8086 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8094 if test x$SYS != xmingw32
8096 if test x$x_includes = xNONE; then
8097 x_includes=/usr/X11R6/include
8099 if test x$x_libraries = xNONE; then
8100 x_libraries=/usr/X11R6/lib
8102 CPPFLAGS="$save_CPPFLAGS -I$x_includes"
8104 for ac_header in X11/extensions/dpms.h
8106 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8107 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8108 echo "$as_me:$LINENO: checking for $ac_header" >&5
8109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8111 echo $ECHO_N "(cached) $ECHO_C" >&6
8113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8114 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8116 # Is the header compilable?
8117 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8118 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8119 cat >conftest.$ac_ext <<_ACEOF
8120 #line $LINENO "configure"
8121 #include "confdefs.h"
8122 $ac_includes_default
8123 #include <$ac_header>
8125 rm -f conftest.$ac_objext
8126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8127 (eval $ac_compile) 2>&5
8129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8130 (exit $ac_status); } &&
8131 { ac_try='test -s conftest.$ac_objext'
8132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8136 (exit $ac_status); }; }; then
8137 ac_header_compiler=yes
8139 echo "$as_me: failed program was:" >&5
8140 cat conftest.$ac_ext >&5
8141 ac_header_compiler=no
8143 rm -f conftest.$ac_objext conftest.$ac_ext
8144 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8145 echo "${ECHO_T}$ac_header_compiler" >&6
8147 # Is the header present?
8148 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8149 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8150 cat >conftest.$ac_ext <<_ACEOF
8151 #line $LINENO "configure"
8152 #include "confdefs.h"
8153 #include <$ac_header>
8155 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8156 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8158 egrep -v '^ *\+' conftest.er1 >conftest.err
8160 cat conftest.err >&5
8161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8162 (exit $ac_status); } >/dev/null; then
8163 if test -s conftest.err; then
8164 ac_cpp_err=$ac_c_preproc_warn_flag
8171 if test -z "$ac_cpp_err"; then
8172 ac_header_preproc=yes
8174 echo "$as_me: failed program was:" >&5
8175 cat conftest.$ac_ext >&5
8176 ac_header_preproc=no
8178 rm -f conftest.err conftest.$ac_ext
8179 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8180 echo "${ECHO_T}$ac_header_preproc" >&6
8182 # So? What about this header?
8183 case $ac_header_compiler:$ac_header_preproc in
8185 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8186 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8187 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8188 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8190 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8191 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8192 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8193 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8195 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8197 echo "$as_me:$LINENO: checking for $ac_header" >&5
8198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8199 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8200 echo $ECHO_N "(cached) $ECHO_C" >&6
8202 eval "$as_ac_Header=$ac_header_preproc"
8204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8205 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8208 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8209 cat >>confdefs.h <<_ACEOF
8210 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8213 cat >conftest.$ac_ext <<_ACEOF
8214 #line $LINENO "configure"
8215 #include "confdefs.h"
8216 #include <X11/extensions/dpms.h>
8219 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8220 egrep "DPMSInfo" >/dev/null 2>&1; then
8223 cat >>confdefs.h <<\_ACEOF
8224 #define DPMSINFO_IN_DPMS_H 1
8236 CPPFLAGS="$save_CPPFLAGS"
8239 echo "$as_me:$LINENO: checking for ntohl in sys/param.h" >&5
8240 echo $ECHO_N "checking for ntohl in sys/param.h... $ECHO_C" >&6
8241 if test "${ac_cv_c_ntohl_sys_param_h+set}" = set; then
8242 echo $ECHO_N "(cached) $ECHO_C" >&6
8244 CFLAGS="${save_CFLAGS} -Wall -Werror"
8245 cat >conftest.$ac_ext <<_ACEOF
8246 #line $LINENO "configure"
8247 #include "confdefs.h"
8248 #include <sys/param.h>
8249 #ifdef F77_DUMMY_MAIN
8253 int F77_DUMMY_MAIN() { return 1; }
8258 void foo() { int meuh; ntohl(meuh); }
8263 rm -f conftest.$ac_objext
8264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8265 (eval $ac_compile) 2>&5
8267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8268 (exit $ac_status); } &&
8269 { ac_try='test -s conftest.$ac_objext'
8270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8274 (exit $ac_status); }; }; then
8275 ac_cv_c_ntohl_sys_param_h=yes
8277 echo "$as_me: failed program was:" >&5
8278 cat conftest.$ac_ext >&5
8279 ac_cv_c_ntohl_sys_param_h=no
8281 rm -f conftest.$ac_objext conftest.$ac_ext
8283 echo "$as_me:$LINENO: result: $ac_cv_c_ntohl_sys_param_h" >&5
8284 echo "${ECHO_T}$ac_cv_c_ntohl_sys_param_h" >&6
8285 if test x"$ac_cv_c_ntohl_sys_param_h" != x"no"; then
8287 cat >>confdefs.h <<\_ACEOF
8288 #define NTOHL_IN_SYS_PARAM_H 1
8293 echo "$as_me:$LINENO: checking if \$CC accepts -finline-limit" >&5
8294 echo $ECHO_N "checking if \$CC accepts -finline-limit... $ECHO_C" >&6
8295 if test "${ac_cv_c_inline_limit+set}" = set; then
8296 echo $ECHO_N "(cached) $ECHO_C" >&6
8298 CFLAGS="${save_CFLAGS} -finline-limit-30000"
8299 cat >conftest.$ac_ext <<_ACEOF
8300 #line $LINENO "configure"
8301 #include "confdefs.h"
8303 #ifdef F77_DUMMY_MAIN
8307 int F77_DUMMY_MAIN() { return 1; }
8317 rm -f conftest.$ac_objext
8318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8319 (eval $ac_compile) 2>&5
8321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8322 (exit $ac_status); } &&
8323 { ac_try='test -s conftest.$ac_objext'
8324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8328 (exit $ac_status); }; }; then
8329 ac_cv_c_inline_limit=yes
8331 echo "$as_me: failed program was:" >&5
8332 cat conftest.$ac_ext >&5
8333 ac_cv_c_inline_limit=no
8335 rm -f conftest.$ac_objext conftest.$ac_ext
8337 echo "$as_me:$LINENO: result: $ac_cv_c_inline_limit" >&5
8338 echo "${ECHO_T}$ac_cv_c_inline_limit" >&6
8339 if test x"$ac_cv_c_inline_limit" != x"no"; then
8340 save_CFLAGS="${save_CFLAGS} -finline-limit-30000"
8343 echo "$as_me:$LINENO: checking if \$CC accepts -Wall -Winline" >&5
8344 echo $ECHO_N "checking if \$CC accepts -Wall -Winline... $ECHO_C" >&6
8345 if test "${ac_cv_c_Wall_Winline+set}" = set; then
8346 echo $ECHO_N "(cached) $ECHO_C" >&6
8348 CFLAGS="${save_CFLAGS} -Wall -Winline"
8349 cat >conftest.$ac_ext <<_ACEOF
8350 #line $LINENO "configure"
8351 #include "confdefs.h"
8353 #ifdef F77_DUMMY_MAIN
8357 int F77_DUMMY_MAIN() { return 1; }
8367 rm -f conftest.$ac_objext
8368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8369 (eval $ac_compile) 2>&5
8371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8372 (exit $ac_status); } &&
8373 { ac_try='test -s conftest.$ac_objext'
8374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8378 (exit $ac_status); }; }; then
8379 ac_cv_c_Wall_Winline=yes
8381 echo "$as_me: failed program was:" >&5
8382 cat conftest.$ac_ext >&5
8383 ac_cv_c_Wall_Winline=no
8385 rm -f conftest.$ac_objext conftest.$ac_ext
8387 echo "$as_me:$LINENO: result: $ac_cv_c_Wall_Winline" >&5
8388 echo "${ECHO_T}$ac_cv_c_Wall_Winline" >&6
8389 if test x"$ac_cv_c_Wall_Winline" != x"no"; then
8390 save_CFLAGS="${save_CFLAGS} -Wall -Winline"
8392 echo "$as_me:$LINENO: checking if \$CC accepts -wall -winline" >&5
8393 echo $ECHO_N "checking if \$CC accepts -wall -winline... $ECHO_C" >&6
8394 if test "${ac_cv_c_wall_winline+set}" = set; then
8395 echo $ECHO_N "(cached) $ECHO_C" >&6
8397 CFLAGS="${save_CFLAGS} -wall -winline"
8398 cat >conftest.$ac_ext <<_ACEOF
8399 #line $LINENO "configure"
8400 #include "confdefs.h"
8402 #ifdef F77_DUMMY_MAIN
8406 int F77_DUMMY_MAIN() { return 1; }
8416 rm -f conftest.$ac_objext
8417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8418 (eval $ac_compile) 2>&5
8420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8421 (exit $ac_status); } &&
8422 { ac_try='test -s conftest.$ac_objext'
8423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8427 (exit $ac_status); }; }; then
8428 ac_cv_c_wall_winline=yes
8430 echo "$as_me: failed program was:" >&5
8431 cat conftest.$ac_ext >&5
8432 ac_cv_c_wall_winline=no
8434 rm -f conftest.$ac_objext conftest.$ac_ext
8436 echo "$as_me:$LINENO: result: $ac_cv_c_wall_winline" >&5
8437 echo "${ECHO_T}$ac_cv_c_wall_winline" >&6
8438 if test x"$ac_cv_c_wall_winline" != x"no"; then
8439 save_CFLAGS="${save_CFLAGS} -wall -winline"
8443 echo "$as_me:$LINENO: checking if \$CC accepts -pipe" >&5
8444 echo $ECHO_N "checking if \$CC accepts -pipe... $ECHO_C" >&6
8445 if test "${ac_cv_c_pipe+set}" = set; then
8446 echo $ECHO_N "(cached) $ECHO_C" >&6
8448 CFLAGS="${save_CFLAGS} -pipe"
8449 cat >conftest.$ac_ext <<_ACEOF
8450 #line $LINENO "configure"
8451 #include "confdefs.h"
8453 #ifdef F77_DUMMY_MAIN
8457 int F77_DUMMY_MAIN() { return 1; }
8467 rm -f conftest.$ac_objext
8468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8469 (eval $ac_compile) 2>&5
8471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8472 (exit $ac_status); } &&
8473 { ac_try='test -s conftest.$ac_objext'
8474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8478 (exit $ac_status); }; }; then
8481 echo "$as_me: failed program was:" >&5
8482 cat conftest.$ac_ext >&5
8485 rm -f conftest.$ac_objext conftest.$ac_ext
8487 echo "$as_me:$LINENO: result: $ac_cv_c_pipe" >&5
8488 echo "${ECHO_T}$ac_cv_c_pipe" >&6
8489 if test x"$ac_cv_c_pipe" != x"no"; then
8490 save_CFLAGS="${save_CFLAGS} -pipe"
8493 echo "$as_me:$LINENO: checking if \$CC accepts -O3" >&5
8494 echo $ECHO_N "checking if \$CC accepts -O3... $ECHO_C" >&6
8495 if test "${ac_cv_c_o3+set}" = set; then
8496 echo $ECHO_N "(cached) $ECHO_C" >&6
8498 CFLAGS="${save_CFLAGS} -O3"
8499 cat >conftest.$ac_ext <<_ACEOF
8500 #line $LINENO "configure"
8501 #include "confdefs.h"
8503 #ifdef F77_DUMMY_MAIN
8507 int F77_DUMMY_MAIN() { return 1; }
8517 rm -f conftest.$ac_objext
8518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8519 (eval $ac_compile) 2>&5
8521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8522 (exit $ac_status); } &&
8523 { ac_try='test -s conftest.$ac_objext'
8524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8528 (exit $ac_status); }; }; then
8531 echo "$as_me: failed program was:" >&5
8532 cat conftest.$ac_ext >&5
8535 rm -f conftest.$ac_objext conftest.$ac_ext
8537 echo "$as_me:$LINENO: result: $ac_cv_c_o3" >&5
8538 echo "${ECHO_T}$ac_cv_c_o3" >&6
8539 if test x"$ac_cv_c_o3" != x"no"; then
8540 CFLAGS_OPTIM="${CFLAGS_OPTIM} -O3"
8542 echo "$as_me:$LINENO: checking if \$CC accepts -O2" >&5
8543 echo $ECHO_N "checking if \$CC accepts -O2... $ECHO_C" >&6
8544 if test "${ac_cv_c_o2+set}" = set; then
8545 echo $ECHO_N "(cached) $ECHO_C" >&6
8547 CFLAGS="${save_CFLAGS} -O2"
8548 cat >conftest.$ac_ext <<_ACEOF
8549 #line $LINENO "configure"
8550 #include "confdefs.h"
8552 #ifdef F77_DUMMY_MAIN
8556 int F77_DUMMY_MAIN() { return 1; }
8566 rm -f conftest.$ac_objext
8567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8568 (eval $ac_compile) 2>&5
8570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8571 (exit $ac_status); } &&
8572 { ac_try='test -s conftest.$ac_objext'
8573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8577 (exit $ac_status); }; }; then
8580 echo "$as_me: failed program was:" >&5
8581 cat conftest.$ac_ext >&5
8584 rm -f conftest.$ac_objext conftest.$ac_ext
8586 echo "$as_me:$LINENO: result: $ac_cv_c_o2" >&5
8587 echo "${ECHO_T}$ac_cv_c_o2" >&6
8588 if test x"$ac_cv_c_o2" != x"no"; then
8589 CFLAGS_OPTIM="${CFLAGS_OPTIM} -O2"
8591 echo "$as_me:$LINENO: checking if \$CC accepts -O" >&5
8592 echo $ECHO_N "checking if \$CC accepts -O... $ECHO_C" >&6
8593 if test "${ac_cv_c_o+set}" = set; then
8594 echo $ECHO_N "(cached) $ECHO_C" >&6
8596 CFLAGS="${save_CFLAGS} -O"
8597 cat >conftest.$ac_ext <<_ACEOF
8598 #line $LINENO "configure"
8599 #include "confdefs.h"
8601 #ifdef F77_DUMMY_MAIN
8605 int F77_DUMMY_MAIN() { return 1; }
8615 rm -f conftest.$ac_objext
8616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8617 (eval $ac_compile) 2>&5
8619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8620 (exit $ac_status); } &&
8621 { ac_try='test -s conftest.$ac_objext'
8622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8626 (exit $ac_status); }; }; then
8629 echo "$as_me: failed program was:" >&5
8630 cat conftest.$ac_ext >&5
8633 rm -f conftest.$ac_objext conftest.$ac_ext
8635 echo "$as_me:$LINENO: result: $ac_cv_c_o" >&5
8636 echo "${ECHO_T}$ac_cv_c_o" >&6
8637 if test x"$ac_cv_c_o" != x"no"; then
8638 CFLAGS_OPTIM="${CFLAGS_OPTIM} -O"
8643 echo "$as_me:$LINENO: checking if \$CC accepts -ffast-math" >&5
8644 echo $ECHO_N "checking if \$CC accepts -ffast-math... $ECHO_C" >&6
8645 if test "${ac_cv_c_fast_math+set}" = set; then
8646 echo $ECHO_N "(cached) $ECHO_C" >&6
8648 CFLAGS="${save_CFLAGS} -ffast-math"
8649 cat >conftest.$ac_ext <<_ACEOF
8650 #line $LINENO "configure"
8651 #include "confdefs.h"
8653 #ifdef F77_DUMMY_MAIN
8657 int F77_DUMMY_MAIN() { return 1; }
8667 rm -f conftest.$ac_objext
8668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8669 (eval $ac_compile) 2>&5
8671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8672 (exit $ac_status); } &&
8673 { ac_try='test -s conftest.$ac_objext'
8674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8678 (exit $ac_status); }; }; then
8679 ac_cv_c_fast_math=yes
8681 echo "$as_me: failed program was:" >&5
8682 cat conftest.$ac_ext >&5
8683 ac_cv_c_fast_math=no
8685 rm -f conftest.$ac_objext conftest.$ac_ext
8687 echo "$as_me:$LINENO: result: $ac_cv_c_fast_math" >&5
8688 echo "${ECHO_T}$ac_cv_c_fast_math" >&6
8689 if test x"$ac_cv_c_fast_math" != x"no"; then
8690 CFLAGS_OPTIM="${CFLAGS_OPTIM} -ffast-math"
8693 echo "$as_me:$LINENO: checking if \$CC accepts -funroll-loops" >&5
8694 echo $ECHO_N "checking if \$CC accepts -funroll-loops... $ECHO_C" >&6
8695 if test "${ac_cv_c_unroll_loops+set}" = set; then
8696 echo $ECHO_N "(cached) $ECHO_C" >&6
8698 CFLAGS="${save_CFLAGS} -funroll-loops"
8699 cat >conftest.$ac_ext <<_ACEOF
8700 #line $LINENO "configure"
8701 #include "confdefs.h"
8703 #ifdef F77_DUMMY_MAIN
8707 int F77_DUMMY_MAIN() { return 1; }
8717 rm -f conftest.$ac_objext
8718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8719 (eval $ac_compile) 2>&5
8721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8722 (exit $ac_status); } &&
8723 { ac_try='test -s conftest.$ac_objext'
8724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728 (exit $ac_status); }; }; then
8729 ac_cv_c_unroll_loops=yes
8731 echo "$as_me: failed program was:" >&5
8732 cat conftest.$ac_ext >&5
8733 ac_cv_c_unroll_loops=no
8735 rm -f conftest.$ac_objext conftest.$ac_ext
8737 echo "$as_me:$LINENO: result: $ac_cv_c_unroll_loops" >&5
8738 echo "${ECHO_T}$ac_cv_c_unroll_loops" >&6
8739 if test x"$ac_cv_c_unroll_loops" != x"no"; then
8740 CFLAGS_OPTIM="${CFLAGS_OPTIM} -funroll-loops"
8743 echo "$as_me:$LINENO: checking if \$CC accepts -fomit-frame-pointer" >&5
8744 echo $ECHO_N "checking if \$CC accepts -fomit-frame-pointer... $ECHO_C" >&6
8745 if test "${ac_cv_c_omit_frame_pointer+set}" = set; then
8746 echo $ECHO_N "(cached) $ECHO_C" >&6
8748 CFLAGS="${save_CFLAGS} -fomit-frame-pointer"
8749 cat >conftest.$ac_ext <<_ACEOF
8750 #line $LINENO "configure"
8751 #include "confdefs.h"
8753 #ifdef F77_DUMMY_MAIN
8757 int F77_DUMMY_MAIN() { return 1; }
8767 rm -f conftest.$ac_objext
8768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8769 (eval $ac_compile) 2>&5
8771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8772 (exit $ac_status); } &&
8773 { ac_try='test -s conftest.$ac_objext'
8774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8778 (exit $ac_status); }; }; then
8779 ac_cv_c_omit_frame_pointer=yes
8781 echo "$as_me: failed program was:" >&5
8782 cat conftest.$ac_ext >&5
8783 ac_cv_c_omit_frame_pointer=no
8785 rm -f conftest.$ac_objext conftest.$ac_ext
8787 echo "$as_me:$LINENO: result: $ac_cv_c_omit_frame_pointer" >&5
8788 echo "${ECHO_T}$ac_cv_c_omit_frame_pointer" >&6
8789 if test x"$ac_cv_c_omit_frame_pointer" != x"no"; then
8790 CFLAGS_OPTIM_NODEBUG="${CFLAGS_OPTIM_NODEBUG} -fomit-frame-pointer"
8793 echo "$as_me:$LINENO: checking if \$CC accepts -bundle -undefined error -lcc_dynamic" >&5
8794 echo $ECHO_N "checking if \$CC accepts -bundle -undefined error -lcc_dynamic... $ECHO_C" >&6
8795 if test "${ac_cv_ld_darwin+set}" = set; then
8796 echo $ECHO_N "(cached) $ECHO_C" >&6
8798 CFLAGS="${save_CFLAGS} -bundle -undefined error -lcc_dynamic"
8799 cat >conftest.$ac_ext <<_ACEOF
8800 #line $LINENO "configure"
8801 #include "confdefs.h"
8803 #ifdef F77_DUMMY_MAIN
8807 int F77_DUMMY_MAIN() { return 1; }
8817 rm -f conftest.$ac_objext
8818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8819 (eval $ac_compile) 2>&5
8821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8822 (exit $ac_status); } &&
8823 { ac_try='test -s conftest.$ac_objext'
8824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8828 (exit $ac_status); }; }; then
8831 echo "$as_me: failed program was:" >&5
8832 cat conftest.$ac_ext >&5
8835 rm -f conftest.$ac_objext conftest.$ac_ext
8837 echo "$as_me:$LINENO: result: $ac_cv_ld_darwin" >&5
8838 echo "${ECHO_T}$ac_cv_ld_darwin" >&6
8839 if test x"$ac_cv_ld_darwin" != x"no"; then
8840 plugins_LDFLAGS="${plugins_LDFLAGS} -bundle -undefined error -lcc_dynamic"
8843 echo "$as_me:$LINENO: checking if \$CC accepts -shared" >&5
8844 echo $ECHO_N "checking if \$CC accepts -shared... $ECHO_C" >&6
8845 if test "${ac_cv_ld_plugins+set}" = set; then
8846 echo $ECHO_N "(cached) $ECHO_C" >&6
8848 CFLAGS="${save_CFLAGS} -shared"
8849 cat >conftest.$ac_ext <<_ACEOF
8850 #line $LINENO "configure"
8851 #include "confdefs.h"
8853 #ifdef F77_DUMMY_MAIN
8857 int F77_DUMMY_MAIN() { return 1; }
8867 rm -f conftest.$ac_objext
8868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8869 (eval $ac_compile) 2>&5
8871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8872 (exit $ac_status); } &&
8873 { ac_try='test -s conftest.$ac_objext'
8874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8878 (exit $ac_status); }; }; then
8879 ac_cv_ld_plugins=yes
8881 echo "$as_me: failed program was:" >&5
8882 cat conftest.$ac_ext >&5
8885 rm -f conftest.$ac_objext conftest.$ac_ext
8887 echo "$as_me:$LINENO: result: $ac_cv_ld_plugins" >&5
8888 echo "${ECHO_T}$ac_cv_ld_plugins" >&6
8889 if test x"$ac_cv_ld_plugins" != x"no"; then
8890 plugins_LDFLAGS="${plugins_LDFLAGS} -shared"
8893 echo "$as_me:$LINENO: checking for variadic cpp macros" >&5
8894 echo $ECHO_N "checking for variadic cpp macros... $ECHO_C" >&6
8895 if test "${ac_cv_cpp_variadic_macros+set}" = set; then
8896 echo $ECHO_N "(cached) $ECHO_C" >&6
8898 CFLAGS="${save_CFLAGS}"
8899 cat >conftest.$ac_ext <<_ACEOF
8900 #line $LINENO "configure"
8901 #include "confdefs.h"
8903 #define a(b,c...) printf(b,##c)
8904 #ifdef F77_DUMMY_MAIN
8908 int F77_DUMMY_MAIN() { return 1; }
8913 a("foo");a("%s","bar");a("%s%s","baz","quux");
8918 rm -f conftest.$ac_objext
8919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8920 (eval $ac_compile) 2>&5
8922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8923 (exit $ac_status); } &&
8924 { ac_try='test -s conftest.$ac_objext'
8925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929 (exit $ac_status); }; }; then
8930 ac_cv_cpp_variadic_macros=yes
8932 echo "$as_me: failed program was:" >&5
8933 cat conftest.$ac_ext >&5
8934 ac_cv_cpp_variadic_macros=no
8936 rm -f conftest.$ac_objext conftest.$ac_ext
8938 echo "$as_me:$LINENO: result: $ac_cv_cpp_variadic_macros" >&5
8939 echo "${ECHO_T}$ac_cv_cpp_variadic_macros" >&6
8940 if test x"$ac_cv_cpp_variadic_macros" != x"no"; then
8942 cat >>confdefs.h <<\_ACEOF
8943 #define HAVE_VARIADIC_MACROS 1
8948 echo "$as_me:$LINENO: checking __attribute__ ((aligned ())) support" >&5
8949 echo $ECHO_N "checking __attribute__ ((aligned ())) support... $ECHO_C" >&6
8950 if test "${ac_cv_c_attribute_aligned+set}" = set; then
8951 echo $ECHO_N "(cached) $ECHO_C" >&6
8953 ac_cv_c_attribute_aligned=0
8954 CFLAGS="${save_CFLAGS} -Werror"
8955 for ac_cv_c_attr_align_try in 2 4 8 16 32 64; do
8956 cat >conftest.$ac_ext <<_ACEOF
8957 #line $LINENO "configure"
8958 #include "confdefs.h"
8960 #ifdef F77_DUMMY_MAIN
8964 int F77_DUMMY_MAIN() { return 1; }
8969 static char c __attribute__ ((aligned($ac_cv_c_attr_align_try))) = 0; return c;
8974 rm -f conftest.$ac_objext
8975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8976 (eval $ac_compile) 2>&5
8978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8979 (exit $ac_status); } &&
8980 { ac_try='test -s conftest.$ac_objext'
8981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8985 (exit $ac_status); }; }; then
8986 ac_cv_c_attribute_aligned=$ac_cv_c_attr_align_try
8988 echo "$as_me: failed program was:" >&5
8989 cat conftest.$ac_ext >&5
8991 rm -f conftest.$ac_objext conftest.$ac_ext
8994 echo "$as_me:$LINENO: result: $ac_cv_c_attribute_aligned" >&5
8995 echo "${ECHO_T}$ac_cv_c_attribute_aligned" >&6
8996 if test x"$ac_cv_c_attribute_aligned" != x"0"; then
8998 cat >>confdefs.h <<_ACEOF
8999 #define ATTRIBUTE_ALIGNED_MAX $ac_cv_c_attribute_aligned
9004 CFLAGS="${save_CFLAGS}"
9005 CPPFLAGS="${save_CPPFLAGS}"
9006 LDFLAGS="${save_LDFLAGS}"
9008 echo "$as_me:$LINENO: checking for boolean_t in sys/types.h" >&5
9009 echo $ECHO_N "checking for boolean_t in sys/types.h... $ECHO_C" >&6
9010 if test "${ac_cv_c_boolean_t_sys_types_h+set}" = set; then
9011 echo $ECHO_N "(cached) $ECHO_C" >&6
9013 cat >conftest.$ac_ext <<_ACEOF
9014 #line $LINENO "configure"
9015 #include "confdefs.h"
9016 #include <sys/types.h>
9017 #ifdef F77_DUMMY_MAIN
9021 int F77_DUMMY_MAIN() { return 1; }
9031 rm -f conftest.$ac_objext
9032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9033 (eval $ac_compile) 2>&5
9035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9036 (exit $ac_status); } &&
9037 { ac_try='test -s conftest.$ac_objext'
9038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9042 (exit $ac_status); }; }; then
9043 ac_cv_c_boolean_t_sys_types_h=yes
9045 echo "$as_me: failed program was:" >&5
9046 cat conftest.$ac_ext >&5
9047 ac_cv_c_boolean_t_sys_types_h=no
9049 rm -f conftest.$ac_objext conftest.$ac_ext
9051 echo "$as_me:$LINENO: result: $ac_cv_c_boolean_t_sys_types_h" >&5
9052 echo "${ECHO_T}$ac_cv_c_boolean_t_sys_types_h" >&6
9053 if test x"$ac_cv_c_boolean_t_sys_types_h" != x"no"; then
9055 cat >>confdefs.h <<\_ACEOF
9056 #define BOOLEAN_T_IN_SYS_TYPES_H 1
9061 echo "$as_me:$LINENO: checking for boolean_t in pthread.h" >&5
9062 echo $ECHO_N "checking for boolean_t in pthread.h... $ECHO_C" >&6
9063 if test "${ac_cv_c_boolean_t_pthread_h+set}" = set; then
9064 echo $ECHO_N "(cached) $ECHO_C" >&6
9066 cat >conftest.$ac_ext <<_ACEOF
9067 #line $LINENO "configure"
9068 #include "confdefs.h"
9069 #include <pthread.h>
9070 #ifdef F77_DUMMY_MAIN
9074 int F77_DUMMY_MAIN() { return 1; }
9084 rm -f conftest.$ac_objext
9085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9086 (eval $ac_compile) 2>&5
9088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9089 (exit $ac_status); } &&
9090 { ac_try='test -s conftest.$ac_objext'
9091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9095 (exit $ac_status); }; }; then
9096 ac_cv_c_boolean_t_pthread_h=yes
9098 echo "$as_me: failed program was:" >&5
9099 cat conftest.$ac_ext >&5
9100 ac_cv_c_boolean_t_pthread_h=no
9102 rm -f conftest.$ac_objext conftest.$ac_ext
9104 echo "$as_me:$LINENO: result: $ac_cv_c_boolean_t_pthread_h" >&5
9105 echo "${ECHO_T}$ac_cv_c_boolean_t_pthread_h" >&6
9106 if test x"$ac_cv_c_boolean_t_pthread_h" != x"no"; then
9108 cat >>confdefs.h <<\_ACEOF
9109 #define BOOLEAN_T_IN_PTHREAD_H 1
9114 echo "$as_me:$LINENO: checking for boolean_t in cthreads.h" >&5
9115 echo $ECHO_N "checking for boolean_t in cthreads.h... $ECHO_C" >&6
9116 if test "${ac_cv_c_boolean_t_cthreads_h+set}" = set; then
9117 echo $ECHO_N "(cached) $ECHO_C" >&6
9119 cat >conftest.$ac_ext <<_ACEOF
9120 #line $LINENO "configure"
9121 #include "confdefs.h"
9122 #include <cthreads.h>
9123 #ifdef F77_DUMMY_MAIN
9127 int F77_DUMMY_MAIN() { return 1; }
9137 rm -f conftest.$ac_objext
9138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9139 (eval $ac_compile) 2>&5
9141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9142 (exit $ac_status); } &&
9143 { ac_try='test -s conftest.$ac_objext'
9144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9148 (exit $ac_status); }; }; then
9149 ac_cv_c_boolean_t_cthreads_h=yes
9151 echo "$as_me: failed program was:" >&5
9152 cat conftest.$ac_ext >&5
9153 ac_cv_c_boolean_t_cthreads_h=no
9155 rm -f conftest.$ac_objext conftest.$ac_ext
9157 echo "$as_me:$LINENO: result: $ac_cv_c_boolean_t_cthreads_h" >&5
9158 echo "${ECHO_T}$ac_cv_c_boolean_t_cthreads_h" >&6
9159 if test x"$ac_cv_c_boolean_t_cthreads_h" != x"no"; then
9161 cat >>confdefs.h <<\_ACEOF
9162 #define BOOLEAN_T_IN_CTHREADS_H 1
9167 case x"${target_cpu}" in
9172 ARCH="${target_cpu}"
9176 BUILTINS="${BUILTINS} idct idctclassic motion imdct downmix chroma_i420_rgb chroma_i420_yuy2 chroma_i422_yuy2 chroma_i420_ymga mpeg_adec ac3_adec mpeg_vdec"
9177 PLUGINS="${PLUGINS} dummy null rc logger mpeg_es mpeg_ps mpeg_ts mpeg_audio file memcpy lpcm_adec ac3_spdif spudec filter_deinterlace filter_invert filter_wall filter_transform filter_distort filter_clone filter_crop fx_scope"
9179 NETWORK_MODULES="udp http ipv4"
9181 MMX_MODULES="memcpymmx idctmmx motionmmx chroma_i420_rgb_mmx chroma_i420_yuy2_mmx chroma_i422_yuy2_mmx chroma_i420_ymga_mmx"
9182 MMXEXT_MODULES="memcpymmxext idctmmxext motionmmxext"
9183 THREEDNOW_MODULES="memcpy3dn imdct3dn downmix3dn"
9184 SSE_MODULES="imdctsse downmixsse"
9185 ALTIVEC_MODULES="idctaltivec motionaltivec memcpyaltivec"
9187 if test x$SYS != xbeos
9189 PLUGINS="${PLUGINS} ${NETWORK_MODULES}"
9192 echo "$as_me:$LINENO: checking if \$CC groks MMX inline assembly" >&5
9193 echo $ECHO_N "checking if \$CC groks MMX inline assembly... $ECHO_C" >&6
9194 if test "${ac_cv_mmx_inline+set}" = set; then
9195 echo $ECHO_N "(cached) $ECHO_C" >&6
9197 cat >conftest.$ac_ext <<_ACEOF
9198 #line $LINENO "configure"
9199 #include "confdefs.h"
9201 #ifdef F77_DUMMY_MAIN
9205 int F77_DUMMY_MAIN() { return 1; }
9210 void *p;asm volatile("packuswb %%mm1,%%mm2"::"r"(p));
9215 rm -f conftest.$ac_objext
9216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9217 (eval $ac_compile) 2>&5
9219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9220 (exit $ac_status); } &&
9221 { ac_try='test -s conftest.$ac_objext'
9222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9226 (exit $ac_status); }; }; then
9227 ac_cv_mmx_inline=yes
9229 echo "$as_me: failed program was:" >&5
9230 cat conftest.$ac_ext >&5
9233 rm -f conftest.$ac_objext conftest.$ac_ext
9235 echo "$as_me:$LINENO: result: $ac_cv_mmx_inline" >&5
9236 echo "${ECHO_T}$ac_cv_mmx_inline" >&6
9237 if test x"$ac_cv_mmx_inline" != x"no"; then
9238 ACCEL_MODULES="${ACCEL_MODULES} ${MMX_MODULES}"
9241 echo "$as_me:$LINENO: checking if \$CC groks MMX EXT inline assembly" >&5
9242 echo $ECHO_N "checking if \$CC groks MMX EXT inline assembly... $ECHO_C" >&6
9243 if test "${ac_cv_mmxext_inline+set}" = set; then
9244 echo $ECHO_N "(cached) $ECHO_C" >&6
9246 cat >conftest.$ac_ext <<_ACEOF
9247 #line $LINENO "configure"
9248 #include "confdefs.h"
9250 #ifdef F77_DUMMY_MAIN
9254 int F77_DUMMY_MAIN() { return 1; }
9259 void *p;asm volatile("maskmovq %%mm1,%%mm2"::"r"(p));
9264 rm -f conftest.$ac_objext
9265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9266 (eval $ac_compile) 2>&5
9268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9269 (exit $ac_status); } &&
9270 { ac_try='test -s conftest.$ac_objext'
9271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9275 (exit $ac_status); }; }; then
9276 ac_cv_mmxext_inline=yes
9278 echo "$as_me: failed program was:" >&5
9279 cat conftest.$ac_ext >&5
9280 ac_cv_mmxext_inline=no
9282 rm -f conftest.$ac_objext conftest.$ac_ext
9284 echo "$as_me:$LINENO: result: $ac_cv_mmxext_inline" >&5
9285 echo "${ECHO_T}$ac_cv_mmxext_inline" >&6
9286 if test x"$ac_cv_mmxext_inline" != x"no"; then
9287 ACCEL_MODULES="${ACCEL_MODULES} ${MMXEXT_MODULES}"
9290 echo "$as_me:$LINENO: checking if \$CC groks 3D Now! inline assembly" >&5
9291 echo $ECHO_N "checking if \$CC groks 3D Now! inline assembly... $ECHO_C" >&6
9292 if test "${ac_cv_3dnow_inline+set}" = set; then
9293 echo $ECHO_N "(cached) $ECHO_C" >&6
9295 cat >conftest.$ac_ext <<_ACEOF
9296 #line $LINENO "configure"
9297 #include "confdefs.h"
9299 #ifdef F77_DUMMY_MAIN
9303 int F77_DUMMY_MAIN() { return 1; }
9308 void *p;asm volatile("pfadd %%mm1,%%mm2"::"r"(p));
9313 rm -f conftest.$ac_objext
9314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9315 (eval $ac_compile) 2>&5
9317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9318 (exit $ac_status); } &&
9319 { ac_try='test -s conftest.$ac_objext'
9320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9324 (exit $ac_status); }; }; then
9325 ac_cv_3dnow_inline=yes
9327 echo "$as_me: failed program was:" >&5
9328 cat conftest.$ac_ext >&5
9329 ac_cv_3dnow_inline=no
9331 rm -f conftest.$ac_objext conftest.$ac_ext
9333 echo "$as_me:$LINENO: result: $ac_cv_3dnow_inline" >&5
9334 echo "${ECHO_T}$ac_cv_3dnow_inline" >&6
9335 if test x"$ac_cv_3dnow_inline" != x"no"; then
9337 cat >>confdefs.h <<\_ACEOF
9338 #define CAN_COMPILE_3DNOW 1
9341 ACCEL_MODULES="${ACCEL_MODULES} ${THREEDNOW_MODULES}"
9344 echo "$as_me:$LINENO: checking if \$CC groks SSE inline assembly" >&5
9345 echo $ECHO_N "checking if \$CC groks SSE inline assembly... $ECHO_C" >&6
9346 if test "${ac_cv_sse_inline+set}" = set; then
9347 echo $ECHO_N "(cached) $ECHO_C" >&6
9349 cat >conftest.$ac_ext <<_ACEOF
9350 #line $LINENO "configure"
9351 #include "confdefs.h"
9353 #ifdef F77_DUMMY_MAIN
9357 int F77_DUMMY_MAIN() { return 1; }
9362 void *p;asm volatile("xorps %%xmm1,%%xmm2"::"r"(p));
9367 rm -f conftest.$ac_objext
9368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9369 (eval $ac_compile) 2>&5
9371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9372 (exit $ac_status); } &&
9373 { ac_try='test -s conftest.$ac_objext'
9374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9378 (exit $ac_status); }; }; then
9379 ac_cv_sse_inline=yes
9381 echo "$as_me: failed program was:" >&5
9382 cat conftest.$ac_ext >&5
9385 rm -f conftest.$ac_objext conftest.$ac_ext
9387 echo "$as_me:$LINENO: result: $ac_cv_sse_inline" >&5
9388 echo "${ECHO_T}$ac_cv_sse_inline" >&6
9389 if test x"$ac_cv_sse_inline" != x"no" -a x$SYS != xmingw32; then
9391 cat >>confdefs.h <<\_ACEOF
9392 #define CAN_COMPILE_SSE 1
9395 ACCEL_MODULES="${ACCEL_MODULES} ${SSE_MODULES}"
9398 # don't try to grok altivec with native mingw32 it doesn't work right now
9399 # we should be able to remove this test with future versions of mingw32
9400 if test x$SYS != xmingw32; then
9401 echo "$as_me:$LINENO: checking if \$CC groks Altivec inline assembly" >&5
9402 echo $ECHO_N "checking if \$CC groks Altivec inline assembly... $ECHO_C" >&6
9403 if test "${ac_cv_altivec_inline+set}" = set; then
9404 echo $ECHO_N "(cached) $ECHO_C" >&6
9406 cat >conftest.$ac_ext <<_ACEOF
9407 #line $LINENO "configure"
9408 #include "confdefs.h"
9410 #ifdef F77_DUMMY_MAIN
9414 int F77_DUMMY_MAIN() { return 1; }
9419 asm volatile("vperm 0,1,2,3");
9424 rm -f conftest.$ac_objext
9425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9426 (eval $ac_compile) 2>&5
9428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9429 (exit $ac_status); } &&
9430 { ac_try='test -s conftest.$ac_objext'
9431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9435 (exit $ac_status); }; }; then
9436 ac_cv_altivec_inline=yes
9438 echo "$as_me: failed program was:" >&5
9439 cat conftest.$ac_ext >&5
9441 CFLAGS="$CFLAGS -Wa,-m7400"
9442 cat >conftest.$ac_ext <<_ACEOF
9443 #line $LINENO "configure"
9444 #include "confdefs.h"
9446 #ifdef F77_DUMMY_MAIN
9450 int F77_DUMMY_MAIN() { return 1; }
9455 asm volatile("vperm 0,1,2,3");
9460 rm -f conftest.$ac_objext
9461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9462 (eval $ac_compile) 2>&5
9464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9465 (exit $ac_status); } &&
9466 { ac_try='test -s conftest.$ac_objext'
9467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471 (exit $ac_status); }; }; then
9472 ac_cv_altivec_inline="-Wa,-m7400"
9474 echo "$as_me: failed program was:" >&5
9475 cat conftest.$ac_ext >&5
9476 ac_cv_altivec_inline=no
9478 rm -f conftest.$ac_objext conftest.$ac_ext
9482 rm -f conftest.$ac_objext conftest.$ac_ext
9484 echo "$as_me:$LINENO: result: $ac_cv_altivec_inline" >&5
9485 echo "${ECHO_T}$ac_cv_altivec_inline" >&6
9486 if test x"$ac_cv_altivec_inline" != x"no"; then
9488 cat >>confdefs.h <<\_ACEOF
9489 #define CAN_COMPILE_ALTIVEC 1
9492 if test x"$ac_cv_altivec_inline" != x"yes"; then
9493 idctaltivec_CFLAGS="$idctaltivec_CFLAGS $ac_cv_altivec_inline"
9494 motionaltivec_CFLAGS="$motionaltivec_CFLAGS $ac_cv_altivec_inline"
9495 memcpyaltivec_CFLAGS="$memcpyaltivec_CFLAGS $ac_cv_altivec_inline"
9496 vlc_CFLAGS="$vlc_CFLAGS $ac_cv_altivec_inline"
9498 ACCEL_MODULES="${ACCEL_MODULES} ${ALTIVEC_MODULES}"
9501 echo "$as_me:$LINENO: checking if \$CC groks Altivec C extensions" >&5
9502 echo $ECHO_N "checking if \$CC groks Altivec C extensions... $ECHO_C" >&6
9503 if test "${ac_cv_c_altivec+set}" = set; then
9504 echo $ECHO_N "(cached) $ECHO_C" >&6
9507 CFLAGS="$CFLAGS -faltivec"
9509 cat >conftest.$ac_ext <<_ACEOF
9510 #line $LINENO "configure"
9511 #include "confdefs.h"
9513 #ifdef F77_DUMMY_MAIN
9517 int F77_DUMMY_MAIN() { return 1; }
9522 vec_mtvscr((vector unsigned int)(0));
9527 rm -f conftest.$ac_objext
9528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9529 (eval $ac_compile) 2>&5
9531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9532 (exit $ac_status); } &&
9533 { ac_try='test -s conftest.$ac_objext'
9534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9538 (exit $ac_status); }; }; then
9539 ac_cv_c_altivec=-faltivec
9541 echo "$as_me: failed program was:" >&5
9542 cat conftest.$ac_ext >&5
9545 CFLAGS="$save_CFLAGS $idctaltivec_CFLAGS -fvec"
9546 cat >conftest.$ac_ext <<_ACEOF
9547 #line $LINENO "configure"
9548 #include "confdefs.h"
9550 #ifdef F77_DUMMY_MAIN
9554 int F77_DUMMY_MAIN() { return 1; }
9559 vec_mtvscr((vector unsigned int)(0));
9564 rm -f conftest.$ac_objext
9565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9566 (eval $ac_compile) 2>&5
9568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9569 (exit $ac_status); } &&
9570 { ac_try='test -s conftest.$ac_objext'
9571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9575 (exit $ac_status); }; }; then
9576 ac_cv_c_altivec="-fvec"
9578 echo "$as_me: failed program was:" >&5
9579 cat conftest.$ac_ext >&5
9582 rm -f conftest.$ac_objext conftest.$ac_ext
9585 rm -f conftest.$ac_objext conftest.$ac_ext
9589 echo "$as_me:$LINENO: result: $ac_cv_c_altivec" >&5
9590 echo "${ECHO_T}$ac_cv_c_altivec" >&6
9591 if test x"$ac_cv_c_altivec" != x"no"; then
9593 cat >>confdefs.h <<\_ACEOF
9594 #define CAN_COMPILE_C_ALTIVEC 1
9597 idctaltivec_CFLAGS="$idctaltivec_CFLAGS $ac_cv_c_altivec"
9598 motionaltivec_CFLAGS="$motionaltivec_CFLAGS $ac_cv_c_altivec"
9599 memcpyaltivec_CFLAGS="$memcpyaltivec_CFLAGS $ac_cv_c_altivec"
9600 vlc_CFLAGS="$vlc_CFLAGS $ac_cv_c_altivec"
9601 ACCEL_MODULES="${ACCEL_MODULES} ${ALTIVEC_MODULES}"
9604 echo "$as_me:$LINENO: checking if linker needs -framework vecLib" >&5
9605 echo $ECHO_N "checking if linker needs -framework vecLib... $ECHO_C" >&6
9606 if test "${ac_cv_ld_altivec+set}" = set; then
9607 echo $ECHO_N "(cached) $ECHO_C" >&6
9609 save_LDFLAGS=$LDFLAGS
9610 LDFLAGS="$LDFLAGS -framework vecLib"
9611 cat >conftest.$ac_ext <<_ACEOF
9612 #line $LINENO "configure"
9613 #include "confdefs.h"
9615 #ifdef F77_DUMMY_MAIN
9619 int F77_DUMMY_MAIN() { return 1; }
9629 rm -f conftest.$ac_objext conftest$ac_exeext
9630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9631 (eval $ac_link) 2>&5
9633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9634 (exit $ac_status); } &&
9635 { ac_try='test -s conftest$ac_exeext'
9636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9640 (exit $ac_status); }; }; then
9641 ac_cv_ld_altivec=yes
9643 echo "$as_me: failed program was:" >&5
9644 cat conftest.$ac_ext >&5
9647 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9648 LDFLAGS=$save_LDFLAGS
9651 echo "$as_me:$LINENO: result: $ac_cv_ld_altivec" >&5
9652 echo "${ECHO_T}$ac_cv_ld_altivec" >&6
9653 if test x"$ac_cv_ld_altivec" != x"no"; then
9654 idctaltivec_LDFLAGS="${idctaltivec_LDFLAGS} -framework vecLib"
9655 motionaltivec_LDFLAGS="${motionaltivec_LDFLAGS} -framework vecLib"
9656 memcpyaltivec_LDFLAGS="${memcpyaltivec_LDFLAGS} -framework vecLib"
9657 vlc_LDFLAGS="${vlc_LDFLAGS} -framework vecLib"
9663 # Check whether --with- or --without- was given.
9664 if test "${with_+set}" = set; then
9669 # Check whether --with- or --without- was given.
9670 if test "${with_+set}" = set; then
9676 # Check whether --with-tuning or --without-tuning was given.
9677 if test "${with_tuning+set}" = set; then
9678 withval="$with_tuning"
9681 if test "x$with_tuning" != "x"; then
9682 TUNING="$with_tuning"
9684 if test x${target_cpu} = xi686 -o x${target_cpu} = xi586 -o x${target_cpu} = xi486 -o x${target_cpu} = xi386; then TUNING="pentiumpro"
9686 if test x${target_cpu} = xpowerpc; then TUNING="750"; fi
9690 if test x${target_cpu} = xi686 -o x${target_cpu} = xi586 -o x${target_cpu} = xx86 -o x${target_cpu} = xi386
9693 BUILTINS="${BUILTINS} ${ACCEL_MODULES}"
9696 # Check whether --enable-optimizations or --disable-optimizations was given.
9697 if test "${enable_optimizations+set}" = set; then
9698 enableval="$enable_optimizations"
9699 if test x$enable_optimizations = xno; then OPTIMS=0; fi
9704 # Check whether --enable-altivec or --disable-altivec was given.
9705 if test "${enable_altivec+set}" = set; then
9706 enableval="$enable_altivec"
9707 if test x$enable_altivec = xyes; then ARCH="${ARCH} altivec";
9708 BUILTINS="${BUILTINS} ${ACCEL_MODULES}"; fi
9710 if test x${target_cpu} = xpowerpc; then ARCH="${ARCH} altivec";
9711 BUILTINS="${BUILTINS} ${ACCEL_MODULES}"; fi
9715 # Check whether --enable-debug or --disable-debug was given.
9716 if test "${enable_debug+set}" = set; then
9717 enableval="$enable_debug"
9718 if test x$enable_debug = xyes; then DEBUG=1; fi
9722 # Check whether --enable-release or --disable-release was given.
9723 if test "${enable_release+set}" = set; then
9724 enableval="$enable_release"
9725 if test x$enable_release = xyes; then RELEASE=1; fi
9727 VERSION="${VERSION}_`date +%Y-%m-%d`"
9732 # Check whether --with- or --without- was given.
9733 if test "${with_+set}" = set; then
9738 # Check whether --enable-dvd or --disable-dvd was given.
9739 if test "${enable_dvd+set}" = set; then
9740 enableval="$enable_dvd"
9743 if test "x$enable_dvd" != "xno"
9746 # Check whether --with-dvdcss or --without-dvdcss was given.
9747 if test "${with_dvdcss+set}" = set; then
9748 withval="$with_dvdcss"
9752 # Check whether --with-dvdcss-tree or --without-dvdcss-tree was given.
9753 if test "${with_dvdcss_tree+set}" = set; then
9754 withval="$with_dvdcss_tree"
9757 case "x$with_dvdcss" in
9759 if test "x$with_dvdcss_tree" = x
9762 for ac_header in dvdcss/dvdcss.h
9764 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9766 echo "$as_me:$LINENO: checking for $ac_header" >&5
9767 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9768 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9769 echo $ECHO_N "(cached) $ECHO_C" >&6
9771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9772 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9774 # Is the header compilable?
9775 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9776 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9777 cat >conftest.$ac_ext <<_ACEOF
9778 #line $LINENO "configure"
9779 #include "confdefs.h"
9780 $ac_includes_default
9781 #include <$ac_header>
9783 rm -f conftest.$ac_objext
9784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9785 (eval $ac_compile) 2>&5
9787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9788 (exit $ac_status); } &&
9789 { ac_try='test -s conftest.$ac_objext'
9790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9794 (exit $ac_status); }; }; then
9795 ac_header_compiler=yes
9797 echo "$as_me: failed program was:" >&5
9798 cat conftest.$ac_ext >&5
9799 ac_header_compiler=no
9801 rm -f conftest.$ac_objext conftest.$ac_ext
9802 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9803 echo "${ECHO_T}$ac_header_compiler" >&6
9805 # Is the header present?
9806 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9807 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9808 cat >conftest.$ac_ext <<_ACEOF
9809 #line $LINENO "configure"
9810 #include "confdefs.h"
9811 #include <$ac_header>
9813 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9814 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9816 egrep -v '^ *\+' conftest.er1 >conftest.err
9818 cat conftest.err >&5
9819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9820 (exit $ac_status); } >/dev/null; then
9821 if test -s conftest.err; then
9822 ac_cpp_err=$ac_c_preproc_warn_flag
9829 if test -z "$ac_cpp_err"; then
9830 ac_header_preproc=yes
9832 echo "$as_me: failed program was:" >&5
9833 cat conftest.$ac_ext >&5
9834 ac_header_preproc=no
9836 rm -f conftest.err conftest.$ac_ext
9837 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9838 echo "${ECHO_T}$ac_header_preproc" >&6
9840 # So? What about this header?
9841 case $ac_header_compiler:$ac_header_preproc in
9843 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9844 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9845 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9846 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9848 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9849 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9850 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9851 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9852 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9853 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9855 echo "$as_me:$LINENO: checking for $ac_header" >&5
9856 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9857 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9858 echo $ECHO_N "(cached) $ECHO_C" >&6
9860 eval "$as_ac_Header=$ac_header_preproc"
9862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9863 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9866 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9867 cat >>confdefs.h <<_ACEOF
9868 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9870 PLUGINS="${PLUGINS} dvd"
9871 dvd_LDFLAGS="${dvd_LDFLAGS} -ldvdcss"
9873 { echo "$as_me:$LINENO: WARNING: libdvdcss is no longer provided with vlc; please get libdvdcss from http://www.videolan.org/libdvdcss/ and build it. Then either use --with-dvdcss=<path/where/libdvdcss/was/installed> for dynamic linking (recommended under Unix) or --with-dvdcss-tree=<path/where/libdvdcss/was/built> for static linking (recommended under BeOS, Windows, MacOS X). Alternatively you can use --disable-dvd to disable the DVD plugin." >&5
9874 echo "$as_me: WARNING: libdvdcss is no longer provided with vlc; please get libdvdcss from http://www.videolan.org/libdvdcss/ and build it. Then either use --with-dvdcss=<path/where/libdvdcss/was/installed> for dynamic linking (recommended under Unix) or --with-dvdcss-tree=<path/where/libdvdcss/was/built> for static linking (recommended under BeOS, Windows, MacOS X). Alternatively you can use --disable-dvd to disable the DVD plugin." >&2;}
9875 { { echo "$as_me:$LINENO: error: cannot find libdvdcss headers" >&5
9876 echo "$as_me: error: cannot find libdvdcss headers" >&2;}
9877 { (exit 1); exit 1; }; }
9883 echo "$as_me:$LINENO: checking for libdvdcss.a in ${with_dvdcss_tree}" >&5
9884 echo $ECHO_N "checking for libdvdcss.a in ${with_dvdcss_tree}... $ECHO_C" >&6
9885 real_dvdcss_tree="`cd ${with_dvdcss_tree} 2>/dev/null && pwd`"
9886 if test "x$real_dvdcss_tree" = x
9888 echo "$as_me:$LINENO: result: no" >&5
9889 echo "${ECHO_T}no" >&6
9890 { { echo "$as_me:$LINENO: error: cannot cd to ${with_dvdcss_tree}" >&5
9891 echo "$as_me: error: cannot cd to ${with_dvdcss_tree}" >&2;}
9892 { (exit 1); exit 1; }; }
9894 if test -f "${real_dvdcss_tree}/src/.libs/libdvdcss.a"
9896 echo "$as_me:$LINENO: result: ${real_dvdcss_tree}/src/.libs/libdvdcss.a" >&5
9897 echo "${ECHO_T}${real_dvdcss_tree}/src/.libs/libdvdcss.a" >&6
9898 BUILTINS="${BUILTINS} dvd"
9899 dvd_LDFLAGS="${dvd_LDFLAGS} ${real_dvdcss_tree}/src/.libs/libdvdcss.a"
9900 dvd_CFLAGS="${dvd_CFLAGS} -I${real_dvdcss_tree}/src"
9902 echo "$as_me:$LINENO: result: no" >&5
9903 echo "${ECHO_T}no" >&6
9904 { { echo "$as_me:$LINENO: error: cannot find ${real_dvdcss_tree}/src/.libs/libdvdcss.a, make sure you compiled libdvdcss in ${with_dvdcss_tree}" >&5
9905 echo "$as_me: error: cannot find ${real_dvdcss_tree}/src/.libs/libdvdcss.a, make sure you compiled libdvdcss in ${with_dvdcss_tree}" >&2;}
9906 { (exit 1); exit 1; }; }
9911 PLUGINS="${PLUGINS} dvd"
9912 dvd_CFLAGS="${dvd_CFLAGS} -DGOD_DAMN_DMCA"
9913 dvd_LDFLAGS="${dvd_LDFLAGS} -ldl"
9916 echo "$as_me:$LINENO: checking for dvdcss headers in ${with_dvdcss}" >&5
9917 echo $ECHO_N "checking for dvdcss headers in ${with_dvdcss}... $ECHO_C" >&6
9918 if test -f ${with_dvdcss}/include/dvdcss/dvdcss.h
9920 echo "$as_me:$LINENO: result: yes" >&5
9921 echo "${ECHO_T}yes" >&6
9922 PLUGINS="${PLUGINS} dvd"
9923 dvd_LDFLAGS="${dvd_LDFLAGS} -L${with_dvdcss}/lib -ldvdcss"
9924 dvd_CFLAGS="${dvd_CFLAGS} -I${with_dvdcss}/include"
9926 echo "$as_me:$LINENO: result: no" >&5
9927 echo "${ECHO_T}no" >&6
9928 { { echo "$as_me:$LINENO: error: cannot find ${with_dvdcss}/include/dvdcss/dvdcss.h" >&5
9929 echo "$as_me: error: cannot find ${with_dvdcss}/include/dvdcss/dvdcss.h" >&2;}
9930 { (exit 1); exit 1; }; }
9936 # Check whether --enable-dvdread or --disable-dvdread was given.
9937 if test "${enable_dvdread+set}" = set; then
9938 enableval="$enable_dvdread"
9941 if test "x$enable_dvdread" != "xno"
9944 # Check whether --with-dvdread or --without-dvdread was given.
9945 if test "${with_dvdread+set}" = set; then
9946 withval="$with_dvdread"
9949 if test "x$with_dvdread" = x
9954 test_LDFLAGS="-L${with_dvdread}/lib"
9955 test_CFLAGS="-I${with_dvdread}/include"
9957 CPPFLAGS="$save_CPPFLAGS $test_CFLAGS"
9959 for ac_header in dvdread/dvd_reader.h
9961 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9963 echo "$as_me:$LINENO: checking for $ac_header" >&5
9964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9965 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9966 echo $ECHO_N "(cached) $ECHO_C" >&6
9968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9969 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9971 # Is the header compilable?
9972 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9973 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9974 cat >conftest.$ac_ext <<_ACEOF
9975 #line $LINENO "configure"
9976 #include "confdefs.h"
9977 $ac_includes_default
9978 #include <$ac_header>
9980 rm -f conftest.$ac_objext
9981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9982 (eval $ac_compile) 2>&5
9984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9985 (exit $ac_status); } &&
9986 { ac_try='test -s conftest.$ac_objext'
9987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9991 (exit $ac_status); }; }; then
9992 ac_header_compiler=yes
9994 echo "$as_me: failed program was:" >&5
9995 cat conftest.$ac_ext >&5
9996 ac_header_compiler=no
9998 rm -f conftest.$ac_objext conftest.$ac_ext
9999 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10000 echo "${ECHO_T}$ac_header_compiler" >&6
10002 # Is the header present?
10003 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10004 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10005 cat >conftest.$ac_ext <<_ACEOF
10006 #line $LINENO "configure"
10007 #include "confdefs.h"
10008 #include <$ac_header>
10010 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10011 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10013 egrep -v '^ *\+' conftest.er1 >conftest.err
10015 cat conftest.err >&5
10016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10017 (exit $ac_status); } >/dev/null; then
10018 if test -s conftest.err; then
10019 ac_cpp_err=$ac_c_preproc_warn_flag
10026 if test -z "$ac_cpp_err"; then
10027 ac_header_preproc=yes
10029 echo "$as_me: failed program was:" >&5
10030 cat conftest.$ac_ext >&5
10031 ac_header_preproc=no
10033 rm -f conftest.err conftest.$ac_ext
10034 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10035 echo "${ECHO_T}$ac_header_preproc" >&6
10037 # So? What about this header?
10038 case $ac_header_compiler:$ac_header_preproc in
10040 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10041 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10043 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10045 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10046 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10047 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10048 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10049 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10050 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10052 echo "$as_me:$LINENO: checking for $ac_header" >&5
10053 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10054 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10055 echo $ECHO_N "(cached) $ECHO_C" >&6
10057 eval "$as_ac_Header=$ac_header_preproc"
10059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10060 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10063 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10064 cat >>confdefs.h <<_ACEOF
10065 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10068 cat >conftest.$ac_ext <<_ACEOF
10069 #line $LINENO "configure"
10070 #include "confdefs.h"
10071 #include <dvdread/dvd_reader.h>
10072 #ifdef F77_DUMMY_MAIN
10073 # ifdef __cplusplus
10076 int F77_DUMMY_MAIN() { return 1; }
10081 void foo() { int i=DVD_VIDEO_LB_LEN; }
10086 rm -f conftest.$ac_objext
10087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10088 (eval $ac_compile) 2>&5
10090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10091 (exit $ac_status); } &&
10092 { ac_try='test -s conftest.$ac_objext'
10093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10094 (eval $ac_try) 2>&5
10096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10097 (exit $ac_status); }; }; then
10099 PLUGINS="${PLUGINS} dvdread"
10100 dvdread_LDFLAGS="${dvdread_LDFLAGS} ${test_LDFLAGS} -ldvdread"
10101 dvdread_CFLAGS="${dvdread_CFLAGS} ${test_CFLAGS}"
10104 echo "$as_me: failed program was:" >&5
10105 cat conftest.$ac_ext >&5
10107 if test "x$enable_dvdread" != x
10109 { { echo "$as_me:$LINENO: error: Cannot find DVD_VIDEO_LB_LEN in dvdread/dvd_reader.h, please install libdvdread version 0.9.2 or later" >&5
10110 echo "$as_me: error: Cannot find DVD_VIDEO_LB_LEN in dvdread/dvd_reader.h, please install libdvdread version 0.9.2 or later" >&2;}
10111 { (exit 1); exit 1; }; }
10115 rm -f conftest.$ac_objext conftest.$ac_ext
10119 if test "x$enable_dvdread" != x
10121 if test "x$with_dvdread" != x
10123 { { echo "$as_me:$LINENO: error: Cannot find dvdread/dvd_reader.h in ${with_dvdread}/include" >&5
10124 echo "$as_me: error: Cannot find dvdread/dvd_reader.h in ${with_dvdread}/include" >&2;}
10125 { (exit 1); exit 1; }; }
10127 { { echo "$as_me:$LINENO: error: Cannot find dvdread/dvd_reader.h" >&5
10128 echo "$as_me: error: Cannot find dvdread/dvd_reader.h" >&2;}
10129 { (exit 1); exit 1; }; }
10137 CPPFLAGS="$save_CPPFLAGS"
10140 # Check whether --enable-dvbpsi or --disable-dvbpsi was given.
10141 if test "${enable_dvbpsi+set}" = set; then
10142 enableval="$enable_dvbpsi"
10145 if test "x$enable_dvbpsi" != "xno"
10148 # Check whether --with-dvbpsi or --without-dvbpsi was given.
10149 if test "${with_dvbpsi+set}" = set; then
10150 withval="$with_dvbpsi"
10154 # Check whether --with-dvbpsi or --without-dvbpsi was given.
10155 if test "${with_dvbpsi+set}" = set; then
10156 withval="$with_dvbpsi"
10159 case "x$with_dvbpsi" in
10161 if test "x$with_dvbpsi_tree" = x
10164 for ac_header in dvbpsi/dr.h
10166 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10167 echo "$as_me:$LINENO: checking for $ac_header" >&5
10168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10169 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10170 echo $ECHO_N "(cached) $ECHO_C" >&6
10172 cat >conftest.$ac_ext <<_ACEOF
10173 #line $LINENO "configure"
10174 #include "confdefs.h"
10175 { { echo "$as_me:$LINENO: error: cannot find libdvbpsi headers" >&5
10176 echo "$as_me: error: cannot find libdvbpsi headers" >&2;}
10177 { (exit 1); exit 1; }; }
10179 #include <$ac_header>
10181 rm -f conftest.$ac_objext
10182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10183 (eval $ac_compile) 2>&5
10185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10186 (exit $ac_status); } &&
10187 { ac_try='test -s conftest.$ac_objext'
10188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10189 (eval $ac_try) 2>&5
10191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10192 (exit $ac_status); }; }; then
10193 eval "$as_ac_Header=yes"
10195 echo "$as_me: failed program was:" >&5
10196 cat conftest.$ac_ext >&5
10197 eval "$as_ac_Header=no"
10199 rm -f conftest.$ac_objext conftest.$ac_ext
10201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10202 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10203 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10204 cat >>confdefs.h <<_ACEOF
10205 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10207 PLUGINS="${PLUGINS} mpeg_ts_dvbpsi"
10208 mpeg_ts_dvbpsi_LDFLAGS="${mpeg_ts_dvbpsi_LDFLAGS} -ldvbpsi"
10214 echo "$as_me:$LINENO: checking for libdvbpsi.a in ${with_dvbpsi_tree}" >&5
10215 echo $ECHO_N "checking for libdvbpsi.a in ${with_dvbpsi_tree}... $ECHO_C" >&6
10216 real_dvbpsi_tree="`cd ${with_dvbpsi_tree} 2>/dev/null && pwd`"
10217 if test "x$real_dvbpsi_tree" = x
10219 echo "$as_me:$LINENO: result: no" >&5
10220 echo "${ECHO_T}no" >&6
10221 { { echo "$as_me:$LINENO: error: cannot cd to ${with_dvbpsi_tree}" >&5
10222 echo "$as_me: error: cannot cd to ${with_dvbpsi_tree}" >&2;}
10223 { (exit 1); exit 1; }; }
10225 if test -f "${real_dvbpsi_tree}/src/.libs/libdvbpsi.a"
10227 echo "$as_me:$LINENO: result: ${real_dvbpsi_tree}/src/.libs/libdvbpsi.a" >&5
10228 echo "${ECHO_T}${real_dvbpsi_tree}/src/.libs/libdvbpsi.a" >&6
10229 BUILTINS="${BUILTINS} mpeg_ts_dvbpsi"
10230 mpeg_ts_dvbpsi_LDFLAGS="${mpeg_ts_dvbpsi_LDFLAGS} ${real_dvbpsi_tree}/src/.libs/libdvbpsi.a"
10231 mpeg_ts_dvbpsi_CFLAGS="${mpeg_ts_dvbpsi_CFLAGS} -I${real_dvbpsi_tree}/src"
10233 echo "$as_me:$LINENO: result: no" >&5
10234 echo "${ECHO_T}no" >&6
10235 { { echo "$as_me:$LINENO: error: cannot find ${real_dvbpsi_tree}/src/.libs/libdvbpsi.a, make sure you compiled libdvbpsi in ${with_dvbpsi_tree}" >&5
10236 echo "$as_me: error: cannot find ${real_dvbpsi_tree}/src/.libs/libdvbpsi.a, make sure you compiled libdvbpsi in ${with_dvbpsi_tree}" >&2;}
10237 { (exit 1); exit 1; }; }
10244 echo "$as_me:$LINENO: checking for dvbpsi headers in ${with_dvbpsi}" >&5
10245 echo $ECHO_N "checking for dvbpsi headers in ${with_dvbpsi}... $ECHO_C" >&6
10246 if test "x$with_dvbpsi" = x
10251 test_LDFLAGS="-L${with_dvbpsi}/lib"
10252 test_CFLAGS="-I${with_dvbpsi}/include"
10254 CPPFLAGS="$save_CPPFLAGS $test_CFLAGS"
10255 if test "${ac_cv_header_dvbpsi_dr_h+set}" = set; then
10256 echo "$as_me:$LINENO: checking for dvbpsi/dr.h" >&5
10257 echo $ECHO_N "checking for dvbpsi/dr.h... $ECHO_C" >&6
10258 if test "${ac_cv_header_dvbpsi_dr_h+set}" = set; then
10259 echo $ECHO_N "(cached) $ECHO_C" >&6
10261 echo "$as_me:$LINENO: result: $ac_cv_header_dvbpsi_dr_h" >&5
10262 echo "${ECHO_T}$ac_cv_header_dvbpsi_dr_h" >&6
10264 # Is the header compilable?
10265 echo "$as_me:$LINENO: checking dvbpsi/dr.h usability" >&5
10266 echo $ECHO_N "checking dvbpsi/dr.h usability... $ECHO_C" >&6
10267 cat >conftest.$ac_ext <<_ACEOF
10268 #line $LINENO "configure"
10269 #include "confdefs.h"
10270 $ac_includes_default
10271 #include <dvbpsi/dr.h>
10273 rm -f conftest.$ac_objext
10274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10275 (eval $ac_compile) 2>&5
10277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10278 (exit $ac_status); } &&
10279 { ac_try='test -s conftest.$ac_objext'
10280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10281 (eval $ac_try) 2>&5
10283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10284 (exit $ac_status); }; }; then
10285 ac_header_compiler=yes
10287 echo "$as_me: failed program was:" >&5
10288 cat conftest.$ac_ext >&5
10289 ac_header_compiler=no
10291 rm -f conftest.$ac_objext conftest.$ac_ext
10292 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10293 echo "${ECHO_T}$ac_header_compiler" >&6
10295 # Is the header present?
10296 echo "$as_me:$LINENO: checking dvbpsi/dr.h presence" >&5
10297 echo $ECHO_N "checking dvbpsi/dr.h presence... $ECHO_C" >&6
10298 cat >conftest.$ac_ext <<_ACEOF
10299 #line $LINENO "configure"
10300 #include "confdefs.h"
10301 #include <dvbpsi/dr.h>
10303 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10304 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10306 egrep -v '^ *\+' conftest.er1 >conftest.err
10308 cat conftest.err >&5
10309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10310 (exit $ac_status); } >/dev/null; then
10311 if test -s conftest.err; then
10312 ac_cpp_err=$ac_c_preproc_warn_flag
10319 if test -z "$ac_cpp_err"; then
10320 ac_header_preproc=yes
10322 echo "$as_me: failed program was:" >&5
10323 cat conftest.$ac_ext >&5
10324 ac_header_preproc=no
10326 rm -f conftest.err conftest.$ac_ext
10327 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10328 echo "${ECHO_T}$ac_header_preproc" >&6
10330 # So? What about this header?
10331 case $ac_header_compiler:$ac_header_preproc in
10333 { echo "$as_me:$LINENO: WARNING: dvbpsi/dr.h: accepted by the compiler, rejected by the preprocessor!" >&5
10334 echo "$as_me: WARNING: dvbpsi/dr.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10335 { echo "$as_me:$LINENO: WARNING: dvbpsi/dr.h: proceeding with the preprocessor's result" >&5
10336 echo "$as_me: WARNING: dvbpsi/dr.h: proceeding with the preprocessor's result" >&2;};;
10338 { echo "$as_me:$LINENO: WARNING: dvbpsi/dr.h: present but cannot be compiled" >&5
10339 echo "$as_me: WARNING: dvbpsi/dr.h: present but cannot be compiled" >&2;}
10340 { echo "$as_me:$LINENO: WARNING: dvbpsi/dr.h: check for missing prerequisite headers?" >&5
10341 echo "$as_me: WARNING: dvbpsi/dr.h: check for missing prerequisite headers?" >&2;}
10342 { echo "$as_me:$LINENO: WARNING: dvbpsi/dr.h: proceeding with the preprocessor's result" >&5
10343 echo "$as_me: WARNING: dvbpsi/dr.h: proceeding with the preprocessor's result" >&2;};;
10345 echo "$as_me:$LINENO: checking for dvbpsi/dr.h" >&5
10346 echo $ECHO_N "checking for dvbpsi/dr.h... $ECHO_C" >&6
10347 if test "${ac_cv_header_dvbpsi_dr_h+set}" = set; then
10348 echo $ECHO_N "(cached) $ECHO_C" >&6
10350 ac_cv_header_dvbpsi_dr_h=$ac_header_preproc
10352 echo "$as_me:$LINENO: result: $ac_cv_header_dvbpsi_dr_h" >&5
10353 echo "${ECHO_T}$ac_cv_header_dvbpsi_dr_h" >&6
10356 if test $ac_cv_header_dvbpsi_dr_h = yes; then
10358 PLUGINS="${PLUGINS} mpeg_ts_dvbpsi"
10359 mpeg_ts_dvbpsi_LDFLAGS="${mpeg_ts_dvbpsi_LDFLAGS} ${test_LDFLAGS} -ldvbpsi"
10360 mpeg_ts_dvbpsi_CFLAGS="${mpeg_ts_dvbpsi_CFLAGS} ${test_CFLAGS}"
10364 if test "x$enable_dvbpsi" != x
10366 { { echo "$as_me:$LINENO: error: Could not find libdvbpsi on your system: you may get it from www.videolan.org, you'll need at least version 0.1.1" >&5
10367 echo "$as_me: error: Could not find libdvbpsi on your system: you may get it from www.videolan.org, you'll need at least version 0.1.1" >&2;}
10368 { (exit 1); exit 1; }; }
10374 CPPFLAGS="$save_CPPFLAGS"
10379 # Check whether --enable-vcd or --disable-vcd was given.
10380 if test "${enable_vcd+set}" = set; then
10381 enableval="$enable_vcd"
10385 if test x$enable_vcd != xno
10387 cat >conftest.$ac_ext <<_ACEOF
10388 #line $LINENO "configure"
10389 #include "confdefs.h"
10390 #include <linux/cdrom.h>
10393 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10394 egrep "cdrom_msf0" >/dev/null 2>&1; then
10396 PLUGINS="${PLUGINS} vcd"
10402 cat >conftest.$ac_ext <<_ACEOF
10403 #line $LINENO "configure"
10404 #include "confdefs.h"
10405 #include <sys/cdio.h>
10408 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10409 egrep "ioc_toc_header " >/dev/null 2>&1; then
10411 PLUGINS="${PLUGINS} vcd"
10413 cat >>confdefs.h <<\_ACEOF
10414 #define HAVE_IOC_TOC_HEADER_IN_SYS_CDIO_H 1
10422 if test "x${SYS}" = "xbsdi"
10424 PLUGINS="${PLUGINS} vcd"
10427 if test "x${SYS}" = "xdarwin"
10429 # No need to add vcd to PLUGINS, Darwin is already based on FreeBSD
10430 vcd_LDFLAGS="${vcd_LDFLAGS} -framework IOKit -framework CoreFoundation"
10434 # Check whether --enable-satellite or --disable-satellite was given.
10435 if test "${enable_satellite+set}" = set; then
10436 enableval="$enable_satellite"
10437 if test x$enable_satellite = xyes
10439 PLUGINS="${PLUGINS} satellite"
10443 if test x$SYS != xnto && test "x$SYS" != "xmingw32"
10445 echo "$as_me:$LINENO: checking for inet_pton" >&5
10446 echo $ECHO_N "checking for inet_pton... $ECHO_C" >&6
10447 if test "${ac_cv_func_inet_pton+set}" = set; then
10448 echo $ECHO_N "(cached) $ECHO_C" >&6
10450 cat >conftest.$ac_ext <<_ACEOF
10451 #line $LINENO "configure"
10452 #include "confdefs.h"
10453 /* System header to define __stub macros and hopefully few prototypes,
10454 which can conflict with char inet_pton (); below. */
10455 #include <assert.h>
10456 /* Override any gcc2 internal prototype to avoid an error. */
10460 /* We use char because int might match the return type of a gcc2
10461 builtin and then its argument prototype would still apply. */
10465 #ifdef F77_DUMMY_MAIN
10466 # ifdef __cplusplus
10469 int F77_DUMMY_MAIN() { return 1; }
10474 /* The GNU C library defines this for functions which it implements
10475 to always fail with ENOSYS. Some functions are actually named
10476 something starting with __ and the normal name is an alias. */
10477 #if defined (__stub_inet_pton) || defined (__stub___inet_pton)
10487 rm -f conftest.$ac_objext conftest$ac_exeext
10488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10489 (eval $ac_link) 2>&5
10491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10492 (exit $ac_status); } &&
10493 { ac_try='test -s conftest$ac_exeext'
10494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10495 (eval $ac_try) 2>&5
10497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10498 (exit $ac_status); }; }; then
10499 ac_cv_func_inet_pton=yes
10501 echo "$as_me: failed program was:" >&5
10502 cat conftest.$ac_ext >&5
10503 ac_cv_func_inet_pton=no
10505 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10507 echo "$as_me:$LINENO: result: $ac_cv_func_inet_pton" >&5
10508 echo "${ECHO_T}$ac_cv_func_inet_pton" >&6
10509 if test $ac_cv_func_inet_pton = yes; then
10510 PLUGINS="${PLUGINS} ipv6"
10514 if test "x$SYS" = "xmingw32"
10516 echo "$as_me:$LINENO: checking for getaddrinfo in ws2tcpip.h" >&5
10517 echo $ECHO_N "checking for getaddrinfo in ws2tcpip.h... $ECHO_C" >&6
10518 cat >conftest.$ac_ext <<_ACEOF
10519 #line $LINENO "configure"
10520 #include "confdefs.h"
10521 #include <ws2tcpip.h>
10524 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10525 egrep "addrinfo" >/dev/null 2>&1; then
10526 echo "$as_me:$LINENO: result: yes" >&5
10527 echo "${ECHO_T}yes" >&6
10528 PLUGINS="${PLUGINS} ipv6"
10530 echo "$as_me:$LINENO: result: no" >&5
10531 echo "${ECHO_T}no" >&6
10537 # Check whether --enable-avi or --disable-avi was given.
10538 if test "${enable_avi+set}" = set; then
10539 enableval="$enable_avi"
10542 if test x$enable_avi != xno
10544 PLUGINS="${PLUGINS} avi"
10549 # Check whether --with- or --without- was given.
10550 if test "${with_+set}" = set; then
10555 # Check whether --enable-mad or --disable-mad was given.
10556 if test "${enable_mad+set}" = set; then
10557 enableval="$enable_mad"
10560 if test x$enable_mad = xyes
10563 # Check whether --with-mad or --without-mad was given.
10564 if test "${with_mad+set}" = set; then
10565 withval="$with_mad"
10568 if test "x$with_mad" != "xno" -a "x$with_mad" != "x"
10570 mad_CFLAGS="${mad_CFLAGS} -I$with_mad/include"
10571 mad_LDFLAGS="${mad_LDFLAGS} -L$with_mad/lib"
10575 # Check whether --with-mad-tree or --without-mad-tree was given.
10576 if test "${with_mad_tree+set}" = set; then
10577 withval="$with_mad_tree"
10580 if test "x$with_mad_tree" != "xno" -a "x$with_mad_tree" != "x"
10582 real_mad_tree="`cd ${with_mad_tree} 2>/dev/null && pwd`"
10583 if test "x$real_mad_tree" = x
10585 echo "$as_me:$LINENO: result: no" >&5
10586 echo "${ECHO_T}no" >&6
10587 { { echo "$as_me:$LINENO: error: ${with_mad_tree} directory doesn't exist" >&5
10588 echo "$as_me: error: ${with_mad_tree} directory doesn't exist" >&2;}
10589 { (exit 1); exit 1; }; }
10591 echo "$as_me:$LINENO: checking for mad.h in ${real_mad_tree}/libmad" >&5
10592 echo $ECHO_N "checking for mad.h in ${real_mad_tree}/libmad... $ECHO_C" >&6
10593 if test -f ${real_mad_tree}/libmad/mad.h
10595 echo "$as_me:$LINENO: result: yes" >&5
10596 echo "${ECHO_T}yes" >&6
10597 mad_CFLAGS="${mad_CFLAGS} -I${real_mad_tree}/libmad"
10598 mad_LDFLAGS="${mad_LDFLAGS} -L${real_mad_tree}/libmad/.libs"
10599 save_LDFLAGS=$LDFLAGS
10600 LDFLAGS=$mad_LDFLAGS
10601 echo "$as_me:$LINENO: checking for mad_bit_init in -lmad" >&5
10602 echo $ECHO_N "checking for mad_bit_init in -lmad... $ECHO_C" >&6
10603 if test "${ac_cv_lib_mad_mad_bit_init+set}" = set; then
10604 echo $ECHO_N "(cached) $ECHO_C" >&6
10606 ac_check_lib_save_LIBS=$LIBS
10608 cat >conftest.$ac_ext <<_ACEOF
10609 #line $LINENO "configure"
10610 #include "confdefs.h"
10612 /* Override any gcc2 internal prototype to avoid an error. */
10616 /* We use char because int might match the return type of a gcc2
10617 builtin and then its argument prototype would still apply. */
10618 char mad_bit_init ();
10619 #ifdef F77_DUMMY_MAIN
10620 # ifdef __cplusplus
10623 int F77_DUMMY_MAIN() { return 1; }
10633 rm -f conftest.$ac_objext conftest$ac_exeext
10634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10635 (eval $ac_link) 2>&5
10637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10638 (exit $ac_status); } &&
10639 { ac_try='test -s conftest$ac_exeext'
10640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10641 (eval $ac_try) 2>&5
10643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10644 (exit $ac_status); }; }; then
10645 ac_cv_lib_mad_mad_bit_init=yes
10647 echo "$as_me: failed program was:" >&5
10648 cat conftest.$ac_ext >&5
10649 ac_cv_lib_mad_mad_bit_init=no
10651 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10652 LIBS=$ac_check_lib_save_LIBS
10654 echo "$as_me:$LINENO: result: $ac_cv_lib_mad_mad_bit_init" >&5
10655 echo "${ECHO_T}$ac_cv_lib_mad_mad_bit_init" >&6
10656 if test $ac_cv_lib_mad_mad_bit_init = yes; then
10658 BUILTINS="${BUILTINS} mad"
10659 mad_LDFLAGS="${mad_LDFLAGS} -lmad"
10662 { { echo "$as_me:$LINENO: error: the specified tree hasn't been compiled " >&5
10663 echo "$as_me: error: the specified tree hasn't been compiled " >&2;}
10664 { (exit 1); exit 1; }; }
10668 LDFLAGS=$save_LDFLAGS
10670 echo "$as_me:$LINENO: result: no" >&5
10671 echo "${ECHO_T}no" >&6
10672 { { echo "$as_me:$LINENO: error: the specified tree doesn't have mad.h" >&5
10673 echo "$as_me: error: the specified tree doesn't have mad.h" >&2;}
10674 { (exit 1); exit 1; }; }
10677 save_CFLAGS=$CFLAGS
10678 save_LDFLAGS=$LDFLAGS
10679 CFLAGS="$CFLAGS $mad_CFLAGS"
10680 LDFLAGS="$LDFLAGS $mad_LDFLAGS"
10682 for ac_header in mad.h
10684 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10686 echo "$as_me:$LINENO: checking for $ac_header" >&5
10687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10688 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10689 echo $ECHO_N "(cached) $ECHO_C" >&6
10691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10692 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10694 # Is the header compilable?
10695 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10696 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10697 cat >conftest.$ac_ext <<_ACEOF
10698 #line $LINENO "configure"
10699 #include "confdefs.h"
10700 $ac_includes_default
10701 #include <$ac_header>
10703 rm -f conftest.$ac_objext
10704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10705 (eval $ac_compile) 2>&5
10707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10708 (exit $ac_status); } &&
10709 { ac_try='test -s conftest.$ac_objext'
10710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10711 (eval $ac_try) 2>&5
10713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10714 (exit $ac_status); }; }; then
10715 ac_header_compiler=yes
10717 echo "$as_me: failed program was:" >&5
10718 cat conftest.$ac_ext >&5
10719 ac_header_compiler=no
10721 rm -f conftest.$ac_objext conftest.$ac_ext
10722 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10723 echo "${ECHO_T}$ac_header_compiler" >&6
10725 # Is the header present?
10726 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10727 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10728 cat >conftest.$ac_ext <<_ACEOF
10729 #line $LINENO "configure"
10730 #include "confdefs.h"
10731 #include <$ac_header>
10733 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10734 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10736 egrep -v '^ *\+' conftest.er1 >conftest.err
10738 cat conftest.err >&5
10739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10740 (exit $ac_status); } >/dev/null; then
10741 if test -s conftest.err; then
10742 ac_cpp_err=$ac_c_preproc_warn_flag
10749 if test -z "$ac_cpp_err"; then
10750 ac_header_preproc=yes
10752 echo "$as_me: failed program was:" >&5
10753 cat conftest.$ac_ext >&5
10754 ac_header_preproc=no
10756 rm -f conftest.err conftest.$ac_ext
10757 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10758 echo "${ECHO_T}$ac_header_preproc" >&6
10760 # So? What about this header?
10761 case $ac_header_compiler:$ac_header_preproc in
10763 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10764 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10765 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10766 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10768 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10769 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10770 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10771 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10772 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10773 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10775 echo "$as_me:$LINENO: checking for $ac_header" >&5
10776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10778 echo $ECHO_N "(cached) $ECHO_C" >&6
10780 eval "$as_ac_Header=$ac_header_preproc"
10782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10783 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10786 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10787 cat >>confdefs.h <<_ACEOF
10788 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10792 { { echo "$as_me:$LINENO: error: Cannot find development headers for libmad..." >&5
10793 echo "$as_me: error: Cannot find development headers for libmad..." >&2;}
10794 { (exit 1); exit 1; }; }
10799 echo "$as_me:$LINENO: checking for mad_bit_init in -lmad" >&5
10800 echo $ECHO_N "checking for mad_bit_init in -lmad... $ECHO_C" >&6
10801 if test "${ac_cv_lib_mad_mad_bit_init+set}" = set; then
10802 echo $ECHO_N "(cached) $ECHO_C" >&6
10804 ac_check_lib_save_LIBS=$LIBS
10806 cat >conftest.$ac_ext <<_ACEOF
10807 #line $LINENO "configure"
10808 #include "confdefs.h"
10810 /* Override any gcc2 internal prototype to avoid an error. */
10814 /* We use char because int might match the return type of a gcc2
10815 builtin and then its argument prototype would still apply. */
10816 char mad_bit_init ();
10817 #ifdef F77_DUMMY_MAIN
10818 # ifdef __cplusplus
10821 int F77_DUMMY_MAIN() { return 1; }
10831 rm -f conftest.$ac_objext conftest$ac_exeext
10832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10833 (eval $ac_link) 2>&5
10835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10836 (exit $ac_status); } &&
10837 { ac_try='test -s conftest$ac_exeext'
10838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10839 (eval $ac_try) 2>&5
10841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10842 (exit $ac_status); }; }; then
10843 ac_cv_lib_mad_mad_bit_init=yes
10845 echo "$as_me: failed program was:" >&5
10846 cat conftest.$ac_ext >&5
10847 ac_cv_lib_mad_mad_bit_init=no
10849 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10850 LIBS=$ac_check_lib_save_LIBS
10852 echo "$as_me:$LINENO: result: $ac_cv_lib_mad_mad_bit_init" >&5
10853 echo "${ECHO_T}$ac_cv_lib_mad_mad_bit_init" >&6
10854 if test $ac_cv_lib_mad_mad_bit_init = yes; then
10856 PLUGINS="${PLUGINS} mad"
10857 mad_LDFLAGS="${mad_LDFLAGS} -lmad"
10859 { { echo "$as_me:$LINENO: error: Cannot find libmad library..." >&5
10860 echo "$as_me: error: Cannot find libmad library..." >&2;}
10861 { (exit 1); exit 1; }; }
10864 CFLAGS=$save_CFLAGS
10865 LDFLAGS=$save_LDFLAGS
10869 # Check whether --enable-ffmpeg or --disable-ffmpeg was given.
10870 if test "${enable_ffmpeg+set}" = set; then
10871 enableval="$enable_ffmpeg"
10874 if test "x$enable_ffmpeg" = "xyes"
10877 # Check whether --with-ffmpeg or --without-ffmpeg was given.
10878 if test "${with_ffmpeg+set}" = set; then
10879 withval="$with_ffmpeg"
10882 if test "x$with_ffmpeg" != "xno" -a "x$with_ffmpeg" != "x"
10884 ffmpeg_CFLAGS="${ffmpeg_CFLAGS} -I$with_ffmpeg/include/libffmpeg"
10885 ffmpeg_LDFLAGS="${ffmpeg_LDFLAGS} -L$with_ffmpeg/lib"
10889 # Check whether --with-ffmpeg-tree or --without-ffmpeg-tree was given.
10890 if test "${with_ffmpeg_tree+set}" = set; then
10891 withval="$with_ffmpeg_tree"
10894 if test "x$with_ffmpeg_tree" != "x"
10896 echo "$as_me:$LINENO: checking for libavcodec.a in ${with_ffmpeg_tree}" >&5
10897 echo $ECHO_N "checking for libavcodec.a in ${with_ffmpeg_tree}... $ECHO_C" >&6
10898 real_ffmpeg_tree="`cd ${with_ffmpeg_tree} 2>/dev/null && pwd`"
10899 if test "x$real_ffmpeg_tree" = x
10901 echo "$as_me:$LINENO: result: no" >&5
10902 echo "${ECHO_T}no" >&6
10903 { { echo "$as_me:$LINENO: error: cannot cd to ${with_ffmpeg_tree}" >&5
10904 echo "$as_me: error: cannot cd to ${with_ffmpeg_tree}" >&2;}
10905 { (exit 1); exit 1; }; }
10907 if test -f "${real_ffmpeg_tree}/libavcodec/libavcodec.a"
10909 echo "$as_me:$LINENO: result: ${real_ffmpeg_tree}/libavcodec/libavcodec.a" >&5
10910 echo "${ECHO_T}${real_ffmpeg_tree}/libavcodec/libavcodec.a" >&6
10911 BUILTINS="${BUILTINS} ffmpeg"
10912 ffmpeg_LDFLAGS="${ffmpeg_LDFLAGS} ${real_ffmpeg_tree}/libavcodec/libavcodec.a"
10913 if test x$SYS != xbeos
10915 ffmpeg_LDFLAGS="${ffmpeg_LDFLAGS} -lm"
10917 ffmpeg_CFLAGS="${ffmpeg_CFLAGS} -I${real_ffmpeg_tree}/libavcodec"
10919 echo "$as_me:$LINENO: result: no" >&5
10920 echo "${ECHO_T}no" >&6
10921 { { echo "$as_me:$LINENO: error: cannot find ${real_ffmpeg_tree}/libavcodec/libavcodec.a, make sure you compiled libavcodec in ${with_ffmpeg_tree}" >&5
10922 echo "$as_me: error: cannot find ${real_ffmpeg_tree}/libavcodec/libavcodec.a, make sure you compiled libavcodec in ${with_ffmpeg_tree}" >&2;}
10923 { (exit 1); exit 1; }; }
10926 save_CFLAGS=$CFLAGS
10927 save_LDFLAGS=$LDFLAGS
10928 CFLAGS="$CFLAGS $ffmpeg_CFLAGS"
10929 LDFLAGS="$LDFLAGS $ffmpeg_LDFLAGS"
10930 if test x$SYS != xbeos
10932 ffmpeg_LDFLAGS="${ffmpeg_LDFLAGS} -lm"
10934 echo "$as_me:$LINENO: checking for avcodec_init in -lavcodec" >&5
10935 echo $ECHO_N "checking for avcodec_init in -lavcodec... $ECHO_C" >&6
10936 if test "${ac_cv_lib_avcodec_avcodec_init+set}" = set; then
10937 echo $ECHO_N "(cached) $ECHO_C" >&6
10939 ac_check_lib_save_LIBS=$LIBS
10940 LIBS="-lavcodec $LIBS"
10941 cat >conftest.$ac_ext <<_ACEOF
10942 #line $LINENO "configure"
10943 #include "confdefs.h"
10945 /* Override any gcc2 internal prototype to avoid an error. */
10949 /* We use char because int might match the return type of a gcc2
10950 builtin and then its argument prototype would still apply. */
10951 char avcodec_init ();
10952 #ifdef F77_DUMMY_MAIN
10953 # ifdef __cplusplus
10956 int F77_DUMMY_MAIN() { return 1; }
10966 rm -f conftest.$ac_objext conftest$ac_exeext
10967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10968 (eval $ac_link) 2>&5
10970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10971 (exit $ac_status); } &&
10972 { ac_try='test -s conftest$ac_exeext'
10973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10974 (eval $ac_try) 2>&5
10976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10977 (exit $ac_status); }; }; then
10978 ac_cv_lib_avcodec_avcodec_init=yes
10980 echo "$as_me: failed program was:" >&5
10981 cat conftest.$ac_ext >&5
10982 ac_cv_lib_avcodec_avcodec_init=no
10984 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10985 LIBS=$ac_check_lib_save_LIBS
10987 echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_avcodec_init" >&5
10988 echo "${ECHO_T}$ac_cv_lib_avcodec_avcodec_init" >&6
10989 if test $ac_cv_lib_avcodec_avcodec_init = yes; then
10991 BUILTINS="${BUILTINS} ffmpeg"
10992 ffmpeg_LDFLAGS="${ffmpeg_LDFLAGS} -lavcodec"
10993 if test x$SYS != xbeos
10995 ffmpeg_LDFLAGS="${ffmpeg_LDFLAGS} -lm"
10998 { { echo "$as_me:$LINENO: error: Cannot find libavcodec library..." >&5
10999 echo "$as_me: error: Cannot find libavcodec library..." >&2;}
11000 { (exit 1); exit 1; }; }
11003 CFLAGS=$save_CFLAGS
11004 LDFLAGS=$save_LDFLAGS
11009 if test x$SYS = xbeos
11011 PLUGINS="${PLUGINS} beos"
11014 # Check whether --enable-a52 or --disable-a52 was given.
11015 if test "${enable_a52+set}" = set; then
11016 enableval="$enable_a52"
11019 if test "x$enable_a52" != "xno"
11022 # Check whether --with-a52-tree or --without-a52-tree was given.
11023 if test "${with_a52_tree+set}" = set; then
11024 withval="$with_a52_tree"
11027 if test "x$with_a52_tree" != "xno" -a "x$with_a52_tree" != "x"
11029 real_a52_tree="`cd ${with_a52_tree} 2>/dev/null && pwd`"
11030 if test "x$real_a52_tree" = x
11032 echo "$as_me:$LINENO: result: no" >&5
11033 echo "${ECHO_T}no" >&6
11034 { { echo "$as_me:$LINENO: error: ${with_a52_tree} directory doesn't exist" >&5
11035 echo "$as_me: error: ${with_a52_tree} directory doesn't exist" >&2;}
11036 { (exit 1); exit 1; }; }
11038 echo "$as_me:$LINENO: checking for a52.h in ${real_a52_tree}/include" >&5
11039 echo $ECHO_N "checking for a52.h in ${real_a52_tree}/include... $ECHO_C" >&6
11040 if test -f ${real_a52_tree}/include/a52.h
11042 echo "$as_me:$LINENO: result: yes" >&5
11043 echo "${ECHO_T}yes" >&6
11044 a52_CFLAGS="${a52_CFLAGS} -I${real_a52_tree}"
11045 a52_LDFLAGS="${a52_LDFLAGS} -L${real_a52_tree}/liba52/.libs"
11046 save_LDFLAGS=$LDFLAGS
11047 LDFLAGS="$a52_LDFLAGS $LDFLAGS"
11048 echo "$as_me:$LINENO: checking for a52_free in -la52" >&5
11049 echo $ECHO_N "checking for a52_free in -la52... $ECHO_C" >&6
11050 if test "${ac_cv_lib_a52_a52_free+set}" = set; then
11051 echo $ECHO_N "(cached) $ECHO_C" >&6
11053 ac_check_lib_save_LIBS=$LIBS
11054 LIBS="-la52 -lm $LIBS"
11055 cat >conftest.$ac_ext <<_ACEOF
11056 #line $LINENO "configure"
11057 #include "confdefs.h"
11059 /* Override any gcc2 internal prototype to avoid an error. */
11063 /* We use char because int might match the return type of a gcc2
11064 builtin and then its argument prototype would still apply. */
11066 #ifdef F77_DUMMY_MAIN
11067 # ifdef __cplusplus
11070 int F77_DUMMY_MAIN() { return 1; }
11080 rm -f conftest.$ac_objext conftest$ac_exeext
11081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11082 (eval $ac_link) 2>&5
11084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11085 (exit $ac_status); } &&
11086 { ac_try='test -s conftest$ac_exeext'
11087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11088 (eval $ac_try) 2>&5
11090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11091 (exit $ac_status); }; }; then
11092 ac_cv_lib_a52_a52_free=yes
11094 echo "$as_me: failed program was:" >&5
11095 cat conftest.$ac_ext >&5
11096 ac_cv_lib_a52_a52_free=no
11098 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11099 LIBS=$ac_check_lib_save_LIBS
11101 echo "$as_me:$LINENO: result: $ac_cv_lib_a52_a52_free" >&5
11102 echo "${ECHO_T}$ac_cv_lib_a52_a52_free" >&6
11103 if test $ac_cv_lib_a52_a52_free = yes; then
11105 BUILTINS="${BUILTINS} a52"
11106 a52_LDFLAGS="${a52_LDFLAGS} -la52 -lm"
11107 a52_CFLAGS="${a52_CFLAGS} -DUSE_A52DEC_TREE"
11111 if test -f ${real_a52_tree}/liba52/.libs/liba52.a
11113 { { echo "$as_me:$LINENO: error: make sure you have at least a52dec-0.7.3" >&5
11114 echo "$as_me: error: make sure you have at least a52dec-0.7.3" >&2;}
11115 { (exit 1); exit 1; }; }
11117 { { echo "$as_me:$LINENO: error: the specified tree hasn't been compiled" >&5
11118 echo "$as_me: error: the specified tree hasn't been compiled" >&2;}
11119 { (exit 1); exit 1; }; }
11124 LDFLAGS=$save_LDFLAGS
11126 echo "$as_me:$LINENO: result: no" >&5
11127 echo "${ECHO_T}no" >&6
11128 { { echo "$as_me:$LINENO: error: the specified tree doesn't have a52.h" >&5
11129 echo "$as_me: error: the specified tree doesn't have a52.h" >&2;}
11130 { (exit 1); exit 1; }; }
11133 for ac_header in a52dec/a52.h
11135 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11137 echo "$as_me:$LINENO: checking for $ac_header" >&5
11138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11140 echo $ECHO_N "(cached) $ECHO_C" >&6
11142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11143 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11145 # Is the header compilable?
11146 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11147 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11148 cat >conftest.$ac_ext <<_ACEOF
11149 #line $LINENO "configure"
11150 #include "confdefs.h"
11151 $ac_includes_default
11152 #include <$ac_header>
11154 rm -f conftest.$ac_objext
11155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11156 (eval $ac_compile) 2>&5
11158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11159 (exit $ac_status); } &&
11160 { ac_try='test -s conftest.$ac_objext'
11161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11162 (eval $ac_try) 2>&5
11164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11165 (exit $ac_status); }; }; then
11166 ac_header_compiler=yes
11168 echo "$as_me: failed program was:" >&5
11169 cat conftest.$ac_ext >&5
11170 ac_header_compiler=no
11172 rm -f conftest.$ac_objext conftest.$ac_ext
11173 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11174 echo "${ECHO_T}$ac_header_compiler" >&6
11176 # Is the header present?
11177 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11178 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11179 cat >conftest.$ac_ext <<_ACEOF
11180 #line $LINENO "configure"
11181 #include "confdefs.h"
11182 #include <$ac_header>
11184 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11185 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11187 egrep -v '^ *\+' conftest.er1 >conftest.err
11189 cat conftest.err >&5
11190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11191 (exit $ac_status); } >/dev/null; then
11192 if test -s conftest.err; then
11193 ac_cpp_err=$ac_c_preproc_warn_flag
11200 if test -z "$ac_cpp_err"; then
11201 ac_header_preproc=yes
11203 echo "$as_me: failed program was:" >&5
11204 cat conftest.$ac_ext >&5
11205 ac_header_preproc=no
11207 rm -f conftest.err conftest.$ac_ext
11208 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11209 echo "${ECHO_T}$ac_header_preproc" >&6
11211 # So? What about this header?
11212 case $ac_header_compiler:$ac_header_preproc in
11214 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11215 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11216 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11217 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11219 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11220 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11221 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11222 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11223 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11224 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11226 echo "$as_me:$LINENO: checking for $ac_header" >&5
11227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11229 echo $ECHO_N "(cached) $ECHO_C" >&6
11231 eval "$as_ac_Header=$ac_header_preproc"
11233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11234 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11237 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11238 cat >>confdefs.h <<_ACEOF
11239 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11242 echo "$as_me:$LINENO: checking for a52_free in -la52" >&5
11243 echo $ECHO_N "checking for a52_free in -la52... $ECHO_C" >&6
11244 if test "${ac_cv_lib_a52_a52_free+set}" = set; then
11245 echo $ECHO_N "(cached) $ECHO_C" >&6
11247 ac_check_lib_save_LIBS=$LIBS
11248 LIBS="-la52 -lm $LIBS"
11249 cat >conftest.$ac_ext <<_ACEOF
11250 #line $LINENO "configure"
11251 #include "confdefs.h"
11253 /* Override any gcc2 internal prototype to avoid an error. */
11257 /* We use char because int might match the return type of a gcc2
11258 builtin and then its argument prototype would still apply. */
11260 #ifdef F77_DUMMY_MAIN
11261 # ifdef __cplusplus
11264 int F77_DUMMY_MAIN() { return 1; }
11274 rm -f conftest.$ac_objext conftest$ac_exeext
11275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11276 (eval $ac_link) 2>&5
11278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11279 (exit $ac_status); } &&
11280 { ac_try='test -s conftest$ac_exeext'
11281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11282 (eval $ac_try) 2>&5
11284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11285 (exit $ac_status); }; }; then
11286 ac_cv_lib_a52_a52_free=yes
11288 echo "$as_me: failed program was:" >&5
11289 cat conftest.$ac_ext >&5
11290 ac_cv_lib_a52_a52_free=no
11292 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11293 LIBS=$ac_check_lib_save_LIBS
11295 echo "$as_me:$LINENO: result: $ac_cv_lib_a52_a52_free" >&5
11296 echo "${ECHO_T}$ac_cv_lib_a52_a52_free" >&6
11297 if test $ac_cv_lib_a52_a52_free = yes; then
11299 BUILTINS="${BUILTINS} a52"
11300 a52_LDFLAGS="${a52_LDFLAGS} -la52 -lm"
11301 a52_CFLAGS="${a52_CFLAGS}"
11313 # Check whether --enable-vorbis or --disable-vorbis was given.
11314 if test "${enable_vorbis+set}" = set; then
11315 enableval="$enable_vorbis"
11318 if test "x$enable_vorbis" != "xno"
11321 for ac_header in ogg/ogg.h
11323 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11324 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11325 echo "$as_me:$LINENO: checking for $ac_header" >&5
11326 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11328 echo $ECHO_N "(cached) $ECHO_C" >&6
11330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11331 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11333 # Is the header compilable?
11334 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11335 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11336 cat >conftest.$ac_ext <<_ACEOF
11337 #line $LINENO "configure"
11338 #include "confdefs.h"
11339 $ac_includes_default
11340 #include <$ac_header>
11342 rm -f conftest.$ac_objext
11343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11344 (eval $ac_compile) 2>&5
11346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11347 (exit $ac_status); } &&
11348 { ac_try='test -s conftest.$ac_objext'
11349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11350 (eval $ac_try) 2>&5
11352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11353 (exit $ac_status); }; }; then
11354 ac_header_compiler=yes
11356 echo "$as_me: failed program was:" >&5
11357 cat conftest.$ac_ext >&5
11358 ac_header_compiler=no
11360 rm -f conftest.$ac_objext conftest.$ac_ext
11361 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11362 echo "${ECHO_T}$ac_header_compiler" >&6
11364 # Is the header present?
11365 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11366 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11367 cat >conftest.$ac_ext <<_ACEOF
11368 #line $LINENO "configure"
11369 #include "confdefs.h"
11370 #include <$ac_header>
11372 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11373 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11375 egrep -v '^ *\+' conftest.er1 >conftest.err
11377 cat conftest.err >&5
11378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11379 (exit $ac_status); } >/dev/null; then
11380 if test -s conftest.err; then
11381 ac_cpp_err=$ac_c_preproc_warn_flag
11388 if test -z "$ac_cpp_err"; then
11389 ac_header_preproc=yes
11391 echo "$as_me: failed program was:" >&5
11392 cat conftest.$ac_ext >&5
11393 ac_header_preproc=no
11395 rm -f conftest.err conftest.$ac_ext
11396 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11397 echo "${ECHO_T}$ac_header_preproc" >&6
11399 # So? What about this header?
11400 case $ac_header_compiler:$ac_header_preproc in
11402 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11403 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11404 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11405 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11407 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11408 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11409 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11410 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11411 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11412 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11414 echo "$as_me:$LINENO: checking for $ac_header" >&5
11415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11417 echo $ECHO_N "(cached) $ECHO_C" >&6
11419 eval "$as_ac_Header=$ac_header_preproc"
11421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11422 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11425 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11426 cat >>confdefs.h <<_ACEOF
11427 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11430 #PLUGINS="${PLUGINS} vorbis"
11431 vorbis_LDFLAGS="${vorbis_LDFLAGS} -lvorbis"
11441 # Check whether --with- or --without- was given.
11442 if test "${with_+set}" = set; then
11447 # Check whether --enable-x11 or --disable-x11 was given.
11448 if test "${enable_x11+set}" = set; then
11449 enableval="$enable_x11"
11452 if test x$enable_x11 != xno &&
11453 (test x$SYS != xmingw32 || test x$enable_x11 = xyes); then
11454 if test x$x_includes = xNONE; then
11455 x_includes=/usr/X11R6/include
11457 if test x$x_libraries = xNONE; then
11458 x_libraries=/usr/X11R6/lib
11460 CPPFLAGS="$save_CPPFLAGS -I$x_includes"
11462 for ac_header in X11/Xlib.h
11464 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11466 echo "$as_me:$LINENO: checking for $ac_header" >&5
11467 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11468 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11469 echo $ECHO_N "(cached) $ECHO_C" >&6
11471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11472 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11474 # Is the header compilable?
11475 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11476 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11477 cat >conftest.$ac_ext <<_ACEOF
11478 #line $LINENO "configure"
11479 #include "confdefs.h"
11480 $ac_includes_default
11481 #include <$ac_header>
11483 rm -f conftest.$ac_objext
11484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11485 (eval $ac_compile) 2>&5
11487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11488 (exit $ac_status); } &&
11489 { ac_try='test -s conftest.$ac_objext'
11490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11491 (eval $ac_try) 2>&5
11493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11494 (exit $ac_status); }; }; then
11495 ac_header_compiler=yes
11497 echo "$as_me: failed program was:" >&5
11498 cat conftest.$ac_ext >&5
11499 ac_header_compiler=no
11501 rm -f conftest.$ac_objext conftest.$ac_ext
11502 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11503 echo "${ECHO_T}$ac_header_compiler" >&6
11505 # Is the header present?
11506 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11507 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11508 cat >conftest.$ac_ext <<_ACEOF
11509 #line $LINENO "configure"
11510 #include "confdefs.h"
11511 #include <$ac_header>
11513 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11514 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11516 egrep -v '^ *\+' conftest.er1 >conftest.err
11518 cat conftest.err >&5
11519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11520 (exit $ac_status); } >/dev/null; then
11521 if test -s conftest.err; then
11522 ac_cpp_err=$ac_c_preproc_warn_flag
11529 if test -z "$ac_cpp_err"; then
11530 ac_header_preproc=yes
11532 echo "$as_me: failed program was:" >&5
11533 cat conftest.$ac_ext >&5
11534 ac_header_preproc=no
11536 rm -f conftest.err conftest.$ac_ext
11537 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11538 echo "${ECHO_T}$ac_header_preproc" >&6
11540 # So? What about this header?
11541 case $ac_header_compiler:$ac_header_preproc in
11543 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11544 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11545 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11546 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11548 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11549 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11550 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11551 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11552 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11553 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11555 echo "$as_me:$LINENO: checking for $ac_header" >&5
11556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11558 echo $ECHO_N "(cached) $ECHO_C" >&6
11560 eval "$as_ac_Header=$ac_header_preproc"
11562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11563 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11566 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11567 cat >>confdefs.h <<_ACEOF
11568 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11571 PLUGINS="${PLUGINS} x11"
11572 x11_LDFLAGS="${x11_LDFLAGS} -L$x_libraries -lX11 -lXext"
11573 x11_CFLAGS="${x11_CFLAGS} -I$x_includes"
11579 CPPFLAGS="$save_CPPFLAGS"
11582 # Check whether --enable-xvideo or --disable-xvideo was given.
11583 if test "${enable_xvideo+set}" = set; then
11584 enableval="$enable_xvideo"
11587 if test x$enable_xvideo != xno &&
11588 (test x$SYS != xmingw32 || test x$enable_xvideo = xyes); then
11589 if test x$x_includes = xNONE; then
11590 x_includes=/usr/X11R6/include
11592 if test x$x_libraries = xNONE; then
11593 x_libraries=/usr/X11R6/lib
11595 save_CPPFLAGS=$CPPFLAGS
11596 CPPFLAGS="$save_CPPFLAGS -I$x_includes"
11598 for ac_header in X11/extensions/Xv.h
11600 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11602 echo "$as_me:$LINENO: checking for $ac_header" >&5
11603 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11604 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11605 echo $ECHO_N "(cached) $ECHO_C" >&6
11607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11608 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11610 # Is the header compilable?
11611 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11612 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11613 cat >conftest.$ac_ext <<_ACEOF
11614 #line $LINENO "configure"
11615 #include "confdefs.h"
11616 $ac_includes_default
11617 #include <$ac_header>
11619 rm -f conftest.$ac_objext
11620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11621 (eval $ac_compile) 2>&5
11623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11624 (exit $ac_status); } &&
11625 { ac_try='test -s conftest.$ac_objext'
11626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11627 (eval $ac_try) 2>&5
11629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11630 (exit $ac_status); }; }; then
11631 ac_header_compiler=yes
11633 echo "$as_me: failed program was:" >&5
11634 cat conftest.$ac_ext >&5
11635 ac_header_compiler=no
11637 rm -f conftest.$ac_objext conftest.$ac_ext
11638 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11639 echo "${ECHO_T}$ac_header_compiler" >&6
11641 # Is the header present?
11642 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11643 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11644 cat >conftest.$ac_ext <<_ACEOF
11645 #line $LINENO "configure"
11646 #include "confdefs.h"
11647 #include <$ac_header>
11649 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11650 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11652 egrep -v '^ *\+' conftest.er1 >conftest.err
11654 cat conftest.err >&5
11655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11656 (exit $ac_status); } >/dev/null; then
11657 if test -s conftest.err; then
11658 ac_cpp_err=$ac_c_preproc_warn_flag
11665 if test -z "$ac_cpp_err"; then
11666 ac_header_preproc=yes
11668 echo "$as_me: failed program was:" >&5
11669 cat conftest.$ac_ext >&5
11670 ac_header_preproc=no
11672 rm -f conftest.err conftest.$ac_ext
11673 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11674 echo "${ECHO_T}$ac_header_preproc" >&6
11676 # So? What about this header?
11677 case $ac_header_compiler:$ac_header_preproc in
11679 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11680 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11681 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11682 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11684 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11685 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11686 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11687 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11688 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11689 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11691 echo "$as_me:$LINENO: checking for $ac_header" >&5
11692 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11694 echo $ECHO_N "(cached) $ECHO_C" >&6
11696 eval "$as_ac_Header=$ac_header_preproc"
11698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11699 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11702 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11703 cat >>confdefs.h <<_ACEOF
11704 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11707 save_CFLAGS=$CFLAGS
11708 CFLAGS="$CFLAGS -L$x_libraries -lX11 -lXext"
11709 echo "$as_me:$LINENO: checking for XvSetPortAttribute in -lXv_pic" >&5
11710 echo $ECHO_N "checking for XvSetPortAttribute in -lXv_pic... $ECHO_C" >&6
11711 if test "${ac_cv_lib_Xv_pic_XvSetPortAttribute+set}" = set; then
11712 echo $ECHO_N "(cached) $ECHO_C" >&6
11714 ac_check_lib_save_LIBS=$LIBS
11715 LIBS="-lXv_pic $LIBS"
11716 cat >conftest.$ac_ext <<_ACEOF
11717 #line $LINENO "configure"
11718 #include "confdefs.h"
11720 /* Override any gcc2 internal prototype to avoid an error. */
11724 /* We use char because int might match the return type of a gcc2
11725 builtin and then its argument prototype would still apply. */
11726 char XvSetPortAttribute ();
11727 #ifdef F77_DUMMY_MAIN
11728 # ifdef __cplusplus
11731 int F77_DUMMY_MAIN() { return 1; }
11736 XvSetPortAttribute ();
11741 rm -f conftest.$ac_objext conftest$ac_exeext
11742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11743 (eval $ac_link) 2>&5
11745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11746 (exit $ac_status); } &&
11747 { ac_try='test -s conftest$ac_exeext'
11748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11749 (eval $ac_try) 2>&5
11751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11752 (exit $ac_status); }; }; then
11753 ac_cv_lib_Xv_pic_XvSetPortAttribute=yes
11755 echo "$as_me: failed program was:" >&5
11756 cat conftest.$ac_ext >&5
11757 ac_cv_lib_Xv_pic_XvSetPortAttribute=no
11759 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11760 LIBS=$ac_check_lib_save_LIBS
11762 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_pic_XvSetPortAttribute" >&5
11763 echo "${ECHO_T}$ac_cv_lib_Xv_pic_XvSetPortAttribute" >&6
11764 if test $ac_cv_lib_Xv_pic_XvSetPortAttribute = yes; then
11765 # We have Xv_pic, that's good, we can build an xvideo.so plugin !
11766 PLUGINS="${PLUGINS} xvideo"
11767 xvideo_LDFLAGS="${xvideo_LDFLAGS} -L$x_libraries -lX11 -lXext -lXv_pic"
11768 xvideo_CFLAGS="${xvideo_CFLAGS} -I$x_includes"
11770 # We don't have Xv_pic, let's make xvideo.a as builtin
11771 BUILTINS="${BUILTINS} xvideo"
11772 xvideo_LDFLAGS="${xvideo_LDFLAGS} -L$x_libraries -lX11 -lXext -lXv"
11773 xvideo_CFLAGS="${xvideo_CFLAGS} -I$x_includes"
11776 CFLAGS="$save_CFLAGS"
11778 CPPFLAGS="$save_CPPFLAGS"
11785 # Check whether --enable-sdl or --disable-sdl was given.
11786 if test "${enable_sdl+set}" = set; then
11787 enableval="$enable_sdl"
11790 if test "x$enable_sdl" != "xno"
11794 # Check whether --with-sdl-config-path or --without-sdl-config-path was given.
11795 if test "${with_sdl_config_path+set}" = set; then
11796 withval="$with_sdl_config_path"
11797 if test "x$with_sdl_config_path" != "xno"
11799 SDL_PATH="$with_sdl_config_path:$PATH"
11802 # Extract the first word of "sdl12-config", so it can be a program name with args.
11803 set dummy sdl12-config; ac_word=$2
11804 echo "$as_me:$LINENO: checking for $ac_word" >&5
11805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11806 if test "${ac_cv_path_SDL12_CONFIG+set}" = set; then
11807 echo $ECHO_N "(cached) $ECHO_C" >&6
11809 case $SDL12_CONFIG in
11811 ac_cv_path_SDL12_CONFIG="$SDL12_CONFIG" # Let the user override the test with a path.
11814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11815 for as_dir in $SDL_PATH
11818 test -z "$as_dir" && as_dir=.
11819 for ac_exec_ext in '' $ac_executable_extensions; do
11820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11821 ac_cv_path_SDL12_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11828 test -z "$ac_cv_path_SDL12_CONFIG" && ac_cv_path_SDL12_CONFIG="no"
11832 SDL12_CONFIG=$ac_cv_path_SDL12_CONFIG
11834 if test -n "$SDL12_CONFIG"; then
11835 echo "$as_me:$LINENO: result: $SDL12_CONFIG" >&5
11836 echo "${ECHO_T}$SDL12_CONFIG" >&6
11838 echo "$as_me:$LINENO: result: no" >&5
11839 echo "${ECHO_T}no" >&6
11842 SDL_CONFIG=${SDL12_CONFIG}
11843 SDL_HEADER="SDL12/SDL.h"
11844 if test x${SDL_CONFIG} = xno
11846 # Extract the first word of "sdl11-config", so it can be a program name with args.
11847 set dummy sdl11-config; ac_word=$2
11848 echo "$as_me:$LINENO: checking for $ac_word" >&5
11849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11850 if test "${ac_cv_path_SDL11_CONFIG+set}" = set; then
11851 echo $ECHO_N "(cached) $ECHO_C" >&6
11853 case $SDL11_CONFIG in
11855 ac_cv_path_SDL11_CONFIG="$SDL11_CONFIG" # Let the user override the test with a path.
11858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11859 for as_dir in $SDL_PATH
11862 test -z "$as_dir" && as_dir=.
11863 for ac_exec_ext in '' $ac_executable_extensions; do
11864 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11865 ac_cv_path_SDL11_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11872 test -z "$ac_cv_path_SDL11_CONFIG" && ac_cv_path_SDL11_CONFIG="no"
11876 SDL11_CONFIG=$ac_cv_path_SDL11_CONFIG
11878 if test -n "$SDL11_CONFIG"; then
11879 echo "$as_me:$LINENO: result: $SDL11_CONFIG" >&5
11880 echo "${ECHO_T}$SDL11_CONFIG" >&6
11882 echo "$as_me:$LINENO: result: no" >&5
11883 echo "${ECHO_T}no" >&6
11886 SDL_CONFIG=${SDL11_CONFIG}
11887 SDL_HEADER="SDL11/SDL.h"
11889 if test x${SDL_CONFIG} = xno
11891 # Extract the first word of "sdl-config", so it can be a program name with args.
11892 set dummy sdl-config; ac_word=$2
11893 echo "$as_me:$LINENO: checking for $ac_word" >&5
11894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11895 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
11896 echo $ECHO_N "(cached) $ECHO_C" >&6
11898 case $SDL_CONFIG in
11900 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
11903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11904 for as_dir in $SDL_PATH
11907 test -z "$as_dir" && as_dir=.
11908 for ac_exec_ext in '' $ac_executable_extensions; do
11909 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11910 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11917 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
11921 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
11923 if test -n "$SDL_CONFIG"; then
11924 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
11925 echo "${ECHO_T}$SDL_CONFIG" >&6
11927 echo "$as_me:$LINENO: result: no" >&5
11928 echo "${ECHO_T}no" >&6
11931 SDL_HEADER="SDL/SDL.h"
11933 if test x${SDL_CONFIG} != xno
11935 PLUGINS="${PLUGINS} sdl"
11936 sdl_CFLAGS="${sdl_CFLAGS} `${SDL_CONFIG} --cflags`"
11937 sdl_LDFLAGS="${sdl_LDFLAGS} `${SDL_CONFIG} --libs | sed 's,-rdynamic,,'`"
11938 CPPFLAGS="$save_CPPFLAGS $sdl_CFLAGS"
11940 for ac_header in ${SDL_HEADER}
11942 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11944 echo "$as_me:$LINENO: checking for $ac_header" >&5
11945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11947 echo $ECHO_N "(cached) $ECHO_C" >&6
11949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11950 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11952 # Is the header compilable?
11953 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11954 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11955 cat >conftest.$ac_ext <<_ACEOF
11956 #line $LINENO "configure"
11957 #include "confdefs.h"
11958 $ac_includes_default
11959 #include <$ac_header>
11961 rm -f conftest.$ac_objext
11962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11963 (eval $ac_compile) 2>&5
11965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11966 (exit $ac_status); } &&
11967 { ac_try='test -s conftest.$ac_objext'
11968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11969 (eval $ac_try) 2>&5
11971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11972 (exit $ac_status); }; }; then
11973 ac_header_compiler=yes
11975 echo "$as_me: failed program was:" >&5
11976 cat conftest.$ac_ext >&5
11977 ac_header_compiler=no
11979 rm -f conftest.$ac_objext conftest.$ac_ext
11980 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11981 echo "${ECHO_T}$ac_header_compiler" >&6
11983 # Is the header present?
11984 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11985 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11986 cat >conftest.$ac_ext <<_ACEOF
11987 #line $LINENO "configure"
11988 #include "confdefs.h"
11989 #include <$ac_header>
11991 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11992 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11994 egrep -v '^ *\+' conftest.er1 >conftest.err
11996 cat conftest.err >&5
11997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11998 (exit $ac_status); } >/dev/null; then
11999 if test -s conftest.err; then
12000 ac_cpp_err=$ac_c_preproc_warn_flag
12007 if test -z "$ac_cpp_err"; then
12008 ac_header_preproc=yes
12010 echo "$as_me: failed program was:" >&5
12011 cat conftest.$ac_ext >&5
12012 ac_header_preproc=no
12014 rm -f conftest.err conftest.$ac_ext
12015 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12016 echo "${ECHO_T}$ac_header_preproc" >&6
12018 # So? What about this header?
12019 case $ac_header_compiler:$ac_header_preproc in
12021 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12022 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12023 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12024 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12026 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12027 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12028 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12029 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12030 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12031 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12033 echo "$as_me:$LINENO: checking for $ac_header" >&5
12034 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12035 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12036 echo $ECHO_N "(cached) $ECHO_C" >&6
12038 eval "$as_ac_Header=$ac_header_preproc"
12040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12041 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12044 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12045 cat >>confdefs.h <<_ACEOF
12046 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12049 cat >>confdefs.h <<_ACEOF
12050 #define SDL_INCLUDE_FILE <${SDL_HEADER}>
12054 { { echo "$as_me:$LINENO: error: The development package for SDL is not installed.
12055 Please install it and try again. Alternatively you can also configure with
12056 --disable-sdl." >&5
12057 echo "$as_me: error: The development package for SDL is not installed.
12058 Please install it and try again. Alternatively you can also configure with
12059 --disable-sdl." >&2;}
12060 { (exit 1); exit 1; }; }
12066 CPPFLAGS="$save_CPPFLAGS"
12067 if expr 1.1.5 \> `$SDL_CONFIG --version` >/dev/null
12069 { { echo "$as_me:$LINENO: error: The development package for SDL is not installed.
12070 Please install it and try again. Alternatively you can also configure with
12071 --disable-sdl." >&5
12072 echo "$as_me: error: The development package for SDL is not installed.
12073 Please install it and try again. Alternatively you can also configure with
12074 --disable-sdl." >&2;}
12075 { (exit 1); exit 1; }; }
12077 elif test "x$enable_sdl" = "xyes"
12079 { { echo "$as_me:$LINENO: error: I couldn't find the SDL package. You can download libSDL
12080 from http://www.libsdl.org/, or configure with --disable-sdl. Have a nice day.
12082 echo "$as_me: error: I couldn't find the SDL package. You can download libSDL
12083 from http://www.libsdl.org/, or configure with --disable-sdl. Have a nice day.
12085 { (exit 1); exit 1; }; }
12089 # Check whether --enable-qte or --disable-qte was given.
12090 if test "${enable_qte+set}" = set; then
12091 enableval="$enable_qte"
12094 if test "x${enable_qte}" != "xno"
12097 # Check whether --with-qte or --without-qte was given.
12098 if test "${with_qte+set}" = set; then
12099 withval="$with_qte"
12102 if test "x${with_qte}" = "x"
12104 test_LDFLAGS="-L${QTDIR}/lib"
12105 test_CFLAGS="-I$(QTDIR)/include"
12107 test_LDFLAGS="-L${with_qte}/lib"
12108 test_CFLAGS="-I${with_qte}/include"
12111 CPPFLAGS="${save_CPPFLAGS} ${test_CFLAGS}"
12113 for ac_header in qt.h
12115 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12117 echo "$as_me:$LINENO: checking for $ac_header" >&5
12118 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12119 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12120 echo $ECHO_N "(cached) $ECHO_C" >&6
12122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12123 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12125 # Is the header compilable?
12126 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12127 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12128 cat >conftest.$ac_ext <<_ACEOF
12129 #line $LINENO "configure"
12130 #include "confdefs.h"
12131 $ac_includes_default
12132 #include <$ac_header>
12134 rm -f conftest.$ac_objext
12135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12136 (eval $ac_compile) 2>&5
12138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12139 (exit $ac_status); } &&
12140 { ac_try='test -s conftest.$ac_objext'
12141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12142 (eval $ac_try) 2>&5
12144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12145 (exit $ac_status); }; }; then
12146 ac_header_compiler=yes
12148 echo "$as_me: failed program was:" >&5
12149 cat conftest.$ac_ext >&5
12150 ac_header_compiler=no
12152 rm -f conftest.$ac_objext conftest.$ac_ext
12153 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12154 echo "${ECHO_T}$ac_header_compiler" >&6
12156 # Is the header present?
12157 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12158 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12159 cat >conftest.$ac_ext <<_ACEOF
12160 #line $LINENO "configure"
12161 #include "confdefs.h"
12162 #include <$ac_header>
12164 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12165 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12167 egrep -v '^ *\+' conftest.er1 >conftest.err
12169 cat conftest.err >&5
12170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171 (exit $ac_status); } >/dev/null; then
12172 if test -s conftest.err; then
12173 ac_cpp_err=$ac_c_preproc_warn_flag
12180 if test -z "$ac_cpp_err"; then
12181 ac_header_preproc=yes
12183 echo "$as_me: failed program was:" >&5
12184 cat conftest.$ac_ext >&5
12185 ac_header_preproc=no
12187 rm -f conftest.err conftest.$ac_ext
12188 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12189 echo "${ECHO_T}$ac_header_preproc" >&6
12191 # So? What about this header?
12192 case $ac_header_compiler:$ac_header_preproc in
12194 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12195 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12196 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12197 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12199 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12200 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12201 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12202 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12203 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12204 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12206 echo "$as_me:$LINENO: checking for $ac_header" >&5
12207 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12208 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12209 echo $ECHO_N "(cached) $ECHO_C" >&6
12211 eval "$as_ac_Header=$ac_header_preproc"
12213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12214 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12217 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12218 cat >>confdefs.h <<_ACEOF
12219 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12222 qte_CFLAGS="${qte_CFLAGS} ${test_CFLAGS} -DQT_QWS_IPAQ -DQWS -fno-exceptions -fno-rtti"
12223 qte_LDFLAGS="${qte_LDFLAGS} ${test_LDFLAGS} -lqpe -lqte"
12224 if test "x${with_qte}" = "x"
12226 PLUGINS="${PLUGINS} qte"
12228 BUILTINS="${BUILTINS} qte"
12235 CPPFLAGS="${save_CPPFLAGS}"
12238 # Check whether --enable-directx or --disable-directx was given.
12239 if test "${enable_directx+set}" = set; then
12240 enableval="$enable_directx"
12243 if test "x$enable_directx" != "xno"
12245 if test x$SYS = xmingw32
12248 # Check whether --with-directx or --without-directx was given.
12249 if test "${with_directx+set}" = set; then
12250 withval="$with_directx"
12253 if test "x$with_directx" = "x"
12256 for ac_header in ddraw.h
12258 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12260 echo "$as_me:$LINENO: checking for $ac_header" >&5
12261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12263 echo $ECHO_N "(cached) $ECHO_C" >&6
12265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12266 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12268 # Is the header compilable?
12269 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12270 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12271 cat >conftest.$ac_ext <<_ACEOF
12272 #line $LINENO "configure"
12273 #include "confdefs.h"
12274 $ac_includes_default
12275 #include <$ac_header>
12277 rm -f conftest.$ac_objext
12278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12279 (eval $ac_compile) 2>&5
12281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12282 (exit $ac_status); } &&
12283 { ac_try='test -s conftest.$ac_objext'
12284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12285 (eval $ac_try) 2>&5
12287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12288 (exit $ac_status); }; }; then
12289 ac_header_compiler=yes
12291 echo "$as_me: failed program was:" >&5
12292 cat conftest.$ac_ext >&5
12293 ac_header_compiler=no
12295 rm -f conftest.$ac_objext conftest.$ac_ext
12296 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12297 echo "${ECHO_T}$ac_header_compiler" >&6
12299 # Is the header present?
12300 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12301 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12302 cat >conftest.$ac_ext <<_ACEOF
12303 #line $LINENO "configure"
12304 #include "confdefs.h"
12305 #include <$ac_header>
12307 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12308 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12310 egrep -v '^ *\+' conftest.er1 >conftest.err
12312 cat conftest.err >&5
12313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12314 (exit $ac_status); } >/dev/null; then
12315 if test -s conftest.err; then
12316 ac_cpp_err=$ac_c_preproc_warn_flag
12323 if test -z "$ac_cpp_err"; then
12324 ac_header_preproc=yes
12326 echo "$as_me: failed program was:" >&5
12327 cat conftest.$ac_ext >&5
12328 ac_header_preproc=no
12330 rm -f conftest.err conftest.$ac_ext
12331 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12332 echo "${ECHO_T}$ac_header_preproc" >&6
12334 # So? What about this header?
12335 case $ac_header_compiler:$ac_header_preproc in
12337 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12338 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12339 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12340 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12342 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12343 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12344 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12345 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12347 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12349 echo "$as_me:$LINENO: checking for $ac_header" >&5
12350 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12351 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12352 echo $ECHO_N "(cached) $ECHO_C" >&6
12354 eval "$as_ac_Header=$ac_header_preproc"
12356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12357 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12360 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12361 cat >>confdefs.h <<_ACEOF
12362 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12364 PLUGINS="${PLUGINS} directx"
12365 directx_LDFLAGS="${directx_LDFLAGS} -lgdi32"
12371 echo "$as_me:$LINENO: checking for directX headers in ${with_directx}" >&5
12372 echo $ECHO_N "checking for directX headers in ${with_directx}... $ECHO_C" >&6
12373 if test -f ${with_directx}/ddraw.h
12375 PLUGINS="${PLUGINS} directx"
12376 directx_LDFLAGS="${directx_LDFLAGS} -L${with_directx}/lib -lgdi32"
12377 directx_CFLAGS="${directx_CFLAGS} -I${with_directx}"
12378 echo "$as_me:$LINENO: result: yes" >&5
12379 echo "${ECHO_T}yes" >&6
12381 echo "$as_me:$LINENO: result: no" >&5
12382 echo "${ECHO_T}no" >&6
12383 { { echo "$as_me:$LINENO: error: Cannot find ${with_directx}/ddraw.h!" >&5
12384 echo "$as_me: error: Cannot find ${with_directx}/ddraw.h!" >&2;}
12385 { (exit 1); exit 1; }; }
12391 # Check whether --enable-fb or --disable-fb was given.
12392 if test "${enable_fb+set}" = set; then
12393 enableval="$enable_fb"
12396 if test x$enable_fb != xno
12399 for ac_header in linux/fb.h
12401 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12402 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12403 echo "$as_me:$LINENO: checking for $ac_header" >&5
12404 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12405 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12406 echo $ECHO_N "(cached) $ECHO_C" >&6
12408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12409 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12411 # Is the header compilable?
12412 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12413 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12414 cat >conftest.$ac_ext <<_ACEOF
12415 #line $LINENO "configure"
12416 #include "confdefs.h"
12417 $ac_includes_default
12418 #include <$ac_header>
12420 rm -f conftest.$ac_objext
12421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12422 (eval $ac_compile) 2>&5
12424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12425 (exit $ac_status); } &&
12426 { ac_try='test -s conftest.$ac_objext'
12427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12428 (eval $ac_try) 2>&5
12430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12431 (exit $ac_status); }; }; then
12432 ac_header_compiler=yes
12434 echo "$as_me: failed program was:" >&5
12435 cat conftest.$ac_ext >&5
12436 ac_header_compiler=no
12438 rm -f conftest.$ac_objext conftest.$ac_ext
12439 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12440 echo "${ECHO_T}$ac_header_compiler" >&6
12442 # Is the header present?
12443 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12444 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12445 cat >conftest.$ac_ext <<_ACEOF
12446 #line $LINENO "configure"
12447 #include "confdefs.h"
12448 #include <$ac_header>
12450 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12451 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12453 egrep -v '^ *\+' conftest.er1 >conftest.err
12455 cat conftest.err >&5
12456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12457 (exit $ac_status); } >/dev/null; then
12458 if test -s conftest.err; then
12459 ac_cpp_err=$ac_c_preproc_warn_flag
12466 if test -z "$ac_cpp_err"; then
12467 ac_header_preproc=yes
12469 echo "$as_me: failed program was:" >&5
12470 cat conftest.$ac_ext >&5
12471 ac_header_preproc=no
12473 rm -f conftest.err conftest.$ac_ext
12474 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12475 echo "${ECHO_T}$ac_header_preproc" >&6
12477 # So? What about this header?
12478 case $ac_header_compiler:$ac_header_preproc in
12480 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12481 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12482 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12483 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12485 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12486 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12487 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12488 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12489 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12490 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12492 echo "$as_me:$LINENO: checking for $ac_header" >&5
12493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12495 echo $ECHO_N "(cached) $ECHO_C" >&6
12497 eval "$as_ac_Header=$ac_header_preproc"
12499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12500 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12503 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12504 cat >>confdefs.h <<_ACEOF
12505 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12508 PLUGINS="${PLUGINS} fb"
12516 # Check whether --enable-mga or --disable-mga was given.
12517 if test "${enable_mga+set}" = set; then
12518 enableval="$enable_mga"
12519 if test x$enable_mga = xyes
12521 PLUGINS="${PLUGINS} mga xmga"
12525 # Check whether --enable-ggi or --disable-ggi was given.
12526 if test "${enable_ggi+set}" = set; then
12527 enableval="$enable_ggi"
12530 if test x$enable_ggi = xyes
12532 PLUGINS="${PLUGINS} ggi"
12533 ggi_LDFLAGS="${ggi_LDFLAGS} -lggi"
12535 # Check whether --with-ggi or --without-ggi was given.
12536 if test "${with_ggi+set}" = set; then
12537 withval="$with_ggi"
12538 if test "x$with_ggi" != "xno" -a "x$with_ggi" != "x"
12540 CFLAGS_GGI="${CFLAGS_GGI} -I$with_ggi/include"
12541 ggi_LDFLAGS="${ggi_LDFLAGS} -L$with_ggi/lib"
12546 # Check whether --enable-glide or --disable-glide was given.
12547 if test "${enable_glide+set}" = set; then
12548 enableval="$enable_glide"
12551 if test x$enable_glide = xyes
12553 PLUGINS="${PLUGINS} glide"
12554 glide_LDFLAGS="${glide_LDFLAGS} -lglide2x -lm"
12555 glide_CFLAGS="${glide_CFLAGS} -I/usr/include/glide"
12557 # Check whether --with-glide or --without-glide was given.
12558 if test "${with_glide+set}" = set; then
12559 withval="$with_glide"
12560 if test "x$with_glide" != "xno" -a "x$with_glide" != "x"
12562 glide_CFLAGS="${glide_CFLAGS} -I$with_glide/include"
12563 glide_LDFLAGS="${glide_LDFLAGS} -L$with_glide/lib"
12568 # Check whether --enable-aa or --disable-aa was given.
12569 if test "${enable_aa+set}" = set; then
12570 enableval="$enable_aa"
12573 if test x$enable_aa = xyes
12575 if test "${ac_cv_header_aalib_h+set}" = set; then
12576 echo "$as_me:$LINENO: checking for aalib.h" >&5
12577 echo $ECHO_N "checking for aalib.h... $ECHO_C" >&6
12578 if test "${ac_cv_header_aalib_h+set}" = set; then
12579 echo $ECHO_N "(cached) $ECHO_C" >&6
12581 echo "$as_me:$LINENO: result: $ac_cv_header_aalib_h" >&5
12582 echo "${ECHO_T}$ac_cv_header_aalib_h" >&6
12584 # Is the header compilable?
12585 echo "$as_me:$LINENO: checking aalib.h usability" >&5
12586 echo $ECHO_N "checking aalib.h usability... $ECHO_C" >&6
12587 cat >conftest.$ac_ext <<_ACEOF
12588 #line $LINENO "configure"
12589 #include "confdefs.h"
12590 $ac_includes_default
12593 rm -f conftest.$ac_objext
12594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12595 (eval $ac_compile) 2>&5
12597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12598 (exit $ac_status); } &&
12599 { ac_try='test -s conftest.$ac_objext'
12600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12601 (eval $ac_try) 2>&5
12603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12604 (exit $ac_status); }; }; then
12605 ac_header_compiler=yes
12607 echo "$as_me: failed program was:" >&5
12608 cat conftest.$ac_ext >&5
12609 ac_header_compiler=no
12611 rm -f conftest.$ac_objext conftest.$ac_ext
12612 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12613 echo "${ECHO_T}$ac_header_compiler" >&6
12615 # Is the header present?
12616 echo "$as_me:$LINENO: checking aalib.h presence" >&5
12617 echo $ECHO_N "checking aalib.h presence... $ECHO_C" >&6
12618 cat >conftest.$ac_ext <<_ACEOF
12619 #line $LINENO "configure"
12620 #include "confdefs.h"
12623 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12624 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12626 egrep -v '^ *\+' conftest.er1 >conftest.err
12628 cat conftest.err >&5
12629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12630 (exit $ac_status); } >/dev/null; then
12631 if test -s conftest.err; then
12632 ac_cpp_err=$ac_c_preproc_warn_flag
12639 if test -z "$ac_cpp_err"; then
12640 ac_header_preproc=yes
12642 echo "$as_me: failed program was:" >&5
12643 cat conftest.$ac_ext >&5
12644 ac_header_preproc=no
12646 rm -f conftest.err conftest.$ac_ext
12647 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12648 echo "${ECHO_T}$ac_header_preproc" >&6
12650 # So? What about this header?
12651 case $ac_header_compiler:$ac_header_preproc in
12653 { echo "$as_me:$LINENO: WARNING: aalib.h: accepted by the compiler, rejected by the preprocessor!" >&5
12654 echo "$as_me: WARNING: aalib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12655 { echo "$as_me:$LINENO: WARNING: aalib.h: proceeding with the preprocessor's result" >&5
12656 echo "$as_me: WARNING: aalib.h: proceeding with the preprocessor's result" >&2;};;
12658 { echo "$as_me:$LINENO: WARNING: aalib.h: present but cannot be compiled" >&5
12659 echo "$as_me: WARNING: aalib.h: present but cannot be compiled" >&2;}
12660 { echo "$as_me:$LINENO: WARNING: aalib.h: check for missing prerequisite headers?" >&5
12661 echo "$as_me: WARNING: aalib.h: check for missing prerequisite headers?" >&2;}
12662 { echo "$as_me:$LINENO: WARNING: aalib.h: proceeding with the preprocessor's result" >&5
12663 echo "$as_me: WARNING: aalib.h: proceeding with the preprocessor's result" >&2;};;
12665 echo "$as_me:$LINENO: checking for aalib.h" >&5
12666 echo $ECHO_N "checking for aalib.h... $ECHO_C" >&6
12667 if test "${ac_cv_header_aalib_h+set}" = set; then
12668 echo $ECHO_N "(cached) $ECHO_C" >&6
12670 ac_cv_header_aalib_h=$ac_header_preproc
12672 echo "$as_me:$LINENO: result: $ac_cv_header_aalib_h" >&5
12673 echo "${ECHO_T}$ac_cv_header_aalib_h" >&6
12676 if test $ac_cv_header_aalib_h = yes; then
12683 if test x$have_aa = xtrue
12685 PLUGINS="${PLUGINS} aa"
12686 aa_LDFLAGS="${aa_LDFLAGS} -laa"
12692 # Check whether --with- or --without- was given.
12693 if test "${with_+set}" = set; then
12698 # Check whether --enable-dsp or --disable-dsp was given.
12699 if test "${enable_dsp+set}" = set; then
12700 enableval="$enable_dsp"
12704 if test x$enable_dsp != xno &&
12705 (test x$SYS != xmingw32 || test x$enable_dsp = xyes)
12710 for ac_header in soundcard.h sys/soundcard.h machine/soundcard.h
12712 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12713 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12714 echo "$as_me:$LINENO: checking for $ac_header" >&5
12715 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12717 echo $ECHO_N "(cached) $ECHO_C" >&6
12719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12720 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12722 # Is the header compilable?
12723 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12724 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12725 cat >conftest.$ac_ext <<_ACEOF
12726 #line $LINENO "configure"
12727 #include "confdefs.h"
12728 $ac_includes_default
12729 #include <$ac_header>
12731 rm -f conftest.$ac_objext
12732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12733 (eval $ac_compile) 2>&5
12735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12736 (exit $ac_status); } &&
12737 { ac_try='test -s conftest.$ac_objext'
12738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12739 (eval $ac_try) 2>&5
12741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12742 (exit $ac_status); }; }; then
12743 ac_header_compiler=yes
12745 echo "$as_me: failed program was:" >&5
12746 cat conftest.$ac_ext >&5
12747 ac_header_compiler=no
12749 rm -f conftest.$ac_objext conftest.$ac_ext
12750 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12751 echo "${ECHO_T}$ac_header_compiler" >&6
12753 # Is the header present?
12754 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12755 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12756 cat >conftest.$ac_ext <<_ACEOF
12757 #line $LINENO "configure"
12758 #include "confdefs.h"
12759 #include <$ac_header>
12761 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12762 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12764 egrep -v '^ *\+' conftest.er1 >conftest.err
12766 cat conftest.err >&5
12767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12768 (exit $ac_status); } >/dev/null; then
12769 if test -s conftest.err; then
12770 ac_cpp_err=$ac_c_preproc_warn_flag
12777 if test -z "$ac_cpp_err"; then
12778 ac_header_preproc=yes
12780 echo "$as_me: failed program was:" >&5
12781 cat conftest.$ac_ext >&5
12782 ac_header_preproc=no
12784 rm -f conftest.err conftest.$ac_ext
12785 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12786 echo "${ECHO_T}$ac_header_preproc" >&6
12788 # So? What about this header?
12789 case $ac_header_compiler:$ac_header_preproc in
12791 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12792 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12793 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12794 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12796 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12797 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12798 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12799 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12800 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12801 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12803 echo "$as_me:$LINENO: checking for $ac_header" >&5
12804 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12805 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12806 echo $ECHO_N "(cached) $ECHO_C" >&6
12808 eval "$as_ac_Header=$ac_header_preproc"
12810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12811 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12814 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12815 cat >>confdefs.h <<_ACEOF
12816 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12819 PLUGINS="${PLUGINS} dsp"
12820 echo "$as_me:$LINENO: checking for main in -lossaudio" >&5
12821 echo $ECHO_N "checking for main in -lossaudio... $ECHO_C" >&6
12822 if test "${ac_cv_lib_ossaudio_main+set}" = set; then
12823 echo $ECHO_N "(cached) $ECHO_C" >&6
12825 ac_check_lib_save_LIBS=$LIBS
12826 LIBS="-lossaudio $LIBS"
12827 cat >conftest.$ac_ext <<_ACEOF
12828 #line $LINENO "configure"
12829 #include "confdefs.h"
12832 #ifdef F77_DUMMY_MAIN
12833 # ifdef __cplusplus
12836 int F77_DUMMY_MAIN() { return 1; }
12846 rm -f conftest.$ac_objext conftest$ac_exeext
12847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12848 (eval $ac_link) 2>&5
12850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851 (exit $ac_status); } &&
12852 { ac_try='test -s conftest$ac_exeext'
12853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12854 (eval $ac_try) 2>&5
12856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12857 (exit $ac_status); }; }; then
12858 ac_cv_lib_ossaudio_main=yes
12860 echo "$as_me: failed program was:" >&5
12861 cat conftest.$ac_ext >&5
12862 ac_cv_lib_ossaudio_main=no
12864 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12865 LIBS=$ac_check_lib_save_LIBS
12867 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio_main" >&5
12868 echo "${ECHO_T}$ac_cv_lib_ossaudio_main" >&6
12869 if test $ac_cv_lib_ossaudio_main = yes; then
12870 dsp_LDFLAGS="${dsp_LDFLAGS} -lossaudio"
12880 # Check whether --enable-esd or --disable-esd was given.
12881 if test "${enable_esd+set}" = set; then
12882 enableval="$enable_esd"
12883 if test x$enable_esd = xyes
12885 # Extract the first word of "esd-config", so it can be a program name with args.
12886 set dummy esd-config; ac_word=$2
12887 echo "$as_me:$LINENO: checking for $ac_word" >&5
12888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12889 if test "${ac_cv_path_ESD_CONFIG+set}" = set; then
12890 echo $ECHO_N "(cached) $ECHO_C" >&6
12892 case $ESD_CONFIG in
12894 ac_cv_path_ESD_CONFIG="$ESD_CONFIG" # Let the user override the test with a path.
12897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12898 for as_dir in $PATH
12901 test -z "$as_dir" && as_dir=.
12902 for ac_exec_ext in '' $ac_executable_extensions; do
12903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12904 ac_cv_path_ESD_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12911 test -z "$ac_cv_path_ESD_CONFIG" && ac_cv_path_ESD_CONFIG="no"
12915 ESD_CONFIG=$ac_cv_path_ESD_CONFIG
12917 if test -n "$ESD_CONFIG"; then
12918 echo "$as_me:$LINENO: result: $ESD_CONFIG" >&5
12919 echo "${ECHO_T}$ESD_CONFIG" >&6
12921 echo "$as_me:$LINENO: result: no" >&5
12922 echo "${ECHO_T}no" >&6
12925 if test x${ESD_CONFIG} != xno
12927 PLUGINS="${PLUGINS} esd"
12928 esd_CFLAGS="${esd_CFLAGS} `${ESD_CONFIG} --cflags`"
12929 esd_LDFLAGS="${esd_LDFLAGS} `${ESD_CONFIG} --libs`"
12934 # Check whether --enable-arts or --disable-arts was given.
12935 if test "${enable_arts+set}" = set; then
12936 enableval="$enable_arts"
12937 if test x$enable_arts = xyes
12939 # Extract the first word of "artsc-config", so it can be a program name with args.
12940 set dummy artsc-config; ac_word=$2
12941 echo "$as_me:$LINENO: checking for $ac_word" >&5
12942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12943 if test "${ac_cv_path_ARTS_CONFIG+set}" = set; then
12944 echo $ECHO_N "(cached) $ECHO_C" >&6
12946 case $ARTS_CONFIG in
12948 ac_cv_path_ARTS_CONFIG="$ARTS_CONFIG" # Let the user override the test with a path.
12951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12952 for as_dir in $PATH
12955 test -z "$as_dir" && as_dir=.
12956 for ac_exec_ext in '' $ac_executable_extensions; do
12957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12958 ac_cv_path_ARTS_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12965 test -z "$ac_cv_path_ARTS_CONFIG" && ac_cv_path_ARTS_CONFIG="no"
12969 ARTS_CONFIG=$ac_cv_path_ARTS_CONFIG
12971 if test -n "$ARTS_CONFIG"; then
12972 echo "$as_me:$LINENO: result: $ARTS_CONFIG" >&5
12973 echo "${ECHO_T}$ARTS_CONFIG" >&6
12975 echo "$as_me:$LINENO: result: no" >&5
12976 echo "${ECHO_T}no" >&6
12979 if test x${ARTS_CONFIG} != xno
12981 PLUGINS="${PLUGINS} arts"
12982 arts_CFLAGS="${arts_CFLAGS} `${ARTS_CONFIG} --cflags`"
12983 arts_LDFLAGS="${arts_LDFLAGS} `${ARTS_CONFIG} --libs `"
12988 # Check whether --enable-alsa or --disable-alsa was given.
12989 if test "${enable_alsa+set}" = set; then
12990 enableval="$enable_alsa"
12991 if test x$enable_alsa = xyes
12993 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
12994 echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
12995 echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6
12996 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
12997 echo $ECHO_N "(cached) $ECHO_C" >&6
12999 echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
13000 echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6
13002 # Is the header compilable?
13003 echo "$as_me:$LINENO: checking alsa/asoundlib.h usability" >&5
13004 echo $ECHO_N "checking alsa/asoundlib.h usability... $ECHO_C" >&6
13005 cat >conftest.$ac_ext <<_ACEOF
13006 #line $LINENO "configure"
13007 #include "confdefs.h"
13008 $ac_includes_default
13009 #include <alsa/asoundlib.h>
13011 rm -f conftest.$ac_objext
13012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13013 (eval $ac_compile) 2>&5
13015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13016 (exit $ac_status); } &&
13017 { ac_try='test -s conftest.$ac_objext'
13018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13019 (eval $ac_try) 2>&5
13021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13022 (exit $ac_status); }; }; then
13023 ac_header_compiler=yes
13025 echo "$as_me: failed program was:" >&5
13026 cat conftest.$ac_ext >&5
13027 ac_header_compiler=no
13029 rm -f conftest.$ac_objext conftest.$ac_ext
13030 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13031 echo "${ECHO_T}$ac_header_compiler" >&6
13033 # Is the header present?
13034 echo "$as_me:$LINENO: checking alsa/asoundlib.h presence" >&5
13035 echo $ECHO_N "checking alsa/asoundlib.h presence... $ECHO_C" >&6
13036 cat >conftest.$ac_ext <<_ACEOF
13037 #line $LINENO "configure"
13038 #include "confdefs.h"
13039 #include <alsa/asoundlib.h>
13041 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13042 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13044 egrep -v '^ *\+' conftest.er1 >conftest.err
13046 cat conftest.err >&5
13047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13048 (exit $ac_status); } >/dev/null; then
13049 if test -s conftest.err; then
13050 ac_cpp_err=$ac_c_preproc_warn_flag
13057 if test -z "$ac_cpp_err"; then
13058 ac_header_preproc=yes
13060 echo "$as_me: failed program was:" >&5
13061 cat conftest.$ac_ext >&5
13062 ac_header_preproc=no
13064 rm -f conftest.err conftest.$ac_ext
13065 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13066 echo "${ECHO_T}$ac_header_preproc" >&6
13068 # So? What about this header?
13069 case $ac_header_compiler:$ac_header_preproc in
13071 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
13072 echo "$as_me: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13073 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&5
13074 echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;};;
13076 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&5
13077 echo "$as_me: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&2;}
13078 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&5
13079 echo "$as_me: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&2;}
13080 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&5
13081 echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;};;
13083 echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
13084 echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6
13085 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
13086 echo $ECHO_N "(cached) $ECHO_C" >&6
13088 ac_cv_header_alsa_asoundlib_h=$ac_header_preproc
13090 echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
13091 echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6
13094 if test $ac_cv_header_alsa_asoundlib_h = yes; then
13095 echo "$as_me:$LINENO: checking for main in -lasound" >&5
13096 echo $ECHO_N "checking for main in -lasound... $ECHO_C" >&6
13097 if test "${ac_cv_lib_asound_main+set}" = set; then
13098 echo $ECHO_N "(cached) $ECHO_C" >&6
13100 ac_check_lib_save_LIBS=$LIBS
13101 LIBS="-lasound $LIBS"
13102 cat >conftest.$ac_ext <<_ACEOF
13103 #line $LINENO "configure"
13104 #include "confdefs.h"
13107 #ifdef F77_DUMMY_MAIN
13108 # ifdef __cplusplus
13111 int F77_DUMMY_MAIN() { return 1; }
13121 rm -f conftest.$ac_objext conftest$ac_exeext
13122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13123 (eval $ac_link) 2>&5
13125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13126 (exit $ac_status); } &&
13127 { ac_try='test -s conftest$ac_exeext'
13128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13129 (eval $ac_try) 2>&5
13131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13132 (exit $ac_status); }; }; then
13133 ac_cv_lib_asound_main=yes
13135 echo "$as_me: failed program was:" >&5
13136 cat conftest.$ac_ext >&5
13137 ac_cv_lib_asound_main=no
13139 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13140 LIBS=$ac_check_lib_save_LIBS
13142 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_main" >&5
13143 echo "${ECHO_T}$ac_cv_lib_asound_main" >&6
13144 if test $ac_cv_lib_asound_main = yes; then
13155 if test x$have_alsa = xtrue
13157 PLUGINS="${PLUGINS} alsa"
13158 alsa_LDFLAGS="${alsa_LDFLAGS} -lasound -lm -ldl"
13163 # Check whether --enable-waveout or --disable-waveout was given.
13164 if test "${enable_waveout+set}" = set; then
13165 enableval="$enable_waveout"
13168 if test "x$enable_waveout" != "xno" -a x$SYS = xmingw32
13170 PLUGINS="${PLUGINS} waveout"
13171 waveout_LDFLAGS="-lwinmm"
13176 # Check whether --with- or --without- was given.
13177 if test "${with_+set}" = set; then
13182 # Check whether --enable-gtk or --disable-gtk was given.
13183 if test "${enable_gtk+set}" = set; then
13184 enableval="$enable_gtk"
13187 if test x$enable_gtk != xno
13191 # Check whether --with-gtk-config-path or --without-gtk-config-path was given.
13192 if test "${with_gtk_config_path+set}" = set; then
13193 withval="$with_gtk_config_path"
13194 if test "x$with_gtk_config_path" != "xno"
13196 GTK_PATH="$with_gtk_config_path:$PATH"
13199 # look for gtk-config
13200 # Extract the first word of "gtk12-config", so it can be a program name with args.
13201 set dummy gtk12-config; ac_word=$2
13202 echo "$as_me:$LINENO: checking for $ac_word" >&5
13203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13204 if test "${ac_cv_path_GTK12_CONFIG+set}" = set; then
13205 echo $ECHO_N "(cached) $ECHO_C" >&6
13207 case $GTK12_CONFIG in
13209 ac_cv_path_GTK12_CONFIG="$GTK12_CONFIG" # Let the user override the test with a path.
13212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13213 for as_dir in $GTK_PATH
13216 test -z "$as_dir" && as_dir=.
13217 for ac_exec_ext in '' $ac_executable_extensions; do
13218 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13219 ac_cv_path_GTK12_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13226 test -z "$ac_cv_path_GTK12_CONFIG" && ac_cv_path_GTK12_CONFIG="no"
13230 GTK12_CONFIG=$ac_cv_path_GTK12_CONFIG
13232 if test -n "$GTK12_CONFIG"; then
13233 echo "$as_me:$LINENO: result: $GTK12_CONFIG" >&5
13234 echo "${ECHO_T}$GTK12_CONFIG" >&6
13236 echo "$as_me:$LINENO: result: no" >&5
13237 echo "${ECHO_T}no" >&6
13240 GTK_CONFIG=${GTK12_CONFIG}
13241 if test x${GTK_CONFIG} = xno
13243 # Extract the first word of "gtk-config", so it can be a program name with args.
13244 set dummy gtk-config; ac_word=$2
13245 echo "$as_me:$LINENO: checking for $ac_word" >&5
13246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13247 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
13248 echo $ECHO_N "(cached) $ECHO_C" >&6
13250 case $GTK_CONFIG in
13252 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
13255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13256 for as_dir in $GTK_PATH
13259 test -z "$as_dir" && as_dir=.
13260 for ac_exec_ext in '' $ac_executable_extensions; do
13261 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13262 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13269 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
13273 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
13275 if test -n "$GTK_CONFIG"; then
13276 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
13277 echo "${ECHO_T}$GTK_CONFIG" >&6
13279 echo "$as_me:$LINENO: result: no" >&5
13280 echo "${ECHO_T}no" >&6
13284 if test x${GTK_CONFIG} != xno
13286 if expr 1.2.0 \> `$GTK_CONFIG --version` >/dev/null
13288 { { echo "$as_me:$LINENO: error: Your development package for Gtk+ is too old, you need at least version 1.2.0. Please upgrade and try again. Alternatively you can also configure with --disable-gtk." >&5
13289 echo "$as_me: error: Your development package for Gtk+ is too old, you need at least version 1.2.0. Please upgrade and try again. Alternatively you can also configure with --disable-gtk." >&2;}
13290 { (exit 1); exit 1; }; }
13292 gtk_CFLAGS="${gtk_CFLAGS} `${GTK_CONFIG} --cflags gtk`"
13293 gtk_LDFLAGS="${gtk_LDFLAGS} `${GTK_CONFIG} --libs gtk | sed 's,-rdynamic,,'`"
13294 # now look for the gtk.h header
13295 CPPFLAGS="$save_CPPFLAGS $gtk_CFLAGS"
13296 ac_cv_gtk_headers=yes
13300 for ac_header in gtk/gtk.h glib.h gdk/gdk.h
13302 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13303 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13304 echo "$as_me:$LINENO: checking for $ac_header" >&5
13305 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13306 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13307 echo $ECHO_N "(cached) $ECHO_C" >&6
13309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13310 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13312 # Is the header compilable?
13313 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13314 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13315 cat >conftest.$ac_ext <<_ACEOF
13316 #line $LINENO "configure"
13317 #include "confdefs.h"
13318 $ac_includes_default
13319 #include <$ac_header>
13321 rm -f conftest.$ac_objext
13322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13323 (eval $ac_compile) 2>&5
13325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13326 (exit $ac_status); } &&
13327 { ac_try='test -s conftest.$ac_objext'
13328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13329 (eval $ac_try) 2>&5
13331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13332 (exit $ac_status); }; }; then
13333 ac_header_compiler=yes
13335 echo "$as_me: failed program was:" >&5
13336 cat conftest.$ac_ext >&5
13337 ac_header_compiler=no
13339 rm -f conftest.$ac_objext conftest.$ac_ext
13340 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13341 echo "${ECHO_T}$ac_header_compiler" >&6
13343 # Is the header present?
13344 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13345 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13346 cat >conftest.$ac_ext <<_ACEOF
13347 #line $LINENO "configure"
13348 #include "confdefs.h"
13349 #include <$ac_header>
13351 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13352 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13354 egrep -v '^ *\+' conftest.er1 >conftest.err
13356 cat conftest.err >&5
13357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13358 (exit $ac_status); } >/dev/null; then
13359 if test -s conftest.err; then
13360 ac_cpp_err=$ac_c_preproc_warn_flag
13367 if test -z "$ac_cpp_err"; then
13368 ac_header_preproc=yes
13370 echo "$as_me: failed program was:" >&5
13371 cat conftest.$ac_ext >&5
13372 ac_header_preproc=no
13374 rm -f conftest.err conftest.$ac_ext
13375 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13376 echo "${ECHO_T}$ac_header_preproc" >&6
13378 # So? What about this header?
13379 case $ac_header_compiler:$ac_header_preproc in
13381 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13382 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13383 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13384 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13386 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13387 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13388 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13389 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13390 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13391 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13393 echo "$as_me:$LINENO: checking for $ac_header" >&5
13394 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13395 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13396 echo $ECHO_N "(cached) $ECHO_C" >&6
13398 eval "$as_ac_Header=$ac_header_preproc"
13400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13401 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13404 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13405 cat >>confdefs.h <<_ACEOF
13406 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13411 ac_cv_gtk_headers=no
13412 echo "Cannot find gtk development headers."
13418 if test "x$ac_cv_gtk_headers" = xyes
13420 PLUGINS="${PLUGINS} gtk"
13421 ALIASES="${ALIASES} gvlc"
13423 CPPFLAGS="$save_CPPFLAGS"
13427 # Check whether --enable-familiar or --disable-familiar was given.
13428 if test "${enable_familiar+set}" = set; then
13429 enableval="$enable_familiar"
13432 if test "x${enable_familiar}" = "xyes"
13436 # Check whether --with-gtk-config-path or --without-gtk-config-path was given.
13437 if test "${with_gtk_config_path+set}" = set; then
13438 withval="$with_gtk_config_path"
13439 if test "x${with_gtk_config_path}" != "xno"
13441 GTK_PATH="${with_gtk_config_path}:${PATH}"
13444 # look for gtk-config
13445 # Extract the first word of "gtk12-config", so it can be a program name with args.
13446 set dummy gtk12-config; ac_word=$2
13447 echo "$as_me:$LINENO: checking for $ac_word" >&5
13448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13449 if test "${ac_cv_path_GTK12_CONFIG+set}" = set; then
13450 echo $ECHO_N "(cached) $ECHO_C" >&6
13452 case $GTK12_CONFIG in
13454 ac_cv_path_GTK12_CONFIG="$GTK12_CONFIG" # Let the user override the test with a path.
13457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13458 for as_dir in ${GTK_PATH}
13461 test -z "$as_dir" && as_dir=.
13462 for ac_exec_ext in '' $ac_executable_extensions; do
13463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13464 ac_cv_path_GTK12_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13471 test -z "$ac_cv_path_GTK12_CONFIG" && ac_cv_path_GTK12_CONFIG="no"
13475 GTK12_CONFIG=$ac_cv_path_GTK12_CONFIG
13477 if test -n "$GTK12_CONFIG"; then
13478 echo "$as_me:$LINENO: result: $GTK12_CONFIG" >&5
13479 echo "${ECHO_T}$GTK12_CONFIG" >&6
13481 echo "$as_me:$LINENO: result: no" >&5
13482 echo "${ECHO_T}no" >&6
13485 GTK_CONFIG=${GTK12_CONFIG}
13486 if test "x${GTK_CONFIG}" = "xno"
13488 # Extract the first word of "gtk-config", so it can be a program name with args.
13489 set dummy gtk-config; ac_word=$2
13490 echo "$as_me:$LINENO: checking for $ac_word" >&5
13491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13492 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
13493 echo $ECHO_N "(cached) $ECHO_C" >&6
13495 case $GTK_CONFIG in
13497 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
13500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13501 for as_dir in ${GTK_PATH}
13504 test -z "$as_dir" && as_dir=.
13505 for ac_exec_ext in '' $ac_executable_extensions; do
13506 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13507 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13514 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
13518 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
13520 if test -n "$GTK_CONFIG"; then
13521 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
13522 echo "${ECHO_T}$GTK_CONFIG" >&6
13524 echo "$as_me:$LINENO: result: no" >&5
13525 echo "${ECHO_T}no" >&6
13529 if test "x${GTK_CONFIG}" != "xno"
13531 if expr 1.2.0 \> `${GTK_CONFIG} --version` >/dev/null
13533 { { echo "$as_me:$LINENO: error: Your development package for Gtk+ is too old, you need at least version 1.2.0. Please upgrade and try again. Alternatively you can also configure with --disable-familiar." >&5
13534 echo "$as_me: error: Your development package for Gtk+ is too old, you need at least version 1.2.0. Please upgrade and try again. Alternatively you can also configure with --disable-familiar." >&2;}
13535 { (exit 1); exit 1; }; }
13537 familiar_CFLAGS="${familiar_CFLAGS} `${GTK_CONFIG} --cflags gtk gthread`"
13538 familiar_LDFLAGS="${familiar_LDFLAGS} `${GTK_CONFIG} --libs gtk gthread | sed 's,-rdynamic,,'`"
13539 # now look for the gtk.h header
13540 CPPFLAGS="${save_CPPFLAGS} ${familiar_CFLAGS}"
13541 ac_cv_gtk_headers=yes
13545 for ac_header in gtk/gtk.h glib.h gdk/gdk.h
13547 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13548 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13549 echo "$as_me:$LINENO: checking for $ac_header" >&5
13550 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13551 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13552 echo $ECHO_N "(cached) $ECHO_C" >&6
13554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13555 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13557 # Is the header compilable?
13558 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13559 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13560 cat >conftest.$ac_ext <<_ACEOF
13561 #line $LINENO "configure"
13562 #include "confdefs.h"
13563 $ac_includes_default
13564 #include <$ac_header>
13566 rm -f conftest.$ac_objext
13567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13568 (eval $ac_compile) 2>&5
13570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13571 (exit $ac_status); } &&
13572 { ac_try='test -s conftest.$ac_objext'
13573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13574 (eval $ac_try) 2>&5
13576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13577 (exit $ac_status); }; }; then
13578 ac_header_compiler=yes
13580 echo "$as_me: failed program was:" >&5
13581 cat conftest.$ac_ext >&5
13582 ac_header_compiler=no
13584 rm -f conftest.$ac_objext conftest.$ac_ext
13585 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13586 echo "${ECHO_T}$ac_header_compiler" >&6
13588 # Is the header present?
13589 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13590 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13591 cat >conftest.$ac_ext <<_ACEOF
13592 #line $LINENO "configure"
13593 #include "confdefs.h"
13594 #include <$ac_header>
13596 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13597 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13599 egrep -v '^ *\+' conftest.er1 >conftest.err
13601 cat conftest.err >&5
13602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13603 (exit $ac_status); } >/dev/null; then
13604 if test -s conftest.err; then
13605 ac_cpp_err=$ac_c_preproc_warn_flag
13612 if test -z "$ac_cpp_err"; then
13613 ac_header_preproc=yes
13615 echo "$as_me: failed program was:" >&5
13616 cat conftest.$ac_ext >&5
13617 ac_header_preproc=no
13619 rm -f conftest.err conftest.$ac_ext
13620 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13621 echo "${ECHO_T}$ac_header_preproc" >&6
13623 # So? What about this header?
13624 case $ac_header_compiler:$ac_header_preproc in
13626 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13627 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13628 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13629 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13631 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13632 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13633 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13634 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13635 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13636 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13638 echo "$as_me:$LINENO: checking for $ac_header" >&5
13639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13641 echo $ECHO_N "(cached) $ECHO_C" >&6
13643 eval "$as_ac_Header=$ac_header_preproc"
13645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13646 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13649 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13650 cat >>confdefs.h <<_ACEOF
13651 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13656 ac_cv_gtk_headers=no
13657 echo "Cannot find gtk development headers."
13663 if test "x${ac_cv_gtk_headers}" = "xyes"
13665 PLUGINS="${PLUGINS} familiar"
13668 CPPFLAGS="${save_CPPFLAGS}"
13672 # Check whether --enable-gnome or --disable-gnome was given.
13673 if test "${enable_gnome+set}" = set; then
13674 enableval="$enable_gnome"
13675 if test x$enable_gnome = xyes; then
13676 # look for gnome-config
13677 # Extract the first word of "gnome-config", so it can be a program name with args.
13678 set dummy gnome-config; ac_word=$2
13679 echo "$as_me:$LINENO: checking for $ac_word" >&5
13680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13681 if test "${ac_cv_path_GNOME_CONFIG+set}" = set; then
13682 echo $ECHO_N "(cached) $ECHO_C" >&6
13684 case $GNOME_CONFIG in
13686 ac_cv_path_GNOME_CONFIG="$GNOME_CONFIG" # Let the user override the test with a path.
13689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13690 for as_dir in $PATH
13693 test -z "$as_dir" && as_dir=.
13694 for ac_exec_ext in '' $ac_executable_extensions; do
13695 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13696 ac_cv_path_GNOME_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13703 test -z "$ac_cv_path_GNOME_CONFIG" && ac_cv_path_GNOME_CONFIG="no"
13707 GNOME_CONFIG=$ac_cv_path_GNOME_CONFIG
13709 if test -n "$GNOME_CONFIG"; then
13710 echo "$as_me:$LINENO: result: $GNOME_CONFIG" >&5
13711 echo "${ECHO_T}$GNOME_CONFIG" >&6
13713 echo "$as_me:$LINENO: result: no" >&5
13714 echo "${ECHO_T}no" >&6
13717 if test -x ${GNOME_CONFIG}
13719 gnome_CFLAGS="${gnome_CFLAGS} `${GNOME_CONFIG} --cflags gtk gnomeui`"
13720 gnome_LDFLAGS="${gnome_LDFLAGS} `${GNOME_CONFIG} --libs gnomeui | sed 's,-rdynamic,,'`"
13722 # now look for the gnome.h header
13723 CPPFLAGS="$save_CPPFLAGS $gnome_CFLAGS"
13725 for ac_header in gnome.h
13727 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13729 echo "$as_me:$LINENO: checking for $ac_header" >&5
13730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13732 echo $ECHO_N "(cached) $ECHO_C" >&6
13734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13735 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13737 # Is the header compilable?
13738 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13739 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13740 cat >conftest.$ac_ext <<_ACEOF
13741 #line $LINENO "configure"
13742 #include "confdefs.h"
13743 $ac_includes_default
13744 #include <$ac_header>
13746 rm -f conftest.$ac_objext
13747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13748 (eval $ac_compile) 2>&5
13750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13751 (exit $ac_status); } &&
13752 { ac_try='test -s conftest.$ac_objext'
13753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13754 (eval $ac_try) 2>&5
13756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13757 (exit $ac_status); }; }; then
13758 ac_header_compiler=yes
13760 echo "$as_me: failed program was:" >&5
13761 cat conftest.$ac_ext >&5
13762 ac_header_compiler=no
13764 rm -f conftest.$ac_objext conftest.$ac_ext
13765 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13766 echo "${ECHO_T}$ac_header_compiler" >&6
13768 # Is the header present?
13769 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13770 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13771 cat >conftest.$ac_ext <<_ACEOF
13772 #line $LINENO "configure"
13773 #include "confdefs.h"
13774 #include <$ac_header>
13776 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13777 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13779 egrep -v '^ *\+' conftest.er1 >conftest.err
13781 cat conftest.err >&5
13782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13783 (exit $ac_status); } >/dev/null; then
13784 if test -s conftest.err; then
13785 ac_cpp_err=$ac_c_preproc_warn_flag
13792 if test -z "$ac_cpp_err"; then
13793 ac_header_preproc=yes
13795 echo "$as_me: failed program was:" >&5
13796 cat conftest.$ac_ext >&5
13797 ac_header_preproc=no
13799 rm -f conftest.err conftest.$ac_ext
13800 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13801 echo "${ECHO_T}$ac_header_preproc" >&6
13803 # So? What about this header?
13804 case $ac_header_compiler:$ac_header_preproc in
13806 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13807 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13808 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13809 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13811 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13812 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13813 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13814 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13815 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13816 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13818 echo "$as_me:$LINENO: checking for $ac_header" >&5
13819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13821 echo $ECHO_N "(cached) $ECHO_C" >&6
13823 eval "$as_ac_Header=$ac_header_preproc"
13825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13826 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13829 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13830 cat >>confdefs.h <<_ACEOF
13831 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13834 PLUGINS="${PLUGINS} gnome"
13835 ALIASES="${ALIASES} gnome-vlc"
13839 { { echo "$as_me:$LINENO: error: Can't find gnome headers. Please install the gnome
13840 developement tools or remove the --enable-gnome option" >&5
13841 echo "$as_me: error: Can't find gnome headers. Please install the gnome
13842 developement tools or remove the --enable-gnome option" >&2;}
13843 { (exit 1); exit 1; }; }
13849 CPPFLAGS="$save_CPPFLAGS"
13853 # Check whether --enable-qt or --disable-qt was given.
13854 if test "${enable_qt+set}" = set; then
13855 enableval="$enable_qt"
13856 if test x$enable_qt = xyes; then
13857 PLUGINS="${PLUGINS} qt"
13858 ALIASES="${ALIASES} qvlc"
13859 qt_LDFLAGS="${qt_LDFLAGS} -lqt -L${QTDIR}/lib"
13860 qt_CFLAGS="${qt_CFLAGS} -I/usr/include/qt -I${QTDIR}/include"
13861 if test -x ${QTDIR}/bin/moc
13863 MOC=${QTDIR}/bin/moc
13870 # Check whether --enable-kde or --disable-kde was given.
13871 if test "${enable_kde+set}" = set; then
13872 enableval="$enable_kde"
13873 if test x$enable_kde = xyes; then
13874 PLUGINS="${PLUGINS} kde"
13875 ALIASES="${ALIASES} kvlc"
13876 kde_LDFLAGS="${kde_LDFLAGS} -L${KDEDIR}/lib -lkfile"
13877 kde_CFLAGS="${kde_CFLAGS} -I/usr/include/kde -I/usr/include/qt"
13878 kde_CFLAGS="${kde_CFLAGS} -I${KDEDIR}/include -I${QTDIR}/include"
13879 if test -x ${QTDIR}/bin/moc
13881 MOC=${QTDIR}/bin/moc
13888 # Check whether --enable-opie or --disable-opie was given.
13889 if test "${enable_opie+set}" = set; then
13890 enableval="$enable_opie"
13891 if test "x${enable_opie}" = "xyes"; then
13893 # Check whether --with-qte or --without-qte was given.
13894 if test "${with_qte+set}" = set; then
13895 withval="$with_qte"
13898 if test "x${with_qte}" = "x"
13900 test_LDFLAGS="-L$(QTDIR)/lib"
13901 test_CFLAGS="-I${QTDIR}/include"
13903 test_LDFLAGS="-L${with_qte}/lib"
13904 test_CFLAGS="-I${with_qte}/include"
13907 PLUGINS="${PLUGINS} opie"
13908 opie_LDFLAGS="${opie_LDFLAGS} ${test_LDFLAGS} -lqpe -lqte"
13909 opie_CFLAGS="${opie_CFLAGS} ${test_CFLAGS}-DQT_QWS_IPAQ -DQWS -fno-exceptions -fno-rtti"
13910 if test -x ${QTDIR}/bin/moc
13912 MOC=${QTDIR}/bin/moc
13919 # Check whether --enable-macosx or --disable-macosx was given.
13920 if test "${enable_macosx+set}" = set; then
13921 enableval="$enable_macosx"
13922 if test x$enable_macosx = xyes
13924 BUILTINS="${BUILTINS} macosx"
13925 macosx_LDFLAGS="${macosx_LDFLAGS} -framework CoreAudio -framework AudioToolbox -framework IOKit -framework Cocoa -framework AGL -framework QuickTime -lobjc -ObjC"
13929 for ac_header in Cocoa/Cocoa.h
13931 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13933 echo "$as_me:$LINENO: checking for $ac_header" >&5
13934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13935 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13936 echo $ECHO_N "(cached) $ECHO_C" >&6
13938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13939 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13941 # Is the header compilable?
13942 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13943 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13944 cat >conftest.$ac_ext <<_ACEOF
13945 #line $LINENO "configure"
13946 #include "confdefs.h"
13947 $ac_includes_default
13948 #include <$ac_header>
13950 rm -f conftest.$ac_objext
13951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13952 (eval $ac_compile) 2>&5
13954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13955 (exit $ac_status); } &&
13956 { ac_try='test -s conftest.$ac_objext'
13957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13958 (eval $ac_try) 2>&5
13960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13961 (exit $ac_status); }; }; then
13962 ac_header_compiler=yes
13964 echo "$as_me: failed program was:" >&5
13965 cat conftest.$ac_ext >&5
13966 ac_header_compiler=no
13968 rm -f conftest.$ac_objext conftest.$ac_ext
13969 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13970 echo "${ECHO_T}$ac_header_compiler" >&6
13972 # Is the header present?
13973 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13974 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13975 cat >conftest.$ac_ext <<_ACEOF
13976 #line $LINENO "configure"
13977 #include "confdefs.h"
13978 #include <$ac_header>
13980 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13981 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13983 egrep -v '^ *\+' conftest.er1 >conftest.err
13985 cat conftest.err >&5
13986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13987 (exit $ac_status); } >/dev/null; then
13988 if test -s conftest.err; then
13989 ac_cpp_err=$ac_c_preproc_warn_flag
13996 if test -z "$ac_cpp_err"; then
13997 ac_header_preproc=yes
13999 echo "$as_me: failed program was:" >&5
14000 cat conftest.$ac_ext >&5
14001 ac_header_preproc=no
14003 rm -f conftest.err conftest.$ac_ext
14004 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14005 echo "${ECHO_T}$ac_header_preproc" >&6
14007 # So? What about this header?
14008 case $ac_header_compiler:$ac_header_preproc in
14010 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14011 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14012 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14013 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14015 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14016 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14017 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14018 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14019 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14020 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14022 echo "$as_me:$LINENO: checking for $ac_header" >&5
14023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14025 echo $ECHO_N "(cached) $ECHO_C" >&6
14027 eval "$as_ac_Header=$ac_header_preproc"
14029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14030 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14033 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14034 cat >>confdefs.h <<_ACEOF
14035 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14037 BUILTINS="${BUILTINS} macosx"
14038 macosx_LDFLAGS="${macosx_LDFLAGS} -framework CoreAudio -framework AudioToolbox -framework IOKit -framework Cocoa -framework AGL -framework QuickTime -lobjc -ObjC"
14046 # Check whether --enable-qnx or --disable-qnx was given.
14047 if test "${enable_qnx+set}" = set; then
14048 enableval="$enable_qnx"
14051 if test x$enable_qnx != xno
14054 for ac_header in Ph.h
14056 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14058 echo "$as_me:$LINENO: checking for $ac_header" >&5
14059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14060 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14061 echo $ECHO_N "(cached) $ECHO_C" >&6
14063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14064 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14066 # Is the header compilable?
14067 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14068 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14069 cat >conftest.$ac_ext <<_ACEOF
14070 #line $LINENO "configure"
14071 #include "confdefs.h"
14072 $ac_includes_default
14073 #include <$ac_header>
14075 rm -f conftest.$ac_objext
14076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14077 (eval $ac_compile) 2>&5
14079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14080 (exit $ac_status); } &&
14081 { ac_try='test -s conftest.$ac_objext'
14082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14083 (eval $ac_try) 2>&5
14085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14086 (exit $ac_status); }; }; then
14087 ac_header_compiler=yes
14089 echo "$as_me: failed program was:" >&5
14090 cat conftest.$ac_ext >&5
14091 ac_header_compiler=no
14093 rm -f conftest.$ac_objext conftest.$ac_ext
14094 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14095 echo "${ECHO_T}$ac_header_compiler" >&6
14097 # Is the header present?
14098 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14099 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14100 cat >conftest.$ac_ext <<_ACEOF
14101 #line $LINENO "configure"
14102 #include "confdefs.h"
14103 #include <$ac_header>
14105 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14106 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14108 egrep -v '^ *\+' conftest.er1 >conftest.err
14110 cat conftest.err >&5
14111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14112 (exit $ac_status); } >/dev/null; then
14113 if test -s conftest.err; then
14114 ac_cpp_err=$ac_c_preproc_warn_flag
14121 if test -z "$ac_cpp_err"; then
14122 ac_header_preproc=yes
14124 echo "$as_me: failed program was:" >&5
14125 cat conftest.$ac_ext >&5
14126 ac_header_preproc=no
14128 rm -f conftest.err conftest.$ac_ext
14129 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14130 echo "${ECHO_T}$ac_header_preproc" >&6
14132 # So? What about this header?
14133 case $ac_header_compiler:$ac_header_preproc in
14135 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14136 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14137 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14138 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14140 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14141 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14142 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14143 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14144 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14145 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14147 echo "$as_me:$LINENO: checking for $ac_header" >&5
14148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14150 echo $ECHO_N "(cached) $ECHO_C" >&6
14152 eval "$as_ac_Header=$ac_header_preproc"
14154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14155 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14158 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14159 cat >>confdefs.h <<_ACEOF
14160 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14163 PLUGINS="${PLUGINS} qnx"
14164 qnx_LDFLAGS="${qnx_LDFLAGS} -lasound -lph"
14172 # Check whether --enable-intfwin or --disable-intfwin was given.
14173 if test "${enable_intfwin+set}" = set; then
14174 enableval="$enable_intfwin"
14175 if test "x$enable_intfwin" != "xno"
14178 # Check whether --with-bcbuilder or --without-bcbuilder was given.
14179 if test "${with_bcbuilder+set}" = set; then
14180 withval="$with_bcbuilder"
14183 if test "x$with_bcbuilder" != "x"
14185 BCBUILDER="$with_bcbuilder"
14187 PLUGINS="${PLUGINS} intfwin"
14191 # Check whether --enable-ncurses or --disable-ncurses was given.
14192 if test "${enable_ncurses+set}" = set; then
14193 enableval="$enable_ncurses"
14194 if test x$enable_ncurses = xyes; then
14195 PLUGINS="${PLUGINS} ncurses"
14196 ncurses_LDFLAGS="${ncurses_LDFLAGS} -lncurses"
14200 # Check whether --enable-lirc or --disable-lirc was given.
14201 if test "${enable_lirc+set}" = set; then
14202 enableval="$enable_lirc"
14205 if test x$enable_lirc = xyes
14207 if test "${ac_cv_header_lirc_lirc_client_h+set}" = set; then
14208 echo "$as_me:$LINENO: checking for lirc/lirc_client.h" >&5
14209 echo $ECHO_N "checking for lirc/lirc_client.h... $ECHO_C" >&6
14210 if test "${ac_cv_header_lirc_lirc_client_h+set}" = set; then
14211 echo $ECHO_N "(cached) $ECHO_C" >&6
14213 echo "$as_me:$LINENO: result: $ac_cv_header_lirc_lirc_client_h" >&5
14214 echo "${ECHO_T}$ac_cv_header_lirc_lirc_client_h" >&6
14216 # Is the header compilable?
14217 echo "$as_me:$LINENO: checking lirc/lirc_client.h usability" >&5
14218 echo $ECHO_N "checking lirc/lirc_client.h usability... $ECHO_C" >&6
14219 cat >conftest.$ac_ext <<_ACEOF
14220 #line $LINENO "configure"
14221 #include "confdefs.h"
14222 $ac_includes_default
14223 #include <lirc/lirc_client.h>
14225 rm -f conftest.$ac_objext
14226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14227 (eval $ac_compile) 2>&5
14229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14230 (exit $ac_status); } &&
14231 { ac_try='test -s conftest.$ac_objext'
14232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14233 (eval $ac_try) 2>&5
14235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14236 (exit $ac_status); }; }; then
14237 ac_header_compiler=yes
14239 echo "$as_me: failed program was:" >&5
14240 cat conftest.$ac_ext >&5
14241 ac_header_compiler=no
14243 rm -f conftest.$ac_objext conftest.$ac_ext
14244 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14245 echo "${ECHO_T}$ac_header_compiler" >&6
14247 # Is the header present?
14248 echo "$as_me:$LINENO: checking lirc/lirc_client.h presence" >&5
14249 echo $ECHO_N "checking lirc/lirc_client.h presence... $ECHO_C" >&6
14250 cat >conftest.$ac_ext <<_ACEOF
14251 #line $LINENO "configure"
14252 #include "confdefs.h"
14253 #include <lirc/lirc_client.h>
14255 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14256 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14258 egrep -v '^ *\+' conftest.er1 >conftest.err
14260 cat conftest.err >&5
14261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14262 (exit $ac_status); } >/dev/null; then
14263 if test -s conftest.err; then
14264 ac_cpp_err=$ac_c_preproc_warn_flag
14271 if test -z "$ac_cpp_err"; then
14272 ac_header_preproc=yes
14274 echo "$as_me: failed program was:" >&5
14275 cat conftest.$ac_ext >&5
14276 ac_header_preproc=no
14278 rm -f conftest.err conftest.$ac_ext
14279 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14280 echo "${ECHO_T}$ac_header_preproc" >&6
14282 # So? What about this header?
14283 case $ac_header_compiler:$ac_header_preproc in
14285 { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: accepted by the compiler, rejected by the preprocessor!" >&5
14286 echo "$as_me: WARNING: lirc/lirc_client.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14287 { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: proceeding with the preprocessor's result" >&5
14288 echo "$as_me: WARNING: lirc/lirc_client.h: proceeding with the preprocessor's result" >&2;};;
14290 { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: present but cannot be compiled" >&5
14291 echo "$as_me: WARNING: lirc/lirc_client.h: present but cannot be compiled" >&2;}
14292 { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: check for missing prerequisite headers?" >&5
14293 echo "$as_me: WARNING: lirc/lirc_client.h: check for missing prerequisite headers?" >&2;}
14294 { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: proceeding with the preprocessor's result" >&5
14295 echo "$as_me: WARNING: lirc/lirc_client.h: proceeding with the preprocessor's result" >&2;};;
14297 echo "$as_me:$LINENO: checking for lirc/lirc_client.h" >&5
14298 echo $ECHO_N "checking for lirc/lirc_client.h... $ECHO_C" >&6
14299 if test "${ac_cv_header_lirc_lirc_client_h+set}" = set; then
14300 echo $ECHO_N "(cached) $ECHO_C" >&6
14302 ac_cv_header_lirc_lirc_client_h=$ac_header_preproc
14304 echo "$as_me:$LINENO: result: $ac_cv_header_lirc_lirc_client_h" >&5
14305 echo "${ECHO_T}$ac_cv_header_lirc_lirc_client_h" >&6
14308 if test $ac_cv_header_lirc_lirc_client_h = yes; then
14309 echo "$as_me:$LINENO: checking for lirc_init in -llirc_client" >&5
14310 echo $ECHO_N "checking for lirc_init in -llirc_client... $ECHO_C" >&6
14311 if test "${ac_cv_lib_lirc_client_lirc_init+set}" = set; then
14312 echo $ECHO_N "(cached) $ECHO_C" >&6
14314 ac_check_lib_save_LIBS=$LIBS
14315 LIBS="-llirc_client $LIBS"
14316 cat >conftest.$ac_ext <<_ACEOF
14317 #line $LINENO "configure"
14318 #include "confdefs.h"
14320 /* Override any gcc2 internal prototype to avoid an error. */
14324 /* We use char because int might match the return type of a gcc2
14325 builtin and then its argument prototype would still apply. */
14327 #ifdef F77_DUMMY_MAIN
14328 # ifdef __cplusplus
14331 int F77_DUMMY_MAIN() { return 1; }
14341 rm -f conftest.$ac_objext conftest$ac_exeext
14342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14343 (eval $ac_link) 2>&5
14345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14346 (exit $ac_status); } &&
14347 { ac_try='test -s conftest$ac_exeext'
14348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14349 (eval $ac_try) 2>&5
14351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14352 (exit $ac_status); }; }; then
14353 ac_cv_lib_lirc_client_lirc_init=yes
14355 echo "$as_me: failed program was:" >&5
14356 cat conftest.$ac_ext >&5
14357 ac_cv_lib_lirc_client_lirc_init=no
14359 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14360 LIBS=$ac_check_lib_save_LIBS
14362 echo "$as_me:$LINENO: result: $ac_cv_lib_lirc_client_lirc_init" >&5
14363 echo "${ECHO_T}$ac_cv_lib_lirc_client_lirc_init" >&6
14364 if test $ac_cv_lib_lirc_client_lirc_init = yes; then
14375 if test x$have_lirc = xtrue
14377 PLUGINS="${PLUGINS} lirc"
14378 lirc_LDFLAGS="${lirc_LDFLAGS} -llirc_client"
14383 # Check whether --with- or --without- was given.
14384 if test "${with_+set}" = set; then
14390 # Check whether --with-words or --without-words was given.
14391 if test "${with_words+set}" = set; then
14392 withval="$with_words"
14395 case "x$with_words" in
14397 ac_cv_c_bigendian=yes
14400 ac_cv_c_bigendian=no
14403 echo "$as_me:$LINENO: checking whether the byte order is big-endian" >&5
14404 echo $ECHO_N "checking whether the byte order is big-endian... $ECHO_C" >&6
14405 if test "${ac_cv_c_bigendian+set}" = set; then
14406 echo $ECHO_N "(cached) $ECHO_C" >&6
14408 ac_cv_c_bigendian=unknown
14409 cat >conftest.c <<EOF
14410 short am[] = { 0x4249, 0x4765, 0x6e44, 0x6961, 0x6e53, 0x7953, 0 };
14411 short ai[] = { 0x694c, 0x5454, 0x656c, 0x6e45, 0x6944, 0x6e61, 0 };
14412 void _a(void) { char*s = (char*)am; s = (char *)ai; }
14413 short ei[] = { 0x89D3, 0xe3e3, 0x8593, 0x95c5, 0x89c4, 0x9581, 0 };
14414 short em[] = { 0xc2c9, 0xc785, 0x95c4, 0x8981, 0x95e2, 0xa8e2, 0 };
14415 void _e(void) { char*s = (char*)em; s = (char*)ei; }
14416 int main(void) { _a(); _e(); return 0; }
14419 if test -f conftest.c
14421 if ${CC-cc} -c conftest.c -o conftest.o >config.log 2>&1 \
14422 && test -f conftest.o
14424 if test "`strings conftest.o | grep BIGenDianSyS`"
14426 ac_cv_c_bigendian=yes
14428 if test "`strings conftest.o | grep LiTTleEnDian`"
14430 ac_cv_c_bigendian=no
14436 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
14437 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
14438 if test x$ac_cv_c_bigendian = xunknown
14440 { { echo "$as_me:$LINENO: error: Could not guess endianness, please use --with-words" >&5
14441 echo "$as_me: error: Could not guess endianness, please use --with-words" >&2;}
14442 { (exit 1); exit 1; }; }
14446 if test $ac_cv_c_bigendian = yes
14449 cat >>confdefs.h <<\_ACEOF
14450 #define WORDS_BIGENDIAN 1
14456 # Check whether --enable-gprof or --disable-gprof was given.
14457 if test "${enable_gprof+set}" = set; then
14458 enableval="$enable_gprof"
14459 if test "x$enable_gprof" = "xyes"; then GPROF=1; fi
14463 # Check whether --enable-cprof or --disable-cprof was given.
14464 if test "${enable_cprof+set}" = set; then
14465 enableval="$enable_cprof"
14466 if test "x$enable_cprof" = "xyes";
14468 LDFLAGS="${LDFLAGS} -lcprof"
14474 # Check whether --enable-pth or --disable-pth was given.
14475 if test "${enable_pth+set}" = set; then
14476 enableval="$enable_pth"
14477 if test "x$enable_pth" = "xyes"; then
14479 echo "$as_me:$LINENO: checking for pth_init in -lpth" >&5
14480 echo $ECHO_N "checking for pth_init in -lpth... $ECHO_C" >&6
14481 if test "${ac_cv_lib_pth_pth_init+set}" = set; then
14482 echo $ECHO_N "(cached) $ECHO_C" >&6
14484 ac_check_lib_save_LIBS=$LIBS
14486 cat >conftest.$ac_ext <<_ACEOF
14487 #line $LINENO "configure"
14488 #include "confdefs.h"
14490 /* Override any gcc2 internal prototype to avoid an error. */
14494 /* We use char because int might match the return type of a gcc2
14495 builtin and then its argument prototype would still apply. */
14497 #ifdef F77_DUMMY_MAIN
14498 # ifdef __cplusplus
14501 int F77_DUMMY_MAIN() { return 1; }
14511 rm -f conftest.$ac_objext conftest$ac_exeext
14512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14513 (eval $ac_link) 2>&5
14515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14516 (exit $ac_status); } &&
14517 { ac_try='test -s conftest$ac_exeext'
14518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14519 (eval $ac_try) 2>&5
14521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14522 (exit $ac_status); }; }; then
14523 ac_cv_lib_pth_pth_init=yes
14525 echo "$as_me: failed program was:" >&5
14526 cat conftest.$ac_ext >&5
14527 ac_cv_lib_pth_pth_init=no
14529 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14530 LIBS=$ac_check_lib_save_LIBS
14532 echo "$as_me:$LINENO: result: $ac_cv_lib_pth_pth_init" >&5
14533 echo "${ECHO_T}$ac_cv_lib_pth_pth_init" >&6
14534 if test $ac_cv_lib_pth_pth_init = yes; then
14535 cat >>confdefs.h <<_ACEOF
14536 #define HAVE_LIBPTH 1
14543 cat >conftest.$ac_ext <<_ACEOF
14544 #line $LINENO "configure"
14545 #include "confdefs.h"
14549 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14550 egrep "pth_init" >/dev/null 2>&1; then
14553 cat >>confdefs.h <<\_ACEOF
14554 #define PTH_INIT_IN_PTH_H 1
14565 # Check whether --enable-st or --disable-st was given.
14566 if test "${enable_st+set}" = set; then
14567 enableval="$enable_st"
14568 if test "x$enable_st" = "xyes"; then
14570 echo "$as_me:$LINENO: checking for st_init in -lst" >&5
14571 echo $ECHO_N "checking for st_init in -lst... $ECHO_C" >&6
14572 if test "${ac_cv_lib_st_st_init+set}" = set; then
14573 echo $ECHO_N "(cached) $ECHO_C" >&6
14575 ac_check_lib_save_LIBS=$LIBS
14577 cat >conftest.$ac_ext <<_ACEOF
14578 #line $LINENO "configure"
14579 #include "confdefs.h"
14581 /* Override any gcc2 internal prototype to avoid an error. */
14585 /* We use char because int might match the return type of a gcc2
14586 builtin and then its argument prototype would still apply. */
14588 #ifdef F77_DUMMY_MAIN
14589 # ifdef __cplusplus
14592 int F77_DUMMY_MAIN() { return 1; }
14602 rm -f conftest.$ac_objext conftest$ac_exeext
14603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14604 (eval $ac_link) 2>&5
14606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14607 (exit $ac_status); } &&
14608 { ac_try='test -s conftest$ac_exeext'
14609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14610 (eval $ac_try) 2>&5
14612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14613 (exit $ac_status); }; }; then
14614 ac_cv_lib_st_st_init=yes
14616 echo "$as_me: failed program was:" >&5
14617 cat conftest.$ac_ext >&5
14618 ac_cv_lib_st_st_init=no
14620 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14621 LIBS=$ac_check_lib_save_LIBS
14623 echo "$as_me:$LINENO: result: $ac_cv_lib_st_st_init" >&5
14624 echo "${ECHO_T}$ac_cv_lib_st_st_init" >&6
14625 if test $ac_cv_lib_st_st_init = yes; then
14626 cat >>confdefs.h <<_ACEOF
14627 #define HAVE_LIBST 1
14634 cat >conftest.$ac_ext <<_ACEOF
14635 #line $LINENO "configure"
14636 #include "confdefs.h"
14640 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14641 egrep "st_init" >/dev/null 2>&1; then
14644 cat >>confdefs.h <<\_ACEOF
14645 #define ST_INIT_IN_ST_H 1
14656 LDFLAGS="${LDFLAGS} ${THREAD_LIB}"
14658 # Check whether --enable-plugins or --disable-plugins was given.
14659 if test "${enable_plugins+set}" = set; then
14660 enableval="$enable_plugins"
14661 if test x$enable_plugins = xno
14663 BUILTINS="${BUILTINS} ${PLUGINS}"
14668 if test x$ac_cv_header_dlfcn_h = xno -a x$ac_cv_header_image_h = xno -a x$SYS != xmingw32
14670 echo "*** Your system doesn't have plug-in support. All plug-ins will be compiled"
14672 BUILTINS="${BUILTINS} ${PLUGINS}"
14677 cat >>confdefs.h <<_ACEOF
14678 #define VERSION_MESSAGE "vlc $VERSION $CODENAME Copyright 1996-2002 VideoLAN"
14682 cat >>confdefs.h <<_ACEOF
14683 #define COPYRIGHT_MESSAGE "VideoLAN Client - version $VERSION $CODENAME - (c) 1996-2002 VideoLAN"
14687 VLC_SYMBOL="`echo ${VERSION} | tr .- __`"
14689 cat >>confdefs.h <<_ACEOF
14690 #define MODULE_SUFFIX "__MODULE_$VLC_SYMBOL"
14694 cat >>confdefs.h <<_ACEOF
14695 #define MODULE_SYMBOL $VLC_SYMBOL
14699 DATA_PATH="${ac_tool_prefix}/share/videolan"
14701 PLUGIN_PATH="${ac_tool_prefix}/share/videolan"
14805 ac_config_files="$ac_config_files Makefile.config Makefile.opts po/Makefile.in"
14806 cat >confcache <<\_ACEOF
14807 # This file is a shell script that caches the results of configure
14808 # tests run on this system so they can be shared between configure
14809 # scripts and configure runs, see configure's option --config-cache.
14810 # It is not useful on other systems. If it contains results you don't
14811 # want to keep, you may remove or edit it.
14813 # config.status only pays attention to the cache file if you give it
14814 # the --recheck option to rerun configure.
14816 # `ac_cv_env_foo' variables (set or unset) will be overriden when
14817 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14818 # following values.
14822 # The following way of writing the cache mishandles newlines in values,
14823 # but we know of no workaround that is simple, portable, and efficient.
14824 # So, don't put newlines in cache variables' values.
14825 # Ultrix sh set writes to stderr and can't be redirected directly,
14826 # and sets the high bit in the cache file unless we assign to the vars.
14829 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14831 # `set' does not quote correctly, so add quotes (double-quote
14832 # substitution turns \\\\ into \\, and sed turns \\ into \).
14835 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14838 # `set' quotes correctly as required by POSIX, so do not add quotes.
14840 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
14847 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14849 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14851 if cmp -s $cache_file confcache; then :; else
14852 if test -w $cache_file; then
14853 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
14854 cat confcache >$cache_file
14856 echo "not updating unwritable cache $cache_file"
14861 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14862 # Let make expand exec_prefix.
14863 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14865 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14866 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14867 # trailing colons and then remove the whole line if VPATH becomes empty
14868 # (actually we leave an empty line to preserve line numbers).
14869 if test "x$srcdir" = x.; then
14870 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14871 s/:*\$(srcdir):*/:/;
14872 s/:*\${srcdir}:*/:/;
14874 s/^\([^=]*=[ ]*\):*/\1/;
14880 DEFS=-DHAVE_CONFIG_H
14883 : ${CONFIG_STATUS=./config.status}
14884 ac_clean_files_save=$ac_clean_files
14885 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14886 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14887 echo "$as_me: creating $CONFIG_STATUS" >&6;}
14888 cat >$CONFIG_STATUS <<_ACEOF
14890 # Generated by $as_me.
14891 # Run this file to recreate the current configuration.
14892 # Compiler output produced by configure, useful for debugging
14893 # configure, is in config.log if it exists.
14896 SHELL=\${CONFIG_SHELL-$SHELL}
14899 cat >>$CONFIG_STATUS <<\_ACEOF
14901 ## --------------------- ##
14902 ## M4sh Initialization. ##
14903 ## --------------------- ##
14905 # Be Bourne compatible
14906 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14909 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
14914 # Support unset when possible.
14915 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
14921 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
14922 { $as_unset LANG || test "${LANG+set}" != set; } ||
14923 { LANG=C; export LANG; }
14924 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
14925 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
14926 { LC_ALL=C; export LC_ALL; }
14927 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
14928 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
14929 { LC_TIME=C; export LC_TIME; }
14930 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
14931 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
14932 { LC_CTYPE=C; export LC_CTYPE; }
14933 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
14934 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
14935 { LANGUAGE=C; export LANGUAGE; }
14936 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
14937 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
14938 { LC_COLLATE=C; export LC_COLLATE; }
14939 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
14940 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
14941 { LC_NUMERIC=C; export LC_NUMERIC; }
14942 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
14943 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
14944 { LC_MESSAGES=C; export LC_MESSAGES; }
14947 # Name of the executable.
14948 as_me=`(basename "$0") 2>/dev/null ||
14949 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14950 X"$0" : 'X\(//\)$' \| \
14951 X"$0" : 'X\(/\)$' \| \
14952 . : '\(.\)' 2>/dev/null ||
14954 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
14955 /^X\/\(\/\/\)$/{ s//\1/; q; }
14956 /^X\/\(\/\).*/{ s//\1/; q; }
14959 # PATH needs CR, and LINENO needs CR and PATH.
14960 # Avoid depending upon Character Ranges.
14961 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14962 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14963 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14964 as_cr_digits='0123456789'
14965 as_cr_alnum=$as_cr_Letters$as_cr_digits
14967 # The user is always right.
14968 if test "${PATH_SEPARATOR+set}" != set; then
14969 echo "#! /bin/sh" >conftest.sh
14970 echo "exit 0" >>conftest.sh
14971 chmod +x conftest.sh
14972 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
14981 as_lineno_1=$LINENO
14982 as_lineno_2=$LINENO
14983 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14984 test "x$as_lineno_1" != "x$as_lineno_2" &&
14985 test "x$as_lineno_3" = "x$as_lineno_2" || {
14986 # Find who we are. Look in the path if we contain no path at all
14989 *[\\/]* ) as_myself=$0 ;;
14990 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14991 for as_dir in $PATH
14994 test -z "$as_dir" && as_dir=.
14995 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15000 # We did not find ourselves, most probably we were run as `sh COMMAND'
15001 # in which case we are not to be found in the path.
15002 if test "x$as_myself" = x; then
15005 if test ! -f "$as_myself"; then
15006 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
15007 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
15008 { (exit 1); exit 1; }; }
15010 case $CONFIG_SHELL in
15012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15013 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
15016 test -z "$as_dir" && as_dir=.
15017 for as_base in sh bash ksh sh5; do
15020 if ("$as_dir/$as_base" -c '
15021 as_lineno_1=$LINENO
15022 as_lineno_2=$LINENO
15023 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15024 test "x$as_lineno_1" != "x$as_lineno_2" &&
15025 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
15026 CONFIG_SHELL=$as_dir/$as_base
15027 export CONFIG_SHELL
15028 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
15036 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15037 # uniformly replaced by the line number. The first 'sed' inserts a
15038 # line-number line before each line; the second 'sed' does the real
15039 # work. The second script uses 'N' to pair each line-number line
15040 # with the numbered line, and appends trailing '-' during
15041 # substitution so that $LINENO is not a special case at line end.
15042 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15043 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
15044 sed '=' <$as_myself |
15049 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
15052 s,^['$as_cr_digits']*\n,,
15053 ' >$as_me.lineno &&
15054 chmod +x $as_me.lineno ||
15055 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
15056 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
15057 { (exit 1); exit 1; }; }
15059 # Don't try to exec as it changes $[0], causing all sort of problems
15060 # (the dirname of $[0] is not the place where we might find the
15061 # original and so on. Autoconf is especially sensible to this).
15063 # Exit status is that of the last command.
15068 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
15069 *c*,-n*) ECHO_N= ECHO_C='
15071 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
15072 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
15075 if expr a : '\(a\)' >/dev/null 2>&1; then
15081 rm -f conf$$ conf$$.exe conf$$.file
15083 if ln -s conf$$.file conf$$ 2>/dev/null; then
15084 # We could just check for DJGPP; but this test a) works b) is more generic
15085 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
15086 if test -f conf$$.exe; then
15087 # Don't use ln at all; we don't have any links
15092 elif ln conf$$.file conf$$ 2>/dev/null; then
15097 rm -f conf$$ conf$$.exe conf$$.file
15099 as_executable_p="test -f"
15101 # Sed expression to map a string onto a valid CPP name.
15102 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
15104 # Sed expression to map a string onto a valid variable name.
15105 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
15109 # We need space, tab and new line, in precisely that order.
15115 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
15119 # Open the log real soon, to keep \$[0] and so on meaningful, and to
15120 # report actual input values of CONFIG_FILES etc. instead of their
15121 # values after options handling. Logging --version etc. is OK.
15125 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15126 ## Running $as_me. ##
15131 This file was extended by $as_me, which was
15132 generated by GNU Autoconf 2.53. Invocation command line was
15134 CONFIG_FILES = $CONFIG_FILES
15135 CONFIG_HEADERS = $CONFIG_HEADERS
15136 CONFIG_LINKS = $CONFIG_LINKS
15137 CONFIG_COMMANDS = $CONFIG_COMMANDS
15141 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
15145 # Files that config.status was made for.
15146 if test -n "$ac_config_files"; then
15147 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
15150 if test -n "$ac_config_headers"; then
15151 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
15154 if test -n "$ac_config_links"; then
15155 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
15158 if test -n "$ac_config_commands"; then
15159 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
15162 cat >>$CONFIG_STATUS <<\_ACEOF
15165 \`$as_me' instantiates files from templates according to the
15166 current configuration.
15168 Usage: $0 [OPTIONS] [FILE]...
15170 -h, --help print this help, then exit
15171 -V, --version print version number, then exit
15172 -d, --debug don't remove temporary files
15173 --recheck update $as_me by reconfiguring in the same conditions
15174 --file=FILE[:TEMPLATE]
15175 instantiate the configuration file FILE
15176 --header=FILE[:TEMPLATE]
15177 instantiate the configuration header FILE
15179 Configuration files:
15182 Configuration headers:
15185 Configuration commands:
15188 Report bugs to <bug-autoconf@gnu.org>."
15191 cat >>$CONFIG_STATUS <<_ACEOF
15194 configured by $0, generated by GNU Autoconf 2.53,
15195 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
15197 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
15198 Free Software Foundation, Inc.
15199 This config.status script is free software; the Free Software Foundation
15200 gives unlimited permission to copy, distribute and modify it."
15205 cat >>$CONFIG_STATUS <<\_ACEOF
15206 # If no file are specified by the user, then we need to provide default
15207 # value. By we need to know if files were specified by the user.
15213 ac_option=`expr "x$1" : 'x\([^=]*\)='`
15214 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
15216 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
15220 *) # This is not an option, so the user has probably given explicit
15222 ac_need_defaults=false;;
15226 # Handling of the options.
15228 cat >>$CONFIG_STATUS <<_ACEOF
15229 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15230 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
15231 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
15233 cat >>$CONFIG_STATUS <<\_ACEOF
15234 --version | --vers* | -V )
15235 echo "$ac_cs_version"; exit 0 ;;
15237 # Conflict between --help and --header
15238 { { echo "$as_me:$LINENO: error: ambiguous option: $1
15239 Try \`$0 --help' for more information." >&5
15240 echo "$as_me: error: ambiguous option: $1
15241 Try \`$0 --help' for more information." >&2;}
15242 { (exit 1); exit 1; }; };;
15243 --help | --hel | -h )
15244 echo "$ac_cs_usage"; exit 0 ;;
15245 --debug | --d* | -d )
15247 --file | --fil | --fi | --f )
15249 CONFIG_FILES="$CONFIG_FILES $1"
15250 ac_need_defaults=false;;
15251 --header | --heade | --head | --hea )
15253 CONFIG_HEADERS="$CONFIG_HEADERS $1"
15254 ac_need_defaults=false;;
15256 # This is an error.
15257 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
15258 Try \`$0 --help' for more information." >&5
15259 echo "$as_me: error: unrecognized option: $1
15260 Try \`$0 --help' for more information." >&2;}
15261 { (exit 1); exit 1; }; } ;;
15263 *) ac_config_targets="$ac_config_targets $1" ;;
15271 cat >>$CONFIG_STATUS <<_ACEOF
15273 # INIT-COMMANDS section.
15282 cat >>$CONFIG_STATUS <<\_ACEOF
15283 for ac_config_target in $ac_config_targets
15285 case "$ac_config_target" in
15286 # Handling of arguments.
15287 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
15288 "Makefile.opts" ) CONFIG_FILES="$CONFIG_FILES Makefile.opts" ;;
15289 "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
15290 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
15291 "include/defs.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/defs.h" ;;
15292 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15293 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15294 { (exit 1); exit 1; }; };;
15298 # If the user did not use the arguments to specify the items to instantiate,
15299 # then the envvar interface is used. Set only those that are not.
15300 # We use the long form for the default assignment because of an extremely
15301 # bizarre bug on SunOS 4.1.3.
15302 if $ac_need_defaults; then
15303 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15304 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15305 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15308 # Create a temporary directory, and hook for its removal unless debugging.
15311 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
15312 trap '{ (exit 1); exit 1; }' 1 2 13 15
15315 # Create a (secure) tmp directory for tmp files.
15318 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
15319 test -n "$tmp" && test -d "$tmp"
15322 tmp=$TMPDIR/cs$$-$RANDOM
15323 (umask 077 && mkdir $tmp)
15326 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
15327 { (exit 1); exit 1; }
15332 cat >>$CONFIG_STATUS <<_ACEOF
15335 # CONFIG_FILES section.
15338 # No need to generate the scripts if there are no CONFIG_FILES.
15339 # This happens for instance when ./config.status config.h
15340 if test -n "\$CONFIG_FILES"; then
15341 # Protect against being on the right side of a sed subst in config.status.
15342 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
15343 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
15344 s,@SHELL@,$SHELL,;t t
15345 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
15346 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
15347 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
15348 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
15349 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
15350 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
15351 s,@exec_prefix@,$exec_prefix,;t t
15352 s,@prefix@,$prefix,;t t
15353 s,@program_transform_name@,$program_transform_name,;t t
15354 s,@bindir@,$bindir,;t t
15355 s,@sbindir@,$sbindir,;t t
15356 s,@libexecdir@,$libexecdir,;t t
15357 s,@datadir@,$datadir,;t t
15358 s,@sysconfdir@,$sysconfdir,;t t
15359 s,@sharedstatedir@,$sharedstatedir,;t t
15360 s,@localstatedir@,$localstatedir,;t t
15361 s,@libdir@,$libdir,;t t
15362 s,@includedir@,$includedir,;t t
15363 s,@oldincludedir@,$oldincludedir,;t t
15364 s,@infodir@,$infodir,;t t
15365 s,@mandir@,$mandir,;t t
15366 s,@build_alias@,$build_alias,;t t
15367 s,@host_alias@,$host_alias,;t t
15368 s,@target_alias@,$target_alias,;t t
15369 s,@DEFS@,$DEFS,;t t
15370 s,@ECHO_C@,$ECHO_C,;t t
15371 s,@ECHO_N@,$ECHO_N,;t t
15372 s,@ECHO_T@,$ECHO_T,;t t
15373 s,@LIBS@,$LIBS,;t t
15374 s,@build@,$build,;t t
15375 s,@build_cpu@,$build_cpu,;t t
15376 s,@build_vendor@,$build_vendor,;t t
15377 s,@build_os@,$build_os,;t t
15378 s,@host@,$host,;t t
15379 s,@host_cpu@,$host_cpu,;t t
15380 s,@host_vendor@,$host_vendor,;t t
15381 s,@host_os@,$host_os,;t t
15382 s,@target@,$target,;t t
15383 s,@target_cpu@,$target_cpu,;t t
15384 s,@target_vendor@,$target_vendor,;t t
15385 s,@target_os@,$target_os,;t t
15386 s,@SET_MAKE@,$SET_MAKE,;t t
15388 s,@CFLAGS@,$CFLAGS,;t t
15389 s,@LDFLAGS@,$LDFLAGS,;t t
15390 s,@CPPFLAGS@,$CPPFLAGS,;t t
15391 s,@ac_ct_CC@,$ac_ct_CC,;t t
15392 s,@EXEEXT@,$EXEEXT,;t t
15393 s,@OBJEXT@,$OBJEXT,;t t
15395 s,@RANLIB@,$RANLIB,;t t
15396 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
15397 s,@STRIP@,$STRIP,;t t
15398 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
15399 s,@GMAKE@,$GMAKE,;t t
15400 s,@ALLOCA@,$ALLOCA,;t t
15401 s,@GLIBC21@,$GLIBC21,;t t
15402 s,@LIBICONV@,$LIBICONV,;t t
15403 s,@USE_NLS@,$USE_NLS,;t t
15404 s,@MSGFMT@,$MSGFMT,;t t
15405 s,@GMSGFMT@,$GMSGFMT,;t t
15406 s,@XGETTEXT@,$XGETTEXT,;t t
15407 s,@INTLBISON@,$INTLBISON,;t t
15408 s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
15409 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
15410 s,@CATALOGS@,$CATALOGS,;t t
15411 s,@CATOBJEXT@,$CATOBJEXT,;t t
15412 s,@GMOFILES@,$GMOFILES,;t t
15413 s,@INTLLIBS@,$INTLLIBS,;t t
15414 s,@INTLOBJS@,$INTLOBJS,;t t
15415 s,@POFILES@,$POFILES,;t t
15416 s,@POSUB@,$POSUB,;t t
15417 s,@DATADIRNAME@,$DATADIRNAME,;t t
15418 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
15419 s,@GENCAT@,$GENCAT,;t t
15420 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
15421 s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
15422 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
15423 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
15424 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
15425 s,@WINDRES@,$WINDRES,;t t
15426 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
15427 s,@SDL12_CONFIG@,$SDL12_CONFIG,;t t
15428 s,@SDL11_CONFIG@,$SDL11_CONFIG,;t t
15429 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
15430 s,@ESD_CONFIG@,$ESD_CONFIG,;t t
15431 s,@ARTS_CONFIG@,$ARTS_CONFIG,;t t
15432 s,@GTK12_CONFIG@,$GTK12_CONFIG,;t t
15433 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
15434 s,@GNOME_CONFIG@,$GNOME_CONFIG,;t t
15435 s,@DATA_PATH@,$DATA_PATH,;t t
15436 s,@PLUGIN_PATH@,$PLUGIN_PATH,;t t
15438 s,@ARCH@,$ARCH,;t t
15439 s,@PLUGINS@,$PLUGINS,;t t
15440 s,@BUILTINS@,$BUILTINS,;t t
15441 s,@ALIASES@,$ALIASES,;t t
15442 s,@DEBUG@,$DEBUG,;t t
15444 s,@CPROF@,$CPROF,;t t
15445 s,@GPROF@,$GPROF,;t t
15446 s,@OPTIMS@,$OPTIMS,;t t
15447 s,@TUNING@,$TUNING,;t t
15448 s,@RELEASE@,$RELEASE,;t t
15450 s,@BCBUILDER@,$BCBUILDER,;t t
15451 s,@PACKAGE@,$PACKAGE,;t t
15452 s,@VERSION@,$VERSION,;t t
15453 s,@NEED_GETOPT@,$NEED_GETOPT,;t t
15454 s,@CFLAGS_OPTIM@,$CFLAGS_OPTIM,;t t
15455 s,@CFLAGS_OPTIM_NODEBUG@,$CFLAGS_OPTIM_NODEBUG,;t t
15456 s,@vlc_CFLAGS@,$vlc_CFLAGS,;t t
15457 s,@plugins_CFLAGS@,$plugins_CFLAGS,;t t
15458 s,@builtins_CFLAGS@,$builtins_CFLAGS,;t t
15459 s,@a52_CFLAGS@,$a52_CFLAGS,;t t
15460 s,@arts_CFLAGS@,$arts_CFLAGS,;t t
15461 s,@dvd_CFLAGS@,$dvd_CFLAGS,;t t
15462 s,@dvdread_CFLAGS@,$dvdread_CFLAGS,;t t
15463 s,@mpeg_ts_dvbpsi_CFLAGS@,$mpeg_ts_dvbpsi_CFLAGS,;t t
15464 s,@directx_CFLAGS@,$directx_CFLAGS,;t t
15465 s,@esd_CFLAGS@,$esd_CFLAGS,;t t
15466 s,@familiar_CFLAGS@,$familiar_CFLAGS,;t t
15467 s,@ffmpeg_CFLAGS@,$ffmpeg_CFLAGS,;t t
15468 s,@glide_CFLAGS@,$glide_CFLAGS,;t t
15469 s,@gnome_CFLAGS@,$gnome_CFLAGS,;t t
15470 s,@gtk_CFLAGS@,$gtk_CFLAGS,;t t
15471 s,@kde_CFLAGS@,$kde_CFLAGS,;t t
15472 s,@idctaltivec_CFLAGS@,$idctaltivec_CFLAGS,;t t
15473 s,@macosx_CFLAGS@,$macosx_CFLAGS,;t t
15474 s,@mad_CFLAGS@,$mad_CFLAGS,;t t
15475 s,@memcpyaltivec_CFLAGS@,$memcpyaltivec_CFLAGS,;t t
15476 s,@motionaltivec_CFLAGS@,$motionaltivec_CFLAGS,;t t
15477 s,@opie_CFLAGS@,$opie_CFLAGS,;t t
15478 s,@qt_CFLAGS@,$qt_CFLAGS,;t t
15479 s,@qte_CFLAGS@,$qte_CFLAGS,;t t
15480 s,@sdl_CFLAGS@,$sdl_CFLAGS,;t t
15481 s,@x11_CFLAGS@,$x11_CFLAGS,;t t
15482 s,@xvideo_CFLAGS@,$xvideo_CFLAGS,;t t
15483 s,@vlc_LDFLAGS@,$vlc_LDFLAGS,;t t
15484 s,@plugins_LDFLAGS@,$plugins_LDFLAGS,;t t
15485 s,@builtins_LDFLAGS@,$builtins_LDFLAGS,;t t
15486 s,@a52_LDFLAGS@,$a52_LDFLAGS,;t t
15487 s,@aa_LDFLAGS@,$aa_LDFLAGS,;t t
15488 s,@alsa_LDFLAGS@,$alsa_LDFLAGS,;t t
15489 s,@arts_LDFLAGS@,$arts_LDFLAGS,;t t
15490 s,@beos_LDFLAGS@,$beos_LDFLAGS,;t t
15491 s,@chroma_i420_rgb_LDFLAGS@,$chroma_i420_rgb_LDFLAGS,;t t
15492 s,@directx_LDFLAGS@,$directx_LDFLAGS,;t t
15493 s,@dsp_LDFLAGS@,$dsp_LDFLAGS,;t t
15494 s,@dvd_LDFLAGS@,$dvd_LDFLAGS,;t t
15495 s,@dvdread_LDFLAGS@,$dvdread_LDFLAGS,;t t
15496 s,@mpeg_ts_dvbpsi_LDFLAGS@,$mpeg_ts_dvbpsi_LDFLAGS,;t t
15497 s,@esd_LDFLAGS@,$esd_LDFLAGS,;t t
15498 s,@familiar_LDFLAGS@,$familiar_LDFLAGS,;t t
15499 s,@filter_distort_LDFLAGS@,$filter_distort_LDFLAGS,;t t
15500 s,@ffmpeg_LDFLAGS@,$ffmpeg_LDFLAGS,;t t
15501 s,@ggi_LDFLAGS@,$ggi_LDFLAGS,;t t
15502 s,@glide_LDFLAGS@,$glide_LDFLAGS,;t t
15503 s,@gnome_LDFLAGS@,$gnome_LDFLAGS,;t t
15504 s,@gtk_LDFLAGS@,$gtk_LDFLAGS,;t t
15505 s,@http_LDFLAGS@,$http_LDFLAGS,;t t
15506 s,@idctaltivec_LDFLAGS@,$idctaltivec_LDFLAGS,;t t
15507 s,@imdct_LDFLAGS@,$imdct_LDFLAGS,;t t
15508 s,@imdct3dn_LDFLAGS@,$imdct3dn_LDFLAGS,;t t
15509 s,@imdctsse_LDFLAGS@,$imdctsse_LDFLAGS,;t t
15510 s,@ipv4_LDFLAGS@,$ipv4_LDFLAGS,;t t
15511 s,@ipv6_LDFLAGS@,$ipv6_LDFLAGS,;t t
15512 s,@kde_LDFLAGS@,$kde_LDFLAGS,;t t
15513 s,@lirc_LDFLAGS@,$lirc_LDFLAGS,;t t
15514 s,@macosx_LDFLAGS@,$macosx_LDFLAGS,;t t
15515 s,@mad_LDFLAGS@,$mad_LDFLAGS,;t t
15516 s,@memcpyaltivec_LDFLAGS@,$memcpyaltivec_LDFLAGS,;t t
15517 s,@motionaltivec_LDFLAGS@,$motionaltivec_LDFLAGS,;t t
15518 s,@ncurses_LDFLAGS@,$ncurses_LDFLAGS,;t t
15519 s,@opie_LDFLAGS@,$opie_LDFLAGS,;t t
15520 s,@qnx_LDFLAGS@,$qnx_LDFLAGS,;t t
15521 s,@qt_LDFLAGS@,$qt_LDFLAGS,;t t
15522 s,@qte_LDFLAGS@,$qte_LDFLAGS,;t t
15523 s,@rc_LDFLAGS@,$rc_LDFLAGS,;t t
15524 s,@sdl_LDFLAGS@,$sdl_LDFLAGS,;t t
15525 s,@vcd_LDFLAGS@,$vcd_LDFLAGS,;t t
15526 s,@vorbis_LDFLAGS@,$vorbis_LDFLAGS,;t t
15527 s,@waveout_LDFLAGS@,$waveout_LDFLAGS,;t t
15528 s,@x11_LDFLAGS@,$x11_LDFLAGS,;t t
15529 s,@xvideo_LDFLAGS@,$xvideo_LDFLAGS,;t t
15534 cat >>$CONFIG_STATUS <<\_ACEOF
15535 # Split the substitutions into bite-sized pieces for seds with
15536 # small command number limits, like on Digital OSF/1 and HP-UX.
15537 ac_max_sed_lines=48
15538 ac_sed_frag=1 # Number of current file.
15539 ac_beg=1 # First line for current file.
15540 ac_end=$ac_max_sed_lines # Line after last line for current file.
15543 while $ac_more_lines; do
15544 if test $ac_beg -gt 1; then
15545 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
15547 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
15549 if test ! -s $tmp/subs.frag; then
15550 ac_more_lines=false
15552 # The purpose of the label and of the branching condition is to
15553 # speed up the sed processing (if there are no `@' at all, there
15554 # is no need to browse any of the substitutions).
15555 # These are the two extra sed commands mentioned above.
15557 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
15558 if test -z "$ac_sed_cmds"; then
15559 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
15561 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
15563 ac_sed_frag=`expr $ac_sed_frag + 1`
15565 ac_end=`expr $ac_end + $ac_max_sed_lines`
15568 if test -z "$ac_sed_cmds"; then
15571 fi # test -n "$CONFIG_FILES"
15574 cat >>$CONFIG_STATUS <<\_ACEOF
15575 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
15576 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15578 - | *:- | *:-:* ) # input from stdin
15580 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15581 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15582 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15583 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15584 * ) ac_file_in=$ac_file.in ;;
15587 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
15588 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
15589 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15590 X"$ac_file" : 'X\(//\)[^/]' \| \
15591 X"$ac_file" : 'X\(//\)$' \| \
15592 X"$ac_file" : 'X\(/\)' \| \
15593 . : '\(.\)' 2>/dev/null ||
15595 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15596 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15597 /^X\(\/\/\)$/{ s//\1/; q; }
15598 /^X\(\/\).*/{ s//\1/; q; }
15600 { case "$ac_dir" in
15601 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
15605 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
15606 case $as_mkdir_dir in
15607 # Skip DOS drivespec
15608 ?:) as_incr_dir=$as_mkdir_dir ;;
15610 as_incr_dir=$as_incr_dir/$as_mkdir_dir
15611 test -d "$as_incr_dir" ||
15612 mkdir "$as_incr_dir" ||
15613 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
15614 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
15615 { (exit 1); exit 1; }; }
15622 if test "$ac_dir" != .; then
15623 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15624 # A "../" for each directory in $ac_dir_suffix.
15625 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15627 ac_dir_suffix= ac_top_builddir=
15631 .) # No --srcdir option. We are building in place.
15633 if test -z "$ac_top_builddir"; then
15636 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
15638 [\\/]* | ?:[\\/]* ) # Absolute path.
15639 ac_srcdir=$srcdir$ac_dir_suffix;
15640 ac_top_srcdir=$srcdir ;;
15641 *) # Relative path.
15642 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
15643 ac_top_srcdir=$ac_top_builddir$srcdir ;;
15645 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
15647 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
15648 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
15649 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
15650 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
15654 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15655 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
15658 if test x"$ac_file" != x-; then
15659 { echo "$as_me:$LINENO: creating $ac_file" >&5
15660 echo "$as_me: creating $ac_file" >&6;}
15663 # Let's still pretend it is `configure' which instantiates (i.e., don't
15664 # use $as_me), people would be surprised to read:
15665 # /* config.h. Generated by config.status. */
15666 if test x"$ac_file" = x-; then
15669 configure_input="$ac_file. "
15671 configure_input=$configure_input"Generated from `echo $ac_file_in |
15672 sed 's,.*/,,'` by configure."
15674 # First look for the input files in the build tree, otherwise in the
15676 ac_file_inputs=`IFS=:
15677 for f in $ac_file_in; do
15679 -) echo $tmp/stdin ;;
15681 # Absolute (can't be DOS-style, as IFS=:)
15682 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15683 echo "$as_me: error: cannot find input file: $f" >&2;}
15684 { (exit 1); exit 1; }; }
15687 if test -f "$f"; then
15690 elif test -f "$srcdir/$f"; then
15695 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15696 echo "$as_me: error: cannot find input file: $f" >&2;}
15697 { (exit 1); exit 1; }; }
15700 done` || { (exit 1); exit 1; }
15702 cat >>$CONFIG_STATUS <<_ACEOF
15706 cat >>$CONFIG_STATUS <<\_ACEOF
15708 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15709 s,@configure_input@,$configure_input,;t t
15710 s,@srcdir@,$ac_srcdir,;t t
15711 s,@abs_srcdir@,$ac_abs_srcdir,;t t
15712 s,@top_srcdir@,$ac_top_srcdir,;t t
15713 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
15714 s,@builddir@,$ac_builddir,;t t
15715 s,@abs_builddir@,$ac_abs_builddir,;t t
15716 s,@top_builddir@,$ac_top_builddir,;t t
15717 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
15718 s,@INSTALL@,$ac_INSTALL,;t t
15719 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
15721 if test x"$ac_file" != x-; then
15722 mv $tmp/out $ac_file
15730 cat >>$CONFIG_STATUS <<\_ACEOF
15733 # CONFIG_HEADER section.
15736 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
15737 # NAME is the cpp macro being defined and VALUE is the value it is being given.
15739 # ac_d sets the value in "#define NAME VALUE" lines.
15740 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
15741 ac_dB='[ ].*$,\1#\2'
15744 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
15745 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15746 ac_uB='$,\1#\2define\3'
15750 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
15751 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15753 - | *:- | *:-:* ) # input from stdin
15755 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15756 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15757 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15758 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15759 * ) ac_file_in=$ac_file.in ;;
15762 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
15763 echo "$as_me: creating $ac_file" >&6;}
15765 # First look for the input files in the build tree, otherwise in the
15767 ac_file_inputs=`IFS=:
15768 for f in $ac_file_in; do
15770 -) echo $tmp/stdin ;;
15772 # Absolute (can't be DOS-style, as IFS=:)
15773 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15774 echo "$as_me: error: cannot find input file: $f" >&2;}
15775 { (exit 1); exit 1; }; }
15778 if test -f "$f"; then
15781 elif test -f "$srcdir/$f"; then
15786 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15787 echo "$as_me: error: cannot find input file: $f" >&2;}
15788 { (exit 1); exit 1; }; }
15791 done` || { (exit 1); exit 1; }
15792 # Remove the trailing spaces.
15793 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
15797 # Transform confdefs.h into two sed scripts, `conftest.defines' and
15798 # `conftest.undefs', that substitutes the proper values into
15799 # config.h.in to produce config.h. The first handles `#define'
15800 # templates, and the second `#undef' templates.
15801 # And first: Protect against being on the right side of a sed subst in
15802 # config.status. Protect against being in an unquoted here document
15803 # in config.status.
15804 rm -f conftest.defines conftest.undefs
15805 # Using a here document instead of a string reduces the quoting nightmare.
15806 # Putting comments in sed scripts is not portable.
15808 # `end' is used to avoid that the second main sed command (meant for
15809 # 0-ary CPP macros) applies to n-ary macro definitions.
15810 # See the Autoconf documentation for `clear'.
15811 cat >confdef2sed.sed <<\_ACEOF
15816 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
15818 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
15821 # If some macros were called several times there might be several times
15822 # the same #defines, which is useless. Nevertheless, we may not want to
15823 # sort them, since we want the *last* AC-DEFINE to be honored.
15824 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
15825 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
15826 rm -f confdef2sed.sed
15828 # This sed command replaces #undef with comments. This is necessary, for
15829 # example, in the case of _POSIX_SOURCE, which is predefined and required
15830 # on some systems where configure will not decide to define it.
15831 cat >>conftest.undefs <<\_ACEOF
15832 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
15835 # Break up conftest.defines because some shells have a limit on the size
15836 # of here documents, and old seds have small limits too (100 cmds).
15837 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
15838 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
15839 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
15840 echo ' :' >>$CONFIG_STATUS
15841 rm -f conftest.tail
15842 while grep . conftest.defines >/dev/null
15844 # Write a limited-size here document to $tmp/defines.sed.
15845 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
15846 # Speed up: don't consider the non `#define' lines.
15847 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
15848 # Work around the forget-to-reset-the-flag bug.
15849 echo 't clr' >>$CONFIG_STATUS
15850 echo ': clr' >>$CONFIG_STATUS
15851 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
15853 sed -f $tmp/defines.sed $tmp/in >$tmp/out
15855 mv $tmp/out $tmp/in
15857 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
15858 rm -f conftest.defines
15859 mv conftest.tail conftest.defines
15861 rm -f conftest.defines
15862 echo ' fi # egrep' >>$CONFIG_STATUS
15863 echo >>$CONFIG_STATUS
15865 # Break up conftest.undefs because some shells have a limit on the size
15866 # of here documents, and old seds have small limits too (100 cmds).
15867 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
15868 rm -f conftest.tail
15869 while grep . conftest.undefs >/dev/null
15871 # Write a limited-size here document to $tmp/undefs.sed.
15872 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
15873 # Speed up: don't consider the non `#undef'
15874 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
15875 # Work around the forget-to-reset-the-flag bug.
15876 echo 't clr' >>$CONFIG_STATUS
15877 echo ': clr' >>$CONFIG_STATUS
15878 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
15880 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
15882 mv $tmp/out $tmp/in
15884 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
15885 rm -f conftest.undefs
15886 mv conftest.tail conftest.undefs
15888 rm -f conftest.undefs
15890 cat >>$CONFIG_STATUS <<\_ACEOF
15891 # Let's still pretend it is `configure' which instantiates (i.e., don't
15892 # use $as_me), people would be surprised to read:
15893 # /* config.h. Generated by config.status. */
15894 if test x"$ac_file" = x-; then
15895 echo "/* Generated by configure. */" >$tmp/config.h
15897 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
15899 cat $tmp/in >>$tmp/config.h
15901 if test x"$ac_file" != x-; then
15902 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
15903 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15904 echo "$as_me: $ac_file is unchanged" >&6;}
15906 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
15907 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15908 X"$ac_file" : 'X\(//\)[^/]' \| \
15909 X"$ac_file" : 'X\(//\)$' \| \
15910 X"$ac_file" : 'X\(/\)' \| \
15911 . : '\(.\)' 2>/dev/null ||
15913 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15914 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15915 /^X\(\/\/\)$/{ s//\1/; q; }
15916 /^X\(\/\).*/{ s//\1/; q; }
15918 { case "$ac_dir" in
15919 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
15923 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
15924 case $as_mkdir_dir in
15925 # Skip DOS drivespec
15926 ?:) as_incr_dir=$as_mkdir_dir ;;
15928 as_incr_dir=$as_incr_dir/$as_mkdir_dir
15929 test -d "$as_incr_dir" ||
15930 mkdir "$as_incr_dir" ||
15931 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
15932 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
15933 { (exit 1); exit 1; }; }
15939 mv $tmp/config.h $ac_file
15943 rm -f $tmp/config.h
15947 cat >>$CONFIG_STATUS <<\_ACEOF
15950 # CONFIG_COMMANDS section.
15952 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
15953 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
15954 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
15955 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
15956 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15957 X"$ac_dest" : 'X\(//\)[^/]' \| \
15958 X"$ac_dest" : 'X\(//\)$' \| \
15959 X"$ac_dest" : 'X\(/\)' \| \
15960 . : '\(.\)' 2>/dev/null ||
15962 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15963 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15964 /^X\(\/\/\)$/{ s//\1/; q; }
15965 /^X\(\/\).*/{ s//\1/; q; }
15969 if test "$ac_dir" != .; then
15970 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15971 # A "../" for each directory in $ac_dir_suffix.
15972 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15974 ac_dir_suffix= ac_top_builddir=
15978 .) # No --srcdir option. We are building in place.
15980 if test -z "$ac_top_builddir"; then
15983 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
15985 [\\/]* | ?:[\\/]* ) # Absolute path.
15986 ac_srcdir=$srcdir$ac_dir_suffix;
15987 ac_top_srcdir=$srcdir ;;
15988 *) # Relative path.
15989 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
15990 ac_top_srcdir=$ac_top_builddir$srcdir ;;
15992 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
15994 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
15995 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
15996 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
15997 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
16000 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
16001 echo "$as_me: executing $ac_dest commands" >&6;}
16003 default-1 ) for ac_file in $CONFIG_FILES; do
16004 # Support "outfile[:infile[:infile...]]"
16006 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
16008 # PO directories have a Makefile.in generated from Makefile.in.in.
16009 case "$ac_file" in */Makefile.in)
16010 # Adjust a relative srcdir.
16011 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
16012 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
16013 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
16014 # In autoconf-2.13 it is called $ac_given_srcdir.
16015 # In autoconf-2.50 it is called $srcdir.
16016 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
16017 case "$ac_given_srcdir" in
16018 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
16019 /*) top_srcdir="$ac_given_srcdir" ;;
16020 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
16022 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
16023 rm -f "$ac_dir/POTFILES"
16024 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
16025 sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," -e "\$s/\(.*\) \\\\/\1/" < "$ac_given_srcdir/$ac_dir/POTFILES.in" > "$ac_dir/POTFILES"
16026 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
16027 sed -e "/POTFILES =/r $ac_dir/POTFILES" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
16036 cat >>$CONFIG_STATUS <<\_ACEOF
16038 { (exit 0); exit 0; }
16040 chmod +x $CONFIG_STATUS
16041 ac_clean_files=$ac_clean_files_save
16044 # configure is writing to config.log, and then calls config.status.
16045 # config.status does its own redirection, appending to config.log.
16046 # Unfortunately, on DOS this fails, as config.log is still kept open
16047 # by configure, so config.status won't be able to write to it; its
16048 # output is simply discarded. So we exec the FD to /dev/null,
16049 # effectively closing config.log, so it can be properly (re)opened and
16050 # appended to by config.status. When coming back to configure, we
16051 # need to make the FD available again.
16052 if test "$no_create" != yes; then
16055 $SHELL $CONFIG_STATUS || ac_cs_success=false
16057 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16058 # would make configure fail if this is the last instruction.
16059 $ac_cs_success || { (exit 1); exit 1; }
16065 --------------------
16066 vlc version : ${VERSION}
16068 architecture : ${ARCH}
16069 optimizations : ${OPTIMS}
16071 debug mode : ${DEBUG}
16072 release : ${RELEASE}
16073 cprof/gprof support : ${CPROF}/${GPROF}
16074 need builtin getopt : ${NEED_GETOPT}
16075 built-in modules :${BUILTINS}
16076 plug-in modules :${PLUGINS}
16077 vlc aliases :${ALIASES}
16079 You may now tune Makefile.opts at your convenience, for instance to choose
16080 which modules get compiled as plugins.
16082 To build vlc and its plugins, type \`$VLC_MAKE'.