2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.54.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 # Support unset when possible.
25 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
39 for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
41 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
42 eval $as_var=C; export $as_var
48 # Required to use basename.
49 if expr a : '\(a\)' >/dev/null 2>&1; then
55 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 # Name of the executable.
63 as_me=`$as_basename "$0" ||
64 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
65 X"$0" : 'X\(//\)$' \| \
66 X"$0" : 'X\(/\)$' \| \
67 . : '\(.\)' 2>/dev/null ||
69 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
70 /^X\/\(\/\/\)$/{ s//\1/; q; }
71 /^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="/nonexistent;."; 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 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
142 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
143 CONFIG_SHELL=$as_dir/$as_base
145 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
153 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
154 # uniformly replaced by the line number. The first 'sed' inserts a
155 # line-number line before each line; the second 'sed' does the real
156 # work. The second script uses 'N' to pair each line-number line
157 # with the numbered line, and appends trailing '-' during
158 # substitution so that $LINENO is not a special case at line end.
159 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
160 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
161 sed '=' <$as_myself |
166 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
169 s,^['$as_cr_digits']*\n,,
171 chmod +x $as_me.lineno ||
172 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
173 { (exit 1); exit 1; }; }
175 # Don't try to exec as it changes $[0], causing all sort of problems
176 # (the dirname of $[0] is not the place where we might find the
177 # original and so on. Autoconf is especially sensible to this).
179 # Exit status is that of the last command.
184 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
185 *c*,-n*) ECHO_N= ECHO_C='
187 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
188 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
191 if expr a : '\(a\)' >/dev/null 2>&1; then
197 rm -f conf$$ conf$$.exe conf$$.file
199 if ln -s conf$$.file conf$$ 2>/dev/null; then
200 # We could just check for DJGPP; but this test a) works b) is more generic
201 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
202 if test -f conf$$.exe; then
203 # Don't use ln at all; we don't have any links
208 elif ln conf$$.file conf$$ 2>/dev/null; then
213 rm -f conf$$ conf$$.exe conf$$.file
215 if mkdir -p . 2>/dev/null; then
221 as_executable_p="test -f"
223 # Sed expression to map a string onto a valid CPP name.
224 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
226 # Sed expression to map a string onto a valid variable name.
227 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
231 # We need space, tab and new line, in precisely that order.
241 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
242 # so uname gets run too.
243 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250 ac_default_prefix=/usr/local
251 ac_config_libobj_dir=.
256 SHELL=${CONFIG_SHELL-/bin/sh}
258 # Maximum number of lines to put in a shell here document.
259 # This variable seems obsolete. It should probably be removed, and
260 # only ac_max_sed_lines should be used.
261 : ${ac_max_here_lines=38}
263 # Identity of this package.
270 ac_unique_file="include/main.h"
271 # Factoring default headers for most tests.
272 ac_includes_default="\
275 # include <sys/types.h>
278 # include <sys/stat.h>
289 # if !STDC_HEADERS && HAVE_MEMORY_H
295 # include <strings.h>
298 # include <inttypes.h>
308 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP AR ac_ct_AR LD ac_ct_LD GMAKE EGREP ALLOCA GLIBC21 LIBICONV USE_NLS MSGFMT GMSGFMT XGETTEXT INTLBISON BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATALOGS CATOBJEXT GMOFILES INTLLIBS INTLOBJS POFILES POSUB DATADIRNAME INSTOBJEXT GENCAT MKINSTALLDIRS INTL_LIBTOOL_SUFFIX_PREFIX INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA WINDRES ac_ct_WINDRES SDL12_CONFIG SDL11_CONFIG SDL_CONFIG ESD_CONFIG ARTS_CONFIG GTK12_CONFIG GTK_CONFIG GNOME_CONFIG DATA_PATH PLUGIN_PATH SYS ARCH PLUGINS BUILTINS ALIASES DEBUG ASM CPROF GPROF OPTIMS TUNING RELEASE MOC BCBUILDER PACKAGE VERSION NEED_GETOPT CFLAGS_OPTIM CFLAGS_OPTIM_NODEBUG vlc_CFLAGS plugins_CFLAGS builtins_CFLAGS a52_CFLAGS arts_CFLAGS dvd_CFLAGS dvdread_CFLAGS mpeg_ts_dvbpsi_CFLAGS directx_CFLAGS esd_CFLAGS familiar_CFLAGS ffmpeg_CFLAGS glide_CFLAGS gnome_CFLAGS gtk_CFLAGS kde_CFLAGS idctaltivec_CFLAGS macosx_CFLAGS mad_CFLAGS memcpyaltivec_CFLAGS motionaltivec_CFLAGS opie_CFLAGS qt_CFLAGS qte_CFLAGS sdl_CFLAGS x11_CFLAGS xvideo_CFLAGS vlc_LDFLAGS plugins_LDFLAGS builtins_LDFLAGS a52_LDFLAGS aa_LDFLAGS alsa_LDFLAGS arts_LDFLAGS beos_LDFLAGS chroma_i420_rgb_LDFLAGS directx_LDFLAGS dsp_LDFLAGS dvd_LDFLAGS dvdread_LDFLAGS mpeg_ts_dvbpsi_LDFLAGS esd_LDFLAGS familiar_LDFLAGS filter_distort_LDFLAGS ffmpeg_LDFLAGS ggi_LDFLAGS glide_LDFLAGS gnome_LDFLAGS gtk_LDFLAGS http_LDFLAGS idctaltivec_LDFLAGS imdct_LDFLAGS imdct3dn_LDFLAGS imdctsse_LDFLAGS ipv4_LDFLAGS ipv6_LDFLAGS kde_LDFLAGS lirc_LDFLAGS macosx_LDFLAGS mad_LDFLAGS memcpyaltivec_LDFLAGS motionaltivec_LDFLAGS ncurses_LDFLAGS opie_LDFLAGS qnx_LDFLAGS qt_LDFLAGS qte_LDFLAGS rc_LDFLAGS sdl_LDFLAGS vcd_LDFLAGS vorbis_LDFLAGS waveout_LDFLAGS x11_LDFLAGS xvideo_LDFLAGS LIBOBJS LTLIBOBJS'
311 # Initialize some variables set by options.
313 ac_init_version=false
314 # The variables have the same names as the options, with
315 # dashes changed to underlines.
323 program_transform_name=s,x,x,
331 # Installation directory options.
332 # These are left unexpanded so users can "make install exec_prefix=/foo"
333 # and all the variables that are supposed to be based on exec_prefix
334 # by default will actually change.
335 # Use braces instead of parens because sh, perl, etc. also accept them.
336 bindir='${exec_prefix}/bin'
337 sbindir='${exec_prefix}/sbin'
338 libexecdir='${exec_prefix}/libexec'
339 datadir='${prefix}/share'
340 sysconfdir='${prefix}/etc'
341 sharedstatedir='${prefix}/com'
342 localstatedir='${prefix}/var'
343 libdir='${exec_prefix}/lib'
344 includedir='${prefix}/include'
345 oldincludedir='/usr/include'
346 infodir='${prefix}/info'
347 mandir='${prefix}/man'
352 # If the previous option needs an argument, assign it.
353 if test -n "$ac_prev"; then
354 eval "$ac_prev=\$ac_option"
359 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
361 # Accept the important Cygnus configure options, so we can diagnose typos.
365 -bindir | --bindir | --bindi | --bind | --bin | --bi)
367 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
370 -build | --build | --buil | --bui | --bu)
371 ac_prev=build_alias ;;
372 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
373 build_alias=$ac_optarg ;;
375 -cache-file | --cache-file | --cache-fil | --cache-fi \
376 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
377 ac_prev=cache_file ;;
378 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
379 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
380 cache_file=$ac_optarg ;;
383 cache_file=config.cache ;;
385 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
387 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
389 datadir=$ac_optarg ;;
391 -disable-* | --disable-*)
392 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
393 # Reject names that are not valid shell variable names.
394 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
395 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
396 { (exit 1); exit 1; }; }
397 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
398 eval "enable_$ac_feature=no" ;;
400 -enable-* | --enable-*)
401 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
402 # Reject names that are not valid shell variable names.
403 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
404 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
405 { (exit 1); exit 1; }; }
406 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
408 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
411 eval "enable_$ac_feature='$ac_optarg'" ;;
413 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
414 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
415 | --exec | --exe | --ex)
416 ac_prev=exec_prefix ;;
417 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
418 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
419 | --exec=* | --exe=* | --ex=*)
420 exec_prefix=$ac_optarg ;;
422 -gas | --gas | --ga | --g)
423 # Obsolete; use --with-gas.
426 -help | --help | --hel | --he | -h)
428 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
429 ac_init_help=recursive ;;
430 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
431 ac_init_help=short ;;
433 -host | --host | --hos | --ho)
434 ac_prev=host_alias ;;
435 -host=* | --host=* | --hos=* | --ho=*)
436 host_alias=$ac_optarg ;;
438 -includedir | --includedir | --includedi | --included | --include \
439 | --includ | --inclu | --incl | --inc)
440 ac_prev=includedir ;;
441 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
442 | --includ=* | --inclu=* | --incl=* | --inc=*)
443 includedir=$ac_optarg ;;
445 -infodir | --infodir | --infodi | --infod | --info | --inf)
447 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
448 infodir=$ac_optarg ;;
450 -libdir | --libdir | --libdi | --libd)
452 -libdir=* | --libdir=* | --libdi=* | --libd=*)
455 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
456 | --libexe | --libex | --libe)
457 ac_prev=libexecdir ;;
458 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
459 | --libexe=* | --libex=* | --libe=*)
460 libexecdir=$ac_optarg ;;
462 -localstatedir | --localstatedir | --localstatedi | --localstated \
463 | --localstate | --localstat | --localsta | --localst \
464 | --locals | --local | --loca | --loc | --lo)
465 ac_prev=localstatedir ;;
466 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
467 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
468 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
469 localstatedir=$ac_optarg ;;
471 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
473 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
477 # Obsolete; use --without-fp.
480 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
481 | --no-cr | --no-c | -n)
484 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
485 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
488 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
489 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
490 | --oldin | --oldi | --old | --ol | --o)
491 ac_prev=oldincludedir ;;
492 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
493 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
494 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
495 oldincludedir=$ac_optarg ;;
497 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
499 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
502 -program-prefix | --program-prefix | --program-prefi | --program-pref \
503 | --program-pre | --program-pr | --program-p)
504 ac_prev=program_prefix ;;
505 -program-prefix=* | --program-prefix=* | --program-prefi=* \
506 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
507 program_prefix=$ac_optarg ;;
509 -program-suffix | --program-suffix | --program-suffi | --program-suff \
510 | --program-suf | --program-su | --program-s)
511 ac_prev=program_suffix ;;
512 -program-suffix=* | --program-suffix=* | --program-suffi=* \
513 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
514 program_suffix=$ac_optarg ;;
516 -program-transform-name | --program-transform-name \
517 | --program-transform-nam | --program-transform-na \
518 | --program-transform-n | --program-transform- \
519 | --program-transform | --program-transfor \
520 | --program-transfo | --program-transf \
521 | --program-trans | --program-tran \
522 | --progr-tra | --program-tr | --program-t)
523 ac_prev=program_transform_name ;;
524 -program-transform-name=* | --program-transform-name=* \
525 | --program-transform-nam=* | --program-transform-na=* \
526 | --program-transform-n=* | --program-transform-=* \
527 | --program-transform=* | --program-transfor=* \
528 | --program-transfo=* | --program-transf=* \
529 | --program-trans=* | --program-tran=* \
530 | --progr-tra=* | --program-tr=* | --program-t=*)
531 program_transform_name=$ac_optarg ;;
533 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
534 | -silent | --silent | --silen | --sile | --sil)
537 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
539 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
541 sbindir=$ac_optarg ;;
543 -sharedstatedir | --sharedstatedir | --sharedstatedi \
544 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
545 | --sharedst | --shareds | --shared | --share | --shar \
547 ac_prev=sharedstatedir ;;
548 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
549 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
550 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
552 sharedstatedir=$ac_optarg ;;
554 -site | --site | --sit)
556 -site=* | --site=* | --sit=*)
559 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
561 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
564 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
565 | --syscon | --sysco | --sysc | --sys | --sy)
566 ac_prev=sysconfdir ;;
567 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
568 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
569 sysconfdir=$ac_optarg ;;
571 -target | --target | --targe | --targ | --tar | --ta | --t)
572 ac_prev=target_alias ;;
573 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
574 target_alias=$ac_optarg ;;
576 -v | -verbose | --verbose | --verbos | --verbo | --verb)
579 -version | --version | --versio | --versi | --vers | -V)
583 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
584 # Reject names that are not valid shell variable names.
585 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
586 { echo "$as_me: error: invalid package name: $ac_package" >&2
587 { (exit 1); exit 1; }; }
588 ac_package=`echo $ac_package| sed 's/-/_/g'`
590 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
593 eval "with_$ac_package='$ac_optarg'" ;;
595 -without-* | --without-*)
596 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
597 # Reject names that are not valid shell variable names.
598 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
599 { echo "$as_me: error: invalid package name: $ac_package" >&2
600 { (exit 1); exit 1; }; }
601 ac_package=`echo $ac_package | sed 's/-/_/g'`
602 eval "with_$ac_package=no" ;;
605 # Obsolete; use --with-x.
608 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
609 | --x-incl | --x-inc | --x-in | --x-i)
610 ac_prev=x_includes ;;
611 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
612 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
613 x_includes=$ac_optarg ;;
615 -x-libraries | --x-libraries | --x-librarie | --x-librari \
616 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
617 ac_prev=x_libraries ;;
618 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
619 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
620 x_libraries=$ac_optarg ;;
622 -*) { echo "$as_me: error: unrecognized option: $ac_option
623 Try \`$0 --help' for more information." >&2
624 { (exit 1); exit 1; }; }
628 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
629 # Reject names that are not valid shell variable names.
630 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
631 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
632 { (exit 1); exit 1; }; }
633 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
634 eval "$ac_envvar='$ac_optarg'"
638 # FIXME: should be removed in autoconf 3.0.
639 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
640 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
641 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
642 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
648 if test -n "$ac_prev"; then
649 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
650 { echo "$as_me: error: missing argument to $ac_option" >&2
651 { (exit 1); exit 1; }; }
654 # Be sure to have absolute paths.
655 for ac_var in exec_prefix prefix
657 eval ac_val=$`echo $ac_var`
659 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
660 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
661 { (exit 1); exit 1; }; };;
665 # Be sure to have absolute paths.
666 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
667 localstatedir libdir includedir oldincludedir infodir mandir
669 eval ac_val=$`echo $ac_var`
671 [\\/$]* | ?:[\\/]* ) ;;
672 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
673 { (exit 1); exit 1; }; };;
677 # There might be people who depend on the old broken behavior: `$host'
678 # used to hold the argument of --host etc.
679 # FIXME: To remove some day.
684 # FIXME: To remove some day.
685 if test "x$host_alias" != x; then
686 if test "x$build_alias" = x; then
687 cross_compiling=maybe
688 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
689 If a cross compiler is detected then cross compile mode will be used." >&2
690 elif test "x$build_alias" != "x$host_alias"; then
696 test -n "$host_alias" && ac_tool_prefix=$host_alias-
698 test "$silent" = yes && exec 6>/dev/null
701 # Find the source files, if location was not specified.
702 if test -z "$srcdir"; then
703 ac_srcdir_defaulted=yes
704 # Try the directory containing this script, then its parent.
705 ac_confdir=`(dirname "$0") 2>/dev/null ||
706 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
707 X"$0" : 'X\(//\)[^/]' \| \
708 X"$0" : 'X\(//\)$' \| \
709 X"$0" : 'X\(/\)' \| \
710 . : '\(.\)' 2>/dev/null ||
712 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
713 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
714 /^X\(\/\/\)$/{ s//\1/; q; }
715 /^X\(\/\).*/{ s//\1/; q; }
718 if test ! -r $srcdir/$ac_unique_file; then
722 ac_srcdir_defaulted=no
724 if test ! -r $srcdir/$ac_unique_file; then
725 if test "$ac_srcdir_defaulted" = yes; then
726 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
727 { (exit 1); exit 1; }; }
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
730 { (exit 1); exit 1; }; }
733 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
734 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
735 { (exit 1); exit 1; }; }
736 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
737 ac_env_build_alias_set=${build_alias+set}
738 ac_env_build_alias_value=$build_alias
739 ac_cv_env_build_alias_set=${build_alias+set}
740 ac_cv_env_build_alias_value=$build_alias
741 ac_env_host_alias_set=${host_alias+set}
742 ac_env_host_alias_value=$host_alias
743 ac_cv_env_host_alias_set=${host_alias+set}
744 ac_cv_env_host_alias_value=$host_alias
745 ac_env_target_alias_set=${target_alias+set}
746 ac_env_target_alias_value=$target_alias
747 ac_cv_env_target_alias_set=${target_alias+set}
748 ac_cv_env_target_alias_value=$target_alias
749 ac_env_CC_set=${CC+set}
751 ac_cv_env_CC_set=${CC+set}
752 ac_cv_env_CC_value=$CC
753 ac_env_CFLAGS_set=${CFLAGS+set}
754 ac_env_CFLAGS_value=$CFLAGS
755 ac_cv_env_CFLAGS_set=${CFLAGS+set}
756 ac_cv_env_CFLAGS_value=$CFLAGS
757 ac_env_LDFLAGS_set=${LDFLAGS+set}
758 ac_env_LDFLAGS_value=$LDFLAGS
759 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
760 ac_cv_env_LDFLAGS_value=$LDFLAGS
761 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
762 ac_env_CPPFLAGS_value=$CPPFLAGS
763 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
764 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
765 ac_env_CPP_set=${CPP+set}
766 ac_env_CPP_value=$CPP
767 ac_cv_env_CPP_set=${CPP+set}
768 ac_cv_env_CPP_value=$CPP
771 # Report the --help message.
773 if test "$ac_init_help" = "long"; then
774 # Omit some internal or obsolete options to make the list less imposing.
775 # This message is too long to be a string in the A/UX 3.1 sh.
777 \`configure' configures this package to adapt to many kinds of systems.
779 Usage: $0 [OPTION]... [VAR=VALUE]...
781 To assign environment variables (e.g., CC, CFLAGS...), specify them as
782 VAR=VALUE. See below for descriptions of some of the useful variables.
784 Defaults for the options are specified in brackets.
787 -h, --help display this help and exit
788 --help=short display options specific to this package
789 --help=recursive display the short help of all the included packages
790 -V, --version display version information and exit
791 -q, --quiet, --silent do not print \`checking...' messages
792 --cache-file=FILE cache test results in FILE [disabled]
793 -C, --config-cache alias for \`--cache-file=config.cache'
794 -n, --no-create do not create output files
795 --srcdir=DIR find the sources in DIR [configure dir or \`..']
800 Installation directories:
801 --prefix=PREFIX install architecture-independent files in PREFIX
803 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
806 By default, \`make install' will install all the files in
807 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
808 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
809 for instance \`--prefix=\$HOME'.
811 For better control, use the options below.
813 Fine tuning of the installation directories:
814 --bindir=DIR user executables [EPREFIX/bin]
815 --sbindir=DIR system admin executables [EPREFIX/sbin]
816 --libexecdir=DIR program executables [EPREFIX/libexec]
817 --datadir=DIR read-only architecture-independent data [PREFIX/share]
818 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
819 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
820 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
821 --libdir=DIR object code libraries [EPREFIX/lib]
822 --includedir=DIR C header files [PREFIX/include]
823 --oldincludedir=DIR C header files for non-gcc [/usr/include]
824 --infodir=DIR info documentation [PREFIX/info]
825 --mandir=DIR man documentation [PREFIX/man]
831 --build=BUILD configure for building on BUILD [guessed]
832 --host=HOST cross-compile to build programs to run on HOST [BUILD]
833 --target=TARGET configure for building compilers for TARGET [HOST]
837 if test -n "$ac_init_help"; then
842 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
843 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
844 --disable-nls do not use Native Language Support
845 --disable-optimizations disable compiler optimizations (default enabled)
846 --disable-altivec disable altivec optimizations (default enabled on PPC)
847 --enable-debug debug mode (default disabled)
848 --enable-release activate extra optimizations (default disabled)
849 --enable-dvd DVD input module (default enabled)
850 --enable-dvdread dvdread input module (default disabled)
851 --enable-dvbpsi dvbpsi ts demux module (default disabled)
852 --enable-vcd VCD support for Linux, FreeBSD and MacOS X (default enabled)
853 --enable-satellite satellite card support (default disabled)
854 --enable-avi AVI demux module (default enabled)
855 --enable-mad libmad module (default disabled)
856 --enable-ffmpeg ffmpeg codec (default disabled)
857 --enable-a52 AC3 support with liba52 (default enabled)
858 --enable-vorbis Ogg/Vorbis decoder support (default enabled)
859 --enable-x11 X11 support (default enabled)
860 --enable-xvideo XVideo support (default enabled)
861 --enable-sdl SDL support (default enabled)
862 --enable-qte QT Embedded support (default disabled)
863 --enable-directx Win32 DirectX support (default enabled on Win32)
864 --enable-fb Linux framebuffer support (default enabled on Linux)
865 --enable-mga Linux kernel Matrox support (default disabled)
866 --enable-ggi GGI support (default disabled)
867 --enable-glide Glide (3dfx) support (default disabled)
868 --enable-aa aalib output (default disabled)
869 --enable-dsp Linux /dev/dsp support (enabled on Linux)
870 --enable-esd Esound library support (default disabled)
871 --enable-arts aRts sound server (default disabled)
872 --enable-alsa ALSA sound support for Linux (default disabled)
873 --enable-waveout Win32 waveOut module (default enabled on Win32)
874 --enable-gtk Gtk+ support (default enabled)
875 --enable-familiar Familiar Gtk+ support (default disabled)
876 --enable-gnome Gnome interface support (default disabled)
877 --enable-qt Qt interface support (default disabled)
878 --enable-kde KDE interface support (default disabled)
879 --enable-opie Qt embedded interface support (default disabled)
880 --enable-macosx MacOS X support (default enabled on MacOS X)
881 --enable-qnx QNX RTOS support (default enabled on QNX RTOS)
882 --enable-intfwin Win32 interface support (default disabled)
883 --enable-ncurses ncurses interface support (default disabled)
884 --enable-lirc lirc support (default disabled)
885 --enable-gprof gprof profiling (default disabled)
886 --enable-cprof cprof profiling (default disabled)
887 --enable-pth GNU Pth support (default disabled)
888 --enable-st State Threads (default disabled)
889 --disable-plugins make all plug-ins built-in (default plug-ins enabled)
892 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
893 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
894 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
895 --with-included-gettext use the GNU gettext library included here
897 Optimization options:
898 --with-tuning=ARCH enable special tuning for an architecture
899 (default i686 on IA-32 and 750 on PPC)
901 --with-dvdcss=PATH libdvdcss headers and libraries
902 --with-dvdcss-tree=PATH libdvdcss tree for static linking
903 --with-dvdread=PATH libdvdread headers and libraries
904 --with-dvbpsi=PATH libdvbpsi headers and libraries
905 --with-dvbpsi-tree=PATH libdvbpsi tree for static linking
907 --with-mad=PATH path to libmad
908 --with-mad-tree=PATH mad tree for static linking
909 --with-ffmpeg=PATH path to ffmpeg installation
910 --with-ffmpeg-tree=PATH ffmpeg tree for static linking
911 --with-a52-tree=PATH a52dec tree for static linking
913 --with-sdl-config-path=PATH sdl-config path (default search in \$PATH)
914 --with-sdl-prefix=PATH path to libsdl (needed for cross-compiling),
916 --with-sdl-prefix=/usr/local/arm/2.95.3/arm-linux/usr)
917 --with-qte=PATH Qt Embedded headers and libraries
918 --with-directx=PATH Win32 DirectX headers and libraries
919 --with-ggi=PATH path to libggi
920 --with-glide=PATH path to libglide
923 --with-gtk-config-path=PATH gtk-config path (default search in \$PATH)
924 --with-gtk-prefix=PATH path to libgtk (needed for cross-compiling),
926 --with-gtk-prefix=/usr/local/arm/2.95.3/arm-linux/usr)
927 --with-gpe-prefix=PATH gpe installation path prefix (default search in \$PATH)
928 --with-bcbuilder=PATH Borland C++ Builder installation path
930 --with-words=endianness set endianness (big or little)
932 Some influential environment variables:
933 CC C compiler command
934 CFLAGS C compiler flags
935 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
936 nonstandard directory <lib dir>
937 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
938 headers in a nonstandard directory <include dir>
941 Use these variables to override the choices made by `configure' or to help
942 it to find libraries and programs with nonstandard names/locations.
947 if test "$ac_init_help" = "recursive"; then
948 # If there are subdirs, report their specific --help.
950 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
951 test -d $ac_dir || continue
954 if test "$ac_dir" != .; then
955 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
956 # A "../" for each directory in $ac_dir_suffix.
957 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
959 ac_dir_suffix= ac_top_builddir=
963 .) # No --srcdir option. We are building in place.
965 if test -z "$ac_top_builddir"; then
968 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
970 [\\/]* | ?:[\\/]* ) # Absolute path.
971 ac_srcdir=$srcdir$ac_dir_suffix;
972 ac_top_srcdir=$srcdir ;;
974 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
975 ac_top_srcdir=$ac_top_builddir$srcdir ;;
977 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
979 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
980 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
981 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
982 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
985 # Check for guested configure; otherwise get Cygnus style configure.
986 if test -f $ac_srcdir/configure.gnu; then
988 $SHELL $ac_srcdir/configure.gnu --help=recursive
989 elif test -f $ac_srcdir/configure; then
991 $SHELL $ac_srcdir/configure --help=recursive
992 elif test -f $ac_srcdir/configure.ac ||
993 test -f $ac_srcdir/configure.in; then
997 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1003 test -n "$ac_init_help" && exit 0
1004 if $ac_init_version; then
1007 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1008 Free Software Foundation, Inc.
1009 This configure script is free software; the Free Software Foundation
1010 gives unlimited permission to copy, distribute and modify it.
1016 This file contains any messages produced by compilers while
1017 running configure, to aid debugging if configure makes a mistake.
1019 It was created by $as_me, which was
1020 generated by GNU Autoconf 2.54. Invocation command line was
1031 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1032 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1033 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1034 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1035 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1037 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1038 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1040 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1041 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1042 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1043 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1044 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1045 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1046 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1054 test -z "$as_dir" && as_dir=.
1055 echo "PATH: $as_dir"
1070 # Keep a trace of the command line.
1071 # Strip out --no-create and --no-recursion so they do not pile up.
1072 # Also quote any args containing shell meta-characters.
1078 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1079 | --no-cr | --no-c | -n ) continue ;;
1080 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1081 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1083 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1084 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1086 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1087 # Get rid of the leading space.
1091 # When interrupted or exit'd, cleanup temporary files, and complete
1092 # config.log. We remove comments because anyway the quotes in there
1093 # would cause problems or look ugly.
1094 # WARNING: Be sure not to use single quotes in there, as some shells,
1095 # such as our DU 5.0 friend, will then `close' the trap.
1096 trap 'exit_status=$?
1097 # Save into config.log some information that might help in debugging.
1102 ## ---------------- ##
1103 ## Cache variables. ##
1104 ## ---------------- ##
1107 # The following way of writing the cache mishandles newlines in values,
1110 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1113 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1114 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1118 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1125 ## ----------------- ##
1126 ## Output variables. ##
1127 ## ----------------- ##
1130 for ac_var in $ac_subst_vars
1132 eval ac_val=$`echo $ac_var`
1133 echo "$ac_var='"'"'$ac_val'"'"'"
1137 if test -n "$ac_subst_files"; then
1144 for ac_var in $ac_subst_files
1146 eval ac_val=$`echo $ac_var`
1147 echo "$ac_var='"'"'$ac_val'"'"'"
1152 if test -s confdefs.h; then
1159 sed "/^$/d" confdefs.h | sort
1162 test "$ac_signal" != 0 &&
1163 echo "$as_me: caught signal $ac_signal"
1164 echo "$as_me: exit $exit_status"
1166 rm -f core core.* *.core &&
1167 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1170 for ac_signal in 1 2 13 15; do
1171 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1175 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1176 rm -rf conftest* confdefs.h
1177 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1180 # Predefined preprocessor variables.
1182 cat >>confdefs.h <<_ACEOF
1183 #define PACKAGE_NAME "$PACKAGE_NAME"
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_STRING "$PACKAGE_STRING"
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1207 # Let the site file select an alternate cache file if it wants to.
1208 # Prefer explicitly selected file to automatically selected ones.
1209 if test -z "$CONFIG_SITE"; then
1210 if test "x$prefix" != xNONE; then
1211 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1213 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1216 for ac_site_file in $CONFIG_SITE; do
1217 if test -r "$ac_site_file"; then
1218 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1219 echo "$as_me: loading site script $ac_site_file" >&6;}
1220 sed 's/^/| /' "$ac_site_file" >&5
1225 if test -r "$cache_file"; then
1226 # Some versions of bash will fail to source /dev/null (special
1227 # files actually), so we avoid doing that.
1228 if test -f "$cache_file"; then
1229 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1230 echo "$as_me: loading cache $cache_file" >&6;}
1232 [\\/]* | ?:[\\/]* ) . $cache_file;;
1233 *) . ./$cache_file;;
1237 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1238 echo "$as_me: creating cache $cache_file" >&6;}
1242 # Check that the precious variables saved in the cache have kept the same
1244 ac_cache_corrupted=false
1245 for ac_var in `(set) 2>&1 |
1246 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1247 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1248 eval ac_new_set=\$ac_env_${ac_var}_set
1249 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1250 eval ac_new_val="\$ac_env_${ac_var}_value"
1251 case $ac_old_set,$ac_new_set in
1253 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1254 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1255 ac_cache_corrupted=: ;;
1257 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1258 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1259 ac_cache_corrupted=: ;;
1262 if test "x$ac_old_val" != "x$ac_new_val"; then
1263 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1264 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1265 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1266 echo "$as_me: former value: $ac_old_val" >&2;}
1267 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1268 echo "$as_me: current value: $ac_new_val" >&2;}
1269 ac_cache_corrupted=:
1272 # Pass precious variables to config.status.
1273 if test "$ac_new_set" = set; then
1275 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1276 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1277 *) ac_arg=$ac_var=$ac_new_val ;;
1279 case " $ac_configure_args " in
1280 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1281 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1285 if $ac_cache_corrupted; then
1286 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1287 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1288 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1289 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1290 { (exit 1); exit 1; }; }
1294 ac_cpp='$CPP $CPPFLAGS'
1295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1317 ac_config_headers="$ac_config_headers include/defs.h"
1320 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1321 if test -f $ac_dir/install-sh; then
1323 ac_install_sh="$ac_aux_dir/install-sh -c"
1325 elif test -f $ac_dir/install.sh; then
1327 ac_install_sh="$ac_aux_dir/install.sh -c"
1329 elif test -f $ac_dir/shtool; then
1331 ac_install_sh="$ac_aux_dir/shtool install -c"
1335 if test -z "$ac_aux_dir"; then
1336 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1337 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1338 { (exit 1); exit 1; }; }
1340 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1341 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1342 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1344 # Make sure we can run config.sub.
1345 $ac_config_sub sun4 >/dev/null 2>&1 ||
1346 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1347 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1348 { (exit 1); exit 1; }; }
1350 echo "$as_me:$LINENO: checking build system type" >&5
1351 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1352 if test "${ac_cv_build+set}" = set; then
1353 echo $ECHO_N "(cached) $ECHO_C" >&6
1355 ac_cv_build_alias=$build_alias
1356 test -z "$ac_cv_build_alias" &&
1357 ac_cv_build_alias=`$ac_config_guess`
1358 test -z "$ac_cv_build_alias" &&
1359 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1360 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1361 { (exit 1); exit 1; }; }
1362 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1363 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1364 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1365 { (exit 1); exit 1; }; }
1368 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1369 echo "${ECHO_T}$ac_cv_build" >&6
1371 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1372 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1373 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1376 echo "$as_me:$LINENO: checking host system type" >&5
1377 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1378 if test "${ac_cv_host+set}" = set; then
1379 echo $ECHO_N "(cached) $ECHO_C" >&6
1381 ac_cv_host_alias=$host_alias
1382 test -z "$ac_cv_host_alias" &&
1383 ac_cv_host_alias=$ac_cv_build_alias
1384 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1385 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1386 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1387 { (exit 1); exit 1; }; }
1390 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1391 echo "${ECHO_T}$ac_cv_host" >&6
1393 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1394 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1395 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1398 echo "$as_me:$LINENO: checking target system type" >&5
1399 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1400 if test "${ac_cv_target+set}" = set; then
1401 echo $ECHO_N "(cached) $ECHO_C" >&6
1403 ac_cv_target_alias=$target_alias
1404 test "x$ac_cv_target_alias" = "x" &&
1405 ac_cv_target_alias=$ac_cv_host_alias
1406 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1407 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1408 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1409 { (exit 1); exit 1; }; }
1412 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1413 echo "${ECHO_T}$ac_cv_target" >&6
1414 target=$ac_cv_target
1415 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1416 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1417 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1420 # The aliases save the names the user supplied, while $host etc.
1421 # will get canonicalized.
1422 test -n "$target_alias" &&
1423 test "$program_prefix$program_suffix$program_transform_name" = \
1425 program_prefix=${target_alias}-
1431 save_CFLAGS="${CFLAGS}"
1432 save_CPPFLAGS="${CPPFLAGS}"
1433 save_LDFLAGS="${LDFLAGS}"
1435 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1436 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1437 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1438 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1439 echo $ECHO_N "(cached) $ECHO_C" >&6
1441 cat >conftest.make <<\_ACEOF
1443 @echo 'ac_maketemp="${MAKE}"'
1445 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1446 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1447 if test -n "$ac_maketemp"; then
1448 eval ac_cv_prog_make_${ac_make}_set=yes
1450 eval ac_cv_prog_make_${ac_make}_set=no
1454 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1455 echo "$as_me:$LINENO: result: yes" >&5
1456 echo "${ECHO_T}yes" >&6
1459 echo "$as_me:$LINENO: result: no" >&5
1460 echo "${ECHO_T}no" >&6
1461 SET_MAKE="MAKE=${MAKE-make}"
1465 ac_cpp='$CPP $CPPFLAGS'
1466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1469 if test -n "$ac_tool_prefix"; then
1470 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1471 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1472 echo "$as_me:$LINENO: checking for $ac_word" >&5
1473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1474 if test "${ac_cv_prog_CC+set}" = set; then
1475 echo $ECHO_N "(cached) $ECHO_C" >&6
1477 if test -n "$CC"; then
1478 ac_cv_prog_CC="$CC" # Let the user override the test.
1480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1484 test -z "$as_dir" && as_dir=.
1485 for ac_exec_ext in '' $ac_executable_extensions; do
1486 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1487 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1497 if test -n "$CC"; then
1498 echo "$as_me:$LINENO: result: $CC" >&5
1499 echo "${ECHO_T}$CC" >&6
1501 echo "$as_me:$LINENO: result: no" >&5
1502 echo "${ECHO_T}no" >&6
1506 if test -z "$ac_cv_prog_CC"; then
1508 # Extract the first word of "gcc", so it can be a program name with args.
1509 set dummy gcc; 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_ac_ct_CC+set}" = set; then
1513 echo $ECHO_N "(cached) $ECHO_C" >&6
1515 if test -n "$ac_ct_CC"; then
1516 ac_cv_prog_ac_ct_CC="$ac_ct_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_ac_ct_CC="gcc"
1526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1534 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1535 if test -n "$ac_ct_CC"; then
1536 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1537 echo "${ECHO_T}$ac_ct_CC" >&6
1539 echo "$as_me:$LINENO: result: no" >&5
1540 echo "${ECHO_T}no" >&6
1548 if test -z "$CC"; then
1549 if test -n "$ac_tool_prefix"; then
1550 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1551 set dummy ${ac_tool_prefix}cc; ac_word=$2
1552 echo "$as_me:$LINENO: checking for $ac_word" >&5
1553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1554 if test "${ac_cv_prog_CC+set}" = set; then
1555 echo $ECHO_N "(cached) $ECHO_C" >&6
1557 if test -n "$CC"; then
1558 ac_cv_prog_CC="$CC" # Let the user override the test.
1560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1564 test -z "$as_dir" && as_dir=.
1565 for ac_exec_ext in '' $ac_executable_extensions; do
1566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1567 ac_cv_prog_CC="${ac_tool_prefix}cc"
1568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1577 if test -n "$CC"; then
1578 echo "$as_me:$LINENO: result: $CC" >&5
1579 echo "${ECHO_T}$CC" >&6
1581 echo "$as_me:$LINENO: result: no" >&5
1582 echo "${ECHO_T}no" >&6
1586 if test -z "$ac_cv_prog_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_ac_ct_CC+set}" = set; then
1593 echo $ECHO_N "(cached) $ECHO_C" >&6
1595 if test -n "$ac_ct_CC"; then
1596 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1602 test -z "$as_dir" && as_dir=.
1603 for ac_exec_ext in '' $ac_executable_extensions; do
1604 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1605 ac_cv_prog_ac_ct_CC="cc"
1606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1614 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1615 if test -n "$ac_ct_CC"; then
1616 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1617 echo "${ECHO_T}$ac_ct_CC" >&6
1619 echo "$as_me:$LINENO: result: no" >&5
1620 echo "${ECHO_T}no" >&6
1629 if test -z "$CC"; then
1630 # Extract the first word of "cc", so it can be a program name with args.
1631 set dummy cc; ac_word=$2
1632 echo "$as_me:$LINENO: checking for $ac_word" >&5
1633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1634 if test "${ac_cv_prog_CC+set}" = set; then
1635 echo $ECHO_N "(cached) $ECHO_C" >&6
1637 if test -n "$CC"; then
1638 ac_cv_prog_CC="$CC" # Let the user override the test.
1641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1645 test -z "$as_dir" && as_dir=.
1646 for ac_exec_ext in '' $ac_executable_extensions; do
1647 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1648 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1649 ac_prog_rejected=yes
1653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1659 if test $ac_prog_rejected = yes; then
1660 # We found a bogon in the path, so make sure we never use it.
1661 set dummy $ac_cv_prog_CC
1663 if test $# != 0; then
1664 # We chose a different compiler from the bogus one.
1665 # However, it has the same basename, so the bogon will be chosen
1666 # first if we set CC to just the basename; use the full file name.
1668 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
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
1683 if test -z "$CC"; then
1684 if test -n "$ac_tool_prefix"; then
1687 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1688 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1689 echo "$as_me:$LINENO: checking for $ac_word" >&5
1690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1691 if test "${ac_cv_prog_CC+set}" = set; then
1692 echo $ECHO_N "(cached) $ECHO_C" >&6
1694 if test -n "$CC"; then
1695 ac_cv_prog_CC="$CC" # Let the user override the test.
1697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1701 test -z "$as_dir" && as_dir=.
1702 for ac_exec_ext in '' $ac_executable_extensions; do
1703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1704 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1714 if test -n "$CC"; then
1715 echo "$as_me:$LINENO: result: $CC" >&5
1716 echo "${ECHO_T}$CC" >&6
1718 echo "$as_me:$LINENO: result: no" >&5
1719 echo "${ECHO_T}no" >&6
1722 test -n "$CC" && break
1725 if test -z "$CC"; then
1729 # Extract the first word of "$ac_prog", so it can be a program name with args.
1730 set dummy $ac_prog; ac_word=$2
1731 echo "$as_me:$LINENO: checking for $ac_word" >&5
1732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1733 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1734 echo $ECHO_N "(cached) $ECHO_C" >&6
1736 if test -n "$ac_ct_CC"; then
1737 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1743 test -z "$as_dir" && as_dir=.
1744 for ac_exec_ext in '' $ac_executable_extensions; do
1745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1746 ac_cv_prog_ac_ct_CC="$ac_prog"
1747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1755 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1756 if test -n "$ac_ct_CC"; then
1757 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1758 echo "${ECHO_T}$ac_ct_CC" >&6
1760 echo "$as_me:$LINENO: result: no" >&5
1761 echo "${ECHO_T}no" >&6
1764 test -n "$ac_ct_CC" && break
1773 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1774 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1775 { (exit 1); exit 1; }; }
1777 # Provide some information about the compiler.
1778 echo "$as_me:$LINENO:" \
1779 "checking for C compiler version" >&5
1780 ac_compiler=`set X $ac_compile; echo $2`
1781 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1782 (eval $ac_compiler --version </dev/null >&5) 2>&5
1784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1785 (exit $ac_status); }
1786 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1787 (eval $ac_compiler -v </dev/null >&5) 2>&5
1789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1790 (exit $ac_status); }
1791 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1792 (eval $ac_compiler -V </dev/null >&5) 2>&5
1794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1795 (exit $ac_status); }
1797 cat >conftest.$ac_ext <<_ACEOF
1798 #line $LINENO "configure"
1799 #include "confdefs.h"
1809 ac_clean_files_save=$ac_clean_files
1810 ac_clean_files="$ac_clean_files a.out a.exe"
1811 # Try to create an executable without -o first, disregard a.out.
1812 # It will help us diagnose broken compilers, and finding out an intuition
1814 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1815 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1816 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1817 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1818 (eval $ac_link_default) 2>&5
1820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1821 (exit $ac_status); }; then
1822 # Find the output, starting from the most likely. This scheme is
1823 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1826 # Be careful to initialize this variable, since it used to be cached.
1827 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1829 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.*; do
1830 test -f "$ac_file" || continue
1832 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1833 a.out ) # We found the default executable, but exeext='' is most
1836 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1837 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1844 echo "$as_me: failed program was:" >&5
1845 cat conftest.$ac_ext >&5
1846 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1847 check \`config.log' for details." >&5
1848 echo "$as_me: error: C compiler cannot create executables
1849 check \`config.log' for details." >&2;}
1850 { (exit 77); exit 77; }; }
1853 ac_exeext=$ac_cv_exeext
1854 echo "$as_me:$LINENO: result: $ac_file" >&5
1855 echo "${ECHO_T}$ac_file" >&6
1857 # Check the compiler produces executables we can run. If not, either
1858 # the compiler is broken, or we cross compile.
1859 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1860 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1861 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1862 # If not cross compiling, check that we can run a simple program.
1863 if test "$cross_compiling" != yes; then
1864 if { ac_try='./$ac_file'
1865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1869 (exit $ac_status); }; }; then
1872 if test "$cross_compiling" = maybe; then
1875 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1876 If you meant to cross compile, use \`--host'." >&5
1877 echo "$as_me: error: cannot run C compiled programs.
1878 If you meant to cross compile, use \`--host'." >&2;}
1879 { (exit 1); exit 1; }; }
1883 echo "$as_me:$LINENO: result: yes" >&5
1884 echo "${ECHO_T}yes" >&6
1886 rm -f a.out a.exe conftest$ac_cv_exeext
1887 ac_clean_files=$ac_clean_files_save
1888 # Check the compiler produces executables we can run. If not, either
1889 # the compiler is broken, or we cross compile.
1890 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1891 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1892 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1893 echo "${ECHO_T}$cross_compiling" >&6
1895 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1896 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1898 (eval $ac_link) 2>&5
1900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1901 (exit $ac_status); }; then
1902 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1903 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1904 # work properly (i.e., refer to `conftest.exe'), while it won't with
1906 for ac_file in conftest.exe conftest conftest.*; do
1907 test -f "$ac_file" || continue
1909 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1910 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1917 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1918 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1919 { (exit 1); exit 1; }; }
1922 rm -f conftest$ac_cv_exeext
1923 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1924 echo "${ECHO_T}$ac_cv_exeext" >&6
1926 rm -f conftest.$ac_ext
1927 EXEEXT=$ac_cv_exeext
1929 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1930 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1931 if test "${ac_cv_objext+set}" = set; then
1932 echo $ECHO_N "(cached) $ECHO_C" >&6
1934 cat >conftest.$ac_ext <<_ACEOF
1935 #line $LINENO "configure"
1936 #include "confdefs.h"
1946 rm -f conftest.o conftest.obj
1947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1948 (eval $ac_compile) 2>&5
1950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1951 (exit $ac_status); }; then
1952 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1954 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1955 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1960 echo "$as_me: failed program was:" >&5
1961 cat conftest.$ac_ext >&5
1962 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1963 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1964 { (exit 1); exit 1; }; }
1967 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1969 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1970 echo "${ECHO_T}$ac_cv_objext" >&6
1971 OBJEXT=$ac_cv_objext
1973 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1974 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1975 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1976 echo $ECHO_N "(cached) $ECHO_C" >&6
1978 cat >conftest.$ac_ext <<_ACEOF
1979 #line $LINENO "configure"
1980 #include "confdefs.h"
1993 rm -f conftest.$ac_objext
1994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1995 (eval $ac_compile) 2>&5
1997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1998 (exit $ac_status); } &&
1999 { ac_try='test -s conftest.$ac_objext'
2000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2004 (exit $ac_status); }; }; then
2007 echo "$as_me: failed program was:" >&5
2008 cat conftest.$ac_ext >&5
2011 rm -f conftest.$ac_objext conftest.$ac_ext
2012 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2015 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2016 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2017 GCC=`test $ac_compiler_gnu = yes && echo yes`
2018 ac_test_CFLAGS=${CFLAGS+set}
2019 ac_save_CFLAGS=$CFLAGS
2021 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2022 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2023 if test "${ac_cv_prog_cc_g+set}" = set; then
2024 echo $ECHO_N "(cached) $ECHO_C" >&6
2026 cat >conftest.$ac_ext <<_ACEOF
2027 #line $LINENO "configure"
2028 #include "confdefs.h"
2038 rm -f conftest.$ac_objext
2039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2040 (eval $ac_compile) 2>&5
2042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2043 (exit $ac_status); } &&
2044 { ac_try='test -s conftest.$ac_objext'
2045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2049 (exit $ac_status); }; }; then
2052 echo "$as_me: failed program was:" >&5
2053 cat conftest.$ac_ext >&5
2056 rm -f conftest.$ac_objext conftest.$ac_ext
2058 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2059 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2060 if test "$ac_test_CFLAGS" = set; then
2061 CFLAGS=$ac_save_CFLAGS
2062 elif test $ac_cv_prog_cc_g = yes; then
2063 if test "$GCC" = yes; then
2069 if test "$GCC" = yes; then
2075 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2076 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2077 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2078 echo $ECHO_N "(cached) $ECHO_C" >&6
2080 ac_cv_prog_cc_stdc=no
2082 cat >conftest.$ac_ext <<_ACEOF
2083 #line $LINENO "configure"
2084 #include "confdefs.h"
2087 #include <sys/types.h>
2088 #include <sys/stat.h>
2089 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2090 struct buf { int x; };
2091 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2092 static char *e (p, i)
2098 static char *f (char * (*g) (char **, int), char **p, ...)
2103 s = g (p, va_arg (v,int));
2107 int test (int i, double x);
2108 struct s1 {int (*f) (int a);};
2109 struct s2 {int (*f) (double a);};
2110 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2116 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2121 # Don't try gcc -ansi; that turns off useful extensions and
2122 # breaks some systems' header files.
2123 # AIX -qlanglvl=ansi
2124 # Ultrix and OSF/1 -std1
2125 # HP-UX 10.20 and later -Ae
2126 # HP-UX older versions -Aa -D_HPUX_SOURCE
2127 # SVR4 -Xc -D__EXTENSIONS__
2128 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2130 CC="$ac_save_CC $ac_arg"
2131 rm -f conftest.$ac_objext
2132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2133 (eval $ac_compile) 2>&5
2135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2136 (exit $ac_status); } &&
2137 { ac_try='test -s conftest.$ac_objext'
2138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2142 (exit $ac_status); }; }; then
2143 ac_cv_prog_cc_stdc=$ac_arg
2146 echo "$as_me: failed program was:" >&5
2147 cat conftest.$ac_ext >&5
2149 rm -f conftest.$ac_objext
2151 rm -f conftest.$ac_ext conftest.$ac_objext
2156 case "x$ac_cv_prog_cc_stdc" in
2158 echo "$as_me:$LINENO: result: none needed" >&5
2159 echo "${ECHO_T}none needed" >&6 ;;
2161 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2162 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2163 CC="$CC $ac_cv_prog_cc_stdc" ;;
2166 # Some people use a C++ compiler to compile C. Since we use `exit',
2167 # in C++ we need to declare it. In case someone uses the same compiler
2168 # for both compiling C and C++ we need to have the C++ compiler decide
2169 # the declaration of exit, since it's the most demanding environment.
2170 cat >conftest.$ac_ext <<_ACEOF
2175 rm -f conftest.$ac_objext
2176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2177 (eval $ac_compile) 2>&5
2179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180 (exit $ac_status); } &&
2181 { ac_try='test -s conftest.$ac_objext'
2182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186 (exit $ac_status); }; }; then
2187 for ac_declaration in \
2189 '#include <stdlib.h>' \
2190 'extern "C" void std::exit (int) throw (); using std::exit;' \
2191 'extern "C" void std::exit (int); using std::exit;' \
2192 'extern "C" void exit (int) throw ();' \
2193 'extern "C" void exit (int);' \
2196 cat >conftest.$ac_ext <<_ACEOF
2197 #line $LINENO "configure"
2198 #include "confdefs.h"
2209 rm -f conftest.$ac_objext
2210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2211 (eval $ac_compile) 2>&5
2213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214 (exit $ac_status); } &&
2215 { ac_try='test -s conftest.$ac_objext'
2216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2220 (exit $ac_status); }; }; then
2223 echo "$as_me: failed program was:" >&5
2224 cat conftest.$ac_ext >&5
2227 rm -f conftest.$ac_objext conftest.$ac_ext
2228 cat >conftest.$ac_ext <<_ACEOF
2229 #line $LINENO "configure"
2230 #include "confdefs.h"
2240 rm -f conftest.$ac_objext
2241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2242 (eval $ac_compile) 2>&5
2244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2245 (exit $ac_status); } &&
2246 { ac_try='test -s conftest.$ac_objext'
2247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2251 (exit $ac_status); }; }; then
2254 echo "$as_me: failed program was:" >&5
2255 cat conftest.$ac_ext >&5
2257 rm -f conftest.$ac_objext conftest.$ac_ext
2260 if test -n "$ac_declaration"; then
2261 echo '#ifdef __cplusplus' >>confdefs.h
2262 echo $ac_declaration >>confdefs.h
2263 echo '#endif' >>confdefs.h
2267 echo "$as_me: failed program was:" >&5
2268 cat conftest.$ac_ext >&5
2270 rm -f conftest.$ac_objext conftest.$ac_ext
2272 ac_cpp='$CPP $CPPFLAGS'
2273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2278 ac_cpp='$CPP $CPPFLAGS'
2279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2282 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2283 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2284 # On Suns, sometimes $CPP names a directory.
2285 if test -n "$CPP" && test -d "$CPP"; then
2288 if test -z "$CPP"; then
2289 if test "${ac_cv_prog_CPP+set}" = set; then
2290 echo $ECHO_N "(cached) $ECHO_C" >&6
2292 # Double quotes because CPP needs to be expanded
2293 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2296 for ac_c_preproc_warn_flag in '' yes
2298 # Use a header file that comes with gcc, so configuring glibc
2299 # with a fresh cross-compiler works.
2300 # On the NeXT, cc -E runs the code through the compiler's parser,
2301 # not just through cpp. "Syntax error" is here to catch this case.
2302 cat >conftest.$ac_ext <<_ACEOF
2303 #line $LINENO "configure"
2304 #include "confdefs.h"
2308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2309 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2311 grep -v '^ *+' conftest.er1 >conftest.err
2313 cat conftest.err >&5
2314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2315 (exit $ac_status); } >/dev/null; then
2316 if test -s conftest.err; then
2317 ac_cpp_err=$ac_c_preproc_warn_flag
2324 if test -z "$ac_cpp_err"; then
2327 echo "$as_me: failed program was:" >&5
2328 cat conftest.$ac_ext >&5
2329 # Broken: fails on valid input.
2332 rm -f conftest.err conftest.$ac_ext
2334 # OK, works on sane cases. Now check whether non-existent headers
2335 # can be detected and how.
2336 cat >conftest.$ac_ext <<_ACEOF
2337 #line $LINENO "configure"
2338 #include "confdefs.h"
2339 #include <ac_nonexistent.h>
2341 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2342 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2344 grep -v '^ *+' conftest.er1 >conftest.err
2346 cat conftest.err >&5
2347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2348 (exit $ac_status); } >/dev/null; then
2349 if test -s conftest.err; then
2350 ac_cpp_err=$ac_c_preproc_warn_flag
2357 if test -z "$ac_cpp_err"; then
2358 # Broken: success on invalid input.
2361 echo "$as_me: failed program was:" >&5
2362 cat conftest.$ac_ext >&5
2363 # Passes both tests.
2367 rm -f conftest.err conftest.$ac_ext
2370 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2371 rm -f conftest.err conftest.$ac_ext
2372 if $ac_preproc_ok; then
2384 echo "$as_me:$LINENO: result: $CPP" >&5
2385 echo "${ECHO_T}$CPP" >&6
2387 for ac_c_preproc_warn_flag in '' yes
2389 # Use a header file that comes with gcc, so configuring glibc
2390 # with a fresh cross-compiler works.
2391 # On the NeXT, cc -E runs the code through the compiler's parser,
2392 # not just through cpp. "Syntax error" is here to catch this case.
2393 cat >conftest.$ac_ext <<_ACEOF
2394 #line $LINENO "configure"
2395 #include "confdefs.h"
2399 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2400 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2402 grep -v '^ *+' conftest.er1 >conftest.err
2404 cat conftest.err >&5
2405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406 (exit $ac_status); } >/dev/null; then
2407 if test -s conftest.err; then
2408 ac_cpp_err=$ac_c_preproc_warn_flag
2415 if test -z "$ac_cpp_err"; then
2418 echo "$as_me: failed program was:" >&5
2419 cat conftest.$ac_ext >&5
2420 # Broken: fails on valid input.
2423 rm -f conftest.err conftest.$ac_ext
2425 # OK, works on sane cases. Now check whether non-existent headers
2426 # can be detected and how.
2427 cat >conftest.$ac_ext <<_ACEOF
2428 #line $LINENO "configure"
2429 #include "confdefs.h"
2430 #include <ac_nonexistent.h>
2432 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2433 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2435 grep -v '^ *+' conftest.er1 >conftest.err
2437 cat conftest.err >&5
2438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2439 (exit $ac_status); } >/dev/null; then
2440 if test -s conftest.err; then
2441 ac_cpp_err=$ac_c_preproc_warn_flag
2448 if test -z "$ac_cpp_err"; then
2449 # Broken: success on invalid input.
2452 echo "$as_me: failed program was:" >&5
2453 cat conftest.$ac_ext >&5
2454 # Passes both tests.
2458 rm -f conftest.err conftest.$ac_ext
2461 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2462 rm -f conftest.err conftest.$ac_ext
2463 if $ac_preproc_ok; then
2466 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2467 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2468 { (exit 1); exit 1; }; }
2472 ac_cpp='$CPP $CPPFLAGS'
2473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2478 if test -n "$ac_tool_prefix"; then
2479 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2480 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2481 echo "$as_me:$LINENO: checking for $ac_word" >&5
2482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2483 if test "${ac_cv_prog_RANLIB+set}" = set; then
2484 echo $ECHO_N "(cached) $ECHO_C" >&6
2486 if test -n "$RANLIB"; then
2487 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2493 test -z "$as_dir" && as_dir=.
2494 for ac_exec_ext in '' $ac_executable_extensions; do
2495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2496 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2505 RANLIB=$ac_cv_prog_RANLIB
2506 if test -n "$RANLIB"; then
2507 echo "$as_me:$LINENO: result: $RANLIB" >&5
2508 echo "${ECHO_T}$RANLIB" >&6
2510 echo "$as_me:$LINENO: result: no" >&5
2511 echo "${ECHO_T}no" >&6
2515 if test -z "$ac_cv_prog_RANLIB"; then
2516 ac_ct_RANLIB=$RANLIB
2517 # Extract the first word of "ranlib", so it can be a program name with args.
2518 set dummy ranlib; ac_word=$2
2519 echo "$as_me:$LINENO: checking for $ac_word" >&5
2520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2521 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2522 echo $ECHO_N "(cached) $ECHO_C" >&6
2524 if test -n "$ac_ct_RANLIB"; then
2525 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2531 test -z "$as_dir" && as_dir=.
2532 for ac_exec_ext in '' $ac_executable_extensions; do
2533 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2534 ac_cv_prog_ac_ct_RANLIB="ranlib"
2535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2541 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2544 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2545 if test -n "$ac_ct_RANLIB"; then
2546 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2547 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2549 echo "$as_me:$LINENO: result: no" >&5
2550 echo "${ECHO_T}no" >&6
2553 RANLIB=$ac_ct_RANLIB
2555 RANLIB="$ac_cv_prog_RANLIB"
2558 if test -n "$ac_tool_prefix"; then
2559 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2560 set dummy ${ac_tool_prefix}strip; ac_word=$2
2561 echo "$as_me:$LINENO: checking for $ac_word" >&5
2562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2563 if test "${ac_cv_prog_STRIP+set}" = set; then
2564 echo $ECHO_N "(cached) $ECHO_C" >&6
2566 if test -n "$STRIP"; then
2567 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2573 test -z "$as_dir" && as_dir=.
2574 for ac_exec_ext in '' $ac_executable_extensions; do
2575 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2576 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2585 STRIP=$ac_cv_prog_STRIP
2586 if test -n "$STRIP"; then
2587 echo "$as_me:$LINENO: result: $STRIP" >&5
2588 echo "${ECHO_T}$STRIP" >&6
2590 echo "$as_me:$LINENO: result: no" >&5
2591 echo "${ECHO_T}no" >&6
2595 if test -z "$ac_cv_prog_STRIP"; then
2597 # Extract the first word of "strip", so it can be a program name with args.
2598 set dummy strip; ac_word=$2
2599 echo "$as_me:$LINENO: checking for $ac_word" >&5
2600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2601 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2602 echo $ECHO_N "(cached) $ECHO_C" >&6
2604 if test -n "$ac_ct_STRIP"; then
2605 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2611 test -z "$as_dir" && as_dir=.
2612 for ac_exec_ext in '' $ac_executable_extensions; do
2613 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2614 ac_cv_prog_ac_ct_STRIP="strip"
2615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2621 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2624 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2625 if test -n "$ac_ct_STRIP"; then
2626 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2627 echo "${ECHO_T}$ac_ct_STRIP" >&6
2629 echo "$as_me:$LINENO: result: no" >&5
2630 echo "${ECHO_T}no" >&6
2635 STRIP="$ac_cv_prog_STRIP"
2638 if test -n "$ac_tool_prefix"; then
2639 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2640 set dummy ${ac_tool_prefix}ar; ac_word=$2
2641 echo "$as_me:$LINENO: checking for $ac_word" >&5
2642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2643 if test "${ac_cv_prog_AR+set}" = set; then
2644 echo $ECHO_N "(cached) $ECHO_C" >&6
2646 if test -n "$AR"; then
2647 ac_cv_prog_AR="$AR" # Let the user override the test.
2649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2653 test -z "$as_dir" && as_dir=.
2654 for ac_exec_ext in '' $ac_executable_extensions; do
2655 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2656 ac_cv_prog_AR="${ac_tool_prefix}ar"
2657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2666 if test -n "$AR"; then
2667 echo "$as_me:$LINENO: result: $AR" >&5
2668 echo "${ECHO_T}$AR" >&6
2670 echo "$as_me:$LINENO: result: no" >&5
2671 echo "${ECHO_T}no" >&6
2675 if test -z "$ac_cv_prog_AR"; then
2677 # Extract the first word of "ar", so it can be a program name with args.
2678 set dummy ar; ac_word=$2
2679 echo "$as_me:$LINENO: checking for $ac_word" >&5
2680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2681 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2682 echo $ECHO_N "(cached) $ECHO_C" >&6
2684 if test -n "$ac_ct_AR"; then
2685 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2691 test -z "$as_dir" && as_dir=.
2692 for ac_exec_ext in '' $ac_executable_extensions; do
2693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2694 ac_cv_prog_ac_ct_AR="ar"
2695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2701 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR=":"
2704 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2705 if test -n "$ac_ct_AR"; then
2706 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2707 echo "${ECHO_T}$ac_ct_AR" >&6
2709 echo "$as_me:$LINENO: result: no" >&5
2710 echo "${ECHO_T}no" >&6
2718 if test -n "$ac_tool_prefix"; then
2719 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
2720 set dummy ${ac_tool_prefix}ld; ac_word=$2
2721 echo "$as_me:$LINENO: checking for $ac_word" >&5
2722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2723 if test "${ac_cv_prog_LD+set}" = set; then
2724 echo $ECHO_N "(cached) $ECHO_C" >&6
2726 if test -n "$LD"; then
2727 ac_cv_prog_LD="$LD" # Let the user override the test.
2729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2733 test -z "$as_dir" && as_dir=.
2734 for ac_exec_ext in '' $ac_executable_extensions; do
2735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2736 ac_cv_prog_LD="${ac_tool_prefix}ld"
2737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2746 if test -n "$LD"; then
2747 echo "$as_me:$LINENO: result: $LD" >&5
2748 echo "${ECHO_T}$LD" >&6
2750 echo "$as_me:$LINENO: result: no" >&5
2751 echo "${ECHO_T}no" >&6
2755 if test -z "$ac_cv_prog_LD"; then
2757 # Extract the first word of "ld", so it can be a program name with args.
2758 set dummy ld; ac_word=$2
2759 echo "$as_me:$LINENO: checking for $ac_word" >&5
2760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2761 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
2762 echo $ECHO_N "(cached) $ECHO_C" >&6
2764 if test -n "$ac_ct_LD"; then
2765 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
2767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2771 test -z "$as_dir" && as_dir=.
2772 for ac_exec_ext in '' $ac_executable_extensions; do
2773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2774 ac_cv_prog_ac_ct_LD="ld"
2775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2781 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD=":"
2784 ac_ct_LD=$ac_cv_prog_ac_ct_LD
2785 if test -n "$ac_ct_LD"; then
2786 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
2787 echo "${ECHO_T}$ac_ct_LD" >&6
2789 echo "$as_me:$LINENO: result: no" >&5
2790 echo "${ECHO_T}no" >&6
2799 # Extract the first word of "gmake", so it can be a program name with args.
2800 set dummy gmake; ac_word=$2
2801 echo "$as_me:$LINENO: checking for $ac_word" >&5
2802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2803 if test "${ac_cv_path_GMAKE+set}" = set; then
2804 echo $ECHO_N "(cached) $ECHO_C" >&6
2808 ac_cv_path_GMAKE="$GMAKE" # Let the user override the test with a path.
2811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2815 test -z "$as_dir" && as_dir=.
2816 for ac_exec_ext in '' $ac_executable_extensions; do
2817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2818 ac_cv_path_GMAKE="$as_dir/$ac_word$ac_exec_ext"
2819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2825 test -z "$ac_cv_path_GMAKE" && ac_cv_path_GMAKE="no"
2829 GMAKE=$ac_cv_path_GMAKE
2831 if test -n "$GMAKE"; then
2832 echo "$as_me:$LINENO: result: $GMAKE" >&5
2833 echo "${ECHO_T}$GMAKE" >&6
2835 echo "$as_me:$LINENO: result: no" >&5
2836 echo "${ECHO_T}no" >&6
2839 if test "x$GMAKE" = "xno"; then
2840 echo "$as_me:$LINENO: checking whether GNU make is installed" >&5
2841 echo $ECHO_N "checking whether GNU make is installed... $ECHO_C" >&6
2842 if test "${ac_cv_gmake+set}" = set; then
2843 echo $ECHO_N "(cached) $ECHO_C" >&6
2845 if make --version | grep -q -i gnu; then
2848 echo "This software needs you to install GNU make to compile properly."
2849 echo "You can get it from http://www.gnu.org/."
2853 echo "$as_me:$LINENO: result: $ac_cv_gmake" >&5
2854 echo "${ECHO_T}$ac_cv_gmake" >&6
2860 ALL_LINGUAS="de en_GB fr ja no ru nl pl"
2863 cat >>confdefs.h <<_ACEOF
2864 #define VLC_PACKAGE "$PACKAGE"
2868 cat >>confdefs.h <<_ACEOF
2869 #define VLC_VERSION "$VERSION"
2872 if test -n "$ac_tool_prefix"; then
2873 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2874 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2875 echo "$as_me:$LINENO: checking for $ac_word" >&5
2876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2877 if test "${ac_cv_prog_RANLIB+set}" = set; then
2878 echo $ECHO_N "(cached) $ECHO_C" >&6
2880 if test -n "$RANLIB"; then
2881 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2887 test -z "$as_dir" && as_dir=.
2888 for ac_exec_ext in '' $ac_executable_extensions; do
2889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2890 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2899 RANLIB=$ac_cv_prog_RANLIB
2900 if test -n "$RANLIB"; then
2901 echo "$as_me:$LINENO: result: $RANLIB" >&5
2902 echo "${ECHO_T}$RANLIB" >&6
2904 echo "$as_me:$LINENO: result: no" >&5
2905 echo "${ECHO_T}no" >&6
2909 if test -z "$ac_cv_prog_RANLIB"; then
2910 ac_ct_RANLIB=$RANLIB
2911 # Extract the first word of "ranlib", so it can be a program name with args.
2912 set dummy ranlib; ac_word=$2
2913 echo "$as_me:$LINENO: checking for $ac_word" >&5
2914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2915 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2916 echo $ECHO_N "(cached) $ECHO_C" >&6
2918 if test -n "$ac_ct_RANLIB"; then
2919 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2925 test -z "$as_dir" && as_dir=.
2926 for ac_exec_ext in '' $ac_executable_extensions; do
2927 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2928 ac_cv_prog_ac_ct_RANLIB="ranlib"
2929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2935 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2938 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2939 if test -n "$ac_ct_RANLIB"; then
2940 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2941 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2943 echo "$as_me:$LINENO: result: no" >&5
2944 echo "${ECHO_T}no" >&6
2947 RANLIB=$ac_ct_RANLIB
2949 RANLIB="$ac_cv_prog_RANLIB"
2954 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
2955 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2956 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2957 echo $ECHO_N "(cached) $ECHO_C" >&6
2959 ac_check_lib_save_LIBS=$LIBS
2960 LIBS="-lcposix $LIBS"
2961 cat >conftest.$ac_ext <<_ACEOF
2962 #line $LINENO "configure"
2963 #include "confdefs.h"
2965 /* Override any gcc2 internal prototype to avoid an error. */
2969 /* We use char because int might match the return type of a gcc2
2970 builtin and then its argument prototype would still apply. */
2980 rm -f conftest.$ac_objext conftest$ac_exeext
2981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2982 (eval $ac_link) 2>&5
2984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985 (exit $ac_status); } &&
2986 { ac_try='test -s conftest$ac_exeext'
2987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991 (exit $ac_status); }; }; then
2992 ac_cv_lib_cposix_strerror=yes
2994 echo "$as_me: failed program was:" >&5
2995 cat conftest.$ac_ext >&5
2996 ac_cv_lib_cposix_strerror=no
2998 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2999 LIBS=$ac_check_lib_save_LIBS
3001 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
3002 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
3003 if test $ac_cv_lib_cposix_strerror = yes; then
3004 LIBS="$LIBS -lcposix"
3010 echo "$as_me:$LINENO: checking for egrep" >&5
3011 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3012 if test "${ac_cv_prog_egrep+set}" = set; then
3013 echo $ECHO_N "(cached) $ECHO_C" >&6
3015 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3016 then ac_cv_prog_egrep='grep -E'
3017 else ac_cv_prog_egrep='egrep'
3020 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3021 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3022 EGREP=$ac_cv_prog_egrep
3025 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3026 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3027 if test "${ac_cv_header_stdc+set}" = set; then
3028 echo $ECHO_N "(cached) $ECHO_C" >&6
3030 cat >conftest.$ac_ext <<_ACEOF
3031 #line $LINENO "configure"
3032 #include "confdefs.h"
3039 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3040 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3042 grep -v '^ *+' conftest.er1 >conftest.err
3044 cat conftest.err >&5
3045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046 (exit $ac_status); } >/dev/null; then
3047 if test -s conftest.err; then
3048 ac_cpp_err=$ac_c_preproc_warn_flag
3055 if test -z "$ac_cpp_err"; then
3056 ac_cv_header_stdc=yes
3058 echo "$as_me: failed program was:" >&5
3059 cat conftest.$ac_ext >&5
3060 ac_cv_header_stdc=no
3062 rm -f conftest.err conftest.$ac_ext
3064 if test $ac_cv_header_stdc = yes; then
3065 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3066 cat >conftest.$ac_ext <<_ACEOF
3067 #line $LINENO "configure"
3068 #include "confdefs.h"
3072 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3073 $EGREP "memchr" >/dev/null 2>&1; then
3076 ac_cv_header_stdc=no
3082 if test $ac_cv_header_stdc = yes; then
3083 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3084 cat >conftest.$ac_ext <<_ACEOF
3085 #line $LINENO "configure"
3086 #include "confdefs.h"
3090 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3091 $EGREP "free" >/dev/null 2>&1; then
3094 ac_cv_header_stdc=no
3100 if test $ac_cv_header_stdc = yes; then
3101 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3102 if test "$cross_compiling" = yes; then
3105 cat >conftest.$ac_ext <<_ACEOF
3106 #line $LINENO "configure"
3107 #include "confdefs.h"
3109 #if ((' ' & 0x0FF) == 0x020)
3110 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3111 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3113 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3114 || ('j' <= (c) && (c) <= 'r') \
3115 || ('s' <= (c) && (c) <= 'z'))
3116 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3119 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3124 for (i = 0; i < 256; i++)
3125 if (XOR (islower (i), ISLOWER (i))
3126 || toupper (i) != TOUPPER (i))
3131 rm -f conftest$ac_exeext
3132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3133 (eval $ac_link) 2>&5
3135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3136 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3141 (exit $ac_status); }; }; then
3144 echo "$as_me: program exited with status $ac_status" >&5
3145 echo "$as_me: failed program was:" >&5
3146 cat conftest.$ac_ext >&5
3148 ac_cv_header_stdc=no
3150 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3154 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3155 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3156 if test $ac_cv_header_stdc = yes; then
3158 cat >>confdefs.h <<\_ACEOF
3159 #define STDC_HEADERS 1
3164 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3165 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3166 if test "${ac_cv_c_const+set}" = set; then
3167 echo $ECHO_N "(cached) $ECHO_C" >&6
3169 cat >conftest.$ac_ext <<_ACEOF
3170 #line $LINENO "configure"
3171 #include "confdefs.h"
3176 /* FIXME: Include the comments suggested by Paul. */
3178 /* Ultrix mips cc rejects this. */
3179 typedef int charset[2];
3181 /* SunOS 4.1.1 cc rejects this. */
3182 char const *const *ccp;
3184 /* NEC SVR4.0.2 mips cc rejects this. */
3185 struct point {int x, y;};
3186 static struct point const zero = {0,0};
3187 /* AIX XL C 1.02.0.0 rejects this.
3188 It does not let you subtract one const X* pointer from another in
3189 an arm of an if-expression whose if-part is not a constant
3191 const char *g = "string";
3192 ccp = &g + (g ? g-g : 0);
3193 /* HPUX 7.0 cc rejects these. */
3196 ccp = (char const *const *) p;
3197 { /* SCO 3.2v4 cc rejects this. */
3199 char const *s = 0 ? (char *) 0 : (char const *) 0;
3203 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3205 const int *foo = &x[0];
3208 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3209 typedef const int *iptr;
3213 { /* AIX XL C 1.02.0.0 rejects this saying
3214 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3215 struct s { int j; const int *ap[3]; };
3216 struct s *b; b->j = 5;
3218 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3227 rm -f conftest.$ac_objext
3228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3229 (eval $ac_compile) 2>&5
3231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3232 (exit $ac_status); } &&
3233 { ac_try='test -s conftest.$ac_objext'
3234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238 (exit $ac_status); }; }; then
3241 echo "$as_me: failed program was:" >&5
3242 cat conftest.$ac_ext >&5
3245 rm -f conftest.$ac_objext conftest.$ac_ext
3247 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3248 echo "${ECHO_T}$ac_cv_c_const" >&6
3249 if test $ac_cv_c_const = no; then
3251 cat >>confdefs.h <<\_ACEOF
3257 echo "$as_me:$LINENO: checking for inline" >&5
3258 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3259 if test "${ac_cv_c_inline+set}" = set; then
3260 echo $ECHO_N "(cached) $ECHO_C" >&6
3263 for ac_kw in inline __inline__ __inline; do
3264 cat >conftest.$ac_ext <<_ACEOF
3265 #line $LINENO "configure"
3266 #include "confdefs.h"
3269 static $ac_kw foo_t static_foo () {return 0; }
3270 $ac_kw foo_t foo () {return 0; }
3274 rm -f conftest.$ac_objext
3275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3276 (eval $ac_compile) 2>&5
3278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3279 (exit $ac_status); } &&
3280 { ac_try='test -s conftest.$ac_objext'
3281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3285 (exit $ac_status); }; }; then
3286 ac_cv_c_inline=$ac_kw; break
3288 echo "$as_me: failed program was:" >&5
3289 cat conftest.$ac_ext >&5
3291 rm -f conftest.$ac_objext conftest.$ac_ext
3295 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3296 echo "${ECHO_T}$ac_cv_c_inline" >&6
3297 case $ac_cv_c_inline in
3300 cat >>confdefs.h <<\_ACEOF
3304 *) cat >>confdefs.h <<_ACEOF
3305 #define inline $ac_cv_c_inline
3310 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3320 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3321 inttypes.h stdint.h unistd.h
3323 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3324 echo "$as_me:$LINENO: checking for $ac_header" >&5
3325 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3326 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3327 echo $ECHO_N "(cached) $ECHO_C" >&6
3329 cat >conftest.$ac_ext <<_ACEOF
3330 #line $LINENO "configure"
3331 #include "confdefs.h"
3332 $ac_includes_default
3334 #include <$ac_header>
3336 rm -f conftest.$ac_objext
3337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3338 (eval $ac_compile) 2>&5
3340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3341 (exit $ac_status); } &&
3342 { ac_try='test -s conftest.$ac_objext'
3343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3347 (exit $ac_status); }; }; then
3348 eval "$as_ac_Header=yes"
3350 echo "$as_me: failed program was:" >&5
3351 cat conftest.$ac_ext >&5
3352 eval "$as_ac_Header=no"
3354 rm -f conftest.$ac_objext conftest.$ac_ext
3356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3357 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3358 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3359 cat >>confdefs.h <<_ACEOF
3360 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3368 echo "$as_me:$LINENO: checking for off_t" >&5
3369 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
3370 if test "${ac_cv_type_off_t+set}" = set; then
3371 echo $ECHO_N "(cached) $ECHO_C" >&6
3373 cat >conftest.$ac_ext <<_ACEOF
3374 #line $LINENO "configure"
3375 #include "confdefs.h"
3376 $ac_includes_default
3388 rm -f conftest.$ac_objext
3389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3390 (eval $ac_compile) 2>&5
3392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3393 (exit $ac_status); } &&
3394 { ac_try='test -s conftest.$ac_objext'
3395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399 (exit $ac_status); }; }; then
3400 ac_cv_type_off_t=yes
3402 echo "$as_me: failed program was:" >&5
3403 cat conftest.$ac_ext >&5
3406 rm -f conftest.$ac_objext conftest.$ac_ext
3408 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
3409 echo "${ECHO_T}$ac_cv_type_off_t" >&6
3410 if test $ac_cv_type_off_t = yes; then
3414 cat >>confdefs.h <<_ACEOF
3420 echo "$as_me:$LINENO: checking for size_t" >&5
3421 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3422 if test "${ac_cv_type_size_t+set}" = set; then
3423 echo $ECHO_N "(cached) $ECHO_C" >&6
3425 cat >conftest.$ac_ext <<_ACEOF
3426 #line $LINENO "configure"
3427 #include "confdefs.h"
3428 $ac_includes_default
3434 if (sizeof (size_t))
3440 rm -f conftest.$ac_objext
3441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3442 (eval $ac_compile) 2>&5
3444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445 (exit $ac_status); } &&
3446 { ac_try='test -s conftest.$ac_objext'
3447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3451 (exit $ac_status); }; }; then
3452 ac_cv_type_size_t=yes
3454 echo "$as_me: failed program was:" >&5
3455 cat conftest.$ac_ext >&5
3456 ac_cv_type_size_t=no
3458 rm -f conftest.$ac_objext conftest.$ac_ext
3460 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3461 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3462 if test $ac_cv_type_size_t = yes; then
3466 cat >>confdefs.h <<_ACEOF
3467 #define size_t unsigned
3472 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
3473 # for constant arguments. Useless!
3474 echo "$as_me:$LINENO: checking for working alloca.h" >&5
3475 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
3476 if test "${ac_cv_working_alloca_h+set}" = set; then
3477 echo $ECHO_N "(cached) $ECHO_C" >&6
3479 cat >conftest.$ac_ext <<_ACEOF
3480 #line $LINENO "configure"
3481 #include "confdefs.h"
3486 char *p = (char *) alloca (2 * sizeof (int));
3491 rm -f conftest.$ac_objext conftest$ac_exeext
3492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3493 (eval $ac_link) 2>&5
3495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3496 (exit $ac_status); } &&
3497 { ac_try='test -s conftest$ac_exeext'
3498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3502 (exit $ac_status); }; }; then
3503 ac_cv_working_alloca_h=yes
3505 echo "$as_me: failed program was:" >&5
3506 cat conftest.$ac_ext >&5
3507 ac_cv_working_alloca_h=no
3509 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3511 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
3512 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
3513 if test $ac_cv_working_alloca_h = yes; then
3515 cat >>confdefs.h <<\_ACEOF
3516 #define HAVE_ALLOCA_H 1
3521 echo "$as_me:$LINENO: checking for alloca" >&5
3522 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
3523 if test "${ac_cv_func_alloca_works+set}" = set; then
3524 echo $ECHO_N "(cached) $ECHO_C" >&6
3526 cat >conftest.$ac_ext <<_ACEOF
3527 #line $LINENO "configure"
3528 #include "confdefs.h"
3530 # define alloca __builtin_alloca
3533 # include <malloc.h>
3534 # define alloca _alloca
3537 # include <alloca.h>
3542 # ifndef alloca /* predefined by HP cc +Olibcalls */
3553 char *p = (char *) alloca (1);
3558 rm -f conftest.$ac_objext conftest$ac_exeext
3559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3560 (eval $ac_link) 2>&5
3562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3563 (exit $ac_status); } &&
3564 { ac_try='test -s conftest$ac_exeext'
3565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3569 (exit $ac_status); }; }; then
3570 ac_cv_func_alloca_works=yes
3572 echo "$as_me: failed program was:" >&5
3573 cat conftest.$ac_ext >&5
3574 ac_cv_func_alloca_works=no
3576 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3578 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
3579 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
3581 if test $ac_cv_func_alloca_works = yes; then
3583 cat >>confdefs.h <<\_ACEOF
3584 #define HAVE_ALLOCA 1
3588 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
3589 # that cause trouble. Some versions do not even contain alloca or
3590 # contain a buggy version. If you still want to use their alloca,
3591 # use ar to extract alloca.o from them instead of compiling alloca.c.
3593 ALLOCA=alloca.$ac_objext
3595 cat >>confdefs.h <<\_ACEOF
3600 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
3601 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
3602 if test "${ac_cv_os_cray+set}" = set; then
3603 echo $ECHO_N "(cached) $ECHO_C" >&6
3605 cat >conftest.$ac_ext <<_ACEOF
3606 #line $LINENO "configure"
3607 #include "confdefs.h"
3608 #if defined(CRAY) && ! defined(CRAY2)
3615 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3616 $EGREP "webecray" >/dev/null 2>&1; then
3624 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
3625 echo "${ECHO_T}$ac_cv_os_cray" >&6
3626 if test $ac_cv_os_cray = yes; then
3627 for ac_func in _getb67 GETB67 getb67; do
3628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3629 echo "$as_me:$LINENO: checking for $ac_func" >&5
3630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3631 if eval "test \"\${$as_ac_var+set}\" = set"; then
3632 echo $ECHO_N "(cached) $ECHO_C" >&6
3634 cat >conftest.$ac_ext <<_ACEOF
3635 #line $LINENO "configure"
3636 #include "confdefs.h"
3637 /* System header to define __stub macros and hopefully few prototypes,
3638 which can conflict with char $ac_func (); below. */
3640 /* Override any gcc2 internal prototype to avoid an error. */
3644 /* We use char because int might match the return type of a gcc2
3645 builtin and then its argument prototype would still apply. */
3652 /* The GNU C library defines this for functions which it implements
3653 to always fail with ENOSYS. Some functions are actually named
3654 something starting with __ and the normal name is an alias. */
3655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3665 rm -f conftest.$ac_objext conftest$ac_exeext
3666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3667 (eval $ac_link) 2>&5
3669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670 (exit $ac_status); } &&
3671 { ac_try='test -s conftest$ac_exeext'
3672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676 (exit $ac_status); }; }; then
3677 eval "$as_ac_var=yes"
3679 echo "$as_me: failed program was:" >&5
3680 cat conftest.$ac_ext >&5
3681 eval "$as_ac_var=no"
3683 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3687 if test `eval echo '${'$as_ac_var'}'` = yes; then
3689 cat >>confdefs.h <<_ACEOF
3690 #define CRAY_STACKSEG_END $ac_func
3699 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
3700 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
3701 if test "${ac_cv_c_stack_direction+set}" = set; then
3702 echo $ECHO_N "(cached) $ECHO_C" >&6
3704 if test "$cross_compiling" = yes; then
3705 ac_cv_c_stack_direction=0
3707 cat >conftest.$ac_ext <<_ACEOF
3708 #line $LINENO "configure"
3709 #include "confdefs.h"
3711 find_stack_direction ()
3713 static char *addr = 0;
3718 return find_stack_direction ();
3721 return (&dummy > addr) ? 1 : -1;
3727 exit (find_stack_direction () < 0);
3730 rm -f conftest$ac_exeext
3731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3732 (eval $ac_link) 2>&5
3734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3735 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3740 (exit $ac_status); }; }; then
3741 ac_cv_c_stack_direction=1
3743 echo "$as_me: program exited with status $ac_status" >&5
3744 echo "$as_me: failed program was:" >&5
3745 cat conftest.$ac_ext >&5
3747 ac_cv_c_stack_direction=-1
3749 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3752 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
3753 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
3755 cat >>confdefs.h <<_ACEOF
3756 #define STACK_DIRECTION $ac_cv_c_stack_direction
3764 for ac_header in stdlib.h unistd.h
3766 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3768 echo "$as_me:$LINENO: checking for $ac_header" >&5
3769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3771 echo $ECHO_N "(cached) $ECHO_C" >&6
3773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3774 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3776 # Is the header compilable?
3777 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3778 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3779 cat >conftest.$ac_ext <<_ACEOF
3780 #line $LINENO "configure"
3781 #include "confdefs.h"
3782 $ac_includes_default
3783 #include <$ac_header>
3785 rm -f conftest.$ac_objext
3786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3787 (eval $ac_compile) 2>&5
3789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3790 (exit $ac_status); } &&
3791 { ac_try='test -s conftest.$ac_objext'
3792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796 (exit $ac_status); }; }; then
3797 ac_header_compiler=yes
3799 echo "$as_me: failed program was:" >&5
3800 cat conftest.$ac_ext >&5
3801 ac_header_compiler=no
3803 rm -f conftest.$ac_objext conftest.$ac_ext
3804 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3805 echo "${ECHO_T}$ac_header_compiler" >&6
3807 # Is the header present?
3808 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3809 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3810 cat >conftest.$ac_ext <<_ACEOF
3811 #line $LINENO "configure"
3812 #include "confdefs.h"
3813 #include <$ac_header>
3815 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3816 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3818 grep -v '^ *+' conftest.er1 >conftest.err
3820 cat conftest.err >&5
3821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3822 (exit $ac_status); } >/dev/null; then
3823 if test -s conftest.err; then
3824 ac_cpp_err=$ac_c_preproc_warn_flag
3831 if test -z "$ac_cpp_err"; then
3832 ac_header_preproc=yes
3834 echo "$as_me: failed program was:" >&5
3835 cat conftest.$ac_ext >&5
3836 ac_header_preproc=no
3838 rm -f conftest.err conftest.$ac_ext
3839 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3840 echo "${ECHO_T}$ac_header_preproc" >&6
3842 # So? What about this header?
3843 case $ac_header_compiler:$ac_header_preproc in
3845 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3846 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3847 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3848 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3850 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3851 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3852 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3853 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3854 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3855 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3857 echo "$as_me:$LINENO: checking for $ac_header" >&5
3858 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3859 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3860 echo $ECHO_N "(cached) $ECHO_C" >&6
3862 eval "$as_ac_Header=$ac_header_preproc"
3864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3865 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3868 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3869 cat >>confdefs.h <<_ACEOF
3870 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3878 for ac_func in getpagesize
3880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3881 echo "$as_me:$LINENO: checking for $ac_func" >&5
3882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3883 if eval "test \"\${$as_ac_var+set}\" = set"; then
3884 echo $ECHO_N "(cached) $ECHO_C" >&6
3886 cat >conftest.$ac_ext <<_ACEOF
3887 #line $LINENO "configure"
3888 #include "confdefs.h"
3889 /* System header to define __stub macros and hopefully few prototypes,
3890 which can conflict with char $ac_func (); below. */
3892 /* Override any gcc2 internal prototype to avoid an error. */
3896 /* We use char because int might match the return type of a gcc2
3897 builtin and then its argument prototype would still apply. */
3904 /* The GNU C library defines this for functions which it implements
3905 to always fail with ENOSYS. Some functions are actually named
3906 something starting with __ and the normal name is an alias. */
3907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3917 rm -f conftest.$ac_objext conftest$ac_exeext
3918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3919 (eval $ac_link) 2>&5
3921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3922 (exit $ac_status); } &&
3923 { ac_try='test -s conftest$ac_exeext'
3924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3928 (exit $ac_status); }; }; then
3929 eval "$as_ac_var=yes"
3931 echo "$as_me: failed program was:" >&5
3932 cat conftest.$ac_ext >&5
3933 eval "$as_ac_var=no"
3935 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3939 if test `eval echo '${'$as_ac_var'}'` = yes; then
3940 cat >>confdefs.h <<_ACEOF
3941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3947 echo "$as_me:$LINENO: checking for working mmap" >&5
3948 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
3949 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
3950 echo $ECHO_N "(cached) $ECHO_C" >&6
3952 if test "$cross_compiling" = yes; then
3953 ac_cv_func_mmap_fixed_mapped=no
3955 cat >conftest.$ac_ext <<_ACEOF
3956 #line $LINENO "configure"
3957 #include "confdefs.h"
3958 $ac_includes_default
3959 /* malloc might have been renamed as rpl_malloc. */
3962 /* Thanks to Mike Haertel and Jim Avera for this test.
3963 Here is a matrix of mmap possibilities:
3964 mmap private not fixed
3965 mmap private fixed at somewhere currently unmapped
3966 mmap private fixed at somewhere already mapped
3967 mmap shared not fixed
3968 mmap shared fixed at somewhere currently unmapped
3969 mmap shared fixed at somewhere already mapped
3970 For private mappings, we should verify that changes cannot be read()
3971 back from the file, nor mmap's back from the file at a different
3972 address. (There have been systems where private was not correctly
3973 implemented like the infamous i386 svr4.0, and systems where the
3974 VM page cache was not coherent with the file system buffer cache
3975 like early versions of FreeBSD and possibly contemporary NetBSD.)
3976 For shared mappings, we should conversely verify that changes get
3977 propagated back to all the places they're supposed to be.
3979 Grep wants private fixed already mapped.
3980 The main things grep needs to know about mmap are:
3981 * does it exist and is it safe to write into the mmap'd area
3982 * how to use it (BSD variants) */
3985 #include <sys/mman.h>
3987 #if !STDC_HEADERS && !HAVE_STDLIB_H
3991 /* This mess was copied from the GNU getpagesize.h. */
3992 #if !HAVE_GETPAGESIZE
3993 /* Assume that all systems that can run configure have sys/param.h. */
3994 # if !HAVE_SYS_PARAM_H
3995 # define HAVE_SYS_PARAM_H 1
3998 # ifdef _SC_PAGESIZE
3999 # define getpagesize() sysconf(_SC_PAGESIZE)
4000 # else /* no _SC_PAGESIZE */
4001 # if HAVE_SYS_PARAM_H
4002 # include <sys/param.h>
4003 # ifdef EXEC_PAGESIZE
4004 # define getpagesize() EXEC_PAGESIZE
4005 # else /* no EXEC_PAGESIZE */
4007 # define getpagesize() NBPG * CLSIZE
4010 # endif /* no CLSIZE */
4011 # else /* no NBPG */
4013 # define getpagesize() NBPC
4014 # else /* no NBPC */
4016 # define getpagesize() PAGESIZE
4017 # endif /* PAGESIZE */
4018 # endif /* no NBPC */
4019 # endif /* no NBPG */
4020 # endif /* no EXEC_PAGESIZE */
4021 # else /* no HAVE_SYS_PARAM_H */
4022 # define getpagesize() 8192 /* punt totally */
4023 # endif /* no HAVE_SYS_PARAM_H */
4024 # endif /* no _SC_PAGESIZE */
4026 #endif /* no HAVE_GETPAGESIZE */
4031 char *data, *data2, *data3;
4035 pagesize = getpagesize ();
4037 /* First, make a file with some known garbage in it. */
4038 data = (char *) malloc (pagesize);
4041 for (i = 0; i < pagesize; ++i)
4042 *(data + i) = rand ();
4044 fd = creat ("conftest.mmap", 0600);
4047 if (write (fd, data, pagesize) != pagesize)
4051 /* Next, try to mmap the file at a fixed address which already has
4052 something else allocated at it. If we can, also make sure that
4053 we see the same garbage. */
4054 fd = open ("conftest.mmap", O_RDWR);
4057 data2 = (char *) malloc (2 * pagesize);
4060 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
4061 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4062 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4064 for (i = 0; i < pagesize; ++i)
4065 if (*(data + i) != *(data2 + i))
4068 /* Finally, make sure that changes to the mapped area do not
4069 percolate back to the file as seen by read(). (This is a bug on
4070 some variants of i386 svr4.0.) */
4071 for (i = 0; i < pagesize; ++i)
4072 *(data2 + i) = *(data2 + i) + 1;
4073 data3 = (char *) malloc (pagesize);
4076 if (read (fd, data3, pagesize) != pagesize)
4078 for (i = 0; i < pagesize; ++i)
4079 if (*(data + i) != *(data3 + i))
4085 rm -f conftest$ac_exeext
4086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4087 (eval $ac_link) 2>&5
4089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4095 (exit $ac_status); }; }; then
4096 ac_cv_func_mmap_fixed_mapped=yes
4098 echo "$as_me: program exited with status $ac_status" >&5
4099 echo "$as_me: failed program was:" >&5
4100 cat conftest.$ac_ext >&5
4102 ac_cv_func_mmap_fixed_mapped=no
4104 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4107 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
4108 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
4109 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4111 cat >>confdefs.h <<\_ACEOF
4119 echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
4120 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
4121 if test "${ac_cv_gnu_library_2_1+set}" = set; then
4122 echo $ECHO_N "(cached) $ECHO_C" >&6
4124 cat >conftest.$ac_ext <<_ACEOF
4125 #line $LINENO "configure"
4126 #include "confdefs.h"
4128 #include <features.h>
4129 #ifdef __GNU_LIBRARY__
4130 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
4136 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4137 $EGREP "Lucky GNU user" >/dev/null 2>&1; then
4138 ac_cv_gnu_library_2_1=yes
4140 ac_cv_gnu_library_2_1=no
4147 echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
4148 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
4150 GLIBC21="$ac_cv_gnu_library_2_1"
4164 for ac_header in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
4165 stdlib.h string.h unistd.h sys/param.h
4167 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4168 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4169 echo "$as_me:$LINENO: checking for $ac_header" >&5
4170 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4171 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4172 echo $ECHO_N "(cached) $ECHO_C" >&6
4174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4175 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4177 # Is the header compilable?
4178 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4179 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4180 cat >conftest.$ac_ext <<_ACEOF
4181 #line $LINENO "configure"
4182 #include "confdefs.h"
4183 $ac_includes_default
4184 #include <$ac_header>
4186 rm -f conftest.$ac_objext
4187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4188 (eval $ac_compile) 2>&5
4190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4191 (exit $ac_status); } &&
4192 { ac_try='test -s conftest.$ac_objext'
4193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4197 (exit $ac_status); }; }; then
4198 ac_header_compiler=yes
4200 echo "$as_me: failed program was:" >&5
4201 cat conftest.$ac_ext >&5
4202 ac_header_compiler=no
4204 rm -f conftest.$ac_objext conftest.$ac_ext
4205 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4206 echo "${ECHO_T}$ac_header_compiler" >&6
4208 # Is the header present?
4209 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4210 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4211 cat >conftest.$ac_ext <<_ACEOF
4212 #line $LINENO "configure"
4213 #include "confdefs.h"
4214 #include <$ac_header>
4216 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4217 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4219 grep -v '^ *+' conftest.er1 >conftest.err
4221 cat conftest.err >&5
4222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4223 (exit $ac_status); } >/dev/null; then
4224 if test -s conftest.err; then
4225 ac_cpp_err=$ac_c_preproc_warn_flag
4232 if test -z "$ac_cpp_err"; then
4233 ac_header_preproc=yes
4235 echo "$as_me: failed program was:" >&5
4236 cat conftest.$ac_ext >&5
4237 ac_header_preproc=no
4239 rm -f conftest.err conftest.$ac_ext
4240 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4241 echo "${ECHO_T}$ac_header_preproc" >&6
4243 # So? What about this header?
4244 case $ac_header_compiler:$ac_header_preproc in
4246 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4247 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4248 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4249 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4251 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4252 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4253 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4254 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4255 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4256 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4258 echo "$as_me:$LINENO: checking for $ac_header" >&5
4259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4260 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4261 echo $ECHO_N "(cached) $ECHO_C" >&6
4263 eval "$as_ac_Header=$ac_header_preproc"
4265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4266 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4269 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4270 cat >>confdefs.h <<_ACEOF
4271 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4299 for ac_func in feof_unlocked fgets_unlocked getcwd getegid geteuid \
4300 getgid getuid mempcpy munmap putenv setenv setlocale stpcpy strchr strcasecmp \
4301 strdup strtoul tsearch __argz_count __argz_stringify __argz_next
4303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4304 echo "$as_me:$LINENO: checking for $ac_func" >&5
4305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4306 if eval "test \"\${$as_ac_var+set}\" = set"; then
4307 echo $ECHO_N "(cached) $ECHO_C" >&6
4309 cat >conftest.$ac_ext <<_ACEOF
4310 #line $LINENO "configure"
4311 #include "confdefs.h"
4312 /* System header to define __stub macros and hopefully few prototypes,
4313 which can conflict with char $ac_func (); below. */
4315 /* Override any gcc2 internal prototype to avoid an error. */
4319 /* We use char because int might match the return type of a gcc2
4320 builtin and then its argument prototype would still apply. */
4327 /* The GNU C library defines this for functions which it implements
4328 to always fail with ENOSYS. Some functions are actually named
4329 something starting with __ and the normal name is an alias. */
4330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4340 rm -f conftest.$ac_objext conftest$ac_exeext
4341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4342 (eval $ac_link) 2>&5
4344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4345 (exit $ac_status); } &&
4346 { ac_try='test -s conftest$ac_exeext'
4347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4351 (exit $ac_status); }; }; then
4352 eval "$as_ac_var=yes"
4354 echo "$as_me: failed program was:" >&5
4355 cat conftest.$ac_ext >&5
4356 eval "$as_ac_var=no"
4358 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4362 if test `eval echo '${'$as_ac_var'}'` = yes; then
4363 cat >>confdefs.h <<_ACEOF
4364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4374 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
4375 if test "${with_libiconv_prefix+set}" = set; then
4376 withval="$with_libiconv_prefix"
4378 for dir in `echo "$withval" | tr : ' '`; do
4379 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
4380 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
4385 echo "$as_me:$LINENO: checking for iconv" >&5
4386 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
4387 if test "${am_cv_func_iconv+set}" = set; then
4388 echo $ECHO_N "(cached) $ECHO_C" >&6
4391 am_cv_func_iconv="no, consider installing GNU libiconv"
4393 cat >conftest.$ac_ext <<_ACEOF
4394 #line $LINENO "configure"
4395 #include "confdefs.h"
4401 iconv_t cd = iconv_open("","");
4402 iconv(cd,NULL,NULL,NULL,NULL);
4408 rm -f conftest.$ac_objext conftest$ac_exeext
4409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4410 (eval $ac_link) 2>&5
4412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4413 (exit $ac_status); } &&
4414 { ac_try='test -s conftest$ac_exeext'
4415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4419 (exit $ac_status); }; }; then
4420 am_cv_func_iconv=yes
4422 echo "$as_me: failed program was:" >&5
4423 cat conftest.$ac_ext >&5
4425 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4426 if test "$am_cv_func_iconv" != yes; then
4427 am_save_LIBS="$LIBS"
4428 LIBS="$LIBS -liconv"
4429 cat >conftest.$ac_ext <<_ACEOF
4430 #line $LINENO "configure"
4431 #include "confdefs.h"
4437 iconv_t cd = iconv_open("","");
4438 iconv(cd,NULL,NULL,NULL,NULL);
4444 rm -f conftest.$ac_objext conftest$ac_exeext
4445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4446 (eval $ac_link) 2>&5
4448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4449 (exit $ac_status); } &&
4450 { ac_try='test -s conftest$ac_exeext'
4451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4455 (exit $ac_status); }; }; then
4457 am_cv_func_iconv=yes
4459 echo "$as_me: failed program was:" >&5
4460 cat conftest.$ac_ext >&5
4462 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4463 LIBS="$am_save_LIBS"
4467 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
4468 echo "${ECHO_T}$am_cv_func_iconv" >&6
4469 if test "$am_cv_func_iconv" = yes; then
4471 cat >>confdefs.h <<\_ACEOF
4472 #define HAVE_ICONV 1
4475 echo "$as_me:$LINENO: checking for iconv declaration" >&5
4476 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
4477 if test "${am_cv_proto_iconv+set}" = set; then
4478 echo $ECHO_N "(cached) $ECHO_C" >&6
4481 cat >conftest.$ac_ext <<_ACEOF
4482 #line $LINENO "configure"
4483 #include "confdefs.h"
4491 #if defined(__STDC__) || defined(__cplusplus)
4492 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
4505 rm -f conftest.$ac_objext
4506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4507 (eval $ac_compile) 2>&5
4509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4510 (exit $ac_status); } &&
4511 { ac_try='test -s conftest.$ac_objext'
4512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4516 (exit $ac_status); }; }; then
4517 am_cv_proto_iconv_arg1=""
4519 echo "$as_me: failed program was:" >&5
4520 cat conftest.$ac_ext >&5
4521 am_cv_proto_iconv_arg1="const"
4523 rm -f conftest.$ac_objext conftest.$ac_ext
4524 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);"
4527 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
4528 echo "$as_me:$LINENO: result: ${ac_t:-
4529 }$am_cv_proto_iconv" >&5
4530 echo "${ECHO_T}${ac_t:-
4531 }$am_cv_proto_iconv" >&6
4533 cat >>confdefs.h <<_ACEOF
4534 #define ICONV_CONST $am_cv_proto_iconv_arg1
4539 if test "$am_cv_lib_iconv" = yes; then
4545 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
4546 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
4547 if test "${am_cv_langinfo_codeset+set}" = set; then
4548 echo $ECHO_N "(cached) $ECHO_C" >&6
4550 cat >conftest.$ac_ext <<_ACEOF
4551 #line $LINENO "configure"
4552 #include "confdefs.h"
4553 #include <langinfo.h>
4557 char* cs = nl_langinfo(CODESET);
4562 rm -f conftest.$ac_objext conftest$ac_exeext
4563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4564 (eval $ac_link) 2>&5
4566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4567 (exit $ac_status); } &&
4568 { ac_try='test -s conftest$ac_exeext'
4569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4573 (exit $ac_status); }; }; then
4574 am_cv_langinfo_codeset=yes
4576 echo "$as_me: failed program was:" >&5
4577 cat conftest.$ac_ext >&5
4578 am_cv_langinfo_codeset=no
4580 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4583 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
4584 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
4585 if test $am_cv_langinfo_codeset = yes; then
4587 cat >>confdefs.h <<\_ACEOF
4588 #define HAVE_LANGINFO_CODESET 1
4593 if test $ac_cv_header_locale_h = yes; then
4594 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
4595 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
4596 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
4597 echo $ECHO_N "(cached) $ECHO_C" >&6
4599 cat >conftest.$ac_ext <<_ACEOF
4600 #line $LINENO "configure"
4601 #include "confdefs.h"
4611 rm -f conftest.$ac_objext conftest$ac_exeext
4612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4613 (eval $ac_link) 2>&5
4615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616 (exit $ac_status); } &&
4617 { ac_try='test -s conftest$ac_exeext'
4618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4622 (exit $ac_status); }; }; then
4623 am_cv_val_LC_MESSAGES=yes
4625 echo "$as_me: failed program was:" >&5
4626 cat conftest.$ac_ext >&5
4627 am_cv_val_LC_MESSAGES=no
4629 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4631 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
4632 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
4633 if test $am_cv_val_LC_MESSAGES = yes; then
4635 cat >>confdefs.h <<\_ACEOF
4636 #define HAVE_LC_MESSAGES 1
4641 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
4642 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
4643 # Check whether --enable-nls or --disable-nls was given.
4644 if test "${enable_nls+set}" = set; then
4645 enableval="$enable_nls"
4650 echo "$as_me:$LINENO: result: $USE_NLS" >&5
4651 echo "${ECHO_T}$USE_NLS" >&6
4654 BUILD_INCLUDED_LIBINTL=no
4655 USE_INCLUDED_LIBINTL=no
4658 if test "$USE_NLS" = "yes"; then
4660 cat >>confdefs.h <<\_ACEOF
4661 #define ENABLE_NLS 1
4664 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
4665 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
4667 # Check whether --with-included-gettext or --without-included-gettext was given.
4668 if test "${with_included_gettext+set}" = set; then
4669 withval="$with_included_gettext"
4670 nls_cv_force_use_gnu_gettext=$withval
4672 nls_cv_force_use_gnu_gettext=no
4674 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
4675 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
4677 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
4678 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
4684 if test "${ac_cv_header_libintl_h+set}" = set; then
4685 echo "$as_me:$LINENO: checking for libintl.h" >&5
4686 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4687 if test "${ac_cv_header_libintl_h+set}" = set; then
4688 echo $ECHO_N "(cached) $ECHO_C" >&6
4690 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4691 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4693 # Is the header compilable?
4694 echo "$as_me:$LINENO: checking libintl.h usability" >&5
4695 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
4696 cat >conftest.$ac_ext <<_ACEOF
4697 #line $LINENO "configure"
4698 #include "confdefs.h"
4699 $ac_includes_default
4700 #include <libintl.h>
4702 rm -f conftest.$ac_objext
4703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4704 (eval $ac_compile) 2>&5
4706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4707 (exit $ac_status); } &&
4708 { ac_try='test -s conftest.$ac_objext'
4709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4713 (exit $ac_status); }; }; then
4714 ac_header_compiler=yes
4716 echo "$as_me: failed program was:" >&5
4717 cat conftest.$ac_ext >&5
4718 ac_header_compiler=no
4720 rm -f conftest.$ac_objext conftest.$ac_ext
4721 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4722 echo "${ECHO_T}$ac_header_compiler" >&6
4724 # Is the header present?
4725 echo "$as_me:$LINENO: checking libintl.h presence" >&5
4726 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
4727 cat >conftest.$ac_ext <<_ACEOF
4728 #line $LINENO "configure"
4729 #include "confdefs.h"
4730 #include <libintl.h>
4732 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4733 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4735 grep -v '^ *+' conftest.er1 >conftest.err
4737 cat conftest.err >&5
4738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739 (exit $ac_status); } >/dev/null; then
4740 if test -s conftest.err; then
4741 ac_cpp_err=$ac_c_preproc_warn_flag
4748 if test -z "$ac_cpp_err"; then
4749 ac_header_preproc=yes
4751 echo "$as_me: failed program was:" >&5
4752 cat conftest.$ac_ext >&5
4753 ac_header_preproc=no
4755 rm -f conftest.err conftest.$ac_ext
4756 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4757 echo "${ECHO_T}$ac_header_preproc" >&6
4759 # So? What about this header?
4760 case $ac_header_compiler:$ac_header_preproc in
4762 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
4763 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4764 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
4765 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
4767 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
4768 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
4769 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
4770 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
4771 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
4772 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
4774 echo "$as_me:$LINENO: checking for libintl.h" >&5
4775 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4776 if test "${ac_cv_header_libintl_h+set}" = set; then
4777 echo $ECHO_N "(cached) $ECHO_C" >&6
4779 ac_cv_header_libintl_h=$ac_header_preproc
4781 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4782 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4785 if test $ac_cv_header_libintl_h = yes; then
4786 echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
4787 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
4788 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
4789 echo $ECHO_N "(cached) $ECHO_C" >&6
4791 cat >conftest.$ac_ext <<_ACEOF
4792 #line $LINENO "configure"
4793 #include "confdefs.h"
4794 #include <libintl.h>
4795 extern int _nl_msg_cat_cntr;
4799 bindtextdomain ("", "");
4800 return (int) gettext ("") + _nl_msg_cat_cntr
4805 rm -f conftest.$ac_objext conftest$ac_exeext
4806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4807 (eval $ac_link) 2>&5
4809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4810 (exit $ac_status); } &&
4811 { ac_try='test -s conftest$ac_exeext'
4812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816 (exit $ac_status); }; }; then
4817 gt_cv_func_gnugettext1_libc=yes
4819 echo "$as_me: failed program was:" >&5
4820 cat conftest.$ac_ext >&5
4821 gt_cv_func_gnugettext1_libc=no
4823 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4825 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
4826 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
4828 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
4829 echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
4830 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
4831 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
4832 echo $ECHO_N "(cached) $ECHO_C" >&6
4834 gt_save_LIBS="$LIBS"
4835 LIBS="$LIBS -lintl $LIBICONV"
4836 cat >conftest.$ac_ext <<_ACEOF
4837 #line $LINENO "configure"
4838 #include "confdefs.h"
4839 #include <libintl.h>
4840 extern int _nl_msg_cat_cntr;
4844 bindtextdomain ("", "");
4845 return (int) gettext ("") + _nl_msg_cat_cntr
4850 rm -f conftest.$ac_objext conftest$ac_exeext
4851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4852 (eval $ac_link) 2>&5
4854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4855 (exit $ac_status); } &&
4856 { ac_try='test -s conftest$ac_exeext'
4857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4861 (exit $ac_status); }; }; then
4862 gt_cv_func_gnugettext1_libintl=yes
4864 echo "$as_me: failed program was:" >&5
4865 cat conftest.$ac_ext >&5
4866 gt_cv_func_gnugettext1_libintl=no
4868 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4869 LIBS="$gt_save_LIBS"
4871 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
4872 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
4875 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
4876 || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
4877 && test "$PACKAGE" != gettext; }; then
4879 cat >>confdefs.h <<\_ACEOF
4880 #define HAVE_GETTEXT 1
4884 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
4885 INTLLIBS="-lintl $LIBICONV"
4888 gt_save_LIBS="$LIBS"
4889 LIBS="$LIBS $INTLLIBS"
4891 for ac_func in dcgettext
4893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4894 echo "$as_me:$LINENO: checking for $ac_func" >&5
4895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4896 if eval "test \"\${$as_ac_var+set}\" = set"; then
4897 echo $ECHO_N "(cached) $ECHO_C" >&6
4899 cat >conftest.$ac_ext <<_ACEOF
4900 #line $LINENO "configure"
4901 #include "confdefs.h"
4902 /* System header to define __stub macros and hopefully few prototypes,
4903 which can conflict with char $ac_func (); below. */
4905 /* Override any gcc2 internal prototype to avoid an error. */
4909 /* We use char because int might match the return type of a gcc2
4910 builtin and then its argument prototype would still apply. */
4917 /* The GNU C library defines this for functions which it implements
4918 to always fail with ENOSYS. Some functions are actually named
4919 something starting with __ and the normal name is an alias. */
4920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
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 eval "$as_ac_var=yes"
4944 echo "$as_me: failed program was:" >&5
4945 cat conftest.$ac_ext >&5
4946 eval "$as_ac_var=no"
4948 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4952 if test `eval echo '${'$as_ac_var'}'` = yes; then
4953 cat >>confdefs.h <<_ACEOF
4954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4960 LIBS="$gt_save_LIBS"
4962 # Extract the first word of "msgfmt", so it can be a program name with args.
4963 set dummy msgfmt; ac_word=$2
4964 echo "$as_me:$LINENO: checking for $ac_word" >&5
4965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4966 if test "${ac_cv_path_MSGFMT+set}" = set; then
4967 echo $ECHO_N "(cached) $ECHO_C" >&6
4971 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4974 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
4975 for ac_dir in $PATH; do
4976 test -z "$ac_dir" && ac_dir=.
4977 if test -f $ac_dir/$ac_word; then
4978 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1; then
4979 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
4985 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
4989 MSGFMT="$ac_cv_path_MSGFMT"
4990 if test "$MSGFMT" != ":"; then
4991 echo "$as_me:$LINENO: result: $MSGFMT" >&5
4992 echo "${ECHO_T}$MSGFMT" >&6
4994 echo "$as_me:$LINENO: result: no" >&5
4995 echo "${ECHO_T}no" >&6
4998 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4999 set dummy gmsgfmt; ac_word=$2
5000 echo "$as_me:$LINENO: checking for $ac_word" >&5
5001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5002 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5003 echo $ECHO_N "(cached) $ECHO_C" >&6
5007 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5014 test -z "$as_dir" && as_dir=.
5015 for ac_exec_ext in '' $ac_executable_extensions; do
5016 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5017 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5024 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5028 GMSGFMT=$ac_cv_path_GMSGFMT
5030 if test -n "$GMSGFMT"; then
5031 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5032 echo "${ECHO_T}$GMSGFMT" >&6
5034 echo "$as_me:$LINENO: result: no" >&5
5035 echo "${ECHO_T}no" >&6
5039 # Extract the first word of "xgettext", so it can be a program name with args.
5040 set dummy xgettext; ac_word=$2
5041 echo "$as_me:$LINENO: checking for $ac_word" >&5
5042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5043 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5044 echo $ECHO_N "(cached) $ECHO_C" >&6
5048 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5051 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5052 for ac_dir in $PATH; do
5053 test -z "$ac_dir" && ac_dir=.
5054 if test -f $ac_dir/$ac_word; then
5055 if $ac_dir/$ac_word --omit-header /dev/null >/dev/null 2>&1; then
5056 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
5062 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5066 XGETTEXT="$ac_cv_path_XGETTEXT"
5067 if test "$XGETTEXT" != ":"; then
5068 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5069 echo "${ECHO_T}$XGETTEXT" >&6
5071 echo "$as_me:$LINENO: result: no" >&5
5072 echo "${ECHO_T}no" >&6
5083 if test "$CATOBJEXT" = "NONE"; then
5084 nls_cv_use_gnu_gettext=yes
5088 if test "$nls_cv_use_gnu_gettext" = "yes"; then
5089 INTLOBJS="\$(GETTOBJS)"
5090 # Extract the first word of "msgfmt", so it can be a program name with args.
5091 set dummy msgfmt; ac_word=$2
5092 echo "$as_me:$LINENO: checking for $ac_word" >&5
5093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5094 if test "${ac_cv_path_MSGFMT+set}" = set; then
5095 echo $ECHO_N "(cached) $ECHO_C" >&6
5099 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5102 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5103 for ac_dir in $PATH; do
5104 test -z "$ac_dir" && ac_dir=.
5105 if test -f $ac_dir/$ac_word; then
5106 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1; then
5107 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
5113 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
5117 MSGFMT="$ac_cv_path_MSGFMT"
5118 if test "$MSGFMT" != ":"; then
5119 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5120 echo "${ECHO_T}$MSGFMT" >&6
5122 echo "$as_me:$LINENO: result: no" >&5
5123 echo "${ECHO_T}no" >&6
5126 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5127 set dummy gmsgfmt; ac_word=$2
5128 echo "$as_me:$LINENO: checking for $ac_word" >&5
5129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5130 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5131 echo $ECHO_N "(cached) $ECHO_C" >&6
5135 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5142 test -z "$as_dir" && as_dir=.
5143 for ac_exec_ext in '' $ac_executable_extensions; do
5144 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5145 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5152 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5156 GMSGFMT=$ac_cv_path_GMSGFMT
5158 if test -n "$GMSGFMT"; then
5159 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5160 echo "${ECHO_T}$GMSGFMT" >&6
5162 echo "$as_me:$LINENO: result: no" >&5
5163 echo "${ECHO_T}no" >&6
5166 # Extract the first word of "xgettext", so it can be a program name with args.
5167 set dummy xgettext; ac_word=$2
5168 echo "$as_me:$LINENO: checking for $ac_word" >&5
5169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5170 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5171 echo $ECHO_N "(cached) $ECHO_C" >&6
5175 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5178 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5179 for ac_dir in $PATH; do
5180 test -z "$ac_dir" && ac_dir=.
5181 if test -f $ac_dir/$ac_word; then
5182 if $ac_dir/$ac_word --omit-header /dev/null >/dev/null 2>&1; then
5183 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
5189 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5193 XGETTEXT="$ac_cv_path_XGETTEXT"
5194 if test "$XGETTEXT" != ":"; then
5195 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5196 echo "${ECHO_T}$XGETTEXT" >&6
5198 echo "$as_me:$LINENO: result: no" >&5
5199 echo "${ECHO_T}no" >&6
5203 BUILD_INCLUDED_LIBINTL=yes
5204 USE_INCLUDED_LIBINTL=yes
5206 INTLLIBS="\$(top_builddir)/intl/libintl.a $LIBICONV"
5207 LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
5210 if test "$GMSGFMT" != ":"; then
5211 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1; then
5214 echo "$as_me:$LINENO: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
5215 echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6
5220 if test "$XGETTEXT" != ":"; then
5221 if $XGETTEXT --omit-header /dev/null >/dev/null 2>&1; then
5224 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
5225 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
5232 ac_config_commands="$ac_config_commands default-1"
5236 if test "$PACKAGE" = gettext; then
5237 BUILD_INCLUDED_LIBINTL=yes
5240 for ac_prog in bison
5242 # Extract the first word of "$ac_prog", so it can be a program name with args.
5243 set dummy $ac_prog; ac_word=$2
5244 echo "$as_me:$LINENO: checking for $ac_word" >&5
5245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5246 if test "${ac_cv_prog_INTLBISON+set}" = set; then
5247 echo $ECHO_N "(cached) $ECHO_C" >&6
5249 if test -n "$INTLBISON"; then
5250 ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test.
5252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5256 test -z "$as_dir" && as_dir=.
5257 for ac_exec_ext in '' $ac_executable_extensions; do
5258 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5259 ac_cv_prog_INTLBISON="$ac_prog"
5260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5268 INTLBISON=$ac_cv_prog_INTLBISON
5269 if test -n "$INTLBISON"; then
5270 echo "$as_me:$LINENO: result: $INTLBISON" >&5
5271 echo "${ECHO_T}$INTLBISON" >&6
5273 echo "$as_me:$LINENO: result: no" >&5
5274 echo "${ECHO_T}no" >&6
5277 test -n "$INTLBISON" && break
5280 if test -z "$INTLBISON"; then
5283 echo "$as_me:$LINENO: checking version of bison" >&5
5284 echo $ECHO_N "checking version of bison... $ECHO_C" >&6
5285 ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
5286 case $ac_prog_version in
5287 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
5288 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
5289 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
5290 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
5292 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
5293 echo "${ECHO_T}$ac_prog_version" >&6
5295 if test $ac_verc_fail = yes; then
5299 for lang in $ALL_LINGUAS; do
5300 GMOFILES="$GMOFILES $lang.gmo"
5301 POFILES="$POFILES $lang.po"
5315 nls_cv_header_libgt=
5327 if test "x$CATOBJEXT" != "x"; then
5328 if test "x$ALL_LINGUAS" = "x"; then
5331 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5332 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5334 for presentlang in $ALL_LINGUAS; do
5336 for desiredlang in ${LINGUAS-$ALL_LINGUAS}; do
5337 # Use the presentlang catalog if desiredlang is
5338 # a. equal to presentlang, or
5339 # b. a variant of presentlang (because in this case,
5340 # presentlang can be used as a fallback for messages
5341 # which are not translated in the desiredlang catalog).
5342 case "$desiredlang" in
5343 "$presentlang"*) useit=yes;;
5346 if test $useit = yes; then
5347 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
5350 LINGUAS=$NEW_LINGUAS
5351 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5352 echo "${ECHO_T}$LINGUAS" >&6
5355 if test -n "$LINGUAS"; then
5356 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
5361 if test -n "$ac_aux_dir"; then
5362 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
5364 if test -z "$MKINSTALLDIRS"; then
5365 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
5369 INTL_LIBTOOL_SUFFIX_PREFIX=
5373 # Find a good install program. We prefer a C program (faster),
5374 # so one script is as good as another. But avoid the broken or
5375 # incompatible versions:
5376 # SysV /etc/install, /usr/sbin/install
5377 # SunOS /usr/etc/install
5378 # IRIX /sbin/install
5380 # AmigaOS /C/install, which installs bootblocks on floppy discs
5381 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5382 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5383 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5384 # ./install, which can be erroneously created by make from ./install.sh.
5385 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5386 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5387 if test -z "$INSTALL"; then
5388 if test "${ac_cv_path_install+set}" = set; then
5389 echo $ECHO_N "(cached) $ECHO_C" >&6
5391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5395 test -z "$as_dir" && as_dir=.
5396 # Account for people who put trailing slashes in PATH elements.
5398 ./ | .// | /cC/* | \
5399 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5402 # OSF1 and SCO ODT 3.0 have their own names for install.
5403 # Don't use installbsd from OSF since it installs stuff as root
5405 for ac_prog in ginstall scoinst install; do
5406 for ac_exec_ext in '' $ac_executable_extensions; do
5407 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5408 if test $ac_prog = install &&
5409 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5410 # AIX install. It has an incompatible calling convention.
5412 elif test $ac_prog = install &&
5413 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5414 # program-specific install script used by HP pwplus--don't use.
5417 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5429 if test "${ac_cv_path_install+set}" = set; then
5430 INSTALL=$ac_cv_path_install
5432 # As a last resort, use the slow shell script. We don't cache a
5433 # path for INSTALL within a source directory, because that will
5434 # break other packages using the cache if that directory is
5435 # removed, or if the path is relative.
5436 INSTALL=$ac_install_sh
5439 echo "$as_me:$LINENO: result: $INSTALL" >&5
5440 echo "${ECHO_T}$INSTALL" >&6
5442 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5443 # It thinks the first close brace ends the variable substitution.
5444 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5446 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5448 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5451 case x"${target_os}" in
5460 save_CFLAGS="${save_CFLAGS} -pthread"
5461 dvd_LDFLAGS="${dvd_LDFLAGS} -ldvd"
5462 vcd_LDFLAGS="${vcd_LDFLAGS} -ldvd"
5466 save_CFLAGS="${save_CFLAGS} -pthread"
5470 save_CFLAGS="${save_CFLAGS} -no-cpp-precomp"
5474 if test -n "$ac_tool_prefix"; then
5475 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5476 set dummy ${ac_tool_prefix}windres; ac_word=$2
5477 echo "$as_me:$LINENO: checking for $ac_word" >&5
5478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5479 if test "${ac_cv_prog_WINDRES+set}" = set; then
5480 echo $ECHO_N "(cached) $ECHO_C" >&6
5482 if test -n "$WINDRES"; then
5483 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5489 test -z "$as_dir" && as_dir=.
5490 for ac_exec_ext in '' $ac_executable_extensions; do
5491 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5492 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5501 WINDRES=$ac_cv_prog_WINDRES
5502 if test -n "$WINDRES"; then
5503 echo "$as_me:$LINENO: result: $WINDRES" >&5
5504 echo "${ECHO_T}$WINDRES" >&6
5506 echo "$as_me:$LINENO: result: no" >&5
5507 echo "${ECHO_T}no" >&6
5511 if test -z "$ac_cv_prog_WINDRES"; then
5512 ac_ct_WINDRES=$WINDRES
5513 # Extract the first word of "windres", so it can be a program name with args.
5514 set dummy windres; ac_word=$2
5515 echo "$as_me:$LINENO: checking for $ac_word" >&5
5516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5517 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5518 echo $ECHO_N "(cached) $ECHO_C" >&6
5520 if test -n "$ac_ct_WINDRES"; then
5521 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5527 test -z "$as_dir" && as_dir=.
5528 for ac_exec_ext in '' $ac_executable_extensions; do
5529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5530 ac_cv_prog_ac_ct_WINDRES="windres"
5531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5537 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES=":"
5540 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5541 if test -n "$ac_ct_WINDRES"; then
5542 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5543 echo "${ECHO_T}$ac_ct_WINDRES" >&6
5545 echo "$as_me:$LINENO: result: no" >&5
5546 echo "${ECHO_T}no" >&6
5549 WINDRES=$ac_ct_WINDRES
5551 WINDRES="$ac_cv_prog_WINDRES"
5554 save_CFLAGS="${save_CFLAGS} -D_OFF_T_ -D_off_t=long"
5555 vlc_LDFLAGS="${vlc_LDFLAGS} -mwindows -Xlinker --force-exe-suffix"
5556 vlc_LDFLAGS="${vlc_LDFLAGS} -lws2_32 -lnetapi32"
5557 ipv4_LDFLAGS="${ipv4_LDFLAGS} -lws2_32"
5558 ipv6_LDFLAGS="${ipv6_LDFLAGS} -lws2_32"
5559 http_LDFLAGS="${http_LDFLAGS} -lws2_32"
5560 rc_LDFLAGS="${rc_LDFLAGS} -lws2_32"
5564 x11_LDFLAGS="${x11_LDFLAGS} -lsocket"
5565 xvideo_LDFLAGS="${xvideo_LDFLAGS} -lsocket"
5569 save_CFLAGS="${save_CFLAGS} -Wno-multichar -Wno-ctor-dtor-privacy -Woverloaded-virtual"
5570 vlc_LDFLAGS="${vlc_LDFLAGS} -lbe"
5571 plugins_LDFLAGS="${plugins_LDFLAGS} -nostart"
5572 beos_LDFLAGS="${beos_LDFLAGS} -lbe -lgame -lroot -ltracker -ltranslation -lstdc++.r4"
5573 ipv4_LDFLAGS="${ipv4_LDFLAGS} -lbind"
5580 if test x"${SYS}" != xmingw32; then
5581 plugins_CFLAGS="${plugins_CFLAGS} -fPIC"
5584 if test x$SYS = xmingw32
5586 echo "$as_me:$LINENO: checking for opendir in -lmingwex" >&5
5587 echo $ECHO_N "checking for opendir in -lmingwex... $ECHO_C" >&6
5588 if test "${ac_cv_lib_mingwex_opendir+set}" = set; then
5589 echo $ECHO_N "(cached) $ECHO_C" >&6
5591 ac_check_lib_save_LIBS=$LIBS
5592 LIBS="-lmingwex $LIBS"
5593 cat >conftest.$ac_ext <<_ACEOF
5594 #line $LINENO "configure"
5595 #include "confdefs.h"
5597 /* Override any gcc2 internal prototype to avoid an error. */
5601 /* We use char because int might match the return type of a gcc2
5602 builtin and then its argument prototype would still apply. */
5612 rm -f conftest.$ac_objext conftest$ac_exeext
5613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5614 (eval $ac_link) 2>&5
5616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5617 (exit $ac_status); } &&
5618 { ac_try='test -s conftest$ac_exeext'
5619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5623 (exit $ac_status); }; }; then
5624 ac_cv_lib_mingwex_opendir=yes
5626 echo "$as_me: failed program was:" >&5
5627 cat conftest.$ac_ext >&5
5628 ac_cv_lib_mingwex_opendir=no
5630 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5631 LIBS=$ac_check_lib_save_LIBS
5633 echo "$as_me:$LINENO: result: $ac_cv_lib_mingwex_opendir" >&5
5634 echo "${ECHO_T}$ac_cv_lib_mingwex_opendir" >&6
5635 if test $ac_cv_lib_mingwex_opendir = yes; then
5636 echo "$as_me:$LINENO: checking for opendir in -lmingw32" >&5
5637 echo $ECHO_N "checking for opendir in -lmingw32... $ECHO_C" >&6
5638 if test "${ac_cv_lib_mingw32_opendir+set}" = set; then
5639 echo $ECHO_N "(cached) $ECHO_C" >&6
5641 ac_check_lib_save_LIBS=$LIBS
5642 LIBS="-lmingw32 $LIBS"
5643 cat >conftest.$ac_ext <<_ACEOF
5644 #line $LINENO "configure"
5645 #include "confdefs.h"
5647 /* Override any gcc2 internal prototype to avoid an error. */
5651 /* We use char because int might match the return type of a gcc2
5652 builtin and then its argument prototype would still apply. */
5662 rm -f conftest.$ac_objext conftest$ac_exeext
5663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5664 (eval $ac_link) 2>&5
5666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5667 (exit $ac_status); } &&
5668 { ac_try='test -s conftest$ac_exeext'
5669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5673 (exit $ac_status); }; }; then
5674 ac_cv_lib_mingw32_opendir=yes
5676 echo "$as_me: failed program was:" >&5
5677 cat conftest.$ac_ext >&5
5678 ac_cv_lib_mingw32_opendir=no
5680 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5681 LIBS=$ac_check_lib_save_LIBS
5683 echo "$as_me:$LINENO: result: $ac_cv_lib_mingw32_opendir" >&5
5684 echo "${ECHO_T}$ac_cv_lib_mingw32_opendir" >&6
5685 if test $ac_cv_lib_mingw32_opendir = yes; then
5686 vlc_LDFLAGS="${vlc_LDFLAGS}"
5688 vlc_LDFLAGS="${vlc_LDFLAGS} -lmingwex"
5689 gtk_LDFLAGS="${gtk_LDFLAGS} -lmingwex"
5697 save_CFLAGS="${save_CFLAGS} -DSYS_`echo ${SYS} | sed -e 's/-.*//' | tr 'abcdefghijklmnopqrstuvwxyz.' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`"
5713 for ac_func in gettimeofday select strerror strtod strtol isatty vasprintf swab sigrelse getpwuid memalign posix_memalign gethostbyname2 atoll
5715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5716 echo "$as_me:$LINENO: checking for $ac_func" >&5
5717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5718 if eval "test \"\${$as_ac_var+set}\" = set"; then
5719 echo $ECHO_N "(cached) $ECHO_C" >&6
5721 cat >conftest.$ac_ext <<_ACEOF
5722 #line $LINENO "configure"
5723 #include "confdefs.h"
5724 /* System header to define __stub macros and hopefully few prototypes,
5725 which can conflict with char $ac_func (); below. */
5727 /* Override any gcc2 internal prototype to avoid an error. */
5731 /* We use char because int might match the return type of a gcc2
5732 builtin and then its argument prototype would still apply. */
5739 /* The GNU C library defines this for functions which it implements
5740 to always fail with ENOSYS. Some functions are actually named
5741 something starting with __ and the normal name is an alias. */
5742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5752 rm -f conftest.$ac_objext conftest$ac_exeext
5753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5754 (eval $ac_link) 2>&5
5756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5757 (exit $ac_status); } &&
5758 { ac_try='test -s conftest$ac_exeext'
5759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5763 (exit $ac_status); }; }; then
5764 eval "$as_ac_var=yes"
5766 echo "$as_me: failed program was:" >&5
5767 cat conftest.$ac_ext >&5
5768 eval "$as_ac_var=no"
5770 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5774 if test `eval echo '${'$as_ac_var'}'` = yes; then
5775 cat >>confdefs.h <<_ACEOF
5776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5783 echo "$as_me:$LINENO: checking for connect" >&5
5784 echo $ECHO_N "checking for connect... $ECHO_C" >&6
5785 if test "${ac_cv_func_connect+set}" = set; then
5786 echo $ECHO_N "(cached) $ECHO_C" >&6
5788 cat >conftest.$ac_ext <<_ACEOF
5789 #line $LINENO "configure"
5790 #include "confdefs.h"
5791 /* System header to define __stub macros and hopefully few prototypes,
5792 which can conflict with char connect (); below. */
5794 /* Override any gcc2 internal prototype to avoid an error. */
5798 /* We use char because int might match the return type of a gcc2
5799 builtin and then its argument prototype would still apply. */
5806 /* The GNU C library defines this for functions which it implements
5807 to always fail with ENOSYS. Some functions are actually named
5808 something starting with __ and the normal name is an alias. */
5809 #if defined (__stub_connect) || defined (__stub___connect)
5819 rm -f conftest.$ac_objext conftest$ac_exeext
5820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5821 (eval $ac_link) 2>&5
5823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5824 (exit $ac_status); } &&
5825 { ac_try='test -s conftest$ac_exeext'
5826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5830 (exit $ac_status); }; }; then
5831 ac_cv_func_connect=yes
5833 echo "$as_me: failed program was:" >&5
5834 cat conftest.$ac_ext >&5
5835 ac_cv_func_connect=no
5837 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5839 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
5840 echo "${ECHO_T}$ac_cv_func_connect" >&6
5841 if test $ac_cv_func_connect = yes; then
5845 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
5846 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
5847 if test "${ac_cv_lib_socket_connect+set}" = set; then
5848 echo $ECHO_N "(cached) $ECHO_C" >&6
5850 ac_check_lib_save_LIBS=$LIBS
5851 LIBS="-lsocket $LIBS"
5852 cat >conftest.$ac_ext <<_ACEOF
5853 #line $LINENO "configure"
5854 #include "confdefs.h"
5856 /* Override any gcc2 internal prototype to avoid an error. */
5860 /* We use char because int might match the return type of a gcc2
5861 builtin and then its argument prototype would still apply. */
5871 rm -f conftest.$ac_objext conftest$ac_exeext
5872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5873 (eval $ac_link) 2>&5
5875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5876 (exit $ac_status); } &&
5877 { ac_try='test -s conftest$ac_exeext'
5878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5882 (exit $ac_status); }; }; then
5883 ac_cv_lib_socket_connect=yes
5885 echo "$as_me: failed program was:" >&5
5886 cat conftest.$ac_ext >&5
5887 ac_cv_lib_socket_connect=no
5889 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5890 LIBS=$ac_check_lib_save_LIBS
5892 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
5893 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
5894 if test $ac_cv_lib_socket_connect = yes; then
5895 ipv4_LDFLAGS="${ipv4_LDFLAGS} -lsocket"
5896 vlc_LDFLAGS="${vlc_LDFLAGS} -lsocket"
5902 echo "$as_me:$LINENO: checking for gethostbyname" >&5
5903 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
5904 if test "${ac_cv_func_gethostbyname+set}" = set; then
5905 echo $ECHO_N "(cached) $ECHO_C" >&6
5907 cat >conftest.$ac_ext <<_ACEOF
5908 #line $LINENO "configure"
5909 #include "confdefs.h"
5910 /* System header to define __stub macros and hopefully few prototypes,
5911 which can conflict with char gethostbyname (); below. */
5913 /* Override any gcc2 internal prototype to avoid an error. */
5917 /* We use char because int might match the return type of a gcc2
5918 builtin and then its argument prototype would still apply. */
5919 char gethostbyname ();
5925 /* The GNU C library defines this for functions which it implements
5926 to always fail with ENOSYS. Some functions are actually named
5927 something starting with __ and the normal name is an alias. */
5928 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
5938 rm -f conftest.$ac_objext conftest$ac_exeext
5939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5940 (eval $ac_link) 2>&5
5942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5943 (exit $ac_status); } &&
5944 { ac_try='test -s conftest$ac_exeext'
5945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5949 (exit $ac_status); }; }; then
5950 ac_cv_func_gethostbyname=yes
5952 echo "$as_me: failed program was:" >&5
5953 cat conftest.$ac_ext >&5
5954 ac_cv_func_gethostbyname=no
5956 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5958 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
5959 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
5960 if test $ac_cv_func_gethostbyname = yes; then
5964 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5965 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
5966 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5967 echo $ECHO_N "(cached) $ECHO_C" >&6
5969 ac_check_lib_save_LIBS=$LIBS
5971 cat >conftest.$ac_ext <<_ACEOF
5972 #line $LINENO "configure"
5973 #include "confdefs.h"
5975 /* Override any gcc2 internal prototype to avoid an error. */
5979 /* We use char because int might match the return type of a gcc2
5980 builtin and then its argument prototype would still apply. */
5981 char gethostbyname ();
5990 rm -f conftest.$ac_objext conftest$ac_exeext
5991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5992 (eval $ac_link) 2>&5
5994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5995 (exit $ac_status); } &&
5996 { ac_try='test -s conftest$ac_exeext'
5997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6001 (exit $ac_status); }; }; then
6002 ac_cv_lib_nsl_gethostbyname=yes
6004 echo "$as_me: failed program was:" >&5
6005 cat conftest.$ac_ext >&5
6006 ac_cv_lib_nsl_gethostbyname=no
6008 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6009 LIBS=$ac_check_lib_save_LIBS
6011 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6012 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6013 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6014 ipv4_LDFLAGS="${ipv4_LDFLAGS} -lnsl"
6020 echo "$as_me:$LINENO: checking for gethostbyname" >&5
6021 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
6022 if test "${ac_cv_func_gethostbyname+set}" = set; then
6023 echo $ECHO_N "(cached) $ECHO_C" >&6
6025 cat >conftest.$ac_ext <<_ACEOF
6026 #line $LINENO "configure"
6027 #include "confdefs.h"
6028 /* System header to define __stub macros and hopefully few prototypes,
6029 which can conflict with char gethostbyname (); below. */
6031 /* Override any gcc2 internal prototype to avoid an error. */
6035 /* We use char because int might match the return type of a gcc2
6036 builtin and then its argument prototype would still apply. */
6037 char gethostbyname ();
6043 /* The GNU C library defines this for functions which it implements
6044 to always fail with ENOSYS. Some functions are actually named
6045 something starting with __ and the normal name is an alias. */
6046 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
6056 rm -f conftest.$ac_objext conftest$ac_exeext
6057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6058 (eval $ac_link) 2>&5
6060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6061 (exit $ac_status); } &&
6062 { ac_try='test -s conftest$ac_exeext'
6063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6067 (exit $ac_status); }; }; then
6068 ac_cv_func_gethostbyname=yes
6070 echo "$as_me: failed program was:" >&5
6071 cat conftest.$ac_ext >&5
6072 ac_cv_func_gethostbyname=no
6074 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6076 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
6077 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
6078 if test $ac_cv_func_gethostbyname = yes; then
6082 echo "$as_me:$LINENO: checking for gethostbyname in -lbind" >&5
6083 echo $ECHO_N "checking for gethostbyname in -lbind... $ECHO_C" >&6
6084 if test "${ac_cv_lib_bind_gethostbyname+set}" = set; then
6085 echo $ECHO_N "(cached) $ECHO_C" >&6
6087 ac_check_lib_save_LIBS=$LIBS
6089 cat >conftest.$ac_ext <<_ACEOF
6090 #line $LINENO "configure"
6091 #include "confdefs.h"
6093 /* Override any gcc2 internal prototype to avoid an error. */
6097 /* We use char because int might match the return type of a gcc2
6098 builtin and then its argument prototype would still apply. */
6099 char gethostbyname ();
6108 rm -f conftest.$ac_objext conftest$ac_exeext
6109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6110 (eval $ac_link) 2>&5
6112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6113 (exit $ac_status); } &&
6114 { ac_try='test -s conftest$ac_exeext'
6115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6119 (exit $ac_status); }; }; then
6120 ac_cv_lib_bind_gethostbyname=yes
6122 echo "$as_me: failed program was:" >&5
6123 cat conftest.$ac_ext >&5
6124 ac_cv_lib_bind_gethostbyname=no
6126 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6127 LIBS=$ac_check_lib_save_LIBS
6129 echo "$as_me:$LINENO: result: $ac_cv_lib_bind_gethostbyname" >&5
6130 echo "${ECHO_T}$ac_cv_lib_bind_gethostbyname" >&6
6131 if test $ac_cv_lib_bind_gethostbyname = yes; then
6132 ipv4_LDFLAGS="${ipv4_LDFLAGS} -lbind"
6139 echo "$as_me:$LINENO: checking for nanosleep" >&5
6140 echo $ECHO_N "checking for nanosleep... $ECHO_C" >&6
6141 if test "${ac_cv_func_nanosleep+set}" = set; then
6142 echo $ECHO_N "(cached) $ECHO_C" >&6
6144 cat >conftest.$ac_ext <<_ACEOF
6145 #line $LINENO "configure"
6146 #include "confdefs.h"
6147 /* System header to define __stub macros and hopefully few prototypes,
6148 which can conflict with char nanosleep (); below. */
6150 /* Override any gcc2 internal prototype to avoid an error. */
6154 /* We use char because int might match the return type of a gcc2
6155 builtin and then its argument prototype would still apply. */
6162 /* The GNU C library defines this for functions which it implements
6163 to always fail with ENOSYS. Some functions are actually named
6164 something starting with __ and the normal name is an alias. */
6165 #if defined (__stub_nanosleep) || defined (__stub___nanosleep)
6175 rm -f conftest.$ac_objext conftest$ac_exeext
6176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6177 (eval $ac_link) 2>&5
6179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6180 (exit $ac_status); } &&
6181 { ac_try='test -s conftest$ac_exeext'
6182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6186 (exit $ac_status); }; }; then
6187 ac_cv_func_nanosleep=yes
6189 echo "$as_me: failed program was:" >&5
6190 cat conftest.$ac_ext >&5
6191 ac_cv_func_nanosleep=no
6193 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6195 echo "$as_me:$LINENO: result: $ac_cv_func_nanosleep" >&5
6196 echo "${ECHO_T}$ac_cv_func_nanosleep" >&6
6197 if test $ac_cv_func_nanosleep = yes; then
6201 echo "$as_me:$LINENO: checking for nanosleep in -lrt" >&5
6202 echo $ECHO_N "checking for nanosleep in -lrt... $ECHO_C" >&6
6203 if test "${ac_cv_lib_rt_nanosleep+set}" = set; then
6204 echo $ECHO_N "(cached) $ECHO_C" >&6
6206 ac_check_lib_save_LIBS=$LIBS
6208 cat >conftest.$ac_ext <<_ACEOF
6209 #line $LINENO "configure"
6210 #include "confdefs.h"
6212 /* Override any gcc2 internal prototype to avoid an error. */
6216 /* We use char because int might match the return type of a gcc2
6217 builtin and then its argument prototype would still apply. */
6227 rm -f conftest.$ac_objext conftest$ac_exeext
6228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6229 (eval $ac_link) 2>&5
6231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6232 (exit $ac_status); } &&
6233 { ac_try='test -s conftest$ac_exeext'
6234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6238 (exit $ac_status); }; }; then
6239 ac_cv_lib_rt_nanosleep=yes
6241 echo "$as_me: failed program was:" >&5
6242 cat conftest.$ac_ext >&5
6243 ac_cv_lib_rt_nanosleep=no
6245 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6246 LIBS=$ac_check_lib_save_LIBS
6248 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_nanosleep" >&5
6249 echo "${ECHO_T}$ac_cv_lib_rt_nanosleep" >&6
6250 if test $ac_cv_lib_rt_nanosleep = yes; then
6251 vlc_LDFLAGS="${vlc_LDFLAGS} -lrt"; have_nanosleep=1
6253 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
6254 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
6255 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
6256 echo $ECHO_N "(cached) $ECHO_C" >&6
6258 ac_check_lib_save_LIBS=$LIBS
6259 LIBS="-lposix4 $LIBS"
6260 cat >conftest.$ac_ext <<_ACEOF
6261 #line $LINENO "configure"
6262 #include "confdefs.h"
6264 /* Override any gcc2 internal prototype to avoid an error. */
6268 /* We use char because int might match the return type of a gcc2
6269 builtin and then its argument prototype would still apply. */
6279 rm -f conftest.$ac_objext conftest$ac_exeext
6280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6281 (eval $ac_link) 2>&5
6283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6284 (exit $ac_status); } &&
6285 { ac_try='test -s conftest$ac_exeext'
6286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 (exit $ac_status); }; }; then
6291 ac_cv_lib_posix4_nanosleep=yes
6293 echo "$as_me: failed program was:" >&5
6294 cat conftest.$ac_ext >&5
6295 ac_cv_lib_posix4_nanosleep=no
6297 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6298 LIBS=$ac_check_lib_save_LIBS
6300 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
6301 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
6302 if test $ac_cv_lib_posix4_nanosleep = yes; then
6303 vlc_LDFLAGS="${vlc_LDFLAGS} -lposix4"; have_nanosleep=1
6312 if test x$have_nanosleep = x1; then
6314 cat >>confdefs.h <<\_ACEOF
6315 #define HAVE_NANOSLEEP 1
6319 echo "$as_me:$LINENO: checking for inet_aton" >&5
6320 echo $ECHO_N "checking for inet_aton... $ECHO_C" >&6
6321 if test "${ac_cv_func_inet_aton+set}" = set; then
6322 echo $ECHO_N "(cached) $ECHO_C" >&6
6324 cat >conftest.$ac_ext <<_ACEOF
6325 #line $LINENO "configure"
6326 #include "confdefs.h"
6327 /* System header to define __stub macros and hopefully few prototypes,
6328 which can conflict with char inet_aton (); below. */
6330 /* Override any gcc2 internal prototype to avoid an error. */
6334 /* We use char because int might match the return type of a gcc2
6335 builtin and then its argument prototype would still apply. */
6342 /* The GNU C library defines this for functions which it implements
6343 to always fail with ENOSYS. Some functions are actually named
6344 something starting with __ and the normal name is an alias. */
6345 #if defined (__stub_inet_aton) || defined (__stub___inet_aton)
6355 rm -f conftest.$ac_objext conftest$ac_exeext
6356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6357 (eval $ac_link) 2>&5
6359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6360 (exit $ac_status); } &&
6361 { ac_try='test -s conftest$ac_exeext'
6362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6366 (exit $ac_status); }; }; then
6367 ac_cv_func_inet_aton=yes
6369 echo "$as_me: failed program was:" >&5
6370 cat conftest.$ac_ext >&5
6371 ac_cv_func_inet_aton=no
6373 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6375 echo "$as_me:$LINENO: result: $ac_cv_func_inet_aton" >&5
6376 echo "${ECHO_T}$ac_cv_func_inet_aton" >&6
6377 if test $ac_cv_func_inet_aton = yes; then
6381 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
6382 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
6383 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
6384 echo $ECHO_N "(cached) $ECHO_C" >&6
6386 ac_check_lib_save_LIBS=$LIBS
6387 LIBS="-lresolv $LIBS"
6388 cat >conftest.$ac_ext <<_ACEOF
6389 #line $LINENO "configure"
6390 #include "confdefs.h"
6392 /* Override any gcc2 internal prototype to avoid an error. */
6396 /* We use char because int might match the return type of a gcc2
6397 builtin and then its argument prototype would still apply. */
6407 rm -f conftest.$ac_objext conftest$ac_exeext
6408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6409 (eval $ac_link) 2>&5
6411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6412 (exit $ac_status); } &&
6413 { ac_try='test -s conftest$ac_exeext'
6414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6418 (exit $ac_status); }; }; then
6419 ac_cv_lib_resolv_inet_aton=yes
6421 echo "$as_me: failed program was:" >&5
6422 cat conftest.$ac_ext >&5
6423 ac_cv_lib_resolv_inet_aton=no
6425 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6426 LIBS=$ac_check_lib_save_LIBS
6428 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
6429 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
6430 if test $ac_cv_lib_resolv_inet_aton = yes; then
6431 ipv4_LDFLAGS="${ipv4_LDFLAGS} -lresolv"
6437 echo "$as_me:$LINENO: checking for textdomain" >&5
6438 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6
6439 if test "${ac_cv_func_textdomain+set}" = set; then
6440 echo $ECHO_N "(cached) $ECHO_C" >&6
6442 cat >conftest.$ac_ext <<_ACEOF
6443 #line $LINENO "configure"
6444 #include "confdefs.h"
6445 /* System header to define __stub macros and hopefully few prototypes,
6446 which can conflict with char textdomain (); below. */
6448 /* Override any gcc2 internal prototype to avoid an error. */
6452 /* We use char because int might match the return type of a gcc2
6453 builtin and then its argument prototype would still apply. */
6460 /* The GNU C library defines this for functions which it implements
6461 to always fail with ENOSYS. Some functions are actually named
6462 something starting with __ and the normal name is an alias. */
6463 #if defined (__stub_textdomain) || defined (__stub___textdomain)
6473 rm -f conftest.$ac_objext conftest$ac_exeext
6474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6475 (eval $ac_link) 2>&5
6477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6478 (exit $ac_status); } &&
6479 { ac_try='test -s conftest$ac_exeext'
6480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6484 (exit $ac_status); }; }; then
6485 ac_cv_func_textdomain=yes
6487 echo "$as_me: failed program was:" >&5
6488 cat conftest.$ac_ext >&5
6489 ac_cv_func_textdomain=no
6491 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6493 echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5
6494 echo "${ECHO_T}$ac_cv_func_textdomain" >&6
6495 if test $ac_cv_func_textdomain = yes; then
6499 echo "$as_me:$LINENO: checking for textdomain in -lintl" >&5
6500 echo $ECHO_N "checking for textdomain in -lintl... $ECHO_C" >&6
6501 if test "${ac_cv_lib_intl_textdomain+set}" = set; then
6502 echo $ECHO_N "(cached) $ECHO_C" >&6
6504 ac_check_lib_save_LIBS=$LIBS
6506 cat >conftest.$ac_ext <<_ACEOF
6507 #line $LINENO "configure"
6508 #include "confdefs.h"
6510 /* Override any gcc2 internal prototype to avoid an error. */
6514 /* We use char because int might match the return type of a gcc2
6515 builtin and then its argument prototype would still apply. */
6525 rm -f conftest.$ac_objext conftest$ac_exeext
6526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6527 (eval $ac_link) 2>&5
6529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6530 (exit $ac_status); } &&
6531 { ac_try='test -s conftest$ac_exeext'
6532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6536 (exit $ac_status); }; }; then
6537 ac_cv_lib_intl_textdomain=yes
6539 echo "$as_me: failed program was:" >&5
6540 cat conftest.$ac_ext >&5
6541 ac_cv_lib_intl_textdomain=no
6543 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6544 LIBS=$ac_check_lib_save_LIBS
6546 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_textdomain" >&5
6547 echo "${ECHO_T}$ac_cv_lib_intl_textdomain" >&6
6548 if test $ac_cv_lib_intl_textdomain = yes; then
6549 save_LDFLAGS="${save_LDFLAGS} -lintl"
6557 echo "$as_me:$LINENO: checking for getopt_long" >&5
6558 echo $ECHO_N "checking for getopt_long... $ECHO_C" >&6
6559 if test "${ac_cv_func_getopt_long+set}" = set; then
6560 echo $ECHO_N "(cached) $ECHO_C" >&6
6562 cat >conftest.$ac_ext <<_ACEOF
6563 #line $LINENO "configure"
6564 #include "confdefs.h"
6565 /* System header to define __stub macros and hopefully few prototypes,
6566 which can conflict with char getopt_long (); below. */
6568 /* Override any gcc2 internal prototype to avoid an error. */
6572 /* We use char because int might match the return type of a gcc2
6573 builtin and then its argument prototype would still apply. */
6574 char getopt_long ();
6580 /* The GNU C library defines this for functions which it implements
6581 to always fail with ENOSYS. Some functions are actually named
6582 something starting with __ and the normal name is an alias. */
6583 #if defined (__stub_getopt_long) || defined (__stub___getopt_long)
6593 rm -f conftest.$ac_objext conftest$ac_exeext
6594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6595 (eval $ac_link) 2>&5
6597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6598 (exit $ac_status); } &&
6599 { ac_try='test -s conftest$ac_exeext'
6600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6604 (exit $ac_status); }; }; then
6605 ac_cv_func_getopt_long=yes
6607 echo "$as_me: failed program was:" >&5
6608 cat conftest.$ac_ext >&5
6609 ac_cv_func_getopt_long=no
6611 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6613 echo "$as_me:$LINENO: result: $ac_cv_func_getopt_long" >&5
6614 echo "${ECHO_T}$ac_cv_func_getopt_long" >&6
6615 if test $ac_cv_func_getopt_long = yes; then
6617 cat >>confdefs.h <<\_ACEOF
6618 #define HAVE_GETOPT_LONG 1
6622 # FreeBSD has a gnugetopt library for this:
6623 echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5
6624 echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6
6625 if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
6626 echo $ECHO_N "(cached) $ECHO_C" >&6
6628 ac_check_lib_save_LIBS=$LIBS
6629 LIBS="-lgnugetopt $LIBS"
6630 cat >conftest.$ac_ext <<_ACEOF
6631 #line $LINENO "configure"
6632 #include "confdefs.h"
6634 /* Override any gcc2 internal prototype to avoid an error. */
6638 /* We use char because int might match the return type of a gcc2
6639 builtin and then its argument prototype would still apply. */
6640 char getopt_long ();
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_lib_gnugetopt_getopt_long=yes
6663 echo "$as_me: failed program was:" >&5
6664 cat conftest.$ac_ext >&5
6665 ac_cv_lib_gnugetopt_getopt_long=no
6667 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6668 LIBS=$ac_check_lib_save_LIBS
6670 echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
6671 echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6
6672 if test $ac_cv_lib_gnugetopt_getopt_long = yes; then
6674 cat >>confdefs.h <<\_ACEOF
6675 #define HAVE_GETOPT_LONG 1
6677 vlc_LDFLAGS="${vlc_LDFLAGS} -lgnugetopt"
6685 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6686 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
6687 if test "${ac_cv_type_signal+set}" = set; then
6688 echo $ECHO_N "(cached) $ECHO_C" >&6
6690 cat >conftest.$ac_ext <<_ACEOF
6691 #line $LINENO "configure"
6692 #include "confdefs.h"
6693 #include <sys/types.h>
6699 extern "C" void (*signal (int, void (*)(int)))(int);
6701 void (*signal ()) ();
6712 rm -f conftest.$ac_objext
6713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6714 (eval $ac_compile) 2>&5
6716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6717 (exit $ac_status); } &&
6718 { ac_try='test -s conftest.$ac_objext'
6719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6723 (exit $ac_status); }; }; then
6724 ac_cv_type_signal=void
6726 echo "$as_me: failed program was:" >&5
6727 cat conftest.$ac_ext >&5
6728 ac_cv_type_signal=int
6730 rm -f conftest.$ac_objext conftest.$ac_ext
6732 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6733 echo "${ECHO_T}$ac_cv_type_signal" >&6
6735 cat >>confdefs.h <<_ACEOF
6736 #define RETSIGTYPE $ac_cv_type_signal
6740 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
6741 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
6742 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
6743 echo $ECHO_N "(cached) $ECHO_C" >&6
6745 ac_check_lib_save_LIBS=$LIBS
6747 cat >conftest.$ac_ext <<_ACEOF
6748 #line $LINENO "configure"
6749 #include "confdefs.h"
6751 /* Override any gcc2 internal prototype to avoid an error. */
6755 /* We use char because int might match the return type of a gcc2
6756 builtin and then its argument prototype would still apply. */
6766 rm -f conftest.$ac_objext conftest$ac_exeext
6767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6768 (eval $ac_link) 2>&5
6770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6771 (exit $ac_status); } &&
6772 { ac_try='test -s conftest$ac_exeext'
6773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6777 (exit $ac_status); }; }; then
6778 ac_cv_lib_dl_dlopen=yes
6780 echo "$as_me: failed program was:" >&5
6781 cat conftest.$ac_ext >&5
6782 ac_cv_lib_dl_dlopen=no
6784 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6785 LIBS=$ac_check_lib_save_LIBS
6787 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
6788 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
6789 if test $ac_cv_lib_dl_dlopen = yes; then
6790 vlc_LDFLAGS="${vlc_LDFLAGS} -ldl"
6793 echo "$as_me:$LINENO: checking for cos in -lm" >&5
6794 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
6795 if test "${ac_cv_lib_m_cos+set}" = set; then
6796 echo $ECHO_N "(cached) $ECHO_C" >&6
6798 ac_check_lib_save_LIBS=$LIBS
6800 cat >conftest.$ac_ext <<_ACEOF
6801 #line $LINENO "configure"
6802 #include "confdefs.h"
6804 /* Override any gcc2 internal prototype to avoid an error. */
6808 /* We use char because int might match the return type of a gcc2
6809 builtin and then its argument prototype would still apply. */
6819 rm -f conftest.$ac_objext conftest$ac_exeext
6820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6821 (eval $ac_link) 2>&5
6823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6824 (exit $ac_status); } &&
6825 { ac_try='test -s conftest$ac_exeext'
6826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6830 (exit $ac_status); }; }; then
6833 echo "$as_me: failed program was:" >&5
6834 cat conftest.$ac_ext >&5
6837 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6838 LIBS=$ac_check_lib_save_LIBS
6840 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
6841 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
6842 if test $ac_cv_lib_m_cos = yes; then
6843 imdct_LDFLAGS="${imdct_LDFLAGS} -lm"
6844 filter_distort_LDFLAGS="${filter_distort_LDFLAGS} -lm"
6847 echo "$as_me:$LINENO: checking for pow in -lm" >&5
6848 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
6849 if test "${ac_cv_lib_m_pow+set}" = set; then
6850 echo $ECHO_N "(cached) $ECHO_C" >&6
6852 ac_check_lib_save_LIBS=$LIBS
6854 cat >conftest.$ac_ext <<_ACEOF
6855 #line $LINENO "configure"
6856 #include "confdefs.h"
6858 /* Override any gcc2 internal prototype to avoid an error. */
6862 /* We use char because int might match the return type of a gcc2
6863 builtin and then its argument prototype would still apply. */
6873 rm -f conftest.$ac_objext conftest$ac_exeext
6874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6875 (eval $ac_link) 2>&5
6877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6878 (exit $ac_status); } &&
6879 { ac_try='test -s conftest$ac_exeext'
6880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6884 (exit $ac_status); }; }; then
6887 echo "$as_me: failed program was:" >&5
6888 cat conftest.$ac_ext >&5
6891 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6892 LIBS=$ac_check_lib_save_LIBS
6894 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
6895 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
6896 if test $ac_cv_lib_m_pow = yes; then
6897 imdct_LDFLAGS="${imdct_LDFLAGS} -lm"
6898 imdct3dn_LDFLAGS="${imdct3dn_LDFLAGS} -lm"
6899 imdctsse_LDFLAGS="${imdctsse_LDFLAGS} -lm"
6900 chroma_i420_rgb_LDFLAGS="${chroma_i420_rgb_LDFLAGS} -lm"
6906 if test "x${THREAD_LIB}" = xerror; then
6907 echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthread" >&5
6908 echo $ECHO_N "checking for pthread_attr_init in -lpthread... $ECHO_C" >&6
6909 if test "${ac_cv_lib_pthread_pthread_attr_init+set}" = set; then
6910 echo $ECHO_N "(cached) $ECHO_C" >&6
6912 ac_check_lib_save_LIBS=$LIBS
6913 LIBS="-lpthread $LIBS"
6914 cat >conftest.$ac_ext <<_ACEOF
6915 #line $LINENO "configure"
6916 #include "confdefs.h"
6918 /* Override any gcc2 internal prototype to avoid an error. */
6922 /* We use char because int might match the return type of a gcc2
6923 builtin and then its argument prototype would still apply. */
6924 char pthread_attr_init ();
6928 pthread_attr_init ();
6933 rm -f conftest.$ac_objext conftest$ac_exeext
6934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6935 (eval $ac_link) 2>&5
6937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6938 (exit $ac_status); } &&
6939 { ac_try='test -s conftest$ac_exeext'
6940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6944 (exit $ac_status); }; }; then
6945 ac_cv_lib_pthread_pthread_attr_init=yes
6947 echo "$as_me: failed program was:" >&5
6948 cat conftest.$ac_ext >&5
6949 ac_cv_lib_pthread_pthread_attr_init=no
6951 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6952 LIBS=$ac_check_lib_save_LIBS
6954 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_attr_init" >&5
6955 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_attr_init" >&6
6956 if test $ac_cv_lib_pthread_pthread_attr_init = yes; then
6957 THREAD_LIB="-lpthread"
6961 if test "x${THREAD_LIB}" = xerror; then
6962 echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthreads" >&5
6963 echo $ECHO_N "checking for pthread_attr_init in -lpthreads... $ECHO_C" >&6
6964 if test "${ac_cv_lib_pthreads_pthread_attr_init+set}" = set; then
6965 echo $ECHO_N "(cached) $ECHO_C" >&6
6967 ac_check_lib_save_LIBS=$LIBS
6968 LIBS="-lpthreads $LIBS"
6969 cat >conftest.$ac_ext <<_ACEOF
6970 #line $LINENO "configure"
6971 #include "confdefs.h"
6973 /* Override any gcc2 internal prototype to avoid an error. */
6977 /* We use char because int might match the return type of a gcc2
6978 builtin and then its argument prototype would still apply. */
6979 char pthread_attr_init ();
6983 pthread_attr_init ();
6988 rm -f conftest.$ac_objext conftest$ac_exeext
6989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6990 (eval $ac_link) 2>&5
6992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6993 (exit $ac_status); } &&
6994 { ac_try='test -s conftest$ac_exeext'
6995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6999 (exit $ac_status); }; }; then
7000 ac_cv_lib_pthreads_pthread_attr_init=yes
7002 echo "$as_me: failed program was:" >&5
7003 cat conftest.$ac_ext >&5
7004 ac_cv_lib_pthreads_pthread_attr_init=no
7006 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7007 LIBS=$ac_check_lib_save_LIBS
7009 echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_pthread_attr_init" >&5
7010 echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_attr_init" >&6
7011 if test $ac_cv_lib_pthreads_pthread_attr_init = yes; then
7012 THREAD_LIB="-lpthreads"
7016 if test "x${THREAD_LIB}" = xerror; then
7017 echo "$as_me:$LINENO: checking for pthread_attr_init in -lc_r" >&5
7018 echo $ECHO_N "checking for pthread_attr_init in -lc_r... $ECHO_C" >&6
7019 if test "${ac_cv_lib_c_r_pthread_attr_init+set}" = set; then
7020 echo $ECHO_N "(cached) $ECHO_C" >&6
7022 ac_check_lib_save_LIBS=$LIBS
7024 cat >conftest.$ac_ext <<_ACEOF
7025 #line $LINENO "configure"
7026 #include "confdefs.h"
7028 /* Override any gcc2 internal prototype to avoid an error. */
7032 /* We use char because int might match the return type of a gcc2
7033 builtin and then its argument prototype would still apply. */
7034 char pthread_attr_init ();
7038 pthread_attr_init ();
7043 rm -f conftest.$ac_objext conftest$ac_exeext
7044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7045 (eval $ac_link) 2>&5
7047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7048 (exit $ac_status); } &&
7049 { ac_try='test -s conftest$ac_exeext'
7050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7054 (exit $ac_status); }; }; then
7055 ac_cv_lib_c_r_pthread_attr_init=yes
7057 echo "$as_me: failed program was:" >&5
7058 cat conftest.$ac_ext >&5
7059 ac_cv_lib_c_r_pthread_attr_init=no
7061 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7062 LIBS=$ac_check_lib_save_LIBS
7064 echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_attr_init" >&5
7065 echo "${ECHO_T}$ac_cv_lib_c_r_pthread_attr_init" >&6
7066 if test $ac_cv_lib_c_r_pthread_attr_init = yes; then
7071 if test "x${THREAD_LIB}" = xerror; then
7072 echo "$as_me:$LINENO: checking for pthread_attr_init" >&5
7073 echo $ECHO_N "checking for pthread_attr_init... $ECHO_C" >&6
7074 if test "${ac_cv_func_pthread_attr_init+set}" = set; then
7075 echo $ECHO_N "(cached) $ECHO_C" >&6
7077 cat >conftest.$ac_ext <<_ACEOF
7078 #line $LINENO "configure"
7079 #include "confdefs.h"
7080 /* System header to define __stub macros and hopefully few prototypes,
7081 which can conflict with char pthread_attr_init (); below. */
7083 /* Override any gcc2 internal prototype to avoid an error. */
7087 /* We use char because int might match the return type of a gcc2
7088 builtin and then its argument prototype would still apply. */
7089 char pthread_attr_init ();
7095 /* The GNU C library defines this for functions which it implements
7096 to always fail with ENOSYS. Some functions are actually named
7097 something starting with __ and the normal name is an alias. */
7098 #if defined (__stub_pthread_attr_init) || defined (__stub___pthread_attr_init)
7101 f = pthread_attr_init;
7108 rm -f conftest.$ac_objext conftest$ac_exeext
7109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7110 (eval $ac_link) 2>&5
7112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7113 (exit $ac_status); } &&
7114 { ac_try='test -s conftest$ac_exeext'
7115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7119 (exit $ac_status); }; }; then
7120 ac_cv_func_pthread_attr_init=yes
7122 echo "$as_me: failed program was:" >&5
7123 cat conftest.$ac_ext >&5
7124 ac_cv_func_pthread_attr_init=no
7126 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7128 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_init" >&5
7129 echo "${ECHO_T}$ac_cv_func_pthread_attr_init" >&6
7134 echo "$as_me:$LINENO: checking for cthread_fork in -lthreads" >&5
7135 echo $ECHO_N "checking for cthread_fork in -lthreads... $ECHO_C" >&6
7136 if test "${ac_cv_lib_threads_cthread_fork+set}" = set; then
7137 echo $ECHO_N "(cached) $ECHO_C" >&6
7139 ac_check_lib_save_LIBS=$LIBS
7140 LIBS="-lthreads $LIBS"
7141 cat >conftest.$ac_ext <<_ACEOF
7142 #line $LINENO "configure"
7143 #include "confdefs.h"
7145 /* Override any gcc2 internal prototype to avoid an error. */
7149 /* We use char because int might match the return type of a gcc2
7150 builtin and then its argument prototype would still apply. */
7151 char cthread_fork ();
7160 rm -f conftest.$ac_objext conftest$ac_exeext
7161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7162 (eval $ac_link) 2>&5
7164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7165 (exit $ac_status); } &&
7166 { ac_try='test -s conftest$ac_exeext'
7167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7171 (exit $ac_status); }; }; then
7172 ac_cv_lib_threads_cthread_fork=yes
7174 echo "$as_me: failed program was:" >&5
7175 cat conftest.$ac_ext >&5
7176 ac_cv_lib_threads_cthread_fork=no
7178 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7179 LIBS=$ac_check_lib_save_LIBS
7181 echo "$as_me:$LINENO: result: $ac_cv_lib_threads_cthread_fork" >&5
7182 echo "${ECHO_T}$ac_cv_lib_threads_cthread_fork" >&6
7183 if test $ac_cv_lib_threads_cthread_fork = yes; then
7184 THREAD_LIB="-lthreads"
7188 cat >conftest.$ac_ext <<_ACEOF
7189 #line $LINENO "configure"
7190 #include "confdefs.h"
7191 #include <pthread.h>
7194 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7195 $EGREP "pthread_cond_t" >/dev/null 2>&1; then
7198 cat >>confdefs.h <<\_ACEOF
7199 #define PTHREAD_COND_T_IN_PTHREAD_H 1
7205 cat >conftest.$ac_ext <<_ACEOF
7206 #line $LINENO "configure"
7207 #include "confdefs.h"
7208 #include <strings.h>
7211 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7212 $EGREP "strncasecmp" >/dev/null 2>&1; then
7215 cat >>confdefs.h <<\_ACEOF
7216 #define STRNCASECMP_IN_STRINGS_H 1
7228 for ac_header in stdint.h getopt.h strings.h inttypes.h sys/int_types.h
7230 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7231 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7232 echo "$as_me:$LINENO: checking for $ac_header" >&5
7233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7235 echo $ECHO_N "(cached) $ECHO_C" >&6
7237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7240 # Is the header compilable?
7241 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7242 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7243 cat >conftest.$ac_ext <<_ACEOF
7244 #line $LINENO "configure"
7245 #include "confdefs.h"
7246 $ac_includes_default
7247 #include <$ac_header>
7249 rm -f conftest.$ac_objext
7250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7251 (eval $ac_compile) 2>&5
7253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7254 (exit $ac_status); } &&
7255 { ac_try='test -s conftest.$ac_objext'
7256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7260 (exit $ac_status); }; }; then
7261 ac_header_compiler=yes
7263 echo "$as_me: failed program was:" >&5
7264 cat conftest.$ac_ext >&5
7265 ac_header_compiler=no
7267 rm -f conftest.$ac_objext conftest.$ac_ext
7268 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7269 echo "${ECHO_T}$ac_header_compiler" >&6
7271 # Is the header present?
7272 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7273 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7274 cat >conftest.$ac_ext <<_ACEOF
7275 #line $LINENO "configure"
7276 #include "confdefs.h"
7277 #include <$ac_header>
7279 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7280 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7282 grep -v '^ *+' conftest.er1 >conftest.err
7284 cat conftest.err >&5
7285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7286 (exit $ac_status); } >/dev/null; then
7287 if test -s conftest.err; then
7288 ac_cpp_err=$ac_c_preproc_warn_flag
7295 if test -z "$ac_cpp_err"; then
7296 ac_header_preproc=yes
7298 echo "$as_me: failed program was:" >&5
7299 cat conftest.$ac_ext >&5
7300 ac_header_preproc=no
7302 rm -f conftest.err conftest.$ac_ext
7303 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7304 echo "${ECHO_T}$ac_header_preproc" >&6
7306 # So? What about this header?
7307 case $ac_header_compiler:$ac_header_preproc in
7309 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7310 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7311 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7312 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7314 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7315 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7316 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7317 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7318 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7319 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7321 echo "$as_me:$LINENO: checking for $ac_header" >&5
7322 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7323 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7324 echo $ECHO_N "(cached) $ECHO_C" >&6
7326 eval "$as_ac_Header=$ac_header_preproc"
7328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7329 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7332 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7333 cat >>confdefs.h <<_ACEOF
7334 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7346 for ac_header in sys/sockio.h fcntl.h sys/types.h sys/time.h sys/times.h
7348 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7350 echo "$as_me:$LINENO: checking for $ac_header" >&5
7351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7352 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7353 echo $ECHO_N "(cached) $ECHO_C" >&6
7355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7356 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7358 # Is the header compilable?
7359 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7360 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7361 cat >conftest.$ac_ext <<_ACEOF
7362 #line $LINENO "configure"
7363 #include "confdefs.h"
7364 $ac_includes_default
7365 #include <$ac_header>
7367 rm -f conftest.$ac_objext
7368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7369 (eval $ac_compile) 2>&5
7371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7372 (exit $ac_status); } &&
7373 { ac_try='test -s conftest.$ac_objext'
7374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7378 (exit $ac_status); }; }; then
7379 ac_header_compiler=yes
7381 echo "$as_me: failed program was:" >&5
7382 cat conftest.$ac_ext >&5
7383 ac_header_compiler=no
7385 rm -f conftest.$ac_objext conftest.$ac_ext
7386 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7387 echo "${ECHO_T}$ac_header_compiler" >&6
7389 # Is the header present?
7390 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7391 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7392 cat >conftest.$ac_ext <<_ACEOF
7393 #line $LINENO "configure"
7394 #include "confdefs.h"
7395 #include <$ac_header>
7397 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7398 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7400 grep -v '^ *+' conftest.er1 >conftest.err
7402 cat conftest.err >&5
7403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7404 (exit $ac_status); } >/dev/null; then
7405 if test -s conftest.err; then
7406 ac_cpp_err=$ac_c_preproc_warn_flag
7413 if test -z "$ac_cpp_err"; then
7414 ac_header_preproc=yes
7416 echo "$as_me: failed program was:" >&5
7417 cat conftest.$ac_ext >&5
7418 ac_header_preproc=no
7420 rm -f conftest.err conftest.$ac_ext
7421 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7422 echo "${ECHO_T}$ac_header_preproc" >&6
7424 # So? What about this header?
7425 case $ac_header_compiler:$ac_header_preproc in
7427 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7428 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7429 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7430 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7432 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7433 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7434 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7435 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7436 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7437 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7439 echo "$as_me:$LINENO: checking for $ac_header" >&5
7440 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7441 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7442 echo $ECHO_N "(cached) $ECHO_C" >&6
7444 eval "$as_ac_Header=$ac_header_preproc"
7446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7447 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7450 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7451 cat >>confdefs.h <<_ACEOF
7452 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7461 for ac_header in dlfcn.h image.h
7463 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7464 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7465 echo "$as_me:$LINENO: checking for $ac_header" >&5
7466 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7467 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7468 echo $ECHO_N "(cached) $ECHO_C" >&6
7470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7471 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7473 # Is the header compilable?
7474 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7475 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7476 cat >conftest.$ac_ext <<_ACEOF
7477 #line $LINENO "configure"
7478 #include "confdefs.h"
7479 $ac_includes_default
7480 #include <$ac_header>
7482 rm -f conftest.$ac_objext
7483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7484 (eval $ac_compile) 2>&5
7486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7487 (exit $ac_status); } &&
7488 { ac_try='test -s conftest.$ac_objext'
7489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7493 (exit $ac_status); }; }; then
7494 ac_header_compiler=yes
7496 echo "$as_me: failed program was:" >&5
7497 cat conftest.$ac_ext >&5
7498 ac_header_compiler=no
7500 rm -f conftest.$ac_objext conftest.$ac_ext
7501 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7502 echo "${ECHO_T}$ac_header_compiler" >&6
7504 # Is the header present?
7505 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7506 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7507 cat >conftest.$ac_ext <<_ACEOF
7508 #line $LINENO "configure"
7509 #include "confdefs.h"
7510 #include <$ac_header>
7512 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7513 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7515 grep -v '^ *+' conftest.er1 >conftest.err
7517 cat conftest.err >&5
7518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7519 (exit $ac_status); } >/dev/null; then
7520 if test -s conftest.err; then
7521 ac_cpp_err=$ac_c_preproc_warn_flag
7528 if test -z "$ac_cpp_err"; then
7529 ac_header_preproc=yes
7531 echo "$as_me: failed program was:" >&5
7532 cat conftest.$ac_ext >&5
7533 ac_header_preproc=no
7535 rm -f conftest.err conftest.$ac_ext
7536 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7537 echo "${ECHO_T}$ac_header_preproc" >&6
7539 # So? What about this header?
7540 case $ac_header_compiler:$ac_header_preproc in
7542 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7543 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7545 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7547 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7548 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7549 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7550 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7551 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7552 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7554 echo "$as_me:$LINENO: checking for $ac_header" >&5
7555 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7556 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7557 echo $ECHO_N "(cached) $ECHO_C" >&6
7559 eval "$as_ac_Header=$ac_header_preproc"
7561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7562 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7565 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7566 cat >>confdefs.h <<_ACEOF
7567 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7578 for ac_header in arpa/inet.h net/if.h netinet/in.h sys/socket.h
7580 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7581 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7582 echo "$as_me:$LINENO: checking for $ac_header" >&5
7583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7584 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7585 echo $ECHO_N "(cached) $ECHO_C" >&6
7587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7588 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7590 # Is the header compilable?
7591 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7592 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7593 cat >conftest.$ac_ext <<_ACEOF
7594 #line $LINENO "configure"
7595 #include "confdefs.h"
7596 $ac_includes_default
7597 #include <$ac_header>
7599 rm -f conftest.$ac_objext
7600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7601 (eval $ac_compile) 2>&5
7603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7604 (exit $ac_status); } &&
7605 { ac_try='test -s conftest.$ac_objext'
7606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7610 (exit $ac_status); }; }; then
7611 ac_header_compiler=yes
7613 echo "$as_me: failed program was:" >&5
7614 cat conftest.$ac_ext >&5
7615 ac_header_compiler=no
7617 rm -f conftest.$ac_objext conftest.$ac_ext
7618 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7619 echo "${ECHO_T}$ac_header_compiler" >&6
7621 # Is the header present?
7622 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7623 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7624 cat >conftest.$ac_ext <<_ACEOF
7625 #line $LINENO "configure"
7626 #include "confdefs.h"
7627 #include <$ac_header>
7629 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7630 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7632 grep -v '^ *+' conftest.er1 >conftest.err
7634 cat conftest.err >&5
7635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7636 (exit $ac_status); } >/dev/null; then
7637 if test -s conftest.err; then
7638 ac_cpp_err=$ac_c_preproc_warn_flag
7645 if test -z "$ac_cpp_err"; then
7646 ac_header_preproc=yes
7648 echo "$as_me: failed program was:" >&5
7649 cat conftest.$ac_ext >&5
7650 ac_header_preproc=no
7652 rm -f conftest.err conftest.$ac_ext
7653 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7654 echo "${ECHO_T}$ac_header_preproc" >&6
7656 # So? What about this header?
7657 case $ac_header_compiler:$ac_header_preproc in
7659 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7660 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7661 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7662 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7664 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7665 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7666 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7667 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7668 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7669 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7671 echo "$as_me:$LINENO: checking for $ac_header" >&5
7672 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7673 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7674 echo $ECHO_N "(cached) $ECHO_C" >&6
7676 eval "$as_ac_Header=$ac_header_preproc"
7678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7679 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7682 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7683 cat >>confdefs.h <<_ACEOF
7684 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7693 for ac_header in machine/param.h sys/shm.h
7695 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7697 echo "$as_me:$LINENO: checking for $ac_header" >&5
7698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7700 echo $ECHO_N "(cached) $ECHO_C" >&6
7702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7703 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7705 # Is the header compilable?
7706 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7707 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7708 cat >conftest.$ac_ext <<_ACEOF
7709 #line $LINENO "configure"
7710 #include "confdefs.h"
7711 $ac_includes_default
7712 #include <$ac_header>
7714 rm -f conftest.$ac_objext
7715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7716 (eval $ac_compile) 2>&5
7718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7719 (exit $ac_status); } &&
7720 { ac_try='test -s conftest.$ac_objext'
7721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7725 (exit $ac_status); }; }; then
7726 ac_header_compiler=yes
7728 echo "$as_me: failed program was:" >&5
7729 cat conftest.$ac_ext >&5
7730 ac_header_compiler=no
7732 rm -f conftest.$ac_objext conftest.$ac_ext
7733 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7734 echo "${ECHO_T}$ac_header_compiler" >&6
7736 # Is the header present?
7737 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7738 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7739 cat >conftest.$ac_ext <<_ACEOF
7740 #line $LINENO "configure"
7741 #include "confdefs.h"
7742 #include <$ac_header>
7744 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7745 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7747 grep -v '^ *+' conftest.er1 >conftest.err
7749 cat conftest.err >&5
7750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7751 (exit $ac_status); } >/dev/null; then
7752 if test -s conftest.err; then
7753 ac_cpp_err=$ac_c_preproc_warn_flag
7760 if test -z "$ac_cpp_err"; then
7761 ac_header_preproc=yes
7763 echo "$as_me: failed program was:" >&5
7764 cat conftest.$ac_ext >&5
7765 ac_header_preproc=no
7767 rm -f conftest.err conftest.$ac_ext
7768 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7769 echo "${ECHO_T}$ac_header_preproc" >&6
7771 # So? What about this header?
7772 case $ac_header_compiler:$ac_header_preproc in
7774 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7775 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7776 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7777 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7779 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7780 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7781 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7782 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7783 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7784 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7786 echo "$as_me:$LINENO: checking for $ac_header" >&5
7787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7789 echo $ECHO_N "(cached) $ECHO_C" >&6
7791 eval "$as_ac_Header=$ac_header_preproc"
7793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7794 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7797 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7798 cat >>confdefs.h <<_ACEOF
7799 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7807 for ac_header in linux/version.h
7809 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7811 echo "$as_me:$LINENO: checking for $ac_header" >&5
7812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7813 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7814 echo $ECHO_N "(cached) $ECHO_C" >&6
7816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7817 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7819 # Is the header compilable?
7820 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7821 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7822 cat >conftest.$ac_ext <<_ACEOF
7823 #line $LINENO "configure"
7824 #include "confdefs.h"
7825 $ac_includes_default
7826 #include <$ac_header>
7828 rm -f conftest.$ac_objext
7829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7830 (eval $ac_compile) 2>&5
7832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7833 (exit $ac_status); } &&
7834 { ac_try='test -s conftest.$ac_objext'
7835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7839 (exit $ac_status); }; }; then
7840 ac_header_compiler=yes
7842 echo "$as_me: failed program was:" >&5
7843 cat conftest.$ac_ext >&5
7844 ac_header_compiler=no
7846 rm -f conftest.$ac_objext conftest.$ac_ext
7847 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7848 echo "${ECHO_T}$ac_header_compiler" >&6
7850 # Is the header present?
7851 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7852 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7853 cat >conftest.$ac_ext <<_ACEOF
7854 #line $LINENO "configure"
7855 #include "confdefs.h"
7856 #include <$ac_header>
7858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7859 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7861 grep -v '^ *+' conftest.er1 >conftest.err
7863 cat conftest.err >&5
7864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7865 (exit $ac_status); } >/dev/null; then
7866 if test -s conftest.err; then
7867 ac_cpp_err=$ac_c_preproc_warn_flag
7874 if test -z "$ac_cpp_err"; then
7875 ac_header_preproc=yes
7877 echo "$as_me: failed program was:" >&5
7878 cat conftest.$ac_ext >&5
7879 ac_header_preproc=no
7881 rm -f conftest.err conftest.$ac_ext
7882 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7883 echo "${ECHO_T}$ac_header_preproc" >&6
7885 # So? What about this header?
7886 case $ac_header_compiler:$ac_header_preproc in
7888 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7889 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7890 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7891 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7893 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7894 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7895 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7896 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7897 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7898 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7900 echo "$as_me:$LINENO: checking for $ac_header" >&5
7901 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7903 echo $ECHO_N "(cached) $ECHO_C" >&6
7905 eval "$as_ac_Header=$ac_header_preproc"
7907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7908 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7911 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7912 cat >>confdefs.h <<_ACEOF
7913 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7921 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
7922 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
7923 if test "${ac_cv_header_time+set}" = set; then
7924 echo $ECHO_N "(cached) $ECHO_C" >&6
7926 cat >conftest.$ac_ext <<_ACEOF
7927 #line $LINENO "configure"
7928 #include "confdefs.h"
7929 #include <sys/types.h>
7930 #include <sys/time.h>
7936 if ((struct tm *) 0)
7942 rm -f conftest.$ac_objext
7943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7944 (eval $ac_compile) 2>&5
7946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7947 (exit $ac_status); } &&
7948 { ac_try='test -s conftest.$ac_objext'
7949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7953 (exit $ac_status); }; }; then
7954 ac_cv_header_time=yes
7956 echo "$as_me: failed program was:" >&5
7957 cat conftest.$ac_ext >&5
7958 ac_cv_header_time=no
7960 rm -f conftest.$ac_objext conftest.$ac_ext
7962 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
7963 echo "${ECHO_T}$ac_cv_header_time" >&6
7964 if test $ac_cv_header_time = yes; then
7966 cat >>confdefs.h <<\_ACEOF
7967 #define TIME_WITH_SYS_TIME 1
7973 cat >conftest.$ac_ext <<_ACEOF
7974 #line $LINENO "configure"
7975 #include "confdefs.h"
7979 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7980 $EGREP "nanosleep" >/dev/null 2>&1; then
7983 cat >>confdefs.h <<\_ACEOF
7984 #define HAVE_DECL_NANOSLEEP 1
7992 cat >conftest.$ac_ext <<_ACEOF
7993 #line $LINENO "configure"
7994 #include "confdefs.h"
7995 #include <sys/time.h>
7998 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7999 $EGREP "timespec" >/dev/null 2>&1; then
8002 cat >>confdefs.h <<\_ACEOF
8003 #define HAVE_STRUCT_TIMESPEC 1
8015 for ac_header in cthreads.h pthread.h kernel/scheduler.h kernel/OS.h
8017 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8018 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8019 echo "$as_me:$LINENO: checking for $ac_header" >&5
8020 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8021 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8022 echo $ECHO_N "(cached) $ECHO_C" >&6
8024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8025 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8027 # Is the header compilable?
8028 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8029 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8030 cat >conftest.$ac_ext <<_ACEOF
8031 #line $LINENO "configure"
8032 #include "confdefs.h"
8033 $ac_includes_default
8034 #include <$ac_header>
8036 rm -f conftest.$ac_objext
8037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8038 (eval $ac_compile) 2>&5
8040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8041 (exit $ac_status); } &&
8042 { ac_try='test -s conftest.$ac_objext'
8043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8047 (exit $ac_status); }; }; then
8048 ac_header_compiler=yes
8050 echo "$as_me: failed program was:" >&5
8051 cat conftest.$ac_ext >&5
8052 ac_header_compiler=no
8054 rm -f conftest.$ac_objext conftest.$ac_ext
8055 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8056 echo "${ECHO_T}$ac_header_compiler" >&6
8058 # Is the header present?
8059 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8060 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8061 cat >conftest.$ac_ext <<_ACEOF
8062 #line $LINENO "configure"
8063 #include "confdefs.h"
8064 #include <$ac_header>
8066 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8067 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8069 grep -v '^ *+' conftest.er1 >conftest.err
8071 cat conftest.err >&5
8072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8073 (exit $ac_status); } >/dev/null; then
8074 if test -s conftest.err; then
8075 ac_cpp_err=$ac_c_preproc_warn_flag
8082 if test -z "$ac_cpp_err"; then
8083 ac_header_preproc=yes
8085 echo "$as_me: failed program was:" >&5
8086 cat conftest.$ac_ext >&5
8087 ac_header_preproc=no
8089 rm -f conftest.err conftest.$ac_ext
8090 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8091 echo "${ECHO_T}$ac_header_preproc" >&6
8093 # So? What about this header?
8094 case $ac_header_compiler:$ac_header_preproc in
8096 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8097 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8098 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8099 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8101 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8102 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8103 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8104 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8105 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8106 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8108 echo "$as_me:$LINENO: checking for $ac_header" >&5
8109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8111 echo $ECHO_N "(cached) $ECHO_C" >&6
8113 eval "$as_ac_Header=$ac_header_preproc"
8115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8119 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8120 cat >>confdefs.h <<_ACEOF
8121 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8129 if test x$SYS != xmingw32
8131 if test x$x_includes = xNONE; then
8132 x_includes=/usr/X11R6/include
8134 if test x$x_libraries = xNONE; then
8135 x_libraries=/usr/X11R6/lib
8137 CPPFLAGS="$save_CPPFLAGS -I$x_includes"
8139 for ac_header in X11/extensions/dpms.h
8141 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8143 echo "$as_me:$LINENO: checking for $ac_header" >&5
8144 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8145 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8146 echo $ECHO_N "(cached) $ECHO_C" >&6
8148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8149 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8151 # Is the header compilable?
8152 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8153 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8154 cat >conftest.$ac_ext <<_ACEOF
8155 #line $LINENO "configure"
8156 #include "confdefs.h"
8157 $ac_includes_default
8158 #include <$ac_header>
8160 rm -f conftest.$ac_objext
8161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8162 (eval $ac_compile) 2>&5
8164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8165 (exit $ac_status); } &&
8166 { ac_try='test -s conftest.$ac_objext'
8167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8171 (exit $ac_status); }; }; then
8172 ac_header_compiler=yes
8174 echo "$as_me: failed program was:" >&5
8175 cat conftest.$ac_ext >&5
8176 ac_header_compiler=no
8178 rm -f conftest.$ac_objext conftest.$ac_ext
8179 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8180 echo "${ECHO_T}$ac_header_compiler" >&6
8182 # Is the header present?
8183 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8184 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8185 cat >conftest.$ac_ext <<_ACEOF
8186 #line $LINENO "configure"
8187 #include "confdefs.h"
8188 #include <$ac_header>
8190 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8191 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8193 grep -v '^ *+' conftest.er1 >conftest.err
8195 cat conftest.err >&5
8196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8197 (exit $ac_status); } >/dev/null; then
8198 if test -s conftest.err; then
8199 ac_cpp_err=$ac_c_preproc_warn_flag
8206 if test -z "$ac_cpp_err"; then
8207 ac_header_preproc=yes
8209 echo "$as_me: failed program was:" >&5
8210 cat conftest.$ac_ext >&5
8211 ac_header_preproc=no
8213 rm -f conftest.err conftest.$ac_ext
8214 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8215 echo "${ECHO_T}$ac_header_preproc" >&6
8217 # So? What about this header?
8218 case $ac_header_compiler:$ac_header_preproc in
8220 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8221 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8222 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8223 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8225 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8226 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8227 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8228 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8229 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8230 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8232 echo "$as_me:$LINENO: checking for $ac_header" >&5
8233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8235 echo $ECHO_N "(cached) $ECHO_C" >&6
8237 eval "$as_ac_Header=$ac_header_preproc"
8239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8243 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8244 cat >>confdefs.h <<_ACEOF
8245 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8248 cat >conftest.$ac_ext <<_ACEOF
8249 #line $LINENO "configure"
8250 #include "confdefs.h"
8251 #include <X11/extensions/dpms.h>
8254 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8255 $EGREP "DPMSInfo" >/dev/null 2>&1; then
8258 cat >>confdefs.h <<\_ACEOF
8259 #define DPMSINFO_IN_DPMS_H 1
8271 CPPFLAGS="$save_CPPFLAGS"
8274 echo "$as_me:$LINENO: checking for ntohl in sys/param.h" >&5
8275 echo $ECHO_N "checking for ntohl in sys/param.h... $ECHO_C" >&6
8276 if test "${ac_cv_c_ntohl_sys_param_h+set}" = set; then
8277 echo $ECHO_N "(cached) $ECHO_C" >&6
8279 CFLAGS="${save_CFLAGS} -Wall -Werror"
8280 cat >conftest.$ac_ext <<_ACEOF
8281 #line $LINENO "configure"
8282 #include "confdefs.h"
8283 #include <sys/param.h>
8287 void foo() { int meuh; ntohl(meuh); }
8292 rm -f conftest.$ac_objext
8293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8294 (eval $ac_compile) 2>&5
8296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8297 (exit $ac_status); } &&
8298 { ac_try='test -s conftest.$ac_objext'
8299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8303 (exit $ac_status); }; }; then
8304 ac_cv_c_ntohl_sys_param_h=yes
8306 echo "$as_me: failed program was:" >&5
8307 cat conftest.$ac_ext >&5
8308 ac_cv_c_ntohl_sys_param_h=no
8310 rm -f conftest.$ac_objext conftest.$ac_ext
8312 echo "$as_me:$LINENO: result: $ac_cv_c_ntohl_sys_param_h" >&5
8313 echo "${ECHO_T}$ac_cv_c_ntohl_sys_param_h" >&6
8314 if test x"$ac_cv_c_ntohl_sys_param_h" != x"no"; then
8316 cat >>confdefs.h <<\_ACEOF
8317 #define NTOHL_IN_SYS_PARAM_H 1
8322 echo "$as_me:$LINENO: checking if \$CC accepts -finline-limit" >&5
8323 echo $ECHO_N "checking if \$CC accepts -finline-limit... $ECHO_C" >&6
8324 if test "${ac_cv_c_inline_limit+set}" = set; then
8325 echo $ECHO_N "(cached) $ECHO_C" >&6
8327 CFLAGS="${save_CFLAGS} -finline-limit-30000"
8328 cat >conftest.$ac_ext <<_ACEOF
8329 #line $LINENO "configure"
8330 #include "confdefs.h"
8340 rm -f conftest.$ac_objext
8341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8342 (eval $ac_compile) 2>&5
8344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8345 (exit $ac_status); } &&
8346 { ac_try='test -s conftest.$ac_objext'
8347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8351 (exit $ac_status); }; }; then
8352 ac_cv_c_inline_limit=yes
8354 echo "$as_me: failed program was:" >&5
8355 cat conftest.$ac_ext >&5
8356 ac_cv_c_inline_limit=no
8358 rm -f conftest.$ac_objext conftest.$ac_ext
8360 echo "$as_me:$LINENO: result: $ac_cv_c_inline_limit" >&5
8361 echo "${ECHO_T}$ac_cv_c_inline_limit" >&6
8362 if test x"$ac_cv_c_inline_limit" != x"no"; then
8363 save_CFLAGS="${save_CFLAGS} -finline-limit-30000"
8366 echo "$as_me:$LINENO: checking if \$CC accepts -Wall -Winline" >&5
8367 echo $ECHO_N "checking if \$CC accepts -Wall -Winline... $ECHO_C" >&6
8368 if test "${ac_cv_c_Wall_Winline+set}" = set; then
8369 echo $ECHO_N "(cached) $ECHO_C" >&6
8371 CFLAGS="${save_CFLAGS} -Wall -Winline"
8372 cat >conftest.$ac_ext <<_ACEOF
8373 #line $LINENO "configure"
8374 #include "confdefs.h"
8384 rm -f conftest.$ac_objext
8385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8386 (eval $ac_compile) 2>&5
8388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8389 (exit $ac_status); } &&
8390 { ac_try='test -s conftest.$ac_objext'
8391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8395 (exit $ac_status); }; }; then
8396 ac_cv_c_Wall_Winline=yes
8398 echo "$as_me: failed program was:" >&5
8399 cat conftest.$ac_ext >&5
8400 ac_cv_c_Wall_Winline=no
8402 rm -f conftest.$ac_objext conftest.$ac_ext
8404 echo "$as_me:$LINENO: result: $ac_cv_c_Wall_Winline" >&5
8405 echo "${ECHO_T}$ac_cv_c_Wall_Winline" >&6
8406 if test x"$ac_cv_c_Wall_Winline" != x"no"; then
8407 save_CFLAGS="${save_CFLAGS} -Wall -Winline"
8409 echo "$as_me:$LINENO: checking if \$CC accepts -wall -winline" >&5
8410 echo $ECHO_N "checking if \$CC accepts -wall -winline... $ECHO_C" >&6
8411 if test "${ac_cv_c_wall_winline+set}" = set; then
8412 echo $ECHO_N "(cached) $ECHO_C" >&6
8414 CFLAGS="${save_CFLAGS} -wall -winline"
8415 cat >conftest.$ac_ext <<_ACEOF
8416 #line $LINENO "configure"
8417 #include "confdefs.h"
8427 rm -f conftest.$ac_objext
8428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8429 (eval $ac_compile) 2>&5
8431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8432 (exit $ac_status); } &&
8433 { ac_try='test -s conftest.$ac_objext'
8434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8438 (exit $ac_status); }; }; then
8439 ac_cv_c_wall_winline=yes
8441 echo "$as_me: failed program was:" >&5
8442 cat conftest.$ac_ext >&5
8443 ac_cv_c_wall_winline=no
8445 rm -f conftest.$ac_objext conftest.$ac_ext
8447 echo "$as_me:$LINENO: result: $ac_cv_c_wall_winline" >&5
8448 echo "${ECHO_T}$ac_cv_c_wall_winline" >&6
8449 if test x"$ac_cv_c_wall_winline" != x"no"; then
8450 save_CFLAGS="${save_CFLAGS} -wall -winline"
8454 echo "$as_me:$LINENO: checking if \$CC accepts -pipe" >&5
8455 echo $ECHO_N "checking if \$CC accepts -pipe... $ECHO_C" >&6
8456 if test "${ac_cv_c_pipe+set}" = set; then
8457 echo $ECHO_N "(cached) $ECHO_C" >&6
8459 CFLAGS="${save_CFLAGS} -pipe"
8460 cat >conftest.$ac_ext <<_ACEOF
8461 #line $LINENO "configure"
8462 #include "confdefs.h"
8472 rm -f conftest.$ac_objext
8473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8474 (eval $ac_compile) 2>&5
8476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8477 (exit $ac_status); } &&
8478 { ac_try='test -s conftest.$ac_objext'
8479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8483 (exit $ac_status); }; }; then
8486 echo "$as_me: failed program was:" >&5
8487 cat conftest.$ac_ext >&5
8490 rm -f conftest.$ac_objext conftest.$ac_ext
8492 echo "$as_me:$LINENO: result: $ac_cv_c_pipe" >&5
8493 echo "${ECHO_T}$ac_cv_c_pipe" >&6
8494 if test x"$ac_cv_c_pipe" != x"no"; then
8495 save_CFLAGS="${save_CFLAGS} -pipe"
8498 echo "$as_me:$LINENO: checking if \$CC accepts -O3" >&5
8499 echo $ECHO_N "checking if \$CC accepts -O3... $ECHO_C" >&6
8500 if test "${ac_cv_c_o3+set}" = set; then
8501 echo $ECHO_N "(cached) $ECHO_C" >&6
8503 CFLAGS="${save_CFLAGS} -O3"
8504 cat >conftest.$ac_ext <<_ACEOF
8505 #line $LINENO "configure"
8506 #include "confdefs.h"
8516 rm -f conftest.$ac_objext
8517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8518 (eval $ac_compile) 2>&5
8520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8521 (exit $ac_status); } &&
8522 { ac_try='test -s conftest.$ac_objext'
8523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527 (exit $ac_status); }; }; then
8530 echo "$as_me: failed program was:" >&5
8531 cat conftest.$ac_ext >&5
8534 rm -f conftest.$ac_objext conftest.$ac_ext
8536 echo "$as_me:$LINENO: result: $ac_cv_c_o3" >&5
8537 echo "${ECHO_T}$ac_cv_c_o3" >&6
8538 if test x"$ac_cv_c_o3" != x"no"; then
8539 CFLAGS_OPTIM="${CFLAGS_OPTIM} -O3"
8541 echo "$as_me:$LINENO: checking if \$CC accepts -O2" >&5
8542 echo $ECHO_N "checking if \$CC accepts -O2... $ECHO_C" >&6
8543 if test "${ac_cv_c_o2+set}" = set; then
8544 echo $ECHO_N "(cached) $ECHO_C" >&6
8546 CFLAGS="${save_CFLAGS} -O2"
8547 cat >conftest.$ac_ext <<_ACEOF
8548 #line $LINENO "configure"
8549 #include "confdefs.h"
8559 rm -f conftest.$ac_objext
8560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8561 (eval $ac_compile) 2>&5
8563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8564 (exit $ac_status); } &&
8565 { ac_try='test -s conftest.$ac_objext'
8566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8570 (exit $ac_status); }; }; then
8573 echo "$as_me: failed program was:" >&5
8574 cat conftest.$ac_ext >&5
8577 rm -f conftest.$ac_objext conftest.$ac_ext
8579 echo "$as_me:$LINENO: result: $ac_cv_c_o2" >&5
8580 echo "${ECHO_T}$ac_cv_c_o2" >&6
8581 if test x"$ac_cv_c_o2" != x"no"; then
8582 CFLAGS_OPTIM="${CFLAGS_OPTIM} -O2"
8584 echo "$as_me:$LINENO: checking if \$CC accepts -O" >&5
8585 echo $ECHO_N "checking if \$CC accepts -O... $ECHO_C" >&6
8586 if test "${ac_cv_c_o+set}" = set; then
8587 echo $ECHO_N "(cached) $ECHO_C" >&6
8589 CFLAGS="${save_CFLAGS} -O"
8590 cat >conftest.$ac_ext <<_ACEOF
8591 #line $LINENO "configure"
8592 #include "confdefs.h"
8602 rm -f conftest.$ac_objext
8603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8604 (eval $ac_compile) 2>&5
8606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8607 (exit $ac_status); } &&
8608 { ac_try='test -s conftest.$ac_objext'
8609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8613 (exit $ac_status); }; }; then
8616 echo "$as_me: failed program was:" >&5
8617 cat conftest.$ac_ext >&5
8620 rm -f conftest.$ac_objext conftest.$ac_ext
8622 echo "$as_me:$LINENO: result: $ac_cv_c_o" >&5
8623 echo "${ECHO_T}$ac_cv_c_o" >&6
8624 if test x"$ac_cv_c_o" != x"no"; then
8625 CFLAGS_OPTIM="${CFLAGS_OPTIM} -O"
8630 echo "$as_me:$LINENO: checking if \$CC accepts -ffast-math" >&5
8631 echo $ECHO_N "checking if \$CC accepts -ffast-math... $ECHO_C" >&6
8632 if test "${ac_cv_c_fast_math+set}" = set; then
8633 echo $ECHO_N "(cached) $ECHO_C" >&6
8635 CFLAGS="${save_CFLAGS} -ffast-math"
8636 cat >conftest.$ac_ext <<_ACEOF
8637 #line $LINENO "configure"
8638 #include "confdefs.h"
8648 rm -f conftest.$ac_objext
8649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8650 (eval $ac_compile) 2>&5
8652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8653 (exit $ac_status); } &&
8654 { ac_try='test -s conftest.$ac_objext'
8655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8659 (exit $ac_status); }; }; then
8660 ac_cv_c_fast_math=yes
8662 echo "$as_me: failed program was:" >&5
8663 cat conftest.$ac_ext >&5
8664 ac_cv_c_fast_math=no
8666 rm -f conftest.$ac_objext conftest.$ac_ext
8668 echo "$as_me:$LINENO: result: $ac_cv_c_fast_math" >&5
8669 echo "${ECHO_T}$ac_cv_c_fast_math" >&6
8670 if test x"$ac_cv_c_fast_math" != x"no"; then
8671 CFLAGS_OPTIM="${CFLAGS_OPTIM} -ffast-math"
8674 echo "$as_me:$LINENO: checking if \$CC accepts -funroll-loops" >&5
8675 echo $ECHO_N "checking if \$CC accepts -funroll-loops... $ECHO_C" >&6
8676 if test "${ac_cv_c_unroll_loops+set}" = set; then
8677 echo $ECHO_N "(cached) $ECHO_C" >&6
8679 CFLAGS="${save_CFLAGS} -funroll-loops"
8680 cat >conftest.$ac_ext <<_ACEOF
8681 #line $LINENO "configure"
8682 #include "confdefs.h"
8692 rm -f conftest.$ac_objext
8693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8694 (eval $ac_compile) 2>&5
8696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8697 (exit $ac_status); } &&
8698 { ac_try='test -s conftest.$ac_objext'
8699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8703 (exit $ac_status); }; }; then
8704 ac_cv_c_unroll_loops=yes
8706 echo "$as_me: failed program was:" >&5
8707 cat conftest.$ac_ext >&5
8708 ac_cv_c_unroll_loops=no
8710 rm -f conftest.$ac_objext conftest.$ac_ext
8712 echo "$as_me:$LINENO: result: $ac_cv_c_unroll_loops" >&5
8713 echo "${ECHO_T}$ac_cv_c_unroll_loops" >&6
8714 if test x"$ac_cv_c_unroll_loops" != x"no"; then
8715 CFLAGS_OPTIM="${CFLAGS_OPTIM} -funroll-loops"
8718 echo "$as_me:$LINENO: checking if \$CC accepts -fomit-frame-pointer" >&5
8719 echo $ECHO_N "checking if \$CC accepts -fomit-frame-pointer... $ECHO_C" >&6
8720 if test "${ac_cv_c_omit_frame_pointer+set}" = set; then
8721 echo $ECHO_N "(cached) $ECHO_C" >&6
8723 CFLAGS="${save_CFLAGS} -fomit-frame-pointer"
8724 cat >conftest.$ac_ext <<_ACEOF
8725 #line $LINENO "configure"
8726 #include "confdefs.h"
8736 rm -f conftest.$ac_objext
8737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8738 (eval $ac_compile) 2>&5
8740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8741 (exit $ac_status); } &&
8742 { ac_try='test -s conftest.$ac_objext'
8743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747 (exit $ac_status); }; }; then
8748 ac_cv_c_omit_frame_pointer=yes
8750 echo "$as_me: failed program was:" >&5
8751 cat conftest.$ac_ext >&5
8752 ac_cv_c_omit_frame_pointer=no
8754 rm -f conftest.$ac_objext conftest.$ac_ext
8756 echo "$as_me:$LINENO: result: $ac_cv_c_omit_frame_pointer" >&5
8757 echo "${ECHO_T}$ac_cv_c_omit_frame_pointer" >&6
8758 if test x"$ac_cv_c_omit_frame_pointer" != x"no"; then
8759 CFLAGS_OPTIM_NODEBUG="${CFLAGS_OPTIM_NODEBUG} -fomit-frame-pointer"
8762 if test x$SYS = xmingw32
8764 echo "$as_me:$LINENO: checking if \$CC accepts -mms-bitfields" >&5
8765 echo $ECHO_N "checking if \$CC accepts -mms-bitfields... $ECHO_C" >&6
8766 if test "${ac_cv_c_mms_bitfields+set}" = set; then
8767 echo $ECHO_N "(cached) $ECHO_C" >&6
8769 CFLAGS="${save_CFLAGS} -mms-bitfields"
8770 cat >conftest.$ac_ext <<_ACEOF
8771 #line $LINENO "configure"
8772 #include "confdefs.h"
8782 rm -f conftest.$ac_objext
8783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8784 (eval $ac_compile) 2>&5
8786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8787 (exit $ac_status); } &&
8788 { ac_try='test -s conftest.$ac_objext'
8789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8793 (exit $ac_status); }; }; then
8794 ac_cv_c_mms_bitfields=yes
8796 echo "$as_me: failed program was:" >&5
8797 cat conftest.$ac_ext >&5
8798 ac_cv_c_mms_bitfields=no
8800 rm -f conftest.$ac_objext conftest.$ac_ext
8802 echo "$as_me:$LINENO: result: $ac_cv_c_mms_bitfields" >&5
8803 echo "${ECHO_T}$ac_cv_c_mms_bitfields" >&6
8804 if test x"$ac_cv_c_mms_bitfields" != x"no"; then
8805 save_CFLAGS="${save_CFLAGS} -mms-bitfields"
8806 plugins_CFLAGS="${plugins_CFLAGS} -mms-bitfields"
8808 save_CFLAGS="${save_CFLAGS} -fnative-struct"
8809 plugins_CFLAGS="${plugins_CFLAGS} -fnative-struct"
8813 echo "$as_me:$LINENO: checking if \$CC accepts -bundle -undefined error -lcc_dynamic" >&5
8814 echo $ECHO_N "checking if \$CC accepts -bundle -undefined error -lcc_dynamic... $ECHO_C" >&6
8815 if test "${ac_cv_ld_darwin+set}" = set; then
8816 echo $ECHO_N "(cached) $ECHO_C" >&6
8818 CFLAGS="${save_CFLAGS} -bundle -undefined error -lcc_dynamic"
8819 cat >conftest.$ac_ext <<_ACEOF
8820 #line $LINENO "configure"
8821 #include "confdefs.h"
8831 rm -f conftest.$ac_objext
8832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8833 (eval $ac_compile) 2>&5
8835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8836 (exit $ac_status); } &&
8837 { ac_try='test -s conftest.$ac_objext'
8838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8842 (exit $ac_status); }; }; then
8845 echo "$as_me: failed program was:" >&5
8846 cat conftest.$ac_ext >&5
8849 rm -f conftest.$ac_objext conftest.$ac_ext
8851 echo "$as_me:$LINENO: result: $ac_cv_ld_darwin" >&5
8852 echo "${ECHO_T}$ac_cv_ld_darwin" >&6
8853 if test x"$ac_cv_ld_darwin" != x"no"; then
8854 plugins_LDFLAGS="${plugins_LDFLAGS} -bundle -undefined error -lcc_dynamic"
8857 echo "$as_me:$LINENO: checking if \$CC accepts -shared" >&5
8858 echo $ECHO_N "checking if \$CC accepts -shared... $ECHO_C" >&6
8859 if test "${ac_cv_ld_plugins+set}" = set; then
8860 echo $ECHO_N "(cached) $ECHO_C" >&6
8862 CFLAGS="${save_CFLAGS} -shared"
8863 cat >conftest.$ac_ext <<_ACEOF
8864 #line $LINENO "configure"
8865 #include "confdefs.h"
8875 rm -f conftest.$ac_objext
8876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8877 (eval $ac_compile) 2>&5
8879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8880 (exit $ac_status); } &&
8881 { ac_try='test -s conftest.$ac_objext'
8882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8886 (exit $ac_status); }; }; then
8887 ac_cv_ld_plugins=yes
8889 echo "$as_me: failed program was:" >&5
8890 cat conftest.$ac_ext >&5
8893 rm -f conftest.$ac_objext conftest.$ac_ext
8895 echo "$as_me:$LINENO: result: $ac_cv_ld_plugins" >&5
8896 echo "${ECHO_T}$ac_cv_ld_plugins" >&6
8897 if test x"$ac_cv_ld_plugins" != x"no"; then
8898 plugins_LDFLAGS="${plugins_LDFLAGS} -shared"
8901 echo "$as_me:$LINENO: checking for variadic cpp macros" >&5
8902 echo $ECHO_N "checking for variadic cpp macros... $ECHO_C" >&6
8903 if test "${ac_cv_cpp_variadic_macros+set}" = set; then
8904 echo $ECHO_N "(cached) $ECHO_C" >&6
8906 CFLAGS="${save_CFLAGS}"
8907 cat >conftest.$ac_ext <<_ACEOF
8908 #line $LINENO "configure"
8909 #include "confdefs.h"
8911 #define a(b,c...) printf(b,##c)
8915 a("foo");a("%s","bar");a("%s%s","baz","quux");
8920 rm -f conftest.$ac_objext
8921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8922 (eval $ac_compile) 2>&5
8924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8925 (exit $ac_status); } &&
8926 { ac_try='test -s conftest.$ac_objext'
8927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8931 (exit $ac_status); }; }; then
8932 ac_cv_cpp_variadic_macros=yes
8934 echo "$as_me: failed program was:" >&5
8935 cat conftest.$ac_ext >&5
8936 ac_cv_cpp_variadic_macros=no
8938 rm -f conftest.$ac_objext conftest.$ac_ext
8940 echo "$as_me:$LINENO: result: $ac_cv_cpp_variadic_macros" >&5
8941 echo "${ECHO_T}$ac_cv_cpp_variadic_macros" >&6
8942 if test x"$ac_cv_cpp_variadic_macros" != x"no"; then
8944 cat >>confdefs.h <<\_ACEOF
8945 #define HAVE_VARIADIC_MACROS 1
8950 echo "$as_me:$LINENO: checking __attribute__ ((aligned ())) support" >&5
8951 echo $ECHO_N "checking __attribute__ ((aligned ())) support... $ECHO_C" >&6
8952 if test "${ac_cv_c_attribute_aligned+set}" = set; then
8953 echo $ECHO_N "(cached) $ECHO_C" >&6
8955 ac_cv_c_attribute_aligned=0
8956 CFLAGS="${save_CFLAGS} -Werror"
8957 for ac_cv_c_attr_align_try in 2 4 8 16 32 64; do
8958 cat >conftest.$ac_ext <<_ACEOF
8959 #line $LINENO "configure"
8960 #include "confdefs.h"
8965 static char c __attribute__ ((aligned($ac_cv_c_attr_align_try))) = 0; return c;
8970 rm -f conftest.$ac_objext
8971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8972 (eval $ac_compile) 2>&5
8974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8975 (exit $ac_status); } &&
8976 { ac_try='test -s conftest.$ac_objext'
8977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8981 (exit $ac_status); }; }; then
8982 ac_cv_c_attribute_aligned=$ac_cv_c_attr_align_try
8984 echo "$as_me: failed program was:" >&5
8985 cat conftest.$ac_ext >&5
8987 rm -f conftest.$ac_objext conftest.$ac_ext
8990 echo "$as_me:$LINENO: result: $ac_cv_c_attribute_aligned" >&5
8991 echo "${ECHO_T}$ac_cv_c_attribute_aligned" >&6
8992 if test x"$ac_cv_c_attribute_aligned" != x"0"; then
8994 cat >>confdefs.h <<_ACEOF
8995 #define ATTRIBUTE_ALIGNED_MAX $ac_cv_c_attribute_aligned
9000 CFLAGS="${save_CFLAGS}"
9001 CPPFLAGS="${save_CPPFLAGS}"
9002 LDFLAGS="${save_LDFLAGS}"
9004 echo "$as_me:$LINENO: checking for boolean_t in sys/types.h" >&5
9005 echo $ECHO_N "checking for boolean_t in sys/types.h... $ECHO_C" >&6
9006 if test "${ac_cv_c_boolean_t_sys_types_h+set}" = set; then
9007 echo $ECHO_N "(cached) $ECHO_C" >&6
9009 cat >conftest.$ac_ext <<_ACEOF
9010 #line $LINENO "configure"
9011 #include "confdefs.h"
9012 #include <sys/types.h>
9021 rm -f conftest.$ac_objext
9022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9023 (eval $ac_compile) 2>&5
9025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9026 (exit $ac_status); } &&
9027 { ac_try='test -s conftest.$ac_objext'
9028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9032 (exit $ac_status); }; }; then
9033 ac_cv_c_boolean_t_sys_types_h=yes
9035 echo "$as_me: failed program was:" >&5
9036 cat conftest.$ac_ext >&5
9037 ac_cv_c_boolean_t_sys_types_h=no
9039 rm -f conftest.$ac_objext conftest.$ac_ext
9041 echo "$as_me:$LINENO: result: $ac_cv_c_boolean_t_sys_types_h" >&5
9042 echo "${ECHO_T}$ac_cv_c_boolean_t_sys_types_h" >&6
9043 if test x"$ac_cv_c_boolean_t_sys_types_h" != x"no"; then
9045 cat >>confdefs.h <<\_ACEOF
9046 #define BOOLEAN_T_IN_SYS_TYPES_H 1
9051 echo "$as_me:$LINENO: checking for boolean_t in pthread.h" >&5
9052 echo $ECHO_N "checking for boolean_t in pthread.h... $ECHO_C" >&6
9053 if test "${ac_cv_c_boolean_t_pthread_h+set}" = set; then
9054 echo $ECHO_N "(cached) $ECHO_C" >&6
9056 cat >conftest.$ac_ext <<_ACEOF
9057 #line $LINENO "configure"
9058 #include "confdefs.h"
9059 #include <pthread.h>
9068 rm -f conftest.$ac_objext
9069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9070 (eval $ac_compile) 2>&5
9072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9073 (exit $ac_status); } &&
9074 { ac_try='test -s conftest.$ac_objext'
9075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9079 (exit $ac_status); }; }; then
9080 ac_cv_c_boolean_t_pthread_h=yes
9082 echo "$as_me: failed program was:" >&5
9083 cat conftest.$ac_ext >&5
9084 ac_cv_c_boolean_t_pthread_h=no
9086 rm -f conftest.$ac_objext conftest.$ac_ext
9088 echo "$as_me:$LINENO: result: $ac_cv_c_boolean_t_pthread_h" >&5
9089 echo "${ECHO_T}$ac_cv_c_boolean_t_pthread_h" >&6
9090 if test x"$ac_cv_c_boolean_t_pthread_h" != x"no"; then
9092 cat >>confdefs.h <<\_ACEOF
9093 #define BOOLEAN_T_IN_PTHREAD_H 1
9098 echo "$as_me:$LINENO: checking for boolean_t in cthreads.h" >&5
9099 echo $ECHO_N "checking for boolean_t in cthreads.h... $ECHO_C" >&6
9100 if test "${ac_cv_c_boolean_t_cthreads_h+set}" = set; then
9101 echo $ECHO_N "(cached) $ECHO_C" >&6
9103 cat >conftest.$ac_ext <<_ACEOF
9104 #line $LINENO "configure"
9105 #include "confdefs.h"
9106 #include <cthreads.h>
9115 rm -f conftest.$ac_objext
9116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9117 (eval $ac_compile) 2>&5
9119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9120 (exit $ac_status); } &&
9121 { ac_try='test -s conftest.$ac_objext'
9122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9126 (exit $ac_status); }; }; then
9127 ac_cv_c_boolean_t_cthreads_h=yes
9129 echo "$as_me: failed program was:" >&5
9130 cat conftest.$ac_ext >&5
9131 ac_cv_c_boolean_t_cthreads_h=no
9133 rm -f conftest.$ac_objext conftest.$ac_ext
9135 echo "$as_me:$LINENO: result: $ac_cv_c_boolean_t_cthreads_h" >&5
9136 echo "${ECHO_T}$ac_cv_c_boolean_t_cthreads_h" >&6
9137 if test x"$ac_cv_c_boolean_t_cthreads_h" != x"no"; then
9139 cat >>confdefs.h <<\_ACEOF
9140 #define BOOLEAN_T_IN_CTHREADS_H 1
9145 case x"${target_cpu}" in
9150 ARCH="${target_cpu}"
9154 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"
9155 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"
9157 NETWORK_MODULES="udp http rtp ipv4"
9159 MMX_MODULES="memcpymmx idctmmx motionmmx chroma_i420_rgb_mmx chroma_i420_yuy2_mmx chroma_i422_yuy2_mmx chroma_i420_ymga_mmx"
9160 MMXEXT_MODULES="memcpymmxext idctmmxext motionmmxext"
9161 THREEDNOW_MODULES="memcpy3dn imdct3dn downmix3dn"
9162 SSE_MODULES="imdctsse downmixsse"
9163 ALTIVEC_MODULES="idctaltivec motionaltivec memcpyaltivec"
9165 if test x$SYS != xbeos
9167 PLUGINS="${PLUGINS} ${NETWORK_MODULES}"
9170 echo "$as_me:$LINENO: checking if \$CC groks MMX inline assembly" >&5
9171 echo $ECHO_N "checking if \$CC groks MMX inline assembly... $ECHO_C" >&6
9172 if test "${ac_cv_mmx_inline+set}" = set; then
9173 echo $ECHO_N "(cached) $ECHO_C" >&6
9175 cat >conftest.$ac_ext <<_ACEOF
9176 #line $LINENO "configure"
9177 #include "confdefs.h"
9182 void *p;asm volatile("packuswb %%mm1,%%mm2"::"r"(p));
9187 rm -f conftest.$ac_objext
9188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9189 (eval $ac_compile) 2>&5
9191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9192 (exit $ac_status); } &&
9193 { ac_try='test -s conftest.$ac_objext'
9194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9198 (exit $ac_status); }; }; then
9199 ac_cv_mmx_inline=yes
9201 echo "$as_me: failed program was:" >&5
9202 cat conftest.$ac_ext >&5
9205 rm -f conftest.$ac_objext conftest.$ac_ext
9207 echo "$as_me:$LINENO: result: $ac_cv_mmx_inline" >&5
9208 echo "${ECHO_T}$ac_cv_mmx_inline" >&6
9209 if test x"$ac_cv_mmx_inline" != x"no"; then
9210 ACCEL_MODULES="${ACCEL_MODULES} ${MMX_MODULES}"
9213 echo "$as_me:$LINENO: checking if \$CC groks MMX EXT inline assembly" >&5
9214 echo $ECHO_N "checking if \$CC groks MMX EXT inline assembly... $ECHO_C" >&6
9215 if test "${ac_cv_mmxext_inline+set}" = set; then
9216 echo $ECHO_N "(cached) $ECHO_C" >&6
9218 cat >conftest.$ac_ext <<_ACEOF
9219 #line $LINENO "configure"
9220 #include "confdefs.h"
9225 void *p;asm volatile("maskmovq %%mm1,%%mm2"::"r"(p));
9230 rm -f conftest.$ac_objext
9231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9232 (eval $ac_compile) 2>&5
9234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9235 (exit $ac_status); } &&
9236 { ac_try='test -s conftest.$ac_objext'
9237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9241 (exit $ac_status); }; }; then
9242 ac_cv_mmxext_inline=yes
9244 echo "$as_me: failed program was:" >&5
9245 cat conftest.$ac_ext >&5
9246 ac_cv_mmxext_inline=no
9248 rm -f conftest.$ac_objext conftest.$ac_ext
9250 echo "$as_me:$LINENO: result: $ac_cv_mmxext_inline" >&5
9251 echo "${ECHO_T}$ac_cv_mmxext_inline" >&6
9252 if test x"$ac_cv_mmxext_inline" != x"no"; then
9253 ACCEL_MODULES="${ACCEL_MODULES} ${MMXEXT_MODULES}"
9256 echo "$as_me:$LINENO: checking if \$CC groks 3D Now! inline assembly" >&5
9257 echo $ECHO_N "checking if \$CC groks 3D Now! inline assembly... $ECHO_C" >&6
9258 if test "${ac_cv_3dnow_inline+set}" = set; then
9259 echo $ECHO_N "(cached) $ECHO_C" >&6
9261 cat >conftest.$ac_ext <<_ACEOF
9262 #line $LINENO "configure"
9263 #include "confdefs.h"
9268 void *p;asm volatile("pfadd %%mm1,%%mm2"::"r"(p));
9273 rm -f conftest.$ac_objext
9274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9275 (eval $ac_compile) 2>&5
9277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9278 (exit $ac_status); } &&
9279 { ac_try='test -s conftest.$ac_objext'
9280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9284 (exit $ac_status); }; }; then
9285 ac_cv_3dnow_inline=yes
9287 echo "$as_me: failed program was:" >&5
9288 cat conftest.$ac_ext >&5
9289 ac_cv_3dnow_inline=no
9291 rm -f conftest.$ac_objext conftest.$ac_ext
9293 echo "$as_me:$LINENO: result: $ac_cv_3dnow_inline" >&5
9294 echo "${ECHO_T}$ac_cv_3dnow_inline" >&6
9295 if test x"$ac_cv_3dnow_inline" != x"no"; then
9297 cat >>confdefs.h <<\_ACEOF
9298 #define CAN_COMPILE_3DNOW 1
9301 ACCEL_MODULES="${ACCEL_MODULES} ${THREEDNOW_MODULES}"
9304 echo "$as_me:$LINENO: checking if \$CC groks SSE inline assembly" >&5
9305 echo $ECHO_N "checking if \$CC groks SSE inline assembly... $ECHO_C" >&6
9306 if test "${ac_cv_sse_inline+set}" = set; then
9307 echo $ECHO_N "(cached) $ECHO_C" >&6
9309 cat >conftest.$ac_ext <<_ACEOF
9310 #line $LINENO "configure"
9311 #include "confdefs.h"
9316 void *p;asm volatile("xorps %%xmm1,%%xmm2"::"r"(p));
9321 rm -f conftest.$ac_objext
9322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9323 (eval $ac_compile) 2>&5
9325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9326 (exit $ac_status); } &&
9327 { ac_try='test -s conftest.$ac_objext'
9328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9332 (exit $ac_status); }; }; then
9333 ac_cv_sse_inline=yes
9335 echo "$as_me: failed program was:" >&5
9336 cat conftest.$ac_ext >&5
9339 rm -f conftest.$ac_objext conftest.$ac_ext
9341 echo "$as_me:$LINENO: result: $ac_cv_sse_inline" >&5
9342 echo "${ECHO_T}$ac_cv_sse_inline" >&6
9343 if test x"$ac_cv_sse_inline" != x"no" -a x$SYS != xmingw32; then
9345 cat >>confdefs.h <<\_ACEOF
9346 #define CAN_COMPILE_SSE 1
9349 ACCEL_MODULES="${ACCEL_MODULES} ${SSE_MODULES}"
9352 # don't try to grok altivec with native mingw32 it doesn't work right now
9353 # we should be able to remove this test with future versions of mingw32
9354 if test x$SYS != xmingw32; then
9355 echo "$as_me:$LINENO: checking if \$CC groks Altivec inline assembly" >&5
9356 echo $ECHO_N "checking if \$CC groks Altivec inline assembly... $ECHO_C" >&6
9357 if test "${ac_cv_altivec_inline+set}" = set; then
9358 echo $ECHO_N "(cached) $ECHO_C" >&6
9360 cat >conftest.$ac_ext <<_ACEOF
9361 #line $LINENO "configure"
9362 #include "confdefs.h"
9367 asm volatile("vperm 0,1,2,3");
9372 rm -f conftest.$ac_objext
9373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9374 (eval $ac_compile) 2>&5
9376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9377 (exit $ac_status); } &&
9378 { ac_try='test -s conftest.$ac_objext'
9379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9383 (exit $ac_status); }; }; then
9384 ac_cv_altivec_inline=yes
9386 echo "$as_me: failed program was:" >&5
9387 cat conftest.$ac_ext >&5
9389 CFLAGS="$CFLAGS -Wa,-m7400"
9390 cat >conftest.$ac_ext <<_ACEOF
9391 #line $LINENO "configure"
9392 #include "confdefs.h"
9397 asm volatile("vperm 0,1,2,3");
9402 rm -f conftest.$ac_objext
9403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9404 (eval $ac_compile) 2>&5
9406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9407 (exit $ac_status); } &&
9408 { ac_try='test -s conftest.$ac_objext'
9409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9413 (exit $ac_status); }; }; then
9414 ac_cv_altivec_inline="-Wa,-m7400"
9416 echo "$as_me: failed program was:" >&5
9417 cat conftest.$ac_ext >&5
9418 ac_cv_altivec_inline=no
9420 rm -f conftest.$ac_objext conftest.$ac_ext
9424 rm -f conftest.$ac_objext conftest.$ac_ext
9426 echo "$as_me:$LINENO: result: $ac_cv_altivec_inline" >&5
9427 echo "${ECHO_T}$ac_cv_altivec_inline" >&6
9428 if test x"$ac_cv_altivec_inline" != x"no"; then
9430 cat >>confdefs.h <<\_ACEOF
9431 #define CAN_COMPILE_ALTIVEC 1
9434 if test x"$ac_cv_altivec_inline" != x"yes"; then
9435 idctaltivec_CFLAGS="$idctaltivec_CFLAGS $ac_cv_altivec_inline"
9436 motionaltivec_CFLAGS="$motionaltivec_CFLAGS $ac_cv_altivec_inline"
9437 memcpyaltivec_CFLAGS="$memcpyaltivec_CFLAGS $ac_cv_altivec_inline"
9438 vlc_CFLAGS="$vlc_CFLAGS $ac_cv_altivec_inline"
9440 ACCEL_MODULES="${ACCEL_MODULES} ${ALTIVEC_MODULES}"
9443 echo "$as_me:$LINENO: checking if \$CC groks Altivec C extensions" >&5
9444 echo $ECHO_N "checking if \$CC groks Altivec C extensions... $ECHO_C" >&6
9445 if test "${ac_cv_c_altivec+set}" = set; then
9446 echo $ECHO_N "(cached) $ECHO_C" >&6
9449 CFLAGS="$CFLAGS -faltivec"
9451 cat >conftest.$ac_ext <<_ACEOF
9452 #line $LINENO "configure"
9453 #include "confdefs.h"
9458 vec_mtvscr((vector unsigned int)(0));
9463 rm -f conftest.$ac_objext
9464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9465 (eval $ac_compile) 2>&5
9467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9468 (exit $ac_status); } &&
9469 { ac_try='test -s conftest.$ac_objext'
9470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9474 (exit $ac_status); }; }; then
9475 ac_cv_c_altivec=-faltivec
9477 echo "$as_me: failed program was:" >&5
9478 cat conftest.$ac_ext >&5
9481 CFLAGS="$save_CFLAGS $idctaltivec_CFLAGS -fvec"
9482 cat >conftest.$ac_ext <<_ACEOF
9483 #line $LINENO "configure"
9484 #include "confdefs.h"
9489 vec_mtvscr((vector unsigned int)(0));
9494 rm -f conftest.$ac_objext
9495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9496 (eval $ac_compile) 2>&5
9498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9499 (exit $ac_status); } &&
9500 { ac_try='test -s conftest.$ac_objext'
9501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9505 (exit $ac_status); }; }; then
9506 ac_cv_c_altivec="-fvec"
9508 echo "$as_me: failed program was:" >&5
9509 cat conftest.$ac_ext >&5
9512 rm -f conftest.$ac_objext conftest.$ac_ext
9515 rm -f conftest.$ac_objext conftest.$ac_ext
9519 echo "$as_me:$LINENO: result: $ac_cv_c_altivec" >&5
9520 echo "${ECHO_T}$ac_cv_c_altivec" >&6
9521 if test x"$ac_cv_c_altivec" != x"no"; then
9523 cat >>confdefs.h <<\_ACEOF
9524 #define CAN_COMPILE_C_ALTIVEC 1
9527 idctaltivec_CFLAGS="$idctaltivec_CFLAGS $ac_cv_c_altivec"
9528 motionaltivec_CFLAGS="$motionaltivec_CFLAGS $ac_cv_c_altivec"
9529 memcpyaltivec_CFLAGS="$memcpyaltivec_CFLAGS $ac_cv_c_altivec"
9530 vlc_CFLAGS="$vlc_CFLAGS $ac_cv_c_altivec"
9531 ACCEL_MODULES="${ACCEL_MODULES} ${ALTIVEC_MODULES}"
9534 echo "$as_me:$LINENO: checking if linker needs -framework vecLib" >&5
9535 echo $ECHO_N "checking if linker needs -framework vecLib... $ECHO_C" >&6
9536 if test "${ac_cv_ld_altivec+set}" = set; then
9537 echo $ECHO_N "(cached) $ECHO_C" >&6
9539 save_LDFLAGS=$LDFLAGS
9540 LDFLAGS="$LDFLAGS -framework vecLib"
9541 cat >conftest.$ac_ext <<_ACEOF
9542 #line $LINENO "configure"
9543 #include "confdefs.h"
9553 rm -f conftest.$ac_objext conftest$ac_exeext
9554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9555 (eval $ac_link) 2>&5
9557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9558 (exit $ac_status); } &&
9559 { ac_try='test -s conftest$ac_exeext'
9560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9564 (exit $ac_status); }; }; then
9565 ac_cv_ld_altivec=yes
9567 echo "$as_me: failed program was:" >&5
9568 cat conftest.$ac_ext >&5
9571 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9572 LDFLAGS=$save_LDFLAGS
9575 echo "$as_me:$LINENO: result: $ac_cv_ld_altivec" >&5
9576 echo "${ECHO_T}$ac_cv_ld_altivec" >&6
9577 if test x"$ac_cv_ld_altivec" != x"no"; then
9578 idctaltivec_LDFLAGS="${idctaltivec_LDFLAGS} -framework vecLib"
9579 motionaltivec_LDFLAGS="${motionaltivec_LDFLAGS} -framework vecLib"
9580 memcpyaltivec_LDFLAGS="${memcpyaltivec_LDFLAGS} -framework vecLib"
9581 vlc_LDFLAGS="${vlc_LDFLAGS} -framework vecLib"
9587 # Check whether --with- or --without- was given.
9588 if test "${with_+set}" = set; then
9593 # Check whether --with- or --without- was given.
9594 if test "${with_+set}" = set; then
9600 # Check whether --with-tuning or --without-tuning was given.
9601 if test "${with_tuning+set}" = set; then
9602 withval="$with_tuning"
9605 if test "x$with_tuning" != "x"; then
9606 TUNING="$with_tuning"
9608 if test x${target_cpu} = xi686 -o x${target_cpu} = xi586 -o x${target_cpu} = xi486 -o x${target_cpu} = xi386; then TUNING="pentiumpro"
9610 if test x${target_cpu} = xpowerpc; then TUNING="750"; fi
9614 if test x${target_cpu} = xi686 -o x${target_cpu} = xi586 -o x${target_cpu} = xx86 -o x${target_cpu} = xi386
9617 BUILTINS="${BUILTINS} ${ACCEL_MODULES}"
9620 # Check whether --enable-optimizations or --disable-optimizations was given.
9621 if test "${enable_optimizations+set}" = set; then
9622 enableval="$enable_optimizations"
9623 if test x$enable_optimizations = xno; then OPTIMS=0; fi
9628 # Check whether --enable-altivec or --disable-altivec was given.
9629 if test "${enable_altivec+set}" = set; then
9630 enableval="$enable_altivec"
9631 if test x$enable_altivec = xyes; then ARCH="${ARCH} altivec";
9632 BUILTINS="${BUILTINS} ${ACCEL_MODULES}"; fi
9634 if test x${target_cpu} = xpowerpc; then ARCH="${ARCH} altivec";
9635 BUILTINS="${BUILTINS} ${ACCEL_MODULES}"; fi
9639 # Check whether --enable-debug or --disable-debug was given.
9640 if test "${enable_debug+set}" = set; then
9641 enableval="$enable_debug"
9642 if test x$enable_debug = xyes; then DEBUG=1; fi
9646 # Check whether --enable-release or --disable-release was given.
9647 if test "${enable_release+set}" = set; then
9648 enableval="$enable_release"
9649 if test x$enable_release = xyes; then RELEASE=1; fi
9651 VERSION="${VERSION}_`date +%Y-%m-%d`"
9656 # Check whether --with- or --without- was given.
9657 if test "${with_+set}" = set; then
9662 # Check whether --enable-dvd or --disable-dvd was given.
9663 if test "${enable_dvd+set}" = set; then
9664 enableval="$enable_dvd"
9667 if test "x$enable_dvd" != "xno"
9670 # Check whether --with-dvdcss or --without-dvdcss was given.
9671 if test "${with_dvdcss+set}" = set; then
9672 withval="$with_dvdcss"
9676 # Check whether --with-dvdcss-tree or --without-dvdcss-tree was given.
9677 if test "${with_dvdcss_tree+set}" = set; then
9678 withval="$with_dvdcss_tree"
9681 case "x$with_dvdcss" in
9683 if test "x$with_dvdcss_tree" = x
9686 for ac_header in dvdcss/dvdcss.h
9688 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9689 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9690 echo "$as_me:$LINENO: checking for $ac_header" >&5
9691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9693 echo $ECHO_N "(cached) $ECHO_C" >&6
9695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9696 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9698 # Is the header compilable?
9699 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9700 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9701 cat >conftest.$ac_ext <<_ACEOF
9702 #line $LINENO "configure"
9703 #include "confdefs.h"
9704 $ac_includes_default
9705 #include <$ac_header>
9707 rm -f conftest.$ac_objext
9708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9709 (eval $ac_compile) 2>&5
9711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9712 (exit $ac_status); } &&
9713 { ac_try='test -s conftest.$ac_objext'
9714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9718 (exit $ac_status); }; }; then
9719 ac_header_compiler=yes
9721 echo "$as_me: failed program was:" >&5
9722 cat conftest.$ac_ext >&5
9723 ac_header_compiler=no
9725 rm -f conftest.$ac_objext conftest.$ac_ext
9726 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9727 echo "${ECHO_T}$ac_header_compiler" >&6
9729 # Is the header present?
9730 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9731 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9732 cat >conftest.$ac_ext <<_ACEOF
9733 #line $LINENO "configure"
9734 #include "confdefs.h"
9735 #include <$ac_header>
9737 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9738 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9740 grep -v '^ *+' conftest.er1 >conftest.err
9742 cat conftest.err >&5
9743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9744 (exit $ac_status); } >/dev/null; then
9745 if test -s conftest.err; then
9746 ac_cpp_err=$ac_c_preproc_warn_flag
9753 if test -z "$ac_cpp_err"; then
9754 ac_header_preproc=yes
9756 echo "$as_me: failed program was:" >&5
9757 cat conftest.$ac_ext >&5
9758 ac_header_preproc=no
9760 rm -f conftest.err conftest.$ac_ext
9761 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9762 echo "${ECHO_T}$ac_header_preproc" >&6
9764 # So? What about this header?
9765 case $ac_header_compiler:$ac_header_preproc in
9767 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9768 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9769 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9770 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9772 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9773 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9774 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9775 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9776 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9777 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9779 echo "$as_me:$LINENO: checking for $ac_header" >&5
9780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9782 echo $ECHO_N "(cached) $ECHO_C" >&6
9784 eval "$as_ac_Header=$ac_header_preproc"
9786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9787 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9790 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9791 cat >>confdefs.h <<_ACEOF
9792 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9794 PLUGINS="${PLUGINS} dvd"
9795 dvd_LDFLAGS="${dvd_LDFLAGS} -ldvdcss"
9797 { 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
9798 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;}
9799 { { echo "$as_me:$LINENO: error: cannot find libdvdcss headers" >&5
9800 echo "$as_me: error: cannot find libdvdcss headers" >&2;}
9801 { (exit 1); exit 1; }; }
9807 echo "$as_me:$LINENO: checking for libdvdcss.a in ${with_dvdcss_tree}" >&5
9808 echo $ECHO_N "checking for libdvdcss.a in ${with_dvdcss_tree}... $ECHO_C" >&6
9809 real_dvdcss_tree="`cd ${with_dvdcss_tree} 2>/dev/null && pwd`"
9810 if test "x$real_dvdcss_tree" = x
9812 echo "$as_me:$LINENO: result: no" >&5
9813 echo "${ECHO_T}no" >&6
9814 { { echo "$as_me:$LINENO: error: cannot cd to ${with_dvdcss_tree}" >&5
9815 echo "$as_me: error: cannot cd to ${with_dvdcss_tree}" >&2;}
9816 { (exit 1); exit 1; }; }
9818 if test -f "${real_dvdcss_tree}/src/.libs/libdvdcss.a"
9820 echo "$as_me:$LINENO: result: ${real_dvdcss_tree}/src/.libs/libdvdcss.a" >&5
9821 echo "${ECHO_T}${real_dvdcss_tree}/src/.libs/libdvdcss.a" >&6
9822 BUILTINS="${BUILTINS} dvd"
9823 dvd_LDFLAGS="${dvd_LDFLAGS} ${real_dvdcss_tree}/src/.libs/libdvdcss.a"
9824 dvd_CFLAGS="${dvd_CFLAGS} -I${real_dvdcss_tree}/src"
9826 echo "$as_me:$LINENO: result: no" >&5
9827 echo "${ECHO_T}no" >&6
9828 { { echo "$as_me:$LINENO: error: cannot find ${real_dvdcss_tree}/src/.libs/libdvdcss.a, make sure you compiled libdvdcss in ${with_dvdcss_tree}" >&5
9829 echo "$as_me: error: cannot find ${real_dvdcss_tree}/src/.libs/libdvdcss.a, make sure you compiled libdvdcss in ${with_dvdcss_tree}" >&2;}
9830 { (exit 1); exit 1; }; }
9835 PLUGINS="${PLUGINS} dvd"
9836 dvd_CFLAGS="${dvd_CFLAGS} -DGOD_DAMN_DMCA"
9837 dvd_LDFLAGS="${dvd_LDFLAGS} -ldl"
9840 echo "$as_me:$LINENO: checking for dvdcss headers in ${with_dvdcss}" >&5
9841 echo $ECHO_N "checking for dvdcss headers in ${with_dvdcss}... $ECHO_C" >&6
9842 if test -f ${with_dvdcss}/include/dvdcss/dvdcss.h
9844 echo "$as_me:$LINENO: result: yes" >&5
9845 echo "${ECHO_T}yes" >&6
9846 PLUGINS="${PLUGINS} dvd"
9847 dvd_LDFLAGS="${dvd_LDFLAGS} -L${with_dvdcss}/lib -ldvdcss"
9848 dvd_CFLAGS="${dvd_CFLAGS} -I${with_dvdcss}/include"
9850 echo "$as_me:$LINENO: result: no" >&5
9851 echo "${ECHO_T}no" >&6
9852 { { echo "$as_me:$LINENO: error: cannot find ${with_dvdcss}/include/dvdcss/dvdcss.h" >&5
9853 echo "$as_me: error: cannot find ${with_dvdcss}/include/dvdcss/dvdcss.h" >&2;}
9854 { (exit 1); exit 1; }; }
9860 # Check whether --enable-dvdread or --disable-dvdread was given.
9861 if test "${enable_dvdread+set}" = set; then
9862 enableval="$enable_dvdread"
9865 if test "x$enable_dvdread" != "xno"
9868 # Check whether --with-dvdread or --without-dvdread was given.
9869 if test "${with_dvdread+set}" = set; then
9870 withval="$with_dvdread"
9873 if test "x$with_dvdread" = x
9878 test_LDFLAGS="-L${with_dvdread}/lib"
9879 test_CFLAGS="-I${with_dvdread}/include"
9881 CPPFLAGS="$save_CPPFLAGS $test_CFLAGS"
9883 for ac_header in dvdread/dvd_reader.h
9885 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9886 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9887 echo "$as_me:$LINENO: checking for $ac_header" >&5
9888 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9890 echo $ECHO_N "(cached) $ECHO_C" >&6
9892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9893 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9895 # Is the header compilable?
9896 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9897 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9898 cat >conftest.$ac_ext <<_ACEOF
9899 #line $LINENO "configure"
9900 #include "confdefs.h"
9901 $ac_includes_default
9902 #include <$ac_header>
9904 rm -f conftest.$ac_objext
9905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9906 (eval $ac_compile) 2>&5
9908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9909 (exit $ac_status); } &&
9910 { ac_try='test -s conftest.$ac_objext'
9911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9915 (exit $ac_status); }; }; then
9916 ac_header_compiler=yes
9918 echo "$as_me: failed program was:" >&5
9919 cat conftest.$ac_ext >&5
9920 ac_header_compiler=no
9922 rm -f conftest.$ac_objext conftest.$ac_ext
9923 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9924 echo "${ECHO_T}$ac_header_compiler" >&6
9926 # Is the header present?
9927 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9928 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9929 cat >conftest.$ac_ext <<_ACEOF
9930 #line $LINENO "configure"
9931 #include "confdefs.h"
9932 #include <$ac_header>
9934 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9935 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9937 grep -v '^ *+' conftest.er1 >conftest.err
9939 cat conftest.err >&5
9940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9941 (exit $ac_status); } >/dev/null; then
9942 if test -s conftest.err; then
9943 ac_cpp_err=$ac_c_preproc_warn_flag
9950 if test -z "$ac_cpp_err"; then
9951 ac_header_preproc=yes
9953 echo "$as_me: failed program was:" >&5
9954 cat conftest.$ac_ext >&5
9955 ac_header_preproc=no
9957 rm -f conftest.err conftest.$ac_ext
9958 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9959 echo "${ECHO_T}$ac_header_preproc" >&6
9961 # So? What about this header?
9962 case $ac_header_compiler:$ac_header_preproc in
9964 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9965 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9966 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9967 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9969 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9970 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9971 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9972 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9973 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9974 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9976 echo "$as_me:$LINENO: checking for $ac_header" >&5
9977 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9979 echo $ECHO_N "(cached) $ECHO_C" >&6
9981 eval "$as_ac_Header=$ac_header_preproc"
9983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9984 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9987 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9988 cat >>confdefs.h <<_ACEOF
9989 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9992 cat >conftest.$ac_ext <<_ACEOF
9993 #line $LINENO "configure"
9994 #include "confdefs.h"
9995 #include <dvdread/dvd_reader.h>
9999 void foo() { int i=DVD_VIDEO_LB_LEN; }
10004 rm -f conftest.$ac_objext
10005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10006 (eval $ac_compile) 2>&5
10008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10009 (exit $ac_status); } &&
10010 { ac_try='test -s conftest.$ac_objext'
10011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10012 (eval $ac_try) 2>&5
10014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10015 (exit $ac_status); }; }; then
10017 PLUGINS="${PLUGINS} dvdread"
10018 dvdread_LDFLAGS="${dvdread_LDFLAGS} ${test_LDFLAGS} -ldvdread"
10019 dvdread_CFLAGS="${dvdread_CFLAGS} ${test_CFLAGS}"
10022 echo "$as_me: failed program was:" >&5
10023 cat conftest.$ac_ext >&5
10025 if test "x$enable_dvdread" != x
10027 { { 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
10028 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;}
10029 { (exit 1); exit 1; }; }
10033 rm -f conftest.$ac_objext conftest.$ac_ext
10037 if test "x$enable_dvdread" != x
10039 if test "x$with_dvdread" != x
10041 { { echo "$as_me:$LINENO: error: Cannot find dvdread/dvd_reader.h in ${with_dvdread}/include" >&5
10042 echo "$as_me: error: Cannot find dvdread/dvd_reader.h in ${with_dvdread}/include" >&2;}
10043 { (exit 1); exit 1; }; }
10045 { { echo "$as_me:$LINENO: error: Cannot find dvdread/dvd_reader.h" >&5
10046 echo "$as_me: error: Cannot find dvdread/dvd_reader.h" >&2;}
10047 { (exit 1); exit 1; }; }
10055 CPPFLAGS="$save_CPPFLAGS"
10058 # Check whether --enable-dvbpsi or --disable-dvbpsi was given.
10059 if test "${enable_dvbpsi+set}" = set; then
10060 enableval="$enable_dvbpsi"
10063 if test "x$enable_dvbpsi" != "xno"
10066 # Check whether --with-dvbpsi or --without-dvbpsi was given.
10067 if test "${with_dvbpsi+set}" = set; then
10068 withval="$with_dvbpsi"
10072 # Check whether --with-dvbpsi or --without-dvbpsi was given.
10073 if test "${with_dvbpsi+set}" = set; then
10074 withval="$with_dvbpsi"
10077 case "x$with_dvbpsi" in
10079 if test "x$with_dvbpsi_tree" = x
10082 for ac_header in dvbpsi/dr.h
10084 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10085 echo "$as_me:$LINENO: checking for $ac_header" >&5
10086 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10087 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10088 echo $ECHO_N "(cached) $ECHO_C" >&6
10090 cat >conftest.$ac_ext <<_ACEOF
10091 #line $LINENO "configure"
10092 #include "confdefs.h"
10093 { { echo "$as_me:$LINENO: error: cannot find libdvbpsi headers" >&5
10094 echo "$as_me: error: cannot find libdvbpsi headers" >&2;}
10095 { (exit 1); exit 1; }; }
10097 #include <$ac_header>
10099 rm -f conftest.$ac_objext
10100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10101 (eval $ac_compile) 2>&5
10103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10104 (exit $ac_status); } &&
10105 { ac_try='test -s conftest.$ac_objext'
10106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10107 (eval $ac_try) 2>&5
10109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10110 (exit $ac_status); }; }; then
10111 eval "$as_ac_Header=yes"
10113 echo "$as_me: failed program was:" >&5
10114 cat conftest.$ac_ext >&5
10115 eval "$as_ac_Header=no"
10117 rm -f conftest.$ac_objext conftest.$ac_ext
10119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10120 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10121 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10122 cat >>confdefs.h <<_ACEOF
10123 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10125 PLUGINS="${PLUGINS} mpeg_ts_dvbpsi"
10126 mpeg_ts_dvbpsi_LDFLAGS="${mpeg_ts_dvbpsi_LDFLAGS} -ldvbpsi"
10132 echo "$as_me:$LINENO: checking for libdvbpsi.a in ${with_dvbpsi_tree}" >&5
10133 echo $ECHO_N "checking for libdvbpsi.a in ${with_dvbpsi_tree}... $ECHO_C" >&6
10134 real_dvbpsi_tree="`cd ${with_dvbpsi_tree} 2>/dev/null && pwd`"
10135 if test "x$real_dvbpsi_tree" = x
10137 echo "$as_me:$LINENO: result: no" >&5
10138 echo "${ECHO_T}no" >&6
10139 { { echo "$as_me:$LINENO: error: cannot cd to ${with_dvbpsi_tree}" >&5
10140 echo "$as_me: error: cannot cd to ${with_dvbpsi_tree}" >&2;}
10141 { (exit 1); exit 1; }; }
10143 if test -f "${real_dvbpsi_tree}/src/.libs/libdvbpsi.a"
10145 echo "$as_me:$LINENO: result: ${real_dvbpsi_tree}/src/.libs/libdvbpsi.a" >&5
10146 echo "${ECHO_T}${real_dvbpsi_tree}/src/.libs/libdvbpsi.a" >&6
10147 BUILTINS="${BUILTINS} mpeg_ts_dvbpsi"
10148 mpeg_ts_dvbpsi_LDFLAGS="${mpeg_ts_dvbpsi_LDFLAGS} ${real_dvbpsi_tree}/src/.libs/libdvbpsi.a"
10149 mpeg_ts_dvbpsi_CFLAGS="${mpeg_ts_dvbpsi_CFLAGS} -I${real_dvbpsi_tree}/src"
10151 echo "$as_me:$LINENO: result: no" >&5
10152 echo "${ECHO_T}no" >&6
10153 { { echo "$as_me:$LINENO: error: cannot find ${real_dvbpsi_tree}/src/.libs/libdvbpsi.a, make sure you compiled libdvbpsi in ${with_dvbpsi_tree}" >&5
10154 echo "$as_me: error: cannot find ${real_dvbpsi_tree}/src/.libs/libdvbpsi.a, make sure you compiled libdvbpsi in ${with_dvbpsi_tree}" >&2;}
10155 { (exit 1); exit 1; }; }
10162 echo "$as_me:$LINENO: checking for dvbpsi headers in ${with_dvbpsi}" >&5
10163 echo $ECHO_N "checking for dvbpsi headers in ${with_dvbpsi}... $ECHO_C" >&6
10164 if test "x$with_dvbpsi" = x
10169 test_LDFLAGS="-L${with_dvbpsi}/lib"
10170 test_CFLAGS="-I${with_dvbpsi}/include"
10172 CPPFLAGS="$save_CPPFLAGS $test_CFLAGS"
10173 if test "${ac_cv_header_dvbpsi_dr_h+set}" = set; then
10174 echo "$as_me:$LINENO: checking for dvbpsi/dr.h" >&5
10175 echo $ECHO_N "checking for dvbpsi/dr.h... $ECHO_C" >&6
10176 if test "${ac_cv_header_dvbpsi_dr_h+set}" = set; then
10177 echo $ECHO_N "(cached) $ECHO_C" >&6
10179 echo "$as_me:$LINENO: result: $ac_cv_header_dvbpsi_dr_h" >&5
10180 echo "${ECHO_T}$ac_cv_header_dvbpsi_dr_h" >&6
10182 # Is the header compilable?
10183 echo "$as_me:$LINENO: checking dvbpsi/dr.h usability" >&5
10184 echo $ECHO_N "checking dvbpsi/dr.h usability... $ECHO_C" >&6
10185 cat >conftest.$ac_ext <<_ACEOF
10186 #line $LINENO "configure"
10187 #include "confdefs.h"
10188 $ac_includes_default
10189 #include <dvbpsi/dr.h>
10191 rm -f conftest.$ac_objext
10192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10193 (eval $ac_compile) 2>&5
10195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10196 (exit $ac_status); } &&
10197 { ac_try='test -s conftest.$ac_objext'
10198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10199 (eval $ac_try) 2>&5
10201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10202 (exit $ac_status); }; }; then
10203 ac_header_compiler=yes
10205 echo "$as_me: failed program was:" >&5
10206 cat conftest.$ac_ext >&5
10207 ac_header_compiler=no
10209 rm -f conftest.$ac_objext conftest.$ac_ext
10210 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10211 echo "${ECHO_T}$ac_header_compiler" >&6
10213 # Is the header present?
10214 echo "$as_me:$LINENO: checking dvbpsi/dr.h presence" >&5
10215 echo $ECHO_N "checking dvbpsi/dr.h presence... $ECHO_C" >&6
10216 cat >conftest.$ac_ext <<_ACEOF
10217 #line $LINENO "configure"
10218 #include "confdefs.h"
10219 #include <dvbpsi/dr.h>
10221 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10222 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10224 grep -v '^ *+' conftest.er1 >conftest.err
10226 cat conftest.err >&5
10227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10228 (exit $ac_status); } >/dev/null; then
10229 if test -s conftest.err; then
10230 ac_cpp_err=$ac_c_preproc_warn_flag
10237 if test -z "$ac_cpp_err"; then
10238 ac_header_preproc=yes
10240 echo "$as_me: failed program was:" >&5
10241 cat conftest.$ac_ext >&5
10242 ac_header_preproc=no
10244 rm -f conftest.err conftest.$ac_ext
10245 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10246 echo "${ECHO_T}$ac_header_preproc" >&6
10248 # So? What about this header?
10249 case $ac_header_compiler:$ac_header_preproc in
10251 { echo "$as_me:$LINENO: WARNING: dvbpsi/dr.h: accepted by the compiler, rejected by the preprocessor!" >&5
10252 echo "$as_me: WARNING: dvbpsi/dr.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10253 { echo "$as_me:$LINENO: WARNING: dvbpsi/dr.h: proceeding with the preprocessor's result" >&5
10254 echo "$as_me: WARNING: dvbpsi/dr.h: proceeding with the preprocessor's result" >&2;};;
10256 { echo "$as_me:$LINENO: WARNING: dvbpsi/dr.h: present but cannot be compiled" >&5
10257 echo "$as_me: WARNING: dvbpsi/dr.h: present but cannot be compiled" >&2;}
10258 { echo "$as_me:$LINENO: WARNING: dvbpsi/dr.h: check for missing prerequisite headers?" >&5
10259 echo "$as_me: WARNING: dvbpsi/dr.h: check for missing prerequisite headers?" >&2;}
10260 { echo "$as_me:$LINENO: WARNING: dvbpsi/dr.h: proceeding with the preprocessor's result" >&5
10261 echo "$as_me: WARNING: dvbpsi/dr.h: proceeding with the preprocessor's result" >&2;};;
10263 echo "$as_me:$LINENO: checking for dvbpsi/dr.h" >&5
10264 echo $ECHO_N "checking for dvbpsi/dr.h... $ECHO_C" >&6
10265 if test "${ac_cv_header_dvbpsi_dr_h+set}" = set; then
10266 echo $ECHO_N "(cached) $ECHO_C" >&6
10268 ac_cv_header_dvbpsi_dr_h=$ac_header_preproc
10270 echo "$as_me:$LINENO: result: $ac_cv_header_dvbpsi_dr_h" >&5
10271 echo "${ECHO_T}$ac_cv_header_dvbpsi_dr_h" >&6
10274 if test $ac_cv_header_dvbpsi_dr_h = yes; then
10276 PLUGINS="${PLUGINS} mpeg_ts_dvbpsi"
10277 mpeg_ts_dvbpsi_LDFLAGS="${mpeg_ts_dvbpsi_LDFLAGS} ${test_LDFLAGS} -ldvbpsi"
10278 mpeg_ts_dvbpsi_CFLAGS="${mpeg_ts_dvbpsi_CFLAGS} ${test_CFLAGS}"
10282 if test "x$enable_dvbpsi" != x
10284 { { 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
10285 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;}
10286 { (exit 1); exit 1; }; }
10292 CPPFLAGS="$save_CPPFLAGS"
10297 # Check whether --enable-vcd or --disable-vcd was given.
10298 if test "${enable_vcd+set}" = set; then
10299 enableval="$enable_vcd"
10303 if test x$enable_vcd != xno
10305 cat >conftest.$ac_ext <<_ACEOF
10306 #line $LINENO "configure"
10307 #include "confdefs.h"
10308 #include <linux/cdrom.h>
10311 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10312 $EGREP "cdrom_msf0" >/dev/null 2>&1; then
10314 PLUGINS="${PLUGINS} vcd"
10320 cat >conftest.$ac_ext <<_ACEOF
10321 #line $LINENO "configure"
10322 #include "confdefs.h"
10323 #include <sys/cdio.h>
10326 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10327 $EGREP "ioc_toc_header " >/dev/null 2>&1; then
10329 PLUGINS="${PLUGINS} vcd"
10331 cat >>confdefs.h <<\_ACEOF
10332 #define HAVE_IOC_TOC_HEADER_IN_SYS_CDIO_H 1
10340 if test "x${SYS}" = "xbsdi"
10342 PLUGINS="${PLUGINS} vcd"
10345 if test "x${SYS}" = "xdarwin"
10347 PLUGINS="${PLUGINS} vcd"
10348 vcd_LDFLAGS="${vcd_LDFLAGS} -framework IOKit -framework CoreFoundation"
10352 # Check whether --enable-satellite or --disable-satellite was given.
10353 if test "${enable_satellite+set}" = set; then
10354 enableval="$enable_satellite"
10355 if test x$enable_satellite = xyes
10357 PLUGINS="${PLUGINS} satellite"
10361 if test x$SYS != xnto && test "x$SYS" != "xmingw32"
10363 echo "$as_me:$LINENO: checking for inet_pton" >&5
10364 echo $ECHO_N "checking for inet_pton... $ECHO_C" >&6
10365 if test "${ac_cv_func_inet_pton+set}" = set; then
10366 echo $ECHO_N "(cached) $ECHO_C" >&6
10368 cat >conftest.$ac_ext <<_ACEOF
10369 #line $LINENO "configure"
10370 #include "confdefs.h"
10371 /* System header to define __stub macros and hopefully few prototypes,
10372 which can conflict with char inet_pton (); below. */
10373 #include <assert.h>
10374 /* Override any gcc2 internal prototype to avoid an error. */
10378 /* We use char because int might match the return type of a gcc2
10379 builtin and then its argument prototype would still apply. */
10386 /* The GNU C library defines this for functions which it implements
10387 to always fail with ENOSYS. Some functions are actually named
10388 something starting with __ and the normal name is an alias. */
10389 #if defined (__stub_inet_pton) || defined (__stub___inet_pton)
10399 rm -f conftest.$ac_objext conftest$ac_exeext
10400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10401 (eval $ac_link) 2>&5
10403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10404 (exit $ac_status); } &&
10405 { ac_try='test -s conftest$ac_exeext'
10406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10407 (eval $ac_try) 2>&5
10409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10410 (exit $ac_status); }; }; then
10411 ac_cv_func_inet_pton=yes
10413 echo "$as_me: failed program was:" >&5
10414 cat conftest.$ac_ext >&5
10415 ac_cv_func_inet_pton=no
10417 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10419 echo "$as_me:$LINENO: result: $ac_cv_func_inet_pton" >&5
10420 echo "${ECHO_T}$ac_cv_func_inet_pton" >&6
10421 if test $ac_cv_func_inet_pton = yes; then
10422 PLUGINS="${PLUGINS} ipv6"
10426 if test "x$SYS" = "xmingw32"
10428 echo "$as_me:$LINENO: checking for getaddrinfo in ws2tcpip.h" >&5
10429 echo $ECHO_N "checking for getaddrinfo in ws2tcpip.h... $ECHO_C" >&6
10430 cat >conftest.$ac_ext <<_ACEOF
10431 #line $LINENO "configure"
10432 #include "confdefs.h"
10433 #include <ws2tcpip.h>
10436 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10437 $EGREP "addrinfo" >/dev/null 2>&1; then
10438 echo "$as_me:$LINENO: result: yes" >&5
10439 echo "${ECHO_T}yes" >&6
10440 PLUGINS="${PLUGINS} ipv6"
10442 echo "$as_me:$LINENO: result: no" >&5
10443 echo "${ECHO_T}no" >&6
10449 # Check whether --enable-avi or --disable-avi was given.
10450 if test "${enable_avi+set}" = set; then
10451 enableval="$enable_avi"
10454 if test x$enable_avi != xno
10456 PLUGINS="${PLUGINS} avi"
10461 # Check whether --with- or --without- was given.
10462 if test "${with_+set}" = set; then
10467 # Check whether --enable-mad or --disable-mad was given.
10468 if test "${enable_mad+set}" = set; then
10469 enableval="$enable_mad"
10472 if test x$enable_mad = xyes
10475 # Check whether --with-mad or --without-mad was given.
10476 if test "${with_mad+set}" = set; then
10477 withval="$with_mad"
10480 if test "x$with_mad" != "xno" -a "x$with_mad" != "x"
10482 mad_CFLAGS="${mad_CFLAGS} -I$with_mad/include"
10483 mad_LDFLAGS="${mad_LDFLAGS} -L$with_mad/lib"
10487 # Check whether --with-mad-tree or --without-mad-tree was given.
10488 if test "${with_mad_tree+set}" = set; then
10489 withval="$with_mad_tree"
10492 if test "x$with_mad_tree" != "xno" -a "x$with_mad_tree" != "x"
10494 real_mad_tree="`cd ${with_mad_tree} 2>/dev/null && pwd`"
10495 if test "x$real_mad_tree" = x
10497 echo "$as_me:$LINENO: result: no" >&5
10498 echo "${ECHO_T}no" >&6
10499 { { echo "$as_me:$LINENO: error: ${with_mad_tree} directory doesn't exist" >&5
10500 echo "$as_me: error: ${with_mad_tree} directory doesn't exist" >&2;}
10501 { (exit 1); exit 1; }; }
10503 echo "$as_me:$LINENO: checking for mad.h in ${real_mad_tree}/libmad" >&5
10504 echo $ECHO_N "checking for mad.h in ${real_mad_tree}/libmad... $ECHO_C" >&6
10505 if test -f ${real_mad_tree}/libmad/mad.h
10507 echo "$as_me:$LINENO: result: yes" >&5
10508 echo "${ECHO_T}yes" >&6
10509 mad_CFLAGS="${mad_CFLAGS} -I${real_mad_tree}/libmad"
10510 mad_LDFLAGS="${mad_LDFLAGS} -L${real_mad_tree}/libmad/.libs"
10511 save_LDFLAGS=$LDFLAGS
10512 LDFLAGS=$mad_LDFLAGS
10513 echo "$as_me:$LINENO: checking for mad_bit_init in -lmad" >&5
10514 echo $ECHO_N "checking for mad_bit_init in -lmad... $ECHO_C" >&6
10515 if test "${ac_cv_lib_mad_mad_bit_init+set}" = set; then
10516 echo $ECHO_N "(cached) $ECHO_C" >&6
10518 ac_check_lib_save_LIBS=$LIBS
10520 cat >conftest.$ac_ext <<_ACEOF
10521 #line $LINENO "configure"
10522 #include "confdefs.h"
10524 /* Override any gcc2 internal prototype to avoid an error. */
10528 /* We use char because int might match the return type of a gcc2
10529 builtin and then its argument prototype would still apply. */
10530 char mad_bit_init ();
10539 rm -f conftest.$ac_objext conftest$ac_exeext
10540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10541 (eval $ac_link) 2>&5
10543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10544 (exit $ac_status); } &&
10545 { ac_try='test -s conftest$ac_exeext'
10546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10547 (eval $ac_try) 2>&5
10549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10550 (exit $ac_status); }; }; then
10551 ac_cv_lib_mad_mad_bit_init=yes
10553 echo "$as_me: failed program was:" >&5
10554 cat conftest.$ac_ext >&5
10555 ac_cv_lib_mad_mad_bit_init=no
10557 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10558 LIBS=$ac_check_lib_save_LIBS
10560 echo "$as_me:$LINENO: result: $ac_cv_lib_mad_mad_bit_init" >&5
10561 echo "${ECHO_T}$ac_cv_lib_mad_mad_bit_init" >&6
10562 if test $ac_cv_lib_mad_mad_bit_init = yes; then
10564 BUILTINS="${BUILTINS} mad"
10565 mad_LDFLAGS="${mad_LDFLAGS} -lmad"
10568 { { echo "$as_me:$LINENO: error: the specified tree hasn't been compiled " >&5
10569 echo "$as_me: error: the specified tree hasn't been compiled " >&2;}
10570 { (exit 1); exit 1; }; }
10574 LDFLAGS=$save_LDFLAGS
10576 echo "$as_me:$LINENO: result: no" >&5
10577 echo "${ECHO_T}no" >&6
10578 { { echo "$as_me:$LINENO: error: the specified tree doesn't have mad.h" >&5
10579 echo "$as_me: error: the specified tree doesn't have mad.h" >&2;}
10580 { (exit 1); exit 1; }; }
10583 save_CFLAGS=$CFLAGS
10584 save_LDFLAGS=$LDFLAGS
10585 CFLAGS="$CFLAGS $mad_CFLAGS"
10586 LDFLAGS="$LDFLAGS $mad_LDFLAGS"
10588 for ac_header in mad.h
10590 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10591 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10592 echo "$as_me:$LINENO: checking for $ac_header" >&5
10593 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10595 echo $ECHO_N "(cached) $ECHO_C" >&6
10597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10598 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10600 # Is the header compilable?
10601 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10602 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10603 cat >conftest.$ac_ext <<_ACEOF
10604 #line $LINENO "configure"
10605 #include "confdefs.h"
10606 $ac_includes_default
10607 #include <$ac_header>
10609 rm -f conftest.$ac_objext
10610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10611 (eval $ac_compile) 2>&5
10613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10614 (exit $ac_status); } &&
10615 { ac_try='test -s conftest.$ac_objext'
10616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10617 (eval $ac_try) 2>&5
10619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10620 (exit $ac_status); }; }; then
10621 ac_header_compiler=yes
10623 echo "$as_me: failed program was:" >&5
10624 cat conftest.$ac_ext >&5
10625 ac_header_compiler=no
10627 rm -f conftest.$ac_objext conftest.$ac_ext
10628 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10629 echo "${ECHO_T}$ac_header_compiler" >&6
10631 # Is the header present?
10632 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10633 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10634 cat >conftest.$ac_ext <<_ACEOF
10635 #line $LINENO "configure"
10636 #include "confdefs.h"
10637 #include <$ac_header>
10639 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10640 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10642 grep -v '^ *+' conftest.er1 >conftest.err
10644 cat conftest.err >&5
10645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10646 (exit $ac_status); } >/dev/null; then
10647 if test -s conftest.err; then
10648 ac_cpp_err=$ac_c_preproc_warn_flag
10655 if test -z "$ac_cpp_err"; then
10656 ac_header_preproc=yes
10658 echo "$as_me: failed program was:" >&5
10659 cat conftest.$ac_ext >&5
10660 ac_header_preproc=no
10662 rm -f conftest.err conftest.$ac_ext
10663 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10664 echo "${ECHO_T}$ac_header_preproc" >&6
10666 # So? What about this header?
10667 case $ac_header_compiler:$ac_header_preproc in
10669 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10670 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10671 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10672 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10674 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10675 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10676 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10677 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10678 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10679 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10681 echo "$as_me:$LINENO: checking for $ac_header" >&5
10682 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10683 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10684 echo $ECHO_N "(cached) $ECHO_C" >&6
10686 eval "$as_ac_Header=$ac_header_preproc"
10688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10689 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10692 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10693 cat >>confdefs.h <<_ACEOF
10694 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10698 { { echo "$as_me:$LINENO: error: Cannot find development headers for libmad..." >&5
10699 echo "$as_me: error: Cannot find development headers for libmad..." >&2;}
10700 { (exit 1); exit 1; }; }
10705 echo "$as_me:$LINENO: checking for mad_bit_init in -lmad" >&5
10706 echo $ECHO_N "checking for mad_bit_init in -lmad... $ECHO_C" >&6
10707 if test "${ac_cv_lib_mad_mad_bit_init+set}" = set; then
10708 echo $ECHO_N "(cached) $ECHO_C" >&6
10710 ac_check_lib_save_LIBS=$LIBS
10712 cat >conftest.$ac_ext <<_ACEOF
10713 #line $LINENO "configure"
10714 #include "confdefs.h"
10716 /* Override any gcc2 internal prototype to avoid an error. */
10720 /* We use char because int might match the return type of a gcc2
10721 builtin and then its argument prototype would still apply. */
10722 char mad_bit_init ();
10731 rm -f conftest.$ac_objext conftest$ac_exeext
10732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10733 (eval $ac_link) 2>&5
10735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10736 (exit $ac_status); } &&
10737 { ac_try='test -s conftest$ac_exeext'
10738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10739 (eval $ac_try) 2>&5
10741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10742 (exit $ac_status); }; }; then
10743 ac_cv_lib_mad_mad_bit_init=yes
10745 echo "$as_me: failed program was:" >&5
10746 cat conftest.$ac_ext >&5
10747 ac_cv_lib_mad_mad_bit_init=no
10749 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10750 LIBS=$ac_check_lib_save_LIBS
10752 echo "$as_me:$LINENO: result: $ac_cv_lib_mad_mad_bit_init" >&5
10753 echo "${ECHO_T}$ac_cv_lib_mad_mad_bit_init" >&6
10754 if test $ac_cv_lib_mad_mad_bit_init = yes; then
10756 PLUGINS="${PLUGINS} mad"
10757 mad_LDFLAGS="${mad_LDFLAGS} -lmad"
10759 { { echo "$as_me:$LINENO: error: Cannot find libmad library..." >&5
10760 echo "$as_me: error: Cannot find libmad library..." >&2;}
10761 { (exit 1); exit 1; }; }
10764 CFLAGS=$save_CFLAGS
10765 LDFLAGS=$save_LDFLAGS
10769 # Check whether --enable-ffmpeg or --disable-ffmpeg was given.
10770 if test "${enable_ffmpeg+set}" = set; then
10771 enableval="$enable_ffmpeg"
10774 if test "x$enable_ffmpeg" = "xyes"
10777 # Check whether --with-ffmpeg or --without-ffmpeg was given.
10778 if test "${with_ffmpeg+set}" = set; then
10779 withval="$with_ffmpeg"
10782 if test "x$with_ffmpeg" != "xno" -a "x$with_ffmpeg" != "x"
10784 ffmpeg_CFLAGS="${ffmpeg_CFLAGS} -I$with_ffmpeg/include/libffmpeg"
10785 ffmpeg_LDFLAGS="${ffmpeg_LDFLAGS} -L$with_ffmpeg/lib"
10789 # Check whether --with-ffmpeg-tree or --without-ffmpeg-tree was given.
10790 if test "${with_ffmpeg_tree+set}" = set; then
10791 withval="$with_ffmpeg_tree"
10794 if test "x$with_ffmpeg_tree" != "x"
10796 echo "$as_me:$LINENO: checking for libavcodec.a in ${with_ffmpeg_tree}" >&5
10797 echo $ECHO_N "checking for libavcodec.a in ${with_ffmpeg_tree}... $ECHO_C" >&6
10798 real_ffmpeg_tree="`cd ${with_ffmpeg_tree} 2>/dev/null && pwd`"
10799 if test "x$real_ffmpeg_tree" = x
10801 echo "$as_me:$LINENO: result: no" >&5
10802 echo "${ECHO_T}no" >&6
10803 { { echo "$as_me:$LINENO: error: cannot cd to ${with_ffmpeg_tree}" >&5
10804 echo "$as_me: error: cannot cd to ${with_ffmpeg_tree}" >&2;}
10805 { (exit 1); exit 1; }; }
10807 if test -f "${real_ffmpeg_tree}/libavcodec/libavcodec.a"
10809 echo "$as_me:$LINENO: result: ${real_ffmpeg_tree}/libavcodec/libavcodec.a" >&5
10810 echo "${ECHO_T}${real_ffmpeg_tree}/libavcodec/libavcodec.a" >&6
10811 BUILTINS="${BUILTINS} ffmpeg"
10812 ffmpeg_LDFLAGS="${ffmpeg_LDFLAGS} ${real_ffmpeg_tree}/libavcodec/libavcodec.a"
10813 if test x$SYS != xbeos
10815 ffmpeg_LDFLAGS="${ffmpeg_LDFLAGS} -lm"
10817 ffmpeg_CFLAGS="${ffmpeg_CFLAGS} -I${real_ffmpeg_tree}/libavcodec"
10819 echo "$as_me:$LINENO: result: no" >&5
10820 echo "${ECHO_T}no" >&6
10821 { { echo "$as_me:$LINENO: error: cannot find ${real_ffmpeg_tree}/libavcodec/libavcodec.a, make sure you compiled libavcodec in ${with_ffmpeg_tree}" >&5
10822 echo "$as_me: error: cannot find ${real_ffmpeg_tree}/libavcodec/libavcodec.a, make sure you compiled libavcodec in ${with_ffmpeg_tree}" >&2;}
10823 { (exit 1); exit 1; }; }
10826 save_CFLAGS=$CFLAGS
10827 save_LDFLAGS=$LDFLAGS
10828 CFLAGS="$CFLAGS $ffmpeg_CFLAGS"
10829 LDFLAGS="$LDFLAGS $ffmpeg_LDFLAGS"
10830 if test x$SYS != xbeos
10832 ffmpeg_LDFLAGS="${ffmpeg_LDFLAGS} -lm"
10834 echo "$as_me:$LINENO: checking for avcodec_init in -lavcodec" >&5
10835 echo $ECHO_N "checking for avcodec_init in -lavcodec... $ECHO_C" >&6
10836 if test "${ac_cv_lib_avcodec_avcodec_init+set}" = set; then
10837 echo $ECHO_N "(cached) $ECHO_C" >&6
10839 ac_check_lib_save_LIBS=$LIBS
10840 LIBS="-lavcodec $LIBS"
10841 cat >conftest.$ac_ext <<_ACEOF
10842 #line $LINENO "configure"
10843 #include "confdefs.h"
10845 /* Override any gcc2 internal prototype to avoid an error. */
10849 /* We use char because int might match the return type of a gcc2
10850 builtin and then its argument prototype would still apply. */
10851 char avcodec_init ();
10860 rm -f conftest.$ac_objext conftest$ac_exeext
10861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10862 (eval $ac_link) 2>&5
10864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10865 (exit $ac_status); } &&
10866 { ac_try='test -s conftest$ac_exeext'
10867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10868 (eval $ac_try) 2>&5
10870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10871 (exit $ac_status); }; }; then
10872 ac_cv_lib_avcodec_avcodec_init=yes
10874 echo "$as_me: failed program was:" >&5
10875 cat conftest.$ac_ext >&5
10876 ac_cv_lib_avcodec_avcodec_init=no
10878 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10879 LIBS=$ac_check_lib_save_LIBS
10881 echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_avcodec_init" >&5
10882 echo "${ECHO_T}$ac_cv_lib_avcodec_avcodec_init" >&6
10883 if test $ac_cv_lib_avcodec_avcodec_init = yes; then
10885 BUILTINS="${BUILTINS} ffmpeg"
10886 ffmpeg_LDFLAGS="${ffmpeg_LDFLAGS} -lavcodec"
10887 if test x$SYS != xbeos
10889 ffmpeg_LDFLAGS="${ffmpeg_LDFLAGS} -lm"
10892 { { echo "$as_me:$LINENO: error: Cannot find libavcodec library..." >&5
10893 echo "$as_me: error: Cannot find libavcodec library..." >&2;}
10894 { (exit 1); exit 1; }; }
10897 CFLAGS=$save_CFLAGS
10898 LDFLAGS=$save_LDFLAGS
10903 if test x$SYS = xbeos
10905 PLUGINS="${PLUGINS} beos"
10908 # Check whether --enable-a52 or --disable-a52 was given.
10909 if test "${enable_a52+set}" = set; then
10910 enableval="$enable_a52"
10913 if test "x$enable_a52" != "xno"
10916 # Check whether --with-a52-tree or --without-a52-tree was given.
10917 if test "${with_a52_tree+set}" = set; then
10918 withval="$with_a52_tree"
10921 if test "x$with_a52_tree" != "xno" -a "x$with_a52_tree" != "x"
10923 real_a52_tree="`cd ${with_a52_tree} 2>/dev/null && pwd`"
10924 if test "x$real_a52_tree" = x
10926 echo "$as_me:$LINENO: result: no" >&5
10927 echo "${ECHO_T}no" >&6
10928 { { echo "$as_me:$LINENO: error: ${with_a52_tree} directory doesn't exist" >&5
10929 echo "$as_me: error: ${with_a52_tree} directory doesn't exist" >&2;}
10930 { (exit 1); exit 1; }; }
10932 echo "$as_me:$LINENO: checking for a52.h in ${real_a52_tree}/include" >&5
10933 echo $ECHO_N "checking for a52.h in ${real_a52_tree}/include... $ECHO_C" >&6
10934 if test -f ${real_a52_tree}/include/a52.h
10936 echo "$as_me:$LINENO: result: yes" >&5
10937 echo "${ECHO_T}yes" >&6
10938 a52_CFLAGS="${a52_CFLAGS} -I${real_a52_tree}"
10939 a52_LDFLAGS="${a52_LDFLAGS} -L${real_a52_tree}/liba52/.libs"
10940 save_LDFLAGS=$LDFLAGS
10941 LDFLAGS="$a52_LDFLAGS $LDFLAGS"
10942 echo "$as_me:$LINENO: checking for a52_free in -la52" >&5
10943 echo $ECHO_N "checking for a52_free in -la52... $ECHO_C" >&6
10944 if test "${ac_cv_lib_a52_a52_free+set}" = set; then
10945 echo $ECHO_N "(cached) $ECHO_C" >&6
10947 ac_check_lib_save_LIBS=$LIBS
10948 LIBS="-la52 -lm $LIBS"
10949 cat >conftest.$ac_ext <<_ACEOF
10950 #line $LINENO "configure"
10951 #include "confdefs.h"
10953 /* Override any gcc2 internal prototype to avoid an error. */
10957 /* We use char because int might match the return type of a gcc2
10958 builtin and then its argument prototype would still apply. */
10968 rm -f conftest.$ac_objext conftest$ac_exeext
10969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10970 (eval $ac_link) 2>&5
10972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10973 (exit $ac_status); } &&
10974 { ac_try='test -s conftest$ac_exeext'
10975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10976 (eval $ac_try) 2>&5
10978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10979 (exit $ac_status); }; }; then
10980 ac_cv_lib_a52_a52_free=yes
10982 echo "$as_me: failed program was:" >&5
10983 cat conftest.$ac_ext >&5
10984 ac_cv_lib_a52_a52_free=no
10986 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10987 LIBS=$ac_check_lib_save_LIBS
10989 echo "$as_me:$LINENO: result: $ac_cv_lib_a52_a52_free" >&5
10990 echo "${ECHO_T}$ac_cv_lib_a52_a52_free" >&6
10991 if test $ac_cv_lib_a52_a52_free = yes; then
10993 BUILTINS="${BUILTINS} a52"
10994 a52_LDFLAGS="${a52_LDFLAGS} -la52 -lm"
10995 a52_CFLAGS="${a52_CFLAGS} -DUSE_A52DEC_TREE"
10999 if test -f ${real_a52_tree}/liba52/.libs/liba52.a
11001 { { echo "$as_me:$LINENO: error: make sure you have at least a52dec-0.7.3" >&5
11002 echo "$as_me: error: make sure you have at least a52dec-0.7.3" >&2;}
11003 { (exit 1); exit 1; }; }
11005 { { echo "$as_me:$LINENO: error: the specified tree hasn't been compiled" >&5
11006 echo "$as_me: error: the specified tree hasn't been compiled" >&2;}
11007 { (exit 1); exit 1; }; }
11012 LDFLAGS=$save_LDFLAGS
11014 echo "$as_me:$LINENO: result: no" >&5
11015 echo "${ECHO_T}no" >&6
11016 { { echo "$as_me:$LINENO: error: the specified tree doesn't have a52.h" >&5
11017 echo "$as_me: error: the specified tree doesn't have a52.h" >&2;}
11018 { (exit 1); exit 1; }; }
11021 for ac_header in a52dec/a52.h
11023 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11025 echo "$as_me:$LINENO: checking for $ac_header" >&5
11026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11028 echo $ECHO_N "(cached) $ECHO_C" >&6
11030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11033 # Is the header compilable?
11034 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11035 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11036 cat >conftest.$ac_ext <<_ACEOF
11037 #line $LINENO "configure"
11038 #include "confdefs.h"
11039 $ac_includes_default
11040 #include <$ac_header>
11042 rm -f conftest.$ac_objext
11043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11044 (eval $ac_compile) 2>&5
11046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047 (exit $ac_status); } &&
11048 { ac_try='test -s conftest.$ac_objext'
11049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11050 (eval $ac_try) 2>&5
11052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11053 (exit $ac_status); }; }; then
11054 ac_header_compiler=yes
11056 echo "$as_me: failed program was:" >&5
11057 cat conftest.$ac_ext >&5
11058 ac_header_compiler=no
11060 rm -f conftest.$ac_objext conftest.$ac_ext
11061 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11062 echo "${ECHO_T}$ac_header_compiler" >&6
11064 # Is the header present?
11065 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11066 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11067 cat >conftest.$ac_ext <<_ACEOF
11068 #line $LINENO "configure"
11069 #include "confdefs.h"
11070 #include <$ac_header>
11072 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11073 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11075 grep -v '^ *+' conftest.er1 >conftest.err
11077 cat conftest.err >&5
11078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11079 (exit $ac_status); } >/dev/null; then
11080 if test -s conftest.err; then
11081 ac_cpp_err=$ac_c_preproc_warn_flag
11088 if test -z "$ac_cpp_err"; then
11089 ac_header_preproc=yes
11091 echo "$as_me: failed program was:" >&5
11092 cat conftest.$ac_ext >&5
11093 ac_header_preproc=no
11095 rm -f conftest.err conftest.$ac_ext
11096 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11097 echo "${ECHO_T}$ac_header_preproc" >&6
11099 # So? What about this header?
11100 case $ac_header_compiler:$ac_header_preproc in
11102 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11103 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11104 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11105 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11107 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11108 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11109 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11110 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&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: checking for $ac_header" >&5
11115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11117 echo $ECHO_N "(cached) $ECHO_C" >&6
11119 eval "$as_ac_Header=$ac_header_preproc"
11121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11122 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11125 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11126 cat >>confdefs.h <<_ACEOF
11127 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11130 echo "$as_me:$LINENO: checking for a52_free in -la52" >&5
11131 echo $ECHO_N "checking for a52_free in -la52... $ECHO_C" >&6
11132 if test "${ac_cv_lib_a52_a52_free+set}" = set; then
11133 echo $ECHO_N "(cached) $ECHO_C" >&6
11135 ac_check_lib_save_LIBS=$LIBS
11136 LIBS="-la52 -lm $LIBS"
11137 cat >conftest.$ac_ext <<_ACEOF
11138 #line $LINENO "configure"
11139 #include "confdefs.h"
11141 /* Override any gcc2 internal prototype to avoid an error. */
11145 /* We use char because int might match the return type of a gcc2
11146 builtin and then its argument prototype would still apply. */
11156 rm -f conftest.$ac_objext conftest$ac_exeext
11157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11158 (eval $ac_link) 2>&5
11160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11161 (exit $ac_status); } &&
11162 { ac_try='test -s conftest$ac_exeext'
11163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11164 (eval $ac_try) 2>&5
11166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11167 (exit $ac_status); }; }; then
11168 ac_cv_lib_a52_a52_free=yes
11170 echo "$as_me: failed program was:" >&5
11171 cat conftest.$ac_ext >&5
11172 ac_cv_lib_a52_a52_free=no
11174 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11175 LIBS=$ac_check_lib_save_LIBS
11177 echo "$as_me:$LINENO: result: $ac_cv_lib_a52_a52_free" >&5
11178 echo "${ECHO_T}$ac_cv_lib_a52_a52_free" >&6
11179 if test $ac_cv_lib_a52_a52_free = yes; then
11181 BUILTINS="${BUILTINS} a52"
11182 a52_LDFLAGS="${a52_LDFLAGS} -la52 -lm"
11183 a52_CFLAGS="${a52_CFLAGS}"
11195 # Check whether --enable-vorbis or --disable-vorbis was given.
11196 if test "${enable_vorbis+set}" = set; then
11197 enableval="$enable_vorbis"
11200 if test "x$enable_vorbis" != "xno"
11203 for ac_header in ogg/ogg.h
11205 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11207 echo "$as_me:$LINENO: checking for $ac_header" >&5
11208 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11210 echo $ECHO_N "(cached) $ECHO_C" >&6
11212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11213 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11215 # Is the header compilable?
11216 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11217 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11218 cat >conftest.$ac_ext <<_ACEOF
11219 #line $LINENO "configure"
11220 #include "confdefs.h"
11221 $ac_includes_default
11222 #include <$ac_header>
11224 rm -f conftest.$ac_objext
11225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11226 (eval $ac_compile) 2>&5
11228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11229 (exit $ac_status); } &&
11230 { ac_try='test -s conftest.$ac_objext'
11231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11232 (eval $ac_try) 2>&5
11234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11235 (exit $ac_status); }; }; then
11236 ac_header_compiler=yes
11238 echo "$as_me: failed program was:" >&5
11239 cat conftest.$ac_ext >&5
11240 ac_header_compiler=no
11242 rm -f conftest.$ac_objext conftest.$ac_ext
11243 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11244 echo "${ECHO_T}$ac_header_compiler" >&6
11246 # Is the header present?
11247 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11248 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11249 cat >conftest.$ac_ext <<_ACEOF
11250 #line $LINENO "configure"
11251 #include "confdefs.h"
11252 #include <$ac_header>
11254 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11255 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11257 grep -v '^ *+' conftest.er1 >conftest.err
11259 cat conftest.err >&5
11260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11261 (exit $ac_status); } >/dev/null; then
11262 if test -s conftest.err; then
11263 ac_cpp_err=$ac_c_preproc_warn_flag
11270 if test -z "$ac_cpp_err"; then
11271 ac_header_preproc=yes
11273 echo "$as_me: failed program was:" >&5
11274 cat conftest.$ac_ext >&5
11275 ac_header_preproc=no
11277 rm -f conftest.err conftest.$ac_ext
11278 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11279 echo "${ECHO_T}$ac_header_preproc" >&6
11281 # So? What about this header?
11282 case $ac_header_compiler:$ac_header_preproc in
11284 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11285 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11286 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11287 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11289 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11290 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11291 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11292 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11293 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11294 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11296 echo "$as_me:$LINENO: checking for $ac_header" >&5
11297 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11298 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11299 echo $ECHO_N "(cached) $ECHO_C" >&6
11301 eval "$as_ac_Header=$ac_header_preproc"
11303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11304 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11307 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11308 cat >>confdefs.h <<_ACEOF
11309 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11312 #PLUGINS="${PLUGINS} vorbis"
11313 vorbis_LDFLAGS="${vorbis_LDFLAGS} -lvorbis"
11323 # Check whether --with- or --without- was given.
11324 if test "${with_+set}" = set; then
11329 # Check whether --enable-x11 or --disable-x11 was given.
11330 if test "${enable_x11+set}" = set; then
11331 enableval="$enable_x11"
11334 if test x$enable_x11 != xno &&
11335 (test x$SYS != xmingw32 || test x$enable_x11 = xyes); then
11336 if test x$x_includes = xNONE; then
11337 x_includes=/usr/X11R6/include
11339 if test x$x_libraries = xNONE; then
11340 x_libraries=/usr/X11R6/lib
11342 CPPFLAGS="$save_CPPFLAGS -I$x_includes"
11344 for ac_header in X11/Xlib.h
11346 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11347 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11348 echo "$as_me:$LINENO: checking for $ac_header" >&5
11349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11350 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11351 echo $ECHO_N "(cached) $ECHO_C" >&6
11353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11354 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11356 # Is the header compilable?
11357 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11358 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11359 cat >conftest.$ac_ext <<_ACEOF
11360 #line $LINENO "configure"
11361 #include "confdefs.h"
11362 $ac_includes_default
11363 #include <$ac_header>
11365 rm -f conftest.$ac_objext
11366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11367 (eval $ac_compile) 2>&5
11369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11370 (exit $ac_status); } &&
11371 { ac_try='test -s conftest.$ac_objext'
11372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11373 (eval $ac_try) 2>&5
11375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11376 (exit $ac_status); }; }; then
11377 ac_header_compiler=yes
11379 echo "$as_me: failed program was:" >&5
11380 cat conftest.$ac_ext >&5
11381 ac_header_compiler=no
11383 rm -f conftest.$ac_objext conftest.$ac_ext
11384 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11385 echo "${ECHO_T}$ac_header_compiler" >&6
11387 # Is the header present?
11388 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11389 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11390 cat >conftest.$ac_ext <<_ACEOF
11391 #line $LINENO "configure"
11392 #include "confdefs.h"
11393 #include <$ac_header>
11395 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11396 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11398 grep -v '^ *+' conftest.er1 >conftest.err
11400 cat conftest.err >&5
11401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11402 (exit $ac_status); } >/dev/null; then
11403 if test -s conftest.err; then
11404 ac_cpp_err=$ac_c_preproc_warn_flag
11411 if test -z "$ac_cpp_err"; then
11412 ac_header_preproc=yes
11414 echo "$as_me: failed program was:" >&5
11415 cat conftest.$ac_ext >&5
11416 ac_header_preproc=no
11418 rm -f conftest.err conftest.$ac_ext
11419 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11420 echo "${ECHO_T}$ac_header_preproc" >&6
11422 # So? What about this header?
11423 case $ac_header_compiler:$ac_header_preproc in
11425 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11426 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11427 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11428 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11430 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11431 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11432 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11433 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11434 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11435 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11437 echo "$as_me:$LINENO: checking for $ac_header" >&5
11438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11439 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11440 echo $ECHO_N "(cached) $ECHO_C" >&6
11442 eval "$as_ac_Header=$ac_header_preproc"
11444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11445 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11448 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11449 cat >>confdefs.h <<_ACEOF
11450 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11453 PLUGINS="${PLUGINS} x11"
11454 x11_LDFLAGS="${x11_LDFLAGS} -L$x_libraries -lX11 -lXext"
11455 x11_CFLAGS="${x11_CFLAGS} -I$x_includes"
11461 CPPFLAGS="$save_CPPFLAGS"
11464 # Check whether --enable-xvideo or --disable-xvideo was given.
11465 if test "${enable_xvideo+set}" = set; then
11466 enableval="$enable_xvideo"
11469 if test x$enable_xvideo != xno &&
11470 (test x$SYS != xmingw32 || test x$enable_xvideo = xyes); then
11471 if test x$x_includes = xNONE; then
11472 x_includes=/usr/X11R6/include
11474 if test x$x_libraries = xNONE; then
11475 x_libraries=/usr/X11R6/lib
11477 save_CPPFLAGS=$CPPFLAGS
11478 CPPFLAGS="$save_CPPFLAGS -I$x_includes"
11480 for ac_header in X11/extensions/Xv.h
11482 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11483 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11484 echo "$as_me:$LINENO: checking for $ac_header" >&5
11485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11487 echo $ECHO_N "(cached) $ECHO_C" >&6
11489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11490 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11492 # Is the header compilable?
11493 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11494 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11495 cat >conftest.$ac_ext <<_ACEOF
11496 #line $LINENO "configure"
11497 #include "confdefs.h"
11498 $ac_includes_default
11499 #include <$ac_header>
11501 rm -f conftest.$ac_objext
11502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11503 (eval $ac_compile) 2>&5
11505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11506 (exit $ac_status); } &&
11507 { ac_try='test -s conftest.$ac_objext'
11508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11509 (eval $ac_try) 2>&5
11511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11512 (exit $ac_status); }; }; then
11513 ac_header_compiler=yes
11515 echo "$as_me: failed program was:" >&5
11516 cat conftest.$ac_ext >&5
11517 ac_header_compiler=no
11519 rm -f conftest.$ac_objext conftest.$ac_ext
11520 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11521 echo "${ECHO_T}$ac_header_compiler" >&6
11523 # Is the header present?
11524 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11525 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11526 cat >conftest.$ac_ext <<_ACEOF
11527 #line $LINENO "configure"
11528 #include "confdefs.h"
11529 #include <$ac_header>
11531 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11532 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11534 grep -v '^ *+' conftest.er1 >conftest.err
11536 cat conftest.err >&5
11537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11538 (exit $ac_status); } >/dev/null; then
11539 if test -s conftest.err; then
11540 ac_cpp_err=$ac_c_preproc_warn_flag
11547 if test -z "$ac_cpp_err"; then
11548 ac_header_preproc=yes
11550 echo "$as_me: failed program was:" >&5
11551 cat conftest.$ac_ext >&5
11552 ac_header_preproc=no
11554 rm -f conftest.err conftest.$ac_ext
11555 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11556 echo "${ECHO_T}$ac_header_preproc" >&6
11558 # So? What about this header?
11559 case $ac_header_compiler:$ac_header_preproc in
11561 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11562 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11564 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11566 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11567 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11568 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11569 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11570 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11571 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11573 echo "$as_me:$LINENO: checking for $ac_header" >&5
11574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11576 echo $ECHO_N "(cached) $ECHO_C" >&6
11578 eval "$as_ac_Header=$ac_header_preproc"
11580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11581 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11584 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11585 cat >>confdefs.h <<_ACEOF
11586 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11589 save_CFLAGS=$CFLAGS
11590 CFLAGS="$CFLAGS -L$x_libraries -lX11 -lXext"
11591 echo "$as_me:$LINENO: checking for XvSetPortAttribute in -lXv_pic" >&5
11592 echo $ECHO_N "checking for XvSetPortAttribute in -lXv_pic... $ECHO_C" >&6
11593 if test "${ac_cv_lib_Xv_pic_XvSetPortAttribute+set}" = set; then
11594 echo $ECHO_N "(cached) $ECHO_C" >&6
11596 ac_check_lib_save_LIBS=$LIBS
11597 LIBS="-lXv_pic $LIBS"
11598 cat >conftest.$ac_ext <<_ACEOF
11599 #line $LINENO "configure"
11600 #include "confdefs.h"
11602 /* Override any gcc2 internal prototype to avoid an error. */
11606 /* We use char because int might match the return type of a gcc2
11607 builtin and then its argument prototype would still apply. */
11608 char XvSetPortAttribute ();
11612 XvSetPortAttribute ();
11617 rm -f conftest.$ac_objext conftest$ac_exeext
11618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11619 (eval $ac_link) 2>&5
11621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11622 (exit $ac_status); } &&
11623 { ac_try='test -s conftest$ac_exeext'
11624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11625 (eval $ac_try) 2>&5
11627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11628 (exit $ac_status); }; }; then
11629 ac_cv_lib_Xv_pic_XvSetPortAttribute=yes
11631 echo "$as_me: failed program was:" >&5
11632 cat conftest.$ac_ext >&5
11633 ac_cv_lib_Xv_pic_XvSetPortAttribute=no
11635 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11636 LIBS=$ac_check_lib_save_LIBS
11638 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_pic_XvSetPortAttribute" >&5
11639 echo "${ECHO_T}$ac_cv_lib_Xv_pic_XvSetPortAttribute" >&6
11640 if test $ac_cv_lib_Xv_pic_XvSetPortAttribute = yes; then
11641 # We have Xv_pic, that's good, we can build an xvideo.so plugin !
11642 PLUGINS="${PLUGINS} xvideo"
11643 xvideo_LDFLAGS="${xvideo_LDFLAGS} -L$x_libraries -lX11 -lXext -lXv_pic"
11644 xvideo_CFLAGS="${xvideo_CFLAGS} -I$x_includes"
11646 # We don't have Xv_pic, let's make xvideo.a as builtin
11647 BUILTINS="${BUILTINS} xvideo"
11648 xvideo_LDFLAGS="${xvideo_LDFLAGS} -L$x_libraries -lX11 -lXext -lXv"
11649 xvideo_CFLAGS="${xvideo_CFLAGS} -I$x_includes"
11652 CFLAGS="$save_CFLAGS"
11654 CPPFLAGS="$save_CPPFLAGS"
11661 # Check whether --enable-sdl or --disable-sdl was given.
11662 if test "${enable_sdl+set}" = set; then
11663 enableval="$enable_sdl"
11666 if test "x$enable_sdl" != "xno"
11670 # Check whether --with-sdl-config-path or --without-sdl-config-path was given.
11671 if test "${with_sdl_config_path+set}" = set; then
11672 withval="$with_sdl_config_path"
11673 if test "x$with_sdl_config_path" != "xno"
11675 SDL_PATH="$with_sdl_config_path:$PATH"
11678 # Extract the first word of "sdl12-config", so it can be a program name with args.
11679 set dummy sdl12-config; ac_word=$2
11680 echo "$as_me:$LINENO: checking for $ac_word" >&5
11681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11682 if test "${ac_cv_path_SDL12_CONFIG+set}" = set; then
11683 echo $ECHO_N "(cached) $ECHO_C" >&6
11685 case $SDL12_CONFIG in
11687 ac_cv_path_SDL12_CONFIG="$SDL12_CONFIG" # Let the user override the test with a path.
11690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11691 for as_dir in $SDL_PATH
11694 test -z "$as_dir" && as_dir=.
11695 for ac_exec_ext in '' $ac_executable_extensions; do
11696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11697 ac_cv_path_SDL12_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11704 test -z "$ac_cv_path_SDL12_CONFIG" && ac_cv_path_SDL12_CONFIG="no"
11708 SDL12_CONFIG=$ac_cv_path_SDL12_CONFIG
11710 if test -n "$SDL12_CONFIG"; then
11711 echo "$as_me:$LINENO: result: $SDL12_CONFIG" >&5
11712 echo "${ECHO_T}$SDL12_CONFIG" >&6
11714 echo "$as_me:$LINENO: result: no" >&5
11715 echo "${ECHO_T}no" >&6
11718 SDL_CONFIG=${SDL12_CONFIG}
11719 SDL_HEADER="SDL12/SDL.h"
11720 if test x${SDL_CONFIG} = xno
11722 # Extract the first word of "sdl11-config", so it can be a program name with args.
11723 set dummy sdl11-config; ac_word=$2
11724 echo "$as_me:$LINENO: checking for $ac_word" >&5
11725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11726 if test "${ac_cv_path_SDL11_CONFIG+set}" = set; then
11727 echo $ECHO_N "(cached) $ECHO_C" >&6
11729 case $SDL11_CONFIG in
11731 ac_cv_path_SDL11_CONFIG="$SDL11_CONFIG" # Let the user override the test with a path.
11734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11735 for as_dir in $SDL_PATH
11738 test -z "$as_dir" && as_dir=.
11739 for ac_exec_ext in '' $ac_executable_extensions; do
11740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11741 ac_cv_path_SDL11_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11748 test -z "$ac_cv_path_SDL11_CONFIG" && ac_cv_path_SDL11_CONFIG="no"
11752 SDL11_CONFIG=$ac_cv_path_SDL11_CONFIG
11754 if test -n "$SDL11_CONFIG"; then
11755 echo "$as_me:$LINENO: result: $SDL11_CONFIG" >&5
11756 echo "${ECHO_T}$SDL11_CONFIG" >&6
11758 echo "$as_me:$LINENO: result: no" >&5
11759 echo "${ECHO_T}no" >&6
11762 SDL_CONFIG=${SDL11_CONFIG}
11763 SDL_HEADER="SDL11/SDL.h"
11765 if test x${SDL_CONFIG} = xno
11767 # Extract the first word of "sdl-config", so it can be a program name with args.
11768 set dummy sdl-config; ac_word=$2
11769 echo "$as_me:$LINENO: checking for $ac_word" >&5
11770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11771 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
11772 echo $ECHO_N "(cached) $ECHO_C" >&6
11774 case $SDL_CONFIG in
11776 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
11779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11780 for as_dir in $SDL_PATH
11783 test -z "$as_dir" && as_dir=.
11784 for ac_exec_ext in '' $ac_executable_extensions; do
11785 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11786 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11793 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
11797 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
11799 if test -n "$SDL_CONFIG"; then
11800 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
11801 echo "${ECHO_T}$SDL_CONFIG" >&6
11803 echo "$as_me:$LINENO: result: no" >&5
11804 echo "${ECHO_T}no" >&6
11807 SDL_HEADER="SDL/SDL.h"
11809 # check for cross-compiling
11812 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
11813 if test "${with_sdl_prefix+set}" = set; then
11814 withval="$with_sdl_prefix"
11817 if test "x$with_sdl_prefix" != "xno" -a "x$with_sdl_prefix" != "x"
11819 SDL_PREFIX="--prefix=$with_sdl_prefix"
11821 if test x${SDL_CONFIG} != xno
11823 PLUGINS="${PLUGINS} sdl"
11824 sdl_CFLAGS="${sdl_CFLAGS} `${SDL_CONFIG} ${SDL_PREFIX} --cflags`"
11825 sdl_LDFLAGS="${sdl_LDFLAGS} `${SDL_CONFIG} ${SDL_PREFIX} --libs | sed 's,-rdynamic,,'`"
11826 CPPFLAGS="$save_CPPFLAGS $sdl_CFLAGS"
11828 for ac_header in ${SDL_HEADER}
11830 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11831 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11832 echo "$as_me:$LINENO: checking for $ac_header" >&5
11833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11834 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11835 echo $ECHO_N "(cached) $ECHO_C" >&6
11837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11838 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11840 # Is the header compilable?
11841 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11842 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11843 cat >conftest.$ac_ext <<_ACEOF
11844 #line $LINENO "configure"
11845 #include "confdefs.h"
11846 $ac_includes_default
11847 #include <$ac_header>
11849 rm -f conftest.$ac_objext
11850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11851 (eval $ac_compile) 2>&5
11853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11854 (exit $ac_status); } &&
11855 { ac_try='test -s conftest.$ac_objext'
11856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11857 (eval $ac_try) 2>&5
11859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11860 (exit $ac_status); }; }; then
11861 ac_header_compiler=yes
11863 echo "$as_me: failed program was:" >&5
11864 cat conftest.$ac_ext >&5
11865 ac_header_compiler=no
11867 rm -f conftest.$ac_objext conftest.$ac_ext
11868 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11869 echo "${ECHO_T}$ac_header_compiler" >&6
11871 # Is the header present?
11872 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11873 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11874 cat >conftest.$ac_ext <<_ACEOF
11875 #line $LINENO "configure"
11876 #include "confdefs.h"
11877 #include <$ac_header>
11879 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11880 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11882 grep -v '^ *+' conftest.er1 >conftest.err
11884 cat conftest.err >&5
11885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11886 (exit $ac_status); } >/dev/null; then
11887 if test -s conftest.err; then
11888 ac_cpp_err=$ac_c_preproc_warn_flag
11895 if test -z "$ac_cpp_err"; then
11896 ac_header_preproc=yes
11898 echo "$as_me: failed program was:" >&5
11899 cat conftest.$ac_ext >&5
11900 ac_header_preproc=no
11902 rm -f conftest.err conftest.$ac_ext
11903 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11904 echo "${ECHO_T}$ac_header_preproc" >&6
11906 # So? What about this header?
11907 case $ac_header_compiler:$ac_header_preproc in
11909 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11910 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11911 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11912 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11914 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11915 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11916 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11917 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11918 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11919 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11921 echo "$as_me:$LINENO: checking for $ac_header" >&5
11922 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11924 echo $ECHO_N "(cached) $ECHO_C" >&6
11926 eval "$as_ac_Header=$ac_header_preproc"
11928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11929 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11932 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11933 cat >>confdefs.h <<_ACEOF
11934 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11937 cat >>confdefs.h <<_ACEOF
11938 #define SDL_INCLUDE_FILE <${SDL_HEADER}>
11942 { { echo "$as_me:$LINENO: error: The development package for SDL is not installed.
11943 Please install it and try again. Alternatively you can also configure with
11944 --disable-sdl." >&5
11945 echo "$as_me: error: The development package for SDL is not installed.
11946 Please install it and try again. Alternatively you can also configure with
11947 --disable-sdl." >&2;}
11948 { (exit 1); exit 1; }; }
11954 CPPFLAGS="$save_CPPFLAGS"
11955 if expr 1.1.5 \> `$SDL_CONFIG --version` >/dev/null
11957 { { echo "$as_me:$LINENO: error: The development package for SDL is not installed.
11958 Please install it and try again. Alternatively you can also configure with
11959 --disable-sdl." >&5
11960 echo "$as_me: error: The development package for SDL is not installed.
11961 Please install it and try again. Alternatively you can also configure with
11962 --disable-sdl." >&2;}
11963 { (exit 1); exit 1; }; }
11965 elif test "x$enable_sdl" = "xyes"
11967 { { echo "$as_me:$LINENO: error: I couldn't find the SDL package. You can download libSDL
11968 from http://www.libsdl.org/, or configure with --disable-sdl. Have a nice day.
11970 echo "$as_me: error: I couldn't find the SDL package. You can download libSDL
11971 from http://www.libsdl.org/, or configure with --disable-sdl. Have a nice day.
11973 { (exit 1); exit 1; }; }
11977 # Check whether --enable-qte or --disable-qte was given.
11978 if test "${enable_qte+set}" = set; then
11979 enableval="$enable_qte"
11982 if test "x${enable_qte}" = "xyes"
11985 # Check whether --with-qte or --without-qte was given.
11986 if test "${with_qte+set}" = set; then
11987 withval="$with_qte"
11990 if test "x${with_qte}" = "xyes" -a "x${with_qte}" != "x"
11992 test_LDFLAGS="-L${QTDIR}/lib"
11993 test_CFLAGS="-I${QTDIR}/include"
11995 test_LDFLAGS="-L${with_qte}/lib"
11996 test_CFLAGS="-I${with_qte}/include"
11999 CPPFLAGS="${save_CPPFLAGS} ${test_CFLAGS}"
12001 for ac_header in qte.h
12003 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12004 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12005 echo "$as_me:$LINENO: checking for $ac_header" >&5
12006 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12007 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12008 echo $ECHO_N "(cached) $ECHO_C" >&6
12010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12011 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12013 # Is the header compilable?
12014 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12015 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12016 cat >conftest.$ac_ext <<_ACEOF
12017 #line $LINENO "configure"
12018 #include "confdefs.h"
12019 $ac_includes_default
12020 #include <$ac_header>
12022 rm -f conftest.$ac_objext
12023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12024 (eval $ac_compile) 2>&5
12026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12027 (exit $ac_status); } &&
12028 { ac_try='test -s conftest.$ac_objext'
12029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12030 (eval $ac_try) 2>&5
12032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12033 (exit $ac_status); }; }; then
12034 ac_header_compiler=yes
12036 echo "$as_me: failed program was:" >&5
12037 cat conftest.$ac_ext >&5
12038 ac_header_compiler=no
12040 rm -f conftest.$ac_objext conftest.$ac_ext
12041 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12042 echo "${ECHO_T}$ac_header_compiler" >&6
12044 # Is the header present?
12045 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12046 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12047 cat >conftest.$ac_ext <<_ACEOF
12048 #line $LINENO "configure"
12049 #include "confdefs.h"
12050 #include <$ac_header>
12052 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12053 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12055 grep -v '^ *+' conftest.er1 >conftest.err
12057 cat conftest.err >&5
12058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12059 (exit $ac_status); } >/dev/null; then
12060 if test -s conftest.err; then
12061 ac_cpp_err=$ac_c_preproc_warn_flag
12068 if test -z "$ac_cpp_err"; then
12069 ac_header_preproc=yes
12071 echo "$as_me: failed program was:" >&5
12072 cat conftest.$ac_ext >&5
12073 ac_header_preproc=no
12075 rm -f conftest.err conftest.$ac_ext
12076 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12077 echo "${ECHO_T}$ac_header_preproc" >&6
12079 # So? What about this header?
12080 case $ac_header_compiler:$ac_header_preproc in
12082 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12083 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12084 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12085 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12087 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12088 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12089 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12090 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12091 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12092 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12094 echo "$as_me:$LINENO: checking for $ac_header" >&5
12095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12097 echo $ECHO_N "(cached) $ECHO_C" >&6
12099 eval "$as_ac_Header=$ac_header_preproc"
12101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12102 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12105 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12106 cat >>confdefs.h <<_ACEOF
12107 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12110 qte_CFLAGS="${qte_CFLAGS} ${test_CFLAGS} -DQT_QWS_IPAQ -DQWS -fno-exceptions -fno-rtti"
12111 qte_LDFLAGS="${qte_LDFLAGS} ${test_LDFLAGS} -lqpe -lqte"
12112 PLUGINS="${PLUGINS} qte"
12115 { { echo "$as_me:$LINENO: error: echo \"Cannot find QT Embedded development headers.\"" >&5
12116 echo "$as_me: error: echo \"Cannot find QT Embedded development headers.\"" >&2;}
12117 { (exit 1); exit 1; }; }
12122 CPPFLAGS="${save_CPPFLAGS}"
12125 # Check whether --enable-directx or --disable-directx was given.
12126 if test "${enable_directx+set}" = set; then
12127 enableval="$enable_directx"
12130 if test "x$enable_directx" != "xno"
12132 if test x$SYS = xmingw32
12135 # Check whether --with-directx or --without-directx was given.
12136 if test "${with_directx+set}" = set; then
12137 withval="$with_directx"
12140 if test "x$with_directx" = "x"
12143 for ac_header in ddraw.h
12145 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12147 echo "$as_me:$LINENO: checking for $ac_header" >&5
12148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12150 echo $ECHO_N "(cached) $ECHO_C" >&6
12152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12153 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12155 # Is the header compilable?
12156 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12157 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12158 cat >conftest.$ac_ext <<_ACEOF
12159 #line $LINENO "configure"
12160 #include "confdefs.h"
12161 $ac_includes_default
12162 #include <$ac_header>
12164 rm -f conftest.$ac_objext
12165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12166 (eval $ac_compile) 2>&5
12168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12169 (exit $ac_status); } &&
12170 { ac_try='test -s conftest.$ac_objext'
12171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12172 (eval $ac_try) 2>&5
12174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12175 (exit $ac_status); }; }; then
12176 ac_header_compiler=yes
12178 echo "$as_me: failed program was:" >&5
12179 cat conftest.$ac_ext >&5
12180 ac_header_compiler=no
12182 rm -f conftest.$ac_objext conftest.$ac_ext
12183 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12184 echo "${ECHO_T}$ac_header_compiler" >&6
12186 # Is the header present?
12187 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12188 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12189 cat >conftest.$ac_ext <<_ACEOF
12190 #line $LINENO "configure"
12191 #include "confdefs.h"
12192 #include <$ac_header>
12194 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12195 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12197 grep -v '^ *+' conftest.er1 >conftest.err
12199 cat conftest.err >&5
12200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12201 (exit $ac_status); } >/dev/null; then
12202 if test -s conftest.err; then
12203 ac_cpp_err=$ac_c_preproc_warn_flag
12210 if test -z "$ac_cpp_err"; then
12211 ac_header_preproc=yes
12213 echo "$as_me: failed program was:" >&5
12214 cat conftest.$ac_ext >&5
12215 ac_header_preproc=no
12217 rm -f conftest.err conftest.$ac_ext
12218 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12219 echo "${ECHO_T}$ac_header_preproc" >&6
12221 # So? What about this header?
12222 case $ac_header_compiler:$ac_header_preproc in
12224 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12225 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12226 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12227 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12229 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12230 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12231 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12232 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12233 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12234 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12236 echo "$as_me:$LINENO: checking for $ac_header" >&5
12237 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12238 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12239 echo $ECHO_N "(cached) $ECHO_C" >&6
12241 eval "$as_ac_Header=$ac_header_preproc"
12243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12247 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12248 cat >>confdefs.h <<_ACEOF
12249 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12251 PLUGINS="${PLUGINS} directx"
12252 directx_LDFLAGS="${directx_LDFLAGS} -lgdi32"
12258 echo "$as_me:$LINENO: checking for directX headers in ${with_directx}" >&5
12259 echo $ECHO_N "checking for directX headers in ${with_directx}... $ECHO_C" >&6
12260 if test -f ${with_directx}/ddraw.h
12262 PLUGINS="${PLUGINS} directx"
12263 directx_LDFLAGS="${directx_LDFLAGS} -L${with_directx}/lib -lgdi32"
12264 directx_CFLAGS="${directx_CFLAGS} -I${with_directx}"
12265 echo "$as_me:$LINENO: result: yes" >&5
12266 echo "${ECHO_T}yes" >&6
12268 echo "$as_me:$LINENO: result: no" >&5
12269 echo "${ECHO_T}no" >&6
12270 { { echo "$as_me:$LINENO: error: Cannot find ${with_directx}/ddraw.h!" >&5
12271 echo "$as_me: error: Cannot find ${with_directx}/ddraw.h!" >&2;}
12272 { (exit 1); exit 1; }; }
12278 # Check whether --enable-fb or --disable-fb was given.
12279 if test "${enable_fb+set}" = set; then
12280 enableval="$enable_fb"
12283 if test x$enable_fb != xno
12286 for ac_header in linux/fb.h
12288 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12290 echo "$as_me:$LINENO: checking for $ac_header" >&5
12291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12293 echo $ECHO_N "(cached) $ECHO_C" >&6
12295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12296 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12298 # Is the header compilable?
12299 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12300 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12301 cat >conftest.$ac_ext <<_ACEOF
12302 #line $LINENO "configure"
12303 #include "confdefs.h"
12304 $ac_includes_default
12305 #include <$ac_header>
12307 rm -f conftest.$ac_objext
12308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12309 (eval $ac_compile) 2>&5
12311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12312 (exit $ac_status); } &&
12313 { ac_try='test -s conftest.$ac_objext'
12314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12315 (eval $ac_try) 2>&5
12317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12318 (exit $ac_status); }; }; then
12319 ac_header_compiler=yes
12321 echo "$as_me: failed program was:" >&5
12322 cat conftest.$ac_ext >&5
12323 ac_header_compiler=no
12325 rm -f conftest.$ac_objext conftest.$ac_ext
12326 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12327 echo "${ECHO_T}$ac_header_compiler" >&6
12329 # Is the header present?
12330 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12331 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12332 cat >conftest.$ac_ext <<_ACEOF
12333 #line $LINENO "configure"
12334 #include "confdefs.h"
12335 #include <$ac_header>
12337 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12338 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12340 grep -v '^ *+' conftest.er1 >conftest.err
12342 cat conftest.err >&5
12343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12344 (exit $ac_status); } >/dev/null; then
12345 if test -s conftest.err; then
12346 ac_cpp_err=$ac_c_preproc_warn_flag
12353 if test -z "$ac_cpp_err"; then
12354 ac_header_preproc=yes
12356 echo "$as_me: failed program was:" >&5
12357 cat conftest.$ac_ext >&5
12358 ac_header_preproc=no
12360 rm -f conftest.err conftest.$ac_ext
12361 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12362 echo "${ECHO_T}$ac_header_preproc" >&6
12364 # So? What about this header?
12365 case $ac_header_compiler:$ac_header_preproc in
12367 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12368 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12369 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12370 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12372 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12373 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12374 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12375 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12376 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12377 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12379 echo "$as_me:$LINENO: checking for $ac_header" >&5
12380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12381 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12382 echo $ECHO_N "(cached) $ECHO_C" >&6
12384 eval "$as_ac_Header=$ac_header_preproc"
12386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12387 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12390 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12391 cat >>confdefs.h <<_ACEOF
12392 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12395 PLUGINS="${PLUGINS} fb"
12403 # Check whether --enable-mga or --disable-mga was given.
12404 if test "${enable_mga+set}" = set; then
12405 enableval="$enable_mga"
12406 if test x$enable_mga = xyes
12408 PLUGINS="${PLUGINS} mga xmga"
12412 # Check whether --enable-ggi or --disable-ggi was given.
12413 if test "${enable_ggi+set}" = set; then
12414 enableval="$enable_ggi"
12417 if test x$enable_ggi = xyes
12419 PLUGINS="${PLUGINS} ggi"
12420 ggi_LDFLAGS="${ggi_LDFLAGS} -lggi"
12422 # Check whether --with-ggi or --without-ggi was given.
12423 if test "${with_ggi+set}" = set; then
12424 withval="$with_ggi"
12425 if test "x$with_ggi" != "xno" -a "x$with_ggi" != "x"
12427 CFLAGS_GGI="${CFLAGS_GGI} -I$with_ggi/include"
12428 ggi_LDFLAGS="${ggi_LDFLAGS} -L$with_ggi/lib"
12433 # Check whether --enable-glide or --disable-glide was given.
12434 if test "${enable_glide+set}" = set; then
12435 enableval="$enable_glide"
12438 if test x$enable_glide = xyes
12440 PLUGINS="${PLUGINS} glide"
12441 glide_LDFLAGS="${glide_LDFLAGS} -lglide2x -lm"
12442 glide_CFLAGS="${glide_CFLAGS} -I/usr/include/glide"
12444 # Check whether --with-glide or --without-glide was given.
12445 if test "${with_glide+set}" = set; then
12446 withval="$with_glide"
12447 if test "x$with_glide" != "xno" -a "x$with_glide" != "x"
12449 glide_CFLAGS="${glide_CFLAGS} -I$with_glide/include"
12450 glide_LDFLAGS="${glide_LDFLAGS} -L$with_glide/lib"
12455 # Check whether --enable-aa or --disable-aa was given.
12456 if test "${enable_aa+set}" = set; then
12457 enableval="$enable_aa"
12460 if test x$enable_aa = xyes
12462 if test "${ac_cv_header_aalib_h+set}" = set; then
12463 echo "$as_me:$LINENO: checking for aalib.h" >&5
12464 echo $ECHO_N "checking for aalib.h... $ECHO_C" >&6
12465 if test "${ac_cv_header_aalib_h+set}" = set; then
12466 echo $ECHO_N "(cached) $ECHO_C" >&6
12468 echo "$as_me:$LINENO: result: $ac_cv_header_aalib_h" >&5
12469 echo "${ECHO_T}$ac_cv_header_aalib_h" >&6
12471 # Is the header compilable?
12472 echo "$as_me:$LINENO: checking aalib.h usability" >&5
12473 echo $ECHO_N "checking aalib.h usability... $ECHO_C" >&6
12474 cat >conftest.$ac_ext <<_ACEOF
12475 #line $LINENO "configure"
12476 #include "confdefs.h"
12477 $ac_includes_default
12480 rm -f conftest.$ac_objext
12481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12482 (eval $ac_compile) 2>&5
12484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12485 (exit $ac_status); } &&
12486 { ac_try='test -s conftest.$ac_objext'
12487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12488 (eval $ac_try) 2>&5
12490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12491 (exit $ac_status); }; }; then
12492 ac_header_compiler=yes
12494 echo "$as_me: failed program was:" >&5
12495 cat conftest.$ac_ext >&5
12496 ac_header_compiler=no
12498 rm -f conftest.$ac_objext conftest.$ac_ext
12499 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12500 echo "${ECHO_T}$ac_header_compiler" >&6
12502 # Is the header present?
12503 echo "$as_me:$LINENO: checking aalib.h presence" >&5
12504 echo $ECHO_N "checking aalib.h presence... $ECHO_C" >&6
12505 cat >conftest.$ac_ext <<_ACEOF
12506 #line $LINENO "configure"
12507 #include "confdefs.h"
12510 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12511 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12513 grep -v '^ *+' conftest.er1 >conftest.err
12515 cat conftest.err >&5
12516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12517 (exit $ac_status); } >/dev/null; then
12518 if test -s conftest.err; then
12519 ac_cpp_err=$ac_c_preproc_warn_flag
12526 if test -z "$ac_cpp_err"; then
12527 ac_header_preproc=yes
12529 echo "$as_me: failed program was:" >&5
12530 cat conftest.$ac_ext >&5
12531 ac_header_preproc=no
12533 rm -f conftest.err conftest.$ac_ext
12534 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12535 echo "${ECHO_T}$ac_header_preproc" >&6
12537 # So? What about this header?
12538 case $ac_header_compiler:$ac_header_preproc in
12540 { echo "$as_me:$LINENO: WARNING: aalib.h: accepted by the compiler, rejected by the preprocessor!" >&5
12541 echo "$as_me: WARNING: aalib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12542 { echo "$as_me:$LINENO: WARNING: aalib.h: proceeding with the preprocessor's result" >&5
12543 echo "$as_me: WARNING: aalib.h: proceeding with the preprocessor's result" >&2;};;
12545 { echo "$as_me:$LINENO: WARNING: aalib.h: present but cannot be compiled" >&5
12546 echo "$as_me: WARNING: aalib.h: present but cannot be compiled" >&2;}
12547 { echo "$as_me:$LINENO: WARNING: aalib.h: check for missing prerequisite headers?" >&5
12548 echo "$as_me: WARNING: aalib.h: check for missing prerequisite headers?" >&2;}
12549 { echo "$as_me:$LINENO: WARNING: aalib.h: proceeding with the preprocessor's result" >&5
12550 echo "$as_me: WARNING: aalib.h: proceeding with the preprocessor's result" >&2;};;
12552 echo "$as_me:$LINENO: checking for aalib.h" >&5
12553 echo $ECHO_N "checking for aalib.h... $ECHO_C" >&6
12554 if test "${ac_cv_header_aalib_h+set}" = set; then
12555 echo $ECHO_N "(cached) $ECHO_C" >&6
12557 ac_cv_header_aalib_h=$ac_header_preproc
12559 echo "$as_me:$LINENO: result: $ac_cv_header_aalib_h" >&5
12560 echo "${ECHO_T}$ac_cv_header_aalib_h" >&6
12563 if test $ac_cv_header_aalib_h = yes; then
12570 if test x$have_aa = xtrue
12572 PLUGINS="${PLUGINS} aa"
12573 aa_LDFLAGS="${aa_LDFLAGS} -laa"
12579 # Check whether --with- or --without- was given.
12580 if test "${with_+set}" = set; then
12585 # Check whether --enable-dsp or --disable-dsp was given.
12586 if test "${enable_dsp+set}" = set; then
12587 enableval="$enable_dsp"
12591 if test x$enable_dsp != xno &&
12592 (test x$SYS != xmingw32 || test x$enable_dsp = xyes)
12597 for ac_header in soundcard.h sys/soundcard.h machine/soundcard.h
12599 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12601 echo "$as_me:$LINENO: checking for $ac_header" >&5
12602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12604 echo $ECHO_N "(cached) $ECHO_C" >&6
12606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12607 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12609 # Is the header compilable?
12610 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12611 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12612 cat >conftest.$ac_ext <<_ACEOF
12613 #line $LINENO "configure"
12614 #include "confdefs.h"
12615 $ac_includes_default
12616 #include <$ac_header>
12618 rm -f conftest.$ac_objext
12619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12620 (eval $ac_compile) 2>&5
12622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12623 (exit $ac_status); } &&
12624 { ac_try='test -s conftest.$ac_objext'
12625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12626 (eval $ac_try) 2>&5
12628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12629 (exit $ac_status); }; }; then
12630 ac_header_compiler=yes
12632 echo "$as_me: failed program was:" >&5
12633 cat conftest.$ac_ext >&5
12634 ac_header_compiler=no
12636 rm -f conftest.$ac_objext conftest.$ac_ext
12637 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12638 echo "${ECHO_T}$ac_header_compiler" >&6
12640 # Is the header present?
12641 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12642 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12643 cat >conftest.$ac_ext <<_ACEOF
12644 #line $LINENO "configure"
12645 #include "confdefs.h"
12646 #include <$ac_header>
12648 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12649 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12651 grep -v '^ *+' conftest.er1 >conftest.err
12653 cat conftest.err >&5
12654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12655 (exit $ac_status); } >/dev/null; then
12656 if test -s conftest.err; then
12657 ac_cpp_err=$ac_c_preproc_warn_flag
12664 if test -z "$ac_cpp_err"; then
12665 ac_header_preproc=yes
12667 echo "$as_me: failed program was:" >&5
12668 cat conftest.$ac_ext >&5
12669 ac_header_preproc=no
12671 rm -f conftest.err conftest.$ac_ext
12672 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12673 echo "${ECHO_T}$ac_header_preproc" >&6
12675 # So? What about this header?
12676 case $ac_header_compiler:$ac_header_preproc in
12678 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12679 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12680 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12681 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12683 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12684 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12685 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12686 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12687 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12688 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12690 echo "$as_me:$LINENO: checking for $ac_header" >&5
12691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12693 echo $ECHO_N "(cached) $ECHO_C" >&6
12695 eval "$as_ac_Header=$ac_header_preproc"
12697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12698 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12701 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12702 cat >>confdefs.h <<_ACEOF
12703 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12706 PLUGINS="${PLUGINS} dsp"
12707 echo "$as_me:$LINENO: checking for main in -lossaudio" >&5
12708 echo $ECHO_N "checking for main in -lossaudio... $ECHO_C" >&6
12709 if test "${ac_cv_lib_ossaudio_main+set}" = set; then
12710 echo $ECHO_N "(cached) $ECHO_C" >&6
12712 ac_check_lib_save_LIBS=$LIBS
12713 LIBS="-lossaudio $LIBS"
12714 cat >conftest.$ac_ext <<_ACEOF
12715 #line $LINENO "configure"
12716 #include "confdefs.h"
12727 rm -f conftest.$ac_objext conftest$ac_exeext
12728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12729 (eval $ac_link) 2>&5
12731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12732 (exit $ac_status); } &&
12733 { ac_try='test -s conftest$ac_exeext'
12734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12735 (eval $ac_try) 2>&5
12737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12738 (exit $ac_status); }; }; then
12739 ac_cv_lib_ossaudio_main=yes
12741 echo "$as_me: failed program was:" >&5
12742 cat conftest.$ac_ext >&5
12743 ac_cv_lib_ossaudio_main=no
12745 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12746 LIBS=$ac_check_lib_save_LIBS
12748 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio_main" >&5
12749 echo "${ECHO_T}$ac_cv_lib_ossaudio_main" >&6
12750 if test $ac_cv_lib_ossaudio_main = yes; then
12751 dsp_LDFLAGS="${dsp_LDFLAGS} -lossaudio"
12761 # Check whether --enable-esd or --disable-esd was given.
12762 if test "${enable_esd+set}" = set; then
12763 enableval="$enable_esd"
12764 if test x$enable_esd = xyes
12766 # Extract the first word of "esd-config", so it can be a program name with args.
12767 set dummy esd-config; ac_word=$2
12768 echo "$as_me:$LINENO: checking for $ac_word" >&5
12769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12770 if test "${ac_cv_path_ESD_CONFIG+set}" = set; then
12771 echo $ECHO_N "(cached) $ECHO_C" >&6
12773 case $ESD_CONFIG in
12775 ac_cv_path_ESD_CONFIG="$ESD_CONFIG" # Let the user override the test with a path.
12778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12779 for as_dir in $PATH
12782 test -z "$as_dir" && as_dir=.
12783 for ac_exec_ext in '' $ac_executable_extensions; do
12784 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12785 ac_cv_path_ESD_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12792 test -z "$ac_cv_path_ESD_CONFIG" && ac_cv_path_ESD_CONFIG="no"
12796 ESD_CONFIG=$ac_cv_path_ESD_CONFIG
12798 if test -n "$ESD_CONFIG"; then
12799 echo "$as_me:$LINENO: result: $ESD_CONFIG" >&5
12800 echo "${ECHO_T}$ESD_CONFIG" >&6
12802 echo "$as_me:$LINENO: result: no" >&5
12803 echo "${ECHO_T}no" >&6
12806 if test x${ESD_CONFIG} != xno
12808 PLUGINS="${PLUGINS} esd"
12809 esd_CFLAGS="${esd_CFLAGS} `${ESD_CONFIG} --cflags`"
12810 esd_LDFLAGS="${esd_LDFLAGS} `${ESD_CONFIG} --libs`"
12815 # Check whether --enable-arts or --disable-arts was given.
12816 if test "${enable_arts+set}" = set; then
12817 enableval="$enable_arts"
12818 if test x$enable_arts = xyes
12820 # Extract the first word of "artsc-config", so it can be a program name with args.
12821 set dummy artsc-config; ac_word=$2
12822 echo "$as_me:$LINENO: checking for $ac_word" >&5
12823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12824 if test "${ac_cv_path_ARTS_CONFIG+set}" = set; then
12825 echo $ECHO_N "(cached) $ECHO_C" >&6
12827 case $ARTS_CONFIG in
12829 ac_cv_path_ARTS_CONFIG="$ARTS_CONFIG" # Let the user override the test with a path.
12832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12833 for as_dir in $PATH
12836 test -z "$as_dir" && as_dir=.
12837 for ac_exec_ext in '' $ac_executable_extensions; do
12838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12839 ac_cv_path_ARTS_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12846 test -z "$ac_cv_path_ARTS_CONFIG" && ac_cv_path_ARTS_CONFIG="no"
12850 ARTS_CONFIG=$ac_cv_path_ARTS_CONFIG
12852 if test -n "$ARTS_CONFIG"; then
12853 echo "$as_me:$LINENO: result: $ARTS_CONFIG" >&5
12854 echo "${ECHO_T}$ARTS_CONFIG" >&6
12856 echo "$as_me:$LINENO: result: no" >&5
12857 echo "${ECHO_T}no" >&6
12860 if test x${ARTS_CONFIG} != xno
12862 PLUGINS="${PLUGINS} arts"
12863 arts_CFLAGS="${arts_CFLAGS} `${ARTS_CONFIG} --cflags`"
12864 arts_LDFLAGS="${arts_LDFLAGS} `${ARTS_CONFIG} --libs `"
12869 # Check whether --enable-alsa or --disable-alsa was given.
12870 if test "${enable_alsa+set}" = set; then
12871 enableval="$enable_alsa"
12872 if test x$enable_alsa = xyes
12874 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
12875 echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
12876 echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6
12877 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
12878 echo $ECHO_N "(cached) $ECHO_C" >&6
12880 echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
12881 echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6
12883 # Is the header compilable?
12884 echo "$as_me:$LINENO: checking alsa/asoundlib.h usability" >&5
12885 echo $ECHO_N "checking alsa/asoundlib.h usability... $ECHO_C" >&6
12886 cat >conftest.$ac_ext <<_ACEOF
12887 #line $LINENO "configure"
12888 #include "confdefs.h"
12889 $ac_includes_default
12890 #include <alsa/asoundlib.h>
12892 rm -f conftest.$ac_objext
12893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12894 (eval $ac_compile) 2>&5
12896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12897 (exit $ac_status); } &&
12898 { ac_try='test -s conftest.$ac_objext'
12899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12900 (eval $ac_try) 2>&5
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); }; }; then
12904 ac_header_compiler=yes
12906 echo "$as_me: failed program was:" >&5
12907 cat conftest.$ac_ext >&5
12908 ac_header_compiler=no
12910 rm -f conftest.$ac_objext conftest.$ac_ext
12911 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12912 echo "${ECHO_T}$ac_header_compiler" >&6
12914 # Is the header present?
12915 echo "$as_me:$LINENO: checking alsa/asoundlib.h presence" >&5
12916 echo $ECHO_N "checking alsa/asoundlib.h presence... $ECHO_C" >&6
12917 cat >conftest.$ac_ext <<_ACEOF
12918 #line $LINENO "configure"
12919 #include "confdefs.h"
12920 #include <alsa/asoundlib.h>
12922 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12923 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12925 grep -v '^ *+' conftest.er1 >conftest.err
12927 cat conftest.err >&5
12928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12929 (exit $ac_status); } >/dev/null; then
12930 if test -s conftest.err; then
12931 ac_cpp_err=$ac_c_preproc_warn_flag
12938 if test -z "$ac_cpp_err"; then
12939 ac_header_preproc=yes
12941 echo "$as_me: failed program was:" >&5
12942 cat conftest.$ac_ext >&5
12943 ac_header_preproc=no
12945 rm -f conftest.err conftest.$ac_ext
12946 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12947 echo "${ECHO_T}$ac_header_preproc" >&6
12949 # So? What about this header?
12950 case $ac_header_compiler:$ac_header_preproc in
12952 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
12953 echo "$as_me: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12954 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&5
12955 echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;};;
12957 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&5
12958 echo "$as_me: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&2;}
12959 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&5
12960 echo "$as_me: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&2;}
12961 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&5
12962 echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;};;
12964 echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
12965 echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6
12966 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
12967 echo $ECHO_N "(cached) $ECHO_C" >&6
12969 ac_cv_header_alsa_asoundlib_h=$ac_header_preproc
12971 echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
12972 echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6
12975 if test $ac_cv_header_alsa_asoundlib_h = yes; then
12976 echo "$as_me:$LINENO: checking for main in -lasound" >&5
12977 echo $ECHO_N "checking for main in -lasound... $ECHO_C" >&6
12978 if test "${ac_cv_lib_asound_main+set}" = set; then
12979 echo $ECHO_N "(cached) $ECHO_C" >&6
12981 ac_check_lib_save_LIBS=$LIBS
12982 LIBS="-lasound $LIBS"
12983 cat >conftest.$ac_ext <<_ACEOF
12984 #line $LINENO "configure"
12985 #include "confdefs.h"
12996 rm -f conftest.$ac_objext conftest$ac_exeext
12997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12998 (eval $ac_link) 2>&5
13000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13001 (exit $ac_status); } &&
13002 { ac_try='test -s conftest$ac_exeext'
13003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13004 (eval $ac_try) 2>&5
13006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13007 (exit $ac_status); }; }; then
13008 ac_cv_lib_asound_main=yes
13010 echo "$as_me: failed program was:" >&5
13011 cat conftest.$ac_ext >&5
13012 ac_cv_lib_asound_main=no
13014 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13015 LIBS=$ac_check_lib_save_LIBS
13017 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_main" >&5
13018 echo "${ECHO_T}$ac_cv_lib_asound_main" >&6
13019 if test $ac_cv_lib_asound_main = yes; then
13030 if test x$have_alsa = xtrue
13032 PLUGINS="${PLUGINS} alsa"
13033 alsa_LDFLAGS="${alsa_LDFLAGS} -lasound -lm -ldl"
13038 # Check whether --enable-waveout or --disable-waveout was given.
13039 if test "${enable_waveout+set}" = set; then
13040 enableval="$enable_waveout"
13043 if test "x$enable_waveout" != "xno" -a x$SYS = xmingw32
13045 PLUGINS="${PLUGINS} waveout"
13046 waveout_LDFLAGS="-lwinmm"
13051 # Check whether --with- or --without- was given.
13052 if test "${with_+set}" = set; then
13057 # Check whether --enable-gtk or --disable-gtk was given.
13058 if test "${enable_gtk+set}" = set; then
13059 enableval="$enable_gtk"
13062 if test x$enable_gtk != xno
13066 # Check whether --with-gtk-config-path or --without-gtk-config-path was given.
13067 if test "${with_gtk_config_path+set}" = set; then
13068 withval="$with_gtk_config_path"
13069 if test "x$with_gtk_config_path" != "xno"
13071 GTK_PATH="$with_gtk_config_path:$PATH"
13074 # look for gtk-config
13075 # Extract the first word of "gtk12-config", so it can be a program name with args.
13076 set dummy gtk12-config; ac_word=$2
13077 echo "$as_me:$LINENO: checking for $ac_word" >&5
13078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13079 if test "${ac_cv_path_GTK12_CONFIG+set}" = set; then
13080 echo $ECHO_N "(cached) $ECHO_C" >&6
13082 case $GTK12_CONFIG in
13084 ac_cv_path_GTK12_CONFIG="$GTK12_CONFIG" # Let the user override the test with a path.
13087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13088 for as_dir in $GTK_PATH
13091 test -z "$as_dir" && as_dir=.
13092 for ac_exec_ext in '' $ac_executable_extensions; do
13093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13094 ac_cv_path_GTK12_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13101 test -z "$ac_cv_path_GTK12_CONFIG" && ac_cv_path_GTK12_CONFIG="no"
13105 GTK12_CONFIG=$ac_cv_path_GTK12_CONFIG
13107 if test -n "$GTK12_CONFIG"; then
13108 echo "$as_me:$LINENO: result: $GTK12_CONFIG" >&5
13109 echo "${ECHO_T}$GTK12_CONFIG" >&6
13111 echo "$as_me:$LINENO: result: no" >&5
13112 echo "${ECHO_T}no" >&6
13115 GTK_CONFIG=${GTK12_CONFIG}
13116 if test x${GTK_CONFIG} = xno
13118 # Extract the first word of "gtk-config", so it can be a program name with args.
13119 set dummy gtk-config; ac_word=$2
13120 echo "$as_me:$LINENO: checking for $ac_word" >&5
13121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13122 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
13123 echo $ECHO_N "(cached) $ECHO_C" >&6
13125 case $GTK_CONFIG in
13127 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
13130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13131 for as_dir in $GTK_PATH
13134 test -z "$as_dir" && as_dir=.
13135 for ac_exec_ext in '' $ac_executable_extensions; do
13136 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13137 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13144 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
13148 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
13150 if test -n "$GTK_CONFIG"; then
13151 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
13152 echo "${ECHO_T}$GTK_CONFIG" >&6
13154 echo "$as_me:$LINENO: result: no" >&5
13155 echo "${ECHO_T}no" >&6
13159 if test x${GTK_CONFIG} != xno
13161 if expr 1.2.0 \> `$GTK_CONFIG --version` >/dev/null
13163 { { 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
13164 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;}
13165 { (exit 1); exit 1; }; }
13167 gtk_CFLAGS="${gtk_CFLAGS} `${GTK_CONFIG} --cflags gtk`"
13168 gtk_LDFLAGS="${gtk_LDFLAGS} `${GTK_CONFIG} --libs gtk | sed 's,-rdynamic,,'`"
13169 # now look for the gtk.h header
13170 CPPFLAGS="$save_CPPFLAGS $gtk_CFLAGS"
13171 ac_cv_gtk_headers=yes
13175 for ac_header in gtk/gtk.h glib.h gdk/gdk.h
13177 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13178 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13179 echo "$as_me:$LINENO: checking for $ac_header" >&5
13180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13182 echo $ECHO_N "(cached) $ECHO_C" >&6
13184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13185 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13187 # Is the header compilable?
13188 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13189 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13190 cat >conftest.$ac_ext <<_ACEOF
13191 #line $LINENO "configure"
13192 #include "confdefs.h"
13193 $ac_includes_default
13194 #include <$ac_header>
13196 rm -f conftest.$ac_objext
13197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13198 (eval $ac_compile) 2>&5
13200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13201 (exit $ac_status); } &&
13202 { ac_try='test -s conftest.$ac_objext'
13203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13204 (eval $ac_try) 2>&5
13206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13207 (exit $ac_status); }; }; then
13208 ac_header_compiler=yes
13210 echo "$as_me: failed program was:" >&5
13211 cat conftest.$ac_ext >&5
13212 ac_header_compiler=no
13214 rm -f conftest.$ac_objext conftest.$ac_ext
13215 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13216 echo "${ECHO_T}$ac_header_compiler" >&6
13218 # Is the header present?
13219 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13220 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13221 cat >conftest.$ac_ext <<_ACEOF
13222 #line $LINENO "configure"
13223 #include "confdefs.h"
13224 #include <$ac_header>
13226 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13227 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13229 grep -v '^ *+' conftest.er1 >conftest.err
13231 cat conftest.err >&5
13232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13233 (exit $ac_status); } >/dev/null; then
13234 if test -s conftest.err; then
13235 ac_cpp_err=$ac_c_preproc_warn_flag
13242 if test -z "$ac_cpp_err"; then
13243 ac_header_preproc=yes
13245 echo "$as_me: failed program was:" >&5
13246 cat conftest.$ac_ext >&5
13247 ac_header_preproc=no
13249 rm -f conftest.err conftest.$ac_ext
13250 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13251 echo "${ECHO_T}$ac_header_preproc" >&6
13253 # So? What about this header?
13254 case $ac_header_compiler:$ac_header_preproc in
13256 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13257 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13258 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13259 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13261 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13262 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13263 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13264 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13265 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13266 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13268 echo "$as_me:$LINENO: checking for $ac_header" >&5
13269 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13270 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13271 echo $ECHO_N "(cached) $ECHO_C" >&6
13273 eval "$as_ac_Header=$ac_header_preproc"
13275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13276 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13279 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13280 cat >>confdefs.h <<_ACEOF
13281 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13286 ac_cv_gtk_headers=no
13287 echo "Cannot find gtk development headers."
13293 if test "x$ac_cv_gtk_headers" = xyes
13295 PLUGINS="${PLUGINS} gtk"
13296 ALIASES="${ALIASES} gvlc"
13298 CPPFLAGS="$save_CPPFLAGS"
13302 # Check whether --enable-familiar or --disable-familiar was given.
13303 if test "${enable_familiar+set}" = set; then
13304 enableval="$enable_familiar"
13307 if test "x${enable_familiar}" = "xyes"
13311 # Check whether --with-gtk-config-path or --without-gtk-config-path was given.
13312 if test "${with_gtk_config_path+set}" = set; then
13313 withval="$with_gtk_config_path"
13314 if test "x${with_gtk_config_path}" != "xno"
13316 GTK_PATH="${with_gtk_config_path}:${PATH}"
13319 # look for gtk-config
13320 # Extract the first word of "gtk12-config", so it can be a program name with args.
13321 set dummy gtk12-config; ac_word=$2
13322 echo "$as_me:$LINENO: checking for $ac_word" >&5
13323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13324 if test "${ac_cv_path_GTK12_CONFIG+set}" = set; then
13325 echo $ECHO_N "(cached) $ECHO_C" >&6
13327 case $GTK12_CONFIG in
13329 ac_cv_path_GTK12_CONFIG="$GTK12_CONFIG" # Let the user override the test with a path.
13332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13333 for as_dir in ${GTK_PATH}
13336 test -z "$as_dir" && as_dir=.
13337 for ac_exec_ext in '' $ac_executable_extensions; do
13338 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13339 ac_cv_path_GTK12_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13346 test -z "$ac_cv_path_GTK12_CONFIG" && ac_cv_path_GTK12_CONFIG="no"
13350 GTK12_CONFIG=$ac_cv_path_GTK12_CONFIG
13352 if test -n "$GTK12_CONFIG"; then
13353 echo "$as_me:$LINENO: result: $GTK12_CONFIG" >&5
13354 echo "${ECHO_T}$GTK12_CONFIG" >&6
13356 echo "$as_me:$LINENO: result: no" >&5
13357 echo "${ECHO_T}no" >&6
13360 GTK_CONFIG=${GTK12_CONFIG}
13361 if test "x${GTK_CONFIG}" = "xno"
13363 # Extract the first word of "gtk-config", so it can be a program name with args.
13364 set dummy gtk-config; ac_word=$2
13365 echo "$as_me:$LINENO: checking for $ac_word" >&5
13366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13367 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
13368 echo $ECHO_N "(cached) $ECHO_C" >&6
13370 case $GTK_CONFIG in
13372 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
13375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13376 for as_dir in ${GTK_PATH}
13379 test -z "$as_dir" && as_dir=.
13380 for ac_exec_ext in '' $ac_executable_extensions; do
13381 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13382 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13389 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
13393 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
13395 if test -n "$GTK_CONFIG"; then
13396 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
13397 echo "${ECHO_T}$GTK_CONFIG" >&6
13399 echo "$as_me:$LINENO: result: no" >&5
13400 echo "${ECHO_T}no" >&6
13404 # check for cross-compiling
13407 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
13408 if test "${with_gtk_prefix+set}" = set; then
13409 withval="$with_gtk_prefix"
13412 if test "x$with_gtk_prefix" != "xno" -a "x$with_gtk_prefix" != "x"
13414 GTK_PREFIX="--prefix=$with_gtk_prefix"
13416 if test "x${GTK_CONFIG}" != "xno"
13418 if expr 1.2.0 \> `${GTK_CONFIG} --version` >/dev/null
13420 { { 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
13421 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;}
13422 { (exit 1); exit 1; }; }
13424 familiar_CFLAGS="${familiar_CFLAGS} `${GTK_CONFIG} ${GTK_PREFIX} --cflags gtk gthread`"
13425 familiar_LDFLAGS="${familiar_LDFLAGS} `${GTK_CONFIG} ${GTK_PREFIX} --libs gtk gthread | sed 's,-rdynamic,,'`"
13426 # now look for the gtk.h header
13427 CPPFLAGS="${save_CPPFLAGS} ${familiar_CFLAGS}"
13428 ac_cv_gtk_headers=yes
13432 for ac_header in gtk/gtk.h glib.h gdk/gdk.h
13434 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13435 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13436 echo "$as_me:$LINENO: checking for $ac_header" >&5
13437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13438 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13439 echo $ECHO_N "(cached) $ECHO_C" >&6
13441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13442 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13444 # Is the header compilable?
13445 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13446 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13447 cat >conftest.$ac_ext <<_ACEOF
13448 #line $LINENO "configure"
13449 #include "confdefs.h"
13450 $ac_includes_default
13451 #include <$ac_header>
13453 rm -f conftest.$ac_objext
13454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13455 (eval $ac_compile) 2>&5
13457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13458 (exit $ac_status); } &&
13459 { ac_try='test -s conftest.$ac_objext'
13460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13461 (eval $ac_try) 2>&5
13463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13464 (exit $ac_status); }; }; then
13465 ac_header_compiler=yes
13467 echo "$as_me: failed program was:" >&5
13468 cat conftest.$ac_ext >&5
13469 ac_header_compiler=no
13471 rm -f conftest.$ac_objext conftest.$ac_ext
13472 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13473 echo "${ECHO_T}$ac_header_compiler" >&6
13475 # Is the header present?
13476 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13477 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13478 cat >conftest.$ac_ext <<_ACEOF
13479 #line $LINENO "configure"
13480 #include "confdefs.h"
13481 #include <$ac_header>
13483 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13484 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13486 grep -v '^ *+' conftest.er1 >conftest.err
13488 cat conftest.err >&5
13489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13490 (exit $ac_status); } >/dev/null; then
13491 if test -s conftest.err; then
13492 ac_cpp_err=$ac_c_preproc_warn_flag
13499 if test -z "$ac_cpp_err"; then
13500 ac_header_preproc=yes
13502 echo "$as_me: failed program was:" >&5
13503 cat conftest.$ac_ext >&5
13504 ac_header_preproc=no
13506 rm -f conftest.err conftest.$ac_ext
13507 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13508 echo "${ECHO_T}$ac_header_preproc" >&6
13510 # So? What about this header?
13511 case $ac_header_compiler:$ac_header_preproc in
13513 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13514 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13515 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13516 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13518 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13519 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13520 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13521 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13522 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13523 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13525 echo "$as_me:$LINENO: checking for $ac_header" >&5
13526 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13527 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13528 echo $ECHO_N "(cached) $ECHO_C" >&6
13530 eval "$as_ac_Header=$ac_header_preproc"
13532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13533 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13536 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13537 cat >>confdefs.h <<_ACEOF
13538 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13543 ac_cv_gtk_headers=no
13544 echo "Cannot find gtk development headers."
13551 # now look for gpe support
13553 # Check whether --with-gpe-prefix or --without-gpe-prefix was given.
13554 if test "${with_gpe_prefix+set}" = set; then
13555 withval="$with_gpe_prefix"
13558 if test "x$with_gpe_prefix" != "xno" -a "x$with_gpe_prefix" != "x"
13560 gpe_CFLAGS="-I$with_gpe_prefix/include"
13561 gpe_LDFLAGS="-lXi -lgdk_pixbuf -L$with_gpe_prefix/lib -lgpewidget"
13562 # now look for gpe/init.h header file
13563 save_CFLAGS=$CFLAGS
13564 save_LDFLAGS=$LDFLAGS
13565 CFLAGS="${familiar_CFLAGS} ${gpe_CFLAGS}"
13566 LDFLAGS="${familiar_LDFLAGS} ${gpe_LDFLAGS}"
13567 CPPFLAGS="${save_CPPFLAGS} ${familiar_CFLAGS} ${gpe_CFLAGS}"
13568 ac_cv_gpe_headers=yes
13570 for ac_header in gpe/init.h
13572 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13573 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13574 echo "$as_me:$LINENO: checking for $ac_header" >&5
13575 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13576 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13577 echo $ECHO_N "(cached) $ECHO_C" >&6
13579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13580 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13582 # Is the header compilable?
13583 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13584 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13585 cat >conftest.$ac_ext <<_ACEOF
13586 #line $LINENO "configure"
13587 #include "confdefs.h"
13588 $ac_includes_default
13589 #include <$ac_header>
13591 rm -f conftest.$ac_objext
13592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13593 (eval $ac_compile) 2>&5
13595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13596 (exit $ac_status); } &&
13597 { ac_try='test -s conftest.$ac_objext'
13598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13599 (eval $ac_try) 2>&5
13601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13602 (exit $ac_status); }; }; then
13603 ac_header_compiler=yes
13605 echo "$as_me: failed program was:" >&5
13606 cat conftest.$ac_ext >&5
13607 ac_header_compiler=no
13609 rm -f conftest.$ac_objext conftest.$ac_ext
13610 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13611 echo "${ECHO_T}$ac_header_compiler" >&6
13613 # Is the header present?
13614 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13615 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13616 cat >conftest.$ac_ext <<_ACEOF
13617 #line $LINENO "configure"
13618 #include "confdefs.h"
13619 #include <$ac_header>
13621 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13622 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13624 grep -v '^ *+' conftest.er1 >conftest.err
13626 cat conftest.err >&5
13627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13628 (exit $ac_status); } >/dev/null; then
13629 if test -s conftest.err; then
13630 ac_cpp_err=$ac_c_preproc_warn_flag
13637 if test -z "$ac_cpp_err"; then
13638 ac_header_preproc=yes
13640 echo "$as_me: failed program was:" >&5
13641 cat conftest.$ac_ext >&5
13642 ac_header_preproc=no
13644 rm -f conftest.err conftest.$ac_ext
13645 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13646 echo "${ECHO_T}$ac_header_preproc" >&6
13648 # So? What about this header?
13649 case $ac_header_compiler:$ac_header_preproc in
13651 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13652 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13653 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13654 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13656 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13657 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13658 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13659 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13660 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13661 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13663 echo "$as_me:$LINENO: checking for $ac_header" >&5
13664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13666 echo $ECHO_N "(cached) $ECHO_C" >&6
13668 eval "$as_ac_Header=$ac_header_preproc"
13670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13671 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13674 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13675 cat >>confdefs.h <<_ACEOF
13676 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13680 ac_cv_gpe_headers=no
13681 { { echo "$as_me:$LINENO: error: Cannot find development headers for libgpewidget..." >&5
13682 echo "$as_me: error: Cannot find development headers for libgpewidget..." >&2;}
13683 { (exit 1); exit 1; }; }
13688 # AC_CHECK_LIB(gpewidget, gpe_application_init,
13689 # [ gpe_LDFLAGS="${gpe_LDFLAGS} -lgpewidget" ],
13690 # [ AC_MSG_ERROR([Cannot find libgpewidget library...]) ])
13691 CFLAGS=$save_CFLAGS
13692 LDFLAGS=$save_LDFLAG
13693 if test "x${ac_cv_gpe_headers}" = "xyes"
13695 familiar_CFLAGS="${familiar_CFLAGS} ${gpe_CFLAGS}"
13696 familiar_LDFLAGS="${familiar_LDFLAGS} ${gpe_LDFLAGS}"
13699 if test "x${ac_cv_gtk_headers}" = "xyes"
13701 PLUGINS="${PLUGINS} familiar"
13703 CPPFLAGS="${save_CPPFLAGS}"
13707 # Check whether --enable-gnome or --disable-gnome was given.
13708 if test "${enable_gnome+set}" = set; then
13709 enableval="$enable_gnome"
13710 if test x$enable_gnome = xyes; then
13711 # look for gnome-config
13712 # Extract the first word of "gnome-config", so it can be a program name with args.
13713 set dummy gnome-config; ac_word=$2
13714 echo "$as_me:$LINENO: checking for $ac_word" >&5
13715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13716 if test "${ac_cv_path_GNOME_CONFIG+set}" = set; then
13717 echo $ECHO_N "(cached) $ECHO_C" >&6
13719 case $GNOME_CONFIG in
13721 ac_cv_path_GNOME_CONFIG="$GNOME_CONFIG" # Let the user override the test with a path.
13724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13725 for as_dir in $PATH
13728 test -z "$as_dir" && as_dir=.
13729 for ac_exec_ext in '' $ac_executable_extensions; do
13730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13731 ac_cv_path_GNOME_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13738 test -z "$ac_cv_path_GNOME_CONFIG" && ac_cv_path_GNOME_CONFIG="no"
13742 GNOME_CONFIG=$ac_cv_path_GNOME_CONFIG
13744 if test -n "$GNOME_CONFIG"; then
13745 echo "$as_me:$LINENO: result: $GNOME_CONFIG" >&5
13746 echo "${ECHO_T}$GNOME_CONFIG" >&6
13748 echo "$as_me:$LINENO: result: no" >&5
13749 echo "${ECHO_T}no" >&6
13752 if test -x ${GNOME_CONFIG}
13754 gnome_CFLAGS="${gnome_CFLAGS} `${GNOME_CONFIG} --cflags gtk gnomeui`"
13755 gnome_LDFLAGS="${gnome_LDFLAGS} `${GNOME_CONFIG} --libs gnomeui | sed 's,-rdynamic,,'`"
13757 # now look for the gnome.h header
13758 CPPFLAGS="$save_CPPFLAGS $gnome_CFLAGS"
13760 for ac_header in gnome.h
13762 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13764 echo "$as_me:$LINENO: checking for $ac_header" >&5
13765 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13766 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13767 echo $ECHO_N "(cached) $ECHO_C" >&6
13769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13770 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13772 # Is the header compilable?
13773 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13774 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13775 cat >conftest.$ac_ext <<_ACEOF
13776 #line $LINENO "configure"
13777 #include "confdefs.h"
13778 $ac_includes_default
13779 #include <$ac_header>
13781 rm -f conftest.$ac_objext
13782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13783 (eval $ac_compile) 2>&5
13785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13786 (exit $ac_status); } &&
13787 { ac_try='test -s conftest.$ac_objext'
13788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13789 (eval $ac_try) 2>&5
13791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13792 (exit $ac_status); }; }; then
13793 ac_header_compiler=yes
13795 echo "$as_me: failed program was:" >&5
13796 cat conftest.$ac_ext >&5
13797 ac_header_compiler=no
13799 rm -f conftest.$ac_objext conftest.$ac_ext
13800 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13801 echo "${ECHO_T}$ac_header_compiler" >&6
13803 # Is the header present?
13804 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13805 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13806 cat >conftest.$ac_ext <<_ACEOF
13807 #line $LINENO "configure"
13808 #include "confdefs.h"
13809 #include <$ac_header>
13811 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13812 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13814 grep -v '^ *+' conftest.er1 >conftest.err
13816 cat conftest.err >&5
13817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13818 (exit $ac_status); } >/dev/null; then
13819 if test -s conftest.err; then
13820 ac_cpp_err=$ac_c_preproc_warn_flag
13827 if test -z "$ac_cpp_err"; then
13828 ac_header_preproc=yes
13830 echo "$as_me: failed program was:" >&5
13831 cat conftest.$ac_ext >&5
13832 ac_header_preproc=no
13834 rm -f conftest.err conftest.$ac_ext
13835 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13836 echo "${ECHO_T}$ac_header_preproc" >&6
13838 # So? What about this header?
13839 case $ac_header_compiler:$ac_header_preproc in
13841 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13842 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13843 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13844 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13846 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13847 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13848 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13849 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13850 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13851 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13853 echo "$as_me:$LINENO: checking for $ac_header" >&5
13854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13856 echo $ECHO_N "(cached) $ECHO_C" >&6
13858 eval "$as_ac_Header=$ac_header_preproc"
13860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13865 cat >>confdefs.h <<_ACEOF
13866 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13869 PLUGINS="${PLUGINS} gnome"
13870 ALIASES="${ALIASES} gnome-vlc"
13874 { { echo "$as_me:$LINENO: error: Can't find gnome headers. Please install the gnome
13875 developement tools or remove the --enable-gnome option" >&5
13876 echo "$as_me: error: Can't find gnome headers. Please install the gnome
13877 developement tools or remove the --enable-gnome option" >&2;}
13878 { (exit 1); exit 1; }; }
13884 CPPFLAGS="$save_CPPFLAGS"
13888 # Check whether --enable-qt or --disable-qt was given.
13889 if test "${enable_qt+set}" = set; then
13890 enableval="$enable_qt"
13891 if test x$enable_qt = xyes; then
13892 PLUGINS="${PLUGINS} qt"
13893 ALIASES="${ALIASES} qvlc"
13894 qt_LDFLAGS="${qt_LDFLAGS} -lqt -L${QTDIR}/lib"
13895 qt_CFLAGS="${qt_CFLAGS} -I/usr/include/qt -I${QTDIR}/include"
13896 if test -x ${QTDIR}/bin/moc
13898 MOC=${QTDIR}/bin/moc
13905 # Check whether --enable-kde or --disable-kde was given.
13906 if test "${enable_kde+set}" = set; then
13907 enableval="$enable_kde"
13908 if test x$enable_kde = xyes; then
13909 PLUGINS="${PLUGINS} kde"
13910 ALIASES="${ALIASES} kvlc"
13911 kde_LDFLAGS="${kde_LDFLAGS} -L${KDEDIR}/lib -lkfile"
13912 kde_CFLAGS="${kde_CFLAGS} -I/usr/include/kde -I/usr/include/qt"
13913 kde_CFLAGS="${kde_CFLAGS} -I${KDEDIR}/include -I${QTDIR}/include"
13914 if test -x ${QTDIR}/bin/moc
13916 MOC=${QTDIR}/bin/moc
13923 # Check whether --enable-opie or --disable-opie was given.
13924 if test "${enable_opie+set}" = set; then
13925 enableval="$enable_opie"
13926 if test "x${enable_opie}" = "xyes"; then
13928 # Check whether --with-qte or --without-qte was given.
13929 if test "${with_qte+set}" = set; then
13930 withval="$with_qte"
13933 if test "x${with_qte}" = "x"
13935 test_LDFLAGS="-L${QTDIR}/lib"
13936 test_CFLAGS="-I${QTDIR}/include"
13938 test_LDFLAGS="-L${with_qte}/lib"
13939 test_CFLAGS="-I${with_qte}/include"
13941 ac_cv_qte_headers=yes
13942 CPPFLAGS="${save_CPPFLAGS} ${test_CFLAGS}"
13944 for ac_header in qte.h
13946 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13947 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13948 echo "$as_me:$LINENO: checking for $ac_header" >&5
13949 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13950 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13951 echo $ECHO_N "(cached) $ECHO_C" >&6
13953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13954 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13956 # Is the header compilable?
13957 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13958 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13959 cat >conftest.$ac_ext <<_ACEOF
13960 #line $LINENO "configure"
13961 #include "confdefs.h"
13962 $ac_includes_default
13963 #include <$ac_header>
13965 rm -f conftest.$ac_objext
13966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13967 (eval $ac_compile) 2>&5
13969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13970 (exit $ac_status); } &&
13971 { ac_try='test -s conftest.$ac_objext'
13972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13973 (eval $ac_try) 2>&5
13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976 (exit $ac_status); }; }; then
13977 ac_header_compiler=yes
13979 echo "$as_me: failed program was:" >&5
13980 cat conftest.$ac_ext >&5
13981 ac_header_compiler=no
13983 rm -f conftest.$ac_objext conftest.$ac_ext
13984 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13985 echo "${ECHO_T}$ac_header_compiler" >&6
13987 # Is the header present?
13988 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13989 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13990 cat >conftest.$ac_ext <<_ACEOF
13991 #line $LINENO "configure"
13992 #include "confdefs.h"
13993 #include <$ac_header>
13995 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13996 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13998 grep -v '^ *+' conftest.er1 >conftest.err
14000 cat conftest.err >&5
14001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14002 (exit $ac_status); } >/dev/null; then
14003 if test -s conftest.err; then
14004 ac_cpp_err=$ac_c_preproc_warn_flag
14011 if test -z "$ac_cpp_err"; then
14012 ac_header_preproc=yes
14014 echo "$as_me: failed program was:" >&5
14015 cat conftest.$ac_ext >&5
14016 ac_header_preproc=no
14018 rm -f conftest.err conftest.$ac_ext
14019 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14020 echo "${ECHO_T}$ac_header_preproc" >&6
14022 # So? What about this header?
14023 case $ac_header_compiler:$ac_header_preproc in
14025 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14026 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14027 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14028 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14030 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14031 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14032 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14033 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14035 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14037 echo "$as_me:$LINENO: checking for $ac_header" >&5
14038 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14040 echo $ECHO_N "(cached) $ECHO_C" >&6
14042 eval "$as_ac_Header=$ac_header_preproc"
14044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14045 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14048 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14049 cat >>confdefs.h <<_ACEOF
14050 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14053 test_CFLAGS="${test_CFLAGS} -DQT_QWS_IPAQ -DQWS -fno-exceptions -fno-rtti"
14054 test_LDFLAGS="${test_LDFLAGS} -lqpe -lqte"
14057 ac_cv_qte_headers=no
14058 { { echo "$as_me:$LINENO: error: echo \"Cannot find QT Embedded development headers.\"" >&5
14059 echo "$as_me: error: echo \"Cannot find QT Embedded development headers.\"" >&2;}
14060 { (exit 1); exit 1; }; }
14067 CPPFLAGS="${save_CPPFLAGS}"
14068 if test x${ac_cv_qte_headers} = "xyes"
14070 PLUGINS="${PLUGINS} opie"
14071 opie_LDFLAGS="${opie_LDFLAGS} ${test_LDFLAGS}"
14072 opie_CFLAGS="${opie_CFLAGS} ${test_CFLAGS}"
14073 if test -x ${QTDIR}/bin/moc
14075 MOC=${QTDIR}/bin/moc
14083 # Check whether --enable-macosx or --disable-macosx was given.
14084 if test "${enable_macosx+set}" = set; then
14085 enableval="$enable_macosx"
14086 if test x$enable_macosx = xyes
14088 BUILTINS="${BUILTINS} macosx"
14089 macosx_LDFLAGS="${macosx_LDFLAGS} -framework CoreAudio -framework AudioToolbox -framework IOKit -framework Cocoa -framework AGL -framework QuickTime -lobjc -ObjC"
14093 for ac_header in Cocoa/Cocoa.h
14095 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14097 echo "$as_me:$LINENO: checking for $ac_header" >&5
14098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14100 echo $ECHO_N "(cached) $ECHO_C" >&6
14102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14105 # Is the header compilable?
14106 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14107 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14108 cat >conftest.$ac_ext <<_ACEOF
14109 #line $LINENO "configure"
14110 #include "confdefs.h"
14111 $ac_includes_default
14112 #include <$ac_header>
14114 rm -f conftest.$ac_objext
14115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14116 (eval $ac_compile) 2>&5
14118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14119 (exit $ac_status); } &&
14120 { ac_try='test -s conftest.$ac_objext'
14121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14122 (eval $ac_try) 2>&5
14124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14125 (exit $ac_status); }; }; then
14126 ac_header_compiler=yes
14128 echo "$as_me: failed program was:" >&5
14129 cat conftest.$ac_ext >&5
14130 ac_header_compiler=no
14132 rm -f conftest.$ac_objext conftest.$ac_ext
14133 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14134 echo "${ECHO_T}$ac_header_compiler" >&6
14136 # Is the header present?
14137 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14138 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14139 cat >conftest.$ac_ext <<_ACEOF
14140 #line $LINENO "configure"
14141 #include "confdefs.h"
14142 #include <$ac_header>
14144 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14145 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14147 grep -v '^ *+' conftest.er1 >conftest.err
14149 cat conftest.err >&5
14150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14151 (exit $ac_status); } >/dev/null; then
14152 if test -s conftest.err; then
14153 ac_cpp_err=$ac_c_preproc_warn_flag
14160 if test -z "$ac_cpp_err"; then
14161 ac_header_preproc=yes
14163 echo "$as_me: failed program was:" >&5
14164 cat conftest.$ac_ext >&5
14165 ac_header_preproc=no
14167 rm -f conftest.err conftest.$ac_ext
14168 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14169 echo "${ECHO_T}$ac_header_preproc" >&6
14171 # So? What about this header?
14172 case $ac_header_compiler:$ac_header_preproc in
14174 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14175 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14176 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14177 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14179 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14180 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14181 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14182 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14183 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14184 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14186 echo "$as_me:$LINENO: checking for $ac_header" >&5
14187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14189 echo $ECHO_N "(cached) $ECHO_C" >&6
14191 eval "$as_ac_Header=$ac_header_preproc"
14193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14194 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14197 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14198 cat >>confdefs.h <<_ACEOF
14199 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14201 BUILTINS="${BUILTINS} macosx"
14202 macosx_LDFLAGS="${macosx_LDFLAGS} -framework CoreAudio -framework AudioToolbox -framework IOKit -framework Cocoa -framework AGL -framework QuickTime -lobjc -ObjC"
14210 # Check whether --enable-qnx or --disable-qnx was given.
14211 if test "${enable_qnx+set}" = set; then
14212 enableval="$enable_qnx"
14215 if test x$enable_qnx != xno
14218 for ac_header in Ph.h
14220 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14221 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14222 echo "$as_me:$LINENO: checking for $ac_header" >&5
14223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14225 echo $ECHO_N "(cached) $ECHO_C" >&6
14227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14228 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14230 # Is the header compilable?
14231 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14232 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14233 cat >conftest.$ac_ext <<_ACEOF
14234 #line $LINENO "configure"
14235 #include "confdefs.h"
14236 $ac_includes_default
14237 #include <$ac_header>
14239 rm -f conftest.$ac_objext
14240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14241 (eval $ac_compile) 2>&5
14243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14244 (exit $ac_status); } &&
14245 { ac_try='test -s conftest.$ac_objext'
14246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14247 (eval $ac_try) 2>&5
14249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14250 (exit $ac_status); }; }; then
14251 ac_header_compiler=yes
14253 echo "$as_me: failed program was:" >&5
14254 cat conftest.$ac_ext >&5
14255 ac_header_compiler=no
14257 rm -f conftest.$ac_objext conftest.$ac_ext
14258 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14259 echo "${ECHO_T}$ac_header_compiler" >&6
14261 # Is the header present?
14262 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14263 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14264 cat >conftest.$ac_ext <<_ACEOF
14265 #line $LINENO "configure"
14266 #include "confdefs.h"
14267 #include <$ac_header>
14269 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14270 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14272 grep -v '^ *+' conftest.er1 >conftest.err
14274 cat conftest.err >&5
14275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14276 (exit $ac_status); } >/dev/null; then
14277 if test -s conftest.err; then
14278 ac_cpp_err=$ac_c_preproc_warn_flag
14285 if test -z "$ac_cpp_err"; then
14286 ac_header_preproc=yes
14288 echo "$as_me: failed program was:" >&5
14289 cat conftest.$ac_ext >&5
14290 ac_header_preproc=no
14292 rm -f conftest.err conftest.$ac_ext
14293 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14294 echo "${ECHO_T}$ac_header_preproc" >&6
14296 # So? What about this header?
14297 case $ac_header_compiler:$ac_header_preproc in
14299 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14300 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14301 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14302 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14304 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14305 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14306 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14307 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14308 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14309 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14311 echo "$as_me:$LINENO: checking for $ac_header" >&5
14312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14314 echo $ECHO_N "(cached) $ECHO_C" >&6
14316 eval "$as_ac_Header=$ac_header_preproc"
14318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14319 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14322 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14323 cat >>confdefs.h <<_ACEOF
14324 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14327 PLUGINS="${PLUGINS} qnx"
14328 qnx_LDFLAGS="${qnx_LDFLAGS} -lasound -lph"
14336 # Check whether --enable-intfwin or --disable-intfwin was given.
14337 if test "${enable_intfwin+set}" = set; then
14338 enableval="$enable_intfwin"
14339 if test "x$enable_intfwin" != "xno"
14342 # Check whether --with-bcbuilder or --without-bcbuilder was given.
14343 if test "${with_bcbuilder+set}" = set; then
14344 withval="$with_bcbuilder"
14347 if test "x$with_bcbuilder" != "x"
14349 BCBUILDER="$with_bcbuilder"
14351 PLUGINS="${PLUGINS} intfwin"
14355 # Check whether --enable-ncurses or --disable-ncurses was given.
14356 if test "${enable_ncurses+set}" = set; then
14357 enableval="$enable_ncurses"
14358 if test x$enable_ncurses = xyes; then
14359 PLUGINS="${PLUGINS} ncurses"
14360 ncurses_LDFLAGS="${ncurses_LDFLAGS} -lncurses"
14364 # Check whether --enable-lirc or --disable-lirc was given.
14365 if test "${enable_lirc+set}" = set; then
14366 enableval="$enable_lirc"
14369 if test x$enable_lirc = xyes
14371 if test "${ac_cv_header_lirc_lirc_client_h+set}" = set; then
14372 echo "$as_me:$LINENO: checking for lirc/lirc_client.h" >&5
14373 echo $ECHO_N "checking for lirc/lirc_client.h... $ECHO_C" >&6
14374 if test "${ac_cv_header_lirc_lirc_client_h+set}" = set; then
14375 echo $ECHO_N "(cached) $ECHO_C" >&6
14377 echo "$as_me:$LINENO: result: $ac_cv_header_lirc_lirc_client_h" >&5
14378 echo "${ECHO_T}$ac_cv_header_lirc_lirc_client_h" >&6
14380 # Is the header compilable?
14381 echo "$as_me:$LINENO: checking lirc/lirc_client.h usability" >&5
14382 echo $ECHO_N "checking lirc/lirc_client.h usability... $ECHO_C" >&6
14383 cat >conftest.$ac_ext <<_ACEOF
14384 #line $LINENO "configure"
14385 #include "confdefs.h"
14386 $ac_includes_default
14387 #include <lirc/lirc_client.h>
14389 rm -f conftest.$ac_objext
14390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14391 (eval $ac_compile) 2>&5
14393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14394 (exit $ac_status); } &&
14395 { ac_try='test -s conftest.$ac_objext'
14396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14397 (eval $ac_try) 2>&5
14399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14400 (exit $ac_status); }; }; then
14401 ac_header_compiler=yes
14403 echo "$as_me: failed program was:" >&5
14404 cat conftest.$ac_ext >&5
14405 ac_header_compiler=no
14407 rm -f conftest.$ac_objext conftest.$ac_ext
14408 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14409 echo "${ECHO_T}$ac_header_compiler" >&6
14411 # Is the header present?
14412 echo "$as_me:$LINENO: checking lirc/lirc_client.h presence" >&5
14413 echo $ECHO_N "checking lirc/lirc_client.h presence... $ECHO_C" >&6
14414 cat >conftest.$ac_ext <<_ACEOF
14415 #line $LINENO "configure"
14416 #include "confdefs.h"
14417 #include <lirc/lirc_client.h>
14419 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14420 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14422 grep -v '^ *+' conftest.er1 >conftest.err
14424 cat conftest.err >&5
14425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14426 (exit $ac_status); } >/dev/null; then
14427 if test -s conftest.err; then
14428 ac_cpp_err=$ac_c_preproc_warn_flag
14435 if test -z "$ac_cpp_err"; then
14436 ac_header_preproc=yes
14438 echo "$as_me: failed program was:" >&5
14439 cat conftest.$ac_ext >&5
14440 ac_header_preproc=no
14442 rm -f conftest.err conftest.$ac_ext
14443 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14444 echo "${ECHO_T}$ac_header_preproc" >&6
14446 # So? What about this header?
14447 case $ac_header_compiler:$ac_header_preproc in
14449 { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: accepted by the compiler, rejected by the preprocessor!" >&5
14450 echo "$as_me: WARNING: lirc/lirc_client.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14451 { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: proceeding with the preprocessor's result" >&5
14452 echo "$as_me: WARNING: lirc/lirc_client.h: proceeding with the preprocessor's result" >&2;};;
14454 { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: present but cannot be compiled" >&5
14455 echo "$as_me: WARNING: lirc/lirc_client.h: present but cannot be compiled" >&2;}
14456 { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: check for missing prerequisite headers?" >&5
14457 echo "$as_me: WARNING: lirc/lirc_client.h: check for missing prerequisite headers?" >&2;}
14458 { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: proceeding with the preprocessor's result" >&5
14459 echo "$as_me: WARNING: lirc/lirc_client.h: proceeding with the preprocessor's result" >&2;};;
14461 echo "$as_me:$LINENO: checking for lirc/lirc_client.h" >&5
14462 echo $ECHO_N "checking for lirc/lirc_client.h... $ECHO_C" >&6
14463 if test "${ac_cv_header_lirc_lirc_client_h+set}" = set; then
14464 echo $ECHO_N "(cached) $ECHO_C" >&6
14466 ac_cv_header_lirc_lirc_client_h=$ac_header_preproc
14468 echo "$as_me:$LINENO: result: $ac_cv_header_lirc_lirc_client_h" >&5
14469 echo "${ECHO_T}$ac_cv_header_lirc_lirc_client_h" >&6
14472 if test $ac_cv_header_lirc_lirc_client_h = yes; then
14473 echo "$as_me:$LINENO: checking for lirc_init in -llirc_client" >&5
14474 echo $ECHO_N "checking for lirc_init in -llirc_client... $ECHO_C" >&6
14475 if test "${ac_cv_lib_lirc_client_lirc_init+set}" = set; then
14476 echo $ECHO_N "(cached) $ECHO_C" >&6
14478 ac_check_lib_save_LIBS=$LIBS
14479 LIBS="-llirc_client $LIBS"
14480 cat >conftest.$ac_ext <<_ACEOF
14481 #line $LINENO "configure"
14482 #include "confdefs.h"
14484 /* Override any gcc2 internal prototype to avoid an error. */
14488 /* We use char because int might match the return type of a gcc2
14489 builtin and then its argument prototype would still apply. */
14499 rm -f conftest.$ac_objext conftest$ac_exeext
14500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14501 (eval $ac_link) 2>&5
14503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14504 (exit $ac_status); } &&
14505 { ac_try='test -s conftest$ac_exeext'
14506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14507 (eval $ac_try) 2>&5
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); }; }; then
14511 ac_cv_lib_lirc_client_lirc_init=yes
14513 echo "$as_me: failed program was:" >&5
14514 cat conftest.$ac_ext >&5
14515 ac_cv_lib_lirc_client_lirc_init=no
14517 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14518 LIBS=$ac_check_lib_save_LIBS
14520 echo "$as_me:$LINENO: result: $ac_cv_lib_lirc_client_lirc_init" >&5
14521 echo "${ECHO_T}$ac_cv_lib_lirc_client_lirc_init" >&6
14522 if test $ac_cv_lib_lirc_client_lirc_init = yes; then
14533 if test x$have_lirc = xtrue
14535 PLUGINS="${PLUGINS} lirc"
14536 lirc_LDFLAGS="${lirc_LDFLAGS} -llirc_client"
14541 # Check whether --with- or --without- was given.
14542 if test "${with_+set}" = set; then
14548 # Check whether --with-words or --without-words was given.
14549 if test "${with_words+set}" = set; then
14550 withval="$with_words"
14553 case "x$with_words" in
14555 ac_cv_c_bigendian=yes
14558 ac_cv_c_bigendian=no
14561 echo "$as_me:$LINENO: checking whether the byte order is big-endian" >&5
14562 echo $ECHO_N "checking whether the byte order is big-endian... $ECHO_C" >&6
14563 if test "${ac_cv_c_bigendian+set}" = set; then
14564 echo $ECHO_N "(cached) $ECHO_C" >&6
14566 ac_cv_c_bigendian=unknown
14567 cat >conftest.c <<EOF
14568 short am[] = { 0x4249, 0x4765, 0x6e44, 0x6961, 0x6e53, 0x7953, 0 };
14569 short ai[] = { 0x694c, 0x5454, 0x656c, 0x6e45, 0x6944, 0x6e61, 0 };
14570 void _a(void) { char*s = (char*)am; s = (char *)ai; }
14571 short ei[] = { 0x89D3, 0xe3e3, 0x8593, 0x95c5, 0x89c4, 0x9581, 0 };
14572 short em[] = { 0xc2c9, 0xc785, 0x95c4, 0x8981, 0x95e2, 0xa8e2, 0 };
14573 void _e(void) { char*s = (char*)em; s = (char*)ei; }
14574 int main(void) { _a(); _e(); return 0; }
14577 if test -f conftest.c
14579 if ${CC-cc} -c conftest.c -o conftest.o >config.log 2>&1 \
14580 && test -f conftest.o
14582 if test "`strings conftest.o | grep BIGenDianSyS`"
14584 ac_cv_c_bigendian=yes
14586 if test "`strings conftest.o | grep LiTTleEnDian`"
14588 ac_cv_c_bigendian=no
14594 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
14595 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
14596 if test x$ac_cv_c_bigendian = xunknown
14598 { { echo "$as_me:$LINENO: error: Could not guess endianness, please use --with-words" >&5
14599 echo "$as_me: error: Could not guess endianness, please use --with-words" >&2;}
14600 { (exit 1); exit 1; }; }
14604 if test $ac_cv_c_bigendian = yes
14607 cat >>confdefs.h <<\_ACEOF
14608 #define WORDS_BIGENDIAN 1
14614 # Check whether --enable-gprof or --disable-gprof was given.
14615 if test "${enable_gprof+set}" = set; then
14616 enableval="$enable_gprof"
14617 if test "x$enable_gprof" = "xyes"; then GPROF=1; fi
14621 # Check whether --enable-cprof or --disable-cprof was given.
14622 if test "${enable_cprof+set}" = set; then
14623 enableval="$enable_cprof"
14624 if test "x$enable_cprof" = "xyes";
14626 LDFLAGS="${LDFLAGS} -lcprof"
14632 # Check whether --enable-pth or --disable-pth was given.
14633 if test "${enable_pth+set}" = set; then
14634 enableval="$enable_pth"
14635 if test "x$enable_pth" = "xyes"; then
14637 echo "$as_me:$LINENO: checking for pth_init in -lpth" >&5
14638 echo $ECHO_N "checking for pth_init in -lpth... $ECHO_C" >&6
14639 if test "${ac_cv_lib_pth_pth_init+set}" = set; then
14640 echo $ECHO_N "(cached) $ECHO_C" >&6
14642 ac_check_lib_save_LIBS=$LIBS
14644 cat >conftest.$ac_ext <<_ACEOF
14645 #line $LINENO "configure"
14646 #include "confdefs.h"
14648 /* Override any gcc2 internal prototype to avoid an error. */
14652 /* We use char because int might match the return type of a gcc2
14653 builtin and then its argument prototype would still apply. */
14663 rm -f conftest.$ac_objext conftest$ac_exeext
14664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14665 (eval $ac_link) 2>&5
14667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14668 (exit $ac_status); } &&
14669 { ac_try='test -s conftest$ac_exeext'
14670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14671 (eval $ac_try) 2>&5
14673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14674 (exit $ac_status); }; }; then
14675 ac_cv_lib_pth_pth_init=yes
14677 echo "$as_me: failed program was:" >&5
14678 cat conftest.$ac_ext >&5
14679 ac_cv_lib_pth_pth_init=no
14681 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14682 LIBS=$ac_check_lib_save_LIBS
14684 echo "$as_me:$LINENO: result: $ac_cv_lib_pth_pth_init" >&5
14685 echo "${ECHO_T}$ac_cv_lib_pth_pth_init" >&6
14686 if test $ac_cv_lib_pth_pth_init = yes; then
14687 cat >>confdefs.h <<_ACEOF
14688 #define HAVE_LIBPTH 1
14695 cat >conftest.$ac_ext <<_ACEOF
14696 #line $LINENO "configure"
14697 #include "confdefs.h"
14701 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14702 $EGREP "pth_init" >/dev/null 2>&1; then
14705 cat >>confdefs.h <<\_ACEOF
14706 #define PTH_INIT_IN_PTH_H 1
14717 # Check whether --enable-st or --disable-st was given.
14718 if test "${enable_st+set}" = set; then
14719 enableval="$enable_st"
14720 if test "x$enable_st" = "xyes"; then
14722 echo "$as_me:$LINENO: checking for st_init in -lst" >&5
14723 echo $ECHO_N "checking for st_init in -lst... $ECHO_C" >&6
14724 if test "${ac_cv_lib_st_st_init+set}" = set; then
14725 echo $ECHO_N "(cached) $ECHO_C" >&6
14727 ac_check_lib_save_LIBS=$LIBS
14729 cat >conftest.$ac_ext <<_ACEOF
14730 #line $LINENO "configure"
14731 #include "confdefs.h"
14733 /* Override any gcc2 internal prototype to avoid an error. */
14737 /* We use char because int might match the return type of a gcc2
14738 builtin and then its argument prototype would still apply. */
14748 rm -f conftest.$ac_objext conftest$ac_exeext
14749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14750 (eval $ac_link) 2>&5
14752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14753 (exit $ac_status); } &&
14754 { ac_try='test -s conftest$ac_exeext'
14755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14756 (eval $ac_try) 2>&5
14758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14759 (exit $ac_status); }; }; then
14760 ac_cv_lib_st_st_init=yes
14762 echo "$as_me: failed program was:" >&5
14763 cat conftest.$ac_ext >&5
14764 ac_cv_lib_st_st_init=no
14766 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14767 LIBS=$ac_check_lib_save_LIBS
14769 echo "$as_me:$LINENO: result: $ac_cv_lib_st_st_init" >&5
14770 echo "${ECHO_T}$ac_cv_lib_st_st_init" >&6
14771 if test $ac_cv_lib_st_st_init = yes; then
14772 cat >>confdefs.h <<_ACEOF
14773 #define HAVE_LIBST 1
14780 cat >conftest.$ac_ext <<_ACEOF
14781 #line $LINENO "configure"
14782 #include "confdefs.h"
14786 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14787 $EGREP "st_init" >/dev/null 2>&1; then
14790 cat >>confdefs.h <<\_ACEOF
14791 #define ST_INIT_IN_ST_H 1
14802 LDFLAGS="${LDFLAGS} ${THREAD_LIB}"
14804 # Check whether --enable-plugins or --disable-plugins was given.
14805 if test "${enable_plugins+set}" = set; then
14806 enableval="$enable_plugins"
14807 if test x$enable_plugins = xno
14809 BUILTINS="${BUILTINS} ${PLUGINS}"
14814 if test x$ac_cv_header_dlfcn_h = xno -a x$ac_cv_header_image_h = xno -a x$SYS != xmingw32
14816 echo "*** Your system doesn't have plug-in support. All plug-ins will be compiled"
14818 BUILTINS="${BUILTINS} ${PLUGINS}"
14823 cat >>confdefs.h <<_ACEOF
14824 #define VERSION_MESSAGE "vlc $VERSION $CODENAME Copyright 1996-2002 VideoLAN"
14828 cat >>confdefs.h <<_ACEOF
14829 #define COPYRIGHT_MESSAGE "VideoLAN Client - version $VERSION $CODENAME - (c) 1996-2002 VideoLAN"
14833 VLC_SYMBOL="`echo ${VERSION} | tr .- __`"
14835 cat >>confdefs.h <<_ACEOF
14836 #define MODULE_SUFFIX "__MODULE_$VLC_SYMBOL"
14840 cat >>confdefs.h <<_ACEOF
14841 #define MODULE_SYMBOL $VLC_SYMBOL
14845 DATA_PATH="${ac_tool_prefix}/share/videolan"
14847 PLUGIN_PATH="${ac_tool_prefix}/share/videolan"
14951 ac_config_files="$ac_config_files Makefile.config Makefile.opts po/Makefile.in"
14952 cat >confcache <<\_ACEOF
14953 # This file is a shell script that caches the results of configure
14954 # tests run on this system so they can be shared between configure
14955 # scripts and configure runs, see configure's option --config-cache.
14956 # It is not useful on other systems. If it contains results you don't
14957 # want to keep, you may remove or edit it.
14959 # config.status only pays attention to the cache file if you give it
14960 # the --recheck option to rerun configure.
14962 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14963 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14964 # following values.
14968 # The following way of writing the cache mishandles newlines in values,
14969 # but we know of no workaround that is simple, portable, and efficient.
14970 # So, don't put newlines in cache variables' values.
14971 # Ultrix sh set writes to stderr and can't be redirected directly,
14972 # and sets the high bit in the cache file unless we assign to the vars.
14975 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14977 # `set' does not quote correctly, so add quotes (double-quote
14978 # substitution turns \\\\ into \\, and sed turns \\ into \).
14981 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14984 # `set' quotes correctly as required by POSIX, so do not add quotes.
14986 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
14993 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14995 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14997 if cmp -s $cache_file confcache; then :; else
14998 if test -w $cache_file; then
14999 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
15000 cat confcache >$cache_file
15002 echo "not updating unwritable cache $cache_file"
15007 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15008 # Let make expand exec_prefix.
15009 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15011 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15012 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15013 # trailing colons and then remove the whole line if VPATH becomes empty
15014 # (actually we leave an empty line to preserve line numbers).
15015 if test "x$srcdir" = x.; then
15016 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15017 s/:*\$(srcdir):*/:/;
15018 s/:*\${srcdir}:*/:/;
15020 s/^\([^=]*=[ ]*\):*/\1/;
15026 DEFS=-DHAVE_CONFIG_H
15030 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15031 # 1. Remove the extension, and $U if already installed.
15032 ac_i=`echo "$ac_i" |
15033 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
15035 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
15036 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
15038 LIBOBJS=$ac_libobjs
15040 LTLIBOBJS=$ac_ltlibobjs
15044 : ${CONFIG_STATUS=./config.status}
15045 ac_clean_files_save=$ac_clean_files
15046 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15047 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15048 echo "$as_me: creating $CONFIG_STATUS" >&6;}
15049 cat >$CONFIG_STATUS <<_ACEOF
15051 # Generated by $as_me.
15052 # Run this file to recreate the current configuration.
15053 # Compiler output produced by configure, useful for debugging
15054 # configure, is in config.log if it exists.
15057 SHELL=\${CONFIG_SHELL-$SHELL}
15060 cat >>$CONFIG_STATUS <<\_ACEOF
15061 ## --------------------- ##
15062 ## M4sh Initialization. ##
15063 ## --------------------- ##
15065 # Be Bourne compatible
15066 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15069 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
15070 # is contrary to our usage. Disable this feature.
15071 alias -g '${1+"$@"}'='"$@"'
15072 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
15076 # Support unset when possible.
15077 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
15084 # Work around bugs in pre-3.0 UWIN ksh.
15085 $as_unset ENV MAIL MAILPATH
15091 for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
15093 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
15094 eval $as_var=C; export $as_var
15100 # Required to use basename.
15101 if expr a : '\(a\)' >/dev/null 2>&1; then
15107 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
15108 as_basename=basename
15114 # Name of the executable.
15115 as_me=`$as_basename "$0" ||
15116 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15117 X"$0" : 'X\(//\)$' \| \
15118 X"$0" : 'X\(/\)$' \| \
15119 . : '\(.\)' 2>/dev/null ||
15121 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
15122 /^X\/\(\/\/\)$/{ s//\1/; q; }
15123 /^X\/\(\/\).*/{ s//\1/; q; }
15127 # PATH needs CR, and LINENO needs CR and PATH.
15128 # Avoid depending upon Character Ranges.
15129 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15130 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15131 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15132 as_cr_digits='0123456789'
15133 as_cr_alnum=$as_cr_Letters$as_cr_digits
15135 # The user is always right.
15136 if test "${PATH_SEPARATOR+set}" != set; then
15137 echo "#! /bin/sh" >conftest.sh
15138 echo "exit 0" >>conftest.sh
15139 chmod +x conftest.sh
15140 if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
15149 as_lineno_1=$LINENO
15150 as_lineno_2=$LINENO
15151 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15152 test "x$as_lineno_1" != "x$as_lineno_2" &&
15153 test "x$as_lineno_3" = "x$as_lineno_2" || {
15154 # Find who we are. Look in the path if we contain no path at all
15157 *[\\/]* ) as_myself=$0 ;;
15158 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15159 for as_dir in $PATH
15162 test -z "$as_dir" && as_dir=.
15163 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15168 # We did not find ourselves, most probably we were run as `sh COMMAND'
15169 # in which case we are not to be found in the path.
15170 if test "x$as_myself" = x; then
15173 if test ! -f "$as_myself"; then
15174 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
15175 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
15176 { (exit 1); exit 1; }; }
15178 case $CONFIG_SHELL in
15180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15181 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
15184 test -z "$as_dir" && as_dir=.
15185 for as_base in sh bash ksh sh5; do
15188 if ("$as_dir/$as_base" -c '
15189 as_lineno_1=$LINENO
15190 as_lineno_2=$LINENO
15191 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15192 test "x$as_lineno_1" != "x$as_lineno_2" &&
15193 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
15194 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
15195 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
15196 CONFIG_SHELL=$as_dir/$as_base
15197 export CONFIG_SHELL
15198 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
15206 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15207 # uniformly replaced by the line number. The first 'sed' inserts a
15208 # line-number line before each line; the second 'sed' does the real
15209 # work. The second script uses 'N' to pair each line-number line
15210 # with the numbered line, and appends trailing '-' during
15211 # substitution so that $LINENO is not a special case at line end.
15212 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15213 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
15214 sed '=' <$as_myself |
15219 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
15222 s,^['$as_cr_digits']*\n,,
15223 ' >$as_me.lineno &&
15224 chmod +x $as_me.lineno ||
15225 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
15226 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
15227 { (exit 1); exit 1; }; }
15229 # Don't try to exec as it changes $[0], causing all sort of problems
15230 # (the dirname of $[0] is not the place where we might find the
15231 # original and so on. Autoconf is especially sensible to this).
15233 # Exit status is that of the last command.
15238 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
15239 *c*,-n*) ECHO_N= ECHO_C='
15241 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
15242 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
15245 if expr a : '\(a\)' >/dev/null 2>&1; then
15251 rm -f conf$$ conf$$.exe conf$$.file
15253 if ln -s conf$$.file conf$$ 2>/dev/null; then
15254 # We could just check for DJGPP; but this test a) works b) is more generic
15255 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
15256 if test -f conf$$.exe; then
15257 # Don't use ln at all; we don't have any links
15262 elif ln conf$$.file conf$$ 2>/dev/null; then
15267 rm -f conf$$ conf$$.exe conf$$.file
15269 if mkdir -p . 2>/dev/null; then
15275 as_executable_p="test -f"
15277 # Sed expression to map a string onto a valid CPP name.
15278 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
15280 # Sed expression to map a string onto a valid variable name.
15281 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
15285 # We need space, tab and new line, in precisely that order.
15295 # Open the log real soon, to keep \$[0] and so on meaningful, and to
15296 # report actual input values of CONFIG_FILES etc. instead of their
15297 # values after options handling. Logging --version etc. is OK.
15301 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15302 ## Running $as_me. ##
15307 This file was extended by $as_me, which was
15308 generated by GNU Autoconf 2.54. Invocation command line was
15310 CONFIG_FILES = $CONFIG_FILES
15311 CONFIG_HEADERS = $CONFIG_HEADERS
15312 CONFIG_LINKS = $CONFIG_LINKS
15313 CONFIG_COMMANDS = $CONFIG_COMMANDS
15317 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
15321 # Files that config.status was made for.
15322 if test -n "$ac_config_files"; then
15323 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
15326 if test -n "$ac_config_headers"; then
15327 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
15330 if test -n "$ac_config_links"; then
15331 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
15334 if test -n "$ac_config_commands"; then
15335 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
15338 cat >>$CONFIG_STATUS <<\_ACEOF
15341 \`$as_me' instantiates files from templates according to the
15342 current configuration.
15344 Usage: $0 [OPTIONS] [FILE]...
15346 -h, --help print this help, then exit
15347 -V, --version print version number, then exit
15348 -d, --debug don't remove temporary files
15349 --recheck update $as_me by reconfiguring in the same conditions
15350 --file=FILE[:TEMPLATE]
15351 instantiate the configuration file FILE
15352 --header=FILE[:TEMPLATE]
15353 instantiate the configuration header FILE
15355 Configuration files:
15358 Configuration headers:
15361 Configuration commands:
15364 Report bugs to <bug-autoconf@gnu.org>."
15367 cat >>$CONFIG_STATUS <<_ACEOF
15370 configured by $0, generated by GNU Autoconf 2.54,
15371 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
15373 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
15374 Free Software Foundation, Inc.
15375 This config.status script is free software; the Free Software Foundation
15376 gives unlimited permission to copy, distribute and modify it."
15381 cat >>$CONFIG_STATUS <<\_ACEOF
15382 # If no file are specified by the user, then we need to provide default
15383 # value. By we need to know if files were specified by the user.
15389 ac_option=`expr "x$1" : 'x\([^=]*\)='`
15390 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
15398 *) # This is not an option, so the user has probably given explicit
15401 ac_need_defaults=false;;
15405 # Handling of the options.
15407 cat >>$CONFIG_STATUS <<_ACEOF
15408 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15409 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
15410 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
15412 cat >>$CONFIG_STATUS <<\_ACEOF
15413 --version | --vers* | -V )
15414 echo "$ac_cs_version"; exit 0 ;;
15416 # Conflict between --help and --header
15417 { { echo "$as_me:$LINENO: error: ambiguous option: $1
15418 Try \`$0 --help' for more information." >&5
15419 echo "$as_me: error: ambiguous option: $1
15420 Try \`$0 --help' for more information." >&2;}
15421 { (exit 1); exit 1; }; };;
15422 --help | --hel | -h )
15423 echo "$ac_cs_usage"; exit 0 ;;
15424 --debug | --d* | -d )
15426 --file | --fil | --fi | --f )
15428 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
15429 ac_need_defaults=false;;
15430 --header | --heade | --head | --hea )
15432 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
15433 ac_need_defaults=false;;
15435 # This is an error.
15436 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
15437 Try \`$0 --help' for more information." >&5
15438 echo "$as_me: error: unrecognized option: $1
15439 Try \`$0 --help' for more information." >&2;}
15440 { (exit 1); exit 1; }; } ;;
15442 *) ac_config_targets="$ac_config_targets $1" ;;
15450 cat >>$CONFIG_STATUS <<_ACEOF
15452 # INIT-COMMANDS section.
15461 cat >>$CONFIG_STATUS <<\_ACEOF
15462 for ac_config_target in $ac_config_targets
15464 case "$ac_config_target" in
15465 # Handling of arguments.
15466 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
15467 "Makefile.opts" ) CONFIG_FILES="$CONFIG_FILES Makefile.opts" ;;
15468 "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
15469 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
15470 "include/defs.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/defs.h" ;;
15471 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15472 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15473 { (exit 1); exit 1; }; };;
15477 # If the user did not use the arguments to specify the items to instantiate,
15478 # then the envvar interface is used. Set only those that are not.
15479 # We use the long form for the default assignment because of an extremely
15480 # bizarre bug on SunOS 4.1.3.
15481 if $ac_need_defaults; then
15482 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15483 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15484 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15487 # Create a temporary directory, and hook for its removal unless debugging.
15490 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
15491 trap '{ (exit 1); exit 1; }' 1 2 13 15
15494 # Create a (secure) tmp directory for tmp files.
15497 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
15498 test -n "$tmp" && test -d "$tmp"
15501 tmp=$TMPDIR/cs$$-$RANDOM
15502 (umask 077 && mkdir $tmp)
15505 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
15506 { (exit 1); exit 1; }
15511 cat >>$CONFIG_STATUS <<_ACEOF
15514 # CONFIG_FILES section.
15517 # No need to generate the scripts if there are no CONFIG_FILES.
15518 # This happens for instance when ./config.status config.h
15519 if test -n "\$CONFIG_FILES"; then
15520 # Protect against being on the right side of a sed subst in config.status.
15521 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
15522 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
15523 s,@SHELL@,$SHELL,;t t
15524 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
15525 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
15526 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
15527 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
15528 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
15529 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
15530 s,@exec_prefix@,$exec_prefix,;t t
15531 s,@prefix@,$prefix,;t t
15532 s,@program_transform_name@,$program_transform_name,;t t
15533 s,@bindir@,$bindir,;t t
15534 s,@sbindir@,$sbindir,;t t
15535 s,@libexecdir@,$libexecdir,;t t
15536 s,@datadir@,$datadir,;t t
15537 s,@sysconfdir@,$sysconfdir,;t t
15538 s,@sharedstatedir@,$sharedstatedir,;t t
15539 s,@localstatedir@,$localstatedir,;t t
15540 s,@libdir@,$libdir,;t t
15541 s,@includedir@,$includedir,;t t
15542 s,@oldincludedir@,$oldincludedir,;t t
15543 s,@infodir@,$infodir,;t t
15544 s,@mandir@,$mandir,;t t
15545 s,@build_alias@,$build_alias,;t t
15546 s,@host_alias@,$host_alias,;t t
15547 s,@target_alias@,$target_alias,;t t
15548 s,@DEFS@,$DEFS,;t t
15549 s,@ECHO_C@,$ECHO_C,;t t
15550 s,@ECHO_N@,$ECHO_N,;t t
15551 s,@ECHO_T@,$ECHO_T,;t t
15552 s,@LIBS@,$LIBS,;t t
15553 s,@build@,$build,;t t
15554 s,@build_cpu@,$build_cpu,;t t
15555 s,@build_vendor@,$build_vendor,;t t
15556 s,@build_os@,$build_os,;t t
15557 s,@host@,$host,;t t
15558 s,@host_cpu@,$host_cpu,;t t
15559 s,@host_vendor@,$host_vendor,;t t
15560 s,@host_os@,$host_os,;t t
15561 s,@target@,$target,;t t
15562 s,@target_cpu@,$target_cpu,;t t
15563 s,@target_vendor@,$target_vendor,;t t
15564 s,@target_os@,$target_os,;t t
15565 s,@SET_MAKE@,$SET_MAKE,;t t
15567 s,@CFLAGS@,$CFLAGS,;t t
15568 s,@LDFLAGS@,$LDFLAGS,;t t
15569 s,@CPPFLAGS@,$CPPFLAGS,;t t
15570 s,@ac_ct_CC@,$ac_ct_CC,;t t
15571 s,@EXEEXT@,$EXEEXT,;t t
15572 s,@OBJEXT@,$OBJEXT,;t t
15574 s,@RANLIB@,$RANLIB,;t t
15575 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
15576 s,@STRIP@,$STRIP,;t t
15577 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
15579 s,@ac_ct_AR@,$ac_ct_AR,;t t
15581 s,@ac_ct_LD@,$ac_ct_LD,;t t
15582 s,@GMAKE@,$GMAKE,;t t
15583 s,@EGREP@,$EGREP,;t t
15584 s,@ALLOCA@,$ALLOCA,;t t
15585 s,@GLIBC21@,$GLIBC21,;t t
15586 s,@LIBICONV@,$LIBICONV,;t t
15587 s,@USE_NLS@,$USE_NLS,;t t
15588 s,@MSGFMT@,$MSGFMT,;t t
15589 s,@GMSGFMT@,$GMSGFMT,;t t
15590 s,@XGETTEXT@,$XGETTEXT,;t t
15591 s,@INTLBISON@,$INTLBISON,;t t
15592 s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
15593 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
15594 s,@CATALOGS@,$CATALOGS,;t t
15595 s,@CATOBJEXT@,$CATOBJEXT,;t t
15596 s,@GMOFILES@,$GMOFILES,;t t
15597 s,@INTLLIBS@,$INTLLIBS,;t t
15598 s,@INTLOBJS@,$INTLOBJS,;t t
15599 s,@POFILES@,$POFILES,;t t
15600 s,@POSUB@,$POSUB,;t t
15601 s,@DATADIRNAME@,$DATADIRNAME,;t t
15602 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
15603 s,@GENCAT@,$GENCAT,;t t
15604 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
15605 s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
15606 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
15607 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
15608 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
15609 s,@WINDRES@,$WINDRES,;t t
15610 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
15611 s,@SDL12_CONFIG@,$SDL12_CONFIG,;t t
15612 s,@SDL11_CONFIG@,$SDL11_CONFIG,;t t
15613 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
15614 s,@ESD_CONFIG@,$ESD_CONFIG,;t t
15615 s,@ARTS_CONFIG@,$ARTS_CONFIG,;t t
15616 s,@GTK12_CONFIG@,$GTK12_CONFIG,;t t
15617 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
15618 s,@GNOME_CONFIG@,$GNOME_CONFIG,;t t
15619 s,@DATA_PATH@,$DATA_PATH,;t t
15620 s,@PLUGIN_PATH@,$PLUGIN_PATH,;t t
15622 s,@ARCH@,$ARCH,;t t
15623 s,@PLUGINS@,$PLUGINS,;t t
15624 s,@BUILTINS@,$BUILTINS,;t t
15625 s,@ALIASES@,$ALIASES,;t t
15626 s,@DEBUG@,$DEBUG,;t t
15628 s,@CPROF@,$CPROF,;t t
15629 s,@GPROF@,$GPROF,;t t
15630 s,@OPTIMS@,$OPTIMS,;t t
15631 s,@TUNING@,$TUNING,;t t
15632 s,@RELEASE@,$RELEASE,;t t
15634 s,@BCBUILDER@,$BCBUILDER,;t t
15635 s,@PACKAGE@,$PACKAGE,;t t
15636 s,@VERSION@,$VERSION,;t t
15637 s,@NEED_GETOPT@,$NEED_GETOPT,;t t
15638 s,@CFLAGS_OPTIM@,$CFLAGS_OPTIM,;t t
15639 s,@CFLAGS_OPTIM_NODEBUG@,$CFLAGS_OPTIM_NODEBUG,;t t
15640 s,@vlc_CFLAGS@,$vlc_CFLAGS,;t t
15641 s,@plugins_CFLAGS@,$plugins_CFLAGS,;t t
15642 s,@builtins_CFLAGS@,$builtins_CFLAGS,;t t
15643 s,@a52_CFLAGS@,$a52_CFLAGS,;t t
15644 s,@arts_CFLAGS@,$arts_CFLAGS,;t t
15645 s,@dvd_CFLAGS@,$dvd_CFLAGS,;t t
15646 s,@dvdread_CFLAGS@,$dvdread_CFLAGS,;t t
15647 s,@mpeg_ts_dvbpsi_CFLAGS@,$mpeg_ts_dvbpsi_CFLAGS,;t t
15648 s,@directx_CFLAGS@,$directx_CFLAGS,;t t
15649 s,@esd_CFLAGS@,$esd_CFLAGS,;t t
15650 s,@familiar_CFLAGS@,$familiar_CFLAGS,;t t
15651 s,@ffmpeg_CFLAGS@,$ffmpeg_CFLAGS,;t t
15652 s,@glide_CFLAGS@,$glide_CFLAGS,;t t
15653 s,@gnome_CFLAGS@,$gnome_CFLAGS,;t t
15654 s,@gtk_CFLAGS@,$gtk_CFLAGS,;t t
15655 s,@kde_CFLAGS@,$kde_CFLAGS,;t t
15656 s,@idctaltivec_CFLAGS@,$idctaltivec_CFLAGS,;t t
15657 s,@macosx_CFLAGS@,$macosx_CFLAGS,;t t
15658 s,@mad_CFLAGS@,$mad_CFLAGS,;t t
15659 s,@memcpyaltivec_CFLAGS@,$memcpyaltivec_CFLAGS,;t t
15660 s,@motionaltivec_CFLAGS@,$motionaltivec_CFLAGS,;t t
15661 s,@opie_CFLAGS@,$opie_CFLAGS,;t t
15662 s,@qt_CFLAGS@,$qt_CFLAGS,;t t
15663 s,@qte_CFLAGS@,$qte_CFLAGS,;t t
15664 s,@sdl_CFLAGS@,$sdl_CFLAGS,;t t
15665 s,@x11_CFLAGS@,$x11_CFLAGS,;t t
15666 s,@xvideo_CFLAGS@,$xvideo_CFLAGS,;t t
15667 s,@vlc_LDFLAGS@,$vlc_LDFLAGS,;t t
15668 s,@plugins_LDFLAGS@,$plugins_LDFLAGS,;t t
15669 s,@builtins_LDFLAGS@,$builtins_LDFLAGS,;t t
15670 s,@a52_LDFLAGS@,$a52_LDFLAGS,;t t
15671 s,@aa_LDFLAGS@,$aa_LDFLAGS,;t t
15672 s,@alsa_LDFLAGS@,$alsa_LDFLAGS,;t t
15673 s,@arts_LDFLAGS@,$arts_LDFLAGS,;t t
15674 s,@beos_LDFLAGS@,$beos_LDFLAGS,;t t
15675 s,@chroma_i420_rgb_LDFLAGS@,$chroma_i420_rgb_LDFLAGS,;t t
15676 s,@directx_LDFLAGS@,$directx_LDFLAGS,;t t
15677 s,@dsp_LDFLAGS@,$dsp_LDFLAGS,;t t
15678 s,@dvd_LDFLAGS@,$dvd_LDFLAGS,;t t
15679 s,@dvdread_LDFLAGS@,$dvdread_LDFLAGS,;t t
15680 s,@mpeg_ts_dvbpsi_LDFLAGS@,$mpeg_ts_dvbpsi_LDFLAGS,;t t
15681 s,@esd_LDFLAGS@,$esd_LDFLAGS,;t t
15682 s,@familiar_LDFLAGS@,$familiar_LDFLAGS,;t t
15683 s,@filter_distort_LDFLAGS@,$filter_distort_LDFLAGS,;t t
15684 s,@ffmpeg_LDFLAGS@,$ffmpeg_LDFLAGS,;t t
15685 s,@ggi_LDFLAGS@,$ggi_LDFLAGS,;t t
15686 s,@glide_LDFLAGS@,$glide_LDFLAGS,;t t
15687 s,@gnome_LDFLAGS@,$gnome_LDFLAGS,;t t
15688 s,@gtk_LDFLAGS@,$gtk_LDFLAGS,;t t
15689 s,@http_LDFLAGS@,$http_LDFLAGS,;t t
15690 s,@idctaltivec_LDFLAGS@,$idctaltivec_LDFLAGS,;t t
15691 s,@imdct_LDFLAGS@,$imdct_LDFLAGS,;t t
15692 s,@imdct3dn_LDFLAGS@,$imdct3dn_LDFLAGS,;t t
15693 s,@imdctsse_LDFLAGS@,$imdctsse_LDFLAGS,;t t
15694 s,@ipv4_LDFLAGS@,$ipv4_LDFLAGS,;t t
15695 s,@ipv6_LDFLAGS@,$ipv6_LDFLAGS,;t t
15696 s,@kde_LDFLAGS@,$kde_LDFLAGS,;t t
15697 s,@lirc_LDFLAGS@,$lirc_LDFLAGS,;t t
15698 s,@macosx_LDFLAGS@,$macosx_LDFLAGS,;t t
15699 s,@mad_LDFLAGS@,$mad_LDFLAGS,;t t
15700 s,@memcpyaltivec_LDFLAGS@,$memcpyaltivec_LDFLAGS,;t t
15701 s,@motionaltivec_LDFLAGS@,$motionaltivec_LDFLAGS,;t t
15702 s,@ncurses_LDFLAGS@,$ncurses_LDFLAGS,;t t
15703 s,@opie_LDFLAGS@,$opie_LDFLAGS,;t t
15704 s,@qnx_LDFLAGS@,$qnx_LDFLAGS,;t t
15705 s,@qt_LDFLAGS@,$qt_LDFLAGS,;t t
15706 s,@qte_LDFLAGS@,$qte_LDFLAGS,;t t
15707 s,@rc_LDFLAGS@,$rc_LDFLAGS,;t t
15708 s,@sdl_LDFLAGS@,$sdl_LDFLAGS,;t t
15709 s,@vcd_LDFLAGS@,$vcd_LDFLAGS,;t t
15710 s,@vorbis_LDFLAGS@,$vorbis_LDFLAGS,;t t
15711 s,@waveout_LDFLAGS@,$waveout_LDFLAGS,;t t
15712 s,@x11_LDFLAGS@,$x11_LDFLAGS,;t t
15713 s,@xvideo_LDFLAGS@,$xvideo_LDFLAGS,;t t
15714 s,@LIBOBJS@,$LIBOBJS,;t t
15715 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
15720 cat >>$CONFIG_STATUS <<\_ACEOF
15721 # Split the substitutions into bite-sized pieces for seds with
15722 # small command number limits, like on Digital OSF/1 and HP-UX.
15723 ac_max_sed_lines=48
15724 ac_sed_frag=1 # Number of current file.
15725 ac_beg=1 # First line for current file.
15726 ac_end=$ac_max_sed_lines # Line after last line for current file.
15729 while $ac_more_lines; do
15730 if test $ac_beg -gt 1; then
15731 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
15733 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
15735 if test ! -s $tmp/subs.frag; then
15736 ac_more_lines=false
15738 # The purpose of the label and of the branching condition is to
15739 # speed up the sed processing (if there are no `@' at all, there
15740 # is no need to browse any of the substitutions).
15741 # These are the two extra sed commands mentioned above.
15743 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
15744 if test -z "$ac_sed_cmds"; then
15745 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
15747 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
15749 ac_sed_frag=`expr $ac_sed_frag + 1`
15751 ac_end=`expr $ac_end + $ac_max_sed_lines`
15754 if test -z "$ac_sed_cmds"; then
15757 fi # test -n "$CONFIG_FILES"
15760 cat >>$CONFIG_STATUS <<\_ACEOF
15761 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
15762 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15764 - | *:- | *:-:* ) # input from stdin
15766 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15767 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15768 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15769 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15770 * ) ac_file_in=$ac_file.in ;;
15773 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
15774 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
15775 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15776 X"$ac_file" : 'X\(//\)[^/]' \| \
15777 X"$ac_file" : 'X\(//\)$' \| \
15778 X"$ac_file" : 'X\(/\)' \| \
15779 . : '\(.\)' 2>/dev/null ||
15781 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15782 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15783 /^X\(\/\/\)$/{ s//\1/; q; }
15784 /^X\(\/\).*/{ s//\1/; q; }
15786 { if $as_mkdir_p; then
15791 while test ! -d "$as_dir"; do
15792 as_dirs="$as_dir $as_dirs"
15793 as_dir=`(dirname "$as_dir") 2>/dev/null ||
15794 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15795 X"$as_dir" : 'X\(//\)[^/]' \| \
15796 X"$as_dir" : 'X\(//\)$' \| \
15797 X"$as_dir" : 'X\(/\)' \| \
15798 . : '\(.\)' 2>/dev/null ||
15800 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15801 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15802 /^X\(\/\/\)$/{ s//\1/; q; }
15803 /^X\(\/\).*/{ s//\1/; q; }
15806 test ! -n "$as_dirs" || mkdir $as_dirs
15807 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15808 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15809 { (exit 1); exit 1; }; }; }
15813 if test "$ac_dir" != .; then
15814 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15815 # A "../" for each directory in $ac_dir_suffix.
15816 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15818 ac_dir_suffix= ac_top_builddir=
15822 .) # No --srcdir option. We are building in place.
15824 if test -z "$ac_top_builddir"; then
15827 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
15829 [\\/]* | ?:[\\/]* ) # Absolute path.
15830 ac_srcdir=$srcdir$ac_dir_suffix;
15831 ac_top_srcdir=$srcdir ;;
15832 *) # Relative path.
15833 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
15834 ac_top_srcdir=$ac_top_builddir$srcdir ;;
15836 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
15838 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
15839 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
15840 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
15841 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
15845 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15846 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
15849 if test x"$ac_file" != x-; then
15850 { echo "$as_me:$LINENO: creating $ac_file" >&5
15851 echo "$as_me: creating $ac_file" >&6;}
15854 # Let's still pretend it is `configure' which instantiates (i.e., don't
15855 # use $as_me), people would be surprised to read:
15856 # /* config.h. Generated by config.status. */
15857 if test x"$ac_file" = x-; then
15860 configure_input="$ac_file. "
15862 configure_input=$configure_input"Generated from `echo $ac_file_in |
15863 sed 's,.*/,,'` by configure."
15865 # First look for the input files in the build tree, otherwise in the
15867 ac_file_inputs=`IFS=:
15868 for f in $ac_file_in; do
15870 -) echo $tmp/stdin ;;
15872 # Absolute (can't be DOS-style, as IFS=:)
15873 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15874 echo "$as_me: error: cannot find input file: $f" >&2;}
15875 { (exit 1); exit 1; }; }
15878 if test -f "$f"; then
15881 elif test -f "$srcdir/$f"; then
15886 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15887 echo "$as_me: error: cannot find input file: $f" >&2;}
15888 { (exit 1); exit 1; }; }
15891 done` || { (exit 1); exit 1; }
15893 cat >>$CONFIG_STATUS <<_ACEOF
15897 cat >>$CONFIG_STATUS <<\_ACEOF
15899 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15900 s,@configure_input@,$configure_input,;t t
15901 s,@srcdir@,$ac_srcdir,;t t
15902 s,@abs_srcdir@,$ac_abs_srcdir,;t t
15903 s,@top_srcdir@,$ac_top_srcdir,;t t
15904 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
15905 s,@builddir@,$ac_builddir,;t t
15906 s,@abs_builddir@,$ac_abs_builddir,;t t
15907 s,@top_builddir@,$ac_top_builddir,;t t
15908 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
15909 s,@INSTALL@,$ac_INSTALL,;t t
15910 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
15912 if test x"$ac_file" != x-; then
15913 mv $tmp/out $ac_file
15921 cat >>$CONFIG_STATUS <<\_ACEOF
15924 # CONFIG_HEADER section.
15927 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
15928 # NAME is the cpp macro being defined and VALUE is the value it is being given.
15930 # ac_d sets the value in "#define NAME VALUE" lines.
15931 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
15932 ac_dB='[ ].*$,\1#\2'
15935 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
15936 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15937 ac_uB='$,\1#\2define\3'
15941 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
15942 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15944 - | *:- | *:-:* ) # input from stdin
15946 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15947 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15948 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15949 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15950 * ) ac_file_in=$ac_file.in ;;
15953 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
15954 echo "$as_me: creating $ac_file" >&6;}
15956 # First look for the input files in the build tree, otherwise in the
15958 ac_file_inputs=`IFS=:
15959 for f in $ac_file_in; do
15961 -) echo $tmp/stdin ;;
15963 # Absolute (can't be DOS-style, as IFS=:)
15964 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15965 echo "$as_me: error: cannot find input file: $f" >&2;}
15966 { (exit 1); exit 1; }; }
15969 if test -f "$f"; then
15972 elif test -f "$srcdir/$f"; then
15977 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15978 echo "$as_me: error: cannot find input file: $f" >&2;}
15979 { (exit 1); exit 1; }; }
15982 done` || { (exit 1); exit 1; }
15983 # Remove the trailing spaces.
15984 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
15988 # Transform confdefs.h into two sed scripts, `conftest.defines' and
15989 # `conftest.undefs', that substitutes the proper values into
15990 # config.h.in to produce config.h. The first handles `#define'
15991 # templates, and the second `#undef' templates.
15992 # And first: Protect against being on the right side of a sed subst in
15993 # config.status. Protect against being in an unquoted here document
15994 # in config.status.
15995 rm -f conftest.defines conftest.undefs
15996 # Using a here document instead of a string reduces the quoting nightmare.
15997 # Putting comments in sed scripts is not portable.
15999 # `end' is used to avoid that the second main sed command (meant for
16000 # 0-ary CPP macros) applies to n-ary macro definitions.
16001 # See the Autoconf documentation for `clear'.
16002 cat >confdef2sed.sed <<\_ACEOF
16007 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
16009 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
16012 # If some macros were called several times there might be several times
16013 # the same #defines, which is useless. Nevertheless, we may not want to
16014 # sort them, since we want the *last* AC-DEFINE to be honored.
16015 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
16016 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
16017 rm -f confdef2sed.sed
16019 # This sed command replaces #undef with comments. This is necessary, for
16020 # example, in the case of _POSIX_SOURCE, which is predefined and required
16021 # on some systems where configure will not decide to define it.
16022 cat >>conftest.undefs <<\_ACEOF
16023 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
16026 # Break up conftest.defines because some shells have a limit on the size
16027 # of here documents, and old seds have small limits too (100 cmds).
16028 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
16029 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
16030 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
16031 echo ' :' >>$CONFIG_STATUS
16032 rm -f conftest.tail
16033 while grep . conftest.defines >/dev/null
16035 # Write a limited-size here document to $tmp/defines.sed.
16036 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
16037 # Speed up: don't consider the non `#define' lines.
16038 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
16039 # Work around the forget-to-reset-the-flag bug.
16040 echo 't clr' >>$CONFIG_STATUS
16041 echo ': clr' >>$CONFIG_STATUS
16042 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
16044 sed -f $tmp/defines.sed $tmp/in >$tmp/out
16046 mv $tmp/out $tmp/in
16048 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
16049 rm -f conftest.defines
16050 mv conftest.tail conftest.defines
16052 rm -f conftest.defines
16053 echo ' fi # grep' >>$CONFIG_STATUS
16054 echo >>$CONFIG_STATUS
16056 # Break up conftest.undefs because some shells have a limit on the size
16057 # of here documents, and old seds have small limits too (100 cmds).
16058 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
16059 rm -f conftest.tail
16060 while grep . conftest.undefs >/dev/null
16062 # Write a limited-size here document to $tmp/undefs.sed.
16063 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
16064 # Speed up: don't consider the non `#undef'
16065 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
16066 # Work around the forget-to-reset-the-flag bug.
16067 echo 't clr' >>$CONFIG_STATUS
16068 echo ': clr' >>$CONFIG_STATUS
16069 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
16071 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
16073 mv $tmp/out $tmp/in
16075 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
16076 rm -f conftest.undefs
16077 mv conftest.tail conftest.undefs
16079 rm -f conftest.undefs
16081 cat >>$CONFIG_STATUS <<\_ACEOF
16082 # Let's still pretend it is `configure' which instantiates (i.e., don't
16083 # use $as_me), people would be surprised to read:
16084 # /* config.h. Generated by config.status. */
16085 if test x"$ac_file" = x-; then
16086 echo "/* Generated by configure. */" >$tmp/config.h
16088 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
16090 cat $tmp/in >>$tmp/config.h
16092 if test x"$ac_file" != x-; then
16093 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
16094 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16095 echo "$as_me: $ac_file is unchanged" >&6;}
16097 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
16098 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16099 X"$ac_file" : 'X\(//\)[^/]' \| \
16100 X"$ac_file" : 'X\(//\)$' \| \
16101 X"$ac_file" : 'X\(/\)' \| \
16102 . : '\(.\)' 2>/dev/null ||
16104 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16105 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16106 /^X\(\/\/\)$/{ s//\1/; q; }
16107 /^X\(\/\).*/{ s//\1/; q; }
16109 { if $as_mkdir_p; then
16114 while test ! -d "$as_dir"; do
16115 as_dirs="$as_dir $as_dirs"
16116 as_dir=`(dirname "$as_dir") 2>/dev/null ||
16117 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16118 X"$as_dir" : 'X\(//\)[^/]' \| \
16119 X"$as_dir" : 'X\(//\)$' \| \
16120 X"$as_dir" : 'X\(/\)' \| \
16121 . : '\(.\)' 2>/dev/null ||
16123 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16124 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16125 /^X\(\/\/\)$/{ s//\1/; q; }
16126 /^X\(\/\).*/{ s//\1/; q; }
16129 test ! -n "$as_dirs" || mkdir $as_dirs
16130 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16131 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16132 { (exit 1); exit 1; }; }; }
16135 mv $tmp/config.h $ac_file
16139 rm -f $tmp/config.h
16143 cat >>$CONFIG_STATUS <<\_ACEOF
16146 # CONFIG_COMMANDS section.
16148 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
16149 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
16150 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
16151 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
16152 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16153 X"$ac_dest" : 'X\(//\)[^/]' \| \
16154 X"$ac_dest" : 'X\(//\)$' \| \
16155 X"$ac_dest" : 'X\(/\)' \| \
16156 . : '\(.\)' 2>/dev/null ||
16158 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16159 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16160 /^X\(\/\/\)$/{ s//\1/; q; }
16161 /^X\(\/\).*/{ s//\1/; q; }
16165 if test "$ac_dir" != .; then
16166 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16167 # A "../" for each directory in $ac_dir_suffix.
16168 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16170 ac_dir_suffix= ac_top_builddir=
16174 .) # No --srcdir option. We are building in place.
16176 if test -z "$ac_top_builddir"; then
16179 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
16181 [\\/]* | ?:[\\/]* ) # Absolute path.
16182 ac_srcdir=$srcdir$ac_dir_suffix;
16183 ac_top_srcdir=$srcdir ;;
16184 *) # Relative path.
16185 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
16186 ac_top_srcdir=$ac_top_builddir$srcdir ;;
16188 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
16190 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
16191 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
16192 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
16193 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
16196 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
16197 echo "$as_me: executing $ac_dest commands" >&6;}
16199 default-1 ) for ac_file in $CONFIG_FILES; do
16200 # Support "outfile[:infile[:infile...]]"
16202 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
16204 # PO directories have a Makefile.in generated from Makefile.in.in.
16205 case "$ac_file" in */Makefile.in)
16206 # Adjust a relative srcdir.
16207 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
16208 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
16209 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
16210 # In autoconf-2.13 it is called $ac_given_srcdir.
16211 # In autoconf-2.50 it is called $srcdir.
16212 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
16213 case "$ac_given_srcdir" in
16214 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
16215 /*) top_srcdir="$ac_given_srcdir" ;;
16216 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
16218 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
16219 rm -f "$ac_dir/POTFILES"
16220 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
16221 sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," -e "\$s/\(.*\) \\\\/\1/" < "$ac_given_srcdir/$ac_dir/POTFILES.in" > "$ac_dir/POTFILES"
16222 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
16223 sed -e "/POTFILES =/r $ac_dir/POTFILES" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
16232 cat >>$CONFIG_STATUS <<\_ACEOF
16234 { (exit 0); exit 0; }
16236 chmod +x $CONFIG_STATUS
16237 ac_clean_files=$ac_clean_files_save
16240 # configure is writing to config.log, and then calls config.status.
16241 # config.status does its own redirection, appending to config.log.
16242 # Unfortunately, on DOS this fails, as config.log is still kept open
16243 # by configure, so config.status won't be able to write to it; its
16244 # output is simply discarded. So we exec the FD to /dev/null,
16245 # effectively closing config.log, so it can be properly (re)opened and
16246 # appended to by config.status. When coming back to configure, we
16247 # need to make the FD available again.
16248 if test "$no_create" != yes; then
16251 $SHELL $CONFIG_STATUS || ac_cs_success=false
16253 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16254 # would make configure fail if this is the last instruction.
16255 $ac_cs_success || { (exit 1); exit 1; }
16261 --------------------
16262 vlc version : ${VERSION}
16264 architecture : ${ARCH}
16265 optimizations : ${OPTIMS}
16267 debug mode : ${DEBUG}
16268 release : ${RELEASE}
16269 cprof/gprof support : ${CPROF}/${GPROF}
16270 need builtin getopt : ${NEED_GETOPT}
16271 built-in modules :${BUILTINS}
16272 plug-in modules :${PLUGINS}
16273 vlc aliases :${ALIASES}
16275 You may now tune Makefile.opts at your convenience, for instance to choose
16276 which modules get compiled as plugins.
16278 To build vlc and its plugins, type \`$VLC_MAKE'.