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-directx Win32 DirectX support (default enabled on Win32)
849 --enable-fb Linux framebuffer support (default enabled on Linux)
850 --enable-mga Linux kernel Matrox support (default disabled)
851 --enable-ggi GGI support (default disabled)
852 --enable-glide Glide (3dfx) support (default disabled)
853 --enable-aa aalib output (default disabled)
854 --enable-dsp Linux /dev/dsp support (enabled on Linux)
855 --enable-esd Esound library support (default disabled)
856 --enable-arts aRts sound server (default disabled)
857 --enable-alsa ALSA sound support for Linux (default disabled)
858 --enable-waveout Win32 waveOut module (default enabled on Win32)
859 --enable-gtk Gtk+ support (default enabled)
860 --enable-gnome Gnome interface support (default disabled)
861 --enable-qt Qt interface support (default disabled)
862 --enable-kde KDE interface support (default disabled)
863 --enable-macosx MacOS X support (default enabled on MacOS X)
864 --enable-qnx QNX RTOS support (default enabled on QNX RTOS)
865 --enable-intfwin Win32 interface support (default disabled)
866 --enable-ncurses ncurses interface support (default disabled)
867 --enable-lirc lirc support (default disabled)
868 --enable-gprof gprof profiling (default disabled)
869 --enable-cprof cprof profiling (default disabled)
870 --enable-pth GNU Pth support (default disabled)
871 --enable-st State Threads (default disabled)
872 --disable-plugins make all plug-ins built-in (default plug-ins enabled)
875 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
876 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
877 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
878 --with-included-gettext use the GNU gettext library included here
880 Optimization options:
881 --with-tuning=ARCH enable special tuning for an architecture
882 (default i686 on IA-32 and 750 on PPC)
884 --with-dvdcss=PATH libdvdcss headers and libraries
885 --with-dvdcss-tree=PATH libdvdcss tree for static linking
886 --with-dvdread=PATH libdvdread headers and libraries
887 --with-dvbpsi=PATH libdvbpsi headers and libraries
889 --with-mad=PATH path to libmad
890 --with-mad-tree=PATH mad tree for static linking
891 --with-ffmpeg-tree=PATH ffmpeg tree for static linking
892 --with-a52-tree=PATH a52dec tree for static linking
894 --with-sdl-config-path=PATH sdl-config path (default search in \$PATH)
895 --with-directx=PATH Win32 DirectX headers and libraries
896 --with-ggi=PATH path to libggi
897 --with-glide=PATH path to libglide
900 --with-gtk-config-path=PATH gtk-config path (default search in \$PATH)
901 --with-bcbuilder=PATH Borland C++ Builder installation path
903 --with-words=endianness set endianness (big or little)
905 Some influential environment variables:
906 CC C compiler command
907 CFLAGS C compiler flags
908 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
909 nonstandard directory <lib dir>
910 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
911 headers in a nonstandard directory <include dir>
914 Use these variables to override the choices made by `configure' or to help
915 it to find libraries and programs with nonstandard names/locations.
920 if test "$ac_init_help" = "recursive"; then
921 # If there are subdirs, report their specific --help.
923 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
924 test -d $ac_dir || continue
927 if test "$ac_dir" != .; then
928 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
929 # A "../" for each directory in $ac_dir_suffix.
930 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
932 ac_dir_suffix= ac_top_builddir=
936 .) # No --srcdir option. We are building in place.
938 if test -z "$ac_top_builddir"; then
941 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
943 [\\/]* | ?:[\\/]* ) # Absolute path.
944 ac_srcdir=$srcdir$ac_dir_suffix;
945 ac_top_srcdir=$srcdir ;;
947 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
948 ac_top_srcdir=$ac_top_builddir$srcdir ;;
950 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
952 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
953 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
954 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
955 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
958 # Check for guested configure; otherwise get Cygnus style configure.
959 if test -f $ac_srcdir/configure.gnu; then
961 $SHELL $ac_srcdir/configure.gnu --help=recursive
962 elif test -f $ac_srcdir/configure; then
964 $SHELL $ac_srcdir/configure --help=recursive
965 elif test -f $ac_srcdir/configure.ac ||
966 test -f $ac_srcdir/configure.in; then
970 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
976 test -n "$ac_init_help" && exit 0
977 if $ac_init_version; then
980 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
981 Free Software Foundation, Inc.
982 This configure script is free software; the Free Software Foundation
983 gives unlimited permission to copy, distribute and modify it.
989 This file contains any messages produced by compilers while
990 running configure, to aid debugging if configure makes a mistake.
992 It was created by $as_me, which was
993 generated by GNU Autoconf 2.53. Invocation command line was
1004 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1005 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1006 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1007 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1008 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1010 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1011 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1013 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1014 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1015 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1016 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1017 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1018 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1019 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1027 test -z "$as_dir" && as_dir=.
1028 echo "PATH: $as_dir"
1043 # Keep a trace of the command line.
1044 # Strip out --no-create and --no-recursion so they do not pile up.
1045 # Also quote any args containing shell meta-characters.
1051 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1052 | --no-cr | --no-c | -n ) continue ;;
1053 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1054 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1056 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1057 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1059 case " $ac_configure_args " in
1060 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1061 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1064 # Get rid of the leading space.
1067 # When interrupted or exit'd, cleanup temporary files, and complete
1068 # config.log. We remove comments because anyway the quotes in there
1069 # would cause problems or look ugly.
1070 # WARNING: Be sure not to use single quotes in there, as some shells,
1071 # such as our DU 5.0 friend, will then `close' the trap.
1072 trap 'exit_status=$?
1073 # Save into config.log some information that might help in debugging.
1077 ## ---------------- ##
1078 ## Cache variables. ##
1079 ## ---------------- ##
1082 # The following way of writing the cache mishandles newlines in values,
1085 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1088 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1089 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1093 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1098 if test -s confdefs.h; then
1105 sed "/^$/d" confdefs.h
1108 test "$ac_signal" != 0 &&
1109 echo "$as_me: caught signal $ac_signal"
1110 echo "$as_me: exit $exit_status"
1112 rm -f core core.* *.core &&
1113 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1116 for ac_signal in 1 2 13 15; do
1117 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1121 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1122 rm -rf conftest* confdefs.h
1123 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1126 # Predefined preprocessor variables.
1128 cat >>confdefs.h <<_ACEOF
1129 #define PACKAGE_NAME "$PACKAGE_NAME"
1133 cat >>confdefs.h <<_ACEOF
1134 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1138 cat >>confdefs.h <<_ACEOF
1139 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1143 cat >>confdefs.h <<_ACEOF
1144 #define PACKAGE_STRING "$PACKAGE_STRING"
1148 cat >>confdefs.h <<_ACEOF
1149 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1153 # Let the site file select an alternate cache file if it wants to.
1154 # Prefer explicitly selected file to automatically selected ones.
1155 if test -z "$CONFIG_SITE"; then
1156 if test "x$prefix" != xNONE; then
1157 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1159 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1162 for ac_site_file in $CONFIG_SITE; do
1163 if test -r "$ac_site_file"; then
1164 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1165 echo "$as_me: loading site script $ac_site_file" >&6;}
1166 sed 's/^/| /' "$ac_site_file" >&5
1171 if test -r "$cache_file"; then
1172 # Some versions of bash will fail to source /dev/null (special
1173 # files actually), so we avoid doing that.
1174 if test -f "$cache_file"; then
1175 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1176 echo "$as_me: loading cache $cache_file" >&6;}
1178 [\\/]* | ?:[\\/]* ) . $cache_file;;
1179 *) . ./$cache_file;;
1183 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1184 echo "$as_me: creating cache $cache_file" >&6;}
1188 # Check that the precious variables saved in the cache have kept the same
1190 ac_cache_corrupted=false
1191 for ac_var in `(set) 2>&1 |
1192 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1193 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1194 eval ac_new_set=\$ac_env_${ac_var}_set
1195 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1196 eval ac_new_val="\$ac_env_${ac_var}_value"
1197 case $ac_old_set,$ac_new_set in
1199 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1200 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1201 ac_cache_corrupted=: ;;
1203 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1204 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1205 ac_cache_corrupted=: ;;
1208 if test "x$ac_old_val" != "x$ac_new_val"; then
1209 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1210 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1211 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1212 echo "$as_me: former value: $ac_old_val" >&2;}
1213 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1214 echo "$as_me: current value: $ac_new_val" >&2;}
1215 ac_cache_corrupted=:
1218 # Pass precious variables to config.status.
1219 if test "$ac_new_set" = set; then
1221 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1222 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1223 *) ac_arg=$ac_var=$ac_new_val ;;
1225 case " $ac_configure_args " in
1226 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1227 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1231 if $ac_cache_corrupted; then
1232 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1233 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1234 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1235 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1236 { (exit 1); exit 1; }; }
1240 ac_cpp='$CPP $CPPFLAGS'
1241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1262 ac_config_headers="$ac_config_headers include/defs.h"
1265 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1266 if test -f $ac_dir/install-sh; then
1268 ac_install_sh="$ac_aux_dir/install-sh -c"
1270 elif test -f $ac_dir/install.sh; then
1272 ac_install_sh="$ac_aux_dir/install.sh -c"
1274 elif test -f $ac_dir/shtool; then
1276 ac_install_sh="$ac_aux_dir/shtool install -c"
1280 if test -z "$ac_aux_dir"; then
1281 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1282 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1283 { (exit 1); exit 1; }; }
1285 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1286 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1287 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1289 # Make sure we can run config.sub.
1290 $ac_config_sub sun4 >/dev/null 2>&1 ||
1291 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1292 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1293 { (exit 1); exit 1; }; }
1295 echo "$as_me:$LINENO: checking build system type" >&5
1296 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1297 if test "${ac_cv_build+set}" = set; then
1298 echo $ECHO_N "(cached) $ECHO_C" >&6
1300 ac_cv_build_alias=$build_alias
1301 test -z "$ac_cv_build_alias" &&
1302 ac_cv_build_alias=`$ac_config_guess`
1303 test -z "$ac_cv_build_alias" &&
1304 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1305 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1306 { (exit 1); exit 1; }; }
1307 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1308 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1309 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1310 { (exit 1); exit 1; }; }
1313 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1314 echo "${ECHO_T}$ac_cv_build" >&6
1316 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1317 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1318 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1321 echo "$as_me:$LINENO: checking host system type" >&5
1322 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1323 if test "${ac_cv_host+set}" = set; then
1324 echo $ECHO_N "(cached) $ECHO_C" >&6
1326 ac_cv_host_alias=$host_alias
1327 test -z "$ac_cv_host_alias" &&
1328 ac_cv_host_alias=$ac_cv_build_alias
1329 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1330 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1331 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1332 { (exit 1); exit 1; }; }
1335 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1336 echo "${ECHO_T}$ac_cv_host" >&6
1338 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1339 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1340 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1343 echo "$as_me:$LINENO: checking target system type" >&5
1344 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1345 if test "${ac_cv_target+set}" = set; then
1346 echo $ECHO_N "(cached) $ECHO_C" >&6
1348 ac_cv_target_alias=$target_alias
1349 test "x$ac_cv_target_alias" = "x" &&
1350 ac_cv_target_alias=$ac_cv_host_alias
1351 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1352 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1353 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1354 { (exit 1); exit 1; }; }
1357 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1358 echo "${ECHO_T}$ac_cv_target" >&6
1359 target=$ac_cv_target
1360 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1361 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1362 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1365 # The aliases save the names the user supplied, while $host etc.
1366 # will get canonicalized.
1367 test -n "$target_alias" &&
1368 test "$program_prefix$program_suffix$program_transform_name" = \
1370 program_prefix=${target_alias}-
1373 VERSION=snapshot-20020517
1376 save_CFLAGS="${CFLAGS}"
1377 save_CPPFLAGS="${CPPFLAGS}"
1378 save_LDFLAGS="${LDFLAGS}"
1380 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1381 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1382 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1383 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1384 echo $ECHO_N "(cached) $ECHO_C" >&6
1386 cat >conftest.make <<\_ACEOF
1388 @echo 'ac_maketemp="${MAKE}"'
1390 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1391 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1392 if test -n "$ac_maketemp"; then
1393 eval ac_cv_prog_make_${ac_make}_set=yes
1395 eval ac_cv_prog_make_${ac_make}_set=no
1399 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1400 echo "$as_me:$LINENO: result: yes" >&5
1401 echo "${ECHO_T}yes" >&6
1404 echo "$as_me:$LINENO: result: no" >&5
1405 echo "${ECHO_T}no" >&6
1406 SET_MAKE="MAKE=${MAKE-make}"
1410 ac_cpp='$CPP $CPPFLAGS'
1411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1414 if test -n "$ac_tool_prefix"; then
1415 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1416 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1417 echo "$as_me:$LINENO: checking for $ac_word" >&5
1418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1419 if test "${ac_cv_prog_CC+set}" = set; then
1420 echo $ECHO_N "(cached) $ECHO_C" >&6
1422 if test -n "$CC"; then
1423 ac_cv_prog_CC="$CC" # Let the user override the test.
1425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1429 test -z "$as_dir" && as_dir=.
1430 for ac_exec_ext in '' $ac_executable_extensions; do
1431 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1432 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1442 if test -n "$CC"; then
1443 echo "$as_me:$LINENO: result: $CC" >&5
1444 echo "${ECHO_T}$CC" >&6
1446 echo "$as_me:$LINENO: result: no" >&5
1447 echo "${ECHO_T}no" >&6
1451 if test -z "$ac_cv_prog_CC"; then
1453 # Extract the first word of "gcc", so it can be a program name with args.
1454 set dummy gcc; ac_word=$2
1455 echo "$as_me:$LINENO: checking for $ac_word" >&5
1456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1457 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1458 echo $ECHO_N "(cached) $ECHO_C" >&6
1460 if test -n "$ac_ct_CC"; then
1461 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1467 test -z "$as_dir" && as_dir=.
1468 for ac_exec_ext in '' $ac_executable_extensions; do
1469 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1470 ac_cv_prog_ac_ct_CC="gcc"
1471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1479 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1480 if test -n "$ac_ct_CC"; then
1481 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1482 echo "${ECHO_T}$ac_ct_CC" >&6
1484 echo "$as_me:$LINENO: result: no" >&5
1485 echo "${ECHO_T}no" >&6
1493 if test -z "$CC"; then
1494 if test -n "$ac_tool_prefix"; then
1495 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1496 set dummy ${ac_tool_prefix}cc; ac_word=$2
1497 echo "$as_me:$LINENO: checking for $ac_word" >&5
1498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1499 if test "${ac_cv_prog_CC+set}" = set; then
1500 echo $ECHO_N "(cached) $ECHO_C" >&6
1502 if test -n "$CC"; then
1503 ac_cv_prog_CC="$CC" # Let the user override the test.
1505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1509 test -z "$as_dir" && as_dir=.
1510 for ac_exec_ext in '' $ac_executable_extensions; do
1511 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1512 ac_cv_prog_CC="${ac_tool_prefix}cc"
1513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1522 if test -n "$CC"; then
1523 echo "$as_me:$LINENO: result: $CC" >&5
1524 echo "${ECHO_T}$CC" >&6
1526 echo "$as_me:$LINENO: result: no" >&5
1527 echo "${ECHO_T}no" >&6
1531 if test -z "$ac_cv_prog_CC"; then
1533 # Extract the first word of "cc", so it can be a program name with args.
1534 set dummy cc; ac_word=$2
1535 echo "$as_me:$LINENO: checking for $ac_word" >&5
1536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1537 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1538 echo $ECHO_N "(cached) $ECHO_C" >&6
1540 if test -n "$ac_ct_CC"; then
1541 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1547 test -z "$as_dir" && as_dir=.
1548 for ac_exec_ext in '' $ac_executable_extensions; do
1549 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1550 ac_cv_prog_ac_ct_CC="cc"
1551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1559 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1560 if test -n "$ac_ct_CC"; then
1561 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1562 echo "${ECHO_T}$ac_ct_CC" >&6
1564 echo "$as_me:$LINENO: result: no" >&5
1565 echo "${ECHO_T}no" >&6
1574 if test -z "$CC"; then
1575 # Extract the first word of "cc", so it can be a program name with args.
1576 set dummy cc; ac_word=$2
1577 echo "$as_me:$LINENO: checking for $ac_word" >&5
1578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1579 if test "${ac_cv_prog_CC+set}" = set; then
1580 echo $ECHO_N "(cached) $ECHO_C" >&6
1582 if test -n "$CC"; then
1583 ac_cv_prog_CC="$CC" # Let the user override the test.
1586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1590 test -z "$as_dir" && as_dir=.
1591 for ac_exec_ext in '' $ac_executable_extensions; do
1592 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1593 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1594 ac_prog_rejected=yes
1598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1604 if test $ac_prog_rejected = yes; then
1605 # We found a bogon in the path, so make sure we never use it.
1606 set dummy $ac_cv_prog_CC
1608 if test $# != 0; then
1609 # We chose a different compiler from the bogus one.
1610 # However, it has the same basename, so the bogon will be chosen
1611 # first if we set CC to just the basename; use the full file name.
1613 set dummy "$as_dir/$ac_word" ${1+"$@"}
1621 if test -n "$CC"; then
1622 echo "$as_me:$LINENO: result: $CC" >&5
1623 echo "${ECHO_T}$CC" >&6
1625 echo "$as_me:$LINENO: result: no" >&5
1626 echo "${ECHO_T}no" >&6
1630 if test -z "$CC"; then
1631 if test -n "$ac_tool_prefix"; then
1634 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1635 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1636 echo "$as_me:$LINENO: checking for $ac_word" >&5
1637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1638 if test "${ac_cv_prog_CC+set}" = set; then
1639 echo $ECHO_N "(cached) $ECHO_C" >&6
1641 if test -n "$CC"; then
1642 ac_cv_prog_CC="$CC" # Let the user override the test.
1644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1648 test -z "$as_dir" && as_dir=.
1649 for ac_exec_ext in '' $ac_executable_extensions; do
1650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1651 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1661 if test -n "$CC"; then
1662 echo "$as_me:$LINENO: result: $CC" >&5
1663 echo "${ECHO_T}$CC" >&6
1665 echo "$as_me:$LINENO: result: no" >&5
1666 echo "${ECHO_T}no" >&6
1669 test -n "$CC" && break
1672 if test -z "$CC"; then
1676 # Extract the first word of "$ac_prog", so it can be a program name with args.
1677 set dummy $ac_prog; ac_word=$2
1678 echo "$as_me:$LINENO: checking for $ac_word" >&5
1679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1680 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1681 echo $ECHO_N "(cached) $ECHO_C" >&6
1683 if test -n "$ac_ct_CC"; then
1684 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1690 test -z "$as_dir" && as_dir=.
1691 for ac_exec_ext in '' $ac_executable_extensions; do
1692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1693 ac_cv_prog_ac_ct_CC="$ac_prog"
1694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1702 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1703 if test -n "$ac_ct_CC"; then
1704 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1705 echo "${ECHO_T}$ac_ct_CC" >&6
1707 echo "$as_me:$LINENO: result: no" >&5
1708 echo "${ECHO_T}no" >&6
1711 test -n "$ac_ct_CC" && break
1720 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1721 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1722 { (exit 1); exit 1; }; }
1724 # Provide some information about the compiler.
1725 echo "$as_me:$LINENO:" \
1726 "checking for C compiler version" >&5
1727 ac_compiler=`set X $ac_compile; echo $2`
1728 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1729 (eval $ac_compiler --version </dev/null >&5) 2>&5
1731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1732 (exit $ac_status); }
1733 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1734 (eval $ac_compiler -v </dev/null >&5) 2>&5
1736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1737 (exit $ac_status); }
1738 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1739 (eval $ac_compiler -V </dev/null >&5) 2>&5
1741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1742 (exit $ac_status); }
1744 cat >conftest.$ac_ext <<_ACEOF
1745 #line $LINENO "configure"
1746 #include "confdefs.h"
1748 #ifdef F77_DUMMY_MAIN
1752 int F77_DUMMY_MAIN() { return 1; }
1762 ac_clean_files_save=$ac_clean_files
1763 ac_clean_files="$ac_clean_files a.out a.exe"
1764 # Try to create an executable without -o first, disregard a.out.
1765 # It will help us diagnose broken compilers, and finding out an intuition
1767 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1768 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1769 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1770 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1771 (eval $ac_link_default) 2>&5
1773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1774 (exit $ac_status); }; then
1775 # Find the output, starting from the most likely. This scheme is
1776 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1779 # Be careful to initialize this variable, since it used to be cached.
1780 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1782 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1783 ls a.out conftest 2>/dev/null;
1784 ls a.* conftest.* 2>/dev/null`; do
1786 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
1787 a.out ) # We found the default executable, but exeext='' is most
1790 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1791 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1798 echo "$as_me: failed program was:" >&5
1799 cat conftest.$ac_ext >&5
1800 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1801 echo "$as_me: error: C compiler cannot create executables" >&2;}
1802 { (exit 77); exit 77; }; }
1805 ac_exeext=$ac_cv_exeext
1806 echo "$as_me:$LINENO: result: $ac_file" >&5
1807 echo "${ECHO_T}$ac_file" >&6
1809 # Check the compiler produces executables we can run. If not, either
1810 # the compiler is broken, or we cross compile.
1811 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1812 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1813 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1814 # If not cross compiling, check that we can run a simple program.
1815 if test "$cross_compiling" != yes; then
1816 if { ac_try='./$ac_file'
1817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1821 (exit $ac_status); }; }; then
1824 if test "$cross_compiling" = maybe; then
1827 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1828 If you meant to cross compile, use \`--host'." >&5
1829 echo "$as_me: error: cannot run C compiled programs.
1830 If you meant to cross compile, use \`--host'." >&2;}
1831 { (exit 1); exit 1; }; }
1835 echo "$as_me:$LINENO: result: yes" >&5
1836 echo "${ECHO_T}yes" >&6
1838 rm -f a.out a.exe conftest$ac_cv_exeext
1839 ac_clean_files=$ac_clean_files_save
1840 # Check the compiler produces executables we can run. If not, either
1841 # the compiler is broken, or we cross compile.
1842 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1843 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1844 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1845 echo "${ECHO_T}$cross_compiling" >&6
1847 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1848 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1850 (eval $ac_link) 2>&5
1852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1853 (exit $ac_status); }; then
1854 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1855 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1856 # work properly (i.e., refer to `conftest.exe'), while it won't with
1858 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1860 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1861 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1868 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1869 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1870 { (exit 1); exit 1; }; }
1873 rm -f conftest$ac_cv_exeext
1874 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1875 echo "${ECHO_T}$ac_cv_exeext" >&6
1877 rm -f conftest.$ac_ext
1878 EXEEXT=$ac_cv_exeext
1880 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1881 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1882 if test "${ac_cv_objext+set}" = set; then
1883 echo $ECHO_N "(cached) $ECHO_C" >&6
1885 cat >conftest.$ac_ext <<_ACEOF
1886 #line $LINENO "configure"
1887 #include "confdefs.h"
1889 #ifdef F77_DUMMY_MAIN
1893 int F77_DUMMY_MAIN() { return 1; }
1903 rm -f conftest.o conftest.obj
1904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1905 (eval $ac_compile) 2>&5
1907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1908 (exit $ac_status); }; then
1909 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1911 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1912 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1917 echo "$as_me: failed program was:" >&5
1918 cat conftest.$ac_ext >&5
1919 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1920 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1921 { (exit 1); exit 1; }; }
1924 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1926 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1927 echo "${ECHO_T}$ac_cv_objext" >&6
1928 OBJEXT=$ac_cv_objext
1930 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1931 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1932 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1933 echo $ECHO_N "(cached) $ECHO_C" >&6
1935 cat >conftest.$ac_ext <<_ACEOF
1936 #line $LINENO "configure"
1937 #include "confdefs.h"
1939 #ifdef F77_DUMMY_MAIN
1943 int F77_DUMMY_MAIN() { return 1; }
1956 rm -f conftest.$ac_objext
1957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1958 (eval $ac_compile) 2>&5
1960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1961 (exit $ac_status); } &&
1962 { ac_try='test -s conftest.$ac_objext'
1963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1967 (exit $ac_status); }; }; then
1970 echo "$as_me: failed program was:" >&5
1971 cat conftest.$ac_ext >&5
1974 rm -f conftest.$ac_objext conftest.$ac_ext
1975 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1978 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1979 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1980 GCC=`test $ac_compiler_gnu = yes && echo yes`
1981 ac_test_CFLAGS=${CFLAGS+set}
1982 ac_save_CFLAGS=$CFLAGS
1984 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1985 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1986 if test "${ac_cv_prog_cc_g+set}" = set; then
1987 echo $ECHO_N "(cached) $ECHO_C" >&6
1989 cat >conftest.$ac_ext <<_ACEOF
1990 #line $LINENO "configure"
1991 #include "confdefs.h"
1993 #ifdef F77_DUMMY_MAIN
1997 int F77_DUMMY_MAIN() { return 1; }
2007 rm -f conftest.$ac_objext
2008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2009 (eval $ac_compile) 2>&5
2011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2012 (exit $ac_status); } &&
2013 { ac_try='test -s conftest.$ac_objext'
2014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2018 (exit $ac_status); }; }; then
2021 echo "$as_me: failed program was:" >&5
2022 cat conftest.$ac_ext >&5
2025 rm -f conftest.$ac_objext conftest.$ac_ext
2027 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2028 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2029 if test "$ac_test_CFLAGS" = set; then
2030 CFLAGS=$ac_save_CFLAGS
2031 elif test $ac_cv_prog_cc_g = yes; then
2032 if test "$GCC" = yes; then
2038 if test "$GCC" = yes; then
2044 # Some people use a C++ compiler to compile C. Since we use `exit',
2045 # in C++ we need to declare it. In case someone uses the same compiler
2046 # for both compiling C and C++ we need to have the C++ compiler decide
2047 # the declaration of exit, since it's the most demanding environment.
2048 cat >conftest.$ac_ext <<_ACEOF
2053 rm -f conftest.$ac_objext
2054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2055 (eval $ac_compile) 2>&5
2057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2058 (exit $ac_status); } &&
2059 { ac_try='test -s conftest.$ac_objext'
2060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2064 (exit $ac_status); }; }; then
2065 for ac_declaration in \
2067 '#include <stdlib.h>' \
2068 'extern "C" void std::exit (int) throw (); using std::exit;' \
2069 'extern "C" void std::exit (int); using std::exit;' \
2070 'extern "C" void exit (int) throw ();' \
2071 'extern "C" void exit (int);' \
2074 cat >conftest.$ac_ext <<_ACEOF
2075 #line $LINENO "configure"
2076 #include "confdefs.h"
2079 #ifdef F77_DUMMY_MAIN
2083 int F77_DUMMY_MAIN() { return 1; }
2093 rm -f conftest.$ac_objext
2094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2095 (eval $ac_compile) 2>&5
2097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2098 (exit $ac_status); } &&
2099 { ac_try='test -s conftest.$ac_objext'
2100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2104 (exit $ac_status); }; }; then
2107 echo "$as_me: failed program was:" >&5
2108 cat conftest.$ac_ext >&5
2111 rm -f conftest.$ac_objext conftest.$ac_ext
2112 cat >conftest.$ac_ext <<_ACEOF
2113 #line $LINENO "configure"
2114 #include "confdefs.h"
2116 #ifdef F77_DUMMY_MAIN
2120 int F77_DUMMY_MAIN() { return 1; }
2130 rm -f conftest.$ac_objext
2131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2132 (eval $ac_compile) 2>&5
2134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2135 (exit $ac_status); } &&
2136 { ac_try='test -s conftest.$ac_objext'
2137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2141 (exit $ac_status); }; }; then
2144 echo "$as_me: failed program was:" >&5
2145 cat conftest.$ac_ext >&5
2147 rm -f conftest.$ac_objext conftest.$ac_ext
2150 if test -n "$ac_declaration"; then
2151 echo '#ifdef __cplusplus' >>confdefs.h
2152 echo $ac_declaration >>confdefs.h
2153 echo '#endif' >>confdefs.h
2157 echo "$as_me: failed program was:" >&5
2158 cat conftest.$ac_ext >&5
2160 rm -f conftest.$ac_objext conftest.$ac_ext
2162 ac_cpp='$CPP $CPPFLAGS'
2163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
2172 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2173 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2174 # On Suns, sometimes $CPP names a directory.
2175 if test -n "$CPP" && test -d "$CPP"; then
2178 if test -z "$CPP"; then
2179 if test "${ac_cv_prog_CPP+set}" = set; then
2180 echo $ECHO_N "(cached) $ECHO_C" >&6
2182 # Double quotes because CPP needs to be expanded
2183 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2186 for ac_c_preproc_warn_flag in '' yes
2188 # Use a header file that comes with gcc, so configuring glibc
2189 # with a fresh cross-compiler works.
2190 # On the NeXT, cc -E runs the code through the compiler's parser,
2191 # not just through cpp. "Syntax error" is here to catch this case.
2192 cat >conftest.$ac_ext <<_ACEOF
2193 #line $LINENO "configure"
2194 #include "confdefs.h"
2198 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2199 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2201 egrep -v '^ *\+' conftest.er1 >conftest.err
2203 cat conftest.err >&5
2204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2205 (exit $ac_status); } >/dev/null; then
2206 if test -s conftest.err; then
2207 ac_cpp_err=$ac_c_preproc_warn_flag
2214 if test -z "$ac_cpp_err"; then
2217 echo "$as_me: failed program was:" >&5
2218 cat conftest.$ac_ext >&5
2219 # Broken: fails on valid input.
2222 rm -f conftest.err conftest.$ac_ext
2224 # OK, works on sane cases. Now check whether non-existent headers
2225 # can be detected and how.
2226 cat >conftest.$ac_ext <<_ACEOF
2227 #line $LINENO "configure"
2228 #include "confdefs.h"
2229 #include <ac_nonexistent.h>
2231 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2232 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2234 egrep -v '^ *\+' conftest.er1 >conftest.err
2236 cat conftest.err >&5
2237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2238 (exit $ac_status); } >/dev/null; then
2239 if test -s conftest.err; then
2240 ac_cpp_err=$ac_c_preproc_warn_flag
2247 if test -z "$ac_cpp_err"; then
2248 # Broken: success on invalid input.
2251 echo "$as_me: failed program was:" >&5
2252 cat conftest.$ac_ext >&5
2253 # Passes both tests.
2257 rm -f conftest.err conftest.$ac_ext
2260 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2261 rm -f conftest.err conftest.$ac_ext
2262 if $ac_preproc_ok; then
2274 echo "$as_me:$LINENO: result: $CPP" >&5
2275 echo "${ECHO_T}$CPP" >&6
2277 for ac_c_preproc_warn_flag in '' yes
2279 # Use a header file that comes with gcc, so configuring glibc
2280 # with a fresh cross-compiler works.
2281 # On the NeXT, cc -E runs the code through the compiler's parser,
2282 # not just through cpp. "Syntax error" is here to catch this case.
2283 cat >conftest.$ac_ext <<_ACEOF
2284 #line $LINENO "configure"
2285 #include "confdefs.h"
2289 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2290 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2292 egrep -v '^ *\+' conftest.er1 >conftest.err
2294 cat conftest.err >&5
2295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2296 (exit $ac_status); } >/dev/null; then
2297 if test -s conftest.err; then
2298 ac_cpp_err=$ac_c_preproc_warn_flag
2305 if test -z "$ac_cpp_err"; then
2308 echo "$as_me: failed program was:" >&5
2309 cat conftest.$ac_ext >&5
2310 # Broken: fails on valid input.
2313 rm -f conftest.err conftest.$ac_ext
2315 # OK, works on sane cases. Now check whether non-existent headers
2316 # can be detected and how.
2317 cat >conftest.$ac_ext <<_ACEOF
2318 #line $LINENO "configure"
2319 #include "confdefs.h"
2320 #include <ac_nonexistent.h>
2322 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2323 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2325 egrep -v '^ *\+' conftest.er1 >conftest.err
2327 cat conftest.err >&5
2328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2329 (exit $ac_status); } >/dev/null; then
2330 if test -s conftest.err; then
2331 ac_cpp_err=$ac_c_preproc_warn_flag
2338 if test -z "$ac_cpp_err"; then
2339 # Broken: success on invalid input.
2342 echo "$as_me: failed program was:" >&5
2343 cat conftest.$ac_ext >&5
2344 # Passes both tests.
2348 rm -f conftest.err conftest.$ac_ext
2351 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2352 rm -f conftest.err conftest.$ac_ext
2353 if $ac_preproc_ok; then
2356 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2357 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2358 { (exit 1); exit 1; }; }
2362 ac_cpp='$CPP $CPPFLAGS'
2363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2368 if test -n "$ac_tool_prefix"; then
2369 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2370 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2371 echo "$as_me:$LINENO: checking for $ac_word" >&5
2372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2373 if test "${ac_cv_prog_RANLIB+set}" = set; then
2374 echo $ECHO_N "(cached) $ECHO_C" >&6
2376 if test -n "$RANLIB"; then
2377 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2383 test -z "$as_dir" && as_dir=.
2384 for ac_exec_ext in '' $ac_executable_extensions; do
2385 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2386 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2395 RANLIB=$ac_cv_prog_RANLIB
2396 if test -n "$RANLIB"; then
2397 echo "$as_me:$LINENO: result: $RANLIB" >&5
2398 echo "${ECHO_T}$RANLIB" >&6
2400 echo "$as_me:$LINENO: result: no" >&5
2401 echo "${ECHO_T}no" >&6
2405 if test -z "$ac_cv_prog_RANLIB"; then
2406 ac_ct_RANLIB=$RANLIB
2407 # Extract the first word of "ranlib", so it can be a program name with args.
2408 set dummy ranlib; ac_word=$2
2409 echo "$as_me:$LINENO: checking for $ac_word" >&5
2410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2411 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2412 echo $ECHO_N "(cached) $ECHO_C" >&6
2414 if test -n "$ac_ct_RANLIB"; then
2415 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2421 test -z "$as_dir" && as_dir=.
2422 for ac_exec_ext in '' $ac_executable_extensions; do
2423 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2424 ac_cv_prog_ac_ct_RANLIB="ranlib"
2425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2431 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2434 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2435 if test -n "$ac_ct_RANLIB"; then
2436 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2437 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2439 echo "$as_me:$LINENO: result: no" >&5
2440 echo "${ECHO_T}no" >&6
2443 RANLIB=$ac_ct_RANLIB
2445 RANLIB="$ac_cv_prog_RANLIB"
2448 if test -n "$ac_tool_prefix"; then
2449 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2450 set dummy ${ac_tool_prefix}strip; ac_word=$2
2451 echo "$as_me:$LINENO: checking for $ac_word" >&5
2452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2453 if test "${ac_cv_prog_STRIP+set}" = set; then
2454 echo $ECHO_N "(cached) $ECHO_C" >&6
2456 if test -n "$STRIP"; then
2457 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2463 test -z "$as_dir" && as_dir=.
2464 for ac_exec_ext in '' $ac_executable_extensions; do
2465 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2466 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2475 STRIP=$ac_cv_prog_STRIP
2476 if test -n "$STRIP"; then
2477 echo "$as_me:$LINENO: result: $STRIP" >&5
2478 echo "${ECHO_T}$STRIP" >&6
2480 echo "$as_me:$LINENO: result: no" >&5
2481 echo "${ECHO_T}no" >&6
2485 if test -z "$ac_cv_prog_STRIP"; then
2487 # Extract the first word of "strip", so it can be a program name with args.
2488 set dummy strip; ac_word=$2
2489 echo "$as_me:$LINENO: checking for $ac_word" >&5
2490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2491 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2492 echo $ECHO_N "(cached) $ECHO_C" >&6
2494 if test -n "$ac_ct_STRIP"; then
2495 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2501 test -z "$as_dir" && as_dir=.
2502 for ac_exec_ext in '' $ac_executable_extensions; do
2503 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2504 ac_cv_prog_ac_ct_STRIP="strip"
2505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2511 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2514 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2515 if test -n "$ac_ct_STRIP"; then
2516 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2517 echo "${ECHO_T}$ac_ct_STRIP" >&6
2519 echo "$as_me:$LINENO: result: no" >&5
2520 echo "${ECHO_T}no" >&6
2525 STRIP="$ac_cv_prog_STRIP"
2529 # Extract the first word of "gmake", so it can be a program name with args.
2530 set dummy gmake; ac_word=$2
2531 echo "$as_me:$LINENO: checking for $ac_word" >&5
2532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2533 if test "${ac_cv_path_GMAKE+set}" = set; then
2534 echo $ECHO_N "(cached) $ECHO_C" >&6
2538 ac_cv_path_GMAKE="$GMAKE" # Let the user override the test with a path.
2541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2545 test -z "$as_dir" && as_dir=.
2546 for ac_exec_ext in '' $ac_executable_extensions; do
2547 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2548 ac_cv_path_GMAKE="$as_dir/$ac_word$ac_exec_ext"
2549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2555 test -z "$ac_cv_path_GMAKE" && ac_cv_path_GMAKE="no"
2559 GMAKE=$ac_cv_path_GMAKE
2561 if test -n "$GMAKE"; then
2562 echo "$as_me:$LINENO: result: $GMAKE" >&5
2563 echo "${ECHO_T}$GMAKE" >&6
2565 echo "$as_me:$LINENO: result: no" >&5
2566 echo "${ECHO_T}no" >&6
2569 if test "x$GMAKE" = "xno"; then
2570 echo "$as_me:$LINENO: checking whether GNU make is installed" >&5
2571 echo $ECHO_N "checking whether GNU make is installed... $ECHO_C" >&6
2572 if test "${ac_cv_gmake+set}" = set; then
2573 echo $ECHO_N "(cached) $ECHO_C" >&6
2575 if make --version | grep -q -i gnu; then
2578 echo "This software needs you to install GNU make to compile properly."
2579 echo "You can get it from http://www.gnu.org/."
2583 echo "$as_me:$LINENO: result: $ac_cv_gmake" >&5
2584 echo "${ECHO_T}$ac_cv_gmake" >&6
2590 ALL_LINGUAS="de en_GB fr ja no ru nl"
2593 cat >>confdefs.h <<_ACEOF
2594 #define VLC_PACKAGE "$PACKAGE"
2598 cat >>confdefs.h <<_ACEOF
2599 #define VLC_VERSION "$VERSION"
2602 if test -n "$ac_tool_prefix"; then
2603 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2604 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2605 echo "$as_me:$LINENO: checking for $ac_word" >&5
2606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2607 if test "${ac_cv_prog_RANLIB+set}" = set; then
2608 echo $ECHO_N "(cached) $ECHO_C" >&6
2610 if test -n "$RANLIB"; then
2611 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2617 test -z "$as_dir" && as_dir=.
2618 for ac_exec_ext in '' $ac_executable_extensions; do
2619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2620 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2629 RANLIB=$ac_cv_prog_RANLIB
2630 if test -n "$RANLIB"; then
2631 echo "$as_me:$LINENO: result: $RANLIB" >&5
2632 echo "${ECHO_T}$RANLIB" >&6
2634 echo "$as_me:$LINENO: result: no" >&5
2635 echo "${ECHO_T}no" >&6
2639 if test -z "$ac_cv_prog_RANLIB"; then
2640 ac_ct_RANLIB=$RANLIB
2641 # Extract the first word of "ranlib", so it can be a program name with args.
2642 set dummy ranlib; ac_word=$2
2643 echo "$as_me:$LINENO: checking for $ac_word" >&5
2644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2645 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2646 echo $ECHO_N "(cached) $ECHO_C" >&6
2648 if test -n "$ac_ct_RANLIB"; then
2649 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2655 test -z "$as_dir" && as_dir=.
2656 for ac_exec_ext in '' $ac_executable_extensions; do
2657 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2658 ac_cv_prog_ac_ct_RANLIB="ranlib"
2659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2665 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2668 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2669 if test -n "$ac_ct_RANLIB"; then
2670 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2671 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2673 echo "$as_me:$LINENO: result: no" >&5
2674 echo "${ECHO_T}no" >&6
2677 RANLIB=$ac_ct_RANLIB
2679 RANLIB="$ac_cv_prog_RANLIB"
2684 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
2685 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2686 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2687 echo $ECHO_N "(cached) $ECHO_C" >&6
2689 ac_check_lib_save_LIBS=$LIBS
2690 LIBS="-lcposix $LIBS"
2691 cat >conftest.$ac_ext <<_ACEOF
2692 #line $LINENO "configure"
2693 #include "confdefs.h"
2695 /* Override any gcc2 internal prototype to avoid an error. */
2699 /* We use char because int might match the return type of a gcc2
2700 builtin and then its argument prototype would still apply. */
2702 #ifdef F77_DUMMY_MAIN
2706 int F77_DUMMY_MAIN() { return 1; }
2716 rm -f conftest.$ac_objext conftest$ac_exeext
2717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2718 (eval $ac_link) 2>&5
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); } &&
2722 { ac_try='test -s conftest$ac_exeext'
2723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 (exit $ac_status); }; }; then
2728 ac_cv_lib_cposix_strerror=yes
2730 echo "$as_me: failed program was:" >&5
2731 cat conftest.$ac_ext >&5
2732 ac_cv_lib_cposix_strerror=no
2734 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2735 LIBS=$ac_check_lib_save_LIBS
2737 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
2738 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2739 if test $ac_cv_lib_cposix_strerror = yes; then
2740 LIBS="$LIBS -lcposix"
2746 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2747 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2748 if test "${ac_cv_header_stdc+set}" = set; then
2749 echo $ECHO_N "(cached) $ECHO_C" >&6
2751 cat >conftest.$ac_ext <<_ACEOF
2752 #line $LINENO "configure"
2753 #include "confdefs.h"
2760 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2761 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2763 egrep -v '^ *\+' conftest.er1 >conftest.err
2765 cat conftest.err >&5
2766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2767 (exit $ac_status); } >/dev/null; then
2768 if test -s conftest.err; then
2769 ac_cpp_err=$ac_c_preproc_warn_flag
2776 if test -z "$ac_cpp_err"; then
2777 ac_cv_header_stdc=yes
2779 echo "$as_me: failed program was:" >&5
2780 cat conftest.$ac_ext >&5
2781 ac_cv_header_stdc=no
2783 rm -f conftest.err conftest.$ac_ext
2785 if test $ac_cv_header_stdc = yes; then
2786 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2787 cat >conftest.$ac_ext <<_ACEOF
2788 #line $LINENO "configure"
2789 #include "confdefs.h"
2793 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2794 egrep "memchr" >/dev/null 2>&1; then
2797 ac_cv_header_stdc=no
2803 if test $ac_cv_header_stdc = yes; then
2804 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2805 cat >conftest.$ac_ext <<_ACEOF
2806 #line $LINENO "configure"
2807 #include "confdefs.h"
2811 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2812 egrep "free" >/dev/null 2>&1; then
2815 ac_cv_header_stdc=no
2821 if test $ac_cv_header_stdc = yes; then
2822 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2823 if test "$cross_compiling" = yes; then
2826 cat >conftest.$ac_ext <<_ACEOF
2827 #line $LINENO "configure"
2828 #include "confdefs.h"
2830 #if ((' ' & 0x0FF) == 0x020)
2831 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2832 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2834 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2835 || ('j' <= (c) && (c) <= 'r') \
2836 || ('s' <= (c) && (c) <= 'z'))
2837 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2840 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2845 for (i = 0; i < 256; i++)
2846 if (XOR (islower (i), ISLOWER (i))
2847 || toupper (i) != TOUPPER (i))
2852 rm -f conftest$ac_exeext
2853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2854 (eval $ac_link) 2>&5
2856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2857 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862 (exit $ac_status); }; }; then
2865 echo "$as_me: program exited with status $ac_status" >&5
2866 echo "$as_me: failed program was:" >&5
2867 cat conftest.$ac_ext >&5
2869 ac_cv_header_stdc=no
2871 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2875 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2876 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2877 if test $ac_cv_header_stdc = yes; then
2879 cat >>confdefs.h <<\_ACEOF
2880 #define STDC_HEADERS 1
2885 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2886 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2887 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2888 echo $ECHO_N "(cached) $ECHO_C" >&6
2890 ac_cv_prog_cc_stdc=no
2892 cat >conftest.$ac_ext <<_ACEOF
2893 #line $LINENO "configure"
2894 #include "confdefs.h"
2897 #include <sys/types.h>
2898 #include <sys/stat.h>
2899 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2900 struct buf { int x; };
2901 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2902 static char *e (p, i)
2908 static char *f (char * (*g) (char **, int), char **p, ...)
2913 s = g (p, va_arg (v,int));
2917 int test (int i, double x);
2918 struct s1 {int (*f) (int a);};
2919 struct s2 {int (*f) (double a);};
2920 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2923 #ifdef F77_DUMMY_MAIN
2927 int F77_DUMMY_MAIN() { return 1; }
2932 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2937 # Don't try gcc -ansi; that turns off useful extensions and
2938 # breaks some systems' header files.
2939 # AIX -qlanglvl=ansi
2940 # Ultrix and OSF/1 -std1
2941 # HP-UX 10.20 and later -Ae
2942 # HP-UX older versions -Aa -D_HPUX_SOURCE
2943 # SVR4 -Xc -D__EXTENSIONS__
2944 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2946 CC="$ac_save_CC $ac_arg"
2947 rm -f conftest.$ac_objext
2948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2949 (eval $ac_compile) 2>&5
2951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952 (exit $ac_status); } &&
2953 { ac_try='test -s conftest.$ac_objext'
2954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); }; }; then
2959 ac_cv_prog_cc_stdc=$ac_arg
2962 echo "$as_me: failed program was:" >&5
2963 cat conftest.$ac_ext >&5
2965 rm -f conftest.$ac_objext
2967 rm -f conftest.$ac_ext conftest.$ac_objext
2972 case "x$ac_cv_prog_cc_stdc" in
2974 echo "$as_me:$LINENO: result: none needed" >&5
2975 echo "${ECHO_T}none needed" >&6 ;;
2977 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2978 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2979 CC="$CC $ac_cv_prog_cc_stdc" ;;
2982 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
2983 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
2984 if test "${ac_cv_c_const+set}" = set; then
2985 echo $ECHO_N "(cached) $ECHO_C" >&6
2987 cat >conftest.$ac_ext <<_ACEOF
2988 #line $LINENO "configure"
2989 #include "confdefs.h"
2991 #ifdef F77_DUMMY_MAIN
2995 int F77_DUMMY_MAIN() { return 1; }
3000 /* FIXME: Include the comments suggested by Paul. */
3002 /* Ultrix mips cc rejects this. */
3003 typedef int charset[2];
3005 /* SunOS 4.1.1 cc rejects this. */
3006 char const *const *ccp;
3008 /* NEC SVR4.0.2 mips cc rejects this. */
3009 struct point {int x, y;};
3010 static struct point const zero = {0,0};
3011 /* AIX XL C 1.02.0.0 rejects this.
3012 It does not let you subtract one const X* pointer from another in
3013 an arm of an if-expression whose if-part is not a constant
3015 const char *g = "string";
3016 ccp = &g + (g ? g-g : 0);
3017 /* HPUX 7.0 cc rejects these. */
3020 ccp = (char const *const *) p;
3021 { /* SCO 3.2v4 cc rejects this. */
3023 char const *s = 0 ? (char *) 0 : (char const *) 0;
3027 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3029 const int *foo = &x[0];
3032 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3033 typedef const int *iptr;
3037 { /* AIX XL C 1.02.0.0 rejects this saying
3038 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3039 struct s { int j; const int *ap[3]; };
3040 struct s *b; b->j = 5;
3042 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3051 rm -f conftest.$ac_objext
3052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3053 (eval $ac_compile) 2>&5
3055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3056 (exit $ac_status); } &&
3057 { ac_try='test -s conftest.$ac_objext'
3058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3062 (exit $ac_status); }; }; then
3065 echo "$as_me: failed program was:" >&5
3066 cat conftest.$ac_ext >&5
3069 rm -f conftest.$ac_objext conftest.$ac_ext
3071 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3072 echo "${ECHO_T}$ac_cv_c_const" >&6
3073 if test $ac_cv_c_const = no; then
3075 cat >>confdefs.h <<\_ACEOF
3081 echo "$as_me:$LINENO: checking for inline" >&5
3082 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3083 if test "${ac_cv_c_inline+set}" = set; then
3084 echo $ECHO_N "(cached) $ECHO_C" >&6
3087 for ac_kw in inline __inline__ __inline; do
3088 cat >conftest.$ac_ext <<_ACEOF
3089 #line $LINENO "configure"
3090 #include "confdefs.h"
3092 static $ac_kw int static_foo () {return 0; }
3093 $ac_kw int foo () {return 0; }
3097 rm -f conftest.$ac_objext
3098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3099 (eval $ac_compile) 2>&5
3101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102 (exit $ac_status); } &&
3103 { ac_try='test -s conftest.$ac_objext'
3104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3108 (exit $ac_status); }; }; then
3109 ac_cv_c_inline=$ac_kw; break
3111 echo "$as_me: failed program was:" >&5
3112 cat conftest.$ac_ext >&5
3114 rm -f conftest.$ac_objext conftest.$ac_ext
3118 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3119 echo "${ECHO_T}$ac_cv_c_inline" >&6
3120 case $ac_cv_c_inline in
3123 cat >>confdefs.h <<\_ACEOF
3127 *) cat >>confdefs.h <<_ACEOF
3128 #define inline $ac_cv_c_inline
3133 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3143 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3144 inttypes.h stdint.h unistd.h
3146 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3147 echo "$as_me:$LINENO: checking for $ac_header" >&5
3148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3150 echo $ECHO_N "(cached) $ECHO_C" >&6
3152 cat >conftest.$ac_ext <<_ACEOF
3153 #line $LINENO "configure"
3154 #include "confdefs.h"
3155 $ac_includes_default
3157 #include <$ac_header>
3159 rm -f conftest.$ac_objext
3160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3161 (eval $ac_compile) 2>&5
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); } &&
3165 { ac_try='test -s conftest.$ac_objext'
3166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); }; }; then
3171 eval "$as_ac_Header=yes"
3173 echo "$as_me: failed program was:" >&5
3174 cat conftest.$ac_ext >&5
3175 eval "$as_ac_Header=no"
3177 rm -f conftest.$ac_objext conftest.$ac_ext
3179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3180 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3181 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3182 cat >>confdefs.h <<_ACEOF
3183 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3191 echo "$as_me:$LINENO: checking for off_t" >&5
3192 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
3193 if test "${ac_cv_type_off_t+set}" = set; then
3194 echo $ECHO_N "(cached) $ECHO_C" >&6
3196 cat >conftest.$ac_ext <<_ACEOF
3197 #line $LINENO "configure"
3198 #include "confdefs.h"
3199 $ac_includes_default
3200 #ifdef F77_DUMMY_MAIN
3204 int F77_DUMMY_MAIN() { return 1; }
3217 rm -f conftest.$ac_objext
3218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3219 (eval $ac_compile) 2>&5
3221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222 (exit $ac_status); } &&
3223 { ac_try='test -s conftest.$ac_objext'
3224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3228 (exit $ac_status); }; }; then
3229 ac_cv_type_off_t=yes
3231 echo "$as_me: failed program was:" >&5
3232 cat conftest.$ac_ext >&5
3235 rm -f conftest.$ac_objext conftest.$ac_ext
3237 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
3238 echo "${ECHO_T}$ac_cv_type_off_t" >&6
3239 if test $ac_cv_type_off_t = yes; then
3243 cat >>confdefs.h <<_ACEOF
3249 echo "$as_me:$LINENO: checking for size_t" >&5
3250 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3251 if test "${ac_cv_type_size_t+set}" = set; then
3252 echo $ECHO_N "(cached) $ECHO_C" >&6
3254 cat >conftest.$ac_ext <<_ACEOF
3255 #line $LINENO "configure"
3256 #include "confdefs.h"
3257 $ac_includes_default
3258 #ifdef F77_DUMMY_MAIN
3262 int F77_DUMMY_MAIN() { return 1; }
3269 if (sizeof (size_t))
3275 rm -f conftest.$ac_objext
3276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3277 (eval $ac_compile) 2>&5
3279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3280 (exit $ac_status); } &&
3281 { ac_try='test -s conftest.$ac_objext'
3282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3286 (exit $ac_status); }; }; then
3287 ac_cv_type_size_t=yes
3289 echo "$as_me: failed program was:" >&5
3290 cat conftest.$ac_ext >&5
3291 ac_cv_type_size_t=no
3293 rm -f conftest.$ac_objext conftest.$ac_ext
3295 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3296 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3297 if test $ac_cv_type_size_t = yes; then
3301 cat >>confdefs.h <<_ACEOF
3302 #define size_t unsigned
3307 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
3308 # for constant arguments. Useless!
3309 echo "$as_me:$LINENO: checking for working alloca.h" >&5
3310 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
3311 if test "${ac_cv_working_alloca_h+set}" = set; then
3312 echo $ECHO_N "(cached) $ECHO_C" >&6
3314 cat >conftest.$ac_ext <<_ACEOF
3315 #line $LINENO "configure"
3316 #include "confdefs.h"
3318 #ifdef F77_DUMMY_MAIN
3322 int F77_DUMMY_MAIN() { return 1; }
3327 char *p = (char *) alloca (2 * sizeof (int));
3332 rm -f conftest.$ac_objext conftest$ac_exeext
3333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3334 (eval $ac_link) 2>&5
3336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337 (exit $ac_status); } &&
3338 { ac_try='test -s conftest$ac_exeext'
3339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3343 (exit $ac_status); }; }; then
3344 ac_cv_working_alloca_h=yes
3346 echo "$as_me: failed program was:" >&5
3347 cat conftest.$ac_ext >&5
3348 ac_cv_working_alloca_h=no
3350 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3352 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
3353 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
3354 if test $ac_cv_working_alloca_h = yes; then
3356 cat >>confdefs.h <<\_ACEOF
3357 #define HAVE_ALLOCA_H 1
3362 echo "$as_me:$LINENO: checking for alloca" >&5
3363 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
3364 if test "${ac_cv_func_alloca_works+set}" = set; then
3365 echo $ECHO_N "(cached) $ECHO_C" >&6
3367 cat >conftest.$ac_ext <<_ACEOF
3368 #line $LINENO "configure"
3369 #include "confdefs.h"
3371 # define alloca __builtin_alloca
3374 # include <malloc.h>
3375 # define alloca _alloca
3378 # include <alloca.h>
3383 # ifndef alloca /* predefined by HP cc +Olibcalls */
3391 #ifdef F77_DUMMY_MAIN
3395 int F77_DUMMY_MAIN() { return 1; }
3400 char *p = (char *) alloca (1);
3405 rm -f conftest.$ac_objext conftest$ac_exeext
3406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3407 (eval $ac_link) 2>&5
3409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 (exit $ac_status); } &&
3411 { ac_try='test -s conftest$ac_exeext'
3412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416 (exit $ac_status); }; }; then
3417 ac_cv_func_alloca_works=yes
3419 echo "$as_me: failed program was:" >&5
3420 cat conftest.$ac_ext >&5
3421 ac_cv_func_alloca_works=no
3423 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3425 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
3426 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
3428 if test $ac_cv_func_alloca_works = yes; then
3430 cat >>confdefs.h <<\_ACEOF
3431 #define HAVE_ALLOCA 1
3435 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
3436 # that cause trouble. Some versions do not even contain alloca or
3437 # contain a buggy version. If you still want to use their alloca,
3438 # use ar to extract alloca.o from them instead of compiling alloca.c.
3440 ALLOCA=alloca.$ac_objext
3442 cat >>confdefs.h <<\_ACEOF
3447 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
3448 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
3449 if test "${ac_cv_os_cray+set}" = set; then
3450 echo $ECHO_N "(cached) $ECHO_C" >&6
3452 cat >conftest.$ac_ext <<_ACEOF
3453 #line $LINENO "configure"
3454 #include "confdefs.h"
3455 #if defined(CRAY) && ! defined(CRAY2)
3462 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3463 egrep "webecray" >/dev/null 2>&1; then
3471 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
3472 echo "${ECHO_T}$ac_cv_os_cray" >&6
3473 if test $ac_cv_os_cray = yes; then
3474 for ac_func in _getb67 GETB67 getb67; do
3475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3476 echo "$as_me:$LINENO: checking for $ac_func" >&5
3477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3478 if eval "test \"\${$as_ac_var+set}\" = set"; then
3479 echo $ECHO_N "(cached) $ECHO_C" >&6
3481 cat >conftest.$ac_ext <<_ACEOF
3482 #line $LINENO "configure"
3483 #include "confdefs.h"
3484 /* System header to define __stub macros and hopefully few prototypes,
3485 which can conflict with char $ac_func (); below. */
3487 /* Override any gcc2 internal prototype to avoid an error. */
3491 /* We use char because int might match the return type of a gcc2
3492 builtin and then its argument prototype would still apply. */
3496 #ifdef F77_DUMMY_MAIN
3500 int F77_DUMMY_MAIN() { return 1; }
3505 /* The GNU C library defines this for functions which it implements
3506 to always fail with ENOSYS. Some functions are actually named
3507 something starting with __ and the normal name is an alias. */
3508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3518 rm -f conftest.$ac_objext conftest$ac_exeext
3519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3520 (eval $ac_link) 2>&5
3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523 (exit $ac_status); } &&
3524 { ac_try='test -s conftest$ac_exeext'
3525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3529 (exit $ac_status); }; }; then
3530 eval "$as_ac_var=yes"
3532 echo "$as_me: failed program was:" >&5
3533 cat conftest.$ac_ext >&5
3534 eval "$as_ac_var=no"
3536 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3540 if test `eval echo '${'$as_ac_var'}'` = yes; then
3542 cat >>confdefs.h <<_ACEOF
3543 #define CRAY_STACKSEG_END $ac_func
3552 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
3553 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
3554 if test "${ac_cv_c_stack_direction+set}" = set; then
3555 echo $ECHO_N "(cached) $ECHO_C" >&6
3557 if test "$cross_compiling" = yes; then
3558 ac_cv_c_stack_direction=0
3560 cat >conftest.$ac_ext <<_ACEOF
3561 #line $LINENO "configure"
3562 #include "confdefs.h"
3564 find_stack_direction ()
3566 static char *addr = 0;
3571 return find_stack_direction ();
3574 return (&dummy > addr) ? 1 : -1;
3580 exit (find_stack_direction () < 0);
3583 rm -f conftest$ac_exeext
3584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3585 (eval $ac_link) 2>&5
3587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3588 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3593 (exit $ac_status); }; }; then
3594 ac_cv_c_stack_direction=1
3596 echo "$as_me: program exited with status $ac_status" >&5
3597 echo "$as_me: failed program was:" >&5
3598 cat conftest.$ac_ext >&5
3600 ac_cv_c_stack_direction=-1
3602 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3605 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
3606 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
3608 cat >>confdefs.h <<_ACEOF
3609 #define STACK_DIRECTION $ac_cv_c_stack_direction
3617 for ac_header in stdlib.h unistd.h
3619 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3621 echo "$as_me:$LINENO: checking for $ac_header" >&5
3622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3623 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3624 echo $ECHO_N "(cached) $ECHO_C" >&6
3626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3627 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3629 # Is the header compilable?
3630 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3631 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3632 cat >conftest.$ac_ext <<_ACEOF
3633 #line $LINENO "configure"
3634 #include "confdefs.h"
3635 $ac_includes_default
3636 #include <$ac_header>
3638 rm -f conftest.$ac_objext
3639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3640 (eval $ac_compile) 2>&5
3642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3643 (exit $ac_status); } &&
3644 { ac_try='test -s conftest.$ac_objext'
3645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3649 (exit $ac_status); }; }; then
3650 ac_header_compiler=yes
3652 echo "$as_me: failed program was:" >&5
3653 cat conftest.$ac_ext >&5
3654 ac_header_compiler=no
3656 rm -f conftest.$ac_objext conftest.$ac_ext
3657 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3658 echo "${ECHO_T}$ac_header_compiler" >&6
3660 # Is the header present?
3661 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3662 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3663 cat >conftest.$ac_ext <<_ACEOF
3664 #line $LINENO "configure"
3665 #include "confdefs.h"
3666 #include <$ac_header>
3668 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3669 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3671 egrep -v '^ *\+' conftest.er1 >conftest.err
3673 cat conftest.err >&5
3674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3675 (exit $ac_status); } >/dev/null; then
3676 if test -s conftest.err; then
3677 ac_cpp_err=$ac_c_preproc_warn_flag
3684 if test -z "$ac_cpp_err"; then
3685 ac_header_preproc=yes
3687 echo "$as_me: failed program was:" >&5
3688 cat conftest.$ac_ext >&5
3689 ac_header_preproc=no
3691 rm -f conftest.err conftest.$ac_ext
3692 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3693 echo "${ECHO_T}$ac_header_preproc" >&6
3695 # So? What about this header?
3696 case $ac_header_compiler:$ac_header_preproc in
3698 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3699 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3700 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3701 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3703 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3704 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3705 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3706 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3707 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3708 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3710 echo "$as_me:$LINENO: checking for $ac_header" >&5
3711 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3712 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3713 echo $ECHO_N "(cached) $ECHO_C" >&6
3715 eval "$as_ac_Header=$ac_header_preproc"
3717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3718 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3721 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3722 cat >>confdefs.h <<_ACEOF
3723 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3731 for ac_func in getpagesize
3733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3734 echo "$as_me:$LINENO: checking for $ac_func" >&5
3735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3736 if eval "test \"\${$as_ac_var+set}\" = set"; then
3737 echo $ECHO_N "(cached) $ECHO_C" >&6
3739 cat >conftest.$ac_ext <<_ACEOF
3740 #line $LINENO "configure"
3741 #include "confdefs.h"
3742 /* System header to define __stub macros and hopefully few prototypes,
3743 which can conflict with char $ac_func (); below. */
3745 /* Override any gcc2 internal prototype to avoid an error. */
3749 /* We use char because int might match the return type of a gcc2
3750 builtin and then its argument prototype would still apply. */
3754 #ifdef F77_DUMMY_MAIN
3758 int F77_DUMMY_MAIN() { return 1; }
3763 /* The GNU C library defines this for functions which it implements
3764 to always fail with ENOSYS. Some functions are actually named
3765 something starting with __ and the normal name is an alias. */
3766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3776 rm -f conftest.$ac_objext conftest$ac_exeext
3777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3778 (eval $ac_link) 2>&5
3780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3781 (exit $ac_status); } &&
3782 { ac_try='test -s conftest$ac_exeext'
3783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3787 (exit $ac_status); }; }; then
3788 eval "$as_ac_var=yes"
3790 echo "$as_me: failed program was:" >&5
3791 cat conftest.$ac_ext >&5
3792 eval "$as_ac_var=no"
3794 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3798 if test `eval echo '${'$as_ac_var'}'` = yes; then
3799 cat >>confdefs.h <<_ACEOF
3800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3806 echo "$as_me:$LINENO: checking for working mmap" >&5
3807 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
3808 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
3809 echo $ECHO_N "(cached) $ECHO_C" >&6
3811 if test "$cross_compiling" = yes; then
3812 ac_cv_func_mmap_fixed_mapped=no
3814 cat >conftest.$ac_ext <<_ACEOF
3815 #line $LINENO "configure"
3816 #include "confdefs.h"
3817 $ac_includes_default
3818 /* malloc might have been renamed as rpl_malloc. */
3821 /* Thanks to Mike Haertel and Jim Avera for this test.
3822 Here is a matrix of mmap possibilities:
3823 mmap private not fixed
3824 mmap private fixed at somewhere currently unmapped
3825 mmap private fixed at somewhere already mapped
3826 mmap shared not fixed
3827 mmap shared fixed at somewhere currently unmapped
3828 mmap shared fixed at somewhere already mapped
3829 For private mappings, we should verify that changes cannot be read()
3830 back from the file, nor mmap's back from the file at a different
3831 address. (There have been systems where private was not correctly
3832 implemented like the infamous i386 svr4.0, and systems where the
3833 VM page cache was not coherent with the file system buffer cache
3834 like early versions of FreeBSD and possibly contemporary NetBSD.)
3835 For shared mappings, we should conversely verify that changes get
3836 propagated back to all the places they're supposed to be.
3838 Grep wants private fixed already mapped.
3839 The main things grep needs to know about mmap are:
3840 * does it exist and is it safe to write into the mmap'd area
3841 * how to use it (BSD variants) */
3844 #include <sys/mman.h>
3846 #if !STDC_HEADERS && !HAVE_STDLIB_H
3850 /* This mess was copied from the GNU getpagesize.h. */
3851 #if !HAVE_GETPAGESIZE
3852 /* Assume that all systems that can run configure have sys/param.h. */
3853 # if !HAVE_SYS_PARAM_H
3854 # define HAVE_SYS_PARAM_H 1
3857 # ifdef _SC_PAGESIZE
3858 # define getpagesize() sysconf(_SC_PAGESIZE)
3859 # else /* no _SC_PAGESIZE */
3860 # if HAVE_SYS_PARAM_H
3861 # include <sys/param.h>
3862 # ifdef EXEC_PAGESIZE
3863 # define getpagesize() EXEC_PAGESIZE
3864 # else /* no EXEC_PAGESIZE */
3866 # define getpagesize() NBPG * CLSIZE
3869 # endif /* no CLSIZE */
3870 # else /* no NBPG */
3872 # define getpagesize() NBPC
3873 # else /* no NBPC */
3875 # define getpagesize() PAGESIZE
3876 # endif /* PAGESIZE */
3877 # endif /* no NBPC */
3878 # endif /* no NBPG */
3879 # endif /* no EXEC_PAGESIZE */
3880 # else /* no HAVE_SYS_PARAM_H */
3881 # define getpagesize() 8192 /* punt totally */
3882 # endif /* no HAVE_SYS_PARAM_H */
3883 # endif /* no _SC_PAGESIZE */
3885 #endif /* no HAVE_GETPAGESIZE */
3890 char *data, *data2, *data3;
3894 pagesize = getpagesize ();
3896 /* First, make a file with some known garbage in it. */
3897 data = (char *) malloc (pagesize);
3900 for (i = 0; i < pagesize; ++i)
3901 *(data + i) = rand ();
3903 fd = creat ("conftest.mmap", 0600);
3906 if (write (fd, data, pagesize) != pagesize)
3910 /* Next, try to mmap the file at a fixed address which already has
3911 something else allocated at it. If we can, also make sure that
3912 we see the same garbage. */
3913 fd = open ("conftest.mmap", O_RDWR);
3916 data2 = (char *) malloc (2 * pagesize);
3919 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
3920 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
3921 MAP_PRIVATE | MAP_FIXED, fd, 0L))
3923 for (i = 0; i < pagesize; ++i)
3924 if (*(data + i) != *(data2 + i))
3927 /* Finally, make sure that changes to the mapped area do not
3928 percolate back to the file as seen by read(). (This is a bug on
3929 some variants of i386 svr4.0.) */
3930 for (i = 0; i < pagesize; ++i)
3931 *(data2 + i) = *(data2 + i) + 1;
3932 data3 = (char *) malloc (pagesize);
3935 if (read (fd, data3, pagesize) != pagesize)
3937 for (i = 0; i < pagesize; ++i)
3938 if (*(data + i) != *(data3 + i))
3944 rm -f conftest$ac_exeext
3945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3946 (eval $ac_link) 2>&5
3948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3949 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3954 (exit $ac_status); }; }; then
3955 ac_cv_func_mmap_fixed_mapped=yes
3957 echo "$as_me: program exited with status $ac_status" >&5
3958 echo "$as_me: failed program was:" >&5
3959 cat conftest.$ac_ext >&5
3961 ac_cv_func_mmap_fixed_mapped=no
3963 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3966 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
3967 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
3968 if test $ac_cv_func_mmap_fixed_mapped = yes; then
3970 cat >>confdefs.h <<\_ACEOF
3978 echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
3979 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
3980 if test "${ac_cv_gnu_library_2_1+set}" = set; then
3981 echo $ECHO_N "(cached) $ECHO_C" >&6
3983 cat >conftest.$ac_ext <<_ACEOF
3984 #line $LINENO "configure"
3985 #include "confdefs.h"
3987 #include <features.h>
3988 #ifdef __GNU_LIBRARY__
3989 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
3995 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3996 egrep "Lucky GNU user" >/dev/null 2>&1; then
3997 ac_cv_gnu_library_2_1=yes
3999 ac_cv_gnu_library_2_1=no
4006 echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
4007 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
4009 GLIBC21="$ac_cv_gnu_library_2_1"
4023 for ac_header in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
4024 stdlib.h string.h unistd.h sys/param.h
4026 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4028 echo "$as_me:$LINENO: checking for $ac_header" >&5
4029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4030 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4031 echo $ECHO_N "(cached) $ECHO_C" >&6
4033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4034 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4036 # Is the header compilable?
4037 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4038 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4039 cat >conftest.$ac_ext <<_ACEOF
4040 #line $LINENO "configure"
4041 #include "confdefs.h"
4042 $ac_includes_default
4043 #include <$ac_header>
4045 rm -f conftest.$ac_objext
4046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4047 (eval $ac_compile) 2>&5
4049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050 (exit $ac_status); } &&
4051 { ac_try='test -s conftest.$ac_objext'
4052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4056 (exit $ac_status); }; }; then
4057 ac_header_compiler=yes
4059 echo "$as_me: failed program was:" >&5
4060 cat conftest.$ac_ext >&5
4061 ac_header_compiler=no
4063 rm -f conftest.$ac_objext conftest.$ac_ext
4064 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4065 echo "${ECHO_T}$ac_header_compiler" >&6
4067 # Is the header present?
4068 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4069 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4070 cat >conftest.$ac_ext <<_ACEOF
4071 #line $LINENO "configure"
4072 #include "confdefs.h"
4073 #include <$ac_header>
4075 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4076 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4078 egrep -v '^ *\+' conftest.er1 >conftest.err
4080 cat conftest.err >&5
4081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4082 (exit $ac_status); } >/dev/null; then
4083 if test -s conftest.err; then
4084 ac_cpp_err=$ac_c_preproc_warn_flag
4091 if test -z "$ac_cpp_err"; then
4092 ac_header_preproc=yes
4094 echo "$as_me: failed program was:" >&5
4095 cat conftest.$ac_ext >&5
4096 ac_header_preproc=no
4098 rm -f conftest.err conftest.$ac_ext
4099 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4100 echo "${ECHO_T}$ac_header_preproc" >&6
4102 # So? What about this header?
4103 case $ac_header_compiler:$ac_header_preproc in
4105 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4106 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4107 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4108 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4110 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4111 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4112 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4113 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4114 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4115 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4117 echo "$as_me:$LINENO: checking for $ac_header" >&5
4118 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4119 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4120 echo $ECHO_N "(cached) $ECHO_C" >&6
4122 eval "$as_ac_Header=$ac_header_preproc"
4124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4125 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4128 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4129 cat >>confdefs.h <<_ACEOF
4130 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4158 for ac_func in feof_unlocked fgets_unlocked getcwd getegid geteuid \
4159 getgid getuid mempcpy munmap putenv setenv setlocale stpcpy strchr strcasecmp \
4160 strdup strtoul tsearch __argz_count __argz_stringify __argz_next
4162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4163 echo "$as_me:$LINENO: checking for $ac_func" >&5
4164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4165 if eval "test \"\${$as_ac_var+set}\" = set"; then
4166 echo $ECHO_N "(cached) $ECHO_C" >&6
4168 cat >conftest.$ac_ext <<_ACEOF
4169 #line $LINENO "configure"
4170 #include "confdefs.h"
4171 /* System header to define __stub macros and hopefully few prototypes,
4172 which can conflict with char $ac_func (); below. */
4174 /* Override any gcc2 internal prototype to avoid an error. */
4178 /* We use char because int might match the return type of a gcc2
4179 builtin and then its argument prototype would still apply. */
4183 #ifdef F77_DUMMY_MAIN
4187 int F77_DUMMY_MAIN() { return 1; }
4192 /* The GNU C library defines this for functions which it implements
4193 to always fail with ENOSYS. Some functions are actually named
4194 something starting with __ and the normal name is an alias. */
4195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4205 rm -f conftest.$ac_objext conftest$ac_exeext
4206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4207 (eval $ac_link) 2>&5
4209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4210 (exit $ac_status); } &&
4211 { ac_try='test -s conftest$ac_exeext'
4212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216 (exit $ac_status); }; }; then
4217 eval "$as_ac_var=yes"
4219 echo "$as_me: failed program was:" >&5
4220 cat conftest.$ac_ext >&5
4221 eval "$as_ac_var=no"
4223 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4227 if test `eval echo '${'$as_ac_var'}'` = yes; then
4228 cat >>confdefs.h <<_ACEOF
4229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4239 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
4240 if test "${with_libiconv_prefix+set}" = set; then
4241 withval="$with_libiconv_prefix"
4243 for dir in `echo "$withval" | tr : ' '`; do
4244 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
4245 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
4250 echo "$as_me:$LINENO: checking for iconv" >&5
4251 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
4252 if test "${am_cv_func_iconv+set}" = set; then
4253 echo $ECHO_N "(cached) $ECHO_C" >&6
4256 am_cv_func_iconv="no, consider installing GNU libiconv"
4258 cat >conftest.$ac_ext <<_ACEOF
4259 #line $LINENO "configure"
4260 #include "confdefs.h"
4263 #ifdef F77_DUMMY_MAIN
4267 int F77_DUMMY_MAIN() { return 1; }
4272 iconv_t cd = iconv_open("","");
4273 iconv(cd,NULL,NULL,NULL,NULL);
4279 rm -f conftest.$ac_objext conftest$ac_exeext
4280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4281 (eval $ac_link) 2>&5
4283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4284 (exit $ac_status); } &&
4285 { ac_try='test -s conftest$ac_exeext'
4286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4290 (exit $ac_status); }; }; then
4291 am_cv_func_iconv=yes
4293 echo "$as_me: failed program was:" >&5
4294 cat conftest.$ac_ext >&5
4296 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4297 if test "$am_cv_func_iconv" != yes; then
4298 am_save_LIBS="$LIBS"
4299 LIBS="$LIBS -liconv"
4300 cat >conftest.$ac_ext <<_ACEOF
4301 #line $LINENO "configure"
4302 #include "confdefs.h"
4305 #ifdef F77_DUMMY_MAIN
4309 int F77_DUMMY_MAIN() { return 1; }
4314 iconv_t cd = iconv_open("","");
4315 iconv(cd,NULL,NULL,NULL,NULL);
4321 rm -f conftest.$ac_objext conftest$ac_exeext
4322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4323 (eval $ac_link) 2>&5
4325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4326 (exit $ac_status); } &&
4327 { ac_try='test -s conftest$ac_exeext'
4328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4332 (exit $ac_status); }; }; then
4334 am_cv_func_iconv=yes
4336 echo "$as_me: failed program was:" >&5
4337 cat conftest.$ac_ext >&5
4339 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4340 LIBS="$am_save_LIBS"
4344 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
4345 echo "${ECHO_T}$am_cv_func_iconv" >&6
4346 if test "$am_cv_func_iconv" = yes; then
4348 cat >>confdefs.h <<\_ACEOF
4349 #define HAVE_ICONV 1
4352 echo "$as_me:$LINENO: checking for iconv declaration" >&5
4353 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
4354 if test "${am_cv_proto_iconv+set}" = set; then
4355 echo $ECHO_N "(cached) $ECHO_C" >&6
4358 cat >conftest.$ac_ext <<_ACEOF
4359 #line $LINENO "configure"
4360 #include "confdefs.h"
4368 #if defined(__STDC__) || defined(__cplusplus)
4369 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
4374 #ifdef F77_DUMMY_MAIN
4378 int F77_DUMMY_MAIN() { return 1; }
4388 rm -f conftest.$ac_objext
4389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4390 (eval $ac_compile) 2>&5
4392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4393 (exit $ac_status); } &&
4394 { ac_try='test -s conftest.$ac_objext'
4395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4399 (exit $ac_status); }; }; then
4400 am_cv_proto_iconv_arg1=""
4402 echo "$as_me: failed program was:" >&5
4403 cat conftest.$ac_ext >&5
4404 am_cv_proto_iconv_arg1="const"
4406 rm -f conftest.$ac_objext conftest.$ac_ext
4407 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);"
4410 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
4411 echo "$as_me:$LINENO: result: ${ac_t:-
4412 }$am_cv_proto_iconv" >&5
4413 echo "${ECHO_T}${ac_t:-
4414 }$am_cv_proto_iconv" >&6
4416 cat >>confdefs.h <<_ACEOF
4417 #define ICONV_CONST $am_cv_proto_iconv_arg1
4422 if test "$am_cv_lib_iconv" = yes; then
4428 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
4429 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
4430 if test "${am_cv_langinfo_codeset+set}" = set; then
4431 echo $ECHO_N "(cached) $ECHO_C" >&6
4433 cat >conftest.$ac_ext <<_ACEOF
4434 #line $LINENO "configure"
4435 #include "confdefs.h"
4436 #include <langinfo.h>
4437 #ifdef F77_DUMMY_MAIN
4441 int F77_DUMMY_MAIN() { return 1; }
4446 char* cs = nl_langinfo(CODESET);
4451 rm -f conftest.$ac_objext conftest$ac_exeext
4452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4453 (eval $ac_link) 2>&5
4455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4456 (exit $ac_status); } &&
4457 { ac_try='test -s conftest$ac_exeext'
4458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4462 (exit $ac_status); }; }; then
4463 am_cv_langinfo_codeset=yes
4465 echo "$as_me: failed program was:" >&5
4466 cat conftest.$ac_ext >&5
4467 am_cv_langinfo_codeset=no
4469 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4472 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
4473 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
4474 if test $am_cv_langinfo_codeset = yes; then
4476 cat >>confdefs.h <<\_ACEOF
4477 #define HAVE_LANGINFO_CODESET 1
4482 if test $ac_cv_header_locale_h = yes; then
4483 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
4484 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
4485 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
4486 echo $ECHO_N "(cached) $ECHO_C" >&6
4488 cat >conftest.$ac_ext <<_ACEOF
4489 #line $LINENO "configure"
4490 #include "confdefs.h"
4492 #ifdef F77_DUMMY_MAIN
4496 int F77_DUMMY_MAIN() { return 1; }
4506 rm -f conftest.$ac_objext conftest$ac_exeext
4507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4508 (eval $ac_link) 2>&5
4510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4511 (exit $ac_status); } &&
4512 { ac_try='test -s conftest$ac_exeext'
4513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4517 (exit $ac_status); }; }; then
4518 am_cv_val_LC_MESSAGES=yes
4520 echo "$as_me: failed program was:" >&5
4521 cat conftest.$ac_ext >&5
4522 am_cv_val_LC_MESSAGES=no
4524 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4526 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
4527 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
4528 if test $am_cv_val_LC_MESSAGES = yes; then
4530 cat >>confdefs.h <<\_ACEOF
4531 #define HAVE_LC_MESSAGES 1
4536 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
4537 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
4538 # Check whether --enable-nls or --disable-nls was given.
4539 if test "${enable_nls+set}" = set; then
4540 enableval="$enable_nls"
4545 echo "$as_me:$LINENO: result: $USE_NLS" >&5
4546 echo "${ECHO_T}$USE_NLS" >&6
4549 BUILD_INCLUDED_LIBINTL=no
4550 USE_INCLUDED_LIBINTL=no
4553 if test "$USE_NLS" = "yes"; then
4555 cat >>confdefs.h <<\_ACEOF
4556 #define ENABLE_NLS 1
4559 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
4560 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
4562 # Check whether --with-included-gettext or --without-included-gettext was given.
4563 if test "${with_included_gettext+set}" = set; then
4564 withval="$with_included_gettext"
4565 nls_cv_force_use_gnu_gettext=$withval
4567 nls_cv_force_use_gnu_gettext=no
4569 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
4570 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
4572 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
4573 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
4579 if test "${ac_cv_header_libintl_h+set}" = set; then
4580 echo "$as_me:$LINENO: checking for libintl.h" >&5
4581 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4582 if test "${ac_cv_header_libintl_h+set}" = set; then
4583 echo $ECHO_N "(cached) $ECHO_C" >&6
4585 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4586 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4588 # Is the header compilable?
4589 echo "$as_me:$LINENO: checking libintl.h usability" >&5
4590 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
4591 cat >conftest.$ac_ext <<_ACEOF
4592 #line $LINENO "configure"
4593 #include "confdefs.h"
4594 $ac_includes_default
4595 #include <libintl.h>
4597 rm -f conftest.$ac_objext
4598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4599 (eval $ac_compile) 2>&5
4601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4602 (exit $ac_status); } &&
4603 { ac_try='test -s conftest.$ac_objext'
4604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4608 (exit $ac_status); }; }; then
4609 ac_header_compiler=yes
4611 echo "$as_me: failed program was:" >&5
4612 cat conftest.$ac_ext >&5
4613 ac_header_compiler=no
4615 rm -f conftest.$ac_objext conftest.$ac_ext
4616 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4617 echo "${ECHO_T}$ac_header_compiler" >&6
4619 # Is the header present?
4620 echo "$as_me:$LINENO: checking libintl.h presence" >&5
4621 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
4622 cat >conftest.$ac_ext <<_ACEOF
4623 #line $LINENO "configure"
4624 #include "confdefs.h"
4625 #include <libintl.h>
4627 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4628 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4630 egrep -v '^ *\+' conftest.er1 >conftest.err
4632 cat conftest.err >&5
4633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4634 (exit $ac_status); } >/dev/null; then
4635 if test -s conftest.err; then
4636 ac_cpp_err=$ac_c_preproc_warn_flag
4643 if test -z "$ac_cpp_err"; then
4644 ac_header_preproc=yes
4646 echo "$as_me: failed program was:" >&5
4647 cat conftest.$ac_ext >&5
4648 ac_header_preproc=no
4650 rm -f conftest.err conftest.$ac_ext
4651 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4652 echo "${ECHO_T}$ac_header_preproc" >&6
4654 # So? What about this header?
4655 case $ac_header_compiler:$ac_header_preproc in
4657 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
4658 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4659 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
4660 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
4662 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
4663 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
4664 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
4665 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
4666 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
4667 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
4669 echo "$as_me:$LINENO: checking for libintl.h" >&5
4670 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4671 if test "${ac_cv_header_libintl_h+set}" = set; then
4672 echo $ECHO_N "(cached) $ECHO_C" >&6
4674 ac_cv_header_libintl_h=$ac_header_preproc
4676 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4677 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4680 if test $ac_cv_header_libintl_h = yes; then
4681 echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
4682 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
4683 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
4684 echo $ECHO_N "(cached) $ECHO_C" >&6
4686 cat >conftest.$ac_ext <<_ACEOF
4687 #line $LINENO "configure"
4688 #include "confdefs.h"
4689 #include <libintl.h>
4690 extern int _nl_msg_cat_cntr;
4691 #ifdef F77_DUMMY_MAIN
4695 int F77_DUMMY_MAIN() { return 1; }
4700 bindtextdomain ("", "");
4701 return (int) gettext ("") + _nl_msg_cat_cntr
4706 rm -f conftest.$ac_objext conftest$ac_exeext
4707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4708 (eval $ac_link) 2>&5
4710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4711 (exit $ac_status); } &&
4712 { ac_try='test -s conftest$ac_exeext'
4713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4717 (exit $ac_status); }; }; then
4718 gt_cv_func_gnugettext1_libc=yes
4720 echo "$as_me: failed program was:" >&5
4721 cat conftest.$ac_ext >&5
4722 gt_cv_func_gnugettext1_libc=no
4724 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4726 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
4727 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
4729 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
4730 echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
4731 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
4732 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
4733 echo $ECHO_N "(cached) $ECHO_C" >&6
4735 gt_save_LIBS="$LIBS"
4736 LIBS="$LIBS -lintl $LIBICONV"
4737 cat >conftest.$ac_ext <<_ACEOF
4738 #line $LINENO "configure"
4739 #include "confdefs.h"
4740 #include <libintl.h>
4741 extern int _nl_msg_cat_cntr;
4742 #ifdef F77_DUMMY_MAIN
4746 int F77_DUMMY_MAIN() { return 1; }
4751 bindtextdomain ("", "");
4752 return (int) gettext ("") + _nl_msg_cat_cntr
4757 rm -f conftest.$ac_objext conftest$ac_exeext
4758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4759 (eval $ac_link) 2>&5
4761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762 (exit $ac_status); } &&
4763 { ac_try='test -s conftest$ac_exeext'
4764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768 (exit $ac_status); }; }; then
4769 gt_cv_func_gnugettext1_libintl=yes
4771 echo "$as_me: failed program was:" >&5
4772 cat conftest.$ac_ext >&5
4773 gt_cv_func_gnugettext1_libintl=no
4775 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4776 LIBS="$gt_save_LIBS"
4778 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
4779 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
4782 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
4783 || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
4784 && test "$PACKAGE" != gettext; }; then
4786 cat >>confdefs.h <<\_ACEOF
4787 #define HAVE_GETTEXT 1
4791 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
4792 INTLLIBS="-lintl $LIBICONV"
4795 gt_save_LIBS="$LIBS"
4796 LIBS="$LIBS $INTLLIBS"
4798 for ac_func in dcgettext
4800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4801 echo "$as_me:$LINENO: checking for $ac_func" >&5
4802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4803 if eval "test \"\${$as_ac_var+set}\" = set"; then
4804 echo $ECHO_N "(cached) $ECHO_C" >&6
4806 cat >conftest.$ac_ext <<_ACEOF
4807 #line $LINENO "configure"
4808 #include "confdefs.h"
4809 /* System header to define __stub macros and hopefully few prototypes,
4810 which can conflict with char $ac_func (); below. */
4812 /* Override any gcc2 internal prototype to avoid an error. */
4816 /* We use char because int might match the return type of a gcc2
4817 builtin and then its argument prototype would still apply. */
4821 #ifdef F77_DUMMY_MAIN
4825 int F77_DUMMY_MAIN() { return 1; }
4830 /* The GNU C library defines this for functions which it implements
4831 to always fail with ENOSYS. Some functions are actually named
4832 something starting with __ and the normal name is an alias. */
4833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4843 rm -f conftest.$ac_objext conftest$ac_exeext
4844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4845 (eval $ac_link) 2>&5
4847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 (exit $ac_status); } &&
4849 { ac_try='test -s conftest$ac_exeext'
4850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 (exit $ac_status); }; }; then
4855 eval "$as_ac_var=yes"
4857 echo "$as_me: failed program was:" >&5
4858 cat conftest.$ac_ext >&5
4859 eval "$as_ac_var=no"
4861 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4865 if test `eval echo '${'$as_ac_var'}'` = yes; then
4866 cat >>confdefs.h <<_ACEOF
4867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4873 LIBS="$gt_save_LIBS"
4875 # Extract the first word of "msgfmt", so it can be a program name with args.
4876 set dummy msgfmt; ac_word=$2
4877 echo "$as_me:$LINENO: checking for $ac_word" >&5
4878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4879 if test "${ac_cv_path_MSGFMT+set}" = set; then
4880 echo $ECHO_N "(cached) $ECHO_C" >&6
4884 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4887 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
4888 for ac_dir in $PATH; do
4889 test -z "$ac_dir" && ac_dir=.
4890 if test -f $ac_dir/$ac_word; then
4891 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1; then
4892 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
4898 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
4902 MSGFMT="$ac_cv_path_MSGFMT"
4903 if test "$MSGFMT" != ":"; then
4904 echo "$as_me:$LINENO: result: $MSGFMT" >&5
4905 echo "${ECHO_T}$MSGFMT" >&6
4907 echo "$as_me:$LINENO: result: no" >&5
4908 echo "${ECHO_T}no" >&6
4911 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4912 set dummy gmsgfmt; ac_word=$2
4913 echo "$as_me:$LINENO: checking for $ac_word" >&5
4914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4915 if test "${ac_cv_path_GMSGFMT+set}" = set; then
4916 echo $ECHO_N "(cached) $ECHO_C" >&6
4920 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4927 test -z "$as_dir" && as_dir=.
4928 for ac_exec_ext in '' $ac_executable_extensions; do
4929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4930 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4937 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4941 GMSGFMT=$ac_cv_path_GMSGFMT
4943 if test -n "$GMSGFMT"; then
4944 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
4945 echo "${ECHO_T}$GMSGFMT" >&6
4947 echo "$as_me:$LINENO: result: no" >&5
4948 echo "${ECHO_T}no" >&6
4952 # Extract the first word of "xgettext", so it can be a program name with args.
4953 set dummy xgettext; ac_word=$2
4954 echo "$as_me:$LINENO: checking for $ac_word" >&5
4955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4956 if test "${ac_cv_path_XGETTEXT+set}" = set; then
4957 echo $ECHO_N "(cached) $ECHO_C" >&6
4961 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4964 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
4965 for ac_dir in $PATH; do
4966 test -z "$ac_dir" && ac_dir=.
4967 if test -f $ac_dir/$ac_word; then
4968 if $ac_dir/$ac_word --omit-header /dev/null >/dev/null 2>&1; then
4969 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
4975 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
4979 XGETTEXT="$ac_cv_path_XGETTEXT"
4980 if test "$XGETTEXT" != ":"; then
4981 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
4982 echo "${ECHO_T}$XGETTEXT" >&6
4984 echo "$as_me:$LINENO: result: no" >&5
4985 echo "${ECHO_T}no" >&6
4996 if test "$CATOBJEXT" = "NONE"; then
4997 nls_cv_use_gnu_gettext=yes
5001 if test "$nls_cv_use_gnu_gettext" = "yes"; then
5002 INTLOBJS="\$(GETTOBJS)"
5003 # Extract the first word of "msgfmt", so it can be a program name with args.
5004 set dummy msgfmt; ac_word=$2
5005 echo "$as_me:$LINENO: checking for $ac_word" >&5
5006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5007 if test "${ac_cv_path_MSGFMT+set}" = set; then
5008 echo $ECHO_N "(cached) $ECHO_C" >&6
5012 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5015 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5016 for ac_dir in $PATH; do
5017 test -z "$ac_dir" && ac_dir=.
5018 if test -f $ac_dir/$ac_word; then
5019 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1; then
5020 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
5026 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
5030 MSGFMT="$ac_cv_path_MSGFMT"
5031 if test "$MSGFMT" != ":"; then
5032 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5033 echo "${ECHO_T}$MSGFMT" >&6
5035 echo "$as_me:$LINENO: result: no" >&5
5036 echo "${ECHO_T}no" >&6
5039 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5040 set dummy gmsgfmt; ac_word=$2
5041 echo "$as_me:$LINENO: checking for $ac_word" >&5
5042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5043 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5044 echo $ECHO_N "(cached) $ECHO_C" >&6
5048 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5055 test -z "$as_dir" && as_dir=.
5056 for ac_exec_ext in '' $ac_executable_extensions; do
5057 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5058 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5065 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5069 GMSGFMT=$ac_cv_path_GMSGFMT
5071 if test -n "$GMSGFMT"; then
5072 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5073 echo "${ECHO_T}$GMSGFMT" >&6
5075 echo "$as_me:$LINENO: result: no" >&5
5076 echo "${ECHO_T}no" >&6
5079 # Extract the first word of "xgettext", so it can be a program name with args.
5080 set dummy xgettext; ac_word=$2
5081 echo "$as_me:$LINENO: checking for $ac_word" >&5
5082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5083 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5084 echo $ECHO_N "(cached) $ECHO_C" >&6
5088 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5091 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5092 for ac_dir in $PATH; do
5093 test -z "$ac_dir" && ac_dir=.
5094 if test -f $ac_dir/$ac_word; then
5095 if $ac_dir/$ac_word --omit-header /dev/null >/dev/null 2>&1; then
5096 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
5102 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5106 XGETTEXT="$ac_cv_path_XGETTEXT"
5107 if test "$XGETTEXT" != ":"; then
5108 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5109 echo "${ECHO_T}$XGETTEXT" >&6
5111 echo "$as_me:$LINENO: result: no" >&5
5112 echo "${ECHO_T}no" >&6
5116 BUILD_INCLUDED_LIBINTL=yes
5117 USE_INCLUDED_LIBINTL=yes
5119 INTLLIBS="\$(top_builddir)/intl/libintl.a $LIBICONV"
5120 LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
5123 if test "$GMSGFMT" != ":"; then
5124 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1; then
5127 echo "$as_me:$LINENO: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
5128 echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6
5133 if test "$XGETTEXT" != ":"; then
5134 if $XGETTEXT --omit-header /dev/null >/dev/null 2>&1; then
5137 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
5138 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
5145 ac_config_commands="$ac_config_commands default-1"
5149 if test "$PACKAGE" = gettext; then
5150 BUILD_INCLUDED_LIBINTL=yes
5153 for ac_prog in bison
5155 # Extract the first word of "$ac_prog", so it can be a program name with args.
5156 set dummy $ac_prog; ac_word=$2
5157 echo "$as_me:$LINENO: checking for $ac_word" >&5
5158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5159 if test "${ac_cv_prog_INTLBISON+set}" = set; then
5160 echo $ECHO_N "(cached) $ECHO_C" >&6
5162 if test -n "$INTLBISON"; then
5163 ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test.
5165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5169 test -z "$as_dir" && as_dir=.
5170 for ac_exec_ext in '' $ac_executable_extensions; do
5171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5172 ac_cv_prog_INTLBISON="$ac_prog"
5173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5181 INTLBISON=$ac_cv_prog_INTLBISON
5182 if test -n "$INTLBISON"; then
5183 echo "$as_me:$LINENO: result: $INTLBISON" >&5
5184 echo "${ECHO_T}$INTLBISON" >&6
5186 echo "$as_me:$LINENO: result: no" >&5
5187 echo "${ECHO_T}no" >&6
5190 test -n "$INTLBISON" && break
5193 if test -z "$INTLBISON"; then
5196 echo "$as_me:$LINENO: checking version of bison" >&5
5197 echo $ECHO_N "checking version of bison... $ECHO_C" >&6
5198 ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
5199 case $ac_prog_version in
5200 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
5201 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
5202 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
5203 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
5205 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5206 echo "${ECHO_T}$ac_prog_version" >&6
5208 if test $ac_verc_fail = yes; then
5212 for lang in $ALL_LINGUAS; do
5213 GMOFILES="$GMOFILES $lang.gmo"
5214 POFILES="$POFILES $lang.po"
5228 nls_cv_header_libgt=
5240 if test "x$CATOBJEXT" != "x"; then
5241 if test "x$ALL_LINGUAS" = "x"; then
5244 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5245 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5247 for presentlang in $ALL_LINGUAS; do
5249 for desiredlang in ${LINGUAS-$ALL_LINGUAS}; do
5250 # Use the presentlang catalog if desiredlang is
5251 # a. equal to presentlang, or
5252 # b. a variant of presentlang (because in this case,
5253 # presentlang can be used as a fallback for messages
5254 # which are not translated in the desiredlang catalog).
5255 case "$desiredlang" in
5256 "$presentlang"*) useit=yes;;
5259 if test $useit = yes; then
5260 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
5263 LINGUAS=$NEW_LINGUAS
5264 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5265 echo "${ECHO_T}$LINGUAS" >&6
5268 if test -n "$LINGUAS"; then
5269 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
5274 if test -n "$ac_aux_dir"; then
5275 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
5277 if test -z "$MKINSTALLDIRS"; then
5278 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
5282 INTL_LIBTOOL_SUFFIX_PREFIX=
5286 # Find a good install program. We prefer a C program (faster),
5287 # so one script is as good as another. But avoid the broken or
5288 # incompatible versions:
5289 # SysV /etc/install, /usr/sbin/install
5290 # SunOS /usr/etc/install
5291 # IRIX /sbin/install
5293 # AmigaOS /C/install, which installs bootblocks on floppy discs
5294 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5295 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5296 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5297 # ./install, which can be erroneously created by make from ./install.sh.
5298 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5299 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5300 if test -z "$INSTALL"; then
5301 if test "${ac_cv_path_install+set}" = set; then
5302 echo $ECHO_N "(cached) $ECHO_C" >&6
5304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5308 test -z "$as_dir" && as_dir=.
5309 # Account for people who put trailing slashes in PATH elements.
5311 ./ | .// | /cC/* | \
5312 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5315 # OSF1 and SCO ODT 3.0 have their own names for install.
5316 # Don't use installbsd from OSF since it installs stuff as root
5318 for ac_prog in ginstall scoinst install; do
5319 for ac_exec_ext in '' $ac_executable_extensions; do
5320 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5321 if test $ac_prog = install &&
5322 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5323 # AIX install. It has an incompatible calling convention.
5325 elif test $ac_prog = install &&
5326 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5327 # program-specific install script used by HP pwplus--don't use.
5330 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5342 if test "${ac_cv_path_install+set}" = set; then
5343 INSTALL=$ac_cv_path_install
5345 # As a last resort, use the slow shell script. We don't cache a
5346 # path for INSTALL within a source directory, because that will
5347 # break other packages using the cache if that directory is
5348 # removed, or if the path is relative.
5349 INSTALL=$ac_install_sh
5352 echo "$as_me:$LINENO: result: $INSTALL" >&5
5353 echo "${ECHO_T}$INSTALL" >&6
5355 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5356 # It thinks the first close brace ends the variable substitution.
5357 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5359 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5361 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5364 case x"${target_os}" in
5373 save_CFLAGS="${save_CFLAGS} -pthread"
5374 dvd_LDFLAGS="${dvd_LDFLAGS} -ldvd"
5375 vcd_LDFLAGS="${vcd_LDFLAGS} -ldvd"
5379 save_CFLAGS="${save_CFLAGS} -pthread"
5383 save_CFLAGS="${save_CFLAGS} -no-cpp-precomp"
5387 if test -n "$ac_tool_prefix"; then
5388 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5389 set dummy ${ac_tool_prefix}windres; ac_word=$2
5390 echo "$as_me:$LINENO: checking for $ac_word" >&5
5391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5392 if test "${ac_cv_prog_WINDRES+set}" = set; then
5393 echo $ECHO_N "(cached) $ECHO_C" >&6
5395 if test -n "$WINDRES"; then
5396 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5402 test -z "$as_dir" && as_dir=.
5403 for ac_exec_ext in '' $ac_executable_extensions; do
5404 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5405 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5414 WINDRES=$ac_cv_prog_WINDRES
5415 if test -n "$WINDRES"; then
5416 echo "$as_me:$LINENO: result: $WINDRES" >&5
5417 echo "${ECHO_T}$WINDRES" >&6
5419 echo "$as_me:$LINENO: result: no" >&5
5420 echo "${ECHO_T}no" >&6
5424 if test -z "$ac_cv_prog_WINDRES"; then
5425 ac_ct_WINDRES=$WINDRES
5426 # Extract the first word of "windres", so it can be a program name with args.
5427 set dummy windres; ac_word=$2
5428 echo "$as_me:$LINENO: checking for $ac_word" >&5
5429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5430 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5431 echo $ECHO_N "(cached) $ECHO_C" >&6
5433 if test -n "$ac_ct_WINDRES"; then
5434 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5440 test -z "$as_dir" && as_dir=.
5441 for ac_exec_ext in '' $ac_executable_extensions; do
5442 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5443 ac_cv_prog_ac_ct_WINDRES="windres"
5444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5450 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES=":"
5453 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5454 if test -n "$ac_ct_WINDRES"; then
5455 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5456 echo "${ECHO_T}$ac_ct_WINDRES" >&6
5458 echo "$as_me:$LINENO: result: no" >&5
5459 echo "${ECHO_T}no" >&6
5462 WINDRES=$ac_ct_WINDRES
5464 WINDRES="$ac_cv_prog_WINDRES"
5467 save_CFLAGS="${save_CFLAGS} -fnative-struct -D_OFF_T_ -D_off_t=long"
5468 vlc_LDFLAGS="${vlc_LDFLAGS} -mwindows -Xlinker --force-exe-suffix"
5469 vlc_LDFLAGS="${vlc_LDFLAGS} -lws2_32 -lnetapi32"
5470 ipv4_LDFLAGS="${ipv4_LDFLAGS} -lws2_32"
5471 rc_LDFLAGS="${rc_LDFLAGS} -lws2_32"
5475 x11_LDFLAGS="${x11_LDFLAGS} -lsocket"
5476 xvideo_LDFLAGS="${xvideo_LDFLAGS} -lsocket"
5480 save_CFLAGS="${save_CFLAGS} -Wno-multichar -Wno-ctor-dtor-privacy -Woverloaded-virtual"
5481 vlc_LDFLAGS="${vlc_LDFLAGS} -lbe"
5482 plugins_LDFLAGS="${plugins_LDFLAGS} -nostart"
5483 beos_LDFLAGS="${beos_LDFLAGS} -lbe -lgame -lroot -ltracker"
5484 ipv4_LDFLAGS="${ipv4_LDFLAGS} -lbind"
5491 if test x"${SYS}" = xmingw32
5493 plugins_CFLAGS="${plugins_CFLAGS} -fnative-struct"
5495 plugins_CFLAGS="${plugins_CFLAGS} -fPIC"
5498 save_CFLAGS="${save_CFLAGS} -DSYS_`echo ${SYS} | sed -e 's/-.*//' | tr 'abcdefghijklmnopqrstuvwxyz.' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`"
5513 for ac_func in gettimeofday select strerror strtod strtol isatty vasprintf swab sigrelse getpwuid memalign posix_memalign gethostbyname2
5515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5516 echo "$as_me:$LINENO: checking for $ac_func" >&5
5517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5518 if eval "test \"\${$as_ac_var+set}\" = set"; then
5519 echo $ECHO_N "(cached) $ECHO_C" >&6
5521 cat >conftest.$ac_ext <<_ACEOF
5522 #line $LINENO "configure"
5523 #include "confdefs.h"
5524 /* System header to define __stub macros and hopefully few prototypes,
5525 which can conflict with char $ac_func (); below. */
5527 /* Override any gcc2 internal prototype to avoid an error. */
5531 /* We use char because int might match the return type of a gcc2
5532 builtin and then its argument prototype would still apply. */
5536 #ifdef F77_DUMMY_MAIN
5540 int F77_DUMMY_MAIN() { return 1; }
5545 /* The GNU C library defines this for functions which it implements
5546 to always fail with ENOSYS. Some functions are actually named
5547 something starting with __ and the normal name is an alias. */
5548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5558 rm -f conftest.$ac_objext conftest$ac_exeext
5559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5560 (eval $ac_link) 2>&5
5562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563 (exit $ac_status); } &&
5564 { ac_try='test -s conftest$ac_exeext'
5565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5569 (exit $ac_status); }; }; then
5570 eval "$as_ac_var=yes"
5572 echo "$as_me: failed program was:" >&5
5573 cat conftest.$ac_ext >&5
5574 eval "$as_ac_var=no"
5576 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5580 if test `eval echo '${'$as_ac_var'}'` = yes; then
5581 cat >>confdefs.h <<_ACEOF
5582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5589 echo "$as_me:$LINENO: checking for connect" >&5
5590 echo $ECHO_N "checking for connect... $ECHO_C" >&6
5591 if test "${ac_cv_func_connect+set}" = set; then
5592 echo $ECHO_N "(cached) $ECHO_C" >&6
5594 cat >conftest.$ac_ext <<_ACEOF
5595 #line $LINENO "configure"
5596 #include "confdefs.h"
5597 /* System header to define __stub macros and hopefully few prototypes,
5598 which can conflict with char connect (); below. */
5600 /* Override any gcc2 internal prototype to avoid an error. */
5604 /* We use char because int might match the return type of a gcc2
5605 builtin and then its argument prototype would still apply. */
5609 #ifdef F77_DUMMY_MAIN
5613 int F77_DUMMY_MAIN() { return 1; }
5618 /* The GNU C library defines this for functions which it implements
5619 to always fail with ENOSYS. Some functions are actually named
5620 something starting with __ and the normal name is an alias. */
5621 #if defined (__stub_connect) || defined (__stub___connect)
5631 rm -f conftest.$ac_objext conftest$ac_exeext
5632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5633 (eval $ac_link) 2>&5
5635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5636 (exit $ac_status); } &&
5637 { ac_try='test -s conftest$ac_exeext'
5638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5642 (exit $ac_status); }; }; then
5643 ac_cv_func_connect=yes
5645 echo "$as_me: failed program was:" >&5
5646 cat conftest.$ac_ext >&5
5647 ac_cv_func_connect=no
5649 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5651 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
5652 echo "${ECHO_T}$ac_cv_func_connect" >&6
5653 if test $ac_cv_func_connect = yes; then
5657 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
5658 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
5659 if test "${ac_cv_lib_socket_connect+set}" = set; then
5660 echo $ECHO_N "(cached) $ECHO_C" >&6
5662 ac_check_lib_save_LIBS=$LIBS
5663 LIBS="-lsocket $LIBS"
5664 cat >conftest.$ac_ext <<_ACEOF
5665 #line $LINENO "configure"
5666 #include "confdefs.h"
5668 /* Override any gcc2 internal prototype to avoid an error. */
5672 /* We use char because int might match the return type of a gcc2
5673 builtin and then its argument prototype would still apply. */
5675 #ifdef F77_DUMMY_MAIN
5679 int F77_DUMMY_MAIN() { return 1; }
5689 rm -f conftest.$ac_objext conftest$ac_exeext
5690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5691 (eval $ac_link) 2>&5
5693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5694 (exit $ac_status); } &&
5695 { ac_try='test -s conftest$ac_exeext'
5696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5700 (exit $ac_status); }; }; then
5701 ac_cv_lib_socket_connect=yes
5703 echo "$as_me: failed program was:" >&5
5704 cat conftest.$ac_ext >&5
5705 ac_cv_lib_socket_connect=no
5707 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5708 LIBS=$ac_check_lib_save_LIBS
5710 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
5711 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
5712 if test $ac_cv_lib_socket_connect = yes; then
5713 ipv4_LDFLAGS="${ipv4_LDFLAGS} -lsocket"
5714 vlc_LDFLAGS="${vlc_LDFLAGS} -lsocket"
5720 echo "$as_me:$LINENO: checking for gethostbyname" >&5
5721 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
5722 if test "${ac_cv_func_gethostbyname+set}" = set; then
5723 echo $ECHO_N "(cached) $ECHO_C" >&6
5725 cat >conftest.$ac_ext <<_ACEOF
5726 #line $LINENO "configure"
5727 #include "confdefs.h"
5728 /* System header to define __stub macros and hopefully few prototypes,
5729 which can conflict with char gethostbyname (); below. */
5731 /* Override any gcc2 internal prototype to avoid an error. */
5735 /* We use char because int might match the return type of a gcc2
5736 builtin and then its argument prototype would still apply. */
5737 char gethostbyname ();
5740 #ifdef F77_DUMMY_MAIN
5744 int F77_DUMMY_MAIN() { return 1; }
5749 /* The GNU C library defines this for functions which it implements
5750 to always fail with ENOSYS. Some functions are actually named
5751 something starting with __ and the normal name is an alias. */
5752 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
5762 rm -f conftest.$ac_objext conftest$ac_exeext
5763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5764 (eval $ac_link) 2>&5
5766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5767 (exit $ac_status); } &&
5768 { ac_try='test -s conftest$ac_exeext'
5769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5773 (exit $ac_status); }; }; then
5774 ac_cv_func_gethostbyname=yes
5776 echo "$as_me: failed program was:" >&5
5777 cat conftest.$ac_ext >&5
5778 ac_cv_func_gethostbyname=no
5780 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5782 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
5783 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
5784 if test $ac_cv_func_gethostbyname = yes; then
5788 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5789 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
5790 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5791 echo $ECHO_N "(cached) $ECHO_C" >&6
5793 ac_check_lib_save_LIBS=$LIBS
5795 cat >conftest.$ac_ext <<_ACEOF
5796 #line $LINENO "configure"
5797 #include "confdefs.h"
5799 /* Override any gcc2 internal prototype to avoid an error. */
5803 /* We use char because int might match the return type of a gcc2
5804 builtin and then its argument prototype would still apply. */
5805 char gethostbyname ();
5806 #ifdef F77_DUMMY_MAIN
5810 int F77_DUMMY_MAIN() { return 1; }
5820 rm -f conftest.$ac_objext conftest$ac_exeext
5821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5822 (eval $ac_link) 2>&5
5824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5825 (exit $ac_status); } &&
5826 { ac_try='test -s conftest$ac_exeext'
5827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5831 (exit $ac_status); }; }; then
5832 ac_cv_lib_nsl_gethostbyname=yes
5834 echo "$as_me: failed program was:" >&5
5835 cat conftest.$ac_ext >&5
5836 ac_cv_lib_nsl_gethostbyname=no
5838 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5839 LIBS=$ac_check_lib_save_LIBS
5841 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5842 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
5843 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5844 ipv4_LDFLAGS="${ipv4_LDFLAGS} -lnsl"
5850 echo "$as_me:$LINENO: checking for gethostbyname" >&5
5851 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
5852 if test "${ac_cv_func_gethostbyname+set}" = set; then
5853 echo $ECHO_N "(cached) $ECHO_C" >&6
5855 cat >conftest.$ac_ext <<_ACEOF
5856 #line $LINENO "configure"
5857 #include "confdefs.h"
5858 /* System header to define __stub macros and hopefully few prototypes,
5859 which can conflict with char gethostbyname (); below. */
5861 /* Override any gcc2 internal prototype to avoid an error. */
5865 /* We use char because int might match the return type of a gcc2
5866 builtin and then its argument prototype would still apply. */
5867 char gethostbyname ();
5870 #ifdef F77_DUMMY_MAIN
5874 int F77_DUMMY_MAIN() { return 1; }
5879 /* The GNU C library defines this for functions which it implements
5880 to always fail with ENOSYS. Some functions are actually named
5881 something starting with __ and the normal name is an alias. */
5882 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
5892 rm -f conftest.$ac_objext conftest$ac_exeext
5893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5894 (eval $ac_link) 2>&5
5896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5897 (exit $ac_status); } &&
5898 { ac_try='test -s conftest$ac_exeext'
5899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5903 (exit $ac_status); }; }; then
5904 ac_cv_func_gethostbyname=yes
5906 echo "$as_me: failed program was:" >&5
5907 cat conftest.$ac_ext >&5
5908 ac_cv_func_gethostbyname=no
5910 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5912 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
5913 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
5914 if test $ac_cv_func_gethostbyname = yes; then
5918 echo "$as_me:$LINENO: checking for gethostbyname in -lbind" >&5
5919 echo $ECHO_N "checking for gethostbyname in -lbind... $ECHO_C" >&6
5920 if test "${ac_cv_lib_bind_gethostbyname+set}" = set; then
5921 echo $ECHO_N "(cached) $ECHO_C" >&6
5923 ac_check_lib_save_LIBS=$LIBS
5925 cat >conftest.$ac_ext <<_ACEOF
5926 #line $LINENO "configure"
5927 #include "confdefs.h"
5929 /* Override any gcc2 internal prototype to avoid an error. */
5933 /* We use char because int might match the return type of a gcc2
5934 builtin and then its argument prototype would still apply. */
5935 char gethostbyname ();
5936 #ifdef F77_DUMMY_MAIN
5940 int F77_DUMMY_MAIN() { return 1; }
5950 rm -f conftest.$ac_objext conftest$ac_exeext
5951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5952 (eval $ac_link) 2>&5
5954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5955 (exit $ac_status); } &&
5956 { ac_try='test -s conftest$ac_exeext'
5957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5961 (exit $ac_status); }; }; then
5962 ac_cv_lib_bind_gethostbyname=yes
5964 echo "$as_me: failed program was:" >&5
5965 cat conftest.$ac_ext >&5
5966 ac_cv_lib_bind_gethostbyname=no
5968 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5969 LIBS=$ac_check_lib_save_LIBS
5971 echo "$as_me:$LINENO: result: $ac_cv_lib_bind_gethostbyname" >&5
5972 echo "${ECHO_T}$ac_cv_lib_bind_gethostbyname" >&6
5973 if test $ac_cv_lib_bind_gethostbyname = yes; then
5974 ipv4_LDFLAGS="${ipv4_LDFLAGS} -lbind"
5981 for ac_func in nanosleep
5983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5984 echo "$as_me:$LINENO: checking for $ac_func" >&5
5985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5986 if eval "test \"\${$as_ac_var+set}\" = set"; then
5987 echo $ECHO_N "(cached) $ECHO_C" >&6
5989 cat >conftest.$ac_ext <<_ACEOF
5990 #line $LINENO "configure"
5991 #include "confdefs.h"
5992 /* System header to define __stub macros and hopefully few prototypes,
5993 which can conflict with char $ac_func (); below. */
5995 /* Override any gcc2 internal prototype to avoid an error. */
5999 /* We use char because int might match the return type of a gcc2
6000 builtin and then its argument prototype would still apply. */
6004 #ifdef F77_DUMMY_MAIN
6008 int F77_DUMMY_MAIN() { return 1; }
6013 /* The GNU C library defines this for functions which it implements
6014 to always fail with ENOSYS. Some functions are actually named
6015 something starting with __ and the normal name is an alias. */
6016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6026 rm -f conftest.$ac_objext conftest$ac_exeext
6027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6028 (eval $ac_link) 2>&5
6030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031 (exit $ac_status); } &&
6032 { ac_try='test -s conftest$ac_exeext'
6033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6037 (exit $ac_status); }; }; then
6038 eval "$as_ac_var=yes"
6040 echo "$as_me: failed program was:" >&5
6041 cat conftest.$ac_ext >&5
6042 eval "$as_ac_var=no"
6044 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6048 if test `eval echo '${'$as_ac_var'}'` = yes; then
6049 cat >>confdefs.h <<_ACEOF
6050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6055 echo "$as_me:$LINENO: checking for nanosleep in -lrt" >&5
6056 echo $ECHO_N "checking for nanosleep in -lrt... $ECHO_C" >&6
6057 if test "${ac_cv_lib_rt_nanosleep+set}" = set; then
6058 echo $ECHO_N "(cached) $ECHO_C" >&6
6060 ac_check_lib_save_LIBS=$LIBS
6062 cat >conftest.$ac_ext <<_ACEOF
6063 #line $LINENO "configure"
6064 #include "confdefs.h"
6066 /* Override any gcc2 internal prototype to avoid an error. */
6070 /* We use char because int might match the return type of a gcc2
6071 builtin and then its argument prototype would still apply. */
6073 #ifdef F77_DUMMY_MAIN
6077 int F77_DUMMY_MAIN() { return 1; }
6087 rm -f conftest.$ac_objext conftest$ac_exeext
6088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6089 (eval $ac_link) 2>&5
6091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6092 (exit $ac_status); } &&
6093 { ac_try='test -s conftest$ac_exeext'
6094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6098 (exit $ac_status); }; }; then
6099 ac_cv_lib_rt_nanosleep=yes
6101 echo "$as_me: failed program was:" >&5
6102 cat conftest.$ac_ext >&5
6103 ac_cv_lib_rt_nanosleep=no
6105 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6106 LIBS=$ac_check_lib_save_LIBS
6108 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_nanosleep" >&5
6109 echo "${ECHO_T}$ac_cv_lib_rt_nanosleep" >&6
6110 if test $ac_cv_lib_rt_nanosleep = yes; then
6111 vlc_LDFLAGS="${vlc_LDFLAGS} -lrt"
6113 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
6114 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
6115 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
6116 echo $ECHO_N "(cached) $ECHO_C" >&6
6118 ac_check_lib_save_LIBS=$LIBS
6119 LIBS="-lposix4 $LIBS"
6120 cat >conftest.$ac_ext <<_ACEOF
6121 #line $LINENO "configure"
6122 #include "confdefs.h"
6124 /* Override any gcc2 internal prototype to avoid an error. */
6128 /* We use char because int might match the return type of a gcc2
6129 builtin and then its argument prototype would still apply. */
6131 #ifdef F77_DUMMY_MAIN
6135 int F77_DUMMY_MAIN() { return 1; }
6145 rm -f conftest.$ac_objext conftest$ac_exeext
6146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6147 (eval $ac_link) 2>&5
6149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6150 (exit $ac_status); } &&
6151 { ac_try='test -s conftest$ac_exeext'
6152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6156 (exit $ac_status); }; }; then
6157 ac_cv_lib_posix4_nanosleep=yes
6159 echo "$as_me: failed program was:" >&5
6160 cat conftest.$ac_ext >&5
6161 ac_cv_lib_posix4_nanosleep=no
6163 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6164 LIBS=$ac_check_lib_save_LIBS
6166 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
6167 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
6168 if test $ac_cv_lib_posix4_nanosleep = yes; then
6169 vlc_LDFLAGS="${vlc_LDFLAGS} -lposix4"
6179 echo "$as_me:$LINENO: checking for inet_aton" >&5
6180 echo $ECHO_N "checking for inet_aton... $ECHO_C" >&6
6181 if test "${ac_cv_func_inet_aton+set}" = set; then
6182 echo $ECHO_N "(cached) $ECHO_C" >&6
6184 cat >conftest.$ac_ext <<_ACEOF
6185 #line $LINENO "configure"
6186 #include "confdefs.h"
6187 /* System header to define __stub macros and hopefully few prototypes,
6188 which can conflict with char inet_aton (); below. */
6190 /* Override any gcc2 internal prototype to avoid an error. */
6194 /* We use char because int might match the return type of a gcc2
6195 builtin and then its argument prototype would still apply. */
6199 #ifdef F77_DUMMY_MAIN
6203 int F77_DUMMY_MAIN() { return 1; }
6208 /* The GNU C library defines this for functions which it implements
6209 to always fail with ENOSYS. Some functions are actually named
6210 something starting with __ and the normal name is an alias. */
6211 #if defined (__stub_inet_aton) || defined (__stub___inet_aton)
6221 rm -f conftest.$ac_objext conftest$ac_exeext
6222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6223 (eval $ac_link) 2>&5
6225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6226 (exit $ac_status); } &&
6227 { ac_try='test -s conftest$ac_exeext'
6228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6232 (exit $ac_status); }; }; then
6233 ac_cv_func_inet_aton=yes
6235 echo "$as_me: failed program was:" >&5
6236 cat conftest.$ac_ext >&5
6237 ac_cv_func_inet_aton=no
6239 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6241 echo "$as_me:$LINENO: result: $ac_cv_func_inet_aton" >&5
6242 echo "${ECHO_T}$ac_cv_func_inet_aton" >&6
6243 if test $ac_cv_func_inet_aton = yes; then
6247 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
6248 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
6249 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
6250 echo $ECHO_N "(cached) $ECHO_C" >&6
6252 ac_check_lib_save_LIBS=$LIBS
6253 LIBS="-lresolv $LIBS"
6254 cat >conftest.$ac_ext <<_ACEOF
6255 #line $LINENO "configure"
6256 #include "confdefs.h"
6258 /* Override any gcc2 internal prototype to avoid an error. */
6262 /* We use char because int might match the return type of a gcc2
6263 builtin and then its argument prototype would still apply. */
6265 #ifdef F77_DUMMY_MAIN
6269 int F77_DUMMY_MAIN() { return 1; }
6279 rm -f conftest.$ac_objext conftest$ac_exeext
6280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6281 (eval $ac_link) 2>&5
6283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6284 (exit $ac_status); } &&
6285 { ac_try='test -s conftest$ac_exeext'
6286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 (exit $ac_status); }; }; then
6291 ac_cv_lib_resolv_inet_aton=yes
6293 echo "$as_me: failed program was:" >&5
6294 cat conftest.$ac_ext >&5
6295 ac_cv_lib_resolv_inet_aton=no
6297 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6298 LIBS=$ac_check_lib_save_LIBS
6300 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
6301 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
6302 if test $ac_cv_lib_resolv_inet_aton = yes; then
6303 ipv4_LDFLAGS="${ipv4_LDFLAGS} -lresolv"
6309 echo "$as_me:$LINENO: checking for textdomain" >&5
6310 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6
6311 if test "${ac_cv_func_textdomain+set}" = set; then
6312 echo $ECHO_N "(cached) $ECHO_C" >&6
6314 cat >conftest.$ac_ext <<_ACEOF
6315 #line $LINENO "configure"
6316 #include "confdefs.h"
6317 /* System header to define __stub macros and hopefully few prototypes,
6318 which can conflict with char textdomain (); below. */
6320 /* Override any gcc2 internal prototype to avoid an error. */
6324 /* We use char because int might match the return type of a gcc2
6325 builtin and then its argument prototype would still apply. */
6329 #ifdef F77_DUMMY_MAIN
6333 int F77_DUMMY_MAIN() { return 1; }
6338 /* The GNU C library defines this for functions which it implements
6339 to always fail with ENOSYS. Some functions are actually named
6340 something starting with __ and the normal name is an alias. */
6341 #if defined (__stub_textdomain) || defined (__stub___textdomain)
6351 rm -f conftest.$ac_objext conftest$ac_exeext
6352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6353 (eval $ac_link) 2>&5
6355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6356 (exit $ac_status); } &&
6357 { ac_try='test -s conftest$ac_exeext'
6358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6362 (exit $ac_status); }; }; then
6363 ac_cv_func_textdomain=yes
6365 echo "$as_me: failed program was:" >&5
6366 cat conftest.$ac_ext >&5
6367 ac_cv_func_textdomain=no
6369 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6371 echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5
6372 echo "${ECHO_T}$ac_cv_func_textdomain" >&6
6373 if test $ac_cv_func_textdomain = yes; then
6377 echo "$as_me:$LINENO: checking for textdomain in -lintl" >&5
6378 echo $ECHO_N "checking for textdomain in -lintl... $ECHO_C" >&6
6379 if test "${ac_cv_lib_intl_textdomain+set}" = set; then
6380 echo $ECHO_N "(cached) $ECHO_C" >&6
6382 ac_check_lib_save_LIBS=$LIBS
6384 cat >conftest.$ac_ext <<_ACEOF
6385 #line $LINENO "configure"
6386 #include "confdefs.h"
6388 /* Override any gcc2 internal prototype to avoid an error. */
6392 /* We use char because int might match the return type of a gcc2
6393 builtin and then its argument prototype would still apply. */
6395 #ifdef F77_DUMMY_MAIN
6399 int F77_DUMMY_MAIN() { return 1; }
6409 rm -f conftest.$ac_objext conftest$ac_exeext
6410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6411 (eval $ac_link) 2>&5
6413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6414 (exit $ac_status); } &&
6415 { ac_try='test -s conftest$ac_exeext'
6416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6420 (exit $ac_status); }; }; then
6421 ac_cv_lib_intl_textdomain=yes
6423 echo "$as_me: failed program was:" >&5
6424 cat conftest.$ac_ext >&5
6425 ac_cv_lib_intl_textdomain=no
6427 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6428 LIBS=$ac_check_lib_save_LIBS
6430 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_textdomain" >&5
6431 echo "${ECHO_T}$ac_cv_lib_intl_textdomain" >&6
6432 if test $ac_cv_lib_intl_textdomain = yes; then
6433 save_LDFLAGS="${save_LDFLAGS} -lintl"
6441 echo "$as_me:$LINENO: checking for getopt_long" >&5
6442 echo $ECHO_N "checking for getopt_long... $ECHO_C" >&6
6443 if test "${ac_cv_func_getopt_long+set}" = set; then
6444 echo $ECHO_N "(cached) $ECHO_C" >&6
6446 cat >conftest.$ac_ext <<_ACEOF
6447 #line $LINENO "configure"
6448 #include "confdefs.h"
6449 /* System header to define __stub macros and hopefully few prototypes,
6450 which can conflict with char getopt_long (); below. */
6452 /* Override any gcc2 internal prototype to avoid an error. */
6456 /* We use char because int might match the return type of a gcc2
6457 builtin and then its argument prototype would still apply. */
6458 char getopt_long ();
6461 #ifdef F77_DUMMY_MAIN
6465 int F77_DUMMY_MAIN() { return 1; }
6470 /* The GNU C library defines this for functions which it implements
6471 to always fail with ENOSYS. Some functions are actually named
6472 something starting with __ and the normal name is an alias. */
6473 #if defined (__stub_getopt_long) || defined (__stub___getopt_long)
6483 rm -f conftest.$ac_objext conftest$ac_exeext
6484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6485 (eval $ac_link) 2>&5
6487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6488 (exit $ac_status); } &&
6489 { ac_try='test -s conftest$ac_exeext'
6490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6494 (exit $ac_status); }; }; then
6495 ac_cv_func_getopt_long=yes
6497 echo "$as_me: failed program was:" >&5
6498 cat conftest.$ac_ext >&5
6499 ac_cv_func_getopt_long=no
6501 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6503 echo "$as_me:$LINENO: result: $ac_cv_func_getopt_long" >&5
6504 echo "${ECHO_T}$ac_cv_func_getopt_long" >&6
6505 if test $ac_cv_func_getopt_long = yes; then
6507 cat >>confdefs.h <<\_ACEOF
6508 #define HAVE_GETOPT_LONG 1
6512 # FreeBSD has a gnugetopt library for this:
6513 echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5
6514 echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6
6515 if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
6516 echo $ECHO_N "(cached) $ECHO_C" >&6
6518 ac_check_lib_save_LIBS=$LIBS
6519 LIBS="-lgnugetopt $LIBS"
6520 cat >conftest.$ac_ext <<_ACEOF
6521 #line $LINENO "configure"
6522 #include "confdefs.h"
6524 /* Override any gcc2 internal prototype to avoid an error. */
6528 /* We use char because int might match the return type of a gcc2
6529 builtin and then its argument prototype would still apply. */
6530 char getopt_long ();
6531 #ifdef F77_DUMMY_MAIN
6535 int F77_DUMMY_MAIN() { return 1; }
6545 rm -f conftest.$ac_objext conftest$ac_exeext
6546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6547 (eval $ac_link) 2>&5
6549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6550 (exit $ac_status); } &&
6551 { ac_try='test -s conftest$ac_exeext'
6552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6556 (exit $ac_status); }; }; then
6557 ac_cv_lib_gnugetopt_getopt_long=yes
6559 echo "$as_me: failed program was:" >&5
6560 cat conftest.$ac_ext >&5
6561 ac_cv_lib_gnugetopt_getopt_long=no
6563 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6564 LIBS=$ac_check_lib_save_LIBS
6566 echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
6567 echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6
6568 if test $ac_cv_lib_gnugetopt_getopt_long = yes; then
6570 cat >>confdefs.h <<\_ACEOF
6571 #define HAVE_GETOPT_LONG 1
6573 vlc_LDFLAGS="${vlc_LDFLAGS} -lgnugetopt"
6581 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6582 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
6583 if test "${ac_cv_type_signal+set}" = set; then
6584 echo $ECHO_N "(cached) $ECHO_C" >&6
6586 cat >conftest.$ac_ext <<_ACEOF
6587 #line $LINENO "configure"
6588 #include "confdefs.h"
6589 #include <sys/types.h>
6595 extern "C" void (*signal (int, void (*)(int)))(int);
6597 void (*signal ()) ();
6600 #ifdef F77_DUMMY_MAIN
6604 int F77_DUMMY_MAIN() { return 1; }
6614 rm -f conftest.$ac_objext
6615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6616 (eval $ac_compile) 2>&5
6618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619 (exit $ac_status); } &&
6620 { ac_try='test -s conftest.$ac_objext'
6621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6625 (exit $ac_status); }; }; then
6626 ac_cv_type_signal=void
6628 echo "$as_me: failed program was:" >&5
6629 cat conftest.$ac_ext >&5
6630 ac_cv_type_signal=int
6632 rm -f conftest.$ac_objext conftest.$ac_ext
6634 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6635 echo "${ECHO_T}$ac_cv_type_signal" >&6
6637 cat >>confdefs.h <<_ACEOF
6638 #define RETSIGTYPE $ac_cv_type_signal
6642 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
6643 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
6644 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
6645 echo $ECHO_N "(cached) $ECHO_C" >&6
6647 ac_check_lib_save_LIBS=$LIBS
6649 cat >conftest.$ac_ext <<_ACEOF
6650 #line $LINENO "configure"
6651 #include "confdefs.h"
6653 /* Override any gcc2 internal prototype to avoid an error. */
6657 /* We use char because int might match the return type of a gcc2
6658 builtin and then its argument prototype would still apply. */
6660 #ifdef F77_DUMMY_MAIN
6664 int F77_DUMMY_MAIN() { return 1; }
6674 rm -f conftest.$ac_objext conftest$ac_exeext
6675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6676 (eval $ac_link) 2>&5
6678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6679 (exit $ac_status); } &&
6680 { ac_try='test -s conftest$ac_exeext'
6681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6685 (exit $ac_status); }; }; then
6686 ac_cv_lib_dl_dlopen=yes
6688 echo "$as_me: failed program was:" >&5
6689 cat conftest.$ac_ext >&5
6690 ac_cv_lib_dl_dlopen=no
6692 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6693 LIBS=$ac_check_lib_save_LIBS
6695 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
6696 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
6697 if test $ac_cv_lib_dl_dlopen = yes; then
6698 vlc_LDFLAGS="${vlc_LDFLAGS} -ldl"
6701 echo "$as_me:$LINENO: checking for cos in -lm" >&5
6702 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
6703 if test "${ac_cv_lib_m_cos+set}" = set; then
6704 echo $ECHO_N "(cached) $ECHO_C" >&6
6706 ac_check_lib_save_LIBS=$LIBS
6708 cat >conftest.$ac_ext <<_ACEOF
6709 #line $LINENO "configure"
6710 #include "confdefs.h"
6712 /* Override any gcc2 internal prototype to avoid an error. */
6716 /* We use char because int might match the return type of a gcc2
6717 builtin and then its argument prototype would still apply. */
6719 #ifdef F77_DUMMY_MAIN
6723 int F77_DUMMY_MAIN() { return 1; }
6733 rm -f conftest.$ac_objext conftest$ac_exeext
6734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6735 (eval $ac_link) 2>&5
6737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6738 (exit $ac_status); } &&
6739 { ac_try='test -s conftest$ac_exeext'
6740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6744 (exit $ac_status); }; }; then
6747 echo "$as_me: failed program was:" >&5
6748 cat conftest.$ac_ext >&5
6751 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6752 LIBS=$ac_check_lib_save_LIBS
6754 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
6755 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
6756 if test $ac_cv_lib_m_cos = yes; then
6757 imdct_LDFLAGS="${imdct_LDFLAGS} -lm"
6758 filter_distort_LDFLAGS="${filter_distort_LDFLAGS} -lm"
6761 echo "$as_me:$LINENO: checking for pow in -lm" >&5
6762 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
6763 if test "${ac_cv_lib_m_pow+set}" = set; then
6764 echo $ECHO_N "(cached) $ECHO_C" >&6
6766 ac_check_lib_save_LIBS=$LIBS
6768 cat >conftest.$ac_ext <<_ACEOF
6769 #line $LINENO "configure"
6770 #include "confdefs.h"
6772 /* Override any gcc2 internal prototype to avoid an error. */
6776 /* We use char because int might match the return type of a gcc2
6777 builtin and then its argument prototype would still apply. */
6779 #ifdef F77_DUMMY_MAIN
6783 int F77_DUMMY_MAIN() { return 1; }
6793 rm -f conftest.$ac_objext conftest$ac_exeext
6794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6795 (eval $ac_link) 2>&5
6797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6798 (exit $ac_status); } &&
6799 { ac_try='test -s conftest$ac_exeext'
6800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6804 (exit $ac_status); }; }; then
6807 echo "$as_me: failed program was:" >&5
6808 cat conftest.$ac_ext >&5
6811 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6812 LIBS=$ac_check_lib_save_LIBS
6814 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
6815 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
6816 if test $ac_cv_lib_m_pow = yes; then
6817 imdct_LDFLAGS="${imdct_LDFLAGS} -lm"
6818 imdct3dn_LDFLAGS="${imdct3dn_LDFLAGS} -lm"
6819 imdctsse_LDFLAGS="${imdctsse_LDFLAGS} -lm"
6820 chroma_i420_rgb_LDFLAGS="${chroma_i420_rgb_LDFLAGS} -lm"
6826 if test "x${THREAD_LIB}" = xerror; then
6827 echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthread" >&5
6828 echo $ECHO_N "checking for pthread_attr_init in -lpthread... $ECHO_C" >&6
6829 if test "${ac_cv_lib_pthread_pthread_attr_init+set}" = set; then
6830 echo $ECHO_N "(cached) $ECHO_C" >&6
6832 ac_check_lib_save_LIBS=$LIBS
6833 LIBS="-lpthread $LIBS"
6834 cat >conftest.$ac_ext <<_ACEOF
6835 #line $LINENO "configure"
6836 #include "confdefs.h"
6838 /* Override any gcc2 internal prototype to avoid an error. */
6842 /* We use char because int might match the return type of a gcc2
6843 builtin and then its argument prototype would still apply. */
6844 char pthread_attr_init ();
6845 #ifdef F77_DUMMY_MAIN
6849 int F77_DUMMY_MAIN() { return 1; }
6854 pthread_attr_init ();
6859 rm -f conftest.$ac_objext conftest$ac_exeext
6860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6861 (eval $ac_link) 2>&5
6863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6864 (exit $ac_status); } &&
6865 { ac_try='test -s conftest$ac_exeext'
6866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6870 (exit $ac_status); }; }; then
6871 ac_cv_lib_pthread_pthread_attr_init=yes
6873 echo "$as_me: failed program was:" >&5
6874 cat conftest.$ac_ext >&5
6875 ac_cv_lib_pthread_pthread_attr_init=no
6877 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6878 LIBS=$ac_check_lib_save_LIBS
6880 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_attr_init" >&5
6881 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_attr_init" >&6
6882 if test $ac_cv_lib_pthread_pthread_attr_init = yes; then
6883 THREAD_LIB="-lpthread"
6887 if test "x${THREAD_LIB}" = xerror; then
6888 echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthreads" >&5
6889 echo $ECHO_N "checking for pthread_attr_init in -lpthreads... $ECHO_C" >&6
6890 if test "${ac_cv_lib_pthreads_pthread_attr_init+set}" = set; then
6891 echo $ECHO_N "(cached) $ECHO_C" >&6
6893 ac_check_lib_save_LIBS=$LIBS
6894 LIBS="-lpthreads $LIBS"
6895 cat >conftest.$ac_ext <<_ACEOF
6896 #line $LINENO "configure"
6897 #include "confdefs.h"
6899 /* Override any gcc2 internal prototype to avoid an error. */
6903 /* We use char because int might match the return type of a gcc2
6904 builtin and then its argument prototype would still apply. */
6905 char pthread_attr_init ();
6906 #ifdef F77_DUMMY_MAIN
6910 int F77_DUMMY_MAIN() { return 1; }
6915 pthread_attr_init ();
6920 rm -f conftest.$ac_objext conftest$ac_exeext
6921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6922 (eval $ac_link) 2>&5
6924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6925 (exit $ac_status); } &&
6926 { ac_try='test -s conftest$ac_exeext'
6927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6931 (exit $ac_status); }; }; then
6932 ac_cv_lib_pthreads_pthread_attr_init=yes
6934 echo "$as_me: failed program was:" >&5
6935 cat conftest.$ac_ext >&5
6936 ac_cv_lib_pthreads_pthread_attr_init=no
6938 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6939 LIBS=$ac_check_lib_save_LIBS
6941 echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_pthread_attr_init" >&5
6942 echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_attr_init" >&6
6943 if test $ac_cv_lib_pthreads_pthread_attr_init = yes; then
6944 THREAD_LIB="-lpthreads"
6948 if test "x${THREAD_LIB}" = xerror; then
6949 echo "$as_me:$LINENO: checking for pthread_attr_init in -lc_r" >&5
6950 echo $ECHO_N "checking for pthread_attr_init in -lc_r... $ECHO_C" >&6
6951 if test "${ac_cv_lib_c_r_pthread_attr_init+set}" = set; then
6952 echo $ECHO_N "(cached) $ECHO_C" >&6
6954 ac_check_lib_save_LIBS=$LIBS
6956 cat >conftest.$ac_ext <<_ACEOF
6957 #line $LINENO "configure"
6958 #include "confdefs.h"
6960 /* Override any gcc2 internal prototype to avoid an error. */
6964 /* We use char because int might match the return type of a gcc2
6965 builtin and then its argument prototype would still apply. */
6966 char pthread_attr_init ();
6967 #ifdef F77_DUMMY_MAIN
6971 int F77_DUMMY_MAIN() { return 1; }
6976 pthread_attr_init ();
6981 rm -f conftest.$ac_objext conftest$ac_exeext
6982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6983 (eval $ac_link) 2>&5
6985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6986 (exit $ac_status); } &&
6987 { ac_try='test -s conftest$ac_exeext'
6988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6992 (exit $ac_status); }; }; then
6993 ac_cv_lib_c_r_pthread_attr_init=yes
6995 echo "$as_me: failed program was:" >&5
6996 cat conftest.$ac_ext >&5
6997 ac_cv_lib_c_r_pthread_attr_init=no
6999 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7000 LIBS=$ac_check_lib_save_LIBS
7002 echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_attr_init" >&5
7003 echo "${ECHO_T}$ac_cv_lib_c_r_pthread_attr_init" >&6
7004 if test $ac_cv_lib_c_r_pthread_attr_init = yes; then
7009 if test "x${THREAD_LIB}" = xerror; then
7010 echo "$as_me:$LINENO: checking for pthread_attr_init" >&5
7011 echo $ECHO_N "checking for pthread_attr_init... $ECHO_C" >&6
7012 if test "${ac_cv_func_pthread_attr_init+set}" = set; then
7013 echo $ECHO_N "(cached) $ECHO_C" >&6
7015 cat >conftest.$ac_ext <<_ACEOF
7016 #line $LINENO "configure"
7017 #include "confdefs.h"
7018 /* System header to define __stub macros and hopefully few prototypes,
7019 which can conflict with char pthread_attr_init (); below. */
7021 /* Override any gcc2 internal prototype to avoid an error. */
7025 /* We use char because int might match the return type of a gcc2
7026 builtin and then its argument prototype would still apply. */
7027 char pthread_attr_init ();
7030 #ifdef F77_DUMMY_MAIN
7034 int F77_DUMMY_MAIN() { return 1; }
7039 /* The GNU C library defines this for functions which it implements
7040 to always fail with ENOSYS. Some functions are actually named
7041 something starting with __ and the normal name is an alias. */
7042 #if defined (__stub_pthread_attr_init) || defined (__stub___pthread_attr_init)
7045 f = pthread_attr_init;
7052 rm -f conftest.$ac_objext conftest$ac_exeext
7053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7054 (eval $ac_link) 2>&5
7056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7057 (exit $ac_status); } &&
7058 { ac_try='test -s conftest$ac_exeext'
7059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7063 (exit $ac_status); }; }; then
7064 ac_cv_func_pthread_attr_init=yes
7066 echo "$as_me: failed program was:" >&5
7067 cat conftest.$ac_ext >&5
7068 ac_cv_func_pthread_attr_init=no
7070 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7072 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_init" >&5
7073 echo "${ECHO_T}$ac_cv_func_pthread_attr_init" >&6
7078 echo "$as_me:$LINENO: checking for cthread_fork in -lthreads" >&5
7079 echo $ECHO_N "checking for cthread_fork in -lthreads... $ECHO_C" >&6
7080 if test "${ac_cv_lib_threads_cthread_fork+set}" = set; then
7081 echo $ECHO_N "(cached) $ECHO_C" >&6
7083 ac_check_lib_save_LIBS=$LIBS
7084 LIBS="-lthreads $LIBS"
7085 cat >conftest.$ac_ext <<_ACEOF
7086 #line $LINENO "configure"
7087 #include "confdefs.h"
7089 /* Override any gcc2 internal prototype to avoid an error. */
7093 /* We use char because int might match the return type of a gcc2
7094 builtin and then its argument prototype would still apply. */
7095 char cthread_fork ();
7096 #ifdef F77_DUMMY_MAIN
7100 int F77_DUMMY_MAIN() { return 1; }
7110 rm -f conftest.$ac_objext conftest$ac_exeext
7111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7112 (eval $ac_link) 2>&5
7114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7115 (exit $ac_status); } &&
7116 { ac_try='test -s conftest$ac_exeext'
7117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7121 (exit $ac_status); }; }; then
7122 ac_cv_lib_threads_cthread_fork=yes
7124 echo "$as_me: failed program was:" >&5
7125 cat conftest.$ac_ext >&5
7126 ac_cv_lib_threads_cthread_fork=no
7128 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7129 LIBS=$ac_check_lib_save_LIBS
7131 echo "$as_me:$LINENO: result: $ac_cv_lib_threads_cthread_fork" >&5
7132 echo "${ECHO_T}$ac_cv_lib_threads_cthread_fork" >&6
7133 if test $ac_cv_lib_threads_cthread_fork = yes; then
7134 THREAD_LIB="-lthreads"
7138 cat >conftest.$ac_ext <<_ACEOF
7139 #line $LINENO "configure"
7140 #include "confdefs.h"
7141 #include <pthread.h>
7144 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7145 egrep "pthread_cond_t" >/dev/null 2>&1; then
7148 cat >>confdefs.h <<\_ACEOF
7149 #define PTHREAD_COND_T_IN_PTHREAD_H 1
7155 cat >conftest.$ac_ext <<_ACEOF
7156 #line $LINENO "configure"
7157 #include "confdefs.h"
7158 #include <strings.h>
7161 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7162 egrep "strncasecmp" >/dev/null 2>&1; then
7165 cat >>confdefs.h <<\_ACEOF
7166 #define STRNCASECMP_IN_STRINGS_H 1
7175 for ac_header in getopt.h strings.h
7177 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7178 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7179 echo "$as_me:$LINENO: checking for $ac_header" >&5
7180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7182 echo $ECHO_N "(cached) $ECHO_C" >&6
7184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7185 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7187 # Is the header compilable?
7188 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7189 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7190 cat >conftest.$ac_ext <<_ACEOF
7191 #line $LINENO "configure"
7192 #include "confdefs.h"
7193 $ac_includes_default
7194 #include <$ac_header>
7196 rm -f conftest.$ac_objext
7197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7198 (eval $ac_compile) 2>&5
7200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7201 (exit $ac_status); } &&
7202 { ac_try='test -s conftest.$ac_objext'
7203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7207 (exit $ac_status); }; }; then
7208 ac_header_compiler=yes
7210 echo "$as_me: failed program was:" >&5
7211 cat conftest.$ac_ext >&5
7212 ac_header_compiler=no
7214 rm -f conftest.$ac_objext conftest.$ac_ext
7215 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7216 echo "${ECHO_T}$ac_header_compiler" >&6
7218 # Is the header present?
7219 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7220 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7221 cat >conftest.$ac_ext <<_ACEOF
7222 #line $LINENO "configure"
7223 #include "confdefs.h"
7224 #include <$ac_header>
7226 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7227 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7229 egrep -v '^ *\+' conftest.er1 >conftest.err
7231 cat conftest.err >&5
7232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7233 (exit $ac_status); } >/dev/null; then
7234 if test -s conftest.err; then
7235 ac_cpp_err=$ac_c_preproc_warn_flag
7242 if test -z "$ac_cpp_err"; then
7243 ac_header_preproc=yes
7245 echo "$as_me: failed program was:" >&5
7246 cat conftest.$ac_ext >&5
7247 ac_header_preproc=no
7249 rm -f conftest.err conftest.$ac_ext
7250 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7251 echo "${ECHO_T}$ac_header_preproc" >&6
7253 # So? What about this header?
7254 case $ac_header_compiler:$ac_header_preproc in
7256 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7257 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7258 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7259 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7261 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7262 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7263 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7264 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7265 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7266 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7268 echo "$as_me:$LINENO: checking for $ac_header" >&5
7269 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7270 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7271 echo $ECHO_N "(cached) $ECHO_C" >&6
7273 eval "$as_ac_Header=$ac_header_preproc"
7275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7276 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7279 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7280 cat >>confdefs.h <<_ACEOF
7281 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7293 for ac_header in sys/sockio.h fcntl.h sys/types.h sys/time.h sys/times.h
7295 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7297 echo "$as_me:$LINENO: checking for $ac_header" >&5
7298 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7299 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7300 echo $ECHO_N "(cached) $ECHO_C" >&6
7302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7303 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7305 # Is the header compilable?
7306 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7307 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7308 cat >conftest.$ac_ext <<_ACEOF
7309 #line $LINENO "configure"
7310 #include "confdefs.h"
7311 $ac_includes_default
7312 #include <$ac_header>
7314 rm -f conftest.$ac_objext
7315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7316 (eval $ac_compile) 2>&5
7318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7319 (exit $ac_status); } &&
7320 { ac_try='test -s conftest.$ac_objext'
7321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7325 (exit $ac_status); }; }; then
7326 ac_header_compiler=yes
7328 echo "$as_me: failed program was:" >&5
7329 cat conftest.$ac_ext >&5
7330 ac_header_compiler=no
7332 rm -f conftest.$ac_objext conftest.$ac_ext
7333 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7334 echo "${ECHO_T}$ac_header_compiler" >&6
7336 # Is the header present?
7337 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7338 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7339 cat >conftest.$ac_ext <<_ACEOF
7340 #line $LINENO "configure"
7341 #include "confdefs.h"
7342 #include <$ac_header>
7344 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7345 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7347 egrep -v '^ *\+' conftest.er1 >conftest.err
7349 cat conftest.err >&5
7350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7351 (exit $ac_status); } >/dev/null; then
7352 if test -s conftest.err; then
7353 ac_cpp_err=$ac_c_preproc_warn_flag
7360 if test -z "$ac_cpp_err"; then
7361 ac_header_preproc=yes
7363 echo "$as_me: failed program was:" >&5
7364 cat conftest.$ac_ext >&5
7365 ac_header_preproc=no
7367 rm -f conftest.err conftest.$ac_ext
7368 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7369 echo "${ECHO_T}$ac_header_preproc" >&6
7371 # So? What about this header?
7372 case $ac_header_compiler:$ac_header_preproc in
7374 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7375 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7376 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7377 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7379 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7380 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7381 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7382 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7383 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7384 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7386 echo "$as_me:$LINENO: checking for $ac_header" >&5
7387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7389 echo $ECHO_N "(cached) $ECHO_C" >&6
7391 eval "$as_ac_Header=$ac_header_preproc"
7393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7394 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7397 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7398 cat >>confdefs.h <<_ACEOF
7399 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7408 for ac_header in dlfcn.h image.h
7410 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7411 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7412 echo "$as_me:$LINENO: checking for $ac_header" >&5
7413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7415 echo $ECHO_N "(cached) $ECHO_C" >&6
7417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7418 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7420 # Is the header compilable?
7421 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7422 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7423 cat >conftest.$ac_ext <<_ACEOF
7424 #line $LINENO "configure"
7425 #include "confdefs.h"
7426 $ac_includes_default
7427 #include <$ac_header>
7429 rm -f conftest.$ac_objext
7430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7431 (eval $ac_compile) 2>&5
7433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7434 (exit $ac_status); } &&
7435 { ac_try='test -s conftest.$ac_objext'
7436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7440 (exit $ac_status); }; }; then
7441 ac_header_compiler=yes
7443 echo "$as_me: failed program was:" >&5
7444 cat conftest.$ac_ext >&5
7445 ac_header_compiler=no
7447 rm -f conftest.$ac_objext conftest.$ac_ext
7448 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7449 echo "${ECHO_T}$ac_header_compiler" >&6
7451 # Is the header present?
7452 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7453 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7454 cat >conftest.$ac_ext <<_ACEOF
7455 #line $LINENO "configure"
7456 #include "confdefs.h"
7457 #include <$ac_header>
7459 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7460 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7462 egrep -v '^ *\+' conftest.er1 >conftest.err
7464 cat conftest.err >&5
7465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7466 (exit $ac_status); } >/dev/null; then
7467 if test -s conftest.err; then
7468 ac_cpp_err=$ac_c_preproc_warn_flag
7475 if test -z "$ac_cpp_err"; then
7476 ac_header_preproc=yes
7478 echo "$as_me: failed program was:" >&5
7479 cat conftest.$ac_ext >&5
7480 ac_header_preproc=no
7482 rm -f conftest.err conftest.$ac_ext
7483 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7484 echo "${ECHO_T}$ac_header_preproc" >&6
7486 # So? What about this header?
7487 case $ac_header_compiler:$ac_header_preproc in
7489 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7490 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7491 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7492 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7494 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7495 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7496 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7497 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7498 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7499 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7501 echo "$as_me:$LINENO: checking for $ac_header" >&5
7502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7503 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7504 echo $ECHO_N "(cached) $ECHO_C" >&6
7506 eval "$as_ac_Header=$ac_header_preproc"
7508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7509 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7512 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7513 cat >>confdefs.h <<_ACEOF
7514 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7525 for ac_header in arpa/inet.h net/if.h netinet/in.h sys/socket.h
7527 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7529 echo "$as_me:$LINENO: checking for $ac_header" >&5
7530 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7532 echo $ECHO_N "(cached) $ECHO_C" >&6
7534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7535 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7537 # Is the header compilable?
7538 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7539 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7540 cat >conftest.$ac_ext <<_ACEOF
7541 #line $LINENO "configure"
7542 #include "confdefs.h"
7543 $ac_includes_default
7544 #include <$ac_header>
7546 rm -f conftest.$ac_objext
7547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7548 (eval $ac_compile) 2>&5
7550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7551 (exit $ac_status); } &&
7552 { ac_try='test -s conftest.$ac_objext'
7553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7557 (exit $ac_status); }; }; then
7558 ac_header_compiler=yes
7560 echo "$as_me: failed program was:" >&5
7561 cat conftest.$ac_ext >&5
7562 ac_header_compiler=no
7564 rm -f conftest.$ac_objext conftest.$ac_ext
7565 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7566 echo "${ECHO_T}$ac_header_compiler" >&6
7568 # Is the header present?
7569 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7570 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7571 cat >conftest.$ac_ext <<_ACEOF
7572 #line $LINENO "configure"
7573 #include "confdefs.h"
7574 #include <$ac_header>
7576 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7577 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7579 egrep -v '^ *\+' conftest.er1 >conftest.err
7581 cat conftest.err >&5
7582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7583 (exit $ac_status); } >/dev/null; then
7584 if test -s conftest.err; then
7585 ac_cpp_err=$ac_c_preproc_warn_flag
7592 if test -z "$ac_cpp_err"; then
7593 ac_header_preproc=yes
7595 echo "$as_me: failed program was:" >&5
7596 cat conftest.$ac_ext >&5
7597 ac_header_preproc=no
7599 rm -f conftest.err conftest.$ac_ext
7600 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7601 echo "${ECHO_T}$ac_header_preproc" >&6
7603 # So? What about this header?
7604 case $ac_header_compiler:$ac_header_preproc in
7606 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7607 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7608 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7609 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7611 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7612 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7613 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7614 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7615 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7616 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7618 echo "$as_me:$LINENO: checking for $ac_header" >&5
7619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7621 echo $ECHO_N "(cached) $ECHO_C" >&6
7623 eval "$as_ac_Header=$ac_header_preproc"
7625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7626 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7629 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7630 cat >>confdefs.h <<_ACEOF
7631 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7640 for ac_header in machine/param.h sys/shm.h
7642 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7643 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7644 echo "$as_me:$LINENO: checking for $ac_header" >&5
7645 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7646 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7647 echo $ECHO_N "(cached) $ECHO_C" >&6
7649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7650 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7652 # Is the header compilable?
7653 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7654 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7655 cat >conftest.$ac_ext <<_ACEOF
7656 #line $LINENO "configure"
7657 #include "confdefs.h"
7658 $ac_includes_default
7659 #include <$ac_header>
7661 rm -f conftest.$ac_objext
7662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7663 (eval $ac_compile) 2>&5
7665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7666 (exit $ac_status); } &&
7667 { ac_try='test -s conftest.$ac_objext'
7668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7672 (exit $ac_status); }; }; then
7673 ac_header_compiler=yes
7675 echo "$as_me: failed program was:" >&5
7676 cat conftest.$ac_ext >&5
7677 ac_header_compiler=no
7679 rm -f conftest.$ac_objext conftest.$ac_ext
7680 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7681 echo "${ECHO_T}$ac_header_compiler" >&6
7683 # Is the header present?
7684 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7685 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7686 cat >conftest.$ac_ext <<_ACEOF
7687 #line $LINENO "configure"
7688 #include "confdefs.h"
7689 #include <$ac_header>
7691 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7692 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7694 egrep -v '^ *\+' conftest.er1 >conftest.err
7696 cat conftest.err >&5
7697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7698 (exit $ac_status); } >/dev/null; then
7699 if test -s conftest.err; then
7700 ac_cpp_err=$ac_c_preproc_warn_flag
7707 if test -z "$ac_cpp_err"; then
7708 ac_header_preproc=yes
7710 echo "$as_me: failed program was:" >&5
7711 cat conftest.$ac_ext >&5
7712 ac_header_preproc=no
7714 rm -f conftest.err conftest.$ac_ext
7715 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7716 echo "${ECHO_T}$ac_header_preproc" >&6
7718 # So? What about this header?
7719 case $ac_header_compiler:$ac_header_preproc in
7721 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7722 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7723 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7724 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7726 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7727 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7728 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7729 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7730 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7731 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7733 echo "$as_me:$LINENO: checking for $ac_header" >&5
7734 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7735 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7736 echo $ECHO_N "(cached) $ECHO_C" >&6
7738 eval "$as_ac_Header=$ac_header_preproc"
7740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7741 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7744 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7745 cat >>confdefs.h <<_ACEOF
7746 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7754 for ac_header in linux/version.h
7756 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7757 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7758 echo "$as_me:$LINENO: checking for $ac_header" >&5
7759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7761 echo $ECHO_N "(cached) $ECHO_C" >&6
7763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7764 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7766 # Is the header compilable?
7767 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7768 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7769 cat >conftest.$ac_ext <<_ACEOF
7770 #line $LINENO "configure"
7771 #include "confdefs.h"
7772 $ac_includes_default
7773 #include <$ac_header>
7775 rm -f conftest.$ac_objext
7776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7777 (eval $ac_compile) 2>&5
7779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7780 (exit $ac_status); } &&
7781 { ac_try='test -s conftest.$ac_objext'
7782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7786 (exit $ac_status); }; }; then
7787 ac_header_compiler=yes
7789 echo "$as_me: failed program was:" >&5
7790 cat conftest.$ac_ext >&5
7791 ac_header_compiler=no
7793 rm -f conftest.$ac_objext conftest.$ac_ext
7794 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7795 echo "${ECHO_T}$ac_header_compiler" >&6
7797 # Is the header present?
7798 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7799 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7800 cat >conftest.$ac_ext <<_ACEOF
7801 #line $LINENO "configure"
7802 #include "confdefs.h"
7803 #include <$ac_header>
7805 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7806 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7808 egrep -v '^ *\+' conftest.er1 >conftest.err
7810 cat conftest.err >&5
7811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7812 (exit $ac_status); } >/dev/null; then
7813 if test -s conftest.err; then
7814 ac_cpp_err=$ac_c_preproc_warn_flag
7821 if test -z "$ac_cpp_err"; then
7822 ac_header_preproc=yes
7824 echo "$as_me: failed program was:" >&5
7825 cat conftest.$ac_ext >&5
7826 ac_header_preproc=no
7828 rm -f conftest.err conftest.$ac_ext
7829 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7830 echo "${ECHO_T}$ac_header_preproc" >&6
7832 # So? What about this header?
7833 case $ac_header_compiler:$ac_header_preproc in
7835 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7836 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7837 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7838 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7840 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7841 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7842 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7843 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7844 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7845 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7847 echo "$as_me:$LINENO: checking for $ac_header" >&5
7848 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7849 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7850 echo $ECHO_N "(cached) $ECHO_C" >&6
7852 eval "$as_ac_Header=$ac_header_preproc"
7854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7855 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7858 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7859 cat >>confdefs.h <<_ACEOF
7860 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7868 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
7869 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
7870 if test "${ac_cv_header_time+set}" = set; then
7871 echo $ECHO_N "(cached) $ECHO_C" >&6
7873 cat >conftest.$ac_ext <<_ACEOF
7874 #line $LINENO "configure"
7875 #include "confdefs.h"
7876 #include <sys/types.h>
7877 #include <sys/time.h>
7880 #ifdef F77_DUMMY_MAIN
7884 int F77_DUMMY_MAIN() { return 1; }
7889 if ((struct tm *) 0)
7895 rm -f conftest.$ac_objext
7896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7897 (eval $ac_compile) 2>&5
7899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7900 (exit $ac_status); } &&
7901 { ac_try='test -s conftest.$ac_objext'
7902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7906 (exit $ac_status); }; }; then
7907 ac_cv_header_time=yes
7909 echo "$as_me: failed program was:" >&5
7910 cat conftest.$ac_ext >&5
7911 ac_cv_header_time=no
7913 rm -f conftest.$ac_objext conftest.$ac_ext
7915 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
7916 echo "${ECHO_T}$ac_cv_header_time" >&6
7917 if test $ac_cv_header_time = yes; then
7919 cat >>confdefs.h <<\_ACEOF
7920 #define TIME_WITH_SYS_TIME 1
7926 echo "$as_me:$LINENO: checking whether nanosleep is declared" >&5
7927 echo $ECHO_N "checking whether nanosleep is declared... $ECHO_C" >&6
7928 if test "${ac_cv_have_decl_nanosleep+set}" = set; then
7929 echo $ECHO_N "(cached) $ECHO_C" >&6
7931 cat >conftest.$ac_ext <<_ACEOF
7932 #line $LINENO "configure"
7933 #include "confdefs.h"
7934 $ac_includes_default
7935 #ifdef F77_DUMMY_MAIN
7939 int F77_DUMMY_MAIN() { return 1; }
7945 char *p = (char *) nanosleep;
7952 rm -f conftest.$ac_objext
7953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7954 (eval $ac_compile) 2>&5
7956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7957 (exit $ac_status); } &&
7958 { ac_try='test -s conftest.$ac_objext'
7959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7963 (exit $ac_status); }; }; then
7964 ac_cv_have_decl_nanosleep=yes
7966 echo "$as_me: failed program was:" >&5
7967 cat conftest.$ac_ext >&5
7968 ac_cv_have_decl_nanosleep=no
7970 rm -f conftest.$ac_objext conftest.$ac_ext
7972 echo "$as_me:$LINENO: result: $ac_cv_have_decl_nanosleep" >&5
7973 echo "${ECHO_T}$ac_cv_have_decl_nanosleep" >&6
7974 if test $ac_cv_have_decl_nanosleep = yes; then
7976 cat >>confdefs.h <<_ACEOF
7977 #define HAVE_DECL_NANOSLEEP 1
7982 cat >>confdefs.h <<_ACEOF
7983 #define HAVE_DECL_NANOSLEEP 0
7991 echo "$as_me:$LINENO: checking for struct timespec" >&5
7992 echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6
7993 if test "${ac_cv_type_struct_timespec+set}" = set; then
7994 echo $ECHO_N "(cached) $ECHO_C" >&6
7996 cat >conftest.$ac_ext <<_ACEOF
7997 #line $LINENO "configure"
7998 #include "confdefs.h"
7999 $ac_includes_default
8000 #ifdef F77_DUMMY_MAIN
8004 int F77_DUMMY_MAIN() { return 1; }
8009 if ((struct timespec *) 0)
8011 if (sizeof (struct timespec))
8017 rm -f conftest.$ac_objext
8018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8019 (eval $ac_compile) 2>&5
8021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8022 (exit $ac_status); } &&
8023 { ac_try='test -s conftest.$ac_objext'
8024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8028 (exit $ac_status); }; }; then
8029 ac_cv_type_struct_timespec=yes
8031 echo "$as_me: failed program was:" >&5
8032 cat conftest.$ac_ext >&5
8033 ac_cv_type_struct_timespec=no
8035 rm -f conftest.$ac_objext conftest.$ac_ext
8037 echo "$as_me:$LINENO: result: $ac_cv_type_struct_timespec" >&5
8038 echo "${ECHO_T}$ac_cv_type_struct_timespec" >&6
8039 if test $ac_cv_type_struct_timespec = yes; then
8041 cat >>confdefs.h <<_ACEOF
8042 #define HAVE_STRUCT_TIMESPEC 1
8053 for ac_header in cthreads.h pthread.h kernel/scheduler.h kernel/OS.h
8055 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8057 echo "$as_me:$LINENO: checking for $ac_header" >&5
8058 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8059 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8060 echo $ECHO_N "(cached) $ECHO_C" >&6
8062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8063 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8065 # Is the header compilable?
8066 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8067 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8068 cat >conftest.$ac_ext <<_ACEOF
8069 #line $LINENO "configure"
8070 #include "confdefs.h"
8071 $ac_includes_default
8072 #include <$ac_header>
8074 rm -f conftest.$ac_objext
8075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8076 (eval $ac_compile) 2>&5
8078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8079 (exit $ac_status); } &&
8080 { ac_try='test -s conftest.$ac_objext'
8081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8085 (exit $ac_status); }; }; then
8086 ac_header_compiler=yes
8088 echo "$as_me: failed program was:" >&5
8089 cat conftest.$ac_ext >&5
8090 ac_header_compiler=no
8092 rm -f conftest.$ac_objext conftest.$ac_ext
8093 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8094 echo "${ECHO_T}$ac_header_compiler" >&6
8096 # Is the header present?
8097 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8098 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8099 cat >conftest.$ac_ext <<_ACEOF
8100 #line $LINENO "configure"
8101 #include "confdefs.h"
8102 #include <$ac_header>
8104 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8105 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8107 egrep -v '^ *\+' conftest.er1 >conftest.err
8109 cat conftest.err >&5
8110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8111 (exit $ac_status); } >/dev/null; then
8112 if test -s conftest.err; then
8113 ac_cpp_err=$ac_c_preproc_warn_flag
8120 if test -z "$ac_cpp_err"; then
8121 ac_header_preproc=yes
8123 echo "$as_me: failed program was:" >&5
8124 cat conftest.$ac_ext >&5
8125 ac_header_preproc=no
8127 rm -f conftest.err conftest.$ac_ext
8128 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8129 echo "${ECHO_T}$ac_header_preproc" >&6
8131 # So? What about this header?
8132 case $ac_header_compiler:$ac_header_preproc in
8134 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8135 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8136 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8137 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8139 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8140 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8141 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8142 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8143 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8144 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8146 echo "$as_me:$LINENO: checking for $ac_header" >&5
8147 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8148 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8149 echo $ECHO_N "(cached) $ECHO_C" >&6
8151 eval "$as_ac_Header=$ac_header_preproc"
8153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8154 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8157 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8158 cat >>confdefs.h <<_ACEOF
8159 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8167 if test x$SYS != xmingw32
8169 if test x$x_includes = xNONE; then
8170 x_includes=/usr/X11R6/include
8172 if test x$x_libraries = xNONE; then
8173 x_libraries=/usr/X11R6/lib
8175 CPPFLAGS="$save_CPPFLAGS -I$x_includes"
8177 for ac_header in X11/extensions/dpms.h
8179 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8181 echo "$as_me:$LINENO: checking for $ac_header" >&5
8182 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8183 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8184 echo $ECHO_N "(cached) $ECHO_C" >&6
8186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8187 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8189 # Is the header compilable?
8190 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8191 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8192 cat >conftest.$ac_ext <<_ACEOF
8193 #line $LINENO "configure"
8194 #include "confdefs.h"
8195 $ac_includes_default
8196 #include <$ac_header>
8198 rm -f conftest.$ac_objext
8199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8200 (eval $ac_compile) 2>&5
8202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8203 (exit $ac_status); } &&
8204 { ac_try='test -s conftest.$ac_objext'
8205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8209 (exit $ac_status); }; }; then
8210 ac_header_compiler=yes
8212 echo "$as_me: failed program was:" >&5
8213 cat conftest.$ac_ext >&5
8214 ac_header_compiler=no
8216 rm -f conftest.$ac_objext conftest.$ac_ext
8217 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8218 echo "${ECHO_T}$ac_header_compiler" >&6
8220 # Is the header present?
8221 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8222 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8223 cat >conftest.$ac_ext <<_ACEOF
8224 #line $LINENO "configure"
8225 #include "confdefs.h"
8226 #include <$ac_header>
8228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8229 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8231 egrep -v '^ *\+' conftest.er1 >conftest.err
8233 cat conftest.err >&5
8234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8235 (exit $ac_status); } >/dev/null; then
8236 if test -s conftest.err; then
8237 ac_cpp_err=$ac_c_preproc_warn_flag
8244 if test -z "$ac_cpp_err"; then
8245 ac_header_preproc=yes
8247 echo "$as_me: failed program was:" >&5
8248 cat conftest.$ac_ext >&5
8249 ac_header_preproc=no
8251 rm -f conftest.err conftest.$ac_ext
8252 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8253 echo "${ECHO_T}$ac_header_preproc" >&6
8255 # So? What about this header?
8256 case $ac_header_compiler:$ac_header_preproc in
8258 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8259 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8260 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8261 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8263 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8264 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8265 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8266 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8267 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8268 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8270 echo "$as_me:$LINENO: checking for $ac_header" >&5
8271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8272 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8273 echo $ECHO_N "(cached) $ECHO_C" >&6
8275 eval "$as_ac_Header=$ac_header_preproc"
8277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8278 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8281 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8282 cat >>confdefs.h <<_ACEOF
8283 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8286 cat >conftest.$ac_ext <<_ACEOF
8287 #line $LINENO "configure"
8288 #include "confdefs.h"
8289 #include <X11/extensions/dpms.h>
8292 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8293 egrep "DPMSInfo" >/dev/null 2>&1; then
8296 cat >>confdefs.h <<\_ACEOF
8297 #define DPMSINFO_IN_DPMS_H 1
8309 CPPFLAGS="$save_CPPFLAGS"
8312 echo "$as_me:$LINENO: checking for ntohl in sys/param.h" >&5
8313 echo $ECHO_N "checking for ntohl in sys/param.h... $ECHO_C" >&6
8314 if test "${ac_cv_c_ntohl_sys_param_h+set}" = set; then
8315 echo $ECHO_N "(cached) $ECHO_C" >&6
8317 CFLAGS="${save_CFLAGS} -Wall -Werror"
8318 cat >conftest.$ac_ext <<_ACEOF
8319 #line $LINENO "configure"
8320 #include "confdefs.h"
8321 #include <sys/param.h>
8322 #ifdef F77_DUMMY_MAIN
8326 int F77_DUMMY_MAIN() { return 1; }
8331 void foo() { int meuh; ntohl(meuh); }
8336 rm -f conftest.$ac_objext
8337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8338 (eval $ac_compile) 2>&5
8340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8341 (exit $ac_status); } &&
8342 { ac_try='test -s conftest.$ac_objext'
8343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8347 (exit $ac_status); }; }; then
8348 ac_cv_c_ntohl_sys_param_h=yes
8350 echo "$as_me: failed program was:" >&5
8351 cat conftest.$ac_ext >&5
8352 ac_cv_c_ntohl_sys_param_h=no
8354 rm -f conftest.$ac_objext conftest.$ac_ext
8356 echo "$as_me:$LINENO: result: $ac_cv_c_ntohl_sys_param_h" >&5
8357 echo "${ECHO_T}$ac_cv_c_ntohl_sys_param_h" >&6
8358 if test x"$ac_cv_c_ntohl_sys_param_h" != x"no"; then
8360 cat >>confdefs.h <<\_ACEOF
8361 #define NTOHL_IN_SYS_PARAM_H 1
8366 echo "$as_me:$LINENO: checking if \$CC accepts -finline-limit" >&5
8367 echo $ECHO_N "checking if \$CC accepts -finline-limit... $ECHO_C" >&6
8368 if test "${ac_cv_c_inline_limit+set}" = set; then
8369 echo $ECHO_N "(cached) $ECHO_C" >&6
8371 CFLAGS="${save_CFLAGS} -finline-limit-30000"
8372 cat >conftest.$ac_ext <<_ACEOF
8373 #line $LINENO "configure"
8374 #include "confdefs.h"
8376 #ifdef F77_DUMMY_MAIN
8380 int F77_DUMMY_MAIN() { return 1; }
8390 rm -f conftest.$ac_objext
8391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8392 (eval $ac_compile) 2>&5
8394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8395 (exit $ac_status); } &&
8396 { ac_try='test -s conftest.$ac_objext'
8397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8401 (exit $ac_status); }; }; then
8402 ac_cv_c_inline_limit=yes
8404 echo "$as_me: failed program was:" >&5
8405 cat conftest.$ac_ext >&5
8406 ac_cv_c_inline_limit=no
8408 rm -f conftest.$ac_objext conftest.$ac_ext
8410 echo "$as_me:$LINENO: result: $ac_cv_c_inline_limit" >&5
8411 echo "${ECHO_T}$ac_cv_c_inline_limit" >&6
8412 if test x"$ac_cv_c_inline_limit" != x"no"; then
8413 save_CFLAGS="${save_CFLAGS} -finline-limit-30000"
8416 echo "$as_me:$LINENO: checking if \$CC accepts -Wall -Winline" >&5
8417 echo $ECHO_N "checking if \$CC accepts -Wall -Winline... $ECHO_C" >&6
8418 if test "${ac_cv_c_Wall_Winline+set}" = set; then
8419 echo $ECHO_N "(cached) $ECHO_C" >&6
8421 CFLAGS="${save_CFLAGS} -Wall -Winline"
8422 cat >conftest.$ac_ext <<_ACEOF
8423 #line $LINENO "configure"
8424 #include "confdefs.h"
8426 #ifdef F77_DUMMY_MAIN
8430 int F77_DUMMY_MAIN() { return 1; }
8440 rm -f conftest.$ac_objext
8441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8442 (eval $ac_compile) 2>&5
8444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8445 (exit $ac_status); } &&
8446 { ac_try='test -s conftest.$ac_objext'
8447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8451 (exit $ac_status); }; }; then
8452 ac_cv_c_Wall_Winline=yes
8454 echo "$as_me: failed program was:" >&5
8455 cat conftest.$ac_ext >&5
8456 ac_cv_c_Wall_Winline=no
8458 rm -f conftest.$ac_objext conftest.$ac_ext
8460 echo "$as_me:$LINENO: result: $ac_cv_c_Wall_Winline" >&5
8461 echo "${ECHO_T}$ac_cv_c_Wall_Winline" >&6
8462 if test x"$ac_cv_c_Wall_Winline" != x"no"; then
8463 save_CFLAGS="${save_CFLAGS} -Wall -Winline"
8465 echo "$as_me:$LINENO: checking if \$CC accepts -wall -winline" >&5
8466 echo $ECHO_N "checking if \$CC accepts -wall -winline... $ECHO_C" >&6
8467 if test "${ac_cv_c_wall_winline+set}" = set; then
8468 echo $ECHO_N "(cached) $ECHO_C" >&6
8470 CFLAGS="${save_CFLAGS} -wall -winline"
8471 cat >conftest.$ac_ext <<_ACEOF
8472 #line $LINENO "configure"
8473 #include "confdefs.h"
8475 #ifdef F77_DUMMY_MAIN
8479 int F77_DUMMY_MAIN() { return 1; }
8489 rm -f conftest.$ac_objext
8490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8491 (eval $ac_compile) 2>&5
8493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8494 (exit $ac_status); } &&
8495 { ac_try='test -s conftest.$ac_objext'
8496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8500 (exit $ac_status); }; }; then
8501 ac_cv_c_wall_winline=yes
8503 echo "$as_me: failed program was:" >&5
8504 cat conftest.$ac_ext >&5
8505 ac_cv_c_wall_winline=no
8507 rm -f conftest.$ac_objext conftest.$ac_ext
8509 echo "$as_me:$LINENO: result: $ac_cv_c_wall_winline" >&5
8510 echo "${ECHO_T}$ac_cv_c_wall_winline" >&6
8511 if test x"$ac_cv_c_wall_winline" != x"no"; then
8512 save_CFLAGS="${save_CFLAGS} -wall -winline"
8516 echo "$as_me:$LINENO: checking if \$CC accepts -pipe" >&5
8517 echo $ECHO_N "checking if \$CC accepts -pipe... $ECHO_C" >&6
8518 if test "${ac_cv_c_pipe+set}" = set; then
8519 echo $ECHO_N "(cached) $ECHO_C" >&6
8521 CFLAGS="${save_CFLAGS} -pipe"
8522 cat >conftest.$ac_ext <<_ACEOF
8523 #line $LINENO "configure"
8524 #include "confdefs.h"
8526 #ifdef F77_DUMMY_MAIN
8530 int F77_DUMMY_MAIN() { return 1; }
8540 rm -f conftest.$ac_objext
8541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8542 (eval $ac_compile) 2>&5
8544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8545 (exit $ac_status); } &&
8546 { ac_try='test -s conftest.$ac_objext'
8547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8551 (exit $ac_status); }; }; then
8554 echo "$as_me: failed program was:" >&5
8555 cat conftest.$ac_ext >&5
8558 rm -f conftest.$ac_objext conftest.$ac_ext
8560 echo "$as_me:$LINENO: result: $ac_cv_c_pipe" >&5
8561 echo "${ECHO_T}$ac_cv_c_pipe" >&6
8562 if test x"$ac_cv_c_pipe" != x"no"; then
8563 save_CFLAGS="${save_CFLAGS} -pipe"
8566 echo "$as_me:$LINENO: checking if \$CC accepts -O3" >&5
8567 echo $ECHO_N "checking if \$CC accepts -O3... $ECHO_C" >&6
8568 if test "${ac_cv_c_o3+set}" = set; then
8569 echo $ECHO_N "(cached) $ECHO_C" >&6
8571 CFLAGS="${save_CFLAGS} -O3"
8572 cat >conftest.$ac_ext <<_ACEOF
8573 #line $LINENO "configure"
8574 #include "confdefs.h"
8576 #ifdef F77_DUMMY_MAIN
8580 int F77_DUMMY_MAIN() { return 1; }
8590 rm -f conftest.$ac_objext
8591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8592 (eval $ac_compile) 2>&5
8594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8595 (exit $ac_status); } &&
8596 { ac_try='test -s conftest.$ac_objext'
8597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8601 (exit $ac_status); }; }; then
8604 echo "$as_me: failed program was:" >&5
8605 cat conftest.$ac_ext >&5
8608 rm -f conftest.$ac_objext conftest.$ac_ext
8610 echo "$as_me:$LINENO: result: $ac_cv_c_o3" >&5
8611 echo "${ECHO_T}$ac_cv_c_o3" >&6
8612 if test x"$ac_cv_c_o3" != x"no"; then
8613 CFLAGS_OPTIM="${CFLAGS_OPTIM} -O3"
8615 echo "$as_me:$LINENO: checking if \$CC accepts -O2" >&5
8616 echo $ECHO_N "checking if \$CC accepts -O2... $ECHO_C" >&6
8617 if test "${ac_cv_c_o2+set}" = set; then
8618 echo $ECHO_N "(cached) $ECHO_C" >&6
8620 CFLAGS="${save_CFLAGS} -O2"
8621 cat >conftest.$ac_ext <<_ACEOF
8622 #line $LINENO "configure"
8623 #include "confdefs.h"
8625 #ifdef F77_DUMMY_MAIN
8629 int F77_DUMMY_MAIN() { return 1; }
8639 rm -f conftest.$ac_objext
8640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8641 (eval $ac_compile) 2>&5
8643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8644 (exit $ac_status); } &&
8645 { ac_try='test -s conftest.$ac_objext'
8646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8650 (exit $ac_status); }; }; then
8653 echo "$as_me: failed program was:" >&5
8654 cat conftest.$ac_ext >&5
8657 rm -f conftest.$ac_objext conftest.$ac_ext
8659 echo "$as_me:$LINENO: result: $ac_cv_c_o2" >&5
8660 echo "${ECHO_T}$ac_cv_c_o2" >&6
8661 if test x"$ac_cv_c_o2" != x"no"; then
8662 CFLAGS_OPTIM="${CFLAGS_OPTIM} -O2"
8664 echo "$as_me:$LINENO: checking if \$CC accepts -O" >&5
8665 echo $ECHO_N "checking if \$CC accepts -O... $ECHO_C" >&6
8666 if test "${ac_cv_c_o+set}" = set; then
8667 echo $ECHO_N "(cached) $ECHO_C" >&6
8669 CFLAGS="${save_CFLAGS} -O"
8670 cat >conftest.$ac_ext <<_ACEOF
8671 #line $LINENO "configure"
8672 #include "confdefs.h"
8674 #ifdef F77_DUMMY_MAIN
8678 int F77_DUMMY_MAIN() { return 1; }
8688 rm -f conftest.$ac_objext
8689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8690 (eval $ac_compile) 2>&5
8692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8693 (exit $ac_status); } &&
8694 { ac_try='test -s conftest.$ac_objext'
8695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8699 (exit $ac_status); }; }; then
8702 echo "$as_me: failed program was:" >&5
8703 cat conftest.$ac_ext >&5
8706 rm -f conftest.$ac_objext conftest.$ac_ext
8708 echo "$as_me:$LINENO: result: $ac_cv_c_o" >&5
8709 echo "${ECHO_T}$ac_cv_c_o" >&6
8710 if test x"$ac_cv_c_o" != x"no"; then
8711 CFLAGS_OPTIM="${CFLAGS_OPTIM} -O"
8716 echo "$as_me:$LINENO: checking if \$CC accepts -ffast-math" >&5
8717 echo $ECHO_N "checking if \$CC accepts -ffast-math... $ECHO_C" >&6
8718 if test "${ac_cv_c_fast_math+set}" = set; then
8719 echo $ECHO_N "(cached) $ECHO_C" >&6
8721 CFLAGS="${save_CFLAGS} -ffast-math"
8722 cat >conftest.$ac_ext <<_ACEOF
8723 #line $LINENO "configure"
8724 #include "confdefs.h"
8726 #ifdef F77_DUMMY_MAIN
8730 int F77_DUMMY_MAIN() { return 1; }
8740 rm -f conftest.$ac_objext
8741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8742 (eval $ac_compile) 2>&5
8744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8745 (exit $ac_status); } &&
8746 { ac_try='test -s conftest.$ac_objext'
8747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8751 (exit $ac_status); }; }; then
8752 ac_cv_c_fast_math=yes
8754 echo "$as_me: failed program was:" >&5
8755 cat conftest.$ac_ext >&5
8756 ac_cv_c_fast_math=no
8758 rm -f conftest.$ac_objext conftest.$ac_ext
8760 echo "$as_me:$LINENO: result: $ac_cv_c_fast_math" >&5
8761 echo "${ECHO_T}$ac_cv_c_fast_math" >&6
8762 if test x"$ac_cv_c_fast_math" != x"no"; then
8763 CFLAGS_OPTIM="${CFLAGS_OPTIM} -ffast-math"
8766 echo "$as_me:$LINENO: checking if \$CC accepts -funroll-loops" >&5
8767 echo $ECHO_N "checking if \$CC accepts -funroll-loops... $ECHO_C" >&6
8768 if test "${ac_cv_c_unroll_loops+set}" = set; then
8769 echo $ECHO_N "(cached) $ECHO_C" >&6
8771 CFLAGS="${save_CFLAGS} -funroll-loops"
8772 cat >conftest.$ac_ext <<_ACEOF
8773 #line $LINENO "configure"
8774 #include "confdefs.h"
8776 #ifdef F77_DUMMY_MAIN
8780 int F77_DUMMY_MAIN() { return 1; }
8790 rm -f conftest.$ac_objext
8791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8792 (eval $ac_compile) 2>&5
8794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8795 (exit $ac_status); } &&
8796 { ac_try='test -s conftest.$ac_objext'
8797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8801 (exit $ac_status); }; }; then
8802 ac_cv_c_unroll_loops=yes
8804 echo "$as_me: failed program was:" >&5
8805 cat conftest.$ac_ext >&5
8806 ac_cv_c_unroll_loops=no
8808 rm -f conftest.$ac_objext conftest.$ac_ext
8810 echo "$as_me:$LINENO: result: $ac_cv_c_unroll_loops" >&5
8811 echo "${ECHO_T}$ac_cv_c_unroll_loops" >&6
8812 if test x"$ac_cv_c_unroll_loops" != x"no"; then
8813 CFLAGS_OPTIM="${CFLAGS_OPTIM} -funroll-loops"
8816 echo "$as_me:$LINENO: checking if \$CC accepts -fomit-frame-pointer" >&5
8817 echo $ECHO_N "checking if \$CC accepts -fomit-frame-pointer... $ECHO_C" >&6
8818 if test "${ac_cv_c_omit_frame_pointer+set}" = set; then
8819 echo $ECHO_N "(cached) $ECHO_C" >&6
8821 CFLAGS="${save_CFLAGS} -fomit-frame-pointer"
8822 cat >conftest.$ac_ext <<_ACEOF
8823 #line $LINENO "configure"
8824 #include "confdefs.h"
8826 #ifdef F77_DUMMY_MAIN
8830 int F77_DUMMY_MAIN() { return 1; }
8840 rm -f conftest.$ac_objext
8841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8842 (eval $ac_compile) 2>&5
8844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8845 (exit $ac_status); } &&
8846 { ac_try='test -s conftest.$ac_objext'
8847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8851 (exit $ac_status); }; }; then
8852 ac_cv_c_omit_frame_pointer=yes
8854 echo "$as_me: failed program was:" >&5
8855 cat conftest.$ac_ext >&5
8856 ac_cv_c_omit_frame_pointer=no
8858 rm -f conftest.$ac_objext conftest.$ac_ext
8860 echo "$as_me:$LINENO: result: $ac_cv_c_omit_frame_pointer" >&5
8861 echo "${ECHO_T}$ac_cv_c_omit_frame_pointer" >&6
8862 if test x"$ac_cv_c_omit_frame_pointer" != x"no"; then
8863 CFLAGS_OPTIM_NODEBUG="${CFLAGS_OPTIM_NODEBUG} -fomit-frame-pointer"
8866 echo "$as_me:$LINENO: checking if \$CC accepts -bundle -undefined error -lcc_dynamic" >&5
8867 echo $ECHO_N "checking if \$CC accepts -bundle -undefined error -lcc_dynamic... $ECHO_C" >&6
8868 if test "${ac_cv_ld_darwin+set}" = set; then
8869 echo $ECHO_N "(cached) $ECHO_C" >&6
8871 CFLAGS="${save_CFLAGS} -bundle -undefined error -lcc_dynamic"
8872 cat >conftest.$ac_ext <<_ACEOF
8873 #line $LINENO "configure"
8874 #include "confdefs.h"
8876 #ifdef F77_DUMMY_MAIN
8880 int F77_DUMMY_MAIN() { return 1; }
8890 rm -f conftest.$ac_objext
8891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8892 (eval $ac_compile) 2>&5
8894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8895 (exit $ac_status); } &&
8896 { ac_try='test -s conftest.$ac_objext'
8897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8901 (exit $ac_status); }; }; then
8904 echo "$as_me: failed program was:" >&5
8905 cat conftest.$ac_ext >&5
8908 rm -f conftest.$ac_objext conftest.$ac_ext
8910 echo "$as_me:$LINENO: result: $ac_cv_ld_darwin" >&5
8911 echo "${ECHO_T}$ac_cv_ld_darwin" >&6
8912 if test x"$ac_cv_ld_darwin" != x"no"; then
8913 plugins_LDFLAGS="${plugins_LDFLAGS} -bundle -undefined error -lcc_dynamic"
8916 echo "$as_me:$LINENO: checking if \$CC accepts -shared" >&5
8917 echo $ECHO_N "checking if \$CC accepts -shared... $ECHO_C" >&6
8918 if test "${ac_cv_ld_plugins+set}" = set; then
8919 echo $ECHO_N "(cached) $ECHO_C" >&6
8921 CFLAGS="${save_CFLAGS} -shared"
8922 cat >conftest.$ac_ext <<_ACEOF
8923 #line $LINENO "configure"
8924 #include "confdefs.h"
8926 #ifdef F77_DUMMY_MAIN
8930 int F77_DUMMY_MAIN() { return 1; }
8940 rm -f conftest.$ac_objext
8941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8942 (eval $ac_compile) 2>&5
8944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8945 (exit $ac_status); } &&
8946 { ac_try='test -s conftest.$ac_objext'
8947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8951 (exit $ac_status); }; }; then
8952 ac_cv_ld_plugins=yes
8954 echo "$as_me: failed program was:" >&5
8955 cat conftest.$ac_ext >&5
8958 rm -f conftest.$ac_objext conftest.$ac_ext
8960 echo "$as_me:$LINENO: result: $ac_cv_ld_plugins" >&5
8961 echo "${ECHO_T}$ac_cv_ld_plugins" >&6
8962 if test x"$ac_cv_ld_plugins" != x"no"; then
8963 plugins_LDFLAGS="${plugins_LDFLAGS} -shared"
8966 echo "$as_me:$LINENO: checking for variadic cpp macros" >&5
8967 echo $ECHO_N "checking for variadic cpp macros... $ECHO_C" >&6
8968 if test "${ac_cv_cpp_variadic_macros+set}" = set; then
8969 echo $ECHO_N "(cached) $ECHO_C" >&6
8971 CFLAGS="${save_CFLAGS}"
8972 cat >conftest.$ac_ext <<_ACEOF
8973 #line $LINENO "configure"
8974 #include "confdefs.h"
8976 #define a(b,c...) printf(b,##c)
8977 #ifdef F77_DUMMY_MAIN
8981 int F77_DUMMY_MAIN() { return 1; }
8986 a("foo");a("%s","bar");a("%s%s","baz","quux");
8991 rm -f conftest.$ac_objext
8992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8993 (eval $ac_compile) 2>&5
8995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8996 (exit $ac_status); } &&
8997 { ac_try='test -s conftest.$ac_objext'
8998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9002 (exit $ac_status); }; }; then
9003 ac_cv_cpp_variadic_macros=yes
9005 echo "$as_me: failed program was:" >&5
9006 cat conftest.$ac_ext >&5
9007 ac_cv_cpp_variadic_macros=no
9009 rm -f conftest.$ac_objext conftest.$ac_ext
9011 echo "$as_me:$LINENO: result: $ac_cv_cpp_variadic_macros" >&5
9012 echo "${ECHO_T}$ac_cv_cpp_variadic_macros" >&6
9013 if test x"$ac_cv_cpp_variadic_macros" != x"no"; then
9015 cat >>confdefs.h <<\_ACEOF
9016 #define HAVE_VARIADIC_MACROS 1
9021 echo "$as_me:$LINENO: checking __attribute__ ((aligned ())) support" >&5
9022 echo $ECHO_N "checking __attribute__ ((aligned ())) support... $ECHO_C" >&6
9023 if test "${ac_cv_c_attribute_aligned+set}" = set; then
9024 echo $ECHO_N "(cached) $ECHO_C" >&6
9026 ac_cv_c_attribute_aligned=0
9027 CFLAGS="${save_CFLAGS} -Werror"
9028 for ac_cv_c_attr_align_try in 2 4 8 16 32 64; do
9029 cat >conftest.$ac_ext <<_ACEOF
9030 #line $LINENO "configure"
9031 #include "confdefs.h"
9033 #ifdef F77_DUMMY_MAIN
9037 int F77_DUMMY_MAIN() { return 1; }
9042 static char c __attribute__ ((aligned($ac_cv_c_attr_align_try))) = 0; return c;
9047 rm -f conftest.$ac_objext
9048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9049 (eval $ac_compile) 2>&5
9051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9052 (exit $ac_status); } &&
9053 { ac_try='test -s conftest.$ac_objext'
9054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9058 (exit $ac_status); }; }; then
9059 ac_cv_c_attribute_aligned=$ac_cv_c_attr_align_try
9061 echo "$as_me: failed program was:" >&5
9062 cat conftest.$ac_ext >&5
9064 rm -f conftest.$ac_objext conftest.$ac_ext
9067 echo "$as_me:$LINENO: result: $ac_cv_c_attribute_aligned" >&5
9068 echo "${ECHO_T}$ac_cv_c_attribute_aligned" >&6
9069 if test x"$ac_cv_c_attribute_aligned" != x"0"; then
9071 cat >>confdefs.h <<_ACEOF
9072 #define ATTRIBUTE_ALIGNED_MAX $ac_cv_c_attribute_aligned
9077 CFLAGS="${save_CFLAGS}"
9078 CPPFLAGS="${save_CPPFLAGS}"
9079 LDFLAGS="${save_LDFLAGS}"
9081 echo "$as_me:$LINENO: checking for boolean_t in sys/types.h" >&5
9082 echo $ECHO_N "checking for boolean_t in sys/types.h... $ECHO_C" >&6
9083 if test "${ac_cv_c_boolean_t_sys_types_h+set}" = set; then
9084 echo $ECHO_N "(cached) $ECHO_C" >&6
9086 cat >conftest.$ac_ext <<_ACEOF
9087 #line $LINENO "configure"
9088 #include "confdefs.h"
9089 #include <sys/types.h>
9090 #ifdef F77_DUMMY_MAIN
9094 int F77_DUMMY_MAIN() { return 1; }
9104 rm -f conftest.$ac_objext
9105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9106 (eval $ac_compile) 2>&5
9108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9109 (exit $ac_status); } &&
9110 { ac_try='test -s conftest.$ac_objext'
9111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9115 (exit $ac_status); }; }; then
9116 ac_cv_c_boolean_t_sys_types_h=yes
9118 echo "$as_me: failed program was:" >&5
9119 cat conftest.$ac_ext >&5
9120 ac_cv_c_boolean_t_sys_types_h=no
9122 rm -f conftest.$ac_objext conftest.$ac_ext
9124 echo "$as_me:$LINENO: result: $ac_cv_c_boolean_t_sys_types_h" >&5
9125 echo "${ECHO_T}$ac_cv_c_boolean_t_sys_types_h" >&6
9126 if test x"$ac_cv_c_boolean_t_sys_types_h" != x"no"; then
9128 cat >>confdefs.h <<\_ACEOF
9129 #define BOOLEAN_T_IN_SYS_TYPES_H 1
9134 echo "$as_me:$LINENO: checking for boolean_t in pthread.h" >&5
9135 echo $ECHO_N "checking for boolean_t in pthread.h... $ECHO_C" >&6
9136 if test "${ac_cv_c_boolean_t_pthread_h+set}" = set; then
9137 echo $ECHO_N "(cached) $ECHO_C" >&6
9139 cat >conftest.$ac_ext <<_ACEOF
9140 #line $LINENO "configure"
9141 #include "confdefs.h"
9142 #include <pthread.h>
9143 #ifdef F77_DUMMY_MAIN
9147 int F77_DUMMY_MAIN() { return 1; }
9157 rm -f conftest.$ac_objext
9158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9159 (eval $ac_compile) 2>&5
9161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9162 (exit $ac_status); } &&
9163 { ac_try='test -s conftest.$ac_objext'
9164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9168 (exit $ac_status); }; }; then
9169 ac_cv_c_boolean_t_pthread_h=yes
9171 echo "$as_me: failed program was:" >&5
9172 cat conftest.$ac_ext >&5
9173 ac_cv_c_boolean_t_pthread_h=no
9175 rm -f conftest.$ac_objext conftest.$ac_ext
9177 echo "$as_me:$LINENO: result: $ac_cv_c_boolean_t_pthread_h" >&5
9178 echo "${ECHO_T}$ac_cv_c_boolean_t_pthread_h" >&6
9179 if test x"$ac_cv_c_boolean_t_pthread_h" != x"no"; then
9181 cat >>confdefs.h <<\_ACEOF
9182 #define BOOLEAN_T_IN_PTHREAD_H 1
9187 echo "$as_me:$LINENO: checking for boolean_t in cthreads.h" >&5
9188 echo $ECHO_N "checking for boolean_t in cthreads.h... $ECHO_C" >&6
9189 if test "${ac_cv_c_boolean_t_cthreads_h+set}" = set; then
9190 echo $ECHO_N "(cached) $ECHO_C" >&6
9192 cat >conftest.$ac_ext <<_ACEOF
9193 #line $LINENO "configure"
9194 #include "confdefs.h"
9195 #include <cthreads.h>
9196 #ifdef F77_DUMMY_MAIN
9200 int F77_DUMMY_MAIN() { return 1; }
9210 rm -f conftest.$ac_objext
9211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9212 (eval $ac_compile) 2>&5
9214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9215 (exit $ac_status); } &&
9216 { ac_try='test -s conftest.$ac_objext'
9217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9221 (exit $ac_status); }; }; then
9222 ac_cv_c_boolean_t_cthreads_h=yes
9224 echo "$as_me: failed program was:" >&5
9225 cat conftest.$ac_ext >&5
9226 ac_cv_c_boolean_t_cthreads_h=no
9228 rm -f conftest.$ac_objext conftest.$ac_ext
9230 echo "$as_me:$LINENO: result: $ac_cv_c_boolean_t_cthreads_h" >&5
9231 echo "${ECHO_T}$ac_cv_c_boolean_t_cthreads_h" >&6
9232 if test x"$ac_cv_c_boolean_t_cthreads_h" != x"no"; then
9234 cat >>confdefs.h <<\_ACEOF
9235 #define BOOLEAN_T_IN_CTHREADS_H 1
9240 case x"${target_cpu}" in
9245 ARCH="${target_cpu}"
9249 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"
9250 PLUGINS="${PLUGINS} dummy null rc logger mpeg_es mpeg_ps mpeg_ts mpeg_audio file udp http ipv4 memcpy lpcm_adec ac3_spdif spudec filter_deinterlace filter_invert filter_wall filter_transform filter_distort filter_clone fx_scope"
9252 MMX_MODULES="memcpymmx idctmmx motionmmx chroma_i420_rgb_mmx chroma_i420_yuy2_mmx chroma_i422_yuy2_mmx chroma_i420_ymga_mmx"
9253 MMXEXT_MODULES="memcpymmxext idctmmxext motionmmxext"
9254 THREEDNOW_MODULES="memcpy3dn imdct3dn downmix3dn"
9255 SSE_MODULES="imdctsse downmixsse"
9256 ALTIVEC_MODULES="idctaltivec motionaltivec memcpyaltivec"
9258 echo "$as_me:$LINENO: checking if \$CC groks MMX inline assembly" >&5
9259 echo $ECHO_N "checking if \$CC groks MMX inline assembly... $ECHO_C" >&6
9260 if test "${ac_cv_mmx_inline+set}" = set; then
9261 echo $ECHO_N "(cached) $ECHO_C" >&6
9263 cat >conftest.$ac_ext <<_ACEOF
9264 #line $LINENO "configure"
9265 #include "confdefs.h"
9267 #ifdef F77_DUMMY_MAIN
9271 int F77_DUMMY_MAIN() { return 1; }
9276 void *p;asm volatile("packuswb %%mm1,%%mm2"::"r"(p));
9281 rm -f conftest.$ac_objext
9282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9283 (eval $ac_compile) 2>&5
9285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9286 (exit $ac_status); } &&
9287 { ac_try='test -s conftest.$ac_objext'
9288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9292 (exit $ac_status); }; }; then
9293 ac_cv_mmx_inline=yes
9295 echo "$as_me: failed program was:" >&5
9296 cat conftest.$ac_ext >&5
9299 rm -f conftest.$ac_objext conftest.$ac_ext
9301 echo "$as_me:$LINENO: result: $ac_cv_mmx_inline" >&5
9302 echo "${ECHO_T}$ac_cv_mmx_inline" >&6
9303 if test x"$ac_cv_mmx_inline" != x"no"; then
9304 ACCEL_MODULES="${ACCEL_MODULES} ${MMX_MODULES}"
9307 echo "$as_me:$LINENO: checking if \$CC groks MMX EXT inline assembly" >&5
9308 echo $ECHO_N "checking if \$CC groks MMX EXT inline assembly... $ECHO_C" >&6
9309 if test "${ac_cv_mmxext_inline+set}" = set; then
9310 echo $ECHO_N "(cached) $ECHO_C" >&6
9312 cat >conftest.$ac_ext <<_ACEOF
9313 #line $LINENO "configure"
9314 #include "confdefs.h"
9316 #ifdef F77_DUMMY_MAIN
9320 int F77_DUMMY_MAIN() { return 1; }
9325 void *p;asm volatile("maskmovq %%mm1,%%mm2"::"r"(p));
9330 rm -f conftest.$ac_objext
9331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9332 (eval $ac_compile) 2>&5
9334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9335 (exit $ac_status); } &&
9336 { ac_try='test -s conftest.$ac_objext'
9337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9341 (exit $ac_status); }; }; then
9342 ac_cv_mmxext_inline=yes
9344 echo "$as_me: failed program was:" >&5
9345 cat conftest.$ac_ext >&5
9346 ac_cv_mmxext_inline=no
9348 rm -f conftest.$ac_objext conftest.$ac_ext
9350 echo "$as_me:$LINENO: result: $ac_cv_mmxext_inline" >&5
9351 echo "${ECHO_T}$ac_cv_mmxext_inline" >&6
9352 if test x"$ac_cv_mmxext_inline" != x"no"; then
9353 ACCEL_MODULES="${ACCEL_MODULES} ${MMXEXT_MODULES}"
9356 echo "$as_me:$LINENO: checking if \$CC groks 3D Now! inline assembly" >&5
9357 echo $ECHO_N "checking if \$CC groks 3D Now! inline assembly... $ECHO_C" >&6
9358 if test "${ac_cv_3dnow_inline+set}" = set; then
9359 echo $ECHO_N "(cached) $ECHO_C" >&6
9361 cat >conftest.$ac_ext <<_ACEOF
9362 #line $LINENO "configure"
9363 #include "confdefs.h"
9365 #ifdef F77_DUMMY_MAIN
9369 int F77_DUMMY_MAIN() { return 1; }
9374 void *p;asm volatile("pfadd %%mm1,%%mm2"::"r"(p));
9379 rm -f conftest.$ac_objext
9380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9381 (eval $ac_compile) 2>&5
9383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9384 (exit $ac_status); } &&
9385 { ac_try='test -s conftest.$ac_objext'
9386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9390 (exit $ac_status); }; }; then
9391 ac_cv_3dnow_inline=yes
9393 echo "$as_me: failed program was:" >&5
9394 cat conftest.$ac_ext >&5
9395 ac_cv_3dnow_inline=no
9397 rm -f conftest.$ac_objext conftest.$ac_ext
9399 echo "$as_me:$LINENO: result: $ac_cv_3dnow_inline" >&5
9400 echo "${ECHO_T}$ac_cv_3dnow_inline" >&6
9401 if test x"$ac_cv_3dnow_inline" != x"no"; then
9403 cat >>confdefs.h <<\_ACEOF
9404 #define CAN_COMPILE_3DNOW 1
9407 ACCEL_MODULES="${ACCEL_MODULES} ${THREEDNOW_MODULES}"
9410 echo "$as_me:$LINENO: checking if \$CC groks SSE inline assembly" >&5
9411 echo $ECHO_N "checking if \$CC groks SSE inline assembly... $ECHO_C" >&6
9412 if test "${ac_cv_sse_inline+set}" = set; then
9413 echo $ECHO_N "(cached) $ECHO_C" >&6
9415 cat >conftest.$ac_ext <<_ACEOF
9416 #line $LINENO "configure"
9417 #include "confdefs.h"
9419 #ifdef F77_DUMMY_MAIN
9423 int F77_DUMMY_MAIN() { return 1; }
9428 void *p;asm volatile("xorps %%xmm1,%%xmm2"::"r"(p));
9433 rm -f conftest.$ac_objext
9434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9435 (eval $ac_compile) 2>&5
9437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9438 (exit $ac_status); } &&
9439 { ac_try='test -s conftest.$ac_objext'
9440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9444 (exit $ac_status); }; }; then
9445 ac_cv_sse_inline=yes
9447 echo "$as_me: failed program was:" >&5
9448 cat conftest.$ac_ext >&5
9451 rm -f conftest.$ac_objext conftest.$ac_ext
9453 echo "$as_me:$LINENO: result: $ac_cv_sse_inline" >&5
9454 echo "${ECHO_T}$ac_cv_sse_inline" >&6
9455 if test x"$ac_cv_sse_inline" != x"no" -a x$SYS != xmingw32; then
9457 cat >>confdefs.h <<\_ACEOF
9458 #define CAN_COMPILE_SSE 1
9461 ACCEL_MODULES="${ACCEL_MODULES} ${SSE_MODULES}"
9464 # don't try to grok altivec with native mingw32 it doesn't work right now
9465 # we should be able to remove this test with future versions of mingw32
9466 if test x$SYS != xmingw32; then
9467 echo "$as_me:$LINENO: checking if \$CC groks Altivec inline assembly" >&5
9468 echo $ECHO_N "checking if \$CC groks Altivec inline assembly... $ECHO_C" >&6
9469 if test "${ac_cv_altivec_inline+set}" = set; then
9470 echo $ECHO_N "(cached) $ECHO_C" >&6
9472 cat >conftest.$ac_ext <<_ACEOF
9473 #line $LINENO "configure"
9474 #include "confdefs.h"
9476 #ifdef F77_DUMMY_MAIN
9480 int F77_DUMMY_MAIN() { return 1; }
9485 asm volatile("vperm 0,1,2,3");
9490 rm -f conftest.$ac_objext
9491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9492 (eval $ac_compile) 2>&5
9494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9495 (exit $ac_status); } &&
9496 { ac_try='test -s conftest.$ac_objext'
9497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9501 (exit $ac_status); }; }; then
9502 ac_cv_altivec_inline=yes
9504 echo "$as_me: failed program was:" >&5
9505 cat conftest.$ac_ext >&5
9507 CFLAGS="$CFLAGS -Wa,-m7400"
9508 cat >conftest.$ac_ext <<_ACEOF
9509 #line $LINENO "configure"
9510 #include "confdefs.h"
9512 #ifdef F77_DUMMY_MAIN
9516 int F77_DUMMY_MAIN() { return 1; }
9521 asm volatile("vperm 0,1,2,3");
9526 rm -f conftest.$ac_objext
9527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9528 (eval $ac_compile) 2>&5
9530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9531 (exit $ac_status); } &&
9532 { ac_try='test -s conftest.$ac_objext'
9533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9537 (exit $ac_status); }; }; then
9538 ac_cv_altivec_inline="-Wa,-m7400"
9540 echo "$as_me: failed program was:" >&5
9541 cat conftest.$ac_ext >&5
9542 ac_cv_altivec_inline=no
9544 rm -f conftest.$ac_objext conftest.$ac_ext
9548 rm -f conftest.$ac_objext conftest.$ac_ext
9550 echo "$as_me:$LINENO: result: $ac_cv_altivec_inline" >&5
9551 echo "${ECHO_T}$ac_cv_altivec_inline" >&6
9552 if test x"$ac_cv_altivec_inline" != x"no"; then
9554 cat >>confdefs.h <<\_ACEOF
9555 #define CAN_COMPILE_ALTIVEC 1
9558 if test x"$ac_cv_altivec_inline" != x"yes"; then
9559 idctaltivec_CFLAGS="$idctaltivec_CFLAGS $ac_cv_altivec_inline"
9560 motionaltivec_CFLAGS="$motionaltivec_CFLAGS $ac_cv_altivec_inline"
9561 memcpyaltivec_CFLAGS="$memcpyaltivec_CFLAGS $ac_cv_altivec_inline"
9562 vlc_CFLAGS="$vlc_CFLAGS $ac_cv_altivec_inline"
9564 ACCEL_MODULES="${ACCEL_MODULES} ${ALTIVEC_MODULES}"
9567 echo "$as_me:$LINENO: checking if \$CC groks Altivec C extensions" >&5
9568 echo $ECHO_N "checking if \$CC groks Altivec C extensions... $ECHO_C" >&6
9569 if test "${ac_cv_c_altivec+set}" = set; then
9570 echo $ECHO_N "(cached) $ECHO_C" >&6
9573 CFLAGS="$CFLAGS -faltivec"
9575 cat >conftest.$ac_ext <<_ACEOF
9576 #line $LINENO "configure"
9577 #include "confdefs.h"
9579 #ifdef F77_DUMMY_MAIN
9583 int F77_DUMMY_MAIN() { return 1; }
9588 vec_mtvscr((vector unsigned int)(0));
9593 rm -f conftest.$ac_objext
9594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9595 (eval $ac_compile) 2>&5
9597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9598 (exit $ac_status); } &&
9599 { ac_try='test -s conftest.$ac_objext'
9600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9604 (exit $ac_status); }; }; then
9605 ac_cv_c_altivec=-faltivec
9607 echo "$as_me: failed program was:" >&5
9608 cat conftest.$ac_ext >&5
9611 CFLAGS="$save_CFLAGS $idctaltivec_CFLAGS -fvec"
9612 cat >conftest.$ac_ext <<_ACEOF
9613 #line $LINENO "configure"
9614 #include "confdefs.h"
9616 #ifdef F77_DUMMY_MAIN
9620 int F77_DUMMY_MAIN() { return 1; }
9625 vec_mtvscr((vector unsigned int)(0));
9630 rm -f conftest.$ac_objext
9631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9632 (eval $ac_compile) 2>&5
9634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9635 (exit $ac_status); } &&
9636 { ac_try='test -s conftest.$ac_objext'
9637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9641 (exit $ac_status); }; }; then
9642 ac_cv_c_altivec="-fvec"
9644 echo "$as_me: failed program was:" >&5
9645 cat conftest.$ac_ext >&5
9648 rm -f conftest.$ac_objext conftest.$ac_ext
9651 rm -f conftest.$ac_objext conftest.$ac_ext
9655 echo "$as_me:$LINENO: result: $ac_cv_c_altivec" >&5
9656 echo "${ECHO_T}$ac_cv_c_altivec" >&6
9657 if test x"$ac_cv_c_altivec" != x"no"; then
9659 cat >>confdefs.h <<\_ACEOF
9660 #define CAN_COMPILE_C_ALTIVEC 1
9663 idctaltivec_CFLAGS="$idctaltivec_CFLAGS $ac_cv_c_altivec"
9664 motionaltivec_CFLAGS="$motionaltivec_CFLAGS $ac_cv_c_altivec"
9665 memcpyaltivec_CFLAGS="$memcpyaltivec_CFLAGS $ac_cv_c_altivec"
9666 vlc_CFLAGS="$vlc_CFLAGS $ac_cv_c_altivec"
9667 ACCEL_MODULES="${ACCEL_MODULES} ${ALTIVEC_MODULES}"
9670 echo "$as_me:$LINENO: checking if linker needs -framework vecLib" >&5
9671 echo $ECHO_N "checking if linker needs -framework vecLib... $ECHO_C" >&6
9672 if test "${ac_cv_ld_altivec+set}" = set; then
9673 echo $ECHO_N "(cached) $ECHO_C" >&6
9675 save_LDFLAGS=$LDFLAGS
9676 LDFLAGS="$LDFLAGS -framework vecLib"
9677 cat >conftest.$ac_ext <<_ACEOF
9678 #line $LINENO "configure"
9679 #include "confdefs.h"
9681 #ifdef F77_DUMMY_MAIN
9685 int F77_DUMMY_MAIN() { return 1; }
9695 rm -f conftest.$ac_objext conftest$ac_exeext
9696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9697 (eval $ac_link) 2>&5
9699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9700 (exit $ac_status); } &&
9701 { ac_try='test -s conftest$ac_exeext'
9702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9706 (exit $ac_status); }; }; then
9707 ac_cv_ld_altivec=yes
9709 echo "$as_me: failed program was:" >&5
9710 cat conftest.$ac_ext >&5
9713 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9714 LDFLAGS=$save_LDFLAGS
9717 echo "$as_me:$LINENO: result: $ac_cv_ld_altivec" >&5
9718 echo "${ECHO_T}$ac_cv_ld_altivec" >&6
9719 if test x"$ac_cv_ld_altivec" != x"no"; then
9720 idctaltivec_LDFLAGS="${idctaltivec_LDFLAGS} -framework vecLib"
9721 motionaltivec_LDFLAGS="${motionaltivec_LDFLAGS} -framework vecLib"
9722 memcpyaltivec_LDFLAGS="${memcpyaltivec_LDFLAGS} -framework vecLib"
9723 vlc_LDFLAGS="${vlc_LDFLAGS} -framework vecLib"
9729 # Check whether --with- or --without- was given.
9730 if test "${with_+set}" = set; then
9735 # Check whether --with- or --without- was given.
9736 if test "${with_+set}" = set; then
9742 # Check whether --with-tuning or --without-tuning was given.
9743 if test "${with_tuning+set}" = set; then
9744 withval="$with_tuning"
9747 if test "x$with_tuning" != "x"; then
9748 TUNING="$with_tuning"
9750 if test x${target_cpu} = xi686 -o x${target_cpu} = xi586 -o x${target_cpu} = xi486 -o x${target_cpu} = xi386; then TUNING="pentiumpro"
9752 if test x${target_cpu} = xpowerpc; then TUNING="750"; fi
9756 if test x${target_cpu} = xi686 -o x${target_cpu} = xi586 -o x${target_cpu} = xx86 -o x${target_cpu} = xi386
9759 BUILTINS="${BUILTINS} ${ACCEL_MODULES}"
9762 # Check whether --enable-optimizations or --disable-optimizations was given.
9763 if test "${enable_optimizations+set}" = set; then
9764 enableval="$enable_optimizations"
9765 if test x$enable_optimizations = xno; then OPTIMS=0; fi
9770 # Check whether --enable-altivec or --disable-altivec was given.
9771 if test "${enable_altivec+set}" = set; then
9772 enableval="$enable_altivec"
9773 if test x$enable_altivec = xyes; then ARCH="${ARCH} altivec";
9774 BUILTINS="${BUILTINS} ${ACCEL_MODULES}"; fi
9776 if test x${target_cpu} = xpowerpc; then ARCH="${ARCH} altivec";
9777 BUILTINS="${BUILTINS} ${ACCEL_MODULES}"; fi
9781 # Check whether --enable-debug or --disable-debug was given.
9782 if test "${enable_debug+set}" = set; then
9783 enableval="$enable_debug"
9784 if test x$enable_debug = xyes; then DEBUG=1; fi
9788 # Check whether --enable-release or --disable-release was given.
9789 if test "${enable_release+set}" = set; then
9790 enableval="$enable_release"
9791 if test x$enable_release = xyes; then RELEASE=1; fi
9793 VERSION="${VERSION}_`date +%Y-%m-%d`"
9798 # Check whether --with- or --without- was given.
9799 if test "${with_+set}" = set; then
9804 # Check whether --enable-dvd or --disable-dvd was given.
9805 if test "${enable_dvd+set}" = set; then
9806 enableval="$enable_dvd"
9809 if test "x$enable_dvd" != "xno"
9812 # Check whether --with-dvdcss or --without-dvdcss was given.
9813 if test "${with_dvdcss+set}" = set; then
9814 withval="$with_dvdcss"
9818 # Check whether --with-dvdcss-tree or --without-dvdcss-tree was given.
9819 if test "${with_dvdcss_tree+set}" = set; then
9820 withval="$with_dvdcss_tree"
9823 case "x$with_dvdcss" in
9825 if test "x$with_dvdcss_tree" = x
9828 for ac_header in dvdcss/dvdcss.h
9830 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9831 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9832 echo "$as_me:$LINENO: checking for $ac_header" >&5
9833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9834 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9835 echo $ECHO_N "(cached) $ECHO_C" >&6
9837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9838 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9840 # Is the header compilable?
9841 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9842 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9843 cat >conftest.$ac_ext <<_ACEOF
9844 #line $LINENO "configure"
9845 #include "confdefs.h"
9846 $ac_includes_default
9847 #include <$ac_header>
9849 rm -f conftest.$ac_objext
9850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9851 (eval $ac_compile) 2>&5
9853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9854 (exit $ac_status); } &&
9855 { ac_try='test -s conftest.$ac_objext'
9856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9860 (exit $ac_status); }; }; then
9861 ac_header_compiler=yes
9863 echo "$as_me: failed program was:" >&5
9864 cat conftest.$ac_ext >&5
9865 ac_header_compiler=no
9867 rm -f conftest.$ac_objext conftest.$ac_ext
9868 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9869 echo "${ECHO_T}$ac_header_compiler" >&6
9871 # Is the header present?
9872 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9873 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9874 cat >conftest.$ac_ext <<_ACEOF
9875 #line $LINENO "configure"
9876 #include "confdefs.h"
9877 #include <$ac_header>
9879 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9880 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9882 egrep -v '^ *\+' conftest.er1 >conftest.err
9884 cat conftest.err >&5
9885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9886 (exit $ac_status); } >/dev/null; then
9887 if test -s conftest.err; then
9888 ac_cpp_err=$ac_c_preproc_warn_flag
9895 if test -z "$ac_cpp_err"; then
9896 ac_header_preproc=yes
9898 echo "$as_me: failed program was:" >&5
9899 cat conftest.$ac_ext >&5
9900 ac_header_preproc=no
9902 rm -f conftest.err conftest.$ac_ext
9903 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9904 echo "${ECHO_T}$ac_header_preproc" >&6
9906 # So? What about this header?
9907 case $ac_header_compiler:$ac_header_preproc in
9909 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9910 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9911 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9912 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9914 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9915 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9916 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9917 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9918 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9919 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9921 echo "$as_me:$LINENO: checking for $ac_header" >&5
9922 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9924 echo $ECHO_N "(cached) $ECHO_C" >&6
9926 eval "$as_ac_Header=$ac_header_preproc"
9928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9929 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9932 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9933 cat >>confdefs.h <<_ACEOF
9934 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9936 PLUGINS="${PLUGINS} dvd"
9937 dvd_LDFLAGS="${dvd_LDFLAGS} -ldvdcss"
9939 { 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
9940 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;}
9941 { { echo "$as_me:$LINENO: error: cannot find libdvdcss headers" >&5
9942 echo "$as_me: error: cannot find libdvdcss headers" >&2;}
9943 { (exit 1); exit 1; }; }
9949 echo "$as_me:$LINENO: checking for libdvdcss.a in ${with_dvdcss_tree}" >&5
9950 echo $ECHO_N "checking for libdvdcss.a in ${with_dvdcss_tree}... $ECHO_C" >&6
9951 real_dvdcss_tree="`cd ${with_dvdcss_tree} 2>/dev/null && pwd`"
9952 if test "x$real_dvdcss_tree" = x
9954 echo "$as_me:$LINENO: result: no" >&5
9955 echo "${ECHO_T}no" >&6
9956 { { echo "$as_me:$LINENO: error: cannot cd to ${with_dvdcss_tree}" >&5
9957 echo "$as_me: error: cannot cd to ${with_dvdcss_tree}" >&2;}
9958 { (exit 1); exit 1; }; }
9960 if test -f "${real_dvdcss_tree}/src/.libs/libdvdcss.a"
9962 echo "$as_me:$LINENO: result: ${real_dvdcss_tree}/src/.libs/libdvdcss.a" >&5
9963 echo "${ECHO_T}${real_dvdcss_tree}/src/.libs/libdvdcss.a" >&6
9964 BUILTINS="${BUILTINS} dvd"
9965 dvd_LDFLAGS="${dvd_LDFLAGS} ${real_dvdcss_tree}/src/.libs/libdvdcss.a"
9966 dvd_CFLAGS="${dvd_CFLAGS} -I${real_dvdcss_tree}/src"
9968 echo "$as_me:$LINENO: result: no" >&5
9969 echo "${ECHO_T}no" >&6
9970 { { echo "$as_me:$LINENO: error: cannot find ${real_dvdcss_tree}/src/.libs/libdvdcss.a, make sure you compiled libdvdcss in ${with_dvdcss_tree}" >&5
9971 echo "$as_me: error: cannot find ${real_dvdcss_tree}/src/.libs/libdvdcss.a, make sure you compiled libdvdcss in ${with_dvdcss_tree}" >&2;}
9972 { (exit 1); exit 1; }; }
9977 PLUGINS="${PLUGINS} dvd"
9978 dvd_CFLAGS="${dvd_CFLAGS} -DGOD_DAMN_DMCA"
9979 dvd_LDFLAGS="${dvd_LDFLAGS} -ldl"
9982 echo "$as_me:$LINENO: checking for dvdcss headers in ${with_dvdcss}" >&5
9983 echo $ECHO_N "checking for dvdcss headers in ${with_dvdcss}... $ECHO_C" >&6
9984 if test -f ${with_dvdcss}/include/dvdcss/dvdcss.h
9986 echo "$as_me:$LINENO: result: yes" >&5
9987 echo "${ECHO_T}yes" >&6
9988 PLUGINS="${PLUGINS} dvd"
9989 dvd_LDFLAGS="${dvd_LDFLAGS} -L${with_dvdcss}/lib -ldvdcss"
9990 dvd_CFLAGS="${dvd_CFLAGS} -I${with_dvdcss}/include"
9992 echo "$as_me:$LINENO: result: no" >&5
9993 echo "${ECHO_T}no" >&6
9994 { { echo "$as_me:$LINENO: error: cannot find ${with_dvdcss}/include/dvdcss/dvdcss.h" >&5
9995 echo "$as_me: error: cannot find ${with_dvdcss}/include/dvdcss/dvdcss.h" >&2;}
9996 { (exit 1); exit 1; }; }
10002 # Check whether --enable-dvdread or --disable-dvdread was given.
10003 if test "${enable_dvdread+set}" = set; then
10004 enableval="$enable_dvdread"
10007 if test "x$enable_dvdread" != "xno"
10010 # Check whether --with-dvdread or --without-dvdread was given.
10011 if test "${with_dvdread+set}" = set; then
10012 withval="$with_dvdread"
10015 if test "x$with_dvdread" = x
10020 test_LDFLAGS="-L${with_dvdread}/lib"
10021 test_CFLAGS="-I${with_dvdread}/include"
10023 CPPFLAGS="$save_CPPFLAGS $test_CFLAGS"
10025 for ac_header in dvdread/dvd_reader.h
10027 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10028 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10029 echo "$as_me:$LINENO: checking for $ac_header" >&5
10030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10031 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10032 echo $ECHO_N "(cached) $ECHO_C" >&6
10034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10035 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10037 # Is the header compilable?
10038 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10039 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10040 cat >conftest.$ac_ext <<_ACEOF
10041 #line $LINENO "configure"
10042 #include "confdefs.h"
10043 $ac_includes_default
10044 #include <$ac_header>
10046 rm -f conftest.$ac_objext
10047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10048 (eval $ac_compile) 2>&5
10050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10051 (exit $ac_status); } &&
10052 { ac_try='test -s conftest.$ac_objext'
10053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10054 (eval $ac_try) 2>&5
10056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10057 (exit $ac_status); }; }; then
10058 ac_header_compiler=yes
10060 echo "$as_me: failed program was:" >&5
10061 cat conftest.$ac_ext >&5
10062 ac_header_compiler=no
10064 rm -f conftest.$ac_objext conftest.$ac_ext
10065 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10066 echo "${ECHO_T}$ac_header_compiler" >&6
10068 # Is the header present?
10069 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10070 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10071 cat >conftest.$ac_ext <<_ACEOF
10072 #line $LINENO "configure"
10073 #include "confdefs.h"
10074 #include <$ac_header>
10076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10077 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10079 egrep -v '^ *\+' conftest.er1 >conftest.err
10081 cat conftest.err >&5
10082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10083 (exit $ac_status); } >/dev/null; then
10084 if test -s conftest.err; then
10085 ac_cpp_err=$ac_c_preproc_warn_flag
10092 if test -z "$ac_cpp_err"; then
10093 ac_header_preproc=yes
10095 echo "$as_me: failed program was:" >&5
10096 cat conftest.$ac_ext >&5
10097 ac_header_preproc=no
10099 rm -f conftest.err conftest.$ac_ext
10100 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10101 echo "${ECHO_T}$ac_header_preproc" >&6
10103 # So? What about this header?
10104 case $ac_header_compiler:$ac_header_preproc in
10106 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10107 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10108 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10109 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10111 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10112 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10113 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10114 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10115 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10116 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10118 echo "$as_me:$LINENO: checking for $ac_header" >&5
10119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10121 echo $ECHO_N "(cached) $ECHO_C" >&6
10123 eval "$as_ac_Header=$ac_header_preproc"
10125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10126 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10129 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10130 cat >>confdefs.h <<_ACEOF
10131 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10134 cat >conftest.$ac_ext <<_ACEOF
10135 #line $LINENO "configure"
10136 #include "confdefs.h"
10137 #include <dvdread/dvd_reader.h>
10138 #ifdef F77_DUMMY_MAIN
10139 # ifdef __cplusplus
10142 int F77_DUMMY_MAIN() { return 1; }
10147 void foo() { int i=DVD_VIDEO_LB_LEN; }
10152 rm -f conftest.$ac_objext
10153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10154 (eval $ac_compile) 2>&5
10156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10157 (exit $ac_status); } &&
10158 { ac_try='test -s conftest.$ac_objext'
10159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10160 (eval $ac_try) 2>&5
10162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10163 (exit $ac_status); }; }; then
10165 PLUGINS="${PLUGINS} dvdread"
10166 dvdread_LDFLAGS="${dvdread_LDFLAGS} ${test_LDFLAGS} -ldvdread"
10167 dvdread_CFLAGS="${dvdread_CFLAGS} ${test_CFLAGS}"
10170 echo "$as_me: failed program was:" >&5
10171 cat conftest.$ac_ext >&5
10173 if test "x$enable_dvdread" != x
10175 { { 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
10176 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;}
10177 { (exit 1); exit 1; }; }
10181 rm -f conftest.$ac_objext conftest.$ac_ext
10185 if test "x$enable_dvdread" != x
10187 if test "x$with_dvdread" != x
10189 { { echo "$as_me:$LINENO: error: Cannot find dvdread/dvd_reader.h in ${with_dvdread}/include" >&5
10190 echo "$as_me: error: Cannot find dvdread/dvd_reader.h in ${with_dvdread}/include" >&2;}
10191 { (exit 1); exit 1; }; }
10193 { { echo "$as_me:$LINENO: error: Cannot find dvdread/dvd_reader.h" >&5
10194 echo "$as_me: error: Cannot find dvdread/dvd_reader.h" >&2;}
10195 { (exit 1); exit 1; }; }
10203 CPPFLAGS="$save_CPPFLAGS"
10206 # Check whether --enable-dvbpsi or --disable-dvbpsi was given.
10207 if test "${enable_dvbpsi+set}" = set; then
10208 enableval="$enable_dvbpsi"
10211 if test "x$enable_dvbpsi" != "xno"
10214 # Check whether --with-dvbpsi or --without-dvbpsi was given.
10215 if test "${with_dvbpsi+set}" = set; then
10216 withval="$with_dvbpsi"
10219 if test "x$with_dvbpsi" = x
10224 test_LDFLAGS="-L${with_dvbpsi}/lib"
10225 test_CFLAGS="-I${with_dvbpsi}/include"
10227 CPPFLAGS="$save_CPPFLAGS $test_CFLAGS"
10228 if test "${ac_cv_header_dvbpsi_dr_h+set}" = set; then
10229 echo "$as_me:$LINENO: checking for dvbpsi/dr.h" >&5
10230 echo $ECHO_N "checking for dvbpsi/dr.h... $ECHO_C" >&6
10231 if test "${ac_cv_header_dvbpsi_dr_h+set}" = set; then
10232 echo $ECHO_N "(cached) $ECHO_C" >&6
10234 echo "$as_me:$LINENO: result: $ac_cv_header_dvbpsi_dr_h" >&5
10235 echo "${ECHO_T}$ac_cv_header_dvbpsi_dr_h" >&6
10237 # Is the header compilable?
10238 echo "$as_me:$LINENO: checking dvbpsi/dr.h usability" >&5
10239 echo $ECHO_N "checking dvbpsi/dr.h usability... $ECHO_C" >&6
10240 cat >conftest.$ac_ext <<_ACEOF
10241 #line $LINENO "configure"
10242 #include "confdefs.h"
10243 $ac_includes_default
10244 #include <dvbpsi/dr.h>
10246 rm -f conftest.$ac_objext
10247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10248 (eval $ac_compile) 2>&5
10250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10251 (exit $ac_status); } &&
10252 { ac_try='test -s conftest.$ac_objext'
10253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10254 (eval $ac_try) 2>&5
10256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10257 (exit $ac_status); }; }; then
10258 ac_header_compiler=yes
10260 echo "$as_me: failed program was:" >&5
10261 cat conftest.$ac_ext >&5
10262 ac_header_compiler=no
10264 rm -f conftest.$ac_objext conftest.$ac_ext
10265 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10266 echo "${ECHO_T}$ac_header_compiler" >&6
10268 # Is the header present?
10269 echo "$as_me:$LINENO: checking dvbpsi/dr.h presence" >&5
10270 echo $ECHO_N "checking dvbpsi/dr.h presence... $ECHO_C" >&6
10271 cat >conftest.$ac_ext <<_ACEOF
10272 #line $LINENO "configure"
10273 #include "confdefs.h"
10274 #include <dvbpsi/dr.h>
10276 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10277 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10279 egrep -v '^ *\+' conftest.er1 >conftest.err
10281 cat conftest.err >&5
10282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10283 (exit $ac_status); } >/dev/null; then
10284 if test -s conftest.err; then
10285 ac_cpp_err=$ac_c_preproc_warn_flag
10292 if test -z "$ac_cpp_err"; then
10293 ac_header_preproc=yes
10295 echo "$as_me: failed program was:" >&5
10296 cat conftest.$ac_ext >&5
10297 ac_header_preproc=no
10299 rm -f conftest.err conftest.$ac_ext
10300 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10301 echo "${ECHO_T}$ac_header_preproc" >&6
10303 # So? What about this header?
10304 case $ac_header_compiler:$ac_header_preproc in
10306 { echo "$as_me:$LINENO: WARNING: dvbpsi/dr.h: accepted by the compiler, rejected by the preprocessor!" >&5
10307 echo "$as_me: WARNING: dvbpsi/dr.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10308 { echo "$as_me:$LINENO: WARNING: dvbpsi/dr.h: proceeding with the preprocessor's result" >&5
10309 echo "$as_me: WARNING: dvbpsi/dr.h: proceeding with the preprocessor's result" >&2;};;
10311 { echo "$as_me:$LINENO: WARNING: dvbpsi/dr.h: present but cannot be compiled" >&5
10312 echo "$as_me: WARNING: dvbpsi/dr.h: present but cannot be compiled" >&2;}
10313 { echo "$as_me:$LINENO: WARNING: dvbpsi/dr.h: check for missing prerequisite headers?" >&5
10314 echo "$as_me: WARNING: dvbpsi/dr.h: check for missing prerequisite headers?" >&2;}
10315 { echo "$as_me:$LINENO: WARNING: dvbpsi/dr.h: proceeding with the preprocessor's result" >&5
10316 echo "$as_me: WARNING: dvbpsi/dr.h: proceeding with the preprocessor's result" >&2;};;
10318 echo "$as_me:$LINENO: checking for dvbpsi/dr.h" >&5
10319 echo $ECHO_N "checking for dvbpsi/dr.h... $ECHO_C" >&6
10320 if test "${ac_cv_header_dvbpsi_dr_h+set}" = set; then
10321 echo $ECHO_N "(cached) $ECHO_C" >&6
10323 ac_cv_header_dvbpsi_dr_h=$ac_header_preproc
10325 echo "$as_me:$LINENO: result: $ac_cv_header_dvbpsi_dr_h" >&5
10326 echo "${ECHO_T}$ac_cv_header_dvbpsi_dr_h" >&6
10329 if test $ac_cv_header_dvbpsi_dr_h = yes; then
10331 PLUGINS="${PLUGINS} mpeg_ts_dvbpsi"
10332 mpeg_ts_dvbpsi_LDFLAGS="${mpeg_ts_dvbpsi_LDFLAGS} ${test_LDFLAGS} -ldvbpsi"
10333 mpeg_ts_dvbpsi_CFLAGS="${mpeg_ts_dvbpsi_CFLAGS} ${test_CFLAGS}"
10337 if test "x$enable_dvbpsi" != x
10339 { { 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
10340 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;}
10341 { (exit 1); exit 1; }; }
10347 CPPFLAGS="$save_CPPFLAGS"
10350 # Check whether --enable-vcd or --disable-vcd was given.
10351 if test "${enable_vcd+set}" = set; then
10352 enableval="$enable_vcd"
10356 if test x$enable_vcd != xno
10358 cat >conftest.$ac_ext <<_ACEOF
10359 #line $LINENO "configure"
10360 #include "confdefs.h"
10361 #include <linux/cdrom.h>
10364 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10365 egrep "cdrom_msf0" >/dev/null 2>&1; then
10367 PLUGINS="${PLUGINS} vcd"
10373 cat >conftest.$ac_ext <<_ACEOF
10374 #line $LINENO "configure"
10375 #include "confdefs.h"
10376 #include <sys/cdio.h>
10379 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10380 egrep "ioc_toc_header " >/dev/null 2>&1; then
10382 PLUGINS="${PLUGINS} vcd"
10384 cat >>confdefs.h <<\_ACEOF
10385 #define HAVE_IOC_TOC_HEADER_IN_SYS_CDIO_H 1
10393 if test "x${SYS}" = "xbsdi"
10395 PLUGINS="${PLUGINS} vcd"
10398 if test "x${SYS}" = "xdarwin"
10400 # No need to add vcd to PLUGINS, Darwin is already based on FreeBSD
10401 vcd_LDFLAGS="${vcd_LDFLAGS} -framework IOKit -framework CoreFoundation"
10405 # Check whether --enable-satellite or --disable-satellite was given.
10406 if test "${enable_satellite+set}" = set; then
10407 enableval="$enable_satellite"
10408 if test x$enable_satellite = xyes
10410 PLUGINS="${PLUGINS} satellite"
10414 if test x$SYS != xnto
10416 echo "$as_me:$LINENO: checking for inet_pton" >&5
10417 echo $ECHO_N "checking for inet_pton... $ECHO_C" >&6
10418 if test "${ac_cv_func_inet_pton+set}" = set; then
10419 echo $ECHO_N "(cached) $ECHO_C" >&6
10421 cat >conftest.$ac_ext <<_ACEOF
10422 #line $LINENO "configure"
10423 #include "confdefs.h"
10424 /* System header to define __stub macros and hopefully few prototypes,
10425 which can conflict with char inet_pton (); below. */
10426 #include <assert.h>
10427 /* Override any gcc2 internal prototype to avoid an error. */
10431 /* We use char because int might match the return type of a gcc2
10432 builtin and then its argument prototype would still apply. */
10436 #ifdef F77_DUMMY_MAIN
10437 # ifdef __cplusplus
10440 int F77_DUMMY_MAIN() { return 1; }
10445 /* The GNU C library defines this for functions which it implements
10446 to always fail with ENOSYS. Some functions are actually named
10447 something starting with __ and the normal name is an alias. */
10448 #if defined (__stub_inet_pton) || defined (__stub___inet_pton)
10458 rm -f conftest.$ac_objext conftest$ac_exeext
10459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10460 (eval $ac_link) 2>&5
10462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10463 (exit $ac_status); } &&
10464 { ac_try='test -s conftest$ac_exeext'
10465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10466 (eval $ac_try) 2>&5
10468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10469 (exit $ac_status); }; }; then
10470 ac_cv_func_inet_pton=yes
10472 echo "$as_me: failed program was:" >&5
10473 cat conftest.$ac_ext >&5
10474 ac_cv_func_inet_pton=no
10476 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10478 echo "$as_me:$LINENO: result: $ac_cv_func_inet_pton" >&5
10479 echo "${ECHO_T}$ac_cv_func_inet_pton" >&6
10480 if test $ac_cv_func_inet_pton = yes; then
10481 PLUGINS="${PLUGINS} ipv6"
10486 # Check whether --enable-avi or --disable-avi was given.
10487 if test "${enable_avi+set}" = set; then
10488 enableval="$enable_avi"
10491 if test x$enable_avi != xno
10493 PLUGINS="${PLUGINS} avi"
10498 # Check whether --with- or --without- was given.
10499 if test "${with_+set}" = set; then
10504 # Check whether --enable-mad or --disable-mad was given.
10505 if test "${enable_mad+set}" = set; then
10506 enableval="$enable_mad"
10509 if test x$enable_mad = xyes
10512 # Check whether --with-mad or --without-mad was given.
10513 if test "${with_mad+set}" = set; then
10514 withval="$with_mad"
10517 if test "x$with_mad" != "xno" -a "x$with_mad" != "x"
10519 mad_CFLAGS="${mad_CFLAGS} -I$with_mad/include"
10520 mad_LDFLAGS="${mad_LDFLAGS} -L$with_mad/lib"
10524 # Check whether --with-mad-tree or --without-mad-tree was given.
10525 if test "${with_mad_tree+set}" = set; then
10526 withval="$with_mad_tree"
10529 if test "x$with_mad_tree" != "xno" -a "x$with_mad_tree" != "x"
10531 real_mad_tree="`cd ${with_mad_tree} 2>/dev/null && pwd`"
10532 if test "x$real_mad_tree" = x
10534 echo "$as_me:$LINENO: result: no" >&5
10535 echo "${ECHO_T}no" >&6
10536 { { echo "$as_me:$LINENO: error: ${with_mad_tree} directory doesn't exist" >&5
10537 echo "$as_me: error: ${with_mad_tree} directory doesn't exist" >&2;}
10538 { (exit 1); exit 1; }; }
10540 echo "$as_me:$LINENO: checking for mad.h in ${real_mad_tree}/libmad" >&5
10541 echo $ECHO_N "checking for mad.h in ${real_mad_tree}/libmad... $ECHO_C" >&6
10542 if test -f ${real_mad_tree}/libmad/mad.h
10544 echo "$as_me:$LINENO: result: yes" >&5
10545 echo "${ECHO_T}yes" >&6
10546 mad_CFLAGS="${mad_CFLAGS} -I${real_mad_tree}/libmad"
10547 mad_LDFLAGS="${mad_LDFLAGS} -L${real_mad_tree}/libmad/.libs"
10548 save_LDFLAGS=$LDFLAGS
10549 LDFLAGS=$mad_LDFLAGS
10550 echo "$as_me:$LINENO: checking for mad_bit_init in -lmad" >&5
10551 echo $ECHO_N "checking for mad_bit_init in -lmad... $ECHO_C" >&6
10552 if test "${ac_cv_lib_mad_mad_bit_init+set}" = set; then
10553 echo $ECHO_N "(cached) $ECHO_C" >&6
10555 ac_check_lib_save_LIBS=$LIBS
10557 cat >conftest.$ac_ext <<_ACEOF
10558 #line $LINENO "configure"
10559 #include "confdefs.h"
10561 /* Override any gcc2 internal prototype to avoid an error. */
10565 /* We use char because int might match the return type of a gcc2
10566 builtin and then its argument prototype would still apply. */
10567 char mad_bit_init ();
10568 #ifdef F77_DUMMY_MAIN
10569 # ifdef __cplusplus
10572 int F77_DUMMY_MAIN() { return 1; }
10582 rm -f conftest.$ac_objext conftest$ac_exeext
10583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10584 (eval $ac_link) 2>&5
10586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10587 (exit $ac_status); } &&
10588 { ac_try='test -s conftest$ac_exeext'
10589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10590 (eval $ac_try) 2>&5
10592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10593 (exit $ac_status); }; }; then
10594 ac_cv_lib_mad_mad_bit_init=yes
10596 echo "$as_me: failed program was:" >&5
10597 cat conftest.$ac_ext >&5
10598 ac_cv_lib_mad_mad_bit_init=no
10600 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10601 LIBS=$ac_check_lib_save_LIBS
10603 echo "$as_me:$LINENO: result: $ac_cv_lib_mad_mad_bit_init" >&5
10604 echo "${ECHO_T}$ac_cv_lib_mad_mad_bit_init" >&6
10605 if test $ac_cv_lib_mad_mad_bit_init = yes; then
10607 BUILTINS="${BUILTINS} mad"
10608 mad_LDFLAGS="${mad_LDFLAGS} -lmad"
10611 { { echo "$as_me:$LINENO: error: the specified tree hasn't been compiled " >&5
10612 echo "$as_me: error: the specified tree hasn't been compiled " >&2;}
10613 { (exit 1); exit 1; }; }
10617 LDFLAGS=$save_LDFLAGS
10619 echo "$as_me:$LINENO: result: no" >&5
10620 echo "${ECHO_T}no" >&6
10621 { { echo "$as_me:$LINENO: error: the specified tree doesn't have mad.h" >&5
10622 echo "$as_me: error: the specified tree doesn't have mad.h" >&2;}
10623 { (exit 1); exit 1; }; }
10626 save_CFLAGS=$CFLAGS
10627 save_LDFLAGS=$LDFLAGS
10628 CFLAGS="$CFLAGS $mad_CFLAGS"
10629 LDFLAGS="$LDFLAGS $mad_LDFLAGS"
10631 for ac_header in mad.h
10633 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10634 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10635 echo "$as_me:$LINENO: checking for $ac_header" >&5
10636 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10637 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10638 echo $ECHO_N "(cached) $ECHO_C" >&6
10640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10641 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10643 # Is the header compilable?
10644 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10645 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10646 cat >conftest.$ac_ext <<_ACEOF
10647 #line $LINENO "configure"
10648 #include "confdefs.h"
10649 $ac_includes_default
10650 #include <$ac_header>
10652 rm -f conftest.$ac_objext
10653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10654 (eval $ac_compile) 2>&5
10656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10657 (exit $ac_status); } &&
10658 { ac_try='test -s conftest.$ac_objext'
10659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10660 (eval $ac_try) 2>&5
10662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10663 (exit $ac_status); }; }; then
10664 ac_header_compiler=yes
10666 echo "$as_me: failed program was:" >&5
10667 cat conftest.$ac_ext >&5
10668 ac_header_compiler=no
10670 rm -f conftest.$ac_objext conftest.$ac_ext
10671 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10672 echo "${ECHO_T}$ac_header_compiler" >&6
10674 # Is the header present?
10675 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10676 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10677 cat >conftest.$ac_ext <<_ACEOF
10678 #line $LINENO "configure"
10679 #include "confdefs.h"
10680 #include <$ac_header>
10682 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10683 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10685 egrep -v '^ *\+' conftest.er1 >conftest.err
10687 cat conftest.err >&5
10688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10689 (exit $ac_status); } >/dev/null; then
10690 if test -s conftest.err; then
10691 ac_cpp_err=$ac_c_preproc_warn_flag
10698 if test -z "$ac_cpp_err"; then
10699 ac_header_preproc=yes
10701 echo "$as_me: failed program was:" >&5
10702 cat conftest.$ac_ext >&5
10703 ac_header_preproc=no
10705 rm -f conftest.err conftest.$ac_ext
10706 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10707 echo "${ECHO_T}$ac_header_preproc" >&6
10709 # So? What about this header?
10710 case $ac_header_compiler:$ac_header_preproc in
10712 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10713 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10714 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10715 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10717 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10718 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10719 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10720 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10721 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10722 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10724 echo "$as_me:$LINENO: checking for $ac_header" >&5
10725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10727 echo $ECHO_N "(cached) $ECHO_C" >&6
10729 eval "$as_ac_Header=$ac_header_preproc"
10731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10735 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10736 cat >>confdefs.h <<_ACEOF
10737 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10741 { { echo "$as_me:$LINENO: error: Cannot find development headers for libmad..." >&5
10742 echo "$as_me: error: Cannot find development headers for libmad..." >&2;}
10743 { (exit 1); exit 1; }; }
10748 echo "$as_me:$LINENO: checking for mad_bit_init in -lmad" >&5
10749 echo $ECHO_N "checking for mad_bit_init in -lmad... $ECHO_C" >&6
10750 if test "${ac_cv_lib_mad_mad_bit_init+set}" = set; then
10751 echo $ECHO_N "(cached) $ECHO_C" >&6
10753 ac_check_lib_save_LIBS=$LIBS
10755 cat >conftest.$ac_ext <<_ACEOF
10756 #line $LINENO "configure"
10757 #include "confdefs.h"
10759 /* Override any gcc2 internal prototype to avoid an error. */
10763 /* We use char because int might match the return type of a gcc2
10764 builtin and then its argument prototype would still apply. */
10765 char mad_bit_init ();
10766 #ifdef F77_DUMMY_MAIN
10767 # ifdef __cplusplus
10770 int F77_DUMMY_MAIN() { return 1; }
10780 rm -f conftest.$ac_objext conftest$ac_exeext
10781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10782 (eval $ac_link) 2>&5
10784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10785 (exit $ac_status); } &&
10786 { ac_try='test -s conftest$ac_exeext'
10787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10788 (eval $ac_try) 2>&5
10790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10791 (exit $ac_status); }; }; then
10792 ac_cv_lib_mad_mad_bit_init=yes
10794 echo "$as_me: failed program was:" >&5
10795 cat conftest.$ac_ext >&5
10796 ac_cv_lib_mad_mad_bit_init=no
10798 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10799 LIBS=$ac_check_lib_save_LIBS
10801 echo "$as_me:$LINENO: result: $ac_cv_lib_mad_mad_bit_init" >&5
10802 echo "${ECHO_T}$ac_cv_lib_mad_mad_bit_init" >&6
10803 if test $ac_cv_lib_mad_mad_bit_init = yes; then
10804 PLUGINS="${PLUGINS} mad"
10805 mad_LDFLAGS="${mad_LDFLAGS} -lmad"
10807 { { echo "$as_me:$LINENO: error: Cannot find libmad library..." >&5
10808 echo "$as_me: error: Cannot find libmad library..." >&2;}
10809 { (exit 1); exit 1; }; }
10812 CFLAGS=$save_CFLAGS
10813 LDFLAGS=$save_LDFLAGS
10817 # Check whether --enable-ffmpeg or --disable-ffmpeg was given.
10818 if test "${enable_ffmpeg+set}" = set; then
10819 enableval="$enable_ffmpeg"
10822 if test "x$enable_ffmpeg" = "xyes"
10825 # Check whether --with-ffmpeg-tree or --without-ffmpeg-tree was given.
10826 if test "${with_ffmpeg_tree+set}" = set; then
10827 withval="$with_ffmpeg_tree"
10830 if test "x$with_ffmpeg_tree" = x
10832 { { echo "$as_me:$LINENO: error: cannot find ${real_ffmpeg_tree}/libavcodec/libavcodec.a" >&5
10833 echo "$as_me: error: cannot find ${real_ffmpeg_tree}/libavcodec/libavcodec.a" >&2;}
10834 { (exit 1); exit 1; }; }
10836 echo "$as_me:$LINENO: checking for libavcodec.a in ${with_ffmpeg_tree}" >&5
10837 echo $ECHO_N "checking for libavcodec.a in ${with_ffmpeg_tree}... $ECHO_C" >&6
10838 real_ffmpeg_tree="`cd ${with_ffmpeg_tree} 2>/dev/null && pwd`"
10839 if test "x$real_ffmpeg_tree" = x
10841 echo "$as_me:$LINENO: result: no" >&5
10842 echo "${ECHO_T}no" >&6
10843 { { echo "$as_me:$LINENO: error: cannot cd to ${with_ffmpeg_tree}" >&5
10844 echo "$as_me: error: cannot cd to ${with_ffmpeg_tree}" >&2;}
10845 { (exit 1); exit 1; }; }
10847 if test -f "${real_ffmpeg_tree}/libavcodec/libavcodec.a"
10849 echo "$as_me:$LINENO: result: ${real_ffmpeg_tree}/libavcodec/libavcodec.a" >&5
10850 echo "${ECHO_T}${real_ffmpeg_tree}/libavcodec/libavcodec.a" >&6
10851 BUILTINS="${BUILTINS} ffmpeg"
10852 ffmpeg_LDFLAGS="${ffmpeg_LDFLAGS} ${real_ffmpeg_tree}/libavcodec/libavcodec.a"
10853 ffmpeg_CFLAGS="${ffmpeg_CFLAGS} -I${real_ffmpeg_tree}/libavcodec"
10855 echo "$as_me:$LINENO: result: no" >&5
10856 echo "${ECHO_T}no" >&6
10857 { { echo "$as_me:$LINENO: error: cannot find ${real_ffmpeg_tree}/libavcodec/libavcodec.a, make sure you compiled libavcodec in ${with_ffmpeg_tree}" >&5
10858 echo "$as_me: error: cannot find ${real_ffmpeg_tree}/libavcodec/libavcodec.a, make sure you compiled libavcodec in ${with_ffmpeg_tree}" >&2;}
10859 { (exit 1); exit 1; }; }
10865 if test x$SYS = xbeos
10867 PLUGINS="${PLUGINS} beos"
10870 # Check whether --enable-a52 or --disable-a52 was given.
10871 if test "${enable_a52+set}" = set; then
10872 enableval="$enable_a52"
10875 if test "x$enable_a52" != "xno"
10878 # Check whether --with-a52-tree or --without-a52-tree was given.
10879 if test "${with_a52_tree+set}" = set; then
10880 withval="$with_a52_tree"
10883 if test "x$with_a52_tree" != "xno" -a "x$with_a52_tree" != "x"
10885 real_a52_tree="`cd ${with_a52_tree} 2>/dev/null && pwd`"
10886 if test "x$real_a52_tree" = x
10888 echo "$as_me:$LINENO: result: no" >&5
10889 echo "${ECHO_T}no" >&6
10890 { { echo "$as_me:$LINENO: error: ${with_a52_tree} directory doesn't exist" >&5
10891 echo "$as_me: error: ${with_a52_tree} directory doesn't exist" >&2;}
10892 { (exit 1); exit 1; }; }
10894 echo "$as_me:$LINENO: checking for a52.h in ${real_a52_tree}/include" >&5
10895 echo $ECHO_N "checking for a52.h in ${real_a52_tree}/include... $ECHO_C" >&6
10896 if test -f ${real_a52_tree}/include/a52.h
10898 echo "$as_me:$LINENO: result: yes" >&5
10899 echo "${ECHO_T}yes" >&6
10900 a52_CFLAGS="${a52_CFLAGS} -I${real_a52_tree}"
10901 a52_LDFLAGS="${a52_LDFLAGS} -L${real_a52_tree}/liba52/.libs"
10902 save_LDFLAGS=$LDFLAGS
10903 LDFLAGS="$a52_LDFLAGS $LDFLAGS"
10904 echo "$as_me:$LINENO: checking for a52_free in -la52" >&5
10905 echo $ECHO_N "checking for a52_free in -la52... $ECHO_C" >&6
10906 if test "${ac_cv_lib_a52_a52_free+set}" = set; then
10907 echo $ECHO_N "(cached) $ECHO_C" >&6
10909 ac_check_lib_save_LIBS=$LIBS
10910 LIBS="-la52 -lm $LIBS"
10911 cat >conftest.$ac_ext <<_ACEOF
10912 #line $LINENO "configure"
10913 #include "confdefs.h"
10915 /* Override any gcc2 internal prototype to avoid an error. */
10919 /* We use char because int might match the return type of a gcc2
10920 builtin and then its argument prototype would still apply. */
10922 #ifdef F77_DUMMY_MAIN
10923 # ifdef __cplusplus
10926 int F77_DUMMY_MAIN() { return 1; }
10936 rm -f conftest.$ac_objext conftest$ac_exeext
10937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10938 (eval $ac_link) 2>&5
10940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10941 (exit $ac_status); } &&
10942 { ac_try='test -s conftest$ac_exeext'
10943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10944 (eval $ac_try) 2>&5
10946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10947 (exit $ac_status); }; }; then
10948 ac_cv_lib_a52_a52_free=yes
10950 echo "$as_me: failed program was:" >&5
10951 cat conftest.$ac_ext >&5
10952 ac_cv_lib_a52_a52_free=no
10954 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10955 LIBS=$ac_check_lib_save_LIBS
10957 echo "$as_me:$LINENO: result: $ac_cv_lib_a52_a52_free" >&5
10958 echo "${ECHO_T}$ac_cv_lib_a52_a52_free" >&6
10959 if test $ac_cv_lib_a52_a52_free = yes; then
10961 BUILTINS="${BUILTINS} a52"
10962 a52_LDFLAGS="${a52_LDFLAGS} -la52 -lm"
10963 a52_CFLAGS="${a52_CFLAGS} -DUSE_A52DEC_TREE"
10967 if test -f ${real_a52_tree}/liba52/.libs/liba52.a
10969 { { echo "$as_me:$LINENO: error: make sure you have at least a52dec-0.7.3" >&5
10970 echo "$as_me: error: make sure you have at least a52dec-0.7.3" >&2;}
10971 { (exit 1); exit 1; }; }
10973 { { echo "$as_me:$LINENO: error: the specified tree hasn't been compiled" >&5
10974 echo "$as_me: error: the specified tree hasn't been compiled" >&2;}
10975 { (exit 1); exit 1; }; }
10980 LDFLAGS=$save_LDFLAGS
10982 echo "$as_me:$LINENO: result: no" >&5
10983 echo "${ECHO_T}no" >&6
10984 { { echo "$as_me:$LINENO: error: the specified tree doesn't have a52.h" >&5
10985 echo "$as_me: error: the specified tree doesn't have a52.h" >&2;}
10986 { (exit 1); exit 1; }; }
10989 for ac_header in a52dec/a52.h
10991 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10992 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10993 echo "$as_me:$LINENO: checking for $ac_header" >&5
10994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10996 echo $ECHO_N "(cached) $ECHO_C" >&6
10998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10999 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11001 # Is the header compilable?
11002 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11003 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11004 cat >conftest.$ac_ext <<_ACEOF
11005 #line $LINENO "configure"
11006 #include "confdefs.h"
11007 $ac_includes_default
11008 #include <$ac_header>
11010 rm -f conftest.$ac_objext
11011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11012 (eval $ac_compile) 2>&5
11014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11015 (exit $ac_status); } &&
11016 { ac_try='test -s conftest.$ac_objext'
11017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11018 (eval $ac_try) 2>&5
11020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11021 (exit $ac_status); }; }; then
11022 ac_header_compiler=yes
11024 echo "$as_me: failed program was:" >&5
11025 cat conftest.$ac_ext >&5
11026 ac_header_compiler=no
11028 rm -f conftest.$ac_objext conftest.$ac_ext
11029 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11030 echo "${ECHO_T}$ac_header_compiler" >&6
11032 # Is the header present?
11033 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11034 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11035 cat >conftest.$ac_ext <<_ACEOF
11036 #line $LINENO "configure"
11037 #include "confdefs.h"
11038 #include <$ac_header>
11040 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11041 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11043 egrep -v '^ *\+' conftest.er1 >conftest.err
11045 cat conftest.err >&5
11046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047 (exit $ac_status); } >/dev/null; then
11048 if test -s conftest.err; then
11049 ac_cpp_err=$ac_c_preproc_warn_flag
11056 if test -z "$ac_cpp_err"; then
11057 ac_header_preproc=yes
11059 echo "$as_me: failed program was:" >&5
11060 cat conftest.$ac_ext >&5
11061 ac_header_preproc=no
11063 rm -f conftest.err conftest.$ac_ext
11064 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11065 echo "${ECHO_T}$ac_header_preproc" >&6
11067 # So? What about this header?
11068 case $ac_header_compiler:$ac_header_preproc in
11070 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11071 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11072 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11073 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11075 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11076 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11077 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11078 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11079 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11080 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11082 echo "$as_me:$LINENO: checking for $ac_header" >&5
11083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11085 echo $ECHO_N "(cached) $ECHO_C" >&6
11087 eval "$as_ac_Header=$ac_header_preproc"
11089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11093 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11094 cat >>confdefs.h <<_ACEOF
11095 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11098 echo "$as_me:$LINENO: checking for a52_free in -la52" >&5
11099 echo $ECHO_N "checking for a52_free in -la52... $ECHO_C" >&6
11100 if test "${ac_cv_lib_a52_a52_free+set}" = set; then
11101 echo $ECHO_N "(cached) $ECHO_C" >&6
11103 ac_check_lib_save_LIBS=$LIBS
11104 LIBS="-la52 -lm $LIBS"
11105 cat >conftest.$ac_ext <<_ACEOF
11106 #line $LINENO "configure"
11107 #include "confdefs.h"
11109 /* Override any gcc2 internal prototype to avoid an error. */
11113 /* We use char because int might match the return type of a gcc2
11114 builtin and then its argument prototype would still apply. */
11116 #ifdef F77_DUMMY_MAIN
11117 # ifdef __cplusplus
11120 int F77_DUMMY_MAIN() { return 1; }
11130 rm -f conftest.$ac_objext conftest$ac_exeext
11131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11132 (eval $ac_link) 2>&5
11134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11135 (exit $ac_status); } &&
11136 { ac_try='test -s conftest$ac_exeext'
11137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11138 (eval $ac_try) 2>&5
11140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11141 (exit $ac_status); }; }; then
11142 ac_cv_lib_a52_a52_free=yes
11144 echo "$as_me: failed program was:" >&5
11145 cat conftest.$ac_ext >&5
11146 ac_cv_lib_a52_a52_free=no
11148 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11149 LIBS=$ac_check_lib_save_LIBS
11151 echo "$as_me:$LINENO: result: $ac_cv_lib_a52_a52_free" >&5
11152 echo "${ECHO_T}$ac_cv_lib_a52_a52_free" >&6
11153 if test $ac_cv_lib_a52_a52_free = yes; then
11155 BUILTINS="${BUILTINS} a52"
11156 a52_LDFLAGS="${a52_LDFLAGS} -la52 -lm"
11157 a52_CFLAGS="${a52_CFLAGS}"
11169 # Check whether --enable-vorbis or --disable-vorbis was given.
11170 if test "${enable_vorbis+set}" = set; then
11171 enableval="$enable_vorbis"
11174 if test "x$enable_vorbis" != "xno"
11177 for ac_header in ogg/ogg.h
11179 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11181 echo "$as_me:$LINENO: checking for $ac_header" >&5
11182 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11183 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11184 echo $ECHO_N "(cached) $ECHO_C" >&6
11186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11187 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11189 # Is the header compilable?
11190 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11191 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11192 cat >conftest.$ac_ext <<_ACEOF
11193 #line $LINENO "configure"
11194 #include "confdefs.h"
11195 $ac_includes_default
11196 #include <$ac_header>
11198 rm -f conftest.$ac_objext
11199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11200 (eval $ac_compile) 2>&5
11202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11203 (exit $ac_status); } &&
11204 { ac_try='test -s conftest.$ac_objext'
11205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11206 (eval $ac_try) 2>&5
11208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11209 (exit $ac_status); }; }; then
11210 ac_header_compiler=yes
11212 echo "$as_me: failed program was:" >&5
11213 cat conftest.$ac_ext >&5
11214 ac_header_compiler=no
11216 rm -f conftest.$ac_objext conftest.$ac_ext
11217 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11218 echo "${ECHO_T}$ac_header_compiler" >&6
11220 # Is the header present?
11221 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11222 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11223 cat >conftest.$ac_ext <<_ACEOF
11224 #line $LINENO "configure"
11225 #include "confdefs.h"
11226 #include <$ac_header>
11228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11229 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11231 egrep -v '^ *\+' conftest.er1 >conftest.err
11233 cat conftest.err >&5
11234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11235 (exit $ac_status); } >/dev/null; then
11236 if test -s conftest.err; then
11237 ac_cpp_err=$ac_c_preproc_warn_flag
11244 if test -z "$ac_cpp_err"; then
11245 ac_header_preproc=yes
11247 echo "$as_me: failed program was:" >&5
11248 cat conftest.$ac_ext >&5
11249 ac_header_preproc=no
11251 rm -f conftest.err conftest.$ac_ext
11252 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11253 echo "${ECHO_T}$ac_header_preproc" >&6
11255 # So? What about this header?
11256 case $ac_header_compiler:$ac_header_preproc in
11258 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11259 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11260 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11261 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11263 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11264 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11265 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11266 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11267 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11268 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11270 echo "$as_me:$LINENO: checking for $ac_header" >&5
11271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11272 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11273 echo $ECHO_N "(cached) $ECHO_C" >&6
11275 eval "$as_ac_Header=$ac_header_preproc"
11277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11278 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11281 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11282 cat >>confdefs.h <<_ACEOF
11283 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11286 #PLUGINS="${PLUGINS} vorbis"
11287 vorbis_LDFLAGS="${vorbis_LDFLAGS} -lvorbis"
11297 # Check whether --with- or --without- was given.
11298 if test "${with_+set}" = set; then
11303 # Check whether --enable-x11 or --disable-x11 was given.
11304 if test "${enable_x11+set}" = set; then
11305 enableval="$enable_x11"
11308 if test x$enable_x11 != xno &&
11309 (test x$SYS != xmingw32 || test x$enable_x11 = xyes); then
11310 if test x$x_includes = xNONE; then
11311 x_includes=/usr/X11R6/include
11313 if test x$x_libraries = xNONE; then
11314 x_libraries=/usr/X11R6/lib
11316 CPPFLAGS="$save_CPPFLAGS -I$x_includes"
11318 for ac_header in X11/Xlib.h
11320 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11322 echo "$as_me:$LINENO: checking for $ac_header" >&5
11323 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11324 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11325 echo $ECHO_N "(cached) $ECHO_C" >&6
11327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11328 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11330 # Is the header compilable?
11331 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11332 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11333 cat >conftest.$ac_ext <<_ACEOF
11334 #line $LINENO "configure"
11335 #include "confdefs.h"
11336 $ac_includes_default
11337 #include <$ac_header>
11339 rm -f conftest.$ac_objext
11340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11341 (eval $ac_compile) 2>&5
11343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11344 (exit $ac_status); } &&
11345 { ac_try='test -s conftest.$ac_objext'
11346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11347 (eval $ac_try) 2>&5
11349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11350 (exit $ac_status); }; }; then
11351 ac_header_compiler=yes
11353 echo "$as_me: failed program was:" >&5
11354 cat conftest.$ac_ext >&5
11355 ac_header_compiler=no
11357 rm -f conftest.$ac_objext conftest.$ac_ext
11358 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11359 echo "${ECHO_T}$ac_header_compiler" >&6
11361 # Is the header present?
11362 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11363 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11364 cat >conftest.$ac_ext <<_ACEOF
11365 #line $LINENO "configure"
11366 #include "confdefs.h"
11367 #include <$ac_header>
11369 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11370 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11372 egrep -v '^ *\+' conftest.er1 >conftest.err
11374 cat conftest.err >&5
11375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11376 (exit $ac_status); } >/dev/null; then
11377 if test -s conftest.err; then
11378 ac_cpp_err=$ac_c_preproc_warn_flag
11385 if test -z "$ac_cpp_err"; then
11386 ac_header_preproc=yes
11388 echo "$as_me: failed program was:" >&5
11389 cat conftest.$ac_ext >&5
11390 ac_header_preproc=no
11392 rm -f conftest.err conftest.$ac_ext
11393 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11394 echo "${ECHO_T}$ac_header_preproc" >&6
11396 # So? What about this header?
11397 case $ac_header_compiler:$ac_header_preproc in
11399 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11400 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11401 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11402 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11404 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11405 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11406 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11407 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11408 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11409 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11411 echo "$as_me:$LINENO: checking for $ac_header" >&5
11412 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11413 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11414 echo $ECHO_N "(cached) $ECHO_C" >&6
11416 eval "$as_ac_Header=$ac_header_preproc"
11418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11419 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11422 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11423 cat >>confdefs.h <<_ACEOF
11424 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11427 PLUGINS="${PLUGINS} x11"
11428 x11_LDFLAGS="${x11_LDFLAGS} -L$x_libraries -lX11 -lXext"
11429 x11_CFLAGS="${x11_CFLAGS} -I$x_includes"
11435 CPPFLAGS="$save_CPPFLAGS"
11438 # Check whether --enable-xvideo or --disable-xvideo was given.
11439 if test "${enable_xvideo+set}" = set; then
11440 enableval="$enable_xvideo"
11443 if test x$enable_xvideo != xno &&
11444 (test x$SYS != xmingw32 || test x$enable_xvideo = xyes); then
11445 if test x$x_includes = xNONE; then
11446 x_includes=/usr/X11R6/include
11448 if test x$x_libraries = xNONE; then
11449 x_libraries=/usr/X11R6/lib
11451 save_CPPFLAGS=$CPPFLAGS
11452 CPPFLAGS="$save_CPPFLAGS -I$x_includes"
11454 for ac_header in X11/extensions/Xv.h
11456 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11457 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11458 echo "$as_me:$LINENO: checking for $ac_header" >&5
11459 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11461 echo $ECHO_N "(cached) $ECHO_C" >&6
11463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11464 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11466 # Is the header compilable?
11467 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11468 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11469 cat >conftest.$ac_ext <<_ACEOF
11470 #line $LINENO "configure"
11471 #include "confdefs.h"
11472 $ac_includes_default
11473 #include <$ac_header>
11475 rm -f conftest.$ac_objext
11476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11477 (eval $ac_compile) 2>&5
11479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11480 (exit $ac_status); } &&
11481 { ac_try='test -s conftest.$ac_objext'
11482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11483 (eval $ac_try) 2>&5
11485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11486 (exit $ac_status); }; }; then
11487 ac_header_compiler=yes
11489 echo "$as_me: failed program was:" >&5
11490 cat conftest.$ac_ext >&5
11491 ac_header_compiler=no
11493 rm -f conftest.$ac_objext conftest.$ac_ext
11494 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11495 echo "${ECHO_T}$ac_header_compiler" >&6
11497 # Is the header present?
11498 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11499 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11500 cat >conftest.$ac_ext <<_ACEOF
11501 #line $LINENO "configure"
11502 #include "confdefs.h"
11503 #include <$ac_header>
11505 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11506 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11508 egrep -v '^ *\+' conftest.er1 >conftest.err
11510 cat conftest.err >&5
11511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11512 (exit $ac_status); } >/dev/null; then
11513 if test -s conftest.err; then
11514 ac_cpp_err=$ac_c_preproc_warn_flag
11521 if test -z "$ac_cpp_err"; then
11522 ac_header_preproc=yes
11524 echo "$as_me: failed program was:" >&5
11525 cat conftest.$ac_ext >&5
11526 ac_header_preproc=no
11528 rm -f conftest.err conftest.$ac_ext
11529 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11530 echo "${ECHO_T}$ac_header_preproc" >&6
11532 # So? What about this header?
11533 case $ac_header_compiler:$ac_header_preproc in
11535 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11536 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11537 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11538 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11540 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11541 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11542 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11543 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11545 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11547 echo "$as_me:$LINENO: checking for $ac_header" >&5
11548 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11549 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11550 echo $ECHO_N "(cached) $ECHO_C" >&6
11552 eval "$as_ac_Header=$ac_header_preproc"
11554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11555 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11558 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11559 cat >>confdefs.h <<_ACEOF
11560 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11563 save_CFLAGS=$CFLAGS
11564 CFLAGS="$CFLAGS -L$x_libraries -lX11 -lXext"
11565 echo "$as_me:$LINENO: checking for XvSetPortAttribute in -lXv_pic" >&5
11566 echo $ECHO_N "checking for XvSetPortAttribute in -lXv_pic... $ECHO_C" >&6
11567 if test "${ac_cv_lib_Xv_pic_XvSetPortAttribute+set}" = set; then
11568 echo $ECHO_N "(cached) $ECHO_C" >&6
11570 ac_check_lib_save_LIBS=$LIBS
11571 LIBS="-lXv_pic $LIBS"
11572 cat >conftest.$ac_ext <<_ACEOF
11573 #line $LINENO "configure"
11574 #include "confdefs.h"
11576 /* Override any gcc2 internal prototype to avoid an error. */
11580 /* We use char because int might match the return type of a gcc2
11581 builtin and then its argument prototype would still apply. */
11582 char XvSetPortAttribute ();
11583 #ifdef F77_DUMMY_MAIN
11584 # ifdef __cplusplus
11587 int F77_DUMMY_MAIN() { return 1; }
11592 XvSetPortAttribute ();
11597 rm -f conftest.$ac_objext conftest$ac_exeext
11598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11599 (eval $ac_link) 2>&5
11601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11602 (exit $ac_status); } &&
11603 { ac_try='test -s conftest$ac_exeext'
11604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11605 (eval $ac_try) 2>&5
11607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11608 (exit $ac_status); }; }; then
11609 ac_cv_lib_Xv_pic_XvSetPortAttribute=yes
11611 echo "$as_me: failed program was:" >&5
11612 cat conftest.$ac_ext >&5
11613 ac_cv_lib_Xv_pic_XvSetPortAttribute=no
11615 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11616 LIBS=$ac_check_lib_save_LIBS
11618 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_pic_XvSetPortAttribute" >&5
11619 echo "${ECHO_T}$ac_cv_lib_Xv_pic_XvSetPortAttribute" >&6
11620 if test $ac_cv_lib_Xv_pic_XvSetPortAttribute = yes; then
11621 # We have Xv_pic, that's good, we can build an xvideo.so plugin !
11622 PLUGINS="${PLUGINS} xvideo"
11623 xvideo_LDFLAGS="${xvideo_LDFLAGS} -L$x_libraries -lX11 -lXext -lXv_pic"
11624 xvideo_CFLAGS="${xvideo_CFLAGS} -I$x_includes"
11626 # We don't have Xv_pic, let's make xvideo.a as builtin
11627 BUILTINS="${BUILTINS} xvideo"
11628 xvideo_LDFLAGS="${xvideo_LDFLAGS} -L$x_libraries -lX11 -lXext -lXv"
11629 xvideo_CFLAGS="${xvideo_CFLAGS} -I$x_includes"
11632 CFLAGS="$save_CFLAGS"
11634 CPPFLAGS="$save_CPPFLAGS"
11641 # Check whether --enable-sdl or --disable-sdl was given.
11642 if test "${enable_sdl+set}" = set; then
11643 enableval="$enable_sdl"
11646 if test "x$enable_sdl" != "xno"
11650 # Check whether --with-sdl-config-path or --without-sdl-config-path was given.
11651 if test "${with_sdl_config_path+set}" = set; then
11652 withval="$with_sdl_config_path"
11653 if test "x$with_sdl_config_path" != "xno"
11655 SDL_PATH="$with_sdl_config_path:$PATH"
11658 # Extract the first word of "sdl12-config", so it can be a program name with args.
11659 set dummy sdl12-config; ac_word=$2
11660 echo "$as_me:$LINENO: checking for $ac_word" >&5
11661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11662 if test "${ac_cv_path_SDL12_CONFIG+set}" = set; then
11663 echo $ECHO_N "(cached) $ECHO_C" >&6
11665 case $SDL12_CONFIG in
11667 ac_cv_path_SDL12_CONFIG="$SDL12_CONFIG" # Let the user override the test with a path.
11670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11671 for as_dir in $SDL_PATH
11674 test -z "$as_dir" && as_dir=.
11675 for ac_exec_ext in '' $ac_executable_extensions; do
11676 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11677 ac_cv_path_SDL12_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11684 test -z "$ac_cv_path_SDL12_CONFIG" && ac_cv_path_SDL12_CONFIG="no"
11688 SDL12_CONFIG=$ac_cv_path_SDL12_CONFIG
11690 if test -n "$SDL12_CONFIG"; then
11691 echo "$as_me:$LINENO: result: $SDL12_CONFIG" >&5
11692 echo "${ECHO_T}$SDL12_CONFIG" >&6
11694 echo "$as_me:$LINENO: result: no" >&5
11695 echo "${ECHO_T}no" >&6
11698 SDL_CONFIG=${SDL12_CONFIG}
11699 SDL_HEADER="SDL12/SDL.h"
11700 if test x${SDL_CONFIG} = xno
11702 # Extract the first word of "sdl11-config", so it can be a program name with args.
11703 set dummy sdl11-config; ac_word=$2
11704 echo "$as_me:$LINENO: checking for $ac_word" >&5
11705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11706 if test "${ac_cv_path_SDL11_CONFIG+set}" = set; then
11707 echo $ECHO_N "(cached) $ECHO_C" >&6
11709 case $SDL11_CONFIG in
11711 ac_cv_path_SDL11_CONFIG="$SDL11_CONFIG" # Let the user override the test with a path.
11714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11715 for as_dir in $SDL_PATH
11718 test -z "$as_dir" && as_dir=.
11719 for ac_exec_ext in '' $ac_executable_extensions; do
11720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11721 ac_cv_path_SDL11_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11728 test -z "$ac_cv_path_SDL11_CONFIG" && ac_cv_path_SDL11_CONFIG="no"
11732 SDL11_CONFIG=$ac_cv_path_SDL11_CONFIG
11734 if test -n "$SDL11_CONFIG"; then
11735 echo "$as_me:$LINENO: result: $SDL11_CONFIG" >&5
11736 echo "${ECHO_T}$SDL11_CONFIG" >&6
11738 echo "$as_me:$LINENO: result: no" >&5
11739 echo "${ECHO_T}no" >&6
11742 SDL_CONFIG=${SDL11_CONFIG}
11743 SDL_HEADER="SDL11/SDL.h"
11745 if test x${SDL_CONFIG} = xno
11747 # Extract the first word of "sdl-config", so it can be a program name with args.
11748 set dummy sdl-config; ac_word=$2
11749 echo "$as_me:$LINENO: checking for $ac_word" >&5
11750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11751 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
11752 echo $ECHO_N "(cached) $ECHO_C" >&6
11754 case $SDL_CONFIG in
11756 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
11759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11760 for as_dir in $SDL_PATH
11763 test -z "$as_dir" && as_dir=.
11764 for ac_exec_ext in '' $ac_executable_extensions; do
11765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11766 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11773 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
11777 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
11779 if test -n "$SDL_CONFIG"; then
11780 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
11781 echo "${ECHO_T}$SDL_CONFIG" >&6
11783 echo "$as_me:$LINENO: result: no" >&5
11784 echo "${ECHO_T}no" >&6
11787 SDL_HEADER="SDL/SDL.h"
11789 if test x${SDL_CONFIG} != xno
11791 PLUGINS="${PLUGINS} sdl"
11792 sdl_CFLAGS="${sdl_CFLAGS} `${SDL_CONFIG} --cflags`"
11793 sdl_LDFLAGS="${sdl_LDFLAGS} `${SDL_CONFIG} --libs | sed 's,-rdynamic,,'`"
11794 CPPFLAGS="$save_CPPFLAGS $sdl_CFLAGS"
11796 for ac_header in ${SDL_HEADER}
11798 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11799 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11800 echo "$as_me:$LINENO: checking for $ac_header" >&5
11801 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11803 echo $ECHO_N "(cached) $ECHO_C" >&6
11805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11806 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11808 # Is the header compilable?
11809 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11810 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11811 cat >conftest.$ac_ext <<_ACEOF
11812 #line $LINENO "configure"
11813 #include "confdefs.h"
11814 $ac_includes_default
11815 #include <$ac_header>
11817 rm -f conftest.$ac_objext
11818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11819 (eval $ac_compile) 2>&5
11821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11822 (exit $ac_status); } &&
11823 { ac_try='test -s conftest.$ac_objext'
11824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11825 (eval $ac_try) 2>&5
11827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11828 (exit $ac_status); }; }; then
11829 ac_header_compiler=yes
11831 echo "$as_me: failed program was:" >&5
11832 cat conftest.$ac_ext >&5
11833 ac_header_compiler=no
11835 rm -f conftest.$ac_objext conftest.$ac_ext
11836 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11837 echo "${ECHO_T}$ac_header_compiler" >&6
11839 # Is the header present?
11840 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11841 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11842 cat >conftest.$ac_ext <<_ACEOF
11843 #line $LINENO "configure"
11844 #include "confdefs.h"
11845 #include <$ac_header>
11847 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11848 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11850 egrep -v '^ *\+' conftest.er1 >conftest.err
11852 cat conftest.err >&5
11853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11854 (exit $ac_status); } >/dev/null; then
11855 if test -s conftest.err; then
11856 ac_cpp_err=$ac_c_preproc_warn_flag
11863 if test -z "$ac_cpp_err"; then
11864 ac_header_preproc=yes
11866 echo "$as_me: failed program was:" >&5
11867 cat conftest.$ac_ext >&5
11868 ac_header_preproc=no
11870 rm -f conftest.err conftest.$ac_ext
11871 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11872 echo "${ECHO_T}$ac_header_preproc" >&6
11874 # So? What about this header?
11875 case $ac_header_compiler:$ac_header_preproc in
11877 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11878 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11879 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11880 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11882 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11883 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11884 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11885 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11886 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11887 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11889 echo "$as_me:$LINENO: checking for $ac_header" >&5
11890 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11891 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11892 echo $ECHO_N "(cached) $ECHO_C" >&6
11894 eval "$as_ac_Header=$ac_header_preproc"
11896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11897 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11900 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11901 cat >>confdefs.h <<_ACEOF
11902 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11905 cat >>confdefs.h <<_ACEOF
11906 #define SDL_INCLUDE_FILE <${SDL_HEADER}>
11910 { { echo "$as_me:$LINENO: error: The development package for SDL is not installed.
11911 Please install it and try again. Alternatively you can also configure with
11912 --disable-sdl." >&5
11913 echo "$as_me: error: The development package for SDL is not installed.
11914 Please install it and try again. Alternatively you can also configure with
11915 --disable-sdl." >&2;}
11916 { (exit 1); exit 1; }; }
11922 CPPFLAGS="$save_CPPFLAGS"
11923 if expr 1.1.5 \> `$SDL_CONFIG --version` >/dev/null
11925 { { echo "$as_me:$LINENO: error: The development package for SDL is not installed.
11926 Please install it and try again. Alternatively you can also configure with
11927 --disable-sdl." >&5
11928 echo "$as_me: error: The development package for SDL is not installed.
11929 Please install it and try again. Alternatively you can also configure with
11930 --disable-sdl." >&2;}
11931 { (exit 1); exit 1; }; }
11933 elif test "x$enable_sdl" = "xyes"
11935 { { echo "$as_me:$LINENO: error: I couldn't find the SDL package. You can download libSDL
11936 from http://www.libsdl.org/, or configure with --disable-sdl. Have a nice day.
11938 echo "$as_me: error: I couldn't find the SDL package. You can download libSDL
11939 from http://www.libsdl.org/, or configure with --disable-sdl. Have a nice day.
11941 { (exit 1); exit 1; }; }
11945 # Check whether --enable-directx or --disable-directx was given.
11946 if test "${enable_directx+set}" = set; then
11947 enableval="$enable_directx"
11950 if test "x$enable_directx" != "xno"
11952 if test x$SYS = xmingw32
11955 # Check whether --with-directx or --without-directx was given.
11956 if test "${with_directx+set}" = set; then
11957 withval="$with_directx"
11960 if test "x$with_directx" = "x"
11963 for ac_header in ddraw.h
11965 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11966 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11967 echo "$as_me:$LINENO: checking for $ac_header" >&5
11968 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11970 echo $ECHO_N "(cached) $ECHO_C" >&6
11972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11973 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11975 # Is the header compilable?
11976 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11977 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11978 cat >conftest.$ac_ext <<_ACEOF
11979 #line $LINENO "configure"
11980 #include "confdefs.h"
11981 $ac_includes_default
11982 #include <$ac_header>
11984 rm -f conftest.$ac_objext
11985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11986 (eval $ac_compile) 2>&5
11988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11989 (exit $ac_status); } &&
11990 { ac_try='test -s conftest.$ac_objext'
11991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11992 (eval $ac_try) 2>&5
11994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11995 (exit $ac_status); }; }; then
11996 ac_header_compiler=yes
11998 echo "$as_me: failed program was:" >&5
11999 cat conftest.$ac_ext >&5
12000 ac_header_compiler=no
12002 rm -f conftest.$ac_objext conftest.$ac_ext
12003 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12004 echo "${ECHO_T}$ac_header_compiler" >&6
12006 # Is the header present?
12007 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12008 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12009 cat >conftest.$ac_ext <<_ACEOF
12010 #line $LINENO "configure"
12011 #include "confdefs.h"
12012 #include <$ac_header>
12014 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12015 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12017 egrep -v '^ *\+' conftest.er1 >conftest.err
12019 cat conftest.err >&5
12020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12021 (exit $ac_status); } >/dev/null; then
12022 if test -s conftest.err; then
12023 ac_cpp_err=$ac_c_preproc_warn_flag
12030 if test -z "$ac_cpp_err"; then
12031 ac_header_preproc=yes
12033 echo "$as_me: failed program was:" >&5
12034 cat conftest.$ac_ext >&5
12035 ac_header_preproc=no
12037 rm -f conftest.err conftest.$ac_ext
12038 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12039 echo "${ECHO_T}$ac_header_preproc" >&6
12041 # So? What about this header?
12042 case $ac_header_compiler:$ac_header_preproc in
12044 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12045 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12046 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12047 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12049 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12050 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12051 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12052 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12053 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12054 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12056 echo "$as_me:$LINENO: checking for $ac_header" >&5
12057 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12058 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12059 echo $ECHO_N "(cached) $ECHO_C" >&6
12061 eval "$as_ac_Header=$ac_header_preproc"
12063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12064 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12067 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12068 cat >>confdefs.h <<_ACEOF
12069 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12071 PLUGINS="${PLUGINS} directx"
12072 directx_LDFLAGS="${directx_LDFLAGS} -lgdi32"
12078 echo "$as_me:$LINENO: checking for directX headers in ${with_directx}" >&5
12079 echo $ECHO_N "checking for directX headers in ${with_directx}... $ECHO_C" >&6
12080 if test -f ${with_directx}/ddraw.h
12082 PLUGINS="${PLUGINS} directx"
12083 directx_LDFLAGS="${directx_LDFLAGS} -L${with_directx}/lib -lgdi32"
12084 directx_CFLAGS="${directx_CFLAGS} -I${with_directx}"
12085 echo "$as_me:$LINENO: result: yes" >&5
12086 echo "${ECHO_T}yes" >&6
12088 echo "$as_me:$LINENO: result: no" >&5
12089 echo "${ECHO_T}no" >&6
12090 { { echo "$as_me:$LINENO: error: Cannot find ${with_directx}/ddraw.h!" >&5
12091 echo "$as_me: error: Cannot find ${with_directx}/ddraw.h!" >&2;}
12092 { (exit 1); exit 1; }; }
12098 # Check whether --enable-fb or --disable-fb was given.
12099 if test "${enable_fb+set}" = set; then
12100 enableval="$enable_fb"
12103 if test x$enable_fb != xno
12106 for ac_header in linux/fb.h
12108 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12110 echo "$as_me:$LINENO: checking for $ac_header" >&5
12111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12113 echo $ECHO_N "(cached) $ECHO_C" >&6
12115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12118 # Is the header compilable?
12119 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12120 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12121 cat >conftest.$ac_ext <<_ACEOF
12122 #line $LINENO "configure"
12123 #include "confdefs.h"
12124 $ac_includes_default
12125 #include <$ac_header>
12127 rm -f conftest.$ac_objext
12128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12129 (eval $ac_compile) 2>&5
12131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12132 (exit $ac_status); } &&
12133 { ac_try='test -s conftest.$ac_objext'
12134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12135 (eval $ac_try) 2>&5
12137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12138 (exit $ac_status); }; }; then
12139 ac_header_compiler=yes
12141 echo "$as_me: failed program was:" >&5
12142 cat conftest.$ac_ext >&5
12143 ac_header_compiler=no
12145 rm -f conftest.$ac_objext conftest.$ac_ext
12146 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12147 echo "${ECHO_T}$ac_header_compiler" >&6
12149 # Is the header present?
12150 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12151 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12152 cat >conftest.$ac_ext <<_ACEOF
12153 #line $LINENO "configure"
12154 #include "confdefs.h"
12155 #include <$ac_header>
12157 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12158 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12160 egrep -v '^ *\+' conftest.er1 >conftest.err
12162 cat conftest.err >&5
12163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12164 (exit $ac_status); } >/dev/null; then
12165 if test -s conftest.err; then
12166 ac_cpp_err=$ac_c_preproc_warn_flag
12173 if test -z "$ac_cpp_err"; then
12174 ac_header_preproc=yes
12176 echo "$as_me: failed program was:" >&5
12177 cat conftest.$ac_ext >&5
12178 ac_header_preproc=no
12180 rm -f conftest.err conftest.$ac_ext
12181 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12182 echo "${ECHO_T}$ac_header_preproc" >&6
12184 # So? What about this header?
12185 case $ac_header_compiler:$ac_header_preproc in
12187 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12188 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12189 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12190 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12192 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12193 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12194 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12195 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&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: checking for $ac_header" >&5
12200 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12201 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12202 echo $ECHO_N "(cached) $ECHO_C" >&6
12204 eval "$as_ac_Header=$ac_header_preproc"
12206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12207 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12210 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12211 cat >>confdefs.h <<_ACEOF
12212 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12215 PLUGINS="${PLUGINS} fb"
12223 # Check whether --enable-mga or --disable-mga was given.
12224 if test "${enable_mga+set}" = set; then
12225 enableval="$enable_mga"
12226 if test x$enable_mga = xyes
12228 PLUGINS="${PLUGINS} mga xmga"
12232 # Check whether --enable-ggi or --disable-ggi was given.
12233 if test "${enable_ggi+set}" = set; then
12234 enableval="$enable_ggi"
12237 if test x$enable_ggi = xyes
12239 PLUGINS="${PLUGINS} ggi"
12240 ggi_LDFLAGS="${ggi_LDFLAGS} -lggi"
12242 # Check whether --with-ggi or --without-ggi was given.
12243 if test "${with_ggi+set}" = set; then
12244 withval="$with_ggi"
12245 if test "x$with_ggi" != "xno" -a "x$with_ggi" != "x"
12247 CFLAGS_GGI="${CFLAGS_GGI} -I$with_ggi/include"
12248 ggi_LDFLAGS="${ggi_LDFLAGS} -L$with_ggi/lib"
12253 # Check whether --enable-glide or --disable-glide was given.
12254 if test "${enable_glide+set}" = set; then
12255 enableval="$enable_glide"
12258 if test x$enable_glide = xyes
12260 PLUGINS="${PLUGINS} glide"
12261 glide_LDFLAGS="${glide_LDFLAGS} -lglide2x -lm"
12262 glide_CFLAGS="${glide_CFLAGS} -I/usr/include/glide"
12264 # Check whether --with-glide or --without-glide was given.
12265 if test "${with_glide+set}" = set; then
12266 withval="$with_glide"
12267 if test "x$with_glide" != "xno" -a "x$with_glide" != "x"
12269 glide_CFLAGS="${glide_CFLAGS} -I$with_glide/include"
12270 glide_LDFLAGS="${glide_LDFLAGS} -L$with_glide/lib"
12275 # Check whether --enable-aa or --disable-aa was given.
12276 if test "${enable_aa+set}" = set; then
12277 enableval="$enable_aa"
12280 if test x$enable_aa = xyes
12282 if test "${ac_cv_header_aalib_h+set}" = set; then
12283 echo "$as_me:$LINENO: checking for aalib.h" >&5
12284 echo $ECHO_N "checking for aalib.h... $ECHO_C" >&6
12285 if test "${ac_cv_header_aalib_h+set}" = set; then
12286 echo $ECHO_N "(cached) $ECHO_C" >&6
12288 echo "$as_me:$LINENO: result: $ac_cv_header_aalib_h" >&5
12289 echo "${ECHO_T}$ac_cv_header_aalib_h" >&6
12291 # Is the header compilable?
12292 echo "$as_me:$LINENO: checking aalib.h usability" >&5
12293 echo $ECHO_N "checking aalib.h usability... $ECHO_C" >&6
12294 cat >conftest.$ac_ext <<_ACEOF
12295 #line $LINENO "configure"
12296 #include "confdefs.h"
12297 $ac_includes_default
12300 rm -f conftest.$ac_objext
12301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12302 (eval $ac_compile) 2>&5
12304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12305 (exit $ac_status); } &&
12306 { ac_try='test -s conftest.$ac_objext'
12307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12308 (eval $ac_try) 2>&5
12310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12311 (exit $ac_status); }; }; then
12312 ac_header_compiler=yes
12314 echo "$as_me: failed program was:" >&5
12315 cat conftest.$ac_ext >&5
12316 ac_header_compiler=no
12318 rm -f conftest.$ac_objext conftest.$ac_ext
12319 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12320 echo "${ECHO_T}$ac_header_compiler" >&6
12322 # Is the header present?
12323 echo "$as_me:$LINENO: checking aalib.h presence" >&5
12324 echo $ECHO_N "checking aalib.h presence... $ECHO_C" >&6
12325 cat >conftest.$ac_ext <<_ACEOF
12326 #line $LINENO "configure"
12327 #include "confdefs.h"
12330 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12331 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12333 egrep -v '^ *\+' conftest.er1 >conftest.err
12335 cat conftest.err >&5
12336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12337 (exit $ac_status); } >/dev/null; then
12338 if test -s conftest.err; then
12339 ac_cpp_err=$ac_c_preproc_warn_flag
12346 if test -z "$ac_cpp_err"; then
12347 ac_header_preproc=yes
12349 echo "$as_me: failed program was:" >&5
12350 cat conftest.$ac_ext >&5
12351 ac_header_preproc=no
12353 rm -f conftest.err conftest.$ac_ext
12354 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12355 echo "${ECHO_T}$ac_header_preproc" >&6
12357 # So? What about this header?
12358 case $ac_header_compiler:$ac_header_preproc in
12360 { echo "$as_me:$LINENO: WARNING: aalib.h: accepted by the compiler, rejected by the preprocessor!" >&5
12361 echo "$as_me: WARNING: aalib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12362 { echo "$as_me:$LINENO: WARNING: aalib.h: proceeding with the preprocessor's result" >&5
12363 echo "$as_me: WARNING: aalib.h: proceeding with the preprocessor's result" >&2;};;
12365 { echo "$as_me:$LINENO: WARNING: aalib.h: present but cannot be compiled" >&5
12366 echo "$as_me: WARNING: aalib.h: present but cannot be compiled" >&2;}
12367 { echo "$as_me:$LINENO: WARNING: aalib.h: check for missing prerequisite headers?" >&5
12368 echo "$as_me: WARNING: aalib.h: check for missing prerequisite headers?" >&2;}
12369 { echo "$as_me:$LINENO: WARNING: aalib.h: proceeding with the preprocessor's result" >&5
12370 echo "$as_me: WARNING: aalib.h: proceeding with the preprocessor's result" >&2;};;
12372 echo "$as_me:$LINENO: checking for aalib.h" >&5
12373 echo $ECHO_N "checking for aalib.h... $ECHO_C" >&6
12374 if test "${ac_cv_header_aalib_h+set}" = set; then
12375 echo $ECHO_N "(cached) $ECHO_C" >&6
12377 ac_cv_header_aalib_h=$ac_header_preproc
12379 echo "$as_me:$LINENO: result: $ac_cv_header_aalib_h" >&5
12380 echo "${ECHO_T}$ac_cv_header_aalib_h" >&6
12383 if test $ac_cv_header_aalib_h = yes; then
12390 if test x$have_aa = xtrue
12392 PLUGINS="${PLUGINS} aa"
12393 aa_LDFLAGS="${aa_LDFLAGS} -laa"
12399 # Check whether --with- or --without- was given.
12400 if test "${with_+set}" = set; then
12405 # Check whether --enable-dsp or --disable-dsp was given.
12406 if test "${enable_dsp+set}" = set; then
12407 enableval="$enable_dsp"
12411 if test x$enable_dsp != xno &&
12412 (test x$SYS != xmingw32 || test x$enable_dsp = xyes)
12417 for ac_header in soundcard.h sys/soundcard.h machine/soundcard.h
12419 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12421 echo "$as_me:$LINENO: checking for $ac_header" >&5
12422 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12423 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12424 echo $ECHO_N "(cached) $ECHO_C" >&6
12426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12429 # Is the header compilable?
12430 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12431 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12432 cat >conftest.$ac_ext <<_ACEOF
12433 #line $LINENO "configure"
12434 #include "confdefs.h"
12435 $ac_includes_default
12436 #include <$ac_header>
12438 rm -f conftest.$ac_objext
12439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12440 (eval $ac_compile) 2>&5
12442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12443 (exit $ac_status); } &&
12444 { ac_try='test -s conftest.$ac_objext'
12445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12446 (eval $ac_try) 2>&5
12448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12449 (exit $ac_status); }; }; then
12450 ac_header_compiler=yes
12452 echo "$as_me: failed program was:" >&5
12453 cat conftest.$ac_ext >&5
12454 ac_header_compiler=no
12456 rm -f conftest.$ac_objext conftest.$ac_ext
12457 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12458 echo "${ECHO_T}$ac_header_compiler" >&6
12460 # Is the header present?
12461 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12462 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12463 cat >conftest.$ac_ext <<_ACEOF
12464 #line $LINENO "configure"
12465 #include "confdefs.h"
12466 #include <$ac_header>
12468 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12469 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12471 egrep -v '^ *\+' conftest.er1 >conftest.err
12473 cat conftest.err >&5
12474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12475 (exit $ac_status); } >/dev/null; then
12476 if test -s conftest.err; then
12477 ac_cpp_err=$ac_c_preproc_warn_flag
12484 if test -z "$ac_cpp_err"; then
12485 ac_header_preproc=yes
12487 echo "$as_me: failed program was:" >&5
12488 cat conftest.$ac_ext >&5
12489 ac_header_preproc=no
12491 rm -f conftest.err conftest.$ac_ext
12492 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12493 echo "${ECHO_T}$ac_header_preproc" >&6
12495 # So? What about this header?
12496 case $ac_header_compiler:$ac_header_preproc in
12498 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12499 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12500 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12501 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12503 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12504 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12505 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12506 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12507 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12508 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12510 echo "$as_me:$LINENO: checking for $ac_header" >&5
12511 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12512 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12513 echo $ECHO_N "(cached) $ECHO_C" >&6
12515 eval "$as_ac_Header=$ac_header_preproc"
12517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12518 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12521 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12522 cat >>confdefs.h <<_ACEOF
12523 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12526 PLUGINS="${PLUGINS} dsp"
12527 echo "$as_me:$LINENO: checking for main in -lossaudio" >&5
12528 echo $ECHO_N "checking for main in -lossaudio... $ECHO_C" >&6
12529 if test "${ac_cv_lib_ossaudio_main+set}" = set; then
12530 echo $ECHO_N "(cached) $ECHO_C" >&6
12532 ac_check_lib_save_LIBS=$LIBS
12533 LIBS="-lossaudio $LIBS"
12534 cat >conftest.$ac_ext <<_ACEOF
12535 #line $LINENO "configure"
12536 #include "confdefs.h"
12539 #ifdef F77_DUMMY_MAIN
12540 # ifdef __cplusplus
12543 int F77_DUMMY_MAIN() { return 1; }
12553 rm -f conftest.$ac_objext conftest$ac_exeext
12554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12555 (eval $ac_link) 2>&5
12557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12558 (exit $ac_status); } &&
12559 { ac_try='test -s conftest$ac_exeext'
12560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12561 (eval $ac_try) 2>&5
12563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12564 (exit $ac_status); }; }; then
12565 ac_cv_lib_ossaudio_main=yes
12567 echo "$as_me: failed program was:" >&5
12568 cat conftest.$ac_ext >&5
12569 ac_cv_lib_ossaudio_main=no
12571 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12572 LIBS=$ac_check_lib_save_LIBS
12574 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio_main" >&5
12575 echo "${ECHO_T}$ac_cv_lib_ossaudio_main" >&6
12576 if test $ac_cv_lib_ossaudio_main = yes; then
12577 dsp_LDFLAGS="${dsp_LDFLAGS} -lossaudio"
12587 # Check whether --enable-esd or --disable-esd was given.
12588 if test "${enable_esd+set}" = set; then
12589 enableval="$enable_esd"
12590 if test x$enable_esd = xyes
12592 # Extract the first word of "esd-config", so it can be a program name with args.
12593 set dummy esd-config; ac_word=$2
12594 echo "$as_me:$LINENO: checking for $ac_word" >&5
12595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12596 if test "${ac_cv_path_ESD_CONFIG+set}" = set; then
12597 echo $ECHO_N "(cached) $ECHO_C" >&6
12599 case $ESD_CONFIG in
12601 ac_cv_path_ESD_CONFIG="$ESD_CONFIG" # Let the user override the test with a path.
12604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12605 for as_dir in $PATH
12608 test -z "$as_dir" && as_dir=.
12609 for ac_exec_ext in '' $ac_executable_extensions; do
12610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12611 ac_cv_path_ESD_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12618 test -z "$ac_cv_path_ESD_CONFIG" && ac_cv_path_ESD_CONFIG="no"
12622 ESD_CONFIG=$ac_cv_path_ESD_CONFIG
12624 if test -n "$ESD_CONFIG"; then
12625 echo "$as_me:$LINENO: result: $ESD_CONFIG" >&5
12626 echo "${ECHO_T}$ESD_CONFIG" >&6
12628 echo "$as_me:$LINENO: result: no" >&5
12629 echo "${ECHO_T}no" >&6
12632 if test x${ESD_CONFIG} != xno
12634 PLUGINS="${PLUGINS} esd"
12635 esd_CFLAGS="${esd_CFLAGS} `${ESD_CONFIG} --cflags`"
12636 esd_LDFLAGS="${esd_LDFLAGS} `${ESD_CONFIG} --libs`"
12641 # Check whether --enable-arts or --disable-arts was given.
12642 if test "${enable_arts+set}" = set; then
12643 enableval="$enable_arts"
12644 if test x$enable_arts = xyes
12646 # Extract the first word of "artsc-config", so it can be a program name with args.
12647 set dummy artsc-config; ac_word=$2
12648 echo "$as_me:$LINENO: checking for $ac_word" >&5
12649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12650 if test "${ac_cv_path_ARTS_CONFIG+set}" = set; then
12651 echo $ECHO_N "(cached) $ECHO_C" >&6
12653 case $ARTS_CONFIG in
12655 ac_cv_path_ARTS_CONFIG="$ARTS_CONFIG" # Let the user override the test with a path.
12658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12659 for as_dir in $PATH
12662 test -z "$as_dir" && as_dir=.
12663 for ac_exec_ext in '' $ac_executable_extensions; do
12664 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12665 ac_cv_path_ARTS_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12672 test -z "$ac_cv_path_ARTS_CONFIG" && ac_cv_path_ARTS_CONFIG="no"
12676 ARTS_CONFIG=$ac_cv_path_ARTS_CONFIG
12678 if test -n "$ARTS_CONFIG"; then
12679 echo "$as_me:$LINENO: result: $ARTS_CONFIG" >&5
12680 echo "${ECHO_T}$ARTS_CONFIG" >&6
12682 echo "$as_me:$LINENO: result: no" >&5
12683 echo "${ECHO_T}no" >&6
12686 if test x${ARTS_CONFIG} != xno
12688 PLUGINS="${PLUGINS} arts"
12689 arts_CFLAGS="${arts_CFLAGS} `${ARTS_CONFIG} --cflags`"
12690 arts_LDFLAGS="${arts_LDFLAGS} `${ARTS_CONFIG} --libs `"
12695 # Check whether --enable-alsa or --disable-alsa was given.
12696 if test "${enable_alsa+set}" = set; then
12697 enableval="$enable_alsa"
12698 if test x$enable_alsa = xyes
12700 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
12701 echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
12702 echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6
12703 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
12704 echo $ECHO_N "(cached) $ECHO_C" >&6
12706 echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
12707 echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6
12709 # Is the header compilable?
12710 echo "$as_me:$LINENO: checking alsa/asoundlib.h usability" >&5
12711 echo $ECHO_N "checking alsa/asoundlib.h usability... $ECHO_C" >&6
12712 cat >conftest.$ac_ext <<_ACEOF
12713 #line $LINENO "configure"
12714 #include "confdefs.h"
12715 $ac_includes_default
12716 #include <alsa/asoundlib.h>
12718 rm -f conftest.$ac_objext
12719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12720 (eval $ac_compile) 2>&5
12722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12723 (exit $ac_status); } &&
12724 { ac_try='test -s conftest.$ac_objext'
12725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12726 (eval $ac_try) 2>&5
12728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12729 (exit $ac_status); }; }; then
12730 ac_header_compiler=yes
12732 echo "$as_me: failed program was:" >&5
12733 cat conftest.$ac_ext >&5
12734 ac_header_compiler=no
12736 rm -f conftest.$ac_objext conftest.$ac_ext
12737 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12738 echo "${ECHO_T}$ac_header_compiler" >&6
12740 # Is the header present?
12741 echo "$as_me:$LINENO: checking alsa/asoundlib.h presence" >&5
12742 echo $ECHO_N "checking alsa/asoundlib.h presence... $ECHO_C" >&6
12743 cat >conftest.$ac_ext <<_ACEOF
12744 #line $LINENO "configure"
12745 #include "confdefs.h"
12746 #include <alsa/asoundlib.h>
12748 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12749 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12751 egrep -v '^ *\+' conftest.er1 >conftest.err
12753 cat conftest.err >&5
12754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12755 (exit $ac_status); } >/dev/null; then
12756 if test -s conftest.err; then
12757 ac_cpp_err=$ac_c_preproc_warn_flag
12764 if test -z "$ac_cpp_err"; then
12765 ac_header_preproc=yes
12767 echo "$as_me: failed program was:" >&5
12768 cat conftest.$ac_ext >&5
12769 ac_header_preproc=no
12771 rm -f conftest.err conftest.$ac_ext
12772 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12773 echo "${ECHO_T}$ac_header_preproc" >&6
12775 # So? What about this header?
12776 case $ac_header_compiler:$ac_header_preproc in
12778 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
12779 echo "$as_me: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12780 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&5
12781 echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;};;
12783 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&5
12784 echo "$as_me: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&2;}
12785 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&5
12786 echo "$as_me: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&2;}
12787 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&5
12788 echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;};;
12790 echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
12791 echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6
12792 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
12793 echo $ECHO_N "(cached) $ECHO_C" >&6
12795 ac_cv_header_alsa_asoundlib_h=$ac_header_preproc
12797 echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
12798 echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6
12801 if test $ac_cv_header_alsa_asoundlib_h = yes; then
12802 echo "$as_me:$LINENO: checking for main in -lasound" >&5
12803 echo $ECHO_N "checking for main in -lasound... $ECHO_C" >&6
12804 if test "${ac_cv_lib_asound_main+set}" = set; then
12805 echo $ECHO_N "(cached) $ECHO_C" >&6
12807 ac_check_lib_save_LIBS=$LIBS
12808 LIBS="-lasound $LIBS"
12809 cat >conftest.$ac_ext <<_ACEOF
12810 #line $LINENO "configure"
12811 #include "confdefs.h"
12814 #ifdef F77_DUMMY_MAIN
12815 # ifdef __cplusplus
12818 int F77_DUMMY_MAIN() { return 1; }
12828 rm -f conftest.$ac_objext conftest$ac_exeext
12829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12830 (eval $ac_link) 2>&5
12832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12833 (exit $ac_status); } &&
12834 { ac_try='test -s conftest$ac_exeext'
12835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12836 (eval $ac_try) 2>&5
12838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12839 (exit $ac_status); }; }; then
12840 ac_cv_lib_asound_main=yes
12842 echo "$as_me: failed program was:" >&5
12843 cat conftest.$ac_ext >&5
12844 ac_cv_lib_asound_main=no
12846 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12847 LIBS=$ac_check_lib_save_LIBS
12849 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_main" >&5
12850 echo "${ECHO_T}$ac_cv_lib_asound_main" >&6
12851 if test $ac_cv_lib_asound_main = yes; then
12862 if test x$have_alsa = xtrue
12864 PLUGINS="${PLUGINS} alsa"
12865 alsa_LDFLAGS="${alsa_LDFLAGS} -lasound -lm -ldl"
12870 # Check whether --enable-waveout or --disable-waveout was given.
12871 if test "${enable_waveout+set}" = set; then
12872 enableval="$enable_waveout"
12875 if test "x$enable_waveout" != "xno" -a x$SYS = xmingw32
12877 PLUGINS="${PLUGINS} waveout"
12878 waveout_LDFLAGS="-lwinmm"
12883 # Check whether --with- or --without- was given.
12884 if test "${with_+set}" = set; then
12889 # Check whether --enable-gtk or --disable-gtk was given.
12890 if test "${enable_gtk+set}" = set; then
12891 enableval="$enable_gtk"
12894 if test x$enable_gtk != xno
12898 # Check whether --with-gtk-config-path or --without-gtk-config-path was given.
12899 if test "${with_gtk_config_path+set}" = set; then
12900 withval="$with_gtk_config_path"
12901 if test "x$with_gtk_config_path" != "xno"
12903 GTK_PATH="$with_gtk_config_path:$PATH"
12906 # look for gtk-config
12907 # Extract the first word of "gtk12-config", so it can be a program name with args.
12908 set dummy gtk12-config; ac_word=$2
12909 echo "$as_me:$LINENO: checking for $ac_word" >&5
12910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12911 if test "${ac_cv_path_GTK12_CONFIG+set}" = set; then
12912 echo $ECHO_N "(cached) $ECHO_C" >&6
12914 case $GTK12_CONFIG in
12916 ac_cv_path_GTK12_CONFIG="$GTK12_CONFIG" # Let the user override the test with a path.
12919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12920 for as_dir in $GTK_PATH
12923 test -z "$as_dir" && as_dir=.
12924 for ac_exec_ext in '' $ac_executable_extensions; do
12925 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12926 ac_cv_path_GTK12_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12933 test -z "$ac_cv_path_GTK12_CONFIG" && ac_cv_path_GTK12_CONFIG="no"
12937 GTK12_CONFIG=$ac_cv_path_GTK12_CONFIG
12939 if test -n "$GTK12_CONFIG"; then
12940 echo "$as_me:$LINENO: result: $GTK12_CONFIG" >&5
12941 echo "${ECHO_T}$GTK12_CONFIG" >&6
12943 echo "$as_me:$LINENO: result: no" >&5
12944 echo "${ECHO_T}no" >&6
12947 GTK_CONFIG=${GTK12_CONFIG}
12948 if test x${GTK_CONFIG} = xno
12950 # Extract the first word of "gtk-config", so it can be a program name with args.
12951 set dummy gtk-config; ac_word=$2
12952 echo "$as_me:$LINENO: checking for $ac_word" >&5
12953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12954 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
12955 echo $ECHO_N "(cached) $ECHO_C" >&6
12957 case $GTK_CONFIG in
12959 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
12962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12963 for as_dir in $GTK_PATH
12966 test -z "$as_dir" && as_dir=.
12967 for ac_exec_ext in '' $ac_executable_extensions; do
12968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12969 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12976 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
12980 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
12982 if test -n "$GTK_CONFIG"; then
12983 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
12984 echo "${ECHO_T}$GTK_CONFIG" >&6
12986 echo "$as_me:$LINENO: result: no" >&5
12987 echo "${ECHO_T}no" >&6
12991 if test x${GTK_CONFIG} != xno
12993 if expr 1.2.0 \> `$GTK_CONFIG --version` >/dev/null
12995 { { 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
12996 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;}
12997 { (exit 1); exit 1; }; }
12999 gtk_CFLAGS="${gtk_CFLAGS} `${GTK_CONFIG} --cflags gtk`"
13000 gtk_LDFLAGS="${gtk_LDFLAGS} `${GTK_CONFIG} --libs gtk | sed 's,-rdynamic,,'`"
13001 # now look for the gtk.h header
13002 CPPFLAGS="$save_CPPFLAGS $gtk_CFLAGS"
13003 ac_cv_gtk_headers=yes
13007 for ac_header in gtk/gtk.h glib.h gdk/gdk.h
13009 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13010 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13011 echo "$as_me:$LINENO: checking for $ac_header" >&5
13012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13013 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13014 echo $ECHO_N "(cached) $ECHO_C" >&6
13016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13017 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13019 # Is the header compilable?
13020 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13021 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13022 cat >conftest.$ac_ext <<_ACEOF
13023 #line $LINENO "configure"
13024 #include "confdefs.h"
13025 $ac_includes_default
13026 #include <$ac_header>
13028 rm -f conftest.$ac_objext
13029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13030 (eval $ac_compile) 2>&5
13032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13033 (exit $ac_status); } &&
13034 { ac_try='test -s conftest.$ac_objext'
13035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13036 (eval $ac_try) 2>&5
13038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13039 (exit $ac_status); }; }; then
13040 ac_header_compiler=yes
13042 echo "$as_me: failed program was:" >&5
13043 cat conftest.$ac_ext >&5
13044 ac_header_compiler=no
13046 rm -f conftest.$ac_objext conftest.$ac_ext
13047 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13048 echo "${ECHO_T}$ac_header_compiler" >&6
13050 # Is the header present?
13051 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13052 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13053 cat >conftest.$ac_ext <<_ACEOF
13054 #line $LINENO "configure"
13055 #include "confdefs.h"
13056 #include <$ac_header>
13058 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13059 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13061 egrep -v '^ *\+' conftest.er1 >conftest.err
13063 cat conftest.err >&5
13064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13065 (exit $ac_status); } >/dev/null; then
13066 if test -s conftest.err; then
13067 ac_cpp_err=$ac_c_preproc_warn_flag
13074 if test -z "$ac_cpp_err"; then
13075 ac_header_preproc=yes
13077 echo "$as_me: failed program was:" >&5
13078 cat conftest.$ac_ext >&5
13079 ac_header_preproc=no
13081 rm -f conftest.err conftest.$ac_ext
13082 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13083 echo "${ECHO_T}$ac_header_preproc" >&6
13085 # So? What about this header?
13086 case $ac_header_compiler:$ac_header_preproc in
13088 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13089 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13090 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13091 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13093 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13094 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13095 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13096 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13097 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13098 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13100 echo "$as_me:$LINENO: checking for $ac_header" >&5
13101 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13103 echo $ECHO_N "(cached) $ECHO_C" >&6
13105 eval "$as_ac_Header=$ac_header_preproc"
13107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13108 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13111 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13112 cat >>confdefs.h <<_ACEOF
13113 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13118 ac_cv_gtk_headers=no
13119 echo "Cannot find gtk development headers."
13125 if test "x$ac_cv_gtk_headers" = xyes
13127 PLUGINS="${PLUGINS} gtk"
13128 ALIASES="${ALIASES} gvlc"
13130 CPPFLAGS="$save_CPPFLAGS"
13134 # Check whether --enable-gnome or --disable-gnome was given.
13135 if test "${enable_gnome+set}" = set; then
13136 enableval="$enable_gnome"
13137 if test x$enable_gnome = xyes; then
13138 # look for gnome-config
13139 # Extract the first word of "gnome-config", so it can be a program name with args.
13140 set dummy gnome-config; ac_word=$2
13141 echo "$as_me:$LINENO: checking for $ac_word" >&5
13142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13143 if test "${ac_cv_path_GNOME_CONFIG+set}" = set; then
13144 echo $ECHO_N "(cached) $ECHO_C" >&6
13146 case $GNOME_CONFIG in
13148 ac_cv_path_GNOME_CONFIG="$GNOME_CONFIG" # Let the user override the test with a path.
13151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13152 for as_dir in $PATH
13155 test -z "$as_dir" && as_dir=.
13156 for ac_exec_ext in '' $ac_executable_extensions; do
13157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13158 ac_cv_path_GNOME_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13165 test -z "$ac_cv_path_GNOME_CONFIG" && ac_cv_path_GNOME_CONFIG="no"
13169 GNOME_CONFIG=$ac_cv_path_GNOME_CONFIG
13171 if test -n "$GNOME_CONFIG"; then
13172 echo "$as_me:$LINENO: result: $GNOME_CONFIG" >&5
13173 echo "${ECHO_T}$GNOME_CONFIG" >&6
13175 echo "$as_me:$LINENO: result: no" >&5
13176 echo "${ECHO_T}no" >&6
13179 if test -x ${GNOME_CONFIG}
13181 gnome_CFLAGS="${gnome_CFLAGS} `${GNOME_CONFIG} --cflags gtk gnomeui`"
13182 gnome_LDFLAGS="${gnome_LDFLAGS} `${GNOME_CONFIG} --libs gnomeui | sed 's,-rdynamic,,'`"
13184 # now look for the gnome.h header
13185 CPPFLAGS="$save_CPPFLAGS $gnome_CFLAGS"
13187 for ac_header in gnome.h
13189 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13191 echo "$as_me:$LINENO: checking for $ac_header" >&5
13192 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13194 echo $ECHO_N "(cached) $ECHO_C" >&6
13196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13197 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13199 # Is the header compilable?
13200 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13201 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13202 cat >conftest.$ac_ext <<_ACEOF
13203 #line $LINENO "configure"
13204 #include "confdefs.h"
13205 $ac_includes_default
13206 #include <$ac_header>
13208 rm -f conftest.$ac_objext
13209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13210 (eval $ac_compile) 2>&5
13212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13213 (exit $ac_status); } &&
13214 { ac_try='test -s conftest.$ac_objext'
13215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13216 (eval $ac_try) 2>&5
13218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13219 (exit $ac_status); }; }; then
13220 ac_header_compiler=yes
13222 echo "$as_me: failed program was:" >&5
13223 cat conftest.$ac_ext >&5
13224 ac_header_compiler=no
13226 rm -f conftest.$ac_objext conftest.$ac_ext
13227 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13228 echo "${ECHO_T}$ac_header_compiler" >&6
13230 # Is the header present?
13231 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13232 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13233 cat >conftest.$ac_ext <<_ACEOF
13234 #line $LINENO "configure"
13235 #include "confdefs.h"
13236 #include <$ac_header>
13238 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13239 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13241 egrep -v '^ *\+' conftest.er1 >conftest.err
13243 cat conftest.err >&5
13244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13245 (exit $ac_status); } >/dev/null; then
13246 if test -s conftest.err; then
13247 ac_cpp_err=$ac_c_preproc_warn_flag
13254 if test -z "$ac_cpp_err"; then
13255 ac_header_preproc=yes
13257 echo "$as_me: failed program was:" >&5
13258 cat conftest.$ac_ext >&5
13259 ac_header_preproc=no
13261 rm -f conftest.err conftest.$ac_ext
13262 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13263 echo "${ECHO_T}$ac_header_preproc" >&6
13265 # So? What about this header?
13266 case $ac_header_compiler:$ac_header_preproc in
13268 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13269 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13270 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13271 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13273 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13274 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13275 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13276 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13277 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13278 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13280 echo "$as_me:$LINENO: checking for $ac_header" >&5
13281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13283 echo $ECHO_N "(cached) $ECHO_C" >&6
13285 eval "$as_ac_Header=$ac_header_preproc"
13287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13288 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13291 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13292 cat >>confdefs.h <<_ACEOF
13293 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13296 PLUGINS="${PLUGINS} gnome"
13297 ALIASES="${ALIASES} gnome-vlc"
13301 { { echo "$as_me:$LINENO: error: Can't find gnome headers. Please install the gnome
13302 developement tools or remove the --enable-gnome option" >&5
13303 echo "$as_me: error: Can't find gnome headers. Please install the gnome
13304 developement tools or remove the --enable-gnome option" >&2;}
13305 { (exit 1); exit 1; }; }
13311 CPPFLAGS="$save_CPPFLAGS"
13315 # Check whether --enable-qt or --disable-qt was given.
13316 if test "${enable_qt+set}" = set; then
13317 enableval="$enable_qt"
13318 if test x$enable_qt = xyes; then
13319 PLUGINS="${PLUGINS} qt"
13320 ALIASES="${ALIASES} qvlc"
13321 qt_LDFLAGS="${qt_LDFLAGS} -lqt -L${QTDIR}/lib"
13322 qt_CFLAGS="${qt_CFLAGS} -I/usr/include/qt -I${QTDIR}/include"
13323 if test -x ${QTDIR}/bin/moc
13325 MOC=${QTDIR}/bin/moc
13332 # Check whether --enable-kde or --disable-kde was given.
13333 if test "${enable_kde+set}" = set; then
13334 enableval="$enable_kde"
13335 if test x$enable_kde = xyes; then
13336 PLUGINS="${PLUGINS} kde"
13337 ALIASES="${ALIASES} kvlc"
13338 kde_LDFLAGS="${kde_LDFLAGS} -L${KDEDIR}/lib -lkfile"
13339 kde_CFLAGS="${kde_CFLAGS} -I/usr/include/kde -I/usr/include/qt"
13340 kde_CFLAGS="${kde_CFLAGS} -I${KDEDIR}/include -I${QTDIR}/include"
13341 if test -x ${QTDIR}/bin/moc
13343 MOC=${QTDIR}/bin/moc
13350 # Check whether --enable-macosx or --disable-macosx was given.
13351 if test "${enable_macosx+set}" = set; then
13352 enableval="$enable_macosx"
13353 if test x$enable_macosx = xyes
13355 BUILTINS="${BUILTINS} macosx"
13356 macosx_LDFLAGS="${macosx_LDFLAGS} -framework CoreAudio -framework AudioToolbox -framework IOKit -framework Cocoa -framework AGL -framework QuickTime -lobjc -ObjC"
13360 for ac_header in Cocoa/Cocoa.h
13362 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13364 echo "$as_me:$LINENO: checking for $ac_header" >&5
13365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13366 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13367 echo $ECHO_N "(cached) $ECHO_C" >&6
13369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13370 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13372 # Is the header compilable?
13373 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13374 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13375 cat >conftest.$ac_ext <<_ACEOF
13376 #line $LINENO "configure"
13377 #include "confdefs.h"
13378 $ac_includes_default
13379 #include <$ac_header>
13381 rm -f conftest.$ac_objext
13382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13383 (eval $ac_compile) 2>&5
13385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13386 (exit $ac_status); } &&
13387 { ac_try='test -s conftest.$ac_objext'
13388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13389 (eval $ac_try) 2>&5
13391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13392 (exit $ac_status); }; }; then
13393 ac_header_compiler=yes
13395 echo "$as_me: failed program was:" >&5
13396 cat conftest.$ac_ext >&5
13397 ac_header_compiler=no
13399 rm -f conftest.$ac_objext conftest.$ac_ext
13400 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13401 echo "${ECHO_T}$ac_header_compiler" >&6
13403 # Is the header present?
13404 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13405 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13406 cat >conftest.$ac_ext <<_ACEOF
13407 #line $LINENO "configure"
13408 #include "confdefs.h"
13409 #include <$ac_header>
13411 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13412 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13414 egrep -v '^ *\+' conftest.er1 >conftest.err
13416 cat conftest.err >&5
13417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13418 (exit $ac_status); } >/dev/null; then
13419 if test -s conftest.err; then
13420 ac_cpp_err=$ac_c_preproc_warn_flag
13427 if test -z "$ac_cpp_err"; then
13428 ac_header_preproc=yes
13430 echo "$as_me: failed program was:" >&5
13431 cat conftest.$ac_ext >&5
13432 ac_header_preproc=no
13434 rm -f conftest.err conftest.$ac_ext
13435 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13436 echo "${ECHO_T}$ac_header_preproc" >&6
13438 # So? What about this header?
13439 case $ac_header_compiler:$ac_header_preproc in
13441 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13442 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13443 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13444 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13446 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13447 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13448 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13449 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13451 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13453 echo "$as_me:$LINENO: checking for $ac_header" >&5
13454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13456 echo $ECHO_N "(cached) $ECHO_C" >&6
13458 eval "$as_ac_Header=$ac_header_preproc"
13460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13461 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13464 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13465 cat >>confdefs.h <<_ACEOF
13466 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13468 BUILTINS="${BUILTINS} macosx"
13469 macosx_LDFLAGS="${macosx_LDFLAGS} -framework CoreAudio -framework AudioToolbox -framework IOKit -framework Cocoa -framework AGL -framework QuickTime -lobjc -ObjC"
13477 # Check whether --enable-qnx or --disable-qnx was given.
13478 if test "${enable_qnx+set}" = set; then
13479 enableval="$enable_qnx"
13482 if test x$enable_qnx != xno
13485 for ac_header in Ph.h
13487 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13489 echo "$as_me:$LINENO: checking for $ac_header" >&5
13490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13492 echo $ECHO_N "(cached) $ECHO_C" >&6
13494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13495 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13497 # Is the header compilable?
13498 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13499 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13500 cat >conftest.$ac_ext <<_ACEOF
13501 #line $LINENO "configure"
13502 #include "confdefs.h"
13503 $ac_includes_default
13504 #include <$ac_header>
13506 rm -f conftest.$ac_objext
13507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13508 (eval $ac_compile) 2>&5
13510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13511 (exit $ac_status); } &&
13512 { ac_try='test -s conftest.$ac_objext'
13513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13514 (eval $ac_try) 2>&5
13516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13517 (exit $ac_status); }; }; then
13518 ac_header_compiler=yes
13520 echo "$as_me: failed program was:" >&5
13521 cat conftest.$ac_ext >&5
13522 ac_header_compiler=no
13524 rm -f conftest.$ac_objext conftest.$ac_ext
13525 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13526 echo "${ECHO_T}$ac_header_compiler" >&6
13528 # Is the header present?
13529 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13530 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13531 cat >conftest.$ac_ext <<_ACEOF
13532 #line $LINENO "configure"
13533 #include "confdefs.h"
13534 #include <$ac_header>
13536 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13537 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13539 egrep -v '^ *\+' conftest.er1 >conftest.err
13541 cat conftest.err >&5
13542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13543 (exit $ac_status); } >/dev/null; then
13544 if test -s conftest.err; then
13545 ac_cpp_err=$ac_c_preproc_warn_flag
13552 if test -z "$ac_cpp_err"; then
13553 ac_header_preproc=yes
13555 echo "$as_me: failed program was:" >&5
13556 cat conftest.$ac_ext >&5
13557 ac_header_preproc=no
13559 rm -f conftest.err conftest.$ac_ext
13560 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13561 echo "${ECHO_T}$ac_header_preproc" >&6
13563 # So? What about this header?
13564 case $ac_header_compiler:$ac_header_preproc in
13566 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13567 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13568 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13569 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13571 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13572 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13573 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13574 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13575 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13576 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13578 echo "$as_me:$LINENO: checking for $ac_header" >&5
13579 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13581 echo $ECHO_N "(cached) $ECHO_C" >&6
13583 eval "$as_ac_Header=$ac_header_preproc"
13585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13586 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13589 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13590 cat >>confdefs.h <<_ACEOF
13591 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13594 PLUGINS="${PLUGINS} qnx"
13595 qnx_LDFLAGS="${qnx_LDFLAGS} -lasound -lph"
13603 # Check whether --enable-intfwin or --disable-intfwin was given.
13604 if test "${enable_intfwin+set}" = set; then
13605 enableval="$enable_intfwin"
13606 if test "x$enable_intfwin" != "xno"
13609 # Check whether --with-bcbuilder or --without-bcbuilder was given.
13610 if test "${with_bcbuilder+set}" = set; then
13611 withval="$with_bcbuilder"
13614 if test "x$with_bcbuilder" != "x"
13616 BCBUILDER="$with_bcbuilder"
13618 PLUGINS="${PLUGINS} intfwin"
13622 # Check whether --enable-ncurses or --disable-ncurses was given.
13623 if test "${enable_ncurses+set}" = set; then
13624 enableval="$enable_ncurses"
13625 if test x$enable_ncurses = xyes; then
13626 PLUGINS="${PLUGINS} ncurses"
13627 ncurses_LDFLAGS="${ncurses_LDFLAGS} -lncurses"
13631 # Check whether --enable-lirc or --disable-lirc was given.
13632 if test "${enable_lirc+set}" = set; then
13633 enableval="$enable_lirc"
13636 if test x$enable_lirc = xyes
13638 if test "${ac_cv_header_lirc_lirc_client_h+set}" = set; then
13639 echo "$as_me:$LINENO: checking for lirc/lirc_client.h" >&5
13640 echo $ECHO_N "checking for lirc/lirc_client.h... $ECHO_C" >&6
13641 if test "${ac_cv_header_lirc_lirc_client_h+set}" = set; then
13642 echo $ECHO_N "(cached) $ECHO_C" >&6
13644 echo "$as_me:$LINENO: result: $ac_cv_header_lirc_lirc_client_h" >&5
13645 echo "${ECHO_T}$ac_cv_header_lirc_lirc_client_h" >&6
13647 # Is the header compilable?
13648 echo "$as_me:$LINENO: checking lirc/lirc_client.h usability" >&5
13649 echo $ECHO_N "checking lirc/lirc_client.h usability... $ECHO_C" >&6
13650 cat >conftest.$ac_ext <<_ACEOF
13651 #line $LINENO "configure"
13652 #include "confdefs.h"
13653 $ac_includes_default
13654 #include <lirc/lirc_client.h>
13656 rm -f conftest.$ac_objext
13657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13658 (eval $ac_compile) 2>&5
13660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13661 (exit $ac_status); } &&
13662 { ac_try='test -s conftest.$ac_objext'
13663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13664 (eval $ac_try) 2>&5
13666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13667 (exit $ac_status); }; }; then
13668 ac_header_compiler=yes
13670 echo "$as_me: failed program was:" >&5
13671 cat conftest.$ac_ext >&5
13672 ac_header_compiler=no
13674 rm -f conftest.$ac_objext conftest.$ac_ext
13675 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13676 echo "${ECHO_T}$ac_header_compiler" >&6
13678 # Is the header present?
13679 echo "$as_me:$LINENO: checking lirc/lirc_client.h presence" >&5
13680 echo $ECHO_N "checking lirc/lirc_client.h presence... $ECHO_C" >&6
13681 cat >conftest.$ac_ext <<_ACEOF
13682 #line $LINENO "configure"
13683 #include "confdefs.h"
13684 #include <lirc/lirc_client.h>
13686 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13687 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13689 egrep -v '^ *\+' conftest.er1 >conftest.err
13691 cat conftest.err >&5
13692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13693 (exit $ac_status); } >/dev/null; then
13694 if test -s conftest.err; then
13695 ac_cpp_err=$ac_c_preproc_warn_flag
13702 if test -z "$ac_cpp_err"; then
13703 ac_header_preproc=yes
13705 echo "$as_me: failed program was:" >&5
13706 cat conftest.$ac_ext >&5
13707 ac_header_preproc=no
13709 rm -f conftest.err conftest.$ac_ext
13710 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13711 echo "${ECHO_T}$ac_header_preproc" >&6
13713 # So? What about this header?
13714 case $ac_header_compiler:$ac_header_preproc in
13716 { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: accepted by the compiler, rejected by the preprocessor!" >&5
13717 echo "$as_me: WARNING: lirc/lirc_client.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13718 { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: proceeding with the preprocessor's result" >&5
13719 echo "$as_me: WARNING: lirc/lirc_client.h: proceeding with the preprocessor's result" >&2;};;
13721 { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: present but cannot be compiled" >&5
13722 echo "$as_me: WARNING: lirc/lirc_client.h: present but cannot be compiled" >&2;}
13723 { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: check for missing prerequisite headers?" >&5
13724 echo "$as_me: WARNING: lirc/lirc_client.h: check for missing prerequisite headers?" >&2;}
13725 { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: proceeding with the preprocessor's result" >&5
13726 echo "$as_me: WARNING: lirc/lirc_client.h: proceeding with the preprocessor's result" >&2;};;
13728 echo "$as_me:$LINENO: checking for lirc/lirc_client.h" >&5
13729 echo $ECHO_N "checking for lirc/lirc_client.h... $ECHO_C" >&6
13730 if test "${ac_cv_header_lirc_lirc_client_h+set}" = set; then
13731 echo $ECHO_N "(cached) $ECHO_C" >&6
13733 ac_cv_header_lirc_lirc_client_h=$ac_header_preproc
13735 echo "$as_me:$LINENO: result: $ac_cv_header_lirc_lirc_client_h" >&5
13736 echo "${ECHO_T}$ac_cv_header_lirc_lirc_client_h" >&6
13739 if test $ac_cv_header_lirc_lirc_client_h = yes; then
13740 echo "$as_me:$LINENO: checking for lirc_init in -llirc_client" >&5
13741 echo $ECHO_N "checking for lirc_init in -llirc_client... $ECHO_C" >&6
13742 if test "${ac_cv_lib_lirc_client_lirc_init+set}" = set; then
13743 echo $ECHO_N "(cached) $ECHO_C" >&6
13745 ac_check_lib_save_LIBS=$LIBS
13746 LIBS="-llirc_client $LIBS"
13747 cat >conftest.$ac_ext <<_ACEOF
13748 #line $LINENO "configure"
13749 #include "confdefs.h"
13751 /* Override any gcc2 internal prototype to avoid an error. */
13755 /* We use char because int might match the return type of a gcc2
13756 builtin and then its argument prototype would still apply. */
13758 #ifdef F77_DUMMY_MAIN
13759 # ifdef __cplusplus
13762 int F77_DUMMY_MAIN() { return 1; }
13772 rm -f conftest.$ac_objext conftest$ac_exeext
13773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13774 (eval $ac_link) 2>&5
13776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13777 (exit $ac_status); } &&
13778 { ac_try='test -s conftest$ac_exeext'
13779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13780 (eval $ac_try) 2>&5
13782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13783 (exit $ac_status); }; }; then
13784 ac_cv_lib_lirc_client_lirc_init=yes
13786 echo "$as_me: failed program was:" >&5
13787 cat conftest.$ac_ext >&5
13788 ac_cv_lib_lirc_client_lirc_init=no
13790 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13791 LIBS=$ac_check_lib_save_LIBS
13793 echo "$as_me:$LINENO: result: $ac_cv_lib_lirc_client_lirc_init" >&5
13794 echo "${ECHO_T}$ac_cv_lib_lirc_client_lirc_init" >&6
13795 if test $ac_cv_lib_lirc_client_lirc_init = yes; then
13806 if test x$have_lirc = xtrue
13808 PLUGINS="${PLUGINS} lirc"
13809 lirc_LDFLAGS="${lirc_LDFLAGS} -llirc_client"
13814 # Check whether --with- or --without- was given.
13815 if test "${with_+set}" = set; then
13821 # Check whether --with-words or --without-words was given.
13822 if test "${with_words+set}" = set; then
13823 withval="$with_words"
13826 case "x$with_words" in
13828 ac_cv_c_bigendian=yes
13831 ac_cv_c_bigendian=no
13834 echo "$as_me:$LINENO: checking whether the byte order is big-endian" >&5
13835 echo $ECHO_N "checking whether the byte order is big-endian... $ECHO_C" >&6
13836 if test "${ac_cv_c_bigendian+set}" = set; then
13837 echo $ECHO_N "(cached) $ECHO_C" >&6
13839 ac_cv_c_bigendian=unknown
13840 cat >conftest.c <<EOF
13841 short am[] = { 0x4249, 0x4765, 0x6e44, 0x6961, 0x6e53, 0x7953, 0 };
13842 short ai[] = { 0x694c, 0x5454, 0x656c, 0x6e45, 0x6944, 0x6e61, 0 };
13843 void _a(void) { char*s = (char*)am; s = (char *)ai; }
13844 short ei[] = { 0x89D3, 0xe3e3, 0x8593, 0x95c5, 0x89c4, 0x9581, 0 };
13845 short em[] = { 0xc2c9, 0xc785, 0x95c4, 0x8981, 0x95e2, 0xa8e2, 0 };
13846 void _e(void) { char*s = (char*)em; s = (char*)ei; }
13847 int main(void) { _a(); _e(); return 0; }
13850 if test -f conftest.c
13852 if ${CC-cc} -c conftest.c -o conftest.o >config.log 2>&1 \
13853 && test -f conftest.o
13855 if test "`strings conftest.o | grep BIGenDianSyS`"
13857 ac_cv_c_bigendian=yes
13859 if test "`strings conftest.o | grep LiTTleEnDian`"
13861 ac_cv_c_bigendian=no
13867 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
13868 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
13869 if test x$ac_cv_c_bigendian = xunknown
13871 { { echo "$as_me:$LINENO: error: Could not guess endianness, please use --with-words" >&5
13872 echo "$as_me: error: Could not guess endianness, please use --with-words" >&2;}
13873 { (exit 1); exit 1; }; }
13877 if test $ac_cv_c_bigendian = yes
13880 cat >>confdefs.h <<\_ACEOF
13881 #define WORDS_BIGENDIAN 1
13887 # Check whether --enable-gprof or --disable-gprof was given.
13888 if test "${enable_gprof+set}" = set; then
13889 enableval="$enable_gprof"
13890 if test "x$enable_gprof" = "xyes"; then GPROF=1; fi
13894 # Check whether --enable-cprof or --disable-cprof was given.
13895 if test "${enable_cprof+set}" = set; then
13896 enableval="$enable_cprof"
13897 if test "x$enable_cprof" = "xyes";
13899 LDFLAGS="${LDFLAGS} -lcprof"
13905 # Check whether --enable-pth or --disable-pth was given.
13906 if test "${enable_pth+set}" = set; then
13907 enableval="$enable_pth"
13908 if test "x$enable_pth" = "xyes"; then
13910 echo "$as_me:$LINENO: checking for pth_init in -lpth" >&5
13911 echo $ECHO_N "checking for pth_init in -lpth... $ECHO_C" >&6
13912 if test "${ac_cv_lib_pth_pth_init+set}" = set; then
13913 echo $ECHO_N "(cached) $ECHO_C" >&6
13915 ac_check_lib_save_LIBS=$LIBS
13917 cat >conftest.$ac_ext <<_ACEOF
13918 #line $LINENO "configure"
13919 #include "confdefs.h"
13921 /* Override any gcc2 internal prototype to avoid an error. */
13925 /* We use char because int might match the return type of a gcc2
13926 builtin and then its argument prototype would still apply. */
13928 #ifdef F77_DUMMY_MAIN
13929 # ifdef __cplusplus
13932 int F77_DUMMY_MAIN() { return 1; }
13942 rm -f conftest.$ac_objext conftest$ac_exeext
13943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13944 (eval $ac_link) 2>&5
13946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947 (exit $ac_status); } &&
13948 { ac_try='test -s conftest$ac_exeext'
13949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13950 (eval $ac_try) 2>&5
13952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13953 (exit $ac_status); }; }; then
13954 ac_cv_lib_pth_pth_init=yes
13956 echo "$as_me: failed program was:" >&5
13957 cat conftest.$ac_ext >&5
13958 ac_cv_lib_pth_pth_init=no
13960 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13961 LIBS=$ac_check_lib_save_LIBS
13963 echo "$as_me:$LINENO: result: $ac_cv_lib_pth_pth_init" >&5
13964 echo "${ECHO_T}$ac_cv_lib_pth_pth_init" >&6
13965 if test $ac_cv_lib_pth_pth_init = yes; then
13966 cat >>confdefs.h <<_ACEOF
13967 #define HAVE_LIBPTH 1
13974 cat >conftest.$ac_ext <<_ACEOF
13975 #line $LINENO "configure"
13976 #include "confdefs.h"
13980 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13981 egrep "pth_init" >/dev/null 2>&1; then
13984 cat >>confdefs.h <<\_ACEOF
13985 #define PTH_INIT_IN_PTH_H 1
13996 # Check whether --enable-st or --disable-st was given.
13997 if test "${enable_st+set}" = set; then
13998 enableval="$enable_st"
13999 if test "x$enable_st" = "xyes"; then
14001 echo "$as_me:$LINENO: checking for st_init in -lst" >&5
14002 echo $ECHO_N "checking for st_init in -lst... $ECHO_C" >&6
14003 if test "${ac_cv_lib_st_st_init+set}" = set; then
14004 echo $ECHO_N "(cached) $ECHO_C" >&6
14006 ac_check_lib_save_LIBS=$LIBS
14008 cat >conftest.$ac_ext <<_ACEOF
14009 #line $LINENO "configure"
14010 #include "confdefs.h"
14012 /* Override any gcc2 internal prototype to avoid an error. */
14016 /* We use char because int might match the return type of a gcc2
14017 builtin and then its argument prototype would still apply. */
14019 #ifdef F77_DUMMY_MAIN
14020 # ifdef __cplusplus
14023 int F77_DUMMY_MAIN() { return 1; }
14033 rm -f conftest.$ac_objext conftest$ac_exeext
14034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14035 (eval $ac_link) 2>&5
14037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14038 (exit $ac_status); } &&
14039 { ac_try='test -s conftest$ac_exeext'
14040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14041 (eval $ac_try) 2>&5
14043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14044 (exit $ac_status); }; }; then
14045 ac_cv_lib_st_st_init=yes
14047 echo "$as_me: failed program was:" >&5
14048 cat conftest.$ac_ext >&5
14049 ac_cv_lib_st_st_init=no
14051 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14052 LIBS=$ac_check_lib_save_LIBS
14054 echo "$as_me:$LINENO: result: $ac_cv_lib_st_st_init" >&5
14055 echo "${ECHO_T}$ac_cv_lib_st_st_init" >&6
14056 if test $ac_cv_lib_st_st_init = yes; then
14057 cat >>confdefs.h <<_ACEOF
14058 #define HAVE_LIBST 1
14065 cat >conftest.$ac_ext <<_ACEOF
14066 #line $LINENO "configure"
14067 #include "confdefs.h"
14071 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14072 egrep "st_init" >/dev/null 2>&1; then
14075 cat >>confdefs.h <<\_ACEOF
14076 #define ST_INIT_IN_ST_H 1
14087 LDFLAGS="${LDFLAGS} ${THREAD_LIB}"
14089 # Check whether --enable-plugins or --disable-plugins was given.
14090 if test "${enable_plugins+set}" = set; then
14091 enableval="$enable_plugins"
14092 if test x$enable_plugins = xno
14094 BUILTINS="${BUILTINS} ${PLUGINS}"
14099 if test x$ac_cv_header_dlfcn_h = xno -a x$ac_cv_header_image_h = xno -a x$SYS != xmingw32
14101 echo "*** Your system doesn't have plug-in support. All plug-ins will be compiled"
14103 BUILTINS="${BUILTINS} ${PLUGINS}"
14108 cat >>confdefs.h <<_ACEOF
14109 #define VERSION_MESSAGE "vlc $VERSION $CODENAME Copyright 1996-2002 VideoLAN"
14113 cat >>confdefs.h <<_ACEOF
14114 #define COPYRIGHT_MESSAGE "VideoLAN Client - version $VERSION $CODENAME - (c) 1996-2002 VideoLAN"
14118 VLC_SYMBOL="`echo ${VERSION} | tr .- __`"
14120 cat >>confdefs.h <<_ACEOF
14121 #define MODULE_SUFFIX "__MODULE_$VLC_SYMBOL"
14125 cat >>confdefs.h <<_ACEOF
14126 #define MODULE_SYMBOL $VLC_SYMBOL
14130 DATA_PATH="${ac_tool_prefix}/share/videolan"
14132 PLUGIN_PATH="${ac_tool_prefix}/share/videolan"
14228 ac_config_files="$ac_config_files Makefile.opts po/Makefile.in"
14229 cat >confcache <<\_ACEOF
14230 # This file is a shell script that caches the results of configure
14231 # tests run on this system so they can be shared between configure
14232 # scripts and configure runs, see configure's option --config-cache.
14233 # It is not useful on other systems. If it contains results you don't
14234 # want to keep, you may remove or edit it.
14236 # config.status only pays attention to the cache file if you give it
14237 # the --recheck option to rerun configure.
14239 # `ac_cv_env_foo' variables (set or unset) will be overriden when
14240 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14241 # following values.
14245 # The following way of writing the cache mishandles newlines in values,
14246 # but we know of no workaround that is simple, portable, and efficient.
14247 # So, don't put newlines in cache variables' values.
14248 # Ultrix sh set writes to stderr and can't be redirected directly,
14249 # and sets the high bit in the cache file unless we assign to the vars.
14252 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14254 # `set' does not quote correctly, so add quotes (double-quote
14255 # substitution turns \\\\ into \\, and sed turns \\ into \).
14258 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14261 # `set' quotes correctly as required by POSIX, so do not add quotes.
14263 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
14270 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14272 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14274 if cmp -s $cache_file confcache; then :; else
14275 if test -w $cache_file; then
14276 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
14277 cat confcache >$cache_file
14279 echo "not updating unwritable cache $cache_file"
14284 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14285 # Let make expand exec_prefix.
14286 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14288 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14289 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14290 # trailing colons and then remove the whole line if VPATH becomes empty
14291 # (actually we leave an empty line to preserve line numbers).
14292 if test "x$srcdir" = x.; then
14293 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14294 s/:*\$(srcdir):*/:/;
14295 s/:*\${srcdir}:*/:/;
14297 s/^\([^=]*=[ ]*\):*/\1/;
14303 DEFS=-DHAVE_CONFIG_H
14306 : ${CONFIG_STATUS=./config.status}
14307 ac_clean_files_save=$ac_clean_files
14308 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14309 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14310 echo "$as_me: creating $CONFIG_STATUS" >&6;}
14311 cat >$CONFIG_STATUS <<_ACEOF
14313 # Generated by $as_me.
14314 # Run this file to recreate the current configuration.
14315 # Compiler output produced by configure, useful for debugging
14316 # configure, is in config.log if it exists.
14319 SHELL=\${CONFIG_SHELL-$SHELL}
14322 cat >>$CONFIG_STATUS <<\_ACEOF
14324 ## --------------------- ##
14325 ## M4sh Initialization. ##
14326 ## --------------------- ##
14328 # Be Bourne compatible
14329 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14332 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
14337 # Support unset when possible.
14338 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
14344 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
14345 { $as_unset LANG || test "${LANG+set}" != set; } ||
14346 { LANG=C; export LANG; }
14347 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
14348 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
14349 { LC_ALL=C; export LC_ALL; }
14350 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
14351 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
14352 { LC_TIME=C; export LC_TIME; }
14353 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
14354 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
14355 { LC_CTYPE=C; export LC_CTYPE; }
14356 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
14357 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
14358 { LANGUAGE=C; export LANGUAGE; }
14359 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
14360 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
14361 { LC_COLLATE=C; export LC_COLLATE; }
14362 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
14363 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
14364 { LC_NUMERIC=C; export LC_NUMERIC; }
14365 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
14366 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
14367 { LC_MESSAGES=C; export LC_MESSAGES; }
14370 # Name of the executable.
14371 as_me=`(basename "$0") 2>/dev/null ||
14372 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14373 X"$0" : 'X\(//\)$' \| \
14374 X"$0" : 'X\(/\)$' \| \
14375 . : '\(.\)' 2>/dev/null ||
14377 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
14378 /^X\/\(\/\/\)$/{ s//\1/; q; }
14379 /^X\/\(\/\).*/{ s//\1/; q; }
14382 # PATH needs CR, and LINENO needs CR and PATH.
14383 # Avoid depending upon Character Ranges.
14384 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14385 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14386 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14387 as_cr_digits='0123456789'
14388 as_cr_alnum=$as_cr_Letters$as_cr_digits
14390 # The user is always right.
14391 if test "${PATH_SEPARATOR+set}" != set; then
14392 echo "#! /bin/sh" >conftest.sh
14393 echo "exit 0" >>conftest.sh
14394 chmod +x conftest.sh
14395 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
14404 as_lineno_1=$LINENO
14405 as_lineno_2=$LINENO
14406 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14407 test "x$as_lineno_1" != "x$as_lineno_2" &&
14408 test "x$as_lineno_3" = "x$as_lineno_2" || {
14409 # Find who we are. Look in the path if we contain no path at all
14412 *[\\/]* ) as_myself=$0 ;;
14413 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14414 for as_dir in $PATH
14417 test -z "$as_dir" && as_dir=.
14418 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14423 # We did not find ourselves, most probably we were run as `sh COMMAND'
14424 # in which case we are not to be found in the path.
14425 if test "x$as_myself" = x; then
14428 if test ! -f "$as_myself"; then
14429 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
14430 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
14431 { (exit 1); exit 1; }; }
14433 case $CONFIG_SHELL in
14435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14436 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
14439 test -z "$as_dir" && as_dir=.
14440 for as_base in sh bash ksh sh5; do
14443 if ("$as_dir/$as_base" -c '
14444 as_lineno_1=$LINENO
14445 as_lineno_2=$LINENO
14446 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14447 test "x$as_lineno_1" != "x$as_lineno_2" &&
14448 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
14449 CONFIG_SHELL=$as_dir/$as_base
14450 export CONFIG_SHELL
14451 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
14459 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14460 # uniformly replaced by the line number. The first 'sed' inserts a
14461 # line-number line before each line; the second 'sed' does the real
14462 # work. The second script uses 'N' to pair each line-number line
14463 # with the numbered line, and appends trailing '-' during
14464 # substitution so that $LINENO is not a special case at line end.
14465 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14466 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
14467 sed '=' <$as_myself |
14472 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
14475 s,^['$as_cr_digits']*\n,,
14476 ' >$as_me.lineno &&
14477 chmod +x $as_me.lineno ||
14478 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
14479 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
14480 { (exit 1); exit 1; }; }
14482 # Don't try to exec as it changes $[0], causing all sort of problems
14483 # (the dirname of $[0] is not the place where we might find the
14484 # original and so on. Autoconf is especially sensible to this).
14486 # Exit status is that of the last command.
14491 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
14492 *c*,-n*) ECHO_N= ECHO_C='
14494 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
14495 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
14498 if expr a : '\(a\)' >/dev/null 2>&1; then
14504 rm -f conf$$ conf$$.exe conf$$.file
14506 if ln -s conf$$.file conf$$ 2>/dev/null; then
14507 # We could just check for DJGPP; but this test a) works b) is more generic
14508 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
14509 if test -f conf$$.exe; then
14510 # Don't use ln at all; we don't have any links
14515 elif ln conf$$.file conf$$ 2>/dev/null; then
14520 rm -f conf$$ conf$$.exe conf$$.file
14522 as_executable_p="test -f"
14524 # Sed expression to map a string onto a valid CPP name.
14525 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
14527 # Sed expression to map a string onto a valid variable name.
14528 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
14532 # We need space, tab and new line, in precisely that order.
14538 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
14542 # Open the log real soon, to keep \$[0] and so on meaningful, and to
14543 # report actual input values of CONFIG_FILES etc. instead of their
14544 # values after options handling. Logging --version etc. is OK.
14548 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14549 ## Running $as_me. ##
14554 This file was extended by $as_me, which was
14555 generated by GNU Autoconf 2.53. Invocation command line was
14557 CONFIG_FILES = $CONFIG_FILES
14558 CONFIG_HEADERS = $CONFIG_HEADERS
14559 CONFIG_LINKS = $CONFIG_LINKS
14560 CONFIG_COMMANDS = $CONFIG_COMMANDS
14564 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
14568 # Files that config.status was made for.
14569 if test -n "$ac_config_files"; then
14570 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
14573 if test -n "$ac_config_headers"; then
14574 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
14577 if test -n "$ac_config_links"; then
14578 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
14581 if test -n "$ac_config_commands"; then
14582 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
14585 cat >>$CONFIG_STATUS <<\_ACEOF
14588 \`$as_me' instantiates files from templates according to the
14589 current configuration.
14591 Usage: $0 [OPTIONS] [FILE]...
14593 -h, --help print this help, then exit
14594 -V, --version print version number, then exit
14595 -d, --debug don't remove temporary files
14596 --recheck update $as_me by reconfiguring in the same conditions
14597 --file=FILE[:TEMPLATE]
14598 instantiate the configuration file FILE
14599 --header=FILE[:TEMPLATE]
14600 instantiate the configuration header FILE
14602 Configuration files:
14605 Configuration headers:
14608 Configuration commands:
14611 Report bugs to <bug-autoconf@gnu.org>."
14614 cat >>$CONFIG_STATUS <<_ACEOF
14617 configured by $0, generated by GNU Autoconf 2.53,
14618 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
14620 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
14621 Free Software Foundation, Inc.
14622 This config.status script is free software; the Free Software Foundation
14623 gives unlimited permission to copy, distribute and modify it."
14628 cat >>$CONFIG_STATUS <<\_ACEOF
14629 # If no file are specified by the user, then we need to provide default
14630 # value. By we need to know if files were specified by the user.
14636 ac_option=`expr "x$1" : 'x\([^=]*\)='`
14637 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
14639 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
14643 *) # This is not an option, so the user has probably given explicit
14645 ac_need_defaults=false;;
14649 # Handling of the options.
14651 cat >>$CONFIG_STATUS <<_ACEOF
14652 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14653 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
14654 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
14656 cat >>$CONFIG_STATUS <<\_ACEOF
14657 --version | --vers* | -V )
14658 echo "$ac_cs_version"; exit 0 ;;
14660 # Conflict between --help and --header
14661 { { echo "$as_me:$LINENO: error: ambiguous option: $1
14662 Try \`$0 --help' for more information." >&5
14663 echo "$as_me: error: ambiguous option: $1
14664 Try \`$0 --help' for more information." >&2;}
14665 { (exit 1); exit 1; }; };;
14666 --help | --hel | -h )
14667 echo "$ac_cs_usage"; exit 0 ;;
14668 --debug | --d* | -d )
14670 --file | --fil | --fi | --f )
14672 CONFIG_FILES="$CONFIG_FILES $1"
14673 ac_need_defaults=false;;
14674 --header | --heade | --head | --hea )
14676 CONFIG_HEADERS="$CONFIG_HEADERS $1"
14677 ac_need_defaults=false;;
14679 # This is an error.
14680 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
14681 Try \`$0 --help' for more information." >&5
14682 echo "$as_me: error: unrecognized option: $1
14683 Try \`$0 --help' for more information." >&2;}
14684 { (exit 1); exit 1; }; } ;;
14686 *) ac_config_targets="$ac_config_targets $1" ;;
14694 cat >>$CONFIG_STATUS <<_ACEOF
14696 # INIT-COMMANDS section.
14705 cat >>$CONFIG_STATUS <<\_ACEOF
14706 for ac_config_target in $ac_config_targets
14708 case "$ac_config_target" in
14709 # Handling of arguments.
14710 "Makefile.opts" ) CONFIG_FILES="$CONFIG_FILES Makefile.opts" ;;
14711 "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
14712 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
14713 "include/defs.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/defs.h" ;;
14714 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14715 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14716 { (exit 1); exit 1; }; };;
14720 # If the user did not use the arguments to specify the items to instantiate,
14721 # then the envvar interface is used. Set only those that are not.
14722 # We use the long form for the default assignment because of an extremely
14723 # bizarre bug on SunOS 4.1.3.
14724 if $ac_need_defaults; then
14725 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14726 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14727 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14730 # Create a temporary directory, and hook for its removal unless debugging.
14733 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
14734 trap '{ (exit 1); exit 1; }' 1 2 13 15
14737 # Create a (secure) tmp directory for tmp files.
14740 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
14741 test -n "$tmp" && test -d "$tmp"
14744 tmp=$TMPDIR/cs$$-$RANDOM
14745 (umask 077 && mkdir $tmp)
14748 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
14749 { (exit 1); exit 1; }
14754 cat >>$CONFIG_STATUS <<_ACEOF
14757 # CONFIG_FILES section.
14760 # No need to generate the scripts if there are no CONFIG_FILES.
14761 # This happens for instance when ./config.status config.h
14762 if test -n "\$CONFIG_FILES"; then
14763 # Protect against being on the right side of a sed subst in config.status.
14764 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
14765 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
14766 s,@SHELL@,$SHELL,;t t
14767 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
14768 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
14769 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
14770 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
14771 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
14772 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
14773 s,@exec_prefix@,$exec_prefix,;t t
14774 s,@prefix@,$prefix,;t t
14775 s,@program_transform_name@,$program_transform_name,;t t
14776 s,@bindir@,$bindir,;t t
14777 s,@sbindir@,$sbindir,;t t
14778 s,@libexecdir@,$libexecdir,;t t
14779 s,@datadir@,$datadir,;t t
14780 s,@sysconfdir@,$sysconfdir,;t t
14781 s,@sharedstatedir@,$sharedstatedir,;t t
14782 s,@localstatedir@,$localstatedir,;t t
14783 s,@libdir@,$libdir,;t t
14784 s,@includedir@,$includedir,;t t
14785 s,@oldincludedir@,$oldincludedir,;t t
14786 s,@infodir@,$infodir,;t t
14787 s,@mandir@,$mandir,;t t
14788 s,@build_alias@,$build_alias,;t t
14789 s,@host_alias@,$host_alias,;t t
14790 s,@target_alias@,$target_alias,;t t
14791 s,@DEFS@,$DEFS,;t t
14792 s,@ECHO_C@,$ECHO_C,;t t
14793 s,@ECHO_N@,$ECHO_N,;t t
14794 s,@ECHO_T@,$ECHO_T,;t t
14795 s,@LIBS@,$LIBS,;t t
14796 s,@build@,$build,;t t
14797 s,@build_cpu@,$build_cpu,;t t
14798 s,@build_vendor@,$build_vendor,;t t
14799 s,@build_os@,$build_os,;t t
14800 s,@host@,$host,;t t
14801 s,@host_cpu@,$host_cpu,;t t
14802 s,@host_vendor@,$host_vendor,;t t
14803 s,@host_os@,$host_os,;t t
14804 s,@target@,$target,;t t
14805 s,@target_cpu@,$target_cpu,;t t
14806 s,@target_vendor@,$target_vendor,;t t
14807 s,@target_os@,$target_os,;t t
14808 s,@SET_MAKE@,$SET_MAKE,;t t
14810 s,@CFLAGS@,$CFLAGS,;t t
14811 s,@LDFLAGS@,$LDFLAGS,;t t
14812 s,@CPPFLAGS@,$CPPFLAGS,;t t
14813 s,@ac_ct_CC@,$ac_ct_CC,;t t
14814 s,@EXEEXT@,$EXEEXT,;t t
14815 s,@OBJEXT@,$OBJEXT,;t t
14817 s,@RANLIB@,$RANLIB,;t t
14818 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
14819 s,@STRIP@,$STRIP,;t t
14820 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
14821 s,@GMAKE@,$GMAKE,;t t
14822 s,@ALLOCA@,$ALLOCA,;t t
14823 s,@GLIBC21@,$GLIBC21,;t t
14824 s,@LIBICONV@,$LIBICONV,;t t
14825 s,@USE_NLS@,$USE_NLS,;t t
14826 s,@MSGFMT@,$MSGFMT,;t t
14827 s,@GMSGFMT@,$GMSGFMT,;t t
14828 s,@XGETTEXT@,$XGETTEXT,;t t
14829 s,@INTLBISON@,$INTLBISON,;t t
14830 s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
14831 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
14832 s,@CATALOGS@,$CATALOGS,;t t
14833 s,@CATOBJEXT@,$CATOBJEXT,;t t
14834 s,@GMOFILES@,$GMOFILES,;t t
14835 s,@INTLLIBS@,$INTLLIBS,;t t
14836 s,@INTLOBJS@,$INTLOBJS,;t t
14837 s,@POFILES@,$POFILES,;t t
14838 s,@POSUB@,$POSUB,;t t
14839 s,@DATADIRNAME@,$DATADIRNAME,;t t
14840 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
14841 s,@GENCAT@,$GENCAT,;t t
14842 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
14843 s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
14844 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
14845 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
14846 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
14847 s,@WINDRES@,$WINDRES,;t t
14848 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
14849 s,@SDL12_CONFIG@,$SDL12_CONFIG,;t t
14850 s,@SDL11_CONFIG@,$SDL11_CONFIG,;t t
14851 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
14852 s,@ESD_CONFIG@,$ESD_CONFIG,;t t
14853 s,@ARTS_CONFIG@,$ARTS_CONFIG,;t t
14854 s,@GTK12_CONFIG@,$GTK12_CONFIG,;t t
14855 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
14856 s,@GNOME_CONFIG@,$GNOME_CONFIG,;t t
14857 s,@DATA_PATH@,$DATA_PATH,;t t
14858 s,@PLUGIN_PATH@,$PLUGIN_PATH,;t t
14860 s,@ARCH@,$ARCH,;t t
14861 s,@PLUGINS@,$PLUGINS,;t t
14862 s,@BUILTINS@,$BUILTINS,;t t
14863 s,@ALIASES@,$ALIASES,;t t
14864 s,@DEBUG@,$DEBUG,;t t
14866 s,@CPROF@,$CPROF,;t t
14867 s,@GPROF@,$GPROF,;t t
14868 s,@OPTIMS@,$OPTIMS,;t t
14869 s,@TUNING@,$TUNING,;t t
14870 s,@RELEASE@,$RELEASE,;t t
14872 s,@BCBUILDER@,$BCBUILDER,;t t
14873 s,@PACKAGE@,$PACKAGE,;t t
14874 s,@VERSION@,$VERSION,;t t
14875 s,@NEED_GETOPT@,$NEED_GETOPT,;t t
14876 s,@CFLAGS_OPTIM@,$CFLAGS_OPTIM,;t t
14877 s,@CFLAGS_OPTIM_NODEBUG@,$CFLAGS_OPTIM_NODEBUG,;t t
14878 s,@vlc_CFLAGS@,$vlc_CFLAGS,;t t
14879 s,@plugins_CFLAGS@,$plugins_CFLAGS,;t t
14880 s,@builtins_CFLAGS@,$builtins_CFLAGS,;t t
14881 s,@a52_CFLAGS@,$a52_CFLAGS,;t t
14882 s,@arts_CFLAGS@,$arts_CFLAGS,;t t
14883 s,@dvd_CFLAGS@,$dvd_CFLAGS,;t t
14884 s,@dvdread_CFLAGS@,$dvdread_CFLAGS,;t t
14885 s,@mpeg_ts_dvbpsi_CFLAGS@,$mpeg_ts_dvbpsi_CFLAGS,;t t
14886 s,@directx_CFLAGS@,$directx_CFLAGS,;t t
14887 s,@esd_CFLAGS@,$esd_CFLAGS,;t t
14888 s,@ffmpeg_CFLAGS@,$ffmpeg_CFLAGS,;t t
14889 s,@glide_CFLAGS@,$glide_CFLAGS,;t t
14890 s,@gnome_CFLAGS@,$gnome_CFLAGS,;t t
14891 s,@gtk_CFLAGS@,$gtk_CFLAGS,;t t
14892 s,@kde_CFLAGS@,$kde_CFLAGS,;t t
14893 s,@idctaltivec_CFLAGS@,$idctaltivec_CFLAGS,;t t
14894 s,@macosx_CFLAGS@,$macosx_CFLAGS,;t t
14895 s,@mad_CFLAGS@,$mad_CFLAGS,;t t
14896 s,@memcpyaltivec_CFLAGS@,$memcpyaltivec_CFLAGS,;t t
14897 s,@motionaltivec_CFLAGS@,$motionaltivec_CFLAGS,;t t
14898 s,@qt_CFLAGS@,$qt_CFLAGS,;t t
14899 s,@sdl_CFLAGS@,$sdl_CFLAGS,;t t
14900 s,@x11_CFLAGS@,$x11_CFLAGS,;t t
14901 s,@xvideo_CFLAGS@,$xvideo_CFLAGS,;t t
14902 s,@vlc_LDFLAGS@,$vlc_LDFLAGS,;t t
14903 s,@plugins_LDFLAGS@,$plugins_LDFLAGS,;t t
14904 s,@builtins_LDFLAGS@,$builtins_LDFLAGS,;t t
14905 s,@a52_LDFLAGS@,$a52_LDFLAGS,;t t
14906 s,@aa_LDFLAGS@,$aa_LDFLAGS,;t t
14907 s,@alsa_LDFLAGS@,$alsa_LDFLAGS,;t t
14908 s,@arts_LDFLAGS@,$arts_LDFLAGS,;t t
14909 s,@beos_LDFLAGS@,$beos_LDFLAGS,;t t
14910 s,@chroma_i420_rgb_LDFLAGS@,$chroma_i420_rgb_LDFLAGS,;t t
14911 s,@directx_LDFLAGS@,$directx_LDFLAGS,;t t
14912 s,@dsp_LDFLAGS@,$dsp_LDFLAGS,;t t
14913 s,@dvd_LDFLAGS@,$dvd_LDFLAGS,;t t
14914 s,@dvdread_LDFLAGS@,$dvdread_LDFLAGS,;t t
14915 s,@mpeg_ts_dvbpsi_LDFLAGS@,$mpeg_ts_dvbpsi_LDFLAGS,;t t
14916 s,@esd_LDFLAGS@,$esd_LDFLAGS,;t t
14917 s,@filter_distort_LDFLAGS@,$filter_distort_LDFLAGS,;t t
14918 s,@ffmpeg_LDFLAGS@,$ffmpeg_LDFLAGS,;t t
14919 s,@ggi_LDFLAGS@,$ggi_LDFLAGS,;t t
14920 s,@glide_LDFLAGS@,$glide_LDFLAGS,;t t
14921 s,@gnome_LDFLAGS@,$gnome_LDFLAGS,;t t
14922 s,@gtk_LDFLAGS@,$gtk_LDFLAGS,;t t
14923 s,@idctaltivec_LDFLAGS@,$idctaltivec_LDFLAGS,;t t
14924 s,@imdct_LDFLAGS@,$imdct_LDFLAGS,;t t
14925 s,@imdct3dn_LDFLAGS@,$imdct3dn_LDFLAGS,;t t
14926 s,@imdctsse_LDFLAGS@,$imdctsse_LDFLAGS,;t t
14927 s,@ipv4_LDFLAGS@,$ipv4_LDFLAGS,;t t
14928 s,@kde_LDFLAGS@,$kde_LDFLAGS,;t t
14929 s,@lirc_LDFLAGS@,$lirc_LDFLAGS,;t t
14930 s,@macosx_LDFLAGS@,$macosx_LDFLAGS,;t t
14931 s,@mad_LDFLAGS@,$mad_LDFLAGS,;t t
14932 s,@memcpyaltivec_LDFLAGS@,$memcpyaltivec_LDFLAGS,;t t
14933 s,@motionaltivec_LDFLAGS@,$motionaltivec_LDFLAGS,;t t
14934 s,@ncurses_LDFLAGS@,$ncurses_LDFLAGS,;t t
14935 s,@qnx_LDFLAGS@,$qnx_LDFLAGS,;t t
14936 s,@qt_LDFLAGS@,$qt_LDFLAGS,;t t
14937 s,@rc_LDFLAGS@,$rc_LDFLAGS,;t t
14938 s,@sdl_LDFLAGS@,$sdl_LDFLAGS,;t t
14939 s,@vcd_LDFLAGS@,$vcd_LDFLAGS,;t t
14940 s,@vorbis_LDFLAGS@,$vorbis_LDFLAGS,;t t
14941 s,@waveout_LDFLAGS@,$waveout_LDFLAGS,;t t
14942 s,@x11_LDFLAGS@,$x11_LDFLAGS,;t t
14943 s,@xvideo_LDFLAGS@,$xvideo_LDFLAGS,;t t
14948 cat >>$CONFIG_STATUS <<\_ACEOF
14949 # Split the substitutions into bite-sized pieces for seds with
14950 # small command number limits, like on Digital OSF/1 and HP-UX.
14951 ac_max_sed_lines=48
14952 ac_sed_frag=1 # Number of current file.
14953 ac_beg=1 # First line for current file.
14954 ac_end=$ac_max_sed_lines # Line after last line for current file.
14957 while $ac_more_lines; do
14958 if test $ac_beg -gt 1; then
14959 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
14961 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
14963 if test ! -s $tmp/subs.frag; then
14964 ac_more_lines=false
14966 # The purpose of the label and of the branching condition is to
14967 # speed up the sed processing (if there are no `@' at all, there
14968 # is no need to browse any of the substitutions).
14969 # These are the two extra sed commands mentioned above.
14971 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
14972 if test -z "$ac_sed_cmds"; then
14973 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
14975 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
14977 ac_sed_frag=`expr $ac_sed_frag + 1`
14979 ac_end=`expr $ac_end + $ac_max_sed_lines`
14982 if test -z "$ac_sed_cmds"; then
14985 fi # test -n "$CONFIG_FILES"
14988 cat >>$CONFIG_STATUS <<\_ACEOF
14989 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
14990 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14992 - | *:- | *:-:* ) # input from stdin
14994 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14995 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14996 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14997 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14998 * ) ac_file_in=$ac_file.in ;;
15001 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
15002 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
15003 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15004 X"$ac_file" : 'X\(//\)[^/]' \| \
15005 X"$ac_file" : 'X\(//\)$' \| \
15006 X"$ac_file" : 'X\(/\)' \| \
15007 . : '\(.\)' 2>/dev/null ||
15009 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15010 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15011 /^X\(\/\/\)$/{ s//\1/; q; }
15012 /^X\(\/\).*/{ s//\1/; q; }
15014 { case "$ac_dir" in
15015 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
15019 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
15020 case $as_mkdir_dir in
15021 # Skip DOS drivespec
15022 ?:) as_incr_dir=$as_mkdir_dir ;;
15024 as_incr_dir=$as_incr_dir/$as_mkdir_dir
15025 test -d "$as_incr_dir" ||
15026 mkdir "$as_incr_dir" ||
15027 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
15028 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
15029 { (exit 1); exit 1; }; }
15036 if test "$ac_dir" != .; then
15037 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15038 # A "../" for each directory in $ac_dir_suffix.
15039 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15041 ac_dir_suffix= ac_top_builddir=
15045 .) # No --srcdir option. We are building in place.
15047 if test -z "$ac_top_builddir"; then
15050 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
15052 [\\/]* | ?:[\\/]* ) # Absolute path.
15053 ac_srcdir=$srcdir$ac_dir_suffix;
15054 ac_top_srcdir=$srcdir ;;
15055 *) # Relative path.
15056 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
15057 ac_top_srcdir=$ac_top_builddir$srcdir ;;
15059 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
15061 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
15062 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
15063 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
15064 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
15068 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15069 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
15072 if test x"$ac_file" != x-; then
15073 { echo "$as_me:$LINENO: creating $ac_file" >&5
15074 echo "$as_me: creating $ac_file" >&6;}
15077 # Let's still pretend it is `configure' which instantiates (i.e., don't
15078 # use $as_me), people would be surprised to read:
15079 # /* config.h. Generated by config.status. */
15080 if test x"$ac_file" = x-; then
15083 configure_input="$ac_file. "
15085 configure_input=$configure_input"Generated from `echo $ac_file_in |
15086 sed 's,.*/,,'` by configure."
15088 # First look for the input files in the build tree, otherwise in the
15090 ac_file_inputs=`IFS=:
15091 for f in $ac_file_in; do
15093 -) echo $tmp/stdin ;;
15095 # Absolute (can't be DOS-style, as IFS=:)
15096 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15097 echo "$as_me: error: cannot find input file: $f" >&2;}
15098 { (exit 1); exit 1; }; }
15101 if test -f "$f"; then
15104 elif test -f "$srcdir/$f"; then
15109 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15110 echo "$as_me: error: cannot find input file: $f" >&2;}
15111 { (exit 1); exit 1; }; }
15114 done` || { (exit 1); exit 1; }
15116 cat >>$CONFIG_STATUS <<_ACEOF
15120 cat >>$CONFIG_STATUS <<\_ACEOF
15122 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15123 s,@configure_input@,$configure_input,;t t
15124 s,@srcdir@,$ac_srcdir,;t t
15125 s,@abs_srcdir@,$ac_abs_srcdir,;t t
15126 s,@top_srcdir@,$ac_top_srcdir,;t t
15127 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
15128 s,@builddir@,$ac_builddir,;t t
15129 s,@abs_builddir@,$ac_abs_builddir,;t t
15130 s,@top_builddir@,$ac_top_builddir,;t t
15131 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
15132 s,@INSTALL@,$ac_INSTALL,;t t
15133 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
15135 if test x"$ac_file" != x-; then
15136 mv $tmp/out $ac_file
15144 cat >>$CONFIG_STATUS <<\_ACEOF
15147 # CONFIG_HEADER section.
15150 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
15151 # NAME is the cpp macro being defined and VALUE is the value it is being given.
15153 # ac_d sets the value in "#define NAME VALUE" lines.
15154 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
15155 ac_dB='[ ].*$,\1#\2'
15158 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
15159 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15160 ac_uB='$,\1#\2define\3'
15164 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
15165 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15167 - | *:- | *:-:* ) # input from stdin
15169 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15170 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15171 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15172 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15173 * ) ac_file_in=$ac_file.in ;;
15176 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
15177 echo "$as_me: creating $ac_file" >&6;}
15179 # First look for the input files in the build tree, otherwise in the
15181 ac_file_inputs=`IFS=:
15182 for f in $ac_file_in; do
15184 -) echo $tmp/stdin ;;
15186 # Absolute (can't be DOS-style, as IFS=:)
15187 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15188 echo "$as_me: error: cannot find input file: $f" >&2;}
15189 { (exit 1); exit 1; }; }
15192 if test -f "$f"; then
15195 elif test -f "$srcdir/$f"; then
15200 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15201 echo "$as_me: error: cannot find input file: $f" >&2;}
15202 { (exit 1); exit 1; }; }
15205 done` || { (exit 1); exit 1; }
15206 # Remove the trailing spaces.
15207 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
15211 # Transform confdefs.h into two sed scripts, `conftest.defines' and
15212 # `conftest.undefs', that substitutes the proper values into
15213 # config.h.in to produce config.h. The first handles `#define'
15214 # templates, and the second `#undef' templates.
15215 # And first: Protect against being on the right side of a sed subst in
15216 # config.status. Protect against being in an unquoted here document
15217 # in config.status.
15218 rm -f conftest.defines conftest.undefs
15219 # Using a here document instead of a string reduces the quoting nightmare.
15220 # Putting comments in sed scripts is not portable.
15222 # `end' is used to avoid that the second main sed command (meant for
15223 # 0-ary CPP macros) applies to n-ary macro definitions.
15224 # See the Autoconf documentation for `clear'.
15225 cat >confdef2sed.sed <<\_ACEOF
15230 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
15232 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
15235 # If some macros were called several times there might be several times
15236 # the same #defines, which is useless. Nevertheless, we may not want to
15237 # sort them, since we want the *last* AC-DEFINE to be honored.
15238 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
15239 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
15240 rm -f confdef2sed.sed
15242 # This sed command replaces #undef with comments. This is necessary, for
15243 # example, in the case of _POSIX_SOURCE, which is predefined and required
15244 # on some systems where configure will not decide to define it.
15245 cat >>conftest.undefs <<\_ACEOF
15246 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
15249 # Break up conftest.defines because some shells have a limit on the size
15250 # of here documents, and old seds have small limits too (100 cmds).
15251 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
15252 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
15253 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
15254 echo ' :' >>$CONFIG_STATUS
15255 rm -f conftest.tail
15256 while grep . conftest.defines >/dev/null
15258 # Write a limited-size here document to $tmp/defines.sed.
15259 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
15260 # Speed up: don't consider the non `#define' lines.
15261 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
15262 # Work around the forget-to-reset-the-flag bug.
15263 echo 't clr' >>$CONFIG_STATUS
15264 echo ': clr' >>$CONFIG_STATUS
15265 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
15267 sed -f $tmp/defines.sed $tmp/in >$tmp/out
15269 mv $tmp/out $tmp/in
15271 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
15272 rm -f conftest.defines
15273 mv conftest.tail conftest.defines
15275 rm -f conftest.defines
15276 echo ' fi # egrep' >>$CONFIG_STATUS
15277 echo >>$CONFIG_STATUS
15279 # Break up conftest.undefs because some shells have a limit on the size
15280 # of here documents, and old seds have small limits too (100 cmds).
15281 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
15282 rm -f conftest.tail
15283 while grep . conftest.undefs >/dev/null
15285 # Write a limited-size here document to $tmp/undefs.sed.
15286 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
15287 # Speed up: don't consider the non `#undef'
15288 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
15289 # Work around the forget-to-reset-the-flag bug.
15290 echo 't clr' >>$CONFIG_STATUS
15291 echo ': clr' >>$CONFIG_STATUS
15292 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
15294 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
15296 mv $tmp/out $tmp/in
15298 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
15299 rm -f conftest.undefs
15300 mv conftest.tail conftest.undefs
15302 rm -f conftest.undefs
15304 cat >>$CONFIG_STATUS <<\_ACEOF
15305 # Let's still pretend it is `configure' which instantiates (i.e., don't
15306 # use $as_me), people would be surprised to read:
15307 # /* config.h. Generated by config.status. */
15308 if test x"$ac_file" = x-; then
15309 echo "/* Generated by configure. */" >$tmp/config.h
15311 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
15313 cat $tmp/in >>$tmp/config.h
15315 if test x"$ac_file" != x-; then
15316 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
15317 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15318 echo "$as_me: $ac_file is unchanged" >&6;}
15320 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
15321 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15322 X"$ac_file" : 'X\(//\)[^/]' \| \
15323 X"$ac_file" : 'X\(//\)$' \| \
15324 X"$ac_file" : 'X\(/\)' \| \
15325 . : '\(.\)' 2>/dev/null ||
15327 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15328 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15329 /^X\(\/\/\)$/{ s//\1/; q; }
15330 /^X\(\/\).*/{ s//\1/; q; }
15332 { case "$ac_dir" in
15333 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
15337 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
15338 case $as_mkdir_dir in
15339 # Skip DOS drivespec
15340 ?:) as_incr_dir=$as_mkdir_dir ;;
15342 as_incr_dir=$as_incr_dir/$as_mkdir_dir
15343 test -d "$as_incr_dir" ||
15344 mkdir "$as_incr_dir" ||
15345 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
15346 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
15347 { (exit 1); exit 1; }; }
15353 mv $tmp/config.h $ac_file
15357 rm -f $tmp/config.h
15361 cat >>$CONFIG_STATUS <<\_ACEOF
15364 # CONFIG_COMMANDS section.
15366 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
15367 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
15368 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
15369 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
15370 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15371 X"$ac_dest" : 'X\(//\)[^/]' \| \
15372 X"$ac_dest" : 'X\(//\)$' \| \
15373 X"$ac_dest" : 'X\(/\)' \| \
15374 . : '\(.\)' 2>/dev/null ||
15376 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15377 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15378 /^X\(\/\/\)$/{ s//\1/; q; }
15379 /^X\(\/\).*/{ s//\1/; q; }
15383 if test "$ac_dir" != .; then
15384 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15385 # A "../" for each directory in $ac_dir_suffix.
15386 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15388 ac_dir_suffix= ac_top_builddir=
15392 .) # No --srcdir option. We are building in place.
15394 if test -z "$ac_top_builddir"; then
15397 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
15399 [\\/]* | ?:[\\/]* ) # Absolute path.
15400 ac_srcdir=$srcdir$ac_dir_suffix;
15401 ac_top_srcdir=$srcdir ;;
15402 *) # Relative path.
15403 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
15404 ac_top_srcdir=$ac_top_builddir$srcdir ;;
15406 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
15408 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
15409 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
15410 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
15411 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
15414 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
15415 echo "$as_me: executing $ac_dest commands" >&6;}
15417 default-1 ) for ac_file in $CONFIG_FILES; do
15418 # Support "outfile[:infile[:infile...]]"
15420 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
15422 # PO directories have a Makefile.in generated from Makefile.in.in.
15423 case "$ac_file" in */Makefile.in)
15424 # Adjust a relative srcdir.
15425 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
15426 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
15427 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
15428 # In autoconf-2.13 it is called $ac_given_srcdir.
15429 # In autoconf-2.50 it is called $srcdir.
15430 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
15431 case "$ac_given_srcdir" in
15432 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
15433 /*) top_srcdir="$ac_given_srcdir" ;;
15434 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
15436 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
15437 rm -f "$ac_dir/POTFILES"
15438 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
15439 sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," -e "\$s/\(.*\) \\\\/\1/" < "$ac_given_srcdir/$ac_dir/POTFILES.in" > "$ac_dir/POTFILES"
15440 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
15441 sed -e "/POTFILES =/r $ac_dir/POTFILES" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
15450 cat >>$CONFIG_STATUS <<\_ACEOF
15452 { (exit 0); exit 0; }
15454 chmod +x $CONFIG_STATUS
15455 ac_clean_files=$ac_clean_files_save
15458 # configure is writing to config.log, and then calls config.status.
15459 # config.status does its own redirection, appending to config.log.
15460 # Unfortunately, on DOS this fails, as config.log is still kept open
15461 # by configure, so config.status won't be able to write to it; its
15462 # output is simply discarded. So we exec the FD to /dev/null,
15463 # effectively closing config.log, so it can be properly (re)opened and
15464 # appended to by config.status. When coming back to configure, we
15465 # need to make the FD available again.
15466 if test "$no_create" != yes; then
15469 $SHELL $CONFIG_STATUS || ac_cs_success=false
15471 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15472 # would make configure fail if this is the last instruction.
15473 $ac_cs_success || { (exit 1); exit 1; }
15479 --------------------
15480 vlc version : ${VERSION}
15482 architecture : ${ARCH}
15483 optimizations : ${OPTIMS}
15485 debug mode : ${DEBUG}
15486 release : ${RELEASE}
15487 cprof/gprof support : ${CPROF}/${GPROF}
15488 need builtin getopt : ${NEED_GETOPT}
15489 built-in modules :${BUILTINS}
15490 plug-in modules :${PLUGINS}
15491 vlc aliases :${ALIASES}
15493 You may now tune Makefile.opts at your convenience, for instance to choose
15494 which modules get compiled as plugins.
15496 To build vlc and its plugins, type \`$VLC_MAKE'.