2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
10 if expr a : '\(a\)' >/dev/null 2>&1; then
17 ## --------------------- ##
18 ## M4sh Initialization. ##
19 ## --------------------- ##
21 # Be Bourne compatible
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
25 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
30 # Support unset when possible.
31 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
37 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
38 { $as_unset LANG || test "${LANG+set}" != set; } ||
39 { LANG=C; export LANG; }
40 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
41 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
42 { LC_ALL=C; export LC_ALL; }
43 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
44 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
45 { LC_TIME=C; export LC_TIME; }
46 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
47 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
48 { LC_CTYPE=C; export LC_CTYPE; }
49 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
50 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
51 { LANGUAGE=C; export LANGUAGE; }
52 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
53 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
54 { LC_COLLATE=C; export LC_COLLATE; }
55 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
56 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
57 { LC_NUMERIC=C; export LC_NUMERIC; }
58 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
59 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
60 { LC_MESSAGES=C; export LC_MESSAGES; }
63 # Name of the executable.
64 as_me=`(basename "$0") 2>/dev/null ||
65 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66 X"$0" : 'X\(//\)$' \| \
67 X"$0" : 'X\(/\)$' \| \
68 . : '\(.\)' 2>/dev/null ||
70 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
71 /^X\/\(\/\/\)$/{ s//\1/; q; }
72 /^X\/\(\/\).*/{ s//\1/; q; }
75 # PATH needs CR, and LINENO needs CR and PATH.
76 # Avoid depending upon Character Ranges.
77 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80 as_cr_digits='0123456789'
81 as_cr_alnum=$as_cr_Letters$as_cr_digits
83 # The user is always right.
84 if test "${PATH_SEPARATOR+set}" != set; then
85 echo "#! /bin/sh" >conftest.sh
86 echo "exit 0" >>conftest.sh
88 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
99 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
100 test "x$as_lineno_1" != "x$as_lineno_2" &&
101 test "x$as_lineno_3" = "x$as_lineno_2" || {
102 # Find who we are. Look in the path if we contain no path at all
105 *[\\/]* ) as_myself=$0 ;;
106 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 test -z "$as_dir" && as_dir=.
111 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
116 # We did not find ourselves, most probably we were run as `sh COMMAND'
117 # in which case we are not to be found in the path.
118 if test "x$as_myself" = x; then
121 if test ! -f "$as_myself"; then
122 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
123 { (exit 1); exit 1; }; }
125 case $CONFIG_SHELL in
127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
128 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
131 test -z "$as_dir" && as_dir=.
132 for as_base in sh bash ksh sh5; do
135 if ("$as_dir/$as_base" -c '
138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139 test "x$as_lineno_1" != "x$as_lineno_2" &&
140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
141 CONFIG_SHELL=$as_dir/$as_base
143 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
152 # uniformly replaced by the line number. The first 'sed' inserts a
153 # line-number line before each line; the second 'sed' does the real
154 # work. The second script uses 'N' to pair each line-number line
155 # with the numbered line, and appends trailing '-' during
156 # substitution so that $LINENO is not a special case at line end.
157 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
158 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
159 sed '=' <$as_myself |
164 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
167 s,^['$as_cr_digits']*\n,,
169 chmod +x $as_me.lineno ||
170 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
171 { (exit 1); exit 1; }; }
173 # Don't try to exec as it changes $[0], causing all sort of problems
174 # (the dirname of $[0] is not the place where we might find the
175 # original and so on. Autoconf is especially sensible to this).
177 # Exit status is that of the last command.
182 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
183 *c*,-n*) ECHO_N= ECHO_C='
185 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
186 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
189 if expr a : '\(a\)' >/dev/null 2>&1; then
195 rm -f conf$$ conf$$.exe conf$$.file
197 if ln -s conf$$.file conf$$ 2>/dev/null; then
198 # We could just check for DJGPP; but this test a) works b) is more generic
199 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
200 if test -f conf$$.exe; then
201 # Don't use ln at all; we don't have any links
206 elif ln conf$$.file conf$$ 2>/dev/null; then
211 rm -f conf$$ conf$$.exe conf$$.file
213 as_executable_p="test -f"
215 # Sed expression to map a string onto a valid CPP name.
216 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
218 # Sed expression to map a string onto a valid variable name.
219 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
223 # We need space, tab and new line, in precisely that order.
229 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
233 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
234 # so uname gets run too.
235 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
242 ac_default_prefix=/usr/local
247 SHELL=${CONFIG_SHELL-/bin/sh}
249 # Maximum number of lines to put in a shell here document.
250 # This variable seems obsolete. It should probably be removed, and
251 # only ac_max_sed_lines should be used.
252 : ${ac_max_here_lines=38}
254 # Identity of this package.
261 ac_unique_file="include/main.h"
262 # Factoring default headers for most tests.
263 ac_includes_default="\
266 # include <sys/types.h>
269 # include <sys/stat.h>
280 # if !STDC_HEADERS && HAVE_MEMORY_H
286 # include <strings.h>
289 # include <inttypes.h>
300 # Initialize some variables set by options.
302 ac_init_version=false
303 # The variables have the same names as the options, with
304 # dashes changed to underlines.
312 program_transform_name=s,x,x,
320 # Installation directory options.
321 # These are left unexpanded so users can "make install exec_prefix=/foo"
322 # and all the variables that are supposed to be based on exec_prefix
323 # by default will actually change.
324 # Use braces instead of parens because sh, perl, etc. also accept them.
325 bindir='${exec_prefix}/bin'
326 sbindir='${exec_prefix}/sbin'
327 libexecdir='${exec_prefix}/libexec'
328 datadir='${prefix}/share'
329 sysconfdir='${prefix}/etc'
330 sharedstatedir='${prefix}/com'
331 localstatedir='${prefix}/var'
332 libdir='${exec_prefix}/lib'
333 includedir='${prefix}/include'
334 oldincludedir='/usr/include'
335 infodir='${prefix}/info'
336 mandir='${prefix}/man'
341 # If the previous option needs an argument, assign it.
342 if test -n "$ac_prev"; then
343 eval "$ac_prev=\$ac_option"
348 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
350 # Accept the important Cygnus configure options, so we can diagnose typos.
354 -bindir | --bindir | --bindi | --bind | --bin | --bi)
356 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
359 -build | --build | --buil | --bui | --bu)
360 ac_prev=build_alias ;;
361 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
362 build_alias=$ac_optarg ;;
364 -cache-file | --cache-file | --cache-fil | --cache-fi \
365 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
366 ac_prev=cache_file ;;
367 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
368 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
369 cache_file=$ac_optarg ;;
372 cache_file=config.cache ;;
374 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
376 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
378 datadir=$ac_optarg ;;
380 -disable-* | --disable-*)
381 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
382 # Reject names that are not valid shell variable names.
383 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
384 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
385 { (exit 1); exit 1; }; }
386 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
387 eval "enable_$ac_feature=no" ;;
389 -enable-* | --enable-*)
390 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
391 # Reject names that are not valid shell variable names.
392 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
393 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
394 { (exit 1); exit 1; }; }
395 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
397 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
400 eval "enable_$ac_feature='$ac_optarg'" ;;
402 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
403 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
404 | --exec | --exe | --ex)
405 ac_prev=exec_prefix ;;
406 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
407 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
408 | --exec=* | --exe=* | --ex=*)
409 exec_prefix=$ac_optarg ;;
411 -gas | --gas | --ga | --g)
412 # Obsolete; use --with-gas.
415 -help | --help | --hel | --he | -h)
417 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
418 ac_init_help=recursive ;;
419 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
420 ac_init_help=short ;;
422 -host | --host | --hos | --ho)
423 ac_prev=host_alias ;;
424 -host=* | --host=* | --hos=* | --ho=*)
425 host_alias=$ac_optarg ;;
427 -includedir | --includedir | --includedi | --included | --include \
428 | --includ | --inclu | --incl | --inc)
429 ac_prev=includedir ;;
430 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
431 | --includ=* | --inclu=* | --incl=* | --inc=*)
432 includedir=$ac_optarg ;;
434 -infodir | --infodir | --infodi | --infod | --info | --inf)
436 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
437 infodir=$ac_optarg ;;
439 -libdir | --libdir | --libdi | --libd)
441 -libdir=* | --libdir=* | --libdi=* | --libd=*)
444 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
445 | --libexe | --libex | --libe)
446 ac_prev=libexecdir ;;
447 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
448 | --libexe=* | --libex=* | --libe=*)
449 libexecdir=$ac_optarg ;;
451 -localstatedir | --localstatedir | --localstatedi | --localstated \
452 | --localstate | --localstat | --localsta | --localst \
453 | --locals | --local | --loca | --loc | --lo)
454 ac_prev=localstatedir ;;
455 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
456 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
457 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
458 localstatedir=$ac_optarg ;;
460 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
462 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
466 # Obsolete; use --without-fp.
469 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
470 | --no-cr | --no-c | -n)
473 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
474 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
477 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
478 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
479 | --oldin | --oldi | --old | --ol | --o)
480 ac_prev=oldincludedir ;;
481 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
482 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
483 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
484 oldincludedir=$ac_optarg ;;
486 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
488 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
491 -program-prefix | --program-prefix | --program-prefi | --program-pref \
492 | --program-pre | --program-pr | --program-p)
493 ac_prev=program_prefix ;;
494 -program-prefix=* | --program-prefix=* | --program-prefi=* \
495 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
496 program_prefix=$ac_optarg ;;
498 -program-suffix | --program-suffix | --program-suffi | --program-suff \
499 | --program-suf | --program-su | --program-s)
500 ac_prev=program_suffix ;;
501 -program-suffix=* | --program-suffix=* | --program-suffi=* \
502 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
503 program_suffix=$ac_optarg ;;
505 -program-transform-name | --program-transform-name \
506 | --program-transform-nam | --program-transform-na \
507 | --program-transform-n | --program-transform- \
508 | --program-transform | --program-transfor \
509 | --program-transfo | --program-transf \
510 | --program-trans | --program-tran \
511 | --progr-tra | --program-tr | --program-t)
512 ac_prev=program_transform_name ;;
513 -program-transform-name=* | --program-transform-name=* \
514 | --program-transform-nam=* | --program-transform-na=* \
515 | --program-transform-n=* | --program-transform-=* \
516 | --program-transform=* | --program-transfor=* \
517 | --program-transfo=* | --program-transf=* \
518 | --program-trans=* | --program-tran=* \
519 | --progr-tra=* | --program-tr=* | --program-t=*)
520 program_transform_name=$ac_optarg ;;
522 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
523 | -silent | --silent | --silen | --sile | --sil)
526 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
528 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
530 sbindir=$ac_optarg ;;
532 -sharedstatedir | --sharedstatedir | --sharedstatedi \
533 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
534 | --sharedst | --shareds | --shared | --share | --shar \
536 ac_prev=sharedstatedir ;;
537 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
538 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
539 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
541 sharedstatedir=$ac_optarg ;;
543 -site | --site | --sit)
545 -site=* | --site=* | --sit=*)
548 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
550 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
553 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
554 | --syscon | --sysco | --sysc | --sys | --sy)
555 ac_prev=sysconfdir ;;
556 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
557 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
558 sysconfdir=$ac_optarg ;;
560 -target | --target | --targe | --targ | --tar | --ta | --t)
561 ac_prev=target_alias ;;
562 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
563 target_alias=$ac_optarg ;;
565 -v | -verbose | --verbose | --verbos | --verbo | --verb)
568 -version | --version | --versio | --versi | --vers | -V)
572 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
573 # Reject names that are not valid shell variable names.
574 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
575 { echo "$as_me: error: invalid package name: $ac_package" >&2
576 { (exit 1); exit 1; }; }
577 ac_package=`echo $ac_package| sed 's/-/_/g'`
579 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
582 eval "with_$ac_package='$ac_optarg'" ;;
584 -without-* | --without-*)
585 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
586 # Reject names that are not valid shell variable names.
587 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
588 { echo "$as_me: error: invalid package name: $ac_package" >&2
589 { (exit 1); exit 1; }; }
590 ac_package=`echo $ac_package | sed 's/-/_/g'`
591 eval "with_$ac_package=no" ;;
594 # Obsolete; use --with-x.
597 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
598 | --x-incl | --x-inc | --x-in | --x-i)
599 ac_prev=x_includes ;;
600 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
601 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
602 x_includes=$ac_optarg ;;
604 -x-libraries | --x-libraries | --x-librarie | --x-librari \
605 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
606 ac_prev=x_libraries ;;
607 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
608 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
609 x_libraries=$ac_optarg ;;
611 -*) { echo "$as_me: error: unrecognized option: $ac_option
612 Try \`$0 --help' for more information." >&2
613 { (exit 1); exit 1; }; }
617 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
618 # Reject names that are not valid shell variable names.
619 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
620 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
621 { (exit 1); exit 1; }; }
622 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
623 eval "$ac_envvar='$ac_optarg'"
627 # FIXME: should be removed in autoconf 3.0.
628 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
629 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
630 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
631 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
637 if test -n "$ac_prev"; then
638 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
639 { echo "$as_me: error: missing argument to $ac_option" >&2
640 { (exit 1); exit 1; }; }
643 # Be sure to have absolute paths.
644 for ac_var in exec_prefix prefix
646 eval ac_val=$`echo $ac_var`
648 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
649 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
650 { (exit 1); exit 1; }; };;
654 # Be sure to have absolute paths.
655 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
656 localstatedir libdir includedir oldincludedir infodir mandir
658 eval ac_val=$`echo $ac_var`
660 [\\/$]* | ?:[\\/]* ) ;;
661 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
662 { (exit 1); exit 1; }; };;
666 # There might be people who depend on the old broken behavior: `$host'
667 # used to hold the argument of --host etc.
668 # FIXME: To remove some day.
673 # FIXME: To remove some day.
674 if test "x$host_alias" != x; then
675 if test "x$build_alias" = x; then
676 cross_compiling=maybe
677 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
678 If a cross compiler is detected then cross compile mode will be used." >&2
679 elif test "x$build_alias" != "x$host_alias"; then
685 test -n "$host_alias" && ac_tool_prefix=$host_alias-
687 test "$silent" = yes && exec 6>/dev/null
690 # Find the source files, if location was not specified.
691 if test -z "$srcdir"; then
692 ac_srcdir_defaulted=yes
693 # Try the directory containing this script, then its parent.
694 ac_confdir=`(dirname "$0") 2>/dev/null ||
695 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
696 X"$0" : 'X\(//\)[^/]' \| \
697 X"$0" : 'X\(//\)$' \| \
698 X"$0" : 'X\(/\)' \| \
699 . : '\(.\)' 2>/dev/null ||
701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
702 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
703 /^X\(\/\/\)$/{ s//\1/; q; }
704 /^X\(\/\).*/{ s//\1/; q; }
707 if test ! -r $srcdir/$ac_unique_file; then
711 ac_srcdir_defaulted=no
713 if test ! -r $srcdir/$ac_unique_file; then
714 if test "$ac_srcdir_defaulted" = yes; then
715 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
716 { (exit 1); exit 1; }; }
718 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
719 { (exit 1); exit 1; }; }
722 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
723 ac_env_build_alias_set=${build_alias+set}
724 ac_env_build_alias_value=$build_alias
725 ac_cv_env_build_alias_set=${build_alias+set}
726 ac_cv_env_build_alias_value=$build_alias
727 ac_env_host_alias_set=${host_alias+set}
728 ac_env_host_alias_value=$host_alias
729 ac_cv_env_host_alias_set=${host_alias+set}
730 ac_cv_env_host_alias_value=$host_alias
731 ac_env_target_alias_set=${target_alias+set}
732 ac_env_target_alias_value=$target_alias
733 ac_cv_env_target_alias_set=${target_alias+set}
734 ac_cv_env_target_alias_value=$target_alias
735 ac_env_CC_set=${CC+set}
737 ac_cv_env_CC_set=${CC+set}
738 ac_cv_env_CC_value=$CC
739 ac_env_CFLAGS_set=${CFLAGS+set}
740 ac_env_CFLAGS_value=$CFLAGS
741 ac_cv_env_CFLAGS_set=${CFLAGS+set}
742 ac_cv_env_CFLAGS_value=$CFLAGS
743 ac_env_LDFLAGS_set=${LDFLAGS+set}
744 ac_env_LDFLAGS_value=$LDFLAGS
745 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
746 ac_cv_env_LDFLAGS_value=$LDFLAGS
747 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
748 ac_env_CPPFLAGS_value=$CPPFLAGS
749 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
750 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
751 ac_env_CPP_set=${CPP+set}
752 ac_env_CPP_value=$CPP
753 ac_cv_env_CPP_set=${CPP+set}
754 ac_cv_env_CPP_value=$CPP
757 # Report the --help message.
759 if test "$ac_init_help" = "long"; then
760 # Omit some internal or obsolete options to make the list less imposing.
761 # This message is too long to be a string in the A/UX 3.1 sh.
763 \`configure' configures this package to adapt to many kinds of systems.
765 Usage: $0 [OPTION]... [VAR=VALUE]...
767 To assign environment variables (e.g., CC, CFLAGS...), specify them as
768 VAR=VALUE. See below for descriptions of some of the useful variables.
770 Defaults for the options are specified in brackets.
773 -h, --help display this help and exit
774 --help=short display options specific to this package
775 --help=recursive display the short help of all the included packages
776 -V, --version display version information and exit
777 -q, --quiet, --silent do not print \`checking...' messages
778 --cache-file=FILE cache test results in FILE [disabled]
779 -C, --config-cache alias for \`--cache-file=config.cache'
780 -n, --no-create do not create output files
781 --srcdir=DIR find the sources in DIR [configure dir or \`..']
786 Installation directories:
787 --prefix=PREFIX install architecture-independent files in PREFIX
789 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
792 By default, \`make install' will install all the files in
793 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
794 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
795 for instance \`--prefix=\$HOME'.
797 For better control, use the options below.
799 Fine tuning of the installation directories:
800 --bindir=DIR user executables [EPREFIX/bin]
801 --sbindir=DIR system admin executables [EPREFIX/sbin]
802 --libexecdir=DIR program executables [EPREFIX/libexec]
803 --datadir=DIR read-only architecture-independent data [PREFIX/share]
804 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
805 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
806 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
807 --libdir=DIR object code libraries [EPREFIX/lib]
808 --includedir=DIR C header files [PREFIX/include]
809 --oldincludedir=DIR C header files for non-gcc [/usr/include]
810 --infodir=DIR info documentation [PREFIX/info]
811 --mandir=DIR man documentation [PREFIX/man]
817 --build=BUILD configure for building on BUILD [guessed]
818 --host=HOST cross-compile to build programs to run on HOST [BUILD]
819 --target=TARGET configure for building compilers for TARGET [HOST]
823 if test -n "$ac_init_help"; then
828 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
829 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
830 --disable-nls do not use Native Language Support
831 --disable-optimizations disable compiler optimizations (default enabled)
832 --disable-altivec disable altivec optimizations (default enabled on PPC)
833 --enable-debug debug mode (default disabled)
834 --enable-release activate extra optimizations (default disabled)
835 --enable-dvd DVD input module (default enabled)
836 --enable-dvdread dvdread input module (default disabled)
837 --enable-dvbpsi dvbpsi ts demux module (default disabled)
838 --enable-vcd VCD support for Linux, FreeBSD and MacOS X (default enabled)
839 --enable-satellite satellite card support (default disabled)
840 --enable-avi AVI demux module (default enabled)
841 --enable-mad libmad module (default disabled)
842 --enable-ffmpeg ffmpeg codec (default disabled)
843 --enable-a52 AC3 support with liba52 (default enabled)
844 --enable-vorbis Ogg/Vorbis decoder support (default enabled)
845 --enable-x11 X11 support (default enabled)
846 --enable-xvideo XVideo support (default enabled)
847 --enable-sdl SDL support (default enabled)
848 --enable-qte QT Embedded support (default disabled)
849 --enable-directx Win32 DirectX support (default enabled on Win32)
850 --enable-fb Linux framebuffer support (default enabled on Linux)
851 --enable-mga Linux kernel Matrox support (default disabled)
852 --enable-ggi GGI support (default disabled)
853 --enable-glide Glide (3dfx) support (default disabled)
854 --enable-aa aalib output (default disabled)
855 --enable-dsp Linux /dev/dsp support (enabled on Linux)
856 --enable-esd Esound library support (default disabled)
857 --enable-arts aRts sound server (default disabled)
858 --enable-alsa ALSA sound support for Linux (default disabled)
859 --enable-waveout Win32 waveOut module (default enabled on Win32)
860 --enable-gtk Gtk+ support (default enabled)
861 --enable-familiar Familiar Gtk+ support (default disabled)
862 --enable-gnome Gnome interface support (default disabled)
863 --enable-qt Qt interface support (default disabled)
864 --enable-kde KDE interface support (default disabled)
865 --enable-opie Qt embedded interface support (default disabled)
866 --enable-macosx MacOS X support (default enabled on MacOS X)
867 --enable-qnx QNX RTOS support (default enabled on QNX RTOS)
868 --enable-intfwin Win32 interface support (default disabled)
869 --enable-ncurses ncurses interface support (default disabled)
870 --enable-lirc lirc support (default disabled)
871 --enable-gprof gprof profiling (default disabled)
872 --enable-cprof cprof profiling (default disabled)
873 --enable-pth GNU Pth support (default disabled)
874 --enable-st State Threads (default disabled)
875 --disable-plugins make all plug-ins built-in (default plug-ins enabled)
878 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
879 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
880 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
881 --with-included-gettext use the GNU gettext library included here
883 Optimization options:
884 --with-tuning=ARCH enable special tuning for an architecture
885 (default i686 on IA-32 and 750 on PPC)
887 --with-dvdcss=PATH libdvdcss headers and libraries
888 --with-dvdcss-tree=PATH libdvdcss tree for static linking
889 --with-dvdread=PATH libdvdread headers and libraries
890 --with-dvbpsi=PATH libdvbpsi headers and libraries
891 --with-dvbpsi-tree=PATH libdvbpsi tree for static linking
893 --with-mad=PATH path to libmad
894 --with-mad-tree=PATH mad tree for static linking
895 --with-ffmpeg=PATH path to ffmpeg installation
896 --with-ffmpeg-tree=PATH ffmpeg tree for static linking
897 --with-a52-tree=PATH a52dec tree for static linking
899 --with-sdl-config-path=PATH sdl-config path (default search in \$PATH)
900 --with-sdl-prefix=PATH path to libsdl (needed for cross-compiling),
902 --with-sdl-prefix=/usr/local/arm/2.95.3/arm-linux/usr)
903 --with-qte=PATH Qt Embedded headers and libraries
904 --with-directx=PATH Win32 DirectX headers and libraries
905 --with-ggi=PATH path to libggi
906 --with-glide=PATH path to libglide
909 --with-gtk-config-path=PATH gtk-config path (default search in \$PATH)
910 --with-gtk-prefix=PATH path to libgtk (needed for cross-compiling),
912 --with-gtk-prefix=/usr/local/arm/2.95.3/arm-linux/usr)
913 --with-gpe-prefix=PATH gpe installation path prefix (default search in \$PATH)
914 --with-bcbuilder=PATH Borland C++ Builder installation path
916 --with-words=endianness set endianness (big or little)
918 Some influential environment variables:
919 CC C compiler command
920 CFLAGS C compiler flags
921 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
922 nonstandard directory <lib dir>
923 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
924 headers in a nonstandard directory <include dir>
927 Use these variables to override the choices made by `configure' or to help
928 it to find libraries and programs with nonstandard names/locations.
933 if test "$ac_init_help" = "recursive"; then
934 # If there are subdirs, report their specific --help.
936 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
937 test -d $ac_dir || continue
940 if test "$ac_dir" != .; then
941 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
942 # A "../" for each directory in $ac_dir_suffix.
943 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
945 ac_dir_suffix= ac_top_builddir=
949 .) # No --srcdir option. We are building in place.
951 if test -z "$ac_top_builddir"; then
954 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
956 [\\/]* | ?:[\\/]* ) # Absolute path.
957 ac_srcdir=$srcdir$ac_dir_suffix;
958 ac_top_srcdir=$srcdir ;;
960 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
961 ac_top_srcdir=$ac_top_builddir$srcdir ;;
963 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
965 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
966 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
967 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
968 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
971 # Check for guested configure; otherwise get Cygnus style configure.
972 if test -f $ac_srcdir/configure.gnu; then
974 $SHELL $ac_srcdir/configure.gnu --help=recursive
975 elif test -f $ac_srcdir/configure; then
977 $SHELL $ac_srcdir/configure --help=recursive
978 elif test -f $ac_srcdir/configure.ac ||
979 test -f $ac_srcdir/configure.in; then
983 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
989 test -n "$ac_init_help" && exit 0
990 if $ac_init_version; then
993 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
994 Free Software Foundation, Inc.
995 This configure script is free software; the Free Software Foundation
996 gives unlimited permission to copy, distribute and modify it.
1002 This file contains any messages produced by compilers while
1003 running configure, to aid debugging if configure makes a mistake.
1005 It was created by $as_me, which was
1006 generated by GNU Autoconf 2.53. Invocation command line was
1017 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1018 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1019 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1020 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1021 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1023 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1024 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1026 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1027 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1028 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1029 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1030 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1031 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1032 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1040 test -z "$as_dir" && as_dir=.
1041 echo "PATH: $as_dir"
1056 # Keep a trace of the command line.
1057 # Strip out --no-create and --no-recursion so they do not pile up.
1058 # Also quote any args containing shell meta-characters.
1064 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1065 | --no-cr | --no-c | -n ) continue ;;
1066 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1067 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1069 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1070 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1072 case " $ac_configure_args " in
1073 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1074 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1077 # Get rid of the leading space.
1080 # When interrupted or exit'd, cleanup temporary files, and complete
1081 # config.log. We remove comments because anyway the quotes in there
1082 # would cause problems or look ugly.
1083 # WARNING: Be sure not to use single quotes in there, as some shells,
1084 # such as our DU 5.0 friend, will then `close' the trap.
1085 trap 'exit_status=$?
1086 # Save into config.log some information that might help in debugging.
1090 ## ---------------- ##
1091 ## Cache variables. ##
1092 ## ---------------- ##
1095 # The following way of writing the cache mishandles newlines in values,
1098 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1101 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1102 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1106 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1111 if test -s confdefs.h; then
1118 sed "/^$/d" confdefs.h
1121 test "$ac_signal" != 0 &&
1122 echo "$as_me: caught signal $ac_signal"
1123 echo "$as_me: exit $exit_status"
1125 rm -f core core.* *.core &&
1126 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1129 for ac_signal in 1 2 13 15; do
1130 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1134 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1135 rm -rf conftest* confdefs.h
1136 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1139 # Predefined preprocessor variables.
1141 cat >>confdefs.h <<_ACEOF
1142 #define PACKAGE_NAME "$PACKAGE_NAME"
1146 cat >>confdefs.h <<_ACEOF
1147 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1151 cat >>confdefs.h <<_ACEOF
1152 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1156 cat >>confdefs.h <<_ACEOF
1157 #define PACKAGE_STRING "$PACKAGE_STRING"
1161 cat >>confdefs.h <<_ACEOF
1162 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1166 # Let the site file select an alternate cache file if it wants to.
1167 # Prefer explicitly selected file to automatically selected ones.
1168 if test -z "$CONFIG_SITE"; then
1169 if test "x$prefix" != xNONE; then
1170 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1172 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1175 for ac_site_file in $CONFIG_SITE; do
1176 if test -r "$ac_site_file"; then
1177 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1178 echo "$as_me: loading site script $ac_site_file" >&6;}
1179 sed 's/^/| /' "$ac_site_file" >&5
1184 if test -r "$cache_file"; then
1185 # Some versions of bash will fail to source /dev/null (special
1186 # files actually), so we avoid doing that.
1187 if test -f "$cache_file"; then
1188 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1189 echo "$as_me: loading cache $cache_file" >&6;}
1191 [\\/]* | ?:[\\/]* ) . $cache_file;;
1192 *) . ./$cache_file;;
1196 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1197 echo "$as_me: creating cache $cache_file" >&6;}
1201 # Check that the precious variables saved in the cache have kept the same
1203 ac_cache_corrupted=false
1204 for ac_var in `(set) 2>&1 |
1205 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1206 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1207 eval ac_new_set=\$ac_env_${ac_var}_set
1208 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1209 eval ac_new_val="\$ac_env_${ac_var}_value"
1210 case $ac_old_set,$ac_new_set in
1212 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1213 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1214 ac_cache_corrupted=: ;;
1216 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1217 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1218 ac_cache_corrupted=: ;;
1221 if test "x$ac_old_val" != "x$ac_new_val"; then
1222 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1223 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1224 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1225 echo "$as_me: former value: $ac_old_val" >&2;}
1226 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1227 echo "$as_me: current value: $ac_new_val" >&2;}
1228 ac_cache_corrupted=:
1231 # Pass precious variables to config.status.
1232 if test "$ac_new_set" = set; then
1234 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1235 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1236 *) ac_arg=$ac_var=$ac_new_val ;;
1238 case " $ac_configure_args " in
1239 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1240 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1244 if $ac_cache_corrupted; then
1245 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1246 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1247 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1248 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1249 { (exit 1); exit 1; }; }
1253 ac_cpp='$CPP $CPPFLAGS'
1254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1275 ac_config_headers="$ac_config_headers include/defs.h"
1278 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1279 if test -f $ac_dir/install-sh; then
1281 ac_install_sh="$ac_aux_dir/install-sh -c"
1283 elif test -f $ac_dir/install.sh; then
1285 ac_install_sh="$ac_aux_dir/install.sh -c"
1287 elif test -f $ac_dir/shtool; then
1289 ac_install_sh="$ac_aux_dir/shtool install -c"
1293 if test -z "$ac_aux_dir"; then
1294 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1295 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1296 { (exit 1); exit 1; }; }
1298 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1299 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1300 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1302 # Make sure we can run config.sub.
1303 $ac_config_sub sun4 >/dev/null 2>&1 ||
1304 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1305 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1306 { (exit 1); exit 1; }; }
1308 echo "$as_me:$LINENO: checking build system type" >&5
1309 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1310 if test "${ac_cv_build+set}" = set; then
1311 echo $ECHO_N "(cached) $ECHO_C" >&6
1313 ac_cv_build_alias=$build_alias
1314 test -z "$ac_cv_build_alias" &&
1315 ac_cv_build_alias=`$ac_config_guess`
1316 test -z "$ac_cv_build_alias" &&
1317 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1318 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1319 { (exit 1); exit 1; }; }
1320 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1321 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1322 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1323 { (exit 1); exit 1; }; }
1326 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1327 echo "${ECHO_T}$ac_cv_build" >&6
1329 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1330 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1331 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1334 echo "$as_me:$LINENO: checking host system type" >&5
1335 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1336 if test "${ac_cv_host+set}" = set; then
1337 echo $ECHO_N "(cached) $ECHO_C" >&6
1339 ac_cv_host_alias=$host_alias
1340 test -z "$ac_cv_host_alias" &&
1341 ac_cv_host_alias=$ac_cv_build_alias
1342 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1343 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1344 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1345 { (exit 1); exit 1; }; }
1348 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1349 echo "${ECHO_T}$ac_cv_host" >&6
1351 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1352 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1353 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1356 echo "$as_me:$LINENO: checking target system type" >&5
1357 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1358 if test "${ac_cv_target+set}" = set; then
1359 echo $ECHO_N "(cached) $ECHO_C" >&6
1361 ac_cv_target_alias=$target_alias
1362 test "x$ac_cv_target_alias" = "x" &&
1363 ac_cv_target_alias=$ac_cv_host_alias
1364 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1365 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1366 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1367 { (exit 1); exit 1; }; }
1370 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1371 echo "${ECHO_T}$ac_cv_target" >&6
1372 target=$ac_cv_target
1373 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1374 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1375 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1378 # The aliases save the names the user supplied, while $host etc.
1379 # will get canonicalized.
1380 test -n "$target_alias" &&
1381 test "$program_prefix$program_suffix$program_transform_name" = \
1383 program_prefix=${target_alias}-
1389 save_CFLAGS="${CFLAGS}"
1390 save_CPPFLAGS="${CPPFLAGS}"
1391 save_LDFLAGS="${LDFLAGS}"
1393 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1394 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1395 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1396 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1397 echo $ECHO_N "(cached) $ECHO_C" >&6
1399 cat >conftest.make <<\_ACEOF
1401 @echo 'ac_maketemp="${MAKE}"'
1403 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1404 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1405 if test -n "$ac_maketemp"; then
1406 eval ac_cv_prog_make_${ac_make}_set=yes
1408 eval ac_cv_prog_make_${ac_make}_set=no
1412 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1413 echo "$as_me:$LINENO: result: yes" >&5
1414 echo "${ECHO_T}yes" >&6
1417 echo "$as_me:$LINENO: result: no" >&5
1418 echo "${ECHO_T}no" >&6
1419 SET_MAKE="MAKE=${MAKE-make}"
1423 ac_cpp='$CPP $CPPFLAGS'
1424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1427 if test -n "$ac_tool_prefix"; then
1428 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1429 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1430 echo "$as_me:$LINENO: checking for $ac_word" >&5
1431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1432 if test "${ac_cv_prog_CC+set}" = set; then
1433 echo $ECHO_N "(cached) $ECHO_C" >&6
1435 if test -n "$CC"; then
1436 ac_cv_prog_CC="$CC" # Let the user override the test.
1438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1442 test -z "$as_dir" && as_dir=.
1443 for ac_exec_ext in '' $ac_executable_extensions; do
1444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1445 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1455 if test -n "$CC"; then
1456 echo "$as_me:$LINENO: result: $CC" >&5
1457 echo "${ECHO_T}$CC" >&6
1459 echo "$as_me:$LINENO: result: no" >&5
1460 echo "${ECHO_T}no" >&6
1464 if test -z "$ac_cv_prog_CC"; then
1466 # Extract the first word of "gcc", so it can be a program name with args.
1467 set dummy gcc; ac_word=$2
1468 echo "$as_me:$LINENO: checking for $ac_word" >&5
1469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1470 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1471 echo $ECHO_N "(cached) $ECHO_C" >&6
1473 if test -n "$ac_ct_CC"; then
1474 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1480 test -z "$as_dir" && as_dir=.
1481 for ac_exec_ext in '' $ac_executable_extensions; do
1482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1483 ac_cv_prog_ac_ct_CC="gcc"
1484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1492 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1493 if test -n "$ac_ct_CC"; then
1494 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1495 echo "${ECHO_T}$ac_ct_CC" >&6
1497 echo "$as_me:$LINENO: result: no" >&5
1498 echo "${ECHO_T}no" >&6
1506 if test -z "$CC"; then
1507 if test -n "$ac_tool_prefix"; then
1508 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1509 set dummy ${ac_tool_prefix}cc; ac_word=$2
1510 echo "$as_me:$LINENO: checking for $ac_word" >&5
1511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1512 if test "${ac_cv_prog_CC+set}" = set; then
1513 echo $ECHO_N "(cached) $ECHO_C" >&6
1515 if test -n "$CC"; then
1516 ac_cv_prog_CC="$CC" # Let the user override the test.
1518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1522 test -z "$as_dir" && as_dir=.
1523 for ac_exec_ext in '' $ac_executable_extensions; do
1524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1525 ac_cv_prog_CC="${ac_tool_prefix}cc"
1526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1535 if test -n "$CC"; then
1536 echo "$as_me:$LINENO: result: $CC" >&5
1537 echo "${ECHO_T}$CC" >&6
1539 echo "$as_me:$LINENO: result: no" >&5
1540 echo "${ECHO_T}no" >&6
1544 if test -z "$ac_cv_prog_CC"; then
1546 # Extract the first word of "cc", so it can be a program name with args.
1547 set dummy cc; ac_word=$2
1548 echo "$as_me:$LINENO: checking for $ac_word" >&5
1549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1550 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1551 echo $ECHO_N "(cached) $ECHO_C" >&6
1553 if test -n "$ac_ct_CC"; then
1554 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1560 test -z "$as_dir" && as_dir=.
1561 for ac_exec_ext in '' $ac_executable_extensions; do
1562 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1563 ac_cv_prog_ac_ct_CC="cc"
1564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1572 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1573 if test -n "$ac_ct_CC"; then
1574 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1575 echo "${ECHO_T}$ac_ct_CC" >&6
1577 echo "$as_me:$LINENO: result: no" >&5
1578 echo "${ECHO_T}no" >&6
1587 if test -z "$CC"; then
1588 # Extract the first word of "cc", so it can be a program name with args.
1589 set dummy cc; ac_word=$2
1590 echo "$as_me:$LINENO: checking for $ac_word" >&5
1591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1592 if test "${ac_cv_prog_CC+set}" = set; then
1593 echo $ECHO_N "(cached) $ECHO_C" >&6
1595 if test -n "$CC"; then
1596 ac_cv_prog_CC="$CC" # Let the user override the test.
1599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1603 test -z "$as_dir" && as_dir=.
1604 for ac_exec_ext in '' $ac_executable_extensions; do
1605 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1606 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1607 ac_prog_rejected=yes
1611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1617 if test $ac_prog_rejected = yes; then
1618 # We found a bogon in the path, so make sure we never use it.
1619 set dummy $ac_cv_prog_CC
1621 if test $# != 0; then
1622 # We chose a different compiler from the bogus one.
1623 # However, it has the same basename, so the bogon will be chosen
1624 # first if we set CC to just the basename; use the full file name.
1626 set dummy "$as_dir/$ac_word" ${1+"$@"}
1634 if test -n "$CC"; then
1635 echo "$as_me:$LINENO: result: $CC" >&5
1636 echo "${ECHO_T}$CC" >&6
1638 echo "$as_me:$LINENO: result: no" >&5
1639 echo "${ECHO_T}no" >&6
1643 if test -z "$CC"; then
1644 if test -n "$ac_tool_prefix"; then
1647 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1648 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1649 echo "$as_me:$LINENO: checking for $ac_word" >&5
1650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1651 if test "${ac_cv_prog_CC+set}" = set; then
1652 echo $ECHO_N "(cached) $ECHO_C" >&6
1654 if test -n "$CC"; then
1655 ac_cv_prog_CC="$CC" # Let the user override the test.
1657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1661 test -z "$as_dir" && as_dir=.
1662 for ac_exec_ext in '' $ac_executable_extensions; do
1663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1664 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1674 if test -n "$CC"; then
1675 echo "$as_me:$LINENO: result: $CC" >&5
1676 echo "${ECHO_T}$CC" >&6
1678 echo "$as_me:$LINENO: result: no" >&5
1679 echo "${ECHO_T}no" >&6
1682 test -n "$CC" && break
1685 if test -z "$CC"; then
1689 # Extract the first word of "$ac_prog", so it can be a program name with args.
1690 set dummy $ac_prog; ac_word=$2
1691 echo "$as_me:$LINENO: checking for $ac_word" >&5
1692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1693 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1694 echo $ECHO_N "(cached) $ECHO_C" >&6
1696 if test -n "$ac_ct_CC"; then
1697 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1703 test -z "$as_dir" && as_dir=.
1704 for ac_exec_ext in '' $ac_executable_extensions; do
1705 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1706 ac_cv_prog_ac_ct_CC="$ac_prog"
1707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1715 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1716 if test -n "$ac_ct_CC"; then
1717 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1718 echo "${ECHO_T}$ac_ct_CC" >&6
1720 echo "$as_me:$LINENO: result: no" >&5
1721 echo "${ECHO_T}no" >&6
1724 test -n "$ac_ct_CC" && break
1733 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1734 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1735 { (exit 1); exit 1; }; }
1737 # Provide some information about the compiler.
1738 echo "$as_me:$LINENO:" \
1739 "checking for C compiler version" >&5
1740 ac_compiler=`set X $ac_compile; echo $2`
1741 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1742 (eval $ac_compiler --version </dev/null >&5) 2>&5
1744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1745 (exit $ac_status); }
1746 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1747 (eval $ac_compiler -v </dev/null >&5) 2>&5
1749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1750 (exit $ac_status); }
1751 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1752 (eval $ac_compiler -V </dev/null >&5) 2>&5
1754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1755 (exit $ac_status); }
1757 cat >conftest.$ac_ext <<_ACEOF
1758 #line $LINENO "configure"
1759 #include "confdefs.h"
1761 #ifdef F77_DUMMY_MAIN
1765 int F77_DUMMY_MAIN() { return 1; }
1775 ac_clean_files_save=$ac_clean_files
1776 ac_clean_files="$ac_clean_files a.out a.exe"
1777 # Try to create an executable without -o first, disregard a.out.
1778 # It will help us diagnose broken compilers, and finding out an intuition
1780 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1781 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1782 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1783 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1784 (eval $ac_link_default) 2>&5
1786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1787 (exit $ac_status); }; then
1788 # Find the output, starting from the most likely. This scheme is
1789 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1792 # Be careful to initialize this variable, since it used to be cached.
1793 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1795 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1796 ls a.out conftest 2>/dev/null;
1797 ls a.* conftest.* 2>/dev/null`; do
1799 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
1800 a.out ) # We found the default executable, but exeext='' is most
1803 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1804 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1811 echo "$as_me: failed program was:" >&5
1812 cat conftest.$ac_ext >&5
1813 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1814 echo "$as_me: error: C compiler cannot create executables" >&2;}
1815 { (exit 77); exit 77; }; }
1818 ac_exeext=$ac_cv_exeext
1819 echo "$as_me:$LINENO: result: $ac_file" >&5
1820 echo "${ECHO_T}$ac_file" >&6
1822 # Check the compiler produces executables we can run. If not, either
1823 # the compiler is broken, or we cross compile.
1824 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1825 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1826 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1827 # If not cross compiling, check that we can run a simple program.
1828 if test "$cross_compiling" != yes; then
1829 if { ac_try='./$ac_file'
1830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1834 (exit $ac_status); }; }; then
1837 if test "$cross_compiling" = maybe; then
1840 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1841 If you meant to cross compile, use \`--host'." >&5
1842 echo "$as_me: error: cannot run C compiled programs.
1843 If you meant to cross compile, use \`--host'." >&2;}
1844 { (exit 1); exit 1; }; }
1848 echo "$as_me:$LINENO: result: yes" >&5
1849 echo "${ECHO_T}yes" >&6
1851 rm -f a.out a.exe conftest$ac_cv_exeext
1852 ac_clean_files=$ac_clean_files_save
1853 # Check the compiler produces executables we can run. If not, either
1854 # the compiler is broken, or we cross compile.
1855 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1856 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1857 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1858 echo "${ECHO_T}$cross_compiling" >&6
1860 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1861 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1863 (eval $ac_link) 2>&5
1865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1866 (exit $ac_status); }; then
1867 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1868 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1869 # work properly (i.e., refer to `conftest.exe'), while it won't with
1871 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1873 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1874 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1881 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1882 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1883 { (exit 1); exit 1; }; }
1886 rm -f conftest$ac_cv_exeext
1887 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1888 echo "${ECHO_T}$ac_cv_exeext" >&6
1890 rm -f conftest.$ac_ext
1891 EXEEXT=$ac_cv_exeext
1893 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1894 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1895 if test "${ac_cv_objext+set}" = set; then
1896 echo $ECHO_N "(cached) $ECHO_C" >&6
1898 cat >conftest.$ac_ext <<_ACEOF
1899 #line $LINENO "configure"
1900 #include "confdefs.h"
1902 #ifdef F77_DUMMY_MAIN
1906 int F77_DUMMY_MAIN() { return 1; }
1916 rm -f conftest.o conftest.obj
1917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1918 (eval $ac_compile) 2>&5
1920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1921 (exit $ac_status); }; then
1922 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1924 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1925 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1930 echo "$as_me: failed program was:" >&5
1931 cat conftest.$ac_ext >&5
1932 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1933 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1934 { (exit 1); exit 1; }; }
1937 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1939 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1940 echo "${ECHO_T}$ac_cv_objext" >&6
1941 OBJEXT=$ac_cv_objext
1943 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1944 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1945 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1946 echo $ECHO_N "(cached) $ECHO_C" >&6
1948 cat >conftest.$ac_ext <<_ACEOF
1949 #line $LINENO "configure"
1950 #include "confdefs.h"
1952 #ifdef F77_DUMMY_MAIN
1956 int F77_DUMMY_MAIN() { return 1; }
1969 rm -f conftest.$ac_objext
1970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1971 (eval $ac_compile) 2>&5
1973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1974 (exit $ac_status); } &&
1975 { ac_try='test -s conftest.$ac_objext'
1976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1980 (exit $ac_status); }; }; then
1983 echo "$as_me: failed program was:" >&5
1984 cat conftest.$ac_ext >&5
1987 rm -f conftest.$ac_objext conftest.$ac_ext
1988 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1991 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1992 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1993 GCC=`test $ac_compiler_gnu = yes && echo yes`
1994 ac_test_CFLAGS=${CFLAGS+set}
1995 ac_save_CFLAGS=$CFLAGS
1997 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1998 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1999 if test "${ac_cv_prog_cc_g+set}" = set; then
2000 echo $ECHO_N "(cached) $ECHO_C" >&6
2002 cat >conftest.$ac_ext <<_ACEOF
2003 #line $LINENO "configure"
2004 #include "confdefs.h"
2006 #ifdef F77_DUMMY_MAIN
2010 int F77_DUMMY_MAIN() { return 1; }
2020 rm -f conftest.$ac_objext
2021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2022 (eval $ac_compile) 2>&5
2024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2025 (exit $ac_status); } &&
2026 { ac_try='test -s conftest.$ac_objext'
2027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2031 (exit $ac_status); }; }; then
2034 echo "$as_me: failed program was:" >&5
2035 cat conftest.$ac_ext >&5
2038 rm -f conftest.$ac_objext conftest.$ac_ext
2040 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2041 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2042 if test "$ac_test_CFLAGS" = set; then
2043 CFLAGS=$ac_save_CFLAGS
2044 elif test $ac_cv_prog_cc_g = yes; then
2045 if test "$GCC" = yes; then
2051 if test "$GCC" = yes; then
2057 # Some people use a C++ compiler to compile C. Since we use `exit',
2058 # in C++ we need to declare it. In case someone uses the same compiler
2059 # for both compiling C and C++ we need to have the C++ compiler decide
2060 # the declaration of exit, since it's the most demanding environment.
2061 cat >conftest.$ac_ext <<_ACEOF
2066 rm -f conftest.$ac_objext
2067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2068 (eval $ac_compile) 2>&5
2070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2071 (exit $ac_status); } &&
2072 { ac_try='test -s conftest.$ac_objext'
2073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2077 (exit $ac_status); }; }; then
2078 for ac_declaration in \
2080 '#include <stdlib.h>' \
2081 'extern "C" void std::exit (int) throw (); using std::exit;' \
2082 'extern "C" void std::exit (int); using std::exit;' \
2083 'extern "C" void exit (int) throw ();' \
2084 'extern "C" void exit (int);' \
2087 cat >conftest.$ac_ext <<_ACEOF
2088 #line $LINENO "configure"
2089 #include "confdefs.h"
2092 #ifdef F77_DUMMY_MAIN
2096 int F77_DUMMY_MAIN() { return 1; }
2106 rm -f conftest.$ac_objext
2107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2108 (eval $ac_compile) 2>&5
2110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2111 (exit $ac_status); } &&
2112 { ac_try='test -s conftest.$ac_objext'
2113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2117 (exit $ac_status); }; }; then
2120 echo "$as_me: failed program was:" >&5
2121 cat conftest.$ac_ext >&5
2124 rm -f conftest.$ac_objext conftest.$ac_ext
2125 cat >conftest.$ac_ext <<_ACEOF
2126 #line $LINENO "configure"
2127 #include "confdefs.h"
2129 #ifdef F77_DUMMY_MAIN
2133 int F77_DUMMY_MAIN() { return 1; }
2143 rm -f conftest.$ac_objext
2144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2145 (eval $ac_compile) 2>&5
2147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2148 (exit $ac_status); } &&
2149 { ac_try='test -s conftest.$ac_objext'
2150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2154 (exit $ac_status); }; }; then
2157 echo "$as_me: failed program was:" >&5
2158 cat conftest.$ac_ext >&5
2160 rm -f conftest.$ac_objext conftest.$ac_ext
2163 if test -n "$ac_declaration"; then
2164 echo '#ifdef __cplusplus' >>confdefs.h
2165 echo $ac_declaration >>confdefs.h
2166 echo '#endif' >>confdefs.h
2170 echo "$as_me: failed program was:" >&5
2171 cat conftest.$ac_ext >&5
2173 rm -f conftest.$ac_objext conftest.$ac_ext
2175 ac_cpp='$CPP $CPPFLAGS'
2176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2181 ac_cpp='$CPP $CPPFLAGS'
2182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2185 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2186 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2187 # On Suns, sometimes $CPP names a directory.
2188 if test -n "$CPP" && test -d "$CPP"; then
2191 if test -z "$CPP"; then
2192 if test "${ac_cv_prog_CPP+set}" = set; then
2193 echo $ECHO_N "(cached) $ECHO_C" >&6
2195 # Double quotes because CPP needs to be expanded
2196 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2199 for ac_c_preproc_warn_flag in '' yes
2201 # Use a header file that comes with gcc, so configuring glibc
2202 # with a fresh cross-compiler works.
2203 # On the NeXT, cc -E runs the code through the compiler's parser,
2204 # not just through cpp. "Syntax error" is here to catch this case.
2205 cat >conftest.$ac_ext <<_ACEOF
2206 #line $LINENO "configure"
2207 #include "confdefs.h"
2211 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2212 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2214 egrep -v '^ *\+' conftest.er1 >conftest.err
2216 cat conftest.err >&5
2217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2218 (exit $ac_status); } >/dev/null; then
2219 if test -s conftest.err; then
2220 ac_cpp_err=$ac_c_preproc_warn_flag
2227 if test -z "$ac_cpp_err"; then
2230 echo "$as_me: failed program was:" >&5
2231 cat conftest.$ac_ext >&5
2232 # Broken: fails on valid input.
2235 rm -f conftest.err conftest.$ac_ext
2237 # OK, works on sane cases. Now check whether non-existent headers
2238 # can be detected and how.
2239 cat >conftest.$ac_ext <<_ACEOF
2240 #line $LINENO "configure"
2241 #include "confdefs.h"
2242 #include <ac_nonexistent.h>
2244 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2245 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2247 egrep -v '^ *\+' conftest.er1 >conftest.err
2249 cat conftest.err >&5
2250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2251 (exit $ac_status); } >/dev/null; then
2252 if test -s conftest.err; then
2253 ac_cpp_err=$ac_c_preproc_warn_flag
2260 if test -z "$ac_cpp_err"; then
2261 # Broken: success on invalid input.
2264 echo "$as_me: failed program was:" >&5
2265 cat conftest.$ac_ext >&5
2266 # Passes both tests.
2270 rm -f conftest.err conftest.$ac_ext
2273 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2274 rm -f conftest.err conftest.$ac_ext
2275 if $ac_preproc_ok; then
2287 echo "$as_me:$LINENO: result: $CPP" >&5
2288 echo "${ECHO_T}$CPP" >&6
2290 for ac_c_preproc_warn_flag in '' yes
2292 # Use a header file that comes with gcc, so configuring glibc
2293 # with a fresh cross-compiler works.
2294 # On the NeXT, cc -E runs the code through the compiler's parser,
2295 # not just through cpp. "Syntax error" is here to catch this case.
2296 cat >conftest.$ac_ext <<_ACEOF
2297 #line $LINENO "configure"
2298 #include "confdefs.h"
2302 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2303 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2305 egrep -v '^ *\+' conftest.er1 >conftest.err
2307 cat conftest.err >&5
2308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2309 (exit $ac_status); } >/dev/null; then
2310 if test -s conftest.err; then
2311 ac_cpp_err=$ac_c_preproc_warn_flag
2318 if test -z "$ac_cpp_err"; then
2321 echo "$as_me: failed program was:" >&5
2322 cat conftest.$ac_ext >&5
2323 # Broken: fails on valid input.
2326 rm -f conftest.err conftest.$ac_ext
2328 # OK, works on sane cases. Now check whether non-existent headers
2329 # can be detected and how.
2330 cat >conftest.$ac_ext <<_ACEOF
2331 #line $LINENO "configure"
2332 #include "confdefs.h"
2333 #include <ac_nonexistent.h>
2335 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2336 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2338 egrep -v '^ *\+' conftest.er1 >conftest.err
2340 cat conftest.err >&5
2341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2342 (exit $ac_status); } >/dev/null; then
2343 if test -s conftest.err; then
2344 ac_cpp_err=$ac_c_preproc_warn_flag
2351 if test -z "$ac_cpp_err"; then
2352 # Broken: success on invalid input.
2355 echo "$as_me: failed program was:" >&5
2356 cat conftest.$ac_ext >&5
2357 # Passes both tests.
2361 rm -f conftest.err conftest.$ac_ext
2364 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2365 rm -f conftest.err conftest.$ac_ext
2366 if $ac_preproc_ok; then
2369 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2370 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2371 { (exit 1); exit 1; }; }
2375 ac_cpp='$CPP $CPPFLAGS'
2376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2381 if test -n "$ac_tool_prefix"; then
2382 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2383 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2384 echo "$as_me:$LINENO: checking for $ac_word" >&5
2385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2386 if test "${ac_cv_prog_RANLIB+set}" = set; then
2387 echo $ECHO_N "(cached) $ECHO_C" >&6
2389 if test -n "$RANLIB"; then
2390 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2396 test -z "$as_dir" && as_dir=.
2397 for ac_exec_ext in '' $ac_executable_extensions; do
2398 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2399 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2408 RANLIB=$ac_cv_prog_RANLIB
2409 if test -n "$RANLIB"; then
2410 echo "$as_me:$LINENO: result: $RANLIB" >&5
2411 echo "${ECHO_T}$RANLIB" >&6
2413 echo "$as_me:$LINENO: result: no" >&5
2414 echo "${ECHO_T}no" >&6
2418 if test -z "$ac_cv_prog_RANLIB"; then
2419 ac_ct_RANLIB=$RANLIB
2420 # Extract the first word of "ranlib", so it can be a program name with args.
2421 set dummy ranlib; ac_word=$2
2422 echo "$as_me:$LINENO: checking for $ac_word" >&5
2423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2424 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2425 echo $ECHO_N "(cached) $ECHO_C" >&6
2427 if test -n "$ac_ct_RANLIB"; then
2428 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2434 test -z "$as_dir" && as_dir=.
2435 for ac_exec_ext in '' $ac_executable_extensions; do
2436 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2437 ac_cv_prog_ac_ct_RANLIB="ranlib"
2438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2444 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2447 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2448 if test -n "$ac_ct_RANLIB"; then
2449 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2450 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2452 echo "$as_me:$LINENO: result: no" >&5
2453 echo "${ECHO_T}no" >&6
2456 RANLIB=$ac_ct_RANLIB
2458 RANLIB="$ac_cv_prog_RANLIB"
2461 if test -n "$ac_tool_prefix"; then
2462 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2463 set dummy ${ac_tool_prefix}strip; ac_word=$2
2464 echo "$as_me:$LINENO: checking for $ac_word" >&5
2465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2466 if test "${ac_cv_prog_STRIP+set}" = set; then
2467 echo $ECHO_N "(cached) $ECHO_C" >&6
2469 if test -n "$STRIP"; then
2470 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2476 test -z "$as_dir" && as_dir=.
2477 for ac_exec_ext in '' $ac_executable_extensions; do
2478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2479 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2488 STRIP=$ac_cv_prog_STRIP
2489 if test -n "$STRIP"; then
2490 echo "$as_me:$LINENO: result: $STRIP" >&5
2491 echo "${ECHO_T}$STRIP" >&6
2493 echo "$as_me:$LINENO: result: no" >&5
2494 echo "${ECHO_T}no" >&6
2498 if test -z "$ac_cv_prog_STRIP"; then
2500 # Extract the first word of "strip", so it can be a program name with args.
2501 set dummy strip; ac_word=$2
2502 echo "$as_me:$LINENO: checking for $ac_word" >&5
2503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2504 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 if test -n "$ac_ct_STRIP"; then
2508 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2514 test -z "$as_dir" && as_dir=.
2515 for ac_exec_ext in '' $ac_executable_extensions; do
2516 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2517 ac_cv_prog_ac_ct_STRIP="strip"
2518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2524 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2527 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2528 if test -n "$ac_ct_STRIP"; then
2529 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2530 echo "${ECHO_T}$ac_ct_STRIP" >&6
2532 echo "$as_me:$LINENO: result: no" >&5
2533 echo "${ECHO_T}no" >&6
2538 STRIP="$ac_cv_prog_STRIP"
2541 if test -n "$ac_tool_prefix"; then
2542 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2543 set dummy ${ac_tool_prefix}ar; ac_word=$2
2544 echo "$as_me:$LINENO: checking for $ac_word" >&5
2545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2546 if test "${ac_cv_prog_AR+set}" = set; then
2547 echo $ECHO_N "(cached) $ECHO_C" >&6
2549 if test -n "$AR"; then
2550 ac_cv_prog_AR="$AR" # Let the user override the test.
2552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2556 test -z "$as_dir" && as_dir=.
2557 for ac_exec_ext in '' $ac_executable_extensions; do
2558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2559 ac_cv_prog_AR="${ac_tool_prefix}ar"
2560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2569 if test -n "$AR"; then
2570 echo "$as_me:$LINENO: result: $AR" >&5
2571 echo "${ECHO_T}$AR" >&6
2573 echo "$as_me:$LINENO: result: no" >&5
2574 echo "${ECHO_T}no" >&6
2578 if test -z "$ac_cv_prog_AR"; then
2580 # Extract the first word of "ar", so it can be a program name with args.
2581 set dummy ar; ac_word=$2
2582 echo "$as_me:$LINENO: checking for $ac_word" >&5
2583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2584 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2585 echo $ECHO_N "(cached) $ECHO_C" >&6
2587 if test -n "$ac_ct_AR"; then
2588 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2594 test -z "$as_dir" && as_dir=.
2595 for ac_exec_ext in '' $ac_executable_extensions; do
2596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2597 ac_cv_prog_ac_ct_AR="ar"
2598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2604 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR=":"
2607 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2608 if test -n "$ac_ct_AR"; then
2609 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2610 echo "${ECHO_T}$ac_ct_AR" >&6
2612 echo "$as_me:$LINENO: result: no" >&5
2613 echo "${ECHO_T}no" >&6
2621 if test -n "$ac_tool_prefix"; then
2622 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
2623 set dummy ${ac_tool_prefix}ld; ac_word=$2
2624 echo "$as_me:$LINENO: checking for $ac_word" >&5
2625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2626 if test "${ac_cv_prog_LD+set}" = set; then
2627 echo $ECHO_N "(cached) $ECHO_C" >&6
2629 if test -n "$LD"; then
2630 ac_cv_prog_LD="$LD" # Let the user override the test.
2632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2636 test -z "$as_dir" && as_dir=.
2637 for ac_exec_ext in '' $ac_executable_extensions; do
2638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2639 ac_cv_prog_LD="${ac_tool_prefix}ld"
2640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2649 if test -n "$LD"; then
2650 echo "$as_me:$LINENO: result: $LD" >&5
2651 echo "${ECHO_T}$LD" >&6
2653 echo "$as_me:$LINENO: result: no" >&5
2654 echo "${ECHO_T}no" >&6
2658 if test -z "$ac_cv_prog_LD"; then
2660 # Extract the first word of "ld", so it can be a program name with args.
2661 set dummy ld; ac_word=$2
2662 echo "$as_me:$LINENO: checking for $ac_word" >&5
2663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2664 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
2665 echo $ECHO_N "(cached) $ECHO_C" >&6
2667 if test -n "$ac_ct_LD"; then
2668 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
2670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2674 test -z "$as_dir" && as_dir=.
2675 for ac_exec_ext in '' $ac_executable_extensions; do
2676 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2677 ac_cv_prog_ac_ct_LD="ld"
2678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2684 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD=":"
2687 ac_ct_LD=$ac_cv_prog_ac_ct_LD
2688 if test -n "$ac_ct_LD"; then
2689 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
2690 echo "${ECHO_T}$ac_ct_LD" >&6
2692 echo "$as_me:$LINENO: result: no" >&5
2693 echo "${ECHO_T}no" >&6
2702 # Extract the first word of "gmake", so it can be a program name with args.
2703 set dummy gmake; ac_word=$2
2704 echo "$as_me:$LINENO: checking for $ac_word" >&5
2705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2706 if test "${ac_cv_path_GMAKE+set}" = set; then
2707 echo $ECHO_N "(cached) $ECHO_C" >&6
2711 ac_cv_path_GMAKE="$GMAKE" # Let the user override the test with a path.
2714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2718 test -z "$as_dir" && as_dir=.
2719 for ac_exec_ext in '' $ac_executable_extensions; do
2720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2721 ac_cv_path_GMAKE="$as_dir/$ac_word$ac_exec_ext"
2722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2728 test -z "$ac_cv_path_GMAKE" && ac_cv_path_GMAKE="no"
2732 GMAKE=$ac_cv_path_GMAKE
2734 if test -n "$GMAKE"; then
2735 echo "$as_me:$LINENO: result: $GMAKE" >&5
2736 echo "${ECHO_T}$GMAKE" >&6
2738 echo "$as_me:$LINENO: result: no" >&5
2739 echo "${ECHO_T}no" >&6
2742 if test "x$GMAKE" = "xno"; then
2743 echo "$as_me:$LINENO: checking whether GNU make is installed" >&5
2744 echo $ECHO_N "checking whether GNU make is installed... $ECHO_C" >&6
2745 if test "${ac_cv_gmake+set}" = set; then
2746 echo $ECHO_N "(cached) $ECHO_C" >&6
2748 if make --version | grep -q -i gnu; then
2751 echo "This software needs you to install GNU make to compile properly."
2752 echo "You can get it from http://www.gnu.org/."
2756 echo "$as_me:$LINENO: result: $ac_cv_gmake" >&5
2757 echo "${ECHO_T}$ac_cv_gmake" >&6
2763 ALL_LINGUAS="de en_GB fr ja no ru nl pl"
2766 cat >>confdefs.h <<_ACEOF
2767 #define VLC_PACKAGE "$PACKAGE"
2771 cat >>confdefs.h <<_ACEOF
2772 #define VLC_VERSION "$VERSION"
2775 if test -n "$ac_tool_prefix"; then
2776 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2777 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2778 echo "$as_me:$LINENO: checking for $ac_word" >&5
2779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2780 if test "${ac_cv_prog_RANLIB+set}" = set; then
2781 echo $ECHO_N "(cached) $ECHO_C" >&6
2783 if test -n "$RANLIB"; then
2784 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2790 test -z "$as_dir" && as_dir=.
2791 for ac_exec_ext in '' $ac_executable_extensions; do
2792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2793 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2802 RANLIB=$ac_cv_prog_RANLIB
2803 if test -n "$RANLIB"; then
2804 echo "$as_me:$LINENO: result: $RANLIB" >&5
2805 echo "${ECHO_T}$RANLIB" >&6
2807 echo "$as_me:$LINENO: result: no" >&5
2808 echo "${ECHO_T}no" >&6
2812 if test -z "$ac_cv_prog_RANLIB"; then
2813 ac_ct_RANLIB=$RANLIB
2814 # Extract the first word of "ranlib", so it can be a program name with args.
2815 set dummy ranlib; ac_word=$2
2816 echo "$as_me:$LINENO: checking for $ac_word" >&5
2817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2818 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2819 echo $ECHO_N "(cached) $ECHO_C" >&6
2821 if test -n "$ac_ct_RANLIB"; then
2822 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2828 test -z "$as_dir" && as_dir=.
2829 for ac_exec_ext in '' $ac_executable_extensions; do
2830 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2831 ac_cv_prog_ac_ct_RANLIB="ranlib"
2832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2838 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2841 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2842 if test -n "$ac_ct_RANLIB"; then
2843 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2844 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2846 echo "$as_me:$LINENO: result: no" >&5
2847 echo "${ECHO_T}no" >&6
2850 RANLIB=$ac_ct_RANLIB
2852 RANLIB="$ac_cv_prog_RANLIB"
2857 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
2858 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2859 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2860 echo $ECHO_N "(cached) $ECHO_C" >&6
2862 ac_check_lib_save_LIBS=$LIBS
2863 LIBS="-lcposix $LIBS"
2864 cat >conftest.$ac_ext <<_ACEOF
2865 #line $LINENO "configure"
2866 #include "confdefs.h"
2868 /* Override any gcc2 internal prototype to avoid an error. */
2872 /* We use char because int might match the return type of a gcc2
2873 builtin and then its argument prototype would still apply. */
2875 #ifdef F77_DUMMY_MAIN
2879 int F77_DUMMY_MAIN() { return 1; }
2889 rm -f conftest.$ac_objext conftest$ac_exeext
2890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2891 (eval $ac_link) 2>&5
2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894 (exit $ac_status); } &&
2895 { ac_try='test -s conftest$ac_exeext'
2896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900 (exit $ac_status); }; }; then
2901 ac_cv_lib_cposix_strerror=yes
2903 echo "$as_me: failed program was:" >&5
2904 cat conftest.$ac_ext >&5
2905 ac_cv_lib_cposix_strerror=no
2907 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2908 LIBS=$ac_check_lib_save_LIBS
2910 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
2911 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2912 if test $ac_cv_lib_cposix_strerror = yes; then
2913 LIBS="$LIBS -lcposix"
2919 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2920 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2921 if test "${ac_cv_header_stdc+set}" = set; then
2922 echo $ECHO_N "(cached) $ECHO_C" >&6
2924 cat >conftest.$ac_ext <<_ACEOF
2925 #line $LINENO "configure"
2926 #include "confdefs.h"
2933 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2934 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2936 egrep -v '^ *\+' conftest.er1 >conftest.err
2938 cat conftest.err >&5
2939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940 (exit $ac_status); } >/dev/null; then
2941 if test -s conftest.err; then
2942 ac_cpp_err=$ac_c_preproc_warn_flag
2949 if test -z "$ac_cpp_err"; then
2950 ac_cv_header_stdc=yes
2952 echo "$as_me: failed program was:" >&5
2953 cat conftest.$ac_ext >&5
2954 ac_cv_header_stdc=no
2956 rm -f conftest.err conftest.$ac_ext
2958 if test $ac_cv_header_stdc = yes; then
2959 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2960 cat >conftest.$ac_ext <<_ACEOF
2961 #line $LINENO "configure"
2962 #include "confdefs.h"
2966 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2967 egrep "memchr" >/dev/null 2>&1; then
2970 ac_cv_header_stdc=no
2976 if test $ac_cv_header_stdc = yes; then
2977 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2978 cat >conftest.$ac_ext <<_ACEOF
2979 #line $LINENO "configure"
2980 #include "confdefs.h"
2984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2985 egrep "free" >/dev/null 2>&1; then
2988 ac_cv_header_stdc=no
2994 if test $ac_cv_header_stdc = yes; then
2995 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2996 if test "$cross_compiling" = yes; then
2999 cat >conftest.$ac_ext <<_ACEOF
3000 #line $LINENO "configure"
3001 #include "confdefs.h"
3003 #if ((' ' & 0x0FF) == 0x020)
3004 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3005 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3007 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3008 || ('j' <= (c) && (c) <= 'r') \
3009 || ('s' <= (c) && (c) <= 'z'))
3010 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3013 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3018 for (i = 0; i < 256; i++)
3019 if (XOR (islower (i), ISLOWER (i))
3020 || toupper (i) != TOUPPER (i))
3025 rm -f conftest$ac_exeext
3026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3027 (eval $ac_link) 2>&5
3029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3030 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3035 (exit $ac_status); }; }; then
3038 echo "$as_me: program exited with status $ac_status" >&5
3039 echo "$as_me: failed program was:" >&5
3040 cat conftest.$ac_ext >&5
3042 ac_cv_header_stdc=no
3044 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3048 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3049 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3050 if test $ac_cv_header_stdc = yes; then
3052 cat >>confdefs.h <<\_ACEOF
3053 #define STDC_HEADERS 1
3058 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3059 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3060 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3061 echo $ECHO_N "(cached) $ECHO_C" >&6
3063 ac_cv_prog_cc_stdc=no
3065 cat >conftest.$ac_ext <<_ACEOF
3066 #line $LINENO "configure"
3067 #include "confdefs.h"
3070 #include <sys/types.h>
3071 #include <sys/stat.h>
3072 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3073 struct buf { int x; };
3074 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3075 static char *e (p, i)
3081 static char *f (char * (*g) (char **, int), char **p, ...)
3086 s = g (p, va_arg (v,int));
3090 int test (int i, double x);
3091 struct s1 {int (*f) (int a);};
3092 struct s2 {int (*f) (double a);};
3093 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3096 #ifdef F77_DUMMY_MAIN
3100 int F77_DUMMY_MAIN() { return 1; }
3105 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3110 # Don't try gcc -ansi; that turns off useful extensions and
3111 # breaks some systems' header files.
3112 # AIX -qlanglvl=ansi
3113 # Ultrix and OSF/1 -std1
3114 # HP-UX 10.20 and later -Ae
3115 # HP-UX older versions -Aa -D_HPUX_SOURCE
3116 # SVR4 -Xc -D__EXTENSIONS__
3117 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3119 CC="$ac_save_CC $ac_arg"
3120 rm -f conftest.$ac_objext
3121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3122 (eval $ac_compile) 2>&5
3124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125 (exit $ac_status); } &&
3126 { ac_try='test -s conftest.$ac_objext'
3127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131 (exit $ac_status); }; }; then
3132 ac_cv_prog_cc_stdc=$ac_arg
3135 echo "$as_me: failed program was:" >&5
3136 cat conftest.$ac_ext >&5
3138 rm -f conftest.$ac_objext
3140 rm -f conftest.$ac_ext conftest.$ac_objext
3145 case "x$ac_cv_prog_cc_stdc" in
3147 echo "$as_me:$LINENO: result: none needed" >&5
3148 echo "${ECHO_T}none needed" >&6 ;;
3150 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3151 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3152 CC="$CC $ac_cv_prog_cc_stdc" ;;
3155 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3156 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3157 if test "${ac_cv_c_const+set}" = set; then
3158 echo $ECHO_N "(cached) $ECHO_C" >&6
3160 cat >conftest.$ac_ext <<_ACEOF
3161 #line $LINENO "configure"
3162 #include "confdefs.h"
3164 #ifdef F77_DUMMY_MAIN
3168 int F77_DUMMY_MAIN() { return 1; }
3173 /* FIXME: Include the comments suggested by Paul. */
3175 /* Ultrix mips cc rejects this. */
3176 typedef int charset[2];
3178 /* SunOS 4.1.1 cc rejects this. */
3179 char const *const *ccp;
3181 /* NEC SVR4.0.2 mips cc rejects this. */
3182 struct point {int x, y;};
3183 static struct point const zero = {0,0};
3184 /* AIX XL C 1.02.0.0 rejects this.
3185 It does not let you subtract one const X* pointer from another in
3186 an arm of an if-expression whose if-part is not a constant
3188 const char *g = "string";
3189 ccp = &g + (g ? g-g : 0);
3190 /* HPUX 7.0 cc rejects these. */
3193 ccp = (char const *const *) p;
3194 { /* SCO 3.2v4 cc rejects this. */
3196 char const *s = 0 ? (char *) 0 : (char const *) 0;
3200 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3202 const int *foo = &x[0];
3205 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3206 typedef const int *iptr;
3210 { /* AIX XL C 1.02.0.0 rejects this saying
3211 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3212 struct s { int j; const int *ap[3]; };
3213 struct s *b; b->j = 5;
3215 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3224 rm -f conftest.$ac_objext
3225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3226 (eval $ac_compile) 2>&5
3228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229 (exit $ac_status); } &&
3230 { ac_try='test -s conftest.$ac_objext'
3231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3235 (exit $ac_status); }; }; then
3238 echo "$as_me: failed program was:" >&5
3239 cat conftest.$ac_ext >&5
3242 rm -f conftest.$ac_objext conftest.$ac_ext
3244 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3245 echo "${ECHO_T}$ac_cv_c_const" >&6
3246 if test $ac_cv_c_const = no; then
3248 cat >>confdefs.h <<\_ACEOF
3254 echo "$as_me:$LINENO: checking for inline" >&5
3255 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3256 if test "${ac_cv_c_inline+set}" = set; then
3257 echo $ECHO_N "(cached) $ECHO_C" >&6
3260 for ac_kw in inline __inline__ __inline; do
3261 cat >conftest.$ac_ext <<_ACEOF
3262 #line $LINENO "configure"
3263 #include "confdefs.h"
3265 static $ac_kw int static_foo () {return 0; }
3266 $ac_kw int foo () {return 0; }
3270 rm -f conftest.$ac_objext
3271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3272 (eval $ac_compile) 2>&5
3274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275 (exit $ac_status); } &&
3276 { ac_try='test -s conftest.$ac_objext'
3277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3281 (exit $ac_status); }; }; then
3282 ac_cv_c_inline=$ac_kw; break
3284 echo "$as_me: failed program was:" >&5
3285 cat conftest.$ac_ext >&5
3287 rm -f conftest.$ac_objext conftest.$ac_ext
3291 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3292 echo "${ECHO_T}$ac_cv_c_inline" >&6
3293 case $ac_cv_c_inline in
3296 cat >>confdefs.h <<\_ACEOF
3300 *) cat >>confdefs.h <<_ACEOF
3301 #define inline $ac_cv_c_inline
3306 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3316 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3317 inttypes.h stdint.h unistd.h
3319 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3320 echo "$as_me:$LINENO: checking for $ac_header" >&5
3321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3323 echo $ECHO_N "(cached) $ECHO_C" >&6
3325 cat >conftest.$ac_ext <<_ACEOF
3326 #line $LINENO "configure"
3327 #include "confdefs.h"
3328 $ac_includes_default
3330 #include <$ac_header>
3332 rm -f conftest.$ac_objext
3333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3334 (eval $ac_compile) 2>&5
3336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337 (exit $ac_status); } &&
3338 { ac_try='test -s conftest.$ac_objext'
3339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3343 (exit $ac_status); }; }; then
3344 eval "$as_ac_Header=yes"
3346 echo "$as_me: failed program was:" >&5
3347 cat conftest.$ac_ext >&5
3348 eval "$as_ac_Header=no"
3350 rm -f conftest.$ac_objext conftest.$ac_ext
3352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3353 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3355 cat >>confdefs.h <<_ACEOF
3356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3364 echo "$as_me:$LINENO: checking for off_t" >&5
3365 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
3366 if test "${ac_cv_type_off_t+set}" = set; then
3367 echo $ECHO_N "(cached) $ECHO_C" >&6
3369 cat >conftest.$ac_ext <<_ACEOF
3370 #line $LINENO "configure"
3371 #include "confdefs.h"
3372 $ac_includes_default
3373 #ifdef F77_DUMMY_MAIN
3377 int F77_DUMMY_MAIN() { return 1; }
3390 rm -f conftest.$ac_objext
3391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3392 (eval $ac_compile) 2>&5
3394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3395 (exit $ac_status); } &&
3396 { ac_try='test -s conftest.$ac_objext'
3397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3401 (exit $ac_status); }; }; then
3402 ac_cv_type_off_t=yes
3404 echo "$as_me: failed program was:" >&5
3405 cat conftest.$ac_ext >&5
3408 rm -f conftest.$ac_objext conftest.$ac_ext
3410 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
3411 echo "${ECHO_T}$ac_cv_type_off_t" >&6
3412 if test $ac_cv_type_off_t = yes; then
3416 cat >>confdefs.h <<_ACEOF
3422 echo "$as_me:$LINENO: checking for size_t" >&5
3423 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3424 if test "${ac_cv_type_size_t+set}" = set; then
3425 echo $ECHO_N "(cached) $ECHO_C" >&6
3427 cat >conftest.$ac_ext <<_ACEOF
3428 #line $LINENO "configure"
3429 #include "confdefs.h"
3430 $ac_includes_default
3431 #ifdef F77_DUMMY_MAIN
3435 int F77_DUMMY_MAIN() { return 1; }
3442 if (sizeof (size_t))
3448 rm -f conftest.$ac_objext
3449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3450 (eval $ac_compile) 2>&5
3452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3453 (exit $ac_status); } &&
3454 { ac_try='test -s conftest.$ac_objext'
3455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459 (exit $ac_status); }; }; then
3460 ac_cv_type_size_t=yes
3462 echo "$as_me: failed program was:" >&5
3463 cat conftest.$ac_ext >&5
3464 ac_cv_type_size_t=no
3466 rm -f conftest.$ac_objext conftest.$ac_ext
3468 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3469 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3470 if test $ac_cv_type_size_t = yes; then
3474 cat >>confdefs.h <<_ACEOF
3475 #define size_t unsigned
3480 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
3481 # for constant arguments. Useless!
3482 echo "$as_me:$LINENO: checking for working alloca.h" >&5
3483 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
3484 if test "${ac_cv_working_alloca_h+set}" = set; then
3485 echo $ECHO_N "(cached) $ECHO_C" >&6
3487 cat >conftest.$ac_ext <<_ACEOF
3488 #line $LINENO "configure"
3489 #include "confdefs.h"
3491 #ifdef F77_DUMMY_MAIN
3495 int F77_DUMMY_MAIN() { return 1; }
3500 char *p = (char *) alloca (2 * sizeof (int));
3505 rm -f conftest.$ac_objext conftest$ac_exeext
3506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3507 (eval $ac_link) 2>&5
3509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3510 (exit $ac_status); } &&
3511 { ac_try='test -s conftest$ac_exeext'
3512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3516 (exit $ac_status); }; }; then
3517 ac_cv_working_alloca_h=yes
3519 echo "$as_me: failed program was:" >&5
3520 cat conftest.$ac_ext >&5
3521 ac_cv_working_alloca_h=no
3523 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3525 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
3526 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
3527 if test $ac_cv_working_alloca_h = yes; then
3529 cat >>confdefs.h <<\_ACEOF
3530 #define HAVE_ALLOCA_H 1
3535 echo "$as_me:$LINENO: checking for alloca" >&5
3536 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
3537 if test "${ac_cv_func_alloca_works+set}" = set; then
3538 echo $ECHO_N "(cached) $ECHO_C" >&6
3540 cat >conftest.$ac_ext <<_ACEOF
3541 #line $LINENO "configure"
3542 #include "confdefs.h"
3544 # define alloca __builtin_alloca
3547 # include <malloc.h>
3548 # define alloca _alloca
3551 # include <alloca.h>
3556 # ifndef alloca /* predefined by HP cc +Olibcalls */
3564 #ifdef F77_DUMMY_MAIN
3568 int F77_DUMMY_MAIN() { return 1; }
3573 char *p = (char *) alloca (1);
3578 rm -f conftest.$ac_objext conftest$ac_exeext
3579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3580 (eval $ac_link) 2>&5
3582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3583 (exit $ac_status); } &&
3584 { ac_try='test -s conftest$ac_exeext'
3585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3589 (exit $ac_status); }; }; then
3590 ac_cv_func_alloca_works=yes
3592 echo "$as_me: failed program was:" >&5
3593 cat conftest.$ac_ext >&5
3594 ac_cv_func_alloca_works=no
3596 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3598 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
3599 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
3601 if test $ac_cv_func_alloca_works = yes; then
3603 cat >>confdefs.h <<\_ACEOF
3604 #define HAVE_ALLOCA 1
3608 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
3609 # that cause trouble. Some versions do not even contain alloca or
3610 # contain a buggy version. If you still want to use their alloca,
3611 # use ar to extract alloca.o from them instead of compiling alloca.c.
3613 ALLOCA=alloca.$ac_objext
3615 cat >>confdefs.h <<\_ACEOF
3620 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
3621 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
3622 if test "${ac_cv_os_cray+set}" = set; then
3623 echo $ECHO_N "(cached) $ECHO_C" >&6
3625 cat >conftest.$ac_ext <<_ACEOF
3626 #line $LINENO "configure"
3627 #include "confdefs.h"
3628 #if defined(CRAY) && ! defined(CRAY2)
3635 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3636 egrep "webecray" >/dev/null 2>&1; then
3644 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
3645 echo "${ECHO_T}$ac_cv_os_cray" >&6
3646 if test $ac_cv_os_cray = yes; then
3647 for ac_func in _getb67 GETB67 getb67; do
3648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3649 echo "$as_me:$LINENO: checking for $ac_func" >&5
3650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3651 if eval "test \"\${$as_ac_var+set}\" = set"; then
3652 echo $ECHO_N "(cached) $ECHO_C" >&6
3654 cat >conftest.$ac_ext <<_ACEOF
3655 #line $LINENO "configure"
3656 #include "confdefs.h"
3657 /* System header to define __stub macros and hopefully few prototypes,
3658 which can conflict with char $ac_func (); below. */
3660 /* Override any gcc2 internal prototype to avoid an error. */
3664 /* We use char because int might match the return type of a gcc2
3665 builtin and then its argument prototype would still apply. */
3669 #ifdef F77_DUMMY_MAIN
3673 int F77_DUMMY_MAIN() { return 1; }
3678 /* The GNU C library defines this for functions which it implements
3679 to always fail with ENOSYS. Some functions are actually named
3680 something starting with __ and the normal name is an alias. */
3681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3691 rm -f conftest.$ac_objext conftest$ac_exeext
3692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3693 (eval $ac_link) 2>&5
3695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3696 (exit $ac_status); } &&
3697 { ac_try='test -s conftest$ac_exeext'
3698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3702 (exit $ac_status); }; }; then
3703 eval "$as_ac_var=yes"
3705 echo "$as_me: failed program was:" >&5
3706 cat conftest.$ac_ext >&5
3707 eval "$as_ac_var=no"
3709 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3713 if test `eval echo '${'$as_ac_var'}'` = yes; then
3715 cat >>confdefs.h <<_ACEOF
3716 #define CRAY_STACKSEG_END $ac_func
3725 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
3726 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
3727 if test "${ac_cv_c_stack_direction+set}" = set; then
3728 echo $ECHO_N "(cached) $ECHO_C" >&6
3730 if test "$cross_compiling" = yes; then
3731 ac_cv_c_stack_direction=0
3733 cat >conftest.$ac_ext <<_ACEOF
3734 #line $LINENO "configure"
3735 #include "confdefs.h"
3737 find_stack_direction ()
3739 static char *addr = 0;
3744 return find_stack_direction ();
3747 return (&dummy > addr) ? 1 : -1;
3753 exit (find_stack_direction () < 0);
3756 rm -f conftest$ac_exeext
3757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3758 (eval $ac_link) 2>&5
3760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3761 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3766 (exit $ac_status); }; }; then
3767 ac_cv_c_stack_direction=1
3769 echo "$as_me: program exited with status $ac_status" >&5
3770 echo "$as_me: failed program was:" >&5
3771 cat conftest.$ac_ext >&5
3773 ac_cv_c_stack_direction=-1
3775 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3778 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
3779 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
3781 cat >>confdefs.h <<_ACEOF
3782 #define STACK_DIRECTION $ac_cv_c_stack_direction
3790 for ac_header in stdlib.h unistd.h
3792 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3794 echo "$as_me:$LINENO: checking for $ac_header" >&5
3795 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3797 echo $ECHO_N "(cached) $ECHO_C" >&6
3799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3800 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3802 # Is the header compilable?
3803 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3804 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3805 cat >conftest.$ac_ext <<_ACEOF
3806 #line $LINENO "configure"
3807 #include "confdefs.h"
3808 $ac_includes_default
3809 #include <$ac_header>
3811 rm -f conftest.$ac_objext
3812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3813 (eval $ac_compile) 2>&5
3815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3816 (exit $ac_status); } &&
3817 { ac_try='test -s conftest.$ac_objext'
3818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3822 (exit $ac_status); }; }; then
3823 ac_header_compiler=yes
3825 echo "$as_me: failed program was:" >&5
3826 cat conftest.$ac_ext >&5
3827 ac_header_compiler=no
3829 rm -f conftest.$ac_objext conftest.$ac_ext
3830 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3831 echo "${ECHO_T}$ac_header_compiler" >&6
3833 # Is the header present?
3834 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3835 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3836 cat >conftest.$ac_ext <<_ACEOF
3837 #line $LINENO "configure"
3838 #include "confdefs.h"
3839 #include <$ac_header>
3841 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3842 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3844 egrep -v '^ *\+' conftest.er1 >conftest.err
3846 cat conftest.err >&5
3847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3848 (exit $ac_status); } >/dev/null; then
3849 if test -s conftest.err; then
3850 ac_cpp_err=$ac_c_preproc_warn_flag
3857 if test -z "$ac_cpp_err"; then
3858 ac_header_preproc=yes
3860 echo "$as_me: failed program was:" >&5
3861 cat conftest.$ac_ext >&5
3862 ac_header_preproc=no
3864 rm -f conftest.err conftest.$ac_ext
3865 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3866 echo "${ECHO_T}$ac_header_preproc" >&6
3868 # So? What about this header?
3869 case $ac_header_compiler:$ac_header_preproc in
3871 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3872 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3873 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3874 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3876 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3877 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3878 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3879 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3881 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3883 echo "$as_me:$LINENO: checking for $ac_header" >&5
3884 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3885 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3886 echo $ECHO_N "(cached) $ECHO_C" >&6
3888 eval "$as_ac_Header=$ac_header_preproc"
3890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3891 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3894 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3895 cat >>confdefs.h <<_ACEOF
3896 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3904 for ac_func in getpagesize
3906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3907 echo "$as_me:$LINENO: checking for $ac_func" >&5
3908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3909 if eval "test \"\${$as_ac_var+set}\" = set"; then
3910 echo $ECHO_N "(cached) $ECHO_C" >&6
3912 cat >conftest.$ac_ext <<_ACEOF
3913 #line $LINENO "configure"
3914 #include "confdefs.h"
3915 /* System header to define __stub macros and hopefully few prototypes,
3916 which can conflict with char $ac_func (); below. */
3918 /* Override any gcc2 internal prototype to avoid an error. */
3922 /* We use char because int might match the return type of a gcc2
3923 builtin and then its argument prototype would still apply. */
3927 #ifdef F77_DUMMY_MAIN
3931 int F77_DUMMY_MAIN() { return 1; }
3936 /* The GNU C library defines this for functions which it implements
3937 to always fail with ENOSYS. Some functions are actually named
3938 something starting with __ and the normal name is an alias. */
3939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3949 rm -f conftest.$ac_objext conftest$ac_exeext
3950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3951 (eval $ac_link) 2>&5
3953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3954 (exit $ac_status); } &&
3955 { ac_try='test -s conftest$ac_exeext'
3956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3960 (exit $ac_status); }; }; then
3961 eval "$as_ac_var=yes"
3963 echo "$as_me: failed program was:" >&5
3964 cat conftest.$ac_ext >&5
3965 eval "$as_ac_var=no"
3967 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3971 if test `eval echo '${'$as_ac_var'}'` = yes; then
3972 cat >>confdefs.h <<_ACEOF
3973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3979 echo "$as_me:$LINENO: checking for working mmap" >&5
3980 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
3981 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
3982 echo $ECHO_N "(cached) $ECHO_C" >&6
3984 if test "$cross_compiling" = yes; then
3985 ac_cv_func_mmap_fixed_mapped=no
3987 cat >conftest.$ac_ext <<_ACEOF
3988 #line $LINENO "configure"
3989 #include "confdefs.h"
3990 $ac_includes_default
3991 /* malloc might have been renamed as rpl_malloc. */
3994 /* Thanks to Mike Haertel and Jim Avera for this test.
3995 Here is a matrix of mmap possibilities:
3996 mmap private not fixed
3997 mmap private fixed at somewhere currently unmapped
3998 mmap private fixed at somewhere already mapped
3999 mmap shared not fixed
4000 mmap shared fixed at somewhere currently unmapped
4001 mmap shared fixed at somewhere already mapped
4002 For private mappings, we should verify that changes cannot be read()
4003 back from the file, nor mmap's back from the file at a different
4004 address. (There have been systems where private was not correctly
4005 implemented like the infamous i386 svr4.0, and systems where the
4006 VM page cache was not coherent with the file system buffer cache
4007 like early versions of FreeBSD and possibly contemporary NetBSD.)
4008 For shared mappings, we should conversely verify that changes get
4009 propagated back to all the places they're supposed to be.
4011 Grep wants private fixed already mapped.
4012 The main things grep needs to know about mmap are:
4013 * does it exist and is it safe to write into the mmap'd area
4014 * how to use it (BSD variants) */
4017 #include <sys/mman.h>
4019 #if !STDC_HEADERS && !HAVE_STDLIB_H
4023 /* This mess was copied from the GNU getpagesize.h. */
4024 #if !HAVE_GETPAGESIZE
4025 /* Assume that all systems that can run configure have sys/param.h. */
4026 # if !HAVE_SYS_PARAM_H
4027 # define HAVE_SYS_PARAM_H 1
4030 # ifdef _SC_PAGESIZE
4031 # define getpagesize() sysconf(_SC_PAGESIZE)
4032 # else /* no _SC_PAGESIZE */
4033 # if HAVE_SYS_PARAM_H
4034 # include <sys/param.h>
4035 # ifdef EXEC_PAGESIZE
4036 # define getpagesize() EXEC_PAGESIZE
4037 # else /* no EXEC_PAGESIZE */
4039 # define getpagesize() NBPG * CLSIZE
4042 # endif /* no CLSIZE */
4043 # else /* no NBPG */
4045 # define getpagesize() NBPC
4046 # else /* no NBPC */
4048 # define getpagesize() PAGESIZE
4049 # endif /* PAGESIZE */
4050 # endif /* no NBPC */
4051 # endif /* no NBPG */
4052 # endif /* no EXEC_PAGESIZE */
4053 # else /* no HAVE_SYS_PARAM_H */
4054 # define getpagesize() 8192 /* punt totally */
4055 # endif /* no HAVE_SYS_PARAM_H */
4056 # endif /* no _SC_PAGESIZE */
4058 #endif /* no HAVE_GETPAGESIZE */
4063 char *data, *data2, *data3;
4067 pagesize = getpagesize ();
4069 /* First, make a file with some known garbage in it. */
4070 data = (char *) malloc (pagesize);
4073 for (i = 0; i < pagesize; ++i)
4074 *(data + i) = rand ();
4076 fd = creat ("conftest.mmap", 0600);
4079 if (write (fd, data, pagesize) != pagesize)
4083 /* Next, try to mmap the file at a fixed address which already has
4084 something else allocated at it. If we can, also make sure that
4085 we see the same garbage. */
4086 fd = open ("conftest.mmap", O_RDWR);
4089 data2 = (char *) malloc (2 * pagesize);
4092 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
4093 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4094 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4096 for (i = 0; i < pagesize; ++i)
4097 if (*(data + i) != *(data2 + i))
4100 /* Finally, make sure that changes to the mapped area do not
4101 percolate back to the file as seen by read(). (This is a bug on
4102 some variants of i386 svr4.0.) */
4103 for (i = 0; i < pagesize; ++i)
4104 *(data2 + i) = *(data2 + i) + 1;
4105 data3 = (char *) malloc (pagesize);
4108 if (read (fd, data3, pagesize) != pagesize)
4110 for (i = 0; i < pagesize; ++i)
4111 if (*(data + i) != *(data3 + i))
4117 rm -f conftest$ac_exeext
4118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4119 (eval $ac_link) 2>&5
4121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4122 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4127 (exit $ac_status); }; }; then
4128 ac_cv_func_mmap_fixed_mapped=yes
4130 echo "$as_me: program exited with status $ac_status" >&5
4131 echo "$as_me: failed program was:" >&5
4132 cat conftest.$ac_ext >&5
4134 ac_cv_func_mmap_fixed_mapped=no
4136 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4139 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
4140 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
4141 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4143 cat >>confdefs.h <<\_ACEOF
4151 echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
4152 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
4153 if test "${ac_cv_gnu_library_2_1+set}" = set; then
4154 echo $ECHO_N "(cached) $ECHO_C" >&6
4156 cat >conftest.$ac_ext <<_ACEOF
4157 #line $LINENO "configure"
4158 #include "confdefs.h"
4160 #include <features.h>
4161 #ifdef __GNU_LIBRARY__
4162 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
4168 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4169 egrep "Lucky GNU user" >/dev/null 2>&1; then
4170 ac_cv_gnu_library_2_1=yes
4172 ac_cv_gnu_library_2_1=no
4179 echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
4180 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
4182 GLIBC21="$ac_cv_gnu_library_2_1"
4196 for ac_header in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
4197 stdlib.h string.h unistd.h sys/param.h
4199 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4201 echo "$as_me:$LINENO: checking for $ac_header" >&5
4202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4204 echo $ECHO_N "(cached) $ECHO_C" >&6
4206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4207 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4209 # Is the header compilable?
4210 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4211 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4212 cat >conftest.$ac_ext <<_ACEOF
4213 #line $LINENO "configure"
4214 #include "confdefs.h"
4215 $ac_includes_default
4216 #include <$ac_header>
4218 rm -f conftest.$ac_objext
4219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4220 (eval $ac_compile) 2>&5
4222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4223 (exit $ac_status); } &&
4224 { ac_try='test -s conftest.$ac_objext'
4225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4229 (exit $ac_status); }; }; then
4230 ac_header_compiler=yes
4232 echo "$as_me: failed program was:" >&5
4233 cat conftest.$ac_ext >&5
4234 ac_header_compiler=no
4236 rm -f conftest.$ac_objext conftest.$ac_ext
4237 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4238 echo "${ECHO_T}$ac_header_compiler" >&6
4240 # Is the header present?
4241 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4242 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4243 cat >conftest.$ac_ext <<_ACEOF
4244 #line $LINENO "configure"
4245 #include "confdefs.h"
4246 #include <$ac_header>
4248 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4249 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4251 egrep -v '^ *\+' conftest.er1 >conftest.err
4253 cat conftest.err >&5
4254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4255 (exit $ac_status); } >/dev/null; then
4256 if test -s conftest.err; then
4257 ac_cpp_err=$ac_c_preproc_warn_flag
4264 if test -z "$ac_cpp_err"; then
4265 ac_header_preproc=yes
4267 echo "$as_me: failed program was:" >&5
4268 cat conftest.$ac_ext >&5
4269 ac_header_preproc=no
4271 rm -f conftest.err conftest.$ac_ext
4272 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4273 echo "${ECHO_T}$ac_header_preproc" >&6
4275 # So? What about this header?
4276 case $ac_header_compiler:$ac_header_preproc in
4278 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4279 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4280 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4281 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4283 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4284 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4285 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4286 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4287 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4288 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4290 echo "$as_me:$LINENO: checking for $ac_header" >&5
4291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4293 echo $ECHO_N "(cached) $ECHO_C" >&6
4295 eval "$as_ac_Header=$ac_header_preproc"
4297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4298 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4301 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4302 cat >>confdefs.h <<_ACEOF
4303 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4331 for ac_func in feof_unlocked fgets_unlocked getcwd getegid geteuid \
4332 getgid getuid mempcpy munmap putenv setenv setlocale stpcpy strchr strcasecmp \
4333 strdup strtoul tsearch __argz_count __argz_stringify __argz_next
4335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4336 echo "$as_me:$LINENO: checking for $ac_func" >&5
4337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4338 if eval "test \"\${$as_ac_var+set}\" = set"; then
4339 echo $ECHO_N "(cached) $ECHO_C" >&6
4341 cat >conftest.$ac_ext <<_ACEOF
4342 #line $LINENO "configure"
4343 #include "confdefs.h"
4344 /* System header to define __stub macros and hopefully few prototypes,
4345 which can conflict with char $ac_func (); below. */
4347 /* Override any gcc2 internal prototype to avoid an error. */
4351 /* We use char because int might match the return type of a gcc2
4352 builtin and then its argument prototype would still apply. */
4356 #ifdef F77_DUMMY_MAIN
4360 int F77_DUMMY_MAIN() { return 1; }
4365 /* The GNU C library defines this for functions which it implements
4366 to always fail with ENOSYS. Some functions are actually named
4367 something starting with __ and the normal name is an alias. */
4368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4378 rm -f conftest.$ac_objext conftest$ac_exeext
4379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4380 (eval $ac_link) 2>&5
4382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4383 (exit $ac_status); } &&
4384 { ac_try='test -s conftest$ac_exeext'
4385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4389 (exit $ac_status); }; }; then
4390 eval "$as_ac_var=yes"
4392 echo "$as_me: failed program was:" >&5
4393 cat conftest.$ac_ext >&5
4394 eval "$as_ac_var=no"
4396 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4400 if test `eval echo '${'$as_ac_var'}'` = yes; then
4401 cat >>confdefs.h <<_ACEOF
4402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4412 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
4413 if test "${with_libiconv_prefix+set}" = set; then
4414 withval="$with_libiconv_prefix"
4416 for dir in `echo "$withval" | tr : ' '`; do
4417 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
4418 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
4423 echo "$as_me:$LINENO: checking for iconv" >&5
4424 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
4425 if test "${am_cv_func_iconv+set}" = set; then
4426 echo $ECHO_N "(cached) $ECHO_C" >&6
4429 am_cv_func_iconv="no, consider installing GNU libiconv"
4431 cat >conftest.$ac_ext <<_ACEOF
4432 #line $LINENO "configure"
4433 #include "confdefs.h"
4436 #ifdef F77_DUMMY_MAIN
4440 int F77_DUMMY_MAIN() { return 1; }
4445 iconv_t cd = iconv_open("","");
4446 iconv(cd,NULL,NULL,NULL,NULL);
4452 rm -f conftest.$ac_objext conftest$ac_exeext
4453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4454 (eval $ac_link) 2>&5
4456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4457 (exit $ac_status); } &&
4458 { ac_try='test -s conftest$ac_exeext'
4459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4463 (exit $ac_status); }; }; then
4464 am_cv_func_iconv=yes
4466 echo "$as_me: failed program was:" >&5
4467 cat conftest.$ac_ext >&5
4469 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4470 if test "$am_cv_func_iconv" != yes; then
4471 am_save_LIBS="$LIBS"
4472 LIBS="$LIBS -liconv"
4473 cat >conftest.$ac_ext <<_ACEOF
4474 #line $LINENO "configure"
4475 #include "confdefs.h"
4478 #ifdef F77_DUMMY_MAIN
4482 int F77_DUMMY_MAIN() { return 1; }
4487 iconv_t cd = iconv_open("","");
4488 iconv(cd,NULL,NULL,NULL,NULL);
4494 rm -f conftest.$ac_objext conftest$ac_exeext
4495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4496 (eval $ac_link) 2>&5
4498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4499 (exit $ac_status); } &&
4500 { ac_try='test -s conftest$ac_exeext'
4501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4505 (exit $ac_status); }; }; then
4507 am_cv_func_iconv=yes
4509 echo "$as_me: failed program was:" >&5
4510 cat conftest.$ac_ext >&5
4512 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4513 LIBS="$am_save_LIBS"
4517 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
4518 echo "${ECHO_T}$am_cv_func_iconv" >&6
4519 if test "$am_cv_func_iconv" = yes; then
4521 cat >>confdefs.h <<\_ACEOF
4522 #define HAVE_ICONV 1
4525 echo "$as_me:$LINENO: checking for iconv declaration" >&5
4526 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
4527 if test "${am_cv_proto_iconv+set}" = set; then
4528 echo $ECHO_N "(cached) $ECHO_C" >&6
4531 cat >conftest.$ac_ext <<_ACEOF
4532 #line $LINENO "configure"
4533 #include "confdefs.h"
4541 #if defined(__STDC__) || defined(__cplusplus)
4542 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
4547 #ifdef F77_DUMMY_MAIN
4551 int F77_DUMMY_MAIN() { return 1; }
4561 rm -f conftest.$ac_objext
4562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4563 (eval $ac_compile) 2>&5
4565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4566 (exit $ac_status); } &&
4567 { ac_try='test -s conftest.$ac_objext'
4568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572 (exit $ac_status); }; }; then
4573 am_cv_proto_iconv_arg1=""
4575 echo "$as_me: failed program was:" >&5
4576 cat conftest.$ac_ext >&5
4577 am_cv_proto_iconv_arg1="const"
4579 rm -f conftest.$ac_objext conftest.$ac_ext
4580 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);"
4583 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
4584 echo "$as_me:$LINENO: result: ${ac_t:-
4585 }$am_cv_proto_iconv" >&5
4586 echo "${ECHO_T}${ac_t:-
4587 }$am_cv_proto_iconv" >&6
4589 cat >>confdefs.h <<_ACEOF
4590 #define ICONV_CONST $am_cv_proto_iconv_arg1
4595 if test "$am_cv_lib_iconv" = yes; then
4601 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
4602 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
4603 if test "${am_cv_langinfo_codeset+set}" = set; then
4604 echo $ECHO_N "(cached) $ECHO_C" >&6
4606 cat >conftest.$ac_ext <<_ACEOF
4607 #line $LINENO "configure"
4608 #include "confdefs.h"
4609 #include <langinfo.h>
4610 #ifdef F77_DUMMY_MAIN
4614 int F77_DUMMY_MAIN() { return 1; }
4619 char* cs = nl_langinfo(CODESET);
4624 rm -f conftest.$ac_objext conftest$ac_exeext
4625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4626 (eval $ac_link) 2>&5
4628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4629 (exit $ac_status); } &&
4630 { ac_try='test -s conftest$ac_exeext'
4631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4635 (exit $ac_status); }; }; then
4636 am_cv_langinfo_codeset=yes
4638 echo "$as_me: failed program was:" >&5
4639 cat conftest.$ac_ext >&5
4640 am_cv_langinfo_codeset=no
4642 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4645 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
4646 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
4647 if test $am_cv_langinfo_codeset = yes; then
4649 cat >>confdefs.h <<\_ACEOF
4650 #define HAVE_LANGINFO_CODESET 1
4655 if test $ac_cv_header_locale_h = yes; then
4656 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
4657 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
4658 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
4659 echo $ECHO_N "(cached) $ECHO_C" >&6
4661 cat >conftest.$ac_ext <<_ACEOF
4662 #line $LINENO "configure"
4663 #include "confdefs.h"
4665 #ifdef F77_DUMMY_MAIN
4669 int F77_DUMMY_MAIN() { return 1; }
4679 rm -f conftest.$ac_objext conftest$ac_exeext
4680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4681 (eval $ac_link) 2>&5
4683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4684 (exit $ac_status); } &&
4685 { ac_try='test -s conftest$ac_exeext'
4686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4690 (exit $ac_status); }; }; then
4691 am_cv_val_LC_MESSAGES=yes
4693 echo "$as_me: failed program was:" >&5
4694 cat conftest.$ac_ext >&5
4695 am_cv_val_LC_MESSAGES=no
4697 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4699 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
4700 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
4701 if test $am_cv_val_LC_MESSAGES = yes; then
4703 cat >>confdefs.h <<\_ACEOF
4704 #define HAVE_LC_MESSAGES 1
4709 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
4710 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
4711 # Check whether --enable-nls or --disable-nls was given.
4712 if test "${enable_nls+set}" = set; then
4713 enableval="$enable_nls"
4718 echo "$as_me:$LINENO: result: $USE_NLS" >&5
4719 echo "${ECHO_T}$USE_NLS" >&6
4722 BUILD_INCLUDED_LIBINTL=no
4723 USE_INCLUDED_LIBINTL=no
4726 if test "$USE_NLS" = "yes"; then
4728 cat >>confdefs.h <<\_ACEOF
4729 #define ENABLE_NLS 1
4732 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
4733 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
4735 # Check whether --with-included-gettext or --without-included-gettext was given.
4736 if test "${with_included_gettext+set}" = set; then
4737 withval="$with_included_gettext"
4738 nls_cv_force_use_gnu_gettext=$withval
4740 nls_cv_force_use_gnu_gettext=no
4742 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
4743 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
4745 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
4746 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
4752 if test "${ac_cv_header_libintl_h+set}" = set; then
4753 echo "$as_me:$LINENO: checking for libintl.h" >&5
4754 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4755 if test "${ac_cv_header_libintl_h+set}" = set; then
4756 echo $ECHO_N "(cached) $ECHO_C" >&6
4758 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4759 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4761 # Is the header compilable?
4762 echo "$as_me:$LINENO: checking libintl.h usability" >&5
4763 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
4764 cat >conftest.$ac_ext <<_ACEOF
4765 #line $LINENO "configure"
4766 #include "confdefs.h"
4767 $ac_includes_default
4768 #include <libintl.h>
4770 rm -f conftest.$ac_objext
4771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4772 (eval $ac_compile) 2>&5
4774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4775 (exit $ac_status); } &&
4776 { ac_try='test -s conftest.$ac_objext'
4777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4781 (exit $ac_status); }; }; then
4782 ac_header_compiler=yes
4784 echo "$as_me: failed program was:" >&5
4785 cat conftest.$ac_ext >&5
4786 ac_header_compiler=no
4788 rm -f conftest.$ac_objext conftest.$ac_ext
4789 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4790 echo "${ECHO_T}$ac_header_compiler" >&6
4792 # Is the header present?
4793 echo "$as_me:$LINENO: checking libintl.h presence" >&5
4794 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
4795 cat >conftest.$ac_ext <<_ACEOF
4796 #line $LINENO "configure"
4797 #include "confdefs.h"
4798 #include <libintl.h>
4800 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4801 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4803 egrep -v '^ *\+' conftest.er1 >conftest.err
4805 cat conftest.err >&5
4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807 (exit $ac_status); } >/dev/null; then
4808 if test -s conftest.err; then
4809 ac_cpp_err=$ac_c_preproc_warn_flag
4816 if test -z "$ac_cpp_err"; then
4817 ac_header_preproc=yes
4819 echo "$as_me: failed program was:" >&5
4820 cat conftest.$ac_ext >&5
4821 ac_header_preproc=no
4823 rm -f conftest.err conftest.$ac_ext
4824 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4825 echo "${ECHO_T}$ac_header_preproc" >&6
4827 # So? What about this header?
4828 case $ac_header_compiler:$ac_header_preproc in
4830 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
4831 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4832 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
4833 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
4835 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
4836 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
4837 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
4838 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
4839 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
4840 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
4842 echo "$as_me:$LINENO: checking for libintl.h" >&5
4843 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4844 if test "${ac_cv_header_libintl_h+set}" = set; then
4845 echo $ECHO_N "(cached) $ECHO_C" >&6
4847 ac_cv_header_libintl_h=$ac_header_preproc
4849 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4850 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4853 if test $ac_cv_header_libintl_h = yes; then
4854 echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
4855 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
4856 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
4857 echo $ECHO_N "(cached) $ECHO_C" >&6
4859 cat >conftest.$ac_ext <<_ACEOF
4860 #line $LINENO "configure"
4861 #include "confdefs.h"
4862 #include <libintl.h>
4863 extern int _nl_msg_cat_cntr;
4864 #ifdef F77_DUMMY_MAIN
4868 int F77_DUMMY_MAIN() { return 1; }
4873 bindtextdomain ("", "");
4874 return (int) gettext ("") + _nl_msg_cat_cntr
4879 rm -f conftest.$ac_objext conftest$ac_exeext
4880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4881 (eval $ac_link) 2>&5
4883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4884 (exit $ac_status); } &&
4885 { ac_try='test -s conftest$ac_exeext'
4886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4890 (exit $ac_status); }; }; then
4891 gt_cv_func_gnugettext1_libc=yes
4893 echo "$as_me: failed program was:" >&5
4894 cat conftest.$ac_ext >&5
4895 gt_cv_func_gnugettext1_libc=no
4897 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4899 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
4900 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
4902 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
4903 echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
4904 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
4905 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
4906 echo $ECHO_N "(cached) $ECHO_C" >&6
4908 gt_save_LIBS="$LIBS"
4909 LIBS="$LIBS -lintl $LIBICONV"
4910 cat >conftest.$ac_ext <<_ACEOF
4911 #line $LINENO "configure"
4912 #include "confdefs.h"
4913 #include <libintl.h>
4914 extern int _nl_msg_cat_cntr;
4915 #ifdef F77_DUMMY_MAIN
4919 int F77_DUMMY_MAIN() { return 1; }
4924 bindtextdomain ("", "");
4925 return (int) gettext ("") + _nl_msg_cat_cntr
4930 rm -f conftest.$ac_objext conftest$ac_exeext
4931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4932 (eval $ac_link) 2>&5
4934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935 (exit $ac_status); } &&
4936 { ac_try='test -s conftest$ac_exeext'
4937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941 (exit $ac_status); }; }; then
4942 gt_cv_func_gnugettext1_libintl=yes
4944 echo "$as_me: failed program was:" >&5
4945 cat conftest.$ac_ext >&5
4946 gt_cv_func_gnugettext1_libintl=no
4948 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4949 LIBS="$gt_save_LIBS"
4951 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
4952 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
4955 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
4956 || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
4957 && test "$PACKAGE" != gettext; }; then
4959 cat >>confdefs.h <<\_ACEOF
4960 #define HAVE_GETTEXT 1
4964 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
4965 INTLLIBS="-lintl $LIBICONV"
4968 gt_save_LIBS="$LIBS"
4969 LIBS="$LIBS $INTLLIBS"
4971 for ac_func in dcgettext
4973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4974 echo "$as_me:$LINENO: checking for $ac_func" >&5
4975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4976 if eval "test \"\${$as_ac_var+set}\" = set"; then
4977 echo $ECHO_N "(cached) $ECHO_C" >&6
4979 cat >conftest.$ac_ext <<_ACEOF
4980 #line $LINENO "configure"
4981 #include "confdefs.h"
4982 /* System header to define __stub macros and hopefully few prototypes,
4983 which can conflict with char $ac_func (); below. */
4985 /* Override any gcc2 internal prototype to avoid an error. */
4989 /* We use char because int might match the return type of a gcc2
4990 builtin and then its argument prototype would still apply. */
4994 #ifdef F77_DUMMY_MAIN
4998 int F77_DUMMY_MAIN() { return 1; }
5003 /* The GNU C library defines this for functions which it implements
5004 to always fail with ENOSYS. Some functions are actually named
5005 something starting with __ and the normal name is an alias. */
5006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5016 rm -f conftest.$ac_objext conftest$ac_exeext
5017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5018 (eval $ac_link) 2>&5
5020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5021 (exit $ac_status); } &&
5022 { ac_try='test -s conftest$ac_exeext'
5023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5027 (exit $ac_status); }; }; then
5028 eval "$as_ac_var=yes"
5030 echo "$as_me: failed program was:" >&5
5031 cat conftest.$ac_ext >&5
5032 eval "$as_ac_var=no"
5034 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5038 if test `eval echo '${'$as_ac_var'}'` = yes; then
5039 cat >>confdefs.h <<_ACEOF
5040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5046 LIBS="$gt_save_LIBS"
5048 # Extract the first word of "msgfmt", so it can be a program name with args.
5049 set dummy msgfmt; ac_word=$2
5050 echo "$as_me:$LINENO: checking for $ac_word" >&5
5051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5052 if test "${ac_cv_path_MSGFMT+set}" = set; then
5053 echo $ECHO_N "(cached) $ECHO_C" >&6
5057 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5060 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5061 for ac_dir in $PATH; do
5062 test -z "$ac_dir" && ac_dir=.
5063 if test -f $ac_dir/$ac_word; then
5064 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1; then
5065 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
5071 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
5075 MSGFMT="$ac_cv_path_MSGFMT"
5076 if test "$MSGFMT" != ":"; then
5077 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5078 echo "${ECHO_T}$MSGFMT" >&6
5080 echo "$as_me:$LINENO: result: no" >&5
5081 echo "${ECHO_T}no" >&6
5084 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5085 set dummy gmsgfmt; ac_word=$2
5086 echo "$as_me:$LINENO: checking for $ac_word" >&5
5087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5088 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5089 echo $ECHO_N "(cached) $ECHO_C" >&6
5093 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5100 test -z "$as_dir" && as_dir=.
5101 for ac_exec_ext in '' $ac_executable_extensions; do
5102 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5103 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5110 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5114 GMSGFMT=$ac_cv_path_GMSGFMT
5116 if test -n "$GMSGFMT"; then
5117 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5118 echo "${ECHO_T}$GMSGFMT" >&6
5120 echo "$as_me:$LINENO: result: no" >&5
5121 echo "${ECHO_T}no" >&6
5125 # Extract the first word of "xgettext", so it can be a program name with args.
5126 set dummy xgettext; ac_word=$2
5127 echo "$as_me:$LINENO: checking for $ac_word" >&5
5128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5129 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5130 echo $ECHO_N "(cached) $ECHO_C" >&6
5134 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5137 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5138 for ac_dir in $PATH; do
5139 test -z "$ac_dir" && ac_dir=.
5140 if test -f $ac_dir/$ac_word; then
5141 if $ac_dir/$ac_word --omit-header /dev/null >/dev/null 2>&1; then
5142 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
5148 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5152 XGETTEXT="$ac_cv_path_XGETTEXT"
5153 if test "$XGETTEXT" != ":"; then
5154 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5155 echo "${ECHO_T}$XGETTEXT" >&6
5157 echo "$as_me:$LINENO: result: no" >&5
5158 echo "${ECHO_T}no" >&6
5169 if test "$CATOBJEXT" = "NONE"; then
5170 nls_cv_use_gnu_gettext=yes
5174 if test "$nls_cv_use_gnu_gettext" = "yes"; then
5175 INTLOBJS="\$(GETTOBJS)"
5176 # Extract the first word of "msgfmt", so it can be a program name with args.
5177 set dummy msgfmt; ac_word=$2
5178 echo "$as_me:$LINENO: checking for $ac_word" >&5
5179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5180 if test "${ac_cv_path_MSGFMT+set}" = set; then
5181 echo $ECHO_N "(cached) $ECHO_C" >&6
5185 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5188 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5189 for ac_dir in $PATH; do
5190 test -z "$ac_dir" && ac_dir=.
5191 if test -f $ac_dir/$ac_word; then
5192 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1; then
5193 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
5199 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
5203 MSGFMT="$ac_cv_path_MSGFMT"
5204 if test "$MSGFMT" != ":"; then
5205 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5206 echo "${ECHO_T}$MSGFMT" >&6
5208 echo "$as_me:$LINENO: result: no" >&5
5209 echo "${ECHO_T}no" >&6
5212 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5213 set dummy gmsgfmt; ac_word=$2
5214 echo "$as_me:$LINENO: checking for $ac_word" >&5
5215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5216 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5217 echo $ECHO_N "(cached) $ECHO_C" >&6
5221 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5228 test -z "$as_dir" && as_dir=.
5229 for ac_exec_ext in '' $ac_executable_extensions; do
5230 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5231 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5238 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5242 GMSGFMT=$ac_cv_path_GMSGFMT
5244 if test -n "$GMSGFMT"; then
5245 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5246 echo "${ECHO_T}$GMSGFMT" >&6
5248 echo "$as_me:$LINENO: result: no" >&5
5249 echo "${ECHO_T}no" >&6
5252 # Extract the first word of "xgettext", so it can be a program name with args.
5253 set dummy xgettext; ac_word=$2
5254 echo "$as_me:$LINENO: checking for $ac_word" >&5
5255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5256 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5257 echo $ECHO_N "(cached) $ECHO_C" >&6
5261 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5264 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5265 for ac_dir in $PATH; do
5266 test -z "$ac_dir" && ac_dir=.
5267 if test -f $ac_dir/$ac_word; then
5268 if $ac_dir/$ac_word --omit-header /dev/null >/dev/null 2>&1; then
5269 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
5275 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5279 XGETTEXT="$ac_cv_path_XGETTEXT"
5280 if test "$XGETTEXT" != ":"; then
5281 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5282 echo "${ECHO_T}$XGETTEXT" >&6
5284 echo "$as_me:$LINENO: result: no" >&5
5285 echo "${ECHO_T}no" >&6
5289 BUILD_INCLUDED_LIBINTL=yes
5290 USE_INCLUDED_LIBINTL=yes
5292 INTLLIBS="\$(top_builddir)/intl/libintl.a $LIBICONV"
5293 LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
5296 if test "$GMSGFMT" != ":"; then
5297 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1; then
5300 echo "$as_me:$LINENO: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
5301 echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6
5306 if test "$XGETTEXT" != ":"; then
5307 if $XGETTEXT --omit-header /dev/null >/dev/null 2>&1; then
5310 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
5311 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
5318 ac_config_commands="$ac_config_commands default-1"
5322 if test "$PACKAGE" = gettext; then
5323 BUILD_INCLUDED_LIBINTL=yes
5326 for ac_prog in bison
5328 # Extract the first word of "$ac_prog", so it can be a program name with args.
5329 set dummy $ac_prog; ac_word=$2
5330 echo "$as_me:$LINENO: checking for $ac_word" >&5
5331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5332 if test "${ac_cv_prog_INTLBISON+set}" = set; then
5333 echo $ECHO_N "(cached) $ECHO_C" >&6
5335 if test -n "$INTLBISON"; then
5336 ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test.
5338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5342 test -z "$as_dir" && as_dir=.
5343 for ac_exec_ext in '' $ac_executable_extensions; do
5344 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5345 ac_cv_prog_INTLBISON="$ac_prog"
5346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5354 INTLBISON=$ac_cv_prog_INTLBISON
5355 if test -n "$INTLBISON"; then
5356 echo "$as_me:$LINENO: result: $INTLBISON" >&5
5357 echo "${ECHO_T}$INTLBISON" >&6
5359 echo "$as_me:$LINENO: result: no" >&5
5360 echo "${ECHO_T}no" >&6
5363 test -n "$INTLBISON" && break
5366 if test -z "$INTLBISON"; then
5369 echo "$as_me:$LINENO: checking version of bison" >&5
5370 echo $ECHO_N "checking version of bison... $ECHO_C" >&6
5371 ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
5372 case $ac_prog_version in
5373 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
5374 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
5375 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
5376 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
5378 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5379 echo "${ECHO_T}$ac_prog_version" >&6
5381 if test $ac_verc_fail = yes; then
5385 for lang in $ALL_LINGUAS; do
5386 GMOFILES="$GMOFILES $lang.gmo"
5387 POFILES="$POFILES $lang.po"
5401 nls_cv_header_libgt=
5413 if test "x$CATOBJEXT" != "x"; then
5414 if test "x$ALL_LINGUAS" = "x"; then
5417 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5418 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5420 for presentlang in $ALL_LINGUAS; do
5422 for desiredlang in ${LINGUAS-$ALL_LINGUAS}; do
5423 # Use the presentlang catalog if desiredlang is
5424 # a. equal to presentlang, or
5425 # b. a variant of presentlang (because in this case,
5426 # presentlang can be used as a fallback for messages
5427 # which are not translated in the desiredlang catalog).
5428 case "$desiredlang" in
5429 "$presentlang"*) useit=yes;;
5432 if test $useit = yes; then
5433 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
5436 LINGUAS=$NEW_LINGUAS
5437 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5438 echo "${ECHO_T}$LINGUAS" >&6
5441 if test -n "$LINGUAS"; then
5442 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
5447 if test -n "$ac_aux_dir"; then
5448 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
5450 if test -z "$MKINSTALLDIRS"; then
5451 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
5455 INTL_LIBTOOL_SUFFIX_PREFIX=
5459 # Find a good install program. We prefer a C program (faster),
5460 # so one script is as good as another. But avoid the broken or
5461 # incompatible versions:
5462 # SysV /etc/install, /usr/sbin/install
5463 # SunOS /usr/etc/install
5464 # IRIX /sbin/install
5466 # AmigaOS /C/install, which installs bootblocks on floppy discs
5467 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5468 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5469 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5470 # ./install, which can be erroneously created by make from ./install.sh.
5471 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5472 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5473 if test -z "$INSTALL"; then
5474 if test "${ac_cv_path_install+set}" = set; then
5475 echo $ECHO_N "(cached) $ECHO_C" >&6
5477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5481 test -z "$as_dir" && as_dir=.
5482 # Account for people who put trailing slashes in PATH elements.
5484 ./ | .// | /cC/* | \
5485 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5488 # OSF1 and SCO ODT 3.0 have their own names for install.
5489 # Don't use installbsd from OSF since it installs stuff as root
5491 for ac_prog in ginstall scoinst install; do
5492 for ac_exec_ext in '' $ac_executable_extensions; do
5493 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5494 if test $ac_prog = install &&
5495 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5496 # AIX install. It has an incompatible calling convention.
5498 elif test $ac_prog = install &&
5499 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5500 # program-specific install script used by HP pwplus--don't use.
5503 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5515 if test "${ac_cv_path_install+set}" = set; then
5516 INSTALL=$ac_cv_path_install
5518 # As a last resort, use the slow shell script. We don't cache a
5519 # path for INSTALL within a source directory, because that will
5520 # break other packages using the cache if that directory is
5521 # removed, or if the path is relative.
5522 INSTALL=$ac_install_sh
5525 echo "$as_me:$LINENO: result: $INSTALL" >&5
5526 echo "${ECHO_T}$INSTALL" >&6
5528 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5529 # It thinks the first close brace ends the variable substitution.
5530 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5532 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5534 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5537 case x"${target_os}" in
5546 save_CFLAGS="${save_CFLAGS} -pthread"
5547 dvd_LDFLAGS="${dvd_LDFLAGS} -ldvd"
5548 vcd_LDFLAGS="${vcd_LDFLAGS} -ldvd"
5552 save_CFLAGS="${save_CFLAGS} -pthread"
5556 save_CFLAGS="${save_CFLAGS} -no-cpp-precomp"
5560 if test -n "$ac_tool_prefix"; then
5561 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5562 set dummy ${ac_tool_prefix}windres; ac_word=$2
5563 echo "$as_me:$LINENO: checking for $ac_word" >&5
5564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5565 if test "${ac_cv_prog_WINDRES+set}" = set; then
5566 echo $ECHO_N "(cached) $ECHO_C" >&6
5568 if test -n "$WINDRES"; then
5569 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5575 test -z "$as_dir" && as_dir=.
5576 for ac_exec_ext in '' $ac_executable_extensions; do
5577 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5578 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5587 WINDRES=$ac_cv_prog_WINDRES
5588 if test -n "$WINDRES"; then
5589 echo "$as_me:$LINENO: result: $WINDRES" >&5
5590 echo "${ECHO_T}$WINDRES" >&6
5592 echo "$as_me:$LINENO: result: no" >&5
5593 echo "${ECHO_T}no" >&6
5597 if test -z "$ac_cv_prog_WINDRES"; then
5598 ac_ct_WINDRES=$WINDRES
5599 # Extract the first word of "windres", so it can be a program name with args.
5600 set dummy windres; ac_word=$2
5601 echo "$as_me:$LINENO: checking for $ac_word" >&5
5602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5603 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5604 echo $ECHO_N "(cached) $ECHO_C" >&6
5606 if test -n "$ac_ct_WINDRES"; then
5607 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5613 test -z "$as_dir" && as_dir=.
5614 for ac_exec_ext in '' $ac_executable_extensions; do
5615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5616 ac_cv_prog_ac_ct_WINDRES="windres"
5617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5623 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES=":"
5626 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5627 if test -n "$ac_ct_WINDRES"; then
5628 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5629 echo "${ECHO_T}$ac_ct_WINDRES" >&6
5631 echo "$as_me:$LINENO: result: no" >&5
5632 echo "${ECHO_T}no" >&6
5635 WINDRES=$ac_ct_WINDRES
5637 WINDRES="$ac_cv_prog_WINDRES"
5640 save_CFLAGS="${save_CFLAGS} -D_OFF_T_ -D_off_t=long"
5641 vlc_LDFLAGS="${vlc_LDFLAGS} -mwindows -Xlinker --force-exe-suffix"
5642 vlc_LDFLAGS="${vlc_LDFLAGS} -lws2_32 -lnetapi32"
5643 ipv4_LDFLAGS="${ipv4_LDFLAGS} -lws2_32"
5644 ipv6_LDFLAGS="${ipv6_LDFLAGS} -lws2_32"
5645 http_LDFLAGS="${http_LDFLAGS} -lws2_32"
5646 rc_LDFLAGS="${rc_LDFLAGS} -lws2_32"
5650 x11_LDFLAGS="${x11_LDFLAGS} -lsocket"
5651 xvideo_LDFLAGS="${xvideo_LDFLAGS} -lsocket"
5655 save_CFLAGS="${save_CFLAGS} -Wno-multichar -Wno-ctor-dtor-privacy -Woverloaded-virtual"
5656 vlc_LDFLAGS="${vlc_LDFLAGS} -lbe"
5657 plugins_LDFLAGS="${plugins_LDFLAGS} -nostart"
5658 beos_LDFLAGS="${beos_LDFLAGS} -lbe -lgame -lroot -ltracker -ltranslation -lstdc++.r4"
5659 ipv4_LDFLAGS="${ipv4_LDFLAGS} -lbind"
5666 if test x"${SYS}" != xmingw32; then
5667 plugins_CFLAGS="${plugins_CFLAGS} -fPIC"
5670 if test x$SYS = xmingw32
5672 echo "$as_me:$LINENO: checking for opendir in -lmingwex" >&5
5673 echo $ECHO_N "checking for opendir in -lmingwex... $ECHO_C" >&6
5674 if test "${ac_cv_lib_mingwex_opendir+set}" = set; then
5675 echo $ECHO_N "(cached) $ECHO_C" >&6
5677 ac_check_lib_save_LIBS=$LIBS
5678 LIBS="-lmingwex $LIBS"
5679 cat >conftest.$ac_ext <<_ACEOF
5680 #line $LINENO "configure"
5681 #include "confdefs.h"
5683 /* Override any gcc2 internal prototype to avoid an error. */
5687 /* We use char because int might match the return type of a gcc2
5688 builtin and then its argument prototype would still apply. */
5690 #ifdef F77_DUMMY_MAIN
5694 int F77_DUMMY_MAIN() { return 1; }
5704 rm -f conftest.$ac_objext conftest$ac_exeext
5705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5706 (eval $ac_link) 2>&5
5708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5709 (exit $ac_status); } &&
5710 { ac_try='test -s conftest$ac_exeext'
5711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5715 (exit $ac_status); }; }; then
5716 ac_cv_lib_mingwex_opendir=yes
5718 echo "$as_me: failed program was:" >&5
5719 cat conftest.$ac_ext >&5
5720 ac_cv_lib_mingwex_opendir=no
5722 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5723 LIBS=$ac_check_lib_save_LIBS
5725 echo "$as_me:$LINENO: result: $ac_cv_lib_mingwex_opendir" >&5
5726 echo "${ECHO_T}$ac_cv_lib_mingwex_opendir" >&6
5727 if test $ac_cv_lib_mingwex_opendir = yes; then
5728 echo "$as_me:$LINENO: checking for opendir in -lmingw32" >&5
5729 echo $ECHO_N "checking for opendir in -lmingw32... $ECHO_C" >&6
5730 if test "${ac_cv_lib_mingw32_opendir+set}" = set; then
5731 echo $ECHO_N "(cached) $ECHO_C" >&6
5733 ac_check_lib_save_LIBS=$LIBS
5734 LIBS="-lmingw32 $LIBS"
5735 cat >conftest.$ac_ext <<_ACEOF
5736 #line $LINENO "configure"
5737 #include "confdefs.h"
5739 /* Override any gcc2 internal prototype to avoid an error. */
5743 /* We use char because int might match the return type of a gcc2
5744 builtin and then its argument prototype would still apply. */
5746 #ifdef F77_DUMMY_MAIN
5750 int F77_DUMMY_MAIN() { return 1; }
5760 rm -f conftest.$ac_objext conftest$ac_exeext
5761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5762 (eval $ac_link) 2>&5
5764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5765 (exit $ac_status); } &&
5766 { ac_try='test -s conftest$ac_exeext'
5767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5771 (exit $ac_status); }; }; then
5772 ac_cv_lib_mingw32_opendir=yes
5774 echo "$as_me: failed program was:" >&5
5775 cat conftest.$ac_ext >&5
5776 ac_cv_lib_mingw32_opendir=no
5778 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5779 LIBS=$ac_check_lib_save_LIBS
5781 echo "$as_me:$LINENO: result: $ac_cv_lib_mingw32_opendir" >&5
5782 echo "${ECHO_T}$ac_cv_lib_mingw32_opendir" >&6
5783 if test $ac_cv_lib_mingw32_opendir = yes; then
5784 vlc_LDFLAGS="${vlc_LDFLAGS}"
5786 vlc_LDFLAGS="${vlc_LDFLAGS} -lmingwex"
5787 gtk_LDFLAGS="${gtk_LDFLAGS} -lmingwex"
5795 save_CFLAGS="${save_CFLAGS} -DSYS_`echo ${SYS} | sed -e 's/-.*//' | tr 'abcdefghijklmnopqrstuvwxyz.' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`"
5811 for ac_func in gettimeofday select strerror strtod strtol isatty vasprintf swab sigrelse getpwuid memalign posix_memalign gethostbyname2 atoll
5813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5814 echo "$as_me:$LINENO: checking for $ac_func" >&5
5815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5816 if eval "test \"\${$as_ac_var+set}\" = set"; then
5817 echo $ECHO_N "(cached) $ECHO_C" >&6
5819 cat >conftest.$ac_ext <<_ACEOF
5820 #line $LINENO "configure"
5821 #include "confdefs.h"
5822 /* System header to define __stub macros and hopefully few prototypes,
5823 which can conflict with char $ac_func (); below. */
5825 /* Override any gcc2 internal prototype to avoid an error. */
5829 /* We use char because int might match the return type of a gcc2
5830 builtin and then its argument prototype would still apply. */
5834 #ifdef F77_DUMMY_MAIN
5838 int F77_DUMMY_MAIN() { return 1; }
5843 /* The GNU C library defines this for functions which it implements
5844 to always fail with ENOSYS. Some functions are actually named
5845 something starting with __ and the normal name is an alias. */
5846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5856 rm -f conftest.$ac_objext conftest$ac_exeext
5857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5858 (eval $ac_link) 2>&5
5860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5861 (exit $ac_status); } &&
5862 { ac_try='test -s conftest$ac_exeext'
5863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5867 (exit $ac_status); }; }; then
5868 eval "$as_ac_var=yes"
5870 echo "$as_me: failed program was:" >&5
5871 cat conftest.$ac_ext >&5
5872 eval "$as_ac_var=no"
5874 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5878 if test `eval echo '${'$as_ac_var'}'` = yes; then
5879 cat >>confdefs.h <<_ACEOF
5880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5887 echo "$as_me:$LINENO: checking for connect" >&5
5888 echo $ECHO_N "checking for connect... $ECHO_C" >&6
5889 if test "${ac_cv_func_connect+set}" = set; then
5890 echo $ECHO_N "(cached) $ECHO_C" >&6
5892 cat >conftest.$ac_ext <<_ACEOF
5893 #line $LINENO "configure"
5894 #include "confdefs.h"
5895 /* System header to define __stub macros and hopefully few prototypes,
5896 which can conflict with char connect (); below. */
5898 /* Override any gcc2 internal prototype to avoid an error. */
5902 /* We use char because int might match the return type of a gcc2
5903 builtin and then its argument prototype would still apply. */
5907 #ifdef F77_DUMMY_MAIN
5911 int F77_DUMMY_MAIN() { return 1; }
5916 /* The GNU C library defines this for functions which it implements
5917 to always fail with ENOSYS. Some functions are actually named
5918 something starting with __ and the normal name is an alias. */
5919 #if defined (__stub_connect) || defined (__stub___connect)
5929 rm -f conftest.$ac_objext conftest$ac_exeext
5930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5931 (eval $ac_link) 2>&5
5933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934 (exit $ac_status); } &&
5935 { ac_try='test -s conftest$ac_exeext'
5936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5940 (exit $ac_status); }; }; then
5941 ac_cv_func_connect=yes
5943 echo "$as_me: failed program was:" >&5
5944 cat conftest.$ac_ext >&5
5945 ac_cv_func_connect=no
5947 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5949 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
5950 echo "${ECHO_T}$ac_cv_func_connect" >&6
5951 if test $ac_cv_func_connect = yes; then
5955 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
5956 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
5957 if test "${ac_cv_lib_socket_connect+set}" = set; then
5958 echo $ECHO_N "(cached) $ECHO_C" >&6
5960 ac_check_lib_save_LIBS=$LIBS
5961 LIBS="-lsocket $LIBS"
5962 cat >conftest.$ac_ext <<_ACEOF
5963 #line $LINENO "configure"
5964 #include "confdefs.h"
5966 /* Override any gcc2 internal prototype to avoid an error. */
5970 /* We use char because int might match the return type of a gcc2
5971 builtin and then its argument prototype would still apply. */
5973 #ifdef F77_DUMMY_MAIN
5977 int F77_DUMMY_MAIN() { return 1; }
5987 rm -f conftest.$ac_objext conftest$ac_exeext
5988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5989 (eval $ac_link) 2>&5
5991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5992 (exit $ac_status); } &&
5993 { ac_try='test -s conftest$ac_exeext'
5994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5998 (exit $ac_status); }; }; then
5999 ac_cv_lib_socket_connect=yes
6001 echo "$as_me: failed program was:" >&5
6002 cat conftest.$ac_ext >&5
6003 ac_cv_lib_socket_connect=no
6005 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6006 LIBS=$ac_check_lib_save_LIBS
6008 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6009 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6010 if test $ac_cv_lib_socket_connect = yes; then
6011 ipv4_LDFLAGS="${ipv4_LDFLAGS} -lsocket"
6012 vlc_LDFLAGS="${vlc_LDFLAGS} -lsocket"
6018 echo "$as_me:$LINENO: checking for gethostbyname" >&5
6019 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
6020 if test "${ac_cv_func_gethostbyname+set}" = set; then
6021 echo $ECHO_N "(cached) $ECHO_C" >&6
6023 cat >conftest.$ac_ext <<_ACEOF
6024 #line $LINENO "configure"
6025 #include "confdefs.h"
6026 /* System header to define __stub macros and hopefully few prototypes,
6027 which can conflict with char gethostbyname (); below. */
6029 /* Override any gcc2 internal prototype to avoid an error. */
6033 /* We use char because int might match the return type of a gcc2
6034 builtin and then its argument prototype would still apply. */
6035 char gethostbyname ();
6038 #ifdef F77_DUMMY_MAIN
6042 int F77_DUMMY_MAIN() { return 1; }
6047 /* The GNU C library defines this for functions which it implements
6048 to always fail with ENOSYS. Some functions are actually named
6049 something starting with __ and the normal name is an alias. */
6050 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
6060 rm -f conftest.$ac_objext conftest$ac_exeext
6061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6062 (eval $ac_link) 2>&5
6064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6065 (exit $ac_status); } &&
6066 { ac_try='test -s conftest$ac_exeext'
6067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6071 (exit $ac_status); }; }; then
6072 ac_cv_func_gethostbyname=yes
6074 echo "$as_me: failed program was:" >&5
6075 cat conftest.$ac_ext >&5
6076 ac_cv_func_gethostbyname=no
6078 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6080 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
6081 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
6082 if test $ac_cv_func_gethostbyname = yes; then
6086 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6087 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6088 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6089 echo $ECHO_N "(cached) $ECHO_C" >&6
6091 ac_check_lib_save_LIBS=$LIBS
6093 cat >conftest.$ac_ext <<_ACEOF
6094 #line $LINENO "configure"
6095 #include "confdefs.h"
6097 /* Override any gcc2 internal prototype to avoid an error. */
6101 /* We use char because int might match the return type of a gcc2
6102 builtin and then its argument prototype would still apply. */
6103 char gethostbyname ();
6104 #ifdef F77_DUMMY_MAIN
6108 int F77_DUMMY_MAIN() { return 1; }
6118 rm -f conftest.$ac_objext conftest$ac_exeext
6119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6120 (eval $ac_link) 2>&5
6122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6123 (exit $ac_status); } &&
6124 { ac_try='test -s conftest$ac_exeext'
6125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6129 (exit $ac_status); }; }; then
6130 ac_cv_lib_nsl_gethostbyname=yes
6132 echo "$as_me: failed program was:" >&5
6133 cat conftest.$ac_ext >&5
6134 ac_cv_lib_nsl_gethostbyname=no
6136 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6137 LIBS=$ac_check_lib_save_LIBS
6139 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6140 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6141 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6142 ipv4_LDFLAGS="${ipv4_LDFLAGS} -lnsl"
6148 echo "$as_me:$LINENO: checking for gethostbyname" >&5
6149 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
6150 if test "${ac_cv_func_gethostbyname+set}" = set; then
6151 echo $ECHO_N "(cached) $ECHO_C" >&6
6153 cat >conftest.$ac_ext <<_ACEOF
6154 #line $LINENO "configure"
6155 #include "confdefs.h"
6156 /* System header to define __stub macros and hopefully few prototypes,
6157 which can conflict with char gethostbyname (); below. */
6159 /* Override any gcc2 internal prototype to avoid an error. */
6163 /* We use char because int might match the return type of a gcc2
6164 builtin and then its argument prototype would still apply. */
6165 char gethostbyname ();
6168 #ifdef F77_DUMMY_MAIN
6172 int F77_DUMMY_MAIN() { return 1; }
6177 /* The GNU C library defines this for functions which it implements
6178 to always fail with ENOSYS. Some functions are actually named
6179 something starting with __ and the normal name is an alias. */
6180 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
6190 rm -f conftest.$ac_objext conftest$ac_exeext
6191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6192 (eval $ac_link) 2>&5
6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195 (exit $ac_status); } &&
6196 { ac_try='test -s conftest$ac_exeext'
6197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6201 (exit $ac_status); }; }; then
6202 ac_cv_func_gethostbyname=yes
6204 echo "$as_me: failed program was:" >&5
6205 cat conftest.$ac_ext >&5
6206 ac_cv_func_gethostbyname=no
6208 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6210 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
6211 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
6212 if test $ac_cv_func_gethostbyname = yes; then
6216 echo "$as_me:$LINENO: checking for gethostbyname in -lbind" >&5
6217 echo $ECHO_N "checking for gethostbyname in -lbind... $ECHO_C" >&6
6218 if test "${ac_cv_lib_bind_gethostbyname+set}" = set; then
6219 echo $ECHO_N "(cached) $ECHO_C" >&6
6221 ac_check_lib_save_LIBS=$LIBS
6223 cat >conftest.$ac_ext <<_ACEOF
6224 #line $LINENO "configure"
6225 #include "confdefs.h"
6227 /* Override any gcc2 internal prototype to avoid an error. */
6231 /* We use char because int might match the return type of a gcc2
6232 builtin and then its argument prototype would still apply. */
6233 char gethostbyname ();
6234 #ifdef F77_DUMMY_MAIN
6238 int F77_DUMMY_MAIN() { return 1; }
6248 rm -f conftest.$ac_objext conftest$ac_exeext
6249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6250 (eval $ac_link) 2>&5
6252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6253 (exit $ac_status); } &&
6254 { ac_try='test -s conftest$ac_exeext'
6255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6259 (exit $ac_status); }; }; then
6260 ac_cv_lib_bind_gethostbyname=yes
6262 echo "$as_me: failed program was:" >&5
6263 cat conftest.$ac_ext >&5
6264 ac_cv_lib_bind_gethostbyname=no
6266 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6267 LIBS=$ac_check_lib_save_LIBS
6269 echo "$as_me:$LINENO: result: $ac_cv_lib_bind_gethostbyname" >&5
6270 echo "${ECHO_T}$ac_cv_lib_bind_gethostbyname" >&6
6271 if test $ac_cv_lib_bind_gethostbyname = yes; then
6272 ipv4_LDFLAGS="${ipv4_LDFLAGS} -lbind"
6279 echo "$as_me:$LINENO: checking for nanosleep" >&5
6280 echo $ECHO_N "checking for nanosleep... $ECHO_C" >&6
6281 if test "${ac_cv_func_nanosleep+set}" = set; then
6282 echo $ECHO_N "(cached) $ECHO_C" >&6
6284 cat >conftest.$ac_ext <<_ACEOF
6285 #line $LINENO "configure"
6286 #include "confdefs.h"
6287 /* System header to define __stub macros and hopefully few prototypes,
6288 which can conflict with char nanosleep (); below. */
6290 /* Override any gcc2 internal prototype to avoid an error. */
6294 /* We use char because int might match the return type of a gcc2
6295 builtin and then its argument prototype would still apply. */
6299 #ifdef F77_DUMMY_MAIN
6303 int F77_DUMMY_MAIN() { return 1; }
6308 /* The GNU C library defines this for functions which it implements
6309 to always fail with ENOSYS. Some functions are actually named
6310 something starting with __ and the normal name is an alias. */
6311 #if defined (__stub_nanosleep) || defined (__stub___nanosleep)
6321 rm -f conftest.$ac_objext conftest$ac_exeext
6322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6323 (eval $ac_link) 2>&5
6325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6326 (exit $ac_status); } &&
6327 { ac_try='test -s conftest$ac_exeext'
6328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6332 (exit $ac_status); }; }; then
6333 ac_cv_func_nanosleep=yes
6335 echo "$as_me: failed program was:" >&5
6336 cat conftest.$ac_ext >&5
6337 ac_cv_func_nanosleep=no
6339 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6341 echo "$as_me:$LINENO: result: $ac_cv_func_nanosleep" >&5
6342 echo "${ECHO_T}$ac_cv_func_nanosleep" >&6
6343 if test $ac_cv_func_nanosleep = yes; then
6347 echo "$as_me:$LINENO: checking for nanosleep in -lrt" >&5
6348 echo $ECHO_N "checking for nanosleep in -lrt... $ECHO_C" >&6
6349 if test "${ac_cv_lib_rt_nanosleep+set}" = set; then
6350 echo $ECHO_N "(cached) $ECHO_C" >&6
6352 ac_check_lib_save_LIBS=$LIBS
6354 cat >conftest.$ac_ext <<_ACEOF
6355 #line $LINENO "configure"
6356 #include "confdefs.h"
6358 /* Override any gcc2 internal prototype to avoid an error. */
6362 /* We use char because int might match the return type of a gcc2
6363 builtin and then its argument prototype would still apply. */
6365 #ifdef F77_DUMMY_MAIN
6369 int F77_DUMMY_MAIN() { return 1; }
6379 rm -f conftest.$ac_objext conftest$ac_exeext
6380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6381 (eval $ac_link) 2>&5
6383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6384 (exit $ac_status); } &&
6385 { ac_try='test -s conftest$ac_exeext'
6386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6390 (exit $ac_status); }; }; then
6391 ac_cv_lib_rt_nanosleep=yes
6393 echo "$as_me: failed program was:" >&5
6394 cat conftest.$ac_ext >&5
6395 ac_cv_lib_rt_nanosleep=no
6397 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6398 LIBS=$ac_check_lib_save_LIBS
6400 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_nanosleep" >&5
6401 echo "${ECHO_T}$ac_cv_lib_rt_nanosleep" >&6
6402 if test $ac_cv_lib_rt_nanosleep = yes; then
6403 vlc_LDFLAGS="${vlc_LDFLAGS} -lrt"; have_nanosleep=1
6405 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
6406 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
6407 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
6408 echo $ECHO_N "(cached) $ECHO_C" >&6
6410 ac_check_lib_save_LIBS=$LIBS
6411 LIBS="-lposix4 $LIBS"
6412 cat >conftest.$ac_ext <<_ACEOF
6413 #line $LINENO "configure"
6414 #include "confdefs.h"
6416 /* Override any gcc2 internal prototype to avoid an error. */
6420 /* We use char because int might match the return type of a gcc2
6421 builtin and then its argument prototype would still apply. */
6423 #ifdef F77_DUMMY_MAIN
6427 int F77_DUMMY_MAIN() { return 1; }
6437 rm -f conftest.$ac_objext conftest$ac_exeext
6438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6439 (eval $ac_link) 2>&5
6441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6442 (exit $ac_status); } &&
6443 { ac_try='test -s conftest$ac_exeext'
6444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6448 (exit $ac_status); }; }; then
6449 ac_cv_lib_posix4_nanosleep=yes
6451 echo "$as_me: failed program was:" >&5
6452 cat conftest.$ac_ext >&5
6453 ac_cv_lib_posix4_nanosleep=no
6455 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6456 LIBS=$ac_check_lib_save_LIBS
6458 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
6459 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
6460 if test $ac_cv_lib_posix4_nanosleep = yes; then
6461 vlc_LDFLAGS="${vlc_LDFLAGS} -lposix4"; have_nanosleep=1
6470 if test x$have_nanosleep = x1; then
6472 cat >>confdefs.h <<\_ACEOF
6473 #define HAVE_NANOSLEEP 1
6477 echo "$as_me:$LINENO: checking for inet_aton" >&5
6478 echo $ECHO_N "checking for inet_aton... $ECHO_C" >&6
6479 if test "${ac_cv_func_inet_aton+set}" = set; then
6480 echo $ECHO_N "(cached) $ECHO_C" >&6
6482 cat >conftest.$ac_ext <<_ACEOF
6483 #line $LINENO "configure"
6484 #include "confdefs.h"
6485 /* System header to define __stub macros and hopefully few prototypes,
6486 which can conflict with char inet_aton (); below. */
6488 /* Override any gcc2 internal prototype to avoid an error. */
6492 /* We use char because int might match the return type of a gcc2
6493 builtin and then its argument prototype would still apply. */
6497 #ifdef F77_DUMMY_MAIN
6501 int F77_DUMMY_MAIN() { return 1; }
6506 /* The GNU C library defines this for functions which it implements
6507 to always fail with ENOSYS. Some functions are actually named
6508 something starting with __ and the normal name is an alias. */
6509 #if defined (__stub_inet_aton) || defined (__stub___inet_aton)
6519 rm -f conftest.$ac_objext conftest$ac_exeext
6520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6521 (eval $ac_link) 2>&5
6523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6524 (exit $ac_status); } &&
6525 { ac_try='test -s conftest$ac_exeext'
6526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6530 (exit $ac_status); }; }; then
6531 ac_cv_func_inet_aton=yes
6533 echo "$as_me: failed program was:" >&5
6534 cat conftest.$ac_ext >&5
6535 ac_cv_func_inet_aton=no
6537 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6539 echo "$as_me:$LINENO: result: $ac_cv_func_inet_aton" >&5
6540 echo "${ECHO_T}$ac_cv_func_inet_aton" >&6
6541 if test $ac_cv_func_inet_aton = yes; then
6545 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
6546 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
6547 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
6548 echo $ECHO_N "(cached) $ECHO_C" >&6
6550 ac_check_lib_save_LIBS=$LIBS
6551 LIBS="-lresolv $LIBS"
6552 cat >conftest.$ac_ext <<_ACEOF
6553 #line $LINENO "configure"
6554 #include "confdefs.h"
6556 /* Override any gcc2 internal prototype to avoid an error. */
6560 /* We use char because int might match the return type of a gcc2
6561 builtin and then its argument prototype would still apply. */
6563 #ifdef F77_DUMMY_MAIN
6567 int F77_DUMMY_MAIN() { return 1; }
6577 rm -f conftest.$ac_objext conftest$ac_exeext
6578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6579 (eval $ac_link) 2>&5
6581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6582 (exit $ac_status); } &&
6583 { ac_try='test -s conftest$ac_exeext'
6584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6588 (exit $ac_status); }; }; then
6589 ac_cv_lib_resolv_inet_aton=yes
6591 echo "$as_me: failed program was:" >&5
6592 cat conftest.$ac_ext >&5
6593 ac_cv_lib_resolv_inet_aton=no
6595 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6596 LIBS=$ac_check_lib_save_LIBS
6598 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
6599 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
6600 if test $ac_cv_lib_resolv_inet_aton = yes; then
6601 ipv4_LDFLAGS="${ipv4_LDFLAGS} -lresolv"
6607 echo "$as_me:$LINENO: checking for textdomain" >&5
6608 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6
6609 if test "${ac_cv_func_textdomain+set}" = set; then
6610 echo $ECHO_N "(cached) $ECHO_C" >&6
6612 cat >conftest.$ac_ext <<_ACEOF
6613 #line $LINENO "configure"
6614 #include "confdefs.h"
6615 /* System header to define __stub macros and hopefully few prototypes,
6616 which can conflict with char textdomain (); below. */
6618 /* Override any gcc2 internal prototype to avoid an error. */
6622 /* We use char because int might match the return type of a gcc2
6623 builtin and then its argument prototype would still apply. */
6627 #ifdef F77_DUMMY_MAIN
6631 int F77_DUMMY_MAIN() { return 1; }
6636 /* The GNU C library defines this for functions which it implements
6637 to always fail with ENOSYS. Some functions are actually named
6638 something starting with __ and the normal name is an alias. */
6639 #if defined (__stub_textdomain) || defined (__stub___textdomain)
6649 rm -f conftest.$ac_objext conftest$ac_exeext
6650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6651 (eval $ac_link) 2>&5
6653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6654 (exit $ac_status); } &&
6655 { ac_try='test -s conftest$ac_exeext'
6656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6660 (exit $ac_status); }; }; then
6661 ac_cv_func_textdomain=yes
6663 echo "$as_me: failed program was:" >&5
6664 cat conftest.$ac_ext >&5
6665 ac_cv_func_textdomain=no
6667 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6669 echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5
6670 echo "${ECHO_T}$ac_cv_func_textdomain" >&6
6671 if test $ac_cv_func_textdomain = yes; then
6675 echo "$as_me:$LINENO: checking for textdomain in -lintl" >&5
6676 echo $ECHO_N "checking for textdomain in -lintl... $ECHO_C" >&6
6677 if test "${ac_cv_lib_intl_textdomain+set}" = set; then
6678 echo $ECHO_N "(cached) $ECHO_C" >&6
6680 ac_check_lib_save_LIBS=$LIBS
6682 cat >conftest.$ac_ext <<_ACEOF
6683 #line $LINENO "configure"
6684 #include "confdefs.h"
6686 /* Override any gcc2 internal prototype to avoid an error. */
6690 /* We use char because int might match the return type of a gcc2
6691 builtin and then its argument prototype would still apply. */
6693 #ifdef F77_DUMMY_MAIN
6697 int F77_DUMMY_MAIN() { return 1; }
6707 rm -f conftest.$ac_objext conftest$ac_exeext
6708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6709 (eval $ac_link) 2>&5
6711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6712 (exit $ac_status); } &&
6713 { ac_try='test -s conftest$ac_exeext'
6714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6718 (exit $ac_status); }; }; then
6719 ac_cv_lib_intl_textdomain=yes
6721 echo "$as_me: failed program was:" >&5
6722 cat conftest.$ac_ext >&5
6723 ac_cv_lib_intl_textdomain=no
6725 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6726 LIBS=$ac_check_lib_save_LIBS
6728 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_textdomain" >&5
6729 echo "${ECHO_T}$ac_cv_lib_intl_textdomain" >&6
6730 if test $ac_cv_lib_intl_textdomain = yes; then
6731 save_LDFLAGS="${save_LDFLAGS} -lintl"
6739 echo "$as_me:$LINENO: checking for getopt_long" >&5
6740 echo $ECHO_N "checking for getopt_long... $ECHO_C" >&6
6741 if test "${ac_cv_func_getopt_long+set}" = set; then
6742 echo $ECHO_N "(cached) $ECHO_C" >&6
6744 cat >conftest.$ac_ext <<_ACEOF
6745 #line $LINENO "configure"
6746 #include "confdefs.h"
6747 /* System header to define __stub macros and hopefully few prototypes,
6748 which can conflict with char getopt_long (); below. */
6750 /* Override any gcc2 internal prototype to avoid an error. */
6754 /* We use char because int might match the return type of a gcc2
6755 builtin and then its argument prototype would still apply. */
6756 char getopt_long ();
6759 #ifdef F77_DUMMY_MAIN
6763 int F77_DUMMY_MAIN() { return 1; }
6768 /* The GNU C library defines this for functions which it implements
6769 to always fail with ENOSYS. Some functions are actually named
6770 something starting with __ and the normal name is an alias. */
6771 #if defined (__stub_getopt_long) || defined (__stub___getopt_long)
6781 rm -f conftest.$ac_objext conftest$ac_exeext
6782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6783 (eval $ac_link) 2>&5
6785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6786 (exit $ac_status); } &&
6787 { ac_try='test -s conftest$ac_exeext'
6788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6792 (exit $ac_status); }; }; then
6793 ac_cv_func_getopt_long=yes
6795 echo "$as_me: failed program was:" >&5
6796 cat conftest.$ac_ext >&5
6797 ac_cv_func_getopt_long=no
6799 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6801 echo "$as_me:$LINENO: result: $ac_cv_func_getopt_long" >&5
6802 echo "${ECHO_T}$ac_cv_func_getopt_long" >&6
6803 if test $ac_cv_func_getopt_long = yes; then
6805 cat >>confdefs.h <<\_ACEOF
6806 #define HAVE_GETOPT_LONG 1
6810 # FreeBSD has a gnugetopt library for this:
6811 echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5
6812 echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6
6813 if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
6814 echo $ECHO_N "(cached) $ECHO_C" >&6
6816 ac_check_lib_save_LIBS=$LIBS
6817 LIBS="-lgnugetopt $LIBS"
6818 cat >conftest.$ac_ext <<_ACEOF
6819 #line $LINENO "configure"
6820 #include "confdefs.h"
6822 /* Override any gcc2 internal prototype to avoid an error. */
6826 /* We use char because int might match the return type of a gcc2
6827 builtin and then its argument prototype would still apply. */
6828 char getopt_long ();
6829 #ifdef F77_DUMMY_MAIN
6833 int F77_DUMMY_MAIN() { return 1; }
6843 rm -f conftest.$ac_objext conftest$ac_exeext
6844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6845 (eval $ac_link) 2>&5
6847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6848 (exit $ac_status); } &&
6849 { ac_try='test -s conftest$ac_exeext'
6850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6854 (exit $ac_status); }; }; then
6855 ac_cv_lib_gnugetopt_getopt_long=yes
6857 echo "$as_me: failed program was:" >&5
6858 cat conftest.$ac_ext >&5
6859 ac_cv_lib_gnugetopt_getopt_long=no
6861 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6862 LIBS=$ac_check_lib_save_LIBS
6864 echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
6865 echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6
6866 if test $ac_cv_lib_gnugetopt_getopt_long = yes; then
6868 cat >>confdefs.h <<\_ACEOF
6869 #define HAVE_GETOPT_LONG 1
6871 vlc_LDFLAGS="${vlc_LDFLAGS} -lgnugetopt"
6879 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6880 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
6881 if test "${ac_cv_type_signal+set}" = set; then
6882 echo $ECHO_N "(cached) $ECHO_C" >&6
6884 cat >conftest.$ac_ext <<_ACEOF
6885 #line $LINENO "configure"
6886 #include "confdefs.h"
6887 #include <sys/types.h>
6893 extern "C" void (*signal (int, void (*)(int)))(int);
6895 void (*signal ()) ();
6898 #ifdef F77_DUMMY_MAIN
6902 int F77_DUMMY_MAIN() { return 1; }
6912 rm -f conftest.$ac_objext
6913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6914 (eval $ac_compile) 2>&5
6916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6917 (exit $ac_status); } &&
6918 { ac_try='test -s conftest.$ac_objext'
6919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6923 (exit $ac_status); }; }; then
6924 ac_cv_type_signal=void
6926 echo "$as_me: failed program was:" >&5
6927 cat conftest.$ac_ext >&5
6928 ac_cv_type_signal=int
6930 rm -f conftest.$ac_objext conftest.$ac_ext
6932 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6933 echo "${ECHO_T}$ac_cv_type_signal" >&6
6935 cat >>confdefs.h <<_ACEOF
6936 #define RETSIGTYPE $ac_cv_type_signal
6940 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
6941 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
6942 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
6943 echo $ECHO_N "(cached) $ECHO_C" >&6
6945 ac_check_lib_save_LIBS=$LIBS
6947 cat >conftest.$ac_ext <<_ACEOF
6948 #line $LINENO "configure"
6949 #include "confdefs.h"
6951 /* Override any gcc2 internal prototype to avoid an error. */
6955 /* We use char because int might match the return type of a gcc2
6956 builtin and then its argument prototype would still apply. */
6958 #ifdef F77_DUMMY_MAIN
6962 int F77_DUMMY_MAIN() { return 1; }
6972 rm -f conftest.$ac_objext conftest$ac_exeext
6973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6974 (eval $ac_link) 2>&5
6976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6977 (exit $ac_status); } &&
6978 { ac_try='test -s conftest$ac_exeext'
6979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6983 (exit $ac_status); }; }; then
6984 ac_cv_lib_dl_dlopen=yes
6986 echo "$as_me: failed program was:" >&5
6987 cat conftest.$ac_ext >&5
6988 ac_cv_lib_dl_dlopen=no
6990 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6991 LIBS=$ac_check_lib_save_LIBS
6993 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
6994 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
6995 if test $ac_cv_lib_dl_dlopen = yes; then
6996 vlc_LDFLAGS="${vlc_LDFLAGS} -ldl"
6999 echo "$as_me:$LINENO: checking for cos in -lm" >&5
7000 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
7001 if test "${ac_cv_lib_m_cos+set}" = set; then
7002 echo $ECHO_N "(cached) $ECHO_C" >&6
7004 ac_check_lib_save_LIBS=$LIBS
7006 cat >conftest.$ac_ext <<_ACEOF
7007 #line $LINENO "configure"
7008 #include "confdefs.h"
7010 /* Override any gcc2 internal prototype to avoid an error. */
7014 /* We use char because int might match the return type of a gcc2
7015 builtin and then its argument prototype would still apply. */
7017 #ifdef F77_DUMMY_MAIN
7021 int F77_DUMMY_MAIN() { return 1; }
7031 rm -f conftest.$ac_objext conftest$ac_exeext
7032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7033 (eval $ac_link) 2>&5
7035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7036 (exit $ac_status); } &&
7037 { ac_try='test -s conftest$ac_exeext'
7038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7042 (exit $ac_status); }; }; then
7045 echo "$as_me: failed program was:" >&5
7046 cat conftest.$ac_ext >&5
7049 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7050 LIBS=$ac_check_lib_save_LIBS
7052 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
7053 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
7054 if test $ac_cv_lib_m_cos = yes; then
7055 imdct_LDFLAGS="${imdct_LDFLAGS} -lm"
7056 filter_distort_LDFLAGS="${filter_distort_LDFLAGS} -lm"
7059 echo "$as_me:$LINENO: checking for pow in -lm" >&5
7060 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
7061 if test "${ac_cv_lib_m_pow+set}" = set; then
7062 echo $ECHO_N "(cached) $ECHO_C" >&6
7064 ac_check_lib_save_LIBS=$LIBS
7066 cat >conftest.$ac_ext <<_ACEOF
7067 #line $LINENO "configure"
7068 #include "confdefs.h"
7070 /* Override any gcc2 internal prototype to avoid an error. */
7074 /* We use char because int might match the return type of a gcc2
7075 builtin and then its argument prototype would still apply. */
7077 #ifdef F77_DUMMY_MAIN
7081 int F77_DUMMY_MAIN() { return 1; }
7091 rm -f conftest.$ac_objext conftest$ac_exeext
7092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7093 (eval $ac_link) 2>&5
7095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7096 (exit $ac_status); } &&
7097 { ac_try='test -s conftest$ac_exeext'
7098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7102 (exit $ac_status); }; }; then
7105 echo "$as_me: failed program was:" >&5
7106 cat conftest.$ac_ext >&5
7109 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7110 LIBS=$ac_check_lib_save_LIBS
7112 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
7113 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
7114 if test $ac_cv_lib_m_pow = yes; then
7115 imdct_LDFLAGS="${imdct_LDFLAGS} -lm"
7116 imdct3dn_LDFLAGS="${imdct3dn_LDFLAGS} -lm"
7117 imdctsse_LDFLAGS="${imdctsse_LDFLAGS} -lm"
7118 chroma_i420_rgb_LDFLAGS="${chroma_i420_rgb_LDFLAGS} -lm"
7124 if test "x${THREAD_LIB}" = xerror; then
7125 echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthread" >&5
7126 echo $ECHO_N "checking for pthread_attr_init in -lpthread... $ECHO_C" >&6
7127 if test "${ac_cv_lib_pthread_pthread_attr_init+set}" = set; then
7128 echo $ECHO_N "(cached) $ECHO_C" >&6
7130 ac_check_lib_save_LIBS=$LIBS
7131 LIBS="-lpthread $LIBS"
7132 cat >conftest.$ac_ext <<_ACEOF
7133 #line $LINENO "configure"
7134 #include "confdefs.h"
7136 /* Override any gcc2 internal prototype to avoid an error. */
7140 /* We use char because int might match the return type of a gcc2
7141 builtin and then its argument prototype would still apply. */
7142 char pthread_attr_init ();
7143 #ifdef F77_DUMMY_MAIN
7147 int F77_DUMMY_MAIN() { return 1; }
7152 pthread_attr_init ();
7157 rm -f conftest.$ac_objext conftest$ac_exeext
7158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7159 (eval $ac_link) 2>&5
7161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7162 (exit $ac_status); } &&
7163 { ac_try='test -s conftest$ac_exeext'
7164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7168 (exit $ac_status); }; }; then
7169 ac_cv_lib_pthread_pthread_attr_init=yes
7171 echo "$as_me: failed program was:" >&5
7172 cat conftest.$ac_ext >&5
7173 ac_cv_lib_pthread_pthread_attr_init=no
7175 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7176 LIBS=$ac_check_lib_save_LIBS
7178 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_attr_init" >&5
7179 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_attr_init" >&6
7180 if test $ac_cv_lib_pthread_pthread_attr_init = yes; then
7181 THREAD_LIB="-lpthread"
7185 if test "x${THREAD_LIB}" = xerror; then
7186 echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthreads" >&5
7187 echo $ECHO_N "checking for pthread_attr_init in -lpthreads... $ECHO_C" >&6
7188 if test "${ac_cv_lib_pthreads_pthread_attr_init+set}" = set; then
7189 echo $ECHO_N "(cached) $ECHO_C" >&6
7191 ac_check_lib_save_LIBS=$LIBS
7192 LIBS="-lpthreads $LIBS"
7193 cat >conftest.$ac_ext <<_ACEOF
7194 #line $LINENO "configure"
7195 #include "confdefs.h"
7197 /* Override any gcc2 internal prototype to avoid an error. */
7201 /* We use char because int might match the return type of a gcc2
7202 builtin and then its argument prototype would still apply. */
7203 char pthread_attr_init ();
7204 #ifdef F77_DUMMY_MAIN
7208 int F77_DUMMY_MAIN() { return 1; }
7213 pthread_attr_init ();
7218 rm -f conftest.$ac_objext conftest$ac_exeext
7219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7220 (eval $ac_link) 2>&5
7222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7223 (exit $ac_status); } &&
7224 { ac_try='test -s conftest$ac_exeext'
7225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7229 (exit $ac_status); }; }; then
7230 ac_cv_lib_pthreads_pthread_attr_init=yes
7232 echo "$as_me: failed program was:" >&5
7233 cat conftest.$ac_ext >&5
7234 ac_cv_lib_pthreads_pthread_attr_init=no
7236 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7237 LIBS=$ac_check_lib_save_LIBS
7239 echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_pthread_attr_init" >&5
7240 echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_attr_init" >&6
7241 if test $ac_cv_lib_pthreads_pthread_attr_init = yes; then
7242 THREAD_LIB="-lpthreads"
7246 if test "x${THREAD_LIB}" = xerror; then
7247 echo "$as_me:$LINENO: checking for pthread_attr_init in -lc_r" >&5
7248 echo $ECHO_N "checking for pthread_attr_init in -lc_r... $ECHO_C" >&6
7249 if test "${ac_cv_lib_c_r_pthread_attr_init+set}" = set; then
7250 echo $ECHO_N "(cached) $ECHO_C" >&6
7252 ac_check_lib_save_LIBS=$LIBS
7254 cat >conftest.$ac_ext <<_ACEOF
7255 #line $LINENO "configure"
7256 #include "confdefs.h"
7258 /* Override any gcc2 internal prototype to avoid an error. */
7262 /* We use char because int might match the return type of a gcc2
7263 builtin and then its argument prototype would still apply. */
7264 char pthread_attr_init ();
7265 #ifdef F77_DUMMY_MAIN
7269 int F77_DUMMY_MAIN() { return 1; }
7274 pthread_attr_init ();
7279 rm -f conftest.$ac_objext conftest$ac_exeext
7280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7281 (eval $ac_link) 2>&5
7283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7284 (exit $ac_status); } &&
7285 { ac_try='test -s conftest$ac_exeext'
7286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7290 (exit $ac_status); }; }; then
7291 ac_cv_lib_c_r_pthread_attr_init=yes
7293 echo "$as_me: failed program was:" >&5
7294 cat conftest.$ac_ext >&5
7295 ac_cv_lib_c_r_pthread_attr_init=no
7297 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7298 LIBS=$ac_check_lib_save_LIBS
7300 echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_attr_init" >&5
7301 echo "${ECHO_T}$ac_cv_lib_c_r_pthread_attr_init" >&6
7302 if test $ac_cv_lib_c_r_pthread_attr_init = yes; then
7307 if test "x${THREAD_LIB}" = xerror; then
7308 echo "$as_me:$LINENO: checking for pthread_attr_init" >&5
7309 echo $ECHO_N "checking for pthread_attr_init... $ECHO_C" >&6
7310 if test "${ac_cv_func_pthread_attr_init+set}" = set; then
7311 echo $ECHO_N "(cached) $ECHO_C" >&6
7313 cat >conftest.$ac_ext <<_ACEOF
7314 #line $LINENO "configure"
7315 #include "confdefs.h"
7316 /* System header to define __stub macros and hopefully few prototypes,
7317 which can conflict with char pthread_attr_init (); below. */
7319 /* Override any gcc2 internal prototype to avoid an error. */
7323 /* We use char because int might match the return type of a gcc2
7324 builtin and then its argument prototype would still apply. */
7325 char pthread_attr_init ();
7328 #ifdef F77_DUMMY_MAIN
7332 int F77_DUMMY_MAIN() { return 1; }
7337 /* The GNU C library defines this for functions which it implements
7338 to always fail with ENOSYS. Some functions are actually named
7339 something starting with __ and the normal name is an alias. */
7340 #if defined (__stub_pthread_attr_init) || defined (__stub___pthread_attr_init)
7343 f = pthread_attr_init;
7350 rm -f conftest.$ac_objext conftest$ac_exeext
7351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7352 (eval $ac_link) 2>&5
7354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7355 (exit $ac_status); } &&
7356 { ac_try='test -s conftest$ac_exeext'
7357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7361 (exit $ac_status); }; }; then
7362 ac_cv_func_pthread_attr_init=yes
7364 echo "$as_me: failed program was:" >&5
7365 cat conftest.$ac_ext >&5
7366 ac_cv_func_pthread_attr_init=no
7368 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7370 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_init" >&5
7371 echo "${ECHO_T}$ac_cv_func_pthread_attr_init" >&6
7376 echo "$as_me:$LINENO: checking for cthread_fork in -lthreads" >&5
7377 echo $ECHO_N "checking for cthread_fork in -lthreads... $ECHO_C" >&6
7378 if test "${ac_cv_lib_threads_cthread_fork+set}" = set; then
7379 echo $ECHO_N "(cached) $ECHO_C" >&6
7381 ac_check_lib_save_LIBS=$LIBS
7382 LIBS="-lthreads $LIBS"
7383 cat >conftest.$ac_ext <<_ACEOF
7384 #line $LINENO "configure"
7385 #include "confdefs.h"
7387 /* Override any gcc2 internal prototype to avoid an error. */
7391 /* We use char because int might match the return type of a gcc2
7392 builtin and then its argument prototype would still apply. */
7393 char cthread_fork ();
7394 #ifdef F77_DUMMY_MAIN
7398 int F77_DUMMY_MAIN() { return 1; }
7408 rm -f conftest.$ac_objext conftest$ac_exeext
7409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7410 (eval $ac_link) 2>&5
7412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7413 (exit $ac_status); } &&
7414 { ac_try='test -s conftest$ac_exeext'
7415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7419 (exit $ac_status); }; }; then
7420 ac_cv_lib_threads_cthread_fork=yes
7422 echo "$as_me: failed program was:" >&5
7423 cat conftest.$ac_ext >&5
7424 ac_cv_lib_threads_cthread_fork=no
7426 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7427 LIBS=$ac_check_lib_save_LIBS
7429 echo "$as_me:$LINENO: result: $ac_cv_lib_threads_cthread_fork" >&5
7430 echo "${ECHO_T}$ac_cv_lib_threads_cthread_fork" >&6
7431 if test $ac_cv_lib_threads_cthread_fork = yes; then
7432 THREAD_LIB="-lthreads"
7436 cat >conftest.$ac_ext <<_ACEOF
7437 #line $LINENO "configure"
7438 #include "confdefs.h"
7439 #include <pthread.h>
7442 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7443 egrep "pthread_cond_t" >/dev/null 2>&1; then
7446 cat >>confdefs.h <<\_ACEOF
7447 #define PTHREAD_COND_T_IN_PTHREAD_H 1
7453 cat >conftest.$ac_ext <<_ACEOF
7454 #line $LINENO "configure"
7455 #include "confdefs.h"
7456 #include <strings.h>
7459 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7460 egrep "strncasecmp" >/dev/null 2>&1; then
7463 cat >>confdefs.h <<\_ACEOF
7464 #define STRNCASECMP_IN_STRINGS_H 1
7476 for ac_header in stdint.h getopt.h strings.h inttypes.h sys/int_types.h
7478 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7480 echo "$as_me:$LINENO: checking for $ac_header" >&5
7481 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7482 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7483 echo $ECHO_N "(cached) $ECHO_C" >&6
7485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7486 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7488 # Is the header compilable?
7489 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7490 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7491 cat >conftest.$ac_ext <<_ACEOF
7492 #line $LINENO "configure"
7493 #include "confdefs.h"
7494 $ac_includes_default
7495 #include <$ac_header>
7497 rm -f conftest.$ac_objext
7498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7499 (eval $ac_compile) 2>&5
7501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7502 (exit $ac_status); } &&
7503 { ac_try='test -s conftest.$ac_objext'
7504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7508 (exit $ac_status); }; }; then
7509 ac_header_compiler=yes
7511 echo "$as_me: failed program was:" >&5
7512 cat conftest.$ac_ext >&5
7513 ac_header_compiler=no
7515 rm -f conftest.$ac_objext conftest.$ac_ext
7516 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7517 echo "${ECHO_T}$ac_header_compiler" >&6
7519 # Is the header present?
7520 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7521 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7522 cat >conftest.$ac_ext <<_ACEOF
7523 #line $LINENO "configure"
7524 #include "confdefs.h"
7525 #include <$ac_header>
7527 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7528 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7530 egrep -v '^ *\+' conftest.er1 >conftest.err
7532 cat conftest.err >&5
7533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7534 (exit $ac_status); } >/dev/null; then
7535 if test -s conftest.err; then
7536 ac_cpp_err=$ac_c_preproc_warn_flag
7543 if test -z "$ac_cpp_err"; then
7544 ac_header_preproc=yes
7546 echo "$as_me: failed program was:" >&5
7547 cat conftest.$ac_ext >&5
7548 ac_header_preproc=no
7550 rm -f conftest.err conftest.$ac_ext
7551 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7552 echo "${ECHO_T}$ac_header_preproc" >&6
7554 # So? What about this header?
7555 case $ac_header_compiler:$ac_header_preproc in
7557 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7558 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7559 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7560 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7562 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7563 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7564 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7565 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7566 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7567 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7569 echo "$as_me:$LINENO: checking for $ac_header" >&5
7570 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7571 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7572 echo $ECHO_N "(cached) $ECHO_C" >&6
7574 eval "$as_ac_Header=$ac_header_preproc"
7576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7577 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7580 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7581 cat >>confdefs.h <<_ACEOF
7582 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7594 for ac_header in sys/sockio.h fcntl.h sys/types.h sys/time.h sys/times.h
7596 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7598 echo "$as_me:$LINENO: checking for $ac_header" >&5
7599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7601 echo $ECHO_N "(cached) $ECHO_C" >&6
7603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7604 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7606 # Is the header compilable?
7607 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7608 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7609 cat >conftest.$ac_ext <<_ACEOF
7610 #line $LINENO "configure"
7611 #include "confdefs.h"
7612 $ac_includes_default
7613 #include <$ac_header>
7615 rm -f conftest.$ac_objext
7616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7617 (eval $ac_compile) 2>&5
7619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7620 (exit $ac_status); } &&
7621 { ac_try='test -s conftest.$ac_objext'
7622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7626 (exit $ac_status); }; }; then
7627 ac_header_compiler=yes
7629 echo "$as_me: failed program was:" >&5
7630 cat conftest.$ac_ext >&5
7631 ac_header_compiler=no
7633 rm -f conftest.$ac_objext conftest.$ac_ext
7634 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7635 echo "${ECHO_T}$ac_header_compiler" >&6
7637 # Is the header present?
7638 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7639 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7640 cat >conftest.$ac_ext <<_ACEOF
7641 #line $LINENO "configure"
7642 #include "confdefs.h"
7643 #include <$ac_header>
7645 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7646 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7648 egrep -v '^ *\+' conftest.er1 >conftest.err
7650 cat conftest.err >&5
7651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7652 (exit $ac_status); } >/dev/null; then
7653 if test -s conftest.err; then
7654 ac_cpp_err=$ac_c_preproc_warn_flag
7661 if test -z "$ac_cpp_err"; then
7662 ac_header_preproc=yes
7664 echo "$as_me: failed program was:" >&5
7665 cat conftest.$ac_ext >&5
7666 ac_header_preproc=no
7668 rm -f conftest.err conftest.$ac_ext
7669 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7670 echo "${ECHO_T}$ac_header_preproc" >&6
7672 # So? What about this header?
7673 case $ac_header_compiler:$ac_header_preproc in
7675 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7676 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7677 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7678 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7680 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7681 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7682 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7683 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7684 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7685 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7687 echo "$as_me:$LINENO: checking for $ac_header" >&5
7688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7689 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7690 echo $ECHO_N "(cached) $ECHO_C" >&6
7692 eval "$as_ac_Header=$ac_header_preproc"
7694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7695 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7698 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7699 cat >>confdefs.h <<_ACEOF
7700 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7709 for ac_header in dlfcn.h image.h
7711 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7712 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7713 echo "$as_me:$LINENO: checking for $ac_header" >&5
7714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7716 echo $ECHO_N "(cached) $ECHO_C" >&6
7718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7719 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7721 # Is the header compilable?
7722 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7723 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7724 cat >conftest.$ac_ext <<_ACEOF
7725 #line $LINENO "configure"
7726 #include "confdefs.h"
7727 $ac_includes_default
7728 #include <$ac_header>
7730 rm -f conftest.$ac_objext
7731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7732 (eval $ac_compile) 2>&5
7734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7735 (exit $ac_status); } &&
7736 { ac_try='test -s conftest.$ac_objext'
7737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7741 (exit $ac_status); }; }; then
7742 ac_header_compiler=yes
7744 echo "$as_me: failed program was:" >&5
7745 cat conftest.$ac_ext >&5
7746 ac_header_compiler=no
7748 rm -f conftest.$ac_objext conftest.$ac_ext
7749 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7750 echo "${ECHO_T}$ac_header_compiler" >&6
7752 # Is the header present?
7753 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7754 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7755 cat >conftest.$ac_ext <<_ACEOF
7756 #line $LINENO "configure"
7757 #include "confdefs.h"
7758 #include <$ac_header>
7760 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7761 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7763 egrep -v '^ *\+' conftest.er1 >conftest.err
7765 cat conftest.err >&5
7766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7767 (exit $ac_status); } >/dev/null; then
7768 if test -s conftest.err; then
7769 ac_cpp_err=$ac_c_preproc_warn_flag
7776 if test -z "$ac_cpp_err"; then
7777 ac_header_preproc=yes
7779 echo "$as_me: failed program was:" >&5
7780 cat conftest.$ac_ext >&5
7781 ac_header_preproc=no
7783 rm -f conftest.err conftest.$ac_ext
7784 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7785 echo "${ECHO_T}$ac_header_preproc" >&6
7787 # So? What about this header?
7788 case $ac_header_compiler:$ac_header_preproc in
7790 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7791 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7792 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7793 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7795 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7796 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7797 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7798 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7799 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7800 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7802 echo "$as_me:$LINENO: checking for $ac_header" >&5
7803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7805 echo $ECHO_N "(cached) $ECHO_C" >&6
7807 eval "$as_ac_Header=$ac_header_preproc"
7809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7810 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7813 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7814 cat >>confdefs.h <<_ACEOF
7815 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7826 for ac_header in arpa/inet.h net/if.h netinet/in.h sys/socket.h
7828 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7829 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7830 echo "$as_me:$LINENO: checking for $ac_header" >&5
7831 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7832 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7833 echo $ECHO_N "(cached) $ECHO_C" >&6
7835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7836 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7838 # Is the header compilable?
7839 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7840 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7841 cat >conftest.$ac_ext <<_ACEOF
7842 #line $LINENO "configure"
7843 #include "confdefs.h"
7844 $ac_includes_default
7845 #include <$ac_header>
7847 rm -f conftest.$ac_objext
7848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7849 (eval $ac_compile) 2>&5
7851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7852 (exit $ac_status); } &&
7853 { ac_try='test -s conftest.$ac_objext'
7854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7858 (exit $ac_status); }; }; then
7859 ac_header_compiler=yes
7861 echo "$as_me: failed program was:" >&5
7862 cat conftest.$ac_ext >&5
7863 ac_header_compiler=no
7865 rm -f conftest.$ac_objext conftest.$ac_ext
7866 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7867 echo "${ECHO_T}$ac_header_compiler" >&6
7869 # Is the header present?
7870 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7871 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7872 cat >conftest.$ac_ext <<_ACEOF
7873 #line $LINENO "configure"
7874 #include "confdefs.h"
7875 #include <$ac_header>
7877 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7878 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7880 egrep -v '^ *\+' conftest.er1 >conftest.err
7882 cat conftest.err >&5
7883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7884 (exit $ac_status); } >/dev/null; then
7885 if test -s conftest.err; then
7886 ac_cpp_err=$ac_c_preproc_warn_flag
7893 if test -z "$ac_cpp_err"; then
7894 ac_header_preproc=yes
7896 echo "$as_me: failed program was:" >&5
7897 cat conftest.$ac_ext >&5
7898 ac_header_preproc=no
7900 rm -f conftest.err conftest.$ac_ext
7901 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7902 echo "${ECHO_T}$ac_header_preproc" >&6
7904 # So? What about this header?
7905 case $ac_header_compiler:$ac_header_preproc in
7907 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7908 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7909 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7910 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7912 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7913 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7914 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7915 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7916 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7917 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7919 echo "$as_me:$LINENO: checking for $ac_header" >&5
7920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7922 echo $ECHO_N "(cached) $ECHO_C" >&6
7924 eval "$as_ac_Header=$ac_header_preproc"
7926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7927 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7930 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7931 cat >>confdefs.h <<_ACEOF
7932 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7941 for ac_header in machine/param.h sys/shm.h
7943 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7945 echo "$as_me:$LINENO: checking for $ac_header" >&5
7946 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7947 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7948 echo $ECHO_N "(cached) $ECHO_C" >&6
7950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7951 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7953 # Is the header compilable?
7954 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7955 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7956 cat >conftest.$ac_ext <<_ACEOF
7957 #line $LINENO "configure"
7958 #include "confdefs.h"
7959 $ac_includes_default
7960 #include <$ac_header>
7962 rm -f conftest.$ac_objext
7963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7964 (eval $ac_compile) 2>&5
7966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7967 (exit $ac_status); } &&
7968 { ac_try='test -s conftest.$ac_objext'
7969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7973 (exit $ac_status); }; }; then
7974 ac_header_compiler=yes
7976 echo "$as_me: failed program was:" >&5
7977 cat conftest.$ac_ext >&5
7978 ac_header_compiler=no
7980 rm -f conftest.$ac_objext conftest.$ac_ext
7981 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7982 echo "${ECHO_T}$ac_header_compiler" >&6
7984 # Is the header present?
7985 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7986 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7987 cat >conftest.$ac_ext <<_ACEOF
7988 #line $LINENO "configure"
7989 #include "confdefs.h"
7990 #include <$ac_header>
7992 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7993 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7995 egrep -v '^ *\+' conftest.er1 >conftest.err
7997 cat conftest.err >&5
7998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7999 (exit $ac_status); } >/dev/null; then
8000 if test -s conftest.err; then
8001 ac_cpp_err=$ac_c_preproc_warn_flag
8008 if test -z "$ac_cpp_err"; then
8009 ac_header_preproc=yes
8011 echo "$as_me: failed program was:" >&5
8012 cat conftest.$ac_ext >&5
8013 ac_header_preproc=no
8015 rm -f conftest.err conftest.$ac_ext
8016 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8017 echo "${ECHO_T}$ac_header_preproc" >&6
8019 # So? What about this header?
8020 case $ac_header_compiler:$ac_header_preproc in
8022 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8023 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8024 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8025 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8027 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8028 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8029 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8030 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8031 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8032 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8034 echo "$as_me:$LINENO: checking for $ac_header" >&5
8035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8037 echo $ECHO_N "(cached) $ECHO_C" >&6
8039 eval "$as_ac_Header=$ac_header_preproc"
8041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8042 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8045 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8046 cat >>confdefs.h <<_ACEOF
8047 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8055 for ac_header in linux/version.h
8057 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8058 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8059 echo "$as_me:$LINENO: checking for $ac_header" >&5
8060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8062 echo $ECHO_N "(cached) $ECHO_C" >&6
8064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8065 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8067 # Is the header compilable?
8068 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8069 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8070 cat >conftest.$ac_ext <<_ACEOF
8071 #line $LINENO "configure"
8072 #include "confdefs.h"
8073 $ac_includes_default
8074 #include <$ac_header>
8076 rm -f conftest.$ac_objext
8077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8078 (eval $ac_compile) 2>&5
8080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8081 (exit $ac_status); } &&
8082 { ac_try='test -s conftest.$ac_objext'
8083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8087 (exit $ac_status); }; }; then
8088 ac_header_compiler=yes
8090 echo "$as_me: failed program was:" >&5
8091 cat conftest.$ac_ext >&5
8092 ac_header_compiler=no
8094 rm -f conftest.$ac_objext conftest.$ac_ext
8095 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8096 echo "${ECHO_T}$ac_header_compiler" >&6
8098 # Is the header present?
8099 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8100 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8101 cat >conftest.$ac_ext <<_ACEOF
8102 #line $LINENO "configure"
8103 #include "confdefs.h"
8104 #include <$ac_header>
8106 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8107 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8109 egrep -v '^ *\+' conftest.er1 >conftest.err
8111 cat conftest.err >&5
8112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8113 (exit $ac_status); } >/dev/null; then
8114 if test -s conftest.err; then
8115 ac_cpp_err=$ac_c_preproc_warn_flag
8122 if test -z "$ac_cpp_err"; then
8123 ac_header_preproc=yes
8125 echo "$as_me: failed program was:" >&5
8126 cat conftest.$ac_ext >&5
8127 ac_header_preproc=no
8129 rm -f conftest.err conftest.$ac_ext
8130 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8131 echo "${ECHO_T}$ac_header_preproc" >&6
8133 # So? What about this header?
8134 case $ac_header_compiler:$ac_header_preproc in
8136 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8137 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8138 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8139 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8141 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8142 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8143 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8144 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8145 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8146 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8148 echo "$as_me:$LINENO: checking for $ac_header" >&5
8149 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8150 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8151 echo $ECHO_N "(cached) $ECHO_C" >&6
8153 eval "$as_ac_Header=$ac_header_preproc"
8155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8156 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8159 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8160 cat >>confdefs.h <<_ACEOF
8161 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8169 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
8170 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
8171 if test "${ac_cv_header_time+set}" = set; then
8172 echo $ECHO_N "(cached) $ECHO_C" >&6
8174 cat >conftest.$ac_ext <<_ACEOF
8175 #line $LINENO "configure"
8176 #include "confdefs.h"
8177 #include <sys/types.h>
8178 #include <sys/time.h>
8181 #ifdef F77_DUMMY_MAIN
8185 int F77_DUMMY_MAIN() { return 1; }
8190 if ((struct tm *) 0)
8196 rm -f conftest.$ac_objext
8197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8198 (eval $ac_compile) 2>&5
8200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8201 (exit $ac_status); } &&
8202 { ac_try='test -s conftest.$ac_objext'
8203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8207 (exit $ac_status); }; }; then
8208 ac_cv_header_time=yes
8210 echo "$as_me: failed program was:" >&5
8211 cat conftest.$ac_ext >&5
8212 ac_cv_header_time=no
8214 rm -f conftest.$ac_objext conftest.$ac_ext
8216 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
8217 echo "${ECHO_T}$ac_cv_header_time" >&6
8218 if test $ac_cv_header_time = yes; then
8220 cat >>confdefs.h <<\_ACEOF
8221 #define TIME_WITH_SYS_TIME 1
8227 cat >conftest.$ac_ext <<_ACEOF
8228 #line $LINENO "configure"
8229 #include "confdefs.h"
8233 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8234 egrep "nanosleep" >/dev/null 2>&1; then
8237 cat >>confdefs.h <<\_ACEOF
8238 #define HAVE_DECL_NANOSLEEP 1
8246 cat >conftest.$ac_ext <<_ACEOF
8247 #line $LINENO "configure"
8248 #include "confdefs.h"
8249 #include <sys/time.h>
8252 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8253 egrep "timespec" >/dev/null 2>&1; then
8256 cat >>confdefs.h <<\_ACEOF
8257 #define HAVE_STRUCT_TIMESPEC 1
8269 for ac_header in cthreads.h pthread.h kernel/scheduler.h kernel/OS.h
8271 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8272 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8273 echo "$as_me:$LINENO: checking for $ac_header" >&5
8274 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8275 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8276 echo $ECHO_N "(cached) $ECHO_C" >&6
8278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8279 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8281 # Is the header compilable?
8282 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8283 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8284 cat >conftest.$ac_ext <<_ACEOF
8285 #line $LINENO "configure"
8286 #include "confdefs.h"
8287 $ac_includes_default
8288 #include <$ac_header>
8290 rm -f conftest.$ac_objext
8291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8292 (eval $ac_compile) 2>&5
8294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8295 (exit $ac_status); } &&
8296 { ac_try='test -s conftest.$ac_objext'
8297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8301 (exit $ac_status); }; }; then
8302 ac_header_compiler=yes
8304 echo "$as_me: failed program was:" >&5
8305 cat conftest.$ac_ext >&5
8306 ac_header_compiler=no
8308 rm -f conftest.$ac_objext conftest.$ac_ext
8309 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8310 echo "${ECHO_T}$ac_header_compiler" >&6
8312 # Is the header present?
8313 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8314 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8315 cat >conftest.$ac_ext <<_ACEOF
8316 #line $LINENO "configure"
8317 #include "confdefs.h"
8318 #include <$ac_header>
8320 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8321 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8323 egrep -v '^ *\+' conftest.er1 >conftest.err
8325 cat conftest.err >&5
8326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8327 (exit $ac_status); } >/dev/null; then
8328 if test -s conftest.err; then
8329 ac_cpp_err=$ac_c_preproc_warn_flag
8336 if test -z "$ac_cpp_err"; then
8337 ac_header_preproc=yes
8339 echo "$as_me: failed program was:" >&5
8340 cat conftest.$ac_ext >&5
8341 ac_header_preproc=no
8343 rm -f conftest.err conftest.$ac_ext
8344 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8345 echo "${ECHO_T}$ac_header_preproc" >&6
8347 # So? What about this header?
8348 case $ac_header_compiler:$ac_header_preproc in
8350 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8351 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8352 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8353 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8355 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8356 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8357 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8358 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8359 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8360 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8362 echo "$as_me:$LINENO: checking for $ac_header" >&5
8363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8364 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8365 echo $ECHO_N "(cached) $ECHO_C" >&6
8367 eval "$as_ac_Header=$ac_header_preproc"
8369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8370 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8373 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8374 cat >>confdefs.h <<_ACEOF
8375 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8383 if test x$SYS != xmingw32
8385 if test x$x_includes = xNONE; then
8386 x_includes=/usr/X11R6/include
8388 if test x$x_libraries = xNONE; then
8389 x_libraries=/usr/X11R6/lib
8391 CPPFLAGS="$save_CPPFLAGS -I$x_includes"
8393 for ac_header in X11/extensions/dpms.h
8395 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8397 echo "$as_me:$LINENO: checking for $ac_header" >&5
8398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8400 echo $ECHO_N "(cached) $ECHO_C" >&6
8402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8403 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8405 # Is the header compilable?
8406 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8407 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8408 cat >conftest.$ac_ext <<_ACEOF
8409 #line $LINENO "configure"
8410 #include "confdefs.h"
8411 $ac_includes_default
8412 #include <$ac_header>
8414 rm -f conftest.$ac_objext
8415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8416 (eval $ac_compile) 2>&5
8418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8419 (exit $ac_status); } &&
8420 { ac_try='test -s conftest.$ac_objext'
8421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8425 (exit $ac_status); }; }; then
8426 ac_header_compiler=yes
8428 echo "$as_me: failed program was:" >&5
8429 cat conftest.$ac_ext >&5
8430 ac_header_compiler=no
8432 rm -f conftest.$ac_objext conftest.$ac_ext
8433 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8434 echo "${ECHO_T}$ac_header_compiler" >&6
8436 # Is the header present?
8437 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8438 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8439 cat >conftest.$ac_ext <<_ACEOF
8440 #line $LINENO "configure"
8441 #include "confdefs.h"
8442 #include <$ac_header>
8444 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8445 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8447 egrep -v '^ *\+' conftest.er1 >conftest.err
8449 cat conftest.err >&5
8450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8451 (exit $ac_status); } >/dev/null; then
8452 if test -s conftest.err; then
8453 ac_cpp_err=$ac_c_preproc_warn_flag
8460 if test -z "$ac_cpp_err"; then
8461 ac_header_preproc=yes
8463 echo "$as_me: failed program was:" >&5
8464 cat conftest.$ac_ext >&5
8465 ac_header_preproc=no
8467 rm -f conftest.err conftest.$ac_ext
8468 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8469 echo "${ECHO_T}$ac_header_preproc" >&6
8471 # So? What about this header?
8472 case $ac_header_compiler:$ac_header_preproc in
8474 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8475 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8476 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8477 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8479 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8480 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8481 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8482 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8484 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8486 echo "$as_me:$LINENO: checking for $ac_header" >&5
8487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8489 echo $ECHO_N "(cached) $ECHO_C" >&6
8491 eval "$as_ac_Header=$ac_header_preproc"
8493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8494 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8497 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8498 cat >>confdefs.h <<_ACEOF
8499 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8502 cat >conftest.$ac_ext <<_ACEOF
8503 #line $LINENO "configure"
8504 #include "confdefs.h"
8505 #include <X11/extensions/dpms.h>
8508 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8509 egrep "DPMSInfo" >/dev/null 2>&1; then
8512 cat >>confdefs.h <<\_ACEOF
8513 #define DPMSINFO_IN_DPMS_H 1
8525 CPPFLAGS="$save_CPPFLAGS"
8528 echo "$as_me:$LINENO: checking for ntohl in sys/param.h" >&5
8529 echo $ECHO_N "checking for ntohl in sys/param.h... $ECHO_C" >&6
8530 if test "${ac_cv_c_ntohl_sys_param_h+set}" = set; then
8531 echo $ECHO_N "(cached) $ECHO_C" >&6
8533 CFLAGS="${save_CFLAGS} -Wall -Werror"
8534 cat >conftest.$ac_ext <<_ACEOF
8535 #line $LINENO "configure"
8536 #include "confdefs.h"
8537 #include <sys/param.h>
8538 #ifdef F77_DUMMY_MAIN
8542 int F77_DUMMY_MAIN() { return 1; }
8547 void foo() { int meuh; ntohl(meuh); }
8552 rm -f conftest.$ac_objext
8553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8554 (eval $ac_compile) 2>&5
8556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8557 (exit $ac_status); } &&
8558 { ac_try='test -s conftest.$ac_objext'
8559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8563 (exit $ac_status); }; }; then
8564 ac_cv_c_ntohl_sys_param_h=yes
8566 echo "$as_me: failed program was:" >&5
8567 cat conftest.$ac_ext >&5
8568 ac_cv_c_ntohl_sys_param_h=no
8570 rm -f conftest.$ac_objext conftest.$ac_ext
8572 echo "$as_me:$LINENO: result: $ac_cv_c_ntohl_sys_param_h" >&5
8573 echo "${ECHO_T}$ac_cv_c_ntohl_sys_param_h" >&6
8574 if test x"$ac_cv_c_ntohl_sys_param_h" != x"no"; then
8576 cat >>confdefs.h <<\_ACEOF
8577 #define NTOHL_IN_SYS_PARAM_H 1
8582 echo "$as_me:$LINENO: checking if \$CC accepts -finline-limit" >&5
8583 echo $ECHO_N "checking if \$CC accepts -finline-limit... $ECHO_C" >&6
8584 if test "${ac_cv_c_inline_limit+set}" = set; then
8585 echo $ECHO_N "(cached) $ECHO_C" >&6
8587 CFLAGS="${save_CFLAGS} -finline-limit-30000"
8588 cat >conftest.$ac_ext <<_ACEOF
8589 #line $LINENO "configure"
8590 #include "confdefs.h"
8592 #ifdef F77_DUMMY_MAIN
8596 int F77_DUMMY_MAIN() { return 1; }
8606 rm -f conftest.$ac_objext
8607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8608 (eval $ac_compile) 2>&5
8610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8611 (exit $ac_status); } &&
8612 { ac_try='test -s conftest.$ac_objext'
8613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8617 (exit $ac_status); }; }; then
8618 ac_cv_c_inline_limit=yes
8620 echo "$as_me: failed program was:" >&5
8621 cat conftest.$ac_ext >&5
8622 ac_cv_c_inline_limit=no
8624 rm -f conftest.$ac_objext conftest.$ac_ext
8626 echo "$as_me:$LINENO: result: $ac_cv_c_inline_limit" >&5
8627 echo "${ECHO_T}$ac_cv_c_inline_limit" >&6
8628 if test x"$ac_cv_c_inline_limit" != x"no"; then
8629 save_CFLAGS="${save_CFLAGS} -finline-limit-30000"
8632 echo "$as_me:$LINENO: checking if \$CC accepts -Wall -Winline" >&5
8633 echo $ECHO_N "checking if \$CC accepts -Wall -Winline... $ECHO_C" >&6
8634 if test "${ac_cv_c_Wall_Winline+set}" = set; then
8635 echo $ECHO_N "(cached) $ECHO_C" >&6
8637 CFLAGS="${save_CFLAGS} -Wall -Winline"
8638 cat >conftest.$ac_ext <<_ACEOF
8639 #line $LINENO "configure"
8640 #include "confdefs.h"
8642 #ifdef F77_DUMMY_MAIN
8646 int F77_DUMMY_MAIN() { return 1; }
8656 rm -f conftest.$ac_objext
8657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8658 (eval $ac_compile) 2>&5
8660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8661 (exit $ac_status); } &&
8662 { ac_try='test -s conftest.$ac_objext'
8663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8667 (exit $ac_status); }; }; then
8668 ac_cv_c_Wall_Winline=yes
8670 echo "$as_me: failed program was:" >&5
8671 cat conftest.$ac_ext >&5
8672 ac_cv_c_Wall_Winline=no
8674 rm -f conftest.$ac_objext conftest.$ac_ext
8676 echo "$as_me:$LINENO: result: $ac_cv_c_Wall_Winline" >&5
8677 echo "${ECHO_T}$ac_cv_c_Wall_Winline" >&6
8678 if test x"$ac_cv_c_Wall_Winline" != x"no"; then
8679 save_CFLAGS="${save_CFLAGS} -Wall -Winline"
8681 echo "$as_me:$LINENO: checking if \$CC accepts -wall -winline" >&5
8682 echo $ECHO_N "checking if \$CC accepts -wall -winline... $ECHO_C" >&6
8683 if test "${ac_cv_c_wall_winline+set}" = set; then
8684 echo $ECHO_N "(cached) $ECHO_C" >&6
8686 CFLAGS="${save_CFLAGS} -wall -winline"
8687 cat >conftest.$ac_ext <<_ACEOF
8688 #line $LINENO "configure"
8689 #include "confdefs.h"
8691 #ifdef F77_DUMMY_MAIN
8695 int F77_DUMMY_MAIN() { return 1; }
8705 rm -f conftest.$ac_objext
8706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8707 (eval $ac_compile) 2>&5
8709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8710 (exit $ac_status); } &&
8711 { ac_try='test -s conftest.$ac_objext'
8712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8716 (exit $ac_status); }; }; then
8717 ac_cv_c_wall_winline=yes
8719 echo "$as_me: failed program was:" >&5
8720 cat conftest.$ac_ext >&5
8721 ac_cv_c_wall_winline=no
8723 rm -f conftest.$ac_objext conftest.$ac_ext
8725 echo "$as_me:$LINENO: result: $ac_cv_c_wall_winline" >&5
8726 echo "${ECHO_T}$ac_cv_c_wall_winline" >&6
8727 if test x"$ac_cv_c_wall_winline" != x"no"; then
8728 save_CFLAGS="${save_CFLAGS} -wall -winline"
8732 echo "$as_me:$LINENO: checking if \$CC accepts -pipe" >&5
8733 echo $ECHO_N "checking if \$CC accepts -pipe... $ECHO_C" >&6
8734 if test "${ac_cv_c_pipe+set}" = set; then
8735 echo $ECHO_N "(cached) $ECHO_C" >&6
8737 CFLAGS="${save_CFLAGS} -pipe"
8738 cat >conftest.$ac_ext <<_ACEOF
8739 #line $LINENO "configure"
8740 #include "confdefs.h"
8742 #ifdef F77_DUMMY_MAIN
8746 int F77_DUMMY_MAIN() { return 1; }
8756 rm -f conftest.$ac_objext
8757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8758 (eval $ac_compile) 2>&5
8760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8761 (exit $ac_status); } &&
8762 { ac_try='test -s conftest.$ac_objext'
8763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8767 (exit $ac_status); }; }; then
8770 echo "$as_me: failed program was:" >&5
8771 cat conftest.$ac_ext >&5
8774 rm -f conftest.$ac_objext conftest.$ac_ext
8776 echo "$as_me:$LINENO: result: $ac_cv_c_pipe" >&5
8777 echo "${ECHO_T}$ac_cv_c_pipe" >&6
8778 if test x"$ac_cv_c_pipe" != x"no"; then
8779 save_CFLAGS="${save_CFLAGS} -pipe"
8782 echo "$as_me:$LINENO: checking if \$CC accepts -O3" >&5
8783 echo $ECHO_N "checking if \$CC accepts -O3... $ECHO_C" >&6
8784 if test "${ac_cv_c_o3+set}" = set; then
8785 echo $ECHO_N "(cached) $ECHO_C" >&6
8787 CFLAGS="${save_CFLAGS} -O3"
8788 cat >conftest.$ac_ext <<_ACEOF
8789 #line $LINENO "configure"
8790 #include "confdefs.h"
8792 #ifdef F77_DUMMY_MAIN
8796 int F77_DUMMY_MAIN() { return 1; }
8806 rm -f conftest.$ac_objext
8807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8808 (eval $ac_compile) 2>&5
8810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8811 (exit $ac_status); } &&
8812 { ac_try='test -s conftest.$ac_objext'
8813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8817 (exit $ac_status); }; }; then
8820 echo "$as_me: failed program was:" >&5
8821 cat conftest.$ac_ext >&5
8824 rm -f conftest.$ac_objext conftest.$ac_ext
8826 echo "$as_me:$LINENO: result: $ac_cv_c_o3" >&5
8827 echo "${ECHO_T}$ac_cv_c_o3" >&6
8828 if test x"$ac_cv_c_o3" != x"no"; then
8829 CFLAGS_OPTIM="${CFLAGS_OPTIM} -O3"
8831 echo "$as_me:$LINENO: checking if \$CC accepts -O2" >&5
8832 echo $ECHO_N "checking if \$CC accepts -O2... $ECHO_C" >&6
8833 if test "${ac_cv_c_o2+set}" = set; then
8834 echo $ECHO_N "(cached) $ECHO_C" >&6
8836 CFLAGS="${save_CFLAGS} -O2"
8837 cat >conftest.$ac_ext <<_ACEOF
8838 #line $LINENO "configure"
8839 #include "confdefs.h"
8841 #ifdef F77_DUMMY_MAIN
8845 int F77_DUMMY_MAIN() { return 1; }
8855 rm -f conftest.$ac_objext
8856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8857 (eval $ac_compile) 2>&5
8859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8860 (exit $ac_status); } &&
8861 { ac_try='test -s conftest.$ac_objext'
8862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8866 (exit $ac_status); }; }; then
8869 echo "$as_me: failed program was:" >&5
8870 cat conftest.$ac_ext >&5
8873 rm -f conftest.$ac_objext conftest.$ac_ext
8875 echo "$as_me:$LINENO: result: $ac_cv_c_o2" >&5
8876 echo "${ECHO_T}$ac_cv_c_o2" >&6
8877 if test x"$ac_cv_c_o2" != x"no"; then
8878 CFLAGS_OPTIM="${CFLAGS_OPTIM} -O2"
8880 echo "$as_me:$LINENO: checking if \$CC accepts -O" >&5
8881 echo $ECHO_N "checking if \$CC accepts -O... $ECHO_C" >&6
8882 if test "${ac_cv_c_o+set}" = set; then
8883 echo $ECHO_N "(cached) $ECHO_C" >&6
8885 CFLAGS="${save_CFLAGS} -O"
8886 cat >conftest.$ac_ext <<_ACEOF
8887 #line $LINENO "configure"
8888 #include "confdefs.h"
8890 #ifdef F77_DUMMY_MAIN
8894 int F77_DUMMY_MAIN() { return 1; }
8904 rm -f conftest.$ac_objext
8905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8906 (eval $ac_compile) 2>&5
8908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8909 (exit $ac_status); } &&
8910 { ac_try='test -s conftest.$ac_objext'
8911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915 (exit $ac_status); }; }; then
8918 echo "$as_me: failed program was:" >&5
8919 cat conftest.$ac_ext >&5
8922 rm -f conftest.$ac_objext conftest.$ac_ext
8924 echo "$as_me:$LINENO: result: $ac_cv_c_o" >&5
8925 echo "${ECHO_T}$ac_cv_c_o" >&6
8926 if test x"$ac_cv_c_o" != x"no"; then
8927 CFLAGS_OPTIM="${CFLAGS_OPTIM} -O"
8932 echo "$as_me:$LINENO: checking if \$CC accepts -ffast-math" >&5
8933 echo $ECHO_N "checking if \$CC accepts -ffast-math... $ECHO_C" >&6
8934 if test "${ac_cv_c_fast_math+set}" = set; then
8935 echo $ECHO_N "(cached) $ECHO_C" >&6
8937 CFLAGS="${save_CFLAGS} -ffast-math"
8938 cat >conftest.$ac_ext <<_ACEOF
8939 #line $LINENO "configure"
8940 #include "confdefs.h"
8942 #ifdef F77_DUMMY_MAIN
8946 int F77_DUMMY_MAIN() { return 1; }
8956 rm -f conftest.$ac_objext
8957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8958 (eval $ac_compile) 2>&5
8960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8961 (exit $ac_status); } &&
8962 { ac_try='test -s conftest.$ac_objext'
8963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8967 (exit $ac_status); }; }; then
8968 ac_cv_c_fast_math=yes
8970 echo "$as_me: failed program was:" >&5
8971 cat conftest.$ac_ext >&5
8972 ac_cv_c_fast_math=no
8974 rm -f conftest.$ac_objext conftest.$ac_ext
8976 echo "$as_me:$LINENO: result: $ac_cv_c_fast_math" >&5
8977 echo "${ECHO_T}$ac_cv_c_fast_math" >&6
8978 if test x"$ac_cv_c_fast_math" != x"no"; then
8979 CFLAGS_OPTIM="${CFLAGS_OPTIM} -ffast-math"
8982 echo "$as_me:$LINENO: checking if \$CC accepts -funroll-loops" >&5
8983 echo $ECHO_N "checking if \$CC accepts -funroll-loops... $ECHO_C" >&6
8984 if test "${ac_cv_c_unroll_loops+set}" = set; then
8985 echo $ECHO_N "(cached) $ECHO_C" >&6
8987 CFLAGS="${save_CFLAGS} -funroll-loops"
8988 cat >conftest.$ac_ext <<_ACEOF
8989 #line $LINENO "configure"
8990 #include "confdefs.h"
8992 #ifdef F77_DUMMY_MAIN
8996 int F77_DUMMY_MAIN() { return 1; }
9006 rm -f conftest.$ac_objext
9007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9008 (eval $ac_compile) 2>&5
9010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9011 (exit $ac_status); } &&
9012 { ac_try='test -s conftest.$ac_objext'
9013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9017 (exit $ac_status); }; }; then
9018 ac_cv_c_unroll_loops=yes
9020 echo "$as_me: failed program was:" >&5
9021 cat conftest.$ac_ext >&5
9022 ac_cv_c_unroll_loops=no
9024 rm -f conftest.$ac_objext conftest.$ac_ext
9026 echo "$as_me:$LINENO: result: $ac_cv_c_unroll_loops" >&5
9027 echo "${ECHO_T}$ac_cv_c_unroll_loops" >&6
9028 if test x"$ac_cv_c_unroll_loops" != x"no"; then
9029 CFLAGS_OPTIM="${CFLAGS_OPTIM} -funroll-loops"
9032 echo "$as_me:$LINENO: checking if \$CC accepts -fomit-frame-pointer" >&5
9033 echo $ECHO_N "checking if \$CC accepts -fomit-frame-pointer... $ECHO_C" >&6
9034 if test "${ac_cv_c_omit_frame_pointer+set}" = set; then
9035 echo $ECHO_N "(cached) $ECHO_C" >&6
9037 CFLAGS="${save_CFLAGS} -fomit-frame-pointer"
9038 cat >conftest.$ac_ext <<_ACEOF
9039 #line $LINENO "configure"
9040 #include "confdefs.h"
9042 #ifdef F77_DUMMY_MAIN
9046 int F77_DUMMY_MAIN() { return 1; }
9056 rm -f conftest.$ac_objext
9057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9058 (eval $ac_compile) 2>&5
9060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9061 (exit $ac_status); } &&
9062 { ac_try='test -s conftest.$ac_objext'
9063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9067 (exit $ac_status); }; }; then
9068 ac_cv_c_omit_frame_pointer=yes
9070 echo "$as_me: failed program was:" >&5
9071 cat conftest.$ac_ext >&5
9072 ac_cv_c_omit_frame_pointer=no
9074 rm -f conftest.$ac_objext conftest.$ac_ext
9076 echo "$as_me:$LINENO: result: $ac_cv_c_omit_frame_pointer" >&5
9077 echo "${ECHO_T}$ac_cv_c_omit_frame_pointer" >&6
9078 if test x"$ac_cv_c_omit_frame_pointer" != x"no"; then
9079 CFLAGS_OPTIM_NODEBUG="${CFLAGS_OPTIM_NODEBUG} -fomit-frame-pointer"
9082 if test x$SYS = xmingw32
9084 echo "$as_me:$LINENO: checking if \$CC accepts -mms-bitfields" >&5
9085 echo $ECHO_N "checking if \$CC accepts -mms-bitfields... $ECHO_C" >&6
9086 if test "${ac_cv_c_mms_bitfields+set}" = set; then
9087 echo $ECHO_N "(cached) $ECHO_C" >&6
9089 CFLAGS="${save_CFLAGS} -mms-bitfields"
9090 cat >conftest.$ac_ext <<_ACEOF
9091 #line $LINENO "configure"
9092 #include "confdefs.h"
9094 #ifdef F77_DUMMY_MAIN
9098 int F77_DUMMY_MAIN() { return 1; }
9108 rm -f conftest.$ac_objext
9109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9110 (eval $ac_compile) 2>&5
9112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9113 (exit $ac_status); } &&
9114 { ac_try='test -s conftest.$ac_objext'
9115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9119 (exit $ac_status); }; }; then
9120 ac_cv_c_mms_bitfields=yes
9122 echo "$as_me: failed program was:" >&5
9123 cat conftest.$ac_ext >&5
9124 ac_cv_c_mms_bitfields=no
9126 rm -f conftest.$ac_objext conftest.$ac_ext
9128 echo "$as_me:$LINENO: result: $ac_cv_c_mms_bitfields" >&5
9129 echo "${ECHO_T}$ac_cv_c_mms_bitfields" >&6
9130 if test x"$ac_cv_c_mms_bitfields" != x"no"; then
9131 save_CFLAGS="${save_CFLAGS} -mms-bitfields"
9132 plugins_CFLAGS="${plugins_CFLAGS} -mms-bitfields"
9134 save_CFLAGS="${save_CFLAGS} -fnative-struct"
9135 plugins_CFLAGS="${plugins_CFLAGS} -fnative-struct"
9139 echo "$as_me:$LINENO: checking if \$CC accepts -bundle -undefined error -lcc_dynamic" >&5
9140 echo $ECHO_N "checking if \$CC accepts -bundle -undefined error -lcc_dynamic... $ECHO_C" >&6
9141 if test "${ac_cv_ld_darwin+set}" = set; then
9142 echo $ECHO_N "(cached) $ECHO_C" >&6
9144 CFLAGS="${save_CFLAGS} -bundle -undefined error -lcc_dynamic"
9145 cat >conftest.$ac_ext <<_ACEOF
9146 #line $LINENO "configure"
9147 #include "confdefs.h"
9149 #ifdef F77_DUMMY_MAIN
9153 int F77_DUMMY_MAIN() { return 1; }
9163 rm -f conftest.$ac_objext
9164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9165 (eval $ac_compile) 2>&5
9167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9168 (exit $ac_status); } &&
9169 { ac_try='test -s conftest.$ac_objext'
9170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9174 (exit $ac_status); }; }; then
9177 echo "$as_me: failed program was:" >&5
9178 cat conftest.$ac_ext >&5
9181 rm -f conftest.$ac_objext conftest.$ac_ext
9183 echo "$as_me:$LINENO: result: $ac_cv_ld_darwin" >&5
9184 echo "${ECHO_T}$ac_cv_ld_darwin" >&6
9185 if test x"$ac_cv_ld_darwin" != x"no"; then
9186 plugins_LDFLAGS="${plugins_LDFLAGS} -bundle -undefined error -lcc_dynamic"
9189 echo "$as_me:$LINENO: checking if \$CC accepts -shared" >&5
9190 echo $ECHO_N "checking if \$CC accepts -shared... $ECHO_C" >&6
9191 if test "${ac_cv_ld_plugins+set}" = set; then
9192 echo $ECHO_N "(cached) $ECHO_C" >&6
9194 CFLAGS="${save_CFLAGS} -shared"
9195 cat >conftest.$ac_ext <<_ACEOF
9196 #line $LINENO "configure"
9197 #include "confdefs.h"
9199 #ifdef F77_DUMMY_MAIN
9203 int F77_DUMMY_MAIN() { return 1; }
9213 rm -f conftest.$ac_objext
9214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9215 (eval $ac_compile) 2>&5
9217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9218 (exit $ac_status); } &&
9219 { ac_try='test -s conftest.$ac_objext'
9220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9224 (exit $ac_status); }; }; then
9225 ac_cv_ld_plugins=yes
9227 echo "$as_me: failed program was:" >&5
9228 cat conftest.$ac_ext >&5
9231 rm -f conftest.$ac_objext conftest.$ac_ext
9233 echo "$as_me:$LINENO: result: $ac_cv_ld_plugins" >&5
9234 echo "${ECHO_T}$ac_cv_ld_plugins" >&6
9235 if test x"$ac_cv_ld_plugins" != x"no"; then
9236 plugins_LDFLAGS="${plugins_LDFLAGS} -shared"
9239 echo "$as_me:$LINENO: checking for variadic cpp macros" >&5
9240 echo $ECHO_N "checking for variadic cpp macros... $ECHO_C" >&6
9241 if test "${ac_cv_cpp_variadic_macros+set}" = set; then
9242 echo $ECHO_N "(cached) $ECHO_C" >&6
9244 CFLAGS="${save_CFLAGS}"
9245 cat >conftest.$ac_ext <<_ACEOF
9246 #line $LINENO "configure"
9247 #include "confdefs.h"
9249 #define a(b,c...) printf(b,##c)
9250 #ifdef F77_DUMMY_MAIN
9254 int F77_DUMMY_MAIN() { return 1; }
9259 a("foo");a("%s","bar");a("%s%s","baz","quux");
9264 rm -f conftest.$ac_objext
9265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9266 (eval $ac_compile) 2>&5
9268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9269 (exit $ac_status); } &&
9270 { ac_try='test -s conftest.$ac_objext'
9271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9275 (exit $ac_status); }; }; then
9276 ac_cv_cpp_variadic_macros=yes
9278 echo "$as_me: failed program was:" >&5
9279 cat conftest.$ac_ext >&5
9280 ac_cv_cpp_variadic_macros=no
9282 rm -f conftest.$ac_objext conftest.$ac_ext
9284 echo "$as_me:$LINENO: result: $ac_cv_cpp_variadic_macros" >&5
9285 echo "${ECHO_T}$ac_cv_cpp_variadic_macros" >&6
9286 if test x"$ac_cv_cpp_variadic_macros" != x"no"; then
9288 cat >>confdefs.h <<\_ACEOF
9289 #define HAVE_VARIADIC_MACROS 1
9294 echo "$as_me:$LINENO: checking __attribute__ ((aligned ())) support" >&5
9295 echo $ECHO_N "checking __attribute__ ((aligned ())) support... $ECHO_C" >&6
9296 if test "${ac_cv_c_attribute_aligned+set}" = set; then
9297 echo $ECHO_N "(cached) $ECHO_C" >&6
9299 ac_cv_c_attribute_aligned=0
9300 CFLAGS="${save_CFLAGS} -Werror"
9301 for ac_cv_c_attr_align_try in 2 4 8 16 32 64; do
9302 cat >conftest.$ac_ext <<_ACEOF
9303 #line $LINENO "configure"
9304 #include "confdefs.h"
9306 #ifdef F77_DUMMY_MAIN
9310 int F77_DUMMY_MAIN() { return 1; }
9315 static char c __attribute__ ((aligned($ac_cv_c_attr_align_try))) = 0; return c;
9320 rm -f conftest.$ac_objext
9321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9322 (eval $ac_compile) 2>&5
9324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9325 (exit $ac_status); } &&
9326 { ac_try='test -s conftest.$ac_objext'
9327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9331 (exit $ac_status); }; }; then
9332 ac_cv_c_attribute_aligned=$ac_cv_c_attr_align_try
9334 echo "$as_me: failed program was:" >&5
9335 cat conftest.$ac_ext >&5
9337 rm -f conftest.$ac_objext conftest.$ac_ext
9340 echo "$as_me:$LINENO: result: $ac_cv_c_attribute_aligned" >&5
9341 echo "${ECHO_T}$ac_cv_c_attribute_aligned" >&6
9342 if test x"$ac_cv_c_attribute_aligned" != x"0"; then
9344 cat >>confdefs.h <<_ACEOF
9345 #define ATTRIBUTE_ALIGNED_MAX $ac_cv_c_attribute_aligned
9350 CFLAGS="${save_CFLAGS}"
9351 CPPFLAGS="${save_CPPFLAGS}"
9352 LDFLAGS="${save_LDFLAGS}"
9354 echo "$as_me:$LINENO: checking for boolean_t in sys/types.h" >&5
9355 echo $ECHO_N "checking for boolean_t in sys/types.h... $ECHO_C" >&6
9356 if test "${ac_cv_c_boolean_t_sys_types_h+set}" = set; then
9357 echo $ECHO_N "(cached) $ECHO_C" >&6
9359 cat >conftest.$ac_ext <<_ACEOF
9360 #line $LINENO "configure"
9361 #include "confdefs.h"
9362 #include <sys/types.h>
9363 #ifdef F77_DUMMY_MAIN
9367 int F77_DUMMY_MAIN() { return 1; }
9377 rm -f conftest.$ac_objext
9378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9379 (eval $ac_compile) 2>&5
9381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9382 (exit $ac_status); } &&
9383 { ac_try='test -s conftest.$ac_objext'
9384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9388 (exit $ac_status); }; }; then
9389 ac_cv_c_boolean_t_sys_types_h=yes
9391 echo "$as_me: failed program was:" >&5
9392 cat conftest.$ac_ext >&5
9393 ac_cv_c_boolean_t_sys_types_h=no
9395 rm -f conftest.$ac_objext conftest.$ac_ext
9397 echo "$as_me:$LINENO: result: $ac_cv_c_boolean_t_sys_types_h" >&5
9398 echo "${ECHO_T}$ac_cv_c_boolean_t_sys_types_h" >&6
9399 if test x"$ac_cv_c_boolean_t_sys_types_h" != x"no"; then
9401 cat >>confdefs.h <<\_ACEOF
9402 #define BOOLEAN_T_IN_SYS_TYPES_H 1
9407 echo "$as_me:$LINENO: checking for boolean_t in pthread.h" >&5
9408 echo $ECHO_N "checking for boolean_t in pthread.h... $ECHO_C" >&6
9409 if test "${ac_cv_c_boolean_t_pthread_h+set}" = set; then
9410 echo $ECHO_N "(cached) $ECHO_C" >&6
9412 cat >conftest.$ac_ext <<_ACEOF
9413 #line $LINENO "configure"
9414 #include "confdefs.h"
9415 #include <pthread.h>
9416 #ifdef F77_DUMMY_MAIN
9420 int F77_DUMMY_MAIN() { return 1; }
9430 rm -f conftest.$ac_objext
9431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9432 (eval $ac_compile) 2>&5
9434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9435 (exit $ac_status); } &&
9436 { ac_try='test -s conftest.$ac_objext'
9437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9441 (exit $ac_status); }; }; then
9442 ac_cv_c_boolean_t_pthread_h=yes
9444 echo "$as_me: failed program was:" >&5
9445 cat conftest.$ac_ext >&5
9446 ac_cv_c_boolean_t_pthread_h=no
9448 rm -f conftest.$ac_objext conftest.$ac_ext
9450 echo "$as_me:$LINENO: result: $ac_cv_c_boolean_t_pthread_h" >&5
9451 echo "${ECHO_T}$ac_cv_c_boolean_t_pthread_h" >&6
9452 if test x"$ac_cv_c_boolean_t_pthread_h" != x"no"; then
9454 cat >>confdefs.h <<\_ACEOF
9455 #define BOOLEAN_T_IN_PTHREAD_H 1
9460 echo "$as_me:$LINENO: checking for boolean_t in cthreads.h" >&5
9461 echo $ECHO_N "checking for boolean_t in cthreads.h... $ECHO_C" >&6
9462 if test "${ac_cv_c_boolean_t_cthreads_h+set}" = set; then
9463 echo $ECHO_N "(cached) $ECHO_C" >&6
9465 cat >conftest.$ac_ext <<_ACEOF
9466 #line $LINENO "configure"
9467 #include "confdefs.h"
9468 #include <cthreads.h>
9469 #ifdef F77_DUMMY_MAIN
9473 int F77_DUMMY_MAIN() { return 1; }
9483 rm -f conftest.$ac_objext
9484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9485 (eval $ac_compile) 2>&5
9487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9488 (exit $ac_status); } &&
9489 { ac_try='test -s conftest.$ac_objext'
9490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9494 (exit $ac_status); }; }; then
9495 ac_cv_c_boolean_t_cthreads_h=yes
9497 echo "$as_me: failed program was:" >&5
9498 cat conftest.$ac_ext >&5
9499 ac_cv_c_boolean_t_cthreads_h=no
9501 rm -f conftest.$ac_objext conftest.$ac_ext
9503 echo "$as_me:$LINENO: result: $ac_cv_c_boolean_t_cthreads_h" >&5
9504 echo "${ECHO_T}$ac_cv_c_boolean_t_cthreads_h" >&6
9505 if test x"$ac_cv_c_boolean_t_cthreads_h" != x"no"; then
9507 cat >>confdefs.h <<\_ACEOF
9508 #define BOOLEAN_T_IN_CTHREADS_H 1
9513 case x"${target_cpu}" in
9518 ARCH="${target_cpu}"
9522 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"
9523 PLUGINS="${PLUGINS} dummy null rc logger mpeg_es mpeg_ps mpeg_ts mpeg_audio file memcpy lpcm_adec ac3_spdif spudec filter_deinterlace filter_invert filter_wall filter_transform filter_distort filter_clone filter_crop fx_scope"
9525 NETWORK_MODULES="udp http rtp ipv4"
9527 MMX_MODULES="memcpymmx idctmmx motionmmx chroma_i420_rgb_mmx chroma_i420_yuy2_mmx chroma_i422_yuy2_mmx chroma_i420_ymga_mmx"
9528 MMXEXT_MODULES="memcpymmxext idctmmxext motionmmxext"
9529 THREEDNOW_MODULES="memcpy3dn imdct3dn downmix3dn"
9530 SSE_MODULES="imdctsse downmixsse"
9531 ALTIVEC_MODULES="idctaltivec motionaltivec memcpyaltivec"
9533 if test x$SYS != xbeos
9535 PLUGINS="${PLUGINS} ${NETWORK_MODULES}"
9538 echo "$as_me:$LINENO: checking if \$CC groks MMX inline assembly" >&5
9539 echo $ECHO_N "checking if \$CC groks MMX inline assembly... $ECHO_C" >&6
9540 if test "${ac_cv_mmx_inline+set}" = set; then
9541 echo $ECHO_N "(cached) $ECHO_C" >&6
9543 cat >conftest.$ac_ext <<_ACEOF
9544 #line $LINENO "configure"
9545 #include "confdefs.h"
9547 #ifdef F77_DUMMY_MAIN
9551 int F77_DUMMY_MAIN() { return 1; }
9556 void *p;asm volatile("packuswb %%mm1,%%mm2"::"r"(p));
9561 rm -f conftest.$ac_objext
9562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9563 (eval $ac_compile) 2>&5
9565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9566 (exit $ac_status); } &&
9567 { ac_try='test -s conftest.$ac_objext'
9568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9572 (exit $ac_status); }; }; then
9573 ac_cv_mmx_inline=yes
9575 echo "$as_me: failed program was:" >&5
9576 cat conftest.$ac_ext >&5
9579 rm -f conftest.$ac_objext conftest.$ac_ext
9581 echo "$as_me:$LINENO: result: $ac_cv_mmx_inline" >&5
9582 echo "${ECHO_T}$ac_cv_mmx_inline" >&6
9583 if test x"$ac_cv_mmx_inline" != x"no"; then
9584 ACCEL_MODULES="${ACCEL_MODULES} ${MMX_MODULES}"
9587 echo "$as_me:$LINENO: checking if \$CC groks MMX EXT inline assembly" >&5
9588 echo $ECHO_N "checking if \$CC groks MMX EXT inline assembly... $ECHO_C" >&6
9589 if test "${ac_cv_mmxext_inline+set}" = set; then
9590 echo $ECHO_N "(cached) $ECHO_C" >&6
9592 cat >conftest.$ac_ext <<_ACEOF
9593 #line $LINENO "configure"
9594 #include "confdefs.h"
9596 #ifdef F77_DUMMY_MAIN
9600 int F77_DUMMY_MAIN() { return 1; }
9605 void *p;asm volatile("maskmovq %%mm1,%%mm2"::"r"(p));
9610 rm -f conftest.$ac_objext
9611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9612 (eval $ac_compile) 2>&5
9614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9615 (exit $ac_status); } &&
9616 { ac_try='test -s conftest.$ac_objext'
9617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9621 (exit $ac_status); }; }; then
9622 ac_cv_mmxext_inline=yes
9624 echo "$as_me: failed program was:" >&5
9625 cat conftest.$ac_ext >&5
9626 ac_cv_mmxext_inline=no
9628 rm -f conftest.$ac_objext conftest.$ac_ext
9630 echo "$as_me:$LINENO: result: $ac_cv_mmxext_inline" >&5
9631 echo "${ECHO_T}$ac_cv_mmxext_inline" >&6
9632 if test x"$ac_cv_mmxext_inline" != x"no"; then
9633 ACCEL_MODULES="${ACCEL_MODULES} ${MMXEXT_MODULES}"
9636 echo "$as_me:$LINENO: checking if \$CC groks 3D Now! inline assembly" >&5
9637 echo $ECHO_N "checking if \$CC groks 3D Now! inline assembly... $ECHO_C" >&6
9638 if test "${ac_cv_3dnow_inline+set}" = set; then
9639 echo $ECHO_N "(cached) $ECHO_C" >&6
9641 cat >conftest.$ac_ext <<_ACEOF
9642 #line $LINENO "configure"
9643 #include "confdefs.h"
9645 #ifdef F77_DUMMY_MAIN
9649 int F77_DUMMY_MAIN() { return 1; }
9654 void *p;asm volatile("pfadd %%mm1,%%mm2"::"r"(p));
9659 rm -f conftest.$ac_objext
9660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9661 (eval $ac_compile) 2>&5
9663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9664 (exit $ac_status); } &&
9665 { ac_try='test -s conftest.$ac_objext'
9666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9670 (exit $ac_status); }; }; then
9671 ac_cv_3dnow_inline=yes
9673 echo "$as_me: failed program was:" >&5
9674 cat conftest.$ac_ext >&5
9675 ac_cv_3dnow_inline=no
9677 rm -f conftest.$ac_objext conftest.$ac_ext
9679 echo "$as_me:$LINENO: result: $ac_cv_3dnow_inline" >&5
9680 echo "${ECHO_T}$ac_cv_3dnow_inline" >&6
9681 if test x"$ac_cv_3dnow_inline" != x"no"; then
9683 cat >>confdefs.h <<\_ACEOF
9684 #define CAN_COMPILE_3DNOW 1
9687 ACCEL_MODULES="${ACCEL_MODULES} ${THREEDNOW_MODULES}"
9690 echo "$as_me:$LINENO: checking if \$CC groks SSE inline assembly" >&5
9691 echo $ECHO_N "checking if \$CC groks SSE inline assembly... $ECHO_C" >&6
9692 if test "${ac_cv_sse_inline+set}" = set; then
9693 echo $ECHO_N "(cached) $ECHO_C" >&6
9695 cat >conftest.$ac_ext <<_ACEOF
9696 #line $LINENO "configure"
9697 #include "confdefs.h"
9699 #ifdef F77_DUMMY_MAIN
9703 int F77_DUMMY_MAIN() { return 1; }
9708 void *p;asm volatile("xorps %%xmm1,%%xmm2"::"r"(p));
9713 rm -f conftest.$ac_objext
9714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9715 (eval $ac_compile) 2>&5
9717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9718 (exit $ac_status); } &&
9719 { ac_try='test -s conftest.$ac_objext'
9720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9724 (exit $ac_status); }; }; then
9725 ac_cv_sse_inline=yes
9727 echo "$as_me: failed program was:" >&5
9728 cat conftest.$ac_ext >&5
9731 rm -f conftest.$ac_objext conftest.$ac_ext
9733 echo "$as_me:$LINENO: result: $ac_cv_sse_inline" >&5
9734 echo "${ECHO_T}$ac_cv_sse_inline" >&6
9735 if test x"$ac_cv_sse_inline" != x"no" -a x$SYS != xmingw32; then
9737 cat >>confdefs.h <<\_ACEOF
9738 #define CAN_COMPILE_SSE 1
9741 ACCEL_MODULES="${ACCEL_MODULES} ${SSE_MODULES}"
9744 # don't try to grok altivec with native mingw32 it doesn't work right now
9745 # we should be able to remove this test with future versions of mingw32
9746 if test x$SYS != xmingw32; then
9747 echo "$as_me:$LINENO: checking if \$CC groks Altivec inline assembly" >&5
9748 echo $ECHO_N "checking if \$CC groks Altivec inline assembly... $ECHO_C" >&6
9749 if test "${ac_cv_altivec_inline+set}" = set; then
9750 echo $ECHO_N "(cached) $ECHO_C" >&6
9752 cat >conftest.$ac_ext <<_ACEOF
9753 #line $LINENO "configure"
9754 #include "confdefs.h"
9756 #ifdef F77_DUMMY_MAIN
9760 int F77_DUMMY_MAIN() { return 1; }
9765 asm volatile("vperm 0,1,2,3");
9770 rm -f conftest.$ac_objext
9771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9772 (eval $ac_compile) 2>&5
9774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9775 (exit $ac_status); } &&
9776 { ac_try='test -s conftest.$ac_objext'
9777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9781 (exit $ac_status); }; }; then
9782 ac_cv_altivec_inline=yes
9784 echo "$as_me: failed program was:" >&5
9785 cat conftest.$ac_ext >&5
9787 CFLAGS="$CFLAGS -Wa,-m7400"
9788 cat >conftest.$ac_ext <<_ACEOF
9789 #line $LINENO "configure"
9790 #include "confdefs.h"
9792 #ifdef F77_DUMMY_MAIN
9796 int F77_DUMMY_MAIN() { return 1; }
9801 asm volatile("vperm 0,1,2,3");
9806 rm -f conftest.$ac_objext
9807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9808 (eval $ac_compile) 2>&5
9810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9811 (exit $ac_status); } &&
9812 { ac_try='test -s conftest.$ac_objext'
9813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9817 (exit $ac_status); }; }; then
9818 ac_cv_altivec_inline="-Wa,-m7400"
9820 echo "$as_me: failed program was:" >&5
9821 cat conftest.$ac_ext >&5
9822 ac_cv_altivec_inline=no
9824 rm -f conftest.$ac_objext conftest.$ac_ext
9828 rm -f conftest.$ac_objext conftest.$ac_ext
9830 echo "$as_me:$LINENO: result: $ac_cv_altivec_inline" >&5
9831 echo "${ECHO_T}$ac_cv_altivec_inline" >&6
9832 if test x"$ac_cv_altivec_inline" != x"no"; then
9834 cat >>confdefs.h <<\_ACEOF
9835 #define CAN_COMPILE_ALTIVEC 1
9838 if test x"$ac_cv_altivec_inline" != x"yes"; then
9839 idctaltivec_CFLAGS="$idctaltivec_CFLAGS $ac_cv_altivec_inline"
9840 motionaltivec_CFLAGS="$motionaltivec_CFLAGS $ac_cv_altivec_inline"
9841 memcpyaltivec_CFLAGS="$memcpyaltivec_CFLAGS $ac_cv_altivec_inline"
9842 vlc_CFLAGS="$vlc_CFLAGS $ac_cv_altivec_inline"
9844 ACCEL_MODULES="${ACCEL_MODULES} ${ALTIVEC_MODULES}"
9847 echo "$as_me:$LINENO: checking if \$CC groks Altivec C extensions" >&5
9848 echo $ECHO_N "checking if \$CC groks Altivec C extensions... $ECHO_C" >&6
9849 if test "${ac_cv_c_altivec+set}" = set; then
9850 echo $ECHO_N "(cached) $ECHO_C" >&6
9853 CFLAGS="$CFLAGS -faltivec"
9855 cat >conftest.$ac_ext <<_ACEOF
9856 #line $LINENO "configure"
9857 #include "confdefs.h"
9859 #ifdef F77_DUMMY_MAIN
9863 int F77_DUMMY_MAIN() { return 1; }
9868 vec_mtvscr((vector unsigned int)(0));
9873 rm -f conftest.$ac_objext
9874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9875 (eval $ac_compile) 2>&5
9877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9878 (exit $ac_status); } &&
9879 { ac_try='test -s conftest.$ac_objext'
9880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9884 (exit $ac_status); }; }; then
9885 ac_cv_c_altivec=-faltivec
9887 echo "$as_me: failed program was:" >&5
9888 cat conftest.$ac_ext >&5
9891 CFLAGS="$save_CFLAGS $idctaltivec_CFLAGS -fvec"
9892 cat >conftest.$ac_ext <<_ACEOF
9893 #line $LINENO "configure"
9894 #include "confdefs.h"
9896 #ifdef F77_DUMMY_MAIN
9900 int F77_DUMMY_MAIN() { return 1; }
9905 vec_mtvscr((vector unsigned int)(0));
9910 rm -f conftest.$ac_objext
9911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9912 (eval $ac_compile) 2>&5
9914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9915 (exit $ac_status); } &&
9916 { ac_try='test -s conftest.$ac_objext'
9917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9921 (exit $ac_status); }; }; then
9922 ac_cv_c_altivec="-fvec"
9924 echo "$as_me: failed program was:" >&5
9925 cat conftest.$ac_ext >&5
9928 rm -f conftest.$ac_objext conftest.$ac_ext
9931 rm -f conftest.$ac_objext conftest.$ac_ext
9935 echo "$as_me:$LINENO: result: $ac_cv_c_altivec" >&5
9936 echo "${ECHO_T}$ac_cv_c_altivec" >&6
9937 if test x"$ac_cv_c_altivec" != x"no"; then
9939 cat >>confdefs.h <<\_ACEOF
9940 #define CAN_COMPILE_C_ALTIVEC 1
9943 idctaltivec_CFLAGS="$idctaltivec_CFLAGS $ac_cv_c_altivec"
9944 motionaltivec_CFLAGS="$motionaltivec_CFLAGS $ac_cv_c_altivec"
9945 memcpyaltivec_CFLAGS="$memcpyaltivec_CFLAGS $ac_cv_c_altivec"
9946 vlc_CFLAGS="$vlc_CFLAGS $ac_cv_c_altivec"
9947 ACCEL_MODULES="${ACCEL_MODULES} ${ALTIVEC_MODULES}"
9950 echo "$as_me:$LINENO: checking if linker needs -framework vecLib" >&5
9951 echo $ECHO_N "checking if linker needs -framework vecLib... $ECHO_C" >&6
9952 if test "${ac_cv_ld_altivec+set}" = set; then
9953 echo $ECHO_N "(cached) $ECHO_C" >&6
9955 save_LDFLAGS=$LDFLAGS
9956 LDFLAGS="$LDFLAGS -framework vecLib"
9957 cat >conftest.$ac_ext <<_ACEOF
9958 #line $LINENO "configure"
9959 #include "confdefs.h"
9961 #ifdef F77_DUMMY_MAIN
9965 int F77_DUMMY_MAIN() { return 1; }
9975 rm -f conftest.$ac_objext conftest$ac_exeext
9976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9977 (eval $ac_link) 2>&5
9979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9980 (exit $ac_status); } &&
9981 { ac_try='test -s conftest$ac_exeext'
9982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9986 (exit $ac_status); }; }; then
9987 ac_cv_ld_altivec=yes
9989 echo "$as_me: failed program was:" >&5
9990 cat conftest.$ac_ext >&5
9993 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9994 LDFLAGS=$save_LDFLAGS
9997 echo "$as_me:$LINENO: result: $ac_cv_ld_altivec" >&5
9998 echo "${ECHO_T}$ac_cv_ld_altivec" >&6
9999 if test x"$ac_cv_ld_altivec" != x"no"; then
10000 idctaltivec_LDFLAGS="${idctaltivec_LDFLAGS} -framework vecLib"
10001 motionaltivec_LDFLAGS="${motionaltivec_LDFLAGS} -framework vecLib"
10002 memcpyaltivec_LDFLAGS="${memcpyaltivec_LDFLAGS} -framework vecLib"
10003 vlc_LDFLAGS="${vlc_LDFLAGS} -framework vecLib"
10005 fi # end if mingw32
10009 # Check whether --with- or --without- was given.
10010 if test "${with_+set}" = set; then
10015 # Check whether --with- or --without- was given.
10016 if test "${with_+set}" = set; then
10022 # Check whether --with-tuning or --without-tuning was given.
10023 if test "${with_tuning+set}" = set; then
10024 withval="$with_tuning"
10027 if test "x$with_tuning" != "x"; then
10028 TUNING="$with_tuning"
10030 if test x${target_cpu} = xi686 -o x${target_cpu} = xi586 -o x${target_cpu} = xi486 -o x${target_cpu} = xi386; then TUNING="pentiumpro"
10032 if test x${target_cpu} = xpowerpc; then TUNING="750"; fi
10036 if test x${target_cpu} = xi686 -o x${target_cpu} = xi586 -o x${target_cpu} = xx86 -o x${target_cpu} = xi386
10039 BUILTINS="${BUILTINS} ${ACCEL_MODULES}"
10042 # Check whether --enable-optimizations or --disable-optimizations was given.
10043 if test "${enable_optimizations+set}" = set; then
10044 enableval="$enable_optimizations"
10045 if test x$enable_optimizations = xno; then OPTIMS=0; fi
10050 # Check whether --enable-altivec or --disable-altivec was given.
10051 if test "${enable_altivec+set}" = set; then
10052 enableval="$enable_altivec"
10053 if test x$enable_altivec = xyes; then ARCH="${ARCH} altivec";
10054 BUILTINS="${BUILTINS} ${ACCEL_MODULES}"; fi
10056 if test x${target_cpu} = xpowerpc; then ARCH="${ARCH} altivec";
10057 BUILTINS="${BUILTINS} ${ACCEL_MODULES}"; fi
10061 # Check whether --enable-debug or --disable-debug was given.
10062 if test "${enable_debug+set}" = set; then
10063 enableval="$enable_debug"
10064 if test x$enable_debug = xyes; then DEBUG=1; fi
10068 # Check whether --enable-release or --disable-release was given.
10069 if test "${enable_release+set}" = set; then
10070 enableval="$enable_release"
10071 if test x$enable_release = xyes; then RELEASE=1; fi
10073 VERSION="${VERSION}_`date +%Y-%m-%d`"
10078 # Check whether --with- or --without- was given.
10079 if test "${with_+set}" = set; then
10084 # Check whether --enable-dvd or --disable-dvd was given.
10085 if test "${enable_dvd+set}" = set; then
10086 enableval="$enable_dvd"
10089 if test "x$enable_dvd" != "xno"
10092 # Check whether --with-dvdcss or --without-dvdcss was given.
10093 if test "${with_dvdcss+set}" = set; then
10094 withval="$with_dvdcss"
10098 # Check whether --with-dvdcss-tree or --without-dvdcss-tree was given.
10099 if test "${with_dvdcss_tree+set}" = set; then
10100 withval="$with_dvdcss_tree"
10103 case "x$with_dvdcss" in
10105 if test "x$with_dvdcss_tree" = x
10108 for ac_header in dvdcss/dvdcss.h
10110 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10111 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10112 echo "$as_me:$LINENO: checking for $ac_header" >&5
10113 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10114 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10115 echo $ECHO_N "(cached) $ECHO_C" >&6
10117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10118 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10120 # Is the header compilable?
10121 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10122 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10123 cat >conftest.$ac_ext <<_ACEOF
10124 #line $LINENO "configure"
10125 #include "confdefs.h"
10126 $ac_includes_default
10127 #include <$ac_header>
10129 rm -f conftest.$ac_objext
10130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10131 (eval $ac_compile) 2>&5
10133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10134 (exit $ac_status); } &&
10135 { ac_try='test -s conftest.$ac_objext'
10136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10137 (eval $ac_try) 2>&5
10139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10140 (exit $ac_status); }; }; then
10141 ac_header_compiler=yes
10143 echo "$as_me: failed program was:" >&5
10144 cat conftest.$ac_ext >&5
10145 ac_header_compiler=no
10147 rm -f conftest.$ac_objext conftest.$ac_ext
10148 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10149 echo "${ECHO_T}$ac_header_compiler" >&6
10151 # Is the header present?
10152 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10153 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10154 cat >conftest.$ac_ext <<_ACEOF
10155 #line $LINENO "configure"
10156 #include "confdefs.h"
10157 #include <$ac_header>
10159 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10160 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10162 egrep -v '^ *\+' conftest.er1 >conftest.err
10164 cat conftest.err >&5
10165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10166 (exit $ac_status); } >/dev/null; then
10167 if test -s conftest.err; then
10168 ac_cpp_err=$ac_c_preproc_warn_flag
10175 if test -z "$ac_cpp_err"; then
10176 ac_header_preproc=yes
10178 echo "$as_me: failed program was:" >&5
10179 cat conftest.$ac_ext >&5
10180 ac_header_preproc=no
10182 rm -f conftest.err conftest.$ac_ext
10183 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10184 echo "${ECHO_T}$ac_header_preproc" >&6
10186 # So? What about this header?
10187 case $ac_header_compiler:$ac_header_preproc in
10189 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10190 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10191 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10192 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10194 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10195 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10196 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10197 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10198 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10199 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10201 echo "$as_me:$LINENO: checking for $ac_header" >&5
10202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10204 echo $ECHO_N "(cached) $ECHO_C" >&6
10206 eval "$as_ac_Header=$ac_header_preproc"
10208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10209 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10212 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10213 cat >>confdefs.h <<_ACEOF
10214 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10216 PLUGINS="${PLUGINS} dvd"
10217 dvd_LDFLAGS="${dvd_LDFLAGS} -ldvdcss"
10219 { 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
10220 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;}
10221 { { echo "$as_me:$LINENO: error: cannot find libdvdcss headers" >&5
10222 echo "$as_me: error: cannot find libdvdcss headers" >&2;}
10223 { (exit 1); exit 1; }; }
10229 echo "$as_me:$LINENO: checking for libdvdcss.a in ${with_dvdcss_tree}" >&5
10230 echo $ECHO_N "checking for libdvdcss.a in ${with_dvdcss_tree}... $ECHO_C" >&6
10231 real_dvdcss_tree="`cd ${with_dvdcss_tree} 2>/dev/null && pwd`"
10232 if test "x$real_dvdcss_tree" = x
10234 echo "$as_me:$LINENO: result: no" >&5
10235 echo "${ECHO_T}no" >&6
10236 { { echo "$as_me:$LINENO: error: cannot cd to ${with_dvdcss_tree}" >&5
10237 echo "$as_me: error: cannot cd to ${with_dvdcss_tree}" >&2;}
10238 { (exit 1); exit 1; }; }
10240 if test -f "${real_dvdcss_tree}/src/.libs/libdvdcss.a"
10242 echo "$as_me:$LINENO: result: ${real_dvdcss_tree}/src/.libs/libdvdcss.a" >&5
10243 echo "${ECHO_T}${real_dvdcss_tree}/src/.libs/libdvdcss.a" >&6
10244 BUILTINS="${BUILTINS} dvd"
10245 dvd_LDFLAGS="${dvd_LDFLAGS} ${real_dvdcss_tree}/src/.libs/libdvdcss.a"
10246 dvd_CFLAGS="${dvd_CFLAGS} -I${real_dvdcss_tree}/src"
10248 echo "$as_me:$LINENO: result: no" >&5
10249 echo "${ECHO_T}no" >&6
10250 { { echo "$as_me:$LINENO: error: cannot find ${real_dvdcss_tree}/src/.libs/libdvdcss.a, make sure you compiled libdvdcss in ${with_dvdcss_tree}" >&5
10251 echo "$as_me: error: cannot find ${real_dvdcss_tree}/src/.libs/libdvdcss.a, make sure you compiled libdvdcss in ${with_dvdcss_tree}" >&2;}
10252 { (exit 1); exit 1; }; }
10257 PLUGINS="${PLUGINS} dvd"
10258 dvd_CFLAGS="${dvd_CFLAGS} -DGOD_DAMN_DMCA"
10259 dvd_LDFLAGS="${dvd_LDFLAGS} -ldl"
10262 echo "$as_me:$LINENO: checking for dvdcss headers in ${with_dvdcss}" >&5
10263 echo $ECHO_N "checking for dvdcss headers in ${with_dvdcss}... $ECHO_C" >&6
10264 if test -f ${with_dvdcss}/include/dvdcss/dvdcss.h
10266 echo "$as_me:$LINENO: result: yes" >&5
10267 echo "${ECHO_T}yes" >&6
10268 PLUGINS="${PLUGINS} dvd"
10269 dvd_LDFLAGS="${dvd_LDFLAGS} -L${with_dvdcss}/lib -ldvdcss"
10270 dvd_CFLAGS="${dvd_CFLAGS} -I${with_dvdcss}/include"
10272 echo "$as_me:$LINENO: result: no" >&5
10273 echo "${ECHO_T}no" >&6
10274 { { echo "$as_me:$LINENO: error: cannot find ${with_dvdcss}/include/dvdcss/dvdcss.h" >&5
10275 echo "$as_me: error: cannot find ${with_dvdcss}/include/dvdcss/dvdcss.h" >&2;}
10276 { (exit 1); exit 1; }; }
10282 # Check whether --enable-dvdread or --disable-dvdread was given.
10283 if test "${enable_dvdread+set}" = set; then
10284 enableval="$enable_dvdread"
10287 if test "x$enable_dvdread" != "xno"
10290 # Check whether --with-dvdread or --without-dvdread was given.
10291 if test "${with_dvdread+set}" = set; then
10292 withval="$with_dvdread"
10295 if test "x$with_dvdread" = x
10300 test_LDFLAGS="-L${with_dvdread}/lib"
10301 test_CFLAGS="-I${with_dvdread}/include"
10303 CPPFLAGS="$save_CPPFLAGS $test_CFLAGS"
10305 for ac_header in dvdread/dvd_reader.h
10307 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10308 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10309 echo "$as_me:$LINENO: checking for $ac_header" >&5
10310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10312 echo $ECHO_N "(cached) $ECHO_C" >&6
10314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10315 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10317 # Is the header compilable?
10318 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10319 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10320 cat >conftest.$ac_ext <<_ACEOF
10321 #line $LINENO "configure"
10322 #include "confdefs.h"
10323 $ac_includes_default
10324 #include <$ac_header>
10326 rm -f conftest.$ac_objext
10327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10328 (eval $ac_compile) 2>&5
10330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10331 (exit $ac_status); } &&
10332 { ac_try='test -s conftest.$ac_objext'
10333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10334 (eval $ac_try) 2>&5
10336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10337 (exit $ac_status); }; }; then
10338 ac_header_compiler=yes
10340 echo "$as_me: failed program was:" >&5
10341 cat conftest.$ac_ext >&5
10342 ac_header_compiler=no
10344 rm -f conftest.$ac_objext conftest.$ac_ext
10345 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10346 echo "${ECHO_T}$ac_header_compiler" >&6
10348 # Is the header present?
10349 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10350 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10351 cat >conftest.$ac_ext <<_ACEOF
10352 #line $LINENO "configure"
10353 #include "confdefs.h"
10354 #include <$ac_header>
10356 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10357 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10359 egrep -v '^ *\+' conftest.er1 >conftest.err
10361 cat conftest.err >&5
10362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10363 (exit $ac_status); } >/dev/null; then
10364 if test -s conftest.err; then
10365 ac_cpp_err=$ac_c_preproc_warn_flag
10372 if test -z "$ac_cpp_err"; then
10373 ac_header_preproc=yes
10375 echo "$as_me: failed program was:" >&5
10376 cat conftest.$ac_ext >&5
10377 ac_header_preproc=no
10379 rm -f conftest.err conftest.$ac_ext
10380 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10381 echo "${ECHO_T}$ac_header_preproc" >&6
10383 # So? What about this header?
10384 case $ac_header_compiler:$ac_header_preproc in
10386 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10387 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10388 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10389 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10391 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10392 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10393 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10394 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10395 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10396 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10398 echo "$as_me:$LINENO: checking for $ac_header" >&5
10399 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10401 echo $ECHO_N "(cached) $ECHO_C" >&6
10403 eval "$as_ac_Header=$ac_header_preproc"
10405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10406 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10409 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10410 cat >>confdefs.h <<_ACEOF
10411 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10414 cat >conftest.$ac_ext <<_ACEOF
10415 #line $LINENO "configure"
10416 #include "confdefs.h"
10417 #include <dvdread/dvd_reader.h>
10418 #ifdef F77_DUMMY_MAIN
10419 # ifdef __cplusplus
10422 int F77_DUMMY_MAIN() { return 1; }
10427 void foo() { int i=DVD_VIDEO_LB_LEN; }
10432 rm -f conftest.$ac_objext
10433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10434 (eval $ac_compile) 2>&5
10436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10437 (exit $ac_status); } &&
10438 { ac_try='test -s conftest.$ac_objext'
10439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10440 (eval $ac_try) 2>&5
10442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10443 (exit $ac_status); }; }; then
10445 PLUGINS="${PLUGINS} dvdread"
10446 dvdread_LDFLAGS="${dvdread_LDFLAGS} ${test_LDFLAGS} -ldvdread"
10447 dvdread_CFLAGS="${dvdread_CFLAGS} ${test_CFLAGS}"
10450 echo "$as_me: failed program was:" >&5
10451 cat conftest.$ac_ext >&5
10453 if test "x$enable_dvdread" != x
10455 { { 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
10456 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;}
10457 { (exit 1); exit 1; }; }
10461 rm -f conftest.$ac_objext conftest.$ac_ext
10465 if test "x$enable_dvdread" != x
10467 if test "x$with_dvdread" != x
10469 { { echo "$as_me:$LINENO: error: Cannot find dvdread/dvd_reader.h in ${with_dvdread}/include" >&5
10470 echo "$as_me: error: Cannot find dvdread/dvd_reader.h in ${with_dvdread}/include" >&2;}
10471 { (exit 1); exit 1; }; }
10473 { { echo "$as_me:$LINENO: error: Cannot find dvdread/dvd_reader.h" >&5
10474 echo "$as_me: error: Cannot find dvdread/dvd_reader.h" >&2;}
10475 { (exit 1); exit 1; }; }
10483 CPPFLAGS="$save_CPPFLAGS"
10486 # Check whether --enable-dvbpsi or --disable-dvbpsi was given.
10487 if test "${enable_dvbpsi+set}" = set; then
10488 enableval="$enable_dvbpsi"
10491 if test "x$enable_dvbpsi" != "xno"
10494 # Check whether --with-dvbpsi or --without-dvbpsi was given.
10495 if test "${with_dvbpsi+set}" = set; then
10496 withval="$with_dvbpsi"
10500 # Check whether --with-dvbpsi or --without-dvbpsi was given.
10501 if test "${with_dvbpsi+set}" = set; then
10502 withval="$with_dvbpsi"
10505 case "x$with_dvbpsi" in
10507 if test "x$with_dvbpsi_tree" = x
10510 for ac_header in dvbpsi/dr.h
10512 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10513 echo "$as_me:$LINENO: checking for $ac_header" >&5
10514 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10515 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10516 echo $ECHO_N "(cached) $ECHO_C" >&6
10518 cat >conftest.$ac_ext <<_ACEOF
10519 #line $LINENO "configure"
10520 #include "confdefs.h"
10521 { { echo "$as_me:$LINENO: error: cannot find libdvbpsi headers" >&5
10522 echo "$as_me: error: cannot find libdvbpsi headers" >&2;}
10523 { (exit 1); exit 1; }; }
10525 #include <$ac_header>
10527 rm -f conftest.$ac_objext
10528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10529 (eval $ac_compile) 2>&5
10531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10532 (exit $ac_status); } &&
10533 { ac_try='test -s conftest.$ac_objext'
10534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10535 (eval $ac_try) 2>&5
10537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10538 (exit $ac_status); }; }; then
10539 eval "$as_ac_Header=yes"
10541 echo "$as_me: failed program was:" >&5
10542 cat conftest.$ac_ext >&5
10543 eval "$as_ac_Header=no"
10545 rm -f conftest.$ac_objext conftest.$ac_ext
10547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10548 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10549 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10550 cat >>confdefs.h <<_ACEOF
10551 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10553 PLUGINS="${PLUGINS} mpeg_ts_dvbpsi"
10554 mpeg_ts_dvbpsi_LDFLAGS="${mpeg_ts_dvbpsi_LDFLAGS} -ldvbpsi"
10560 echo "$as_me:$LINENO: checking for libdvbpsi.a in ${with_dvbpsi_tree}" >&5
10561 echo $ECHO_N "checking for libdvbpsi.a in ${with_dvbpsi_tree}... $ECHO_C" >&6
10562 real_dvbpsi_tree="`cd ${with_dvbpsi_tree} 2>/dev/null && pwd`"
10563 if test "x$real_dvbpsi_tree" = x
10565 echo "$as_me:$LINENO: result: no" >&5
10566 echo "${ECHO_T}no" >&6
10567 { { echo "$as_me:$LINENO: error: cannot cd to ${with_dvbpsi_tree}" >&5
10568 echo "$as_me: error: cannot cd to ${with_dvbpsi_tree}" >&2;}
10569 { (exit 1); exit 1; }; }
10571 if test -f "${real_dvbpsi_tree}/src/.libs/libdvbpsi.a"
10573 echo "$as_me:$LINENO: result: ${real_dvbpsi_tree}/src/.libs/libdvbpsi.a" >&5
10574 echo "${ECHO_T}${real_dvbpsi_tree}/src/.libs/libdvbpsi.a" >&6
10575 BUILTINS="${BUILTINS} mpeg_ts_dvbpsi"
10576 mpeg_ts_dvbpsi_LDFLAGS="${mpeg_ts_dvbpsi_LDFLAGS} ${real_dvbpsi_tree}/src/.libs/libdvbpsi.a"
10577 mpeg_ts_dvbpsi_CFLAGS="${mpeg_ts_dvbpsi_CFLAGS} -I${real_dvbpsi_tree}/src"
10579 echo "$as_me:$LINENO: result: no" >&5
10580 echo "${ECHO_T}no" >&6
10581 { { echo "$as_me:$LINENO: error: cannot find ${real_dvbpsi_tree}/src/.libs/libdvbpsi.a, make sure you compiled libdvbpsi in ${with_dvbpsi_tree}" >&5
10582 echo "$as_me: error: cannot find ${real_dvbpsi_tree}/src/.libs/libdvbpsi.a, make sure you compiled libdvbpsi in ${with_dvbpsi_tree}" >&2;}
10583 { (exit 1); exit 1; }; }
10590 echo "$as_me:$LINENO: checking for dvbpsi headers in ${with_dvbpsi}" >&5
10591 echo $ECHO_N "checking for dvbpsi headers in ${with_dvbpsi}... $ECHO_C" >&6
10592 if test "x$with_dvbpsi" = x
10597 test_LDFLAGS="-L${with_dvbpsi}/lib"
10598 test_CFLAGS="-I${with_dvbpsi}/include"
10600 CPPFLAGS="$save_CPPFLAGS $test_CFLAGS"
10601 if test "${ac_cv_header_dvbpsi_dr_h+set}" = set; then
10602 echo "$as_me:$LINENO: checking for dvbpsi/dr.h" >&5
10603 echo $ECHO_N "checking for dvbpsi/dr.h... $ECHO_C" >&6
10604 if test "${ac_cv_header_dvbpsi_dr_h+set}" = set; then
10605 echo $ECHO_N "(cached) $ECHO_C" >&6
10607 echo "$as_me:$LINENO: result: $ac_cv_header_dvbpsi_dr_h" >&5
10608 echo "${ECHO_T}$ac_cv_header_dvbpsi_dr_h" >&6
10610 # Is the header compilable?
10611 echo "$as_me:$LINENO: checking dvbpsi/dr.h usability" >&5
10612 echo $ECHO_N "checking dvbpsi/dr.h usability... $ECHO_C" >&6
10613 cat >conftest.$ac_ext <<_ACEOF
10614 #line $LINENO "configure"
10615 #include "confdefs.h"
10616 $ac_includes_default
10617 #include <dvbpsi/dr.h>
10619 rm -f conftest.$ac_objext
10620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10621 (eval $ac_compile) 2>&5
10623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10624 (exit $ac_status); } &&
10625 { ac_try='test -s conftest.$ac_objext'
10626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10627 (eval $ac_try) 2>&5
10629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10630 (exit $ac_status); }; }; then
10631 ac_header_compiler=yes
10633 echo "$as_me: failed program was:" >&5
10634 cat conftest.$ac_ext >&5
10635 ac_header_compiler=no
10637 rm -f conftest.$ac_objext conftest.$ac_ext
10638 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10639 echo "${ECHO_T}$ac_header_compiler" >&6
10641 # Is the header present?
10642 echo "$as_me:$LINENO: checking dvbpsi/dr.h presence" >&5
10643 echo $ECHO_N "checking dvbpsi/dr.h presence... $ECHO_C" >&6
10644 cat >conftest.$ac_ext <<_ACEOF
10645 #line $LINENO "configure"
10646 #include "confdefs.h"
10647 #include <dvbpsi/dr.h>
10649 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10650 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10652 egrep -v '^ *\+' conftest.er1 >conftest.err
10654 cat conftest.err >&5
10655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10656 (exit $ac_status); } >/dev/null; then
10657 if test -s conftest.err; then
10658 ac_cpp_err=$ac_c_preproc_warn_flag
10665 if test -z "$ac_cpp_err"; then
10666 ac_header_preproc=yes
10668 echo "$as_me: failed program was:" >&5
10669 cat conftest.$ac_ext >&5
10670 ac_header_preproc=no
10672 rm -f conftest.err conftest.$ac_ext
10673 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10674 echo "${ECHO_T}$ac_header_preproc" >&6
10676 # So? What about this header?
10677 case $ac_header_compiler:$ac_header_preproc in
10679 { echo "$as_me:$LINENO: WARNING: dvbpsi/dr.h: accepted by the compiler, rejected by the preprocessor!" >&5
10680 echo "$as_me: WARNING: dvbpsi/dr.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10681 { echo "$as_me:$LINENO: WARNING: dvbpsi/dr.h: proceeding with the preprocessor's result" >&5
10682 echo "$as_me: WARNING: dvbpsi/dr.h: proceeding with the preprocessor's result" >&2;};;
10684 { echo "$as_me:$LINENO: WARNING: dvbpsi/dr.h: present but cannot be compiled" >&5
10685 echo "$as_me: WARNING: dvbpsi/dr.h: present but cannot be compiled" >&2;}
10686 { echo "$as_me:$LINENO: WARNING: dvbpsi/dr.h: check for missing prerequisite headers?" >&5
10687 echo "$as_me: WARNING: dvbpsi/dr.h: check for missing prerequisite headers?" >&2;}
10688 { echo "$as_me:$LINENO: WARNING: dvbpsi/dr.h: proceeding with the preprocessor's result" >&5
10689 echo "$as_me: WARNING: dvbpsi/dr.h: proceeding with the preprocessor's result" >&2;};;
10691 echo "$as_me:$LINENO: checking for dvbpsi/dr.h" >&5
10692 echo $ECHO_N "checking for dvbpsi/dr.h... $ECHO_C" >&6
10693 if test "${ac_cv_header_dvbpsi_dr_h+set}" = set; then
10694 echo $ECHO_N "(cached) $ECHO_C" >&6
10696 ac_cv_header_dvbpsi_dr_h=$ac_header_preproc
10698 echo "$as_me:$LINENO: result: $ac_cv_header_dvbpsi_dr_h" >&5
10699 echo "${ECHO_T}$ac_cv_header_dvbpsi_dr_h" >&6
10702 if test $ac_cv_header_dvbpsi_dr_h = yes; then
10704 PLUGINS="${PLUGINS} mpeg_ts_dvbpsi"
10705 mpeg_ts_dvbpsi_LDFLAGS="${mpeg_ts_dvbpsi_LDFLAGS} ${test_LDFLAGS} -ldvbpsi"
10706 mpeg_ts_dvbpsi_CFLAGS="${mpeg_ts_dvbpsi_CFLAGS} ${test_CFLAGS}"
10710 if test "x$enable_dvbpsi" != x
10712 { { 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
10713 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;}
10714 { (exit 1); exit 1; }; }
10720 CPPFLAGS="$save_CPPFLAGS"
10725 # Check whether --enable-vcd or --disable-vcd was given.
10726 if test "${enable_vcd+set}" = set; then
10727 enableval="$enable_vcd"
10731 if test x$enable_vcd != xno
10733 cat >conftest.$ac_ext <<_ACEOF
10734 #line $LINENO "configure"
10735 #include "confdefs.h"
10736 #include <linux/cdrom.h>
10739 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10740 egrep "cdrom_msf0" >/dev/null 2>&1; then
10742 PLUGINS="${PLUGINS} vcd"
10748 cat >conftest.$ac_ext <<_ACEOF
10749 #line $LINENO "configure"
10750 #include "confdefs.h"
10751 #include <sys/cdio.h>
10754 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10755 egrep "ioc_toc_header " >/dev/null 2>&1; then
10757 PLUGINS="${PLUGINS} vcd"
10759 cat >>confdefs.h <<\_ACEOF
10760 #define HAVE_IOC_TOC_HEADER_IN_SYS_CDIO_H 1
10768 if test "x${SYS}" = "xbsdi"
10770 PLUGINS="${PLUGINS} vcd"
10773 if test "x${SYS}" = "xdarwin"
10775 PLUGINS="${PLUGINS} vcd"
10776 vcd_LDFLAGS="${vcd_LDFLAGS} -framework IOKit -framework CoreFoundation"
10780 # Check whether --enable-satellite or --disable-satellite was given.
10781 if test "${enable_satellite+set}" = set; then
10782 enableval="$enable_satellite"
10783 if test x$enable_satellite = xyes
10785 PLUGINS="${PLUGINS} satellite"
10789 if test x$SYS != xnto && test "x$SYS" != "xmingw32"
10791 echo "$as_me:$LINENO: checking for inet_pton" >&5
10792 echo $ECHO_N "checking for inet_pton... $ECHO_C" >&6
10793 if test "${ac_cv_func_inet_pton+set}" = set; then
10794 echo $ECHO_N "(cached) $ECHO_C" >&6
10796 cat >conftest.$ac_ext <<_ACEOF
10797 #line $LINENO "configure"
10798 #include "confdefs.h"
10799 /* System header to define __stub macros and hopefully few prototypes,
10800 which can conflict with char inet_pton (); below. */
10801 #include <assert.h>
10802 /* Override any gcc2 internal prototype to avoid an error. */
10806 /* We use char because int might match the return type of a gcc2
10807 builtin and then its argument prototype would still apply. */
10811 #ifdef F77_DUMMY_MAIN
10812 # ifdef __cplusplus
10815 int F77_DUMMY_MAIN() { return 1; }
10820 /* The GNU C library defines this for functions which it implements
10821 to always fail with ENOSYS. Some functions are actually named
10822 something starting with __ and the normal name is an alias. */
10823 #if defined (__stub_inet_pton) || defined (__stub___inet_pton)
10833 rm -f conftest.$ac_objext conftest$ac_exeext
10834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10835 (eval $ac_link) 2>&5
10837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10838 (exit $ac_status); } &&
10839 { ac_try='test -s conftest$ac_exeext'
10840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10841 (eval $ac_try) 2>&5
10843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10844 (exit $ac_status); }; }; then
10845 ac_cv_func_inet_pton=yes
10847 echo "$as_me: failed program was:" >&5
10848 cat conftest.$ac_ext >&5
10849 ac_cv_func_inet_pton=no
10851 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10853 echo "$as_me:$LINENO: result: $ac_cv_func_inet_pton" >&5
10854 echo "${ECHO_T}$ac_cv_func_inet_pton" >&6
10855 if test $ac_cv_func_inet_pton = yes; then
10856 PLUGINS="${PLUGINS} ipv6"
10860 if test "x$SYS" = "xmingw32"
10862 echo "$as_me:$LINENO: checking for getaddrinfo in ws2tcpip.h" >&5
10863 echo $ECHO_N "checking for getaddrinfo in ws2tcpip.h... $ECHO_C" >&6
10864 cat >conftest.$ac_ext <<_ACEOF
10865 #line $LINENO "configure"
10866 #include "confdefs.h"
10867 #include <ws2tcpip.h>
10870 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10871 egrep "addrinfo" >/dev/null 2>&1; then
10872 echo "$as_me:$LINENO: result: yes" >&5
10873 echo "${ECHO_T}yes" >&6
10874 PLUGINS="${PLUGINS} ipv6"
10876 echo "$as_me:$LINENO: result: no" >&5
10877 echo "${ECHO_T}no" >&6
10883 # Check whether --enable-avi or --disable-avi was given.
10884 if test "${enable_avi+set}" = set; then
10885 enableval="$enable_avi"
10888 if test x$enable_avi != xno
10890 PLUGINS="${PLUGINS} avi"
10895 # Check whether --with- or --without- was given.
10896 if test "${with_+set}" = set; then
10901 # Check whether --enable-mad or --disable-mad was given.
10902 if test "${enable_mad+set}" = set; then
10903 enableval="$enable_mad"
10906 if test x$enable_mad = xyes
10909 # Check whether --with-mad or --without-mad was given.
10910 if test "${with_mad+set}" = set; then
10911 withval="$with_mad"
10914 if test "x$with_mad" != "xno" -a "x$with_mad" != "x"
10916 mad_CFLAGS="${mad_CFLAGS} -I$with_mad/include"
10917 mad_LDFLAGS="${mad_LDFLAGS} -L$with_mad/lib"
10921 # Check whether --with-mad-tree or --without-mad-tree was given.
10922 if test "${with_mad_tree+set}" = set; then
10923 withval="$with_mad_tree"
10926 if test "x$with_mad_tree" != "xno" -a "x$with_mad_tree" != "x"
10928 real_mad_tree="`cd ${with_mad_tree} 2>/dev/null && pwd`"
10929 if test "x$real_mad_tree" = x
10931 echo "$as_me:$LINENO: result: no" >&5
10932 echo "${ECHO_T}no" >&6
10933 { { echo "$as_me:$LINENO: error: ${with_mad_tree} directory doesn't exist" >&5
10934 echo "$as_me: error: ${with_mad_tree} directory doesn't exist" >&2;}
10935 { (exit 1); exit 1; }; }
10937 echo "$as_me:$LINENO: checking for mad.h in ${real_mad_tree}/libmad" >&5
10938 echo $ECHO_N "checking for mad.h in ${real_mad_tree}/libmad... $ECHO_C" >&6
10939 if test -f ${real_mad_tree}/libmad/mad.h
10941 echo "$as_me:$LINENO: result: yes" >&5
10942 echo "${ECHO_T}yes" >&6
10943 mad_CFLAGS="${mad_CFLAGS} -I${real_mad_tree}/libmad"
10944 mad_LDFLAGS="${mad_LDFLAGS} -L${real_mad_tree}/libmad/.libs"
10945 save_LDFLAGS=$LDFLAGS
10946 LDFLAGS=$mad_LDFLAGS
10947 echo "$as_me:$LINENO: checking for mad_bit_init in -lmad" >&5
10948 echo $ECHO_N "checking for mad_bit_init in -lmad... $ECHO_C" >&6
10949 if test "${ac_cv_lib_mad_mad_bit_init+set}" = set; then
10950 echo $ECHO_N "(cached) $ECHO_C" >&6
10952 ac_check_lib_save_LIBS=$LIBS
10954 cat >conftest.$ac_ext <<_ACEOF
10955 #line $LINENO "configure"
10956 #include "confdefs.h"
10958 /* Override any gcc2 internal prototype to avoid an error. */
10962 /* We use char because int might match the return type of a gcc2
10963 builtin and then its argument prototype would still apply. */
10964 char mad_bit_init ();
10965 #ifdef F77_DUMMY_MAIN
10966 # ifdef __cplusplus
10969 int F77_DUMMY_MAIN() { return 1; }
10979 rm -f conftest.$ac_objext conftest$ac_exeext
10980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10981 (eval $ac_link) 2>&5
10983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10984 (exit $ac_status); } &&
10985 { ac_try='test -s conftest$ac_exeext'
10986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10987 (eval $ac_try) 2>&5
10989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10990 (exit $ac_status); }; }; then
10991 ac_cv_lib_mad_mad_bit_init=yes
10993 echo "$as_me: failed program was:" >&5
10994 cat conftest.$ac_ext >&5
10995 ac_cv_lib_mad_mad_bit_init=no
10997 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10998 LIBS=$ac_check_lib_save_LIBS
11000 echo "$as_me:$LINENO: result: $ac_cv_lib_mad_mad_bit_init" >&5
11001 echo "${ECHO_T}$ac_cv_lib_mad_mad_bit_init" >&6
11002 if test $ac_cv_lib_mad_mad_bit_init = yes; then
11004 BUILTINS="${BUILTINS} mad"
11005 mad_LDFLAGS="${mad_LDFLAGS} -lmad"
11008 { { echo "$as_me:$LINENO: error: the specified tree hasn't been compiled " >&5
11009 echo "$as_me: error: the specified tree hasn't been compiled " >&2;}
11010 { (exit 1); exit 1; }; }
11014 LDFLAGS=$save_LDFLAGS
11016 echo "$as_me:$LINENO: result: no" >&5
11017 echo "${ECHO_T}no" >&6
11018 { { echo "$as_me:$LINENO: error: the specified tree doesn't have mad.h" >&5
11019 echo "$as_me: error: the specified tree doesn't have mad.h" >&2;}
11020 { (exit 1); exit 1; }; }
11023 save_CFLAGS=$CFLAGS
11024 save_LDFLAGS=$LDFLAGS
11025 CFLAGS="$CFLAGS $mad_CFLAGS"
11026 LDFLAGS="$LDFLAGS $mad_LDFLAGS"
11028 for ac_header in mad.h
11030 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11031 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11032 echo "$as_me:$LINENO: checking for $ac_header" >&5
11033 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11034 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11035 echo $ECHO_N "(cached) $ECHO_C" >&6
11037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11038 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11040 # Is the header compilable?
11041 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11042 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11043 cat >conftest.$ac_ext <<_ACEOF
11044 #line $LINENO "configure"
11045 #include "confdefs.h"
11046 $ac_includes_default
11047 #include <$ac_header>
11049 rm -f conftest.$ac_objext
11050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11051 (eval $ac_compile) 2>&5
11053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11054 (exit $ac_status); } &&
11055 { ac_try='test -s conftest.$ac_objext'
11056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11057 (eval $ac_try) 2>&5
11059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11060 (exit $ac_status); }; }; then
11061 ac_header_compiler=yes
11063 echo "$as_me: failed program was:" >&5
11064 cat conftest.$ac_ext >&5
11065 ac_header_compiler=no
11067 rm -f conftest.$ac_objext conftest.$ac_ext
11068 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11069 echo "${ECHO_T}$ac_header_compiler" >&6
11071 # Is the header present?
11072 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11073 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11074 cat >conftest.$ac_ext <<_ACEOF
11075 #line $LINENO "configure"
11076 #include "confdefs.h"
11077 #include <$ac_header>
11079 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11080 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11082 egrep -v '^ *\+' conftest.er1 >conftest.err
11084 cat conftest.err >&5
11085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11086 (exit $ac_status); } >/dev/null; then
11087 if test -s conftest.err; then
11088 ac_cpp_err=$ac_c_preproc_warn_flag
11095 if test -z "$ac_cpp_err"; then
11096 ac_header_preproc=yes
11098 echo "$as_me: failed program was:" >&5
11099 cat conftest.$ac_ext >&5
11100 ac_header_preproc=no
11102 rm -f conftest.err conftest.$ac_ext
11103 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11104 echo "${ECHO_T}$ac_header_preproc" >&6
11106 # So? What about this header?
11107 case $ac_header_compiler:$ac_header_preproc in
11109 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11110 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11111 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11112 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11114 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11115 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11116 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11117 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11118 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11119 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11121 echo "$as_me:$LINENO: checking for $ac_header" >&5
11122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11124 echo $ECHO_N "(cached) $ECHO_C" >&6
11126 eval "$as_ac_Header=$ac_header_preproc"
11128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11129 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11132 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11133 cat >>confdefs.h <<_ACEOF
11134 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11138 { { echo "$as_me:$LINENO: error: Cannot find development headers for libmad..." >&5
11139 echo "$as_me: error: Cannot find development headers for libmad..." >&2;}
11140 { (exit 1); exit 1; }; }
11145 echo "$as_me:$LINENO: checking for mad_bit_init in -lmad" >&5
11146 echo $ECHO_N "checking for mad_bit_init in -lmad... $ECHO_C" >&6
11147 if test "${ac_cv_lib_mad_mad_bit_init+set}" = set; then
11148 echo $ECHO_N "(cached) $ECHO_C" >&6
11150 ac_check_lib_save_LIBS=$LIBS
11152 cat >conftest.$ac_ext <<_ACEOF
11153 #line $LINENO "configure"
11154 #include "confdefs.h"
11156 /* Override any gcc2 internal prototype to avoid an error. */
11160 /* We use char because int might match the return type of a gcc2
11161 builtin and then its argument prototype would still apply. */
11162 char mad_bit_init ();
11163 #ifdef F77_DUMMY_MAIN
11164 # ifdef __cplusplus
11167 int F77_DUMMY_MAIN() { return 1; }
11177 rm -f conftest.$ac_objext conftest$ac_exeext
11178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11179 (eval $ac_link) 2>&5
11181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11182 (exit $ac_status); } &&
11183 { ac_try='test -s conftest$ac_exeext'
11184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11185 (eval $ac_try) 2>&5
11187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11188 (exit $ac_status); }; }; then
11189 ac_cv_lib_mad_mad_bit_init=yes
11191 echo "$as_me: failed program was:" >&5
11192 cat conftest.$ac_ext >&5
11193 ac_cv_lib_mad_mad_bit_init=no
11195 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11196 LIBS=$ac_check_lib_save_LIBS
11198 echo "$as_me:$LINENO: result: $ac_cv_lib_mad_mad_bit_init" >&5
11199 echo "${ECHO_T}$ac_cv_lib_mad_mad_bit_init" >&6
11200 if test $ac_cv_lib_mad_mad_bit_init = yes; then
11202 PLUGINS="${PLUGINS} mad"
11203 mad_LDFLAGS="${mad_LDFLAGS} -lmad"
11205 { { echo "$as_me:$LINENO: error: Cannot find libmad library..." >&5
11206 echo "$as_me: error: Cannot find libmad library..." >&2;}
11207 { (exit 1); exit 1; }; }
11210 CFLAGS=$save_CFLAGS
11211 LDFLAGS=$save_LDFLAGS
11215 # Check whether --enable-ffmpeg or --disable-ffmpeg was given.
11216 if test "${enable_ffmpeg+set}" = set; then
11217 enableval="$enable_ffmpeg"
11220 if test "x$enable_ffmpeg" = "xyes"
11223 # Check whether --with-ffmpeg or --without-ffmpeg was given.
11224 if test "${with_ffmpeg+set}" = set; then
11225 withval="$with_ffmpeg"
11228 if test "x$with_ffmpeg" != "xno" -a "x$with_ffmpeg" != "x"
11230 ffmpeg_CFLAGS="${ffmpeg_CFLAGS} -I$with_ffmpeg/include/libffmpeg"
11231 ffmpeg_LDFLAGS="${ffmpeg_LDFLAGS} -L$with_ffmpeg/lib"
11235 # Check whether --with-ffmpeg-tree or --without-ffmpeg-tree was given.
11236 if test "${with_ffmpeg_tree+set}" = set; then
11237 withval="$with_ffmpeg_tree"
11240 if test "x$with_ffmpeg_tree" != "x"
11242 echo "$as_me:$LINENO: checking for libavcodec.a in ${with_ffmpeg_tree}" >&5
11243 echo $ECHO_N "checking for libavcodec.a in ${with_ffmpeg_tree}... $ECHO_C" >&6
11244 real_ffmpeg_tree="`cd ${with_ffmpeg_tree} 2>/dev/null && pwd`"
11245 if test "x$real_ffmpeg_tree" = x
11247 echo "$as_me:$LINENO: result: no" >&5
11248 echo "${ECHO_T}no" >&6
11249 { { echo "$as_me:$LINENO: error: cannot cd to ${with_ffmpeg_tree}" >&5
11250 echo "$as_me: error: cannot cd to ${with_ffmpeg_tree}" >&2;}
11251 { (exit 1); exit 1; }; }
11253 if test -f "${real_ffmpeg_tree}/libavcodec/libavcodec.a"
11255 echo "$as_me:$LINENO: result: ${real_ffmpeg_tree}/libavcodec/libavcodec.a" >&5
11256 echo "${ECHO_T}${real_ffmpeg_tree}/libavcodec/libavcodec.a" >&6
11257 BUILTINS="${BUILTINS} ffmpeg"
11258 ffmpeg_LDFLAGS="${ffmpeg_LDFLAGS} ${real_ffmpeg_tree}/libavcodec/libavcodec.a"
11259 if test x$SYS != xbeos
11261 ffmpeg_LDFLAGS="${ffmpeg_LDFLAGS} -lm"
11263 ffmpeg_CFLAGS="${ffmpeg_CFLAGS} -I${real_ffmpeg_tree}/libavcodec"
11265 echo "$as_me:$LINENO: result: no" >&5
11266 echo "${ECHO_T}no" >&6
11267 { { echo "$as_me:$LINENO: error: cannot find ${real_ffmpeg_tree}/libavcodec/libavcodec.a, make sure you compiled libavcodec in ${with_ffmpeg_tree}" >&5
11268 echo "$as_me: error: cannot find ${real_ffmpeg_tree}/libavcodec/libavcodec.a, make sure you compiled libavcodec in ${with_ffmpeg_tree}" >&2;}
11269 { (exit 1); exit 1; }; }
11272 save_CFLAGS=$CFLAGS
11273 save_LDFLAGS=$LDFLAGS
11274 CFLAGS="$CFLAGS $ffmpeg_CFLAGS"
11275 LDFLAGS="$LDFLAGS $ffmpeg_LDFLAGS"
11276 if test x$SYS != xbeos
11278 ffmpeg_LDFLAGS="${ffmpeg_LDFLAGS} -lm"
11280 echo "$as_me:$LINENO: checking for avcodec_init in -lavcodec" >&5
11281 echo $ECHO_N "checking for avcodec_init in -lavcodec... $ECHO_C" >&6
11282 if test "${ac_cv_lib_avcodec_avcodec_init+set}" = set; then
11283 echo $ECHO_N "(cached) $ECHO_C" >&6
11285 ac_check_lib_save_LIBS=$LIBS
11286 LIBS="-lavcodec $LIBS"
11287 cat >conftest.$ac_ext <<_ACEOF
11288 #line $LINENO "configure"
11289 #include "confdefs.h"
11291 /* Override any gcc2 internal prototype to avoid an error. */
11295 /* We use char because int might match the return type of a gcc2
11296 builtin and then its argument prototype would still apply. */
11297 char avcodec_init ();
11298 #ifdef F77_DUMMY_MAIN
11299 # ifdef __cplusplus
11302 int F77_DUMMY_MAIN() { return 1; }
11312 rm -f conftest.$ac_objext conftest$ac_exeext
11313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11314 (eval $ac_link) 2>&5
11316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11317 (exit $ac_status); } &&
11318 { ac_try='test -s conftest$ac_exeext'
11319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11320 (eval $ac_try) 2>&5
11322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11323 (exit $ac_status); }; }; then
11324 ac_cv_lib_avcodec_avcodec_init=yes
11326 echo "$as_me: failed program was:" >&5
11327 cat conftest.$ac_ext >&5
11328 ac_cv_lib_avcodec_avcodec_init=no
11330 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11331 LIBS=$ac_check_lib_save_LIBS
11333 echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_avcodec_init" >&5
11334 echo "${ECHO_T}$ac_cv_lib_avcodec_avcodec_init" >&6
11335 if test $ac_cv_lib_avcodec_avcodec_init = yes; then
11337 BUILTINS="${BUILTINS} ffmpeg"
11338 ffmpeg_LDFLAGS="${ffmpeg_LDFLAGS} -lavcodec"
11339 if test x$SYS != xbeos
11341 ffmpeg_LDFLAGS="${ffmpeg_LDFLAGS} -lm"
11344 { { echo "$as_me:$LINENO: error: Cannot find libavcodec library..." >&5
11345 echo "$as_me: error: Cannot find libavcodec library..." >&2;}
11346 { (exit 1); exit 1; }; }
11349 CFLAGS=$save_CFLAGS
11350 LDFLAGS=$save_LDFLAGS
11355 if test x$SYS = xbeos
11357 PLUGINS="${PLUGINS} beos"
11360 # Check whether --enable-a52 or --disable-a52 was given.
11361 if test "${enable_a52+set}" = set; then
11362 enableval="$enable_a52"
11365 if test "x$enable_a52" != "xno"
11368 # Check whether --with-a52-tree or --without-a52-tree was given.
11369 if test "${with_a52_tree+set}" = set; then
11370 withval="$with_a52_tree"
11373 if test "x$with_a52_tree" != "xno" -a "x$with_a52_tree" != "x"
11375 real_a52_tree="`cd ${with_a52_tree} 2>/dev/null && pwd`"
11376 if test "x$real_a52_tree" = x
11378 echo "$as_me:$LINENO: result: no" >&5
11379 echo "${ECHO_T}no" >&6
11380 { { echo "$as_me:$LINENO: error: ${with_a52_tree} directory doesn't exist" >&5
11381 echo "$as_me: error: ${with_a52_tree} directory doesn't exist" >&2;}
11382 { (exit 1); exit 1; }; }
11384 echo "$as_me:$LINENO: checking for a52.h in ${real_a52_tree}/include" >&5
11385 echo $ECHO_N "checking for a52.h in ${real_a52_tree}/include... $ECHO_C" >&6
11386 if test -f ${real_a52_tree}/include/a52.h
11388 echo "$as_me:$LINENO: result: yes" >&5
11389 echo "${ECHO_T}yes" >&6
11390 a52_CFLAGS="${a52_CFLAGS} -I${real_a52_tree}"
11391 a52_LDFLAGS="${a52_LDFLAGS} -L${real_a52_tree}/liba52/.libs"
11392 save_LDFLAGS=$LDFLAGS
11393 LDFLAGS="$a52_LDFLAGS $LDFLAGS"
11394 echo "$as_me:$LINENO: checking for a52_free in -la52" >&5
11395 echo $ECHO_N "checking for a52_free in -la52... $ECHO_C" >&6
11396 if test "${ac_cv_lib_a52_a52_free+set}" = set; then
11397 echo $ECHO_N "(cached) $ECHO_C" >&6
11399 ac_check_lib_save_LIBS=$LIBS
11400 LIBS="-la52 -lm $LIBS"
11401 cat >conftest.$ac_ext <<_ACEOF
11402 #line $LINENO "configure"
11403 #include "confdefs.h"
11405 /* Override any gcc2 internal prototype to avoid an error. */
11409 /* We use char because int might match the return type of a gcc2
11410 builtin and then its argument prototype would still apply. */
11412 #ifdef F77_DUMMY_MAIN
11413 # ifdef __cplusplus
11416 int F77_DUMMY_MAIN() { return 1; }
11426 rm -f conftest.$ac_objext conftest$ac_exeext
11427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11428 (eval $ac_link) 2>&5
11430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11431 (exit $ac_status); } &&
11432 { ac_try='test -s conftest$ac_exeext'
11433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11434 (eval $ac_try) 2>&5
11436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11437 (exit $ac_status); }; }; then
11438 ac_cv_lib_a52_a52_free=yes
11440 echo "$as_me: failed program was:" >&5
11441 cat conftest.$ac_ext >&5
11442 ac_cv_lib_a52_a52_free=no
11444 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11445 LIBS=$ac_check_lib_save_LIBS
11447 echo "$as_me:$LINENO: result: $ac_cv_lib_a52_a52_free" >&5
11448 echo "${ECHO_T}$ac_cv_lib_a52_a52_free" >&6
11449 if test $ac_cv_lib_a52_a52_free = yes; then
11451 BUILTINS="${BUILTINS} a52"
11452 a52_LDFLAGS="${a52_LDFLAGS} -la52 -lm"
11453 a52_CFLAGS="${a52_CFLAGS} -DUSE_A52DEC_TREE"
11457 if test -f ${real_a52_tree}/liba52/.libs/liba52.a
11459 { { echo "$as_me:$LINENO: error: make sure you have at least a52dec-0.7.3" >&5
11460 echo "$as_me: error: make sure you have at least a52dec-0.7.3" >&2;}
11461 { (exit 1); exit 1; }; }
11463 { { echo "$as_me:$LINENO: error: the specified tree hasn't been compiled" >&5
11464 echo "$as_me: error: the specified tree hasn't been compiled" >&2;}
11465 { (exit 1); exit 1; }; }
11470 LDFLAGS=$save_LDFLAGS
11472 echo "$as_me:$LINENO: result: no" >&5
11473 echo "${ECHO_T}no" >&6
11474 { { echo "$as_me:$LINENO: error: the specified tree doesn't have a52.h" >&5
11475 echo "$as_me: error: the specified tree doesn't have a52.h" >&2;}
11476 { (exit 1); exit 1; }; }
11479 for ac_header in a52dec/a52.h
11481 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11482 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11483 echo "$as_me:$LINENO: checking for $ac_header" >&5
11484 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11485 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11486 echo $ECHO_N "(cached) $ECHO_C" >&6
11488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11489 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11491 # Is the header compilable?
11492 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11493 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11494 cat >conftest.$ac_ext <<_ACEOF
11495 #line $LINENO "configure"
11496 #include "confdefs.h"
11497 $ac_includes_default
11498 #include <$ac_header>
11500 rm -f conftest.$ac_objext
11501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11502 (eval $ac_compile) 2>&5
11504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11505 (exit $ac_status); } &&
11506 { ac_try='test -s conftest.$ac_objext'
11507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11508 (eval $ac_try) 2>&5
11510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11511 (exit $ac_status); }; }; then
11512 ac_header_compiler=yes
11514 echo "$as_me: failed program was:" >&5
11515 cat conftest.$ac_ext >&5
11516 ac_header_compiler=no
11518 rm -f conftest.$ac_objext conftest.$ac_ext
11519 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11520 echo "${ECHO_T}$ac_header_compiler" >&6
11522 # Is the header present?
11523 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11524 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11525 cat >conftest.$ac_ext <<_ACEOF
11526 #line $LINENO "configure"
11527 #include "confdefs.h"
11528 #include <$ac_header>
11530 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11531 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11533 egrep -v '^ *\+' conftest.er1 >conftest.err
11535 cat conftest.err >&5
11536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11537 (exit $ac_status); } >/dev/null; then
11538 if test -s conftest.err; then
11539 ac_cpp_err=$ac_c_preproc_warn_flag
11546 if test -z "$ac_cpp_err"; then
11547 ac_header_preproc=yes
11549 echo "$as_me: failed program was:" >&5
11550 cat conftest.$ac_ext >&5
11551 ac_header_preproc=no
11553 rm -f conftest.err conftest.$ac_ext
11554 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11555 echo "${ECHO_T}$ac_header_preproc" >&6
11557 # So? What about this header?
11558 case $ac_header_compiler:$ac_header_preproc in
11560 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11561 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11562 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11563 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11565 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11566 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11567 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11568 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11569 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11570 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11572 echo "$as_me:$LINENO: checking for $ac_header" >&5
11573 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11574 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11575 echo $ECHO_N "(cached) $ECHO_C" >&6
11577 eval "$as_ac_Header=$ac_header_preproc"
11579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11580 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11583 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11584 cat >>confdefs.h <<_ACEOF
11585 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11588 echo "$as_me:$LINENO: checking for a52_free in -la52" >&5
11589 echo $ECHO_N "checking for a52_free in -la52... $ECHO_C" >&6
11590 if test "${ac_cv_lib_a52_a52_free+set}" = set; then
11591 echo $ECHO_N "(cached) $ECHO_C" >&6
11593 ac_check_lib_save_LIBS=$LIBS
11594 LIBS="-la52 -lm $LIBS"
11595 cat >conftest.$ac_ext <<_ACEOF
11596 #line $LINENO "configure"
11597 #include "confdefs.h"
11599 /* Override any gcc2 internal prototype to avoid an error. */
11603 /* We use char because int might match the return type of a gcc2
11604 builtin and then its argument prototype would still apply. */
11606 #ifdef F77_DUMMY_MAIN
11607 # ifdef __cplusplus
11610 int F77_DUMMY_MAIN() { return 1; }
11620 rm -f conftest.$ac_objext conftest$ac_exeext
11621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11622 (eval $ac_link) 2>&5
11624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11625 (exit $ac_status); } &&
11626 { ac_try='test -s conftest$ac_exeext'
11627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11628 (eval $ac_try) 2>&5
11630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11631 (exit $ac_status); }; }; then
11632 ac_cv_lib_a52_a52_free=yes
11634 echo "$as_me: failed program was:" >&5
11635 cat conftest.$ac_ext >&5
11636 ac_cv_lib_a52_a52_free=no
11638 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11639 LIBS=$ac_check_lib_save_LIBS
11641 echo "$as_me:$LINENO: result: $ac_cv_lib_a52_a52_free" >&5
11642 echo "${ECHO_T}$ac_cv_lib_a52_a52_free" >&6
11643 if test $ac_cv_lib_a52_a52_free = yes; then
11645 BUILTINS="${BUILTINS} a52"
11646 a52_LDFLAGS="${a52_LDFLAGS} -la52 -lm"
11647 a52_CFLAGS="${a52_CFLAGS}"
11659 # Check whether --enable-vorbis or --disable-vorbis was given.
11660 if test "${enable_vorbis+set}" = set; then
11661 enableval="$enable_vorbis"
11664 if test "x$enable_vorbis" != "xno"
11667 for ac_header in ogg/ogg.h
11669 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11670 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11671 echo "$as_me:$LINENO: checking for $ac_header" >&5
11672 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11673 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11674 echo $ECHO_N "(cached) $ECHO_C" >&6
11676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11677 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11679 # Is the header compilable?
11680 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11681 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11682 cat >conftest.$ac_ext <<_ACEOF
11683 #line $LINENO "configure"
11684 #include "confdefs.h"
11685 $ac_includes_default
11686 #include <$ac_header>
11688 rm -f conftest.$ac_objext
11689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11690 (eval $ac_compile) 2>&5
11692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11693 (exit $ac_status); } &&
11694 { ac_try='test -s conftest.$ac_objext'
11695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11696 (eval $ac_try) 2>&5
11698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11699 (exit $ac_status); }; }; then
11700 ac_header_compiler=yes
11702 echo "$as_me: failed program was:" >&5
11703 cat conftest.$ac_ext >&5
11704 ac_header_compiler=no
11706 rm -f conftest.$ac_objext conftest.$ac_ext
11707 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11708 echo "${ECHO_T}$ac_header_compiler" >&6
11710 # Is the header present?
11711 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11712 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11713 cat >conftest.$ac_ext <<_ACEOF
11714 #line $LINENO "configure"
11715 #include "confdefs.h"
11716 #include <$ac_header>
11718 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11719 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11721 egrep -v '^ *\+' conftest.er1 >conftest.err
11723 cat conftest.err >&5
11724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11725 (exit $ac_status); } >/dev/null; then
11726 if test -s conftest.err; then
11727 ac_cpp_err=$ac_c_preproc_warn_flag
11734 if test -z "$ac_cpp_err"; then
11735 ac_header_preproc=yes
11737 echo "$as_me: failed program was:" >&5
11738 cat conftest.$ac_ext >&5
11739 ac_header_preproc=no
11741 rm -f conftest.err conftest.$ac_ext
11742 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11743 echo "${ECHO_T}$ac_header_preproc" >&6
11745 # So? What about this header?
11746 case $ac_header_compiler:$ac_header_preproc in
11748 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11749 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11750 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11751 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11753 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11754 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11755 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11756 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11757 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11758 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11760 echo "$as_me:$LINENO: checking for $ac_header" >&5
11761 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11763 echo $ECHO_N "(cached) $ECHO_C" >&6
11765 eval "$as_ac_Header=$ac_header_preproc"
11767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11768 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11771 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11772 cat >>confdefs.h <<_ACEOF
11773 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11776 #PLUGINS="${PLUGINS} vorbis"
11777 vorbis_LDFLAGS="${vorbis_LDFLAGS} -lvorbis"
11787 # Check whether --with- or --without- was given.
11788 if test "${with_+set}" = set; then
11793 # Check whether --enable-x11 or --disable-x11 was given.
11794 if test "${enable_x11+set}" = set; then
11795 enableval="$enable_x11"
11798 if test x$enable_x11 != xno &&
11799 (test x$SYS != xmingw32 || test x$enable_x11 = xyes); then
11800 if test x$x_includes = xNONE; then
11801 x_includes=/usr/X11R6/include
11803 if test x$x_libraries = xNONE; then
11804 x_libraries=/usr/X11R6/lib
11806 CPPFLAGS="$save_CPPFLAGS -I$x_includes"
11808 for ac_header in X11/Xlib.h
11810 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11812 echo "$as_me:$LINENO: checking for $ac_header" >&5
11813 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11815 echo $ECHO_N "(cached) $ECHO_C" >&6
11817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11818 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11820 # Is the header compilable?
11821 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11822 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11823 cat >conftest.$ac_ext <<_ACEOF
11824 #line $LINENO "configure"
11825 #include "confdefs.h"
11826 $ac_includes_default
11827 #include <$ac_header>
11829 rm -f conftest.$ac_objext
11830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11831 (eval $ac_compile) 2>&5
11833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11834 (exit $ac_status); } &&
11835 { ac_try='test -s conftest.$ac_objext'
11836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11837 (eval $ac_try) 2>&5
11839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11840 (exit $ac_status); }; }; then
11841 ac_header_compiler=yes
11843 echo "$as_me: failed program was:" >&5
11844 cat conftest.$ac_ext >&5
11845 ac_header_compiler=no
11847 rm -f conftest.$ac_objext conftest.$ac_ext
11848 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11849 echo "${ECHO_T}$ac_header_compiler" >&6
11851 # Is the header present?
11852 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11853 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11854 cat >conftest.$ac_ext <<_ACEOF
11855 #line $LINENO "configure"
11856 #include "confdefs.h"
11857 #include <$ac_header>
11859 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11860 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11862 egrep -v '^ *\+' conftest.er1 >conftest.err
11864 cat conftest.err >&5
11865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11866 (exit $ac_status); } >/dev/null; then
11867 if test -s conftest.err; then
11868 ac_cpp_err=$ac_c_preproc_warn_flag
11875 if test -z "$ac_cpp_err"; then
11876 ac_header_preproc=yes
11878 echo "$as_me: failed program was:" >&5
11879 cat conftest.$ac_ext >&5
11880 ac_header_preproc=no
11882 rm -f conftest.err conftest.$ac_ext
11883 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11884 echo "${ECHO_T}$ac_header_preproc" >&6
11886 # So? What about this header?
11887 case $ac_header_compiler:$ac_header_preproc in
11889 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11890 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11891 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11892 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11894 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11895 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11896 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11897 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11898 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11899 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11901 echo "$as_me:$LINENO: checking for $ac_header" >&5
11902 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11903 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11904 echo $ECHO_N "(cached) $ECHO_C" >&6
11906 eval "$as_ac_Header=$ac_header_preproc"
11908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11909 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11912 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11913 cat >>confdefs.h <<_ACEOF
11914 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11917 PLUGINS="${PLUGINS} x11"
11918 x11_LDFLAGS="${x11_LDFLAGS} -L$x_libraries -lX11 -lXext"
11919 x11_CFLAGS="${x11_CFLAGS} -I$x_includes"
11925 CPPFLAGS="$save_CPPFLAGS"
11928 # Check whether --enable-xvideo or --disable-xvideo was given.
11929 if test "${enable_xvideo+set}" = set; then
11930 enableval="$enable_xvideo"
11933 if test x$enable_xvideo != xno &&
11934 (test x$SYS != xmingw32 || test x$enable_xvideo = xyes); then
11935 if test x$x_includes = xNONE; then
11936 x_includes=/usr/X11R6/include
11938 if test x$x_libraries = xNONE; then
11939 x_libraries=/usr/X11R6/lib
11941 save_CPPFLAGS=$CPPFLAGS
11942 CPPFLAGS="$save_CPPFLAGS -I$x_includes"
11944 for ac_header in X11/extensions/Xv.h
11946 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11947 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11948 echo "$as_me:$LINENO: checking for $ac_header" >&5
11949 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11950 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11951 echo $ECHO_N "(cached) $ECHO_C" >&6
11953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11954 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11956 # Is the header compilable?
11957 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11958 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11959 cat >conftest.$ac_ext <<_ACEOF
11960 #line $LINENO "configure"
11961 #include "confdefs.h"
11962 $ac_includes_default
11963 #include <$ac_header>
11965 rm -f conftest.$ac_objext
11966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11967 (eval $ac_compile) 2>&5
11969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11970 (exit $ac_status); } &&
11971 { ac_try='test -s conftest.$ac_objext'
11972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11973 (eval $ac_try) 2>&5
11975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11976 (exit $ac_status); }; }; then
11977 ac_header_compiler=yes
11979 echo "$as_me: failed program was:" >&5
11980 cat conftest.$ac_ext >&5
11981 ac_header_compiler=no
11983 rm -f conftest.$ac_objext conftest.$ac_ext
11984 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11985 echo "${ECHO_T}$ac_header_compiler" >&6
11987 # Is the header present?
11988 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11989 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11990 cat >conftest.$ac_ext <<_ACEOF
11991 #line $LINENO "configure"
11992 #include "confdefs.h"
11993 #include <$ac_header>
11995 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11996 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11998 egrep -v '^ *\+' conftest.er1 >conftest.err
12000 cat conftest.err >&5
12001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12002 (exit $ac_status); } >/dev/null; then
12003 if test -s conftest.err; then
12004 ac_cpp_err=$ac_c_preproc_warn_flag
12011 if test -z "$ac_cpp_err"; then
12012 ac_header_preproc=yes
12014 echo "$as_me: failed program was:" >&5
12015 cat conftest.$ac_ext >&5
12016 ac_header_preproc=no
12018 rm -f conftest.err conftest.$ac_ext
12019 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12020 echo "${ECHO_T}$ac_header_preproc" >&6
12022 # So? What about this header?
12023 case $ac_header_compiler:$ac_header_preproc in
12025 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12026 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12027 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12028 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12030 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12031 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12032 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12033 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12035 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12037 echo "$as_me:$LINENO: checking for $ac_header" >&5
12038 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12040 echo $ECHO_N "(cached) $ECHO_C" >&6
12042 eval "$as_ac_Header=$ac_header_preproc"
12044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12045 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12048 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12049 cat >>confdefs.h <<_ACEOF
12050 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12053 save_CFLAGS=$CFLAGS
12054 CFLAGS="$CFLAGS -L$x_libraries -lX11 -lXext"
12055 echo "$as_me:$LINENO: checking for XvSetPortAttribute in -lXv_pic" >&5
12056 echo $ECHO_N "checking for XvSetPortAttribute in -lXv_pic... $ECHO_C" >&6
12057 if test "${ac_cv_lib_Xv_pic_XvSetPortAttribute+set}" = set; then
12058 echo $ECHO_N "(cached) $ECHO_C" >&6
12060 ac_check_lib_save_LIBS=$LIBS
12061 LIBS="-lXv_pic $LIBS"
12062 cat >conftest.$ac_ext <<_ACEOF
12063 #line $LINENO "configure"
12064 #include "confdefs.h"
12066 /* Override any gcc2 internal prototype to avoid an error. */
12070 /* We use char because int might match the return type of a gcc2
12071 builtin and then its argument prototype would still apply. */
12072 char XvSetPortAttribute ();
12073 #ifdef F77_DUMMY_MAIN
12074 # ifdef __cplusplus
12077 int F77_DUMMY_MAIN() { return 1; }
12082 XvSetPortAttribute ();
12087 rm -f conftest.$ac_objext conftest$ac_exeext
12088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12089 (eval $ac_link) 2>&5
12091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12092 (exit $ac_status); } &&
12093 { ac_try='test -s conftest$ac_exeext'
12094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12095 (eval $ac_try) 2>&5
12097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12098 (exit $ac_status); }; }; then
12099 ac_cv_lib_Xv_pic_XvSetPortAttribute=yes
12101 echo "$as_me: failed program was:" >&5
12102 cat conftest.$ac_ext >&5
12103 ac_cv_lib_Xv_pic_XvSetPortAttribute=no
12105 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12106 LIBS=$ac_check_lib_save_LIBS
12108 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_pic_XvSetPortAttribute" >&5
12109 echo "${ECHO_T}$ac_cv_lib_Xv_pic_XvSetPortAttribute" >&6
12110 if test $ac_cv_lib_Xv_pic_XvSetPortAttribute = yes; then
12111 # We have Xv_pic, that's good, we can build an xvideo.so plugin !
12112 PLUGINS="${PLUGINS} xvideo"
12113 xvideo_LDFLAGS="${xvideo_LDFLAGS} -L$x_libraries -lX11 -lXext -lXv_pic"
12114 xvideo_CFLAGS="${xvideo_CFLAGS} -I$x_includes"
12116 # We don't have Xv_pic, let's make xvideo.a as builtin
12117 BUILTINS="${BUILTINS} xvideo"
12118 xvideo_LDFLAGS="${xvideo_LDFLAGS} -L$x_libraries -lX11 -lXext -lXv"
12119 xvideo_CFLAGS="${xvideo_CFLAGS} -I$x_includes"
12122 CFLAGS="$save_CFLAGS"
12124 CPPFLAGS="$save_CPPFLAGS"
12131 # Check whether --enable-sdl or --disable-sdl was given.
12132 if test "${enable_sdl+set}" = set; then
12133 enableval="$enable_sdl"
12136 if test "x$enable_sdl" != "xno"
12140 # Check whether --with-sdl-config-path or --without-sdl-config-path was given.
12141 if test "${with_sdl_config_path+set}" = set; then
12142 withval="$with_sdl_config_path"
12143 if test "x$with_sdl_config_path" != "xno"
12145 SDL_PATH="$with_sdl_config_path:$PATH"
12148 # Extract the first word of "sdl12-config", so it can be a program name with args.
12149 set dummy sdl12-config; ac_word=$2
12150 echo "$as_me:$LINENO: checking for $ac_word" >&5
12151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12152 if test "${ac_cv_path_SDL12_CONFIG+set}" = set; then
12153 echo $ECHO_N "(cached) $ECHO_C" >&6
12155 case $SDL12_CONFIG in
12157 ac_cv_path_SDL12_CONFIG="$SDL12_CONFIG" # Let the user override the test with a path.
12160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12161 for as_dir in $SDL_PATH
12164 test -z "$as_dir" && as_dir=.
12165 for ac_exec_ext in '' $ac_executable_extensions; do
12166 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12167 ac_cv_path_SDL12_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12174 test -z "$ac_cv_path_SDL12_CONFIG" && ac_cv_path_SDL12_CONFIG="no"
12178 SDL12_CONFIG=$ac_cv_path_SDL12_CONFIG
12180 if test -n "$SDL12_CONFIG"; then
12181 echo "$as_me:$LINENO: result: $SDL12_CONFIG" >&5
12182 echo "${ECHO_T}$SDL12_CONFIG" >&6
12184 echo "$as_me:$LINENO: result: no" >&5
12185 echo "${ECHO_T}no" >&6
12188 SDL_CONFIG=${SDL12_CONFIG}
12189 SDL_HEADER="SDL12/SDL.h"
12190 if test x${SDL_CONFIG} = xno
12192 # Extract the first word of "sdl11-config", so it can be a program name with args.
12193 set dummy sdl11-config; ac_word=$2
12194 echo "$as_me:$LINENO: checking for $ac_word" >&5
12195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12196 if test "${ac_cv_path_SDL11_CONFIG+set}" = set; then
12197 echo $ECHO_N "(cached) $ECHO_C" >&6
12199 case $SDL11_CONFIG in
12201 ac_cv_path_SDL11_CONFIG="$SDL11_CONFIG" # Let the user override the test with a path.
12204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12205 for as_dir in $SDL_PATH
12208 test -z "$as_dir" && as_dir=.
12209 for ac_exec_ext in '' $ac_executable_extensions; do
12210 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12211 ac_cv_path_SDL11_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12218 test -z "$ac_cv_path_SDL11_CONFIG" && ac_cv_path_SDL11_CONFIG="no"
12222 SDL11_CONFIG=$ac_cv_path_SDL11_CONFIG
12224 if test -n "$SDL11_CONFIG"; then
12225 echo "$as_me:$LINENO: result: $SDL11_CONFIG" >&5
12226 echo "${ECHO_T}$SDL11_CONFIG" >&6
12228 echo "$as_me:$LINENO: result: no" >&5
12229 echo "${ECHO_T}no" >&6
12232 SDL_CONFIG=${SDL11_CONFIG}
12233 SDL_HEADER="SDL11/SDL.h"
12235 if test x${SDL_CONFIG} = xno
12237 # Extract the first word of "sdl-config", so it can be a program name with args.
12238 set dummy sdl-config; ac_word=$2
12239 echo "$as_me:$LINENO: checking for $ac_word" >&5
12240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12241 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
12242 echo $ECHO_N "(cached) $ECHO_C" >&6
12244 case $SDL_CONFIG in
12246 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
12249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12250 for as_dir in $SDL_PATH
12253 test -z "$as_dir" && as_dir=.
12254 for ac_exec_ext in '' $ac_executable_extensions; do
12255 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12256 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12263 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
12267 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
12269 if test -n "$SDL_CONFIG"; then
12270 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
12271 echo "${ECHO_T}$SDL_CONFIG" >&6
12273 echo "$as_me:$LINENO: result: no" >&5
12274 echo "${ECHO_T}no" >&6
12277 SDL_HEADER="SDL/SDL.h"
12279 # check for cross-compiling
12282 # Check whether --with-sdl or --without-sdl was given.
12283 if test "${with_sdl+set}" = set; then
12284 withval="$with_sdl"
12287 if test "x$with_sdl_prefix" != "xno" -a "x$with_sdl_prefix" != "x"
12289 SDL_PREFIX="--prefix=$with_sdl_prefix"
12291 if test x${SDL_CONFIG} != xno
12293 PLUGINS="${PLUGINS} sdl"
12294 sdl_CFLAGS="${sdl_CFLAGS} `${SDL_CONFIG} ${SDL_PREFIX} --cflags`"
12295 sdl_LDFLAGS="${sdl_LDFLAGS} `${SDL_CONFIG} ${SDL_PREFIX} --libs | sed 's,-rdynamic,,'`"
12296 CPPFLAGS="$save_CPPFLAGS $sdl_CFLAGS"
12298 for ac_header in ${SDL_HEADER}
12300 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12302 echo "$as_me:$LINENO: checking for $ac_header" >&5
12303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12305 echo $ECHO_N "(cached) $ECHO_C" >&6
12307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12308 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12310 # Is the header compilable?
12311 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12312 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12313 cat >conftest.$ac_ext <<_ACEOF
12314 #line $LINENO "configure"
12315 #include "confdefs.h"
12316 $ac_includes_default
12317 #include <$ac_header>
12319 rm -f conftest.$ac_objext
12320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12321 (eval $ac_compile) 2>&5
12323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12324 (exit $ac_status); } &&
12325 { ac_try='test -s conftest.$ac_objext'
12326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12327 (eval $ac_try) 2>&5
12329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12330 (exit $ac_status); }; }; then
12331 ac_header_compiler=yes
12333 echo "$as_me: failed program was:" >&5
12334 cat conftest.$ac_ext >&5
12335 ac_header_compiler=no
12337 rm -f conftest.$ac_objext conftest.$ac_ext
12338 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12339 echo "${ECHO_T}$ac_header_compiler" >&6
12341 # Is the header present?
12342 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12343 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12344 cat >conftest.$ac_ext <<_ACEOF
12345 #line $LINENO "configure"
12346 #include "confdefs.h"
12347 #include <$ac_header>
12349 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12350 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12352 egrep -v '^ *\+' conftest.er1 >conftest.err
12354 cat conftest.err >&5
12355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12356 (exit $ac_status); } >/dev/null; then
12357 if test -s conftest.err; then
12358 ac_cpp_err=$ac_c_preproc_warn_flag
12365 if test -z "$ac_cpp_err"; then
12366 ac_header_preproc=yes
12368 echo "$as_me: failed program was:" >&5
12369 cat conftest.$ac_ext >&5
12370 ac_header_preproc=no
12372 rm -f conftest.err conftest.$ac_ext
12373 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12374 echo "${ECHO_T}$ac_header_preproc" >&6
12376 # So? What about this header?
12377 case $ac_header_compiler:$ac_header_preproc in
12379 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12380 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12381 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12382 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12384 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12385 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12386 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12387 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12388 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12389 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12391 echo "$as_me:$LINENO: checking for $ac_header" >&5
12392 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12393 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12394 echo $ECHO_N "(cached) $ECHO_C" >&6
12396 eval "$as_ac_Header=$ac_header_preproc"
12398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12399 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12402 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12403 cat >>confdefs.h <<_ACEOF
12404 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12407 cat >>confdefs.h <<_ACEOF
12408 #define SDL_INCLUDE_FILE <${SDL_HEADER}>
12412 { { echo "$as_me:$LINENO: error: The development package for SDL is not installed.
12413 Please install it and try again. Alternatively you can also configure with
12414 --disable-sdl." >&5
12415 echo "$as_me: error: The development package for SDL is not installed.
12416 Please install it and try again. Alternatively you can also configure with
12417 --disable-sdl." >&2;}
12418 { (exit 1); exit 1; }; }
12424 CPPFLAGS="$save_CPPFLAGS"
12425 if expr 1.1.5 \> `$SDL_CONFIG --version` >/dev/null
12427 { { echo "$as_me:$LINENO: error: The development package for SDL is not installed.
12428 Please install it and try again. Alternatively you can also configure with
12429 --disable-sdl." >&5
12430 echo "$as_me: error: The development package for SDL is not installed.
12431 Please install it and try again. Alternatively you can also configure with
12432 --disable-sdl." >&2;}
12433 { (exit 1); exit 1; }; }
12435 elif test "x$enable_sdl" = "xyes"
12437 { { echo "$as_me:$LINENO: error: I couldn't find the SDL package. You can download libSDL
12438 from http://www.libsdl.org/, or configure with --disable-sdl. Have a nice day.
12440 echo "$as_me: error: I couldn't find the SDL package. You can download libSDL
12441 from http://www.libsdl.org/, or configure with --disable-sdl. Have a nice day.
12443 { (exit 1); exit 1; }; }
12447 # Check whether --enable-qte or --disable-qte was given.
12448 if test "${enable_qte+set}" = set; then
12449 enableval="$enable_qte"
12452 if test "x${enable_qte}" != "xno"
12455 # Check whether --with-qte or --without-qte was given.
12456 if test "${with_qte+set}" = set; then
12457 withval="$with_qte"
12460 if test "x${with_qte}" = "x"
12462 test_LDFLAGS="-L${QTDIR}/lib"
12463 test_CFLAGS="-I${QTDIR}/include"
12465 test_LDFLAGS="-L${with_qte}/lib"
12466 test_CFLAGS="-I${with_qte}/include"
12469 CPPFLAGS="${save_CPPFLAGS} ${test_CFLAGS}"
12471 for ac_header in qt.h
12473 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12475 echo "$as_me:$LINENO: checking for $ac_header" >&5
12476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12478 echo $ECHO_N "(cached) $ECHO_C" >&6
12480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12481 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12483 # Is the header compilable?
12484 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12485 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12486 cat >conftest.$ac_ext <<_ACEOF
12487 #line $LINENO "configure"
12488 #include "confdefs.h"
12489 $ac_includes_default
12490 #include <$ac_header>
12492 rm -f conftest.$ac_objext
12493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12494 (eval $ac_compile) 2>&5
12496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12497 (exit $ac_status); } &&
12498 { ac_try='test -s conftest.$ac_objext'
12499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12500 (eval $ac_try) 2>&5
12502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12503 (exit $ac_status); }; }; then
12504 ac_header_compiler=yes
12506 echo "$as_me: failed program was:" >&5
12507 cat conftest.$ac_ext >&5
12508 ac_header_compiler=no
12510 rm -f conftest.$ac_objext conftest.$ac_ext
12511 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12512 echo "${ECHO_T}$ac_header_compiler" >&6
12514 # Is the header present?
12515 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12516 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12517 cat >conftest.$ac_ext <<_ACEOF
12518 #line $LINENO "configure"
12519 #include "confdefs.h"
12520 #include <$ac_header>
12522 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12523 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12525 egrep -v '^ *\+' conftest.er1 >conftest.err
12527 cat conftest.err >&5
12528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12529 (exit $ac_status); } >/dev/null; then
12530 if test -s conftest.err; then
12531 ac_cpp_err=$ac_c_preproc_warn_flag
12538 if test -z "$ac_cpp_err"; then
12539 ac_header_preproc=yes
12541 echo "$as_me: failed program was:" >&5
12542 cat conftest.$ac_ext >&5
12543 ac_header_preproc=no
12545 rm -f conftest.err conftest.$ac_ext
12546 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12547 echo "${ECHO_T}$ac_header_preproc" >&6
12549 # So? What about this header?
12550 case $ac_header_compiler:$ac_header_preproc in
12552 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12553 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12554 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12555 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12557 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12558 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12559 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12560 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12561 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12562 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12564 echo "$as_me:$LINENO: checking for $ac_header" >&5
12565 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12566 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12567 echo $ECHO_N "(cached) $ECHO_C" >&6
12569 eval "$as_ac_Header=$ac_header_preproc"
12571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12572 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12575 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12576 cat >>confdefs.h <<_ACEOF
12577 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12580 qte_CFLAGS="${qte_CFLAGS} ${test_CFLAGS} -DQT_QWS_IPAQ -DQWS -fno-exceptions -fno-rtti"
12581 qte_LDFLAGS="${qte_LDFLAGS} ${test_LDFLAGS} -lqpe -lqte"
12582 if test "x${with_qte}" = "x"
12584 PLUGINS="${PLUGINS} qte"
12586 BUILTINS="${BUILTINS} qte"
12593 CPPFLAGS="${save_CPPFLAGS}"
12596 # Check whether --enable-directx or --disable-directx was given.
12597 if test "${enable_directx+set}" = set; then
12598 enableval="$enable_directx"
12601 if test "x$enable_directx" != "xno"
12603 if test x$SYS = xmingw32
12606 # Check whether --with-directx or --without-directx was given.
12607 if test "${with_directx+set}" = set; then
12608 withval="$with_directx"
12611 if test "x$with_directx" = "x"
12614 for ac_header in ddraw.h
12616 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12618 echo "$as_me:$LINENO: checking for $ac_header" >&5
12619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12621 echo $ECHO_N "(cached) $ECHO_C" >&6
12623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12624 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12626 # Is the header compilable?
12627 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12628 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12629 cat >conftest.$ac_ext <<_ACEOF
12630 #line $LINENO "configure"
12631 #include "confdefs.h"
12632 $ac_includes_default
12633 #include <$ac_header>
12635 rm -f conftest.$ac_objext
12636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12637 (eval $ac_compile) 2>&5
12639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12640 (exit $ac_status); } &&
12641 { ac_try='test -s conftest.$ac_objext'
12642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12643 (eval $ac_try) 2>&5
12645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12646 (exit $ac_status); }; }; then
12647 ac_header_compiler=yes
12649 echo "$as_me: failed program was:" >&5
12650 cat conftest.$ac_ext >&5
12651 ac_header_compiler=no
12653 rm -f conftest.$ac_objext conftest.$ac_ext
12654 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12655 echo "${ECHO_T}$ac_header_compiler" >&6
12657 # Is the header present?
12658 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12659 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12660 cat >conftest.$ac_ext <<_ACEOF
12661 #line $LINENO "configure"
12662 #include "confdefs.h"
12663 #include <$ac_header>
12665 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12666 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12668 egrep -v '^ *\+' conftest.er1 >conftest.err
12670 cat conftest.err >&5
12671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12672 (exit $ac_status); } >/dev/null; then
12673 if test -s conftest.err; then
12674 ac_cpp_err=$ac_c_preproc_warn_flag
12681 if test -z "$ac_cpp_err"; then
12682 ac_header_preproc=yes
12684 echo "$as_me: failed program was:" >&5
12685 cat conftest.$ac_ext >&5
12686 ac_header_preproc=no
12688 rm -f conftest.err conftest.$ac_ext
12689 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12690 echo "${ECHO_T}$ac_header_preproc" >&6
12692 # So? What about this header?
12693 case $ac_header_compiler:$ac_header_preproc in
12695 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12696 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12697 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12698 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12700 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12701 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12702 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12703 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12704 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12705 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12707 echo "$as_me:$LINENO: checking for $ac_header" >&5
12708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12710 echo $ECHO_N "(cached) $ECHO_C" >&6
12712 eval "$as_ac_Header=$ac_header_preproc"
12714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12715 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12718 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12719 cat >>confdefs.h <<_ACEOF
12720 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12722 PLUGINS="${PLUGINS} directx"
12723 directx_LDFLAGS="${directx_LDFLAGS} -lgdi32"
12729 echo "$as_me:$LINENO: checking for directX headers in ${with_directx}" >&5
12730 echo $ECHO_N "checking for directX headers in ${with_directx}... $ECHO_C" >&6
12731 if test -f ${with_directx}/ddraw.h
12733 PLUGINS="${PLUGINS} directx"
12734 directx_LDFLAGS="${directx_LDFLAGS} -L${with_directx}/lib -lgdi32"
12735 directx_CFLAGS="${directx_CFLAGS} -I${with_directx}"
12736 echo "$as_me:$LINENO: result: yes" >&5
12737 echo "${ECHO_T}yes" >&6
12739 echo "$as_me:$LINENO: result: no" >&5
12740 echo "${ECHO_T}no" >&6
12741 { { echo "$as_me:$LINENO: error: Cannot find ${with_directx}/ddraw.h!" >&5
12742 echo "$as_me: error: Cannot find ${with_directx}/ddraw.h!" >&2;}
12743 { (exit 1); exit 1; }; }
12749 # Check whether --enable-fb or --disable-fb was given.
12750 if test "${enable_fb+set}" = set; then
12751 enableval="$enable_fb"
12754 if test x$enable_fb != xno
12757 for ac_header in linux/fb.h
12759 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12761 echo "$as_me:$LINENO: checking for $ac_header" >&5
12762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12764 echo $ECHO_N "(cached) $ECHO_C" >&6
12766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12767 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12769 # Is the header compilable?
12770 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12771 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12772 cat >conftest.$ac_ext <<_ACEOF
12773 #line $LINENO "configure"
12774 #include "confdefs.h"
12775 $ac_includes_default
12776 #include <$ac_header>
12778 rm -f conftest.$ac_objext
12779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12780 (eval $ac_compile) 2>&5
12782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12783 (exit $ac_status); } &&
12784 { ac_try='test -s conftest.$ac_objext'
12785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12786 (eval $ac_try) 2>&5
12788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12789 (exit $ac_status); }; }; then
12790 ac_header_compiler=yes
12792 echo "$as_me: failed program was:" >&5
12793 cat conftest.$ac_ext >&5
12794 ac_header_compiler=no
12796 rm -f conftest.$ac_objext conftest.$ac_ext
12797 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12798 echo "${ECHO_T}$ac_header_compiler" >&6
12800 # Is the header present?
12801 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12802 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12803 cat >conftest.$ac_ext <<_ACEOF
12804 #line $LINENO "configure"
12805 #include "confdefs.h"
12806 #include <$ac_header>
12808 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12809 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12811 egrep -v '^ *\+' conftest.er1 >conftest.err
12813 cat conftest.err >&5
12814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12815 (exit $ac_status); } >/dev/null; then
12816 if test -s conftest.err; then
12817 ac_cpp_err=$ac_c_preproc_warn_flag
12824 if test -z "$ac_cpp_err"; then
12825 ac_header_preproc=yes
12827 echo "$as_me: failed program was:" >&5
12828 cat conftest.$ac_ext >&5
12829 ac_header_preproc=no
12831 rm -f conftest.err conftest.$ac_ext
12832 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12833 echo "${ECHO_T}$ac_header_preproc" >&6
12835 # So? What about this header?
12836 case $ac_header_compiler:$ac_header_preproc in
12838 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12839 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12840 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12841 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12843 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12844 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12845 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12846 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12847 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12848 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12850 echo "$as_me:$LINENO: checking for $ac_header" >&5
12851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12853 echo $ECHO_N "(cached) $ECHO_C" >&6
12855 eval "$as_ac_Header=$ac_header_preproc"
12857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12858 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12861 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12862 cat >>confdefs.h <<_ACEOF
12863 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12866 PLUGINS="${PLUGINS} fb"
12874 # Check whether --enable-mga or --disable-mga was given.
12875 if test "${enable_mga+set}" = set; then
12876 enableval="$enable_mga"
12877 if test x$enable_mga = xyes
12879 PLUGINS="${PLUGINS} mga xmga"
12883 # Check whether --enable-ggi or --disable-ggi was given.
12884 if test "${enable_ggi+set}" = set; then
12885 enableval="$enable_ggi"
12888 if test x$enable_ggi = xyes
12890 PLUGINS="${PLUGINS} ggi"
12891 ggi_LDFLAGS="${ggi_LDFLAGS} -lggi"
12893 # Check whether --with-ggi or --without-ggi was given.
12894 if test "${with_ggi+set}" = set; then
12895 withval="$with_ggi"
12896 if test "x$with_ggi" != "xno" -a "x$with_ggi" != "x"
12898 CFLAGS_GGI="${CFLAGS_GGI} -I$with_ggi/include"
12899 ggi_LDFLAGS="${ggi_LDFLAGS} -L$with_ggi/lib"
12904 # Check whether --enable-glide or --disable-glide was given.
12905 if test "${enable_glide+set}" = set; then
12906 enableval="$enable_glide"
12909 if test x$enable_glide = xyes
12911 PLUGINS="${PLUGINS} glide"
12912 glide_LDFLAGS="${glide_LDFLAGS} -lglide2x -lm"
12913 glide_CFLAGS="${glide_CFLAGS} -I/usr/include/glide"
12915 # Check whether --with-glide or --without-glide was given.
12916 if test "${with_glide+set}" = set; then
12917 withval="$with_glide"
12918 if test "x$with_glide" != "xno" -a "x$with_glide" != "x"
12920 glide_CFLAGS="${glide_CFLAGS} -I$with_glide/include"
12921 glide_LDFLAGS="${glide_LDFLAGS} -L$with_glide/lib"
12926 # Check whether --enable-aa or --disable-aa was given.
12927 if test "${enable_aa+set}" = set; then
12928 enableval="$enable_aa"
12931 if test x$enable_aa = xyes
12933 if test "${ac_cv_header_aalib_h+set}" = set; then
12934 echo "$as_me:$LINENO: checking for aalib.h" >&5
12935 echo $ECHO_N "checking for aalib.h... $ECHO_C" >&6
12936 if test "${ac_cv_header_aalib_h+set}" = set; then
12937 echo $ECHO_N "(cached) $ECHO_C" >&6
12939 echo "$as_me:$LINENO: result: $ac_cv_header_aalib_h" >&5
12940 echo "${ECHO_T}$ac_cv_header_aalib_h" >&6
12942 # Is the header compilable?
12943 echo "$as_me:$LINENO: checking aalib.h usability" >&5
12944 echo $ECHO_N "checking aalib.h usability... $ECHO_C" >&6
12945 cat >conftest.$ac_ext <<_ACEOF
12946 #line $LINENO "configure"
12947 #include "confdefs.h"
12948 $ac_includes_default
12951 rm -f conftest.$ac_objext
12952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12953 (eval $ac_compile) 2>&5
12955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12956 (exit $ac_status); } &&
12957 { ac_try='test -s conftest.$ac_objext'
12958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12959 (eval $ac_try) 2>&5
12961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12962 (exit $ac_status); }; }; then
12963 ac_header_compiler=yes
12965 echo "$as_me: failed program was:" >&5
12966 cat conftest.$ac_ext >&5
12967 ac_header_compiler=no
12969 rm -f conftest.$ac_objext conftest.$ac_ext
12970 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12971 echo "${ECHO_T}$ac_header_compiler" >&6
12973 # Is the header present?
12974 echo "$as_me:$LINENO: checking aalib.h presence" >&5
12975 echo $ECHO_N "checking aalib.h presence... $ECHO_C" >&6
12976 cat >conftest.$ac_ext <<_ACEOF
12977 #line $LINENO "configure"
12978 #include "confdefs.h"
12981 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12982 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12984 egrep -v '^ *\+' conftest.er1 >conftest.err
12986 cat conftest.err >&5
12987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); } >/dev/null; then
12989 if test -s conftest.err; then
12990 ac_cpp_err=$ac_c_preproc_warn_flag
12997 if test -z "$ac_cpp_err"; then
12998 ac_header_preproc=yes
13000 echo "$as_me: failed program was:" >&5
13001 cat conftest.$ac_ext >&5
13002 ac_header_preproc=no
13004 rm -f conftest.err conftest.$ac_ext
13005 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13006 echo "${ECHO_T}$ac_header_preproc" >&6
13008 # So? What about this header?
13009 case $ac_header_compiler:$ac_header_preproc in
13011 { echo "$as_me:$LINENO: WARNING: aalib.h: accepted by the compiler, rejected by the preprocessor!" >&5
13012 echo "$as_me: WARNING: aalib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13013 { echo "$as_me:$LINENO: WARNING: aalib.h: proceeding with the preprocessor's result" >&5
13014 echo "$as_me: WARNING: aalib.h: proceeding with the preprocessor's result" >&2;};;
13016 { echo "$as_me:$LINENO: WARNING: aalib.h: present but cannot be compiled" >&5
13017 echo "$as_me: WARNING: aalib.h: present but cannot be compiled" >&2;}
13018 { echo "$as_me:$LINENO: WARNING: aalib.h: check for missing prerequisite headers?" >&5
13019 echo "$as_me: WARNING: aalib.h: check for missing prerequisite headers?" >&2;}
13020 { echo "$as_me:$LINENO: WARNING: aalib.h: proceeding with the preprocessor's result" >&5
13021 echo "$as_me: WARNING: aalib.h: proceeding with the preprocessor's result" >&2;};;
13023 echo "$as_me:$LINENO: checking for aalib.h" >&5
13024 echo $ECHO_N "checking for aalib.h... $ECHO_C" >&6
13025 if test "${ac_cv_header_aalib_h+set}" = set; then
13026 echo $ECHO_N "(cached) $ECHO_C" >&6
13028 ac_cv_header_aalib_h=$ac_header_preproc
13030 echo "$as_me:$LINENO: result: $ac_cv_header_aalib_h" >&5
13031 echo "${ECHO_T}$ac_cv_header_aalib_h" >&6
13034 if test $ac_cv_header_aalib_h = yes; then
13041 if test x$have_aa = xtrue
13043 PLUGINS="${PLUGINS} aa"
13044 aa_LDFLAGS="${aa_LDFLAGS} -laa"
13050 # Check whether --with- or --without- was given.
13051 if test "${with_+set}" = set; then
13056 # Check whether --enable-dsp or --disable-dsp was given.
13057 if test "${enable_dsp+set}" = set; then
13058 enableval="$enable_dsp"
13062 if test x$enable_dsp != xno &&
13063 (test x$SYS != xmingw32 || test x$enable_dsp = xyes)
13068 for ac_header in soundcard.h sys/soundcard.h machine/soundcard.h
13070 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13072 echo "$as_me:$LINENO: checking for $ac_header" >&5
13073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13075 echo $ECHO_N "(cached) $ECHO_C" >&6
13077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13078 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13080 # Is the header compilable?
13081 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13082 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13083 cat >conftest.$ac_ext <<_ACEOF
13084 #line $LINENO "configure"
13085 #include "confdefs.h"
13086 $ac_includes_default
13087 #include <$ac_header>
13089 rm -f conftest.$ac_objext
13090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13091 (eval $ac_compile) 2>&5
13093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13094 (exit $ac_status); } &&
13095 { ac_try='test -s conftest.$ac_objext'
13096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13097 (eval $ac_try) 2>&5
13099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13100 (exit $ac_status); }; }; then
13101 ac_header_compiler=yes
13103 echo "$as_me: failed program was:" >&5
13104 cat conftest.$ac_ext >&5
13105 ac_header_compiler=no
13107 rm -f conftest.$ac_objext conftest.$ac_ext
13108 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13109 echo "${ECHO_T}$ac_header_compiler" >&6
13111 # Is the header present?
13112 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13113 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13114 cat >conftest.$ac_ext <<_ACEOF
13115 #line $LINENO "configure"
13116 #include "confdefs.h"
13117 #include <$ac_header>
13119 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13120 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13122 egrep -v '^ *\+' conftest.er1 >conftest.err
13124 cat conftest.err >&5
13125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13126 (exit $ac_status); } >/dev/null; then
13127 if test -s conftest.err; then
13128 ac_cpp_err=$ac_c_preproc_warn_flag
13135 if test -z "$ac_cpp_err"; then
13136 ac_header_preproc=yes
13138 echo "$as_me: failed program was:" >&5
13139 cat conftest.$ac_ext >&5
13140 ac_header_preproc=no
13142 rm -f conftest.err conftest.$ac_ext
13143 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13144 echo "${ECHO_T}$ac_header_preproc" >&6
13146 # So? What about this header?
13147 case $ac_header_compiler:$ac_header_preproc in
13149 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13150 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13151 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13152 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13154 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13155 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13156 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13157 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13158 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13159 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13161 echo "$as_me:$LINENO: checking for $ac_header" >&5
13162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13163 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13164 echo $ECHO_N "(cached) $ECHO_C" >&6
13166 eval "$as_ac_Header=$ac_header_preproc"
13168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13169 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13172 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13173 cat >>confdefs.h <<_ACEOF
13174 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13177 PLUGINS="${PLUGINS} dsp"
13178 echo "$as_me:$LINENO: checking for main in -lossaudio" >&5
13179 echo $ECHO_N "checking for main in -lossaudio... $ECHO_C" >&6
13180 if test "${ac_cv_lib_ossaudio_main+set}" = set; then
13181 echo $ECHO_N "(cached) $ECHO_C" >&6
13183 ac_check_lib_save_LIBS=$LIBS
13184 LIBS="-lossaudio $LIBS"
13185 cat >conftest.$ac_ext <<_ACEOF
13186 #line $LINENO "configure"
13187 #include "confdefs.h"
13190 #ifdef F77_DUMMY_MAIN
13191 # ifdef __cplusplus
13194 int F77_DUMMY_MAIN() { return 1; }
13204 rm -f conftest.$ac_objext conftest$ac_exeext
13205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13206 (eval $ac_link) 2>&5
13208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13209 (exit $ac_status); } &&
13210 { ac_try='test -s conftest$ac_exeext'
13211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13212 (eval $ac_try) 2>&5
13214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13215 (exit $ac_status); }; }; then
13216 ac_cv_lib_ossaudio_main=yes
13218 echo "$as_me: failed program was:" >&5
13219 cat conftest.$ac_ext >&5
13220 ac_cv_lib_ossaudio_main=no
13222 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13223 LIBS=$ac_check_lib_save_LIBS
13225 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio_main" >&5
13226 echo "${ECHO_T}$ac_cv_lib_ossaudio_main" >&6
13227 if test $ac_cv_lib_ossaudio_main = yes; then
13228 dsp_LDFLAGS="${dsp_LDFLAGS} -lossaudio"
13238 # Check whether --enable-esd or --disable-esd was given.
13239 if test "${enable_esd+set}" = set; then
13240 enableval="$enable_esd"
13241 if test x$enable_esd = xyes
13243 # Extract the first word of "esd-config", so it can be a program name with args.
13244 set dummy esd-config; ac_word=$2
13245 echo "$as_me:$LINENO: checking for $ac_word" >&5
13246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13247 if test "${ac_cv_path_ESD_CONFIG+set}" = set; then
13248 echo $ECHO_N "(cached) $ECHO_C" >&6
13250 case $ESD_CONFIG in
13252 ac_cv_path_ESD_CONFIG="$ESD_CONFIG" # Let the user override the test with a path.
13255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13256 for as_dir in $PATH
13259 test -z "$as_dir" && as_dir=.
13260 for ac_exec_ext in '' $ac_executable_extensions; do
13261 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13262 ac_cv_path_ESD_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13269 test -z "$ac_cv_path_ESD_CONFIG" && ac_cv_path_ESD_CONFIG="no"
13273 ESD_CONFIG=$ac_cv_path_ESD_CONFIG
13275 if test -n "$ESD_CONFIG"; then
13276 echo "$as_me:$LINENO: result: $ESD_CONFIG" >&5
13277 echo "${ECHO_T}$ESD_CONFIG" >&6
13279 echo "$as_me:$LINENO: result: no" >&5
13280 echo "${ECHO_T}no" >&6
13283 if test x${ESD_CONFIG} != xno
13285 PLUGINS="${PLUGINS} esd"
13286 esd_CFLAGS="${esd_CFLAGS} `${ESD_CONFIG} --cflags`"
13287 esd_LDFLAGS="${esd_LDFLAGS} `${ESD_CONFIG} --libs`"
13292 # Check whether --enable-arts or --disable-arts was given.
13293 if test "${enable_arts+set}" = set; then
13294 enableval="$enable_arts"
13295 if test x$enable_arts = xyes
13297 # Extract the first word of "artsc-config", so it can be a program name with args.
13298 set dummy artsc-config; ac_word=$2
13299 echo "$as_me:$LINENO: checking for $ac_word" >&5
13300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13301 if test "${ac_cv_path_ARTS_CONFIG+set}" = set; then
13302 echo $ECHO_N "(cached) $ECHO_C" >&6
13304 case $ARTS_CONFIG in
13306 ac_cv_path_ARTS_CONFIG="$ARTS_CONFIG" # Let the user override the test with a path.
13309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13310 for as_dir in $PATH
13313 test -z "$as_dir" && as_dir=.
13314 for ac_exec_ext in '' $ac_executable_extensions; do
13315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13316 ac_cv_path_ARTS_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13323 test -z "$ac_cv_path_ARTS_CONFIG" && ac_cv_path_ARTS_CONFIG="no"
13327 ARTS_CONFIG=$ac_cv_path_ARTS_CONFIG
13329 if test -n "$ARTS_CONFIG"; then
13330 echo "$as_me:$LINENO: result: $ARTS_CONFIG" >&5
13331 echo "${ECHO_T}$ARTS_CONFIG" >&6
13333 echo "$as_me:$LINENO: result: no" >&5
13334 echo "${ECHO_T}no" >&6
13337 if test x${ARTS_CONFIG} != xno
13339 PLUGINS="${PLUGINS} arts"
13340 arts_CFLAGS="${arts_CFLAGS} `${ARTS_CONFIG} --cflags`"
13341 arts_LDFLAGS="${arts_LDFLAGS} `${ARTS_CONFIG} --libs `"
13346 # Check whether --enable-alsa or --disable-alsa was given.
13347 if test "${enable_alsa+set}" = set; then
13348 enableval="$enable_alsa"
13349 if test x$enable_alsa = xyes
13351 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
13352 echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
13353 echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6
13354 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
13355 echo $ECHO_N "(cached) $ECHO_C" >&6
13357 echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
13358 echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6
13360 # Is the header compilable?
13361 echo "$as_me:$LINENO: checking alsa/asoundlib.h usability" >&5
13362 echo $ECHO_N "checking alsa/asoundlib.h usability... $ECHO_C" >&6
13363 cat >conftest.$ac_ext <<_ACEOF
13364 #line $LINENO "configure"
13365 #include "confdefs.h"
13366 $ac_includes_default
13367 #include <alsa/asoundlib.h>
13369 rm -f conftest.$ac_objext
13370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13371 (eval $ac_compile) 2>&5
13373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13374 (exit $ac_status); } &&
13375 { ac_try='test -s conftest.$ac_objext'
13376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13377 (eval $ac_try) 2>&5
13379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13380 (exit $ac_status); }; }; then
13381 ac_header_compiler=yes
13383 echo "$as_me: failed program was:" >&5
13384 cat conftest.$ac_ext >&5
13385 ac_header_compiler=no
13387 rm -f conftest.$ac_objext conftest.$ac_ext
13388 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13389 echo "${ECHO_T}$ac_header_compiler" >&6
13391 # Is the header present?
13392 echo "$as_me:$LINENO: checking alsa/asoundlib.h presence" >&5
13393 echo $ECHO_N "checking alsa/asoundlib.h presence... $ECHO_C" >&6
13394 cat >conftest.$ac_ext <<_ACEOF
13395 #line $LINENO "configure"
13396 #include "confdefs.h"
13397 #include <alsa/asoundlib.h>
13399 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13400 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13402 egrep -v '^ *\+' conftest.er1 >conftest.err
13404 cat conftest.err >&5
13405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13406 (exit $ac_status); } >/dev/null; then
13407 if test -s conftest.err; then
13408 ac_cpp_err=$ac_c_preproc_warn_flag
13415 if test -z "$ac_cpp_err"; then
13416 ac_header_preproc=yes
13418 echo "$as_me: failed program was:" >&5
13419 cat conftest.$ac_ext >&5
13420 ac_header_preproc=no
13422 rm -f conftest.err conftest.$ac_ext
13423 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13424 echo "${ECHO_T}$ac_header_preproc" >&6
13426 # So? What about this header?
13427 case $ac_header_compiler:$ac_header_preproc in
13429 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
13430 echo "$as_me: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13431 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&5
13432 echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;};;
13434 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&5
13435 echo "$as_me: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&2;}
13436 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&5
13437 echo "$as_me: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&2;}
13438 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&5
13439 echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;};;
13441 echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
13442 echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6
13443 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
13444 echo $ECHO_N "(cached) $ECHO_C" >&6
13446 ac_cv_header_alsa_asoundlib_h=$ac_header_preproc
13448 echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
13449 echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6
13452 if test $ac_cv_header_alsa_asoundlib_h = yes; then
13453 echo "$as_me:$LINENO: checking for main in -lasound" >&5
13454 echo $ECHO_N "checking for main in -lasound... $ECHO_C" >&6
13455 if test "${ac_cv_lib_asound_main+set}" = set; then
13456 echo $ECHO_N "(cached) $ECHO_C" >&6
13458 ac_check_lib_save_LIBS=$LIBS
13459 LIBS="-lasound $LIBS"
13460 cat >conftest.$ac_ext <<_ACEOF
13461 #line $LINENO "configure"
13462 #include "confdefs.h"
13465 #ifdef F77_DUMMY_MAIN
13466 # ifdef __cplusplus
13469 int F77_DUMMY_MAIN() { return 1; }
13479 rm -f conftest.$ac_objext conftest$ac_exeext
13480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13481 (eval $ac_link) 2>&5
13483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13484 (exit $ac_status); } &&
13485 { ac_try='test -s conftest$ac_exeext'
13486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13487 (eval $ac_try) 2>&5
13489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13490 (exit $ac_status); }; }; then
13491 ac_cv_lib_asound_main=yes
13493 echo "$as_me: failed program was:" >&5
13494 cat conftest.$ac_ext >&5
13495 ac_cv_lib_asound_main=no
13497 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13498 LIBS=$ac_check_lib_save_LIBS
13500 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_main" >&5
13501 echo "${ECHO_T}$ac_cv_lib_asound_main" >&6
13502 if test $ac_cv_lib_asound_main = yes; then
13513 if test x$have_alsa = xtrue
13515 PLUGINS="${PLUGINS} alsa"
13516 alsa_LDFLAGS="${alsa_LDFLAGS} -lasound -lm -ldl"
13521 # Check whether --enable-waveout or --disable-waveout was given.
13522 if test "${enable_waveout+set}" = set; then
13523 enableval="$enable_waveout"
13526 if test "x$enable_waveout" != "xno" -a x$SYS = xmingw32
13528 PLUGINS="${PLUGINS} waveout"
13529 waveout_LDFLAGS="-lwinmm"
13534 # Check whether --with- or --without- was given.
13535 if test "${with_+set}" = set; then
13540 # Check whether --enable-gtk or --disable-gtk was given.
13541 if test "${enable_gtk+set}" = set; then
13542 enableval="$enable_gtk"
13545 if test x$enable_gtk != xno
13549 # Check whether --with-gtk-config-path or --without-gtk-config-path was given.
13550 if test "${with_gtk_config_path+set}" = set; then
13551 withval="$with_gtk_config_path"
13552 if test "x$with_gtk_config_path" != "xno"
13554 GTK_PATH="$with_gtk_config_path:$PATH"
13557 # look for gtk-config
13558 # Extract the first word of "gtk12-config", so it can be a program name with args.
13559 set dummy gtk12-config; ac_word=$2
13560 echo "$as_me:$LINENO: checking for $ac_word" >&5
13561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13562 if test "${ac_cv_path_GTK12_CONFIG+set}" = set; then
13563 echo $ECHO_N "(cached) $ECHO_C" >&6
13565 case $GTK12_CONFIG in
13567 ac_cv_path_GTK12_CONFIG="$GTK12_CONFIG" # Let the user override the test with a path.
13570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13571 for as_dir in $GTK_PATH
13574 test -z "$as_dir" && as_dir=.
13575 for ac_exec_ext in '' $ac_executable_extensions; do
13576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13577 ac_cv_path_GTK12_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13584 test -z "$ac_cv_path_GTK12_CONFIG" && ac_cv_path_GTK12_CONFIG="no"
13588 GTK12_CONFIG=$ac_cv_path_GTK12_CONFIG
13590 if test -n "$GTK12_CONFIG"; then
13591 echo "$as_me:$LINENO: result: $GTK12_CONFIG" >&5
13592 echo "${ECHO_T}$GTK12_CONFIG" >&6
13594 echo "$as_me:$LINENO: result: no" >&5
13595 echo "${ECHO_T}no" >&6
13598 GTK_CONFIG=${GTK12_CONFIG}
13599 if test x${GTK_CONFIG} = xno
13601 # Extract the first word of "gtk-config", so it can be a program name with args.
13602 set dummy gtk-config; ac_word=$2
13603 echo "$as_me:$LINENO: checking for $ac_word" >&5
13604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13605 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
13606 echo $ECHO_N "(cached) $ECHO_C" >&6
13608 case $GTK_CONFIG in
13610 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
13613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13614 for as_dir in $GTK_PATH
13617 test -z "$as_dir" && as_dir=.
13618 for ac_exec_ext in '' $ac_executable_extensions; do
13619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13620 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13627 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
13631 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
13633 if test -n "$GTK_CONFIG"; then
13634 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
13635 echo "${ECHO_T}$GTK_CONFIG" >&6
13637 echo "$as_me:$LINENO: result: no" >&5
13638 echo "${ECHO_T}no" >&6
13642 if test x${GTK_CONFIG} != xno
13644 if expr 1.2.0 \> `$GTK_CONFIG --version` >/dev/null
13646 { { 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
13647 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;}
13648 { (exit 1); exit 1; }; }
13650 gtk_CFLAGS="${gtk_CFLAGS} `${GTK_CONFIG} --cflags gtk`"
13651 gtk_LDFLAGS="${gtk_LDFLAGS} `${GTK_CONFIG} --libs gtk | sed 's,-rdynamic,,'`"
13652 # now look for the gtk.h header
13653 CPPFLAGS="$save_CPPFLAGS $gtk_CFLAGS"
13654 ac_cv_gtk_headers=yes
13658 for ac_header in gtk/gtk.h glib.h gdk/gdk.h
13660 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13661 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13662 echo "$as_me:$LINENO: checking for $ac_header" >&5
13663 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13665 echo $ECHO_N "(cached) $ECHO_C" >&6
13667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13668 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13670 # Is the header compilable?
13671 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13672 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13673 cat >conftest.$ac_ext <<_ACEOF
13674 #line $LINENO "configure"
13675 #include "confdefs.h"
13676 $ac_includes_default
13677 #include <$ac_header>
13679 rm -f conftest.$ac_objext
13680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13681 (eval $ac_compile) 2>&5
13683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13684 (exit $ac_status); } &&
13685 { ac_try='test -s conftest.$ac_objext'
13686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13687 (eval $ac_try) 2>&5
13689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13690 (exit $ac_status); }; }; then
13691 ac_header_compiler=yes
13693 echo "$as_me: failed program was:" >&5
13694 cat conftest.$ac_ext >&5
13695 ac_header_compiler=no
13697 rm -f conftest.$ac_objext conftest.$ac_ext
13698 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13699 echo "${ECHO_T}$ac_header_compiler" >&6
13701 # Is the header present?
13702 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13703 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13704 cat >conftest.$ac_ext <<_ACEOF
13705 #line $LINENO "configure"
13706 #include "confdefs.h"
13707 #include <$ac_header>
13709 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13710 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13712 egrep -v '^ *\+' conftest.er1 >conftest.err
13714 cat conftest.err >&5
13715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13716 (exit $ac_status); } >/dev/null; then
13717 if test -s conftest.err; then
13718 ac_cpp_err=$ac_c_preproc_warn_flag
13725 if test -z "$ac_cpp_err"; then
13726 ac_header_preproc=yes
13728 echo "$as_me: failed program was:" >&5
13729 cat conftest.$ac_ext >&5
13730 ac_header_preproc=no
13732 rm -f conftest.err conftest.$ac_ext
13733 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13734 echo "${ECHO_T}$ac_header_preproc" >&6
13736 # So? What about this header?
13737 case $ac_header_compiler:$ac_header_preproc in
13739 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13740 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13741 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13742 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13744 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13745 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13746 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13747 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13748 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13749 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13751 echo "$as_me:$LINENO: checking for $ac_header" >&5
13752 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13753 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13754 echo $ECHO_N "(cached) $ECHO_C" >&6
13756 eval "$as_ac_Header=$ac_header_preproc"
13758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13759 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13762 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13763 cat >>confdefs.h <<_ACEOF
13764 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13769 ac_cv_gtk_headers=no
13770 echo "Cannot find gtk development headers."
13776 if test "x$ac_cv_gtk_headers" = xyes
13778 PLUGINS="${PLUGINS} gtk"
13779 ALIASES="${ALIASES} gvlc"
13781 CPPFLAGS="$save_CPPFLAGS"
13785 # Check whether --enable-familiar or --disable-familiar was given.
13786 if test "${enable_familiar+set}" = set; then
13787 enableval="$enable_familiar"
13790 if test "x${enable_familiar}" = "xyes"
13794 # Check whether --with-gtk-config-path or --without-gtk-config-path was given.
13795 if test "${with_gtk_config_path+set}" = set; then
13796 withval="$with_gtk_config_path"
13797 if test "x${with_gtk_config_path}" != "xno"
13799 GTK_PATH="${with_gtk_config_path}:${PATH}"
13802 # look for gtk-config
13803 # Extract the first word of "gtk12-config", so it can be a program name with args.
13804 set dummy gtk12-config; ac_word=$2
13805 echo "$as_me:$LINENO: checking for $ac_word" >&5
13806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13807 if test "${ac_cv_path_GTK12_CONFIG+set}" = set; then
13808 echo $ECHO_N "(cached) $ECHO_C" >&6
13810 case $GTK12_CONFIG in
13812 ac_cv_path_GTK12_CONFIG="$GTK12_CONFIG" # Let the user override the test with a path.
13815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13816 for as_dir in ${GTK_PATH}
13819 test -z "$as_dir" && as_dir=.
13820 for ac_exec_ext in '' $ac_executable_extensions; do
13821 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13822 ac_cv_path_GTK12_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13829 test -z "$ac_cv_path_GTK12_CONFIG" && ac_cv_path_GTK12_CONFIG="no"
13833 GTK12_CONFIG=$ac_cv_path_GTK12_CONFIG
13835 if test -n "$GTK12_CONFIG"; then
13836 echo "$as_me:$LINENO: result: $GTK12_CONFIG" >&5
13837 echo "${ECHO_T}$GTK12_CONFIG" >&6
13839 echo "$as_me:$LINENO: result: no" >&5
13840 echo "${ECHO_T}no" >&6
13843 GTK_CONFIG=${GTK12_CONFIG}
13844 if test "x${GTK_CONFIG}" = "xno"
13846 # Extract the first word of "gtk-config", so it can be a program name with args.
13847 set dummy gtk-config; ac_word=$2
13848 echo "$as_me:$LINENO: checking for $ac_word" >&5
13849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13850 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
13851 echo $ECHO_N "(cached) $ECHO_C" >&6
13853 case $GTK_CONFIG in
13855 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
13858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13859 for as_dir in ${GTK_PATH}
13862 test -z "$as_dir" && as_dir=.
13863 for ac_exec_ext in '' $ac_executable_extensions; do
13864 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13865 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13872 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
13876 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
13878 if test -n "$GTK_CONFIG"; then
13879 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
13880 echo "${ECHO_T}$GTK_CONFIG" >&6
13882 echo "$as_me:$LINENO: result: no" >&5
13883 echo "${ECHO_T}no" >&6
13887 # check for cross-compiling
13890 # Check whether --with-gtk or --without-gtk was given.
13891 if test "${with_gtk+set}" = set; then
13892 withval="$with_gtk"
13895 if test "x$with_gtk_prefix" != "xno" -a "x$with_gtk_prefix" != "x"
13897 GTK_PREFIX="--prefix=$with_gtk_prefix"
13899 if test "x${GTK_CONFIG}" != "xno"
13901 if expr 1.2.0 \> `${GTK_CONFIG} --version` >/dev/null
13903 { { echo "$as_me:$LINENO: error: Your development package for Gtk+ is too old, you need at least version 1.2.0. Please upgrade and try again. Alternatively you can also configure with --disable-familiar." >&5
13904 echo "$as_me: error: Your development package for Gtk+ is too old, you need at least version 1.2.0. Please upgrade and try again. Alternatively you can also configure with --disable-familiar." >&2;}
13905 { (exit 1); exit 1; }; }
13907 familiar_CFLAGS="${familiar_CFLAGS} `${GTK_CONFIG} ${GTK_PREFIX} --cflags gtk gthread`"
13908 familiar_LDFLAGS="${familiar_LDFLAGS} `${GTK_CONFIG} ${GTK_PREFIX} --libs gtk gthread | sed 's,-rdynamic,,'`"
13909 # now look for the gtk.h header
13910 CPPFLAGS="${save_CPPFLAGS} ${familiar_CFLAGS}"
13911 ac_cv_gtk_headers=yes
13915 for ac_header in gtk/gtk.h glib.h gdk/gdk.h
13917 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13918 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13919 echo "$as_me:$LINENO: checking for $ac_header" >&5
13920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13922 echo $ECHO_N "(cached) $ECHO_C" >&6
13924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13925 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13927 # Is the header compilable?
13928 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13929 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13930 cat >conftest.$ac_ext <<_ACEOF
13931 #line $LINENO "configure"
13932 #include "confdefs.h"
13933 $ac_includes_default
13934 #include <$ac_header>
13936 rm -f conftest.$ac_objext
13937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13938 (eval $ac_compile) 2>&5
13940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13941 (exit $ac_status); } &&
13942 { ac_try='test -s conftest.$ac_objext'
13943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13944 (eval $ac_try) 2>&5
13946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947 (exit $ac_status); }; }; then
13948 ac_header_compiler=yes
13950 echo "$as_me: failed program was:" >&5
13951 cat conftest.$ac_ext >&5
13952 ac_header_compiler=no
13954 rm -f conftest.$ac_objext conftest.$ac_ext
13955 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13956 echo "${ECHO_T}$ac_header_compiler" >&6
13958 # Is the header present?
13959 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13960 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13961 cat >conftest.$ac_ext <<_ACEOF
13962 #line $LINENO "configure"
13963 #include "confdefs.h"
13964 #include <$ac_header>
13966 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13967 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13969 egrep -v '^ *\+' conftest.er1 >conftest.err
13971 cat conftest.err >&5
13972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13973 (exit $ac_status); } >/dev/null; then
13974 if test -s conftest.err; then
13975 ac_cpp_err=$ac_c_preproc_warn_flag
13982 if test -z "$ac_cpp_err"; then
13983 ac_header_preproc=yes
13985 echo "$as_me: failed program was:" >&5
13986 cat conftest.$ac_ext >&5
13987 ac_header_preproc=no
13989 rm -f conftest.err conftest.$ac_ext
13990 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13991 echo "${ECHO_T}$ac_header_preproc" >&6
13993 # So? What about this header?
13994 case $ac_header_compiler:$ac_header_preproc in
13996 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13997 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13998 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13999 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14001 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14002 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14003 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14004 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14005 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14006 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14008 echo "$as_me:$LINENO: checking for $ac_header" >&5
14009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14010 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14011 echo $ECHO_N "(cached) $ECHO_C" >&6
14013 eval "$as_ac_Header=$ac_header_preproc"
14015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14016 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14019 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14020 cat >>confdefs.h <<_ACEOF
14021 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14026 ac_cv_gtk_headers=no
14027 echo "Cannot find gtk development headers."
14034 # now look for gpe support
14036 # Check whether --with-gpe-prefix or --without-gpe-prefix was given.
14037 if test "${with_gpe_prefix+set}" = set; then
14038 withval="$with_gpe_prefix"
14041 if test "x$with_gpe_prefix" != "xno" -a "x$with_gpe_prefix" != "x"
14043 gpe_CFLAGS="-I$with_gpe_prefix/include"
14044 gpe_LDFLAGS="-lXi -lgdk_pixbuf -L$with_gpe_prefix/lib"
14046 # now look for gpe/init.h header file
14047 save_CFLAGS=$CFLAGS
14048 save_LDFLAGS=$LDFLAGS
14049 # CFLAGS="${familiar_CFLAGS} ${gpe_CFLAGS}"
14050 LDFLAGS="${familiar_LDFLAGS} ${gpe_LDFLAGS}"
14051 CPPFLAGS="${save_CPPFLAGS} ${familiar_CFLAGS} ${gpe_CFLAGS}"
14052 ac_cv_gpe_headers=yes
14054 for ac_header in gpe/init.h
14056 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14058 echo "$as_me:$LINENO: checking for $ac_header" >&5
14059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14060 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14061 echo $ECHO_N "(cached) $ECHO_C" >&6
14063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14064 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14066 # Is the header compilable?
14067 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14068 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14069 cat >conftest.$ac_ext <<_ACEOF
14070 #line $LINENO "configure"
14071 #include "confdefs.h"
14072 $ac_includes_default
14073 #include <$ac_header>
14075 rm -f conftest.$ac_objext
14076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14077 (eval $ac_compile) 2>&5
14079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14080 (exit $ac_status); } &&
14081 { ac_try='test -s conftest.$ac_objext'
14082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14083 (eval $ac_try) 2>&5
14085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14086 (exit $ac_status); }; }; then
14087 ac_header_compiler=yes
14089 echo "$as_me: failed program was:" >&5
14090 cat conftest.$ac_ext >&5
14091 ac_header_compiler=no
14093 rm -f conftest.$ac_objext conftest.$ac_ext
14094 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14095 echo "${ECHO_T}$ac_header_compiler" >&6
14097 # Is the header present?
14098 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14099 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14100 cat >conftest.$ac_ext <<_ACEOF
14101 #line $LINENO "configure"
14102 #include "confdefs.h"
14103 #include <$ac_header>
14105 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14106 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14108 egrep -v '^ *\+' conftest.er1 >conftest.err
14110 cat conftest.err >&5
14111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14112 (exit $ac_status); } >/dev/null; then
14113 if test -s conftest.err; then
14114 ac_cpp_err=$ac_c_preproc_warn_flag
14121 if test -z "$ac_cpp_err"; then
14122 ac_header_preproc=yes
14124 echo "$as_me: failed program was:" >&5
14125 cat conftest.$ac_ext >&5
14126 ac_header_preproc=no
14128 rm -f conftest.err conftest.$ac_ext
14129 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14130 echo "${ECHO_T}$ac_header_preproc" >&6
14132 # So? What about this header?
14133 case $ac_header_compiler:$ac_header_preproc in
14135 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14136 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14137 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14138 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14140 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14141 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14142 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14143 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14144 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14145 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14147 echo "$as_me:$LINENO: checking for $ac_header" >&5
14148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14150 echo $ECHO_N "(cached) $ECHO_C" >&6
14152 eval "$as_ac_Header=$ac_header_preproc"
14154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14155 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14158 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14159 cat >>confdefs.h <<_ACEOF
14160 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14164 ac_cv_gpe_headers=no
14165 { { echo "$as_me:$LINENO: error: Cannot find development headers for libgpewidget..." >&5
14166 echo "$as_me: error: Cannot find development headers for libgpewidget..." >&2;}
14167 { (exit 1); exit 1; }; }
14172 echo "$as_me:$LINENO: checking for gpe_application_init in -lgpewidget" >&5
14173 echo $ECHO_N "checking for gpe_application_init in -lgpewidget... $ECHO_C" >&6
14174 if test "${ac_cv_lib_gpewidget_gpe_application_init+set}" = set; then
14175 echo $ECHO_N "(cached) $ECHO_C" >&6
14177 ac_check_lib_save_LIBS=$LIBS
14178 LIBS="-lgpewidget $LIBS"
14179 cat >conftest.$ac_ext <<_ACEOF
14180 #line $LINENO "configure"
14181 #include "confdefs.h"
14183 /* Override any gcc2 internal prototype to avoid an error. */
14187 /* We use char because int might match the return type of a gcc2
14188 builtin and then its argument prototype would still apply. */
14189 char gpe_application_init ();
14190 #ifdef F77_DUMMY_MAIN
14191 # ifdef __cplusplus
14194 int F77_DUMMY_MAIN() { return 1; }
14199 gpe_application_init ();
14204 rm -f conftest.$ac_objext conftest$ac_exeext
14205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14206 (eval $ac_link) 2>&5
14208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14209 (exit $ac_status); } &&
14210 { ac_try='test -s conftest$ac_exeext'
14211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14212 (eval $ac_try) 2>&5
14214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14215 (exit $ac_status); }; }; then
14216 ac_cv_lib_gpewidget_gpe_application_init=yes
14218 echo "$as_me: failed program was:" >&5
14219 cat conftest.$ac_ext >&5
14220 ac_cv_lib_gpewidget_gpe_application_init=no
14222 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14223 LIBS=$ac_check_lib_save_LIBS
14225 echo "$as_me:$LINENO: result: $ac_cv_lib_gpewidget_gpe_application_init" >&5
14226 echo "${ECHO_T}$ac_cv_lib_gpewidget_gpe_application_init" >&6
14227 if test $ac_cv_lib_gpewidget_gpe_application_init = yes; then
14228 gpe_LDFLAGS="${gpe_LDFLAGS} -lgpewidget"
14230 { { echo "$as_me:$LINENO: error: Cannot find libgpewidget library..." >&5
14231 echo "$as_me: error: Cannot find libgpewidget library..." >&2;}
14232 { (exit 1); exit 1; }; }
14235 CFLAGS=$save_CFLAGS
14236 LDFLAGS=$save_LDFLAG
14237 if test "x${ac_cv_gpe_headers}" = "xyes"
14239 familiar_CFLAGS="${familiar_CFLAGS} ${gpe_CFLAGS}"
14240 familiar_LDFLAGS="${familiar_LDFLAGS} ${gpe_LDFLAGS}"
14243 if test "x${ac_cv_gtk_headers}" = "xyes"
14245 PLUGINS="${PLUGINS} familiar"
14247 CPPFLAGS="${save_CPPFLAGS}"
14251 # Check whether --enable-gnome or --disable-gnome was given.
14252 if test "${enable_gnome+set}" = set; then
14253 enableval="$enable_gnome"
14254 if test x$enable_gnome = xyes; then
14255 # look for gnome-config
14256 # Extract the first word of "gnome-config", so it can be a program name with args.
14257 set dummy gnome-config; ac_word=$2
14258 echo "$as_me:$LINENO: checking for $ac_word" >&5
14259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14260 if test "${ac_cv_path_GNOME_CONFIG+set}" = set; then
14261 echo $ECHO_N "(cached) $ECHO_C" >&6
14263 case $GNOME_CONFIG in
14265 ac_cv_path_GNOME_CONFIG="$GNOME_CONFIG" # Let the user override the test with a path.
14268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14269 for as_dir in $PATH
14272 test -z "$as_dir" && as_dir=.
14273 for ac_exec_ext in '' $ac_executable_extensions; do
14274 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14275 ac_cv_path_GNOME_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14282 test -z "$ac_cv_path_GNOME_CONFIG" && ac_cv_path_GNOME_CONFIG="no"
14286 GNOME_CONFIG=$ac_cv_path_GNOME_CONFIG
14288 if test -n "$GNOME_CONFIG"; then
14289 echo "$as_me:$LINENO: result: $GNOME_CONFIG" >&5
14290 echo "${ECHO_T}$GNOME_CONFIG" >&6
14292 echo "$as_me:$LINENO: result: no" >&5
14293 echo "${ECHO_T}no" >&6
14296 if test -x ${GNOME_CONFIG}
14298 gnome_CFLAGS="${gnome_CFLAGS} `${GNOME_CONFIG} --cflags gtk gnomeui`"
14299 gnome_LDFLAGS="${gnome_LDFLAGS} `${GNOME_CONFIG} --libs gnomeui | sed 's,-rdynamic,,'`"
14301 # now look for the gnome.h header
14302 CPPFLAGS="$save_CPPFLAGS $gnome_CFLAGS"
14304 for ac_header in gnome.h
14306 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14308 echo "$as_me:$LINENO: checking for $ac_header" >&5
14309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14311 echo $ECHO_N "(cached) $ECHO_C" >&6
14313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14314 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14316 # Is the header compilable?
14317 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14318 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14319 cat >conftest.$ac_ext <<_ACEOF
14320 #line $LINENO "configure"
14321 #include "confdefs.h"
14322 $ac_includes_default
14323 #include <$ac_header>
14325 rm -f conftest.$ac_objext
14326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14327 (eval $ac_compile) 2>&5
14329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14330 (exit $ac_status); } &&
14331 { ac_try='test -s conftest.$ac_objext'
14332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14333 (eval $ac_try) 2>&5
14335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14336 (exit $ac_status); }; }; then
14337 ac_header_compiler=yes
14339 echo "$as_me: failed program was:" >&5
14340 cat conftest.$ac_ext >&5
14341 ac_header_compiler=no
14343 rm -f conftest.$ac_objext conftest.$ac_ext
14344 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14345 echo "${ECHO_T}$ac_header_compiler" >&6
14347 # Is the header present?
14348 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14349 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14350 cat >conftest.$ac_ext <<_ACEOF
14351 #line $LINENO "configure"
14352 #include "confdefs.h"
14353 #include <$ac_header>
14355 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14356 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14358 egrep -v '^ *\+' conftest.er1 >conftest.err
14360 cat conftest.err >&5
14361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14362 (exit $ac_status); } >/dev/null; then
14363 if test -s conftest.err; then
14364 ac_cpp_err=$ac_c_preproc_warn_flag
14371 if test -z "$ac_cpp_err"; then
14372 ac_header_preproc=yes
14374 echo "$as_me: failed program was:" >&5
14375 cat conftest.$ac_ext >&5
14376 ac_header_preproc=no
14378 rm -f conftest.err conftest.$ac_ext
14379 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14380 echo "${ECHO_T}$ac_header_preproc" >&6
14382 # So? What about this header?
14383 case $ac_header_compiler:$ac_header_preproc in
14385 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14386 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14387 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14388 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14390 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14391 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14392 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14393 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14394 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14395 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14397 echo "$as_me:$LINENO: checking for $ac_header" >&5
14398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14400 echo $ECHO_N "(cached) $ECHO_C" >&6
14402 eval "$as_ac_Header=$ac_header_preproc"
14404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14405 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14408 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14409 cat >>confdefs.h <<_ACEOF
14410 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14413 PLUGINS="${PLUGINS} gnome"
14414 ALIASES="${ALIASES} gnome-vlc"
14418 { { echo "$as_me:$LINENO: error: Can't find gnome headers. Please install the gnome
14419 developement tools or remove the --enable-gnome option" >&5
14420 echo "$as_me: error: Can't find gnome headers. Please install the gnome
14421 developement tools or remove the --enable-gnome option" >&2;}
14422 { (exit 1); exit 1; }; }
14428 CPPFLAGS="$save_CPPFLAGS"
14432 # Check whether --enable-qt or --disable-qt was given.
14433 if test "${enable_qt+set}" = set; then
14434 enableval="$enable_qt"
14435 if test x$enable_qt = xyes; then
14436 PLUGINS="${PLUGINS} qt"
14437 ALIASES="${ALIASES} qvlc"
14438 qt_LDFLAGS="${qt_LDFLAGS} -lqt -L${QTDIR}/lib"
14439 qt_CFLAGS="${qt_CFLAGS} -I/usr/include/qt -I${QTDIR}/include"
14440 if test -x ${QTDIR}/bin/moc
14442 MOC=${QTDIR}/bin/moc
14449 # Check whether --enable-kde or --disable-kde was given.
14450 if test "${enable_kde+set}" = set; then
14451 enableval="$enable_kde"
14452 if test x$enable_kde = xyes; then
14453 PLUGINS="${PLUGINS} kde"
14454 ALIASES="${ALIASES} kvlc"
14455 kde_LDFLAGS="${kde_LDFLAGS} -L${KDEDIR}/lib -lkfile"
14456 kde_CFLAGS="${kde_CFLAGS} -I/usr/include/kde -I/usr/include/qt"
14457 kde_CFLAGS="${kde_CFLAGS} -I${KDEDIR}/include -I${QTDIR}/include"
14458 if test -x ${QTDIR}/bin/moc
14460 MOC=${QTDIR}/bin/moc
14467 # Check whether --enable-opie or --disable-opie was given.
14468 if test "${enable_opie+set}" = set; then
14469 enableval="$enable_opie"
14470 if test "x${enable_opie}" = "xyes"; then
14472 # Check whether --with-qte or --without-qte was given.
14473 if test "${with_qte+set}" = set; then
14474 withval="$with_qte"
14477 if test "x${with_qte}" = "x"
14479 test_LDFLAGS="-L${QTDIR}/lib"
14480 test_CFLAGS="-I${QTDIR}/include"
14482 test_LDFLAGS="-L${with_qte}/lib"
14483 test_CFLAGS="-I${with_qte}/include"
14486 PLUGINS="${PLUGINS} opie"
14487 opie_LDFLAGS="${opie_LDFLAGS} ${test_LDFLAGS} -lqpe -lqte"
14488 opie_CFLAGS="${opie_CFLAGS} ${test_CFLAGS}-DQT_QWS_IPAQ -DQWS -fno-exceptions -fno-rtti"
14489 if test -x ${QTDIR}/bin/moc
14491 MOC=${QTDIR}/bin/moc
14498 # Check whether --enable-macosx or --disable-macosx was given.
14499 if test "${enable_macosx+set}" = set; then
14500 enableval="$enable_macosx"
14501 if test x$enable_macosx = xyes
14503 BUILTINS="${BUILTINS} macosx"
14504 macosx_LDFLAGS="${macosx_LDFLAGS} -framework CoreAudio -framework AudioToolbox -framework IOKit -framework Cocoa -framework AGL -framework QuickTime -lobjc -ObjC"
14508 for ac_header in Cocoa/Cocoa.h
14510 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14512 echo "$as_me:$LINENO: checking for $ac_header" >&5
14513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14515 echo $ECHO_N "(cached) $ECHO_C" >&6
14517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14518 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14520 # Is the header compilable?
14521 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14522 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14523 cat >conftest.$ac_ext <<_ACEOF
14524 #line $LINENO "configure"
14525 #include "confdefs.h"
14526 $ac_includes_default
14527 #include <$ac_header>
14529 rm -f conftest.$ac_objext
14530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14531 (eval $ac_compile) 2>&5
14533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14534 (exit $ac_status); } &&
14535 { ac_try='test -s conftest.$ac_objext'
14536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14537 (eval $ac_try) 2>&5
14539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540 (exit $ac_status); }; }; then
14541 ac_header_compiler=yes
14543 echo "$as_me: failed program was:" >&5
14544 cat conftest.$ac_ext >&5
14545 ac_header_compiler=no
14547 rm -f conftest.$ac_objext conftest.$ac_ext
14548 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14549 echo "${ECHO_T}$ac_header_compiler" >&6
14551 # Is the header present?
14552 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14553 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14554 cat >conftest.$ac_ext <<_ACEOF
14555 #line $LINENO "configure"
14556 #include "confdefs.h"
14557 #include <$ac_header>
14559 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14560 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14562 egrep -v '^ *\+' conftest.er1 >conftest.err
14564 cat conftest.err >&5
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); } >/dev/null; then
14567 if test -s conftest.err; then
14568 ac_cpp_err=$ac_c_preproc_warn_flag
14575 if test -z "$ac_cpp_err"; then
14576 ac_header_preproc=yes
14578 echo "$as_me: failed program was:" >&5
14579 cat conftest.$ac_ext >&5
14580 ac_header_preproc=no
14582 rm -f conftest.err conftest.$ac_ext
14583 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14584 echo "${ECHO_T}$ac_header_preproc" >&6
14586 # So? What about this header?
14587 case $ac_header_compiler:$ac_header_preproc in
14589 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14590 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14591 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14592 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14594 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14595 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14596 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14597 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14598 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14599 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14601 echo "$as_me:$LINENO: checking for $ac_header" >&5
14602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14604 echo $ECHO_N "(cached) $ECHO_C" >&6
14606 eval "$as_ac_Header=$ac_header_preproc"
14608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14609 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14612 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14613 cat >>confdefs.h <<_ACEOF
14614 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14616 BUILTINS="${BUILTINS} macosx"
14617 macosx_LDFLAGS="${macosx_LDFLAGS} -framework CoreAudio -framework AudioToolbox -framework IOKit -framework Cocoa -framework AGL -framework QuickTime -lobjc -ObjC"
14625 # Check whether --enable-qnx or --disable-qnx was given.
14626 if test "${enable_qnx+set}" = set; then
14627 enableval="$enable_qnx"
14630 if test x$enable_qnx != xno
14633 for ac_header in Ph.h
14635 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14637 echo "$as_me:$LINENO: checking for $ac_header" >&5
14638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14640 echo $ECHO_N "(cached) $ECHO_C" >&6
14642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14643 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14645 # Is the header compilable?
14646 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14647 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14648 cat >conftest.$ac_ext <<_ACEOF
14649 #line $LINENO "configure"
14650 #include "confdefs.h"
14651 $ac_includes_default
14652 #include <$ac_header>
14654 rm -f conftest.$ac_objext
14655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14656 (eval $ac_compile) 2>&5
14658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14659 (exit $ac_status); } &&
14660 { ac_try='test -s conftest.$ac_objext'
14661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14662 (eval $ac_try) 2>&5
14664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14665 (exit $ac_status); }; }; then
14666 ac_header_compiler=yes
14668 echo "$as_me: failed program was:" >&5
14669 cat conftest.$ac_ext >&5
14670 ac_header_compiler=no
14672 rm -f conftest.$ac_objext conftest.$ac_ext
14673 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14674 echo "${ECHO_T}$ac_header_compiler" >&6
14676 # Is the header present?
14677 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14678 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14679 cat >conftest.$ac_ext <<_ACEOF
14680 #line $LINENO "configure"
14681 #include "confdefs.h"
14682 #include <$ac_header>
14684 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14685 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14687 egrep -v '^ *\+' conftest.er1 >conftest.err
14689 cat conftest.err >&5
14690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14691 (exit $ac_status); } >/dev/null; then
14692 if test -s conftest.err; then
14693 ac_cpp_err=$ac_c_preproc_warn_flag
14700 if test -z "$ac_cpp_err"; then
14701 ac_header_preproc=yes
14703 echo "$as_me: failed program was:" >&5
14704 cat conftest.$ac_ext >&5
14705 ac_header_preproc=no
14707 rm -f conftest.err conftest.$ac_ext
14708 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14709 echo "${ECHO_T}$ac_header_preproc" >&6
14711 # So? What about this header?
14712 case $ac_header_compiler:$ac_header_preproc in
14714 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14715 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14716 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14717 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14719 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14720 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14721 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14722 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14723 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14724 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14726 echo "$as_me:$LINENO: checking for $ac_header" >&5
14727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14729 echo $ECHO_N "(cached) $ECHO_C" >&6
14731 eval "$as_ac_Header=$ac_header_preproc"
14733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14737 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14738 cat >>confdefs.h <<_ACEOF
14739 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14742 PLUGINS="${PLUGINS} qnx"
14743 qnx_LDFLAGS="${qnx_LDFLAGS} -lasound -lph"
14751 # Check whether --enable-intfwin or --disable-intfwin was given.
14752 if test "${enable_intfwin+set}" = set; then
14753 enableval="$enable_intfwin"
14754 if test "x$enable_intfwin" != "xno"
14757 # Check whether --with-bcbuilder or --without-bcbuilder was given.
14758 if test "${with_bcbuilder+set}" = set; then
14759 withval="$with_bcbuilder"
14762 if test "x$with_bcbuilder" != "x"
14764 BCBUILDER="$with_bcbuilder"
14766 PLUGINS="${PLUGINS} intfwin"
14770 # Check whether --enable-ncurses or --disable-ncurses was given.
14771 if test "${enable_ncurses+set}" = set; then
14772 enableval="$enable_ncurses"
14773 if test x$enable_ncurses = xyes; then
14774 PLUGINS="${PLUGINS} ncurses"
14775 ncurses_LDFLAGS="${ncurses_LDFLAGS} -lncurses"
14779 # Check whether --enable-lirc or --disable-lirc was given.
14780 if test "${enable_lirc+set}" = set; then
14781 enableval="$enable_lirc"
14784 if test x$enable_lirc = xyes
14786 if test "${ac_cv_header_lirc_lirc_client_h+set}" = set; then
14787 echo "$as_me:$LINENO: checking for lirc/lirc_client.h" >&5
14788 echo $ECHO_N "checking for lirc/lirc_client.h... $ECHO_C" >&6
14789 if test "${ac_cv_header_lirc_lirc_client_h+set}" = set; then
14790 echo $ECHO_N "(cached) $ECHO_C" >&6
14792 echo "$as_me:$LINENO: result: $ac_cv_header_lirc_lirc_client_h" >&5
14793 echo "${ECHO_T}$ac_cv_header_lirc_lirc_client_h" >&6
14795 # Is the header compilable?
14796 echo "$as_me:$LINENO: checking lirc/lirc_client.h usability" >&5
14797 echo $ECHO_N "checking lirc/lirc_client.h usability... $ECHO_C" >&6
14798 cat >conftest.$ac_ext <<_ACEOF
14799 #line $LINENO "configure"
14800 #include "confdefs.h"
14801 $ac_includes_default
14802 #include <lirc/lirc_client.h>
14804 rm -f conftest.$ac_objext
14805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14806 (eval $ac_compile) 2>&5
14808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14809 (exit $ac_status); } &&
14810 { ac_try='test -s conftest.$ac_objext'
14811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14812 (eval $ac_try) 2>&5
14814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14815 (exit $ac_status); }; }; then
14816 ac_header_compiler=yes
14818 echo "$as_me: failed program was:" >&5
14819 cat conftest.$ac_ext >&5
14820 ac_header_compiler=no
14822 rm -f conftest.$ac_objext conftest.$ac_ext
14823 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14824 echo "${ECHO_T}$ac_header_compiler" >&6
14826 # Is the header present?
14827 echo "$as_me:$LINENO: checking lirc/lirc_client.h presence" >&5
14828 echo $ECHO_N "checking lirc/lirc_client.h presence... $ECHO_C" >&6
14829 cat >conftest.$ac_ext <<_ACEOF
14830 #line $LINENO "configure"
14831 #include "confdefs.h"
14832 #include <lirc/lirc_client.h>
14834 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14835 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14837 egrep -v '^ *\+' conftest.er1 >conftest.err
14839 cat conftest.err >&5
14840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14841 (exit $ac_status); } >/dev/null; then
14842 if test -s conftest.err; then
14843 ac_cpp_err=$ac_c_preproc_warn_flag
14850 if test -z "$ac_cpp_err"; then
14851 ac_header_preproc=yes
14853 echo "$as_me: failed program was:" >&5
14854 cat conftest.$ac_ext >&5
14855 ac_header_preproc=no
14857 rm -f conftest.err conftest.$ac_ext
14858 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14859 echo "${ECHO_T}$ac_header_preproc" >&6
14861 # So? What about this header?
14862 case $ac_header_compiler:$ac_header_preproc in
14864 { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: accepted by the compiler, rejected by the preprocessor!" >&5
14865 echo "$as_me: WARNING: lirc/lirc_client.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14866 { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: proceeding with the preprocessor's result" >&5
14867 echo "$as_me: WARNING: lirc/lirc_client.h: proceeding with the preprocessor's result" >&2;};;
14869 { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: present but cannot be compiled" >&5
14870 echo "$as_me: WARNING: lirc/lirc_client.h: present but cannot be compiled" >&2;}
14871 { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: check for missing prerequisite headers?" >&5
14872 echo "$as_me: WARNING: lirc/lirc_client.h: check for missing prerequisite headers?" >&2;}
14873 { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: proceeding with the preprocessor's result" >&5
14874 echo "$as_me: WARNING: lirc/lirc_client.h: proceeding with the preprocessor's result" >&2;};;
14876 echo "$as_me:$LINENO: checking for lirc/lirc_client.h" >&5
14877 echo $ECHO_N "checking for lirc/lirc_client.h... $ECHO_C" >&6
14878 if test "${ac_cv_header_lirc_lirc_client_h+set}" = set; then
14879 echo $ECHO_N "(cached) $ECHO_C" >&6
14881 ac_cv_header_lirc_lirc_client_h=$ac_header_preproc
14883 echo "$as_me:$LINENO: result: $ac_cv_header_lirc_lirc_client_h" >&5
14884 echo "${ECHO_T}$ac_cv_header_lirc_lirc_client_h" >&6
14887 if test $ac_cv_header_lirc_lirc_client_h = yes; then
14888 echo "$as_me:$LINENO: checking for lirc_init in -llirc_client" >&5
14889 echo $ECHO_N "checking for lirc_init in -llirc_client... $ECHO_C" >&6
14890 if test "${ac_cv_lib_lirc_client_lirc_init+set}" = set; then
14891 echo $ECHO_N "(cached) $ECHO_C" >&6
14893 ac_check_lib_save_LIBS=$LIBS
14894 LIBS="-llirc_client $LIBS"
14895 cat >conftest.$ac_ext <<_ACEOF
14896 #line $LINENO "configure"
14897 #include "confdefs.h"
14899 /* Override any gcc2 internal prototype to avoid an error. */
14903 /* We use char because int might match the return type of a gcc2
14904 builtin and then its argument prototype would still apply. */
14906 #ifdef F77_DUMMY_MAIN
14907 # ifdef __cplusplus
14910 int F77_DUMMY_MAIN() { return 1; }
14920 rm -f conftest.$ac_objext conftest$ac_exeext
14921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14922 (eval $ac_link) 2>&5
14924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14925 (exit $ac_status); } &&
14926 { ac_try='test -s conftest$ac_exeext'
14927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14928 (eval $ac_try) 2>&5
14930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14931 (exit $ac_status); }; }; then
14932 ac_cv_lib_lirc_client_lirc_init=yes
14934 echo "$as_me: failed program was:" >&5
14935 cat conftest.$ac_ext >&5
14936 ac_cv_lib_lirc_client_lirc_init=no
14938 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14939 LIBS=$ac_check_lib_save_LIBS
14941 echo "$as_me:$LINENO: result: $ac_cv_lib_lirc_client_lirc_init" >&5
14942 echo "${ECHO_T}$ac_cv_lib_lirc_client_lirc_init" >&6
14943 if test $ac_cv_lib_lirc_client_lirc_init = yes; then
14954 if test x$have_lirc = xtrue
14956 PLUGINS="${PLUGINS} lirc"
14957 lirc_LDFLAGS="${lirc_LDFLAGS} -llirc_client"
14962 # Check whether --with- or --without- was given.
14963 if test "${with_+set}" = set; then
14969 # Check whether --with-words or --without-words was given.
14970 if test "${with_words+set}" = set; then
14971 withval="$with_words"
14974 case "x$with_words" in
14976 ac_cv_c_bigendian=yes
14979 ac_cv_c_bigendian=no
14982 echo "$as_me:$LINENO: checking whether the byte order is big-endian" >&5
14983 echo $ECHO_N "checking whether the byte order is big-endian... $ECHO_C" >&6
14984 if test "${ac_cv_c_bigendian+set}" = set; then
14985 echo $ECHO_N "(cached) $ECHO_C" >&6
14987 ac_cv_c_bigendian=unknown
14988 cat >conftest.c <<EOF
14989 short am[] = { 0x4249, 0x4765, 0x6e44, 0x6961, 0x6e53, 0x7953, 0 };
14990 short ai[] = { 0x694c, 0x5454, 0x656c, 0x6e45, 0x6944, 0x6e61, 0 };
14991 void _a(void) { char*s = (char*)am; s = (char *)ai; }
14992 short ei[] = { 0x89D3, 0xe3e3, 0x8593, 0x95c5, 0x89c4, 0x9581, 0 };
14993 short em[] = { 0xc2c9, 0xc785, 0x95c4, 0x8981, 0x95e2, 0xa8e2, 0 };
14994 void _e(void) { char*s = (char*)em; s = (char*)ei; }
14995 int main(void) { _a(); _e(); return 0; }
14998 if test -f conftest.c
15000 if ${CC-cc} -c conftest.c -o conftest.o >config.log 2>&1 \
15001 && test -f conftest.o
15003 if test "`strings conftest.o | grep BIGenDianSyS`"
15005 ac_cv_c_bigendian=yes
15007 if test "`strings conftest.o | grep LiTTleEnDian`"
15009 ac_cv_c_bigendian=no
15015 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
15016 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
15017 if test x$ac_cv_c_bigendian = xunknown
15019 { { echo "$as_me:$LINENO: error: Could not guess endianness, please use --with-words" >&5
15020 echo "$as_me: error: Could not guess endianness, please use --with-words" >&2;}
15021 { (exit 1); exit 1; }; }
15025 if test $ac_cv_c_bigendian = yes
15028 cat >>confdefs.h <<\_ACEOF
15029 #define WORDS_BIGENDIAN 1
15035 # Check whether --enable-gprof or --disable-gprof was given.
15036 if test "${enable_gprof+set}" = set; then
15037 enableval="$enable_gprof"
15038 if test "x$enable_gprof" = "xyes"; then GPROF=1; fi
15042 # Check whether --enable-cprof or --disable-cprof was given.
15043 if test "${enable_cprof+set}" = set; then
15044 enableval="$enable_cprof"
15045 if test "x$enable_cprof" = "xyes";
15047 LDFLAGS="${LDFLAGS} -lcprof"
15053 # Check whether --enable-pth or --disable-pth was given.
15054 if test "${enable_pth+set}" = set; then
15055 enableval="$enable_pth"
15056 if test "x$enable_pth" = "xyes"; then
15058 echo "$as_me:$LINENO: checking for pth_init in -lpth" >&5
15059 echo $ECHO_N "checking for pth_init in -lpth... $ECHO_C" >&6
15060 if test "${ac_cv_lib_pth_pth_init+set}" = set; then
15061 echo $ECHO_N "(cached) $ECHO_C" >&6
15063 ac_check_lib_save_LIBS=$LIBS
15065 cat >conftest.$ac_ext <<_ACEOF
15066 #line $LINENO "configure"
15067 #include "confdefs.h"
15069 /* Override any gcc2 internal prototype to avoid an error. */
15073 /* We use char because int might match the return type of a gcc2
15074 builtin and then its argument prototype would still apply. */
15076 #ifdef F77_DUMMY_MAIN
15077 # ifdef __cplusplus
15080 int F77_DUMMY_MAIN() { return 1; }
15090 rm -f conftest.$ac_objext conftest$ac_exeext
15091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15092 (eval $ac_link) 2>&5
15094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15095 (exit $ac_status); } &&
15096 { ac_try='test -s conftest$ac_exeext'
15097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15098 (eval $ac_try) 2>&5
15100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15101 (exit $ac_status); }; }; then
15102 ac_cv_lib_pth_pth_init=yes
15104 echo "$as_me: failed program was:" >&5
15105 cat conftest.$ac_ext >&5
15106 ac_cv_lib_pth_pth_init=no
15108 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15109 LIBS=$ac_check_lib_save_LIBS
15111 echo "$as_me:$LINENO: result: $ac_cv_lib_pth_pth_init" >&5
15112 echo "${ECHO_T}$ac_cv_lib_pth_pth_init" >&6
15113 if test $ac_cv_lib_pth_pth_init = yes; then
15114 cat >>confdefs.h <<_ACEOF
15115 #define HAVE_LIBPTH 1
15122 cat >conftest.$ac_ext <<_ACEOF
15123 #line $LINENO "configure"
15124 #include "confdefs.h"
15128 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15129 egrep "pth_init" >/dev/null 2>&1; then
15132 cat >>confdefs.h <<\_ACEOF
15133 #define PTH_INIT_IN_PTH_H 1
15144 # Check whether --enable-st or --disable-st was given.
15145 if test "${enable_st+set}" = set; then
15146 enableval="$enable_st"
15147 if test "x$enable_st" = "xyes"; then
15149 echo "$as_me:$LINENO: checking for st_init in -lst" >&5
15150 echo $ECHO_N "checking for st_init in -lst... $ECHO_C" >&6
15151 if test "${ac_cv_lib_st_st_init+set}" = set; then
15152 echo $ECHO_N "(cached) $ECHO_C" >&6
15154 ac_check_lib_save_LIBS=$LIBS
15156 cat >conftest.$ac_ext <<_ACEOF
15157 #line $LINENO "configure"
15158 #include "confdefs.h"
15160 /* Override any gcc2 internal prototype to avoid an error. */
15164 /* We use char because int might match the return type of a gcc2
15165 builtin and then its argument prototype would still apply. */
15167 #ifdef F77_DUMMY_MAIN
15168 # ifdef __cplusplus
15171 int F77_DUMMY_MAIN() { return 1; }
15181 rm -f conftest.$ac_objext conftest$ac_exeext
15182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15183 (eval $ac_link) 2>&5
15185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15186 (exit $ac_status); } &&
15187 { ac_try='test -s conftest$ac_exeext'
15188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15189 (eval $ac_try) 2>&5
15191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15192 (exit $ac_status); }; }; then
15193 ac_cv_lib_st_st_init=yes
15195 echo "$as_me: failed program was:" >&5
15196 cat conftest.$ac_ext >&5
15197 ac_cv_lib_st_st_init=no
15199 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15200 LIBS=$ac_check_lib_save_LIBS
15202 echo "$as_me:$LINENO: result: $ac_cv_lib_st_st_init" >&5
15203 echo "${ECHO_T}$ac_cv_lib_st_st_init" >&6
15204 if test $ac_cv_lib_st_st_init = yes; then
15205 cat >>confdefs.h <<_ACEOF
15206 #define HAVE_LIBST 1
15213 cat >conftest.$ac_ext <<_ACEOF
15214 #line $LINENO "configure"
15215 #include "confdefs.h"
15219 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15220 egrep "st_init" >/dev/null 2>&1; then
15223 cat >>confdefs.h <<\_ACEOF
15224 #define ST_INIT_IN_ST_H 1
15235 LDFLAGS="${LDFLAGS} ${THREAD_LIB}"
15237 # Check whether --enable-plugins or --disable-plugins was given.
15238 if test "${enable_plugins+set}" = set; then
15239 enableval="$enable_plugins"
15240 if test x$enable_plugins = xno
15242 BUILTINS="${BUILTINS} ${PLUGINS}"
15247 if test x$ac_cv_header_dlfcn_h = xno -a x$ac_cv_header_image_h = xno -a x$SYS != xmingw32
15249 echo "*** Your system doesn't have plug-in support. All plug-ins will be compiled"
15251 BUILTINS="${BUILTINS} ${PLUGINS}"
15256 cat >>confdefs.h <<_ACEOF
15257 #define VERSION_MESSAGE "vlc $VERSION $CODENAME Copyright 1996-2002 VideoLAN"
15261 cat >>confdefs.h <<_ACEOF
15262 #define COPYRIGHT_MESSAGE "VideoLAN Client - version $VERSION $CODENAME - (c) 1996-2002 VideoLAN"
15266 VLC_SYMBOL="`echo ${VERSION} | tr .- __`"
15268 cat >>confdefs.h <<_ACEOF
15269 #define MODULE_SUFFIX "__MODULE_$VLC_SYMBOL"
15273 cat >>confdefs.h <<_ACEOF
15274 #define MODULE_SYMBOL $VLC_SYMBOL
15278 DATA_PATH="${ac_tool_prefix}/share/videolan"
15280 PLUGIN_PATH="${ac_tool_prefix}/share/videolan"
15384 ac_config_files="$ac_config_files Makefile.config Makefile.opts po/Makefile.in"
15385 cat >confcache <<\_ACEOF
15386 # This file is a shell script that caches the results of configure
15387 # tests run on this system so they can be shared between configure
15388 # scripts and configure runs, see configure's option --config-cache.
15389 # It is not useful on other systems. If it contains results you don't
15390 # want to keep, you may remove or edit it.
15392 # config.status only pays attention to the cache file if you give it
15393 # the --recheck option to rerun configure.
15395 # `ac_cv_env_foo' variables (set or unset) will be overriden when
15396 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15397 # following values.
15401 # The following way of writing the cache mishandles newlines in values,
15402 # but we know of no workaround that is simple, portable, and efficient.
15403 # So, don't put newlines in cache variables' values.
15404 # Ultrix sh set writes to stderr and can't be redirected directly,
15405 # and sets the high bit in the cache file unless we assign to the vars.
15408 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15410 # `set' does not quote correctly, so add quotes (double-quote
15411 # substitution turns \\\\ into \\, and sed turns \\ into \).
15414 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15417 # `set' quotes correctly as required by POSIX, so do not add quotes.
15419 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
15426 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15428 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15430 if cmp -s $cache_file confcache; then :; else
15431 if test -w $cache_file; then
15432 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
15433 cat confcache >$cache_file
15435 echo "not updating unwritable cache $cache_file"
15440 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15441 # Let make expand exec_prefix.
15442 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15444 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15445 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15446 # trailing colons and then remove the whole line if VPATH becomes empty
15447 # (actually we leave an empty line to preserve line numbers).
15448 if test "x$srcdir" = x.; then
15449 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15450 s/:*\$(srcdir):*/:/;
15451 s/:*\${srcdir}:*/:/;
15453 s/^\([^=]*=[ ]*\):*/\1/;
15459 DEFS=-DHAVE_CONFIG_H
15462 : ${CONFIG_STATUS=./config.status}
15463 ac_clean_files_save=$ac_clean_files
15464 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15465 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15466 echo "$as_me: creating $CONFIG_STATUS" >&6;}
15467 cat >$CONFIG_STATUS <<_ACEOF
15469 # Generated by $as_me.
15470 # Run this file to recreate the current configuration.
15471 # Compiler output produced by configure, useful for debugging
15472 # configure, is in config.log if it exists.
15475 SHELL=\${CONFIG_SHELL-$SHELL}
15478 cat >>$CONFIG_STATUS <<\_ACEOF
15480 ## --------------------- ##
15481 ## M4sh Initialization. ##
15482 ## --------------------- ##
15484 # Be Bourne compatible
15485 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15488 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
15493 # Support unset when possible.
15494 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
15500 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
15501 { $as_unset LANG || test "${LANG+set}" != set; } ||
15502 { LANG=C; export LANG; }
15503 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
15504 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
15505 { LC_ALL=C; export LC_ALL; }
15506 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
15507 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
15508 { LC_TIME=C; export LC_TIME; }
15509 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
15510 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
15511 { LC_CTYPE=C; export LC_CTYPE; }
15512 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
15513 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
15514 { LANGUAGE=C; export LANGUAGE; }
15515 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
15516 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
15517 { LC_COLLATE=C; export LC_COLLATE; }
15518 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
15519 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
15520 { LC_NUMERIC=C; export LC_NUMERIC; }
15521 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
15522 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
15523 { LC_MESSAGES=C; export LC_MESSAGES; }
15526 # Name of the executable.
15527 as_me=`(basename "$0") 2>/dev/null ||
15528 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15529 X"$0" : 'X\(//\)$' \| \
15530 X"$0" : 'X\(/\)$' \| \
15531 . : '\(.\)' 2>/dev/null ||
15533 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
15534 /^X\/\(\/\/\)$/{ s//\1/; q; }
15535 /^X\/\(\/\).*/{ s//\1/; q; }
15538 # PATH needs CR, and LINENO needs CR and PATH.
15539 # Avoid depending upon Character Ranges.
15540 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15541 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15542 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15543 as_cr_digits='0123456789'
15544 as_cr_alnum=$as_cr_Letters$as_cr_digits
15546 # The user is always right.
15547 if test "${PATH_SEPARATOR+set}" != set; then
15548 echo "#! /bin/sh" >conftest.sh
15549 echo "exit 0" >>conftest.sh
15550 chmod +x conftest.sh
15551 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
15560 as_lineno_1=$LINENO
15561 as_lineno_2=$LINENO
15562 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15563 test "x$as_lineno_1" != "x$as_lineno_2" &&
15564 test "x$as_lineno_3" = "x$as_lineno_2" || {
15565 # Find who we are. Look in the path if we contain no path at all
15568 *[\\/]* ) as_myself=$0 ;;
15569 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15570 for as_dir in $PATH
15573 test -z "$as_dir" && as_dir=.
15574 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15579 # We did not find ourselves, most probably we were run as `sh COMMAND'
15580 # in which case we are not to be found in the path.
15581 if test "x$as_myself" = x; then
15584 if test ! -f "$as_myself"; then
15585 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
15586 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
15587 { (exit 1); exit 1; }; }
15589 case $CONFIG_SHELL in
15591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15592 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
15595 test -z "$as_dir" && as_dir=.
15596 for as_base in sh bash ksh sh5; do
15599 if ("$as_dir/$as_base" -c '
15600 as_lineno_1=$LINENO
15601 as_lineno_2=$LINENO
15602 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15603 test "x$as_lineno_1" != "x$as_lineno_2" &&
15604 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
15605 CONFIG_SHELL=$as_dir/$as_base
15606 export CONFIG_SHELL
15607 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
15615 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15616 # uniformly replaced by the line number. The first 'sed' inserts a
15617 # line-number line before each line; the second 'sed' does the real
15618 # work. The second script uses 'N' to pair each line-number line
15619 # with the numbered line, and appends trailing '-' during
15620 # substitution so that $LINENO is not a special case at line end.
15621 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15622 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
15623 sed '=' <$as_myself |
15628 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
15631 s,^['$as_cr_digits']*\n,,
15632 ' >$as_me.lineno &&
15633 chmod +x $as_me.lineno ||
15634 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
15635 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
15636 { (exit 1); exit 1; }; }
15638 # Don't try to exec as it changes $[0], causing all sort of problems
15639 # (the dirname of $[0] is not the place where we might find the
15640 # original and so on. Autoconf is especially sensible to this).
15642 # Exit status is that of the last command.
15647 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
15648 *c*,-n*) ECHO_N= ECHO_C='
15650 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
15651 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
15654 if expr a : '\(a\)' >/dev/null 2>&1; then
15660 rm -f conf$$ conf$$.exe conf$$.file
15662 if ln -s conf$$.file conf$$ 2>/dev/null; then
15663 # We could just check for DJGPP; but this test a) works b) is more generic
15664 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
15665 if test -f conf$$.exe; then
15666 # Don't use ln at all; we don't have any links
15671 elif ln conf$$.file conf$$ 2>/dev/null; then
15676 rm -f conf$$ conf$$.exe conf$$.file
15678 as_executable_p="test -f"
15680 # Sed expression to map a string onto a valid CPP name.
15681 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
15683 # Sed expression to map a string onto a valid variable name.
15684 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
15688 # We need space, tab and new line, in precisely that order.
15694 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
15698 # Open the log real soon, to keep \$[0] and so on meaningful, and to
15699 # report actual input values of CONFIG_FILES etc. instead of their
15700 # values after options handling. Logging --version etc. is OK.
15704 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15705 ## Running $as_me. ##
15710 This file was extended by $as_me, which was
15711 generated by GNU Autoconf 2.53. Invocation command line was
15713 CONFIG_FILES = $CONFIG_FILES
15714 CONFIG_HEADERS = $CONFIG_HEADERS
15715 CONFIG_LINKS = $CONFIG_LINKS
15716 CONFIG_COMMANDS = $CONFIG_COMMANDS
15720 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
15724 # Files that config.status was made for.
15725 if test -n "$ac_config_files"; then
15726 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
15729 if test -n "$ac_config_headers"; then
15730 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
15733 if test -n "$ac_config_links"; then
15734 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
15737 if test -n "$ac_config_commands"; then
15738 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
15741 cat >>$CONFIG_STATUS <<\_ACEOF
15744 \`$as_me' instantiates files from templates according to the
15745 current configuration.
15747 Usage: $0 [OPTIONS] [FILE]...
15749 -h, --help print this help, then exit
15750 -V, --version print version number, then exit
15751 -d, --debug don't remove temporary files
15752 --recheck update $as_me by reconfiguring in the same conditions
15753 --file=FILE[:TEMPLATE]
15754 instantiate the configuration file FILE
15755 --header=FILE[:TEMPLATE]
15756 instantiate the configuration header FILE
15758 Configuration files:
15761 Configuration headers:
15764 Configuration commands:
15767 Report bugs to <bug-autoconf@gnu.org>."
15770 cat >>$CONFIG_STATUS <<_ACEOF
15773 configured by $0, generated by GNU Autoconf 2.53,
15774 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
15776 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
15777 Free Software Foundation, Inc.
15778 This config.status script is free software; the Free Software Foundation
15779 gives unlimited permission to copy, distribute and modify it."
15784 cat >>$CONFIG_STATUS <<\_ACEOF
15785 # If no file are specified by the user, then we need to provide default
15786 # value. By we need to know if files were specified by the user.
15792 ac_option=`expr "x$1" : 'x\([^=]*\)='`
15793 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
15795 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
15799 *) # This is not an option, so the user has probably given explicit
15801 ac_need_defaults=false;;
15805 # Handling of the options.
15807 cat >>$CONFIG_STATUS <<_ACEOF
15808 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15809 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
15810 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
15812 cat >>$CONFIG_STATUS <<\_ACEOF
15813 --version | --vers* | -V )
15814 echo "$ac_cs_version"; exit 0 ;;
15816 # Conflict between --help and --header
15817 { { echo "$as_me:$LINENO: error: ambiguous option: $1
15818 Try \`$0 --help' for more information." >&5
15819 echo "$as_me: error: ambiguous option: $1
15820 Try \`$0 --help' for more information." >&2;}
15821 { (exit 1); exit 1; }; };;
15822 --help | --hel | -h )
15823 echo "$ac_cs_usage"; exit 0 ;;
15824 --debug | --d* | -d )
15826 --file | --fil | --fi | --f )
15828 CONFIG_FILES="$CONFIG_FILES $1"
15829 ac_need_defaults=false;;
15830 --header | --heade | --head | --hea )
15832 CONFIG_HEADERS="$CONFIG_HEADERS $1"
15833 ac_need_defaults=false;;
15835 # This is an error.
15836 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
15837 Try \`$0 --help' for more information." >&5
15838 echo "$as_me: error: unrecognized option: $1
15839 Try \`$0 --help' for more information." >&2;}
15840 { (exit 1); exit 1; }; } ;;
15842 *) ac_config_targets="$ac_config_targets $1" ;;
15850 cat >>$CONFIG_STATUS <<_ACEOF
15852 # INIT-COMMANDS section.
15861 cat >>$CONFIG_STATUS <<\_ACEOF
15862 for ac_config_target in $ac_config_targets
15864 case "$ac_config_target" in
15865 # Handling of arguments.
15866 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
15867 "Makefile.opts" ) CONFIG_FILES="$CONFIG_FILES Makefile.opts" ;;
15868 "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
15869 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
15870 "include/defs.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/defs.h" ;;
15871 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15872 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15873 { (exit 1); exit 1; }; };;
15877 # If the user did not use the arguments to specify the items to instantiate,
15878 # then the envvar interface is used. Set only those that are not.
15879 # We use the long form for the default assignment because of an extremely
15880 # bizarre bug on SunOS 4.1.3.
15881 if $ac_need_defaults; then
15882 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15883 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15884 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15887 # Create a temporary directory, and hook for its removal unless debugging.
15890 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
15891 trap '{ (exit 1); exit 1; }' 1 2 13 15
15894 # Create a (secure) tmp directory for tmp files.
15897 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
15898 test -n "$tmp" && test -d "$tmp"
15901 tmp=$TMPDIR/cs$$-$RANDOM
15902 (umask 077 && mkdir $tmp)
15905 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
15906 { (exit 1); exit 1; }
15911 cat >>$CONFIG_STATUS <<_ACEOF
15914 # CONFIG_FILES section.
15917 # No need to generate the scripts if there are no CONFIG_FILES.
15918 # This happens for instance when ./config.status config.h
15919 if test -n "\$CONFIG_FILES"; then
15920 # Protect against being on the right side of a sed subst in config.status.
15921 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
15922 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
15923 s,@SHELL@,$SHELL,;t t
15924 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
15925 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
15926 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
15927 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
15928 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
15929 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
15930 s,@exec_prefix@,$exec_prefix,;t t
15931 s,@prefix@,$prefix,;t t
15932 s,@program_transform_name@,$program_transform_name,;t t
15933 s,@bindir@,$bindir,;t t
15934 s,@sbindir@,$sbindir,;t t
15935 s,@libexecdir@,$libexecdir,;t t
15936 s,@datadir@,$datadir,;t t
15937 s,@sysconfdir@,$sysconfdir,;t t
15938 s,@sharedstatedir@,$sharedstatedir,;t t
15939 s,@localstatedir@,$localstatedir,;t t
15940 s,@libdir@,$libdir,;t t
15941 s,@includedir@,$includedir,;t t
15942 s,@oldincludedir@,$oldincludedir,;t t
15943 s,@infodir@,$infodir,;t t
15944 s,@mandir@,$mandir,;t t
15945 s,@build_alias@,$build_alias,;t t
15946 s,@host_alias@,$host_alias,;t t
15947 s,@target_alias@,$target_alias,;t t
15948 s,@DEFS@,$DEFS,;t t
15949 s,@ECHO_C@,$ECHO_C,;t t
15950 s,@ECHO_N@,$ECHO_N,;t t
15951 s,@ECHO_T@,$ECHO_T,;t t
15952 s,@LIBS@,$LIBS,;t t
15953 s,@build@,$build,;t t
15954 s,@build_cpu@,$build_cpu,;t t
15955 s,@build_vendor@,$build_vendor,;t t
15956 s,@build_os@,$build_os,;t t
15957 s,@host@,$host,;t t
15958 s,@host_cpu@,$host_cpu,;t t
15959 s,@host_vendor@,$host_vendor,;t t
15960 s,@host_os@,$host_os,;t t
15961 s,@target@,$target,;t t
15962 s,@target_cpu@,$target_cpu,;t t
15963 s,@target_vendor@,$target_vendor,;t t
15964 s,@target_os@,$target_os,;t t
15965 s,@SET_MAKE@,$SET_MAKE,;t t
15967 s,@CFLAGS@,$CFLAGS,;t t
15968 s,@LDFLAGS@,$LDFLAGS,;t t
15969 s,@CPPFLAGS@,$CPPFLAGS,;t t
15970 s,@ac_ct_CC@,$ac_ct_CC,;t t
15971 s,@EXEEXT@,$EXEEXT,;t t
15972 s,@OBJEXT@,$OBJEXT,;t t
15974 s,@RANLIB@,$RANLIB,;t t
15975 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
15976 s,@STRIP@,$STRIP,;t t
15977 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
15979 s,@ac_ct_AR@,$ac_ct_AR,;t t
15981 s,@ac_ct_LD@,$ac_ct_LD,;t t
15982 s,@GMAKE@,$GMAKE,;t t
15983 s,@ALLOCA@,$ALLOCA,;t t
15984 s,@GLIBC21@,$GLIBC21,;t t
15985 s,@LIBICONV@,$LIBICONV,;t t
15986 s,@USE_NLS@,$USE_NLS,;t t
15987 s,@MSGFMT@,$MSGFMT,;t t
15988 s,@GMSGFMT@,$GMSGFMT,;t t
15989 s,@XGETTEXT@,$XGETTEXT,;t t
15990 s,@INTLBISON@,$INTLBISON,;t t
15991 s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
15992 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
15993 s,@CATALOGS@,$CATALOGS,;t t
15994 s,@CATOBJEXT@,$CATOBJEXT,;t t
15995 s,@GMOFILES@,$GMOFILES,;t t
15996 s,@INTLLIBS@,$INTLLIBS,;t t
15997 s,@INTLOBJS@,$INTLOBJS,;t t
15998 s,@POFILES@,$POFILES,;t t
15999 s,@POSUB@,$POSUB,;t t
16000 s,@DATADIRNAME@,$DATADIRNAME,;t t
16001 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
16002 s,@GENCAT@,$GENCAT,;t t
16003 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
16004 s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
16005 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
16006 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
16007 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
16008 s,@WINDRES@,$WINDRES,;t t
16009 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
16010 s,@SDL12_CONFIG@,$SDL12_CONFIG,;t t
16011 s,@SDL11_CONFIG@,$SDL11_CONFIG,;t t
16012 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
16013 s,@ESD_CONFIG@,$ESD_CONFIG,;t t
16014 s,@ARTS_CONFIG@,$ARTS_CONFIG,;t t
16015 s,@GTK12_CONFIG@,$GTK12_CONFIG,;t t
16016 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
16017 s,@GNOME_CONFIG@,$GNOME_CONFIG,;t t
16018 s,@DATA_PATH@,$DATA_PATH,;t t
16019 s,@PLUGIN_PATH@,$PLUGIN_PATH,;t t
16021 s,@ARCH@,$ARCH,;t t
16022 s,@PLUGINS@,$PLUGINS,;t t
16023 s,@BUILTINS@,$BUILTINS,;t t
16024 s,@ALIASES@,$ALIASES,;t t
16025 s,@DEBUG@,$DEBUG,;t t
16027 s,@CPROF@,$CPROF,;t t
16028 s,@GPROF@,$GPROF,;t t
16029 s,@OPTIMS@,$OPTIMS,;t t
16030 s,@TUNING@,$TUNING,;t t
16031 s,@RELEASE@,$RELEASE,;t t
16033 s,@BCBUILDER@,$BCBUILDER,;t t
16034 s,@PACKAGE@,$PACKAGE,;t t
16035 s,@VERSION@,$VERSION,;t t
16036 s,@NEED_GETOPT@,$NEED_GETOPT,;t t
16037 s,@CFLAGS_OPTIM@,$CFLAGS_OPTIM,;t t
16038 s,@CFLAGS_OPTIM_NODEBUG@,$CFLAGS_OPTIM_NODEBUG,;t t
16039 s,@vlc_CFLAGS@,$vlc_CFLAGS,;t t
16040 s,@plugins_CFLAGS@,$plugins_CFLAGS,;t t
16041 s,@builtins_CFLAGS@,$builtins_CFLAGS,;t t
16042 s,@a52_CFLAGS@,$a52_CFLAGS,;t t
16043 s,@arts_CFLAGS@,$arts_CFLAGS,;t t
16044 s,@dvd_CFLAGS@,$dvd_CFLAGS,;t t
16045 s,@dvdread_CFLAGS@,$dvdread_CFLAGS,;t t
16046 s,@mpeg_ts_dvbpsi_CFLAGS@,$mpeg_ts_dvbpsi_CFLAGS,;t t
16047 s,@directx_CFLAGS@,$directx_CFLAGS,;t t
16048 s,@esd_CFLAGS@,$esd_CFLAGS,;t t
16049 s,@familiar_CFLAGS@,$familiar_CFLAGS,;t t
16050 s,@ffmpeg_CFLAGS@,$ffmpeg_CFLAGS,;t t
16051 s,@glide_CFLAGS@,$glide_CFLAGS,;t t
16052 s,@gnome_CFLAGS@,$gnome_CFLAGS,;t t
16053 s,@gtk_CFLAGS@,$gtk_CFLAGS,;t t
16054 s,@kde_CFLAGS@,$kde_CFLAGS,;t t
16055 s,@idctaltivec_CFLAGS@,$idctaltivec_CFLAGS,;t t
16056 s,@macosx_CFLAGS@,$macosx_CFLAGS,;t t
16057 s,@mad_CFLAGS@,$mad_CFLAGS,;t t
16058 s,@memcpyaltivec_CFLAGS@,$memcpyaltivec_CFLAGS,;t t
16059 s,@motionaltivec_CFLAGS@,$motionaltivec_CFLAGS,;t t
16060 s,@opie_CFLAGS@,$opie_CFLAGS,;t t
16061 s,@qt_CFLAGS@,$qt_CFLAGS,;t t
16062 s,@qte_CFLAGS@,$qte_CFLAGS,;t t
16063 s,@sdl_CFLAGS@,$sdl_CFLAGS,;t t
16064 s,@x11_CFLAGS@,$x11_CFLAGS,;t t
16065 s,@xvideo_CFLAGS@,$xvideo_CFLAGS,;t t
16066 s,@vlc_LDFLAGS@,$vlc_LDFLAGS,;t t
16067 s,@plugins_LDFLAGS@,$plugins_LDFLAGS,;t t
16068 s,@builtins_LDFLAGS@,$builtins_LDFLAGS,;t t
16069 s,@a52_LDFLAGS@,$a52_LDFLAGS,;t t
16070 s,@aa_LDFLAGS@,$aa_LDFLAGS,;t t
16071 s,@alsa_LDFLAGS@,$alsa_LDFLAGS,;t t
16072 s,@arts_LDFLAGS@,$arts_LDFLAGS,;t t
16073 s,@beos_LDFLAGS@,$beos_LDFLAGS,;t t
16074 s,@chroma_i420_rgb_LDFLAGS@,$chroma_i420_rgb_LDFLAGS,;t t
16075 s,@directx_LDFLAGS@,$directx_LDFLAGS,;t t
16076 s,@dsp_LDFLAGS@,$dsp_LDFLAGS,;t t
16077 s,@dvd_LDFLAGS@,$dvd_LDFLAGS,;t t
16078 s,@dvdread_LDFLAGS@,$dvdread_LDFLAGS,;t t
16079 s,@mpeg_ts_dvbpsi_LDFLAGS@,$mpeg_ts_dvbpsi_LDFLAGS,;t t
16080 s,@esd_LDFLAGS@,$esd_LDFLAGS,;t t
16081 s,@familiar_LDFLAGS@,$familiar_LDFLAGS,;t t
16082 s,@filter_distort_LDFLAGS@,$filter_distort_LDFLAGS,;t t
16083 s,@ffmpeg_LDFLAGS@,$ffmpeg_LDFLAGS,;t t
16084 s,@ggi_LDFLAGS@,$ggi_LDFLAGS,;t t
16085 s,@glide_LDFLAGS@,$glide_LDFLAGS,;t t
16086 s,@gnome_LDFLAGS@,$gnome_LDFLAGS,;t t
16087 s,@gtk_LDFLAGS@,$gtk_LDFLAGS,;t t
16088 s,@http_LDFLAGS@,$http_LDFLAGS,;t t
16089 s,@idctaltivec_LDFLAGS@,$idctaltivec_LDFLAGS,;t t
16090 s,@imdct_LDFLAGS@,$imdct_LDFLAGS,;t t
16091 s,@imdct3dn_LDFLAGS@,$imdct3dn_LDFLAGS,;t t
16092 s,@imdctsse_LDFLAGS@,$imdctsse_LDFLAGS,;t t
16093 s,@ipv4_LDFLAGS@,$ipv4_LDFLAGS,;t t
16094 s,@ipv6_LDFLAGS@,$ipv6_LDFLAGS,;t t
16095 s,@kde_LDFLAGS@,$kde_LDFLAGS,;t t
16096 s,@lirc_LDFLAGS@,$lirc_LDFLAGS,;t t
16097 s,@macosx_LDFLAGS@,$macosx_LDFLAGS,;t t
16098 s,@mad_LDFLAGS@,$mad_LDFLAGS,;t t
16099 s,@memcpyaltivec_LDFLAGS@,$memcpyaltivec_LDFLAGS,;t t
16100 s,@motionaltivec_LDFLAGS@,$motionaltivec_LDFLAGS,;t t
16101 s,@ncurses_LDFLAGS@,$ncurses_LDFLAGS,;t t
16102 s,@opie_LDFLAGS@,$opie_LDFLAGS,;t t
16103 s,@qnx_LDFLAGS@,$qnx_LDFLAGS,;t t
16104 s,@qt_LDFLAGS@,$qt_LDFLAGS,;t t
16105 s,@qte_LDFLAGS@,$qte_LDFLAGS,;t t
16106 s,@rc_LDFLAGS@,$rc_LDFLAGS,;t t
16107 s,@sdl_LDFLAGS@,$sdl_LDFLAGS,;t t
16108 s,@vcd_LDFLAGS@,$vcd_LDFLAGS,;t t
16109 s,@vorbis_LDFLAGS@,$vorbis_LDFLAGS,;t t
16110 s,@waveout_LDFLAGS@,$waveout_LDFLAGS,;t t
16111 s,@x11_LDFLAGS@,$x11_LDFLAGS,;t t
16112 s,@xvideo_LDFLAGS@,$xvideo_LDFLAGS,;t t
16117 cat >>$CONFIG_STATUS <<\_ACEOF
16118 # Split the substitutions into bite-sized pieces for seds with
16119 # small command number limits, like on Digital OSF/1 and HP-UX.
16120 ac_max_sed_lines=48
16121 ac_sed_frag=1 # Number of current file.
16122 ac_beg=1 # First line for current file.
16123 ac_end=$ac_max_sed_lines # Line after last line for current file.
16126 while $ac_more_lines; do
16127 if test $ac_beg -gt 1; then
16128 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
16130 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
16132 if test ! -s $tmp/subs.frag; then
16133 ac_more_lines=false
16135 # The purpose of the label and of the branching condition is to
16136 # speed up the sed processing (if there are no `@' at all, there
16137 # is no need to browse any of the substitutions).
16138 # These are the two extra sed commands mentioned above.
16140 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
16141 if test -z "$ac_sed_cmds"; then
16142 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
16144 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
16146 ac_sed_frag=`expr $ac_sed_frag + 1`
16148 ac_end=`expr $ac_end + $ac_max_sed_lines`
16151 if test -z "$ac_sed_cmds"; then
16154 fi # test -n "$CONFIG_FILES"
16157 cat >>$CONFIG_STATUS <<\_ACEOF
16158 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
16159 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16161 - | *:- | *:-:* ) # input from stdin
16163 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16164 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16165 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16166 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16167 * ) ac_file_in=$ac_file.in ;;
16170 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
16171 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
16172 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16173 X"$ac_file" : 'X\(//\)[^/]' \| \
16174 X"$ac_file" : 'X\(//\)$' \| \
16175 X"$ac_file" : 'X\(/\)' \| \
16176 . : '\(.\)' 2>/dev/null ||
16178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16179 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16180 /^X\(\/\/\)$/{ s//\1/; q; }
16181 /^X\(\/\).*/{ s//\1/; q; }
16183 { case "$ac_dir" in
16184 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
16188 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
16189 case $as_mkdir_dir in
16190 # Skip DOS drivespec
16191 ?:) as_incr_dir=$as_mkdir_dir ;;
16193 as_incr_dir=$as_incr_dir/$as_mkdir_dir
16194 test -d "$as_incr_dir" ||
16195 mkdir "$as_incr_dir" ||
16196 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
16197 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
16198 { (exit 1); exit 1; }; }
16205 if test "$ac_dir" != .; then
16206 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16207 # A "../" for each directory in $ac_dir_suffix.
16208 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16210 ac_dir_suffix= ac_top_builddir=
16214 .) # No --srcdir option. We are building in place.
16216 if test -z "$ac_top_builddir"; then
16219 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
16221 [\\/]* | ?:[\\/]* ) # Absolute path.
16222 ac_srcdir=$srcdir$ac_dir_suffix;
16223 ac_top_srcdir=$srcdir ;;
16224 *) # Relative path.
16225 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
16226 ac_top_srcdir=$ac_top_builddir$srcdir ;;
16228 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
16230 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
16231 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
16232 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
16233 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
16237 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16238 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
16241 if test x"$ac_file" != x-; then
16242 { echo "$as_me:$LINENO: creating $ac_file" >&5
16243 echo "$as_me: creating $ac_file" >&6;}
16246 # Let's still pretend it is `configure' which instantiates (i.e., don't
16247 # use $as_me), people would be surprised to read:
16248 # /* config.h. Generated by config.status. */
16249 if test x"$ac_file" = x-; then
16252 configure_input="$ac_file. "
16254 configure_input=$configure_input"Generated from `echo $ac_file_in |
16255 sed 's,.*/,,'` by configure."
16257 # First look for the input files in the build tree, otherwise in the
16259 ac_file_inputs=`IFS=:
16260 for f in $ac_file_in; do
16262 -) echo $tmp/stdin ;;
16264 # Absolute (can't be DOS-style, as IFS=:)
16265 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16266 echo "$as_me: error: cannot find input file: $f" >&2;}
16267 { (exit 1); exit 1; }; }
16270 if test -f "$f"; then
16273 elif test -f "$srcdir/$f"; then
16278 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16279 echo "$as_me: error: cannot find input file: $f" >&2;}
16280 { (exit 1); exit 1; }; }
16283 done` || { (exit 1); exit 1; }
16285 cat >>$CONFIG_STATUS <<_ACEOF
16289 cat >>$CONFIG_STATUS <<\_ACEOF
16291 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16292 s,@configure_input@,$configure_input,;t t
16293 s,@srcdir@,$ac_srcdir,;t t
16294 s,@abs_srcdir@,$ac_abs_srcdir,;t t
16295 s,@top_srcdir@,$ac_top_srcdir,;t t
16296 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
16297 s,@builddir@,$ac_builddir,;t t
16298 s,@abs_builddir@,$ac_abs_builddir,;t t
16299 s,@top_builddir@,$ac_top_builddir,;t t
16300 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
16301 s,@INSTALL@,$ac_INSTALL,;t t
16302 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
16304 if test x"$ac_file" != x-; then
16305 mv $tmp/out $ac_file
16313 cat >>$CONFIG_STATUS <<\_ACEOF
16316 # CONFIG_HEADER section.
16319 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
16320 # NAME is the cpp macro being defined and VALUE is the value it is being given.
16322 # ac_d sets the value in "#define NAME VALUE" lines.
16323 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
16324 ac_dB='[ ].*$,\1#\2'
16327 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
16328 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16329 ac_uB='$,\1#\2define\3'
16333 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
16334 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16336 - | *:- | *:-:* ) # input from stdin
16338 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16339 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16340 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16341 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16342 * ) ac_file_in=$ac_file.in ;;
16345 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
16346 echo "$as_me: creating $ac_file" >&6;}
16348 # First look for the input files in the build tree, otherwise in the
16350 ac_file_inputs=`IFS=:
16351 for f in $ac_file_in; do
16353 -) echo $tmp/stdin ;;
16355 # Absolute (can't be DOS-style, as IFS=:)
16356 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16357 echo "$as_me: error: cannot find input file: $f" >&2;}
16358 { (exit 1); exit 1; }; }
16361 if test -f "$f"; then
16364 elif test -f "$srcdir/$f"; then
16369 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16370 echo "$as_me: error: cannot find input file: $f" >&2;}
16371 { (exit 1); exit 1; }; }
16374 done` || { (exit 1); exit 1; }
16375 # Remove the trailing spaces.
16376 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
16380 # Transform confdefs.h into two sed scripts, `conftest.defines' and
16381 # `conftest.undefs', that substitutes the proper values into
16382 # config.h.in to produce config.h. The first handles `#define'
16383 # templates, and the second `#undef' templates.
16384 # And first: Protect against being on the right side of a sed subst in
16385 # config.status. Protect against being in an unquoted here document
16386 # in config.status.
16387 rm -f conftest.defines conftest.undefs
16388 # Using a here document instead of a string reduces the quoting nightmare.
16389 # Putting comments in sed scripts is not portable.
16391 # `end' is used to avoid that the second main sed command (meant for
16392 # 0-ary CPP macros) applies to n-ary macro definitions.
16393 # See the Autoconf documentation for `clear'.
16394 cat >confdef2sed.sed <<\_ACEOF
16399 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
16401 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
16404 # If some macros were called several times there might be several times
16405 # the same #defines, which is useless. Nevertheless, we may not want to
16406 # sort them, since we want the *last* AC-DEFINE to be honored.
16407 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
16408 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
16409 rm -f confdef2sed.sed
16411 # This sed command replaces #undef with comments. This is necessary, for
16412 # example, in the case of _POSIX_SOURCE, which is predefined and required
16413 # on some systems where configure will not decide to define it.
16414 cat >>conftest.undefs <<\_ACEOF
16415 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
16418 # Break up conftest.defines because some shells have a limit on the size
16419 # of here documents, and old seds have small limits too (100 cmds).
16420 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
16421 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
16422 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
16423 echo ' :' >>$CONFIG_STATUS
16424 rm -f conftest.tail
16425 while grep . conftest.defines >/dev/null
16427 # Write a limited-size here document to $tmp/defines.sed.
16428 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
16429 # Speed up: don't consider the non `#define' lines.
16430 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
16431 # Work around the forget-to-reset-the-flag bug.
16432 echo 't clr' >>$CONFIG_STATUS
16433 echo ': clr' >>$CONFIG_STATUS
16434 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
16436 sed -f $tmp/defines.sed $tmp/in >$tmp/out
16438 mv $tmp/out $tmp/in
16440 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
16441 rm -f conftest.defines
16442 mv conftest.tail conftest.defines
16444 rm -f conftest.defines
16445 echo ' fi # egrep' >>$CONFIG_STATUS
16446 echo >>$CONFIG_STATUS
16448 # Break up conftest.undefs because some shells have a limit on the size
16449 # of here documents, and old seds have small limits too (100 cmds).
16450 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
16451 rm -f conftest.tail
16452 while grep . conftest.undefs >/dev/null
16454 # Write a limited-size here document to $tmp/undefs.sed.
16455 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
16456 # Speed up: don't consider the non `#undef'
16457 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
16458 # Work around the forget-to-reset-the-flag bug.
16459 echo 't clr' >>$CONFIG_STATUS
16460 echo ': clr' >>$CONFIG_STATUS
16461 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
16463 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
16465 mv $tmp/out $tmp/in
16467 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
16468 rm -f conftest.undefs
16469 mv conftest.tail conftest.undefs
16471 rm -f conftest.undefs
16473 cat >>$CONFIG_STATUS <<\_ACEOF
16474 # Let's still pretend it is `configure' which instantiates (i.e., don't
16475 # use $as_me), people would be surprised to read:
16476 # /* config.h. Generated by config.status. */
16477 if test x"$ac_file" = x-; then
16478 echo "/* Generated by configure. */" >$tmp/config.h
16480 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
16482 cat $tmp/in >>$tmp/config.h
16484 if test x"$ac_file" != x-; then
16485 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
16486 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16487 echo "$as_me: $ac_file is unchanged" >&6;}
16489 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
16490 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16491 X"$ac_file" : 'X\(//\)[^/]' \| \
16492 X"$ac_file" : 'X\(//\)$' \| \
16493 X"$ac_file" : 'X\(/\)' \| \
16494 . : '\(.\)' 2>/dev/null ||
16496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16497 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16498 /^X\(\/\/\)$/{ s//\1/; q; }
16499 /^X\(\/\).*/{ s//\1/; q; }
16501 { case "$ac_dir" in
16502 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
16506 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
16507 case $as_mkdir_dir in
16508 # Skip DOS drivespec
16509 ?:) as_incr_dir=$as_mkdir_dir ;;
16511 as_incr_dir=$as_incr_dir/$as_mkdir_dir
16512 test -d "$as_incr_dir" ||
16513 mkdir "$as_incr_dir" ||
16514 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
16515 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
16516 { (exit 1); exit 1; }; }
16522 mv $tmp/config.h $ac_file
16526 rm -f $tmp/config.h
16530 cat >>$CONFIG_STATUS <<\_ACEOF
16533 # CONFIG_COMMANDS section.
16535 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
16536 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
16537 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
16538 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
16539 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16540 X"$ac_dest" : 'X\(//\)[^/]' \| \
16541 X"$ac_dest" : 'X\(//\)$' \| \
16542 X"$ac_dest" : 'X\(/\)' \| \
16543 . : '\(.\)' 2>/dev/null ||
16545 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16546 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16547 /^X\(\/\/\)$/{ s//\1/; q; }
16548 /^X\(\/\).*/{ s//\1/; q; }
16552 if test "$ac_dir" != .; then
16553 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16554 # A "../" for each directory in $ac_dir_suffix.
16555 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16557 ac_dir_suffix= ac_top_builddir=
16561 .) # No --srcdir option. We are building in place.
16563 if test -z "$ac_top_builddir"; then
16566 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
16568 [\\/]* | ?:[\\/]* ) # Absolute path.
16569 ac_srcdir=$srcdir$ac_dir_suffix;
16570 ac_top_srcdir=$srcdir ;;
16571 *) # Relative path.
16572 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
16573 ac_top_srcdir=$ac_top_builddir$srcdir ;;
16575 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
16577 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
16578 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
16579 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
16580 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
16583 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
16584 echo "$as_me: executing $ac_dest commands" >&6;}
16586 default-1 ) for ac_file in $CONFIG_FILES; do
16587 # Support "outfile[:infile[:infile...]]"
16589 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
16591 # PO directories have a Makefile.in generated from Makefile.in.in.
16592 case "$ac_file" in */Makefile.in)
16593 # Adjust a relative srcdir.
16594 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
16595 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
16596 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
16597 # In autoconf-2.13 it is called $ac_given_srcdir.
16598 # In autoconf-2.50 it is called $srcdir.
16599 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
16600 case "$ac_given_srcdir" in
16601 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
16602 /*) top_srcdir="$ac_given_srcdir" ;;
16603 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
16605 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
16606 rm -f "$ac_dir/POTFILES"
16607 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
16608 sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," -e "\$s/\(.*\) \\\\/\1/" < "$ac_given_srcdir/$ac_dir/POTFILES.in" > "$ac_dir/POTFILES"
16609 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
16610 sed -e "/POTFILES =/r $ac_dir/POTFILES" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
16619 cat >>$CONFIG_STATUS <<\_ACEOF
16621 { (exit 0); exit 0; }
16623 chmod +x $CONFIG_STATUS
16624 ac_clean_files=$ac_clean_files_save
16627 # configure is writing to config.log, and then calls config.status.
16628 # config.status does its own redirection, appending to config.log.
16629 # Unfortunately, on DOS this fails, as config.log is still kept open
16630 # by configure, so config.status won't be able to write to it; its
16631 # output is simply discarded. So we exec the FD to /dev/null,
16632 # effectively closing config.log, so it can be properly (re)opened and
16633 # appended to by config.status. When coming back to configure, we
16634 # need to make the FD available again.
16635 if test "$no_create" != yes; then
16638 $SHELL $CONFIG_STATUS || ac_cs_success=false
16640 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16641 # would make configure fail if this is the last instruction.
16642 $ac_cs_success || { (exit 1); exit 1; }
16648 --------------------
16649 vlc version : ${VERSION}
16651 architecture : ${ARCH}
16652 optimizations : ${OPTIMS}
16654 debug mode : ${DEBUG}
16655 release : ${RELEASE}
16656 cprof/gprof support : ${CPROF}/${GPROF}
16657 need builtin getopt : ${NEED_GETOPT}
16658 built-in modules :${BUILTINS}
16659 plug-in modules :${PLUGINS}
16660 vlc aliases :${ALIASES}
16662 You may now tune Makefile.opts at your convenience, for instance to choose
16663 which modules get compiled as plugins.
16665 To build vlc and its plugins, type \`$VLC_MAKE'.