bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: bug report


From: Peter Hamer
Subject: FYI: bug report
Date: Fri, 27 Jun 2003 12:48:27 +0000

Hi,

I was trying to run ./configure for videolan's vlc tool when I got
a request to report a bug to you.

I'm not certain what information you want, but attach a few files
that look appropriate.

Running Linux SuSE 7.3

Peter

Attachment: config.log
Description: application/unknown-content-type-txtfile

#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.57 for vlc 0.6.0.
#
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
# Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
## --------------------- ##
## M4sh Initialization.  ##
## --------------------- ##

# Be Bourne compatible
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  emulate sh
  NULLCMD=:
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  # is contrary to our usage.  Disable this feature.
  alias -g '${1+"$@"}'='"$@"'
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  set -o posix
fi

# Support unset when possible.
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
  as_unset=unset
else
  as_unset=false
fi


# Work around bugs in pre-3.0 UWIN ksh.
$as_unset ENV MAIL MAILPATH
PS1='$ '
PS2='> '
PS4='+ '

# NLS nuisances.
for as_var in \
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  LC_TELEPHONE LC_TIME
do
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
    eval $as_var=C; export $as_var
  else
    $as_unset $as_var
  fi
done

# Required to use basename.
if expr a : '\(a\)' >/dev/null 2>&1; then
  as_expr=expr
else
  as_expr=false
fi

if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  as_basename=basename
else
  as_basename=false
fi


# Name of the executable.
as_me=`$as_basename "$0" ||
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
         X"$0" : 'X\(//\)$' \| \
         X"$0" : 'X\(/\)$' \| \
         .     : '\(.\)' 2>/dev/null ||
echo X/"$0" |
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
          /^X\/\(\/\/\)$/{ s//\1/; q; }
          /^X\/\(\/\).*/{ s//\1/; q; }
          s/.*/./; q'`


# PATH needs CR, and LINENO needs CR and PATH.
# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits

# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
  echo "#! /bin/sh" >conf$$.sh
  echo  "exit 0"   >>conf$$.sh
  chmod +x conf$$.sh
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
  rm -f conf$$.sh
fi


  as_lineno_1=$LINENO
  as_lineno_2=$LINENO
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  test "x$as_lineno_1" != "x$as_lineno_2" &&
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  # Find who we are.  Look in the path if we contain no path at all
  # relative or not.
  case $0 in
    *[\\/]* ) as_myself=$0 ;;
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
done

       ;;
  esac
  # We did not find ourselves, most probably we were run as `sh COMMAND'
  # in which case we are not to be found in the path.
  if test "x$as_myself" = x; then
    as_myself=$0
  fi
  if test ! -f "$as_myself"; then
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
   { (exit 1); exit 1; }; }
  fi
  case $CONFIG_SHELL in
  '')
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for as_base in sh bash ksh sh5; do
         case $as_dir in
         /*)
           if ("$as_dir/$as_base" -c '
  as_lineno_1=$LINENO
  as_lineno_2=$LINENO
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  test "x$as_lineno_1" != "x$as_lineno_2" &&
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { 
BASH_ENV=; export BASH_ENV; }
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
             CONFIG_SHELL=$as_dir/$as_base
             export CONFIG_SHELL
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
           fi;;
         esac
       done
done
;;
  esac

  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  # uniformly replaced by the line number.  The first 'sed' inserts a
  # line-number line before each line; the second 'sed' does the real
  # work.  The second script uses 'N' to pair each line-number line
  # with the numbered line, and appends trailing '-' during
  # substitution so that $LINENO is not a special case at line end.
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
  sed '=' <$as_myself |
    sed '
      N
      s,$,-,
      : loop
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
      t loop
      s,-$,,
      s,^['$as_cr_digits']*\n,,
    ' >$as_me.lineno &&
  chmod +x $as_me.lineno ||
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX 
shell" >&2
   { (exit 1); exit 1; }; }

  # Don't try to exec as it changes $[0], causing all sort of problems
  # (the dirname of $[0] is not the place where we might find the
  # original and so on.  Autoconf is especially sensible to this).
  . ./$as_me.lineno
  # Exit status is that of the last command.
  exit
}


case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  *c*,-n*) ECHO_N= ECHO_C='
' ECHO_T='      ' ;;
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
esac

if expr a : '\(a\)' >/dev/null 2>&1; then
  as_expr=expr
else
  as_expr=false
fi

rm -f conf$$ conf$$.exe conf$$.file
echo >conf$$.file
if ln -s conf$$.file conf$$ 2>/dev/null; then
  # We could just check for DJGPP; but this test a) works b) is more generic
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  if test -f conf$$.exe; then
    # Don't use ln at all; we don't have any links
    as_ln_s='cp -p'
  else
    as_ln_s='ln -s'
  fi
elif ln conf$$.file conf$$ 2>/dev/null; then
  as_ln_s=ln
else
  as_ln_s='cp -p'
fi
rm -f conf$$ conf$$.exe conf$$.file

if mkdir -p . 2>/dev/null; then
  as_mkdir_p=:
else
  as_mkdir_p=false
fi

as_executable_p="test -f"

# Sed expression to map a string onto a valid CPP name.
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"

# Sed expression to map a string onto a valid variable name.
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"


# IFS
# We need space, tab and new line, in precisely that order.
as_nl='
'
IFS="   $as_nl"

# CDPATH.
$as_unset CDPATH


# Name of the host.
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
# so uname gets run too.
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`

exec 6>&1

#
# Initializations.
#
ac_default_prefix=/usr/local
ac_config_libobj_dir=.
cross_compiling=no
subdirs=
MFLAGS=
MAKEFLAGS=
SHELL=${CONFIG_SHELL-/bin/sh}

# Maximum number of lines to put in a shell here document.
# This variable seems obsolete.  It should probably be removed, and
# only ac_max_sed_lines should be used.
: ${ac_max_here_lines=38}

# Identity of this package.
PACKAGE_NAME='vlc'
PACKAGE_TARNAME='vlc'
PACKAGE_VERSION='0.6.0'
PACKAGE_STRING='vlc 0.6.0'
PACKAGE_BUGREPORT=''

ac_unique_file="src/libvlc.c"
# Factoring default headers for most tests.
ac_includes_default="\
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif"

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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA 
CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR 
install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot 
CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote 
AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE 
am__fastdepCC_FALSE CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE 
am__fastdepCXX_FALSE EGREP OBJC OBJCFLAGS OBJCDEPMODE am__fastdepOBJC_TRUE 
am__fastdepOBJC_FALSE RANLIB ac_ct_RANLIB AR ac_ct_AR LD ac_ct_LD WINDRES 
ac_ct_WINDRES HAVE_BEOS_TRUE HAVE_BEOS_FALSE HAVE_DARWIN_TRUE HAVE_DARWIN_FALSE 
HAVE_WIN32_TRUE HAVE_WIN32_FALSE MKINSTALLDIRS MSGFMT GMSGFMT XGETTEXT MSGMERGE 
ALLOCA GLIBC21 LIBICONV LTLIBICONV INTLBISON USE_NLS BUILD_INCLUDED_LIBINTL 
USE_INCLUDED_LIBINTL CATOBJEXT INTLOBJS DATADIRNAME INSTOBJEXT GENCAT 
INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB BUILD_INTL_TRUE 
BUILD_INTL_FALSE BUILD_GETOPT_TRUE BUILD_GETOPT_FALSE BUILD_DIRENT_TRUE 
BUILD_DIRENT_FALSE GPROF_TRUE GPROF_FALSE CPROF_TRUE CPROF_FALSE OPTIM_TRUE 
OPTIM_FALSE DEBUG_TRUE DEBUG_FALSE RELEASE_TRUE RELEASE_FALSE CXXCPP 
SDL12_CONFIG SDL11_CONFIG SDL_CONFIG FREETYPE_CONFIG ESD_CONFIG ARTS_CONFIG 
WX_CONFIG_SKINS IMLIB2_CONFIG_SKINS GTK12_CONFIG GTK_CONFIG PKG_CONFIG 
GTK2_CFLAGS GTK2_LIBS GNOME_CONFIG GNOME2_CFLAGS GNOME2_LIBS WX_CONFIG 
MOZILLA_CONFIG BUILD_MOZILLA_TRUE BUILD_MOZILLA_FALSE HAVE_PLUGINS_TRUE 
HAVE_PLUGINS_FALSE HAVE_BUILTINS_TRUE HAVE_BUILTINS_FALSE access_file_p_TRUE 
access_file_p_FALSE access_file_b_TRUE access_file_b_FALSE 
access_directory_p_TRUE access_directory_p_FALSE access_directory_b_TRUE 
access_directory_b_FALSE LDFLAGS_access_udp access_udp_p_TRUE 
access_udp_p_FALSE access_udp_b_TRUE access_udp_b_FALSE LDFLAGS_access_http 
access_http_p_TRUE access_http_p_FALSE access_http_b_TRUE access_http_b_FALSE 
LDFLAGS_access_ftp access_ftp_p_TRUE access_ftp_p_FALSE access_ftp_b_TRUE 
access_ftp_b_FALSE CPPFLAGS_slp LDFLAGS_slp slp_p_TRUE slp_p_FALSE slp_b_TRUE 
slp_b_FALSE LDFLAGS_cdda cdda_p_TRUE cdda_p_FALSE cdda_b_TRUE cdda_b_FALSE 
CPPFLAGS_dvd LDFLAGS_dvd dvd_p_TRUE dvd_p_FALSE dvd_b_TRUE dvd_b_FALSE 
CPPFLAGS_dvdplay LDFLAGS_dvdplay dvdplay_p_TRUE dvdplay_p_FALSE dvdplay_b_TRUE 
dvdplay_b_FALSE CPPFLAGS_dvdread LDFLAGS_dvdread dvdread_p_TRUE dvdread_p_FALSE 
dvdread_b_TRUE dvdread_b_FALSE LDFLAGS_access_mms access_mms_p_TRUE 
access_mms_p_FALSE access_mms_b_TRUE access_mms_b_FALSE pvr_p_TRUE pvr_p_FALSE 
pvr_b_TRUE pvr_b_FALSE satellite_p_TRUE satellite_p_FALSE satellite_b_TRUE 
satellite_b_FALSE v4l_p_TRUE v4l_p_FALSE v4l_b_TRUE v4l_b_FALSE LDFLAGS_vcd 
vcd_p_TRUE vcd_p_FALSE vcd_b_TRUE vcd_b_FALSE access_output_dummy_p_TRUE 
access_output_dummy_p_FALSE access_output_dummy_b_TRUE 
access_output_dummy_b_FALSE access_output_file_p_TRUE 
access_output_file_p_FALSE access_output_file_b_TRUE access_output_file_b_FALSE 
LDFLAGS_access_output_udp access_output_udp_p_TRUE access_output_udp_p_FALSE 
access_output_udp_b_TRUE access_output_udp_b_FALSE access_output_http_p_TRUE 
access_output_http_p_FALSE access_output_http_b_TRUE access_output_http_b_FALSE 
trivial_channel_mixer_p_TRUE trivial_channel_mixer_p_FALSE 
trivial_channel_mixer_b_TRUE trivial_channel_mixer_b_FALSE 
LDFLAGS_headphone_channel_mixer headphone_channel_mixer_p_TRUE 
headphone_channel_mixer_p_FALSE headphone_channel_mixer_b_TRUE 
headphone_channel_mixer_b_FALSE float32tos16_p_TRUE float32tos16_p_FALSE 
float32tos16_b_TRUE float32tos16_b_FALSE float32tos8_p_TRUE float32tos8_p_FALSE 
float32tos8_b_TRUE float32tos8_b_FALSE float32tou16_p_TRUE float32tou16_p_FALSE 
float32tou16_b_TRUE float32tou16_b_FALSE float32tou8_p_TRUE float32tou8_p_FALSE 
float32tou8_b_TRUE float32tou8_b_FALSE a52tospdif_p_TRUE a52tospdif_p_FALSE 
a52tospdif_b_TRUE a52tospdif_b_FALSE CPPFLAGS_a52tofloat32 LDFLAGS_a52tofloat32 
a52tofloat32_p_TRUE a52tofloat32_p_FALSE a52tofloat32_b_TRUE 
a52tofloat32_b_FALSE dtstospdif_p_TRUE dtstospdif_p_FALSE dtstospdif_b_TRUE 
dtstospdif_b_FALSE fixed32tos16_p_TRUE fixed32tos16_p_FALSE fixed32tos16_b_TRUE 
fixed32tos16_b_FALSE s16tofixed32_p_TRUE s16tofixed32_p_FALSE 
s16tofixed32_b_TRUE s16tofixed32_b_FALSE fixed32tofloat32_p_TRUE 
fixed32tofloat32_p_FALSE fixed32tofloat32_b_TRUE fixed32tofloat32_b_FALSE 
s16tofloat32_p_TRUE s16tofloat32_p_FALSE s16tofloat32_b_TRUE 
s16tofloat32_b_FALSE s16tofloat32swab_p_TRUE s16tofloat32swab_p_FALSE 
s16tofloat32swab_b_TRUE s16tofloat32swab_b_FALSE s8tofloat32_p_TRUE 
s8tofloat32_p_FALSE s8tofloat32_b_TRUE s8tofloat32_b_FALSE u8tofixed32_p_TRUE 
u8tofixed32_p_FALSE u8tofixed32_b_TRUE u8tofixed32_b_FALSE u8tofloat32_p_TRUE 
u8tofloat32_p_FALSE u8tofloat32_b_TRUE u8tofloat32_b_FALSE 
CPPFLAGS_mpgatofixed32 LDFLAGS_mpgatofixed32 mpgatofixed32_p_TRUE 
mpgatofixed32_p_FALSE mpgatofixed32_b_TRUE mpgatofixed32_b_FALSE 
trivial_resampler_p_TRUE trivial_resampler_p_FALSE trivial_resampler_b_TRUE 
trivial_resampler_b_FALSE ugly_resampler_p_TRUE ugly_resampler_p_FALSE 
ugly_resampler_b_TRUE ugly_resampler_b_FALSE linear_resampler_p_TRUE 
linear_resampler_p_FALSE linear_resampler_b_TRUE linear_resampler_b_FALSE 
bandlimited_resampler_p_TRUE bandlimited_resampler_p_FALSE 
bandlimited_resampler_b_TRUE bandlimited_resampler_b_FALSE 
LDFLAGS_coreaudio_resampler coreaudio_resampler_p_TRUE 
coreaudio_resampler_p_FALSE coreaudio_resampler_b_TRUE 
coreaudio_resampler_b_FALSE trivial_mixer_p_TRUE trivial_mixer_p_FALSE 
trivial_mixer_b_TRUE trivial_mixer_b_FALSE float32_mixer_p_TRUE 
float32_mixer_p_FALSE float32_mixer_b_TRUE float32_mixer_b_FALSE 
spdif_mixer_p_TRUE spdif_mixer_p_FALSE spdif_mixer_b_TRUE spdif_mixer_b_FALSE 
LDFLAGS_alsa alsa_p_TRUE alsa_p_FALSE alsa_b_TRUE alsa_b_FALSE CFLAGS_arts 
LDFLAGS_arts arts_p_TRUE arts_p_FALSE arts_b_TRUE arts_b_FALSE 
LDFLAGS_coreaudio coreaudio_p_TRUE coreaudio_p_FALSE coreaudio_b_TRUE 
coreaudio_b_FALSE CPPFLAGS_aout_directx aout_directx_p_TRUE 
aout_directx_p_FALSE aout_directx_b_TRUE aout_directx_b_FALSE CFLAGS_esd 
LDFLAGS_esd esd_p_TRUE esd_p_FALSE esd_b_TRUE esd_b_FALSE aout_file_p_TRUE 
aout_file_p_FALSE aout_file_b_TRUE aout_file_b_FALSE oss_p_TRUE oss_p_FALSE 
oss_b_TRUE oss_b_FALSE CFLAGS_aout_sdl LDFLAGS_aout_sdl aout_sdl_p_TRUE 
aout_sdl_p_FALSE aout_sdl_b_TRUE aout_sdl_b_FALSE LDFLAGS_waveout 
waveout_p_TRUE waveout_p_FALSE waveout_b_TRUE waveout_b_FALSE a52_p_TRUE 
a52_p_FALSE a52_b_TRUE a52_b_FALSE dts_p_TRUE dts_p_FALSE dts_b_TRUE 
dts_b_FALSE LDFLAGS_flacdec flacdec_p_TRUE flacdec_p_FALSE flacdec_b_TRUE 
flacdec_b_FALSE lpcm_p_TRUE lpcm_p_FALSE lpcm_b_TRUE lpcm_b_FALSE araw_p_TRUE 
araw_p_FALSE araw_b_TRUE araw_b_FALSE LDFLAGS_vorbis vorbis_p_TRUE 
vorbis_p_FALSE vorbis_b_TRUE vorbis_b_FALSE CPPFLAGS_tarkin LDFLAGS_tarkin 
tarkin_p_TRUE tarkin_p_FALSE tarkin_b_TRUE tarkin_b_FALSE LDFLAGS_theora 
theora_p_TRUE theora_p_FALSE theora_b_TRUE theora_b_FALSE LDFLAGS_tremor 
tremor_p_TRUE tremor_p_FALSE tremor_b_TRUE tremor_b_FALSE LDFLAGS_dv dv_p_TRUE 
dv_p_FALSE dv_b_TRUE dv_b_FALSE CPPFLAGS_xvid LDFLAGS_xvid xvid_p_TRUE 
xvid_p_FALSE xvid_b_TRUE xvid_b_FALSE adpcm_p_TRUE adpcm_p_FALSE adpcm_b_TRUE 
adpcm_b_FALSE mpeg_audio_p_TRUE mpeg_audio_p_FALSE mpeg_audio_b_TRUE 
mpeg_audio_b_FALSE CFLAGS_libmpeg2 LDFLAGS_libmpeg2 libmpeg2_p_TRUE 
libmpeg2_p_FALSE libmpeg2_b_TRUE libmpeg2_b_FALSE rawvideo_p_TRUE 
rawvideo_p_FALSE rawvideo_b_TRUE rawvideo_b_FALSE LDFLAGS_quicktime 
quicktime_p_TRUE quicktime_p_FALSE quicktime_b_TRUE quicktime_b_FALSE 
a52old_p_TRUE a52old_p_FALSE a52old_b_TRUE a52old_b_FALSE downmix_p_TRUE 
downmix_p_FALSE downmix_b_TRUE downmix_b_FALSE downmixsse_p_TRUE 
downmixsse_p_FALSE downmixsse_b_TRUE downmixsse_b_FALSE downmix3dn_p_TRUE 
downmix3dn_p_FALSE downmix3dn_b_TRUE downmix3dn_b_FALSE LDFLAGS_imdct 
imdct_p_TRUE imdct_p_FALSE imdct_b_TRUE imdct_b_FALSE LDFLAGS_imdctsse 
imdctsse_p_TRUE imdctsse_p_FALSE imdctsse_b_TRUE imdctsse_b_FALSE 
LDFLAGS_imdct3dn imdct3dn_p_TRUE imdct3dn_p_FALSE imdct3dn_b_TRUE 
imdct3dn_b_FALSE cinepak_p_TRUE cinepak_p_FALSE cinepak_b_TRUE cinepak_b_FALSE 
CPPFLAGS_faad LDFLAGS_faad faad_p_TRUE faad_p_FALSE faad_b_TRUE faad_b_FALSE 
CPPFLAGS_ffmpeg LDFLAGS_ffmpeg ffmpeg_p_TRUE ffmpeg_p_FALSE ffmpeg_b_TRUE 
ffmpeg_b_FALSE postprocessing_c_p_TRUE postprocessing_c_p_FALSE 
postprocessing_c_b_TRUE postprocessing_c_b_FALSE postprocessing_mmx_p_TRUE 
postprocessing_mmx_p_FALSE postprocessing_mmx_b_TRUE postprocessing_mmx_b_FALSE 
postprocessing_mmxext_p_TRUE postprocessing_mmxext_p_FALSE 
postprocessing_mmxext_b_TRUE postprocessing_mmxext_b_FALSE 
CFLAGS_mpeg_video_old mpeg_video_old_p_TRUE mpeg_video_old_p_FALSE 
mpeg_video_old_b_TRUE mpeg_video_old_b_FALSE idct_p_TRUE idct_p_FALSE 
idct_b_TRUE idct_b_FALSE idctclassic_p_TRUE idctclassic_p_FALSE 
idctclassic_b_TRUE idctclassic_b_FALSE idctmmx_p_TRUE idctmmx_p_FALSE 
idctmmx_b_TRUE idctmmx_b_FALSE idctmmxext_p_TRUE idctmmxext_p_FALSE 
idctmmxext_b_TRUE idctmmxext_b_FALSE CFLAGS_idctaltivec LDFLAGS_idctaltivec 
idctaltivec_p_TRUE idctaltivec_p_FALSE idctaltivec_b_TRUE idctaltivec_b_FALSE 
motion_p_TRUE motion_p_FALSE motion_b_TRUE motion_b_FALSE motionmmx_p_TRUE 
motionmmx_p_FALSE motionmmx_b_TRUE motionmmx_b_FALSE motionmmxext_p_TRUE 
motionmmxext_p_FALSE motionmmxext_b_TRUE motionmmxext_b_FALSE 
motion3dnow_p_TRUE motion3dnow_p_FALSE motion3dnow_b_TRUE motion3dnow_b_FALSE 
CFLAGS_motionaltivec LDFLAGS_motionaltivec motionaltivec_p_TRUE 
motionaltivec_p_FALSE motionaltivec_b_TRUE motionaltivec_b_FALSE spudec_p_TRUE 
spudec_p_FALSE spudec_b_TRUE spudec_b_FALSE LDFLAGS_lirc lirc_p_TRUE 
lirc_p_FALSE lirc_b_TRUE lirc_b_FALSE rc_p_TRUE rc_p_FALSE rc_b_TRUE rc_b_FALSE 
gestures_p_TRUE gestures_p_FALSE gestures_b_TRUE gestures_b_FALSE LDFLAGS_http 
http_p_TRUE http_p_FALSE http_b_TRUE http_b_FALSE a52sys_p_TRUE a52sys_p_FALSE 
a52sys_b_TRUE a52sys_b_FALSE flac_p_TRUE flac_p_FALSE flac_b_TRUE flac_b_FALSE 
CPPFLAGS_ogg LDFLAGS_ogg ogg_p_TRUE ogg_p_FALSE ogg_b_TRUE ogg_b_FALSE 
m3u_p_TRUE m3u_p_FALSE m3u_b_TRUE m3u_b_FALSE demuxdump_p_TRUE 
demuxdump_p_FALSE demuxdump_b_TRUE demuxdump_b_FALSE rawdv_p_TRUE rawdv_p_FALSE 
rawdv_b_TRUE rawdv_b_FALSE au_p_TRUE au_p_FALSE au_b_TRUE au_b_FALSE 
LDFLAGS_mkv mkv_p_TRUE mkv_p_FALSE mkv_b_TRUE mkv_b_FALSE aac_p_TRUE 
aac_p_FALSE aac_b_TRUE aac_b_FALSE avi_p_TRUE avi_p_FALSE avi_b_TRUE 
avi_b_FALSE asf_p_TRUE asf_p_FALSE asf_b_TRUE asf_b_FALSE LDFLAGS_mp4 
mp4_p_TRUE mp4_p_FALSE mp4_b_TRUE mp4_b_FALSE mpeg_system_p_TRUE 
mpeg_system_p_FALSE mpeg_system_b_TRUE mpeg_system_b_FALSE es_p_TRUE es_p_FALSE 
es_b_TRUE es_b_FALSE m4v_p_TRUE m4v_p_FALSE m4v_b_TRUE m4v_b_FALSE ps_p_TRUE 
ps_p_FALSE ps_b_TRUE ps_b_FALSE ts_p_TRUE ts_p_FALSE ts_b_TRUE ts_b_FALSE 
CPPFLAGS_ts_dvbpsi LDFLAGS_ts_dvbpsi ts_dvbpsi_p_TRUE ts_dvbpsi_p_FALSE 
ts_dvbpsi_b_TRUE ts_dvbpsi_b_FALSE audio_p_TRUE audio_p_FALSE audio_b_TRUE 
audio_b_FALSE id3_p_TRUE id3_p_FALSE id3_b_TRUE id3_b_FALSE LDFLAGS_id3tag 
id3tag_p_TRUE id3tag_p_FALSE id3tag_b_TRUE id3tag_b_FALSE demuxsub_p_TRUE 
demuxsub_p_FALSE demuxsub_b_TRUE demuxsub_b_FALSE wav_p_TRUE wav_p_FALSE 
wav_b_TRUE wav_b_FALSE CPPFLAGS_encoder_xvid LDFLAGS_encoder_xvid 
encoder_xvid_p_TRUE encoder_xvid_p_FALSE encoder_xvid_b_TRUE 
encoder_xvid_b_FALSE CPPFLAGS_encoder_ffmpeg LDFLAGS_encoder_ffmpeg 
encoder_ffmpeg_p_TRUE encoder_ffmpeg_p_FALSE encoder_ffmpeg_b_TRUE 
encoder_ffmpeg_b_FALSE LDFLAGS_beos beos_p_TRUE beos_p_FALSE beos_b_TRUE 
beos_b_FALSE CFLAGS_familiar LDFLAGS_familiar familiar_p_TRUE familiar_p_FALSE 
familiar_b_TRUE familiar_b_FALSE CFLAGS_gtk LDFLAGS_gtk gtk_p_TRUE gtk_p_FALSE 
gtk_b_TRUE gtk_b_FALSE CFLAGS_gnome LDFLAGS_gnome gnome_p_TRUE gnome_p_FALSE 
gnome_b_TRUE gnome_b_FALSE CFLAGS_gtk2 LDFLAGS_gtk2 gtk2_p_TRUE gtk2_p_FALSE 
gtk2_b_TRUE gtk2_b_FALSE CFLAGS_gnome2 LDFLAGS_gnome2 gnome2_p_TRUE 
gnome2_p_FALSE gnome2_b_TRUE gnome2_b_FALSE CPPFLAGS_kde LDFLAGS_kde kde_p_TRUE 
kde_p_FALSE kde_b_TRUE kde_b_FALSE LDFLAGS_macosx macosx_p_TRUE macosx_p_FALSE 
macosx_b_TRUE macosx_b_FALSE LDFLAGS_ncurses ncurses_p_TRUE ncurses_p_FALSE 
ncurses_b_TRUE ncurses_b_FALSE LDFLAGS_qnx qnx_p_TRUE qnx_p_FALSE qnx_b_TRUE 
qnx_b_FALSE CPPFLAGS_qt LDFLAGS_qt qt_p_TRUE qt_p_FALSE qt_b_TRUE qt_b_FALSE 
CPPFLAGS_skins LDFLAGS_skins skins_p_TRUE skins_p_FALSE skins_b_TRUE 
skins_b_FALSE CPPFLAGS_basic_skins LDFLAGS_basic_skins basic_skins_p_TRUE 
basic_skins_p_FALSE basic_skins_b_TRUE basic_skins_b_FALSE win32_p_TRUE 
win32_p_FALSE win32_b_TRUE win32_b_FALSE CXXFLAGS_wxwindows LDFLAGS_wxwindows 
wxwindows_p_TRUE wxwindows_p_FALSE wxwindows_b_TRUE wxwindows_b_FALSE 
CFLAGS_gtk_main LDFLAGS_gtk_main gtk_main_p_TRUE gtk_main_p_FALSE 
gtk_main_b_TRUE gtk_main_b_FALSE CFLAGS_gnome_main LDFLAGS_gnome_main 
gnome_main_p_TRUE gnome_main_p_FALSE gnome_main_b_TRUE gnome_main_b_FALSE 
CFLAGS_gtk2_main LDFLAGS_gtk2_main gtk2_main_p_TRUE gtk2_main_p_FALSE 
gtk2_main_b_TRUE gtk2_main_b_FALSE CFLAGS_gnome2_main LDFLAGS_gnome2_main 
gnome2_main_p_TRUE gnome2_main_p_FALSE gnome2_main_b_TRUE gnome2_main_b_FALSE 
LDFLAGS_sap sap_p_TRUE sap_p_FALSE sap_b_TRUE sap_b_FALSE screensaver_p_TRUE 
screensaver_p_FALSE screensaver_b_TRUE screensaver_b_FALSE CPPFLAGS_qte_main 
LDFLAGS_qte_main qte_main_p_TRUE qte_main_p_FALSE qte_main_b_TRUE 
qte_main_b_FALSE LDFLAGS_httpd httpd_p_TRUE httpd_p_FALSE httpd_b_TRUE 
httpd_b_FALSE dummy_p_TRUE dummy_p_FALSE dummy_b_TRUE dummy_b_FALSE 
logger_p_TRUE logger_p_FALSE logger_b_TRUE logger_b_FALSE memcpy_p_TRUE 
memcpy_p_FALSE memcpy_b_TRUE memcpy_b_FALSE memcpymmx_p_TRUE memcpymmx_p_FALSE 
memcpymmx_b_TRUE memcpymmx_b_FALSE memcpymmxext_p_TRUE memcpymmxext_p_FALSE 
memcpymmxext_b_TRUE memcpymmxext_b_FALSE memcpy3dn_p_TRUE memcpy3dn_p_FALSE 
memcpy3dn_b_TRUE memcpy3dn_b_FALSE CFLAGS_memcpyaltivec LDFLAGS_memcpyaltivec 
memcpyaltivec_p_TRUE memcpyaltivec_p_FALSE memcpyaltivec_b_TRUE 
memcpyaltivec_b_FALSE LDFLAGS_ipv4 ipv4_p_TRUE ipv4_p_FALSE ipv4_b_TRUE 
ipv4_b_FALSE LDFLAGS_ipv6 ipv6_p_TRUE ipv6_p_FALSE ipv6_b_TRUE ipv6_b_FALSE 
test1_p_TRUE test1_p_FALSE test1_b_TRUE test1_b_FALSE CXXFLAGS_test2 
test2_p_TRUE test2_p_FALSE test2_b_TRUE test2_b_FALSE OBJCFLAGS_test3 
LDFLAGS_test3 test3_p_TRUE test3_p_FALSE test3_b_TRUE test3_b_FALSE 
test4_p_TRUE test4_p_FALSE test4_b_TRUE test4_b_FALSE mux_dummy_p_TRUE 
mux_dummy_p_FALSE mux_dummy_b_TRUE mux_dummy_b_FALSE mux_avi_p_TRUE 
mux_avi_p_FALSE mux_avi_b_TRUE mux_avi_b_FALSE LDFLAGS_mux_ogg mux_ogg_p_TRUE 
mux_ogg_p_FALSE mux_ogg_b_TRUE mux_ogg_b_FALSE mux_ps_p_TRUE mux_ps_p_FALSE 
mux_ps_b_TRUE mux_ps_b_FALSE mux_ts_p_TRUE mux_ts_p_FALSE mux_ts_b_TRUE 
mux_ts_b_FALSE CPPFLAGS_mux_ts_dvbpsi LDFLAGS_mux_ts_dvbpsi 
mux_ts_dvbpsi_p_TRUE mux_ts_dvbpsi_p_FALSE mux_ts_dvbpsi_b_TRUE 
mux_ts_dvbpsi_b_FALSE packetizer_copy_p_TRUE packetizer_copy_p_FALSE 
packetizer_copy_b_TRUE packetizer_copy_b_FALSE packetizer_a52_p_TRUE 
packetizer_a52_p_FALSE packetizer_a52_b_TRUE packetizer_a52_b_FALSE 
packetizer_mpegaudio_p_TRUE packetizer_mpegaudio_p_FALSE 
packetizer_mpegaudio_b_TRUE packetizer_mpegaudio_b_FALSE 
packetizer_mpegvideo_p_TRUE packetizer_mpegvideo_p_FALSE 
packetizer_mpegvideo_b_TRUE packetizer_mpegvideo_b_FALSE 
packetizer_mpeg4video_p_TRUE packetizer_mpeg4video_p_FALSE 
packetizer_mpeg4video_b_TRUE packetizer_mpeg4video_b_FALSE 
packetizer_mpeg4audio_p_TRUE packetizer_mpeg4audio_p_FALSE 
packetizer_mpeg4audio_b_TRUE packetizer_mpeg4audio_b_FALSE 
stream_out_dummy_p_TRUE stream_out_dummy_p_FALSE stream_out_dummy_b_TRUE 
stream_out_dummy_b_FALSE stream_out_standard_p_TRUE stream_out_standard_p_FALSE 
stream_out_standard_b_TRUE stream_out_standard_b_FALSE 
CPPFLAGS_stream_out_transcode LDFLAGS_stream_out_transcode 
stream_out_transcode_p_TRUE stream_out_transcode_p_FALSE 
stream_out_transcode_b_TRUE stream_out_transcode_b_FALSE 
stream_out_duplicate_p_TRUE stream_out_duplicate_p_FALSE 
stream_out_duplicate_b_TRUE stream_out_duplicate_b_FALSE stream_out_es_p_TRUE 
stream_out_es_p_FALSE stream_out_es_b_TRUE stream_out_es_b_FALSE 
stream_out_display_p_TRUE stream_out_display_p_FALSE stream_out_display_b_TRUE 
stream_out_display_b_FALSE LDFLAGS_i420_rgb i420_rgb_p_TRUE i420_rgb_p_FALSE 
i420_rgb_b_TRUE i420_rgb_b_FALSE i420_rgb_mmx_p_TRUE i420_rgb_mmx_p_FALSE 
i420_rgb_mmx_b_TRUE i420_rgb_mmx_b_FALSE i420_yuy2_p_TRUE i420_yuy2_p_FALSE 
i420_yuy2_b_TRUE i420_yuy2_b_FALSE CFLAGS_i420_yuy2_mmx i420_yuy2_mmx_p_TRUE 
i420_yuy2_mmx_p_FALSE i420_yuy2_mmx_b_TRUE i420_yuy2_mmx_b_FALSE 
i422_yuy2_p_TRUE i422_yuy2_p_FALSE i422_yuy2_b_TRUE i422_yuy2_b_FALSE 
i422_yuy2_mmx_p_TRUE i422_yuy2_mmx_p_FALSE i422_yuy2_mmx_b_TRUE 
i422_yuy2_mmx_b_FALSE i420_ymga_p_TRUE i420_ymga_p_FALSE i420_ymga_b_TRUE 
i420_ymga_b_FALSE i420_ymga_mmx_p_TRUE i420_ymga_mmx_p_FALSE 
i420_ymga_mmx_b_TRUE i420_ymga_mmx_b_FALSE transform_p_TRUE transform_p_FALSE 
transform_b_TRUE transform_b_FALSE invert_p_TRUE invert_p_FALSE invert_b_TRUE 
invert_b_FALSE LDFLAGS_adjust adjust_p_TRUE adjust_p_FALSE adjust_b_TRUE 
adjust_b_FALSE LDFLAGS_distort distort_p_TRUE distort_p_FALSE distort_b_TRUE 
distort_b_FALSE wall_p_TRUE wall_p_FALSE wall_b_TRUE wall_b_FALSE clone_p_TRUE 
clone_p_FALSE clone_b_TRUE clone_b_FALSE crop_p_TRUE crop_p_FALSE crop_b_TRUE 
crop_b_FALSE motionblur_p_TRUE motionblur_p_FALSE motionblur_b_TRUE 
motionblur_b_FALSE CFLAGS_osdtext LDFLAGS_osdtext osdtext_p_TRUE 
osdtext_p_FALSE osdtext_b_TRUE osdtext_b_FALSE deinterlace_p_TRUE 
deinterlace_p_FALSE deinterlace_b_TRUE deinterlace_b_FALSE LDFLAGS_aa aa_p_TRUE 
aa_p_FALSE aa_b_TRUE aa_b_FALSE fb_p_TRUE fb_p_FALSE fb_b_TRUE fb_b_FALSE 
CPPFLAGS_ggi LDFLAGS_ggi ggi_p_TRUE ggi_p_FALSE ggi_b_TRUE ggi_b_FALSE 
CPPFLAGS_glide LDFLAGS_glide glide_p_TRUE glide_p_FALSE glide_b_TRUE 
glide_b_FALSE CFLAGS_vout_sdl LDFLAGS_vout_sdl vout_sdl_p_TRUE vout_sdl_p_FALSE 
vout_sdl_b_TRUE vout_sdl_b_FALSE LDFLAGS_svgalib svgalib_p_TRUE svgalib_p_FALSE 
svgalib_b_TRUE svgalib_b_FALSE LDFLAGS_wingdi wingdi_p_TRUE wingdi_p_FALSE 
wingdi_b_TRUE wingdi_b_FALSE vout_encoder_p_TRUE vout_encoder_p_FALSE 
vout_encoder_b_TRUE vout_encoder_b_FALSE CPPFLAGS_vout_directx 
LDFLAGS_vout_directx vout_directx_p_TRUE vout_directx_p_FALSE 
vout_directx_b_TRUE vout_directx_b_FALSE mga_p_TRUE mga_p_FALSE mga_b_TRUE 
mga_b_FALSE xmga_p_TRUE xmga_p_FALSE xmga_b_TRUE xmga_b_FALSE CPPFLAGS_qte 
LDFLAGS_qte qte_p_TRUE qte_p_FALSE qte_b_TRUE qte_b_FALSE CPPFLAGS_x11 
LDFLAGS_x11 x11_p_TRUE x11_p_FALSE x11_b_TRUE x11_b_FALSE CPPFLAGS_xvideo 
LDFLAGS_xvideo xvideo_p_TRUE xvideo_p_FALSE xvideo_b_TRUE xvideo_b_FALSE 
scope_p_TRUE scope_p_FALSE scope_b_TRUE scope_b_FALSE LDFLAGS_xosd xosd_p_TRUE 
xosd_p_FALSE xosd_b_TRUE xosd_b_FALSE UNTRUE_TRUE UNTRUE_FALSE DATA_PATH 
PLUGIN_PATH AUTOMAKE_SUCKS SYS ARCH PLUGINS BUILTINS ALIASES ASM MOC XPIDL 
LIBEXT INCLUDES ALL_LINGUAS CFLAGS_TUNING CFLAGS_OPTIM CFLAGS_OPTIM_NODEBUG 
CFLAGS_NOOPTIM CFLAGS_vlc CFLAGS_pics CXXFLAGS_pics CFLAGS_plugins 
CXXFLAGS_plugins CFLAGS_builtins CPPFLAGS_mozilla LDFLAGS_vlc LDFLAGS_libvlc 
LDFLAGS_plugins LDFLAGS_builtins LDFLAGS_mozilla LIBOBJS LTLIBOBJS'
ac_subst_files=''

# Initialize some variables set by options.
ac_init_help=
ac_init_version=false
# The variables have the same names as the options, with
# dashes changed to underlines.
cache_file=/dev/null
exec_prefix=NONE
no_create=
no_recursion=
prefix=NONE
program_prefix=NONE
program_suffix=NONE
program_transform_name=s,x,x,
silent=
site=
srcdir=
verbose=
x_includes=NONE
x_libraries=NONE

# Installation directory options.
# These are left unexpanded so users can "make install exec_prefix=/foo"
# and all the variables that are supposed to be based on exec_prefix
# by default will actually change.
# Use braces instead of parens because sh, perl, etc. also accept them.
bindir='${exec_prefix}/bin'
sbindir='${exec_prefix}/sbin'
libexecdir='${exec_prefix}/libexec'
datadir='${prefix}/share'
sysconfdir='${prefix}/etc'
sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var'
libdir='${exec_prefix}/lib'
includedir='${prefix}/include'
oldincludedir='/usr/include'
infodir='${prefix}/info'
mandir='${prefix}/man'

ac_prev=
for ac_option
do
  # If the previous option needs an argument, assign it.
  if test -n "$ac_prev"; then
    eval "$ac_prev=\$ac_option"
    ac_prev=
    continue
  fi

  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`

  # Accept the important Cygnus configure options, so we can diagnose typos.

  case $ac_option in

  -bindir | --bindir | --bindi | --bind | --bin | --bi)
    ac_prev=bindir ;;
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    bindir=$ac_optarg ;;

  -build | --build | --buil | --bui | --bu)
    ac_prev=build_alias ;;
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    build_alias=$ac_optarg ;;

  -cache-file | --cache-file | --cache-fil | --cache-fi \
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    ac_prev=cache_file ;;
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    cache_file=$ac_optarg ;;

  --config-cache | -C)
    cache_file=config.cache ;;

  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
    ac_prev=datadir ;;
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  | --da=*)
    datadir=$ac_optarg ;;

  -disable-* | --disable-*)
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    # Reject names that are not valid shell variable names.
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   { (exit 1); exit 1; }; }
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    eval "enable_$ac_feature=no" ;;

  -enable-* | --enable-*)
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    # Reject names that are not valid shell variable names.
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   { (exit 1); exit 1; }; }
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    case $ac_option in
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
      *) ac_optarg=yes ;;
    esac
    eval "enable_$ac_feature='$ac_optarg'" ;;

  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  | --exec | --exe | --ex)
    ac_prev=exec_prefix ;;
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  | --exec=* | --exe=* | --ex=*)
    exec_prefix=$ac_optarg ;;

  -gas | --gas | --ga | --g)
    # Obsolete; use --with-gas.
    with_gas=yes ;;

  -help | --help | --hel | --he | -h)
    ac_init_help=long ;;
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    ac_init_help=recursive ;;
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    ac_init_help=short ;;

  -host | --host | --hos | --ho)
    ac_prev=host_alias ;;
  -host=* | --host=* | --hos=* | --ho=*)
    host_alias=$ac_optarg ;;

  -includedir | --includedir | --includedi | --included | --include \
  | --includ | --inclu | --incl | --inc)
    ac_prev=includedir ;;
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  | --includ=* | --inclu=* | --incl=* | --inc=*)
    includedir=$ac_optarg ;;

  -infodir | --infodir | --infodi | --infod | --info | --inf)
    ac_prev=infodir ;;
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    infodir=$ac_optarg ;;

  -libdir | --libdir | --libdi | --libd)
    ac_prev=libdir ;;
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
    libdir=$ac_optarg ;;

  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  | --libexe | --libex | --libe)
    ac_prev=libexecdir ;;
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  | --libexe=* | --libex=* | --libe=*)
    libexecdir=$ac_optarg ;;

  -localstatedir | --localstatedir | --localstatedi | --localstated \
  | --localstate | --localstat | --localsta | --localst \
  | --locals | --local | --loca | --loc | --lo)
    ac_prev=localstatedir ;;
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    localstatedir=$ac_optarg ;;

  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    ac_prev=mandir ;;
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    mandir=$ac_optarg ;;

  -nfp | --nfp | --nf)
    # Obsolete; use --without-fp.
    with_fp=no ;;

  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  | --no-cr | --no-c | -n)
    no_create=yes ;;

  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    no_recursion=yes ;;

  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  | --oldin | --oldi | --old | --ol | --o)
    ac_prev=oldincludedir ;;
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    oldincludedir=$ac_optarg ;;

  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    ac_prev=prefix ;;
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    prefix=$ac_optarg ;;

  -program-prefix | --program-prefix | --program-prefi | --program-pref \
  | --program-pre | --program-pr | --program-p)
    ac_prev=program_prefix ;;
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    program_prefix=$ac_optarg ;;

  -program-suffix | --program-suffix | --program-suffi | --program-suff \
  | --program-suf | --program-su | --program-s)
    ac_prev=program_suffix ;;
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    program_suffix=$ac_optarg ;;

  -program-transform-name | --program-transform-name \
  | --program-transform-nam | --program-transform-na \
  | --program-transform-n | --program-transform- \
  | --program-transform | --program-transfor \
  | --program-transfo | --program-transf \
  | --program-trans | --program-tran \
  | --progr-tra | --program-tr | --program-t)
    ac_prev=program_transform_name ;;
  -program-transform-name=* | --program-transform-name=* \
  | --program-transform-nam=* | --program-transform-na=* \
  | --program-transform-n=* | --program-transform-=* \
  | --program-transform=* | --program-transfor=* \
  | --program-transfo=* | --program-transf=* \
  | --program-trans=* | --program-tran=* \
  | --progr-tra=* | --program-tr=* | --program-t=*)
    program_transform_name=$ac_optarg ;;

  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  | -silent | --silent | --silen | --sile | --sil)
    silent=yes ;;

  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
    ac_prev=sbindir ;;
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  | --sbi=* | --sb=*)
    sbindir=$ac_optarg ;;

  -sharedstatedir | --sharedstatedir | --sharedstatedi \
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  | --sharedst | --shareds | --shared | --share | --shar \
  | --sha | --sh)
    ac_prev=sharedstatedir ;;
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  | --sha=* | --sh=*)
    sharedstatedir=$ac_optarg ;;

  -site | --site | --sit)
    ac_prev=site ;;
  -site=* | --site=* | --sit=*)
    site=$ac_optarg ;;

  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    ac_prev=srcdir ;;
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    srcdir=$ac_optarg ;;

  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  | --syscon | --sysco | --sysc | --sys | --sy)
    ac_prev=sysconfdir ;;
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    sysconfdir=$ac_optarg ;;

  -target | --target | --targe | --targ | --tar | --ta | --t)
    ac_prev=target_alias ;;
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    target_alias=$ac_optarg ;;

  -v | -verbose | --verbose | --verbos | --verbo | --verb)
    verbose=yes ;;

  -version | --version | --versio | --versi | --vers | -V)
    ac_init_version=: ;;

  -with-* | --with-*)
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    # Reject names that are not valid shell variable names.
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
      { echo "$as_me: error: invalid package name: $ac_package" >&2
   { (exit 1); exit 1; }; }
    ac_package=`echo $ac_package| sed 's/-/_/g'`
    case $ac_option in
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
      *) ac_optarg=yes ;;
    esac
    eval "with_$ac_package='$ac_optarg'" ;;

  -without-* | --without-*)
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    # Reject names that are not valid shell variable names.
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
      { echo "$as_me: error: invalid package name: $ac_package" >&2
   { (exit 1); exit 1; }; }
    ac_package=`echo $ac_package | sed 's/-/_/g'`
    eval "with_$ac_package=no" ;;

  --x)
    # Obsolete; use --with-x.
    with_x=yes ;;

  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  | --x-incl | --x-inc | --x-in | --x-i)
    ac_prev=x_includes ;;
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    x_includes=$ac_optarg ;;

  -x-libraries | --x-libraries | --x-librarie | --x-librari \
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
    ac_prev=x_libraries ;;
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    x_libraries=$ac_optarg ;;

  -*) { echo "$as_me: error: unrecognized option: $ac_option
Try \`$0 --help' for more information." >&2
   { (exit 1); exit 1; }; }
    ;;

  *=*)
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    # Reject names that are not valid shell variable names.
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   { (exit 1); exit 1; }; }
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    eval "$ac_envvar='$ac_optarg'"
    export $ac_envvar ;;

  *)
    # FIXME: should be removed in autoconf 3.0.
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    : ${build_alias=$ac_option} ${host_alias=$ac_option} 
${target_alias=$ac_option}
    ;;

  esac
done

if test -n "$ac_prev"; then
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  { echo "$as_me: error: missing argument to $ac_option" >&2
   { (exit 1); exit 1; }; }
fi

# Be sure to have absolute paths.
for ac_var in exec_prefix prefix
do
  eval ac_val=$`echo $ac_var`
  case $ac_val in
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    *)  { echo "$as_me: error: expected an absolute directory name for 
--$ac_var: $ac_val" >&2
   { (exit 1); exit 1; }; };;
  esac
done

# Be sure to have absolute paths.
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
              localstatedir libdir includedir oldincludedir infodir mandir
do
  eval ac_val=$`echo $ac_var`
  case $ac_val in
    [\\/$]* | ?:[\\/]* ) ;;
    *)  { echo "$as_me: error: expected an absolute directory name for 
--$ac_var: $ac_val" >&2
   { (exit 1); exit 1; }; };;
  esac
done

# There might be people who depend on the old broken behavior: `$host'
# used to hold the argument of --host etc.
# FIXME: To remove some day.
build=$build_alias
host=$host_alias
target=$target_alias

# FIXME: To remove some day.
if test "x$host_alias" != x; then
  if test "x$build_alias" = x; then
    cross_compiling=maybe
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use 
--host.
    If a cross compiler is detected then cross compile mode will be used." >&2
  elif test "x$build_alias" != "x$host_alias"; then
    cross_compiling=yes
  fi
fi

ac_tool_prefix=
test -n "$host_alias" && ac_tool_prefix=$host_alias-

test "$silent" = yes && exec 6>/dev/null


# Find the source files, if location was not specified.
if test -z "$srcdir"; then
  ac_srcdir_defaulted=yes
  # Try the directory containing this script, then its parent.
  ac_confdir=`(dirname "$0") 2>/dev/null ||
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
         X"$0" : 'X\(//\)[^/]' \| \
         X"$0" : 'X\(//\)$' \| \
         X"$0" : 'X\(/\)' \| \
         .     : '\(.\)' 2>/dev/null ||
echo X"$0" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
          /^X\(\/\/\)$/{ s//\1/; q; }
          /^X\(\/\).*/{ s//\1/; q; }
          s/.*/./; q'`
  srcdir=$ac_confdir
  if test ! -r $srcdir/$ac_unique_file; then
    srcdir=..
  fi
else
  ac_srcdir_defaulted=no
fi
if test ! -r $srcdir/$ac_unique_file; then
  if test "$ac_srcdir_defaulted" = yes; then
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir 
or .." >&2
   { (exit 1); exit 1; }; }
  else
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   { (exit 1); exit 1; }; }
  fi
fi
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not 
work" >&2
   { (exit 1); exit 1; }; }
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
ac_env_build_alias_set=${build_alias+set}
ac_env_build_alias_value=$build_alias
ac_cv_env_build_alias_set=${build_alias+set}
ac_cv_env_build_alias_value=$build_alias
ac_env_host_alias_set=${host_alias+set}
ac_env_host_alias_value=$host_alias
ac_cv_env_host_alias_set=${host_alias+set}
ac_cv_env_host_alias_value=$host_alias
ac_env_target_alias_set=${target_alias+set}
ac_env_target_alias_value=$target_alias
ac_cv_env_target_alias_set=${target_alias+set}
ac_cv_env_target_alias_value=$target_alias
ac_env_CC_set=${CC+set}
ac_env_CC_value=$CC
ac_cv_env_CC_set=${CC+set}
ac_cv_env_CC_value=$CC
ac_env_CFLAGS_set=${CFLAGS+set}
ac_env_CFLAGS_value=$CFLAGS
ac_cv_env_CFLAGS_set=${CFLAGS+set}
ac_cv_env_CFLAGS_value=$CFLAGS
ac_env_LDFLAGS_set=${LDFLAGS+set}
ac_env_LDFLAGS_value=$LDFLAGS
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
ac_cv_env_LDFLAGS_value=$LDFLAGS
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
ac_env_CPPFLAGS_value=$CPPFLAGS
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
ac_env_CPP_set=${CPP+set}
ac_env_CPP_value=$CPP
ac_cv_env_CPP_set=${CPP+set}
ac_cv_env_CPP_value=$CPP
ac_env_CXX_set=${CXX+set}
ac_env_CXX_value=$CXX
ac_cv_env_CXX_set=${CXX+set}
ac_cv_env_CXX_value=$CXX
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
ac_env_CXXFLAGS_value=$CXXFLAGS
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
ac_env_CXXCPP_set=${CXXCPP+set}
ac_env_CXXCPP_value=$CXXCPP
ac_cv_env_CXXCPP_set=${CXXCPP+set}
ac_cv_env_CXXCPP_value=$CXXCPP

#
# Report the --help message.
#
if test "$ac_init_help" = "long"; then
  # Omit some internal or obsolete options to make the list less imposing.
  # This message is too long to be a string in the A/UX 3.1 sh.
  cat <<_ACEOF
\`configure' configures vlc 0.6.0 to adapt to many kinds of systems.

Usage: $0 [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE.  See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:
  -h, --help              display this help and exit
      --help=short        display options specific to this package
      --help=recursive    display the short help of all the included packages
  -V, --version           display version information and exit
  -q, --quiet, --silent   do not print \`checking...' messages
      --cache-file=FILE   cache test results in FILE [disabled]
  -C, --config-cache      alias for \`--cache-file=config.cache'
  -n, --no-create         do not create output files
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']

_ACEOF

  cat <<_ACEOF
Installation directories:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [$ac_default_prefix]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [PREFIX]

By default, \`make install' will install all the files in
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
for instance \`--prefix=\$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
  --bindir=DIR           user executables [EPREFIX/bin]
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
  --libexecdir=DIR       program executables [EPREFIX/libexec]
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  --libdir=DIR           object code libraries [EPREFIX/lib]
  --includedir=DIR       C header files [PREFIX/include]
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  --infodir=DIR          info documentation [PREFIX/info]
  --mandir=DIR           man documentation [PREFIX/man]
_ACEOF

  cat <<\_ACEOF

Program names:
  --program-prefix=PREFIX            prepend PREFIX to installed program names
  --program-suffix=SUFFIX            append SUFFIX to installed program names
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names

System types:
  --build=BUILD     configure for building on BUILD [guessed]
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  --target=TARGET   configure for building compilers for TARGET [HOST]
_ACEOF
fi

if test -n "$ac_init_help"; then
  case $ac_init_help in
     short | recursive ) echo "Configuration of vlc 0.6.0:";;
   esac
  cat <<\_ACEOF

Optional Features:
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --disable-dependency-tracking Speeds up one-time builds
  --enable-dependency-tracking  Do not reject slow dependency extractors
  --disable-rpath         do not hardcode runtime library paths
  --disable-nls           do not use Native Language Support
  --enable-pth            GNU Pth support (default disabled)
  --enable-st             State Threads (default disabled)
  --enable-gprof          gprof profiling (default disabled)
  --enable-cprof          cprof profiling (default disabled)
  --enable-mostly-builtin most modules will be built-in (default disabled)
  --disable-optimizations disable compiler optimizations (default enabled)
  --disable-altivec       disable AltiVec optimizations (default enabled on PPC)
  --enable-debug          debug mode (default disabled)
  --enable-release        activate extra optimizations (default disabled)
  --enable-sout           Stream output modules (default enabled)
  --enable-dvd            DVD input module (default enabled)
  --enable-dvdread        dvdread input module (default disabled)
  --enable-dvdplay        dvdplay input module (default enabled)
  --enable-dvbpsi         dvbpsi ts mux and demux module (default enabled)
  --enable-v4l            Video4Linux input support (default disabled)
  --enable-pvr            PVR cards access module (default disabled)
  --enable-vcd            VCD support for Linux, FreeBSD, MacOS X and Win32 
(default enabled)
  --enable-satellite      satellite card support (default disabled)
  --enable-ogg            Ogg demux support (default enabled)
  --enable-mkv            Matroska demux support (default disabled)
  --enable-mad            libmad module (default enabled)
  --enable-ffmpeg         ffmpeg codec (default enabled)
  --enable-faad           faad codec (default disabled)
  --enable-xvid           xvid codec (default disabled)
  --enable-quicktime      QuickTime module (default enabled on MacOS X)
  --enable-a52            A/52 support with liba52 (default enabled)
  --enable-dv             DV decoder support (deprecated in favor of ffmpeg) 
(default disabled)
  --enable-flac           flac decoder support (default disabled)
  --enable-libmpeg2       libmpeg2 decoder support (default enabled)
  --enable-vorbis         Vorbis decoder support (default enabled)
  --enable-tremor         Tremor decoder support (default disabled)
  --enable-tarkin         experimental tarkin codec (default disabled)
  --enable-theora         experimental theora codec (default disabled)
  --enable-x11            X11 support (default enabled)
  --enable-xvideo         XVideo support (default enabled)
  --enable-sdl            SDL support (default enabled)
  --enable-freetype       freetype support (default enabled)
  --enable-qte            QT Embedded support (default disabled)
  --enable-directx        Win32 DirectX support (default enabled on Win32)
  --enable-fb             Linux framebuffer support (default enabled on Linux)
  --enable-mga            Linux kernel Matrox support (default disabled)
  --enable-svgalib        SVGAlib support (default disabled)
  --enable-ggi            GGI support (default disabled)
  --enable-glide          Glide (3dfx) support (default disabled)
  --enable-aa             aalib output (default disabled)
  --enable-wingdi         Win32 GDI module (default enabled on Win32)
  --enable-oss            Linux OSS /dev/dsp support (enabled on Linux)
  --enable-esd            Esound library support (default disabled)
  --enable-arts           aRts sound server (default disabled)
  --enable-alsa           ALSA sound support for Linux (default disabled)
  --enable-waveout        Win32 waveOut module (default enabled on Win32)
  --enable-coreaudio      CoreAudio module (default enabled on MacOS X)
  --enable-skins          Skins interface module (default enabled on Win32)
  --enable-basic-skins    Skins interface module without wxWindows dialogs 
(default disabled)
  --enable-gtk            Gtk+ support (default enabled)
  --enable-gtk2           Gtk2 support (default disabled)
  --enable-familiar       Familiar Gtk+ support (default disabled)
  --enable-gnome          Gnome interface support (default disabled)
  --enable-gnome2         Gnome2 support (default disabled)
  --enable-wxwindows      wxWindows support (default enabled)
  --enable-qt             Qt interface support (default disabled)
  --enable-kde            KDE interface support (default disabled)
  --enable-opie           Qt embedded interface support (default disabled)
  --enable-macosx         MacOS X support (default enabled on MacOS X)
  --enable-qnx            QNX RTOS support (default enabled on QNX RTOS)
  --enable-ncurses        ncurses interface support (default disabled)
  --enable-xosd           xosd interface support (default disabled)
  --enable-slp            SLP service discovery support (default enabled)
  --enable-lirc           lirc support (default disabled)
  --enable-mozilla        build a vlc-based Mozilla plugin (default disabled)
  --enable-testsuite      build test modules (default disabled)
  --disable-plugins       make all plugins built-in (default plugins enabled)

Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
  --with-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib
  --without-libiconv-prefix     don't search for libiconv in includedir and 
libdir
  --with-included-gettext use the GNU gettext library included here
  --with-libintl-prefix=DIR  search for libintl in DIR/include and DIR/lib
  --without-libintl-prefix     don't search for libintl in includedir and libdir

Optimization options:
  --with-tuning=ARCH      enable special tuning for an architecture
                          (default i686 on IA-32 and 750 on PPC)
Input plugins:
    --with-dvdcss=PATH    libdvdcss headers and libraries
    --with-dvdcss-tree=PATH libdvdcss tree for static linking
    --with-dvdread=PATH    libdvdread headers and libraries
    --with-dvdread-tree=PATH libdvdread tree for static linking
    --with-dvdplay=PATH    libdvdplay headers and libraries
    --with-dvdplay-tree=PATH libdvdplay tree for static linking
    --with-dvbpsi=PATH    libdvbpsi headers and libraries
    --with-dvbpsi-tree=PATH libdvbpsi tree for static linking
Codec plugins:
    --with-mad=PATH       path to libmad
    --with-mad-tree=PATH  mad tree for static linking
    --with-ffmpeg-tree=PATH ffmpeg tree for static linking
    --with-faad-tree=PATH faad tree for static linking
    --with-xvid=PATH      path to xvid installation
    --with-xvid-tree=PATH xvid tree for static linking
    --with-a52=PATH       a52 headers and libraries
    --with-a52-tree=PATH  a52dec tree for static linking
    --with-libmpeg2-tree=PATH libmpeg2 tree for static linking
    --with-tarkin-tree=PATH tarkin tree for static linking
Video plugins:
    --with-sdl-config-path=PATH sdl-config path (default search in \$PATH)
    --with-sdl-prefix=PATH path to libsdl (needed for cross-compiling),
                               e.g use as:
                               
--with-sdl-prefix=/usr/local/arm/2.95.3/arm-linux/usr)
    --with-freetype-config-path=PATH freetype-config path (default search in 
\$PATH)
    --with-qte=PATH       Qt Embedded headers and libraries
    --with-directx=PATH   Win32 DirectX headers
    --with-ggi=PATH       path to libggi
    --with-glide=PATH     path to libglide
Audio plugins:
Interface plugins:
    --with-skins-wx-config-path=PATH wx-config path for the skins plugin 
(default search in \$PATH)
    --with-gtk-config-path=PATH gtk-config path (default search in \$PATH)
    --with-gtk-prefix=PATH path to libgtk (needed for cross-compiling),
                          e.g use as:
                          --with-gtk-prefix=/usr/local/arm/2.95.3/arm-linux/usr)
    --with-gpe-prefix=PATH gpe installation path prefix (default search in 
\$PATH)
    --with-wx-config-path=PATH wx-config path (default search in \$PATH)
    --with-slp=PATH       libslp headers and libraries
Misc options:
  --with-words=endianness set endianness (big or little)

Some influential environment variables:
  CC          C compiler command
  CFLAGS      C compiler flags
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
              nonstandard directory <lib dir>
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
              headers in a nonstandard directory <include dir>
  CPP         C preprocessor
  CXX         C++ compiler command
  CXXFLAGS    C++ compiler flags
  CXXCPP      C++ preprocessor

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.

_ACEOF
fi

if test "$ac_init_help" = "recursive"; then
  # If there are subdirs, report their specific --help.
  ac_popdir=`pwd`
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    test -d $ac_dir || continue
    ac_builddir=.

if test "$ac_dir" != .; then
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  # A "../" for each directory in $ac_dir_suffix.
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
else
  ac_dir_suffix= ac_top_builddir=
fi

case $srcdir in
  .)  # No --srcdir option.  We are building in place.
    ac_srcdir=.
    if test -z "$ac_top_builddir"; then
       ac_top_srcdir=.
    else
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    fi ;;
  [\\/]* | ?:[\\/]* )  # Absolute path.
    ac_srcdir=$srcdir$ac_dir_suffix;
    ac_top_srcdir=$srcdir ;;
  *) # Relative path.
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
esac
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
# absolute.
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`

    cd $ac_dir
    # Check for guested configure; otherwise get Cygnus style configure.
    if test -f $ac_srcdir/configure.gnu; then
      echo
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
    elif test -f $ac_srcdir/configure; then
      echo
      $SHELL $ac_srcdir/configure  --help=recursive
    elif test -f $ac_srcdir/configure.ac ||
           test -f $ac_srcdir/configure.in; then
      echo
      $ac_configure --help
    else
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    fi
    cd $ac_popdir
  done
fi

test -n "$ac_init_help" && exit 0
if $ac_init_version; then
  cat <<\_ACEOF
vlc configure 0.6.0
generated by GNU Autoconf 2.57

Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
_ACEOF
  exit 0
fi
exec 5>config.log
cat >&5 <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by vlc $as_me 0.6.0, which was
generated by GNU Autoconf 2.57.  Invocation command line was

  $ $0 $@

_ACEOF
{
cat <<_ASUNAME
## --------- ##
## Platform. ##
## --------- ##

hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
uname -m = `(uname -m) 2>/dev/null || echo unknown`
uname -r = `(uname -r) 2>/dev/null || echo unknown`
uname -s = `(uname -s) 2>/dev/null || echo unknown`
uname -v = `(uname -v) 2>/dev/null || echo unknown`

/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`

/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`

_ASUNAME

as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  echo "PATH: $as_dir"
done

} >&5

cat >&5 <<_ACEOF


## ----------- ##
## Core tests. ##
## ----------- ##

_ACEOF


# Keep a trace of the command line.
# Strip out --no-create and --no-recursion so they do not pile up.
# Strip out --silent because we don't want to record it for future runs.
# Also quote any args containing shell meta-characters.
# Make two passes to allow for proper duplicate-argument suppression.
ac_configure_args=
ac_configure_args0=
ac_configure_args1=
ac_sep=
ac_must_keep_next=false
for ac_pass in 1 2
do
  for ac_arg
  do
    case $ac_arg in
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    | -silent | --silent | --silen | --sile | --sil)
      continue ;;
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    esac
    case $ac_pass in
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
    2)
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
      if test $ac_must_keep_next = true; then
        ac_must_keep_next=false # Got value, back to normal.
      else
        case $ac_arg in
          *=* | --config-cache | -C | -disable-* | --disable-* \
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
          | -with-* | --with-* | -without-* | --without-* | --x)
            case "$ac_configure_args0 " in
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
            esac
            ;;
          -* ) ac_must_keep_next=true ;;
        esac
      fi
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
      # Get rid of the leading space.
      ac_sep=" "
      ;;
    esac
  done
done
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { 
ac_configure_args0=; export ac_configure_args0; }
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { 
ac_configure_args1=; export ac_configure_args1; }

# When interrupted or exit'd, cleanup temporary files, and complete
# config.log.  We remove comments because anyway the quotes in there
# would cause problems or look ugly.
# WARNING: Be sure not to use single quotes in there, as some shells,
# such as our DU 5.0 friend, will then `close' the trap.
trap 'exit_status=$?
  # Save into config.log some information that might help in debugging.
  {
    echo

    cat <<\_ASBOX
## ---------------- ##
## Cache variables. ##
## ---------------- ##
_ASBOX
    echo
    # The following way of writing the cache mishandles newlines in values,
{
  (set) 2>&1 |
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    *ac_space=\ *)
      sed -n \
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
          
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
      ;;
    *)
      sed -n \
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
      ;;
    esac;
}
    echo

    cat <<\_ASBOX
## ----------------- ##
## Output variables. ##
## ----------------- ##
_ASBOX
    echo
    for ac_var in $ac_subst_vars
    do
      eval ac_val=$`echo $ac_var`
      echo "$ac_var='"'"'$ac_val'"'"'"
    done | sort
    echo

    if test -n "$ac_subst_files"; then
      cat <<\_ASBOX
## ------------- ##
## Output files. ##
## ------------- ##
_ASBOX
      echo
      for ac_var in $ac_subst_files
      do
        eval ac_val=$`echo $ac_var`
        echo "$ac_var='"'"'$ac_val'"'"'"
      done | sort
      echo
    fi

    if test -s confdefs.h; then
      cat <<\_ASBOX
## ----------- ##
## confdefs.h. ##
## ----------- ##
_ASBOX
      echo
      sed "/^$/d" confdefs.h | sort
      echo
    fi
    test "$ac_signal" != 0 &&
      echo "$as_me: caught signal $ac_signal"
    echo "$as_me: exit $exit_status"
  } >&5
  rm -f core core.* *.core &&
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
    exit $exit_status
     ' 0
for ac_signal in 1 2 13 15; do
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
done
ac_signal=0

# confdefs.h avoids OS command line length limits that DEFS can exceed.
rm -rf conftest* confdefs.h
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
echo >confdefs.h

# Predefined preprocessor variables.

cat >>confdefs.h <<_ACEOF
#define PACKAGE_NAME "$PACKAGE_NAME"
_ACEOF


cat >>confdefs.h <<_ACEOF
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
_ACEOF


cat >>confdefs.h <<_ACEOF
#define PACKAGE_VERSION "$PACKAGE_VERSION"
_ACEOF


cat >>confdefs.h <<_ACEOF
#define PACKAGE_STRING "$PACKAGE_STRING"
_ACEOF


cat >>confdefs.h <<_ACEOF
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
_ACEOF


# Let the site file select an alternate cache file if it wants to.
# Prefer explicitly selected file to automatically selected ones.
if test -z "$CONFIG_SITE"; then
  if test "x$prefix" != xNONE; then
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  else
    CONFIG_SITE="$ac_default_prefix/share/config.site 
$ac_default_prefix/etc/config.site"
  fi
fi
for ac_site_file in $CONFIG_SITE; do
  if test -r "$ac_site_file"; then
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
echo "$as_me: loading site script $ac_site_file" >&6;}
    sed 's/^/| /' "$ac_site_file" >&5
    . "$ac_site_file"
  fi
done

if test -r "$cache_file"; then
  # Some versions of bash will fail to source /dev/null (special
  # files actually), so we avoid doing that.
  if test -f "$cache_file"; then
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
echo "$as_me: loading cache $cache_file" >&6;}
    case $cache_file in
      [\\/]* | ?:[\\/]* ) . $cache_file;;
      *)                      . ./$cache_file;;
    esac
  fi
else
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
echo "$as_me: creating cache $cache_file" >&6;}
  >$cache_file
fi

# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
for ac_var in `(set) 2>&1 |
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
  eval ac_new_set=\$ac_env_${ac_var}_set
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  eval ac_new_val="\$ac_env_${ac_var}_value"
  case $ac_old_set,$ac_new_set in
    set,)
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in 
the previous run" >&5
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" 
>&2;}
      ac_cache_corrupted=: ;;
    ,set)
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous 
run" >&5
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
      ac_cache_corrupted=: ;;
    ,);;
    *)
      if test "x$ac_old_val" != "x$ac_new_val"; then
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the 
previous run:" >&5
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
echo "$as_me:   former value:  $ac_old_val" >&2;}
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
echo "$as_me:   current value: $ac_new_val" >&2;}
        ac_cache_corrupted=:
      fi;;
  esac
  # Pass precious variables to config.status.
  if test "$ac_new_set" = set; then
    case $ac_new_val in
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    *) ac_arg=$ac_var=$ac_new_val ;;
    esac
    case " $ac_configure_args " in
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
    esac
  fi
done
if $ac_cache_corrupted; then
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the 
build" >&5
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm 
$cache_file' and start over" >&5
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start 
over" >&2;}
   { (exit 1); exit 1; }; }
fi

ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext 
$LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu




























CONFIGURE_LINE="$0 $*"
CODENAME="Trevelyan"



ac_aux_dir=
for ac_dir in autotools $srcdir/autotools; do
  if test -f $ac_dir/install-sh; then
    ac_aux_dir=$ac_dir
    ac_install_sh="$ac_aux_dir/install-sh -c"
    break
  elif test -f $ac_dir/install.sh; then
    ac_aux_dir=$ac_dir
    ac_install_sh="$ac_aux_dir/install.sh -c"
    break
  elif test -f $ac_dir/shtool; then
    ac_aux_dir=$ac_dir
    ac_install_sh="$ac_aux_dir/shtool install -c"
    break
  fi
done
if test -z "$ac_aux_dir"; then
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in 
autotools $srcdir/autotools" >&5
echo "$as_me: error: cannot find install-sh or install.sh in autotools 
$srcdir/autotools" >&2;}
   { (exit 1); exit 1; }; }
fi
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.

# Make sure we can run config.sub.
$ac_config_sub sun4 >/dev/null 2>&1 ||
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
   { (exit 1); exit 1; }; }

echo "$as_me:$LINENO: checking build system type" >&5
echo $ECHO_N "checking build system type... $ECHO_C" >&6
if test "${ac_cv_build+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_build_alias=$build_alias
test -z "$ac_cv_build_alias" &&
  ac_cv_build_alias=`$ac_config_guess`
test -z "$ac_cv_build_alias" &&
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify 
one" >&5
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   { (exit 1); exit 1; }; }
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
   { (exit 1); exit 1; }; }

fi
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
echo "${ECHO_T}$ac_cv_build" >&6
build=$ac_cv_build
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`


echo "$as_me:$LINENO: checking host system type" >&5
echo $ECHO_N "checking host system type... $ECHO_C" >&6
if test "${ac_cv_host+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_host_alias=$host_alias
test -z "$ac_cv_host_alias" &&
  ac_cv_host_alias=$ac_cv_build_alias
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
   { (exit 1); exit 1; }; }

fi
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
echo "${ECHO_T}$ac_cv_host" >&6
host=$ac_cv_host
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`


echo "$as_me:$LINENO: checking target system type" >&5
echo $ECHO_N "checking target system type... $ECHO_C" >&6
if test "${ac_cv_target+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_target_alias=$target_alias
test "x$ac_cv_target_alias" = "x" &&
  ac_cv_target_alias=$ac_cv_host_alias
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" 
>&5
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
   { (exit 1); exit 1; }; }

fi
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
echo "${ECHO_T}$ac_cv_target" >&6
target=$ac_cv_target
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`


# The aliases save the names the user supplied, while $host etc.
# will get canonicalized.
test -n "$target_alias" &&
  test "$program_prefix$program_suffix$program_transform_name" = \
    NONENONEs,x,x, &&
  program_prefix=${target_alias}-

am__api_version="1.7"
# Find a good install program.  We prefer a C program (faster),
# so one script is as good as another.  But avoid the broken or
# incompatible versions:
# SysV /etc/install, /usr/sbin/install
# SunOS /usr/etc/install
# IRIX /sbin/install
# AIX /bin/install
# AmigaOS /C/install, which installs bootblocks on floppy discs
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
if test -z "$INSTALL"; then
if test "${ac_cv_path_install+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  # Account for people who put trailing slashes in PATH elements.
case $as_dir/ in
  ./ | .// | /cC/* | \
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  /usr/ucb/* ) ;;
  *)
    # OSF1 and SCO ODT 3.0 have their own names for install.
    # Don't use installbsd from OSF since it installs stuff as root
    # by default.
    for ac_prog in ginstall scoinst install; do
      for ac_exec_ext in '' $ac_executable_extensions; do
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
          if test $ac_prog = install &&
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
            # AIX install.  It has an incompatible calling convention.
            :
          elif test $ac_prog = install &&
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
            # program-specific install script used by HP pwplus--don't use.
            :
          else
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
            break 3
          fi
        fi
      done
    done
    ;;
esac
done


fi
  if test "${ac_cv_path_install+set}" = set; then
    INSTALL=$ac_cv_path_install
  else
    # As a last resort, use the slow shell script.  We don't cache a
    # path for INSTALL within a source directory, because that will
    # break other packages using the cache if that directory is
    # removed, or if the path is relative.
    INSTALL=$ac_install_sh
  fi
fi
echo "$as_me:$LINENO: result: $INSTALL" >&5
echo "${ECHO_T}$INSTALL" >&6

# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# It thinks the first close brace ends the variable substitution.
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'

test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'

test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'

echo "$as_me:$LINENO: checking whether build environment is sane" >&5
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
# Just in case
sleep 1
echo timestamp > conftest.file
# Do `set' in a subshell so we don't clobber the current shell's
# arguments.  Must try -L first in case configure is actually a
# symlink; some systems play weird games with the mod time of symlinks
# (eg FreeBSD returns the mod time of the symlink's containing
# directory).
if (
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   if test "$*" = "X"; then
      # -L didn't work.
      set X `ls -t $srcdir/configure conftest.file`
   fi
   rm -f conftest.file
   if test "$*" != "X $srcdir/configure conftest.file" \
      && test "$*" != "X conftest.file $srcdir/configure"; then

      # If neither matched, then we have a broken ls.  This can happen
      # if, for instance, CONFIG_SHELL is bash and it inherits a
      # broken ls alias from the environment.  This has actually
      # happened.  Such a system could not be considered "sane".
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there 
is not a broken
alias in your environment" >&5
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
alias in your environment" >&2;}
   { (exit 1); exit 1; }; }
   fi

   test "$2" = conftest.file
   )
then
   # Ok.
   :
else
   { { echo "$as_me:$LINENO: error: newly created file is older than 
distributed files!
Check your system clock" >&5
echo "$as_me: error: newly created file is older than distributed files!
Check your system clock" >&2;}
   { (exit 1); exit 1; }; }
fi
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
test "$program_prefix" != NONE &&
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
# Use a double $ so make ignores it.
test "$program_suffix" != NONE &&
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
# Double any \ or $.  echo might interpret backslashes.
# By default was `s,x,x', remove it if useless.
cat <<\_ACEOF >conftest.sed
s/[\\$]/&&/g;s/;s,x,x,$//
_ACEOF
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
rm conftest.sed


# expand $ac_aux_dir to an absolute path
am_aux_dir=`cd $ac_aux_dir && pwd`

test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
# Use eval to expand $SHELL
if eval "$MISSING --run true"; then
  am_missing_run="$MISSING --run "
else
  am_missing_run=
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
fi

for ac_prog in gawk mawk nawk awk
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_AWK+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$AWK"; then
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_AWK="$ac_prog"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

fi
fi
AWK=$ac_cv_prog_AWK
if test -n "$AWK"; then
  echo "$as_me:$LINENO: result: $AWK" >&5
echo "${ECHO_T}$AWK" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  test -n "$AWK" && break
done

echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.make <<\_ACEOF
all:
        @echo 'ac_maketemp="$(MAKE)"'
_ACEOF
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
if test -n "$ac_maketemp"; then
  eval ac_cv_prog_make_${ac_make}_set=yes
else
  eval ac_cv_prog_make_${ac_make}_set=no
fi
rm -f conftest.make
fi
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
  SET_MAKE=
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
  SET_MAKE="MAKE=${MAKE-make}"
fi

rm -rf .tst 2>/dev/null
mkdir .tst 2>/dev/null
if test -d .tst; then
  am__leading_dot=.
else
  am__leading_dot=_
fi
rmdir .tst 2>/dev/null

 # test to see if srcdir already configured
if test "`cd $srcdir && pwd`" != "`pwd`" &&
   test -f $srcdir/config.status; then
  { { echo "$as_me:$LINENO: error: source directory already configured; run 
\"make distclean\" there first" >&5
echo "$as_me: error: source directory already configured; run \"make 
distclean\" there first" >&2;}
   { (exit 1); exit 1; }; }
fi

# test whether we have cygpath
if test -z "$CYGPATH_W"; then
  if (cygpath --version) >/dev/null 2>/dev/null; then
    CYGPATH_W='cygpath -w'
  else
    CYGPATH_W=echo
  fi
fi


# Define the identity of the package.
 PACKAGE=vlc
 VERSION=0.6.0


cat >>confdefs.h <<_ACEOF
#define PACKAGE "$PACKAGE"
_ACEOF


cat >>confdefs.h <<_ACEOF
#define VERSION "$VERSION"
_ACEOF

# Some tools Automake needs.

ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}


AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}


AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}


AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}


MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}


AMTAR=${AMTAR-"${am_missing_run}tar"}

install_sh=${install_sh-"$am_aux_dir/install-sh"}

# Installed binaries are usually stripped using `strip' when the user
# run `make install-strip'.  However `strip' might not be the right
# tool to use in cross-compilation environments, therefore Automake
# will honor the `STRIP' environment variable to overrule this program.
if test "$cross_compiling" != no; then
  if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program 
name with args.
set dummy ${ac_tool_prefix}strip; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_STRIP+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$STRIP"; then
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

fi
fi
STRIP=$ac_cv_prog_STRIP
if test -n "$STRIP"; then
  echo "$as_me:$LINENO: result: $STRIP" >&5
echo "${ECHO_T}$STRIP" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

fi
if test -z "$ac_cv_prog_STRIP"; then
  ac_ct_STRIP=$STRIP
  # Extract the first word of "strip", so it can be a program name with args.
set dummy strip; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$ac_ct_STRIP"; then
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_STRIP="strip"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
fi
fi
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
if test -n "$ac_ct_STRIP"; then
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
echo "${ECHO_T}$ac_ct_STRIP" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  STRIP=$ac_ct_STRIP
else
  STRIP="$ac_cv_prog_STRIP"
fi

fi
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"

# We need awk for the "check" target.  The system "awk" is bad on
# some platforms.



          ac_config_headers="$ac_config_headers config.h"


CPPFLAGS_save="${CPPFLAGS}"
CFLAGS_save="${CFLAGS}"
CXXFLAGS_save="${CXXFLAGS}"
OBJCFLAGS_save="${OBJCFLAGS}"
LDFLAGS_save="${LDFLAGS}"

ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext 
$LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program 
name with args.
set dummy ${ac_tool_prefix}gcc; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
  echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

fi
if test -z "$ac_cv_prog_CC"; then
  ac_ct_CC=$CC
  # Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$ac_ct_CC"; then
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_CC="gcc"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  CC=$ac_ct_CC
else
  CC="$ac_cv_prog_CC"
fi

if test -z "$CC"; then
  if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program 
name with args.
set dummy ${ac_tool_prefix}cc; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_CC="${ac_tool_prefix}cc"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
  echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

fi
if test -z "$ac_cv_prog_CC"; then
  ac_ct_CC=$CC
  # Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$ac_ct_CC"; then
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_CC="cc"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  CC=$ac_ct_CC
else
  CC="$ac_cv_prog_CC"
fi

fi
if test -z "$CC"; then
  # Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
  ac_prog_rejected=no
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
       ac_prog_rejected=yes
       continue
     fi
    ac_cv_prog_CC="cc"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

if test $ac_prog_rejected = yes; then
  # We found a bogon in the path, so make sure we never use it.
  set dummy $ac_cv_prog_CC
  shift
  if test $# != 0; then
    # We chose a different compiler from the bogus one.
    # However, it has the same basename, so the bogon will be chosen
    # first if we set CC to just the basename; use the full file name.
    shift
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  fi
fi
fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
  echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

fi
if test -z "$CC"; then
  if test -n "$ac_tool_prefix"; then
  for ac_prog in cl
  do
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a 
program name with args.
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
  echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

    test -n "$CC" && break
  done
fi
if test -z "$CC"; then
  ac_ct_CC=$CC
  for ac_prog in cl
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$ac_ct_CC"; then
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_CC="$ac_prog"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  test -n "$ac_ct_CC" && break
done

  CC=$ac_ct_CC
fi

fi


test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler 
found in \$PATH
See \`config.log' for more details." >&5
echo "$as_me: error: no acceptable C compiler found in \$PATH
See \`config.log' for more details." >&2;}
   { (exit 1); exit 1; }; }

# Provide some information about the compiler.
echo "$as_me:$LINENO:" \
     "checking for C compiler version" >&5
ac_compiler=`set X $ac_compile; echo $2`
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
  (eval $ac_compiler --version </dev/null >&5) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
  (eval $ac_compiler -v </dev/null >&5) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
  (eval $ac_compiler -V </dev/null >&5) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }

cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files a.out a.exe b.out"
# Try to create an executable without -o first, disregard a.out.
# It will help us diagnose broken compilers, and finding out an intuition
# of exeext.
echo "$as_me:$LINENO: checking for C compiler default output" >&5
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
  (eval $ac_link_default) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; then
  # Find the output, starting from the most likely.  This scheme is
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
# resort.

# Be careful to initialize this variable, since it used to be cached.
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
ac_cv_exeext=
# b.out is created by i960 compilers.
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
do
  test -f "$ac_file" || continue
  case $ac_file in
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | 
*.obj )
        ;;
    conftest.$ac_ext )
        # This is the source file.
        ;;
    [ab].out )
        # We found the default executable, but exeext='' is most
        # certainly right.
        break;;
    *.* )
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
        # FIXME: I believe we export ac_cv_exeext for Libtool,
        # but it would be cool to find out if it's true.  Does anybody
        # maintain Libtool? --akim.
        export ac_cv_exeext
        break;;
    * )
        break;;
  esac
done
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
See \`config.log' for more details." >&5
echo "$as_me: error: C compiler cannot create executables
See \`config.log' for more details." >&2;}
   { (exit 77); exit 77; }; }
fi

ac_exeext=$ac_cv_exeext
echo "$as_me:$LINENO: result: $ac_file" >&5
echo "${ECHO_T}$ac_file" >&6

# Check the compiler produces executables we can run.  If not, either
# the compiler is broken, or we cross compile.
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
# If not cross compiling, check that we can run a simple program.
if test "$cross_compiling" != yes; then
  if { ac_try='./$ac_file'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
    cross_compiling=no
  else
    if test "$cross_compiling" = maybe; then
        cross_compiling=yes
    else
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
If you meant to cross compile, use \`--host'.
See \`config.log' for more details." >&5
echo "$as_me: error: cannot run C compiled programs.
If you meant to cross compile, use \`--host'.
See \`config.log' for more details." >&2;}
   { (exit 1); exit 1; }; }
    fi
  fi
fi
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6

rm -f a.out a.exe conftest$ac_cv_exeext b.out
ac_clean_files=$ac_clean_files_save
# Check the compiler produces executables we can run.  If not, either
# the compiler is broken, or we cross compile.
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
echo "$as_me:$LINENO: result: $cross_compiling" >&5
echo "${ECHO_T}$cross_compiling" >&6

echo "$as_me:$LINENO: checking for suffix of executables" >&5
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; then
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
# work properly (i.e., refer to `conftest.exe'), while it won't with
# `rm'.
for ac_file in conftest.exe conftest conftest.*; do
  test -f "$ac_file" || continue
  case $ac_file in
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | 
*.obj ) ;;
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
          export ac_cv_exeext
          break;;
    * ) break;;
  esac
done
else
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot 
compile and link
See \`config.log' for more details." >&5
echo "$as_me: error: cannot compute suffix of executables: cannot compile and 
link
See \`config.log' for more details." >&2;}
   { (exit 1); exit 1; }; }
fi

rm -f conftest$ac_cv_exeext
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
echo "${ECHO_T}$ac_cv_exeext" >&6

rm -f conftest.$ac_ext
EXEEXT=$ac_cv_exeext
ac_exeext=$EXEEXT
echo "$as_me:$LINENO: checking for suffix of object files" >&5
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
if test "${ac_cv_objext+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.o conftest.obj
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; then
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
  case $ac_file in
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
       break;;
  esac
done
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot 
compile
See \`config.log' for more details." >&5
echo "$as_me: error: cannot compute suffix of object files: cannot compile
See \`config.log' for more details." >&2;}
   { (exit 1); exit 1; }; }
fi

rm -f conftest.$ac_cv_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
echo "${ECHO_T}$ac_cv_objext" >&6
OBJEXT=$ac_cv_objext
ac_objext=$OBJEXT
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
if test "${ac_cv_c_compiler_gnu+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{
#ifndef __GNUC__
       choke me
#endif

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_compiler_gnu=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_compiler_gnu=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
ac_cv_c_compiler_gnu=$ac_compiler_gnu

fi
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
GCC=`test $ac_compiler_gnu = yes && echo yes`
ac_test_CFLAGS=${CFLAGS+set}
ac_save_CFLAGS=$CFLAGS
CFLAGS="-g"
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
if test "${ac_cv_prog_cc_g+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_prog_cc_g=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_prog_cc_g=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
if test "$ac_test_CFLAGS" = set; then
  CFLAGS=$ac_save_CFLAGS
elif test $ac_cv_prog_cc_g = yes; then
  if test "$GCC" = yes; then
    CFLAGS="-g -O2"
  else
    CFLAGS="-g"
  fi
else
  if test "$GCC" = yes; then
    CFLAGS="-O2"
  else
    CFLAGS=
  fi
fi
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
if test "${ac_cv_prog_cc_stdc+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_prog_cc_stdc=no
ac_save_CC=$CC
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <stdarg.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
struct buf { int x; };
FILE * (*rcsopen) (struct buf *, struct stat *, int);
static char *e (p, i)
     char **p;
     int i;
{
  return p[i];
}
static char *f (char * (*g) (char **, int), char **p, ...)
{
  char *s;
  va_list v;
  va_start (v,p);
  s = g (p, va_arg (v,int));
  va_end (v);
  return s;
}
int test (int i, double x);
struct s1 {int (*f) (int a);};
struct s2 {int (*f) (double a);};
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, 
int);
int argc;
char **argv;
int
main ()
{
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  ;
  return 0;
}
_ACEOF
# Don't try gcc -ansi; that turns off useful extensions and
# breaks some systems' header files.
# AIX                   -qlanglvl=ansi
# Ultrix and OSF/1      -std1
# HP-UX 10.20 and later -Ae
# HP-UX older versions  -Aa -D_HPUX_SOURCE
# SVR4                  -Xc -D__EXTENSIONS__
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc 
-D__EXTENSIONS__"
do
  CC="$ac_save_CC $ac_arg"
  rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_prog_cc_stdc=$ac_arg
break
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

fi
rm -f conftest.$ac_objext
done
rm -f conftest.$ac_ext conftest.$ac_objext
CC=$ac_save_CC

fi

case "x$ac_cv_prog_cc_stdc" in
  x|xno)
    echo "$as_me:$LINENO: result: none needed" >&5
echo "${ECHO_T}none needed" >&6 ;;
  *)
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    CC="$CC $ac_cv_prog_cc_stdc" ;;
esac

# Some people use a C++ compiler to compile C.  Since we use `exit',
# in C++ we need to declare it.  In case someone uses the same compiler
# for both compiling C and C++ we need to have the C++ compiler decide
# the declaration of exit, since it's the most demanding environment.
cat >conftest.$ac_ext <<_ACEOF
#ifndef __cplusplus
  choke me
#endif
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  for ac_declaration in \
   ''\
   'extern "C" void std::exit (int) throw (); using std::exit;' \
   'extern "C" void std::exit (int); using std::exit;' \
   'extern "C" void exit (int) throw ();' \
   'extern "C" void exit (int);' \
   'void exit (int);' \
   '#include <stdlib.h>'
do
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <stdlib.h>
$ac_declaration
int
main ()
{
exit (42);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  :
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

continue
fi
rm -f conftest.$ac_objext conftest.$ac_ext
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_declaration
int
main ()
{
exit (42);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  break
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

fi
rm -f conftest.$ac_objext conftest.$ac_ext
done
rm -f conftest*
if test -n "$ac_declaration"; then
  echo '#ifdef __cplusplus' >>confdefs.h
  echo $ac_declaration      >>confdefs.h
  echo '#endif'             >>confdefs.h
fi

else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

fi
rm -f conftest.$ac_objext conftest.$ac_ext
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext 
$LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
DEPDIR="${am__leading_dot}deps"

          ac_config_commands="$ac_config_commands depfiles"


am_make=${MAKE-make}
cat > confinc << 'END'
am__doit:
        @echo done
.PHONY: am__doit
END
# If we don't find an include directive, just comment out the code.
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
am__include="#"
am__quote=
_am_result=none
# First try GNU make style include.
echo "include confinc" > confmf
# We grep out `Entering directory' and `Leaving directory'
# messages which can occur if `w' ends up in MAKEFLAGS.
# In particular we don't look at `^make:' because GNU make might
# be invoked under some other name (usually "gmake"), in which
# case it prints its new name instead of `make'.
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = 
"done"; then
   am__include=include
   am__quote=
   _am_result=GNU
fi
# Now try BSD make style include.
if test "$am__include" = "#"; then
   echo '.include "confinc"' > confmf
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
      am__include=.include
      am__quote="\""
      _am_result=BSD
   fi
fi


echo "$as_me:$LINENO: result: $_am_result" >&5
echo "${ECHO_T}$_am_result" >&6
rm -f confinc confmf

# Check whether --enable-dependency-tracking or --disable-dependency-tracking 
was given.
if test "${enable_dependency_tracking+set}" = set; then
  enableval="$enable_dependency_tracking"

fi;
if test "x$enable_dependency_tracking" != xno; then
  am_depcomp="$ac_aux_dir/depcomp"
  AMDEPBACKSLASH='\'
fi


if test "x$enable_dependency_tracking" != xno; then
  AMDEP_TRUE=
  AMDEP_FALSE='#'
else
  AMDEP_TRUE='#'
  AMDEP_FALSE=
fi




depcc="$CC"   am_compiler_list=

echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  # We make a subdir and do the tests there.  Otherwise we can end up
  # making bogus files that we don't know about and never remove.  For
  # instance it was reported that on HP-UX the gcc test will end up
  # making a dummy file named `D' -- because `-MD' means `put the output
  # in D'.
  mkdir conftest.dir
  # Copy depcomp to subdir because otherwise we won't find it if we're
  # using a relative directory.
  cp "$am_depcomp" conftest.dir
  cd conftest.dir

  am_cv_CC_dependencies_compiler_type=none
  if test "$am_compiler_list" = ""; then
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  fi
  for depmode in $am_compiler_list; do
    # We need to recreate these files for each test, as the compiler may
    # overwrite some of them when testing with obscure command lines.
    # This happens at least with the AIX C compiler.
    echo '#include "conftest.h"' > conftest.c
    echo 'int i;' > conftest.h
    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf

    case $depmode in
    nosideeffect)
      # after this tag, mechanisms are not by side-effect, so they'll
      # only be used when explicitly requested
      if test "x$enable_dependency_tracking" = xyes; then
        continue
      else
        break
      fi
      ;;
    none) break ;;
    esac
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
    # mode.  It turns out that the SunPro C++ compiler does not properly
    # handle `-M -o', and we need to detect this.
    if depmode=$depmode \
       source=conftest.c object=conftest.o \
       depfile=conftest.Po tmpdepfile=conftest.TPo \
       $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \
         >/dev/null 2>conftest.err &&
       grep conftest.h conftest.Po > /dev/null 2>&1 &&
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
      # icc doesn't choke on unknown options, it will just issue warnings
      # (even with -Werror).  So we grep stderr for any message
      # that says an option was ignored.
      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
        am_cv_CC_dependencies_compiler_type=$depmode
        break
      fi
    fi
  done

  cd ..
  rm -rf conftest.dir
else
  am_cv_CC_dependencies_compiler_type=none
fi

fi
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type



if
  test "x$enable_dependency_tracking" != xno \
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  am__fastdepCC_TRUE=
  am__fastdepCC_FALSE='#'
else
  am__fastdepCC_TRUE='#'
  am__fastdepCC_FALSE=
fi


if test "x$CC" != xcc; then
  echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o 
together" >&5
echo $ECHO_N "checking whether $CC and cc understand -c and -o together... 
$ECHO_C" >&6
else
  echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
fi
set dummy $CC; ac_cc=`echo $2 |
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
# Make sure it works both with $CC and with simple cc.
# We do the test twice because some compilers refuse to overwrite an
# existing .o file with -o, though they will create one.
ac_try='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
   test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") 
>&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); };
then
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
  if test "x$CC" != xcc; then
    # Test first that cc exists at all.
    if { ac_try='cc -c conftest.$ac_ext >&5'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
      ac_try='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
      if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: 
\"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); };
      then
        # cc works too.
        :
      else
        # cc exists but doesn't like -o.
        eval ac_cv_prog_cc_${ac_cc}_c_o=no
      fi
    fi
  fi
else
  eval ac_cv_prog_cc_${ac_cc}_c_o=no
fi
rm -f conftest*

fi
if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6

cat >>confdefs.h <<\_ACEOF
#define NO_MINUS_C_MINUS_O 1
_ACEOF

fi

# FIXME: we rely on the cache variable name because
# there is no other way.
set dummy $CC
ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
   # Losing compiler, so override with the script.
   # FIXME: It is wrong to rewrite CC.
   # But if we don't then we get into trouble of one sort or another.
   # A longer-term fix would be to have automake use am__CC in this case,
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   CC="$am_aux_dir/compile $CC"
fi

ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext 
$LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
  CPP=
fi
if test -z "$CPP"; then
  if test "${ac_cv_prog_CPP+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
      # Double quotes because CPP needs to be expanded
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
    do
      ac_preproc_ok=false
for ac_c_preproc_warn_flag in '' yes
do
  # Use a header file that comes with gcc, so configuring glibc
  # with a fresh cross-compiler works.
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  # <limits.h> exists even on freestanding compilers.
  # On the NeXT, cc -E runs the code through the compiler's parser,
  # not just through cpp. "Syntax error" is here to catch this case.
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
                     Syntax error
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  :
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  # Broken: fails on valid input.
continue
fi
rm -f conftest.err conftest.$ac_ext

  # OK, works on sane cases.  Now check whether non-existent headers
  # can be detected and how.
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <ac_nonexistent.h>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  # Broken: success on invalid input.
continue
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  # Passes both tests.
ac_preproc_ok=:
break
fi
rm -f conftest.err conftest.$ac_ext

done
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.err conftest.$ac_ext
if $ac_preproc_ok; then
  break
fi

    done
    ac_cv_prog_CPP=$CPP

fi
  CPP=$ac_cv_prog_CPP
else
  ac_cv_prog_CPP=$CPP
fi
echo "$as_me:$LINENO: result: $CPP" >&5
echo "${ECHO_T}$CPP" >&6
ac_preproc_ok=false
for ac_c_preproc_warn_flag in '' yes
do
  # Use a header file that comes with gcc, so configuring glibc
  # with a fresh cross-compiler works.
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  # <limits.h> exists even on freestanding compilers.
  # On the NeXT, cc -E runs the code through the compiler's parser,
  # not just through cpp. "Syntax error" is here to catch this case.
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
                     Syntax error
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  :
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  # Broken: fails on valid input.
continue
fi
rm -f conftest.err conftest.$ac_ext

  # OK, works on sane cases.  Now check whether non-existent headers
  # can be detected and how.
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <ac_nonexistent.h>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  # Broken: success on invalid input.
continue
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  # Passes both tests.
ac_preproc_ok=:
break
fi
rm -f conftest.err conftest.$ac_ext

done
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.err conftest.$ac_ext
if $ac_preproc_ok; then
  :
else
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
See \`config.log' for more details." >&5
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
See \`config.log' for more details." >&2;}
   { (exit 1); exit 1; }; }
fi

ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext 
$LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

ac_ext=cc
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS 
conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
if test -n "$ac_tool_prefix"; then
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
  do
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a 
program name with args.
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CXX+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$CXX"; then
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

fi
fi
CXX=$ac_cv_prog_CXX
if test -n "$CXX"; then
  echo "$as_me:$LINENO: result: $CXX" >&5
echo "${ECHO_T}$CXX" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

    test -n "$CXX" && break
  done
fi
if test -z "$CXX"; then
  ac_ct_CXX=$CXX
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$ac_ct_CXX"; then
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_CXX="$ac_prog"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

fi
fi
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
if test -n "$ac_ct_CXX"; then
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
echo "${ECHO_T}$ac_ct_CXX" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  test -n "$ac_ct_CXX" && break
done
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"

  CXX=$ac_ct_CXX
fi


# Provide some information about the compiler.
echo "$as_me:$LINENO:" \
     "checking for C++ compiler version" >&5
ac_compiler=`set X $ac_compile; echo $2`
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
  (eval $ac_compiler --version </dev/null >&5) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
  (eval $ac_compiler -v </dev/null >&5) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
  (eval $ac_compiler -V </dev/null >&5) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }

echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{
#ifndef __GNUC__
       choke me
#endif

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_compiler_gnu=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_compiler_gnu=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu

fi
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
GXX=`test $ac_compiler_gnu = yes && echo yes`
ac_test_CXXFLAGS=${CXXFLAGS+set}
ac_save_CXXFLAGS=$CXXFLAGS
CXXFLAGS="-g"
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
if test "${ac_cv_prog_cxx_g+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_prog_cxx_g=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_prog_cxx_g=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
if test "$ac_test_CXXFLAGS" = set; then
  CXXFLAGS=$ac_save_CXXFLAGS
elif test $ac_cv_prog_cxx_g = yes; then
  if test "$GXX" = yes; then
    CXXFLAGS="-g -O2"
  else
    CXXFLAGS="-g"
  fi
else
  if test "$GXX" = yes; then
    CXXFLAGS="-O2"
  else
    CXXFLAGS=
  fi
fi
for ac_declaration in \
   ''\
   'extern "C" void std::exit (int) throw (); using std::exit;' \
   'extern "C" void std::exit (int); using std::exit;' \
   'extern "C" void exit (int) throw ();' \
   'extern "C" void exit (int);' \
   'void exit (int);' \
   '#include <stdlib.h>'
do
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <stdlib.h>
$ac_declaration
int
main ()
{
exit (42);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  :
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

continue
fi
rm -f conftest.$ac_objext conftest.$ac_ext
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_declaration
int
main ()
{
exit (42);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  break
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

fi
rm -f conftest.$ac_objext conftest.$ac_ext
done
rm -f conftest*
if test -n "$ac_declaration"; then
  echo '#ifdef __cplusplus' >>confdefs.h
  echo $ac_declaration      >>confdefs.h
  echo '#endif'             >>confdefs.h
fi

ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext 
$LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

depcc="$CXX"  am_compiler_list=

echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  # We make a subdir and do the tests there.  Otherwise we can end up
  # making bogus files that we don't know about and never remove.  For
  # instance it was reported that on HP-UX the gcc test will end up
  # making a dummy file named `D' -- because `-MD' means `put the output
  # in D'.
  mkdir conftest.dir
  # Copy depcomp to subdir because otherwise we won't find it if we're
  # using a relative directory.
  cp "$am_depcomp" conftest.dir
  cd conftest.dir

  am_cv_CXX_dependencies_compiler_type=none
  if test "$am_compiler_list" = ""; then
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  fi
  for depmode in $am_compiler_list; do
    # We need to recreate these files for each test, as the compiler may
    # overwrite some of them when testing with obscure command lines.
    # This happens at least with the AIX C compiler.
    echo '#include "conftest.h"' > conftest.c
    echo 'int i;' > conftest.h
    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf

    case $depmode in
    nosideeffect)
      # after this tag, mechanisms are not by side-effect, so they'll
      # only be used when explicitly requested
      if test "x$enable_dependency_tracking" = xyes; then
        continue
      else
        break
      fi
      ;;
    none) break ;;
    esac
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
    # mode.  It turns out that the SunPro C++ compiler does not properly
    # handle `-M -o', and we need to detect this.
    if depmode=$depmode \
       source=conftest.c object=conftest.o \
       depfile=conftest.Po tmpdepfile=conftest.TPo \
       $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \
         >/dev/null 2>conftest.err &&
       grep conftest.h conftest.Po > /dev/null 2>&1 &&
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
      # icc doesn't choke on unknown options, it will just issue warnings
      # (even with -Werror).  So we grep stderr for any message
      # that says an option was ignored.
      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
        am_cv_CXX_dependencies_compiler_type=$depmode
        break
      fi
    fi
  done

  cd ..
  rm -rf conftest.dir
else
  am_cv_CXX_dependencies_compiler_type=none
fi

fi
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type



if
  test "x$enable_dependency_tracking" != xno \
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
  am__fastdepCXX_TRUE=
  am__fastdepCXX_FALSE='#'
else
  am__fastdepCXX_TRUE='#'
  am__fastdepCXX_FALSE=
fi


echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.make <<\_ACEOF
all:
        @echo 'ac_maketemp="$(MAKE)"'
_ACEOF
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
if test -n "$ac_maketemp"; then
  eval ac_cv_prog_make_${ac_make}_set=yes
else
  eval ac_cv_prog_make_${ac_make}_set=no
fi
rm -f conftest.make
fi
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
  SET_MAKE=
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
  SET_MAKE="MAKE=${MAKE-make}"
fi

# Find a good install program.  We prefer a C program (faster),
# so one script is as good as another.  But avoid the broken or
# incompatible versions:
# SysV /etc/install, /usr/sbin/install
# SunOS /usr/etc/install
# IRIX /sbin/install
# AIX /bin/install
# AmigaOS /C/install, which installs bootblocks on floppy discs
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
if test -z "$INSTALL"; then
if test "${ac_cv_path_install+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  # Account for people who put trailing slashes in PATH elements.
case $as_dir/ in
  ./ | .// | /cC/* | \
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  /usr/ucb/* ) ;;
  *)
    # OSF1 and SCO ODT 3.0 have their own names for install.
    # Don't use installbsd from OSF since it installs stuff as root
    # by default.
    for ac_prog in ginstall scoinst install; do
      for ac_exec_ext in '' $ac_executable_extensions; do
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
          if test $ac_prog = install &&
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
            # AIX install.  It has an incompatible calling convention.
            :
          elif test $ac_prog = install &&
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
            # program-specific install script used by HP pwplus--don't use.
            :
          else
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
            break 3
          fi
        fi
      done
    done
    ;;
esac
done


fi
  if test "${ac_cv_path_install+set}" = set; then
    INSTALL=$ac_cv_path_install
  else
    # As a last resort, use the slow shell script.  We don't cache a
    # path for INSTALL within a source directory, because that will
    # break other packages using the cache if that directory is
    # removed, or if the path is relative.
    INSTALL=$ac_install_sh
  fi
fi
echo "$as_me:$LINENO: result: $INSTALL" >&5
echo "${ECHO_T}$INSTALL" >&6

# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# It thinks the first close brace ends the variable substitution.
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'

test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'

test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'




echo "$as_me:$LINENO: checking for egrep" >&5
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
if test "${ac_cv_prog_egrep+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    then ac_cv_prog_egrep='grep -E'
    else ac_cv_prog_egrep='egrep'
    fi
fi
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
 EGREP=$ac_cv_prog_egrep


cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
foo
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "foo" >/dev/null 2>&1; then
  :
fi
rm -f conftest*


echo "$as_me:$LINENO: checking for an Objective-C compiler" >&5
echo $ECHO_N "checking for an Objective-C compiler... $ECHO_C" >&6
OBJC="${CXX}"

OBJCFLAGS="${CXXFLAGS} -fgnu-runtime -fconstant-string-class=NSConstantString"

#OBJCDEPMODE="depmode=gcc3"
#AC_SUBST(OBJCDEPMODE)

depcc="$OBJC" am_compiler_list='gcc3 gcc'

echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  # We make a subdir and do the tests there.  Otherwise we can end up
  # making bogus files that we don't know about and never remove.  For
  # instance it was reported that on HP-UX the gcc test will end up
  # making a dummy file named `D' -- because `-MD' means `put the output
  # in D'.
  mkdir conftest.dir
  # Copy depcomp to subdir because otherwise we won't find it if we're
  # using a relative directory.
  cp "$am_depcomp" conftest.dir
  cd conftest.dir

  am_cv_OBJC_dependencies_compiler_type=none
  if test "$am_compiler_list" = ""; then
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  fi
  for depmode in $am_compiler_list; do
    # We need to recreate these files for each test, as the compiler may
    # overwrite some of them when testing with obscure command lines.
    # This happens at least with the AIX C compiler.
    echo '#include "conftest.h"' > conftest.c
    echo 'int i;' > conftest.h
    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf

    case $depmode in
    nosideeffect)
      # after this tag, mechanisms are not by side-effect, so they'll
      # only be used when explicitly requested
      if test "x$enable_dependency_tracking" = xyes; then
        continue
      else
        break
      fi
      ;;
    none) break ;;
    esac
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
    # mode.  It turns out that the SunPro C++ compiler does not properly
    # handle `-M -o', and we need to detect this.
    if depmode=$depmode \
       source=conftest.c object=conftest.o \
       depfile=conftest.Po tmpdepfile=conftest.TPo \
       $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \
         >/dev/null 2>conftest.err &&
       grep conftest.h conftest.Po > /dev/null 2>&1 &&
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
      # icc doesn't choke on unknown options, it will just issue warnings
      # (even with -Werror).  So we grep stderr for any message
      # that says an option was ignored.
      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
        am_cv_OBJC_dependencies_compiler_type=$depmode
        break
      fi
    fi
  done

  cd ..
  rm -rf conftest.dir
else
  am_cv_OBJC_dependencies_compiler_type=none
fi

fi
echo "$as_me:$LINENO: result: $am_cv_OBJC_dependencies_compiler_type" >&5
echo "${ECHO_T}$am_cv_OBJC_dependencies_compiler_type" >&6
OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type



if
  test "x$enable_dependency_tracking" != xno \
  && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
  am__fastdepOBJC_TRUE=
  am__fastdepOBJC_FALSE='#'
else
  am__fastdepOBJC_TRUE='#'
  am__fastdepOBJC_FALSE=
fi


echo "$as_me:$LINENO: result: not implemented yet" >&5
echo "${ECHO_T}not implemented yet" >&6

if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program 
name with args.
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_RANLIB+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$RANLIB"; then
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

fi
fi
RANLIB=$ac_cv_prog_RANLIB
if test -n "$RANLIB"; then
  echo "$as_me:$LINENO: result: $RANLIB" >&5
echo "${ECHO_T}$RANLIB" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

fi
if test -z "$ac_cv_prog_RANLIB"; then
  ac_ct_RANLIB=$RANLIB
  # Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$ac_ct_RANLIB"; then
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_RANLIB="ranlib"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
fi
fi
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
if test -n "$ac_ct_RANLIB"; then
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
echo "${ECHO_T}$ac_ct_RANLIB" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  RANLIB=$ac_ct_RANLIB
else
  RANLIB="$ac_cv_prog_RANLIB"
fi

if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program 
name with args.
set dummy ${ac_tool_prefix}strip; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_STRIP+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$STRIP"; then
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

fi
fi
STRIP=$ac_cv_prog_STRIP
if test -n "$STRIP"; then
  echo "$as_me:$LINENO: result: $STRIP" >&5
echo "${ECHO_T}$STRIP" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

fi
if test -z "$ac_cv_prog_STRIP"; then
  ac_ct_STRIP=$STRIP
  # Extract the first word of "strip", so it can be a program name with args.
set dummy strip; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$ac_ct_STRIP"; then
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_STRIP="strip"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
fi
fi
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
if test -n "$ac_ct_STRIP"; then
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
echo "${ECHO_T}$ac_ct_STRIP" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  STRIP=$ac_ct_STRIP
else
  STRIP="$ac_cv_prog_STRIP"
fi

if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program 
name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_AR+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$AR"; then
  ac_cv_prog_AR="$AR" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_AR="${ac_tool_prefix}ar"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

fi
fi
AR=$ac_cv_prog_AR
if test -n "$AR"; then
  echo "$as_me:$LINENO: result: $AR" >&5
echo "${ECHO_T}$AR" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

fi
if test -z "$ac_cv_prog_AR"; then
  ac_ct_AR=$AR
  # Extract the first word of "ar", so it can be a program name with args.
set dummy ar; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$ac_ct_AR"; then
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_AR="ar"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR=":"
fi
fi
ac_ct_AR=$ac_cv_prog_ac_ct_AR
if test -n "$ac_ct_AR"; then
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
echo "${ECHO_T}$ac_ct_AR" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  AR=$ac_ct_AR
else
  AR="$ac_cv_prog_AR"
fi

if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}ld", so it can be a program 
name with args.
set dummy ${ac_tool_prefix}ld; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_LD+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$LD"; then
  ac_cv_prog_LD="$LD" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_LD="${ac_tool_prefix}ld"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

fi
fi
LD=$ac_cv_prog_LD
if test -n "$LD"; then
  echo "$as_me:$LINENO: result: $LD" >&5
echo "${ECHO_T}$LD" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

fi
if test -z "$ac_cv_prog_LD"; then
  ac_ct_LD=$LD
  # Extract the first word of "ld", so it can be a program name with args.
set dummy ld; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$ac_ct_LD"; then
  ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_LD="ld"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

  test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD=":"
fi
fi
ac_ct_LD=$ac_cv_prog_ac_ct_LD
if test -n "$ac_ct_LD"; then
  echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
echo "${ECHO_T}$ac_ct_LD" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  LD=$ac_ct_LD
else
  LD="$ac_cv_prog_LD"
fi


# Find a good install program.  We prefer a C program (faster),
# so one script is as good as another.  But avoid the broken or
# incompatible versions:
# SysV /etc/install, /usr/sbin/install
# SunOS /usr/etc/install
# IRIX /sbin/install
# AIX /bin/install
# AmigaOS /C/install, which installs bootblocks on floppy discs
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
if test -z "$INSTALL"; then
if test "${ac_cv_path_install+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  # Account for people who put trailing slashes in PATH elements.
case $as_dir/ in
  ./ | .// | /cC/* | \
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  /usr/ucb/* ) ;;
  *)
    # OSF1 and SCO ODT 3.0 have their own names for install.
    # Don't use installbsd from OSF since it installs stuff as root
    # by default.
    for ac_prog in ginstall scoinst install; do
      for ac_exec_ext in '' $ac_executable_extensions; do
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
          if test $ac_prog = install &&
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
            # AIX install.  It has an incompatible calling convention.
            :
          elif test $ac_prog = install &&
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
            # program-specific install script used by HP pwplus--don't use.
            :
          else
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
            break 3
          fi
        fi
      done
    done
    ;;
esac
done


fi
  if test "${ac_cv_path_install+set}" = set; then
    INSTALL=$ac_cv_path_install
  else
    # As a last resort, use the slow shell script.  We don't cache a
    # path for INSTALL within a source directory, because that will
    # break other packages using the cache if that directory is
    # removed, or if the path is relative.
    INSTALL=$ac_install_sh
  fi
fi
echo "$as_me:$LINENO: result: $INSTALL" >&5
echo "${ECHO_T}$INSTALL" >&6

# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# It thinks the first close brace ends the variable substitution.
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'

test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'

test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'


echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
if test "${ac_cv_c_const+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{
/* FIXME: Include the comments suggested by Paul. */
#ifndef __cplusplus
  /* Ultrix mips cc rejects this.  */
  typedef int charset[2];
  const charset x;
  /* SunOS 4.1.1 cc rejects this.  */
  char const *const *ccp;
  char **p;
  /* NEC SVR4.0.2 mips cc rejects this.  */
  struct point {int x, y;};
  static struct point const zero = {0,0};
  /* AIX XL C 1.02.0.0 rejects this.
     It does not let you subtract one const X* pointer from another in
     an arm of an if-expression whose if-part is not a constant
     expression */
  const char *g = "string";
  ccp = &g + (g ? g-g : 0);
  /* HPUX 7.0 cc rejects these. */
  ++ccp;
  p = (char**) ccp;
  ccp = (char const *const *) p;
  { /* SCO 3.2v4 cc rejects this.  */
    char *t;
    char const *s = 0 ? (char *) 0 : (char const *) 0;

    *t++ = 0;
  }
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
    int x[] = {25, 17};
    const int *foo = &x[0];
    ++foo;
  }
  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
    typedef const int *iptr;
    iptr p = 0;
    ++p;
  }
  { /* AIX XL C 1.02.0.0 rejects this saying
       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
    struct s { int j; const int *ap[3]; };
    struct s *b; b->j = 5;
  }
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
    const int foo = 10;
  }
#endif

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_const=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_c_const=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
echo "${ECHO_T}$ac_cv_c_const" >&6
if test $ac_cv_c_const = no; then

cat >>confdefs.h <<\_ACEOF
#define const
_ACEOF

fi

echo "$as_me:$LINENO: checking for inline" >&5
echo $ECHO_N "checking for inline... $ECHO_C" >&6
if test "${ac_cv_c_inline+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_c_inline=no
for ac_kw in inline __inline__ __inline; do
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#ifndef __cplusplus
typedef int foo_t;
static $ac_kw foo_t static_foo () {return 0; }
$ac_kw foo_t foo () {return 0; }
#endif

_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_inline=$ac_kw; break
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

fi
rm -f conftest.$ac_objext conftest.$ac_ext
done

fi
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
echo "${ECHO_T}$ac_cv_c_inline" >&6
case $ac_cv_c_inline in
  inline | yes) ;;
  no)
cat >>confdefs.h <<\_ACEOF
#define inline
_ACEOF
 ;;
  *)  cat >>confdefs.h <<_ACEOF
#define inline $ac_cv_c_inline
_ACEOF
 ;;
esac


LDFLAGS_vlc="${LDFLAGS}"
LIBEXT=".so"

case "${target_os}" in
  "")
    SYS=unknown
    ;;
  linux*)
    SYS=linux
    ;;
  bsdi*)
    SYS=bsdi
    CFLAGS_save="${CFLAGS_save} -pthread"; CFLAGS="${CFLAGS_save}"
    LDFLAGS_dvd="${LDFLAGS_dvd} -ldvd"
    LDFLAGS_dvdcss="${LDFLAGS_dvdcss} -ldvd"
    LDFLAGS_vcd="${LDFLAGS_vcd} -ldvd"
    LDFLAGS_cdda="${LDFLAGS_cdda} -ldvd"
    ;;
  *bsd*)
    SYS="${target_os}"
    CFLAGS_save="${CFLAGS_save} -pthread"; CFLAGS="${CFLAGS_save}"
    ;;
  darwin*)
    SYS=darwin
    CFLAGS_save="${CFLAGS_save} -no-cpp-precomp -D_INTL_REDIRECT_MACROS"; 
CFLAGS="${CFLAGS_save}"
    CXXFLAGS_save="${CXXFLAGS_save} -no-cpp-precomp -D_INTL_REDIRECT_MACROS"; 
CXXFLAGS="${CXXFLAGS_save}"
    OBJCFLAGS_save="${OBJCFLAGS_save} -no-cpp-precomp -D_INTL_REDIRECT_MACROS"; 
OBJCFLAGS="${OBJCFLAGS_save}"
    LDFLAGS_vlc="${LDFLAGS_vlc} -all_load"
    LDFLAGS_ffmpeg="${LDFLAGS_ffmpeg} -all_load"
    LIBEXT=".dylib"
    ;;
  *mingw32* | *cygwin*)
    if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}windres", so it can be a 
program name with args.
set dummy ${ac_tool_prefix}windres; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_WINDRES+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$WINDRES"; then
  ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

fi
fi
WINDRES=$ac_cv_prog_WINDRES
if test -n "$WINDRES"; then
  echo "$as_me:$LINENO: result: $WINDRES" >&5
echo "${ECHO_T}$WINDRES" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

fi
if test -z "$ac_cv_prog_WINDRES"; then
  ac_ct_WINDRES=$WINDRES
  # Extract the first word of "windres", so it can be a program name with args.
set dummy windres; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$ac_ct_WINDRES"; then
  ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_WINDRES="windres"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

  test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES=":"
fi
fi
ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
if test -n "$ac_ct_WINDRES"; then
  echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
echo "${ECHO_T}$ac_ct_WINDRES" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  WINDRES=$ac_ct_WINDRES
else
  WINDRES="$ac_cv_prog_WINDRES"
fi

    LIBEXT=".dll"

    case "${target_os}" in
      *mingw32*)
        SYS=mingw32
        ;;
      *cygwin*)
                        cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#ifdef WIN32
             yes
             #endif
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "yes" >/dev/null 2>&1; then
  SYS=mingw32
else
  SYS=cygwin
fi
rm -f conftest*

        ;;
    esac

    if test "${SYS}" = "mingw32"; then
        # add ws2_32 for closesocket, select, recv
        CPPFLAGS_save="${CPPFLAGS_save} -D_OFF_T_ -D_off_t=long"
        CPPFLAGS="${CPPFLAGS_save}"
        LDFLAGS_vlc="${LDFLAGS_vlc} -lws2_32 -lnetapi32 -lwinmm -mwindows"
        LDFLAGS_ipv4="${LDFLAGS_ipv4} -lws2_32"
        LDFLAGS_ipv6="${LDFLAGS_ipv6} -lws2_32"
        LDFLAGS_access_http="${LDFLAGS_access_http} -lws2_32"
        LDFLAGS_access_mms="${LDFLAGS_access_mms} -lws2_32"
        LDFLAGS_access_udp="${LDFLAGS_access_udp} -lws2_32"
        LDFLAGS_access_ftp="${LDFLAGS_access_ftp} -lws2_32"
        LDFLAGS_access_output_udp="${LDFLAGS_access_output_udp} -lws2_32"
        LDFLAGS_sap="${LDFLAGS_sap} -lws2_32"
        LDFLAGS_slp="${LDFLAGS_slp} -lws2_32"
        LDFLAGS_http="${LDFLAGS_http} -lws2_32"
        LDFLAGS_httpd="${LDFLAGS_httpd} -lws2_32"
    fi
    ;;
  *nto*)
    SYS=nto
    LDFLAGS_x11="${LDFLAGS_x11} -lsocket"
    LDFLAGS_xvideo="${LDFLAGS_xvideo} -lsocket"
    ;;
  solaris*)
    SYS=solaris
    ;;
  hpux*)
    SYS=hpux
    LIBEXT=".sl"
    ;;
  beos)
    SYS=beos
    CFLAGS_save="${CFLAGS_save} -Wno-multichar"; CFLAGS="${CFLAGS_save}"
    CXXFLAGS_save="${CXXFLAGS_save} -Wno-multichar"; CXXFLAGS="${CXXFLAGS_save}"
    LDFLAGS_vlc="${LDFLAGS_vlc} -lbe"
    LDFLAGS_beos="${LDFLAGS_beos} -lbe -lmedia -ltranslation -ltracker -lgame 
-lstdc++.r4"
        echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
if test "${ac_cv_lib_socket_connect+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lsocket  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char connect ();
int
main ()
{
connect ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_socket_connect=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_socket_connect=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
if test $ac_cv_lib_socket_connect = yes; then
  LDFLAGS_vlc="${LDFLAGS_vlc} -lsocket -lbind"
        LDFLAGS_access_mms="${LDFLAGS_access_mms} -lsocket -lbind"
        LDFLAGS_ipv4="${LDFLAGS_ipv4} -lsocket -lbind"
        LDFLAGS_httpd="${LDFLAGS_httpd} -lsocket -lbind"
fi

    ;;
  *)
    SYS="${target_os}"
    ;;
esac


if test "${SYS}" = "beos"; then
  HAVE_BEOS_TRUE=
  HAVE_BEOS_FALSE='#'
else
  HAVE_BEOS_TRUE='#'
  HAVE_BEOS_FALSE=
fi



if test "${SYS}" = "darwin"; then
  HAVE_DARWIN_TRUE=
  HAVE_DARWIN_FALSE='#'
else
  HAVE_DARWIN_TRUE='#'
  HAVE_DARWIN_FALSE=
fi



if test "${SYS}" = "mingw32"; then
  HAVE_WIN32_TRUE=
  HAVE_WIN32_FALSE='#'
else
  HAVE_WIN32_TRUE='#'
  HAVE_WIN32_FALSE=
fi


ALL_LINGUAS="de en_GB fr it ja no ru nl pl sv"


        MKINSTALLDIRS=
  if test -n "$ac_aux_dir"; then
    MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
  fi
  if test -z "$MKINSTALLDIRS"; then
    MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
  fi





        # Extract the first word of "msgfmt", so it can be a program name with 
args.
set dummy msgfmt; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_MSGFMT+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  case "$MSGFMT" in
  /*)
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
  ;;
  *)
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  for ac_dir in $PATH; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage 
>/dev/null; then exit 1; else exit 0; fi); then
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
        break
      fi
    fi
  done
  IFS="$ac_save_ifs"
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
  ;;
esac
fi
MSGFMT="$ac_cv_path_MSGFMT"
if test "$MSGFMT" != ":"; then
  echo "$as_me:$LINENO: result: $MSGFMT" >&5
echo "${ECHO_T}$MSGFMT" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  # Extract the first word of "gmsgfmt", so it can be a program name with args.
set dummy gmsgfmt; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_GMSGFMT+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  case $GMSGFMT in
  [\\/]* | ?:[\\/]*)
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
  ;;
esac
fi
GMSGFMT=$ac_cv_path_GMSGFMT

if test -n "$GMSGFMT"; then
  echo "$as_me:$LINENO: result: $GMSGFMT" >&5
echo "${ECHO_T}$GMSGFMT" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi


        # Extract the first word of "xgettext", so it can be a program name 
with args.
set dummy xgettext; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_XGETTEXT+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  case "$XGETTEXT" in
  /*)
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
  ;;
  *)
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  for ac_dir in $PATH; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null 
>/dev/null 2>&1 &&
     (if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null 2>&1 
>/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
        break
      fi
    fi
  done
  IFS="$ac_save_ifs"
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
  ;;
esac
fi
XGETTEXT="$ac_cv_path_XGETTEXT"
if test "$XGETTEXT" != ":"; then
  echo "$as_me:$LINENO: result: $XGETTEXT" >&5
echo "${ECHO_T}$XGETTEXT" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

    rm -f messages.po

    # Extract the first word of "msgmerge", so it can be a program name with 
args.
set dummy msgmerge; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_MSGMERGE+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  case "$MSGMERGE" in
  /*)
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
  ;;
  *)
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  for ac_dir in $PATH; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
        ac_cv_path_MSGMERGE="$ac_dir/$ac_word"
        break
      fi
    fi
  done
  IFS="$ac_save_ifs"
  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
  ;;
esac
fi
MSGMERGE="$ac_cv_path_MSGMERGE"
if test "$MSGMERGE" != ":"; then
  echo "$as_me:$LINENO: result: $MSGMERGE" >&5
echo "${ECHO_T}$MSGMERGE" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi


      if test "$GMSGFMT" != ":"; then
            if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
       (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage 
>/dev/null; then exit 1; else exit 0; fi); then
      : ;
    else
      GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
      echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; 
ignore it" >&5
echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
      GMSGFMT=":"
    fi
  fi

      if test "$XGETTEXT" != ":"; then
            if $XGETTEXT --omit-header --copyright-holder= /dev/null >/dev/null 
2>&1 &&
       (if $XGETTEXT --omit-header --copyright-holder= /dev/null 2>&1 
>/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
      : ;
    else
      echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; 
ignore it" >&5
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
      XGETTEXT=":"
    fi
        rm -f messages.po
  fi

            ac_config_commands="$ac_config_commands default-1"


if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program 
name with args.
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_RANLIB+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$RANLIB"; then
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

fi
fi
RANLIB=$ac_cv_prog_RANLIB
if test -n "$RANLIB"; then
  echo "$as_me:$LINENO: result: $RANLIB" >&5
echo "${ECHO_T}$RANLIB" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

fi
if test -z "$ac_cv_prog_RANLIB"; then
  ac_ct_RANLIB=$RANLIB
  # Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$ac_ct_RANLIB"; then
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_RANLIB="ranlib"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
fi
fi
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
if test -n "$ac_ct_RANLIB"; then
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
echo "${ECHO_T}$ac_ct_RANLIB" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  RANLIB=$ac_ct_RANLIB
else
  RANLIB="$ac_cv_prog_RANLIB"
fi


        echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
if test "${ac_cv_lib_cposix_strerror+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lcposix  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char strerror ();
int
main ()
{
strerror ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_cposix_strerror=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_cposix_strerror=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
if test $ac_cv_lib_cposix_strerror = yes; then
  LIBS="$LIBS -lcposix"
fi



echo "$as_me:$LINENO: checking for ANSI C header files" >&5
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
if test "${ac_cv_header_stdc+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <float.h>

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_header_stdc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_header_stdc=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext

if test $ac_cv_header_stdc = yes; then
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <string.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "memchr" >/dev/null 2>&1; then
  :
else
  ac_cv_header_stdc=no
fi
rm -f conftest*

fi

if test $ac_cv_header_stdc = yes; then
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <stdlib.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "free" >/dev/null 2>&1; then
  :
else
  ac_cv_header_stdc=no
fi
rm -f conftest*

fi

if test $ac_cv_header_stdc = yes; then
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  if test "$cross_compiling" = yes; then
  :
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <ctype.h>
#if ((' ' & 0x0FF) == 0x020)
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
#else
# define ISLOWER(c) \
                   (('a' <= (c) && (c) <= 'i') \
                     || ('j' <= (c) && (c) <= 'r') \
                     || ('s' <= (c) && (c) <= 'z'))
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
#endif

#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
int
main ()
{
  int i;
  for (i = 0; i < 256; i++)
    if (XOR (islower (i), ISLOWER (i))
        || toupper (i) != TOUPPER (i))
      exit(2);
  exit (0);
}
_ACEOF
rm -f conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  :
else
  echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

( exit $ac_status )
ac_cv_header_stdc=no
fi
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext 
conftest.$ac_ext
fi
fi
fi
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
echo "${ECHO_T}$ac_cv_header_stdc" >&6
if test $ac_cv_header_stdc = yes; then

cat >>confdefs.h <<\_ACEOF
#define STDC_HEADERS 1
_ACEOF

fi

# On IRIX 5.3, sys/types and inttypes.h are conflicting.









for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                  inttypes.h stdint.h unistd.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default

#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_Header=yes"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

eval "$as_ac_Header=no"
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

fi

done


echo "$as_me:$LINENO: checking for off_t" >&5
echo $ECHO_N "checking for off_t... $ECHO_C" >&6
if test "${ac_cv_type_off_t+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
int
main ()
{
if ((off_t *) 0)
  return 0;
if (sizeof (off_t))
  return 0;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_type_off_t=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_type_off_t=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
echo "${ECHO_T}$ac_cv_type_off_t" >&6
if test $ac_cv_type_off_t = yes; then
  :
else

cat >>confdefs.h <<_ACEOF
#define off_t long
_ACEOF

fi

echo "$as_me:$LINENO: checking for size_t" >&5
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
if test "${ac_cv_type_size_t+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
int
main ()
{
if ((size_t *) 0)
  return 0;
if (sizeof (size_t))
  return 0;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_type_size_t=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_type_size_t=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
echo "${ECHO_T}$ac_cv_type_size_t" >&6
if test $ac_cv_type_size_t = yes; then
  :
else

cat >>confdefs.h <<_ACEOF
#define size_t unsigned
_ACEOF

fi

# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
# for constant arguments.  Useless!
echo "$as_me:$LINENO: checking for working alloca.h" >&5
echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
if test "${ac_cv_working_alloca_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <alloca.h>
int
main ()
{
char *p = (char *) alloca (2 * sizeof (int));
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_working_alloca_h=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_working_alloca_h=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
if test $ac_cv_working_alloca_h = yes; then

cat >>confdefs.h <<\_ACEOF
#define HAVE_ALLOCA_H 1
_ACEOF

fi

echo "$as_me:$LINENO: checking for alloca" >&5
echo $ECHO_N "checking for alloca... $ECHO_C" >&6
if test "${ac_cv_func_alloca_works+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#ifdef __GNUC__
# define alloca __builtin_alloca
#else
# ifdef _MSC_VER
#  include <malloc.h>
#  define alloca _alloca
# else
#  if HAVE_ALLOCA_H
#   include <alloca.h>
#  else
#   ifdef _AIX
 #pragma alloca
#   else
#    ifndef alloca /* predefined by HP cc +Olibcalls */
char *alloca ();
#    endif
#   endif
#  endif
# endif
#endif

int
main ()
{
char *p = (char *) alloca (1);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_func_alloca_works=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_func_alloca_works=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
echo "${ECHO_T}$ac_cv_func_alloca_works" >&6

if test $ac_cv_func_alloca_works = yes; then

cat >>confdefs.h <<\_ACEOF
#define HAVE_ALLOCA 1
_ACEOF

else
  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
# that cause trouble.  Some versions do not even contain alloca or
# contain a buggy version.  If you still want to use their alloca,
# use ar to extract alloca.o from them instead of compiling alloca.c.

ALLOCA=alloca.$ac_objext

cat >>confdefs.h <<\_ACEOF
#define C_ALLOCA 1
_ACEOF


echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
if test "${ac_cv_os_cray+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#if defined(CRAY) && ! defined(CRAY2)
webecray
#else
wenotbecray
#endif

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "webecray" >/dev/null 2>&1; then
  ac_cv_os_cray=yes
else
  ac_cv_os_cray=no
fi
rm -f conftest*

fi
echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
echo "${ECHO_T}$ac_cv_os_cray" >&6
if test $ac_cv_os_cray = yes; then
  for ac_func in _getb67 GETB67 getb67; do
    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char $ac_func ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != $ac_func;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_var=yes"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then

cat >>confdefs.h <<_ACEOF
#define CRAY_STACKSEG_END $ac_func
_ACEOF

    break
fi

  done
fi

echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
if test "${ac_cv_c_stack_direction+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test "$cross_compiling" = yes; then
  ac_cv_c_stack_direction=0
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
int
find_stack_direction ()
{
  static char *addr = 0;
  auto char dummy;
  if (addr == 0)
    {
      addr = &dummy;
      return find_stack_direction ();
    }
  else
    return (&dummy > addr) ? 1 : -1;
}

int
main ()
{
  exit (find_stack_direction () < 0);
}
_ACEOF
rm -f conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_stack_direction=1
else
  echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

( exit $ac_status )
ac_cv_c_stack_direction=-1
fi
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext 
conftest.$ac_ext
fi
fi
echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
echo "${ECHO_T}$ac_cv_c_stack_direction" >&6

cat >>confdefs.h <<_ACEOF
#define STACK_DIRECTION $ac_cv_c_stack_direction
_ACEOF


fi



for ac_header in stdlib.h unistd.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

fi

done


for ac_func in getpagesize
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char $ac_func ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != $ac_func;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_var=yes"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF

fi
done

echo "$as_me:$LINENO: checking for working mmap" >&5
echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test "$cross_compiling" = yes; then
  ac_cv_func_mmap_fixed_mapped=no
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
/* malloc might have been renamed as rpl_malloc. */
#undef malloc

/* Thanks to Mike Haertel and Jim Avera for this test.
   Here is a matrix of mmap possibilities:
        mmap private not fixed
        mmap private fixed at somewhere currently unmapped
        mmap private fixed at somewhere already mapped
        mmap shared not fixed
        mmap shared fixed at somewhere currently unmapped
        mmap shared fixed at somewhere already mapped
   For private mappings, we should verify that changes cannot be read()
   back from the file, nor mmap's back from the file at a different
   address.  (There have been systems where private was not correctly
   implemented like the infamous i386 svr4.0, and systems where the
   VM page cache was not coherent with the file system buffer cache
   like early versions of FreeBSD and possibly contemporary NetBSD.)
   For shared mappings, we should conversely verify that changes get
   propagated back to all the places they're supposed to be.

   Grep wants private fixed already mapped.
   The main things grep needs to know about mmap are:
   * does it exist and is it safe to write into the mmap'd area
   * how to use it (BSD variants)  */

#include <fcntl.h>
#include <sys/mman.h>

#if !STDC_HEADERS && !HAVE_STDLIB_H
char *malloc ();
#endif

/* This mess was copied from the GNU getpagesize.h.  */
#if !HAVE_GETPAGESIZE
/* Assume that all systems that can run configure have sys/param.h.  */
# if !HAVE_SYS_PARAM_H
#  define HAVE_SYS_PARAM_H 1
# endif

# ifdef _SC_PAGESIZE
#  define getpagesize() sysconf(_SC_PAGESIZE)
# else /* no _SC_PAGESIZE */
#  if HAVE_SYS_PARAM_H
#   include <sys/param.h>
#   ifdef EXEC_PAGESIZE
#    define getpagesize() EXEC_PAGESIZE
#   else /* no EXEC_PAGESIZE */
#    ifdef NBPG
#     define getpagesize() NBPG * CLSIZE
#     ifndef CLSIZE
#      define CLSIZE 1
#     endif /* no CLSIZE */
#    else /* no NBPG */
#     ifdef NBPC
#      define getpagesize() NBPC
#     else /* no NBPC */
#      ifdef PAGESIZE
#       define getpagesize() PAGESIZE
#      endif /* PAGESIZE */
#     endif /* no NBPC */
#    endif /* no NBPG */
#   endif /* no EXEC_PAGESIZE */
#  else /* no HAVE_SYS_PARAM_H */
#   define getpagesize() 8192   /* punt totally */
#  endif /* no HAVE_SYS_PARAM_H */
# endif /* no _SC_PAGESIZE */

#endif /* no HAVE_GETPAGESIZE */

int
main ()
{
  char *data, *data2, *data3;
  int i, pagesize;
  int fd;

  pagesize = getpagesize ();

  /* First, make a file with some known garbage in it. */
  data = (char *) malloc (pagesize);
  if (!data)
    exit (1);
  for (i = 0; i < pagesize; ++i)
    *(data + i) = rand ();
  umask (0);
  fd = creat ("conftest.mmap", 0600);
  if (fd < 0)
    exit (1);
  if (write (fd, data, pagesize) != pagesize)
    exit (1);
  close (fd);

  /* Next, try to mmap the file at a fixed address which already has
     something else allocated at it.  If we can, also make sure that
     we see the same garbage.  */
  fd = open ("conftest.mmap", O_RDWR);
  if (fd < 0)
    exit (1);
  data2 = (char *) malloc (2 * pagesize);
  if (!data2)
    exit (1);
  data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
  if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
                     MAP_PRIVATE | MAP_FIXED, fd, 0L))
    exit (1);
  for (i = 0; i < pagesize; ++i)
    if (*(data + i) != *(data2 + i))
      exit (1);

  /* Finally, make sure that changes to the mapped area do not
     percolate back to the file as seen by read().  (This is a bug on
     some variants of i386 svr4.0.)  */
  for (i = 0; i < pagesize; ++i)
    *(data2 + i) = *(data2 + i) + 1;
  data3 = (char *) malloc (pagesize);
  if (!data3)
    exit (1);
  if (read (fd, data3, pagesize) != pagesize)
    exit (1);
  for (i = 0; i < pagesize; ++i)
    if (*(data + i) != *(data3 + i))
      exit (1);
  close (fd);
  exit (0);
}
_ACEOF
rm -f conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_func_mmap_fixed_mapped=yes
else
  echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

( exit $ac_status )
ac_cv_func_mmap_fixed_mapped=no
fi
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext 
conftest.$ac_ext
fi
fi
echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
if test $ac_cv_func_mmap_fixed_mapped = yes; then

cat >>confdefs.h <<\_ACEOF
#define HAVE_MMAP 1
_ACEOF

fi
rm -f conftest.mmap


    echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 
or newer" >&5
echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... 
$ECHO_C" >&6
if test "${ac_cv_gnu_library_2_1+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

#include <features.h>
#ifdef __GNU_LIBRARY__
 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
  Lucky GNU user
 #endif
#endif

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "Lucky GNU user" >/dev/null 2>&1; then
  ac_cv_gnu_library_2_1=yes
else
  ac_cv_gnu_library_2_1=no
fi
rm -f conftest*



fi
echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6

    GLIBC21="$ac_cv_gnu_library_2_1"




  echo "$as_me:$LINENO: checking whether integer division by zero raises 
SIGFPE" >&5
echo $ECHO_N "checking whether integer division by zero raises SIGFPE... 
$ECHO_C" >&6
if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

      if test "$cross_compiling" = yes; then

          # Guess based on the CPU.
          case "$host_cpu" in
            alpha* | i3456786 | m68k | s390*)
              gt_cv_int_divbyzero_sigfpe="guessing yes";;
            *)
              gt_cv_int_divbyzero_sigfpe="guessing no";;
          esac

else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

#include <stdlib.h>
#include <signal.h>

static void
#ifdef __cplusplus
sigfpe_handler (int sig)
#else
sigfpe_handler (sig) int sig;
#endif
{
  /* Exit with code 0 if SIGFPE, with code 1 if any other signal.  */
  exit (sig != SIGFPE);
}

int x = 1;
int y = 0;
int z;
int nan;

int main ()
{
  signal (SIGFPE, sigfpe_handler);
/* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP.  */
#if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
  signal (SIGTRAP, sigfpe_handler);
#endif
/* Linux/SPARC yields signal SIGILL.  */
#if defined (__sparc__) && defined (__linux__)
  signal (SIGILL, sigfpe_handler);
#endif

  z = x / y;
  nan = y / y;
  exit (1);
}

_ACEOF
rm -f conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  gt_cv_int_divbyzero_sigfpe=yes
else
  echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

( exit $ac_status )
gt_cv_int_divbyzero_sigfpe=no
fi
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext 
conftest.$ac_ext
fi

fi
echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5
echo "${ECHO_T}$gt_cv_int_divbyzero_sigfpe" >&6
  case "$gt_cv_int_divbyzero_sigfpe" in
    *yes) value=1;;
    *) value=0;;
  esac

cat >>confdefs.h <<_ACEOF
#define INTDIV0_RAISES_SIGFPE $value
_ACEOF



  echo "$as_me:$LINENO: checking for inttypes.h" >&5
echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
if test "${jm_ac_cv_header_inttypes_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <sys/types.h>
#include <inttypes.h>
int
main ()
{
uintmax_t i = (uintmax_t) -1;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  jm_ac_cv_header_inttypes_h=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

jm_ac_cv_header_inttypes_h=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $jm_ac_cv_header_inttypes_h" >&5
echo "${ECHO_T}$jm_ac_cv_header_inttypes_h" >&6
  if test $jm_ac_cv_header_inttypes_h = yes; then

cat >>confdefs.h <<_ACEOF
#define HAVE_INTTYPES_H_WITH_UINTMAX 1
_ACEOF

  fi


  echo "$as_me:$LINENO: checking for stdint.h" >&5
echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
if test "${jm_ac_cv_header_stdint_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <sys/types.h>
#include <stdint.h>
int
main ()
{
uintmax_t i = (uintmax_t) -1;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  jm_ac_cv_header_stdint_h=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

jm_ac_cv_header_stdint_h=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $jm_ac_cv_header_stdint_h" >&5
echo "${ECHO_T}$jm_ac_cv_header_stdint_h" >&6
  if test $jm_ac_cv_header_stdint_h = yes; then

cat >>confdefs.h <<_ACEOF
#define HAVE_STDINT_H_WITH_UINTMAX 1
_ACEOF

  fi


  echo "$as_me:$LINENO: checking for unsigned long long" >&5
echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
if test "${ac_cv_type_unsigned_long_long+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
unsigned long long ull = 1; int i = 63;
int
main ()
{
unsigned long long ullmax = (unsigned long long) -1;
     return ull << i | ull >> i | ullmax / ull | ullmax % ull;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_type_unsigned_long_long=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_type_unsigned_long_long=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
  if test $ac_cv_type_unsigned_long_long = yes; then

cat >>confdefs.h <<\_ACEOF
#define HAVE_UNSIGNED_LONG_LONG 1
_ACEOF

  fi




  if test $jm_ac_cv_header_inttypes_h = no && test $jm_ac_cv_header_stdint_h = 
no; then

    test $ac_cv_type_unsigned_long_long = yes \
      && ac_type='unsigned long long' \
      || ac_type='unsigned long'

cat >>confdefs.h <<_ACEOF
#define uintmax_t $ac_type
_ACEOF

  fi


  echo "$as_me:$LINENO: checking for inttypes.h" >&5
echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
if test "${gt_cv_header_inttypes_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

    cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <sys/types.h>
#include <inttypes.h>
int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  gt_cv_header_inttypes_h=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

gt_cv_header_inttypes_h=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext

fi
echo "$as_me:$LINENO: result: $gt_cv_header_inttypes_h" >&5
echo "${ECHO_T}$gt_cv_header_inttypes_h" >&6
  if test $gt_cv_header_inttypes_h = yes; then

cat >>confdefs.h <<_ACEOF
#define HAVE_INTTYPES_H 1
_ACEOF

  fi



  if test $gt_cv_header_inttypes_h = yes; then
    echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are 
broken" >&5
echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... 
$ECHO_C" >&6
if test "${gt_cv_inttypes_pri_broken+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

        cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <inttypes.h>
#ifdef PRId32
char *p = PRId32;
#endif

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  gt_cv_inttypes_pri_broken=no
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

gt_cv_inttypes_pri_broken=yes
fi
rm -f conftest.$ac_objext conftest.$ac_ext

fi
echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5
echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6
  fi
  if test "$gt_cv_inttypes_pri_broken" = yes; then

cat >>confdefs.h <<_ACEOF
#define PRI_MACROS_BROKEN 1
_ACEOF

  fi


      if test "X$prefix" = "XNONE"; then
    acl_final_prefix="$ac_default_prefix"
  else
    acl_final_prefix="$prefix"
  fi
  if test "X$exec_prefix" = "XNONE"; then
    acl_final_exec_prefix='${prefix}'
  else
    acl_final_exec_prefix="$exec_prefix"
  fi
  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
  prefix="$acl_save_prefix"


# Check whether --with-gnu-ld or --without-gnu-ld was given.
if test "${with_gnu_ld+set}" = set; then
  withval="$with_gnu_ld"
  test "$withval" = no || with_gnu_ld=yes
else
  with_gnu_ld=no
fi;
ac_prog=ld
if test "$GCC" = yes; then
  # Check if gcc -print-prog-name=ld gives a path.
  echo "$as_me:$LINENO: checking for ld used by GCC" >&5
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
  case $host in
  *-*-mingw*)
    # gcc leaves a trailing carriage return which upsets mingw
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  *)
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  esac
  case $ac_prog in
    # Accept absolute paths.
    [\\/]* | [A-Za-z]:[\\/]*)
      re_direlt='/[^/][^/]*/\.\./'
      # Canonicalize the path of ld
      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
      done
      test -z "$LD" && LD="$ac_prog"
      ;;
  "")
    # If it fails, then pretend we aren't using GCC.
    ac_prog=ld
    ;;
  *)
    # If it is relative, then search for the first ld in PATH.
    with_gnu_ld=unknown
    ;;
  esac
elif test "$with_gnu_ld" = yes; then
  echo "$as_me:$LINENO: checking for GNU ld" >&5
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
else
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
fi
if test "${acl_cv_path_LD+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -z "$LD"; then
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
  for ac_dir in $PATH; do
    test -z "$ac_dir" && ac_dir=.
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
      acl_cv_path_LD="$ac_dir/$ac_prog"
      # Check to see if the program is GNU ld.  I'd rather use --version,
      # but apparently some GNU ld's only accept -v.
      # Break only if it was the GNU/non-GNU ld that we prefer.
      if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > 
/dev/null; then
        test "$with_gnu_ld" != no && break
      else
        test "$with_gnu_ld" != yes && break
      fi
    fi
  done
  IFS="$ac_save_ifs"
else
  acl_cv_path_LD="$LD" # Let the user override the test with a path.
fi
fi

LD="$acl_cv_path_LD"
if test -n "$LD"; then
  echo "$as_me:$LINENO: result: $LD" >&5
echo "${ECHO_T}$LD" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in 
\$PATH" >&5
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   { (exit 1); exit 1; }; }
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
if test "${acl_cv_prog_gnu_ld+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
  acl_cv_prog_gnu_ld=yes
else
  acl_cv_prog_gnu_ld=no
fi
fi
echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
with_gnu_ld=$acl_cv_prog_gnu_ld



                                                echo "$as_me:$LINENO: checking 
for shared library run path origin" >&5
echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
if test "${acl_cv_rpath+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
    . ./conftest.sh
    rm -f ./conftest.sh
    acl_cv_rpath=done

fi
echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
echo "${ECHO_T}$acl_cv_rpath" >&6
  wl="$acl_cv_wl"
  libext="$acl_cv_libext"
  shlibext="$acl_cv_shlibext"
  hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
  hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
  hardcode_direct="$acl_cv_hardcode_direct"
  hardcode_minus_L="$acl_cv_hardcode_minus_L"
  sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec"
  sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec"
    # Check whether --enable-rpath or --disable-rpath was given.
if test "${enable_rpath+set}" = set; then
  enableval="$enable_rpath"
  :
else
  enable_rpath=yes
fi;







    use_additional=yes

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"

    eval additional_includedir=\"$includedir\"
    eval additional_libdir=\"$libdir\"

  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"


# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
if test "${with_libiconv_prefix+set}" = set; then
  withval="$with_libiconv_prefix"

    if test "X$withval" = "Xno"; then
      use_additional=no
    else
      if test "X$withval" = "X"; then

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"

          eval additional_includedir=\"$includedir\"
          eval additional_libdir=\"$libdir\"

  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

      else
        additional_includedir="$withval/include"
        additional_libdir="$withval/lib"
      fi
    fi

fi;
      LIBICONV=
  LTLIBICONV=
  INCICONV=
  rpathdirs=
  ltrpathdirs=
  names_already_handled=
  names_next_round='iconv '
  while test -n "$names_next_round"; do
    names_this_round="$names_next_round"
    names_next_round=
    for name in $names_this_round; do
      already_handled=
      for n in $names_already_handled; do
        if test "$n" = "$name"; then
          already_handled=yes
          break
        fi
      done
      if test -z "$already_handled"; then
        names_already_handled="$names_already_handled $name"
                        uppername=`echo "$name" | sed -e 
'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
        eval value=\"\$HAVE_LIB$uppername\"
        if test -n "$value"; then
          if test "$value" = yes; then
            eval value=\"\$LIB$uppername\"
            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
            eval value=\"\$LTLIB$uppername\"
            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
          else
                                    :
          fi
        else
                              found_dir=
          found_la=
          found_so=
          found_a=
          if test $use_additional = yes; then
            if test -n "$shlibext" && test -f 
"$additional_libdir/lib$name.$shlibext"; then
              found_dir="$additional_libdir"
              found_so="$additional_libdir/lib$name.$shlibext"
              if test -f "$additional_libdir/lib$name.la"; then
                found_la="$additional_libdir/lib$name.la"
              fi
            else
              if test -f "$additional_libdir/lib$name.$libext"; then
                found_dir="$additional_libdir"
                found_a="$additional_libdir/lib$name.$libext"
                if test -f "$additional_libdir/lib$name.la"; then
                  found_la="$additional_libdir/lib$name.la"
                fi
              fi
            fi
          fi
          if test "X$found_dir" = "X"; then
            for x in $LDFLAGS $LTLIBICONV; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=\"$x\"
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

              case "$x" in
                -L*)
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
                  if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; 
then
                    found_dir="$dir"
                    found_so="$dir/lib$name.$shlibext"
                    if test -f "$dir/lib$name.la"; then
                      found_la="$dir/lib$name.la"
                    fi
                  else
                    if test -f "$dir/lib$name.$libext"; then
                      found_dir="$dir"
                      found_a="$dir/lib$name.$libext"
                      if test -f "$dir/lib$name.la"; then
                        found_la="$dir/lib$name.la"
                      fi
                    fi
                  fi
                  ;;
              esac
              if test "X$found_dir" != "X"; then
                break
              fi
            done
          fi
          if test "X$found_dir" != "X"; then
                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir 
-l$name"
            if test "X$found_so" != "X"; then
                                                        if test "$enable_rpath" 
= no || test "X$found_dir" = "X/usr/lib"; then
                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
              else
                                                                                
haveit=
                for x in $ltrpathdirs; do
                  if test "X$x" = "X$found_dir"; then
                    haveit=yes
                    break
                  fi
                done
                if test -z "$haveit"; then
                  ltrpathdirs="$ltrpathdirs $found_dir"
                fi
                                if test "$hardcode_direct" = yes; then
                                                      
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
                else
                  if test -n "$hardcode_libdir_flag_spec" && test 
"$hardcode_minus_L" = no; then
                                                            
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
                                                            haveit=
                    for x in $rpathdirs; do
                      if test "X$x" = "X$found_dir"; then
                        haveit=yes
                        break
                      fi
                    done
                    if test -z "$haveit"; then
                      rpathdirs="$rpathdirs $found_dir"
                    fi
                  else
                                                                                
haveit=
                    for x in $LDFLAGS $LIBICONV; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=\"$x\"
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

                      if test "X$x" = "X-L$found_dir"; then
                        haveit=yes
                        break
                      fi
                    done
                    if test -z "$haveit"; then
                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
                    fi
                    if test "$hardcode_minus_L" != no; then
                                                                                
        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
                    else
                                                                                
                                                                                
                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
                    fi
                  fi
                fi
              fi
            else
              if test "X$found_a" != "X"; then
                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
              else
                                                
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
              fi
            fi
                        additional_includedir=
            case "$found_dir" in
              */lib | */lib/)
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
                additional_includedir="$basedir/include"
                ;;
            esac
            if test "X$additional_includedir" != "X"; then
                                                                                
                                if test "X$additional_includedir" != 
"X/usr/include"; then
                haveit=
                if test "X$additional_includedir" = "X/usr/local/include"; then
                  if test -n "$GCC"; then
                    case $host_os in
                      linux*) haveit=yes;;
                    esac
                  fi
                fi
                if test -z "$haveit"; then
                  for x in $CPPFLAGS $INCICONV; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=\"$x\"
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

                    if test "X$x" = "X-I$additional_includedir"; then
                      haveit=yes
                      break
                    fi
                  done
                  if test -z "$haveit"; then
                    if test -d "$additional_includedir"; then
                                            INCICONV="${INCICONV}${INCICONV:+ 
}-I$additional_includedir"
                    fi
                  fi
                fi
              fi
            fi
                        if test -n "$found_la"; then
                                                        save_libdir="$libdir"
              case "$found_la" in
                */* | *\\*) . "$found_la" ;;
                *) . "./$found_la" ;;
              esac
              libdir="$save_libdir"
                            for dep in $dependency_libs; do
                case "$dep" in
                  -L*)
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
                                                                                
                                                                                
if test "X$additional_libdir" != "X/usr/lib"; then
                      haveit=
                      if test "X$additional_libdir" = "X/usr/local/lib"; then
                        if test -n "$GCC"; then
                          case $host_os in
                            linux*) haveit=yes;;
                          esac
                        fi
                      fi
                      if test -z "$haveit"; then
                        haveit=
                        for x in $LDFLAGS $LIBICONV; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=\"$x\"
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

                          if test "X$x" = "X-L$additional_libdir"; then
                            haveit=yes
                            break
                          fi
                        done
                        if test -z "$haveit"; then
                          if test -d "$additional_libdir"; then
                                                        
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
                          fi
                        fi
                        haveit=
                        for x in $LDFLAGS $LTLIBICONV; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=\"$x\"
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

                          if test "X$x" = "X-L$additional_libdir"; then
                            haveit=yes
                            break
                          fi
                        done
                        if test -z "$haveit"; then
                          if test -d "$additional_libdir"; then
                                                        
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
                          fi
                        fi
                      fi
                    fi
                    ;;
                  -R*)
                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
                    if test "$enable_rpath" != no; then
                                                                  haveit=
                      for x in $rpathdirs; do
                        if test "X$x" = "X$dir"; then
                          haveit=yes
                          break
                        fi
                      done
                      if test -z "$haveit"; then
                        rpathdirs="$rpathdirs $dir"
                      fi
                                                                  haveit=
                      for x in $ltrpathdirs; do
                        if test "X$x" = "X$dir"; then
                          haveit=yes
                          break
                        fi
                      done
                      if test -z "$haveit"; then
                        ltrpathdirs="$ltrpathdirs $dir"
                      fi
                    fi
                    ;;
                  -l*)
                                        names_next_round="$names_next_round 
"`echo "X$dep" | sed -e 's/^X-l//'`
                    ;;
                  *.la)
                                                                                
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 
's,^lib,,' -e 's,\.la$,,'`
                    ;;
                  *)
                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
                    ;;
                esac
              done
            fi
          else
                                                            
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
          fi
        fi
      fi
    done
  done
  if test "X$rpathdirs" != "X"; then
    if test -n "$hardcode_libdir_separator"; then
                        alldirs=
      for found_dir in $rpathdirs; do
        alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
      done
            acl_save_libdir="$libdir"
      libdir="$alldirs"
      eval flag=\"$hardcode_libdir_flag_spec\"
      libdir="$acl_save_libdir"
      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
    else
            for found_dir in $rpathdirs; do
        acl_save_libdir="$libdir"
        libdir="$found_dir"
        eval flag=\"$hardcode_libdir_flag_spec\"
        libdir="$acl_save_libdir"
        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
      done
    fi
  fi
  if test "X$ltrpathdirs" != "X"; then
            for found_dir in $ltrpathdirs; do
      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
    done
  fi














for ac_header in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
stdlib.h string.h unistd.h sys/param.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

fi

done






















for ac_func in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char $ac_func ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != $ac_func;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_var=yes"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF

fi
done







          am_save_CPPFLAGS="$CPPFLAGS"

  for element in $INCICONV; do
    haveit=
    for x in $CPPFLAGS; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=\"$x\"
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

      if test "X$x" = "X$element"; then
        haveit=yes
        break
      fi
    done
    if test -z "$haveit"; then
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
    fi
  done


  echo "$as_me:$LINENO: checking for iconv" >&5
echo $ECHO_N "checking for iconv... $ECHO_C" >&6
if test "${am_cv_func_iconv+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

    am_cv_func_iconv="no, consider installing GNU libiconv"
    am_cv_lib_iconv=no
    cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <stdlib.h>
#include <iconv.h>
int
main ()
{
iconv_t cd = iconv_open("","");
       iconv(cd,NULL,NULL,NULL,NULL);
       iconv_close(cd);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  am_cv_func_iconv=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    if test "$am_cv_func_iconv" != yes; then
      am_save_LIBS="$LIBS"
      LIBS="$LIBS $LIBICONV"
      cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <stdlib.h>
#include <iconv.h>
int
main ()
{
iconv_t cd = iconv_open("","");
         iconv(cd,NULL,NULL,NULL,NULL);
         iconv_close(cd);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  am_cv_lib_iconv=yes
        am_cv_func_iconv=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
      LIBS="$am_save_LIBS"
    fi

fi
echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
echo "${ECHO_T}$am_cv_func_iconv" >&6
  if test "$am_cv_func_iconv" = yes; then

cat >>confdefs.h <<\_ACEOF
#define HAVE_ICONV 1
_ACEOF

  fi
  if test "$am_cv_lib_iconv" = yes; then
    echo "$as_me:$LINENO: checking how to link with libiconv" >&5
echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
    echo "$as_me:$LINENO: result: $LIBICONV" >&5
echo "${ECHO_T}$LIBICONV" >&6
  else
            CPPFLAGS="$am_save_CPPFLAGS"
    LIBICONV=
    LTLIBICONV=
  fi



  if test "$am_cv_func_iconv" = yes; then
    echo "$as_me:$LINENO: checking for iconv declaration" >&5
echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
    if test "${am_cv_proto_iconv+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

      cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

#include <stdlib.h>
#include <iconv.h>
extern
#ifdef __cplusplus
"C"
#endif
#if defined(__STDC__) || defined(__cplusplus)
size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, 
size_t *outbytesleft);
#else
size_t iconv();
#endif

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  am_cv_proto_iconv_arg1=""
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

am_cv_proto_iconv_arg1="const"
fi
rm -f conftest.$ac_objext conftest.$ac_ext
      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);"
fi

    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
    echo "$as_me:$LINENO: result: ${ac_t:-
         }$am_cv_proto_iconv" >&5
echo "${ECHO_T}${ac_t:-
         }$am_cv_proto_iconv" >&6

cat >>confdefs.h <<_ACEOF
#define ICONV_CONST $am_cv_proto_iconv_arg1
_ACEOF

  fi


  echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
if test "${am_cv_langinfo_codeset+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <langinfo.h>
int
main ()
{
char* cs = nl_langinfo(CODESET);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  am_cv_langinfo_codeset=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

am_cv_langinfo_codeset=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext

fi
echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
  if test $am_cv_langinfo_codeset = yes; then

cat >>confdefs.h <<\_ACEOF
#define HAVE_LANGINFO_CODESET 1
_ACEOF

  fi

  if test $ac_cv_header_locale_h = yes; then

  echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <locale.h>
int
main ()
{
return LC_MESSAGES
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  am_cv_val_LC_MESSAGES=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

am_cv_val_LC_MESSAGES=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
  if test $am_cv_val_LC_MESSAGES = yes; then

cat >>confdefs.h <<\_ACEOF
#define HAVE_LC_MESSAGES 1
_ACEOF

  fi

  fi

                      for ac_prog in bison
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_INTLBISON+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$INTLBISON"; then
  ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_INTLBISON="$ac_prog"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

fi
fi
INTLBISON=$ac_cv_prog_INTLBISON
if test -n "$INTLBISON"; then
  echo "$as_me:$LINENO: result: $INTLBISON" >&5
echo "${ECHO_T}$INTLBISON" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  test -n "$INTLBISON" && break
done

  if test -z "$INTLBISON"; then
    ac_verc_fail=yes
  else
        echo "$as_me:$LINENO: checking version of bison" >&5
echo $ECHO_N "checking version of bison... $ECHO_C" >&6
    ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* 
\([0-9]*\.[0-9.]*\).*$/\1/p'`
    case $ac_prog_version in
      '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
      1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
         ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
      *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
    esac
    echo "$as_me:$LINENO: result: $ac_prog_version" >&5
echo "${ECHO_T}$ac_prog_version" >&6
  fi
  if test $ac_verc_fail = yes; then
    INTLBISON=:
  fi















  echo "$as_me:$LINENO: checking whether NLS is requested" >&5
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
    # Check whether --enable-nls or --disable-nls was given.
if test "${enable_nls+set}" = set; then
  enableval="$enable_nls"
  USE_NLS=$enableval
else
  USE_NLS=yes
fi;
  echo "$as_me:$LINENO: result: $USE_NLS" >&5
echo "${ECHO_T}$USE_NLS" >&6



    BUILD_INCLUDED_LIBINTL=no
    USE_INCLUDED_LIBINTL=no

  LIBINTL=
  LTLIBINTL=
  POSUB=

    if test "$USE_NLS" = "yes"; then
    gt_use_preinstalled_gnugettext=no

      echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6

# Check whether --with-included-gettext or --without-included-gettext was given.
if test "${with_included_gettext+set}" = set; then
  withval="$with_included_gettext"
  nls_cv_force_use_gnu_gettext=$withval
else
  nls_cv_force_use_gnu_gettext=no
fi;
      echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6

      nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
      if test "$nls_cv_force_use_gnu_gettext" != "yes"; then






        echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <libintl.h>
extern int _nl_msg_cat_cntr;
extern int *_nl_domain_bindings;
int
main ()
{
bindtextdomain ("", "");
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  gt_cv_func_gnugettext1_libc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

gt_cv_func_gnugettext1_libc=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6

        if test "$gt_cv_func_gnugettext1_libc" != "yes"; then



    use_additional=yes

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"

    eval additional_includedir=\"$includedir\"
    eval additional_libdir=\"$libdir\"

  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"


# Check whether --with-libintl-prefix or --without-libintl-prefix was given.
if test "${with_libintl_prefix+set}" = set; then
  withval="$with_libintl_prefix"

    if test "X$withval" = "Xno"; then
      use_additional=no
    else
      if test "X$withval" = "X"; then

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"

          eval additional_includedir=\"$includedir\"
          eval additional_libdir=\"$libdir\"

  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

      else
        additional_includedir="$withval/include"
        additional_libdir="$withval/lib"
      fi
    fi

fi;
      LIBINTL=
  LTLIBINTL=
  INCINTL=
  rpathdirs=
  ltrpathdirs=
  names_already_handled=
  names_next_round='intl '
  while test -n "$names_next_round"; do
    names_this_round="$names_next_round"
    names_next_round=
    for name in $names_this_round; do
      already_handled=
      for n in $names_already_handled; do
        if test "$n" = "$name"; then
          already_handled=yes
          break
        fi
      done
      if test -z "$already_handled"; then
        names_already_handled="$names_already_handled $name"
                        uppername=`echo "$name" | sed -e 
'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
        eval value=\"\$HAVE_LIB$uppername\"
        if test -n "$value"; then
          if test "$value" = yes; then
            eval value=\"\$LIB$uppername\"
            test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
            eval value=\"\$LTLIB$uppername\"
            test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
          else
                                    :
          fi
        else
                              found_dir=
          found_la=
          found_so=
          found_a=
          if test $use_additional = yes; then
            if test -n "$shlibext" && test -f 
"$additional_libdir/lib$name.$shlibext"; then
              found_dir="$additional_libdir"
              found_so="$additional_libdir/lib$name.$shlibext"
              if test -f "$additional_libdir/lib$name.la"; then
                found_la="$additional_libdir/lib$name.la"
              fi
            else
              if test -f "$additional_libdir/lib$name.$libext"; then
                found_dir="$additional_libdir"
                found_a="$additional_libdir/lib$name.$libext"
                if test -f "$additional_libdir/lib$name.la"; then
                  found_la="$additional_libdir/lib$name.la"
                fi
              fi
            fi
          fi
          if test "X$found_dir" = "X"; then
            for x in $LDFLAGS $LTLIBINTL; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=\"$x\"
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

              case "$x" in
                -L*)
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
                  if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; 
then
                    found_dir="$dir"
                    found_so="$dir/lib$name.$shlibext"
                    if test -f "$dir/lib$name.la"; then
                      found_la="$dir/lib$name.la"
                    fi
                  else
                    if test -f "$dir/lib$name.$libext"; then
                      found_dir="$dir"
                      found_a="$dir/lib$name.$libext"
                      if test -f "$dir/lib$name.la"; then
                        found_la="$dir/lib$name.la"
                      fi
                    fi
                  fi
                  ;;
              esac
              if test "X$found_dir" != "X"; then
                break
              fi
            done
          fi
          if test "X$found_dir" != "X"; then
                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir 
-l$name"
            if test "X$found_so" != "X"; then
                                                        if test "$enable_rpath" 
= no || test "X$found_dir" = "X/usr/lib"; then
                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
              else
                                                                                
haveit=
                for x in $ltrpathdirs; do
                  if test "X$x" = "X$found_dir"; then
                    haveit=yes
                    break
                  fi
                done
                if test -z "$haveit"; then
                  ltrpathdirs="$ltrpathdirs $found_dir"
                fi
                                if test "$hardcode_direct" = yes; then
                                                      
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
                else
                  if test -n "$hardcode_libdir_flag_spec" && test 
"$hardcode_minus_L" = no; then
                                                            
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
                                                            haveit=
                    for x in $rpathdirs; do
                      if test "X$x" = "X$found_dir"; then
                        haveit=yes
                        break
                      fi
                    done
                    if test -z "$haveit"; then
                      rpathdirs="$rpathdirs $found_dir"
                    fi
                  else
                                                                                
haveit=
                    for x in $LDFLAGS $LIBINTL; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=\"$x\"
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

                      if test "X$x" = "X-L$found_dir"; then
                        haveit=yes
                        break
                      fi
                    done
                    if test -z "$haveit"; then
                      LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
                    fi
                    if test "$hardcode_minus_L" != no; then
                                                                                
        LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
                    else
                                                                                
                                                                                
                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
                    fi
                  fi
                fi
              fi
            else
              if test "X$found_a" != "X"; then
                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
              else
                                                LIBINTL="${LIBINTL}${LIBINTL:+ 
}-L$found_dir -l$name"
              fi
            fi
                        additional_includedir=
            case "$found_dir" in
              */lib | */lib/)
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
                additional_includedir="$basedir/include"
                ;;
            esac
            if test "X$additional_includedir" != "X"; then
                                                                                
                                if test "X$additional_includedir" != 
"X/usr/include"; then
                haveit=
                if test "X$additional_includedir" = "X/usr/local/include"; then
                  if test -n "$GCC"; then
                    case $host_os in
                      linux*) haveit=yes;;
                    esac
                  fi
                fi
                if test -z "$haveit"; then
                  for x in $CPPFLAGS $INCINTL; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=\"$x\"
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

                    if test "X$x" = "X-I$additional_includedir"; then
                      haveit=yes
                      break
                    fi
                  done
                  if test -z "$haveit"; then
                    if test -d "$additional_includedir"; then
                                            INCINTL="${INCINTL}${INCINTL:+ 
}-I$additional_includedir"
                    fi
                  fi
                fi
              fi
            fi
                        if test -n "$found_la"; then
                                                        save_libdir="$libdir"
              case "$found_la" in
                */* | *\\*) . "$found_la" ;;
                *) . "./$found_la" ;;
              esac
              libdir="$save_libdir"
                            for dep in $dependency_libs; do
                case "$dep" in
                  -L*)
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
                                                                                
                                                                                
if test "X$additional_libdir" != "X/usr/lib"; then
                      haveit=
                      if test "X$additional_libdir" = "X/usr/local/lib"; then
                        if test -n "$GCC"; then
                          case $host_os in
                            linux*) haveit=yes;;
                          esac
                        fi
                      fi
                      if test -z "$haveit"; then
                        haveit=
                        for x in $LDFLAGS $LIBINTL; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=\"$x\"
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

                          if test "X$x" = "X-L$additional_libdir"; then
                            haveit=yes
                            break
                          fi
                        done
                        if test -z "$haveit"; then
                          if test -d "$additional_libdir"; then
                                                        
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
                          fi
                        fi
                        haveit=
                        for x in $LDFLAGS $LTLIBINTL; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=\"$x\"
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

                          if test "X$x" = "X-L$additional_libdir"; then
                            haveit=yes
                            break
                          fi
                        done
                        if test -z "$haveit"; then
                          if test -d "$additional_libdir"; then
                                                        
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
                          fi
                        fi
                      fi
                    fi
                    ;;
                  -R*)
                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
                    if test "$enable_rpath" != no; then
                                                                  haveit=
                      for x in $rpathdirs; do
                        if test "X$x" = "X$dir"; then
                          haveit=yes
                          break
                        fi
                      done
                      if test -z "$haveit"; then
                        rpathdirs="$rpathdirs $dir"
                      fi
                                                                  haveit=
                      for x in $ltrpathdirs; do
                        if test "X$x" = "X$dir"; then
                          haveit=yes
                          break
                        fi
                      done
                      if test -z "$haveit"; then
                        ltrpathdirs="$ltrpathdirs $dir"
                      fi
                    fi
                    ;;
                  -l*)
                                        names_next_round="$names_next_round 
"`echo "X$dep" | sed -e 's/^X-l//'`
                    ;;
                  *.la)
                                                                                
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 
's,^lib,,' -e 's,\.la$,,'`
                    ;;
                  *)
                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
                    ;;
                esac
              done
            fi
          else
                                                            
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
          fi
        fi
      fi
    done
  done
  if test "X$rpathdirs" != "X"; then
    if test -n "$hardcode_libdir_separator"; then
                        alldirs=
      for found_dir in $rpathdirs; do
        alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
      done
            acl_save_libdir="$libdir"
      libdir="$alldirs"
      eval flag=\"$hardcode_libdir_flag_spec\"
      libdir="$acl_save_libdir"
      LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
    else
            for found_dir in $rpathdirs; do
        acl_save_libdir="$libdir"
        libdir="$found_dir"
        eval flag=\"$hardcode_libdir_flag_spec\"
        libdir="$acl_save_libdir"
        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
      done
    fi
  fi
  if test "X$ltrpathdirs" != "X"; then
            for found_dir in $ltrpathdirs; do
      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
    done
  fi

          echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  gt_save_CPPFLAGS="$CPPFLAGS"
            CPPFLAGS="$CPPFLAGS $INCINTL"
            gt_save_LIBS="$LIBS"
            LIBS="$LIBS $LIBINTL"
                        cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <libintl.h>
extern int _nl_msg_cat_cntr;
extern
#ifdef __cplusplus
"C"
#endif
const char *_nl_expand_alias ();
int
main ()
{
bindtextdomain ("", "");
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  gt_cv_func_gnugettext1_libintl=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

gt_cv_func_gnugettext1_libintl=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                        if test "$gt_cv_func_gnugettext1_libintl" != yes && 
test -n "$LIBICONV"; then
              LIBS="$LIBS $LIBICONV"
              cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <libintl.h>
extern int _nl_msg_cat_cntr;
extern
#ifdef __cplusplus
"C"
#endif
const char *_nl_expand_alias ();
int
main ()
{
bindtextdomain ("", "");
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  LIBINTL="$LIBINTL $LIBICONV"
                LTLIBINTL="$LTLIBINTL $LTLIBICONV"
                gt_cv_func_gnugettext1_libintl=yes

else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
            fi
            CPPFLAGS="$gt_save_CPPFLAGS"
            LIBS="$gt_save_LIBS"
fi
echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
        fi

                                        if test "$gt_cv_func_gnugettext1_libc" 
= "yes" \
           || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
                && test "$PACKAGE" != gettext; }; then
          gt_use_preinstalled_gnugettext=yes
        else
                    LIBINTL=
          LTLIBINTL=
          INCINTL=
        fi


        if test "$gt_use_preinstalled_gnugettext" != "yes"; then
                              nls_cv_use_gnu_gettext=yes
        fi
      fi

      if test "$nls_cv_use_gnu_gettext" = "yes"; then
                INTLOBJS="\$(GETTOBJS)"
        BUILD_INCLUDED_LIBINTL=yes
        USE_INCLUDED_LIBINTL=yes
        LIBINTL="\${top_builddir}/intl/libintl.a $LIBICONV"
        LTLIBINTL="\${top_builddir}/intl/libintl.a $LTLIBICONV"
        LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
      fi

      if test "$gt_use_preinstalled_gnugettext" = "yes" \
         || test "$nls_cv_use_gnu_gettext" = "yes"; then
                CATOBJEXT=.gmo
      fi


    if test "$gt_use_preinstalled_gnugettext" = "yes" \
       || test "$nls_cv_use_gnu_gettext" = "yes"; then

cat >>confdefs.h <<\_ACEOF
#define ENABLE_NLS 1
_ACEOF

    else
      USE_NLS=no
    fi
  fi

  if test "$USE_NLS" = "yes"; then

    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
      if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
        echo "$as_me:$LINENO: checking how to link with libintl" >&5
echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
        echo "$as_me:$LINENO: result: $LIBINTL" >&5
echo "${ECHO_T}$LIBINTL" >&6

  for element in $INCINTL; do
    haveit=
    for x in $CPPFLAGS; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=\"$x\"
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

      if test "X$x" = "X$element"; then
        haveit=yes
        break
      fi
    done
    if test -z "$haveit"; then
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
    fi
  done

      fi


cat >>confdefs.h <<\_ACEOF
#define HAVE_GETTEXT 1
_ACEOF


cat >>confdefs.h <<\_ACEOF
#define HAVE_DCGETTEXT 1
_ACEOF

    fi

        POSUB=po
  fi


            if test "$PACKAGE" = gettext; then
      BUILD_INCLUDED_LIBINTL=yes
    fi






        nls_cv_header_intl=
    nls_cv_header_libgt=

        DATADIRNAME=share


        INSTOBJEXT=.mo


        GENCAT=gencat


        INTL_LIBTOOL_SUFFIX_PREFIX=



    INTLLIBS="$LIBINTL"






if test "${nls_cv_force_use_gnu_gettext}" = "yes"; then

cat >>confdefs.h <<\_ACEOF
#define HAVE_INCLUDED_GETTEXT 1
_ACEOF

  INCLUDES="${INCLUDES} -I\\\$(top_srcdir)/intl"
else

for ac_func in textdomain
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char $ac_func ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != $ac_func;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_var=yes"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF

else

    echo "$as_me:$LINENO: checking for textdomain in -lintl" >&5
echo $ECHO_N "checking for textdomain in -lintl... $ECHO_C" >&6
if test "${ac_cv_lib_intl_textdomain+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lintl ${LIBINTL}
     $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char textdomain ();
int
main ()
{
textdomain ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_intl_textdomain=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_intl_textdomain=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_textdomain" >&5
echo "${ECHO_T}$ac_cv_lib_intl_textdomain" >&6
if test $ac_cv_lib_intl_textdomain = yes; then
  LDFLAGS_vlc="${LDFLAGS_vlc} ${LIBINTL}"
fi


fi
done

fi


if test "${nls_cv_force_use_gnu_gettext}" = "yes"; then
  BUILD_INTL_TRUE=
  BUILD_INTL_FALSE='#'
else
  BUILD_INTL_TRUE='#'
  BUILD_INTL_FALSE=
fi

XGETTEXT="${XGETTEXT} --keyword=_NS --keyword=_ANS"

echo "$as_me:$LINENO: checking for suffix of libraries" >&5
echo $ECHO_N "checking for suffix of libraries... $ECHO_C" >&6
echo "$as_me:$LINENO: result: ${LIBEXT}" >&5
echo "${ECHO_T}${LIBEXT}" >&6

if test "${SYS}" = "mingw32"
then
    echo "$as_me:$LINENO: checking for opendir in -lmingwex" >&5
echo $ECHO_N "checking for opendir in -lmingwex... $ECHO_C" >&6
if test "${ac_cv_lib_mingwex_opendir+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lmingwex  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char opendir ();
int
main ()
{
opendir ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_mingwex_opendir=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_mingwex_opendir=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_mingwex_opendir" >&5
echo "${ECHO_T}$ac_cv_lib_mingwex_opendir" >&6
if test $ac_cv_lib_mingwex_opendir = yes; then
  echo "$as_me:$LINENO: checking for opendir in -lmingw32" >&5
echo $ECHO_N "checking for opendir in -lmingw32... $ECHO_C" >&6
if test "${ac_cv_lib_mingw32_opendir+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lmingw32  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char opendir ();
int
main ()
{
opendir ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_mingw32_opendir=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_mingw32_opendir=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_mingw32_opendir" >&5
echo "${ECHO_T}$ac_cv_lib_mingw32_opendir" >&6
if test $ac_cv_lib_mingw32_opendir = yes; then
  LDFLAGS_vlc="${LDFLAGS_vlc}"
else
  LDFLAGS_vlc="${LDFLAGS_vlc} -lmingwex"
             LDFLAGS_gtk="${LDFLAGS_gtk} -lmingwex"
fi


fi

fi

if test "${SYS}" = "mingw32"
then
    echo "$as_me:$LINENO: checking if \$CC accepts -mms-bitfields" >&5
echo $ECHO_N "checking if \$CC accepts -mms-bitfields... $ECHO_C" >&6
if test "${ac_cv_c_mms_bitfields+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  CFLAGS="${CFLAGS_save} -mms-bitfields"
         cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_mms_bitfields=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_c_mms_bitfields=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_c_mms_bitfields" >&5
echo "${ECHO_T}$ac_cv_c_mms_bitfields" >&6
    if test "${ac_cv_c_mms_bitfields}" != "no"; then
        CFLAGS_save="${CFLAGS_save} -mms-bitfields";
        CXXFLAGS_save="${CXXFLAGS_save} -mms-bitfields";
    else
        echo "$as_me:$LINENO: checking if \$CC accepts -fnative-struct" >&5
echo $ECHO_N "checking if \$CC accepts -fnative-struct... $ECHO_C" >&6
if test "${ac_cv_c_fnative_struct+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  CFLAGS="${CFLAGS_save} -fnative-struct"
             cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_fnative_struct=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_c_fnative_struct=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_c_fnative_struct" >&5
echo "${ECHO_T}$ac_cv_c_fnative_struct" >&6
        if test "${ac_cv_c_fnative_struct}" != "no"; then
            CFLAGS_save="${CFLAGS_save} -fnative-struct";
            CXXFLAGS_save="${CXXFLAGS_save} -fnative-struct";
        fi
    fi

    CFLAGS="${CFLAGS_save}"; CXXFLAGS="${CXXFLAGS_save}"
fi

if test "${SYS}" = "mingw32"
then
ac_ext=cc
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS 
conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu


echo "$as_me:$LINENO: checking if \$CXX accepts -fvtable-thunks" >&5
echo $ECHO_N "checking if \$CXX accepts -fvtable-thunks... $ECHO_C" >&6
if test "${ac_cv_cxx_fvtable_thunks+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  CXXFLAGS="${CXXFLAGS_save} -Wall -Werror -fvtable-thunks"
         cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_cxx_fvtable_thunks=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_cxx_fvtable_thunks=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_cxx_fvtable_thunks" >&5
echo "${ECHO_T}$ac_cv_cxx_fvtable_thunks" >&6
    if test "${ac_cv_cxx_fvtable_thunks}" = "yes"; then
        CXXFLAGS_mingw32_special="-fvtable-thunks"
    fi

    CXXFLAGS_save="${CXXFLAGS_save} ${CXXFLAGS_mingw32_special}"
    CXXFLAGS="${CXXFLAGS_save}"
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext 
$LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

fi

case "${SYS}" in
  mingw32|cygwin)
    CFLAGS_pics="${CFLAGS_pics} ${CFLAGS_mingw32_special}"
    CXXFLAGS_pics="${CXXFLAGS_pics} ${CFLAGS_mingw32_special} 
${CXXFLAGS_mingw32_special}"
    OBJCFLAGS_pics="${OBJCFLAGS_pics} ${CFLAGS_mingw32_special}"
    CFLAGS_plugins="${CFLAGS_plugins} ${CFLAGS_mingw32_special}"
    CXXFLAGS_plugins="${CXXFLAGS_plugins} ${CFLAGS_mingw32_special} 
${CXXFLAGS_mingw32_special}"
    OBJCFLAGS_plugins="${OBJCFLAGS_plugins} ${CFLAGS_mingw32_special}"
    ;;
  *)
    CFLAGS_pics="${CFLAGS_pics} -fPIC"
    CXXFLAGS_pics="${CXXFLAGS_pics} -fPIC"
    OBJCFLAGS_pics="${OBJCFLAGS_pics} -fPIC"
    CFLAGS_plugins="${CFLAGS_plugins} -fPIC"
    CXXFLAGS_plugins="${CXXFLAGS_plugins} -fPIC"
    OBJCFLAGS_plugins="${OBJCFLAGS_plugins} -fPIC"
    LDFLAGS_plugins="${LDFLAGS_plugins} -fPIC"
    ;;
esac

CPPFLAGS_save="${CPPFLAGS_save} -DSYS_`echo ${SYS} | sed -e 's/-.*//' | tr 
'abcdefghijklmnopqrstuvwxyz.' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`"; 
CPPFLAGS="${CPPFLAGS_save}"

need_libc=false



















for ac_func in gettimeofday select strerror strtod strtol isatty vasprintf swab 
sigrelse getpwuid memalign posix_memalign gethostbyname2 if_nametoindex atoll 
getenv putenv setenv
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char $ac_func ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != $ac_func;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_var=yes"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF

fi
done






for ac_func in strdup strndup atof lseek
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char $ac_func ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != $ac_func;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_var=yes"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF

fi
done


for ac_func in strcasecmp
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char $ac_func ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != $ac_func;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_var=yes"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF

else

for ac_func in stricmp
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char $ac_func ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != $ac_func;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_var=yes"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF

fi
done

fi
done


for ac_func in strncasecmp
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char $ac_func ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != $ac_func;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_var=yes"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF

else

for ac_func in strnicmp
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char $ac_func ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != $ac_func;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_var=yes"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF

fi
done

fi
done



for ac_func in connect
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char $ac_func ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != $ac_func;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_var=yes"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF

else

  echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
if test "${ac_cv_lib_socket_connect+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lsocket  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char connect ();
int
main ()
{
connect ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_socket_connect=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_socket_connect=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
if test $ac_cv_lib_socket_connect = yes; then
  LDFLAGS_ipv4="${LDFLAGS_ipv4} -lsocket"
    LDFLAGS_vlc="${LDFLAGS_vlc} -lsocket"

fi

fi
done



for ac_func in send
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char $ac_func ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != $ac_func;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_var=yes"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF

else

  echo "$as_me:$LINENO: checking for send in -lsocket" >&5
echo $ECHO_N "checking for send in -lsocket... $ECHO_C" >&6
if test "${ac_cv_lib_socket_send+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lsocket  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char send ();
int
main ()
{
send ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_socket_send=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_socket_send=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_send" >&5
echo "${ECHO_T}$ac_cv_lib_socket_send" >&6
if test $ac_cv_lib_socket_send = yes; then
  LDFLAGS_access_http="${LDFLAGS_access_http} -lsocket"
    LDFLAGS_access_mms="${LDFLAGS_access_mms} -lsocket"
    LDFLAGS_access_udp="${LDFLAGS_access_udp} -lsocket"
    LDFLAGS_access_ftp="${LDFLAGS_access_ftp} -lsocket"
    LDFLAGS_sap="${LDFLAGS_sap} -lsocket"
    LDFLAGS_http="${LDFLAGS_http} -lsocket"
    LDFLAGS_access_output_udp="${LDFLAGS_access_output_udp} -lsocket"

fi

fi
done



for ac_func in gethostbyname
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char $ac_func ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != $ac_func;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_var=yes"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF

else

  echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lnsl  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char gethostbyname ();
int
main ()
{
gethostbyname ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_nsl_gethostbyname=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_nsl_gethostbyname=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
if test $ac_cv_lib_nsl_gethostbyname = yes; then
  LDFLAGS_ipv4="${LDFLAGS_ipv4} -lnsl" LDFLAGS_httpd="${LDFLAGS_httpd} -lnsl" 
LDFLAGS_vlc="${LDFLAGS_vlc} -lnsl"
else

    echo "$as_me:$LINENO: checking for gethostbyname in -lbind" >&5
echo $ECHO_N "checking for gethostbyname in -lbind... $ECHO_C" >&6
if test "${ac_cv_lib_bind_gethostbyname+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lbind  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char gethostbyname ();
int
main ()
{
gethostbyname ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_bind_gethostbyname=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_bind_gethostbyname=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_bind_gethostbyname" >&5
echo "${ECHO_T}$ac_cv_lib_bind_gethostbyname" >&6
if test $ac_cv_lib_bind_gethostbyname = yes; then
  LDFLAGS_ipv4="${LDFLAGS_ipv4} -lbind" LDFLAGS_httpd="${LDFLAGS_httpd} -lbind"
fi

fi


fi
done


echo "$as_me:$LINENO: checking for socklen_t" >&5
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
if test "${ac_cv_type_socklen_t+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <sys/types.h>
      #include <sys/socket.h>
int
main ()
{
socklen_t len = 42; return len;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_type_socklen_t=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_type_socklen_t=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
if test "${ac_cv_type_socklen_t}" != "no"; then

cat >>confdefs.h <<\_ACEOF
#define HAVE_SOCKLEN_T 1
_ACEOF

fi

echo "$as_me:$LINENO: checking for va_copy" >&5
echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
if test "${ac_cv_c_va_copy+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <stdarg.h>
int
main ()
{
va_list ap1, ap2; va_copy(ap1,ap2);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_va_copy="yes"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_c_va_copy="no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
echo "${ECHO_T}$ac_cv_c_va_copy" >&6
if test "${ac_cv_c_va_copy}" = "yes"; then

cat >>confdefs.h <<\_ACEOF
#define HAVE_VA_COPY 1
_ACEOF

fi
echo "$as_me:$LINENO: checking for __va_copy" >&5
echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
if test "${ac_cv_c___va_copy+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <stdarg.h>
int
main ()
{
va_list ap1, ap2; __va_copy(ap1,ap2);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c___va_copy="yes"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_c___va_copy="no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
echo "${ECHO_T}$ac_cv_c___va_copy" >&6
if test "${ac_cv_c___va_copy}" = "yes"; then

cat >>confdefs.h <<\_ACEOF
#define HAVE___VA_COPY 1
_ACEOF

fi


for ac_func in inet_aton
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char $ac_func ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != $ac_func;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_var=yes"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF

else

  echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lresolv  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char inet_aton ();
int
main ()
{
inet_aton ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_resolv_inet_aton=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_resolv_inet_aton=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
if test $ac_cv_lib_resolv_inet_aton = yes; then
  LDFLAGS_ipv4="${LDFLAGS_ipv4} -lresolv" LDFLAGS_httpd="${LDFLAGS_httpd} 
-lresolv"
fi


fi
done


need_getopt=false

for ac_func in getopt_long
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char $ac_func ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != $ac_func;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_var=yes"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF

cat >>confdefs.h <<\_ACEOF
#define HAVE_GETOPT_LONG 1
_ACEOF

else
   # FreeBSD has a gnugetopt library for this:
  echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5
echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6
if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lgnugetopt  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char getopt_long ();
int
main ()
{
getopt_long ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_gnugetopt_getopt_long=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_gnugetopt_getopt_long=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6
if test $ac_cv_lib_gnugetopt_getopt_long = yes; then

cat >>confdefs.h <<\_ACEOF
#define HAVE_GETOPT_LONG 1
_ACEOF
 LDFLAGS_vlc="${LDFLAGS_vlc} -lgnugetopt"
else
  need_getopt=:
fi

fi
done



if ${need_getopt}; then
  BUILD_GETOPT_TRUE=
  BUILD_GETOPT_FALSE='#'
else
  BUILD_GETOPT_TRUE='#'
  BUILD_GETOPT_FALSE=
fi


if test "${SYS}" != "mingw32"; then
echo "$as_me:$LINENO: checking return type of signal handlers" >&5
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
if test "${ac_cv_type_signal+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <sys/types.h>
#include <signal.h>
#ifdef signal
# undef signal
#endif
#ifdef __cplusplus
extern "C" void (*signal (int, void (*)(int)))(int);
#else
void (*signal ()) ();
#endif

int
main ()
{
int i;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_type_signal=void
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_type_signal=int
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
echo "${ECHO_T}$ac_cv_type_signal" >&6

cat >>confdefs.h <<_ACEOF
#define RETSIGTYPE $ac_cv_type_signal
_ACEOF


echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-ldl  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char dlopen ();
int
main ()
{
dlopen ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_dl_dlopen=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_dl_dlopen=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
if test $ac_cv_lib_dl_dlopen = yes; then
  LDFLAGS_vlc="${LDFLAGS_vlc} -ldl"
fi

echo "$as_me:$LINENO: checking for cos in -lm" >&5
echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
if test "${ac_cv_lib_m_cos+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lm  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char cos ();
int
main ()
{
cos ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_m_cos=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_m_cos=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
if test $ac_cv_lib_m_cos = yes; then
  LDFLAGS_imdct="${LDFLAGS_imdct} -lm"
  LDFLAGS_adjust="${LDFLAGS_adjust} -lm"
  LDFLAGS_distort="${LDFLAGS_distort} -lm"
  LDFLAGS_a52tofloat32="${LDFLAGS_a52tofloat32} -lm"
fi

echo "$as_me:$LINENO: checking for pow in -lm" >&5
echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
if test "${ac_cv_lib_m_pow+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lm  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char pow ();
int
main ()
{
pow ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_m_pow=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_m_pow=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
if test $ac_cv_lib_m_pow = yes; then
  LDFLAGS_ffmpeg="${LDFLAGS_ffmpeg} -lm"
  LDFLAGS_stream_out_transcode="${LDFLAGS_stream_out_transcode} -lm"
  LDFLAGS_imdct="${LDFLAGS_imdct} -lm"
  LDFLAGS_imdct3dn="${LDFLAGS_imdct3dn} -lm"
  LDFLAGS_imdctsse="${LDFLAGS_imdctsse} -lm"
  LDFLAGS_i420_rgb="${LDFLAGS_i420_rgb} -lm"
  LDFLAGS_faad="${LDFLAGS_faad} -lm"

fi

echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
if test "${ac_cv_lib_m_sqrt+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lm  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char sqrt ();
int
main ()
{
sqrt ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_m_sqrt=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_m_sqrt=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
if test $ac_cv_lib_m_sqrt = yes; then
  LDFLAGS_headphone_channel_mixer="${LDFLAGS_headphone_channel_mixer} -lm"

fi

fi # end "${SYS}" != "mingw32"

if test "${SYS}" != "mingw32"; then
THREAD_LIB=error
if test "${THREAD_LIB}" = "error"; then
  echo "$as_me:$LINENO: checking for main in -lpthread" >&5
echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6
if test "${ac_cv_lib_pthread_main+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lpthread  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


int
main ()
{
main ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_pthread_main=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_pthread_main=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5
echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6
if test $ac_cv_lib_pthread_main = yes; then
  THREAD_LIB="-lpthread"
fi

fi
if test "${THREAD_LIB}" = "error"; then
  echo "$as_me:$LINENO: checking for main in -lpthreads" >&5
echo $ECHO_N "checking for main in -lpthreads... $ECHO_C" >&6
if test "${ac_cv_lib_pthreads_main+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lpthreads  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


int
main ()
{
main ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_pthreads_main=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_pthreads_main=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_main" >&5
echo "${ECHO_T}$ac_cv_lib_pthreads_main" >&6
if test $ac_cv_lib_pthreads_main = yes; then
  THREAD_LIB="-lpthreads"
fi

fi
if test "${THREAD_LIB}" = "error"; then
  echo "$as_me:$LINENO: checking for main in -lc_r" >&5
echo $ECHO_N "checking for main in -lc_r... $ECHO_C" >&6
if test "${ac_cv_lib_c_r_main+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lc_r  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


int
main ()
{
main ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_c_r_main=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_c_r_main=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_main" >&5
echo "${ECHO_T}$ac_cv_lib_c_r_main" >&6
if test $ac_cv_lib_c_r_main = yes; then
  THREAD_LIB="-lc_r"
fi

fi
if test "${THREAD_LIB}" = "error"; then

for ac_func in pthread_mutex_lock
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char $ac_func ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != $ac_func;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_var=yes"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF

fi
done

  THREAD_LIB=""
fi

echo "$as_me:$LINENO: checking for cthread_fork in -lthreads" >&5
echo $ECHO_N "checking for cthread_fork in -lthreads... $ECHO_C" >&6
if test "${ac_cv_lib_threads_cthread_fork+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lthreads  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char cthread_fork ();
int
main ()
{
cthread_fork ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_threads_cthread_fork=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_threads_cthread_fork=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_threads_cthread_fork" >&5
echo "${ECHO_T}$ac_cv_lib_threads_cthread_fork" >&6
if test $ac_cv_lib_threads_cthread_fork = yes; then
  THREAD_LIB="-lthreads"
fi


# Check whether --enable-pth or --disable-pth was given.
if test "${enable_pth+set}" = set; then
  enableval="$enable_pth"
   if test "${enable_pth}" = "yes"; then

echo "$as_me:$LINENO: checking for pth_init in -lpth" >&5
echo $ECHO_N "checking for pth_init in -lpth... $ECHO_C" >&6
if test "${ac_cv_lib_pth_pth_init+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lpth  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char pth_init ();
int
main ()
{
pth_init ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_pth_pth_init=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_pth_pth_init=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_pth_pth_init" >&5
echo "${ECHO_T}$ac_cv_lib_pth_pth_init" >&6
if test $ac_cv_lib_pth_pth_init = yes; then
  cat >>confdefs.h <<_ACEOF
#define HAVE_LIBPTH 1
_ACEOF

  LIBS="-lpth $LIBS"

fi

    echo "$as_me:$LINENO: checking for pth_init in pth.h" >&5
echo $ECHO_N "checking for pth_init in pth.h... $ECHO_C" >&6
    cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <pth.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "pth_init" >/dev/null 2>&1; then

      echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6

cat >>confdefs.h <<\_ACEOF
#define PTH_INIT_IN_PTH_H 1
_ACEOF

      THREAD_LIB="-lpth"

else

      echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6

fi
rm -f conftest*

    fi

fi;

# Check whether --enable-st or --disable-st was given.
if test "${enable_st+set}" = set; then
  enableval="$enable_st"
   if test "${enable_st}" = "yes"; then

echo "$as_me:$LINENO: checking for st_init in -lst" >&5
echo $ECHO_N "checking for st_init in -lst... $ECHO_C" >&6
if test "${ac_cv_lib_st_st_init+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lst  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char st_init ();
int
main ()
{
st_init ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_st_st_init=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_st_st_init=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_st_st_init" >&5
echo "${ECHO_T}$ac_cv_lib_st_st_init" >&6
if test $ac_cv_lib_st_st_init = yes; then
  cat >>confdefs.h <<_ACEOF
#define HAVE_LIBST 1
_ACEOF

  LIBS="-lst $LIBS"

fi

    echo "$as_me:$LINENO: checking for st_init in st.h" >&5
echo $ECHO_N "checking for st_init in st.h... $ECHO_C" >&6
    cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <st.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "st_init" >/dev/null 2>&1; then

      echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6

cat >>confdefs.h <<\_ACEOF
#define ST_INIT_IN_ST_H 1
_ACEOF

      THREAD_LIB="-lst"

else

      echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6

fi
rm -f conftest*

    fi

fi;

LDFLAGS_vlc="${LDFLAGS_vlc} ${THREAD_LIB}"
LDFLAGS_plugins="${LDFLAGS_plugins} ${THREAD_LIB}"

if test "${THREAD_LIB}" != "-lpth" && test "${THREAD_LIB}" != "-lst"; then
    echo "$as_me:$LINENO: checking for sem_init in -lrt" >&5
echo $ECHO_N "checking for sem_init in -lrt... $ECHO_C" >&6
if test "${ac_cv_lib_rt_sem_init+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lrt  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char sem_init ();
int
main ()
{
sem_init ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_rt_sem_init=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_rt_sem_init=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sem_init" >&5
echo "${ECHO_T}$ac_cv_lib_rt_sem_init" >&6
if test $ac_cv_lib_rt_sem_init = yes; then
  LDFLAGS_vlc="${LDFLAGS_vlc} -lrt"
fi


  have_nanosleep=false

for ac_func in nanosleep
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char $ac_func ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != $ac_func;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_var=yes"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF
 have_nanosleep=:
else

    echo "$as_me:$LINENO: checking for nanosleep in -lrt" >&5
echo $ECHO_N "checking for nanosleep in -lrt... $ECHO_C" >&6
if test "${ac_cv_lib_rt_nanosleep+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lrt  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char nanosleep ();
int
main ()
{
nanosleep ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_rt_nanosleep=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_rt_nanosleep=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_rt_nanosleep" >&5
echo "${ECHO_T}$ac_cv_lib_rt_nanosleep" >&6
if test $ac_cv_lib_rt_nanosleep = yes; then
  LDFLAGS_vlc="${LDFLAGS_vlc} -lrt"; have_nanosleep=:
else
  echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lposix4  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char nanosleep ();
int
main ()
{
nanosleep ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_posix4_nanosleep=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_posix4_nanosleep=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
if test $ac_cv_lib_posix4_nanosleep = yes; then
  LDFLAGS_vlc="${LDFLAGS_vlc} -lposix4"; have_nanosleep=:
fi


fi


fi
done

  if ${have_nanosleep}; then

cat >>confdefs.h <<\_ACEOF
#define HAVE_NANOSLEEP 1
_ACEOF

  fi
fi

echo "$as_me:$LINENO: checking for pthread_cond_t in pthread.h" >&5
echo $ECHO_N "checking for pthread_cond_t in pthread.h... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <pthread.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "pthread_cond_t" >/dev/null 2>&1; then

  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6

cat >>confdefs.h <<\_ACEOF
#define PTHREAD_COND_T_IN_PTHREAD_H 1
_ACEOF

else

  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi
rm -f conftest*


echo "$as_me:$LINENO: checking for pthread_once in pthread.h" >&5
echo $ECHO_N "checking for pthread_once in pthread.h... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <pthread.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "pthread_once" >/dev/null 2>&1; then

  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6

cat >>confdefs.h <<\_ACEOF
#define PTHREAD_ONCE_IN_PTHREAD_H 1
_ACEOF

else

  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi
rm -f conftest*

fi # end "${SYS}" != "mingw32"

echo "$as_me:$LINENO: checking for strncasecmp in strings.h" >&5
echo $ECHO_N "checking for strncasecmp in strings.h... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <strings.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "strncasecmp" >/dev/null 2>&1; then

  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6

cat >>confdefs.h <<\_ACEOF
#define STRNCASECMP_IN_STRINGS_H 1
_ACEOF

else

  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi
rm -f conftest*










for ac_header in signal.h time.h errno.h stdint.h getopt.h strings.h inttypes.h 
sys/int_types.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

fi

done








for ac_header in sys/sockio.h fcntl.h sys/types.h sys/time.h sys/times.h 
sys/ioctl.h sys/stat.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

fi

done



for ac_header in dlfcn.h image.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

fi

done





for ac_header in arpa/inet.h net/if.h netinet/in.h sys/socket.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

fi

done

if test "${SYS}" != "mingw32"; then


for ac_header in machine/param.h sys/shm.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

fi

done


for ac_header in linux/version.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

fi

done

fi # end "${SYS}" != "mingw32"

echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be 
included" >&5
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... 
$ECHO_C" >&6
if test "${ac_cv_header_time+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <sys/types.h>
#include <sys/time.h>
#include <time.h>

int
main ()
{
if ((struct tm *) 0)
return 0;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_header_time=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_header_time=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
echo "${ECHO_T}$ac_cv_header_time" >&6
if test $ac_cv_header_time = yes; then

cat >>confdefs.h <<\_ACEOF
#define TIME_WITH_SYS_TIME 1
_ACEOF

fi


need_dirent=false

for ac_header in dirent.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

else
  need_dirent=:
fi

done



if ${need_dirent}; then
  BUILD_DIRENT_TRUE=
  BUILD_DIRENT_FALSE='#'
else
  BUILD_DIRENT_TRUE='#'
  BUILD_DIRENT_FALSE=
fi


if test "${SYS}" != "mingw32"; then
echo "$as_me:$LINENO: checking for nanosleep in time.h" >&5
echo $ECHO_N "checking for nanosleep in time.h... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <time.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "nanosleep" >/dev/null 2>&1; then

  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6

cat >>confdefs.h <<\_ACEOF
#define HAVE_DECL_NANOSLEEP 1
_ACEOF


else

  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6

fi
rm -f conftest*

fi # end "${SYS}" != "mingw32"

echo "$as_me:$LINENO: checking for timespec in sys/time.h" >&5
echo $ECHO_N "checking for timespec in sys/time.h... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <sys/time.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "timespec" >/dev/null 2>&1; then

  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6

cat >>confdefs.h <<\_ACEOF
#define HAVE_STRUCT_TIMESPEC 1
_ACEOF


else

  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6

fi
rm -f conftest*


if test "${SYS}" != "mingw32"; then




for ac_header in cthreads.h pthread.h kernel/scheduler.h kernel/OS.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

fi

done

fi # end "${SYS}" != "mingw32"

if test "${x_includes}" = "NONE"; then
  x_includes="/usr/X11R6/include"
fi
if test "${x_libraries}" = "NONE"; then
  x_libraries="/usr/X11R6/lib"
fi

NEED_GTK_MAIN=no
NEED_GNOME_MAIN=no
NEED_GTK2_MAIN=no
NEED_GNOME2_MAIN=no

NEED_QTE_MAIN=no

echo "$as_me:$LINENO: checking for ntohl in sys/param.h" >&5
echo $ECHO_N "checking for ntohl in sys/param.h... $ECHO_C" >&6
if test "${ac_cv_c_ntohl_sys_param_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  CFLAGS="${CFLAGS_save} -Wall -Werror"
     cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <sys/param.h>
int
main ()
{
void foo() { int meuh; ntohl(meuh); }
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_ntohl_sys_param_h=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_c_ntohl_sys_param_h=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_c_ntohl_sys_param_h" >&5
echo "${ECHO_T}$ac_cv_c_ntohl_sys_param_h" >&6
if test "${ac_cv_c_ntohl_sys_param_h}" != "no"; then

cat >>confdefs.h <<\_ACEOF
#define NTOHL_IN_SYS_PARAM_H 1
_ACEOF

fi

echo "$as_me:$LINENO: checking if \$CC accepts -finline-limit" >&5
echo $ECHO_N "checking if \$CC accepts -finline-limit... $ECHO_C" >&6
if test "${ac_cv_c_inline_limit+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  CFLAGS="${CFLAGS_save} -finline-limit-30000"
     cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_inline_limit=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_c_inline_limit=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_c_inline_limit" >&5
echo "${ECHO_T}$ac_cv_c_inline_limit" >&6
if test "${ac_cv_c_inline_limit}" != "no"; then
    CFLAGS_save="${CFLAGS_save} -finline-limit-30000"; CFLAGS="${CFLAGS_save}"
    CXXFLAGS_save="${CXXFLAGS_save} -finline-limit-30000"; 
CXXFLAGS="${CXXFLAGS_save}"
    OBJCFLAGS_save="${OBJCFLAGS_save} -finline-limit-30000"; 
OBJCFLAGS="${OBJCFLAGS_save}"
fi

# XXX: do this with an M4 macro?
#dnl Check for various -W flags
#for flag in "" all unreachable-code conversion sign-compare 
disabled-optimization
#do
#    AC_CACHE_CHECK([if \$CC accepts -W${flag}],
#        [ac_cv_c_W${flag}],
#        [CFLAGS="-W${flag} ${CFLAGS_save}"
#         AC_TRY_COMPILE([],,ac_cv_c_W${flag}=yes, ac_cv_c_W${flag}=no)])
#    if test "${ac_cv_c_W${flag}}" != "no"; then
#        CFLAGS_save="-W${flag} ${CFLAGS_save}"; CFLAGS="${CFLAGS_save}"
#        CXXFLAGS_save="-W${flag} ${CFLAGS_save}"; CXXFLAGS="${CXXFLAGS_save}"
#        OBJCFLAGS_save="-W${flag} ${OBJCFLAGS_save}"; 
OBJCFLAGS="${OBJCFLAGS_save}"
#    fi
#done

echo "$as_me:$LINENO: checking if \$CC accepts -Wall" >&5
echo $ECHO_N "checking if \$CC accepts -Wall... $ECHO_C" >&6
if test "${ac_cv_c_Wall+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  CFLAGS="-Wall ${CFLAGS_save}"
     cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_Wall=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_c_Wall=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_c_Wall" >&5
echo "${ECHO_T}$ac_cv_c_Wall" >&6

echo "$as_me:$LINENO: checking if \$CC accepts -Wconversion" >&5
echo $ECHO_N "checking if \$CC accepts -Wconversion... $ECHO_C" >&6
if test "${ac_cv_c_Wconversion+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  CFLAGS="-Wconversion ${CFLAGS_save}"
     cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_Wconversion=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_c_Wconversion=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_c_Wconversion" >&5
echo "${ECHO_T}$ac_cv_c_Wconversion" >&6

echo "$as_me:$LINENO: checking if \$CC accepts -Wunreachable-code" >&5
echo $ECHO_N "checking if \$CC accepts -Wunreachable-code... $ECHO_C" >&6
if test "${ac_cv_c_Wunreachable_code+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  CFLAGS="-Wunreachable-code ${CFLAGS_save}"
     cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_Wunreachable_code=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_c_Wunreachable_code=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_c_Wunreachable_code" >&5
echo "${ECHO_T}$ac_cv_c_Wunreachable_code" >&6

echo "$as_me:$LINENO: checking if \$CC accepts -Wsign-compare" >&5
echo $ECHO_N "checking if \$CC accepts -Wsign-compare... $ECHO_C" >&6
if test "${ac_cv_c_Wsign_compare+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  CFLAGS="-Wsign-compare ${CFLAGS_save}"
     cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_Wsign_compare=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_c_Wsign_compare=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_c_Wsign_compare" >&5
echo "${ECHO_T}$ac_cv_c_Wsign_compare" >&6

if test "${ac_cv_c_Wall}" != "no"; then
    CFLAGS_save="-Wall ${CFLAGS_save}"; CFLAGS="${CFLAGS_save}"
    CXXFLAGS_save="-Wall ${CFLAGS_save}"; CXXFLAGS="${CXXFLAGS_save}"
    OBJCFLAGS_save="-Wall ${OBJCFLAGS_save}"; OBJCFLAGS="${OBJCFLAGS_save}"
fi

if test "${ac_cv_c_Wsign_compare}" != "no"; then
    CFLAGS_save="-Wsign-compare ${CFLAGS_save}"; CFLAGS="${CFLAGS_save}"
    CXXFLAGS_save="-Wsign-compare ${CFLAGS_save}"; CXXFLAGS="${CXXFLAGS_save}"
    OBJCFLAGS_save="-Wsign-compare ${OBJCFLAGS_save}"; 
OBJCFLAGS="${OBJCFLAGS_save}"
fi

echo "$as_me:$LINENO: checking if \$CC accepts -pipe" >&5
echo $ECHO_N "checking if \$CC accepts -pipe... $ECHO_C" >&6
if test "${ac_cv_c_pipe+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  CFLAGS="${CFLAGS_save} -pipe"
     cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_pipe=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_c_pipe=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_c_pipe" >&5
echo "${ECHO_T}$ac_cv_c_pipe" >&6
if test "${ac_cv_c_pipe}" != "no"; then
    CFLAGS_save="${CFLAGS_save} -pipe"; CFLAGS="${CFLAGS_save}"
    CXXFLAGS_save="${CXXFLAGS_save} -pipe"; CXXFLAGS="${CXXFLAGS_save}"
    OBJCFLAGS_save="${OBJCFLAGS_save} -pipe"; OBJCFLAGS="${OBJCFLAGS_save}"
fi

echo "$as_me:$LINENO: checking if \$CC accepts -O3" >&5
echo $ECHO_N "checking if \$CC accepts -O3... $ECHO_C" >&6
if test "${ac_cv_c_o3+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  CFLAGS="${CFLAGS_save} -O3"
     cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_o3=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_c_o3=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_c_o3" >&5
echo "${ECHO_T}$ac_cv_c_o3" >&6
if test "${ac_cv_c_o3}" != "no"; then
    CFLAGS_OPTIM="${CFLAGS_OPTIM} -O3"
fi

echo "$as_me:$LINENO: checking if \$CC accepts -O2" >&5
echo $ECHO_N "checking if \$CC accepts -O2... $ECHO_C" >&6
if test "${ac_cv_c_o2+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  CFLAGS="${CFLAGS_save} -O2"
     cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_o2=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_c_o2=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_c_o2" >&5
echo "${ECHO_T}$ac_cv_c_o2" >&6
if test "${ac_cv_c_o2}" != "no"; then
    if test "${ac_cv_c_o3}" = "no"; then
        CFLAGS_OPTIM="${CFLAGS_OPTIM} -O2"
    fi
    CFLAGS_NOOPTIM="${CFLAGS_NOOPTIM} -O2"
else
    echo "$as_me:$LINENO: checking if \$CC accepts -O" >&5
echo $ECHO_N "checking if \$CC accepts -O... $ECHO_C" >&6
if test "${ac_cv_c_o+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  CFLAGS="${CFLAGS_save} -O"
         cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_o=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_c_o=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_c_o" >&5
echo "${ECHO_T}$ac_cv_c_o" >&6
    if test "${ac_cv_c_o}" != "no"; then
        if test "${ac_cv_c_o3}" = "no"; then
            CFLAGS_OPTIM="${CFLAGS_OPTIM} -O"
        fi
        CFLAGS_NOOPTIM="${CFLAGS_NOOPTIM} -O"
    fi
fi

echo "$as_me:$LINENO: checking if \$CC accepts -ffast-math" >&5
echo $ECHO_N "checking if \$CC accepts -ffast-math... $ECHO_C" >&6
if test "${ac_cv_c_fast_math+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  CFLAGS="${CFLAGS_save} -ffast-math"
     cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_fast_math=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_c_fast_math=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_c_fast_math" >&5
echo "${ECHO_T}$ac_cv_c_fast_math" >&6
if test "${ac_cv_c_fast_math}" != "no"; then
    CFLAGS_OPTIM="${CFLAGS_OPTIM} -ffast-math"
fi

if test "${SYS}" != "beos"
then
  echo "$as_me:$LINENO: checking if \$CC accepts -funroll-loops" >&5
echo $ECHO_N "checking if \$CC accepts -funroll-loops... $ECHO_C" >&6
if test "${ac_cv_c_unroll_loops+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  CFLAGS="${CFLAGS_save} -funroll-loops"
       cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_unroll_loops=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_c_unroll_loops=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_c_unroll_loops" >&5
echo "${ECHO_T}$ac_cv_c_unroll_loops" >&6
  if test "${ac_cv_c_unroll_loops}" != "no"; then
      CFLAGS_OPTIM="${CFLAGS_OPTIM} -funroll-loops"
  fi
fi

echo "$as_me:$LINENO: checking if \$CC accepts -fomit-frame-pointer" >&5
echo $ECHO_N "checking if \$CC accepts -fomit-frame-pointer... $ECHO_C" >&6
if test "${ac_cv_c_omit_frame_pointer+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  CFLAGS="${CFLAGS_save} -fomit-frame-pointer"
     cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_omit_frame_pointer=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_c_omit_frame_pointer=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_c_omit_frame_pointer" >&5
echo "${ECHO_T}$ac_cv_c_omit_frame_pointer" >&6
if test "${ac_cv_c_omit_frame_pointer}" != "no"; then
    CFLAGS_OPTIM_NODEBUG="${CFLAGS_OPTIM_NODEBUG} -fomit-frame-pointer"
    # this plugin does not compile without -fomit-frame-pointer, damn gcc!
    CFLAGS_i420_yuy2_mmx="${CFLAGS_i420_yuy2_mmx} -fomit-frame-pointer"
fi

echo "$as_me:$LINENO: checking if \$CC accepts -mdynamic-no-pic" >&5
echo $ECHO_N "checking if \$CC accepts -mdynamic-no-pic... $ECHO_C" >&6
if test "${ac_cv_c_dynamic_no_pic+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  CFLAGS="${CFLAGS_save} -mdynamic-no-pic"
     cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_dynamic_no_pic=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_c_dynamic_no_pic=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_c_dynamic_no_pic" >&5
echo "${ECHO_T}$ac_cv_c_dynamic_no_pic" >&6
if test "${ac_cv_c_dynamic_no_pic}" != "no"; then
    CFLAGS_builtins="${CFLAGS_builtins} -mdynamic-no-pic"
    CFLAGS_libvlc="${CFLAGS_libvlc} -mdynamic-no-pic"
fi

echo "$as_me:$LINENO: checking if \$CC accepts -bundle -undefined error 
-lcc_dynamic" >&5
echo $ECHO_N "checking if \$CC accepts -bundle -undefined error -lcc_dynamic... 
$ECHO_C" >&6
if test "${ac_cv_ld_darwin+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  CFLAGS="${CFLAGS_save} -bundle -undefined error -lcc_dynamic"
     cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_ld_darwin=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_ld_darwin=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_ld_darwin" >&5
echo "${ECHO_T}$ac_cv_ld_darwin" >&6
if test "${ac_cv_ld_darwin}" != "no"; then
    LDFLAGS_plugins="${LDFLAGS_plugins} -bundle -undefined error -lcc_dynamic"
fi

if test "${SYS}" = "beos"; then
    LDFLAGS_plugins="${LDFLAGS_plugins} -nostart"
else
    echo "$as_me:$LINENO: checking if \$CC accepts -shared" >&5
echo $ECHO_N "checking if \$CC accepts -shared... $ECHO_C" >&6
if test "${ac_cv_ld_plugins+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  CFLAGS="${CFLAGS_save} -shared"
         cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_ld_plugins=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_ld_plugins=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_ld_plugins" >&5
echo "${ECHO_T}$ac_cv_ld_plugins" >&6
    if test "${ac_cv_ld_plugins}" != "no"; then
        LDFLAGS_plugins="${LDFLAGS_plugins} -shared"
    fi
fi

echo "$as_me:$LINENO: checking for variadic cpp macros" >&5
echo $ECHO_N "checking for variadic cpp macros... $ECHO_C" >&6
if test "${ac_cv_cpp_variadic_macros+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  CFLAGS="${CFLAGS_save}"
     cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <stdio.h>
          #define a(b,c...) printf(b,##c)
int
main ()
{
a("foo");a("%s","bar");a("%s%s","baz","quux");
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_cpp_variadic_macros=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_cpp_variadic_macros=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_cpp_variadic_macros" >&5
echo "${ECHO_T}$ac_cv_cpp_variadic_macros" >&6
if test "${ac_cv_cpp_variadic_macros}" != "no"; then

cat >>confdefs.h <<\_ACEOF
#define HAVE_VARIADIC_MACROS 1
_ACEOF

fi

echo "$as_me:$LINENO: checking __attribute__ ((aligned ())) support" >&5
echo $ECHO_N "checking __attribute__ ((aligned ())) support... $ECHO_C" >&6
if test "${ac_cv_c_attribute_aligned+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_c_attribute_aligned=0
        CFLAGS="${CFLAGS_save} -Werror"
    for ac_cv_c_attr_align_try in 2 4 8 16 32 64; do
        cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{
static char c __attribute__ ((aligned(${ac_cv_c_attr_align_try}))) = 0; return 
c;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_attribute_aligned="${ac_cv_c_attr_align_try}"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

fi
rm -f conftest.$ac_objext conftest.$ac_ext
    done
        CFLAGS="${CFLAGS_save}"
fi
echo "$as_me:$LINENO: result: $ac_cv_c_attribute_aligned" >&5
echo "${ECHO_T}$ac_cv_c_attribute_aligned" >&6
if test "${ac_cv_c_attribute_aligned}" != "0"; then

cat >>confdefs.h <<_ACEOF
#define ATTRIBUTE_ALIGNED_MAX ${ac_cv_c_attribute_aligned}
_ACEOF

fi

echo "$as_me:$LINENO: checking __attribute__ ((format ())) support with 
function pointers" >&5
echo $ECHO_N "checking __attribute__ ((format ())) support with function 
pointers... $ECHO_C" >&6
if test "${ac_cv_c_attribute_format+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_c_attribute_format=no
        CFLAGS="${CFLAGS_save} -Werror"
        cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{
static void (*pf_printf)(const char *, ...) __attribute__ 
((format(printf,1,2)));(void)pf_printf;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_attribute_format=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

fi
rm -f conftest.$ac_objext conftest.$ac_ext
        CFLAGS="${CFLAGS_save}"
fi
echo "$as_me:$LINENO: result: $ac_cv_c_attribute_format" >&5
echo "${ECHO_T}$ac_cv_c_attribute_format" >&6
if test "${ac_cv_c_attribute_format}" != "no"; then

cat >>confdefs.h <<\_ACEOF
#define HAVE_ATTRIBUTE_FORMAT 1
_ACEOF

fi

case "${target_cpu}" in
  "")
    ARCH=unknown
    ;;
  *)
    ARCH="${target_cpu}"
    ;;
esac

case "${ARCH}" in
  hppa64)
    CFLAGS_mpeg_video_old="${CFLAGS_mpeg_video_old} -ffunction-sections"
    ;;
esac

# Check whether --enable-gprof or --disable-gprof was given.
if test "${enable_gprof+set}" = set; then
  enableval="$enable_gprof"

fi;
# Check whether --enable-cprof or --disable-cprof was given.
if test "${enable_cprof+set}" = set; then
  enableval="$enable_cprof"

fi;


if test "${enable_gprof}" = "yes"; then
  GPROF_TRUE=
  GPROF_FALSE='#'
else
  GPROF_TRUE='#'
  GPROF_FALSE=
fi



if test "${enable_gprof}" = "yes"; then
  CPROF_TRUE=
  CPROF_FALSE='#'
else
  CPROF_TRUE='#'
  CPROF_FALSE=
fi


#BUILTINS="${BUILTINS} mpeg_video_old idct idctclassic motion"
PLUGINS="${PLUGINS} dummy rc logger gestures memcpy"
PLUGINS="${PLUGINS} es audio m4v mpeg_system ps ts avi asf aac mp4 rawdv"
PLUGINS="${PLUGINS} spudec mpeg_audio lpcm a52 dts cinepak"
PLUGINS="${PLUGINS} deinterlace invert adjust wall transform distort clone crop 
motionblur"
PLUGINS="${PLUGINS} float32tos16 float32tos8 float32tou16 float32tou8 
a52tospdif dtstospdif fixed32tofloat32 fixed32tos16 s16tofixed32 s16tofloat32 
s16tofloat32swab s8tofloat32 u8tofixed32 u8tofloat32"
PLUGINS="${PLUGINS} trivial_resampler ugly_resampler linear_resampler 
bandlimited_resampler"
PLUGINS="${PLUGINS} trivial_channel_mixer headphone_channel_mixer"
PLUGINS="${PLUGINS} trivial_mixer spdif_mixer float32_mixer"
PLUGINS="${PLUGINS} aout_file"
#PLUGINS="${PLUGINS} scope"
PLUGINS="${PLUGINS} i420_rgb i420_yuy2 i422_yuy2 i420_ymga"
PLUGINS="${PLUGINS} id3 m3u"
PLUGINS="${PLUGINS} rawvideo"
PLUGINS="${PLUGINS} wav araw demuxdump demuxsub adpcm a52sys au"
PLUGINS="${PLUGINS} access_file access_udp access_http ipv4 access_mms"
PLUGINS="${PLUGINS} access_ftp access_directory sap httpd http"

# Check whether --enable-mostly-builtin or --disable-mostly-builtin was given.
if test "${enable_mostly_builtin+set}" = set; then
  enableval="$enable_mostly_builtin"

fi;
if test "${enable_mostly_builtin}" = "yes"; then
  BUILTINS="${BUILTINS} ${PLUGINS}"
  PLUGINS=""
fi

if test "${SYS}" != "mingw32"; then
    PLUGINS="${PLUGINS} screensaver"
fi

MMX_MODULES="memcpymmx i420_rgb_mmx i422_yuy2_mmx i420_ymga_mmx"
#MMX_MODULES="${MMX_MODULES} idctmmx motionmmx"
MMXEXT_MODULES="memcpymmxext"
#MMXEXT_MODULES="${MMXEXT_MODULES} idctmmxext motionmmxext"
THREEDNOW_MODULES="memcpy3dn"
SSE_MODULES=""
ALTIVEC_MODULES="memcpyaltivec"
#ALTIVEC_MODULES="${ALTIVEC_MODULES} idctaltivec motionaltivec"

if test "${enable_gprof}" != "yes"
then
  MMX_MODULES="${MMX_MODULES} i420_yuy2_mmx"
fi

echo "$as_me:$LINENO: checking if \$CC groks MMX inline assembly" >&5
echo $ECHO_N "checking if \$CC groks MMX inline assembly... $ECHO_C" >&6
if test "${ac_cv_mmx_inline+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  CFLAGS="${CFLAGS_save}"
     cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{
void *p;asm volatile("packuswb %%mm1,%%mm2"::"r"(p));
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_mmx_inline=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_mmx_inline=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_mmx_inline" >&5
echo "${ECHO_T}$ac_cv_mmx_inline" >&6
if test "${ac_cv_mmx_inline}" != "no"; then
  ACCEL_MODULES="${ACCEL_MODULES} ${MMX_MODULES}"
fi

echo "$as_me:$LINENO: checking if \$CC groks MMX EXT inline assembly" >&5
echo $ECHO_N "checking if \$CC groks MMX EXT inline assembly... $ECHO_C" >&6
if test "${ac_cv_mmxext_inline+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  CFLAGS="${CFLAGS_save}"
     cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{
void *p;asm volatile("maskmovq %%mm1,%%mm2"::"r"(p));
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_mmxext_inline=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_mmxext_inline=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_mmxext_inline" >&5
echo "${ECHO_T}$ac_cv_mmxext_inline" >&6
if test "${ac_cv_mmxext_inline}" != "no"; then
  ACCEL_MODULES="${ACCEL_MODULES} ${MMXEXT_MODULES}"
fi

echo "$as_me:$LINENO: checking if \$CC groks 3D Now! inline assembly" >&5
echo $ECHO_N "checking if \$CC groks 3D Now! inline assembly... $ECHO_C" >&6
if test "${ac_cv_3dnow_inline+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  CFLAGS="${CFLAGS_save}"
     cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{
void *p;asm volatile("pfadd %%mm1,%%mm2"::"r"(p));
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_3dnow_inline=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_3dnow_inline=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_3dnow_inline" >&5
echo "${ECHO_T}$ac_cv_3dnow_inline" >&6
if test "${ac_cv_3dnow_inline}" != "no"; then

cat >>confdefs.h <<\_ACEOF
#define CAN_COMPILE_3DNOW 1
_ACEOF

  ACCEL_MODULES="${ACCEL_MODULES} ${THREEDNOW_MODULES}"
fi

echo "$as_me:$LINENO: checking if \$CC groks SSE inline assembly" >&5
echo $ECHO_N "checking if \$CC groks SSE inline assembly... $ECHO_C" >&6
if test "${ac_cv_sse_inline+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  CFLAGS="${CFLAGS_save}"
     cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{
void *p;asm volatile("xorps %%xmm1,%%xmm2"::"r"(p));
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_sse_inline=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_sse_inline=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_sse_inline" >&5
echo "${ECHO_T}$ac_cv_sse_inline" >&6
if test "${ac_cv_sse_inline}" != "no" -a "${SYS}" != "mingw32"; then

cat >>confdefs.h <<\_ACEOF
#define CAN_COMPILE_SSE 1
_ACEOF

  ACCEL_MODULES="${ACCEL_MODULES} ${SSE_MODULES}"
fi

if test "${SYS}" != "mingw32"; then
echo "$as_me:$LINENO: checking if \$CC groks AltiVec inline assembly" >&5
echo $ECHO_N "checking if \$CC groks AltiVec inline assembly... $ECHO_C" >&6
if test "${ac_cv_altivec_inline+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  CFLAGS="${CFLAGS_save}"
     cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{
asm volatile("vperm 0,1,2,3");
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_altivec_inline=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

CFLAGS="${CFLAGS_save} -Wa,-m7400"
          cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{
asm volatile("vperm 0,1,2,3");
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_altivec_inline="-Wa,-m7400"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_altivec_inline=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext

fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_altivec_inline" >&5
echo "${ECHO_T}$ac_cv_altivec_inline" >&6
if test "${ac_cv_altivec_inline}" != "no"; then

cat >>confdefs.h <<\_ACEOF
#define CAN_COMPILE_ALTIVEC 1
_ACEOF

  if test "${ac_cv_altivec_inline}" != "yes"; then
    CFLAGS_idctaltivec="${CFLAGS_idctaltivec} ${ac_cv_altivec_inline}"
    CFLAGS_motionaltivec="${CFLAGS_motionaltivec} ${ac_cv_altivec_inline}"
    CFLAGS_memcpyaltivec="${CFLAGS_memcpyaltivec} ${ac_cv_altivec_inline}"
    CFLAGS_vlc="${CFLAGS_vlc} ${ac_cv_altivec_inline}"
  fi
  ACCEL_MODULES="${ACCEL_MODULES} ${ALTIVEC_MODULES}"
fi

echo "$as_me:$LINENO: checking if \$CC groks AltiVec C extensions" >&5
echo $ECHO_N "checking if \$CC groks AltiVec C extensions... $ECHO_C" >&6
if test "${ac_cv_c_altivec+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  CFLAGS="${CFLAGS_save} -faltivec"
     # Darwin test
     cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{
vec_mtvscr((vector unsigned int)(0));
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_altivec=-faltivec
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5


        # Linux/PPC test
        CFLAGS="${CFLAGS_save} ${CFLAGS_idctaltivec} -fvec"
        cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{
vec_mtvscr((vector unsigned int)(0));
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_altivec="-fvec"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_c_altivec=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext

fi
rm -f conftest.$ac_objext conftest.$ac_ext
     CFLAGS="${CFLAGS_save}"
fi
echo "$as_me:$LINENO: result: $ac_cv_c_altivec" >&5
echo "${ECHO_T}$ac_cv_c_altivec" >&6
if test "${ac_cv_c_altivec}" != "no"; then

cat >>confdefs.h <<\_ACEOF
#define CAN_COMPILE_C_ALTIVEC 1
_ACEOF

  CFLAGS_idctaltivec="${CFLAGS_idctaltivec} ${ac_cv_c_altivec}"
  CFLAGS_motionaltivec="${CFLAGS_motionaltivec} ${ac_cv_c_altivec}"
  CFLAGS_memcpyaltivec="${CFLAGS_memcpyaltivec} ${ac_cv_c_altivec}"
  CFLAGS_vlc="${CFLAGS_vlc} ${ac_cv_c_altivec}"
  ACCEL_MODULES="${ACCEL_MODULES} ${ALTIVEC_MODULES}"
fi

echo "$as_me:$LINENO: checking if linker needs -framework vecLib" >&5
echo $ECHO_N "checking if linker needs -framework vecLib... $ECHO_C" >&6
if test "${ac_cv_ld_altivec+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  LDFLAGS="${LDFLAGS_vlc} -framework vecLib"
     cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_ld_altivec=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_ld_altivec=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     LDFLAGS="${LDFLAGS_save}"

fi
echo "$as_me:$LINENO: result: $ac_cv_ld_altivec" >&5
echo "${ECHO_T}$ac_cv_ld_altivec" >&6
if test "${ac_cv_ld_altivec}" != "no"; then
  LDFLAGS_idctaltivec="${LDFLAGS_idctaltivec} -framework vecLib"
  LDFLAGS_motionaltivec="${LDFLAGS_motionaltivec} -framework vecLib"
  LDFLAGS_memcpyaltivec="${LDFLAGS_memcpyaltivec} -framework vecLib"
  LDFLAGS_vlc="${LDFLAGS_vlc} -framework vecLib"
fi
fi # end "${SYS}" != "mingw32"


# Check whether --with- or --without- was given.
if test "${with_+set}" = set; then
  withval="$with_"

fi;

# Check whether --with- or --without- was given.
if test "${with_+set}" = set; then
  withval="$with_"

fi;


# Check whether --with-tuning or --without-tuning was given.
if test "${with_tuning+set}" = set; then
  withval="$with_tuning"

fi;
if test "${with_tuning}" != ""; then
    if test "${target_cpu}" = "powerpc"; then
        CFLAGS_TUNING="-mtune=${with_tuning}"
    else
        CFLAGS_TUNING="-mcpu=${with_tuning}"
    fi
else
    if test "${target_cpu}" = "i686" -o "${target_cpu}" = "i586" -o 
"${target_cpu}" = "i486" -o "${target_cpu}" = "i386"; then 
CFLAGS_TUNING="-mcpu=pentiumpro"
    else
        if test "${target_cpu}" = "powerpc"; then CFLAGS_TUNING="-mtune=750"; fi
    fi
fi

if test "${target_cpu}" = "i686" -o "${target_cpu}" = "i586" -o "${target_cpu}" 
= "x86" -o "${target_cpu}" = "i386"
then
    ARCH="${ARCH} mmx"
    BUILTINS="${BUILTINS} ${ACCEL_MODULES}"
fi

# Check whether --enable-optimizations or --disable-optimizations was given.
if test "${enable_optimizations+set}" = set; then
  enableval="$enable_optimizations"

fi;


if test "${enable_optimizations}" != "no"; then
  OPTIM_TRUE=
  OPTIM_FALSE='#'
else
  OPTIM_TRUE='#'
  OPTIM_FALSE=
fi


# Check whether --enable-altivec or --disable-altivec was given.
if test "${enable_altivec+set}" = set; then
  enableval="$enable_altivec"
   if test "${enable_altivec}" = "yes"; then ARCH="${ARCH} altivec";
    BUILTINS="${BUILTINS} ${ACCEL_MODULES}"; fi
else
   if test "${target_cpu}" = "powerpc"; then ARCH="${ARCH} altivec";
    BUILTINS="${BUILTINS} ${ACCEL_MODULES}"; fi
fi;

# Check whether --enable-debug or --disable-debug was given.
if test "${enable_debug+set}" = set; then
  enableval="$enable_debug"

fi;


if test "${enable_debug}" = "yes"; then
  DEBUG_TRUE=
  DEBUG_FALSE='#'
else
  DEBUG_TRUE='#'
  DEBUG_FALSE=
fi


# Check whether --enable-release or --disable-release was given.
if test "${enable_release+set}" = set; then
  enableval="$enable_release"

fi;


if test "${enable_release}" = "yes"; then
  RELEASE_TRUE=
  RELEASE_FALSE='#'
else
  RELEASE_TRUE='#'
  RELEASE_FALSE=
fi


# Check whether --enable-sout or --disable-sout was given.
if test "${enable_sout+set}" = set; then
  enableval="$enable_sout"

fi;
if test "${enable_sout}" != "no"
then
  PLUGINS="${PLUGINS} access_output_dummy access_output_udp access_output_file 
access_output_http"
  PLUGINS="${PLUGINS} mux_ts mux_ps mux_avi mux_dummy"
  PLUGINS="${PLUGINS} packetizer_mpegaudio packetizer_mpegvideo packetizer_a52"
  PLUGINS="${PLUGINS} packetizer_mpeg4video packetizer_mpeg4audio"
  PLUGINS="${PLUGINS} packetizer_copy"

  PLUGINS="${PLUGINS} stream_out_dummy stream_out_standard stream_out_es"
  PLUGINS="${PLUGINS} stream_out_duplicate stream_out_display"


for ac_header in ogg/ogg.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

      echo "$as_me:$LINENO: checking for ogg_stream_packetin in -logg" >&5
echo $ECHO_N "checking for ogg_stream_packetin in -logg... $ECHO_C" >&6
if test "${ac_cv_lib_ogg_ogg_stream_packetin+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-logg  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char ogg_stream_packetin ();
int
main ()
{
ogg_stream_packetin ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_ogg_ogg_stream_packetin=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_ogg_ogg_stream_packetin=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_ogg_ogg_stream_packetin" >&5
echo "${ECHO_T}$ac_cv_lib_ogg_ogg_stream_packetin" >&6
if test $ac_cv_lib_ogg_ogg_stream_packetin = yes; then

        PLUGINS="${PLUGINS} mux_ogg"
        LDFLAGS_mux_ogg="${LDFLAGS_mux_ogg} -logg"
fi


fi

done

fi




# Check whether --with- or --without- was given.
if test "${with_+set}" = set; then
  withval="$with_"

fi;

# Check whether --enable-dvd or --disable-dvd was given.
if test "${enable_dvd+set}" = set; then
  enableval="$enable_dvd"

fi;
if test "${enable_dvd}" != "no"
then

# Check whether --with-dvdcss or --without-dvdcss was given.
if test "${with_dvdcss+set}" = set; then
  withval="$with_dvdcss"

fi;

# Check whether --with-dvdcss-tree or --without-dvdcss-tree was given.
if test "${with_dvdcss_tree+set}" = set; then
  withval="$with_dvdcss_tree"

fi;
  case "${with_dvdcss}" in
  ""|yes)
    if test "${with_dvdcss_tree}" = ""
    then

for ac_header in dvdcss/dvdcss.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
  PLUGINS="${PLUGINS} dvd"
          LDFLAGS_dvd="${LDFLAGS_dvd} -ldvdcss"
          LDFLAGS_dvdcss="${LDFLAGS_dvdcss} -ldvdcss"
else
   { 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
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;}
          { { echo "$as_me:$LINENO: error: cannot find libdvdcss headers" >&5
echo "$as_me: error: cannot find libdvdcss headers" >&2;}
   { (exit 1); exit 1; }; }
fi

done

    else
      echo "$as_me:$LINENO: checking for libdvdcss.a in ${with_dvdcss_tree}" >&5
echo $ECHO_N "checking for libdvdcss.a in ${with_dvdcss_tree}... $ECHO_C" >&6
      real_dvdcss_tree="`cd ${with_dvdcss_tree} 2>/dev/null && pwd`"
      if test "${real_dvdcss_tree}" = ""
      then
                echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
        { { echo "$as_me:$LINENO: error: cannot cd to ${with_dvdcss_tree}" >&5
echo "$as_me: error: cannot cd to ${with_dvdcss_tree}" >&2;}
   { (exit 1); exit 1; }; }
      fi
      if test -f "${real_dvdcss_tree}/src/.libs/libdvdcss.a"
      then
                echo "$as_me:$LINENO: result: 
${real_dvdcss_tree}/src/.libs/libdvdcss.a" >&5
echo "${ECHO_T}${real_dvdcss_tree}/src/.libs/libdvdcss.a" >&6
        BUILTINS="${BUILTINS} dvd"
        LDFLAGS_dvd="${LDFLAGS_dvd} -L${real_dvdcss_tree}/src/.libs -ldvdcss"
        LDFLAGS_dvdcss="${LDFLAGS_dvdcss} -L${real_dvdcss_tree}/src/.libs 
-ldvdcss"
        CPPFLAGS_dvd="${CPPFLAGS_dvd} -I${real_dvdcss_tree}/src"
      else
                echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
        { { echo "$as_me:$LINENO: error: cannot find 
${real_dvdcss_tree}/src/.libs/libdvdcss.a, make sure you compiled libdvdcss in 
${with_dvdcss_tree}" >&5
echo "$as_me: error: cannot find ${real_dvdcss_tree}/src/.libs/libdvdcss.a, 
make sure you compiled libdvdcss in ${with_dvdcss_tree}" >&2;}
   { (exit 1); exit 1; }; }
      fi
    fi
  ;;
  no)
        PLUGINS="${PLUGINS} dvd"
    CPPFLAGS_dvd="${CPPFLAGS_dvd} -DGOD_DAMN_DMCA"
    LDFLAGS_dvd="${LDFLAGS_dvd} -ldl"
  ;;
  *)
    echo "$as_me:$LINENO: checking for dvdcss headers in ${with_dvdcss}" >&5
echo $ECHO_N "checking for dvdcss headers in ${with_dvdcss}... $ECHO_C" >&6
    if test -f ${with_dvdcss}/include/dvdcss/dvdcss.h
    then
            echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
      PLUGINS="${PLUGINS} dvd"
      LDFLAGS_dvd="${LDFLAGS_dvd} -L${with_dvdcss}/lib -ldvdcss"
      LDFLAGS_dvdcss="${LDFLAGS_dvdcss} -L${with_dvdcss}/lib -ldvdcss"
      CPPFLAGS_dvd="${CPPFLAGS_dvd} -I${with_dvdcss}/include"
    else
            echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
      { { echo "$as_me:$LINENO: error: cannot find 
${with_dvdcss}/include/dvdcss/dvdcss.h" >&5
echo "$as_me: error: cannot find ${with_dvdcss}/include/dvdcss/dvdcss.h" >&2;}
   { (exit 1); exit 1; }; }
    fi
  ;;
  esac
fi

# Check whether --enable-dvdread or --disable-dvdread was given.
if test "${enable_dvdread+set}" = set; then
  enableval="$enable_dvdread"

fi;
if test "${enable_dvdread}" != "no"
then

# Check whether --with-dvdread or --without-dvdread was given.
if test "${with_dvdread+set}" = set; then
  withval="$with_dvdread"

fi;

# Check whether --with-dvdread-tree or --without-dvdread-tree was given.
if test "${with_dvdread_tree+set}" = set; then
  withval="$with_dvdread_tree"

fi;
  if test "${with_dvdread}" = ""
  then
    if test "${with_dvdread_tree}" = ""
    then

for ac_header in dvdread/dvd_reader.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
  PLUGINS="${PLUGINS} dvdread"
          LDFLAGS_dvdread="${LDFLAGS_dvdread} -ldvdread ${LDFLAGS_dvdcss}"
else
   if test "${enable_dvdread}" != ""
          then
            { echo "$as_me:$LINENO: WARNING: Please get libdvdread from 
http://www.dtek.chalmers.se/groups/dvd/downloads.shtml"; >&5
echo "$as_me: WARNING: Please get libdvdread from 
http://www.dtek.chalmers.se/groups/dvd/downloads.shtml"; >&2;}
            { { echo "$as_me:$LINENO: error: cannot find libdvdread headers" >&5
echo "$as_me: error: cannot find libdvdread headers" >&2;}
   { (exit 1); exit 1; }; }
          fi
fi

done

    else
      echo "$as_me:$LINENO: checking for libdvdread.a in ${with_dvdread_tree}" 
>&5
echo $ECHO_N "checking for libdvdread.a in ${with_dvdread_tree}... $ECHO_C" >&6
      real_dvdread_tree="`cd ${with_dvdread_tree} 2>/dev/null && pwd`"
      if test "${real_dvdread_tree}" = ""
      then
                echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
        { { echo "$as_me:$LINENO: error: cannot cd to ${with_dvdread_tree}" >&5
echo "$as_me: error: cannot cd to ${with_dvdread_tree}" >&2;}
   { (exit 1); exit 1; }; }
      fi
      if test -f "${real_dvdread_tree}/dvdread/.libs/libdvdread.a"
      then
                echo "$as_me:$LINENO: result: 
${real_dvdread_tree}/dvdread/.libs/libdvdread.a" >&5
echo "${ECHO_T}${real_dvdread_tree}/dvdread/.libs/libdvdread.a" >&6
        BUILTINS="${BUILTINS} dvdread"
        LDFLAGS_dvdread="${LDFLAGS_dvdread} 
-L${real_dvdread_tree}/dvdread/.libs -ldvdread ${LDFLAGS_dvdcss}"
        CPPFLAGS_dvdread="${CPPFLAGS_dvdread} -I${real_dvdread_tree}"
      else
                echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
        { { echo "$as_me:$LINENO: error: cannot find 
${real_dvdread_tree}/dvdread/.libs/libdvdread.a, make sure you compiled 
libdvdread in ${with_dvdread_tree}" >&5
echo "$as_me: error: cannot find 
${real_dvdread_tree}/dvdread/.libs/libdvdread.a, make sure you compiled 
libdvdread in ${with_dvdread_tree}" >&2;}
   { (exit 1); exit 1; }; }
      fi
    fi
  else
    echo "$as_me:$LINENO: checking for dvdread headers in ${with_dvdread}" >&5
echo $ECHO_N "checking for dvdread headers in ${with_dvdread}... $ECHO_C" >&6
    if test -f ${with_dvdread}/include/dvdread/dvd_reader.h
    then
            echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
      PLUGINS="${PLUGINS} dvdread"
      LDFLAGS_dvdread="${LDFLAGS_dvdread} -L${with_dvdread}/lib -ldvdread 
${LDFLAGS_dvdcss}"
      CPPFLAGS_dvdread="${CPPFLAGS_dvdread} -I${with_dvdread}/include"
    else
            echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
      { { echo "$as_me:$LINENO: error: cannot find 
${with_dvdread}/include/dvdread/dvd_reader.h" >&5
echo "$as_me: error: cannot find ${with_dvdread}/include/dvdread/dvd_reader.h" 
>&2;}
   { (exit 1); exit 1; }; }
    fi
  fi
fi

# Check whether --enable-dvdplay or --disable-dvdplay was given.
if test "${enable_dvdplay+set}" = set; then
  enableval="$enable_dvdplay"

fi;
if test "${enable_dvdplay}" != "no"
then

# Check whether --with-dvdplay or --without-dvdplay was given.
if test "${with_dvdplay+set}" = set; then
  withval="$with_dvdplay"

fi;

# Check whether --with-dvdplay-tree or --without-dvdplay-tree was given.
if test "${with_dvdplay_tree+set}" = set; then
  withval="$with_dvdplay_tree"

fi;
  if test "${with_dvdplay}" = ""
  then
    if test "${with_dvdplay_tree}" = ""
    then

for ac_header in dvdplay/dvdplay.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
  PLUGINS="${PLUGINS} dvdplay"
          LDFLAGS_dvdplay="${LDFLAGS_dvdplay} -ldvdplay ${LDFLAGS_dvdread} 
${LDFLAGS_dvdcss}"
          CPPFLAGS_dvdplay="${CPPFLAGS_dvdplay} ${CPPFLAGS_dvdread}"
else
   if test "${enable_dvdplay}" != ""
          then
            { echo "$as_me:$LINENO: WARNING: Please get libdvdplay from 
http://www.videolan.org/."; >&5
echo "$as_me: WARNING: Please get libdvdplay from http://www.videolan.org/."; 
>&2;}
            { { echo "$as_me:$LINENO: error: cannot find libdvdplay headers" >&5
echo "$as_me: error: cannot find libdvdplay headers" >&2;}
   { (exit 1); exit 1; }; }
          fi
fi

done

    else
      echo "$as_me:$LINENO: checking for libdvdplay.a in ${with_dvdplay_tree}" 
>&5
echo $ECHO_N "checking for libdvdplay.a in ${with_dvdplay_tree}... $ECHO_C" >&6
      real_dvdplay_tree="`cd ${with_dvdplay_tree} 2>/dev/null && pwd`"
      if test "${real_dvdplay_tree}" = ""
      then
                echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
        { { echo "$as_me:$LINENO: error: cannot cd to ${with_dvdplay_tree}" >&5
echo "$as_me: error: cannot cd to ${with_dvdplay_tree}" >&2;}
   { (exit 1); exit 1; }; }
      fi
      if test -f "${real_dvdplay_tree}/src/.libs/libdvdplay.a"
      then
                echo "$as_me:$LINENO: result: 
${real_dvdplay_tree}/src/.libs/libdvdplay.a" >&5
echo "${ECHO_T}${real_dvdplay_tree}/src/.libs/libdvdplay.a" >&6
        BUILTINS="${BUILTINS} dvdplay"
        LDFLAGS_dvdplay="${LDFLAGS_dvdplay} -L${real_dvdplay_tree}/src/.libs 
-ldvdplay ${LDFLAGS_dvdread} ${LDFLAGS_dvdcss}"
        CPPFLAGS_dvdplay="${CPPFLAGS_dvdplay} ${CPPFLAGS_dvdread} 
-I${real_dvdplay_tree}/src"
      else
                echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
        { { echo "$as_me:$LINENO: error: cannot find 
${real_dvdplay_tree}/src/.libs/libdvdplay.a, make sure you compiled libdvdplay 
in ${with_dvdplay_tree}" >&5
echo "$as_me: error: cannot find ${real_dvdplay_tree}/src/.libs/libdvdplay.a, 
make sure you compiled libdvdplay in ${with_dvdplay_tree}" >&2;}
   { (exit 1); exit 1; }; }
      fi
    fi
  else
    echo "$as_me:$LINENO: checking for dvdplay headers in ${with_dvdplay}" >&5
echo $ECHO_N "checking for dvdplay headers in ${with_dvdplay}... $ECHO_C" >&6
    if test -f ${with_dvdplay}/include/dvdplay/dvdplay.h
    then
            echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
      PLUGINS="${PLUGINS} dvdplay"
      LDFLAGS_dvdplay="${LDFLAGS_dvdplay} -L${with_dvdplay}/lib -ldvdplay 
${LDFLAGS_dvdread} ${LDFLAGS_dvdcss}"
      CPPFLAGS_dvdplay="${CPPFLAGS_dvdplay} ${CPPFLAGS_dvdread} 
-I${with_dvdplay}/include"
    else
            echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
      { { echo "$as_me:$LINENO: error: cannot find 
${with_dvdplay}/include/dvdplay/dvdplay.h" >&5
echo "$as_me: error: cannot find ${with_dvdplay}/include/dvdplay/dvdplay.h" 
>&2;}
   { (exit 1); exit 1; }; }
    fi
  fi
fi

# Check whether --enable-dvbpsi or --disable-dvbpsi was given.
if test "${enable_dvbpsi+set}" = set; then
  enableval="$enable_dvbpsi"

fi;
if test "${enable_dvbpsi}" != "no"
then

# Check whether --with-dvbpsi or --without-dvbpsi was given.
if test "${with_dvbpsi+set}" = set; then
  withval="$with_dvbpsi"

fi;

# Check whether --with-dvbpsi or --without-dvbpsi was given.
if test "${with_dvbpsi+set}" = set; then
  withval="$with_dvbpsi"

fi;
  case "${with_dvbpsi}" in
  ""|yes)
    if test "${with_dvbpsi_tree}" = ""
    then

for ac_header in dvbpsi/dr.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#if defined( HAVE_STDINT_H )
#   include <stdint.h>
#elif defined( HAVE_INTTYPES_H )
#   include <inttypes.h>
#endif
#include <dvbpsi/dvbpsi.h>
#include <dvbpsi/descriptor.h>
#include <dvbpsi/pat.h>
#include <dvbpsi/pmt.h>

#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_Header=yes"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

eval "$as_ac_Header=no"
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
  PLUGINS="${PLUGINS} ts_dvbpsi"
          LDFLAGS_ts_dvbpsi="${LDFLAGS_ts_dvbpsi} -ldvbpsi"
          PLUGINS="${PLUGINS} mux_ts_dvbpsi"
          LDFLAGS_mux_ts_dvbpsi="${LDFLAGS_mux_ts_dvbpsi} -ldvbpsi"
else
    { echo "$as_me:$LINENO: WARNING: cannot find libdvbpsi headers" >&5
echo "$as_me: WARNING: cannot find libdvbpsi headers" >&2;}
fi

done

    else
      echo "$as_me:$LINENO: checking for libdvbpsi.a in ${with_dvbpsi_tree}" >&5
echo $ECHO_N "checking for libdvbpsi.a in ${with_dvbpsi_tree}... $ECHO_C" >&6
      real_dvbpsi_tree="`cd ${with_dvbpsi_tree} 2>/dev/null && pwd`"
      if test "${real_dvbpsi_tree}" = ""
      then
                echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
        { { echo "$as_me:$LINENO: error: cannot cd to ${with_dvbpsi_tree}" >&5
echo "$as_me: error: cannot cd to ${with_dvbpsi_tree}" >&2;}
   { (exit 1); exit 1; }; }
      fi
      if test -f "${real_dvbpsi_tree}/src/.libs/libdvbpsi.a"
      then
                echo "$as_me:$LINENO: result: 
${real_dvbpsi_tree}/src/.libs/libdvbpsi.a" >&5
echo "${ECHO_T}${real_dvbpsi_tree}/src/.libs/libdvbpsi.a" >&6
        BUILTINS="${BUILTINS} ts_dvbpsi"
        LDFLAGS_ts_dvbpsi="${LDFLAGS_ts_dvbpsi} -L${real_dvbpsi_tree}/src/.libs 
-ldvbpsi"
        CPPFLAGS_ts_dvbpsi="${CPPFLAGS_ts_dvbpsi} -I${real_dvbpsi_tree}/src"

        BUILTINS="${BUILTINS} mux_ts_dvbpsi"
        LDFLAGS_mux_ts_dvbpsi="${LDFLAGS_mux_ts_dvbpsi} 
-L${real_dvbpsi_tree}/src/.libs -ldvbpsi"
        CPPFLAGS_mux_ts_dvbpsi="${CPPFLAGS_mux_ts_dvbpsi} 
-I${real_dvbpsi_tree}/src"

      else
                echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
        { { echo "$as_me:$LINENO: error: cannot find 
${real_dvbpsi_tree}/src/.libs/libdvbpsi.a, make sure you compiled libdvbpsi in 
${with_dvbpsi_tree}" >&5
echo "$as_me: error: cannot find ${real_dvbpsi_tree}/src/.libs/libdvbpsi.a, 
make sure you compiled libdvbpsi in ${with_dvbpsi_tree}" >&2;}
   { (exit 1); exit 1; }; }
      fi
    fi
  ;;
  no)
      ;;
  *)
    echo "$as_me:$LINENO: checking for dvbpsi headers in ${with_dvbpsi}" >&5
echo $ECHO_N "checking for dvbpsi headers in ${with_dvbpsi}... $ECHO_C" >&6
    if test "${with_dvbpsi}" = ""
    then
      LDFLAGS_test=""
      CPPFLAGS_test=""
    else
      LDFLAGS_test="-L${with_dvbpsi}/lib"
      CPPFLAGS_test="-I${with_dvbpsi}/include"
    fi
    CPPFLAGS="${CPPFLAGS_save} ${CPPFLAGS_test}"
    if test "${ac_cv_header_dvbpsi_dr_h+set}" = set; then
  echo "$as_me:$LINENO: checking for dvbpsi/dr.h" >&5
echo $ECHO_N "checking for dvbpsi/dr.h... $ECHO_C" >&6
if test "${ac_cv_header_dvbpsi_dr_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: $ac_cv_header_dvbpsi_dr_h" >&5
echo "${ECHO_T}$ac_cv_header_dvbpsi_dr_h" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking dvbpsi/dr.h usability" >&5
echo $ECHO_N "checking dvbpsi/dr.h usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <dvbpsi/dr.h>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking dvbpsi/dr.h presence" >&5
echo $ECHO_N "checking dvbpsi/dr.h presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <dvbpsi/dr.h>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: dvbpsi/dr.h: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: dvbpsi/dr.h: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: dvbpsi/dr.h: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: dvbpsi/dr.h: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: dvbpsi/dr.h: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: dvbpsi/dr.h: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: dvbpsi/dr.h: check for missing 
prerequisite headers?" >&5
echo "$as_me: WARNING: dvbpsi/dr.h: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: dvbpsi/dr.h: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: dvbpsi/dr.h: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for dvbpsi/dr.h" >&5
echo $ECHO_N "checking for dvbpsi/dr.h... $ECHO_C" >&6
if test "${ac_cv_header_dvbpsi_dr_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_header_dvbpsi_dr_h=$ac_header_preproc
fi
echo "$as_me:$LINENO: result: $ac_cv_header_dvbpsi_dr_h" >&5
echo "${ECHO_T}$ac_cv_header_dvbpsi_dr_h" >&6

fi
if test $ac_cv_header_dvbpsi_dr_h = yes; then

      PLUGINS="${PLUGINS} ts_dvbpsi"
      LDFLAGS_ts_dvbpsi="${LDFLAGS_ts_dvbpsi} ${LDFLAGS_test} -ldvbpsi"
      CPPFLAGS_ts_dvbpsi="${CPPFLAGS_ts_dvbpsi} ${CPPFLAGS_test}"
      PLUGINS="${PLUGINS} mux_ts_dvbpsi"
      LDFLAGS_mux_ts_dvbpsi="${LDFLAGS_mux_ts_dvbpsi} ${LDFLAGS_test} -ldvbpsi"
      CPPFLAGS_mux_ts_dvbpsi="${CPPFLAGS_mux_ts_dvbpsi} ${CPPFLAGS_test}"


else

      if test "${enable_dvbpsi}" != ""
      then
        { { 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
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;}
   { (exit 1); exit 1; }; }
      fi

fi


    CPPFLAGS="${CPPFLAGS_save}"
  ;;
  esac
fi

# Check whether --enable-v4l or --disable-v4l was given.
if test "${enable_v4l+set}" = set; then
  enableval="$enable_v4l"

fi;
if test "${enable_v4l}" = "yes"
then

for ac_header in linux/videodev.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

    PLUGINS="${PLUGINS} v4l"

fi

done

fi

# Check whether --enable-pvr or --disable-pvr was given.
if test "${enable_pvr+set}" = set; then
  enableval="$enable_pvr"

fi;
if test "${enable_pvr}" = "yes"
then
  PLUGINS="${PLUGINS} pvr"
fi

# Check whether --enable-vcd or --disable-vcd was given.
if test "${enable_vcd+set}" = set; then
  enableval="$enable_vcd"

fi;

if test "${enable_vcd}" != "no"
then
  echo "$as_me:$LINENO: checking for cdrom_msf0 in linux/cdrom.h" >&5
echo $ECHO_N "checking for cdrom_msf0 in linux/cdrom.h... $ECHO_C" >&6
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <linux/cdrom.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "cdrom_msf0" >/dev/null 2>&1; then

    echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
    PLUGINS="${PLUGINS} vcd cdda"

else

    echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6

fi
rm -f conftest*


  echo "$as_me:$LINENO: checking for scsireq in sys/scsiio.h" >&5
echo $ECHO_N "checking for scsireq in sys/scsiio.h... $ECHO_C" >&6
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <sys/scsiio.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "scsireq" >/dev/null 2>&1; then

    echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
    PLUGINS="${PLUGINS} vcd cdda"

cat >>confdefs.h <<\_ACEOF
#define HAVE_SCSIREQ_IN_SYS_SCSIIO_H 1
_ACEOF


else

    echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6

fi
rm -f conftest*


  echo "$as_me:$LINENO: checking for ioc_toc_header in sys/cdio.h" >&5
echo $ECHO_N "checking for ioc_toc_header in sys/cdio.h... $ECHO_C" >&6
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <sys/cdio.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "ioc_toc_header " >/dev/null 2>&1; then

    echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
    PLUGINS="${PLUGINS} vcd cdda"

cat >>confdefs.h <<\_ACEOF
#define HAVE_IOC_TOC_HEADER_IN_SYS_CDIO_H 1
_ACEOF


else

    echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6

fi
rm -f conftest*


  if test "${SYS}" = "bsdi" -o "${SYS}" = "mingw32"
  then
    PLUGINS="${PLUGINS} vcd cdda"
  fi

  if test "${SYS}" = "darwin"
  then
    PLUGINS="${PLUGINS} vcd cdda"
    LDFLAGS_vcd="${LDFLAGS_vcd} -framework IOKit -framework CoreFoundation"
    LDFLAGS_cdda="${LDFLAGS_cdda} -framework IOKit -framework CoreFoundation"
  fi
fi

# Check whether --enable-satellite or --disable-satellite was given.
if test "${enable_satellite+set}" = set; then
  enableval="$enable_satellite"
   if test "${enable_satellite}" = "yes"
    then
      PLUGINS="${PLUGINS} satellite"
    fi
fi;

if test "${SYS}" != "nto" && test "${SYS}" != "mingw32"
then
  have_ipv6=false

for ac_func in inet_pton
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char $ac_func ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != $ac_func;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_var=yes"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF
 have_ipv6=:
else

    echo "$as_me:$LINENO: checking for inet_pton in -lresolv" >&5
echo $ECHO_N "checking for inet_pton in -lresolv... $ECHO_C" >&6
if test "${ac_cv_lib_resolv_inet_pton+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lresolv  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char inet_pton ();
int
main ()
{
inet_pton ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_resolv_inet_pton=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_resolv_inet_pton=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_pton" >&5
echo "${ECHO_T}$ac_cv_lib_resolv_inet_pton" >&6
if test $ac_cv_lib_resolv_inet_pton = yes; then
  have_ipv6=:
       LDFLAGS_ipv6="${LDFLAGS_ipv6} -lresolv"
fi


fi
done

  echo "$as_me:$LINENO: checking for sockaddr_in6 in netinet/in.h" >&5
echo $ECHO_N "checking for sockaddr_in6 in netinet/in.h... $ECHO_C" >&6
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <netinet/in.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "sockaddr_in6" >/dev/null 2>&1; then
  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; have_ipv6=false
fi
rm -f conftest*

  if ${have_ipv6}; then
    PLUGINS="${PLUGINS} ipv6"
  fi
fi
if test "${SYS}" = "mingw32"
then
  echo "$as_me:$LINENO: checking for getaddrinfo in ws2tcpip.h" >&5
echo $ECHO_N "checking for getaddrinfo in ws2tcpip.h... $ECHO_C" >&6
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <ws2tcpip.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "addrinfo" >/dev/null 2>&1; then
  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
    PLUGINS="${PLUGINS} ipv6"
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi
rm -f conftest*

fi

# Check whether --enable-ogg or --disable-ogg was given.
if test "${enable_ogg+set}" = set; then
  enableval="$enable_ogg"

fi;
if test "${enable_ogg}" != "no"
then

for ac_header in ogg/ogg.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

    echo "$as_me:$LINENO: checking for oggpack_read in -logg" >&5
echo $ECHO_N "checking for oggpack_read in -logg... $ECHO_C" >&6
if test "${ac_cv_lib_ogg_oggpack_read+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-logg  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char oggpack_read ();
int
main ()
{
oggpack_read ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_ogg_oggpack_read=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_ogg_oggpack_read=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_ogg_oggpack_read" >&5
echo "${ECHO_T}$ac_cv_lib_ogg_oggpack_read" >&6
if test $ac_cv_lib_ogg_oggpack_read = yes; then

      PLUGINS="${PLUGINS} ogg"
      LDFLAGS_ogg="${LDFLAGS_ogg} -logg"
      echo "$as_me:$LINENO: checking for oggpackB_read in -logg" >&5
echo $ECHO_N "checking for oggpackB_read in -logg... $ECHO_C" >&6
if test "${ac_cv_lib_ogg_oggpackB_read+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-logg  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char oggpackB_read ();
int
main ()
{
oggpackB_read ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_ogg_oggpackB_read=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_ogg_oggpackB_read=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_ogg_oggpackB_read" >&5
echo "${ECHO_T}$ac_cv_lib_ogg_oggpackB_read" >&6
if test $ac_cv_lib_ogg_oggpackB_read = yes; then

        CPPFLAGS_ogg="${CPPFLAGS_ogg} -DHAVE_OGGPACKB"
fi

fi


fi

done

fi

# Check whether --enable-mkv or --disable-mkv was given.
if test "${enable_mkv+set}" = set; then
  enableval="$enable_mkv"

fi;
if test "${enable_mkv}" = "yes"
then
ac_ext=cc
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS 
conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu

    ac_ext=cc
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS 
conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
if test -z "$CXXCPP"; then
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
      # Double quotes because CXXCPP needs to be expanded
    for CXXCPP in "$CXX -E" "/lib/cpp"
    do
      ac_preproc_ok=false
for ac_cxx_preproc_warn_flag in '' yes
do
  # Use a header file that comes with gcc, so configuring glibc
  # with a fresh cross-compiler works.
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  # <limits.h> exists even on freestanding compilers.
  # On the NeXT, cc -E runs the code through the compiler's parser,
  # not just through cpp. "Syntax error" is here to catch this case.
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
                     Syntax error
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_cxx_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  :
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  # Broken: fails on valid input.
continue
fi
rm -f conftest.err conftest.$ac_ext

  # OK, works on sane cases.  Now check whether non-existent headers
  # can be detected and how.
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <ac_nonexistent.h>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_cxx_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  # Broken: success on invalid input.
continue
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  # Passes both tests.
ac_preproc_ok=:
break
fi
rm -f conftest.err conftest.$ac_ext

done
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.err conftest.$ac_ext
if $ac_preproc_ok; then
  break
fi

    done
    ac_cv_prog_CXXCPP=$CXXCPP

fi
  CXXCPP=$ac_cv_prog_CXXCPP
else
  ac_cv_prog_CXXCPP=$CXXCPP
fi
echo "$as_me:$LINENO: result: $CXXCPP" >&5
echo "${ECHO_T}$CXXCPP" >&6
ac_preproc_ok=false
for ac_cxx_preproc_warn_flag in '' yes
do
  # Use a header file that comes with gcc, so configuring glibc
  # with a fresh cross-compiler works.
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  # <limits.h> exists even on freestanding compilers.
  # On the NeXT, cc -E runs the code through the compiler's parser,
  # not just through cpp. "Syntax error" is here to catch this case.
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
                     Syntax error
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_cxx_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  :
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  # Broken: fails on valid input.
continue
fi
rm -f conftest.err conftest.$ac_ext

  # OK, works on sane cases.  Now check whether non-existent headers
  # can be detected and how.
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <ac_nonexistent.h>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_cxx_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  # Broken: success on invalid input.
continue
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  # Passes both tests.
ac_preproc_ok=:
break
fi
rm -f conftest.err conftest.$ac_ext

done
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.err conftest.$ac_ext
if $ac_preproc_ok; then
  :
else
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity 
check
See \`config.log' for more details." >&5
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
See \`config.log' for more details." >&2;}
   { (exit 1); exit 1; }; }
fi

ac_ext=cc
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS 
conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu




for ac_header in EbmlVersion.h matroska/KaxVersion.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_cxx_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

    PLUGINS="${PLUGINS} mkv"
    LDFLAGS_mkv="${LDFLAGS_mkv} -lmatroska -lebml -lstdc++"

fi

done

ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext 
$LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

fi



# Check whether --with- or --without- was given.
if test "${with_+set}" = set; then
  withval="$with_"

fi;

# Check whether --enable-mad or --disable-mad was given.
if test "${enable_mad+set}" = set; then
  enableval="$enable_mad"

fi;
if test "${enable_mad}" != "no"
then

# Check whether --with-mad or --without-mad was given.
if test "${with_mad+set}" = set; then
  withval="$with_mad"

fi;
  if test "${with_mad}" != "no" -a "${with_mad}" != ""
  then
    CPPFLAGS_mpgatofixed32="${CPPFLAGS_mpgatofixed32} -I${with_mad}/include"
    LDFLAGS_mpgatofixed32="${LDFLAGS_mpgatofixed32} -L${with_mad}/lib"
  fi


# Check whether --with-mad-tree or --without-mad-tree was given.
if test "${with_mad_tree+set}" = set; then
  withval="$with_mad_tree"

fi;
  if test "${with_mad_tree}" != "no" -a "${with_mad_tree}" != ""
  then
    real_mad_tree="`cd ${with_mad_tree} 2>/dev/null && pwd`"
    if test "${real_mad_tree}" = ""
    then
            echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
      { { echo "$as_me:$LINENO: error: ${with_mad_tree} directory doesn't 
exist" >&5
echo "$as_me: error: ${with_mad_tree} directory doesn't exist" >&2;}
   { (exit 1); exit 1; }; }
    fi
        echo "$as_me:$LINENO: checking for mad.h in ${real_mad_tree}/libmad" >&5
echo $ECHO_N "checking for mad.h in ${real_mad_tree}/libmad... $ECHO_C" >&6
    if test -f ${real_mad_tree}/libmad/mad.h
    then
      echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
      CPPFLAGS_mpgatofixed32="${CPPFLAGS_mpgatofixed32} 
-I${real_mad_tree}/libmad"
      LDFLAGS_mpgatofixed32="${LDFLAGS_mpgatofixed32} 
-L${real_mad_tree}/libmad/.libs"
      LDFLAGS="${LDFLAGS_save} ${LDFLAGS_mpgatofixed32}"
      echo "$as_me:$LINENO: checking for mad_bit_init in -lmad" >&5
echo $ECHO_N "checking for mad_bit_init in -lmad... $ECHO_C" >&6
if test "${ac_cv_lib_mad_mad_bit_init+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lmad  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char mad_bit_init ();
int
main ()
{
mad_bit_init ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_mad_mad_bit_init=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_mad_mad_bit_init=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_mad_mad_bit_init" >&5
echo "${ECHO_T}$ac_cv_lib_mad_mad_bit_init" >&6
if test $ac_cv_lib_mad_mad_bit_init = yes; then

        BUILTINS="${BUILTINS} mpgatofixed32"
        LDFLAGS_mpgatofixed32="${LDFLAGS_mpgatofixed32} -lmad"

else
   { { echo "$as_me:$LINENO: error: the specified tree hasn't been compiled " 
>&5
echo "$as_me: error: the specified tree hasn't been compiled " >&2;}
   { (exit 1); exit 1; }; }

fi

      LDFLAGS="${LDFLAGS_save}"
    else
      echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
      { { echo "$as_me:$LINENO: error: the specified tree doesn't have mad.h" 
>&5
echo "$as_me: error: the specified tree doesn't have mad.h" >&2;}
   { (exit 1); exit 1; }; }
    fi
  else
    CPPFLAGS="${CPPFLAGS_save} ${CPPFLAGS_mpgatofixed32}"
    LDFLAGS="${LDFLAGS_save} ${LDFLAGS_mpgatofixed32}"

for ac_header in mad.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

else
   { { echo "$as_me:$LINENO: error: Could not find libmad on your system: you 
may get it from http://www.underbit.com/products/mad/. Alternatively you can 
use --disable-mad to disable the mad plugin." >&5
echo "$as_me: error: Could not find libmad on your system: you may get it from 
http://www.underbit.com/products/mad/. Alternatively you can use --disable-mad 
to disable the mad plugin." >&2;}
   { (exit 1); exit 1; }; }
fi

done

    echo "$as_me:$LINENO: checking for mad_bit_init in -lmad" >&5
echo $ECHO_N "checking for mad_bit_init in -lmad... $ECHO_C" >&6
if test "${ac_cv_lib_mad_mad_bit_init+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lmad  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char mad_bit_init ();
int
main ()
{
mad_bit_init ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_mad_mad_bit_init=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_mad_mad_bit_init=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_mad_mad_bit_init" >&5
echo "${ECHO_T}$ac_cv_lib_mad_mad_bit_init" >&6
if test $ac_cv_lib_mad_mad_bit_init = yes; then

      PLUGINS="${PLUGINS} mpgatofixed32"
      LDFLAGS_mpgatofixed32="${LDFLAGS_mpgatofixed32} -lmad"
else
   { { echo "$as_me:$LINENO: error: Cannot find libmad library..." >&5
echo "$as_me: error: Cannot find libmad library..." >&2;}
   { (exit 1); exit 1; }; }
fi

    CPPFLAGS="${CPPFLAGS_save}"
    LDFLAGS="${LDFLAGS_save}"
  fi
fi


for ac_header in id3tag.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF


for ac_header in zlib.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

    LDFLAGS_id3tag="${LDFLAGS_id3tag} -lid3tag -lz"
    PLUGINS="${PLUGINS} id3tag"
fi

done

fi

done


# Check whether --enable-ffmpeg or --disable-ffmpeg was given.
if test "${enable_ffmpeg+set}" = set; then
  enableval="$enable_ffmpeg"

fi;
if test "${enable_ffmpeg}" != "no"
then

# Check whether --with-ffmpeg-tree or --without-ffmpeg-tree was given.
if test "${with_ffmpeg_tree+set}" = set; then
  withval="$with_ffmpeg_tree"

fi;

        if test "${with_ffmpeg_tree}" == "no" -o "${with_ffmpeg_tree}" == 
"";then
    CPPFLAGS="${CPPFLAGS_save} ${CPPFLAGS_ffmpeg}"
    LDFLAGS="${LDFLAGS_save} ${LDFLAGS_ffmpeg}"


for ac_header in ffmpeg/avcodec.h postproc/postprocess.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

fi

done

    echo "$as_me:$LINENO: checking for avcodec_init in -lavcodec" >&5
echo $ECHO_N "checking for avcodec_init in -lavcodec... $ECHO_C" >&6
if test "${ac_cv_lib_avcodec_avcodec_init+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lavcodec  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char avcodec_init ();
int
main ()
{
avcodec_init ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_avcodec_avcodec_init=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_avcodec_avcodec_init=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_avcodec_init" >&5
echo "${ECHO_T}$ac_cv_lib_avcodec_avcodec_init" >&6
if test $ac_cv_lib_avcodec_avcodec_init = yes; then

      BUILTINS="${BUILTINS} ffmpeg stream_out_transcode"
      LDFLAGS_ffmpeg="${LDFLAGS_ffmpeg} -lavcodec"
                  LDFLAGS_stream_out_transcode="${LDFLAGS_stream_out_transcode}"
else
   { { echo "$as_me:$LINENO: error: Could not find ffmpeg on your system: you 
may get it from http://ffmpeg.sf.net/ (cvs version is recommended). 
Alternatively you can use --disable-ffmpeg to disable the ffmpeg plugins." >&5
echo "$as_me: error: Could not find ffmpeg on your system: you may get it from 
http://ffmpeg.sf.net/ (cvs version is recommended). Alternatively you can use 
--disable-ffmpeg to disable the ffmpeg plugins." >&2;}
   { (exit 1); exit 1; }; }
fi

    LDFLAGS="${LDFLAGS_save}"
    CPPFLAGS="${CPPFLAGS_save}"
  fi

        if test "${with_ffmpeg_tree}" != "no" -a "${with_ffmpeg_tree}" != 
"";then
    echo "$as_me:$LINENO: checking for libavcodec.a in ${with_ffmpeg_tree}" >&5
echo $ECHO_N "checking for libavcodec.a in ${with_ffmpeg_tree}... $ECHO_C" >&6
    real_ffmpeg_tree="`cd ${with_ffmpeg_tree} 2>/dev/null && pwd`"
    if test "${real_ffmpeg_tree}" = ""; then
            echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
      { { echo "$as_me:$LINENO: error: cannot cd to ${with_ffmpeg_tree}" >&5
echo "$as_me: error: cannot cd to ${with_ffmpeg_tree}" >&2;}
   { (exit 1); exit 1; }; }
    fi
    if test -f "${real_ffmpeg_tree}/libavcodec/libavcodec.a"; then
            echo "$as_me:$LINENO: result: 
${real_ffmpeg_tree}/libavcodec/libavcodec.a" >&5
echo "${ECHO_T}${real_ffmpeg_tree}/libavcodec/libavcodec.a" >&6
      BUILTINS="${BUILTINS} ffmpeg stream_out_transcode"
      LDFLAGS_ffmpeg="${LDFLAGS_ffmpeg} -L${real_ffmpeg_tree}/libavcodec 
-lavcodec"
      CPPFLAGS_ffmpeg="${CPPFLAGS_ffmpeg} -I${real_ffmpeg_tree}/libavcodec"

                  LDFLAGS_stream_out_transcode="${LDFLAGS_stream_out_transcode} 
-L${real_ffmpeg_tree}/libavcodec"
      CPPFLAGS_stream_out_transcode="${CPPFLAGS_stream_out_transcode} 
-I${real_ffmpeg_tree}/libavcodec"
    else
            echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
      { { echo "$as_me:$LINENO: error: cannot find 
${real_ffmpeg_tree}/libavcodec/libavcodec.a, make sure you compiled libavcodec 
in ${with_ffmpeg_tree}" >&5
echo "$as_me: error: cannot find ${real_ffmpeg_tree}/libavcodec/libavcodec.a, 
make sure you compiled libavcodec in ${with_ffmpeg_tree}" >&2;}
   { (exit 1); exit 1; }; }
    fi
  fi

    CPPFLAGS_encoder_ffmpeg="${CPPFLAGS_ffmpeg}"
    #LDFLAGS_encoder_ffmpeg="${LDFLAGS_ffmpeg}"
fi

# Check whether --enable-faad or --disable-faad was given.
if test "${enable_faad+set}" = set; then
  enableval="$enable_faad"

fi;
if test "${enable_faad}" = "yes"
then

# Check whether --with-faad-tree or --without-faad-tree was given.
if test "${with_faad_tree+set}" = set; then
  withval="$with_faad_tree"

fi;
  if test "${with_faad_tree}" != ""
  then
    echo "$as_me:$LINENO: checking for libfaad.a in ${with_faad_tree}" >&5
echo $ECHO_N "checking for libfaad.a in ${with_faad_tree}... $ECHO_C" >&6
    real_faad_tree="`cd ${with_faad_tree} 2>/dev/null && pwd`"
    if test "${real_faad_tree}" = ""
    then
            echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
      { { echo "$as_me:$LINENO: error: cannot cd to ${with_faad_tree}" >&5
echo "$as_me: error: cannot cd to ${with_faad_tree}" >&2;}
   { (exit 1); exit 1; }; }
    fi
    if test -f "${real_faad_tree}/libfaad/.libs/libfaad.a"
    then
            echo "$as_me:$LINENO: result: 
${real_faad_tree}/libfaad/.libs/libfaad.a" >&5
echo "${ECHO_T}${real_faad_tree}/libfaad/.libs/libfaad.a" >&6
      BUILTINS="${BUILTINS} faad"
      LDFLAGS_faad="${LDFLAGS_faad} -L${real_faad_tree}/libfaad/.libs -lfaad"
      CPPFLAGS_faad="${CPPFLAGS_faad} -I${real_faad_tree}/include"
      CPPFLAGS="${CPPFLAGS_save} ${CPPFLAGS_faad}"
      LDFLAGS="${LDFLAGS_save} ${LDFLAGS_faad}"
      cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <faad.h>
int
main ()
{
faacDecHandle a; faacDecFrameInfo *b; unsigned char *c;
         unsigned long d; faacDecDecode(a,b,c,d);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  :
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5


cat >>confdefs.h <<\_ACEOF
#define HAVE_OLD_FAAD2 1
_ACEOF

fi
rm -f conftest.$ac_objext conftest.$ac_ext
      LDFLAGS="${LDFLAGS_save}"
      CPPFLAGS="${CPPFLAGS_save}"
    else
            echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
      { { echo "$as_me:$LINENO: error: cannot find 
${real_faad_tree}/libfaad/.libs/libfaad.a, make sure you compiled libfaad in 
${with_faad_tree}" >&5
echo "$as_me: error: cannot find ${real_faad_tree}/libfaad/.libs/libfaad.a, 
make sure you compiled libfaad in ${with_faad_tree}" >&2;}
   { (exit 1); exit 1; }; }
    fi
  else
    CPPFLAGS="${CPPFLAGS_save} ${CPPFLAGS_faad}"
    LDFLAGS="${LDFLAGS_save} ${LDFLAGS_faad}"

for ac_header in faad.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

else
   { { echo "$as_me:$LINENO: error: Cannot find development headers for 
libfaad..." >&5
echo "$as_me: error: Cannot find development headers for libfaad..." >&2;}
   { (exit 1); exit 1; }; }
fi

done

    echo "$as_me:$LINENO: checking for faacDecOpen in -lfaad" >&5
echo $ECHO_N "checking for faacDecOpen in -lfaad... $ECHO_C" >&6
if test "${ac_cv_lib_faad_faacDecOpen+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lfaad  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char faacDecOpen ();
int
main ()
{
faacDecOpen ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_faad_faacDecOpen=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_faad_faacDecOpen=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_faad_faacDecOpen" >&5
echo "${ECHO_T}$ac_cv_lib_faad_faacDecOpen" >&6
if test $ac_cv_lib_faad_faacDecOpen = yes; then

      PLUGINS="${PLUGINS} faad"
      LDFLAGS_faad="${LDFLAGS_faad} -lfaad"
      cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <faad.h>
int
main ()
{
faacDecHandle a; faacDecFrameInfo *b; unsigned char *c;
         unsigned long d; faacDecDecode(a,b,c,d);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  :
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5


cat >>confdefs.h <<\_ACEOF
#define HAVE_OLD_FAAD2 1
_ACEOF

fi
rm -f conftest.$ac_objext conftest.$ac_ext
else
   { { echo "$as_me:$LINENO: error: Cannot find libfaad library..." >&5
echo "$as_me: error: Cannot find libfaad library..." >&2;}
   { (exit 1); exit 1; }; }
fi

    LDFLAGS="${LDFLAGS_save}"
    CPPFLAGS="${CPPFLAGS_save}"
  fi
fi


# Check whether --enable-xvid or --disable-xvid was given.
if test "${enable_xvid+set}" = set; then
  enableval="$enable_xvid"

fi;
if test "${enable_xvid}" = "yes"
then

# Check whether --with-xvid or --without-xvid was given.
if test "${with_xvid+set}" = set; then
  withval="$with_xvid"

fi;
  if test "${with_xvid}" != "no" -a "${with_xvid}" != ""
  then
    CPPFLAGS_xvid="${CPPFLAGS_xvid} -I${with_xvid}/include"
    LDFLAGS_xvid="${LDFLAGS_xvid} -L${with_xvid}/lib"
  fi
  LDFLAGS_xvid="${LDFLAGS_xvid}"


# Check whether --with-xvid-tree or --without-xvid-tree was given.
if test "${with_xvid_tree+set}" = set; then
  withval="$with_xvid_tree"

fi;
  if test "${with_xvid_tree}" != ""
  then
    echo "$as_me:$LINENO: checking for libxvidcore.a in ${with_xvid_tree}" >&5
echo $ECHO_N "checking for libxvidcore.a in ${with_xvid_tree}... $ECHO_C" >&6
    real_xvid_tree="`cd ${with_xvid_tree} 2>/dev/null && pwd`"
    if test "${real_xvid_tree}" = ""
    then
            echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
      { { echo "$as_me:$LINENO: error: cannot cd to ${with_xvid_tree}" >&5
echo "$as_me: error: cannot cd to ${with_xvid_tree}" >&2;}
   { (exit 1); exit 1; }; }
    fi
    if test -f "${real_xvid_tree}/build/generic/libxvidcore.a"
    then
            echo "$as_me:$LINENO: result: 
${real_xvid_tree}/build/generic/libxvidcore.a" >&5
echo "${ECHO_T}${real_xvid_tree}/build/generic/libxvidcore.a" >&6
      BUILTINS="${BUILTINS} xvid"
      LDFLAGS_xvid="${LDFLAGS_xvid} -L${real_xvid_tree}/build/generic 
-lxvidcore"
      CPPFLAGS_xvid="${CPPFLAGS_xvid} -I${real_xvid_tree}/src"
    else
            echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
      { { echo "$as_me:$LINENO: error: cannot find 
${real_xvid_tree}/build/generic/libxvidcore.a, make sure you compiled 
libxvidcore in ${with_xvid_tree}" >&5
echo "$as_me: error: cannot find ${real_xvid_tree}/build/generic/libxvidcore.a, 
make sure you compiled libxvidcore in ${with_xvid_tree}" >&2;}
   { (exit 1); exit 1; }; }
    fi
  else
    CPPFLAGS="${CPPFLAGS_save} ${CPPFLAGS_xvid}"
    LDFLAGS="${LDFLAGS_save} ${LDFLAGS_xvid}"

for ac_header in xvid.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

else
   { { echo "$as_me:$LINENO: error: Cannot find development headers for 
libxvidcore..." >&5
echo "$as_me: error: Cannot find development headers for libxvidcore..." >&2;}
   { (exit 1); exit 1; }; }
fi

done

    echo "$as_me:$LINENO: checking for xvid_init in -lxvidcore" >&5
echo $ECHO_N "checking for xvid_init in -lxvidcore... $ECHO_C" >&6
if test "${ac_cv_lib_xvidcore_xvid_init+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lxvidcore  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char xvid_init ();
int
main ()
{
xvid_init ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_xvidcore_xvid_init=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_xvidcore_xvid_init=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_xvidcore_xvid_init" >&5
echo "${ECHO_T}$ac_cv_lib_xvidcore_xvid_init" >&6
if test $ac_cv_lib_xvidcore_xvid_init = yes; then

      PLUGINS="${PLUGINS} xvid"
      LDFLAGS_xvid="${LDFLAGS_xvid} -lxvidcore"
else
   { { echo "$as_me:$LINENO: error: Cannot find libxvidcore library..." >&5
echo "$as_me: error: Cannot find libxvidcore library..." >&2;}
   { (exit 1); exit 1; }; }
fi

    LDFLAGS="${LDFLAGS_save}"
    CPPFLAGS="${CPPFLAGS_save}"
  fi

    LDFLAGS_encoder_xvid=${LDFLAGS_xvid}
  CPPFLAGS_encoder_xvid=${CPPFLAGS_xvid}
fi

# Check whether --enable-quicktime or --disable-quicktime was given.
if test "${enable_quicktime+set}" = set; then
  enableval="$enable_quicktime"

fi;
if test "${enable_quicktime}" != "no" &&
  (test "${SYS}" = "darwin" || test "${enable_quicktime}" = "yes")
then

for ac_header in QuickTime/QuickTime.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
  BUILTINS="${BUILTINS} quicktime"
      LDFLAGS_quicktime="${LDFLAGS_quicktime} -framework QuickTime -framework 
Carbon"

else
   { { echo "$as_me:$LINENO: error: cannot find CoreAudio headers" >&5
echo "$as_me: error: cannot find CoreAudio headers" >&2;}
   { (exit 1); exit 1; }; }
fi

done

fi


for ac_header in zlib.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

  LDFLAGS_mp4="${LDFLAGS_mp4} -lz"
  LDFLAGS_skins="${LDFLAGS_skins} -lz"
  LDFLAGS_basic_skins="${LDFLAGS_basic_skins} -lz"

fi

done




for ac_header in libtar.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

  LDFLAGS_skins="${LDFLAGS_skins} -ltar"
  LDFLAGS_basic_skins="${LDFLAGS_basic_skins} -ltar"

fi

done




# Check whether --enable-a52 or --disable-a52 was given.
if test "${enable_a52+set}" = set; then
  enableval="$enable_a52"

fi;
if test "${enable_a52}" != "no"
then

# Check whether --with-a52 or --without-a52 was given.
if test "${with_a52+set}" = set; then
  withval="$with_a52"

fi;

# Check whether --with-a52-tree or --without-a52-tree was given.
if test "${with_a52_tree+set}" = set; then
  withval="$with_a52_tree"

fi;
  if test "${with_a52_tree}" != "no" -a "${with_a52_tree}" != ""
  then
    real_a52_tree="`cd ${with_a52_tree} 2>/dev/null && pwd`"
    if test "${real_a52_tree}" = ""
    then
            echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
      { { echo "$as_me:$LINENO: error: ${with_a52_tree} directory doesn't 
exist" >&5
echo "$as_me: error: ${with_a52_tree} directory doesn't exist" >&2;}
   { (exit 1); exit 1; }; }
    fi
        echo "$as_me:$LINENO: checking for a52.h in ${real_a52_tree}/include" 
>&5
echo $ECHO_N "checking for a52.h in ${real_a52_tree}/include... $ECHO_C" >&6
    if test -f ${real_a52_tree}/include/a52.h
    then
      echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
      CPPFLAGS_a52tofloat32="${CPPFLAGS_a52tofloat32} -I${real_a52_tree}"
      LDFLAGS_a52tofloat32="${LDFLAGS_a52tofloat32} 
-L${real_a52_tree}/liba52/.libs"
      LDFLAGS="${LDFLAGS_save} ${LDFLAGS_a52tofloat32}"
      echo "$as_me:$LINENO: checking for a52_free in -la52" >&5
echo $ECHO_N "checking for a52_free in -la52... $ECHO_C" >&6
if test "${ac_cv_lib_a52_a52_free+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-la52  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char a52_free ();
int
main ()
{
a52_free ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_a52_a52_free=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_a52_a52_free=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_a52_a52_free" >&5
echo "${ECHO_T}$ac_cv_lib_a52_a52_free" >&6
if test $ac_cv_lib_a52_a52_free = yes; then

        BUILTINS="${BUILTINS} a52tofloat32"
        LDFLAGS_a52tofloat32="-la52 ${LDFLAGS_a52tofloat32}"
        CPPFLAGS_a52tofloat32="${CPPFLAGS_a52tofloat32} -DUSE_A52DEC_TREE"

else

        if test -f ${real_a52_tree}/liba52/.libs/liba52.a
        then
          { { echo "$as_me:$LINENO: error: make sure you have at least 
a52dec-0.7.3" >&5
echo "$as_me: error: make sure you have at least a52dec-0.7.3" >&2;}
   { (exit 1); exit 1; }; }
        else
          { { echo "$as_me:$LINENO: error: the specified tree hasn't been 
compiled" >&5
echo "$as_me: error: the specified tree hasn't been compiled" >&2;}
   { (exit 1); exit 1; }; }
        fi

fi

      LDFLAGS="${LDFLAGS_save}"
    else
      echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
      { { echo "$as_me:$LINENO: error: the specified tree doesn't have a52.h" 
>&5
echo "$as_me: error: the specified tree doesn't have a52.h" >&2;}
   { (exit 1); exit 1; }; }
    fi
  else
    if test "${with_a52}" = ""
    then
      LDFLAGS_test=""
      CPPFLAGS_test=""
    else
      LDFLAGS_test="-L${with_a52}/lib"
      CPPFLAGS_test="-I${with_a52}/include"
    fi
    CPPFLAGS="${CPPFLAGS_save} ${CPPFLAGS_test} ${CPPFLAGS_a52tofloat32}"
    LDFLAGS="${LDFLAGS_save} ${LDFLAGS_test} ${LDFLAGS_a52tofloat32}"

for ac_header in a52dec/a52.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

      echo "$as_me:$LINENO: checking for a52_free in -la52" >&5
echo $ECHO_N "checking for a52_free in -la52... $ECHO_C" >&6
if test "${ac_cv_lib_a52_a52_free+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-la52  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char a52_free ();
int
main ()
{
a52_free ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_a52_a52_free=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_a52_a52_free=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_a52_a52_free" >&5
echo "${ECHO_T}$ac_cv_lib_a52_a52_free" >&6
if test $ac_cv_lib_a52_a52_free = yes; then

        PLUGINS="${PLUGINS} a52tofloat32"
        LDFLAGS_a52tofloat32="${LDFLAGS_test} -la52 ${LDFLAGS_a52tofloat32}"
        CPPFLAGS_a52tofloat32="${CPPFLAGS_a52tofloat32} ${CPPFLAGS_test}"

else

        { { echo "$as_me:$LINENO: error: Could not find liba52 on your system: 
you may get it from http://liba52.sf.net/. Alternatively you can use 
--disable-a52 to disable the a52 plugin." >&5
echo "$as_me: error: Could not find liba52 on your system: you may get it from 
http://liba52.sf.net/. Alternatively you can use --disable-a52 to disable the 
a52 plugin." >&2;}
   { (exit 1); exit 1; }; }

fi


fi

done

    CPPFLAGS="${CPPFLAGS_save}"
    LDFLAGS="${LDFLAGS_save}"
  fi
fi

# Check whether --enable-dv or --disable-dv was given.
if test "${enable_dv+set}" = set; then
  enableval="$enable_dv"

fi;
if test "${enable_dv}" = "yes"
then

for ac_header in libdv/dv.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

    PLUGINS="${PLUGINS} dv"
    LDFLAGS_dv="${LDFLAGS_dv} -ldv"

fi

done

fi

# Check whether --enable-flac or --disable-flac was given.
if test "${enable_flac+set}" = set; then
  enableval="$enable_flac"

fi;
if test "${enable_flac}" = "yes"
then

for ac_header in FLAC/stream_decoder.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

    PLUGINS="${PLUGINS} flac flacdec"
    LDFLAGS_flacdec="${LDFLAGS_flacdec} -lFLAC"

fi

done

fi

# Check whether --enable-libmpeg2 or --disable-libmpeg2 was given.
if test "${enable_libmpeg2+set}" = set; then
  enableval="$enable_libmpeg2"

fi;
if test "${enable_libmpeg2}" != "no"
then

# Check whether --with-libmpeg2-tree or --without-libmpeg2-tree was given.
if test "${with_libmpeg2_tree+set}" = set; then
  withval="$with_libmpeg2_tree"

fi;
  if test "${with_libmpeg2_tree}" != ""
  then
    echo "$as_me:$LINENO: checking for libmpeg2.a in ${with_libmpeg2_tree}" >&5
echo $ECHO_N "checking for libmpeg2.a in ${with_libmpeg2_tree}... $ECHO_C" >&6
    real_libmpeg2_tree="`cd ${with_libmpeg2_tree} 2>/dev/null && pwd`"
    if test "${real_libmpeg2_tree}" = ""
    then
            echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
      { { echo "$as_me:$LINENO: error: cannot cd to ${with_libmpeg2_tree}" >&5
echo "$as_me: error: cannot cd to ${with_libmpeg2_tree}" >&2;}
   { (exit 1); exit 1; }; }
    fi
    if test -f "${real_libmpeg2_tree}/libmpeg2/.libs/libmpeg2.a"
    then
            echo "$as_me:$LINENO: result: 
${real_libmpeg2_tree}/libmpeg2/.libs/libmpeg2.a" >&5
echo "${ECHO_T}${real_libmpeg2_tree}/libmpeg2/.libs/libmpeg2.a" >&6
      PLUGINS="${PLUGINS} libmpeg2"
      LDFLAGS_libmpeg2="${LDFLAGS_libmpeg2} 
-L${real_libmpeg2_tree}/libmpeg2/.libs -lmpeg2"
      CFLAGS_libmpeg2="${CFLAGS_libmpeg2} -I${real_libmpeg2_tree}/include"
      eval "`cd ${real_libmpeg2_tree}/include && ln -sf . mpeg2dec 2>/dev/null`"
    else
            echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
      { { echo "$as_me:$LINENO: error: cannot find 
${real_libmpeg2_tree}/libmpeg2/.libs/libmpeg2.a, make sure you compiled 
libmpeg2 in ${with_libmpeg2_tree}" >&5
echo "$as_me: error: cannot find 
${real_libmpeg2_tree}/libmpeg2/.libs/libmpeg2.a, make sure you compiled 
libmpeg2 in ${with_libmpeg2_tree}" >&2;}
   { (exit 1); exit 1; }; }
    fi
  else

for ac_header in mpeg2dec/mpeg2.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

      echo "$as_me:$LINENO: checking for libmpeg2 version >= 0.3.2" >&5
echo $ECHO_N "checking for libmpeg2 version >= 0.3.2... $ECHO_C" >&6
      cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <mpeg2dec/mpeg2.h>
         #ifdef MPEG2_RELEASE
         #if MPEG2_RELEASE >= MPEG2_VERSION(0,3,2)
         yes
         #endif
         #endif
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "yes" >/dev/null 2>&1; then
  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
          PLUGINS="${PLUGINS} libmpeg2"
          LDFLAGS_libmpeg2="${LDFLAGS_libmpeg2} -lmpeg2"
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
          { { echo "$as_me:$LINENO: error: Your libmpeg2 is too old (you need 
the cvs version): you may get a more recent one from http://libmpeg2.sf.net/. 
Alternatively you can use --disable-libmpeg2 to disable the libmpeg2 plugin." 
>&5
echo "$as_me: error: Your libmpeg2 is too old (you need the cvs version): you 
may get a more recent one from http://libmpeg2.sf.net/. Alternatively you can 
use --disable-libmpeg2 to disable the libmpeg2 plugin." >&2;}
   { (exit 1); exit 1; }; }
fi
rm -f conftest*

else
  { { echo "$as_me:$LINENO: error: Could not find libmpeg2 on your system: you 
may get it from http://libmpeg2.sf.net/ (you need the cvs version). 
Alternatively you can use --disable-libmpeg2 to disable the libmpeg2 plugin." 
>&5
echo "$as_me: error: Could not find libmpeg2 on your system: you may get it 
from http://libmpeg2.sf.net/ (you need the cvs version). Alternatively you can 
use --disable-libmpeg2 to disable the libmpeg2 plugin." >&2;}
   { (exit 1); exit 1; }; }

fi

done

  fi
fi

# Check whether --enable-vorbis or --disable-vorbis was given.
if test "${enable_vorbis+set}" = set; then
  enableval="$enable_vorbis"

fi;
if test "${enable_vorbis}" != "no"
then

for ac_header in vorbis/codec.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

    PLUGINS="${PLUGINS} vorbis"
    LDFLAGS_vorbis="${LDFLAGS_vorbis} -lvorbis -logg"

fi

done

fi

# Check whether --enable-tremor or --disable-tremor was given.
if test "${enable_tremor+set}" = set; then
  enableval="$enable_tremor"

fi;
if test "${enable_tremor}" = "yes"
then

for ac_header in tremor/ivorbiscodec.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

    PLUGINS="${PLUGINS} tremor"
    LDFLAGS_tremor="${LDFLAGS_tremor} -lvorbisidec -logg"

fi

done

fi

# Check whether --enable-tarkin or --disable-tarkin was given.
if test "${enable_tarkin+set}" = set; then
  enableval="$enable_tarkin"

fi;
if test "${enable_tarkin}" = "yes"
then

# Check whether --with-tarkin-tree or --without-tarkin-tree was given.
if test "${with_tarkin_tree+set}" = set; then
  withval="$with_tarkin_tree"

fi;
  if test "${with_tarkin_tree}" != ""
  then
    echo "$as_me:$LINENO: checking for tarkin.o in ${with_tarkin_tree}" >&5
echo $ECHO_N "checking for tarkin.o in ${with_tarkin_tree}... $ECHO_C" >&6
    real_tarkin_tree="`cd ${with_tarkin_tree} 2>/dev/null && pwd`"
    if test -f "${real_tarkin_tree}/tarkin.o"
    then
      BUILTINS="${BUILTINS} tarkin"
      CPPFLAGS_tarkin="${CPPFLAGS_tarkin} -I${real_tarkin_tree}"
      LDFLAGS_tarkin="${LDFLAGS_tarkin} ${real_tarkin_tree}/mem.o 
${real_tarkin_tree}/pnm.o ${real_tarkin_tree}/wavelet.o 
${real_tarkin_tree}/wavelet_xform.o ${real_tarkin_tree}/wavelet_coeff.o 
${real_tarkin_tree}/yuv.o ${real_tarkin_tree}/tarkin.o 
${real_tarkin_tree}/info.o -logg"
      echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
    else
            echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
      { { echo "$as_me:$LINENO: error: cannot find ${real_tarkin_tree}/tarkin.o,
                    make sure you compiled tarkin in ${with_tarkin_tree}" >&5
echo "$as_me: error: cannot find ${real_tarkin_tree}/tarkin.o,
                    make sure you compiled tarkin in ${with_tarkin_tree}" >&2;}
   { (exit 1); exit 1; }; }
    fi
  fi
fi

# Check whether --enable-theora or --disable-theora was given.
if test "${enable_theora+set}" = set; then
  enableval="$enable_theora"

fi;
if test "${enable_theora}" = "yes"
then

for ac_header in theora/theora.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

    echo "$as_me:$LINENO: checking for theora_granule_time in -ltheora" >&5
echo $ECHO_N "checking for theora_granule_time in -ltheora... $ECHO_C" >&6
if test "${ac_cv_lib_theora_theora_granule_time+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-ltheora -logg $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char theora_granule_time ();
int
main ()
{
theora_granule_time ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_theora_theora_granule_time=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_theora_theora_granule_time=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_theora_theora_granule_time" >&5
echo "${ECHO_T}$ac_cv_lib_theora_theora_granule_time" >&6
if test $ac_cv_lib_theora_theora_granule_time = yes; then

      BUILTINS="${BUILTINS} theora"
      LDFLAGS_theora="${LDFLAGS_theora} -ltheora -logg"
else

      { { echo "$as_me:$LINENO: error: libtheora doesn't appear to be installed 
on you system.
You also need to check that you have a libogg posterior to the 1.0 release." >&5
echo "$as_me: error: libtheora doesn't appear to be installed on you system.
You also need to check that you have a libogg posterior to the 1.0 release." 
>&2;}
   { (exit 1); exit 1; }; }
fi


fi

done

fi



# Check whether --with- or --without- was given.
if test "${with_+set}" = set; then
  withval="$with_"

fi;

if test "${SYS}" != "mingw32"
then
  CPPFLAGS="${CPPFLAGS_save} -I${x_includes}"

for ac_header in X11/extensions/dpms.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

    #include <X11/Xlib.h>


#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_Header=yes"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

eval "$as_ac_Header=no"
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

    echo "$as_me:$LINENO: checking for DPMSInfo in X11/extensions/dpms.h" >&5
echo $ECHO_N "checking for DPMSInfo in X11/extensions/dpms.h... $ECHO_C" >&6
    cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <X11/extensions/dpms.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "DPMSInfo" >/dev/null 2>&1; then

      echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6

cat >>confdefs.h <<\_ACEOF
#define DPMSINFO_IN_DPMS_H 1
_ACEOF


else

      echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6

fi
rm -f conftest*


fi

done

  CPPFLAGS="${CPPFLAGS_save}"
fi

# Check whether --enable-x11 or --disable-x11 was given.
if test "${enable_x11+set}" = set; then
  enableval="$enable_x11"

fi;
if test "${enable_x11}" != "no" &&
  (test "${SYS}" != "mingw32" || test "${enable_x11}" = "yes"); then
  CPPFLAGS="${CPPFLAGS_save} -I${x_includes}"

for ac_header in X11/Xlib.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

    PLUGINS="${PLUGINS} x11"
    LDFLAGS_x11="${LDFLAGS_x11} -L${x_libraries} -lX11 -lXext"
    CPPFLAGS_x11="${CPPFLAGS_x11} -I${x_includes}"

for ac_header in X11/extensions/Xinerama.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

      CFLAGS="${CFLAGS_save} -L${x_libraries} -lX11 -lXext"
      echo "$as_me:$LINENO: checking for XineramaQueryExtension in -lXinerama" 
>&5
echo $ECHO_N "checking for XineramaQueryExtension in -lXinerama... $ECHO_C" >&6
if test "${ac_cv_lib_Xinerama_XineramaQueryExtension+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lXinerama  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char XineramaQueryExtension ();
int
main ()
{
XineramaQueryExtension ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_Xinerama_XineramaQueryExtension=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_Xinerama_XineramaQueryExtension=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryExtension" >&5
echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaQueryExtension" >&6
if test $ac_cv_lib_Xinerama_XineramaQueryExtension = yes; then

cat >>confdefs.h <<\_ACEOF
#define HAVE_XINERAMA 1
_ACEOF

        LDFLAGS_x11="${LDFLAGS_x11} -lXinerama"
fi

      CFLAGS="${CFLAGS_save}"

fi

done


fi

done

  CPPFLAGS="${CPPFLAGS_save}"
fi

# Check whether --enable-xvideo or --disable-xvideo was given.
if test "${enable_xvideo+set}" = set; then
  enableval="$enable_xvideo"

fi;
if test "${enable_xvideo}" != "no" &&
  (test "${SYS}" != "mingw32" || test "${enable_xvideo}" = "yes"); then
  CPPFLAGS="${CPPFLAGS_save} -I${x_includes}"

for ac_header in X11/extensions/Xv.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

    CFLAGS="${CFLAGS_save} -L${x_libraries} -lX11 -lXext"
    echo "$as_me:$LINENO: checking for XvPutImage in -lXv_pic" >&5
echo $ECHO_N "checking for XvPutImage in -lXv_pic... $ECHO_C" >&6
if test "${ac_cv_lib_Xv_pic_XvPutImage+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lXv_pic  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char XvPutImage ();
int
main ()
{
XvPutImage ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_Xv_pic_XvPutImage=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_Xv_pic_XvPutImage=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_pic_XvPutImage" >&5
echo "${ECHO_T}$ac_cv_lib_Xv_pic_XvPutImage" >&6
if test $ac_cv_lib_Xv_pic_XvPutImage = yes; then
  # We have Xv_pic, that's good, we can build an xvideo.so plugin !
      PLUGINS="${PLUGINS} xvideo"
      LDFLAGS_xvideo="${LDFLAGS_xvideo} -L${x_libraries} -lX11 -lXext -lXv_pic"
      CPPFLAGS_xvideo="${CPPFLAGS_xvideo} -I${x_includes}"
else
  echo "$as_me:$LINENO: checking for XvPutImage in -lXv" >&5
echo $ECHO_N "checking for XvPutImage in -lXv... $ECHO_C" >&6
if test "${ac_cv_lib_Xv_XvPutImage+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lXv  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char XvPutImage ();
int
main ()
{
XvPutImage ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_Xv_XvPutImage=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_Xv_XvPutImage=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvPutImage" >&5
echo "${ECHO_T}$ac_cv_lib_Xv_XvPutImage" >&6
if test $ac_cv_lib_Xv_XvPutImage = yes; then
  # We don't have Xv_pic, but we have Xv, let's make xvideo.a as builtin
        PLUGINS="${PLUGINS} xvideo"
        LDFLAGS_xvideo="${LDFLAGS_xvideo} -L${x_libraries} -lX11 -lXext -lXv"
        CPPFLAGS_xvideo="${CPPFLAGS_xvideo} -I${x_includes}"
else
  # Otherwise... well, do nothing.
        :

fi


fi


for ac_header in X11/extensions/Xinerama.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

      echo "$as_me:$LINENO: checking for XineramaQueryExtension in -lXinerama" 
>&5
echo $ECHO_N "checking for XineramaQueryExtension in -lXinerama... $ECHO_C" >&6
if test "${ac_cv_lib_Xinerama_XineramaQueryExtension+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lXinerama  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char XineramaQueryExtension ();
int
main ()
{
XineramaQueryExtension ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_Xinerama_XineramaQueryExtension=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_Xinerama_XineramaQueryExtension=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryExtension" >&5
echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaQueryExtension" >&6
if test $ac_cv_lib_Xinerama_XineramaQueryExtension = yes; then

cat >>confdefs.h <<\_ACEOF
#define HAVE_XINERAMA 1
_ACEOF

        LDFLAGS_xvideo="${LDFLAGS_xvideo} -lXinerama"
fi


fi

done

    CFLAGS="${CFLAGS_save}"

  CPPFLAGS="${CPPFLAGS_save}"
fi

done

fi

# Check whether --enable-sdl or --disable-sdl was given.
if test "${enable_sdl+set}" = set; then
  enableval="$enable_sdl"

fi;
if test "${enable_sdl}" != "no"
then
  SDL_PATH="${PATH}"

# Check whether --with-sdl-config-path or --without-sdl-config-path was given.
if test "${with_sdl_config_path+set}" = set; then
  withval="$with_sdl_config_path"
   if test "${with_sdl_config_path}" != "no"
      then
        SDL_PATH="${with_sdl_config_path}:${PATH}"
      fi
fi;
  # Extract the first word of "sdl12-config", so it can be a program name with 
args.
set dummy sdl12-config; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_SDL12_CONFIG+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  case $SDL12_CONFIG in
  [\\/]* | ?:[\\/]*)
  ac_cv_path_SDL12_CONFIG="$SDL12_CONFIG" # Let the user override the test with 
a path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in ${SDL_PATH}
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_path_SDL12_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

  test -z "$ac_cv_path_SDL12_CONFIG" && ac_cv_path_SDL12_CONFIG="no"
  ;;
esac
fi
SDL12_CONFIG=$ac_cv_path_SDL12_CONFIG

if test -n "$SDL12_CONFIG"; then
  echo "$as_me:$LINENO: result: $SDL12_CONFIG" >&5
echo "${ECHO_T}$SDL12_CONFIG" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  SDL_CONFIG="${SDL12_CONFIG}"
  SDL_HEADER="SDL12/SDL.h"
  if test "${SDL_CONFIG}" = "no"
  then
    # Extract the first word of "sdl11-config", so it can be a program name 
with args.
set dummy sdl11-config; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_SDL11_CONFIG+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  case $SDL11_CONFIG in
  [\\/]* | ?:[\\/]*)
  ac_cv_path_SDL11_CONFIG="$SDL11_CONFIG" # Let the user override the test with 
a path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in ${SDL_PATH}
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_path_SDL11_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

  test -z "$ac_cv_path_SDL11_CONFIG" && ac_cv_path_SDL11_CONFIG="no"
  ;;
esac
fi
SDL11_CONFIG=$ac_cv_path_SDL11_CONFIG

if test -n "$SDL11_CONFIG"; then
  echo "$as_me:$LINENO: result: $SDL11_CONFIG" >&5
echo "${ECHO_T}$SDL11_CONFIG" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

    SDL_CONFIG=${SDL11_CONFIG}
    SDL_HEADER="SDL11/SDL.h"
  fi
  if test "${SDL_CONFIG}" = "no"
  then
    # Extract the first word of "sdl-config", so it can be a program name with 
args.
set dummy sdl-config; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  case $SDL_CONFIG in
  [\\/]* | ?:[\\/]*)
  ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a 
path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in ${SDL_PATH}
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

  test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
  ;;
esac
fi
SDL_CONFIG=$ac_cv_path_SDL_CONFIG

if test -n "$SDL_CONFIG"; then
  echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
echo "${ECHO_T}$SDL_CONFIG" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

    SDL_HEADER="SDL/SDL.h"
  fi
  # check for cross-compiling
  SDL_PREFIX=

# Check whether --with-sdl-prefix or --without-sdl-prefix was given.
if test "${with_sdl_prefix+set}" = set; then
  withval="$with_sdl_prefix"

fi;
  if test "${with_sdl_prefix}" != "no" -a "${with_sdl_prefix}" != ""
  then
    SDL_PREFIX="--prefix=${with_sdl_prefix}"
  fi
  if test "${SDL_CONFIG}" != "no"
  then
    PLUGINS="${PLUGINS} vout_sdl aout_sdl"
    CFLAGS_vout_sdl="${CFLAGS_vout_sdl} `${SDL_CONFIG} ${SDL_PREFIX} --cflags | 
sed 's,SDL,,'`"
    LDFLAGS_vout_sdl="${LDFLAGS_vout_sdl} `${SDL_CONFIG} ${SDL_PREFIX} --libs | 
sed 's,-rdynamic,,'`"
    CFLAGS_aout_sdl="${CFLAGS_aout_sdl} `${SDL_CONFIG} ${SDL_PREFIX} --cflags | 
sed 's,SDL,,'`"
    LDFLAGS_aout_sdl="${LDFLAGS_aout_sdl} `${SDL_CONFIG} ${SDL_PREFIX} --libs | 
sed 's,-rdynamic,,'`"
    CPPFLAGS="${CPPFLAGS_save} ${CFLAGS_vout_sdl}"

for ac_header in ${SDL_HEADER}
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

cat >>confdefs.h <<_ACEOF
#define SDL_INCLUDE_FILE <${SDL_HEADER}>
_ACEOF

else

for ac_header in SDL.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

cat >>confdefs.h <<\_ACEOF
#define SDL_INCLUDE_FILE <SDL.h>
_ACEOF

else
   { { echo "$as_me:$LINENO: error: The development package for SDL is not 
installed.
Please install it and try again. Alternatively you can also configure with
--disable-sdl." >&5
echo "$as_me: error: The development package for SDL is not installed.
Please install it and try again. Alternatively you can also configure with
--disable-sdl." >&2;}
   { (exit 1); exit 1; }; }

fi

done

fi

done

    CPPFLAGS="${CPPFLAGS_save}"
    if expr 1.1.5 \> `${SDL_CONFIG} --version` >/dev/null
    then
      { { echo "$as_me:$LINENO: error: The development package for SDL is not 
installed.
Please install it and try again. Alternatively you can also configure with
--disable-sdl." >&5
echo "$as_me: error: The development package for SDL is not installed.
Please install it and try again. Alternatively you can also configure with
--disable-sdl." >&2;}
   { (exit 1); exit 1; }; }
    fi
  elif test "${enable_sdl}" =  "yes"
  then
    { { echo "$as_me:$LINENO: error: I couldn't find the SDL package. You can 
download libSDL
from http://www.libsdl.org/, or configure with --disable-sdl. Have a nice day.
    " >&5
echo "$as_me: error: I couldn't find the SDL package. You can download libSDL
from http://www.libsdl.org/, or configure with --disable-sdl. Have a nice day.
    " >&2;}
   { (exit 1); exit 1; }; }
  fi
fi

# Check whether --enable-freetype or --disable-freetype was given.
if test "${enable_freetype+set}" = set; then
  enableval="$enable_freetype"

fi;
if test "${enable_freetype}" != "no"
then
  FREETYPE_PATH="${PATH}"

# Check whether --with-freetype-config-path or --without-freetype-config-path 
was given.
if test "${with_freetype_config_path+set}" = set; then
  withval="$with_freetype_config_path"
   if test "${with_freetype_config_path}" != "no"
      then
        FREETYPE_PATH="${with_freetype_config_path}:${PATH}"
      fi
fi;
  # Extract the first word of "freetype-config", so it can be a program name 
with args.
set dummy freetype-config; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_FREETYPE_CONFIG+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  case $FREETYPE_CONFIG in
  [\\/]* | ?:[\\/]*)
  ac_cv_path_FREETYPE_CONFIG="$FREETYPE_CONFIG" # Let the user override the 
test with a path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in ${FREETYPE_PATH}
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_path_FREETYPE_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

  test -z "$ac_cv_path_FREETYPE_CONFIG" && ac_cv_path_FREETYPE_CONFIG="no"
  ;;
esac
fi
FREETYPE_CONFIG=$ac_cv_path_FREETYPE_CONFIG

if test -n "$FREETYPE_CONFIG"; then
  echo "$as_me:$LINENO: result: $FREETYPE_CONFIG" >&5
echo "${ECHO_T}$FREETYPE_CONFIG" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi


  if test "${FREETYPE_CONFIG}" != "no"
  then
    PLUGINS="${PLUGINS} osdtext"
    CFLAGS_osdtext="${CFLAGS_osdtext} `${FREETYPE_CONFIG} --cflags`"
    LDFLAGS_osdtext="${LDFLAGS_osdtext} `${FREETYPE_CONFIG} --libs`"
    CPPFLAGS="${CPPFLAGS_save} ${CFLAGS_freetype}"
  elif test "${enable_freetype}" =  "yes"
  then
    { { echo "$as_me:$LINENO: error: I couldn't find the freetype package. You 
can download libfreetype2
from http://www.freetype.org/, or configure with --disable-freetype. Have a 
nice day.
    " >&5
echo "$as_me: error: I couldn't find the freetype package. You can download 
libfreetype2
from http://www.freetype.org/, or configure with --disable-freetype. Have a 
nice day.
    " >&2;}
   { (exit 1); exit 1; }; }
  fi
fi

# Check whether --enable-qte or --disable-qte was given.
if test "${enable_qte+set}" = set; then
  enableval="$enable_qte"

fi;
if test "${enable_qte}" = "yes"
then

# Check whether --with-qte or --without-qte was given.
if test "${with_qte+set}" = set; then
  withval="$with_qte"

fi;
  if test "${with_qte}" != "no" -a "${with_qte}" != ""
  then
    LDFLAGS_qte="${LDFLAGS_qte} -L${with_qte}/lib `echo -L${with_qte}/lib | sed 
's,opt/QtPalmtop,usr,'` -ljpeg -lqte"
    CPPFLAGS_qte="${CPPFLAGS_qte} -I${with_qte}/include `echo 
-I${with_qte}/include | sed 's,opt/QtPalmtop,usr,'` -DQT_QWS_IPAQ -DQWS 
-fno-exceptions -fno-rtti"
  else
    LDFLAGS_qte="${LDFLAGS_qte} -L${QTDIR}/lib `echo -L${QTDIR}/lib | sed 
's,opt/QtPalmtop,usr,'` -ljpeg -lqte"
    CPPFLAGS_qte="${CPPFLAGS_qte} -I${QTDIR}/include `echo -I${QTDIR}/include | 
sed 's,opt/QtPalmtop,usr,'` -DQT_QWS_IPAQ -DQWS -fno-exceptions -fno-rtti"
  fi
  PLUGINS="${PLUGINS} qte"
  NEED_QTE_MAIN=yes
  CPPFLAGS="${CPPFLAGS_save} ${CPPFLAGS_qte}"


for ac_header in qt.h jpeglib.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

else

    { { echo "$as_me:$LINENO: error: echo \"Cannot find QT Embedded development 
headers.\"" >&5
echo "$as_me: error: echo \"Cannot find QT Embedded development headers.\"" 
>&2;}
   { (exit 1); exit 1; }; }

fi

done

  CPPFLAGS="${CPPFLAGS_save}"
fi

# Check whether --enable-directx or --disable-directx was given.
if test "${enable_directx+set}" = set; then
  enableval="$enable_directx"

fi;
if test "${enable_directx}" != "no"
then
  if test "${SYS}" = "mingw32" -o "${SYS}" = "cygwin"
  then

# Check whether --with-directx or --without-directx was given.
if test "${with_directx+set}" = set; then
  withval="$with_directx"

fi;
    if test "${with_directx}" = ""
    then

for ac_header in ddraw.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
  PLUGINS="${PLUGINS} vout_directx aout_directx"
        LDFLAGS_vout_directx="${LDFLAGS_directx} -lgdi32"
fi

done

    else
      echo "$as_me:$LINENO: checking for directX headers in ${with_directx}" >&5
echo $ECHO_N "checking for directX headers in ${with_directx}... $ECHO_C" >&6
      if test -f ${with_directx}/ddraw.h
      then
        PLUGINS="${PLUGINS} vout_directx aout_directx"
        LDFLAGS_vout_directx="${LDFLAGS_directx} -lgdi32"
        CPPFLAGS_vout_directx="${CPPFLAGS_vout_directx} -I${with_directx}"
        CPPFLAGS_aout_directx="${CPPFLAGS_aout_directx} -I${with_directx}"
        echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
      else
        echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
        { { echo "$as_me:$LINENO: error: Cannot find ${with_directx}/ddraw.h!" 
>&5
echo "$as_me: error: Cannot find ${with_directx}/ddraw.h!" >&2;}
   { (exit 1); exit 1; }; }
      fi
    fi
  fi
fi

# Check whether --enable-fb or --disable-fb was given.
if test "${enable_fb+set}" = set; then
  enableval="$enable_fb"

fi;
    if test "${enable_fb}" != "no"
    then

for ac_header in linux/fb.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

        PLUGINS="${PLUGINS} fb"

fi

done

    fi

# Check whether --enable-mga or --disable-mga was given.
if test "${enable_mga+set}" = set; then
  enableval="$enable_mga"
   if test "${enable_mga}" = "yes"
    then
      PLUGINS="${PLUGINS} mga xmga"
    fi
fi;

# Check whether --enable-svgalib or --disable-svgalib was given.
if test "${enable_svgalib+set}" = set; then
  enableval="$enable_svgalib"

fi;
if test "${enable_svgalib}" = "yes"
then
  PLUGINS="${PLUGINS} svgalib"
  LDFLAGS_svgalib="${LDFLAGS_svgalib} -lvgagl -lvga"
fi

# Check whether --enable-ggi or --disable-ggi was given.
if test "${enable_ggi+set}" = set; then
  enableval="$enable_ggi"

fi;
if test "${enable_ggi}" = "yes"
then
  PLUGINS="${PLUGINS} ggi"
  LDFLAGS_ggi="${LDFLAGS_ggi} -lggi"

# Check whether --with-ggi or --without-ggi was given.
if test "${with_ggi+set}" = set; then
  withval="$with_ggi"
   if test "${with_ggi}" != "no" -a "${with_ggi}" != ""
      then
        CPPFLAGS_ggi="${CPPFLAGS_ggi} -I${with_ggi}/include"
        LDFLAGS_ggi="${LDFLAGS_ggi} -L${with_ggi}/lib"
      fi
fi;
fi

# Check whether --enable-glide or --disable-glide was given.
if test "${enable_glide+set}" = set; then
  enableval="$enable_glide"

fi;
if test "${enable_glide}" = "yes"
then
  PLUGINS="${PLUGINS} glide"
  LDFLAGS_glide="${LDFLAGS_glide} -lglide2x -lm"
  CPPFLAGS_glide="${CPPFLAGS_glide} -I/usr/include/glide"

# Check whether --with-glide or --without-glide was given.
if test "${with_glide+set}" = set; then
  withval="$with_glide"
   if test "${with_glide}" != "no" -a "${with_glide}" != ""
      then
        CPPFLAGS_glide="${CPPFLAGS_glide} -I${with_glide}/include"
        LDFLAGS_glide="${LDFLAGS_glide} -L${with_glide}/lib"
      fi
fi;
fi

# Check whether --enable-aa or --disable-aa was given.
if test "${enable_aa+set}" = set; then
  enableval="$enable_aa"

fi;
if test "${enable_aa}" = "yes"
then
  if test "${ac_cv_header_aalib_h+set}" = set; then
  echo "$as_me:$LINENO: checking for aalib.h" >&5
echo $ECHO_N "checking for aalib.h... $ECHO_C" >&6
if test "${ac_cv_header_aalib_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: $ac_cv_header_aalib_h" >&5
echo "${ECHO_T}$ac_cv_header_aalib_h" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking aalib.h usability" >&5
echo $ECHO_N "checking aalib.h usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <aalib.h>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking aalib.h presence" >&5
echo $ECHO_N "checking aalib.h presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <aalib.h>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: aalib.h: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: aalib.h: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: aalib.h: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: aalib.h: proceeding with the preprocessor's result" >&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: aalib.h: present but cannot be compiled" 
>&5
echo "$as_me: WARNING: aalib.h: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: aalib.h: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: aalib.h: check for missing prerequisite headers?" >&2;}
    { echo "$as_me:$LINENO: WARNING: aalib.h: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: aalib.h: proceeding with the preprocessor's result" >&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for aalib.h" >&5
echo $ECHO_N "checking for aalib.h... $ECHO_C" >&6
if test "${ac_cv_header_aalib_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_header_aalib_h=$ac_header_preproc
fi
echo "$as_me:$LINENO: result: $ac_cv_header_aalib_h" >&5
echo "${ECHO_T}$ac_cv_header_aalib_h" >&6

fi
if test $ac_cv_header_aalib_h = yes; then
  have_aa="true"
else
  have_aa="false"
fi


  if test "${have_aa}" = "true"
  then
    PLUGINS="${PLUGINS} aa"
    LDFLAGS_aa="${LDFLAGS_aa} -laa"
  fi
fi

# Check whether --enable-wingdi or --disable-wingdi was given.
if test "${enable_wingdi+set}" = set; then
  enableval="$enable_wingdi"

fi;
if test "${enable_wingdi}" != "no"; then
  if test "${SYS}" = "mingw32" -o "${SYS}" = "cygwin"; then
    PLUGINS="${PLUGINS} wingdi"
    LDFLAGS_wingdi="${LDFLAGS_wingdi} -lgdi32"
  fi
fi



# Check whether --with- or --without- was given.
if test "${with_+set}" = set; then
  withval="$with_"

fi;

# Check whether --enable-oss or --disable-oss was given.
if test "${enable_oss+set}" = set; then
  enableval="$enable_oss"

fi;

if test "${enable_oss}" != "no" &&
  (test "${SYS}" != "mingw32" || test "${enable_oss}" = "yes")
then



for ac_header in soundcard.h sys/soundcard.h machine/soundcard.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

    PLUGINS="${PLUGINS} oss"
    echo "$as_me:$LINENO: checking for main in -lossaudio" >&5
echo $ECHO_N "checking for main in -lossaudio... $ECHO_C" >&6
if test "${ac_cv_lib_ossaudio_main+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lossaudio  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


int
main ()
{
main ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_ossaudio_main=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_ossaudio_main=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio_main" >&5
echo "${ECHO_T}$ac_cv_lib_ossaudio_main" >&6
if test $ac_cv_lib_ossaudio_main = yes; then
  LDFLAGS_oss="${LDFLAGS_oss} -lossaudio"
fi


fi

done

fi

# Check whether --enable-esd or --disable-esd was given.
if test "${enable_esd+set}" = set; then
  enableval="$enable_esd"
  if test "${enable_esd}" = "yes"
   then
     # Extract the first word of "esd-config", so it can be a program name with 
args.
set dummy esd-config; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_ESD_CONFIG+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  case $ESD_CONFIG in
  [\\/]* | ?:[\\/]*)
  ac_cv_path_ESD_CONFIG="$ESD_CONFIG" # Let the user override the test with a 
path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_path_ESD_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

  test -z "$ac_cv_path_ESD_CONFIG" && ac_cv_path_ESD_CONFIG="no"
  ;;
esac
fi
ESD_CONFIG=$ac_cv_path_ESD_CONFIG

if test -n "$ESD_CONFIG"; then
  echo "$as_me:$LINENO: result: $ESD_CONFIG" >&5
echo "${ECHO_T}$ESD_CONFIG" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

     if test "${ESD_CONFIG}" != "no"
     then
       PLUGINS="${PLUGINS} esd"
       CFLAGS_esd="${CFLAGS_esd} `${ESD_CONFIG} --cflags`"
       LDFLAGS_esd="${LDFLAGS_esd} `${ESD_CONFIG} --libs`"
     fi
   fi
fi;

# Check whether --enable-arts or --disable-arts was given.
if test "${enable_arts+set}" = set; then
  enableval="$enable_arts"
  if test "${enable_arts}" = "yes"
   then
     # Extract the first word of "artsc-config", so it can be a program name 
with args.
set dummy artsc-config; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_ARTS_CONFIG+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  case $ARTS_CONFIG in
  [\\/]* | ?:[\\/]*)
  ac_cv_path_ARTS_CONFIG="$ARTS_CONFIG" # Let the user override the test with a 
path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_path_ARTS_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

  test -z "$ac_cv_path_ARTS_CONFIG" && ac_cv_path_ARTS_CONFIG="no"
  ;;
esac
fi
ARTS_CONFIG=$ac_cv_path_ARTS_CONFIG

if test -n "$ARTS_CONFIG"; then
  echo "$as_me:$LINENO: result: $ARTS_CONFIG" >&5
echo "${ECHO_T}$ARTS_CONFIG" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

     if test "${ARTS_CONFIG}" != "no"
     then
       PLUGINS="${PLUGINS} arts"
       CFLAGS_arts="${CFLAGS_arts} `${ARTS_CONFIG} --cflags`"
       LDFLAGS_arts="${LDFLAGS_arts} `${ARTS_CONFIG} --libs `"
     fi
   fi
fi;

# Check whether --enable-alsa or --disable-alsa was given.
if test "${enable_alsa+set}" = set; then
  enableval="$enable_alsa"
  if test "${enable_alsa}" = "yes"
   then
     if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
  echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6
if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking alsa/asoundlib.h usability" >&5
echo $ECHO_N "checking alsa/asoundlib.h usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <alsa/asoundlib.h>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking alsa/asoundlib.h presence" >&5
echo $ECHO_N "checking alsa/asoundlib.h presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <alsa/asoundlib.h>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: accepted by the 
compiler, rejected by the preprocessor!" >&5
echo "$as_me: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by 
the preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's 
result" >&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: check for missing 
prerequisite headers?" >&5
echo "$as_me: WARNING: alsa/asoundlib.h: check for missing prerequisite 
headers?" >&2;}
    { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's 
result" >&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6
if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_header_alsa_asoundlib_h=$ac_header_preproc
fi
echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6

fi
if test $ac_cv_header_alsa_asoundlib_h = yes; then
  echo "$as_me:$LINENO: checking for main in -lasound" >&5
echo $ECHO_N "checking for main in -lasound... $ECHO_C" >&6
if test "${ac_cv_lib_asound_main+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lasound  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


int
main ()
{
main ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_asound_main=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_asound_main=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_asound_main" >&5
echo "${ECHO_T}$ac_cv_lib_asound_main" >&6
if test $ac_cv_lib_asound_main = yes; then
  have_alsa="true"
else
  have_alsa="false"
fi

else
  have_alsa="false"
fi


     if test "${have_alsa}" = "true"
     then
       cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#define ALSA_PCM_NEW_HW_PARAMS_API
                       #define ALSA_PCM_NEW_SW_PARAMS_API
                       #include <alsa/asoundlib.h>
int
main ()
{
void foo() { snd_pcm_hw_params_get_period_time(0,0,0); }
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then

cat >>confdefs.h <<\_ACEOF
#define HAVE_ALSA_NEW_API 1
_ACEOF

else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

fi
rm -f conftest.$ac_objext conftest.$ac_ext
       PLUGINS="${PLUGINS} alsa"
       LDFLAGS_alsa="${LDFLAGS_alsa} -lasound -lm -ldl"
     else
       { { echo "$as_me:$LINENO: error: Could not find ALSA development 
headers" >&5
echo "$as_me: error: Could not find ALSA development headers" >&2;}
   { (exit 1); exit 1; }; }
     fi
   fi
fi;

# Check whether --enable-waveout or --disable-waveout was given.
if test "${enable_waveout+set}" = set; then
  enableval="$enable_waveout"

fi;
if test "${enable_waveout}" != "no"; then
  if test "${SYS}" = "mingw32" -o "${SYS}" = "cygwin"; then
    PLUGINS="${PLUGINS} waveout"
    LDFLAGS_waveout="-lwinmm"
  fi
fi

# Check whether --enable-coreaudio or --disable-coreaudio was given.
if test "${enable_coreaudio+set}" = set; then
  enableval="$enable_coreaudio"

fi;
if test "${enable_coreaudio}" != "no" &&
  (test "${SYS}" = "darwin" || test "${enable_coreaudio}" = "yes")
then

for ac_header in CoreAudio/CoreAudio.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
  BUILTINS="${BUILTINS} coreaudio"
      LDFLAGS_coreaudio="${LDFLAGS_coreaudio} -framework CoreAudio"
      echo "$as_me:$LINENO: checking for kAudioConverterPrimeMethod in 
AudioToolbox/AudioConverter.h" >&5
echo $ECHO_N "checking for kAudioConverterPrimeMethod in 
AudioToolbox/AudioConverter.h... $ECHO_C" >&6
      cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <AudioToolbox/AudioConverter.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "kAudioConverterPrimeMethod" >/dev/null 2>&1; then

        echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
        PLUGINS="${PLUGINS} coreaudio_resampler"
        LDFLAGS_coreaudio_resampler="${LDFLAGS_coreaudio_resampler} -framework 
AudioToolbox"

else
   echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi
rm -f conftest*


else
   { { echo "$as_me:$LINENO: error: cannot find CoreAudio headers" >&5
echo "$as_me: error: cannot find CoreAudio headers" >&2;}
   { (exit 1); exit 1; }; }
fi

done

fi



# Check whether --with- or --without- was given.
if test "${with_+set}" = set; then
  withval="$with_"

fi;

if test "${SYS}" = "beos"
then
    PLUGINS="${PLUGINS} beos"
fi

# Check whether --enable-skins or --disable-skins was given.
if test "${enable_skins+set}" = set; then
  enableval="$enable_skins"

fi;
if test "${enable_skins}" != "no"; then
  WXWINDOWS_PATH="${PATH}"

# Check whether --with-skins-wx-config-path or --without-skins-wx-config-path 
was given.
if test "${with_skins_wx_config_path+set}" = set; then
  withval="$with_skins_wx_config_path"
   if test "${with_skins_wx_config_path}" != "no"
      then
        WXWINDOWS_PATH="${with_skins_wx_config_path}:${PATH}"
      fi
fi;
  # look for wx-config
  # Extract the first word of "wx-config", so it can be a program name with 
args.
set dummy wx-config; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_WX_CONFIG_SKINS+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  case $WX_CONFIG_SKINS in
  [\\/]* | ?:[\\/]*)
  ac_cv_path_WX_CONFIG_SKINS="$WX_CONFIG_SKINS" # Let the user override the 
test with a path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in ${WXWINDOWS_PATH}
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_path_WX_CONFIG_SKINS="$as_dir/$ac_word$ac_exec_ext"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

  test -z "$ac_cv_path_WX_CONFIG_SKINS" && ac_cv_path_WX_CONFIG_SKINS="no"
  ;;
esac
fi
WX_CONFIG_SKINS=$ac_cv_path_WX_CONFIG_SKINS

if test -n "$WX_CONFIG_SKINS"; then
  echo "$as_me:$LINENO: result: $WX_CONFIG_SKINS" >&5
echo "${ECHO_T}$WX_CONFIG_SKINS" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  if test "${WX_CONFIG_SKINS}" != "no"
  then
    if expr 2.3.0 \> `${WX_CONFIG_SKINS} --version` >/dev/null
    then
      { { echo "$as_me:$LINENO: error: Your development package for wxWindows 
is too old, you need at least version 2.3.0. Please upgrade and try again. 
Alternatively you can also configure with --disable-skins." >&5
echo "$as_me: error: Your development package for wxWindows is too old, you 
need at least version 2.3.0. Please upgrade and try again. Alternatively you 
can also configure with --disable-skins." >&2;}
   { (exit 1); exit 1; }; }
    fi
    CPPFLAGS_skins="${CPPFLAGS_skins} `${WX_CONFIG_SKINS} --cxxflags` 
-DWX_SKINS"
    LDFLAGS_skins="${LDFLAGS_skins} `${WX_CONFIG_SKINS} --libs`"
  fi

  if test "${SYS}" = "mingw32" -o "${SYS}" = "cygwin"; then
    PLUGINS="${PLUGINS} skins"
    CPPFLAGS_skins="${CPPFLAGS_skins} -O2 -U_OFF_T_ -U_off_t -fno-rtti 
-Imodules/gui/skins"
    LDFLAGS_skins="${LDFLAGS_skins} -loleaut32 -lwinspool -lwinmm -lshell32 
-lctl3d32 -ladvapi32 -lwsock32 -lstdc++ -lgdi32 -lcomdlg32 -lole32 -luuid 
-lcomctl32"
  else
    if test "${enable_skins}" = "yes"; then
      IMLIB2_PATH="${PATH}"
      # Extract the first word of "imlib2-config", so it can be a program name 
with args.
set dummy imlib2-config; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_IMLIB2_CONFIG_SKINS+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  case $IMLIB2_CONFIG_SKINS in
  [\\/]* | ?:[\\/]*)
  ac_cv_path_IMLIB2_CONFIG_SKINS="$IMLIB2_CONFIG_SKINS" # Let the user override 
the test with a path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in ${IMLIB2_PATH}
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_path_IMLIB2_CONFIG_SKINS="$as_dir/$ac_word$ac_exec_ext"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

  test -z "$ac_cv_path_IMLIB2_CONFIG_SKINS" && 
ac_cv_path_IMLIB2_CONFIG_SKINS="no"
  ;;
esac
fi
IMLIB2_CONFIG_SKINS=$ac_cv_path_IMLIB2_CONFIG_SKINS

if test -n "$IMLIB2_CONFIG_SKINS"; then
  echo "$as_me:$LINENO: result: $IMLIB2_CONFIG_SKINS" >&5
echo "${ECHO_T}$IMLIB2_CONFIG_SKINS" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

      if test "${IMLIB2_CONFIG_SKINS}" = "no"; then
        { { echo "$as_me:$LINENO: error: Couldn't find the imlib2 package. You 
can download imlib2 from http://enlightenment.org/, or configure with 
--disable-skins." >&5
echo "$as_me: error: Couldn't find the imlib2 package. You can download imlib2 
from http://enlightenment.org/, or configure with --disable-skins." >&2;}
   { (exit 1); exit 1; }; }
      fi

      PLUGINS="${PLUGINS} skins"
      CPPFLAGS_skins="${CPPFLAGS_skins} -O2 -fno-rtti -Imodules/gui/skins 
-I${x_includes} `${IMLIB2_CONFIG_SKINS} --cflags` -DX11_SKINS"
      LDFLAGS_skins="${LDFLAGS_skins} -lstdc++ -L${x_libraries} -lXext -lX11 
`${IMLIB2_CONFIG_SKINS} --libs`"
      PLUGINS="${PLUGINS} skins"
    fi
  fi
fi

# Check whether --enable-basic-skins or --disable-basic-skins was given.
if test "${enable_basic_skins+set}" = set; then
  enableval="$enable_basic_skins"

fi;
if test "${enable_basic_skins}" = "yes"; then
  if test "${SYS}" = "mingw32" -o "${SYS}" = "cygwin"; then

    CPPFLAGS_basic_skins="${CPPFLAGS_basic_skins} -O2 -U_OFF_T_ -U_off_t 
-fno-rtti -Imodules/gui/skins"
    LDFLAGS_basic_skins="${LDFLAGS_basic_skins} -loleaut32 -lwinspool -lwinmm 
-lshell32 -lctl3d32 -ladvapi32 -lwsock32 -lstdc++ -lgdi32 -lcomdlg32 -lole32 
-luuid -lcomctl32"

  else
    IMLIB2_PATH="${PATH}"
    # Extract the first word of "imlib2-config", so it can be a program name 
with args.
set dummy imlib2-config; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_IMLIB2_CONFIG_SKINS+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  case $IMLIB2_CONFIG_SKINS in
  [\\/]* | ?:[\\/]*)
  ac_cv_path_IMLIB2_CONFIG_SKINS="$IMLIB2_CONFIG_SKINS" # Let the user override 
the test with a path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in ${IMLIB2_PATH}
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_path_IMLIB2_CONFIG_SKINS="$as_dir/$ac_word$ac_exec_ext"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

  test -z "$ac_cv_path_IMLIB2_CONFIG_SKINS" && 
ac_cv_path_IMLIB2_CONFIG_SKINS="no"
  ;;
esac
fi
IMLIB2_CONFIG_SKINS=$ac_cv_path_IMLIB2_CONFIG_SKINS

if test -n "$IMLIB2_CONFIG_SKINS"; then
  echo "$as_me:$LINENO: result: $IMLIB2_CONFIG_SKINS" >&5
echo "${ECHO_T}$IMLIB2_CONFIG_SKINS" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

    if test "${IMLIB2_CONFIG_SKINS}" = "no"; then
    { { echo "$as_me:$LINENO: error: Couldn't find the imlib2 package. You can 
download imlib2 from http://enlightenment.org/, or configure with 
--disable-basic-skins." >&5
echo "$as_me: error: Couldn't find the imlib2 package. You can download imlib2 
from http://enlightenment.org/, or configure with --disable-basic-skins." >&2;}
   { (exit 1); exit 1; }; }
    fi

    CPPFLAGS_basic_skins="${CPPFLAGS_basic_skins} -O2 -fno-rtti 
-Imodules/gui/skins -I${x_includes} `${IMLIB2_CONFIG_SKINS} --cflags` 
-DX11_SKINS"
    LDFLAGS_basic_skins="${LDFLAGS_basic_skins} -lstdc++ -L${x_libraries} 
-lXext -lX11 `${IMLIB2_CONFIG_SKINS} --libs`"
  fi

  PLUGINS="${PLUGINS} basic_skins"
  CPPFLAGS_basic_skins="${CPPFLAGS_basic_skins} -DBASIC_SKINS"
fi

# Check whether --enable-gtk or --disable-gtk was given.
if test "${enable_gtk+set}" = set; then
  enableval="$enable_gtk"

fi;
if test "${enable_gtk}" != "no"
then
  GTK_PATH="${PATH}"

# Check whether --with-gtk-config-path or --without-gtk-config-path was given.
if test "${with_gtk_config_path+set}" = set; then
  withval="$with_gtk_config_path"
   if test "${with_gtk_config_path}" != "no"
      then
        GTK_PATH="${with_gtk_config_path}:${PATH}"
      fi
fi;
  # look for gtk-config
  # Extract the first word of "gtk12-config", so it can be a program name with 
args.
set dummy gtk12-config; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_GTK12_CONFIG+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  case $GTK12_CONFIG in
  [\\/]* | ?:[\\/]*)
  ac_cv_path_GTK12_CONFIG="$GTK12_CONFIG" # Let the user override the test with 
a path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in ${GTK_PATH}
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_path_GTK12_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

  test -z "$ac_cv_path_GTK12_CONFIG" && ac_cv_path_GTK12_CONFIG="no"
  ;;
esac
fi
GTK12_CONFIG=$ac_cv_path_GTK12_CONFIG

if test -n "$GTK12_CONFIG"; then
  echo "$as_me:$LINENO: result: $GTK12_CONFIG" >&5
echo "${ECHO_T}$GTK12_CONFIG" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  GTK_CONFIG=${GTK12_CONFIG}
  if test "${GTK_CONFIG}" = "no"
  then
    # Extract the first word of "gtk-config", so it can be a program name with 
args.
set dummy gtk-config; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  case $GTK_CONFIG in
  [\\/]* | ?:[\\/]*)
  ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a 
path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in ${GTK_PATH}
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

  test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
  ;;
esac
fi
GTK_CONFIG=$ac_cv_path_GTK_CONFIG

if test -n "$GTK_CONFIG"; then
  echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
echo "${ECHO_T}$GTK_CONFIG" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  fi
  if test "${GTK_CONFIG}" != "no"
  then
    if expr 1.2.0 \> `${GTK_CONFIG} --version` >/dev/null
    then
      { { 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
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;}
   { (exit 1); exit 1; }; }
    fi
    if test "${SYS}" != "mingw32"; then
      CFLAGS_gtk="${CFLAGS_gtk} `${GTK_CONFIG} --cflags gtk gthread`"
      LDFLAGS_gtk="${LDFLAGS_gtk} `${GTK_CONFIG} --libs gtk gthread | sed 
's,-rdynamic,,'`"
    else
      CFLAGS_gtk="${CFLAGS_gtk} `${GTK_CONFIG} --cflags gtk`"
      LDFLAGS_gtk="${LDFLAGS_gtk} `${GTK_CONFIG} --libs gtk | sed 
's,-rdynamic,,'`"
    fi
    # now look for the gtk.h header
    CPPFLAGS="${CPPFLAGS_save} ${CFLAGS_gtk}"
    ac_cv_gtk_headers=yes



for ac_header in gtk/gtk.h glib.h gdk/gdk.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

else

      ac_cv_gtk_headers=no
      echo "Cannot find gtk development headers."

fi

done

    if test "${ac_cv_gtk_headers}" = "yes"
    then
      PLUGINS="${PLUGINS} gtk"
      if test "${SYS}" != "mingw32"; then
        NEED_GTK_MAIN=yes
      fi
      ALIASES="${ALIASES} gvlc"
    fi
    CPPFLAGS="${CPPFLAGS_save}"
  fi
fi

# Check whether --enable-gtk2 or --disable-gtk2 was given.
if test "${enable_gtk2+set}" = set; then
  enableval="$enable_gtk2"

fi;
if test "${enable_gtk2}" = "yes"
then

  succeeded=no

  if test -z "$PKG_CONFIG"; then
    # Extract the first word of "pkg-config", so it can be a program name with 
args.
set dummy pkg-config; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  case $PKG_CONFIG in
  [\\/]* | ?:[\\/]*)
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a 
path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
  ;;
esac
fi
PKG_CONFIG=$ac_cv_path_PKG_CONFIG

if test -n "$PKG_CONFIG"; then
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
echo "${ECHO_T}$PKG_CONFIG" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  fi

  if test "$PKG_CONFIG" = "no" ; then
     echo "*** The pkg-config script could not be found. Make sure it is"
     echo "*** in your path, or set the PKG_CONFIG environment variable"
     echo "*** to the full path to pkg-config."
     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get 
pkg-config."
  else
     PKG_CONFIG_MIN_VERSION=0.9.0
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
        echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.0.0" >&5
echo $ECHO_N "checking for gtk+-2.0 >= 2.0.0... $ECHO_C" >&6

        if $PKG_CONFIG --exists "gtk+-2.0 >= 2.0.0, gthread-2.0" ; then
            echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
            succeeded=yes

            echo "$as_me:$LINENO: checking GTK2_CFLAGS" >&5
echo $ECHO_N "checking GTK2_CFLAGS... $ECHO_C" >&6
            GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.0.0, gthread-2.0"`
            echo "$as_me:$LINENO: result: $GTK2_CFLAGS" >&5
echo "${ECHO_T}$GTK2_CFLAGS" >&6

            echo "$as_me:$LINENO: checking GTK2_LIBS" >&5
echo $ECHO_N "checking GTK2_LIBS... $ECHO_C" >&6
            GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.0.0, gthread-2.0"`
            echo "$as_me:$LINENO: result: $GTK2_LIBS" >&5
echo "${ECHO_T}$GTK2_LIBS" >&6
        else
            GTK2_CFLAGS=""
            GTK2_LIBS=""
            ## If we have a custom action on failure, don't print errors, but
            ## do set a variable so people can do so.
            GTK2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors 
"gtk+-2.0 >= 2.0.0, gthread-2.0"`
            echo $GTK2_PKG_ERRORS
        fi



     else
        echo "*** Your version of pkg-config is too old. You need version 
$PKG_CONFIG_MIN_VERSION or newer."
        echo "*** See http://www.freedesktop.org/software/pkgconfig";
     fi
  fi

  if test $succeeded = yes; then
     :
  else
     { { echo "$as_me:$LINENO: error: Library requirements (gtk+-2.0 >= 2.0.0, 
gthread-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment 
variable if your libraries are in a nonstandard prefix so pkg-config can find 
them." >&5
echo "$as_me: error: Library requirements (gtk+-2.0 >= 2.0.0, gthread-2.0) not 
met; consider adjusting the PKG_CONFIG_PATH environment variable if your 
libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
   { (exit 1); exit 1; }; }
  fi

  CFLAGS_gtk2="${CFLAGS_gtk2} ${GTK2_CFLAGS}"
  LDFLAGS_gtk2="${LDFLAGS_gtk2} ${GTK2_LIBS}"
  PLUGINS="${PLUGINS} gtk2"
  if test "${SYS}" != "mingw32"; then
    NEED_GTK2_MAIN=yes
  fi
fi

# Check whether --enable-familiar or --disable-familiar was given.
if test "${enable_familiar+set}" = set; then
  enableval="$enable_familiar"

fi;
if test "${enable_familiar}" = "yes"
then
  GTK_PATH="${PATH}"

# Check whether --with-gtk-config-path or --without-gtk-config-path was given.
if test "${with_gtk_config_path+set}" = set; then
  withval="$with_gtk_config_path"
   if test "${with_gtk_config_path}" != "no"
      then
        GTK_PATH="${with_gtk_config_path}:${PATH}"
      fi
fi;
  # look for gtk-config
  # Extract the first word of "gtk12-config", so it can be a program name with 
args.
set dummy gtk12-config; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_GTK12_CONFIG+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  case $GTK12_CONFIG in
  [\\/]* | ?:[\\/]*)
  ac_cv_path_GTK12_CONFIG="$GTK12_CONFIG" # Let the user override the test with 
a path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in ${GTK_PATH}
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_path_GTK12_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

  test -z "$ac_cv_path_GTK12_CONFIG" && ac_cv_path_GTK12_CONFIG="no"
  ;;
esac
fi
GTK12_CONFIG=$ac_cv_path_GTK12_CONFIG

if test -n "$GTK12_CONFIG"; then
  echo "$as_me:$LINENO: result: $GTK12_CONFIG" >&5
echo "${ECHO_T}$GTK12_CONFIG" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  GTK_CONFIG=${GTK12_CONFIG}
  if test "${GTK_CONFIG}" = "no"
  then
    # Extract the first word of "gtk-config", so it can be a program name with 
args.
set dummy gtk-config; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  case $GTK_CONFIG in
  [\\/]* | ?:[\\/]*)
  ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a 
path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in ${GTK_PATH}
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

  test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
  ;;
esac
fi
GTK_CONFIG=$ac_cv_path_GTK_CONFIG

if test -n "$GTK_CONFIG"; then
  echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
echo "${ECHO_T}$GTK_CONFIG" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  fi
  # check for cross-compiling
  GTK_PREFIX=

# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
if test "${with_gtk_prefix+set}" = set; then
  withval="$with_gtk_prefix"

fi;
  if test "${with_gtk_prefix}" != "no" -a "${with_gtk_prefix}" != ""
  then
    GTK_PREFIX="--prefix=${with_gtk_prefix}"
  fi
  if test "${GTK_CONFIG}" != "no"
  then
    if expr 1.2.0 \> `${GTK_CONFIG} --version` >/dev/null
    then
      { { 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
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;}
   { (exit 1); exit 1; }; }
    fi
    CFLAGS_familiar="${CFLAGS_familiar} `${GTK_CONFIG} ${GTK_PREFIX} --cflags 
gtk gthread`"
    LDFLAGS_familiar="${LDFLAGS_familiar} `${GTK_CONFIG} ${GTK_PREFIX} --libs 
gtk gthread | sed 's,-rdynamic,,'`"
    # now look for the gtk.h header
    CPPFLAGS="${CPPFLAGS_save} ${CFLAGS_familiar}"
    ac_cv_gtk_headers=yes



for ac_header in gtk/gtk.h glib.h gdk/gdk.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

else

      ac_cv_gtk_headers=no
      echo "Cannot find gtk development headers."

fi

done

    if test "${ac_cv_gtk_headers}" = "yes"
    then
      PLUGINS="${PLUGINS} familiar"
    fi
    CPPFLAGS="${CPPFLAGS_save}"

    # now look for gpe support

# Check whether --with-gpe-prefix or --without-gpe-prefix was given.
if test "${with_gpe_prefix+set}" = set; then
  withval="$with_gpe_prefix"

fi;
    if test "${with_gpe_prefix}" != "no"  -a "${with_gpe_prefix}" != ""
    then
      CFLAGS_gpe="-I${with_gpe_prefix}/include"
      LDFLAGS_gpe="-lXi -lgdk_pixbuf -L${with_gpe_prefix}/lib -lgpewidget"
      # now look for gpe/init.h header file
      CFLAGS_save="${CFLAGS}"
      LDFLAGS_save="${LDFLAGS}"
      CFLAGS="${CFLAGS_familiar} ${CFLAGS_gpe}"
      LDFLAGS="${LDFLAGS_familiar} ${LDFLAGS_gpe}"
      CPPFLAGS="${CPPFLAGS_save} ${CFLAGS_familiar} ${CFLAGS_gpe}"
      ac_cv_gpe_headers=yes

for ac_header in gpe/init.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

else
   ac_cv_gpe_headers=no
          { { echo "$as_me:$LINENO: error: Cannot find development headers for 
libgpewidget..." >&5
echo "$as_me: error: Cannot find development headers for libgpewidget..." >&2;}
   { (exit 1); exit 1; }; }
fi

done

      CFLAGS="${CFLAGS_save}"
      LDFLAGS="${LDFLAG_save}"
      if test "${ac_cv_gpe_headers}" = "yes"
      then
        CFLAGS_familiar="${CFLAGS_familiar} ${CFLAGS_gpe}"
        LDFLAGS_familiar="${LDFLAGS_familiar} ${LDFLAGS_gpe}"
      fi
    else
          NEED_GTK_MAIN=yes
    fi # end gpe support
  fi # end gtk+ support
fi

# Check whether --enable-gnome or --disable-gnome was given.
if test "${enable_gnome+set}" = set; then
  enableval="$enable_gnome"
  if test "${enable_gnome}" = "yes"; then
    # look for gnome-config
    # Extract the first word of "gnome-config", so it can be a program name 
with args.
set dummy gnome-config; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_GNOME_CONFIG+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  case $GNOME_CONFIG in
  [\\/]* | ?:[\\/]*)
  ac_cv_path_GNOME_CONFIG="$GNOME_CONFIG" # Let the user override the test with 
a path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_path_GNOME_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

  test -z "$ac_cv_path_GNOME_CONFIG" && ac_cv_path_GNOME_CONFIG="no"
  ;;
esac
fi
GNOME_CONFIG=$ac_cv_path_GNOME_CONFIG

if test -n "$GNOME_CONFIG"; then
  echo "$as_me:$LINENO: result: $GNOME_CONFIG" >&5
echo "${ECHO_T}$GNOME_CONFIG" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

    if test -x ${GNOME_CONFIG}
    then
       CFLAGS_gnome="${CFLAGS_gnome} `${GNOME_CONFIG} --cflags gtk gnomeui`"
       LDFLAGS_gnome="${LDFLAGS_gnome} `${GNOME_CONFIG} --libs gnomeui | sed 
's,-rdynamic,,'`"
    fi
    # now look for the gnome.h header
    CPPFLAGS="${CPPFLAGS_save} ${CFLAGS_gnome}"

for ac_header in gnome.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

      PLUGINS="${PLUGINS} gnome"
      NEED_GTK_MAIN=yes
      NEED_GNOME_MAIN=yes
      ALIASES="${ALIASES} gnome-vlc"
            echo "$as_me:$LINENO: checking for strndup in gnome.h" >&5
echo $ECHO_N "checking for strndup in gnome.h... $ECHO_C" >&6
      cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <gnome.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "strndup" >/dev/null 2>&1; then

        echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6

cat >>confdefs.h <<\_ACEOF
#define STRNDUP_IN_GNOME_H 1
_ACEOF

else

        echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi
rm -f conftest*


else

      { { echo "$as_me:$LINENO: error: Can't find gnome headers. Please install 
the gnome
developement tools or remove the --enable-gnome option" >&5
echo "$as_me: error: Can't find gnome headers. Please install the gnome
developement tools or remove the --enable-gnome option" >&2;}
   { (exit 1); exit 1; }; }

fi

done

    CPPFLAGS="${CPPFLAGS_save}"
  fi
fi;

# Check whether --enable-gnome2 or --disable-gnome2 was given.
if test "${enable_gnome2+set}" = set; then
  enableval="$enable_gnome2"

fi;
if test "${enable_gnome2}" = "yes"
then

  succeeded=no

  if test -z "$PKG_CONFIG"; then
    # Extract the first word of "pkg-config", so it can be a program name with 
args.
set dummy pkg-config; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  case $PKG_CONFIG in
  [\\/]* | ?:[\\/]*)
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a 
path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
  ;;
esac
fi
PKG_CONFIG=$ac_cv_path_PKG_CONFIG

if test -n "$PKG_CONFIG"; then
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
echo "${ECHO_T}$PKG_CONFIG" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  fi

  if test "$PKG_CONFIG" = "no" ; then
     echo "*** The pkg-config script could not be found. Make sure it is"
     echo "*** in your path, or set the PKG_CONFIG environment variable"
     echo "*** to the full path to pkg-config."
     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get 
pkg-config."
  else
     PKG_CONFIG_MIN_VERSION=0.9.0
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
        echo "$as_me:$LINENO: checking for libgnomeui-2.0" >&5
echo $ECHO_N "checking for libgnomeui-2.0... $ECHO_C" >&6

        if $PKG_CONFIG --exists "libgnomeui-2.0" ; then
            echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
            succeeded=yes

            echo "$as_me:$LINENO: checking GNOME2_CFLAGS" >&5
echo $ECHO_N "checking GNOME2_CFLAGS... $ECHO_C" >&6
            GNOME2_CFLAGS=`$PKG_CONFIG --cflags "libgnomeui-2.0"`
            echo "$as_me:$LINENO: result: $GNOME2_CFLAGS" >&5
echo "${ECHO_T}$GNOME2_CFLAGS" >&6

            echo "$as_me:$LINENO: checking GNOME2_LIBS" >&5
echo $ECHO_N "checking GNOME2_LIBS... $ECHO_C" >&6
            GNOME2_LIBS=`$PKG_CONFIG --libs "libgnomeui-2.0"`
            echo "$as_me:$LINENO: result: $GNOME2_LIBS" >&5
echo "${ECHO_T}$GNOME2_LIBS" >&6
        else
            GNOME2_CFLAGS=""
            GNOME2_LIBS=""
            ## If we have a custom action on failure, don't print errors, but
            ## do set a variable so people can do so.
            GNOME2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors 
"libgnomeui-2.0"`
            echo $GNOME2_PKG_ERRORS
        fi



     else
        echo "*** Your version of pkg-config is too old. You need version 
$PKG_CONFIG_MIN_VERSION or newer."
        echo "*** See http://www.freedesktop.org/software/pkgconfig";
     fi
  fi

  if test $succeeded = yes; then
     :
  else
     { { echo "$as_me:$LINENO: error: Library requirements (libgnomeui-2.0) not 
met; consider adjusting the PKG_CONFIG_PATH environment variable if your 
libraries are in a nonstandard prefix so pkg-config can find them." >&5
echo "$as_me: error: Library requirements (libgnomeui-2.0) not met; consider 
adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a 
nonstandard prefix so pkg-config can find them." >&2;}
   { (exit 1); exit 1; }; }
  fi

  CFLAGS_gnome2="${CFLAGS_gnome2} ${GNOME2_CFLAGS}"
  LDFLAGS_gnome2="${LDFLAGS_gnome2} ${GNOME2_LIBS}"
  PLUGINS="${PLUGINS} gnome2"
  if test "${SYS}" != "mingw32"; then
    NEED_GNOME2_MAIN=yes
  fi
fi

# Check whether --enable-wxwindows or --disable-wxwindows was given.
if test "${enable_wxwindows+set}" = set; then
  enableval="$enable_wxwindows"

fi;
if test "${enable_wxwindows}" != "no"
then
  WXWINDOWS_PATH="${PATH}"

# Check whether --with-wx-config-path or --without-wx-config-path was given.
if test "${with_wx_config_path+set}" = set; then
  withval="$with_wx_config_path"
   if test "${with_wx_config_path}" != "no"
      then
        WXWINDOWS_PATH="${with_wx_config_path}:${PATH}"
      fi
fi;
  # look for wx-config
  # Extract the first word of "wx-config", so it can be a program name with 
args.
set dummy wx-config; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_WX_CONFIG+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  case $WX_CONFIG in
  [\\/]* | ?:[\\/]*)
  ac_cv_path_WX_CONFIG="$WX_CONFIG" # Let the user override the test with a 
path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in ${WXWINDOWS_PATH}
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_path_WX_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

  test -z "$ac_cv_path_WX_CONFIG" && ac_cv_path_WX_CONFIG="no"
  ;;
esac
fi
WX_CONFIG=$ac_cv_path_WX_CONFIG

if test -n "$WX_CONFIG"; then
  echo "$as_me:$LINENO: result: $WX_CONFIG" >&5
echo "${ECHO_T}$WX_CONFIG" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  if test "${WX_CONFIG}" != "no"
  then
    if expr 2.3.0 \> `${WX_CONFIG} --version` >/dev/null
    then
      { { echo "$as_me:$LINENO: error: Your development package for wxWindows 
is too old, you need at least version 2.3.0. Please upgrade and try again. 
Alternatively you can also configure with --disable-wxwindows." >&5
echo "$as_me: error: Your development package for wxWindows is too old, you 
need at least version 2.3.0. Please upgrade and try again. Alternatively you 
can also configure with --disable-wxwindows." >&2;}
   { (exit 1); exit 1; }; }
    fi
    CXXFLAGS_wxwindows="${CXXFLAGS_wxwindows} `${WX_CONFIG} --cxxflags`"
    LDFLAGS_wxwindows="${LDFLAGS_wxwindows} `${WX_CONFIG} --libs`"
    # now look for the wxprec.h header
    CPPFLAGS="${CPPFLAGS_save} ${CXXFLAGS_wxwindows}"
    ac_cv_wx_headers=yes

for ac_header in wx/wxprec.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

else

      ac_cv_wx_headers=no
      echo "Cannot find wxWindows development headers."

fi

done

    if test "${ac_cv_wx_headers}" = "yes"
    then
      PLUGINS="${PLUGINS} wxwindows"
      ALIASES="${ALIASES} wxvlc"
    fi
    CPPFLAGS="${CPPFLAGS_save}"
  fi
fi

# Check whether --enable-qt or --disable-qt was given.
if test "${enable_qt+set}" = set; then
  enableval="$enable_qt"
  if test "${enable_qt}" = "yes"; then
     PLUGINS="${PLUGINS} qt"
     ALIASES="${ALIASES} qvlc"
     LDFLAGS_qt="${LDFLAGS_qt} -L${QTDIR}/lib"
     LDFLAGS="${LDFLAGS_save} ${LDFLAGS_qt}"
     echo "$as_me:$LINENO: checking for main in -lqt-mt" >&5
echo $ECHO_N "checking for main in -lqt-mt... $ECHO_C" >&6
if test "${ac_cv_lib_qt_mt_main+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lqt-mt  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


int
main ()
{
main ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_qt_mt_main=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_qt_mt_main=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_qt_mt_main" >&5
echo "${ECHO_T}$ac_cv_lib_qt_mt_main" >&6
if test $ac_cv_lib_qt_mt_main = yes; then

       LDFLAGS_qt="${LDFLAGS_qt} -lqt-mt"

else

       echo "$as_me:$LINENO: checking for main in -lqt" >&5
echo $ECHO_N "checking for main in -lqt... $ECHO_C" >&6
if test "${ac_cv_lib_qt_main+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lqt  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


int
main ()
{
main ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_qt_main=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_qt_main=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_qt_main" >&5
echo "${ECHO_T}$ac_cv_lib_qt_main" >&6
if test $ac_cv_lib_qt_main = yes; then

         LDFLAGS_qt="${LDFLAGS_qt} -lqt"

fi


fi

     LDFLAGS="${LDFLAGS_save}"
     CPPFLAGS_qt="${CPPFLAGS_qt} -I/usr/include/qt3 -I/usr/include/qt 
-I${QTDIR}/include"
     if test -x ${QTDIR}/bin/moc
     then
       MOC=${QTDIR}/bin/moc
     else
       MOC=moc
     fi
   fi
fi;

# Check whether --enable-kde or --disable-kde was given.
if test "${enable_kde+set}" = set; then
  enableval="$enable_kde"
  if test "${enable_kde}" = "yes"; then
     PLUGINS="${PLUGINS} kde"
     ALIASES="${ALIASES} kvlc"
     LDFLAGS_kde="${LDFLAGS_kde} -L${KDEDIR}/lib"
          LDFLAGS="${LDFLAGS_save} ${LDFLAGS_kde}"
     echo "$as_me:$LINENO: checking for main in -lkfile" >&5
echo $ECHO_N "checking for main in -lkfile... $ECHO_C" >&6
if test "${ac_cv_lib_kfile_main+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lkfile  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


int
main ()
{
main ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_kfile_main=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_kfile_main=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_kfile_main" >&5
echo "${ECHO_T}$ac_cv_lib_kfile_main" >&6
if test $ac_cv_lib_kfile_main = yes; then

       LDFLAGS_kde="${LDFLAGS_kde} -lkfile"

fi

     LDFLAGS="${LDFLAGS_save} ${LDFLAGS_kde}"
     echo "$as_me:$LINENO: checking for main in -lkdeui" >&5
echo $ECHO_N "checking for main in -lkdeui... $ECHO_C" >&6
if test "${ac_cv_lib_kdeui_main+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lkdeui  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


int
main ()
{
main ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_kdeui_main=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_kdeui_main=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_kdeui_main" >&5
echo "${ECHO_T}$ac_cv_lib_kdeui_main" >&6
if test $ac_cv_lib_kdeui_main = yes; then

       LDFLAGS_kde="${LDFLAGS_kde} -lkdeui"

fi

     LDFLAGS="${LDFLAGS_save} ${LDFLAGS_kde}"
     echo "$as_me:$LINENO: checking for main in -lkio" >&5
echo $ECHO_N "checking for main in -lkio... $ECHO_C" >&6
if test "${ac_cv_lib_kio_main+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lkio  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


int
main ()
{
main ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_kio_main=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_kio_main=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_kio_main" >&5
echo "${ECHO_T}$ac_cv_lib_kio_main" >&6
if test $ac_cv_lib_kio_main = yes; then

       LDFLAGS_kde="${LDFLAGS_kde} -lkio"

fi

     LDFLAGS="${LDFLAGS_save}"
     CPPFLAGS_kde="${CPPFLAGS_kde} -I/usr/include/kde -I/usr/include/qt3 
-I/usr/include/qt"
     CPPFLAGS_kde="${CPPFLAGS_kde} -I${KDEDIR}/include -I${QTDIR}/include"
     if test -x ${QTDIR}/bin/moc
     then
       MOC=${QTDIR}/bin/moc
     else
       MOC=moc
     fi
   fi
fi;

# Check whether --enable-opie or --disable-opie was given.
if test "${enable_opie+set}" = set; then
  enableval="$enable_opie"
  if test "${enable_opie}" = "yes"; then

# Check whether --with-qte or --without-qte was given.
if test "${with_qte+set}" = set; then
  withval="$with_qte"

fi;
     if test "${with_qte}" != "no" -a "${with_qte}" != ""
     then
       LDFLAGS_qte="-L${with_qte}/lib `echo -L${with_qte}/lib | sed 
's,opt/QtPalmtop,usr,'` -ljpeg -lqte"
       CPPFLAGS_qte="-I${with_qte}/include `echo -I${with_qte}/include | sed 
's,opt/QtPalmtop,usr,'` -DQT_QWS_IPAQ -DQWS -fno-exceptions -fno-rtti"
     else
       LDFLAGS_qte="-L${QTDIR}/lib `echo -L${QTDIR}/lib | sed 
's,opt/QtPalmtop,usr,'`"
       CPPFLAGS_qte="-I${QTDIR}/include `echo -I${QTDIR}/include | sed 
's,opt/QtPalmtop,usr,'`"
     fi
     CPPFLAGS="${CPPFLAGS_save} ${CPPFLAGS_qte}"


for ac_header in qt.h jpeglib.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

else

       { { echo "$as_me:$LINENO: error: echo \"Cannot find QT Embedded 
development headers.\"" >&5
echo "$as_me: error: echo \"Cannot find QT Embedded development headers.\"" 
>&2;}
   { (exit 1); exit 1; }; }

fi

done

     CPPFLAGS="${CPPFLAGS_save}"

     PLUGINS="${PLUGINS} opie"
     NEED_QTE_MAIN=yes
     LDFLAGS_opie="${LDFLAGS_opie} -lqpe ${LDFLAGS_qte}"
     CPPFLAGS_opie="${CPPFLAGS_opie} ${CPPFLAGS_qte}"
     if test "${with_qte}" != "no" -a "${with_qte}" != ""
     then
       MOC=${with_qte}/bin/moc
     else
       MOC=${QTDIR}/bin/moc
     fi
   fi
fi;

# Check whether --enable-macosx or --disable-macosx was given.
if test "${enable_macosx+set}" = set; then
  enableval="$enable_macosx"
  if test "${enable_macosx}" = "yes"
   then
     BUILTINS="${BUILTINS} macosx"
     LDFLAGS_macosx="${LDFLAGS_macosx} -framework IOKit -framework Cocoa 
-framework Carbon -framework QuickTime -lobjc -ObjC"
   fi
else

for ac_header in Cocoa/Cocoa.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
 BUILTINS="${BUILTINS} macosx"
     LDFLAGS_macosx="${LDFLAGS_macosx} -framework IOKit -framework Cocoa 
-framework Carbon -framework QuickTime -lobjc -ObjC"

fi

done

fi;

# Check whether --enable-qnx or --disable-qnx was given.
if test "${enable_qnx+set}" = set; then
  enableval="$enable_qnx"

fi;
    if test "${enable_qnx}" != "no"
    then

for ac_header in Ph.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

        PLUGINS="${PLUGINS} qnx"
        LDFLAGS_qnx="${LDFLAGS_qnx} -lasound -lph"

fi

done

    fi

# Check whether --enable-ncurses or --disable-ncurses was given.
if test "${enable_ncurses+set}" = set; then
  enableval="$enable_ncurses"
  if test "${enable_ncurses}" = "yes"; then
     PLUGINS="${PLUGINS} ncurses"
     LDFLAGS_ncurses="${LDFLAGS_ncurses} -lncurses"
   fi
fi;

# Check whether --enable-xosd or --disable-xosd was given.
if test "${enable_xosd+set}" = set; then
  enableval="$enable_xosd"

fi;
if test "${enable_xosd}" = "yes"
then
  if test "${ac_cv_header_xosd_h+set}" = set; then
  echo "$as_me:$LINENO: checking for xosd.h" >&5
echo $ECHO_N "checking for xosd.h... $ECHO_C" >&6
if test "${ac_cv_header_xosd_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: $ac_cv_header_xosd_h" >&5
echo "${ECHO_T}$ac_cv_header_xosd_h" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking xosd.h usability" >&5
echo $ECHO_N "checking xosd.h usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <xosd.h>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking xosd.h presence" >&5
echo $ECHO_N "checking xosd.h presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <xosd.h>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: xosd.h: accepted by the compiler, rejected 
by the preprocessor!" >&5
echo "$as_me: WARNING: xosd.h: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: xosd.h: proceeding with the preprocessor's 
result" >&5
echo "$as_me: WARNING: xosd.h: proceeding with the preprocessor's result" >&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: xosd.h: present but cannot be compiled" >&5
echo "$as_me: WARNING: xosd.h: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: xosd.h: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: xosd.h: check for missing prerequisite headers?" >&2;}
    { echo "$as_me:$LINENO: WARNING: xosd.h: proceeding with the preprocessor's 
result" >&5
echo "$as_me: WARNING: xosd.h: proceeding with the preprocessor's result" >&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for xosd.h" >&5
echo $ECHO_N "checking for xosd.h... $ECHO_C" >&6
if test "${ac_cv_header_xosd_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_header_xosd_h=$ac_header_preproc
fi
echo "$as_me:$LINENO: result: $ac_cv_header_xosd_h" >&5
echo "${ECHO_T}$ac_cv_header_xosd_h" >&6

fi
if test $ac_cv_header_xosd_h = yes; then
  have_xosd="true"
else
  have_xosd="false"
fi


  echo "$as_me:$LINENO: checking for xosd_set_offset in -lxosd" >&5
echo $ECHO_N "checking for xosd_set_offset in -lxosd... $ECHO_C" >&6
if test "${ac_cv_lib_xosd_xosd_set_offset+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lxosd  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char xosd_set_offset ();
int
main ()
{
xosd_set_offset ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_xosd_xosd_set_offset=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_xosd_xosd_set_offset=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_xosd_xosd_set_offset" >&5
echo "${ECHO_T}$ac_cv_lib_xosd_xosd_set_offset" >&6
if test $ac_cv_lib_xosd_xosd_set_offset = yes; then

cat >>confdefs.h <<\_ACEOF
#define HAVE_XOSD_VERSION_1 1
_ACEOF

else
  echo "$as_me:$LINENO: checking for xosd_set_horizontal_offset in -lxosd" >&5
echo $ECHO_N "checking for xosd_set_horizontal_offset in -lxosd... $ECHO_C" >&6
if test "${ac_cv_lib_xosd_xosd_set_horizontal_offset+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lxosd  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char xosd_set_horizontal_offset ();
int
main ()
{
xosd_set_horizontal_offset ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_xosd_xosd_set_horizontal_offset=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_xosd_xosd_set_horizontal_offset=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_xosd_xosd_set_horizontal_offset" >&5
echo "${ECHO_T}$ac_cv_lib_xosd_xosd_set_horizontal_offset" >&6
if test $ac_cv_lib_xosd_xosd_set_horizontal_offset = yes; then

cat >>confdefs.h <<\_ACEOF
#define HAVE_XOSD_VERSION_2 1
_ACEOF

else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <xosd.h>
int
main ()
{
void foo() { xosd_init("foo","bar",12,XOSD_top,2,12,42); }
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  :
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5


cat >>confdefs.h <<\_ACEOF
#define HAVE_XOSD_VERSION_0 1
_ACEOF

fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi

fi

  if test "${have_xosd}" = "true"
  then
    PLUGINS="${PLUGINS} xosd"
    LDFLAGS_xosd="${LDFLAGS_xosd} -lxosd"
  fi
fi

# Check whether --enable-slp or --disable-slp was given.
if test "${enable_slp+set}" = set; then
  enableval="$enable_slp"

fi;
if test "${enable_slp}" != "no"
then

# Check whether --with-slp or --without-slp was given.
if test "${with_slp+set}" = set; then
  withval="$with_slp"

fi;
  if test "${with_slp}" = ""
  then
    if test "${ac_cv_header_slp_h+set}" = set; then
  echo "$as_me:$LINENO: checking for slp.h" >&5
echo $ECHO_N "checking for slp.h... $ECHO_C" >&6
if test "${ac_cv_header_slp_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: $ac_cv_header_slp_h" >&5
echo "${ECHO_T}$ac_cv_header_slp_h" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking slp.h usability" >&5
echo $ECHO_N "checking slp.h usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <slp.h>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking slp.h presence" >&5
echo $ECHO_N "checking slp.h presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <slp.h>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: slp.h: accepted by the compiler, rejected 
by the preprocessor!" >&5
echo "$as_me: WARNING: slp.h: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: slp.h: proceeding with the preprocessor's 
result" >&5
echo "$as_me: WARNING: slp.h: proceeding with the preprocessor's result" >&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: slp.h: present but cannot be compiled" >&5
echo "$as_me: WARNING: slp.h: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: slp.h: check for missing prerequisite 
headers?" >&5
echo "$as_me: WARNING: slp.h: check for missing prerequisite headers?" >&2;}
    { echo "$as_me:$LINENO: WARNING: slp.h: proceeding with the preprocessor's 
result" >&5
echo "$as_me: WARNING: slp.h: proceeding with the preprocessor's result" >&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for slp.h" >&5
echo $ECHO_N "checking for slp.h... $ECHO_C" >&6
if test "${ac_cv_header_slp_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_header_slp_h=$ac_header_preproc
fi
echo "$as_me:$LINENO: result: $ac_cv_header_slp_h" >&5
echo "${ECHO_T}$ac_cv_header_slp_h" >&6

fi
if test $ac_cv_header_slp_h = yes; then
  have_slp="true"
else
  have_slp="false"
fi


    if test "${have_slp}" = "true"
    then
      PLUGINS="${PLUGINS} slp"
      LDFLAGS_slp="-lslp ${LDFLAGS_slp}"
    fi
  else
    echo "$as_me:$LINENO: checking for slp headers in ${with_slp}" >&5
echo $ECHO_N "checking for slp headers in ${with_slp}... $ECHO_C" >&6
    if test -f ${with_slp}/slp.h
    then
            echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
      PLUGINS="${PLUGINS} slp"
      LDFLAGS_slp="-L${with_slp} -lslp ${LDFLAGS_slp}"
      CPPFLAGS_slp="${CPPFLAGS_slp} -I${with_slp}"
    else
            echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
      { { echo "$as_me:$LINENO: error: cannot find ${with_slp}/slp.h" >&5
echo "$as_me: error: cannot find ${with_slp}/slp.h" >&2;}
   { (exit 1); exit 1; }; }
    fi
  fi
fi

# Check whether --enable-lirc or --disable-lirc was given.
if test "${enable_lirc+set}" = set; then
  enableval="$enable_lirc"

fi;
if test "${enable_lirc}" = "yes"
then
  if test "${ac_cv_header_lirc_lirc_client_h+set}" = set; then
  echo "$as_me:$LINENO: checking for lirc/lirc_client.h" >&5
echo $ECHO_N "checking for lirc/lirc_client.h... $ECHO_C" >&6
if test "${ac_cv_header_lirc_lirc_client_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: $ac_cv_header_lirc_lirc_client_h" >&5
echo "${ECHO_T}$ac_cv_header_lirc_lirc_client_h" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking lirc/lirc_client.h usability" >&5
echo $ECHO_N "checking lirc/lirc_client.h usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <lirc/lirc_client.h>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking lirc/lirc_client.h presence" >&5
echo $ECHO_N "checking lirc/lirc_client.h presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <lirc/lirc_client.h>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: accepted by the 
compiler, rejected by the preprocessor!" >&5
echo "$as_me: WARNING: lirc/lirc_client.h: accepted by the compiler, rejected 
by the preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: lirc/lirc_client.h: proceeding with the preprocessor's 
result" >&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: present but cannot be 
compiled" >&5
echo "$as_me: WARNING: lirc/lirc_client.h: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: check for missing 
prerequisite headers?" >&5
echo "$as_me: WARNING: lirc/lirc_client.h: check for missing prerequisite 
headers?" >&2;}
    { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: proceeding with the 
preprocessor's result" >&5
echo "$as_me: WARNING: lirc/lirc_client.h: proceeding with the preprocessor's 
result" >&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to address@hidden ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for lirc/lirc_client.h" >&5
echo $ECHO_N "checking for lirc/lirc_client.h... $ECHO_C" >&6
if test "${ac_cv_header_lirc_lirc_client_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_header_lirc_lirc_client_h=$ac_header_preproc
fi
echo "$as_me:$LINENO: result: $ac_cv_header_lirc_lirc_client_h" >&5
echo "${ECHO_T}$ac_cv_header_lirc_lirc_client_h" >&6

fi
if test $ac_cv_header_lirc_lirc_client_h = yes; then
  echo "$as_me:$LINENO: checking for lirc_init in -llirc_client" >&5
echo $ECHO_N "checking for lirc_init in -llirc_client... $ECHO_C" >&6
if test "${ac_cv_lib_lirc_client_lirc_init+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-llirc_client  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char lirc_init ();
int
main ()
{
lirc_init ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_lirc_client_lirc_init=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_lirc_client_lirc_init=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_lirc_client_lirc_init" >&5
echo "${ECHO_T}$ac_cv_lib_lirc_client_lirc_init" >&6
if test $ac_cv_lib_lirc_client_lirc_init = yes; then
  have_lirc="true"
else
  have_lirc="false"
fi

else
  have_lirc="false"
fi


  if test "${have_lirc}" = "true"
  then
    PLUGINS="${PLUGINS} lirc"
    LDFLAGS_lirc="${LDFLAGS_lirc} -llirc_client"
  fi
fi


# Check whether --with- or --without- was given.
if test "${with_+set}" = set; then
  withval="$with_"

fi;


# Check whether --with-words or --without-words was given.
if test "${with_words+set}" = set; then
  withval="$with_words"

fi;
  case "${with_words}" in
    big)
      ac_cv_c_bigendian=yes
      ;;
    little)
      ac_cv_c_bigendian=no
      ;;
    *)
                  echo "$as_me:$LINENO: checking whether the byte order is 
big-endian" >&5
echo $ECHO_N "checking whether the byte order is big-endian... $ECHO_C" >&6
if test "${ac_cv_c_bigendian+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_c_bigendian="unknown"
        cat >conftest.c <<EOF
        short am[] = { 0x4249, 0x4765, 0x6e44, 0x6961, 0x6e53, 0x7953, 0 };
        short ai[] = { 0x694c, 0x5454, 0x656c, 0x6e45, 0x6944, 0x6e61, 0 };
        void _a(void) { char*s = (char*)am; s = (char *)ai; }
        short ei[] = { 0x89D3, 0xe3e3, 0x8593, 0x95c5, 0x89c4, 0x9581, 0 };
        short em[] = { 0xc2c9, 0xc785, 0x95c4, 0x8981, 0x95e2, 0xa8e2, 0 };
        void _e(void) { char*s = (char*)em; s = (char*)ei; }
        int main(void) { _a(); _e(); return 0; }
EOF

        if test -f conftest.c
        then
          if ${CC-cc} -c conftest.c -o conftest.o >>config.log 2>&1 \
              && test -f conftest.o
          then
            if test "`strings conftest.o | grep BIGenDianSyS`"
            then
              ac_cv_c_bigendian="yes"
            fi
            if test "`strings conftest.o | grep LiTTleEnDian`"
            then
              ac_cv_c_bigendian="no"
            fi
          fi
        fi

fi
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
      if test "${ac_cv_c_bigendian}" = "unknown"
      then
        { { echo "$as_me:$LINENO: error: Could not guess endianness, please use 
--with-words" >&5
echo "$as_me: error: Could not guess endianness, please use --with-words" >&2;}
   { (exit 1); exit 1; }; }
      fi
      ;;
  esac
if test "${ac_cv_c_bigendian}" = "yes"
then

cat >>confdefs.h <<\_ACEOF
#define WORDS_BIGENDIAN 1
_ACEOF

fi

mozilla=false
# Check whether --enable-mozilla or --disable-mozilla was given.
if test "${enable_mozilla+set}" = set; then
  enableval="$enable_mozilla"

fi;
if test "${enable_mozilla}" = "yes"
then
  # Extract the first word of "mozilla-config", so it can be a program name 
with args.
set dummy mozilla-config; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_MOZILLA_CONFIG+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  case $MOZILLA_CONFIG in
  [\\/]* | ?:[\\/]*)
  ac_cv_path_MOZILLA_CONFIG="$MOZILLA_CONFIG" # Let the user override the test 
with a path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_path_MOZILLA_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

  test -z "$ac_cv_path_MOZILLA_CONFIG" && ac_cv_path_MOZILLA_CONFIG="no"
  ;;
esac
fi
MOZILLA_CONFIG=$ac_cv_path_MOZILLA_CONFIG

if test -n "$MOZILLA_CONFIG"; then
  echo "$as_me:$LINENO: result: $MOZILLA_CONFIG" >&5
echo "${ECHO_T}$MOZILLA_CONFIG" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  if test "${MOZILLA_CONFIG}" != "no"
  then
    if test "${SYS}" != "mingw32"; then
      LDFLAGS="${LDFLAGS_save} -L${x_libraries}"
      echo "$as_me:$LINENO: checking for XtStrings in -lXt" >&5
echo $ECHO_N "checking for XtStrings in -lXt... $ECHO_C" >&6
if test "${ac_cv_lib_Xt_XtStrings+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lXt  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char XtStrings ();
int
main ()
{
XtStrings ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_Xt_XtStrings=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_Xt_XtStrings=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_Xt_XtStrings" >&5
echo "${ECHO_T}$ac_cv_lib_Xt_XtStrings" >&6
if test $ac_cv_lib_Xt_XtStrings = yes; then

        LDFLAGS_mozilla="${LDFLAGS_mozilla} -L${x_libraries} -lXt"

fi

      LDFLAGS="${LDFLAGS_save}"
    fi
    mozilla=:
        CPPFLAGS_mozilla="${CPPFLAGS_mozilla} `${MOZILLA_CONFIG} --cflags 
plugin xpcom java | sed 's,-I\([^ ]*\)/mozilla/\([^ ]*\),-I\1/\2 
-I\1/mozilla/\2,g' | xargs`"
    #[CPPFLAGS_mozilla="${CPPFLAGS_mozilla} `${MOZILLA_CONFIG} --cflags plugin 
xpcom java --defines | sed 's,-I\([^ ]*\)/mozilla/\([^ ]*\),-I\1/\2 
-I\1/mozilla/\2,g' | xargs`"]
    LDFLAGS_mozilla="${LDFLAGS_mozilla} `${MOZILLA_CONFIG} --libs plugin xpcom`"
        if test "${XPIDL}" = "" -o ! -x "${XPIDL}"
    then
      XPIDL="/usr/lib/mozilla/xpidl"
    fi
  fi
fi


if ${mozilla}; then
  BUILD_MOZILLA_TRUE=
  BUILD_MOZILLA_FALSE='#'
else
  BUILD_MOZILLA_TRUE='#'
  BUILD_MOZILLA_FALSE=
fi


# Check whether --enable-testsuite or --disable-testsuite was given.
if test "${enable_testsuite+set}" = set; then
  enableval="$enable_testsuite"

fi;
if test "${enable_testsuite}" = "yes"
then
  TESTS="test1 test2 test3 test4"

    CXXFLAGS_test2="${CXXFLAGS_test2}"
  OBJCFLAGS_test3="${OBJCFLAGS_test3}"
    LDFLAGS_test3="${LDFLAGS_test3} -lobjc"

  PLUGINS="${PLUGINS} ${TESTS}"
  #BUILTINS="${BUILTINS} ${TESTS}"
fi

if test "${NEED_GTK_MAIN}" != "no"
then
    PLUGINS="${PLUGINS} gtk_main"
    CFLAGS_gtk="${CFLAGS_gtk} -DNEED_GTK_MAIN"
    CFLAGS_familiar="${CFLAGS_familiar} -DNEED_GTK_MAIN"
    CFLAGS_gtk_main="${CFLAGS_gtk_main} ${CFLAGS_gtk} ${CFLAGS_familiar}"
    LDFLAGS_gtk_main="${LDFLAGS_gtk_main} ${LDFLAGS_gtk} ${LDFLAGS_familiar}"
fi

if test "${NEED_GNOME_MAIN}" != "no"
then
    PLUGINS="${PLUGINS} gnome_main"
    CFLAGS_gnome_main="${CFLAGS_gnome_main} ${CFLAGS_gtk} ${CFLAGS_familiar} 
${CFLAGS_gnome}"
    LDFLAGS_gnome_main="${LDFLAGS_gnome_main} ${LDFLAGS_gtk} 
${LDFLAGS_familiar} ${LDFLAGS_gnome}"
fi

if test "${NEED_GTK2_MAIN}" != "no"
then
    PLUGINS="${PLUGINS} gtk2_main"
    CFLAGS_gtk2="${CFLAGS_gtk2} -DNEED_GTK2_MAIN"
    CFLAGS_gtk2_main="${CFLAGS_gtk2_main} ${CFLAGS_gtk2}"
    LDFLAGS_gtk2_main="${LDFLAGS_gtk2_main} ${LDFLAGS_gtk2}"
fi

if test "${NEED_GNOME2_MAIN}" != "no"
then
    PLUGINS="${PLUGINS} gnome2_main"
    CFLAGS_gnome2_main="${CFLAGS_gnome2_main} ${CFLAGS_gtk2} ${CFLAGS_gnome2}"
    LDFLAGS_gnome2_main="${LDFLAGS_gnome2_main} ${LDFLAGS_gtk2} 
${LDFLAGS_gnome2}"
fi

if test "${NEED_QTE_MAIN}" != "no"
then
    PLUGINS="${PLUGINS} qte_main"
    CPPFLAGS_qte="${CPPFLAGS_qte} -DNEED_QTE_MAIN"
    CPPFLAGS_opie="${CPPFLAGS_opie} -DNEED_QTE_MAIN"
    CFLAGS_vout_sdl="${CFLAGS_vout_sdl} -DNEED_QTE_MAIN"
    CPPFLAGS_qte_main="${CFLAGS_qte_main} ${CPPFLAGS_qte}"
    LDFLAGS_qte_main="${LDFLAGS_qte_main} ${LDFLAGS_qte}"
fi


builtin_support=false
plugin_support=:

# Check whether --enable-plugins or --disable-plugins was given.
if test "${enable_plugins+set}" = set; then
  enableval="$enable_plugins"
  if test "${enable_plugins}" = "no"
   then
     plugin_support=false
   fi
fi;

if test "${ac_cv_header_dlfcn_h}" = "no" -a "${ac_cv_header_image_h}" = "no" -a 
"${SYS}" != "mingw32"
then
  echo "*** Your system doesn't have plugin support. All plugins will be built"
  echo "statically."
  plugin_support=false
fi

if ${plugin_support}
then
  for plugin in `echo ${PLUGINS}`
  do
    eval "${plugin}_p=yes"
  done
else
  BUILTINS="${BUILTINS} ${PLUGINS}"
  PLUGINS=
fi


if ${plugin_support}; then
  HAVE_PLUGINS_TRUE=
  HAVE_PLUGINS_FALSE='#'
else
  HAVE_PLUGINS_TRUE='#'
  HAVE_PLUGINS_FALSE=
fi


if echo "${BUILTINS}" | grep '[^ ]' >/dev/null 2>&1
then
  builtin_support=:
  for builtin in `echo ${BUILTINS}`
  do
    eval "${builtin}_b=yes"
  done
fi


if ${builtin_support}; then
  HAVE_BUILTINS_TRUE=
  HAVE_BUILTINS_FALSE='#'
else
  HAVE_BUILTINS_TRUE='#'
  HAVE_BUILTINS_FALSE=
fi





if test x$access_file_p = xyes; then
  access_file_p_TRUE=
  access_file_p_FALSE='#'
else
  access_file_p_TRUE='#'
  access_file_p_FALSE=
fi



if test x$access_file_b = xyes; then
  access_file_b_TRUE=
  access_file_b_FALSE='#'
else
  access_file_b_TRUE='#'
  access_file_b_FALSE=
fi



if test x$access_directory_p = xyes; then
  access_directory_p_TRUE=
  access_directory_p_FALSE='#'
else
  access_directory_p_TRUE='#'
  access_directory_p_FALSE=
fi



if test x$access_directory_b = xyes; then
  access_directory_b_TRUE=
  access_directory_b_FALSE='#'
else
  access_directory_b_TRUE='#'
  access_directory_b_FALSE=
fi




if test x$access_udp_p = xyes; then
  access_udp_p_TRUE=
  access_udp_p_FALSE='#'
else
  access_udp_p_TRUE='#'
  access_udp_p_FALSE=
fi



if test x$access_udp_b = xyes; then
  access_udp_b_TRUE=
  access_udp_b_FALSE='#'
else
  access_udp_b_TRUE='#'
  access_udp_b_FALSE=
fi




if test x$access_http_p = xyes; then
  access_http_p_TRUE=
  access_http_p_FALSE='#'
else
  access_http_p_TRUE='#'
  access_http_p_FALSE=
fi



if test x$access_http_b = xyes; then
  access_http_b_TRUE=
  access_http_b_FALSE='#'
else
  access_http_b_TRUE='#'
  access_http_b_FALSE=
fi




if test x$access_ftp_p = xyes; then
  access_ftp_p_TRUE=
  access_ftp_p_FALSE='#'
else
  access_ftp_p_TRUE='#'
  access_ftp_p_FALSE=
fi



if test x$access_ftp_b = xyes; then
  access_ftp_b_TRUE=
  access_ftp_b_FALSE='#'
else
  access_ftp_b_TRUE='#'
  access_ftp_b_FALSE=
fi





if test x$slp_p = xyes; then
  slp_p_TRUE=
  slp_p_FALSE='#'
else
  slp_p_TRUE='#'
  slp_p_FALSE=
fi



if test x$slp_b = xyes; then
  slp_b_TRUE=
  slp_b_FALSE='#'
else
  slp_b_TRUE='#'
  slp_b_FALSE=
fi




if test x$cdda_p = xyes; then
  cdda_p_TRUE=
  cdda_p_FALSE='#'
else
  cdda_p_TRUE='#'
  cdda_p_FALSE=
fi



if test x$cdda_b = xyes; then
  cdda_b_TRUE=
  cdda_b_FALSE='#'
else
  cdda_b_TRUE='#'
  cdda_b_FALSE=
fi





if test x$dvd_p = xyes; then
  dvd_p_TRUE=
  dvd_p_FALSE='#'
else
  dvd_p_TRUE='#'
  dvd_p_FALSE=
fi



if test x$dvd_b = xyes; then
  dvd_b_TRUE=
  dvd_b_FALSE='#'
else
  dvd_b_TRUE='#'
  dvd_b_FALSE=
fi





if test x$dvdplay_p = xyes; then
  dvdplay_p_TRUE=
  dvdplay_p_FALSE='#'
else
  dvdplay_p_TRUE='#'
  dvdplay_p_FALSE=
fi



if test x$dvdplay_b = xyes; then
  dvdplay_b_TRUE=
  dvdplay_b_FALSE='#'
else
  dvdplay_b_TRUE='#'
  dvdplay_b_FALSE=
fi





if test x$dvdread_p = xyes; then
  dvdread_p_TRUE=
  dvdread_p_FALSE='#'
else
  dvdread_p_TRUE='#'
  dvdread_p_FALSE=
fi



if test x$dvdread_b = xyes; then
  dvdread_b_TRUE=
  dvdread_b_FALSE='#'
else
  dvdread_b_TRUE='#'
  dvdread_b_FALSE=
fi




if test x$access_mms_p = xyes; then
  access_mms_p_TRUE=
  access_mms_p_FALSE='#'
else
  access_mms_p_TRUE='#'
  access_mms_p_FALSE=
fi



if test x$access_mms_b = xyes; then
  access_mms_b_TRUE=
  access_mms_b_FALSE='#'
else
  access_mms_b_TRUE='#'
  access_mms_b_FALSE=
fi



if test x$pvr_p = xyes; then
  pvr_p_TRUE=
  pvr_p_FALSE='#'
else
  pvr_p_TRUE='#'
  pvr_p_FALSE=
fi



if test x$pvr_b = xyes; then
  pvr_b_TRUE=
  pvr_b_FALSE='#'
else
  pvr_b_TRUE='#'
  pvr_b_FALSE=
fi



if test x$satellite_p = xyes; then
  satellite_p_TRUE=
  satellite_p_FALSE='#'
else
  satellite_p_TRUE='#'
  satellite_p_FALSE=
fi



if test x$satellite_b = xyes; then
  satellite_b_TRUE=
  satellite_b_FALSE='#'
else
  satellite_b_TRUE='#'
  satellite_b_FALSE=
fi



if test x$v4l_p = xyes; then
  v4l_p_TRUE=
  v4l_p_FALSE='#'
else
  v4l_p_TRUE='#'
  v4l_p_FALSE=
fi



if test x$v4l_b = xyes; then
  v4l_b_TRUE=
  v4l_b_FALSE='#'
else
  v4l_b_TRUE='#'
  v4l_b_FALSE=
fi




if test x$vcd_p = xyes; then
  vcd_p_TRUE=
  vcd_p_FALSE='#'
else
  vcd_p_TRUE='#'
  vcd_p_FALSE=
fi



if test x$vcd_b = xyes; then
  vcd_b_TRUE=
  vcd_b_FALSE='#'
else
  vcd_b_TRUE='#'
  vcd_b_FALSE=
fi



if test x$access_output_dummy_p = xyes; then
  access_output_dummy_p_TRUE=
  access_output_dummy_p_FALSE='#'
else
  access_output_dummy_p_TRUE='#'
  access_output_dummy_p_FALSE=
fi



if test x$access_output_dummy_b = xyes; then
  access_output_dummy_b_TRUE=
  access_output_dummy_b_FALSE='#'
else
  access_output_dummy_b_TRUE='#'
  access_output_dummy_b_FALSE=
fi



if test x$access_output_file_p = xyes; then
  access_output_file_p_TRUE=
  access_output_file_p_FALSE='#'
else
  access_output_file_p_TRUE='#'
  access_output_file_p_FALSE=
fi



if test x$access_output_file_b = xyes; then
  access_output_file_b_TRUE=
  access_output_file_b_FALSE='#'
else
  access_output_file_b_TRUE='#'
  access_output_file_b_FALSE=
fi




if test x$access_output_udp_p = xyes; then
  access_output_udp_p_TRUE=
  access_output_udp_p_FALSE='#'
else
  access_output_udp_p_TRUE='#'
  access_output_udp_p_FALSE=
fi



if test x$access_output_udp_b = xyes; then
  access_output_udp_b_TRUE=
  access_output_udp_b_FALSE='#'
else
  access_output_udp_b_TRUE='#'
  access_output_udp_b_FALSE=
fi



if test x$access_output_http_p = xyes; then
  access_output_http_p_TRUE=
  access_output_http_p_FALSE='#'
else
  access_output_http_p_TRUE='#'
  access_output_http_p_FALSE=
fi



if test x$access_output_http_b = xyes; then
  access_output_http_b_TRUE=
  access_output_http_b_FALSE='#'
else
  access_output_http_b_TRUE='#'
  access_output_http_b_FALSE=
fi



if test x$trivial_channel_mixer_p = xyes; then
  trivial_channel_mixer_p_TRUE=
  trivial_channel_mixer_p_FALSE='#'
else
  trivial_channel_mixer_p_TRUE='#'
  trivial_channel_mixer_p_FALSE=
fi



if test x$trivial_channel_mixer_b = xyes; then
  trivial_channel_mixer_b_TRUE=
  trivial_channel_mixer_b_FALSE='#'
else
  trivial_channel_mixer_b_TRUE='#'
  trivial_channel_mixer_b_FALSE=
fi




if test x$headphone_channel_mixer_p = xyes; then
  headphone_channel_mixer_p_TRUE=
  headphone_channel_mixer_p_FALSE='#'
else
  headphone_channel_mixer_p_TRUE='#'
  headphone_channel_mixer_p_FALSE=
fi



if test x$headphone_channel_mixer_b = xyes; then
  headphone_channel_mixer_b_TRUE=
  headphone_channel_mixer_b_FALSE='#'
else
  headphone_channel_mixer_b_TRUE='#'
  headphone_channel_mixer_b_FALSE=
fi



if test x$float32tos16_p = xyes; then
  float32tos16_p_TRUE=
  float32tos16_p_FALSE='#'
else
  float32tos16_p_TRUE='#'
  float32tos16_p_FALSE=
fi



if test x$float32tos16_b = xyes; then
  float32tos16_b_TRUE=
  float32tos16_b_FALSE='#'
else
  float32tos16_b_TRUE='#'
  float32tos16_b_FALSE=
fi



if test x$float32tos8_p = xyes; then
  float32tos8_p_TRUE=
  float32tos8_p_FALSE='#'
else
  float32tos8_p_TRUE='#'
  float32tos8_p_FALSE=
fi



if test x$float32tos8_b = xyes; then
  float32tos8_b_TRUE=
  float32tos8_b_FALSE='#'
else
  float32tos8_b_TRUE='#'
  float32tos8_b_FALSE=
fi



if test x$float32tou16_p = xyes; then
  float32tou16_p_TRUE=
  float32tou16_p_FALSE='#'
else
  float32tou16_p_TRUE='#'
  float32tou16_p_FALSE=
fi



if test x$float32tou16_b = xyes; then
  float32tou16_b_TRUE=
  float32tou16_b_FALSE='#'
else
  float32tou16_b_TRUE='#'
  float32tou16_b_FALSE=
fi



if test x$float32tou8_p = xyes; then
  float32tou8_p_TRUE=
  float32tou8_p_FALSE='#'
else
  float32tou8_p_TRUE='#'
  float32tou8_p_FALSE=
fi



if test x$float32tou8_b = xyes; then
  float32tou8_b_TRUE=
  float32tou8_b_FALSE='#'
else
  float32tou8_b_TRUE='#'
  float32tou8_b_FALSE=
fi



if test x$a52tospdif_p = xyes; then
  a52tospdif_p_TRUE=
  a52tospdif_p_FALSE='#'
else
  a52tospdif_p_TRUE='#'
  a52tospdif_p_FALSE=
fi



if test x$a52tospdif_b = xyes; then
  a52tospdif_b_TRUE=
  a52tospdif_b_FALSE='#'
else
  a52tospdif_b_TRUE='#'
  a52tospdif_b_FALSE=
fi





if test x$a52tofloat32_p = xyes; then
  a52tofloat32_p_TRUE=
  a52tofloat32_p_FALSE='#'
else
  a52tofloat32_p_TRUE='#'
  a52tofloat32_p_FALSE=
fi



if test x$a52tofloat32_b = xyes; then
  a52tofloat32_b_TRUE=
  a52tofloat32_b_FALSE='#'
else
  a52tofloat32_b_TRUE='#'
  a52tofloat32_b_FALSE=
fi



if test x$dtstospdif_p = xyes; then
  dtstospdif_p_TRUE=
  dtstospdif_p_FALSE='#'
else
  dtstospdif_p_TRUE='#'
  dtstospdif_p_FALSE=
fi



if test x$dtstospdif_b = xyes; then
  dtstospdif_b_TRUE=
  dtstospdif_b_FALSE='#'
else
  dtstospdif_b_TRUE='#'
  dtstospdif_b_FALSE=
fi



if test x$fixed32tos16_p = xyes; then
  fixed32tos16_p_TRUE=
  fixed32tos16_p_FALSE='#'
else
  fixed32tos16_p_TRUE='#'
  fixed32tos16_p_FALSE=
fi



if test x$fixed32tos16_b = xyes; then
  fixed32tos16_b_TRUE=
  fixed32tos16_b_FALSE='#'
else
  fixed32tos16_b_TRUE='#'
  fixed32tos16_b_FALSE=
fi



if test x$s16tofixed32_p = xyes; then
  s16tofixed32_p_TRUE=
  s16tofixed32_p_FALSE='#'
else
  s16tofixed32_p_TRUE='#'
  s16tofixed32_p_FALSE=
fi



if test x$s16tofixed32_b = xyes; then
  s16tofixed32_b_TRUE=
  s16tofixed32_b_FALSE='#'
else
  s16tofixed32_b_TRUE='#'
  s16tofixed32_b_FALSE=
fi



if test x$fixed32tofloat32_p = xyes; then
  fixed32tofloat32_p_TRUE=
  fixed32tofloat32_p_FALSE='#'
else
  fixed32tofloat32_p_TRUE='#'
  fixed32tofloat32_p_FALSE=
fi



if test x$fixed32tofloat32_b = xyes; then
  fixed32tofloat32_b_TRUE=
  fixed32tofloat32_b_FALSE='#'
else
  fixed32tofloat32_b_TRUE='#'
  fixed32tofloat32_b_FALSE=
fi



if test x$s16tofloat32_p = xyes; then
  s16tofloat32_p_TRUE=
  s16tofloat32_p_FALSE='#'
else
  s16tofloat32_p_TRUE='#'
  s16tofloat32_p_FALSE=
fi



if test x$s16tofloat32_b = xyes; then
  s16tofloat32_b_TRUE=
  s16tofloat32_b_FALSE='#'
else
  s16tofloat32_b_TRUE='#'
  s16tofloat32_b_FALSE=
fi



if test x$s16tofloat32swab_p = xyes; then
  s16tofloat32swab_p_TRUE=
  s16tofloat32swab_p_FALSE='#'
else
  s16tofloat32swab_p_TRUE='#'
  s16tofloat32swab_p_FALSE=
fi



if test x$s16tofloat32swab_b = xyes; then
  s16tofloat32swab_b_TRUE=
  s16tofloat32swab_b_FALSE='#'
else
  s16tofloat32swab_b_TRUE='#'
  s16tofloat32swab_b_FALSE=
fi



if test x$s8tofloat32_p = xyes; then
  s8tofloat32_p_TRUE=
  s8tofloat32_p_FALSE='#'
else
  s8tofloat32_p_TRUE='#'
  s8tofloat32_p_FALSE=
fi



if test x$s8tofloat32_b = xyes; then
  s8tofloat32_b_TRUE=
  s8tofloat32_b_FALSE='#'
else
  s8tofloat32_b_TRUE='#'
  s8tofloat32_b_FALSE=
fi



if test x$u8tofixed32_p = xyes; then
  u8tofixed32_p_TRUE=
  u8tofixed32_p_FALSE='#'
else
  u8tofixed32_p_TRUE='#'
  u8tofixed32_p_FALSE=
fi



if test x$u8tofixed32_b = xyes; then
  u8tofixed32_b_TRUE=
  u8tofixed32_b_FALSE='#'
else
  u8tofixed32_b_TRUE='#'
  u8tofixed32_b_FALSE=
fi



if test x$u8tofloat32_p = xyes; then
  u8tofloat32_p_TRUE=
  u8tofloat32_p_FALSE='#'
else
  u8tofloat32_p_TRUE='#'
  u8tofloat32_p_FALSE=
fi



if test x$u8tofloat32_b = xyes; then
  u8tofloat32_b_TRUE=
  u8tofloat32_b_FALSE='#'
else
  u8tofloat32_b_TRUE='#'
  u8tofloat32_b_FALSE=
fi





if test x$mpgatofixed32_p = xyes; then
  mpgatofixed32_p_TRUE=
  mpgatofixed32_p_FALSE='#'
else
  mpgatofixed32_p_TRUE='#'
  mpgatofixed32_p_FALSE=
fi



if test x$mpgatofixed32_b = xyes; then
  mpgatofixed32_b_TRUE=
  mpgatofixed32_b_FALSE='#'
else
  mpgatofixed32_b_TRUE='#'
  mpgatofixed32_b_FALSE=
fi



if test x$trivial_resampler_p = xyes; then
  trivial_resampler_p_TRUE=
  trivial_resampler_p_FALSE='#'
else
  trivial_resampler_p_TRUE='#'
  trivial_resampler_p_FALSE=
fi



if test x$trivial_resampler_b = xyes; then
  trivial_resampler_b_TRUE=
  trivial_resampler_b_FALSE='#'
else
  trivial_resampler_b_TRUE='#'
  trivial_resampler_b_FALSE=
fi



if test x$ugly_resampler_p = xyes; then
  ugly_resampler_p_TRUE=
  ugly_resampler_p_FALSE='#'
else
  ugly_resampler_p_TRUE='#'
  ugly_resampler_p_FALSE=
fi



if test x$ugly_resampler_b = xyes; then
  ugly_resampler_b_TRUE=
  ugly_resampler_b_FALSE='#'
else
  ugly_resampler_b_TRUE='#'
  ugly_resampler_b_FALSE=
fi



if test x$linear_resampler_p = xyes; then
  linear_resampler_p_TRUE=
  linear_resampler_p_FALSE='#'
else
  linear_resampler_p_TRUE='#'
  linear_resampler_p_FALSE=
fi



if test x$linear_resampler_b = xyes; then
  linear_resampler_b_TRUE=
  linear_resampler_b_FALSE='#'
else
  linear_resampler_b_TRUE='#'
  linear_resampler_b_FALSE=
fi



if test x$bandlimited_resampler_p = xyes; then
  bandlimited_resampler_p_TRUE=
  bandlimited_resampler_p_FALSE='#'
else
  bandlimited_resampler_p_TRUE='#'
  bandlimited_resampler_p_FALSE=
fi



if test x$bandlimited_resampler_b = xyes; then
  bandlimited_resampler_b_TRUE=
  bandlimited_resampler_b_FALSE='#'
else
  bandlimited_resampler_b_TRUE='#'
  bandlimited_resampler_b_FALSE=
fi




if test x$coreaudio_resampler_p = xyes; then
  coreaudio_resampler_p_TRUE=
  coreaudio_resampler_p_FALSE='#'
else
  coreaudio_resampler_p_TRUE='#'
  coreaudio_resampler_p_FALSE=
fi



if test x$coreaudio_resampler_b = xyes; then
  coreaudio_resampler_b_TRUE=
  coreaudio_resampler_b_FALSE='#'
else
  coreaudio_resampler_b_TRUE='#'
  coreaudio_resampler_b_FALSE=
fi



if test x$trivial_mixer_p = xyes; then
  trivial_mixer_p_TRUE=
  trivial_mixer_p_FALSE='#'
else
  trivial_mixer_p_TRUE='#'
  trivial_mixer_p_FALSE=
fi



if test x$trivial_mixer_b = xyes; then
  trivial_mixer_b_TRUE=
  trivial_mixer_b_FALSE='#'
else
  trivial_mixer_b_TRUE='#'
  trivial_mixer_b_FALSE=
fi



if test x$float32_mixer_p = xyes; then
  float32_mixer_p_TRUE=
  float32_mixer_p_FALSE='#'
else
  float32_mixer_p_TRUE='#'
  float32_mixer_p_FALSE=
fi



if test x$float32_mixer_b = xyes; then
  float32_mixer_b_TRUE=
  float32_mixer_b_FALSE='#'
else
  float32_mixer_b_TRUE='#'
  float32_mixer_b_FALSE=
fi



if test x$spdif_mixer_p = xyes; then
  spdif_mixer_p_TRUE=
  spdif_mixer_p_FALSE='#'
else
  spdif_mixer_p_TRUE='#'
  spdif_mixer_p_FALSE=
fi



if test x$spdif_mixer_b = xyes; then
  spdif_mixer_b_TRUE=
  spdif_mixer_b_FALSE='#'
else
  spdif_mixer_b_TRUE='#'
  spdif_mixer_b_FALSE=
fi




if test x$alsa_p = xyes; then
  alsa_p_TRUE=
  alsa_p_FALSE='#'
else
  alsa_p_TRUE='#'
  alsa_p_FALSE=
fi



if test x$alsa_b = xyes; then
  alsa_b_TRUE=
  alsa_b_FALSE='#'
else
  alsa_b_TRUE='#'
  alsa_b_FALSE=
fi





if test x$arts_p = xyes; then
  arts_p_TRUE=
  arts_p_FALSE='#'
else
  arts_p_TRUE='#'
  arts_p_FALSE=
fi



if test x$arts_b = xyes; then
  arts_b_TRUE=
  arts_b_FALSE='#'
else
  arts_b_TRUE='#'
  arts_b_FALSE=
fi




if test x$coreaudio_p = xyes; then
  coreaudio_p_TRUE=
  coreaudio_p_FALSE='#'
else
  coreaudio_p_TRUE='#'
  coreaudio_p_FALSE=
fi



if test x$coreaudio_b = xyes; then
  coreaudio_b_TRUE=
  coreaudio_b_FALSE='#'
else
  coreaudio_b_TRUE='#'
  coreaudio_b_FALSE=
fi




if test x$aout_directx_p = xyes; then
  aout_directx_p_TRUE=
  aout_directx_p_FALSE='#'
else
  aout_directx_p_TRUE='#'
  aout_directx_p_FALSE=
fi



if test x$aout_directx_b = xyes; then
  aout_directx_b_TRUE=
  aout_directx_b_FALSE='#'
else
  aout_directx_b_TRUE='#'
  aout_directx_b_FALSE=
fi





if test x$esd_p = xyes; then
  esd_p_TRUE=
  esd_p_FALSE='#'
else
  esd_p_TRUE='#'
  esd_p_FALSE=
fi



if test x$esd_b = xyes; then
  esd_b_TRUE=
  esd_b_FALSE='#'
else
  esd_b_TRUE='#'
  esd_b_FALSE=
fi



if test x$aout_file_p = xyes; then
  aout_file_p_TRUE=
  aout_file_p_FALSE='#'
else
  aout_file_p_TRUE='#'
  aout_file_p_FALSE=
fi



if test x$aout_file_b = xyes; then
  aout_file_b_TRUE=
  aout_file_b_FALSE='#'
else
  aout_file_b_TRUE='#'
  aout_file_b_FALSE=
fi



if test x$oss_p = xyes; then
  oss_p_TRUE=
  oss_p_FALSE='#'
else
  oss_p_TRUE='#'
  oss_p_FALSE=
fi



if test x$oss_b = xyes; then
  oss_b_TRUE=
  oss_b_FALSE='#'
else
  oss_b_TRUE='#'
  oss_b_FALSE=
fi





if test x$aout_sdl_p = xyes; then
  aout_sdl_p_TRUE=
  aout_sdl_p_FALSE='#'
else
  aout_sdl_p_TRUE='#'
  aout_sdl_p_FALSE=
fi



if test x$aout_sdl_b = xyes; then
  aout_sdl_b_TRUE=
  aout_sdl_b_FALSE='#'
else
  aout_sdl_b_TRUE='#'
  aout_sdl_b_FALSE=
fi




if test x$waveout_p = xyes; then
  waveout_p_TRUE=
  waveout_p_FALSE='#'
else
  waveout_p_TRUE='#'
  waveout_p_FALSE=
fi



if test x$waveout_b = xyes; then
  waveout_b_TRUE=
  waveout_b_FALSE='#'
else
  waveout_b_TRUE='#'
  waveout_b_FALSE=
fi



if test x$a52_p = xyes; then
  a52_p_TRUE=
  a52_p_FALSE='#'
else
  a52_p_TRUE='#'
  a52_p_FALSE=
fi



if test x$a52_b = xyes; then
  a52_b_TRUE=
  a52_b_FALSE='#'
else
  a52_b_TRUE='#'
  a52_b_FALSE=
fi



if test x$dts_p = xyes; then
  dts_p_TRUE=
  dts_p_FALSE='#'
else
  dts_p_TRUE='#'
  dts_p_FALSE=
fi



if test x$dts_b = xyes; then
  dts_b_TRUE=
  dts_b_FALSE='#'
else
  dts_b_TRUE='#'
  dts_b_FALSE=
fi




if test x$flacdec_p = xyes; then
  flacdec_p_TRUE=
  flacdec_p_FALSE='#'
else
  flacdec_p_TRUE='#'
  flacdec_p_FALSE=
fi



if test x$flacdec_b = xyes; then
  flacdec_b_TRUE=
  flacdec_b_FALSE='#'
else
  flacdec_b_TRUE='#'
  flacdec_b_FALSE=
fi



if test x$lpcm_p = xyes; then
  lpcm_p_TRUE=
  lpcm_p_FALSE='#'
else
  lpcm_p_TRUE='#'
  lpcm_p_FALSE=
fi



if test x$lpcm_b = xyes; then
  lpcm_b_TRUE=
  lpcm_b_FALSE='#'
else
  lpcm_b_TRUE='#'
  lpcm_b_FALSE=
fi



if test x$araw_p = xyes; then
  araw_p_TRUE=
  araw_p_FALSE='#'
else
  araw_p_TRUE='#'
  araw_p_FALSE=
fi



if test x$araw_b = xyes; then
  araw_b_TRUE=
  araw_b_FALSE='#'
else
  araw_b_TRUE='#'
  araw_b_FALSE=
fi




if test x$vorbis_p = xyes; then
  vorbis_p_TRUE=
  vorbis_p_FALSE='#'
else
  vorbis_p_TRUE='#'
  vorbis_p_FALSE=
fi



if test x$vorbis_b = xyes; then
  vorbis_b_TRUE=
  vorbis_b_FALSE='#'
else
  vorbis_b_TRUE='#'
  vorbis_b_FALSE=
fi





if test x$tarkin_p = xyes; then
  tarkin_p_TRUE=
  tarkin_p_FALSE='#'
else
  tarkin_p_TRUE='#'
  tarkin_p_FALSE=
fi



if test x$tarkin_b = xyes; then
  tarkin_b_TRUE=
  tarkin_b_FALSE='#'
else
  tarkin_b_TRUE='#'
  tarkin_b_FALSE=
fi




if test x$theora_p = xyes; then
  theora_p_TRUE=
  theora_p_FALSE='#'
else
  theora_p_TRUE='#'
  theora_p_FALSE=
fi



if test x$theora_b = xyes; then
  theora_b_TRUE=
  theora_b_FALSE='#'
else
  theora_b_TRUE='#'
  theora_b_FALSE=
fi




if test x$tremor_p = xyes; then
  tremor_p_TRUE=
  tremor_p_FALSE='#'
else
  tremor_p_TRUE='#'
  tremor_p_FALSE=
fi



if test x$tremor_b = xyes; then
  tremor_b_TRUE=
  tremor_b_FALSE='#'
else
  tremor_b_TRUE='#'
  tremor_b_FALSE=
fi




if test x$dv_p = xyes; then
  dv_p_TRUE=
  dv_p_FALSE='#'
else
  dv_p_TRUE='#'
  dv_p_FALSE=
fi



if test x$dv_b = xyes; then
  dv_b_TRUE=
  dv_b_FALSE='#'
else
  dv_b_TRUE='#'
  dv_b_FALSE=
fi





if test x$xvid_p = xyes; then
  xvid_p_TRUE=
  xvid_p_FALSE='#'
else
  xvid_p_TRUE='#'
  xvid_p_FALSE=
fi



if test x$xvid_b = xyes; then
  xvid_b_TRUE=
  xvid_b_FALSE='#'
else
  xvid_b_TRUE='#'
  xvid_b_FALSE=
fi



if test x$adpcm_p = xyes; then
  adpcm_p_TRUE=
  adpcm_p_FALSE='#'
else
  adpcm_p_TRUE='#'
  adpcm_p_FALSE=
fi



if test x$adpcm_b = xyes; then
  adpcm_b_TRUE=
  adpcm_b_FALSE='#'
else
  adpcm_b_TRUE='#'
  adpcm_b_FALSE=
fi



if test x$mpeg_audio_p = xyes; then
  mpeg_audio_p_TRUE=
  mpeg_audio_p_FALSE='#'
else
  mpeg_audio_p_TRUE='#'
  mpeg_audio_p_FALSE=
fi



if test x$mpeg_audio_b = xyes; then
  mpeg_audio_b_TRUE=
  mpeg_audio_b_FALSE='#'
else
  mpeg_audio_b_TRUE='#'
  mpeg_audio_b_FALSE=
fi





if test x$libmpeg2_p = xyes; then
  libmpeg2_p_TRUE=
  libmpeg2_p_FALSE='#'
else
  libmpeg2_p_TRUE='#'
  libmpeg2_p_FALSE=
fi



if test x$libmpeg2_b = xyes; then
  libmpeg2_b_TRUE=
  libmpeg2_b_FALSE='#'
else
  libmpeg2_b_TRUE='#'
  libmpeg2_b_FALSE=
fi



if test x$rawvideo_p = xyes; then
  rawvideo_p_TRUE=
  rawvideo_p_FALSE='#'
else
  rawvideo_p_TRUE='#'
  rawvideo_p_FALSE=
fi



if test x$rawvideo_b = xyes; then
  rawvideo_b_TRUE=
  rawvideo_b_FALSE='#'
else
  rawvideo_b_TRUE='#'
  rawvideo_b_FALSE=
fi




if test x$quicktime_p = xyes; then
  quicktime_p_TRUE=
  quicktime_p_FALSE='#'
else
  quicktime_p_TRUE='#'
  quicktime_p_FALSE=
fi



if test x$quicktime_b = xyes; then
  quicktime_b_TRUE=
  quicktime_b_FALSE='#'
else
  quicktime_b_TRUE='#'
  quicktime_b_FALSE=
fi



if test x$a52old_p = xyes; then
  a52old_p_TRUE=
  a52old_p_FALSE='#'
else
  a52old_p_TRUE='#'
  a52old_p_FALSE=
fi



if test x$a52old_b = xyes; then
  a52old_b_TRUE=
  a52old_b_FALSE='#'
else
  a52old_b_TRUE='#'
  a52old_b_FALSE=
fi



if test x$downmix_p = xyes; then
  downmix_p_TRUE=
  downmix_p_FALSE='#'
else
  downmix_p_TRUE='#'
  downmix_p_FALSE=
fi



if test x$downmix_b = xyes; then
  downmix_b_TRUE=
  downmix_b_FALSE='#'
else
  downmix_b_TRUE='#'
  downmix_b_FALSE=
fi



if test x$downmixsse_p = xyes; then
  downmixsse_p_TRUE=
  downmixsse_p_FALSE='#'
else
  downmixsse_p_TRUE='#'
  downmixsse_p_FALSE=
fi



if test x$downmixsse_b = xyes; then
  downmixsse_b_TRUE=
  downmixsse_b_FALSE='#'
else
  downmixsse_b_TRUE='#'
  downmixsse_b_FALSE=
fi



if test x$downmix3dn_p = xyes; then
  downmix3dn_p_TRUE=
  downmix3dn_p_FALSE='#'
else
  downmix3dn_p_TRUE='#'
  downmix3dn_p_FALSE=
fi



if test x$downmix3dn_b = xyes; then
  downmix3dn_b_TRUE=
  downmix3dn_b_FALSE='#'
else
  downmix3dn_b_TRUE='#'
  downmix3dn_b_FALSE=
fi




if test x$imdct_p = xyes; then
  imdct_p_TRUE=
  imdct_p_FALSE='#'
else
  imdct_p_TRUE='#'
  imdct_p_FALSE=
fi



if test x$imdct_b = xyes; then
  imdct_b_TRUE=
  imdct_b_FALSE='#'
else
  imdct_b_TRUE='#'
  imdct_b_FALSE=
fi




if test x$imdctsse_p = xyes; then
  imdctsse_p_TRUE=
  imdctsse_p_FALSE='#'
else
  imdctsse_p_TRUE='#'
  imdctsse_p_FALSE=
fi



if test x$imdctsse_b = xyes; then
  imdctsse_b_TRUE=
  imdctsse_b_FALSE='#'
else
  imdctsse_b_TRUE='#'
  imdctsse_b_FALSE=
fi




if test x$imdct3dn_p = xyes; then
  imdct3dn_p_TRUE=
  imdct3dn_p_FALSE='#'
else
  imdct3dn_p_TRUE='#'
  imdct3dn_p_FALSE=
fi



if test x$imdct3dn_b = xyes; then
  imdct3dn_b_TRUE=
  imdct3dn_b_FALSE='#'
else
  imdct3dn_b_TRUE='#'
  imdct3dn_b_FALSE=
fi



if test x$cinepak_p = xyes; then
  cinepak_p_TRUE=
  cinepak_p_FALSE='#'
else
  cinepak_p_TRUE='#'
  cinepak_p_FALSE=
fi



if test x$cinepak_b = xyes; then
  cinepak_b_TRUE=
  cinepak_b_FALSE='#'
else
  cinepak_b_TRUE='#'
  cinepak_b_FALSE=
fi





if test x$faad_p = xyes; then
  faad_p_TRUE=
  faad_p_FALSE='#'
else
  faad_p_TRUE='#'
  faad_p_FALSE=
fi



if test x$faad_b = xyes; then
  faad_b_TRUE=
  faad_b_FALSE='#'
else
  faad_b_TRUE='#'
  faad_b_FALSE=
fi





if test x$ffmpeg_p = xyes; then
  ffmpeg_p_TRUE=
  ffmpeg_p_FALSE='#'
else
  ffmpeg_p_TRUE='#'
  ffmpeg_p_FALSE=
fi



if test x$ffmpeg_b = xyes; then
  ffmpeg_b_TRUE=
  ffmpeg_b_FALSE='#'
else
  ffmpeg_b_TRUE='#'
  ffmpeg_b_FALSE=
fi



if test x$postprocessing_c_p = xyes; then
  postprocessing_c_p_TRUE=
  postprocessing_c_p_FALSE='#'
else
  postprocessing_c_p_TRUE='#'
  postprocessing_c_p_FALSE=
fi



if test x$postprocessing_c_b = xyes; then
  postprocessing_c_b_TRUE=
  postprocessing_c_b_FALSE='#'
else
  postprocessing_c_b_TRUE='#'
  postprocessing_c_b_FALSE=
fi



if test x$postprocessing_mmx_p = xyes; then
  postprocessing_mmx_p_TRUE=
  postprocessing_mmx_p_FALSE='#'
else
  postprocessing_mmx_p_TRUE='#'
  postprocessing_mmx_p_FALSE=
fi



if test x$postprocessing_mmx_b = xyes; then
  postprocessing_mmx_b_TRUE=
  postprocessing_mmx_b_FALSE='#'
else
  postprocessing_mmx_b_TRUE='#'
  postprocessing_mmx_b_FALSE=
fi



if test x$postprocessing_mmxext_p = xyes; then
  postprocessing_mmxext_p_TRUE=
  postprocessing_mmxext_p_FALSE='#'
else
  postprocessing_mmxext_p_TRUE='#'
  postprocessing_mmxext_p_FALSE=
fi



if test x$postprocessing_mmxext_b = xyes; then
  postprocessing_mmxext_b_TRUE=
  postprocessing_mmxext_b_FALSE='#'
else
  postprocessing_mmxext_b_TRUE='#'
  postprocessing_mmxext_b_FALSE=
fi




if test x$mpeg_video_old_p = xyes; then
  mpeg_video_old_p_TRUE=
  mpeg_video_old_p_FALSE='#'
else
  mpeg_video_old_p_TRUE='#'
  mpeg_video_old_p_FALSE=
fi



if test x$mpeg_video_old_b = xyes; then
  mpeg_video_old_b_TRUE=
  mpeg_video_old_b_FALSE='#'
else
  mpeg_video_old_b_TRUE='#'
  mpeg_video_old_b_FALSE=
fi



if test x$idct_p = xyes; then
  idct_p_TRUE=
  idct_p_FALSE='#'
else
  idct_p_TRUE='#'
  idct_p_FALSE=
fi



if test x$idct_b = xyes; then
  idct_b_TRUE=
  idct_b_FALSE='#'
else
  idct_b_TRUE='#'
  idct_b_FALSE=
fi



if test x$idctclassic_p = xyes; then
  idctclassic_p_TRUE=
  idctclassic_p_FALSE='#'
else
  idctclassic_p_TRUE='#'
  idctclassic_p_FALSE=
fi



if test x$idctclassic_b = xyes; then
  idctclassic_b_TRUE=
  idctclassic_b_FALSE='#'
else
  idctclassic_b_TRUE='#'
  idctclassic_b_FALSE=
fi



if test x$idctmmx_p = xyes; then
  idctmmx_p_TRUE=
  idctmmx_p_FALSE='#'
else
  idctmmx_p_TRUE='#'
  idctmmx_p_FALSE=
fi



if test x$idctmmx_b = xyes; then
  idctmmx_b_TRUE=
  idctmmx_b_FALSE='#'
else
  idctmmx_b_TRUE='#'
  idctmmx_b_FALSE=
fi



if test x$idctmmxext_p = xyes; then
  idctmmxext_p_TRUE=
  idctmmxext_p_FALSE='#'
else
  idctmmxext_p_TRUE='#'
  idctmmxext_p_FALSE=
fi



if test x$idctmmxext_b = xyes; then
  idctmmxext_b_TRUE=
  idctmmxext_b_FALSE='#'
else
  idctmmxext_b_TRUE='#'
  idctmmxext_b_FALSE=
fi





if test x$idctaltivec_p = xyes; then
  idctaltivec_p_TRUE=
  idctaltivec_p_FALSE='#'
else
  idctaltivec_p_TRUE='#'
  idctaltivec_p_FALSE=
fi



if test x$idctaltivec_b = xyes; then
  idctaltivec_b_TRUE=
  idctaltivec_b_FALSE='#'
else
  idctaltivec_b_TRUE='#'
  idctaltivec_b_FALSE=
fi



if test x$motion_p = xyes; then
  motion_p_TRUE=
  motion_p_FALSE='#'
else
  motion_p_TRUE='#'
  motion_p_FALSE=
fi



if test x$motion_b = xyes; then
  motion_b_TRUE=
  motion_b_FALSE='#'
else
  motion_b_TRUE='#'
  motion_b_FALSE=
fi



if test x$motionmmx_p = xyes; then
  motionmmx_p_TRUE=
  motionmmx_p_FALSE='#'
else
  motionmmx_p_TRUE='#'
  motionmmx_p_FALSE=
fi



if test x$motionmmx_b = xyes; then
  motionmmx_b_TRUE=
  motionmmx_b_FALSE='#'
else
  motionmmx_b_TRUE='#'
  motionmmx_b_FALSE=
fi



if test x$motionmmxext_p = xyes; then
  motionmmxext_p_TRUE=
  motionmmxext_p_FALSE='#'
else
  motionmmxext_p_TRUE='#'
  motionmmxext_p_FALSE=
fi



if test x$motionmmxext_b = xyes; then
  motionmmxext_b_TRUE=
  motionmmxext_b_FALSE='#'
else
  motionmmxext_b_TRUE='#'
  motionmmxext_b_FALSE=
fi



if test x$motion3dnow_p = xyes; then
  motion3dnow_p_TRUE=
  motion3dnow_p_FALSE='#'
else
  motion3dnow_p_TRUE='#'
  motion3dnow_p_FALSE=
fi



if test x$motion3dnow_b = xyes; then
  motion3dnow_b_TRUE=
  motion3dnow_b_FALSE='#'
else
  motion3dnow_b_TRUE='#'
  motion3dnow_b_FALSE=
fi





if test x$motionaltivec_p = xyes; then
  motionaltivec_p_TRUE=
  motionaltivec_p_FALSE='#'
else
  motionaltivec_p_TRUE='#'
  motionaltivec_p_FALSE=
fi



if test x$motionaltivec_b = xyes; then
  motionaltivec_b_TRUE=
  motionaltivec_b_FALSE='#'
else
  motionaltivec_b_TRUE='#'
  motionaltivec_b_FALSE=
fi



if test x$spudec_p = xyes; then
  spudec_p_TRUE=
  spudec_p_FALSE='#'
else
  spudec_p_TRUE='#'
  spudec_p_FALSE=
fi



if test x$spudec_b = xyes; then
  spudec_b_TRUE=
  spudec_b_FALSE='#'
else
  spudec_b_TRUE='#'
  spudec_b_FALSE=
fi




if test x$lirc_p = xyes; then
  lirc_p_TRUE=
  lirc_p_FALSE='#'
else
  lirc_p_TRUE='#'
  lirc_p_FALSE=
fi



if test x$lirc_b = xyes; then
  lirc_b_TRUE=
  lirc_b_FALSE='#'
else
  lirc_b_TRUE='#'
  lirc_b_FALSE=
fi



if test x$rc_p = xyes; then
  rc_p_TRUE=
  rc_p_FALSE='#'
else
  rc_p_TRUE='#'
  rc_p_FALSE=
fi



if test x$rc_b = xyes; then
  rc_b_TRUE=
  rc_b_FALSE='#'
else
  rc_b_TRUE='#'
  rc_b_FALSE=
fi



if test x$gestures_p = xyes; then
  gestures_p_TRUE=
  gestures_p_FALSE='#'
else
  gestures_p_TRUE='#'
  gestures_p_FALSE=
fi



if test x$gestures_b = xyes; then
  gestures_b_TRUE=
  gestures_b_FALSE='#'
else
  gestures_b_TRUE='#'
  gestures_b_FALSE=
fi




if test x$http_p = xyes; then
  http_p_TRUE=
  http_p_FALSE='#'
else
  http_p_TRUE='#'
  http_p_FALSE=
fi



if test x$http_b = xyes; then
  http_b_TRUE=
  http_b_FALSE='#'
else
  http_b_TRUE='#'
  http_b_FALSE=
fi



if test x$a52sys_p = xyes; then
  a52sys_p_TRUE=
  a52sys_p_FALSE='#'
else
  a52sys_p_TRUE='#'
  a52sys_p_FALSE=
fi



if test x$a52sys_b = xyes; then
  a52sys_b_TRUE=
  a52sys_b_FALSE='#'
else
  a52sys_b_TRUE='#'
  a52sys_b_FALSE=
fi



if test x$flac_p = xyes; then
  flac_p_TRUE=
  flac_p_FALSE='#'
else
  flac_p_TRUE='#'
  flac_p_FALSE=
fi



if test x$flac_b = xyes; then
  flac_b_TRUE=
  flac_b_FALSE='#'
else
  flac_b_TRUE='#'
  flac_b_FALSE=
fi





if test x$ogg_p = xyes; then
  ogg_p_TRUE=
  ogg_p_FALSE='#'
else
  ogg_p_TRUE='#'
  ogg_p_FALSE=
fi



if test x$ogg_b = xyes; then
  ogg_b_TRUE=
  ogg_b_FALSE='#'
else
  ogg_b_TRUE='#'
  ogg_b_FALSE=
fi



if test x$m3u_p = xyes; then
  m3u_p_TRUE=
  m3u_p_FALSE='#'
else
  m3u_p_TRUE='#'
  m3u_p_FALSE=
fi



if test x$m3u_b = xyes; then
  m3u_b_TRUE=
  m3u_b_FALSE='#'
else
  m3u_b_TRUE='#'
  m3u_b_FALSE=
fi



if test x$demuxdump_p = xyes; then
  demuxdump_p_TRUE=
  demuxdump_p_FALSE='#'
else
  demuxdump_p_TRUE='#'
  demuxdump_p_FALSE=
fi



if test x$demuxdump_b = xyes; then
  demuxdump_b_TRUE=
  demuxdump_b_FALSE='#'
else
  demuxdump_b_TRUE='#'
  demuxdump_b_FALSE=
fi



if test x$rawdv_p = xyes; then
  rawdv_p_TRUE=
  rawdv_p_FALSE='#'
else
  rawdv_p_TRUE='#'
  rawdv_p_FALSE=
fi



if test x$rawdv_b = xyes; then
  rawdv_b_TRUE=
  rawdv_b_FALSE='#'
else
  rawdv_b_TRUE='#'
  rawdv_b_FALSE=
fi



if test x$au_p = xyes; then
  au_p_TRUE=
  au_p_FALSE='#'
else
  au_p_TRUE='#'
  au_p_FALSE=
fi



if test x$au_b = xyes; then
  au_b_TRUE=
  au_b_FALSE='#'
else
  au_b_TRUE='#'
  au_b_FALSE=
fi




if test x$mkv_p = xyes; then
  mkv_p_TRUE=
  mkv_p_FALSE='#'
else
  mkv_p_TRUE='#'
  mkv_p_FALSE=
fi



if test x$mkv_b = xyes; then
  mkv_b_TRUE=
  mkv_b_FALSE='#'
else
  mkv_b_TRUE='#'
  mkv_b_FALSE=
fi



if test x$aac_p = xyes; then
  aac_p_TRUE=
  aac_p_FALSE='#'
else
  aac_p_TRUE='#'
  aac_p_FALSE=
fi



if test x$aac_b = xyes; then
  aac_b_TRUE=
  aac_b_FALSE='#'
else
  aac_b_TRUE='#'
  aac_b_FALSE=
fi



if test x$avi_p = xyes; then
  avi_p_TRUE=
  avi_p_FALSE='#'
else
  avi_p_TRUE='#'
  avi_p_FALSE=
fi



if test x$avi_b = xyes; then
  avi_b_TRUE=
  avi_b_FALSE='#'
else
  avi_b_TRUE='#'
  avi_b_FALSE=
fi



if test x$asf_p = xyes; then
  asf_p_TRUE=
  asf_p_FALSE='#'
else
  asf_p_TRUE='#'
  asf_p_FALSE=
fi



if test x$asf_b = xyes; then
  asf_b_TRUE=
  asf_b_FALSE='#'
else
  asf_b_TRUE='#'
  asf_b_FALSE=
fi




if test x$mp4_p = xyes; then
  mp4_p_TRUE=
  mp4_p_FALSE='#'
else
  mp4_p_TRUE='#'
  mp4_p_FALSE=
fi



if test x$mp4_b = xyes; then
  mp4_b_TRUE=
  mp4_b_FALSE='#'
else
  mp4_b_TRUE='#'
  mp4_b_FALSE=
fi



if test x$mpeg_system_p = xyes; then
  mpeg_system_p_TRUE=
  mpeg_system_p_FALSE='#'
else
  mpeg_system_p_TRUE='#'
  mpeg_system_p_FALSE=
fi



if test x$mpeg_system_b = xyes; then
  mpeg_system_b_TRUE=
  mpeg_system_b_FALSE='#'
else
  mpeg_system_b_TRUE='#'
  mpeg_system_b_FALSE=
fi



if test x$es_p = xyes; then
  es_p_TRUE=
  es_p_FALSE='#'
else
  es_p_TRUE='#'
  es_p_FALSE=
fi



if test x$es_b = xyes; then
  es_b_TRUE=
  es_b_FALSE='#'
else
  es_b_TRUE='#'
  es_b_FALSE=
fi



if test x$m4v_p = xyes; then
  m4v_p_TRUE=
  m4v_p_FALSE='#'
else
  m4v_p_TRUE='#'
  m4v_p_FALSE=
fi



if test x$m4v_b = xyes; then
  m4v_b_TRUE=
  m4v_b_FALSE='#'
else
  m4v_b_TRUE='#'
  m4v_b_FALSE=
fi



if test x$ps_p = xyes; then
  ps_p_TRUE=
  ps_p_FALSE='#'
else
  ps_p_TRUE='#'
  ps_p_FALSE=
fi



if test x$ps_b = xyes; then
  ps_b_TRUE=
  ps_b_FALSE='#'
else
  ps_b_TRUE='#'
  ps_b_FALSE=
fi



if test x$ts_p = xyes; then
  ts_p_TRUE=
  ts_p_FALSE='#'
else
  ts_p_TRUE='#'
  ts_p_FALSE=
fi



if test x$ts_b = xyes; then
  ts_b_TRUE=
  ts_b_FALSE='#'
else
  ts_b_TRUE='#'
  ts_b_FALSE=
fi





if test x$ts_dvbpsi_p = xyes; then
  ts_dvbpsi_p_TRUE=
  ts_dvbpsi_p_FALSE='#'
else
  ts_dvbpsi_p_TRUE='#'
  ts_dvbpsi_p_FALSE=
fi



if test x$ts_dvbpsi_b = xyes; then
  ts_dvbpsi_b_TRUE=
  ts_dvbpsi_b_FALSE='#'
else
  ts_dvbpsi_b_TRUE='#'
  ts_dvbpsi_b_FALSE=
fi



if test x$audio_p = xyes; then
  audio_p_TRUE=
  audio_p_FALSE='#'
else
  audio_p_TRUE='#'
  audio_p_FALSE=
fi



if test x$audio_b = xyes; then
  audio_b_TRUE=
  audio_b_FALSE='#'
else
  audio_b_TRUE='#'
  audio_b_FALSE=
fi



if test x$id3_p = xyes; then
  id3_p_TRUE=
  id3_p_FALSE='#'
else
  id3_p_TRUE='#'
  id3_p_FALSE=
fi



if test x$id3_b = xyes; then
  id3_b_TRUE=
  id3_b_FALSE='#'
else
  id3_b_TRUE='#'
  id3_b_FALSE=
fi




if test x$id3tag_p = xyes; then
  id3tag_p_TRUE=
  id3tag_p_FALSE='#'
else
  id3tag_p_TRUE='#'
  id3tag_p_FALSE=
fi



if test x$id3tag_b = xyes; then
  id3tag_b_TRUE=
  id3tag_b_FALSE='#'
else
  id3tag_b_TRUE='#'
  id3tag_b_FALSE=
fi



if test x$demuxsub_p = xyes; then
  demuxsub_p_TRUE=
  demuxsub_p_FALSE='#'
else
  demuxsub_p_TRUE='#'
  demuxsub_p_FALSE=
fi



if test x$demuxsub_b = xyes; then
  demuxsub_b_TRUE=
  demuxsub_b_FALSE='#'
else
  demuxsub_b_TRUE='#'
  demuxsub_b_FALSE=
fi



if test x$wav_p = xyes; then
  wav_p_TRUE=
  wav_p_FALSE='#'
else
  wav_p_TRUE='#'
  wav_p_FALSE=
fi



if test x$wav_b = xyes; then
  wav_b_TRUE=
  wav_b_FALSE='#'
else
  wav_b_TRUE='#'
  wav_b_FALSE=
fi





if test x$encoder_xvid_p = xyes; then
  encoder_xvid_p_TRUE=
  encoder_xvid_p_FALSE='#'
else
  encoder_xvid_p_TRUE='#'
  encoder_xvid_p_FALSE=
fi



if test x$encoder_xvid_b = xyes; then
  encoder_xvid_b_TRUE=
  encoder_xvid_b_FALSE='#'
else
  encoder_xvid_b_TRUE='#'
  encoder_xvid_b_FALSE=
fi





if test x$encoder_ffmpeg_p = xyes; then
  encoder_ffmpeg_p_TRUE=
  encoder_ffmpeg_p_FALSE='#'
else
  encoder_ffmpeg_p_TRUE='#'
  encoder_ffmpeg_p_FALSE=
fi



if test x$encoder_ffmpeg_b = xyes; then
  encoder_ffmpeg_b_TRUE=
  encoder_ffmpeg_b_FALSE='#'
else
  encoder_ffmpeg_b_TRUE='#'
  encoder_ffmpeg_b_FALSE=
fi




if test x$beos_p = xyes; then
  beos_p_TRUE=
  beos_p_FALSE='#'
else
  beos_p_TRUE='#'
  beos_p_FALSE=
fi



if test x$beos_b = xyes; then
  beos_b_TRUE=
  beos_b_FALSE='#'
else
  beos_b_TRUE='#'
  beos_b_FALSE=
fi





if test x$familiar_p = xyes; then
  familiar_p_TRUE=
  familiar_p_FALSE='#'
else
  familiar_p_TRUE='#'
  familiar_p_FALSE=
fi



if test x$familiar_b = xyes; then
  familiar_b_TRUE=
  familiar_b_FALSE='#'
else
  familiar_b_TRUE='#'
  familiar_b_FALSE=
fi





if test x$gtk_p = xyes; then
  gtk_p_TRUE=
  gtk_p_FALSE='#'
else
  gtk_p_TRUE='#'
  gtk_p_FALSE=
fi



if test x$gtk_b = xyes; then
  gtk_b_TRUE=
  gtk_b_FALSE='#'
else
  gtk_b_TRUE='#'
  gtk_b_FALSE=
fi





if test x$gnome_p = xyes; then
  gnome_p_TRUE=
  gnome_p_FALSE='#'
else
  gnome_p_TRUE='#'
  gnome_p_FALSE=
fi



if test x$gnome_b = xyes; then
  gnome_b_TRUE=
  gnome_b_FALSE='#'
else
  gnome_b_TRUE='#'
  gnome_b_FALSE=
fi





if test x$gtk2_p = xyes; then
  gtk2_p_TRUE=
  gtk2_p_FALSE='#'
else
  gtk2_p_TRUE='#'
  gtk2_p_FALSE=
fi



if test x$gtk2_b = xyes; then
  gtk2_b_TRUE=
  gtk2_b_FALSE='#'
else
  gtk2_b_TRUE='#'
  gtk2_b_FALSE=
fi





if test x$gnome2_p = xyes; then
  gnome2_p_TRUE=
  gnome2_p_FALSE='#'
else
  gnome2_p_TRUE='#'
  gnome2_p_FALSE=
fi



if test x$gnome2_b = xyes; then
  gnome2_b_TRUE=
  gnome2_b_FALSE='#'
else
  gnome2_b_TRUE='#'
  gnome2_b_FALSE=
fi





if test x$kde_p = xyes; then
  kde_p_TRUE=
  kde_p_FALSE='#'
else
  kde_p_TRUE='#'
  kde_p_FALSE=
fi



if test x$kde_b = xyes; then
  kde_b_TRUE=
  kde_b_FALSE='#'
else
  kde_b_TRUE='#'
  kde_b_FALSE=
fi




if test x$macosx_p = xyes; then
  macosx_p_TRUE=
  macosx_p_FALSE='#'
else
  macosx_p_TRUE='#'
  macosx_p_FALSE=
fi



if test x$macosx_b = xyes; then
  macosx_b_TRUE=
  macosx_b_FALSE='#'
else
  macosx_b_TRUE='#'
  macosx_b_FALSE=
fi




if test x$ncurses_p = xyes; then
  ncurses_p_TRUE=
  ncurses_p_FALSE='#'
else
  ncurses_p_TRUE='#'
  ncurses_p_FALSE=
fi



if test x$ncurses_b = xyes; then
  ncurses_b_TRUE=
  ncurses_b_FALSE='#'
else
  ncurses_b_TRUE='#'
  ncurses_b_FALSE=
fi




if test x$qnx_p = xyes; then
  qnx_p_TRUE=
  qnx_p_FALSE='#'
else
  qnx_p_TRUE='#'
  qnx_p_FALSE=
fi



if test x$qnx_b = xyes; then
  qnx_b_TRUE=
  qnx_b_FALSE='#'
else
  qnx_b_TRUE='#'
  qnx_b_FALSE=
fi





if test x$qt_p = xyes; then
  qt_p_TRUE=
  qt_p_FALSE='#'
else
  qt_p_TRUE='#'
  qt_p_FALSE=
fi



if test x$qt_b = xyes; then
  qt_b_TRUE=
  qt_b_FALSE='#'
else
  qt_b_TRUE='#'
  qt_b_FALSE=
fi





if test x$skins_p = xyes; then
  skins_p_TRUE=
  skins_p_FALSE='#'
else
  skins_p_TRUE='#'
  skins_p_FALSE=
fi



if test x$skins_b = xyes; then
  skins_b_TRUE=
  skins_b_FALSE='#'
else
  skins_b_TRUE='#'
  skins_b_FALSE=
fi





if test x$basic_skins_p = xyes; then
  basic_skins_p_TRUE=
  basic_skins_p_FALSE='#'
else
  basic_skins_p_TRUE='#'
  basic_skins_p_FALSE=
fi



if test x$basic_skins_b = xyes; then
  basic_skins_b_TRUE=
  basic_skins_b_FALSE='#'
else
  basic_skins_b_TRUE='#'
  basic_skins_b_FALSE=
fi



if test x$win32_p = xyes; then
  win32_p_TRUE=
  win32_p_FALSE='#'
else
  win32_p_TRUE='#'
  win32_p_FALSE=
fi



if test x$win32_b = xyes; then
  win32_b_TRUE=
  win32_b_FALSE='#'
else
  win32_b_TRUE='#'
  win32_b_FALSE=
fi





if test x$wxwindows_p = xyes; then
  wxwindows_p_TRUE=
  wxwindows_p_FALSE='#'
else
  wxwindows_p_TRUE='#'
  wxwindows_p_FALSE=
fi



if test x$wxwindows_b = xyes; then
  wxwindows_b_TRUE=
  wxwindows_b_FALSE='#'
else
  wxwindows_b_TRUE='#'
  wxwindows_b_FALSE=
fi





if test x$gtk_main_p = xyes; then
  gtk_main_p_TRUE=
  gtk_main_p_FALSE='#'
else
  gtk_main_p_TRUE='#'
  gtk_main_p_FALSE=
fi



if test x$gtk_main_b = xyes; then
  gtk_main_b_TRUE=
  gtk_main_b_FALSE='#'
else
  gtk_main_b_TRUE='#'
  gtk_main_b_FALSE=
fi





if test x$gnome_main_p = xyes; then
  gnome_main_p_TRUE=
  gnome_main_p_FALSE='#'
else
  gnome_main_p_TRUE='#'
  gnome_main_p_FALSE=
fi



if test x$gnome_main_b = xyes; then
  gnome_main_b_TRUE=
  gnome_main_b_FALSE='#'
else
  gnome_main_b_TRUE='#'
  gnome_main_b_FALSE=
fi





if test x$gtk2_main_p = xyes; then
  gtk2_main_p_TRUE=
  gtk2_main_p_FALSE='#'
else
  gtk2_main_p_TRUE='#'
  gtk2_main_p_FALSE=
fi



if test x$gtk2_main_b = xyes; then
  gtk2_main_b_TRUE=
  gtk2_main_b_FALSE='#'
else
  gtk2_main_b_TRUE='#'
  gtk2_main_b_FALSE=
fi





if test x$gnome2_main_p = xyes; then
  gnome2_main_p_TRUE=
  gnome2_main_p_FALSE='#'
else
  gnome2_main_p_TRUE='#'
  gnome2_main_p_FALSE=
fi



if test x$gnome2_main_b = xyes; then
  gnome2_main_b_TRUE=
  gnome2_main_b_FALSE='#'
else
  gnome2_main_b_TRUE='#'
  gnome2_main_b_FALSE=
fi




if test x$sap_p = xyes; then
  sap_p_TRUE=
  sap_p_FALSE='#'
else
  sap_p_TRUE='#'
  sap_p_FALSE=
fi



if test x$sap_b = xyes; then
  sap_b_TRUE=
  sap_b_FALSE='#'
else
  sap_b_TRUE='#'
  sap_b_FALSE=
fi



if test x$screensaver_p = xyes; then
  screensaver_p_TRUE=
  screensaver_p_FALSE='#'
else
  screensaver_p_TRUE='#'
  screensaver_p_FALSE=
fi



if test x$screensaver_b = xyes; then
  screensaver_b_TRUE=
  screensaver_b_FALSE='#'
else
  screensaver_b_TRUE='#'
  screensaver_b_FALSE=
fi





if test x$qte_main_p = xyes; then
  qte_main_p_TRUE=
  qte_main_p_FALSE='#'
else
  qte_main_p_TRUE='#'
  qte_main_p_FALSE=
fi



if test x$qte_main_b = xyes; then
  qte_main_b_TRUE=
  qte_main_b_FALSE='#'
else
  qte_main_b_TRUE='#'
  qte_main_b_FALSE=
fi




if test x$httpd_p = xyes; then
  httpd_p_TRUE=
  httpd_p_FALSE='#'
else
  httpd_p_TRUE='#'
  httpd_p_FALSE=
fi



if test x$httpd_b = xyes; then
  httpd_b_TRUE=
  httpd_b_FALSE='#'
else
  httpd_b_TRUE='#'
  httpd_b_FALSE=
fi



if test x$dummy_p = xyes; then
  dummy_p_TRUE=
  dummy_p_FALSE='#'
else
  dummy_p_TRUE='#'
  dummy_p_FALSE=
fi



if test x$dummy_b = xyes; then
  dummy_b_TRUE=
  dummy_b_FALSE='#'
else
  dummy_b_TRUE='#'
  dummy_b_FALSE=
fi



if test x$logger_p = xyes; then
  logger_p_TRUE=
  logger_p_FALSE='#'
else
  logger_p_TRUE='#'
  logger_p_FALSE=
fi



if test x$logger_b = xyes; then
  logger_b_TRUE=
  logger_b_FALSE='#'
else
  logger_b_TRUE='#'
  logger_b_FALSE=
fi



if test x$memcpy_p = xyes; then
  memcpy_p_TRUE=
  memcpy_p_FALSE='#'
else
  memcpy_p_TRUE='#'
  memcpy_p_FALSE=
fi



if test x$memcpy_b = xyes; then
  memcpy_b_TRUE=
  memcpy_b_FALSE='#'
else
  memcpy_b_TRUE='#'
  memcpy_b_FALSE=
fi



if test x$memcpymmx_p = xyes; then
  memcpymmx_p_TRUE=
  memcpymmx_p_FALSE='#'
else
  memcpymmx_p_TRUE='#'
  memcpymmx_p_FALSE=
fi



if test x$memcpymmx_b = xyes; then
  memcpymmx_b_TRUE=
  memcpymmx_b_FALSE='#'
else
  memcpymmx_b_TRUE='#'
  memcpymmx_b_FALSE=
fi



if test x$memcpymmxext_p = xyes; then
  memcpymmxext_p_TRUE=
  memcpymmxext_p_FALSE='#'
else
  memcpymmxext_p_TRUE='#'
  memcpymmxext_p_FALSE=
fi



if test x$memcpymmxext_b = xyes; then
  memcpymmxext_b_TRUE=
  memcpymmxext_b_FALSE='#'
else
  memcpymmxext_b_TRUE='#'
  memcpymmxext_b_FALSE=
fi



if test x$memcpy3dn_p = xyes; then
  memcpy3dn_p_TRUE=
  memcpy3dn_p_FALSE='#'
else
  memcpy3dn_p_TRUE='#'
  memcpy3dn_p_FALSE=
fi



if test x$memcpy3dn_b = xyes; then
  memcpy3dn_b_TRUE=
  memcpy3dn_b_FALSE='#'
else
  memcpy3dn_b_TRUE='#'
  memcpy3dn_b_FALSE=
fi





if test x$memcpyaltivec_p = xyes; then
  memcpyaltivec_p_TRUE=
  memcpyaltivec_p_FALSE='#'
else
  memcpyaltivec_p_TRUE='#'
  memcpyaltivec_p_FALSE=
fi



if test x$memcpyaltivec_b = xyes; then
  memcpyaltivec_b_TRUE=
  memcpyaltivec_b_FALSE='#'
else
  memcpyaltivec_b_TRUE='#'
  memcpyaltivec_b_FALSE=
fi




if test x$ipv4_p = xyes; then
  ipv4_p_TRUE=
  ipv4_p_FALSE='#'
else
  ipv4_p_TRUE='#'
  ipv4_p_FALSE=
fi



if test x$ipv4_b = xyes; then
  ipv4_b_TRUE=
  ipv4_b_FALSE='#'
else
  ipv4_b_TRUE='#'
  ipv4_b_FALSE=
fi




if test x$ipv6_p = xyes; then
  ipv6_p_TRUE=
  ipv6_p_FALSE='#'
else
  ipv6_p_TRUE='#'
  ipv6_p_FALSE=
fi



if test x$ipv6_b = xyes; then
  ipv6_b_TRUE=
  ipv6_b_FALSE='#'
else
  ipv6_b_TRUE='#'
  ipv6_b_FALSE=
fi



if test x$test1_p = xyes; then
  test1_p_TRUE=
  test1_p_FALSE='#'
else
  test1_p_TRUE='#'
  test1_p_FALSE=
fi



if test x$test1_b = xyes; then
  test1_b_TRUE=
  test1_b_FALSE='#'
else
  test1_b_TRUE='#'
  test1_b_FALSE=
fi




if test x$test2_p = xyes; then
  test2_p_TRUE=
  test2_p_FALSE='#'
else
  test2_p_TRUE='#'
  test2_p_FALSE=
fi



if test x$test2_b = xyes; then
  test2_b_TRUE=
  test2_b_FALSE='#'
else
  test2_b_TRUE='#'
  test2_b_FALSE=
fi





if test x$test3_p = xyes; then
  test3_p_TRUE=
  test3_p_FALSE='#'
else
  test3_p_TRUE='#'
  test3_p_FALSE=
fi



if test x$test3_b = xyes; then
  test3_b_TRUE=
  test3_b_FALSE='#'
else
  test3_b_TRUE='#'
  test3_b_FALSE=
fi



if test x$test4_p = xyes; then
  test4_p_TRUE=
  test4_p_FALSE='#'
else
  test4_p_TRUE='#'
  test4_p_FALSE=
fi



if test x$test4_b = xyes; then
  test4_b_TRUE=
  test4_b_FALSE='#'
else
  test4_b_TRUE='#'
  test4_b_FALSE=
fi



if test x$mux_dummy_p = xyes; then
  mux_dummy_p_TRUE=
  mux_dummy_p_FALSE='#'
else
  mux_dummy_p_TRUE='#'
  mux_dummy_p_FALSE=
fi



if test x$mux_dummy_b = xyes; then
  mux_dummy_b_TRUE=
  mux_dummy_b_FALSE='#'
else
  mux_dummy_b_TRUE='#'
  mux_dummy_b_FALSE=
fi



if test x$mux_avi_p = xyes; then
  mux_avi_p_TRUE=
  mux_avi_p_FALSE='#'
else
  mux_avi_p_TRUE='#'
  mux_avi_p_FALSE=
fi



if test x$mux_avi_b = xyes; then
  mux_avi_b_TRUE=
  mux_avi_b_FALSE='#'
else
  mux_avi_b_TRUE='#'
  mux_avi_b_FALSE=
fi




if test x$mux_ogg_p = xyes; then
  mux_ogg_p_TRUE=
  mux_ogg_p_FALSE='#'
else
  mux_ogg_p_TRUE='#'
  mux_ogg_p_FALSE=
fi



if test x$mux_ogg_b = xyes; then
  mux_ogg_b_TRUE=
  mux_ogg_b_FALSE='#'
else
  mux_ogg_b_TRUE='#'
  mux_ogg_b_FALSE=
fi



if test x$mux_ps_p = xyes; then
  mux_ps_p_TRUE=
  mux_ps_p_FALSE='#'
else
  mux_ps_p_TRUE='#'
  mux_ps_p_FALSE=
fi



if test x$mux_ps_b = xyes; then
  mux_ps_b_TRUE=
  mux_ps_b_FALSE='#'
else
  mux_ps_b_TRUE='#'
  mux_ps_b_FALSE=
fi



if test x$mux_ts_p = xyes; then
  mux_ts_p_TRUE=
  mux_ts_p_FALSE='#'
else
  mux_ts_p_TRUE='#'
  mux_ts_p_FALSE=
fi



if test x$mux_ts_b = xyes; then
  mux_ts_b_TRUE=
  mux_ts_b_FALSE='#'
else
  mux_ts_b_TRUE='#'
  mux_ts_b_FALSE=
fi





if test x$mux_ts_dvbpsi_p = xyes; then
  mux_ts_dvbpsi_p_TRUE=
  mux_ts_dvbpsi_p_FALSE='#'
else
  mux_ts_dvbpsi_p_TRUE='#'
  mux_ts_dvbpsi_p_FALSE=
fi



if test x$mux_ts_dvbpsi_b = xyes; then
  mux_ts_dvbpsi_b_TRUE=
  mux_ts_dvbpsi_b_FALSE='#'
else
  mux_ts_dvbpsi_b_TRUE='#'
  mux_ts_dvbpsi_b_FALSE=
fi



if test x$packetizer_copy_p = xyes; then
  packetizer_copy_p_TRUE=
  packetizer_copy_p_FALSE='#'
else
  packetizer_copy_p_TRUE='#'
  packetizer_copy_p_FALSE=
fi



if test x$packetizer_copy_b = xyes; then
  packetizer_copy_b_TRUE=
  packetizer_copy_b_FALSE='#'
else
  packetizer_copy_b_TRUE='#'
  packetizer_copy_b_FALSE=
fi



if test x$packetizer_a52_p = xyes; then
  packetizer_a52_p_TRUE=
  packetizer_a52_p_FALSE='#'
else
  packetizer_a52_p_TRUE='#'
  packetizer_a52_p_FALSE=
fi



if test x$packetizer_a52_b = xyes; then
  packetizer_a52_b_TRUE=
  packetizer_a52_b_FALSE='#'
else
  packetizer_a52_b_TRUE='#'
  packetizer_a52_b_FALSE=
fi



if test x$packetizer_mpegaudio_p = xyes; then
  packetizer_mpegaudio_p_TRUE=
  packetizer_mpegaudio_p_FALSE='#'
else
  packetizer_mpegaudio_p_TRUE='#'
  packetizer_mpegaudio_p_FALSE=
fi



if test x$packetizer_mpegaudio_b = xyes; then
  packetizer_mpegaudio_b_TRUE=
  packetizer_mpegaudio_b_FALSE='#'
else
  packetizer_mpegaudio_b_TRUE='#'
  packetizer_mpegaudio_b_FALSE=
fi



if test x$packetizer_mpegvideo_p = xyes; then
  packetizer_mpegvideo_p_TRUE=
  packetizer_mpegvideo_p_FALSE='#'
else
  packetizer_mpegvideo_p_TRUE='#'
  packetizer_mpegvideo_p_FALSE=
fi



if test x$packetizer_mpegvideo_b = xyes; then
  packetizer_mpegvideo_b_TRUE=
  packetizer_mpegvideo_b_FALSE='#'
else
  packetizer_mpegvideo_b_TRUE='#'
  packetizer_mpegvideo_b_FALSE=
fi



if test x$packetizer_mpeg4video_p = xyes; then
  packetizer_mpeg4video_p_TRUE=
  packetizer_mpeg4video_p_FALSE='#'
else
  packetizer_mpeg4video_p_TRUE='#'
  packetizer_mpeg4video_p_FALSE=
fi



if test x$packetizer_mpeg4video_b = xyes; then
  packetizer_mpeg4video_b_TRUE=
  packetizer_mpeg4video_b_FALSE='#'
else
  packetizer_mpeg4video_b_TRUE='#'
  packetizer_mpeg4video_b_FALSE=
fi



if test x$packetizer_mpeg4audio_p = xyes; then
  packetizer_mpeg4audio_p_TRUE=
  packetizer_mpeg4audio_p_FALSE='#'
else
  packetizer_mpeg4audio_p_TRUE='#'
  packetizer_mpeg4audio_p_FALSE=
fi



if test x$packetizer_mpeg4audio_b = xyes; then
  packetizer_mpeg4audio_b_TRUE=
  packetizer_mpeg4audio_b_FALSE='#'
else
  packetizer_mpeg4audio_b_TRUE='#'
  packetizer_mpeg4audio_b_FALSE=
fi



if test x$stream_out_dummy_p = xyes; then
  stream_out_dummy_p_TRUE=
  stream_out_dummy_p_FALSE='#'
else
  stream_out_dummy_p_TRUE='#'
  stream_out_dummy_p_FALSE=
fi



if test x$stream_out_dummy_b = xyes; then
  stream_out_dummy_b_TRUE=
  stream_out_dummy_b_FALSE='#'
else
  stream_out_dummy_b_TRUE='#'
  stream_out_dummy_b_FALSE=
fi



if test x$stream_out_standard_p = xyes; then
  stream_out_standard_p_TRUE=
  stream_out_standard_p_FALSE='#'
else
  stream_out_standard_p_TRUE='#'
  stream_out_standard_p_FALSE=
fi



if test x$stream_out_standard_b = xyes; then
  stream_out_standard_b_TRUE=
  stream_out_standard_b_FALSE='#'
else
  stream_out_standard_b_TRUE='#'
  stream_out_standard_b_FALSE=
fi





if test x$stream_out_transcode_p = xyes; then
  stream_out_transcode_p_TRUE=
  stream_out_transcode_p_FALSE='#'
else
  stream_out_transcode_p_TRUE='#'
  stream_out_transcode_p_FALSE=
fi



if test x$stream_out_transcode_b = xyes; then
  stream_out_transcode_b_TRUE=
  stream_out_transcode_b_FALSE='#'
else
  stream_out_transcode_b_TRUE='#'
  stream_out_transcode_b_FALSE=
fi



if test x$stream_out_duplicate_p = xyes; then
  stream_out_duplicate_p_TRUE=
  stream_out_duplicate_p_FALSE='#'
else
  stream_out_duplicate_p_TRUE='#'
  stream_out_duplicate_p_FALSE=
fi



if test x$stream_out_duplicate_b = xyes; then
  stream_out_duplicate_b_TRUE=
  stream_out_duplicate_b_FALSE='#'
else
  stream_out_duplicate_b_TRUE='#'
  stream_out_duplicate_b_FALSE=
fi



if test x$stream_out_es_p = xyes; then
  stream_out_es_p_TRUE=
  stream_out_es_p_FALSE='#'
else
  stream_out_es_p_TRUE='#'
  stream_out_es_p_FALSE=
fi



if test x$stream_out_es_b = xyes; then
  stream_out_es_b_TRUE=
  stream_out_es_b_FALSE='#'
else
  stream_out_es_b_TRUE='#'
  stream_out_es_b_FALSE=
fi



if test x$stream_out_display_p = xyes; then
  stream_out_display_p_TRUE=
  stream_out_display_p_FALSE='#'
else
  stream_out_display_p_TRUE='#'
  stream_out_display_p_FALSE=
fi



if test x$stream_out_display_b = xyes; then
  stream_out_display_b_TRUE=
  stream_out_display_b_FALSE='#'
else
  stream_out_display_b_TRUE='#'
  stream_out_display_b_FALSE=
fi




if test x$i420_rgb_p = xyes; then
  i420_rgb_p_TRUE=
  i420_rgb_p_FALSE='#'
else
  i420_rgb_p_TRUE='#'
  i420_rgb_p_FALSE=
fi



if test x$i420_rgb_b = xyes; then
  i420_rgb_b_TRUE=
  i420_rgb_b_FALSE='#'
else
  i420_rgb_b_TRUE='#'
  i420_rgb_b_FALSE=
fi



if test x$i420_rgb_mmx_p = xyes; then
  i420_rgb_mmx_p_TRUE=
  i420_rgb_mmx_p_FALSE='#'
else
  i420_rgb_mmx_p_TRUE='#'
  i420_rgb_mmx_p_FALSE=
fi



if test x$i420_rgb_mmx_b = xyes; then
  i420_rgb_mmx_b_TRUE=
  i420_rgb_mmx_b_FALSE='#'
else
  i420_rgb_mmx_b_TRUE='#'
  i420_rgb_mmx_b_FALSE=
fi



if test x$i420_yuy2_p = xyes; then
  i420_yuy2_p_TRUE=
  i420_yuy2_p_FALSE='#'
else
  i420_yuy2_p_TRUE='#'
  i420_yuy2_p_FALSE=
fi



if test x$i420_yuy2_b = xyes; then
  i420_yuy2_b_TRUE=
  i420_yuy2_b_FALSE='#'
else
  i420_yuy2_b_TRUE='#'
  i420_yuy2_b_FALSE=
fi




if test x$i420_yuy2_mmx_p = xyes; then
  i420_yuy2_mmx_p_TRUE=
  i420_yuy2_mmx_p_FALSE='#'
else
  i420_yuy2_mmx_p_TRUE='#'
  i420_yuy2_mmx_p_FALSE=
fi



if test x$i420_yuy2_mmx_b = xyes; then
  i420_yuy2_mmx_b_TRUE=
  i420_yuy2_mmx_b_FALSE='#'
else
  i420_yuy2_mmx_b_TRUE='#'
  i420_yuy2_mmx_b_FALSE=
fi



if test x$i422_yuy2_p = xyes; then
  i422_yuy2_p_TRUE=
  i422_yuy2_p_FALSE='#'
else
  i422_yuy2_p_TRUE='#'
  i422_yuy2_p_FALSE=
fi



if test x$i422_yuy2_b = xyes; then
  i422_yuy2_b_TRUE=
  i422_yuy2_b_FALSE='#'
else
  i422_yuy2_b_TRUE='#'
  i422_yuy2_b_FALSE=
fi



if test x$i422_yuy2_mmx_p = xyes; then
  i422_yuy2_mmx_p_TRUE=
  i422_yuy2_mmx_p_FALSE='#'
else
  i422_yuy2_mmx_p_TRUE='#'
  i422_yuy2_mmx_p_FALSE=
fi



if test x$i422_yuy2_mmx_b = xyes; then
  i422_yuy2_mmx_b_TRUE=
  i422_yuy2_mmx_b_FALSE='#'
else
  i422_yuy2_mmx_b_TRUE='#'
  i422_yuy2_mmx_b_FALSE=
fi



if test x$i420_ymga_p = xyes; then
  i420_ymga_p_TRUE=
  i420_ymga_p_FALSE='#'
else
  i420_ymga_p_TRUE='#'
  i420_ymga_p_FALSE=
fi



if test x$i420_ymga_b = xyes; then
  i420_ymga_b_TRUE=
  i420_ymga_b_FALSE='#'
else
  i420_ymga_b_TRUE='#'
  i420_ymga_b_FALSE=
fi



if test x$i420_ymga_mmx_p = xyes; then
  i420_ymga_mmx_p_TRUE=
  i420_ymga_mmx_p_FALSE='#'
else
  i420_ymga_mmx_p_TRUE='#'
  i420_ymga_mmx_p_FALSE=
fi



if test x$i420_ymga_mmx_b = xyes; then
  i420_ymga_mmx_b_TRUE=
  i420_ymga_mmx_b_FALSE='#'
else
  i420_ymga_mmx_b_TRUE='#'
  i420_ymga_mmx_b_FALSE=
fi



if test x$transform_p = xyes; then
  transform_p_TRUE=
  transform_p_FALSE='#'
else
  transform_p_TRUE='#'
  transform_p_FALSE=
fi



if test x$transform_b = xyes; then
  transform_b_TRUE=
  transform_b_FALSE='#'
else
  transform_b_TRUE='#'
  transform_b_FALSE=
fi



if test x$invert_p = xyes; then
  invert_p_TRUE=
  invert_p_FALSE='#'
else
  invert_p_TRUE='#'
  invert_p_FALSE=
fi



if test x$invert_b = xyes; then
  invert_b_TRUE=
  invert_b_FALSE='#'
else
  invert_b_TRUE='#'
  invert_b_FALSE=
fi




if test x$adjust_p = xyes; then
  adjust_p_TRUE=
  adjust_p_FALSE='#'
else
  adjust_p_TRUE='#'
  adjust_p_FALSE=
fi



if test x$adjust_b = xyes; then
  adjust_b_TRUE=
  adjust_b_FALSE='#'
else
  adjust_b_TRUE='#'
  adjust_b_FALSE=
fi




if test x$distort_p = xyes; then
  distort_p_TRUE=
  distort_p_FALSE='#'
else
  distort_p_TRUE='#'
  distort_p_FALSE=
fi



if test x$distort_b = xyes; then
  distort_b_TRUE=
  distort_b_FALSE='#'
else
  distort_b_TRUE='#'
  distort_b_FALSE=
fi



if test x$wall_p = xyes; then
  wall_p_TRUE=
  wall_p_FALSE='#'
else
  wall_p_TRUE='#'
  wall_p_FALSE=
fi



if test x$wall_b = xyes; then
  wall_b_TRUE=
  wall_b_FALSE='#'
else
  wall_b_TRUE='#'
  wall_b_FALSE=
fi



if test x$clone_p = xyes; then
  clone_p_TRUE=
  clone_p_FALSE='#'
else
  clone_p_TRUE='#'
  clone_p_FALSE=
fi



if test x$clone_b = xyes; then
  clone_b_TRUE=
  clone_b_FALSE='#'
else
  clone_b_TRUE='#'
  clone_b_FALSE=
fi



if test x$crop_p = xyes; then
  crop_p_TRUE=
  crop_p_FALSE='#'
else
  crop_p_TRUE='#'
  crop_p_FALSE=
fi



if test x$crop_b = xyes; then
  crop_b_TRUE=
  crop_b_FALSE='#'
else
  crop_b_TRUE='#'
  crop_b_FALSE=
fi



if test x$motionblur_p = xyes; then
  motionblur_p_TRUE=
  motionblur_p_FALSE='#'
else
  motionblur_p_TRUE='#'
  motionblur_p_FALSE=
fi



if test x$motionblur_b = xyes; then
  motionblur_b_TRUE=
  motionblur_b_FALSE='#'
else
  motionblur_b_TRUE='#'
  motionblur_b_FALSE=
fi





if test x$osdtext_p = xyes; then
  osdtext_p_TRUE=
  osdtext_p_FALSE='#'
else
  osdtext_p_TRUE='#'
  osdtext_p_FALSE=
fi



if test x$osdtext_b = xyes; then
  osdtext_b_TRUE=
  osdtext_b_FALSE='#'
else
  osdtext_b_TRUE='#'
  osdtext_b_FALSE=
fi



if test x$deinterlace_p = xyes; then
  deinterlace_p_TRUE=
  deinterlace_p_FALSE='#'
else
  deinterlace_p_TRUE='#'
  deinterlace_p_FALSE=
fi



if test x$deinterlace_b = xyes; then
  deinterlace_b_TRUE=
  deinterlace_b_FALSE='#'
else
  deinterlace_b_TRUE='#'
  deinterlace_b_FALSE=
fi




if test x$aa_p = xyes; then
  aa_p_TRUE=
  aa_p_FALSE='#'
else
  aa_p_TRUE='#'
  aa_p_FALSE=
fi



if test x$aa_b = xyes; then
  aa_b_TRUE=
  aa_b_FALSE='#'
else
  aa_b_TRUE='#'
  aa_b_FALSE=
fi



if test x$fb_p = xyes; then
  fb_p_TRUE=
  fb_p_FALSE='#'
else
  fb_p_TRUE='#'
  fb_p_FALSE=
fi



if test x$fb_b = xyes; then
  fb_b_TRUE=
  fb_b_FALSE='#'
else
  fb_b_TRUE='#'
  fb_b_FALSE=
fi





if test x$ggi_p = xyes; then
  ggi_p_TRUE=
  ggi_p_FALSE='#'
else
  ggi_p_TRUE='#'
  ggi_p_FALSE=
fi



if test x$ggi_b = xyes; then
  ggi_b_TRUE=
  ggi_b_FALSE='#'
else
  ggi_b_TRUE='#'
  ggi_b_FALSE=
fi





if test x$glide_p = xyes; then
  glide_p_TRUE=
  glide_p_FALSE='#'
else
  glide_p_TRUE='#'
  glide_p_FALSE=
fi



if test x$glide_b = xyes; then
  glide_b_TRUE=
  glide_b_FALSE='#'
else
  glide_b_TRUE='#'
  glide_b_FALSE=
fi





if test x$vout_sdl_p = xyes; then
  vout_sdl_p_TRUE=
  vout_sdl_p_FALSE='#'
else
  vout_sdl_p_TRUE='#'
  vout_sdl_p_FALSE=
fi



if test x$vout_sdl_b = xyes; then
  vout_sdl_b_TRUE=
  vout_sdl_b_FALSE='#'
else
  vout_sdl_b_TRUE='#'
  vout_sdl_b_FALSE=
fi




if test x$svgalib_p = xyes; then
  svgalib_p_TRUE=
  svgalib_p_FALSE='#'
else
  svgalib_p_TRUE='#'
  svgalib_p_FALSE=
fi



if test x$svgalib_b = xyes; then
  svgalib_b_TRUE=
  svgalib_b_FALSE='#'
else
  svgalib_b_TRUE='#'
  svgalib_b_FALSE=
fi




if test x$wingdi_p = xyes; then
  wingdi_p_TRUE=
  wingdi_p_FALSE='#'
else
  wingdi_p_TRUE='#'
  wingdi_p_FALSE=
fi



if test x$wingdi_b = xyes; then
  wingdi_b_TRUE=
  wingdi_b_FALSE='#'
else
  wingdi_b_TRUE='#'
  wingdi_b_FALSE=
fi



if test x$vout_encoder_p = xyes; then
  vout_encoder_p_TRUE=
  vout_encoder_p_FALSE='#'
else
  vout_encoder_p_TRUE='#'
  vout_encoder_p_FALSE=
fi



if test x$vout_encoder_b = xyes; then
  vout_encoder_b_TRUE=
  vout_encoder_b_FALSE='#'
else
  vout_encoder_b_TRUE='#'
  vout_encoder_b_FALSE=
fi





if test x$vout_directx_p = xyes; then
  vout_directx_p_TRUE=
  vout_directx_p_FALSE='#'
else
  vout_directx_p_TRUE='#'
  vout_directx_p_FALSE=
fi



if test x$vout_directx_b = xyes; then
  vout_directx_b_TRUE=
  vout_directx_b_FALSE='#'
else
  vout_directx_b_TRUE='#'
  vout_directx_b_FALSE=
fi



if test x$mga_p = xyes; then
  mga_p_TRUE=
  mga_p_FALSE='#'
else
  mga_p_TRUE='#'
  mga_p_FALSE=
fi



if test x$mga_b = xyes; then
  mga_b_TRUE=
  mga_b_FALSE='#'
else
  mga_b_TRUE='#'
  mga_b_FALSE=
fi



if test x$xmga_p = xyes; then
  xmga_p_TRUE=
  xmga_p_FALSE='#'
else
  xmga_p_TRUE='#'
  xmga_p_FALSE=
fi



if test x$xmga_b = xyes; then
  xmga_b_TRUE=
  xmga_b_FALSE='#'
else
  xmga_b_TRUE='#'
  xmga_b_FALSE=
fi





if test x$qte_p = xyes; then
  qte_p_TRUE=
  qte_p_FALSE='#'
else
  qte_p_TRUE='#'
  qte_p_FALSE=
fi



if test x$qte_b = xyes; then
  qte_b_TRUE=
  qte_b_FALSE='#'
else
  qte_b_TRUE='#'
  qte_b_FALSE=
fi





if test x$x11_p = xyes; then
  x11_p_TRUE=
  x11_p_FALSE='#'
else
  x11_p_TRUE='#'
  x11_p_FALSE=
fi



if test x$x11_b = xyes; then
  x11_b_TRUE=
  x11_b_FALSE='#'
else
  x11_b_TRUE='#'
  x11_b_FALSE=
fi





if test x$xvideo_p = xyes; then
  xvideo_p_TRUE=
  xvideo_p_FALSE='#'
else
  xvideo_p_TRUE='#'
  xvideo_p_FALSE=
fi



if test x$xvideo_b = xyes; then
  xvideo_b_TRUE=
  xvideo_b_FALSE='#'
else
  xvideo_b_TRUE='#'
  xvideo_b_FALSE=
fi



if test x$scope_p = xyes; then
  scope_p_TRUE=
  scope_p_FALSE='#'
else
  scope_p_TRUE='#'
  scope_p_FALSE=
fi



if test x$scope_b = xyes; then
  scope_b_TRUE=
  scope_b_FALSE='#'
else
  scope_b_TRUE='#'
  scope_b_FALSE=
fi




if test x$xosd_p = xyes; then
  xosd_p_TRUE=
  xosd_p_FALSE='#'
else
  xosd_p_TRUE='#'
  xosd_p_FALSE=
fi



if test x$xosd_b = xyes; then
  xosd_b_TRUE=
  xosd_b_FALSE='#'
else
  xosd_b_TRUE='#'
  xosd_b_FALSE=
fi



if false; then
  UNTRUE_TRUE=
  UNTRUE_FALSE='#'
else
  UNTRUE_TRUE='#'
  UNTRUE_FALSE=
fi




cat >>confdefs.h <<_ACEOF
#define VERSION_MESSAGE "${VERSION} ${CODENAME}"
_ACEOF


cat >>confdefs.h <<_ACEOF
#define COPYRIGHT_MESSAGE "VLC media player - version ${VERSION} ${CODENAME} - 
(c) 1996-2003 VideoLAN"
_ACEOF


cat >>confdefs.h <<_ACEOF
#define CONFIGURE_LINE "${CONFIGURE_LINE}"
_ACEOF


VLC_SYMBOL="`echo ${VERSION} | sed -e 'y/.-/__/'`"

cat >>confdefs.h <<_ACEOF
#define MODULE_SUFFIX "__${VLC_SYMBOL}"
_ACEOF


cat >>confdefs.h <<_ACEOF
#define MODULE_SYMBOL ${VLC_SYMBOL}
_ACEOF


cat >>confdefs.h <<_ACEOF
#define LIBEXT "${LIBEXT}"
_ACEOF


DATA_PATH="${ac_tool_prefix}/share/vlc"

PLUGIN_PATH="${ac_tool_prefix}/lib/vlc"


CPPFLAGS="${CPPFLAGS_save}"
CFLAGS="${CFLAGS_save}"
CXXFLAGS="${CXXFLAGS_save}"
OBJCFLAGS="${OBJCFLAGS_save}"
LDFLAGS="${LDFLAGS_save}"

AUTOMAKE_SUCKS="\$(L_builtin) \$(LDFLAGS_builtin)"


LDFLAGS_libvlc="${LDFLAGS_vlc} ${LDFLAGS_builtins}"
for i in `echo "${BUILTINS}" | sed -e 'address@hidden */@@g'` ; do 
LDFLAGS_libvlc="${LDFLAGS_libvlc} ${libdir}/vlc/${i}.a `eval echo 
'$'{LDFLAGS_${i}}`" ; done


































                                                                                
                                                  
ac_config_files="$ac_config_files Makefile autotools/Makefile debian/Makefile 
doc/Makefile intl/Makefile ipkg/Makefile lib/Makefile m4/Makefile 
modules/Makefile po/Makefile.in share/Makefile src/Makefile vlc-config"
          ac_config_commands="$ac_config_commands default"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
# scripts and configure runs, see configure's option --config-cache.
# It is not useful on other systems.  If it contains results you don't
# want to keep, you may remove or edit it.
#
# config.status only pays attention to the cache file if you give it
# the --recheck option to rerun configure.
#
# `ac_cv_env_foo' variables (set or unset) will be overridden when
# loading this file, other *unset* `ac_cv_foo' will be assigned the
# following values.

_ACEOF

# The following way of writing the cache mishandles newlines in values,
# but we know of no workaround that is simple, portable, and efficient.
# So, don't put newlines in cache variables' values.
# Ultrix sh set writes to stderr and can't be redirected directly,
# and sets the high bit in the cache file unless we assign to the vars.
{
  (set) 2>&1 |
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
    *ac_space=\ *)
      # `set' does not quote correctly, so add quotes (double-quote
      # substitution turns \\\\ into \\, and sed turns \\ into \).
      sed -n \
        "s/'/'\\\\''/g;
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
      ;;
    *)
      # `set' quotes correctly as required by POSIX, so do not add quotes.
      sed -n \
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
      ;;
    esac;
} |
  sed '
     t clear
     : clear
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
     t end
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     : end' >>confcache
if diff $cache_file confcache >/dev/null 2>&1; then :; else
  if test -w $cache_file; then
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
    cat confcache >$cache_file
  else
    echo "not updating unwritable cache $cache_file"
  fi
fi
rm -f confcache

test "x$prefix" = xNONE && prefix=$ac_default_prefix
# Let make expand exec_prefix.
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'

# VPATH may cause trouble with some makes, so we remove $(srcdir),
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
# trailing colons and then remove the whole line if VPATH becomes empty
# (actually we leave an empty line to preserve line numbers).
if test "x$srcdir" = x.; then
  ac_vpsub='/^[         ]*VPATH[        ]*=/{
s/:*\$(srcdir):*/:/;
s/:*\${srcdir}:*/:/;
s/:address@hidden@:*/:/;
s/^\([^=]*=[    ]*\):*/\1/;
s/:*$//;
s/^[^=]*=[      ]*$//;
}'
fi

DEFS=-DHAVE_CONFIG_H

ac_libobjs=
ac_ltlibobjs=
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  # 1. Remove the extension, and $U if already installed.
  ac_i=`echo "$ac_i" |
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
  # 2. Add them.
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
done
LIBOBJS=$ac_libobjs

LTLIBOBJS=$ac_ltlibobjs


if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"AMDEP\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepOBJC\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"am__fastdepOBJC\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${HAVE_BEOS_TRUE}" && test -z "${HAVE_BEOS_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_BEOS\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"HAVE_BEOS\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${HAVE_DARWIN_TRUE}" && test -z "${HAVE_DARWIN_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_DARWIN\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"HAVE_DARWIN\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${HAVE_WIN32_TRUE}" && test -z "${HAVE_WIN32_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_WIN32\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"HAVE_WIN32\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${BUILD_INTL_TRUE}" && test -z "${BUILD_INTL_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_INTL\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"BUILD_INTL\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${BUILD_GETOPT_TRUE}" && test -z "${BUILD_GETOPT_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_GETOPT\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"BUILD_GETOPT\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${BUILD_DIRENT_TRUE}" && test -z "${BUILD_DIRENT_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_DIRENT\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"BUILD_DIRENT\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${GPROF_TRUE}" && test -z "${GPROF_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"GPROF\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"GPROF\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${CPROF_TRUE}" && test -z "${CPROF_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"CPROF\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"CPROF\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${OPTIM_TRUE}" && test -z "${OPTIM_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"OPTIM\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"OPTIM\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"DEBUG\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"DEBUG\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${RELEASE_TRUE}" && test -z "${RELEASE_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"RELEASE\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"RELEASE\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${BUILD_MOZILLA_TRUE}" && test -z "${BUILD_MOZILLA_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_MOZILLA\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"BUILD_MOZILLA\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${HAVE_PLUGINS_TRUE}" && test -z "${HAVE_PLUGINS_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_PLUGINS\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"HAVE_PLUGINS\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${HAVE_BUILTINS_TRUE}" && test -z "${HAVE_BUILTINS_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_BUILTINS\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"HAVE_BUILTINS\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${access_file_p_TRUE}" && test -z "${access_file_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"access_file_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"access_file_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${access_file_b_TRUE}" && test -z "${access_file_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"access_file_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"access_file_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${access_directory_p_TRUE}" && test -z 
"${access_directory_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"access_directory_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"access_directory_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${access_directory_b_TRUE}" && test -z 
"${access_directory_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"access_directory_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"access_directory_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${access_udp_p_TRUE}" && test -z "${access_udp_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"access_udp_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"access_udp_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${access_udp_b_TRUE}" && test -z "${access_udp_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"access_udp_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"access_udp_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${access_http_p_TRUE}" && test -z "${access_http_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"access_http_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"access_http_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${access_http_b_TRUE}" && test -z "${access_http_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"access_http_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"access_http_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${access_ftp_p_TRUE}" && test -z "${access_ftp_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"access_ftp_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"access_ftp_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${access_ftp_b_TRUE}" && test -z "${access_ftp_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"access_ftp_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"access_ftp_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${slp_p_TRUE}" && test -z "${slp_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"slp_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"slp_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${slp_b_TRUE}" && test -z "${slp_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"slp_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"slp_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${cdda_p_TRUE}" && test -z "${cdda_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"cdda_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"cdda_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${cdda_b_TRUE}" && test -z "${cdda_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"cdda_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"cdda_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${dvd_p_TRUE}" && test -z "${dvd_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"dvd_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"dvd_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${dvd_b_TRUE}" && test -z "${dvd_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"dvd_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"dvd_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${dvdplay_p_TRUE}" && test -z "${dvdplay_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"dvdplay_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"dvdplay_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${dvdplay_b_TRUE}" && test -z "${dvdplay_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"dvdplay_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"dvdplay_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${dvdread_p_TRUE}" && test -z "${dvdread_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"dvdread_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"dvdread_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${dvdread_b_TRUE}" && test -z "${dvdread_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"dvdread_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"dvdread_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${access_mms_p_TRUE}" && test -z "${access_mms_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"access_mms_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"access_mms_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${access_mms_b_TRUE}" && test -z "${access_mms_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"access_mms_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"access_mms_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${pvr_p_TRUE}" && test -z "${pvr_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"pvr_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"pvr_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${pvr_b_TRUE}" && test -z "${pvr_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"pvr_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"pvr_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${satellite_p_TRUE}" && test -z "${satellite_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"satellite_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"satellite_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${satellite_b_TRUE}" && test -z "${satellite_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"satellite_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"satellite_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${v4l_p_TRUE}" && test -z "${v4l_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"v4l_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"v4l_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${v4l_b_TRUE}" && test -z "${v4l_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"v4l_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"v4l_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${vcd_p_TRUE}" && test -z "${vcd_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"vcd_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"vcd_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${vcd_b_TRUE}" && test -z "${vcd_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"vcd_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"vcd_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${access_output_dummy_p_TRUE}" && test -z 
"${access_output_dummy_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"access_output_dummy_p\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"access_output_dummy_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${access_output_dummy_b_TRUE}" && test -z 
"${access_output_dummy_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"access_output_dummy_b\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"access_output_dummy_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${access_output_file_p_TRUE}" && test -z 
"${access_output_file_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"access_output_file_p\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"access_output_file_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${access_output_file_b_TRUE}" && test -z 
"${access_output_file_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"access_output_file_b\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"access_output_file_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${access_output_udp_p_TRUE}" && test -z 
"${access_output_udp_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"access_output_udp_p\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"access_output_udp_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${access_output_udp_b_TRUE}" && test -z 
"${access_output_udp_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"access_output_udp_b\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"access_output_udp_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${access_output_http_p_TRUE}" && test -z 
"${access_output_http_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"access_output_http_p\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"access_output_http_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${access_output_http_b_TRUE}" && test -z 
"${access_output_http_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"access_output_http_b\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"access_output_http_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${trivial_channel_mixer_p_TRUE}" && test -z 
"${trivial_channel_mixer_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"trivial_channel_mixer_p\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"trivial_channel_mixer_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${trivial_channel_mixer_b_TRUE}" && test -z 
"${trivial_channel_mixer_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"trivial_channel_mixer_b\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"trivial_channel_mixer_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${headphone_channel_mixer_p_TRUE}" && test -z 
"${headphone_channel_mixer_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"headphone_channel_mixer_p\" 
was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"headphone_channel_mixer_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${headphone_channel_mixer_b_TRUE}" && test -z 
"${headphone_channel_mixer_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"headphone_channel_mixer_b\" 
was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"headphone_channel_mixer_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${float32tos16_p_TRUE}" && test -z "${float32tos16_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"float32tos16_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"float32tos16_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${float32tos16_b_TRUE}" && test -z "${float32tos16_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"float32tos16_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"float32tos16_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${float32tos8_p_TRUE}" && test -z "${float32tos8_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"float32tos8_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"float32tos8_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${float32tos8_b_TRUE}" && test -z "${float32tos8_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"float32tos8_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"float32tos8_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${float32tou16_p_TRUE}" && test -z "${float32tou16_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"float32tou16_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"float32tou16_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${float32tou16_b_TRUE}" && test -z "${float32tou16_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"float32tou16_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"float32tou16_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${float32tou8_p_TRUE}" && test -z "${float32tou8_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"float32tou8_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"float32tou8_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${float32tou8_b_TRUE}" && test -z "${float32tou8_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"float32tou8_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"float32tou8_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${a52tospdif_p_TRUE}" && test -z "${a52tospdif_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"a52tospdif_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"a52tospdif_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${a52tospdif_b_TRUE}" && test -z "${a52tospdif_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"a52tospdif_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"a52tospdif_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${a52tofloat32_p_TRUE}" && test -z "${a52tofloat32_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"a52tofloat32_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"a52tofloat32_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${a52tofloat32_b_TRUE}" && test -z "${a52tofloat32_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"a52tofloat32_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"a52tofloat32_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${dtstospdif_p_TRUE}" && test -z "${dtstospdif_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"dtstospdif_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"dtstospdif_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${dtstospdif_b_TRUE}" && test -z "${dtstospdif_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"dtstospdif_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"dtstospdif_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${fixed32tos16_p_TRUE}" && test -z "${fixed32tos16_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"fixed32tos16_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"fixed32tos16_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${fixed32tos16_b_TRUE}" && test -z "${fixed32tos16_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"fixed32tos16_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"fixed32tos16_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${s16tofixed32_p_TRUE}" && test -z "${s16tofixed32_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"s16tofixed32_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"s16tofixed32_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${s16tofixed32_b_TRUE}" && test -z "${s16tofixed32_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"s16tofixed32_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"s16tofixed32_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${fixed32tofloat32_p_TRUE}" && test -z 
"${fixed32tofloat32_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"fixed32tofloat32_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"fixed32tofloat32_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${fixed32tofloat32_b_TRUE}" && test -z 
"${fixed32tofloat32_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"fixed32tofloat32_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"fixed32tofloat32_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${s16tofloat32_p_TRUE}" && test -z "${s16tofloat32_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"s16tofloat32_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"s16tofloat32_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${s16tofloat32_b_TRUE}" && test -z "${s16tofloat32_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"s16tofloat32_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"s16tofloat32_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${s16tofloat32swab_p_TRUE}" && test -z 
"${s16tofloat32swab_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"s16tofloat32swab_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"s16tofloat32swab_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${s16tofloat32swab_b_TRUE}" && test -z 
"${s16tofloat32swab_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"s16tofloat32swab_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"s16tofloat32swab_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${s8tofloat32_p_TRUE}" && test -z "${s8tofloat32_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"s8tofloat32_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"s8tofloat32_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${s8tofloat32_b_TRUE}" && test -z "${s8tofloat32_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"s8tofloat32_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"s8tofloat32_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${u8tofixed32_p_TRUE}" && test -z "${u8tofixed32_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"u8tofixed32_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"u8tofixed32_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${u8tofixed32_b_TRUE}" && test -z "${u8tofixed32_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"u8tofixed32_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"u8tofixed32_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${u8tofloat32_p_TRUE}" && test -z "${u8tofloat32_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"u8tofloat32_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"u8tofloat32_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${u8tofloat32_b_TRUE}" && test -z "${u8tofloat32_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"u8tofloat32_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"u8tofloat32_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${mpgatofixed32_p_TRUE}" && test -z "${mpgatofixed32_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"mpgatofixed32_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"mpgatofixed32_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${mpgatofixed32_b_TRUE}" && test -z "${mpgatofixed32_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"mpgatofixed32_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"mpgatofixed32_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${trivial_resampler_p_TRUE}" && test -z 
"${trivial_resampler_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"trivial_resampler_p\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"trivial_resampler_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${trivial_resampler_b_TRUE}" && test -z 
"${trivial_resampler_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"trivial_resampler_b\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"trivial_resampler_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${ugly_resampler_p_TRUE}" && test -z "${ugly_resampler_p_FALSE}"; 
then
  { { echo "$as_me:$LINENO: error: conditional \"ugly_resampler_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"ugly_resampler_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${ugly_resampler_b_TRUE}" && test -z "${ugly_resampler_b_FALSE}"; 
then
  { { echo "$as_me:$LINENO: error: conditional \"ugly_resampler_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"ugly_resampler_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${linear_resampler_p_TRUE}" && test -z 
"${linear_resampler_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"linear_resampler_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"linear_resampler_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${linear_resampler_b_TRUE}" && test -z 
"${linear_resampler_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"linear_resampler_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"linear_resampler_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${bandlimited_resampler_p_TRUE}" && test -z 
"${bandlimited_resampler_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"bandlimited_resampler_p\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"bandlimited_resampler_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${bandlimited_resampler_b_TRUE}" && test -z 
"${bandlimited_resampler_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"bandlimited_resampler_b\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"bandlimited_resampler_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${coreaudio_resampler_p_TRUE}" && test -z 
"${coreaudio_resampler_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"coreaudio_resampler_p\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"coreaudio_resampler_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${coreaudio_resampler_b_TRUE}" && test -z 
"${coreaudio_resampler_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"coreaudio_resampler_b\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"coreaudio_resampler_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${trivial_mixer_p_TRUE}" && test -z "${trivial_mixer_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"trivial_mixer_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"trivial_mixer_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${trivial_mixer_b_TRUE}" && test -z "${trivial_mixer_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"trivial_mixer_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"trivial_mixer_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${float32_mixer_p_TRUE}" && test -z "${float32_mixer_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"float32_mixer_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"float32_mixer_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${float32_mixer_b_TRUE}" && test -z "${float32_mixer_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"float32_mixer_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"float32_mixer_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${spdif_mixer_p_TRUE}" && test -z "${spdif_mixer_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"spdif_mixer_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"spdif_mixer_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${spdif_mixer_b_TRUE}" && test -z "${spdif_mixer_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"spdif_mixer_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"spdif_mixer_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${alsa_p_TRUE}" && test -z "${alsa_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"alsa_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"alsa_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${alsa_b_TRUE}" && test -z "${alsa_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"alsa_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"alsa_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${arts_p_TRUE}" && test -z "${arts_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"arts_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"arts_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${arts_b_TRUE}" && test -z "${arts_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"arts_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"arts_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${coreaudio_p_TRUE}" && test -z "${coreaudio_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"coreaudio_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"coreaudio_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${coreaudio_b_TRUE}" && test -z "${coreaudio_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"coreaudio_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"coreaudio_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${aout_directx_p_TRUE}" && test -z "${aout_directx_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"aout_directx_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"aout_directx_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${aout_directx_b_TRUE}" && test -z "${aout_directx_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"aout_directx_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"aout_directx_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${esd_p_TRUE}" && test -z "${esd_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"esd_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"esd_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${esd_b_TRUE}" && test -z "${esd_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"esd_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"esd_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${aout_file_p_TRUE}" && test -z "${aout_file_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"aout_file_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"aout_file_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${aout_file_b_TRUE}" && test -z "${aout_file_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"aout_file_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"aout_file_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${oss_p_TRUE}" && test -z "${oss_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"oss_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"oss_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${oss_b_TRUE}" && test -z "${oss_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"oss_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"oss_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${aout_sdl_p_TRUE}" && test -z "${aout_sdl_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"aout_sdl_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"aout_sdl_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${aout_sdl_b_TRUE}" && test -z "${aout_sdl_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"aout_sdl_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"aout_sdl_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${waveout_p_TRUE}" && test -z "${waveout_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"waveout_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"waveout_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${waveout_b_TRUE}" && test -z "${waveout_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"waveout_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"waveout_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${a52_p_TRUE}" && test -z "${a52_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"a52_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"a52_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${a52_b_TRUE}" && test -z "${a52_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"a52_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"a52_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${dts_p_TRUE}" && test -z "${dts_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"dts_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"dts_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${dts_b_TRUE}" && test -z "${dts_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"dts_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"dts_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${flacdec_p_TRUE}" && test -z "${flacdec_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"flacdec_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"flacdec_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${flacdec_b_TRUE}" && test -z "${flacdec_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"flacdec_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"flacdec_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${lpcm_p_TRUE}" && test -z "${lpcm_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"lpcm_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"lpcm_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${lpcm_b_TRUE}" && test -z "${lpcm_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"lpcm_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"lpcm_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${araw_p_TRUE}" && test -z "${araw_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"araw_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"araw_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${araw_b_TRUE}" && test -z "${araw_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"araw_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"araw_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${vorbis_p_TRUE}" && test -z "${vorbis_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"vorbis_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"vorbis_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${vorbis_b_TRUE}" && test -z "${vorbis_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"vorbis_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"vorbis_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${tarkin_p_TRUE}" && test -z "${tarkin_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"tarkin_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"tarkin_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${tarkin_b_TRUE}" && test -z "${tarkin_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"tarkin_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"tarkin_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${theora_p_TRUE}" && test -z "${theora_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"theora_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"theora_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${theora_b_TRUE}" && test -z "${theora_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"theora_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"theora_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${tremor_p_TRUE}" && test -z "${tremor_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"tremor_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"tremor_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${tremor_b_TRUE}" && test -z "${tremor_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"tremor_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"tremor_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${dv_p_TRUE}" && test -z "${dv_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"dv_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"dv_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${dv_b_TRUE}" && test -z "${dv_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"dv_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"dv_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${xvid_p_TRUE}" && test -z "${xvid_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"xvid_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"xvid_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${xvid_b_TRUE}" && test -z "${xvid_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"xvid_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"xvid_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${adpcm_p_TRUE}" && test -z "${adpcm_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"adpcm_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"adpcm_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${adpcm_b_TRUE}" && test -z "${adpcm_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"adpcm_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"adpcm_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${mpeg_audio_p_TRUE}" && test -z "${mpeg_audio_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"mpeg_audio_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"mpeg_audio_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${mpeg_audio_b_TRUE}" && test -z "${mpeg_audio_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"mpeg_audio_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"mpeg_audio_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${libmpeg2_p_TRUE}" && test -z "${libmpeg2_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"libmpeg2_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"libmpeg2_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${libmpeg2_b_TRUE}" && test -z "${libmpeg2_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"libmpeg2_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"libmpeg2_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${rawvideo_p_TRUE}" && test -z "${rawvideo_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"rawvideo_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"rawvideo_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${rawvideo_b_TRUE}" && test -z "${rawvideo_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"rawvideo_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"rawvideo_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${quicktime_p_TRUE}" && test -z "${quicktime_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"quicktime_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"quicktime_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${quicktime_b_TRUE}" && test -z "${quicktime_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"quicktime_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"quicktime_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${a52old_p_TRUE}" && test -z "${a52old_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"a52old_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"a52old_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${a52old_b_TRUE}" && test -z "${a52old_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"a52old_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"a52old_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${downmix_p_TRUE}" && test -z "${downmix_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"downmix_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"downmix_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${downmix_b_TRUE}" && test -z "${downmix_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"downmix_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"downmix_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${downmixsse_p_TRUE}" && test -z "${downmixsse_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"downmixsse_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"downmixsse_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${downmixsse_b_TRUE}" && test -z "${downmixsse_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"downmixsse_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"downmixsse_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${downmix3dn_p_TRUE}" && test -z "${downmix3dn_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"downmix3dn_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"downmix3dn_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${downmix3dn_b_TRUE}" && test -z "${downmix3dn_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"downmix3dn_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"downmix3dn_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${imdct_p_TRUE}" && test -z "${imdct_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"imdct_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"imdct_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${imdct_b_TRUE}" && test -z "${imdct_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"imdct_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"imdct_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${imdctsse_p_TRUE}" && test -z "${imdctsse_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"imdctsse_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"imdctsse_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${imdctsse_b_TRUE}" && test -z "${imdctsse_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"imdctsse_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"imdctsse_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${imdct3dn_p_TRUE}" && test -z "${imdct3dn_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"imdct3dn_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"imdct3dn_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${imdct3dn_b_TRUE}" && test -z "${imdct3dn_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"imdct3dn_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"imdct3dn_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${cinepak_p_TRUE}" && test -z "${cinepak_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"cinepak_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"cinepak_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${cinepak_b_TRUE}" && test -z "${cinepak_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"cinepak_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"cinepak_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${faad_p_TRUE}" && test -z "${faad_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"faad_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"faad_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${faad_b_TRUE}" && test -z "${faad_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"faad_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"faad_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${ffmpeg_p_TRUE}" && test -z "${ffmpeg_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"ffmpeg_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"ffmpeg_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${ffmpeg_b_TRUE}" && test -z "${ffmpeg_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"ffmpeg_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"ffmpeg_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${postprocessing_c_p_TRUE}" && test -z 
"${postprocessing_c_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"postprocessing_c_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"postprocessing_c_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${postprocessing_c_b_TRUE}" && test -z 
"${postprocessing_c_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"postprocessing_c_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"postprocessing_c_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${postprocessing_mmx_p_TRUE}" && test -z 
"${postprocessing_mmx_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"postprocessing_mmx_p\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"postprocessing_mmx_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${postprocessing_mmx_b_TRUE}" && test -z 
"${postprocessing_mmx_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"postprocessing_mmx_b\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"postprocessing_mmx_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${postprocessing_mmxext_p_TRUE}" && test -z 
"${postprocessing_mmxext_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"postprocessing_mmxext_p\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"postprocessing_mmxext_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${postprocessing_mmxext_b_TRUE}" && test -z 
"${postprocessing_mmxext_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"postprocessing_mmxext_b\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"postprocessing_mmxext_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${mpeg_video_old_p_TRUE}" && test -z "${mpeg_video_old_p_FALSE}"; 
then
  { { echo "$as_me:$LINENO: error: conditional \"mpeg_video_old_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"mpeg_video_old_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${mpeg_video_old_b_TRUE}" && test -z "${mpeg_video_old_b_FALSE}"; 
then
  { { echo "$as_me:$LINENO: error: conditional \"mpeg_video_old_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"mpeg_video_old_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${idct_p_TRUE}" && test -z "${idct_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"idct_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"idct_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${idct_b_TRUE}" && test -z "${idct_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"idct_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"idct_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${idctclassic_p_TRUE}" && test -z "${idctclassic_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"idctclassic_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"idctclassic_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${idctclassic_b_TRUE}" && test -z "${idctclassic_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"idctclassic_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"idctclassic_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${idctmmx_p_TRUE}" && test -z "${idctmmx_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"idctmmx_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"idctmmx_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${idctmmx_b_TRUE}" && test -z "${idctmmx_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"idctmmx_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"idctmmx_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${idctmmxext_p_TRUE}" && test -z "${idctmmxext_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"idctmmxext_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"idctmmxext_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${idctmmxext_b_TRUE}" && test -z "${idctmmxext_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"idctmmxext_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"idctmmxext_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${idctaltivec_p_TRUE}" && test -z "${idctaltivec_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"idctaltivec_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"idctaltivec_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${idctaltivec_b_TRUE}" && test -z "${idctaltivec_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"idctaltivec_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"idctaltivec_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${motion_p_TRUE}" && test -z "${motion_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"motion_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"motion_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${motion_b_TRUE}" && test -z "${motion_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"motion_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"motion_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${motionmmx_p_TRUE}" && test -z "${motionmmx_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"motionmmx_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"motionmmx_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${motionmmx_b_TRUE}" && test -z "${motionmmx_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"motionmmx_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"motionmmx_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${motionmmxext_p_TRUE}" && test -z "${motionmmxext_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"motionmmxext_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"motionmmxext_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${motionmmxext_b_TRUE}" && test -z "${motionmmxext_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"motionmmxext_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"motionmmxext_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${motion3dnow_p_TRUE}" && test -z "${motion3dnow_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"motion3dnow_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"motion3dnow_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${motion3dnow_b_TRUE}" && test -z "${motion3dnow_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"motion3dnow_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"motion3dnow_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${motionaltivec_p_TRUE}" && test -z "${motionaltivec_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"motionaltivec_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"motionaltivec_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${motionaltivec_b_TRUE}" && test -z "${motionaltivec_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"motionaltivec_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"motionaltivec_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${spudec_p_TRUE}" && test -z "${spudec_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"spudec_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"spudec_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${spudec_b_TRUE}" && test -z "${spudec_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"spudec_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"spudec_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${lirc_p_TRUE}" && test -z "${lirc_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"lirc_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"lirc_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${lirc_b_TRUE}" && test -z "${lirc_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"lirc_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"lirc_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${rc_p_TRUE}" && test -z "${rc_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"rc_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"rc_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${rc_b_TRUE}" && test -z "${rc_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"rc_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"rc_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${gestures_p_TRUE}" && test -z "${gestures_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"gestures_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"gestures_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${gestures_b_TRUE}" && test -z "${gestures_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"gestures_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"gestures_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${http_p_TRUE}" && test -z "${http_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"http_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"http_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${http_b_TRUE}" && test -z "${http_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"http_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"http_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${a52sys_p_TRUE}" && test -z "${a52sys_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"a52sys_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"a52sys_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${a52sys_b_TRUE}" && test -z "${a52sys_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"a52sys_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"a52sys_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${flac_p_TRUE}" && test -z "${flac_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"flac_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"flac_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${flac_b_TRUE}" && test -z "${flac_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"flac_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"flac_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${ogg_p_TRUE}" && test -z "${ogg_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"ogg_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"ogg_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${ogg_b_TRUE}" && test -z "${ogg_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"ogg_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"ogg_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${m3u_p_TRUE}" && test -z "${m3u_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"m3u_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"m3u_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${m3u_b_TRUE}" && test -z "${m3u_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"m3u_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"m3u_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${demuxdump_p_TRUE}" && test -z "${demuxdump_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"demuxdump_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"demuxdump_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${demuxdump_b_TRUE}" && test -z "${demuxdump_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"demuxdump_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"demuxdump_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${rawdv_p_TRUE}" && test -z "${rawdv_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"rawdv_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"rawdv_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${rawdv_b_TRUE}" && test -z "${rawdv_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"rawdv_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"rawdv_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${au_p_TRUE}" && test -z "${au_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"au_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"au_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${au_b_TRUE}" && test -z "${au_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"au_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"au_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${mkv_p_TRUE}" && test -z "${mkv_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"mkv_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"mkv_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${mkv_b_TRUE}" && test -z "${mkv_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"mkv_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"mkv_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${aac_p_TRUE}" && test -z "${aac_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"aac_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"aac_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${aac_b_TRUE}" && test -z "${aac_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"aac_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"aac_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${avi_p_TRUE}" && test -z "${avi_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"avi_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"avi_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${avi_b_TRUE}" && test -z "${avi_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"avi_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"avi_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${asf_p_TRUE}" && test -z "${asf_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"asf_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"asf_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${asf_b_TRUE}" && test -z "${asf_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"asf_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"asf_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${mp4_p_TRUE}" && test -z "${mp4_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"mp4_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"mp4_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${mp4_b_TRUE}" && test -z "${mp4_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"mp4_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"mp4_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${mpeg_system_p_TRUE}" && test -z "${mpeg_system_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"mpeg_system_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"mpeg_system_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${mpeg_system_b_TRUE}" && test -z "${mpeg_system_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"mpeg_system_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"mpeg_system_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${es_p_TRUE}" && test -z "${es_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"es_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"es_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${es_b_TRUE}" && test -z "${es_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"es_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"es_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${m4v_p_TRUE}" && test -z "${m4v_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"m4v_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"m4v_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${m4v_b_TRUE}" && test -z "${m4v_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"m4v_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"m4v_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${ps_p_TRUE}" && test -z "${ps_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"ps_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"ps_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${ps_b_TRUE}" && test -z "${ps_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"ps_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"ps_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${ts_p_TRUE}" && test -z "${ts_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"ts_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"ts_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${ts_b_TRUE}" && test -z "${ts_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"ts_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"ts_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${ts_dvbpsi_p_TRUE}" && test -z "${ts_dvbpsi_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"ts_dvbpsi_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"ts_dvbpsi_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${ts_dvbpsi_b_TRUE}" && test -z "${ts_dvbpsi_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"ts_dvbpsi_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"ts_dvbpsi_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${audio_p_TRUE}" && test -z "${audio_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"audio_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"audio_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${audio_b_TRUE}" && test -z "${audio_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"audio_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"audio_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${id3_p_TRUE}" && test -z "${id3_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"id3_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"id3_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${id3_b_TRUE}" && test -z "${id3_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"id3_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"id3_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${id3tag_p_TRUE}" && test -z "${id3tag_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"id3tag_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"id3tag_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${id3tag_b_TRUE}" && test -z "${id3tag_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"id3tag_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"id3tag_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${demuxsub_p_TRUE}" && test -z "${demuxsub_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"demuxsub_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"demuxsub_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${demuxsub_b_TRUE}" && test -z "${demuxsub_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"demuxsub_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"demuxsub_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${wav_p_TRUE}" && test -z "${wav_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"wav_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"wav_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${wav_b_TRUE}" && test -z "${wav_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"wav_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"wav_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${encoder_xvid_p_TRUE}" && test -z "${encoder_xvid_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"encoder_xvid_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"encoder_xvid_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${encoder_xvid_b_TRUE}" && test -z "${encoder_xvid_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"encoder_xvid_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"encoder_xvid_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${encoder_ffmpeg_p_TRUE}" && test -z "${encoder_ffmpeg_p_FALSE}"; 
then
  { { echo "$as_me:$LINENO: error: conditional \"encoder_ffmpeg_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"encoder_ffmpeg_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${encoder_ffmpeg_b_TRUE}" && test -z "${encoder_ffmpeg_b_FALSE}"; 
then
  { { echo "$as_me:$LINENO: error: conditional \"encoder_ffmpeg_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"encoder_ffmpeg_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${beos_p_TRUE}" && test -z "${beos_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"beos_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"beos_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${beos_b_TRUE}" && test -z "${beos_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"beos_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"beos_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${familiar_p_TRUE}" && test -z "${familiar_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"familiar_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"familiar_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${familiar_b_TRUE}" && test -z "${familiar_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"familiar_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"familiar_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${gtk_p_TRUE}" && test -z "${gtk_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"gtk_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"gtk_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${gtk_b_TRUE}" && test -z "${gtk_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"gtk_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"gtk_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${gnome_p_TRUE}" && test -z "${gnome_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"gnome_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"gnome_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${gnome_b_TRUE}" && test -z "${gnome_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"gnome_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"gnome_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${gtk2_p_TRUE}" && test -z "${gtk2_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"gtk2_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"gtk2_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${gtk2_b_TRUE}" && test -z "${gtk2_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"gtk2_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"gtk2_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${gnome2_p_TRUE}" && test -z "${gnome2_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"gnome2_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"gnome2_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${gnome2_b_TRUE}" && test -z "${gnome2_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"gnome2_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"gnome2_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${kde_p_TRUE}" && test -z "${kde_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"kde_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"kde_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${kde_b_TRUE}" && test -z "${kde_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"kde_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"kde_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${macosx_p_TRUE}" && test -z "${macosx_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"macosx_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"macosx_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${macosx_b_TRUE}" && test -z "${macosx_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"macosx_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"macosx_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${ncurses_p_TRUE}" && test -z "${ncurses_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"ncurses_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"ncurses_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${ncurses_b_TRUE}" && test -z "${ncurses_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"ncurses_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"ncurses_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${qnx_p_TRUE}" && test -z "${qnx_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"qnx_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"qnx_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${qnx_b_TRUE}" && test -z "${qnx_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"qnx_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"qnx_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${qt_p_TRUE}" && test -z "${qt_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"qt_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"qt_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${qt_b_TRUE}" && test -z "${qt_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"qt_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"qt_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${skins_p_TRUE}" && test -z "${skins_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"skins_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"skins_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${skins_b_TRUE}" && test -z "${skins_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"skins_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"skins_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${basic_skins_p_TRUE}" && test -z "${basic_skins_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"basic_skins_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"basic_skins_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${basic_skins_b_TRUE}" && test -z "${basic_skins_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"basic_skins_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"basic_skins_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${win32_p_TRUE}" && test -z "${win32_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"win32_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"win32_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${win32_b_TRUE}" && test -z "${win32_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"win32_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"win32_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${wxwindows_p_TRUE}" && test -z "${wxwindows_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"wxwindows_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"wxwindows_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${wxwindows_b_TRUE}" && test -z "${wxwindows_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"wxwindows_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"wxwindows_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${gtk_main_p_TRUE}" && test -z "${gtk_main_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"gtk_main_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"gtk_main_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${gtk_main_b_TRUE}" && test -z "${gtk_main_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"gtk_main_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"gtk_main_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${gnome_main_p_TRUE}" && test -z "${gnome_main_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"gnome_main_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"gnome_main_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${gnome_main_b_TRUE}" && test -z "${gnome_main_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"gnome_main_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"gnome_main_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${gtk2_main_p_TRUE}" && test -z "${gtk2_main_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"gtk2_main_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"gtk2_main_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${gtk2_main_b_TRUE}" && test -z "${gtk2_main_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"gtk2_main_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"gtk2_main_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${gnome2_main_p_TRUE}" && test -z "${gnome2_main_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"gnome2_main_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"gnome2_main_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${gnome2_main_b_TRUE}" && test -z "${gnome2_main_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"gnome2_main_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"gnome2_main_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${sap_p_TRUE}" && test -z "${sap_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"sap_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"sap_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${sap_b_TRUE}" && test -z "${sap_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"sap_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"sap_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${screensaver_p_TRUE}" && test -z "${screensaver_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"screensaver_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"screensaver_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${screensaver_b_TRUE}" && test -z "${screensaver_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"screensaver_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"screensaver_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${qte_main_p_TRUE}" && test -z "${qte_main_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"qte_main_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"qte_main_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${qte_main_b_TRUE}" && test -z "${qte_main_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"qte_main_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"qte_main_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${httpd_p_TRUE}" && test -z "${httpd_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"httpd_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"httpd_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${httpd_b_TRUE}" && test -z "${httpd_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"httpd_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"httpd_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${dummy_p_TRUE}" && test -z "${dummy_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"dummy_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"dummy_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${dummy_b_TRUE}" && test -z "${dummy_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"dummy_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"dummy_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${logger_p_TRUE}" && test -z "${logger_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"logger_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"logger_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${logger_b_TRUE}" && test -z "${logger_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"logger_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"logger_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${memcpy_p_TRUE}" && test -z "${memcpy_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"memcpy_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"memcpy_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${memcpy_b_TRUE}" && test -z "${memcpy_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"memcpy_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"memcpy_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${memcpymmx_p_TRUE}" && test -z "${memcpymmx_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"memcpymmx_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"memcpymmx_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${memcpymmx_b_TRUE}" && test -z "${memcpymmx_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"memcpymmx_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"memcpymmx_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${memcpymmxext_p_TRUE}" && test -z "${memcpymmxext_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"memcpymmxext_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"memcpymmxext_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${memcpymmxext_b_TRUE}" && test -z "${memcpymmxext_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"memcpymmxext_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"memcpymmxext_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${memcpy3dn_p_TRUE}" && test -z "${memcpy3dn_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"memcpy3dn_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"memcpy3dn_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${memcpy3dn_b_TRUE}" && test -z "${memcpy3dn_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"memcpy3dn_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"memcpy3dn_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${memcpyaltivec_p_TRUE}" && test -z "${memcpyaltivec_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"memcpyaltivec_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"memcpyaltivec_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${memcpyaltivec_b_TRUE}" && test -z "${memcpyaltivec_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"memcpyaltivec_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"memcpyaltivec_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${ipv4_p_TRUE}" && test -z "${ipv4_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"ipv4_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"ipv4_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${ipv4_b_TRUE}" && test -z "${ipv4_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"ipv4_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"ipv4_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${ipv6_p_TRUE}" && test -z "${ipv6_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"ipv6_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"ipv6_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${ipv6_b_TRUE}" && test -z "${ipv6_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"ipv6_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"ipv6_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${test1_p_TRUE}" && test -z "${test1_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"test1_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"test1_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${test1_b_TRUE}" && test -z "${test1_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"test1_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"test1_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${test2_p_TRUE}" && test -z "${test2_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"test2_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"test2_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${test2_b_TRUE}" && test -z "${test2_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"test2_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"test2_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${test3_p_TRUE}" && test -z "${test3_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"test3_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"test3_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${test3_b_TRUE}" && test -z "${test3_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"test3_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"test3_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${test4_p_TRUE}" && test -z "${test4_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"test4_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"test4_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${test4_b_TRUE}" && test -z "${test4_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"test4_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"test4_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${mux_dummy_p_TRUE}" && test -z "${mux_dummy_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"mux_dummy_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"mux_dummy_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${mux_dummy_b_TRUE}" && test -z "${mux_dummy_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"mux_dummy_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"mux_dummy_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${mux_avi_p_TRUE}" && test -z "${mux_avi_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"mux_avi_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"mux_avi_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${mux_avi_b_TRUE}" && test -z "${mux_avi_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"mux_avi_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"mux_avi_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${mux_ogg_p_TRUE}" && test -z "${mux_ogg_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"mux_ogg_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"mux_ogg_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${mux_ogg_b_TRUE}" && test -z "${mux_ogg_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"mux_ogg_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"mux_ogg_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${mux_ps_p_TRUE}" && test -z "${mux_ps_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"mux_ps_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"mux_ps_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${mux_ps_b_TRUE}" && test -z "${mux_ps_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"mux_ps_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"mux_ps_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${mux_ts_p_TRUE}" && test -z "${mux_ts_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"mux_ts_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"mux_ts_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${mux_ts_b_TRUE}" && test -z "${mux_ts_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"mux_ts_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"mux_ts_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${mux_ts_dvbpsi_p_TRUE}" && test -z "${mux_ts_dvbpsi_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"mux_ts_dvbpsi_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"mux_ts_dvbpsi_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${mux_ts_dvbpsi_b_TRUE}" && test -z "${mux_ts_dvbpsi_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"mux_ts_dvbpsi_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"mux_ts_dvbpsi_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${packetizer_copy_p_TRUE}" && test -z "${packetizer_copy_p_FALSE}"; 
then
  { { echo "$as_me:$LINENO: error: conditional \"packetizer_copy_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"packetizer_copy_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${packetizer_copy_b_TRUE}" && test -z "${packetizer_copy_b_FALSE}"; 
then
  { { echo "$as_me:$LINENO: error: conditional \"packetizer_copy_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"packetizer_copy_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${packetizer_a52_p_TRUE}" && test -z "${packetizer_a52_p_FALSE}"; 
then
  { { echo "$as_me:$LINENO: error: conditional \"packetizer_a52_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"packetizer_a52_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${packetizer_a52_b_TRUE}" && test -z "${packetizer_a52_b_FALSE}"; 
then
  { { echo "$as_me:$LINENO: error: conditional \"packetizer_a52_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"packetizer_a52_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${packetizer_mpegaudio_p_TRUE}" && test -z 
"${packetizer_mpegaudio_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"packetizer_mpegaudio_p\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"packetizer_mpegaudio_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${packetizer_mpegaudio_b_TRUE}" && test -z 
"${packetizer_mpegaudio_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"packetizer_mpegaudio_b\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"packetizer_mpegaudio_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${packetizer_mpegvideo_p_TRUE}" && test -z 
"${packetizer_mpegvideo_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"packetizer_mpegvideo_p\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"packetizer_mpegvideo_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${packetizer_mpegvideo_b_TRUE}" && test -z 
"${packetizer_mpegvideo_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"packetizer_mpegvideo_b\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"packetizer_mpegvideo_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${packetizer_mpeg4video_p_TRUE}" && test -z 
"${packetizer_mpeg4video_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"packetizer_mpeg4video_p\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"packetizer_mpeg4video_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${packetizer_mpeg4video_b_TRUE}" && test -z 
"${packetizer_mpeg4video_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"packetizer_mpeg4video_b\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"packetizer_mpeg4video_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${packetizer_mpeg4audio_p_TRUE}" && test -z 
"${packetizer_mpeg4audio_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"packetizer_mpeg4audio_p\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"packetizer_mpeg4audio_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${packetizer_mpeg4audio_b_TRUE}" && test -z 
"${packetizer_mpeg4audio_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"packetizer_mpeg4audio_b\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"packetizer_mpeg4audio_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${stream_out_dummy_p_TRUE}" && test -z 
"${stream_out_dummy_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"stream_out_dummy_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"stream_out_dummy_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${stream_out_dummy_b_TRUE}" && test -z 
"${stream_out_dummy_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"stream_out_dummy_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"stream_out_dummy_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${stream_out_standard_p_TRUE}" && test -z 
"${stream_out_standard_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"stream_out_standard_p\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"stream_out_standard_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${stream_out_standard_b_TRUE}" && test -z 
"${stream_out_standard_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"stream_out_standard_b\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"stream_out_standard_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${stream_out_transcode_p_TRUE}" && test -z 
"${stream_out_transcode_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"stream_out_transcode_p\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"stream_out_transcode_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${stream_out_transcode_b_TRUE}" && test -z 
"${stream_out_transcode_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"stream_out_transcode_b\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"stream_out_transcode_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${stream_out_duplicate_p_TRUE}" && test -z 
"${stream_out_duplicate_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"stream_out_duplicate_p\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"stream_out_duplicate_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${stream_out_duplicate_b_TRUE}" && test -z 
"${stream_out_duplicate_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"stream_out_duplicate_b\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"stream_out_duplicate_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${stream_out_es_p_TRUE}" && test -z "${stream_out_es_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"stream_out_es_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"stream_out_es_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${stream_out_es_b_TRUE}" && test -z "${stream_out_es_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"stream_out_es_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"stream_out_es_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${stream_out_display_p_TRUE}" && test -z 
"${stream_out_display_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"stream_out_display_p\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"stream_out_display_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${stream_out_display_b_TRUE}" && test -z 
"${stream_out_display_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"stream_out_display_b\" was 
never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"stream_out_display_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${i420_rgb_p_TRUE}" && test -z "${i420_rgb_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"i420_rgb_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"i420_rgb_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${i420_rgb_b_TRUE}" && test -z "${i420_rgb_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"i420_rgb_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"i420_rgb_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${i420_rgb_mmx_p_TRUE}" && test -z "${i420_rgb_mmx_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"i420_rgb_mmx_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"i420_rgb_mmx_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${i420_rgb_mmx_b_TRUE}" && test -z "${i420_rgb_mmx_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"i420_rgb_mmx_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"i420_rgb_mmx_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${i420_yuy2_p_TRUE}" && test -z "${i420_yuy2_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"i420_yuy2_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"i420_yuy2_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${i420_yuy2_b_TRUE}" && test -z "${i420_yuy2_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"i420_yuy2_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"i420_yuy2_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${i420_yuy2_mmx_p_TRUE}" && test -z "${i420_yuy2_mmx_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"i420_yuy2_mmx_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"i420_yuy2_mmx_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${i420_yuy2_mmx_b_TRUE}" && test -z "${i420_yuy2_mmx_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"i420_yuy2_mmx_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"i420_yuy2_mmx_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${i422_yuy2_p_TRUE}" && test -z "${i422_yuy2_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"i422_yuy2_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"i422_yuy2_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${i422_yuy2_b_TRUE}" && test -z "${i422_yuy2_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"i422_yuy2_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"i422_yuy2_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${i422_yuy2_mmx_p_TRUE}" && test -z "${i422_yuy2_mmx_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"i422_yuy2_mmx_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"i422_yuy2_mmx_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${i422_yuy2_mmx_b_TRUE}" && test -z "${i422_yuy2_mmx_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"i422_yuy2_mmx_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"i422_yuy2_mmx_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${i420_ymga_p_TRUE}" && test -z "${i420_ymga_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"i420_ymga_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"i420_ymga_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${i420_ymga_b_TRUE}" && test -z "${i420_ymga_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"i420_ymga_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"i420_ymga_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${i420_ymga_mmx_p_TRUE}" && test -z "${i420_ymga_mmx_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"i420_ymga_mmx_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"i420_ymga_mmx_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${i420_ymga_mmx_b_TRUE}" && test -z "${i420_ymga_mmx_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"i420_ymga_mmx_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"i420_ymga_mmx_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${transform_p_TRUE}" && test -z "${transform_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"transform_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"transform_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${transform_b_TRUE}" && test -z "${transform_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"transform_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"transform_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${invert_p_TRUE}" && test -z "${invert_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"invert_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"invert_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${invert_b_TRUE}" && test -z "${invert_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"invert_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"invert_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${adjust_p_TRUE}" && test -z "${adjust_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"adjust_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"adjust_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${adjust_b_TRUE}" && test -z "${adjust_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"adjust_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"adjust_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${distort_p_TRUE}" && test -z "${distort_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"distort_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"distort_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${distort_b_TRUE}" && test -z "${distort_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"distort_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"distort_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${wall_p_TRUE}" && test -z "${wall_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"wall_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"wall_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${wall_b_TRUE}" && test -z "${wall_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"wall_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"wall_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${clone_p_TRUE}" && test -z "${clone_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"clone_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"clone_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${clone_b_TRUE}" && test -z "${clone_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"clone_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"clone_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${crop_p_TRUE}" && test -z "${crop_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"crop_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"crop_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${crop_b_TRUE}" && test -z "${crop_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"crop_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"crop_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${motionblur_p_TRUE}" && test -z "${motionblur_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"motionblur_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"motionblur_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${motionblur_b_TRUE}" && test -z "${motionblur_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"motionblur_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"motionblur_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${osdtext_p_TRUE}" && test -z "${osdtext_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"osdtext_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"osdtext_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${osdtext_b_TRUE}" && test -z "${osdtext_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"osdtext_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"osdtext_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${deinterlace_p_TRUE}" && test -z "${deinterlace_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"deinterlace_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"deinterlace_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${deinterlace_b_TRUE}" && test -z "${deinterlace_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"deinterlace_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"deinterlace_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${aa_p_TRUE}" && test -z "${aa_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"aa_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"aa_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${aa_b_TRUE}" && test -z "${aa_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"aa_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"aa_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${fb_p_TRUE}" && test -z "${fb_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"fb_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"fb_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${fb_b_TRUE}" && test -z "${fb_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"fb_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"fb_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${ggi_p_TRUE}" && test -z "${ggi_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"ggi_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"ggi_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${ggi_b_TRUE}" && test -z "${ggi_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"ggi_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"ggi_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${glide_p_TRUE}" && test -z "${glide_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"glide_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"glide_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${glide_b_TRUE}" && test -z "${glide_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"glide_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"glide_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${vout_sdl_p_TRUE}" && test -z "${vout_sdl_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"vout_sdl_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"vout_sdl_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${vout_sdl_b_TRUE}" && test -z "${vout_sdl_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"vout_sdl_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"vout_sdl_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${svgalib_p_TRUE}" && test -z "${svgalib_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"svgalib_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"svgalib_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${svgalib_b_TRUE}" && test -z "${svgalib_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"svgalib_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"svgalib_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${wingdi_p_TRUE}" && test -z "${wingdi_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"wingdi_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"wingdi_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${wingdi_b_TRUE}" && test -z "${wingdi_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"wingdi_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"wingdi_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${vout_encoder_p_TRUE}" && test -z "${vout_encoder_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"vout_encoder_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"vout_encoder_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${vout_encoder_b_TRUE}" && test -z "${vout_encoder_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"vout_encoder_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"vout_encoder_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${vout_directx_p_TRUE}" && test -z "${vout_directx_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"vout_directx_p\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"vout_directx_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${vout_directx_b_TRUE}" && test -z "${vout_directx_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"vout_directx_b\" was never 
defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"vout_directx_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${mga_p_TRUE}" && test -z "${mga_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"mga_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"mga_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${mga_b_TRUE}" && test -z "${mga_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"mga_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"mga_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${xmga_p_TRUE}" && test -z "${xmga_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"xmga_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"xmga_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${xmga_b_TRUE}" && test -z "${xmga_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"xmga_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"xmga_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${qte_p_TRUE}" && test -z "${qte_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"qte_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"qte_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${qte_b_TRUE}" && test -z "${qte_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"qte_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"qte_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${x11_p_TRUE}" && test -z "${x11_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"x11_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"x11_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${x11_b_TRUE}" && test -z "${x11_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"x11_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"x11_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${xvideo_p_TRUE}" && test -z "${xvideo_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"xvideo_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"xvideo_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${xvideo_b_TRUE}" && test -z "${xvideo_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"xvideo_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"xvideo_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${scope_p_TRUE}" && test -z "${scope_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"scope_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"scope_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${scope_b_TRUE}" && test -z "${scope_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"scope_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"scope_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${xosd_p_TRUE}" && test -z "${xosd_p_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"xosd_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"xosd_p\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${xosd_b_TRUE}" && test -z "${xosd_b_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"xosd_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"xosd_b\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi
if test -z "${UNTRUE_TRUE}" && test -z "${UNTRUE_FALSE}"; then
  { { echo "$as_me:$LINENO: error: conditional \"UNTRUE\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"UNTRUE\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
   { (exit 1); exit 1; }; }
fi

: ${CONFIG_STATUS=./config.status}
ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
echo "$as_me: creating $CONFIG_STATUS" >&6;}
cat >$CONFIG_STATUS <<_ACEOF
#! $SHELL
# Generated by $as_me.
# Run this file to recreate the current configuration.
# Compiler output produced by configure, useful for debugging
# configure, is in config.log if it exists.

debug=false
ac_cs_recheck=false
ac_cs_silent=false
SHELL=\${CONFIG_SHELL-$SHELL}
_ACEOF

cat >>$CONFIG_STATUS <<\_ACEOF
## --------------------- ##
## M4sh Initialization.  ##
## --------------------- ##

# Be Bourne compatible
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  emulate sh
  NULLCMD=:
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  # is contrary to our usage.  Disable this feature.
  alias -g '${1+"$@"}'='"$@"'
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  set -o posix
fi

# Support unset when possible.
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
  as_unset=unset
else
  as_unset=false
fi


# Work around bugs in pre-3.0 UWIN ksh.
$as_unset ENV MAIL MAILPATH
PS1='$ '
PS2='> '
PS4='+ '

# NLS nuisances.
for as_var in \
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  LC_TELEPHONE LC_TIME
do
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
    eval $as_var=C; export $as_var
  else
    $as_unset $as_var
  fi
done

# Required to use basename.
if expr a : '\(a\)' >/dev/null 2>&1; then
  as_expr=expr
else
  as_expr=false
fi

if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  as_basename=basename
else
  as_basename=false
fi


# Name of the executable.
as_me=`$as_basename "$0" ||
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
         X"$0" : 'X\(//\)$' \| \
         X"$0" : 'X\(/\)$' \| \
         .     : '\(.\)' 2>/dev/null ||
echo X/"$0" |
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
          /^X\/\(\/\/\)$/{ s//\1/; q; }
          /^X\/\(\/\).*/{ s//\1/; q; }
          s/.*/./; q'`


# PATH needs CR, and LINENO needs CR and PATH.
# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits

# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
  echo "#! /bin/sh" >conf$$.sh
  echo  "exit 0"   >>conf$$.sh
  chmod +x conf$$.sh
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
  rm -f conf$$.sh
fi


  as_lineno_1=$LINENO
  as_lineno_2=$LINENO
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  test "x$as_lineno_1" != "x$as_lineno_2" &&
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  # Find who we are.  Look in the path if we contain no path at all
  # relative or not.
  case $0 in
    *[\\/]* ) as_myself=$0 ;;
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
done

       ;;
  esac
  # We did not find ourselves, most probably we were run as `sh COMMAND'
  # in which case we are not to be found in the path.
  if test "x$as_myself" = x; then
    as_myself=$0
  fi
  if test ! -f "$as_myself"; then
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute 
path" >&5
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
   { (exit 1); exit 1; }; }
  fi
  case $CONFIG_SHELL in
  '')
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for as_base in sh bash ksh sh5; do
         case $as_dir in
         /*)
           if ("$as_dir/$as_base" -c '
  as_lineno_1=$LINENO
  as_lineno_2=$LINENO
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  test "x$as_lineno_1" != "x$as_lineno_2" &&
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { 
BASH_ENV=; export BASH_ENV; }
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
             CONFIG_SHELL=$as_dir/$as_base
             export CONFIG_SHELL
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
           fi;;
         esac
       done
done
;;
  esac

  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  # uniformly replaced by the line number.  The first 'sed' inserts a
  # line-number line before each line; the second 'sed' does the real
  # work.  The second script uses 'N' to pair each line-number line
  # with the numbered line, and appends trailing '-' during
  # substitution so that $LINENO is not a special case at line end.
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
  sed '=' <$as_myself |
    sed '
      N
      s,$,-,
      : loop
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
      t loop
      s,-$,,
      s,^['$as_cr_digits']*\n,,
    ' >$as_me.lineno &&
  chmod +x $as_me.lineno ||
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a 
POSIX shell" >&5
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" 
>&2;}
   { (exit 1); exit 1; }; }

  # Don't try to exec as it changes $[0], causing all sort of problems
  # (the dirname of $[0] is not the place where we might find the
  # original and so on.  Autoconf is especially sensible to this).
  . ./$as_me.lineno
  # Exit status is that of the last command.
  exit
}


case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  *c*,-n*) ECHO_N= ECHO_C='
' ECHO_T='      ' ;;
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
esac

if expr a : '\(a\)' >/dev/null 2>&1; then
  as_expr=expr
else
  as_expr=false
fi

rm -f conf$$ conf$$.exe conf$$.file
echo >conf$$.file
if ln -s conf$$.file conf$$ 2>/dev/null; then
  # We could just check for DJGPP; but this test a) works b) is more generic
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  if test -f conf$$.exe; then
    # Don't use ln at all; we don't have any links
    as_ln_s='cp -p'
  else
    as_ln_s='ln -s'
  fi
elif ln conf$$.file conf$$ 2>/dev/null; then
  as_ln_s=ln
else
  as_ln_s='cp -p'
fi
rm -f conf$$ conf$$.exe conf$$.file

if mkdir -p . 2>/dev/null; then
  as_mkdir_p=:
else
  as_mkdir_p=false
fi

as_executable_p="test -f"

# Sed expression to map a string onto a valid CPP name.
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"

# Sed expression to map a string onto a valid variable name.
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"


# IFS
# We need space, tab and new line, in precisely that order.
as_nl='
'
IFS="   $as_nl"

# CDPATH.
$as_unset CDPATH

exec 6>&1

# Open the log real soon, to keep \$[0] and so on meaningful, and to
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.  Logging --version etc. is OK.
exec 5>>config.log
{
  echo
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
## Running $as_me. ##
_ASBOX
} >&5
cat >&5 <<_CSEOF

This file was extended by vlc $as_me 0.6.0, which was
generated by GNU Autoconf 2.57.  Invocation command line was

  CONFIG_FILES    = $CONFIG_FILES
  CONFIG_HEADERS  = $CONFIG_HEADERS
  CONFIG_LINKS    = $CONFIG_LINKS
  CONFIG_COMMANDS = $CONFIG_COMMANDS
  $ $0 $@

_CSEOF
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
echo >&5
_ACEOF

# Files that config.status was made for.
if test -n "$ac_config_files"; then
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
fi

if test -n "$ac_config_headers"; then
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
fi

if test -n "$ac_config_links"; then
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
fi

if test -n "$ac_config_commands"; then
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
fi

cat >>$CONFIG_STATUS <<\_ACEOF

ac_cs_usage="\
\`$as_me' instantiates files from templates according to the
current configuration.

Usage: $0 [OPTIONS] [FILE]...

  -h, --help       print this help, then exit
  -V, --version    print version number, then exit
  -q, --quiet      do not print progress messages
  -d, --debug      don't remove temporary files
      --recheck    update $as_me by reconfiguring in the same conditions
  --file=FILE[:TEMPLATE]
                   instantiate the configuration file FILE
  --header=FILE[:TEMPLATE]
                   instantiate the configuration header FILE

Configuration files:
$config_files

Configuration headers:
$config_headers

Configuration commands:
$config_commands

Report bugs to <address@hidden>."
_ACEOF

cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
vlc config.status 0.6.0
configured by $0, generated by GNU Autoconf 2.57,
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"

Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it."
srcdir=$srcdir
INSTALL="$INSTALL"
_ACEOF

cat >>$CONFIG_STATUS <<\_ACEOF
# If no file are specified by the user, then we need to provide default
# value.  By we need to know if files were specified by the user.
ac_need_defaults=:
while test $# != 0
do
  case $1 in
  --*=*)
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
    ac_shift=:
    ;;
  -*)
    ac_option=$1
    ac_optarg=$2
    ac_shift=shift
    ;;
  *) # This is not an option, so the user has probably given explicit
     # arguments.
     ac_option=$1
     ac_need_defaults=false;;
  esac

  case $ac_option in
  # Handling of the options.
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    ac_cs_recheck=: ;;
  --version | --vers* | -V )
    echo "$ac_cs_version"; exit 0 ;;
  --he | --h)
    # Conflict between --help and --header
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
Try \`$0 --help' for more information." >&5
echo "$as_me: error: ambiguous option: $1
Try \`$0 --help' for more information." >&2;}
   { (exit 1); exit 1; }; };;
  --help | --hel | -h )
    echo "$ac_cs_usage"; exit 0 ;;
  --debug | --d* | -d )
    debug=: ;;
  --file | --fil | --fi | --f )
    $ac_shift
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
    ac_need_defaults=false;;
  --header | --heade | --head | --hea )
    $ac_shift
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
    ac_need_defaults=false;;
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
    ac_cs_silent=: ;;

  # This is an error.
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
Try \`$0 --help' for more information." >&5
echo "$as_me: error: unrecognized option: $1
Try \`$0 --help' for more information." >&2;}
   { (exit 1); exit 1; }; } ;;

  *) ac_config_targets="$ac_config_targets $1" ;;

  esac
  shift
done

ac_configure_extra_args=

if $ac_cs_silent; then
  exec 6>/dev/null
  ac_configure_extra_args="$ac_configure_extra_args --silent"
fi

_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
if \$ac_cs_recheck; then
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " 
--no-create --no-recursion" >&6
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create 
--no-recursion
fi

_ACEOF

cat >>$CONFIG_STATUS <<_ACEOF
#
# INIT-COMMANDS section.
#

AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
    # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
    # from automake.
    eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
    # Capture the value of LINGUAS because we need it to compute CATALOGS.
    LINGUAS="${LINGUAS-%UNSET%}"


_ACEOF



cat >>$CONFIG_STATUS <<\_ACEOF
for ac_config_target in $ac_config_targets
do
  case "$ac_config_target" in
  # Handling of arguments.
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  "autotools/Makefile" ) CONFIG_FILES="$CONFIG_FILES autotools/Makefile" ;;
  "debian/Makefile" ) CONFIG_FILES="$CONFIG_FILES debian/Makefile" ;;
  "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
  "intl/Makefile" ) CONFIG_FILES="$CONFIG_FILES intl/Makefile" ;;
  "ipkg/Makefile" ) CONFIG_FILES="$CONFIG_FILES ipkg/Makefile" ;;
  "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
  "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
  "modules/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
  "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
  "share/Makefile" ) CONFIG_FILES="$CONFIG_FILES share/Makefile" ;;
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  "vlc-config" ) CONFIG_FILES="$CONFIG_FILES vlc-config" ;;
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
  "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   { (exit 1); exit 1; }; };;
  esac
done

# If the user did not use the arguments to specify the items to instantiate,
# then the envvar interface is used.  Set only those that are not.
# We use the long form for the default assignment because of an extremely
# bizarre bug on SunOS 4.1.3.
if $ac_need_defaults; then
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
fi

# Have a temporary directory for convenience.  Make it in the build tree
# simply because there is no reason to put it here, and in addition,
# creating and moving files from /tmp can sometimes cause problems.
# Create a temporary directory, and hook for its removal unless debugging.
$debug ||
{
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
  trap '{ (exit 1); exit 1; }' 1 2 13 15
}

# Create a (secure) tmp directory for tmp files.

{
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
  test -n "$tmp" && test -d "$tmp"
}  ||
{
  tmp=./confstat$$-$RANDOM
  (umask 077 && mkdir $tmp)
} ||
{
   echo "$me: cannot create a temporary directory in ." >&2
   { (exit 1); exit 1; }
}

_ACEOF

cat >>$CONFIG_STATUS <<_ACEOF

#
# CONFIG_FILES section.
#

# No need to generate the scripts if there are no CONFIG_FILES.
# This happens for instance when ./config.status config.h
if test -n "\$CONFIG_FILES"; then
  # Protect against being on the right side of a sed subst in config.status.
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
s,@SHELL@,$SHELL,;t t
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
s,@exec_prefix@,$exec_prefix,;t t
s,@prefix@,$prefix,;t t
s,@program_transform_name@,$program_transform_name,;t t
s,@bindir@,$bindir,;t t
s,@sbindir@,$sbindir,;t t
s,@libexecdir@,$libexecdir,;t t
s,@datadir@,$datadir,;t t
s,@sysconfdir@,$sysconfdir,;t t
s,@sharedstatedir@,$sharedstatedir,;t t
s,@localstatedir@,$localstatedir,;t t
s,@libdir@,$libdir,;t t
s,@includedir@,$includedir,;t t
s,@oldincludedir@,$oldincludedir,;t t
s,@infodir@,$infodir,;t t
s,@mandir@,$mandir,;t t
s,@build_alias@,$build_alias,;t t
s,@host_alias@,$host_alias,;t t
s,@target_alias@,$target_alias,;t t
s,@DEFS@,$DEFS,;t t
s,@ECHO_C@,$ECHO_C,;t t
s,@ECHO_N@,$ECHO_N,;t t
s,@ECHO_T@,$ECHO_T,;t t
s,@LIBS@,$LIBS,;t t
s,@build@,$build,;t t
s,@build_cpu@,$build_cpu,;t t
s,@build_vendor@,$build_vendor,;t t
s,@build_os@,$build_os,;t t
s,@host@,$host,;t t
s,@host_cpu@,$host_cpu,;t t
s,@host_vendor@,$host_vendor,;t t
s,@host_os@,$host_os,;t t
s,@target@,$target,;t t
s,@target_cpu@,$target_cpu,;t t
s,@target_vendor@,$target_vendor,;t t
s,@target_os@,$target_os,;t t
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
s,@CYGPATH_W@,$CYGPATH_W,;t t
s,@PACKAGE@,$PACKAGE,;t t
s,@VERSION@,$VERSION,;t t
s,@ACLOCAL@,$ACLOCAL,;t t
s,@AUTOCONF@,$AUTOCONF,;t t
s,@AUTOMAKE@,$AUTOMAKE,;t t
s,@AUTOHEADER@,$AUTOHEADER,;t t
s,@MAKEINFO@,$MAKEINFO,;t t
s,@AMTAR@,$AMTAR,;t t
s,@install_sh@,$install_sh,;t t
s,@STRIP@,$STRIP,;t t
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
s,@AWK@,$AWK,;t t
s,@SET_MAKE@,$SET_MAKE,;t t
s,@am__leading_dot@,$am__leading_dot,;t t
s,@CC@,$CC,;t t
s,@CFLAGS@,$CFLAGS,;t t
s,@LDFLAGS@,$LDFLAGS,;t t
s,@CPPFLAGS@,$CPPFLAGS,;t t
s,@ac_ct_CC@,$ac_ct_CC,;t t
s,@EXEEXT@,$EXEEXT,;t t
s,@OBJEXT@,$OBJEXT,;t t
s,@DEPDIR@,$DEPDIR,;t t
s,@am__include@,$am__include,;t t
s,@am__quote@,$am__quote,;t t
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
s,@CCDEPMODE@,$CCDEPMODE,;t t
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
s,@CPP@,$CPP,;t t
s,@CXX@,$CXX,;t t
s,@CXXFLAGS@,$CXXFLAGS,;t t
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
s,@EGREP@,$EGREP,;t t
s,@OBJC@,$OBJC,;t t
s,@OBJCFLAGS@,$OBJCFLAGS,;t t
s,@OBJCDEPMODE@,$OBJCDEPMODE,;t t
s,@am__fastdepOBJC_TRUE@,$am__fastdepOBJC_TRUE,;t t
s,@am__fastdepOBJC_FALSE@,$am__fastdepOBJC_FALSE,;t t
s,@RANLIB@,$RANLIB,;t t
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
s,@AR@,$AR,;t t
s,@ac_ct_AR@,$ac_ct_AR,;t t
s,@LD@,$LD,;t t
s,@ac_ct_LD@,$ac_ct_LD,;t t
s,@WINDRES@,$WINDRES,;t t
s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
s,@HAVE_BEOS_TRUE@,$HAVE_BEOS_TRUE,;t t
s,@HAVE_BEOS_FALSE@,$HAVE_BEOS_FALSE,;t t
s,@HAVE_DARWIN_TRUE@,$HAVE_DARWIN_TRUE,;t t
s,@HAVE_DARWIN_FALSE@,$HAVE_DARWIN_FALSE,;t t
s,@HAVE_WIN32_TRUE@,$HAVE_WIN32_TRUE,;t t
s,@HAVE_WIN32_FALSE@,$HAVE_WIN32_FALSE,;t t
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
s,@MSGFMT@,$MSGFMT,;t t
s,@GMSGFMT@,$GMSGFMT,;t t
s,@XGETTEXT@,$XGETTEXT,;t t
s,@MSGMERGE@,$MSGMERGE,;t t
s,@ALLOCA@,$ALLOCA,;t t
s,@GLIBC21@,$GLIBC21,;t t
s,@LIBICONV@,$LIBICONV,;t t
s,@LTLIBICONV@,$LTLIBICONV,;t t
s,@INTLBISON@,$INTLBISON,;t t
s,@USE_NLS@,$USE_NLS,;t t
s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
s,@CATOBJEXT@,$CATOBJEXT,;t t
s,@INTLOBJS@,$INTLOBJS,;t t
s,@DATADIRNAME@,$DATADIRNAME,;t t
s,@INSTOBJEXT@,$INSTOBJEXT,;t t
s,@GENCAT@,$GENCAT,;t t
s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
s,@INTLLIBS@,$INTLLIBS,;t t
s,@LIBINTL@,$LIBINTL,;t t
s,@LTLIBINTL@,$LTLIBINTL,;t t
s,@POSUB@,$POSUB,;t t
s,@BUILD_INTL_TRUE@,$BUILD_INTL_TRUE,;t t
s,@BUILD_INTL_FALSE@,$BUILD_INTL_FALSE,;t t
s,@BUILD_GETOPT_TRUE@,$BUILD_GETOPT_TRUE,;t t
s,@BUILD_GETOPT_FALSE@,$BUILD_GETOPT_FALSE,;t t
s,@BUILD_DIRENT_TRUE@,$BUILD_DIRENT_TRUE,;t t
s,@BUILD_DIRENT_FALSE@,$BUILD_DIRENT_FALSE,;t t
s,@GPROF_TRUE@,$GPROF_TRUE,;t t
s,@GPROF_FALSE@,$GPROF_FALSE,;t t
s,@CPROF_TRUE@,$CPROF_TRUE,;t t
s,@CPROF_FALSE@,$CPROF_FALSE,;t t
s,@OPTIM_TRUE@,$OPTIM_TRUE,;t t
s,@OPTIM_FALSE@,$OPTIM_FALSE,;t t
s,@DEBUG_TRUE@,$DEBUG_TRUE,;t t
s,@DEBUG_FALSE@,$DEBUG_FALSE,;t t
s,@RELEASE_TRUE@,$RELEASE_TRUE,;t t
s,@RELEASE_FALSE@,$RELEASE_FALSE,;t t
s,@CXXCPP@,$CXXCPP,;t t
s,@SDL12_CONFIG@,$SDL12_CONFIG,;t t
s,@SDL11_CONFIG@,$SDL11_CONFIG,;t t
s,@SDL_CONFIG@,$SDL_CONFIG,;t t
s,@FREETYPE_CONFIG@,$FREETYPE_CONFIG,;t t
s,@ESD_CONFIG@,$ESD_CONFIG,;t t
s,@ARTS_CONFIG@,$ARTS_CONFIG,;t t
s,@WX_CONFIG_SKINS@,$WX_CONFIG_SKINS,;t t
s,@IMLIB2_CONFIG_SKINS@,$IMLIB2_CONFIG_SKINS,;t t
s,@GTK12_CONFIG@,$GTK12_CONFIG,;t t
s,@GTK_CONFIG@,$GTK_CONFIG,;t t
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
s,@GTK2_CFLAGS@,$GTK2_CFLAGS,;t t
s,@GTK2_LIBS@,$GTK2_LIBS,;t t
s,@GNOME_CONFIG@,$GNOME_CONFIG,;t t
s,@GNOME2_CFLAGS@,$GNOME2_CFLAGS,;t t
s,@GNOME2_LIBS@,$GNOME2_LIBS,;t t
s,@WX_CONFIG@,$WX_CONFIG,;t t
s,@MOZILLA_CONFIG@,$MOZILLA_CONFIG,;t t
s,@BUILD_MOZILLA_TRUE@,$BUILD_MOZILLA_TRUE,;t t
s,@BUILD_MOZILLA_FALSE@,$BUILD_MOZILLA_FALSE,;t t
s,@HAVE_PLUGINS_TRUE@,$HAVE_PLUGINS_TRUE,;t t
s,@HAVE_PLUGINS_FALSE@,$HAVE_PLUGINS_FALSE,;t t
s,@HAVE_BUILTINS_TRUE@,$HAVE_BUILTINS_TRUE,;t t
s,@HAVE_BUILTINS_FALSE@,$HAVE_BUILTINS_FALSE,;t t
s,@access_file_p_TRUE@,$access_file_p_TRUE,;t t
s,@access_file_p_FALSE@,$access_file_p_FALSE,;t t
s,@access_file_b_TRUE@,$access_file_b_TRUE,;t t
s,@access_file_b_FALSE@,$access_file_b_FALSE,;t t
s,@access_directory_p_TRUE@,$access_directory_p_TRUE,;t t
s,@access_directory_p_FALSE@,$access_directory_p_FALSE,;t t
s,@access_directory_b_TRUE@,$access_directory_b_TRUE,;t t
s,@access_directory_b_FALSE@,$access_directory_b_FALSE,;t t
s,@LDFLAGS_access_udp@,$LDFLAGS_access_udp,;t t
s,@access_udp_p_TRUE@,$access_udp_p_TRUE,;t t
s,@access_udp_p_FALSE@,$access_udp_p_FALSE,;t t
s,@access_udp_b_TRUE@,$access_udp_b_TRUE,;t t
s,@access_udp_b_FALSE@,$access_udp_b_FALSE,;t t
s,@LDFLAGS_access_http@,$LDFLAGS_access_http,;t t
s,@access_http_p_TRUE@,$access_http_p_TRUE,;t t
s,@access_http_p_FALSE@,$access_http_p_FALSE,;t t
s,@access_http_b_TRUE@,$access_http_b_TRUE,;t t
s,@access_http_b_FALSE@,$access_http_b_FALSE,;t t
s,@LDFLAGS_access_ftp@,$LDFLAGS_access_ftp,;t t
s,@access_ftp_p_TRUE@,$access_ftp_p_TRUE,;t t
s,@access_ftp_p_FALSE@,$access_ftp_p_FALSE,;t t
s,@access_ftp_b_TRUE@,$access_ftp_b_TRUE,;t t
s,@access_ftp_b_FALSE@,$access_ftp_b_FALSE,;t t
s,@CPPFLAGS_slp@,$CPPFLAGS_slp,;t t
s,@LDFLAGS_slp@,$LDFLAGS_slp,;t t
s,@slp_p_TRUE@,$slp_p_TRUE,;t t
s,@slp_p_FALSE@,$slp_p_FALSE,;t t
s,@slp_b_TRUE@,$slp_b_TRUE,;t t
s,@slp_b_FALSE@,$slp_b_FALSE,;t t
s,@LDFLAGS_cdda@,$LDFLAGS_cdda,;t t
s,@cdda_p_TRUE@,$cdda_p_TRUE,;t t
s,@cdda_p_FALSE@,$cdda_p_FALSE,;t t
s,@cdda_b_TRUE@,$cdda_b_TRUE,;t t
s,@cdda_b_FALSE@,$cdda_b_FALSE,;t t
s,@CPPFLAGS_dvd@,$CPPFLAGS_dvd,;t t
s,@LDFLAGS_dvd@,$LDFLAGS_dvd,;t t
s,@dvd_p_TRUE@,$dvd_p_TRUE,;t t
s,@dvd_p_FALSE@,$dvd_p_FALSE,;t t
s,@dvd_b_TRUE@,$dvd_b_TRUE,;t t
s,@dvd_b_FALSE@,$dvd_b_FALSE,;t t
s,@CPPFLAGS_dvdplay@,$CPPFLAGS_dvdplay,;t t
s,@LDFLAGS_dvdplay@,$LDFLAGS_dvdplay,;t t
s,@dvdplay_p_TRUE@,$dvdplay_p_TRUE,;t t
s,@dvdplay_p_FALSE@,$dvdplay_p_FALSE,;t t
s,@dvdplay_b_TRUE@,$dvdplay_b_TRUE,;t t
s,@dvdplay_b_FALSE@,$dvdplay_b_FALSE,;t t
s,@CPPFLAGS_dvdread@,$CPPFLAGS_dvdread,;t t
s,@LDFLAGS_dvdread@,$LDFLAGS_dvdread,;t t
s,@dvdread_p_TRUE@,$dvdread_p_TRUE,;t t
s,@dvdread_p_FALSE@,$dvdread_p_FALSE,;t t
s,@dvdread_b_TRUE@,$dvdread_b_TRUE,;t t
s,@dvdread_b_FALSE@,$dvdread_b_FALSE,;t t
s,@LDFLAGS_access_mms@,$LDFLAGS_access_mms,;t t
s,@access_mms_p_TRUE@,$access_mms_p_TRUE,;t t
s,@access_mms_p_FALSE@,$access_mms_p_FALSE,;t t
s,@access_mms_b_TRUE@,$access_mms_b_TRUE,;t t
s,@access_mms_b_FALSE@,$access_mms_b_FALSE,;t t
s,@pvr_p_TRUE@,$pvr_p_TRUE,;t t
s,@pvr_p_FALSE@,$pvr_p_FALSE,;t t
s,@pvr_b_TRUE@,$pvr_b_TRUE,;t t
s,@pvr_b_FALSE@,$pvr_b_FALSE,;t t
s,@satellite_p_TRUE@,$satellite_p_TRUE,;t t
s,@satellite_p_FALSE@,$satellite_p_FALSE,;t t
s,@satellite_b_TRUE@,$satellite_b_TRUE,;t t
s,@satellite_b_FALSE@,$satellite_b_FALSE,;t t
s,@v4l_p_TRUE@,$v4l_p_TRUE,;t t
s,@v4l_p_FALSE@,$v4l_p_FALSE,;t t
s,@v4l_b_TRUE@,$v4l_b_TRUE,;t t
s,@v4l_b_FALSE@,$v4l_b_FALSE,;t t
s,@LDFLAGS_vcd@,$LDFLAGS_vcd,;t t
s,@vcd_p_TRUE@,$vcd_p_TRUE,;t t
s,@vcd_p_FALSE@,$vcd_p_FALSE,;t t
s,@vcd_b_TRUE@,$vcd_b_TRUE,;t t
s,@vcd_b_FALSE@,$vcd_b_FALSE,;t t
s,@access_output_dummy_p_TRUE@,$access_output_dummy_p_TRUE,;t t
s,@access_output_dummy_p_FALSE@,$access_output_dummy_p_FALSE,;t t
s,@access_output_dummy_b_TRUE@,$access_output_dummy_b_TRUE,;t t
s,@access_output_dummy_b_FALSE@,$access_output_dummy_b_FALSE,;t t
s,@access_output_file_p_TRUE@,$access_output_file_p_TRUE,;t t
s,@access_output_file_p_FALSE@,$access_output_file_p_FALSE,;t t
s,@access_output_file_b_TRUE@,$access_output_file_b_TRUE,;t t
s,@access_output_file_b_FALSE@,$access_output_file_b_FALSE,;t t
s,@LDFLAGS_access_output_udp@,$LDFLAGS_access_output_udp,;t t
s,@access_output_udp_p_TRUE@,$access_output_udp_p_TRUE,;t t
s,@access_output_udp_p_FALSE@,$access_output_udp_p_FALSE,;t t
s,@access_output_udp_b_TRUE@,$access_output_udp_b_TRUE,;t t
s,@access_output_udp_b_FALSE@,$access_output_udp_b_FALSE,;t t
s,@access_output_http_p_TRUE@,$access_output_http_p_TRUE,;t t
s,@access_output_http_p_FALSE@,$access_output_http_p_FALSE,;t t
s,@access_output_http_b_TRUE@,$access_output_http_b_TRUE,;t t
s,@access_output_http_b_FALSE@,$access_output_http_b_FALSE,;t t
s,@trivial_channel_mixer_p_TRUE@,$trivial_channel_mixer_p_TRUE,;t t
s,@trivial_channel_mixer_p_FALSE@,$trivial_channel_mixer_p_FALSE,;t t
s,@trivial_channel_mixer_b_TRUE@,$trivial_channel_mixer_b_TRUE,;t t
s,@trivial_channel_mixer_b_FALSE@,$trivial_channel_mixer_b_FALSE,;t t
s,@LDFLAGS_headphone_channel_mixer@,$LDFLAGS_headphone_channel_mixer,;t t
s,@headphone_channel_mixer_p_TRUE@,$headphone_channel_mixer_p_TRUE,;t t
s,@headphone_channel_mixer_p_FALSE@,$headphone_channel_mixer_p_FALSE,;t t
s,@headphone_channel_mixer_b_TRUE@,$headphone_channel_mixer_b_TRUE,;t t
s,@headphone_channel_mixer_b_FALSE@,$headphone_channel_mixer_b_FALSE,;t t
s,@float32tos16_p_TRUE@,$float32tos16_p_TRUE,;t t
s,@float32tos16_p_FALSE@,$float32tos16_p_FALSE,;t t
s,@float32tos16_b_TRUE@,$float32tos16_b_TRUE,;t t
s,@float32tos16_b_FALSE@,$float32tos16_b_FALSE,;t t
s,@float32tos8_p_TRUE@,$float32tos8_p_TRUE,;t t
s,@float32tos8_p_FALSE@,$float32tos8_p_FALSE,;t t
s,@float32tos8_b_TRUE@,$float32tos8_b_TRUE,;t t
s,@float32tos8_b_FALSE@,$float32tos8_b_FALSE,;t t
s,@float32tou16_p_TRUE@,$float32tou16_p_TRUE,;t t
s,@float32tou16_p_FALSE@,$float32tou16_p_FALSE,;t t
s,@float32tou16_b_TRUE@,$float32tou16_b_TRUE,;t t
s,@float32tou16_b_FALSE@,$float32tou16_b_FALSE,;t t
s,@float32tou8_p_TRUE@,$float32tou8_p_TRUE,;t t
s,@float32tou8_p_FALSE@,$float32tou8_p_FALSE,;t t
s,@float32tou8_b_TRUE@,$float32tou8_b_TRUE,;t t
s,@float32tou8_b_FALSE@,$float32tou8_b_FALSE,;t t
s,@a52tospdif_p_TRUE@,$a52tospdif_p_TRUE,;t t
s,@a52tospdif_p_FALSE@,$a52tospdif_p_FALSE,;t t
s,@a52tospdif_b_TRUE@,$a52tospdif_b_TRUE,;t t
s,@a52tospdif_b_FALSE@,$a52tospdif_b_FALSE,;t t
s,@CPPFLAGS_a52tofloat32@,$CPPFLAGS_a52tofloat32,;t t
s,@LDFLAGS_a52tofloat32@,$LDFLAGS_a52tofloat32,;t t
s,@a52tofloat32_p_TRUE@,$a52tofloat32_p_TRUE,;t t
s,@a52tofloat32_p_FALSE@,$a52tofloat32_p_FALSE,;t t
s,@a52tofloat32_b_TRUE@,$a52tofloat32_b_TRUE,;t t
s,@a52tofloat32_b_FALSE@,$a52tofloat32_b_FALSE,;t t
s,@dtstospdif_p_TRUE@,$dtstospdif_p_TRUE,;t t
s,@dtstospdif_p_FALSE@,$dtstospdif_p_FALSE,;t t
s,@dtstospdif_b_TRUE@,$dtstospdif_b_TRUE,;t t
s,@dtstospdif_b_FALSE@,$dtstospdif_b_FALSE,;t t
s,@fixed32tos16_p_TRUE@,$fixed32tos16_p_TRUE,;t t
s,@fixed32tos16_p_FALSE@,$fixed32tos16_p_FALSE,;t t
s,@fixed32tos16_b_TRUE@,$fixed32tos16_b_TRUE,;t t
s,@fixed32tos16_b_FALSE@,$fixed32tos16_b_FALSE,;t t
s,@s16tofixed32_p_TRUE@,$s16tofixed32_p_TRUE,;t t
s,@s16tofixed32_p_FALSE@,$s16tofixed32_p_FALSE,;t t
s,@s16tofixed32_b_TRUE@,$s16tofixed32_b_TRUE,;t t
s,@s16tofixed32_b_FALSE@,$s16tofixed32_b_FALSE,;t t
s,@fixed32tofloat32_p_TRUE@,$fixed32tofloat32_p_TRUE,;t t
s,@fixed32tofloat32_p_FALSE@,$fixed32tofloat32_p_FALSE,;t t
s,@fixed32tofloat32_b_TRUE@,$fixed32tofloat32_b_TRUE,;t t
s,@fixed32tofloat32_b_FALSE@,$fixed32tofloat32_b_FALSE,;t t
s,@s16tofloat32_p_TRUE@,$s16tofloat32_p_TRUE,;t t
s,@s16tofloat32_p_FALSE@,$s16tofloat32_p_FALSE,;t t
s,@s16tofloat32_b_TRUE@,$s16tofloat32_b_TRUE,;t t
s,@s16tofloat32_b_FALSE@,$s16tofloat32_b_FALSE,;t t
s,@s16tofloat32swab_p_TRUE@,$s16tofloat32swab_p_TRUE,;t t
s,@s16tofloat32swab_p_FALSE@,$s16tofloat32swab_p_FALSE,;t t
s,@s16tofloat32swab_b_TRUE@,$s16tofloat32swab_b_TRUE,;t t
s,@s16tofloat32swab_b_FALSE@,$s16tofloat32swab_b_FALSE,;t t
s,@s8tofloat32_p_TRUE@,$s8tofloat32_p_TRUE,;t t
s,@s8tofloat32_p_FALSE@,$s8tofloat32_p_FALSE,;t t
s,@s8tofloat32_b_TRUE@,$s8tofloat32_b_TRUE,;t t
s,@s8tofloat32_b_FALSE@,$s8tofloat32_b_FALSE,;t t
s,@u8tofixed32_p_TRUE@,$u8tofixed32_p_TRUE,;t t
s,@u8tofixed32_p_FALSE@,$u8tofixed32_p_FALSE,;t t
s,@u8tofixed32_b_TRUE@,$u8tofixed32_b_TRUE,;t t
s,@u8tofixed32_b_FALSE@,$u8tofixed32_b_FALSE,;t t
s,@u8tofloat32_p_TRUE@,$u8tofloat32_p_TRUE,;t t
s,@u8tofloat32_p_FALSE@,$u8tofloat32_p_FALSE,;t t
s,@u8tofloat32_b_TRUE@,$u8tofloat32_b_TRUE,;t t
s,@u8tofloat32_b_FALSE@,$u8tofloat32_b_FALSE,;t t
s,@CPPFLAGS_mpgatofixed32@,$CPPFLAGS_mpgatofixed32,;t t
s,@LDFLAGS_mpgatofixed32@,$LDFLAGS_mpgatofixed32,;t t
s,@mpgatofixed32_p_TRUE@,$mpgatofixed32_p_TRUE,;t t
s,@mpgatofixed32_p_FALSE@,$mpgatofixed32_p_FALSE,;t t
s,@mpgatofixed32_b_TRUE@,$mpgatofixed32_b_TRUE,;t t
s,@mpgatofixed32_b_FALSE@,$mpgatofixed32_b_FALSE,;t t
s,@trivial_resampler_p_TRUE@,$trivial_resampler_p_TRUE,;t t
s,@trivial_resampler_p_FALSE@,$trivial_resampler_p_FALSE,;t t
s,@trivial_resampler_b_TRUE@,$trivial_resampler_b_TRUE,;t t
s,@trivial_resampler_b_FALSE@,$trivial_resampler_b_FALSE,;t t
s,@ugly_resampler_p_TRUE@,$ugly_resampler_p_TRUE,;t t
s,@ugly_resampler_p_FALSE@,$ugly_resampler_p_FALSE,;t t
s,@ugly_resampler_b_TRUE@,$ugly_resampler_b_TRUE,;t t
s,@ugly_resampler_b_FALSE@,$ugly_resampler_b_FALSE,;t t
s,@linear_resampler_p_TRUE@,$linear_resampler_p_TRUE,;t t
s,@linear_resampler_p_FALSE@,$linear_resampler_p_FALSE,;t t
s,@linear_resampler_b_TRUE@,$linear_resampler_b_TRUE,;t t
s,@linear_resampler_b_FALSE@,$linear_resampler_b_FALSE,;t t
s,@bandlimited_resampler_p_TRUE@,$bandlimited_resampler_p_TRUE,;t t
s,@bandlimited_resampler_p_FALSE@,$bandlimited_resampler_p_FALSE,;t t
s,@bandlimited_resampler_b_TRUE@,$bandlimited_resampler_b_TRUE,;t t
s,@bandlimited_resampler_b_FALSE@,$bandlimited_resampler_b_FALSE,;t t
s,@LDFLAGS_coreaudio_resampler@,$LDFLAGS_coreaudio_resampler,;t t
s,@coreaudio_resampler_p_TRUE@,$coreaudio_resampler_p_TRUE,;t t
s,@coreaudio_resampler_p_FALSE@,$coreaudio_resampler_p_FALSE,;t t
s,@coreaudio_resampler_b_TRUE@,$coreaudio_resampler_b_TRUE,;t t
s,@coreaudio_resampler_b_FALSE@,$coreaudio_resampler_b_FALSE,;t t
s,@trivial_mixer_p_TRUE@,$trivial_mixer_p_TRUE,;t t
s,@trivial_mixer_p_FALSE@,$trivial_mixer_p_FALSE,;t t
s,@trivial_mixer_b_TRUE@,$trivial_mixer_b_TRUE,;t t
s,@trivial_mixer_b_FALSE@,$trivial_mixer_b_FALSE,;t t
s,@float32_mixer_p_TRUE@,$float32_mixer_p_TRUE,;t t
s,@float32_mixer_p_FALSE@,$float32_mixer_p_FALSE,;t t
s,@float32_mixer_b_TRUE@,$float32_mixer_b_TRUE,;t t
s,@float32_mixer_b_FALSE@,$float32_mixer_b_FALSE,;t t
s,@spdif_mixer_p_TRUE@,$spdif_mixer_p_TRUE,;t t
s,@spdif_mixer_p_FALSE@,$spdif_mixer_p_FALSE,;t t
s,@spdif_mixer_b_TRUE@,$spdif_mixer_b_TRUE,;t t
s,@spdif_mixer_b_FALSE@,$spdif_mixer_b_FALSE,;t t
s,@LDFLAGS_alsa@,$LDFLAGS_alsa,;t t
s,@alsa_p_TRUE@,$alsa_p_TRUE,;t t
s,@alsa_p_FALSE@,$alsa_p_FALSE,;t t
s,@alsa_b_TRUE@,$alsa_b_TRUE,;t t
s,@alsa_b_FALSE@,$alsa_b_FALSE,;t t
s,@CFLAGS_arts@,$CFLAGS_arts,;t t
s,@LDFLAGS_arts@,$LDFLAGS_arts,;t t
s,@arts_p_TRUE@,$arts_p_TRUE,;t t
s,@arts_p_FALSE@,$arts_p_FALSE,;t t
s,@arts_b_TRUE@,$arts_b_TRUE,;t t
s,@arts_b_FALSE@,$arts_b_FALSE,;t t
s,@LDFLAGS_coreaudio@,$LDFLAGS_coreaudio,;t t
s,@coreaudio_p_TRUE@,$coreaudio_p_TRUE,;t t
s,@coreaudio_p_FALSE@,$coreaudio_p_FALSE,;t t
s,@coreaudio_b_TRUE@,$coreaudio_b_TRUE,;t t
s,@coreaudio_b_FALSE@,$coreaudio_b_FALSE,;t t
s,@CPPFLAGS_aout_directx@,$CPPFLAGS_aout_directx,;t t
s,@aout_directx_p_TRUE@,$aout_directx_p_TRUE,;t t
s,@aout_directx_p_FALSE@,$aout_directx_p_FALSE,;t t
s,@aout_directx_b_TRUE@,$aout_directx_b_TRUE,;t t
s,@aout_directx_b_FALSE@,$aout_directx_b_FALSE,;t t
s,@CFLAGS_esd@,$CFLAGS_esd,;t t
s,@LDFLAGS_esd@,$LDFLAGS_esd,;t t
s,@esd_p_TRUE@,$esd_p_TRUE,;t t
s,@esd_p_FALSE@,$esd_p_FALSE,;t t
s,@esd_b_TRUE@,$esd_b_TRUE,;t t
s,@esd_b_FALSE@,$esd_b_FALSE,;t t
s,@aout_file_p_TRUE@,$aout_file_p_TRUE,;t t
s,@aout_file_p_FALSE@,$aout_file_p_FALSE,;t t
s,@aout_file_b_TRUE@,$aout_file_b_TRUE,;t t
s,@aout_file_b_FALSE@,$aout_file_b_FALSE,;t t
s,@oss_p_TRUE@,$oss_p_TRUE,;t t
s,@oss_p_FALSE@,$oss_p_FALSE,;t t
s,@oss_b_TRUE@,$oss_b_TRUE,;t t
s,@oss_b_FALSE@,$oss_b_FALSE,;t t
s,@CFLAGS_aout_sdl@,$CFLAGS_aout_sdl,;t t
s,@LDFLAGS_aout_sdl@,$LDFLAGS_aout_sdl,;t t
s,@aout_sdl_p_TRUE@,$aout_sdl_p_TRUE,;t t
s,@aout_sdl_p_FALSE@,$aout_sdl_p_FALSE,;t t
s,@aout_sdl_b_TRUE@,$aout_sdl_b_TRUE,;t t
s,@aout_sdl_b_FALSE@,$aout_sdl_b_FALSE,;t t
s,@LDFLAGS_waveout@,$LDFLAGS_waveout,;t t
s,@waveout_p_TRUE@,$waveout_p_TRUE,;t t
s,@waveout_p_FALSE@,$waveout_p_FALSE,;t t
s,@waveout_b_TRUE@,$waveout_b_TRUE,;t t
s,@waveout_b_FALSE@,$waveout_b_FALSE,;t t
s,@a52_p_TRUE@,$a52_p_TRUE,;t t
s,@a52_p_FALSE@,$a52_p_FALSE,;t t
s,@a52_b_TRUE@,$a52_b_TRUE,;t t
s,@a52_b_FALSE@,$a52_b_FALSE,;t t
s,@dts_p_TRUE@,$dts_p_TRUE,;t t
s,@dts_p_FALSE@,$dts_p_FALSE,;t t
s,@dts_b_TRUE@,$dts_b_TRUE,;t t
s,@dts_b_FALSE@,$dts_b_FALSE,;t t
s,@LDFLAGS_flacdec@,$LDFLAGS_flacdec,;t t
s,@flacdec_p_TRUE@,$flacdec_p_TRUE,;t t
s,@flacdec_p_FALSE@,$flacdec_p_FALSE,;t t
s,@flacdec_b_TRUE@,$flacdec_b_TRUE,;t t
s,@flacdec_b_FALSE@,$flacdec_b_FALSE,;t t
s,@lpcm_p_TRUE@,$lpcm_p_TRUE,;t t
s,@lpcm_p_FALSE@,$lpcm_p_FALSE,;t t
s,@lpcm_b_TRUE@,$lpcm_b_TRUE,;t t
s,@lpcm_b_FALSE@,$lpcm_b_FALSE,;t t
s,@araw_p_TRUE@,$araw_p_TRUE,;t t
s,@araw_p_FALSE@,$araw_p_FALSE,;t t
s,@araw_b_TRUE@,$araw_b_TRUE,;t t
s,@araw_b_FALSE@,$araw_b_FALSE,;t t
s,@LDFLAGS_vorbis@,$LDFLAGS_vorbis,;t t
s,@vorbis_p_TRUE@,$vorbis_p_TRUE,;t t
s,@vorbis_p_FALSE@,$vorbis_p_FALSE,;t t
s,@vorbis_b_TRUE@,$vorbis_b_TRUE,;t t
s,@vorbis_b_FALSE@,$vorbis_b_FALSE,;t t
s,@CPPFLAGS_tarkin@,$CPPFLAGS_tarkin,;t t
s,@LDFLAGS_tarkin@,$LDFLAGS_tarkin,;t t
s,@tarkin_p_TRUE@,$tarkin_p_TRUE,;t t
s,@tarkin_p_FALSE@,$tarkin_p_FALSE,;t t
s,@tarkin_b_TRUE@,$tarkin_b_TRUE,;t t
s,@tarkin_b_FALSE@,$tarkin_b_FALSE,;t t
s,@LDFLAGS_theora@,$LDFLAGS_theora,;t t
s,@theora_p_TRUE@,$theora_p_TRUE,;t t
s,@theora_p_FALSE@,$theora_p_FALSE,;t t
s,@theora_b_TRUE@,$theora_b_TRUE,;t t
s,@theora_b_FALSE@,$theora_b_FALSE,;t t
s,@LDFLAGS_tremor@,$LDFLAGS_tremor,;t t
s,@tremor_p_TRUE@,$tremor_p_TRUE,;t t
s,@tremor_p_FALSE@,$tremor_p_FALSE,;t t
s,@tremor_b_TRUE@,$tremor_b_TRUE,;t t
s,@tremor_b_FALSE@,$tremor_b_FALSE,;t t
s,@LDFLAGS_dv@,$LDFLAGS_dv,;t t
s,@dv_p_TRUE@,$dv_p_TRUE,;t t
s,@dv_p_FALSE@,$dv_p_FALSE,;t t
s,@dv_b_TRUE@,$dv_b_TRUE,;t t
s,@dv_b_FALSE@,$dv_b_FALSE,;t t
s,@CPPFLAGS_xvid@,$CPPFLAGS_xvid,;t t
s,@LDFLAGS_xvid@,$LDFLAGS_xvid,;t t
s,@xvid_p_TRUE@,$xvid_p_TRUE,;t t
s,@xvid_p_FALSE@,$xvid_p_FALSE,;t t
s,@xvid_b_TRUE@,$xvid_b_TRUE,;t t
s,@xvid_b_FALSE@,$xvid_b_FALSE,;t t
s,@adpcm_p_TRUE@,$adpcm_p_TRUE,;t t
s,@adpcm_p_FALSE@,$adpcm_p_FALSE,;t t
s,@adpcm_b_TRUE@,$adpcm_b_TRUE,;t t
s,@adpcm_b_FALSE@,$adpcm_b_FALSE,;t t
s,@mpeg_audio_p_TRUE@,$mpeg_audio_p_TRUE,;t t
s,@mpeg_audio_p_FALSE@,$mpeg_audio_p_FALSE,;t t
s,@mpeg_audio_b_TRUE@,$mpeg_audio_b_TRUE,;t t
s,@mpeg_audio_b_FALSE@,$mpeg_audio_b_FALSE,;t t
s,@CFLAGS_libmpeg2@,$CFLAGS_libmpeg2,;t t
s,@LDFLAGS_libmpeg2@,$LDFLAGS_libmpeg2,;t t
s,@libmpeg2_p_TRUE@,$libmpeg2_p_TRUE,;t t
s,@libmpeg2_p_FALSE@,$libmpeg2_p_FALSE,;t t
s,@libmpeg2_b_TRUE@,$libmpeg2_b_TRUE,;t t
s,@libmpeg2_b_FALSE@,$libmpeg2_b_FALSE,;t t
s,@rawvideo_p_TRUE@,$rawvideo_p_TRUE,;t t
s,@rawvideo_p_FALSE@,$rawvideo_p_FALSE,;t t
s,@rawvideo_b_TRUE@,$rawvideo_b_TRUE,;t t
s,@rawvideo_b_FALSE@,$rawvideo_b_FALSE,;t t
s,@LDFLAGS_quicktime@,$LDFLAGS_quicktime,;t t
s,@quicktime_p_TRUE@,$quicktime_p_TRUE,;t t
s,@quicktime_p_FALSE@,$quicktime_p_FALSE,;t t
s,@quicktime_b_TRUE@,$quicktime_b_TRUE,;t t
s,@quicktime_b_FALSE@,$quicktime_b_FALSE,;t t
s,@a52old_p_TRUE@,$a52old_p_TRUE,;t t
s,@a52old_p_FALSE@,$a52old_p_FALSE,;t t
s,@a52old_b_TRUE@,$a52old_b_TRUE,;t t
s,@a52old_b_FALSE@,$a52old_b_FALSE,;t t
s,@downmix_p_TRUE@,$downmix_p_TRUE,;t t
s,@downmix_p_FALSE@,$downmix_p_FALSE,;t t
s,@downmix_b_TRUE@,$downmix_b_TRUE,;t t
s,@downmix_b_FALSE@,$downmix_b_FALSE,;t t
s,@downmixsse_p_TRUE@,$downmixsse_p_TRUE,;t t
s,@downmixsse_p_FALSE@,$downmixsse_p_FALSE,;t t
s,@downmixsse_b_TRUE@,$downmixsse_b_TRUE,;t t
s,@downmixsse_b_FALSE@,$downmixsse_b_FALSE,;t t
s,@downmix3dn_p_TRUE@,$downmix3dn_p_TRUE,;t t
s,@downmix3dn_p_FALSE@,$downmix3dn_p_FALSE,;t t
s,@downmix3dn_b_TRUE@,$downmix3dn_b_TRUE,;t t
s,@downmix3dn_b_FALSE@,$downmix3dn_b_FALSE,;t t
s,@LDFLAGS_imdct@,$LDFLAGS_imdct,;t t
s,@imdct_p_TRUE@,$imdct_p_TRUE,;t t
s,@imdct_p_FALSE@,$imdct_p_FALSE,;t t
s,@imdct_b_TRUE@,$imdct_b_TRUE,;t t
s,@imdct_b_FALSE@,$imdct_b_FALSE,;t t
s,@LDFLAGS_imdctsse@,$LDFLAGS_imdctsse,;t t
s,@imdctsse_p_TRUE@,$imdctsse_p_TRUE,;t t
s,@imdctsse_p_FALSE@,$imdctsse_p_FALSE,;t t
s,@imdctsse_b_TRUE@,$imdctsse_b_TRUE,;t t
s,@imdctsse_b_FALSE@,$imdctsse_b_FALSE,;t t
s,@LDFLAGS_imdct3dn@,$LDFLAGS_imdct3dn,;t t
s,@imdct3dn_p_TRUE@,$imdct3dn_p_TRUE,;t t
s,@imdct3dn_p_FALSE@,$imdct3dn_p_FALSE,;t t
s,@imdct3dn_b_TRUE@,$imdct3dn_b_TRUE,;t t
s,@imdct3dn_b_FALSE@,$imdct3dn_b_FALSE,;t t
s,@cinepak_p_TRUE@,$cinepak_p_TRUE,;t t
s,@cinepak_p_FALSE@,$cinepak_p_FALSE,;t t
s,@cinepak_b_TRUE@,$cinepak_b_TRUE,;t t
s,@cinepak_b_FALSE@,$cinepak_b_FALSE,;t t
s,@CPPFLAGS_faad@,$CPPFLAGS_faad,;t t
s,@LDFLAGS_faad@,$LDFLAGS_faad,;t t
s,@faad_p_TRUE@,$faad_p_TRUE,;t t
s,@faad_p_FALSE@,$faad_p_FALSE,;t t
s,@faad_b_TRUE@,$faad_b_TRUE,;t t
s,@faad_b_FALSE@,$faad_b_FALSE,;t t
s,@CPPFLAGS_ffmpeg@,$CPPFLAGS_ffmpeg,;t t
s,@LDFLAGS_ffmpeg@,$LDFLAGS_ffmpeg,;t t
s,@ffmpeg_p_TRUE@,$ffmpeg_p_TRUE,;t t
s,@ffmpeg_p_FALSE@,$ffmpeg_p_FALSE,;t t
s,@ffmpeg_b_TRUE@,$ffmpeg_b_TRUE,;t t
s,@ffmpeg_b_FALSE@,$ffmpeg_b_FALSE,;t t
s,@postprocessing_c_p_TRUE@,$postprocessing_c_p_TRUE,;t t
s,@postprocessing_c_p_FALSE@,$postprocessing_c_p_FALSE,;t t
s,@postprocessing_c_b_TRUE@,$postprocessing_c_b_TRUE,;t t
s,@postprocessing_c_b_FALSE@,$postprocessing_c_b_FALSE,;t t
s,@postprocessing_mmx_p_TRUE@,$postprocessing_mmx_p_TRUE,;t t
s,@postprocessing_mmx_p_FALSE@,$postprocessing_mmx_p_FALSE,;t t
s,@postprocessing_mmx_b_TRUE@,$postprocessing_mmx_b_TRUE,;t t
s,@postprocessing_mmx_b_FALSE@,$postprocessing_mmx_b_FALSE,;t t
s,@postprocessing_mmxext_p_TRUE@,$postprocessing_mmxext_p_TRUE,;t t
s,@postprocessing_mmxext_p_FALSE@,$postprocessing_mmxext_p_FALSE,;t t
s,@postprocessing_mmxext_b_TRUE@,$postprocessing_mmxext_b_TRUE,;t t
s,@postprocessing_mmxext_b_FALSE@,$postprocessing_mmxext_b_FALSE,;t t
s,@CFLAGS_mpeg_video_old@,$CFLAGS_mpeg_video_old,;t t
s,@mpeg_video_old_p_TRUE@,$mpeg_video_old_p_TRUE,;t t
s,@mpeg_video_old_p_FALSE@,$mpeg_video_old_p_FALSE,;t t
s,@mpeg_video_old_b_TRUE@,$mpeg_video_old_b_TRUE,;t t
s,@mpeg_video_old_b_FALSE@,$mpeg_video_old_b_FALSE,;t t
s,@idct_p_TRUE@,$idct_p_TRUE,;t t
s,@idct_p_FALSE@,$idct_p_FALSE,;t t
s,@idct_b_TRUE@,$idct_b_TRUE,;t t
s,@idct_b_FALSE@,$idct_b_FALSE,;t t
s,@idctclassic_p_TRUE@,$idctclassic_p_TRUE,;t t
s,@idctclassic_p_FALSE@,$idctclassic_p_FALSE,;t t
s,@idctclassic_b_TRUE@,$idctclassic_b_TRUE,;t t
s,@idctclassic_b_FALSE@,$idctclassic_b_FALSE,;t t
s,@idctmmx_p_TRUE@,$idctmmx_p_TRUE,;t t
s,@idctmmx_p_FALSE@,$idctmmx_p_FALSE,;t t
s,@idctmmx_b_TRUE@,$idctmmx_b_TRUE,;t t
s,@idctmmx_b_FALSE@,$idctmmx_b_FALSE,;t t
s,@idctmmxext_p_TRUE@,$idctmmxext_p_TRUE,;t t
s,@idctmmxext_p_FALSE@,$idctmmxext_p_FALSE,;t t
s,@idctmmxext_b_TRUE@,$idctmmxext_b_TRUE,;t t
s,@idctmmxext_b_FALSE@,$idctmmxext_b_FALSE,;t t
s,@CFLAGS_idctaltivec@,$CFLAGS_idctaltivec,;t t
s,@LDFLAGS_idctaltivec@,$LDFLAGS_idctaltivec,;t t
s,@idctaltivec_p_TRUE@,$idctaltivec_p_TRUE,;t t
s,@idctaltivec_p_FALSE@,$idctaltivec_p_FALSE,;t t
s,@idctaltivec_b_TRUE@,$idctaltivec_b_TRUE,;t t
s,@idctaltivec_b_FALSE@,$idctaltivec_b_FALSE,;t t
s,@motion_p_TRUE@,$motion_p_TRUE,;t t
s,@motion_p_FALSE@,$motion_p_FALSE,;t t
s,@motion_b_TRUE@,$motion_b_TRUE,;t t
s,@motion_b_FALSE@,$motion_b_FALSE,;t t
s,@motionmmx_p_TRUE@,$motionmmx_p_TRUE,;t t
s,@motionmmx_p_FALSE@,$motionmmx_p_FALSE,;t t
s,@motionmmx_b_TRUE@,$motionmmx_b_TRUE,;t t
s,@motionmmx_b_FALSE@,$motionmmx_b_FALSE,;t t
s,@motionmmxext_p_TRUE@,$motionmmxext_p_TRUE,;t t
s,@motionmmxext_p_FALSE@,$motionmmxext_p_FALSE,;t t
s,@motionmmxext_b_TRUE@,$motionmmxext_b_TRUE,;t t
s,@motionmmxext_b_FALSE@,$motionmmxext_b_FALSE,;t t
s,@motion3dnow_p_TRUE@,$motion3dnow_p_TRUE,;t t
s,@motion3dnow_p_FALSE@,$motion3dnow_p_FALSE,;t t
s,@motion3dnow_b_TRUE@,$motion3dnow_b_TRUE,;t t
s,@motion3dnow_b_FALSE@,$motion3dnow_b_FALSE,;t t
s,@CFLAGS_motionaltivec@,$CFLAGS_motionaltivec,;t t
s,@LDFLAGS_motionaltivec@,$LDFLAGS_motionaltivec,;t t
s,@motionaltivec_p_TRUE@,$motionaltivec_p_TRUE,;t t
s,@motionaltivec_p_FALSE@,$motionaltivec_p_FALSE,;t t
s,@motionaltivec_b_TRUE@,$motionaltivec_b_TRUE,;t t
s,@motionaltivec_b_FALSE@,$motionaltivec_b_FALSE,;t t
s,@spudec_p_TRUE@,$spudec_p_TRUE,;t t
s,@spudec_p_FALSE@,$spudec_p_FALSE,;t t
s,@spudec_b_TRUE@,$spudec_b_TRUE,;t t
s,@spudec_b_FALSE@,$spudec_b_FALSE,;t t
s,@LDFLAGS_lirc@,$LDFLAGS_lirc,;t t
s,@lirc_p_TRUE@,$lirc_p_TRUE,;t t
s,@lirc_p_FALSE@,$lirc_p_FALSE,;t t
s,@lirc_b_TRUE@,$lirc_b_TRUE,;t t
s,@lirc_b_FALSE@,$lirc_b_FALSE,;t t
s,@rc_p_TRUE@,$rc_p_TRUE,;t t
s,@rc_p_FALSE@,$rc_p_FALSE,;t t
s,@rc_b_TRUE@,$rc_b_TRUE,;t t
s,@rc_b_FALSE@,$rc_b_FALSE,;t t
s,@gestures_p_TRUE@,$gestures_p_TRUE,;t t
s,@gestures_p_FALSE@,$gestures_p_FALSE,;t t
s,@gestures_b_TRUE@,$gestures_b_TRUE,;t t
s,@gestures_b_FALSE@,$gestures_b_FALSE,;t t
s,@LDFLAGS_http@,$LDFLAGS_http,;t t
s,@http_p_TRUE@,$http_p_TRUE,;t t
s,@http_p_FALSE@,$http_p_FALSE,;t t
s,@http_b_TRUE@,$http_b_TRUE,;t t
s,@http_b_FALSE@,$http_b_FALSE,;t t
s,@a52sys_p_TRUE@,$a52sys_p_TRUE,;t t
s,@a52sys_p_FALSE@,$a52sys_p_FALSE,;t t
s,@a52sys_b_TRUE@,$a52sys_b_TRUE,;t t
s,@a52sys_b_FALSE@,$a52sys_b_FALSE,;t t
s,@flac_p_TRUE@,$flac_p_TRUE,;t t
s,@flac_p_FALSE@,$flac_p_FALSE,;t t
s,@flac_b_TRUE@,$flac_b_TRUE,;t t
s,@flac_b_FALSE@,$flac_b_FALSE,;t t
s,@CPPFLAGS_ogg@,$CPPFLAGS_ogg,;t t
s,@LDFLAGS_ogg@,$LDFLAGS_ogg,;t t
s,@ogg_p_TRUE@,$ogg_p_TRUE,;t t
s,@ogg_p_FALSE@,$ogg_p_FALSE,;t t
s,@ogg_b_TRUE@,$ogg_b_TRUE,;t t
s,@ogg_b_FALSE@,$ogg_b_FALSE,;t t
s,@m3u_p_TRUE@,$m3u_p_TRUE,;t t
s,@m3u_p_FALSE@,$m3u_p_FALSE,;t t
s,@m3u_b_TRUE@,$m3u_b_TRUE,;t t
s,@m3u_b_FALSE@,$m3u_b_FALSE,;t t
s,@demuxdump_p_TRUE@,$demuxdump_p_TRUE,;t t
s,@demuxdump_p_FALSE@,$demuxdump_p_FALSE,;t t
s,@demuxdump_b_TRUE@,$demuxdump_b_TRUE,;t t
s,@demuxdump_b_FALSE@,$demuxdump_b_FALSE,;t t
s,@rawdv_p_TRUE@,$rawdv_p_TRUE,;t t
s,@rawdv_p_FALSE@,$rawdv_p_FALSE,;t t
s,@rawdv_b_TRUE@,$rawdv_b_TRUE,;t t
s,@rawdv_b_FALSE@,$rawdv_b_FALSE,;t t
s,@au_p_TRUE@,$au_p_TRUE,;t t
s,@au_p_FALSE@,$au_p_FALSE,;t t
s,@au_b_TRUE@,$au_b_TRUE,;t t
s,@au_b_FALSE@,$au_b_FALSE,;t t
s,@LDFLAGS_mkv@,$LDFLAGS_mkv,;t t
s,@mkv_p_TRUE@,$mkv_p_TRUE,;t t
s,@mkv_p_FALSE@,$mkv_p_FALSE,;t t
s,@mkv_b_TRUE@,$mkv_b_TRUE,;t t
s,@mkv_b_FALSE@,$mkv_b_FALSE,;t t
s,@aac_p_TRUE@,$aac_p_TRUE,;t t
s,@aac_p_FALSE@,$aac_p_FALSE,;t t
s,@aac_b_TRUE@,$aac_b_TRUE,;t t
s,@aac_b_FALSE@,$aac_b_FALSE,;t t
s,@avi_p_TRUE@,$avi_p_TRUE,;t t
s,@avi_p_FALSE@,$avi_p_FALSE,;t t
s,@avi_b_TRUE@,$avi_b_TRUE,;t t
s,@avi_b_FALSE@,$avi_b_FALSE,;t t
s,@asf_p_TRUE@,$asf_p_TRUE,;t t
s,@asf_p_FALSE@,$asf_p_FALSE,;t t
s,@asf_b_TRUE@,$asf_b_TRUE,;t t
s,@asf_b_FALSE@,$asf_b_FALSE,;t t
s,@LDFLAGS_mp4@,$LDFLAGS_mp4,;t t
s,@mp4_p_TRUE@,$mp4_p_TRUE,;t t
s,@mp4_p_FALSE@,$mp4_p_FALSE,;t t
s,@mp4_b_TRUE@,$mp4_b_TRUE,;t t
s,@mp4_b_FALSE@,$mp4_b_FALSE,;t t
s,@mpeg_system_p_TRUE@,$mpeg_system_p_TRUE,;t t
s,@mpeg_system_p_FALSE@,$mpeg_system_p_FALSE,;t t
s,@mpeg_system_b_TRUE@,$mpeg_system_b_TRUE,;t t
s,@mpeg_system_b_FALSE@,$mpeg_system_b_FALSE,;t t
s,@es_p_TRUE@,$es_p_TRUE,;t t
s,@es_p_FALSE@,$es_p_FALSE,;t t
s,@es_b_TRUE@,$es_b_TRUE,;t t
s,@es_b_FALSE@,$es_b_FALSE,;t t
s,@m4v_p_TRUE@,$m4v_p_TRUE,;t t
s,@m4v_p_FALSE@,$m4v_p_FALSE,;t t
s,@m4v_b_TRUE@,$m4v_b_TRUE,;t t
s,@m4v_b_FALSE@,$m4v_b_FALSE,;t t
s,@ps_p_TRUE@,$ps_p_TRUE,;t t
s,@ps_p_FALSE@,$ps_p_FALSE,;t t
s,@ps_b_TRUE@,$ps_b_TRUE,;t t
s,@ps_b_FALSE@,$ps_b_FALSE,;t t
s,@ts_p_TRUE@,$ts_p_TRUE,;t t
s,@ts_p_FALSE@,$ts_p_FALSE,;t t
s,@ts_b_TRUE@,$ts_b_TRUE,;t t
s,@ts_b_FALSE@,$ts_b_FALSE,;t t
s,@CPPFLAGS_ts_dvbpsi@,$CPPFLAGS_ts_dvbpsi,;t t
s,@LDFLAGS_ts_dvbpsi@,$LDFLAGS_ts_dvbpsi,;t t
s,@ts_dvbpsi_p_TRUE@,$ts_dvbpsi_p_TRUE,;t t
s,@ts_dvbpsi_p_FALSE@,$ts_dvbpsi_p_FALSE,;t t
s,@ts_dvbpsi_b_TRUE@,$ts_dvbpsi_b_TRUE,;t t
s,@ts_dvbpsi_b_FALSE@,$ts_dvbpsi_b_FALSE,;t t
s,@audio_p_TRUE@,$audio_p_TRUE,;t t
s,@audio_p_FALSE@,$audio_p_FALSE,;t t
s,@audio_b_TRUE@,$audio_b_TRUE,;t t
s,@audio_b_FALSE@,$audio_b_FALSE,;t t
s,@id3_p_TRUE@,$id3_p_TRUE,;t t
s,@id3_p_FALSE@,$id3_p_FALSE,;t t
s,@id3_b_TRUE@,$id3_b_TRUE,;t t
s,@id3_b_FALSE@,$id3_b_FALSE,;t t
s,@LDFLAGS_id3tag@,$LDFLAGS_id3tag,;t t
s,@id3tag_p_TRUE@,$id3tag_p_TRUE,;t t
s,@id3tag_p_FALSE@,$id3tag_p_FALSE,;t t
s,@id3tag_b_TRUE@,$id3tag_b_TRUE,;t t
s,@id3tag_b_FALSE@,$id3tag_b_FALSE,;t t
s,@demuxsub_p_TRUE@,$demuxsub_p_TRUE,;t t
s,@demuxsub_p_FALSE@,$demuxsub_p_FALSE,;t t
s,@demuxsub_b_TRUE@,$demuxsub_b_TRUE,;t t
s,@demuxsub_b_FALSE@,$demuxsub_b_FALSE,;t t
s,@wav_p_TRUE@,$wav_p_TRUE,;t t
s,@wav_p_FALSE@,$wav_p_FALSE,;t t
s,@wav_b_TRUE@,$wav_b_TRUE,;t t
s,@wav_b_FALSE@,$wav_b_FALSE,;t t
s,@CPPFLAGS_encoder_xvid@,$CPPFLAGS_encoder_xvid,;t t
s,@LDFLAGS_encoder_xvid@,$LDFLAGS_encoder_xvid,;t t
s,@encoder_xvid_p_TRUE@,$encoder_xvid_p_TRUE,;t t
s,@encoder_xvid_p_FALSE@,$encoder_xvid_p_FALSE,;t t
s,@encoder_xvid_b_TRUE@,$encoder_xvid_b_TRUE,;t t
s,@encoder_xvid_b_FALSE@,$encoder_xvid_b_FALSE,;t t
s,@CPPFLAGS_encoder_ffmpeg@,$CPPFLAGS_encoder_ffmpeg,;t t
s,@LDFLAGS_encoder_ffmpeg@,$LDFLAGS_encoder_ffmpeg,;t t
s,@encoder_ffmpeg_p_TRUE@,$encoder_ffmpeg_p_TRUE,;t t
s,@encoder_ffmpeg_p_FALSE@,$encoder_ffmpeg_p_FALSE,;t t
s,@encoder_ffmpeg_b_TRUE@,$encoder_ffmpeg_b_TRUE,;t t
s,@encoder_ffmpeg_b_FALSE@,$encoder_ffmpeg_b_FALSE,;t t
s,@LDFLAGS_beos@,$LDFLAGS_beos,;t t
s,@beos_p_TRUE@,$beos_p_TRUE,;t t
s,@beos_p_FALSE@,$beos_p_FALSE,;t t
s,@beos_b_TRUE@,$beos_b_TRUE,;t t
s,@beos_b_FALSE@,$beos_b_FALSE,;t t
s,@CFLAGS_familiar@,$CFLAGS_familiar,;t t
s,@LDFLAGS_familiar@,$LDFLAGS_familiar,;t t
s,@familiar_p_TRUE@,$familiar_p_TRUE,;t t
s,@familiar_p_FALSE@,$familiar_p_FALSE,;t t
s,@familiar_b_TRUE@,$familiar_b_TRUE,;t t
s,@familiar_b_FALSE@,$familiar_b_FALSE,;t t
s,@CFLAGS_gtk@,$CFLAGS_gtk,;t t
s,@LDFLAGS_gtk@,$LDFLAGS_gtk,;t t
s,@gtk_p_TRUE@,$gtk_p_TRUE,;t t
s,@gtk_p_FALSE@,$gtk_p_FALSE,;t t
s,@gtk_b_TRUE@,$gtk_b_TRUE,;t t
s,@gtk_b_FALSE@,$gtk_b_FALSE,;t t
s,@CFLAGS_gnome@,$CFLAGS_gnome,;t t
s,@LDFLAGS_gnome@,$LDFLAGS_gnome,;t t
s,@gnome_p_TRUE@,$gnome_p_TRUE,;t t
s,@gnome_p_FALSE@,$gnome_p_FALSE,;t t
s,@gnome_b_TRUE@,$gnome_b_TRUE,;t t
s,@gnome_b_FALSE@,$gnome_b_FALSE,;t t
s,@CFLAGS_gtk2@,$CFLAGS_gtk2,;t t
s,@LDFLAGS_gtk2@,$LDFLAGS_gtk2,;t t
s,@gtk2_p_TRUE@,$gtk2_p_TRUE,;t t
s,@gtk2_p_FALSE@,$gtk2_p_FALSE,;t t
s,@gtk2_b_TRUE@,$gtk2_b_TRUE,;t t
s,@gtk2_b_FALSE@,$gtk2_b_FALSE,;t t
s,@CFLAGS_gnome2@,$CFLAGS_gnome2,;t t
s,@LDFLAGS_gnome2@,$LDFLAGS_gnome2,;t t
s,@gnome2_p_TRUE@,$gnome2_p_TRUE,;t t
s,@gnome2_p_FALSE@,$gnome2_p_FALSE,;t t
s,@gnome2_b_TRUE@,$gnome2_b_TRUE,;t t
s,@gnome2_b_FALSE@,$gnome2_b_FALSE,;t t
s,@CPPFLAGS_kde@,$CPPFLAGS_kde,;t t
s,@LDFLAGS_kde@,$LDFLAGS_kde,;t t
s,@kde_p_TRUE@,$kde_p_TRUE,;t t
s,@kde_p_FALSE@,$kde_p_FALSE,;t t
s,@kde_b_TRUE@,$kde_b_TRUE,;t t
s,@kde_b_FALSE@,$kde_b_FALSE,;t t
s,@LDFLAGS_macosx@,$LDFLAGS_macosx,;t t
s,@macosx_p_TRUE@,$macosx_p_TRUE,;t t
s,@macosx_p_FALSE@,$macosx_p_FALSE,;t t
s,@macosx_b_TRUE@,$macosx_b_TRUE,;t t
s,@macosx_b_FALSE@,$macosx_b_FALSE,;t t
s,@LDFLAGS_ncurses@,$LDFLAGS_ncurses,;t t
s,@ncurses_p_TRUE@,$ncurses_p_TRUE,;t t
s,@ncurses_p_FALSE@,$ncurses_p_FALSE,;t t
s,@ncurses_b_TRUE@,$ncurses_b_TRUE,;t t
s,@ncurses_b_FALSE@,$ncurses_b_FALSE,;t t
s,@LDFLAGS_qnx@,$LDFLAGS_qnx,;t t
s,@qnx_p_TRUE@,$qnx_p_TRUE,;t t
s,@qnx_p_FALSE@,$qnx_p_FALSE,;t t
s,@qnx_b_TRUE@,$qnx_b_TRUE,;t t
s,@qnx_b_FALSE@,$qnx_b_FALSE,;t t
s,@CPPFLAGS_qt@,$CPPFLAGS_qt,;t t
s,@LDFLAGS_qt@,$LDFLAGS_qt,;t t
s,@qt_p_TRUE@,$qt_p_TRUE,;t t
s,@qt_p_FALSE@,$qt_p_FALSE,;t t
s,@qt_b_TRUE@,$qt_b_TRUE,;t t
s,@qt_b_FALSE@,$qt_b_FALSE,;t t
s,@CPPFLAGS_skins@,$CPPFLAGS_skins,;t t
s,@LDFLAGS_skins@,$LDFLAGS_skins,;t t
s,@skins_p_TRUE@,$skins_p_TRUE,;t t
s,@skins_p_FALSE@,$skins_p_FALSE,;t t
s,@skins_b_TRUE@,$skins_b_TRUE,;t t
s,@skins_b_FALSE@,$skins_b_FALSE,;t t
s,@CPPFLAGS_basic_skins@,$CPPFLAGS_basic_skins,;t t
s,@LDFLAGS_basic_skins@,$LDFLAGS_basic_skins,;t t
s,@basic_skins_p_TRUE@,$basic_skins_p_TRUE,;t t
s,@basic_skins_p_FALSE@,$basic_skins_p_FALSE,;t t
s,@basic_skins_b_TRUE@,$basic_skins_b_TRUE,;t t
s,@basic_skins_b_FALSE@,$basic_skins_b_FALSE,;t t
s,@win32_p_TRUE@,$win32_p_TRUE,;t t
s,@win32_p_FALSE@,$win32_p_FALSE,;t t
s,@win32_b_TRUE@,$win32_b_TRUE,;t t
s,@win32_b_FALSE@,$win32_b_FALSE,;t t
s,@CXXFLAGS_wxwindows@,$CXXFLAGS_wxwindows,;t t
s,@LDFLAGS_wxwindows@,$LDFLAGS_wxwindows,;t t
s,@wxwindows_p_TRUE@,$wxwindows_p_TRUE,;t t
s,@wxwindows_p_FALSE@,$wxwindows_p_FALSE,;t t
s,@wxwindows_b_TRUE@,$wxwindows_b_TRUE,;t t
s,@wxwindows_b_FALSE@,$wxwindows_b_FALSE,;t t
s,@CFLAGS_gtk_main@,$CFLAGS_gtk_main,;t t
s,@LDFLAGS_gtk_main@,$LDFLAGS_gtk_main,;t t
s,@gtk_main_p_TRUE@,$gtk_main_p_TRUE,;t t
s,@gtk_main_p_FALSE@,$gtk_main_p_FALSE,;t t
s,@gtk_main_b_TRUE@,$gtk_main_b_TRUE,;t t
s,@gtk_main_b_FALSE@,$gtk_main_b_FALSE,;t t
s,@CFLAGS_gnome_main@,$CFLAGS_gnome_main,;t t
s,@LDFLAGS_gnome_main@,$LDFLAGS_gnome_main,;t t
s,@gnome_main_p_TRUE@,$gnome_main_p_TRUE,;t t
s,@gnome_main_p_FALSE@,$gnome_main_p_FALSE,;t t
s,@gnome_main_b_TRUE@,$gnome_main_b_TRUE,;t t
s,@gnome_main_b_FALSE@,$gnome_main_b_FALSE,;t t
s,@CFLAGS_gtk2_main@,$CFLAGS_gtk2_main,;t t
s,@LDFLAGS_gtk2_main@,$LDFLAGS_gtk2_main,;t t
s,@gtk2_main_p_TRUE@,$gtk2_main_p_TRUE,;t t
s,@gtk2_main_p_FALSE@,$gtk2_main_p_FALSE,;t t
s,@gtk2_main_b_TRUE@,$gtk2_main_b_TRUE,;t t
s,@gtk2_main_b_FALSE@,$gtk2_main_b_FALSE,;t t
s,@CFLAGS_gnome2_main@,$CFLAGS_gnome2_main,;t t
s,@LDFLAGS_gnome2_main@,$LDFLAGS_gnome2_main,;t t
s,@gnome2_main_p_TRUE@,$gnome2_main_p_TRUE,;t t
s,@gnome2_main_p_FALSE@,$gnome2_main_p_FALSE,;t t
s,@gnome2_main_b_TRUE@,$gnome2_main_b_TRUE,;t t
s,@gnome2_main_b_FALSE@,$gnome2_main_b_FALSE,;t t
s,@LDFLAGS_sap@,$LDFLAGS_sap,;t t
s,@sap_p_TRUE@,$sap_p_TRUE,;t t
s,@sap_p_FALSE@,$sap_p_FALSE,;t t
s,@sap_b_TRUE@,$sap_b_TRUE,;t t
s,@sap_b_FALSE@,$sap_b_FALSE,;t t
s,@screensaver_p_TRUE@,$screensaver_p_TRUE,;t t
s,@screensaver_p_FALSE@,$screensaver_p_FALSE,;t t
s,@screensaver_b_TRUE@,$screensaver_b_TRUE,;t t
s,@screensaver_b_FALSE@,$screensaver_b_FALSE,;t t
s,@CPPFLAGS_qte_main@,$CPPFLAGS_qte_main,;t t
s,@LDFLAGS_qte_main@,$LDFLAGS_qte_main,;t t
s,@qte_main_p_TRUE@,$qte_main_p_TRUE,;t t
s,@qte_main_p_FALSE@,$qte_main_p_FALSE,;t t
s,@qte_main_b_TRUE@,$qte_main_b_TRUE,;t t
s,@qte_main_b_FALSE@,$qte_main_b_FALSE,;t t
s,@LDFLAGS_httpd@,$LDFLAGS_httpd,;t t
s,@httpd_p_TRUE@,$httpd_p_TRUE,;t t
s,@httpd_p_FALSE@,$httpd_p_FALSE,;t t
s,@httpd_b_TRUE@,$httpd_b_TRUE,;t t
s,@httpd_b_FALSE@,$httpd_b_FALSE,;t t
s,@dummy_p_TRUE@,$dummy_p_TRUE,;t t
s,@dummy_p_FALSE@,$dummy_p_FALSE,;t t
s,@dummy_b_TRUE@,$dummy_b_TRUE,;t t
s,@dummy_b_FALSE@,$dummy_b_FALSE,;t t
s,@logger_p_TRUE@,$logger_p_TRUE,;t t
s,@logger_p_FALSE@,$logger_p_FALSE,;t t
s,@logger_b_TRUE@,$logger_b_TRUE,;t t
s,@logger_b_FALSE@,$logger_b_FALSE,;t t
s,@memcpy_p_TRUE@,$memcpy_p_TRUE,;t t
s,@memcpy_p_FALSE@,$memcpy_p_FALSE,;t t
s,@memcpy_b_TRUE@,$memcpy_b_TRUE,;t t
s,@memcpy_b_FALSE@,$memcpy_b_FALSE,;t t
s,@memcpymmx_p_TRUE@,$memcpymmx_p_TRUE,;t t
s,@memcpymmx_p_FALSE@,$memcpymmx_p_FALSE,;t t
s,@memcpymmx_b_TRUE@,$memcpymmx_b_TRUE,;t t
s,@memcpymmx_b_FALSE@,$memcpymmx_b_FALSE,;t t
s,@memcpymmxext_p_TRUE@,$memcpymmxext_p_TRUE,;t t
s,@memcpymmxext_p_FALSE@,$memcpymmxext_p_FALSE,;t t
s,@memcpymmxext_b_TRUE@,$memcpymmxext_b_TRUE,;t t
s,@memcpymmxext_b_FALSE@,$memcpymmxext_b_FALSE,;t t
s,@memcpy3dn_p_TRUE@,$memcpy3dn_p_TRUE,;t t
s,@memcpy3dn_p_FALSE@,$memcpy3dn_p_FALSE,;t t
s,@memcpy3dn_b_TRUE@,$memcpy3dn_b_TRUE,;t t
s,@memcpy3dn_b_FALSE@,$memcpy3dn_b_FALSE,;t t
s,@CFLAGS_memcpyaltivec@,$CFLAGS_memcpyaltivec,;t t
s,@LDFLAGS_memcpyaltivec@,$LDFLAGS_memcpyaltivec,;t t
s,@memcpyaltivec_p_TRUE@,$memcpyaltivec_p_TRUE,;t t
s,@memcpyaltivec_p_FALSE@,$memcpyaltivec_p_FALSE,;t t
s,@memcpyaltivec_b_TRUE@,$memcpyaltivec_b_TRUE,;t t
s,@memcpyaltivec_b_FALSE@,$memcpyaltivec_b_FALSE,;t t
s,@LDFLAGS_ipv4@,$LDFLAGS_ipv4,;t t
s,@ipv4_p_TRUE@,$ipv4_p_TRUE,;t t
s,@ipv4_p_FALSE@,$ipv4_p_FALSE,;t t
s,@ipv4_b_TRUE@,$ipv4_b_TRUE,;t t
s,@ipv4_b_FALSE@,$ipv4_b_FALSE,;t t
s,@LDFLAGS_ipv6@,$LDFLAGS_ipv6,;t t
s,@ipv6_p_TRUE@,$ipv6_p_TRUE,;t t
s,@ipv6_p_FALSE@,$ipv6_p_FALSE,;t t
s,@ipv6_b_TRUE@,$ipv6_b_TRUE,;t t
s,@ipv6_b_FALSE@,$ipv6_b_FALSE,;t t
s,@test1_p_TRUE@,$test1_p_TRUE,;t t
s,@test1_p_FALSE@,$test1_p_FALSE,;t t
s,@test1_b_TRUE@,$test1_b_TRUE,;t t
s,@test1_b_FALSE@,$test1_b_FALSE,;t t
s,@CXXFLAGS_test2@,$CXXFLAGS_test2,;t t
s,@test2_p_TRUE@,$test2_p_TRUE,;t t
s,@test2_p_FALSE@,$test2_p_FALSE,;t t
s,@test2_b_TRUE@,$test2_b_TRUE,;t t
s,@test2_b_FALSE@,$test2_b_FALSE,;t t
s,@OBJCFLAGS_test3@,$OBJCFLAGS_test3,;t t
s,@LDFLAGS_test3@,$LDFLAGS_test3,;t t
s,@test3_p_TRUE@,$test3_p_TRUE,;t t
s,@test3_p_FALSE@,$test3_p_FALSE,;t t
s,@test3_b_TRUE@,$test3_b_TRUE,;t t
s,@test3_b_FALSE@,$test3_b_FALSE,;t t
s,@test4_p_TRUE@,$test4_p_TRUE,;t t
s,@test4_p_FALSE@,$test4_p_FALSE,;t t
s,@test4_b_TRUE@,$test4_b_TRUE,;t t
s,@test4_b_FALSE@,$test4_b_FALSE,;t t
s,@mux_dummy_p_TRUE@,$mux_dummy_p_TRUE,;t t
s,@mux_dummy_p_FALSE@,$mux_dummy_p_FALSE,;t t
s,@mux_dummy_b_TRUE@,$mux_dummy_b_TRUE,;t t
s,@mux_dummy_b_FALSE@,$mux_dummy_b_FALSE,;t t
s,@mux_avi_p_TRUE@,$mux_avi_p_TRUE,;t t
s,@mux_avi_p_FALSE@,$mux_avi_p_FALSE,;t t
s,@mux_avi_b_TRUE@,$mux_avi_b_TRUE,;t t
s,@mux_avi_b_FALSE@,$mux_avi_b_FALSE,;t t
s,@LDFLAGS_mux_ogg@,$LDFLAGS_mux_ogg,;t t
s,@mux_ogg_p_TRUE@,$mux_ogg_p_TRUE,;t t
s,@mux_ogg_p_FALSE@,$mux_ogg_p_FALSE,;t t
s,@mux_ogg_b_TRUE@,$mux_ogg_b_TRUE,;t t
s,@mux_ogg_b_FALSE@,$mux_ogg_b_FALSE,;t t
s,@mux_ps_p_TRUE@,$mux_ps_p_TRUE,;t t
s,@mux_ps_p_FALSE@,$mux_ps_p_FALSE,;t t
s,@mux_ps_b_TRUE@,$mux_ps_b_TRUE,;t t
s,@mux_ps_b_FALSE@,$mux_ps_b_FALSE,;t t
s,@mux_ts_p_TRUE@,$mux_ts_p_TRUE,;t t
s,@mux_ts_p_FALSE@,$mux_ts_p_FALSE,;t t
s,@mux_ts_b_TRUE@,$mux_ts_b_TRUE,;t t
s,@mux_ts_b_FALSE@,$mux_ts_b_FALSE,;t t
s,@CPPFLAGS_mux_ts_dvbpsi@,$CPPFLAGS_mux_ts_dvbpsi,;t t
s,@LDFLAGS_mux_ts_dvbpsi@,$LDFLAGS_mux_ts_dvbpsi,;t t
s,@mux_ts_dvbpsi_p_TRUE@,$mux_ts_dvbpsi_p_TRUE,;t t
s,@mux_ts_dvbpsi_p_FALSE@,$mux_ts_dvbpsi_p_FALSE,;t t
s,@mux_ts_dvbpsi_b_TRUE@,$mux_ts_dvbpsi_b_TRUE,;t t
s,@mux_ts_dvbpsi_b_FALSE@,$mux_ts_dvbpsi_b_FALSE,;t t
s,@packetizer_copy_p_TRUE@,$packetizer_copy_p_TRUE,;t t
s,@packetizer_copy_p_FALSE@,$packetizer_copy_p_FALSE,;t t
s,@packetizer_copy_b_TRUE@,$packetizer_copy_b_TRUE,;t t
s,@packetizer_copy_b_FALSE@,$packetizer_copy_b_FALSE,;t t
s,@packetizer_a52_p_TRUE@,$packetizer_a52_p_TRUE,;t t
s,@packetizer_a52_p_FALSE@,$packetizer_a52_p_FALSE,;t t
s,@packetizer_a52_b_TRUE@,$packetizer_a52_b_TRUE,;t t
s,@packetizer_a52_b_FALSE@,$packetizer_a52_b_FALSE,;t t
s,@packetizer_mpegaudio_p_TRUE@,$packetizer_mpegaudio_p_TRUE,;t t
s,@packetizer_mpegaudio_p_FALSE@,$packetizer_mpegaudio_p_FALSE,;t t
s,@packetizer_mpegaudio_b_TRUE@,$packetizer_mpegaudio_b_TRUE,;t t
s,@packetizer_mpegaudio_b_FALSE@,$packetizer_mpegaudio_b_FALSE,;t t
s,@packetizer_mpegvideo_p_TRUE@,$packetizer_mpegvideo_p_TRUE,;t t
s,@packetizer_mpegvideo_p_FALSE@,$packetizer_mpegvideo_p_FALSE,;t t
s,@packetizer_mpegvideo_b_TRUE@,$packetizer_mpegvideo_b_TRUE,;t t
s,@packetizer_mpegvideo_b_FALSE@,$packetizer_mpegvideo_b_FALSE,;t t
s,@packetizer_mpeg4video_p_TRUE@,$packetizer_mpeg4video_p_TRUE,;t t
s,@packetizer_mpeg4video_p_FALSE@,$packetizer_mpeg4video_p_FALSE,;t t
s,@packetizer_mpeg4video_b_TRUE@,$packetizer_mpeg4video_b_TRUE,;t t
s,@packetizer_mpeg4video_b_FALSE@,$packetizer_mpeg4video_b_FALSE,;t t
s,@packetizer_mpeg4audio_p_TRUE@,$packetizer_mpeg4audio_p_TRUE,;t t
s,@packetizer_mpeg4audio_p_FALSE@,$packetizer_mpeg4audio_p_FALSE,;t t
s,@packetizer_mpeg4audio_b_TRUE@,$packetizer_mpeg4audio_b_TRUE,;t t
s,@packetizer_mpeg4audio_b_FALSE@,$packetizer_mpeg4audio_b_FALSE,;t t
s,@stream_out_dummy_p_TRUE@,$stream_out_dummy_p_TRUE,;t t
s,@stream_out_dummy_p_FALSE@,$stream_out_dummy_p_FALSE,;t t
s,@stream_out_dummy_b_TRUE@,$stream_out_dummy_b_TRUE,;t t
s,@stream_out_dummy_b_FALSE@,$stream_out_dummy_b_FALSE,;t t
s,@stream_out_standard_p_TRUE@,$stream_out_standard_p_TRUE,;t t
s,@stream_out_standard_p_FALSE@,$stream_out_standard_p_FALSE,;t t
s,@stream_out_standard_b_TRUE@,$stream_out_standard_b_TRUE,;t t
s,@stream_out_standard_b_FALSE@,$stream_out_standard_b_FALSE,;t t
s,@CPPFLAGS_stream_out_transcode@,$CPPFLAGS_stream_out_transcode,;t t
s,@LDFLAGS_stream_out_transcode@,$LDFLAGS_stream_out_transcode,;t t
s,@stream_out_transcode_p_TRUE@,$stream_out_transcode_p_TRUE,;t t
s,@stream_out_transcode_p_FALSE@,$stream_out_transcode_p_FALSE,;t t
s,@stream_out_transcode_b_TRUE@,$stream_out_transcode_b_TRUE,;t t
s,@stream_out_transcode_b_FALSE@,$stream_out_transcode_b_FALSE,;t t
s,@stream_out_duplicate_p_TRUE@,$stream_out_duplicate_p_TRUE,;t t
s,@stream_out_duplicate_p_FALSE@,$stream_out_duplicate_p_FALSE,;t t
s,@stream_out_duplicate_b_TRUE@,$stream_out_duplicate_b_TRUE,;t t
s,@stream_out_duplicate_b_FALSE@,$stream_out_duplicate_b_FALSE,;t t
s,@stream_out_es_p_TRUE@,$stream_out_es_p_TRUE,;t t
s,@stream_out_es_p_FALSE@,$stream_out_es_p_FALSE,;t t
s,@stream_out_es_b_TRUE@,$stream_out_es_b_TRUE,;t t
s,@stream_out_es_b_FALSE@,$stream_out_es_b_FALSE,;t t
s,@stream_out_display_p_TRUE@,$stream_out_display_p_TRUE,;t t
s,@stream_out_display_p_FALSE@,$stream_out_display_p_FALSE,;t t
s,@stream_out_display_b_TRUE@,$stream_out_display_b_TRUE,;t t
s,@stream_out_display_b_FALSE@,$stream_out_display_b_FALSE,;t t
s,@LDFLAGS_i420_rgb@,$LDFLAGS_i420_rgb,;t t
s,@i420_rgb_p_TRUE@,$i420_rgb_p_TRUE,;t t
s,@i420_rgb_p_FALSE@,$i420_rgb_p_FALSE,;t t
s,@i420_rgb_b_TRUE@,$i420_rgb_b_TRUE,;t t
s,@i420_rgb_b_FALSE@,$i420_rgb_b_FALSE,;t t
s,@i420_rgb_mmx_p_TRUE@,$i420_rgb_mmx_p_TRUE,;t t
s,@i420_rgb_mmx_p_FALSE@,$i420_rgb_mmx_p_FALSE,;t t
s,@i420_rgb_mmx_b_TRUE@,$i420_rgb_mmx_b_TRUE,;t t
s,@i420_rgb_mmx_b_FALSE@,$i420_rgb_mmx_b_FALSE,;t t
s,@i420_yuy2_p_TRUE@,$i420_yuy2_p_TRUE,;t t
s,@i420_yuy2_p_FALSE@,$i420_yuy2_p_FALSE,;t t
s,@i420_yuy2_b_TRUE@,$i420_yuy2_b_TRUE,;t t
s,@i420_yuy2_b_FALSE@,$i420_yuy2_b_FALSE,;t t
s,@CFLAGS_i420_yuy2_mmx@,$CFLAGS_i420_yuy2_mmx,;t t
s,@i420_yuy2_mmx_p_TRUE@,$i420_yuy2_mmx_p_TRUE,;t t
s,@i420_yuy2_mmx_p_FALSE@,$i420_yuy2_mmx_p_FALSE,;t t
s,@i420_yuy2_mmx_b_TRUE@,$i420_yuy2_mmx_b_TRUE,;t t
s,@i420_yuy2_mmx_b_FALSE@,$i420_yuy2_mmx_b_FALSE,;t t
s,@i422_yuy2_p_TRUE@,$i422_yuy2_p_TRUE,;t t
s,@i422_yuy2_p_FALSE@,$i422_yuy2_p_FALSE,;t t
s,@i422_yuy2_b_TRUE@,$i422_yuy2_b_TRUE,;t t
s,@i422_yuy2_b_FALSE@,$i422_yuy2_b_FALSE,;t t
s,@i422_yuy2_mmx_p_TRUE@,$i422_yuy2_mmx_p_TRUE,;t t
s,@i422_yuy2_mmx_p_FALSE@,$i422_yuy2_mmx_p_FALSE,;t t
s,@i422_yuy2_mmx_b_TRUE@,$i422_yuy2_mmx_b_TRUE,;t t
s,@i422_yuy2_mmx_b_FALSE@,$i422_yuy2_mmx_b_FALSE,;t t
s,@i420_ymga_p_TRUE@,$i420_ymga_p_TRUE,;t t
s,@i420_ymga_p_FALSE@,$i420_ymga_p_FALSE,;t t
s,@i420_ymga_b_TRUE@,$i420_ymga_b_TRUE,;t t
s,@i420_ymga_b_FALSE@,$i420_ymga_b_FALSE,;t t
s,@i420_ymga_mmx_p_TRUE@,$i420_ymga_mmx_p_TRUE,;t t
s,@i420_ymga_mmx_p_FALSE@,$i420_ymga_mmx_p_FALSE,;t t
s,@i420_ymga_mmx_b_TRUE@,$i420_ymga_mmx_b_TRUE,;t t
s,@i420_ymga_mmx_b_FALSE@,$i420_ymga_mmx_b_FALSE,;t t
s,@transform_p_TRUE@,$transform_p_TRUE,;t t
s,@transform_p_FALSE@,$transform_p_FALSE,;t t
s,@transform_b_TRUE@,$transform_b_TRUE,;t t
s,@transform_b_FALSE@,$transform_b_FALSE,;t t
s,@invert_p_TRUE@,$invert_p_TRUE,;t t
s,@invert_p_FALSE@,$invert_p_FALSE,;t t
s,@invert_b_TRUE@,$invert_b_TRUE,;t t
s,@invert_b_FALSE@,$invert_b_FALSE,;t t
s,@LDFLAGS_adjust@,$LDFLAGS_adjust,;t t
s,@adjust_p_TRUE@,$adjust_p_TRUE,;t t
s,@adjust_p_FALSE@,$adjust_p_FALSE,;t t
s,@adjust_b_TRUE@,$adjust_b_TRUE,;t t
s,@adjust_b_FALSE@,$adjust_b_FALSE,;t t
s,@LDFLAGS_distort@,$LDFLAGS_distort,;t t
s,@distort_p_TRUE@,$distort_p_TRUE,;t t
s,@distort_p_FALSE@,$distort_p_FALSE,;t t
s,@distort_b_TRUE@,$distort_b_TRUE,;t t
s,@distort_b_FALSE@,$distort_b_FALSE,;t t
s,@wall_p_TRUE@,$wall_p_TRUE,;t t
s,@wall_p_FALSE@,$wall_p_FALSE,;t t
s,@wall_b_TRUE@,$wall_b_TRUE,;t t
s,@wall_b_FALSE@,$wall_b_FALSE,;t t
s,@clone_p_TRUE@,$clone_p_TRUE,;t t
s,@clone_p_FALSE@,$clone_p_FALSE,;t t
s,@clone_b_TRUE@,$clone_b_TRUE,;t t
s,@clone_b_FALSE@,$clone_b_FALSE,;t t
s,@crop_p_TRUE@,$crop_p_TRUE,;t t
s,@crop_p_FALSE@,$crop_p_FALSE,;t t
s,@crop_b_TRUE@,$crop_b_TRUE,;t t
s,@crop_b_FALSE@,$crop_b_FALSE,;t t
s,@motionblur_p_TRUE@,$motionblur_p_TRUE,;t t
s,@motionblur_p_FALSE@,$motionblur_p_FALSE,;t t
s,@motionblur_b_TRUE@,$motionblur_b_TRUE,;t t
s,@motionblur_b_FALSE@,$motionblur_b_FALSE,;t t
s,@CFLAGS_osdtext@,$CFLAGS_osdtext,;t t
s,@LDFLAGS_osdtext@,$LDFLAGS_osdtext,;t t
s,@osdtext_p_TRUE@,$osdtext_p_TRUE,;t t
s,@osdtext_p_FALSE@,$osdtext_p_FALSE,;t t
s,@osdtext_b_TRUE@,$osdtext_b_TRUE,;t t
s,@osdtext_b_FALSE@,$osdtext_b_FALSE,;t t
s,@deinterlace_p_TRUE@,$deinterlace_p_TRUE,;t t
s,@deinterlace_p_FALSE@,$deinterlace_p_FALSE,;t t
s,@deinterlace_b_TRUE@,$deinterlace_b_TRUE,;t t
s,@deinterlace_b_FALSE@,$deinterlace_b_FALSE,;t t
s,@LDFLAGS_aa@,$LDFLAGS_aa,;t t
s,@aa_p_TRUE@,$aa_p_TRUE,;t t
s,@aa_p_FALSE@,$aa_p_FALSE,;t t
s,@aa_b_TRUE@,$aa_b_TRUE,;t t
s,@aa_b_FALSE@,$aa_b_FALSE,;t t
s,@fb_p_TRUE@,$fb_p_TRUE,;t t
s,@fb_p_FALSE@,$fb_p_FALSE,;t t
s,@fb_b_TRUE@,$fb_b_TRUE,;t t
s,@fb_b_FALSE@,$fb_b_FALSE,;t t
s,@CPPFLAGS_ggi@,$CPPFLAGS_ggi,;t t
s,@LDFLAGS_ggi@,$LDFLAGS_ggi,;t t
s,@ggi_p_TRUE@,$ggi_p_TRUE,;t t
s,@ggi_p_FALSE@,$ggi_p_FALSE,;t t
s,@ggi_b_TRUE@,$ggi_b_TRUE,;t t
s,@ggi_b_FALSE@,$ggi_b_FALSE,;t t
s,@CPPFLAGS_glide@,$CPPFLAGS_glide,;t t
s,@LDFLAGS_glide@,$LDFLAGS_glide,;t t
s,@glide_p_TRUE@,$glide_p_TRUE,;t t
s,@glide_p_FALSE@,$glide_p_FALSE,;t t
s,@glide_b_TRUE@,$glide_b_TRUE,;t t
s,@glide_b_FALSE@,$glide_b_FALSE,;t t
s,@CFLAGS_vout_sdl@,$CFLAGS_vout_sdl,;t t
s,@LDFLAGS_vout_sdl@,$LDFLAGS_vout_sdl,;t t
s,@vout_sdl_p_TRUE@,$vout_sdl_p_TRUE,;t t
s,@vout_sdl_p_FALSE@,$vout_sdl_p_FALSE,;t t
s,@vout_sdl_b_TRUE@,$vout_sdl_b_TRUE,;t t
s,@vout_sdl_b_FALSE@,$vout_sdl_b_FALSE,;t t
s,@LDFLAGS_svgalib@,$LDFLAGS_svgalib,;t t
s,@svgalib_p_TRUE@,$svgalib_p_TRUE,;t t
s,@svgalib_p_FALSE@,$svgalib_p_FALSE,;t t
s,@svgalib_b_TRUE@,$svgalib_b_TRUE,;t t
s,@svgalib_b_FALSE@,$svgalib_b_FALSE,;t t
s,@LDFLAGS_wingdi@,$LDFLAGS_wingdi,;t t
s,@wingdi_p_TRUE@,$wingdi_p_TRUE,;t t
s,@wingdi_p_FALSE@,$wingdi_p_FALSE,;t t
s,@wingdi_b_TRUE@,$wingdi_b_TRUE,;t t
s,@wingdi_b_FALSE@,$wingdi_b_FALSE,;t t
s,@vout_encoder_p_TRUE@,$vout_encoder_p_TRUE,;t t
s,@vout_encoder_p_FALSE@,$vout_encoder_p_FALSE,;t t
s,@vout_encoder_b_TRUE@,$vout_encoder_b_TRUE,;t t
s,@vout_encoder_b_FALSE@,$vout_encoder_b_FALSE,;t t
s,@CPPFLAGS_vout_directx@,$CPPFLAGS_vout_directx,;t t
s,@LDFLAGS_vout_directx@,$LDFLAGS_vout_directx,;t t
s,@vout_directx_p_TRUE@,$vout_directx_p_TRUE,;t t
s,@vout_directx_p_FALSE@,$vout_directx_p_FALSE,;t t
s,@vout_directx_b_TRUE@,$vout_directx_b_TRUE,;t t
s,@vout_directx_b_FALSE@,$vout_directx_b_FALSE,;t t
s,@mga_p_TRUE@,$mga_p_TRUE,;t t
s,@mga_p_FALSE@,$mga_p_FALSE,;t t
s,@mga_b_TRUE@,$mga_b_TRUE,;t t
s,@mga_b_FALSE@,$mga_b_FALSE,;t t
s,@xmga_p_TRUE@,$xmga_p_TRUE,;t t
s,@xmga_p_FALSE@,$xmga_p_FALSE,;t t
s,@xmga_b_TRUE@,$xmga_b_TRUE,;t t
s,@xmga_b_FALSE@,$xmga_b_FALSE,;t t
s,@CPPFLAGS_qte@,$CPPFLAGS_qte,;t t
s,@LDFLAGS_qte@,$LDFLAGS_qte,;t t
s,@qte_p_TRUE@,$qte_p_TRUE,;t t
s,@qte_p_FALSE@,$qte_p_FALSE,;t t
s,@qte_b_TRUE@,$qte_b_TRUE,;t t
s,@qte_b_FALSE@,$qte_b_FALSE,;t t
s,@CPPFLAGS_x11@,$CPPFLAGS_x11,;t t
s,@LDFLAGS_x11@,$LDFLAGS_x11,;t t
s,@x11_p_TRUE@,$x11_p_TRUE,;t t
s,@x11_p_FALSE@,$x11_p_FALSE,;t t
s,@x11_b_TRUE@,$x11_b_TRUE,;t t
s,@x11_b_FALSE@,$x11_b_FALSE,;t t
s,@CPPFLAGS_xvideo@,$CPPFLAGS_xvideo,;t t
s,@LDFLAGS_xvideo@,$LDFLAGS_xvideo,;t t
s,@xvideo_p_TRUE@,$xvideo_p_TRUE,;t t
s,@xvideo_p_FALSE@,$xvideo_p_FALSE,;t t
s,@xvideo_b_TRUE@,$xvideo_b_TRUE,;t t
s,@xvideo_b_FALSE@,$xvideo_b_FALSE,;t t
s,@scope_p_TRUE@,$scope_p_TRUE,;t t
s,@scope_p_FALSE@,$scope_p_FALSE,;t t
s,@scope_b_TRUE@,$scope_b_TRUE,;t t
s,@scope_b_FALSE@,$scope_b_FALSE,;t t
s,@LDFLAGS_xosd@,$LDFLAGS_xosd,;t t
s,@xosd_p_TRUE@,$xosd_p_TRUE,;t t
s,@xosd_p_FALSE@,$xosd_p_FALSE,;t t
s,@xosd_b_TRUE@,$xosd_b_TRUE,;t t
s,@xosd_b_FALSE@,$xosd_b_FALSE,;t t
s,@UNTRUE_TRUE@,$UNTRUE_TRUE,;t t
s,@UNTRUE_FALSE@,$UNTRUE_FALSE,;t t
s,@DATA_PATH@,$DATA_PATH,;t t
s,@PLUGIN_PATH@,$PLUGIN_PATH,;t t
s,@AUTOMAKE_SUCKS@,$AUTOMAKE_SUCKS,;t t
s,@SYS@,$SYS,;t t
s,@ARCH@,$ARCH,;t t
s,@PLUGINS@,$PLUGINS,;t t
s,@BUILTINS@,$BUILTINS,;t t
s,@ALIASES@,$ALIASES,;t t
s,@ASM@,$ASM,;t t
s,@MOC@,$MOC,;t t
s,@XPIDL@,$XPIDL,;t t
s,@LIBEXT@,$LIBEXT,;t t
s,@INCLUDES@,$INCLUDES,;t t
s,@ALL_LINGUAS@,$ALL_LINGUAS,;t t
s,@CFLAGS_TUNING@,$CFLAGS_TUNING,;t t
s,@CFLAGS_OPTIM@,$CFLAGS_OPTIM,;t t
s,@CFLAGS_OPTIM_NODEBUG@,$CFLAGS_OPTIM_NODEBUG,;t t
s,@CFLAGS_NOOPTIM@,$CFLAGS_NOOPTIM,;t t
s,@CFLAGS_vlc@,$CFLAGS_vlc,;t t
s,@CFLAGS_pics@,$CFLAGS_pics,;t t
s,@CXXFLAGS_pics@,$CXXFLAGS_pics,;t t
s,@CFLAGS_plugins@,$CFLAGS_plugins,;t t
s,@CXXFLAGS_plugins@,$CXXFLAGS_plugins,;t t
s,@CFLAGS_builtins@,$CFLAGS_builtins,;t t
s,@CPPFLAGS_mozilla@,$CPPFLAGS_mozilla,;t t
s,@LDFLAGS_vlc@,$LDFLAGS_vlc,;t t
s,@LDFLAGS_libvlc@,$LDFLAGS_libvlc,;t t
s,@LDFLAGS_plugins@,$LDFLAGS_plugins,;t t
s,@LDFLAGS_builtins@,$LDFLAGS_builtins,;t t
s,@LDFLAGS_mozilla@,$LDFLAGS_mozilla,;t t
s,@LIBOBJS@,$LIBOBJS,;t t
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
CEOF

_ACEOF

  cat >>$CONFIG_STATUS <<\_ACEOF
  # Split the substitutions into bite-sized pieces for seds with
  # small command number limits, like on Digital OSF/1 and HP-UX.
  ac_max_sed_lines=48
  ac_sed_frag=1 # Number of current file.
  ac_beg=1 # First line for current file.
  ac_end=$ac_max_sed_lines # Line after last line for current file.
  ac_more_lines=:
  ac_sed_cmds=
  while $ac_more_lines; do
    if test $ac_beg -gt 1; then
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    else
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    fi
    if test ! -s $tmp/subs.frag; then
      ac_more_lines=false
    else
      # The purpose of the label and of the branching condition is to
      # speed up the sed processing (if there are no `@' at all, there
      # is no need to browse any of the substitutions).
      # These are the two extra sed commands mentioned above.
      (echo ':t
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) 
>$tmp/subs-$ac_sed_frag.sed
      if test -z "$ac_sed_cmds"; then
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
      else
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
      fi
      ac_sed_frag=`expr $ac_sed_frag + 1`
      ac_beg=$ac_end
      ac_end=`expr $ac_end + $ac_max_sed_lines`
    fi
  done
  if test -z "$ac_sed_cmds"; then
    ac_sed_cmds=cat
  fi
fi # test -n "$CONFIG_FILES"

_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  case $ac_file in
  - | *:- | *:-:* ) # input from stdin
        cat >$tmp/stdin
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  * )   ac_file_in=$ac_file.in ;;
  esac

  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
         X"$ac_file" : 'X\(//\)[^/]' \| \
         X"$ac_file" : 'X\(//\)$' \| \
         X"$ac_file" : 'X\(/\)' \| \
         .     : '\(.\)' 2>/dev/null ||
echo X"$ac_file" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
          /^X\(\/\/\)$/{ s//\1/; q; }
          /^X\(\/\).*/{ s//\1/; q; }
          s/.*/./; q'`
  { if $as_mkdir_p; then
    mkdir -p "$ac_dir"
  else
    as_dir="$ac_dir"
    as_dirs=
    while test ! -d "$as_dir"; do
      as_dirs="$as_dir $as_dirs"
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
         X"$as_dir" : 'X\(//\)[^/]' \| \
         X"$as_dir" : 'X\(//\)$' \| \
         X"$as_dir" : 'X\(/\)' \| \
         .     : '\(.\)' 2>/dev/null ||
echo X"$as_dir" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
          /^X\(\/\/\)$/{ s//\1/; q; }
          /^X\(\/\).*/{ s//\1/; q; }
          s/.*/./; q'`
    done
    test ! -n "$as_dirs" || mkdir $as_dirs
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" 
>&5
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   { (exit 1); exit 1; }; }; }

  ac_builddir=.

if test "$ac_dir" != .; then
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  # A "../" for each directory in $ac_dir_suffix.
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
else
  ac_dir_suffix= ac_top_builddir=
fi

case $srcdir in
  .)  # No --srcdir option.  We are building in place.
    ac_srcdir=.
    if test -z "$ac_top_builddir"; then
       ac_top_srcdir=.
    else
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    fi ;;
  [\\/]* | ?:[\\/]* )  # Absolute path.
    ac_srcdir=$srcdir$ac_dir_suffix;
    ac_top_srcdir=$srcdir ;;
  *) # Relative path.
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
esac
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
# absolute.
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`


  case $INSTALL in
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
  esac

  if test x"$ac_file" != x-; then
    { echo "$as_me:$LINENO: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
    rm -f "$ac_file"
  fi
  # Let's still pretend it is `configure' which instantiates (i.e., don't
  # use $as_me), people would be surprised to read:
  #    /* config.h.  Generated by config.status.  */
  if test x"$ac_file" = x-; then
    configure_input=
  else
    configure_input="$ac_file.  "
  fi
  configure_input=$configure_input"Generated from `echo $ac_file_in |
                                     sed 's,.*/,,'` by configure."

  # First look for the input files in the build tree, otherwise in the
  # src tree.
  ac_file_inputs=`IFS=:
    for f in $ac_file_in; do
      case $f in
      -) echo $tmp/stdin ;;
      [\\/$]*)
         # Absolute (can't be DOS-style, as IFS=:)
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input 
file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
   { (exit 1); exit 1; }; }
         echo $f;;
      *) # Relative
         if test -f "$f"; then
           # Build tree
           echo $f
         elif test -f "$srcdir/$f"; then
           # Source tree
           echo $srcdir/$f
         else
           # /dev/null tree
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
   { (exit 1); exit 1; }; }
         fi;;
      esac
    done` || { (exit 1); exit 1; }
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
  sed "$ac_vpsub
$extrasub
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
:t
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
s,@configure_input@,$configure_input,;t t
s,@srcdir@,$ac_srcdir,;t t
s,@abs_srcdir@,$ac_abs_srcdir,;t t
s,@top_srcdir@,$ac_top_srcdir,;t t
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
s,@builddir@,$ac_builddir,;t t
s,@abs_builddir@,$ac_abs_builddir,;t t
s,@top_builddir@,$ac_top_builddir,;t t
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
s,@INSTALL@,$ac_INSTALL,;t t
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
  rm -f $tmp/stdin
  if test x"$ac_file" != x-; then
    mv $tmp/out $ac_file
  else
    cat $tmp/out
    rm -f $tmp/out
  fi

done
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF

#
# CONFIG_HEADER section.
#

# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
# NAME is the cpp macro being defined and VALUE is the value it is being given.
#
# ac_d sets the value in "#define NAME VALUE" lines.
ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
ac_dB='[        ].*$,\1#\2'
ac_dC=' '
ac_dD=',;t'
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
ac_uB='$,\1#\2define\3'
ac_uC=' '
ac_uD=',;t'

for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  case $ac_file in
  - | *:- | *:-:* ) # input from stdin
        cat >$tmp/stdin
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  * )   ac_file_in=$ac_file.in ;;
  esac

  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}

  # First look for the input files in the build tree, otherwise in the
  # src tree.
  ac_file_inputs=`IFS=:
    for f in $ac_file_in; do
      case $f in
      -) echo $tmp/stdin ;;
      [\\/$]*)
         # Absolute (can't be DOS-style, as IFS=:)
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input 
file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
   { (exit 1); exit 1; }; }
         echo $f;;
      *) # Relative
         if test -f "$f"; then
           # Build tree
           echo $f
         elif test -f "$srcdir/$f"; then
           # Source tree
           echo $srcdir/$f
         else
           # /dev/null tree
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
   { (exit 1); exit 1; }; }
         fi;;
      esac
    done` || { (exit 1); exit 1; }
  # Remove the trailing spaces.
  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in

_ACEOF

# Transform confdefs.h into two sed scripts, `conftest.defines' and
# `conftest.undefs', that substitutes the proper values into
# config.h.in to produce config.h.  The first handles `#define'
# templates, and the second `#undef' templates.
# And first: Protect against being on the right side of a sed subst in
# config.status.  Protect against being in an unquoted here document
# in config.status.
rm -f conftest.defines conftest.undefs
# Using a here document instead of a string reduces the quoting nightmare.
# Putting comments in sed scripts is not portable.
#
# `end' is used to avoid that the second main sed command (meant for
# 0-ary CPP macros) applies to n-ary macro definitions.
# See the Autoconf documentation for `clear'.
cat >confdef2sed.sed <<\_ACEOF
s/[\\&,]/\\&/g
s,[\\$`],\\&,g
t clear
: clear
s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       
]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
t end
s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   
]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
: end
_ACEOF
# If some macros were called several times there might be several times
# the same #defines, which is useless.  Nevertheless, we may not want to
# sort them, since we want the *last* AC-DEFINE to be honored.
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
rm -f confdef2sed.sed

# This sed command replaces #undef with comments.  This is necessary, for
# example, in the case of _POSIX_SOURCE, which is predefined and required
# on some systems where configure will not decide to define it.
cat >>conftest.undefs <<\_ACEOF
s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
_ACEOF

# Break up conftest.defines because some shells have a limit on the size
# of here documents, and old seds have small limits too (100 cmds).
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' 
>>$CONFIG_STATUS
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
echo '  :' >>$CONFIG_STATUS
rm -f conftest.tail
while grep . conftest.defines >/dev/null
do
  # Write a limited-size here document to $tmp/defines.sed.
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
  # Speed up: don't consider the non `#define' lines.
  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
  # Work around the forget-to-reset-the-flag bug.
  echo 't clr' >>$CONFIG_STATUS
  echo ': clr' >>$CONFIG_STATUS
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
  echo 'CEOF
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
  rm -f $tmp/in
  mv $tmp/out $tmp/in
' >>$CONFIG_STATUS
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
  rm -f conftest.defines
  mv conftest.tail conftest.defines
done
rm -f conftest.defines
echo '  fi # grep' >>$CONFIG_STATUS
echo >>$CONFIG_STATUS

# Break up conftest.undefs because some shells have a limit on the size
# of here documents, and old seds have small limits too (100 cmds).
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
rm -f conftest.tail
while grep . conftest.undefs >/dev/null
do
  # Write a limited-size here document to $tmp/undefs.sed.
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
  # Speed up: don't consider the non `#undef'
  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
  # Work around the forget-to-reset-the-flag bug.
  echo 't clr' >>$CONFIG_STATUS
  echo ': clr' >>$CONFIG_STATUS
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
  echo 'CEOF
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
  rm -f $tmp/in
  mv $tmp/out $tmp/in
' >>$CONFIG_STATUS
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
  rm -f conftest.undefs
  mv conftest.tail conftest.undefs
done
rm -f conftest.undefs

cat >>$CONFIG_STATUS <<\_ACEOF
  # Let's still pretend it is `configure' which instantiates (i.e., don't
  # use $as_me), people would be surprised to read:
  #    /* config.h.  Generated by config.status.  */
  if test x"$ac_file" = x-; then
    echo "/* Generated by configure.  */" >$tmp/config.h
  else
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
  fi
  cat $tmp/in >>$tmp/config.h
  rm -f $tmp/in
  if test x"$ac_file" != x-; then
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
echo "$as_me: $ac_file is unchanged" >&6;}
    else
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
         X"$ac_file" : 'X\(//\)[^/]' \| \
         X"$ac_file" : 'X\(//\)$' \| \
         X"$ac_file" : 'X\(/\)' \| \
         .     : '\(.\)' 2>/dev/null ||
echo X"$ac_file" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
          /^X\(\/\/\)$/{ s//\1/; q; }
          /^X\(\/\).*/{ s//\1/; q; }
          s/.*/./; q'`
      { if $as_mkdir_p; then
    mkdir -p "$ac_dir"
  else
    as_dir="$ac_dir"
    as_dirs=
    while test ! -d "$as_dir"; do
      as_dirs="$as_dir $as_dirs"
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
         X"$as_dir" : 'X\(//\)[^/]' \| \
         X"$as_dir" : 'X\(//\)$' \| \
         X"$as_dir" : 'X\(/\)' \| \
         .     : '\(.\)' 2>/dev/null ||
echo X"$as_dir" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
          /^X\(\/\/\)$/{ s//\1/; q; }
          /^X\(\/\).*/{ s//\1/; q; }
          s/.*/./; q'`
    done
    test ! -n "$as_dirs" || mkdir $as_dirs
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" 
>&5
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   { (exit 1); exit 1; }; }; }

      rm -f $ac_file
      mv $tmp/config.h $ac_file
    fi
  else
    cat $tmp/config.h
    rm -f $tmp/config.h
  fi
# Compute $ac_file's index in $config_headers.
_am_stamp_count=1
for _am_header in $config_headers :; do
  case $_am_header in
    $ac_file | $ac_file:* )
      break ;;
    * )
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  esac
done
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
         X$ac_file : 'X\(//\)[^/]' \| \
         X$ac_file : 'X\(//\)$' \| \
         X$ac_file : 'X\(/\)' \| \
         .     : '\(.\)' 2>/dev/null ||
echo X$ac_file |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
          /^X\(\/\/\)$/{ s//\1/; q; }
          /^X\(\/\).*/{ s//\1/; q; }
          s/.*/./; q'`/stamp-h$_am_stamp_count
done
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF

#
# CONFIG_COMMANDS section.
#
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
         X"$ac_dest" : 'X\(//\)[^/]' \| \
         X"$ac_dest" : 'X\(//\)$' \| \
         X"$ac_dest" : 'X\(/\)' \| \
         .     : '\(.\)' 2>/dev/null ||
echo X"$ac_dest" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
          /^X\(\/\/\)$/{ s//\1/; q; }
          /^X\(\/\).*/{ s//\1/; q; }
          s/.*/./; q'`
  ac_builddir=.

if test "$ac_dir" != .; then
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  # A "../" for each directory in $ac_dir_suffix.
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
else
  ac_dir_suffix= ac_top_builddir=
fi

case $srcdir in
  .)  # No --srcdir option.  We are building in place.
    ac_srcdir=.
    if test -z "$ac_top_builddir"; then
       ac_top_srcdir=.
    else
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    fi ;;
  [\\/]* | ?:[\\/]* )  # Absolute path.
    ac_srcdir=$srcdir$ac_dir_suffix;
    ac_top_srcdir=$srcdir ;;
  *) # Relative path.
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
esac
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
# absolute.
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`


  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
echo "$as_me: executing $ac_dest commands" >&6;}
  case $ac_dest in
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
  # Strip MF so we end up with the name of the file.
  mf=`echo "$mf" | sed -e 's/:.*$//'`
  # Check whether this is an Automake generated Makefile or not.
  # We used to match only the files named `Makefile.in', but
  # some people rename them; so instead we look at the file content.
  # Grep'ing the first line is not enough: some people post-process
  # each Makefile.in and add a new line on top of each file to say so.
  # So let's grep whole file.
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
    dirpart=`(dirname "$mf") 2>/dev/null ||
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
         X"$mf" : 'X\(//\)[^/]' \| \
         X"$mf" : 'X\(//\)$' \| \
         X"$mf" : 'X\(/\)' \| \
         .     : '\(.\)' 2>/dev/null ||
echo X"$mf" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
          /^X\(\/\/\)$/{ s//\1/; q; }
          /^X\(\/\).*/{ s//\1/; q; }
          s/.*/./; q'`
  else
    continue
  fi
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
  # Extract the definition of DEP_FILES from the Makefile without
  # running `make'.
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
  test -z "$DEPDIR" && continue
  # When using ansi2knr, U may be empty or an underscore; expand it
  U=`sed -n -e '/^U = / s///p' < "$mf"`
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
  # We invoke sed twice because it is the simplest approach to
  # changing $(DEPDIR) to its actual value in the expansion.
  for file in `sed -n -e '
    /^DEP_FILES = .*\\\\$/ {
      s/^DEP_FILES = //
      :loop
        s/\\\\$//
        p
        n
        /\\\\$/ b loop
      p
    }
    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
    # Make sure the directory exists.
    test -f "$dirpart/$file" && continue
    fdir=`(dirname "$file") 2>/dev/null ||
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
         X"$file" : 'X\(//\)[^/]' \| \
         X"$file" : 'X\(//\)$' \| \
         X"$file" : 'X\(/\)' \| \
         .     : '\(.\)' 2>/dev/null ||
echo X"$file" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
          /^X\(\/\/\)$/{ s//\1/; q; }
          /^X\(\/\).*/{ s//\1/; q; }
          s/.*/./; q'`
    { if $as_mkdir_p; then
    mkdir -p $dirpart/$fdir
  else
    as_dir=$dirpart/$fdir
    as_dirs=
    while test ! -d "$as_dir"; do
      as_dirs="$as_dir $as_dirs"
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
         X"$as_dir" : 'X\(//\)[^/]' \| \
         X"$as_dir" : 'X\(//\)$' \| \
         X"$as_dir" : 'X\(/\)' \| \
         .     : '\(.\)' 2>/dev/null ||
echo X"$as_dir" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
          /^X\(\/\/\)$/{ s//\1/; q; }
          /^X\(\/\).*/{ s//\1/; q; }
          s/.*/./; q'`
    done
    test ! -n "$as_dirs" || mkdir $as_dirs
  fi || { { echo "$as_me:$LINENO: error: cannot create directory 
$dirpart/$fdir" >&5
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
   { (exit 1); exit 1; }; }; }

    # echo "creating $dirpart/$file"
    echo '# dummy' > "$dirpart/$file"
  done
done
 ;;
    default-1 )
    for ac_file in $CONFIG_FILES; do
      # Support "outfile[:infile[:infile...]]"
      case "$ac_file" in
        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
      esac
      # PO directories have a Makefile.in generated from Makefile.in.in.
      case "$ac_file" in */Makefile.in)
        # Adjust a relative srcdir.
        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
        # In autoconf-2.13 it is called $ac_given_srcdir.
        # In autoconf-2.50 it is called $srcdir.
        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
        case "$ac_given_srcdir" in
          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
          /*) top_srcdir="$ac_given_srcdir" ;;
          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
        esac
        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
          rm -f "$ac_dir/POTFILES"
          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo 
"creating $ac_dir/POTFILES"
          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   
]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > 
"$ac_dir/POTFILES"
          # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
          # on $ac_dir but don't depend on user-specified configuration
          # parameters.
          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
            # The LINGUAS file contains the set of available languages.
            if test -n "$ALL_LINGUAS"; then
              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in 
configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is 
obsolete"
            fi
            ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
            # Hide the ALL_LINGUAS assigment from automake.
            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
          fi
          case "$ac_given_srcdir" in
            .) srcdirpre= ;;
            *) srcdirpre='$(srcdir)/' ;;
          esac
          POFILES=
          GMOFILES=
          UPDATEPOFILES=
          DUMMYPOFILES=
          for lang in $ALL_LINGUAS; do
            POFILES="$POFILES $srcdirpre$lang.po"
            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
          done
          # CATALOGS depends on both $ac_dir and the user's LINGUAS
          # environment variable.
          INST_LINGUAS=
          if test -n "$ALL_LINGUAS"; then
            for presentlang in $ALL_LINGUAS; do
              useit=no
              if test "%UNSET%" != "$LINGUAS"; then
                desiredlanguages="$LINGUAS"
              else
                desiredlanguages="$ALL_LINGUAS"
              fi
              for desiredlang in $desiredlanguages; do
                # Use the presentlang catalog if desiredlang is
                #   a. equal to presentlang, or
                #   b. a variant of presentlang (because in this case,
                #      presentlang can be used as a fallback for messages
                #      which are not translated in the desiredlang catalog).
                case "$desiredlang" in
                  "$presentlang"*) useit=yes;;
                esac
              done
              if test $useit = yes; then
                INST_LINGUAS="$INST_LINGUAS $presentlang"
              fi
            done
          fi
          CATALOGS=
          if test -n "$INST_LINGUAS"; then
            for lang in $INST_LINGUAS; do
              CATALOGS="$CATALOGS $lang.gmo"
            done
          fi
          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo 
"creating $ac_dir/Makefile"
          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r 
$ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e 
"s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e 
"s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" 
"$ac_dir/Makefile.in" > "$ac_dir/Makefile"
          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
            if test -f "$f"; then
              case "$f" in
                *.orig | *.bak | *~) ;;
                *) cat "$f" >> "$ac_dir/Makefile" ;;
              esac
            fi
          done
        fi
        ;;
      esac
    done ;;
    default )
  chmod a+x vlc-config
 ;;
  esac
done
_ACEOF

cat >>$CONFIG_STATUS <<\_ACEOF

{ (exit 0); exit 0; }
_ACEOF
chmod +x $CONFIG_STATUS
ac_clean_files=$ac_clean_files_save


# configure is writing to config.log, and then calls config.status.
# config.status does its own redirection, appending to config.log.
# Unfortunately, on DOS this fails, as config.log is still kept open
# by configure, so config.status won't be able to write to it; its
# output is simply discarded.  So we exec the FD to /dev/null,
# effectively closing config.log, so it can be properly (re)opened and
# appended to by config.status.  When coming back to configure, we
# need to make the FD available again.
if test "$no_create" != yes; then
  ac_cs_success=:
  ac_config_status_args=
  test "$silent" = yes &&
    ac_config_status_args="$ac_config_status_args --quiet"
  exec 5>/dev/null
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  exec 5>>config.log
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  # would make configure fail if this is the last instruction.
  $ac_cs_success || { (exit 1); exit 1; }
fi


printf "
vlc configuration
--------------------
vlc version           : ${VERSION}
system                : ${SYS}
architecture          : ${ARCH}
build flavour         : "
test "${DEBUG_TRUE}" = "" && printf "debug "
test "${CPROF_TRUE}" = "" && printf "cprof "
test "${GPROF_TRUE}" = "" && printf "gprof "
test "${OPTIM_TRUE}" = "" && printf "optim "
test "${RELEASE_TRUE}" = "" && printf "release " || printf "devel "
echo "
vlc aliases           :${ALIASES}

To build vlc and its plugins, type \`make'.
"

/* $XFree86: xc/include/Xdefs.h,v 1.2 1999/08/22 06:21:20 dawes Exp $ */

/***********************************************************

Copyright (c) 1999  The XFree86 Project Inc.

All Rights Reserved.

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Except as contained in this notice, the name of The XFree86 Project
Inc. shall not be used in advertising or otherwise to promote the
sale, use or other dealings in this Software without prior written
authorization from The XFree86 Project Inc..

*/

/**
 ** Types definitions shared between server and clients 
 **/

#ifndef _XDEFS_H
#define _XDEFS_H

#ifdef _XSERVER64
#include <X11/Xmd.h>
#endif 

#ifndef _XTYPEDEF_ATOM
#  define _XTYPEDEF_ATOM
#  ifndef _XSERVER64
typedef unsigned long Atom;
#  else
typedef CARD32 Atom;
#  endif
#endif

#ifndef Bool
#  ifndef _XTYPEDEF_BOOL
#   define _XTYPEDEF_BOOL
typedef int Bool;
#  endif
#endif

#ifndef _XTYPEDEF_POINTER
#  define _XTYPEDEF_POINTER
typedef void *pointer;
#endif

#ifndef _XTYPEDEF_CLIENTPTR
typedef struct _Client *ClientPtr;
#  define _XTYPEDEF_CLIENTPTR
#endif

#ifndef _XTYPEDEF_XID
#  define _XTYPEDEF_XID
#  ifndef _XSERVER64
typedef unsigned long XID;
#  else
typedef CARD32 XID;
#  endif
#endif

#ifndef _XTYPEDEF_MASK
#  define _XTYPEDEF_MASK
#  ifndef _XSERVER64
typedef unsigned long Mask;
#  else
typedef CARD32 Mask;
#  endif
#endif

#ifndef _XTYPEDEF_FONTPTR
#  define _XTYPEDEF_FONTPTR
typedef struct _Font *FontPtr; /* also in fonts/include/font.h */
#endif

#ifndef _XTYPEDEF_FONT
#  define _XTYPEDEF_FONT
typedef XID     Font;
#endif

#ifndef _XTYPEDEF_FSID
#  ifndef _XSERVER64
typedef unsigned long FSID;
#  else
typedef CARD32 FSID;
#  endif
#endif

typedef FSID AccContext;

/* OS independant time value 
   XXX Should probably go in Xos.h */
typedef struct timeval **OSTimePtr;


typedef void (* BlockHandlerProcPtr)(pointer /* blockData */,
                                     OSTimePtr /* pTimeout */,
                                     pointer /* pReadmask */);

#endif
/* $XFree86: xc/include/extensions/Xinerama.h,v 3.2 2000/03/01 01:04:20 dawes 
Exp $ */

#ifndef _Xinerama_h
#define _Xinerama_h

typedef struct {
   int   screen_number;
   short x_org;
   short y_org;
   short width;
   short height;
} XineramaScreenInfo;

Bool XineramaQueryExtension (
   Display *dpy,
   int     *event_base,
   int     *error_base
);

Status XineramaQueryVersion(
   Display *dpy,
   int     *major,
   int     *minor
);

Bool XineramaIsActive(Display *dpy);


/* 
   Returns the number of heads and a pointer to an array of
   structures describing the position and size of the individual
   heads.  Returns NULL and number = 0 if Xinerama is not active.
  
   Returned array should be freed with XFree().
*/

XineramaScreenInfo * 
XineramaQueryScreens(
   Display *dpy,
   int     *number
);

#endif /* _Xinerama_h */

/* $Xorg: Xlib.h,v 1.5 2000/08/17 19:45:06 cpqbld Exp $ */
/* 

Copyright 1985, 1986, 1987, 1991, 1998  The Open Group

All Rights Reserved.

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Except as contained in this notice, the name of The Open Group shall not be
used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.

*/
/* $XFree86: xc/lib/X11/Xlib.h,v 3.19 2001/01/17 19:41:50 dawes Exp $ */


/*
 *      Xlib.h - Header definition and support file for the C subroutine
 *      interface library (Xlib) to the X Window System Protocol (V11).
 *      Structures and symbols starting with "_" are private to the library.
 */
#ifndef _XLIB_H_
#define _XLIB_H_

#define XlibSpecificationRelease 6

#ifdef USG
#ifndef __TYPES__
#include <sys/types.h>                  /* forgot to protect it... */
#define __TYPES__
#endif /* __TYPES__ */
#else
#if defined(_POSIX_SOURCE) && defined(MOTOROLA)
#undef _POSIX_SOURCE
#include <sys/types.h>
#define _POSIX_SOURCE
#else
#include <sys/types.h>
#endif
#endif /* USG */

#include <X11/X.h>

/* applications should not depend on these two headers being included! */
#include <X11/Xfuncproto.h>
#include <X11/Xosdefs.h>

#ifndef X_WCHAR
#ifdef X_NOT_STDC_ENV
#ifndef SCO324
#ifndef ISC
#define X_WCHAR
#endif
#endif
#endif
#endif

#ifndef X_WCHAR
#include <stddef.h>
#else
#ifdef __EMX__
#include <stdlib.h>
#else
#ifdef linux
#include <stddef.h>
#else
/* replace this with #include or typedef appropriate for your system */
typedef unsigned long wchar_t;
#endif
#endif
#endif

#if defined(ISC) && defined(USE_XMBTOWC)
#define wctomb(a,b)     _Xwctomb(a,b)
#define mblen(a,b)      _Xmblen(a,b) 
#ifndef USE_XWCHAR_STRING
#define mbtowc(a,b,c)   _Xmbtowc(a,b,c)
#endif
#endif

/* API mentioning "UTF8" or "utf8" is an XFree86 extension, introduced in
   November 2000. Its presence is indicated through the following macro. */
#define X_HAVE_UTF8_STRING 1

typedef char *XPointer;

#define Bool int
#define Status int
#define True 1
#define False 0

#define QueuedAlready 0
#define QueuedAfterReading 1
#define QueuedAfterFlush 2

#define ConnectionNumber(dpy)   (((_XPrivDisplay)dpy)->fd)
#define RootWindow(dpy, scr)    (ScreenOfDisplay(dpy,scr)->root)
#define DefaultScreen(dpy)      (((_XPrivDisplay)dpy)->default_screen)
#define DefaultRootWindow(dpy)  (ScreenOfDisplay(dpy,DefaultScreen(dpy))->root)
#define DefaultVisual(dpy, scr) (ScreenOfDisplay(dpy,scr)->root_visual)
#define DefaultGC(dpy, scr)     (ScreenOfDisplay(dpy,scr)->default_gc)
#define BlackPixel(dpy, scr)    (ScreenOfDisplay(dpy,scr)->black_pixel)
#define WhitePixel(dpy, scr)    (ScreenOfDisplay(dpy,scr)->white_pixel)
#define AllPlanes               ((unsigned long)~0L)
#define QLength(dpy)            (((_XPrivDisplay)dpy)->qlen)
#define DisplayWidth(dpy, scr)  (ScreenOfDisplay(dpy,scr)->width)
#define DisplayHeight(dpy, scr) (ScreenOfDisplay(dpy,scr)->height)
#define DisplayWidthMM(dpy, scr)(ScreenOfDisplay(dpy,scr)->mwidth)
#define DisplayHeightMM(dpy, scr)(ScreenOfDisplay(dpy,scr)->mheight)
#define DisplayPlanes(dpy, scr) (ScreenOfDisplay(dpy,scr)->root_depth)
#define DisplayCells(dpy, scr)  (DefaultVisual(dpy,scr)->map_entries)
#define ScreenCount(dpy)        (((_XPrivDisplay)dpy)->nscreens)
#define ServerVendor(dpy)       (((_XPrivDisplay)dpy)->vendor)
#define ProtocolVersion(dpy)    (((_XPrivDisplay)dpy)->proto_major_version)
#define ProtocolRevision(dpy)   (((_XPrivDisplay)dpy)->proto_minor_version)
#define VendorRelease(dpy)      (((_XPrivDisplay)dpy)->release)
#define DisplayString(dpy)      (((_XPrivDisplay)dpy)->display_name)
#define DefaultDepth(dpy, scr)  (ScreenOfDisplay(dpy,scr)->root_depth)
#define DefaultColormap(dpy, scr)(ScreenOfDisplay(dpy,scr)->cmap)
#define BitmapUnit(dpy)         (((_XPrivDisplay)dpy)->bitmap_unit)
#define BitmapBitOrder(dpy)     (((_XPrivDisplay)dpy)->bitmap_bit_order)
#define BitmapPad(dpy)          (((_XPrivDisplay)dpy)->bitmap_pad)
#define ImageByteOrder(dpy)     (((_XPrivDisplay)dpy)->byte_order)
#ifdef CRAY /* unable to get WORD64 without pulling in other symbols */
#define NextRequest(dpy)        XNextRequest(dpy)
#else
#define NextRequest(dpy)        (((_XPrivDisplay)dpy)->request + 1)
#endif
#define LastKnownRequestProcessed(dpy)  
(((_XPrivDisplay)dpy)->last_request_read)

/* macros for screen oriented applications (toolkit) */
#define ScreenOfDisplay(dpy, scr)(&((_XPrivDisplay)dpy)->screens[scr])
#define DefaultScreenOfDisplay(dpy) ScreenOfDisplay(dpy,DefaultScreen(dpy))
#define DisplayOfScreen(s)      ((s)->display)
#define RootWindowOfScreen(s)   ((s)->root)
#define BlackPixelOfScreen(s)   ((s)->black_pixel)
#define WhitePixelOfScreen(s)   ((s)->white_pixel)
#define DefaultColormapOfScreen(s)((s)->cmap)
#define DefaultDepthOfScreen(s) ((s)->root_depth)
#define DefaultGCOfScreen(s)    ((s)->default_gc)
#define DefaultVisualOfScreen(s)((s)->root_visual)
#define WidthOfScreen(s)        ((s)->width)
#define HeightOfScreen(s)       ((s)->height)
#define WidthMMOfScreen(s)      ((s)->mwidth)
#define HeightMMOfScreen(s)     ((s)->mheight)
#define PlanesOfScreen(s)       ((s)->root_depth)
#define CellsOfScreen(s)        (DefaultVisualOfScreen((s))->map_entries)
#define MinCmapsOfScreen(s)     ((s)->min_maps)
#define MaxCmapsOfScreen(s)     ((s)->max_maps)
#define DoesSaveUnders(s)       ((s)->save_unders)
#define DoesBackingStore(s)     ((s)->backing_store)
#define EventMaskOfScreen(s)    ((s)->root_input_mask)

/*
 * Extensions need a way to hang private data on some structures.
 */
typedef struct _XExtData {
        int number;             /* number returned by XRegisterExtension */
        struct _XExtData *next; /* next item on list of data for structure */
        int (*free_private)(    /* called to free private storage */
#if NeedFunctionPrototypes
        struct _XExtData *extension
#endif
        );
        XPointer private_data;  /* data private to this extension. */
} XExtData;

/*
 * This file contains structures used by the extension mechanism.
 */
typedef struct {                /* public to extension, cannot be changed */
        int extension;          /* extension number */
        int major_opcode;       /* major op-code assigned by server */
        int first_event;        /* first event number for the extension */
        int first_error;        /* first error number for the extension */
} XExtCodes;

/*
 * Data structure for retrieving info about pixmap formats.
 */

typedef struct {
    int depth;
    int bits_per_pixel;
    int scanline_pad;
} XPixmapFormatValues;


/*
 * Data structure for setting graphics context.
 */
typedef struct {
        int function;           /* logical operation */
        unsigned long plane_mask;/* plane mask */
        unsigned long foreground;/* foreground pixel */
        unsigned long background;/* background pixel */
        int line_width;         /* line width */
        int line_style;         /* LineSolid, LineOnOffDash, LineDoubleDash */
        int cap_style;          /* CapNotLast, CapButt, 
                                   CapRound, CapProjecting */
        int join_style;         /* JoinMiter, JoinRound, JoinBevel */
        int fill_style;         /* FillSolid, FillTiled, 
                                   FillStippled, FillOpaeueStippled */
        int fill_rule;          /* EvenOddRule, WindingRule */
        int arc_mode;           /* ArcChord, ArcPieSlice */
        Pixmap tile;            /* tile pixmap for tiling operations */
        Pixmap stipple;         /* stipple 1 plane pixmap for stipping */
        int ts_x_origin;        /* offset for tile or stipple operations */
        int ts_y_origin;
        Font font;              /* default text font for text operations */
        int subwindow_mode;     /* ClipByChildren, IncludeInferiors */
        Bool graphics_exposures;/* boolean, should exposures be generated */
        int clip_x_origin;      /* origin for clipping */
        int clip_y_origin;
        Pixmap clip_mask;       /* bitmap clipping; other calls for rects */
        int dash_offset;        /* patterned/dashed line information */
        char dashes;
} XGCValues;

/*
 * Graphics context.  The contents of this structure are implementation
 * dependent.  A GC should be treated as opaque by application code.
 */

typedef struct _XGC
#ifdef XLIB_ILLEGAL_ACCESS
{
    XExtData *ext_data; /* hook for extension to hang data */
    GContext gid;       /* protocol ID for graphics context */
    /* there is more to this structure, but it is private to Xlib */
}
#endif
*GC;

/*
 * Visual structure; contains information about colormapping possible.
 */
typedef struct {
        XExtData *ext_data;     /* hook for extension to hang data */
        VisualID visualid;      /* visual id of this visual */
#if defined(__cplusplus) || defined(c_plusplus)
        int c_class;            /* C++ class of screen (monochrome, etc.) */
#else
        int class;              /* class of screen (monochrome, etc.) */
#endif
        unsigned long red_mask, green_mask, blue_mask;  /* mask values */
        int bits_per_rgb;       /* log base 2 of distinct color values */
        int map_entries;        /* color map entries */
} Visual;

/*
 * Depth structure; contains information for each possible depth.
 */     
typedef struct {
        int depth;              /* this depth (Z) of the depth */
        int nvisuals;           /* number of Visual types at this depth */
        Visual *visuals;        /* list of visuals possible at this depth */
} Depth;

/*
 * Information about the screen.  The contents of this structure are
 * implementation dependent.  A Screen should be treated as opaque
 * by application code.
 */

struct _XDisplay;               /* Forward declare before use for C++ */

typedef struct {
        XExtData *ext_data;     /* hook for extension to hang data */
        struct _XDisplay *display;/* back pointer to display structure */
        Window root;            /* Root window id. */
        int width, height;      /* width and height of screen */
        int mwidth, mheight;    /* width and height of  in millimeters */
        int ndepths;            /* number of depths possible */
        Depth *depths;          /* list of allowable depths on the screen */
        int root_depth;         /* bits per pixel */
        Visual *root_visual;    /* root visual */
        GC default_gc;          /* GC for the root root visual */
        Colormap cmap;          /* default color map */
        unsigned long white_pixel;
        unsigned long black_pixel;      /* White and Black pixel values */
        int max_maps, min_maps; /* max and min color maps */
        int backing_store;      /* Never, WhenMapped, Always */
        Bool save_unders;       
        long root_input_mask;   /* initial root input mask */
} Screen;

/*
 * Format structure; describes ZFormat data the screen will understand.
 */
typedef struct {
        XExtData *ext_data;     /* hook for extension to hang data */
        int depth;              /* depth of this image format */
        int bits_per_pixel;     /* bits/pixel at this depth */
        int scanline_pad;       /* scanline must padded to this multiple */
} ScreenFormat;

/*
 * Data structure for setting window attributes.
 */
typedef struct {
    Pixmap background_pixmap;   /* background or None or ParentRelative */
    unsigned long background_pixel;     /* background pixel */
    Pixmap border_pixmap;       /* border of the window */
    unsigned long border_pixel; /* border pixel value */
    int bit_gravity;            /* one of bit gravity values */
    int win_gravity;            /* one of the window gravity values */
    int backing_store;          /* NotUseful, WhenMapped, Always */
    unsigned long backing_planes;/* planes to be preseved if possible */
    unsigned long backing_pixel;/* value to use in restoring planes */
    Bool save_under;            /* should bits under be saved? (popups) */
    long event_mask;            /* set of events that should be saved */
    long do_not_propagate_mask; /* set of events that should not propagate */
    Bool override_redirect;     /* boolean value for override-redirect */
    Colormap colormap;          /* color map to be associated with window */
    Cursor cursor;              /* cursor to be displayed (or None) */
} XSetWindowAttributes;

typedef struct {
    int x, y;                   /* location of window */
    int width, height;          /* width and height of window */
    int border_width;           /* border width of window */
    int depth;                  /* depth of window */
    Visual *visual;             /* the associated visual structure */
    Window root;                /* root of screen containing window */
#if defined(__cplusplus) || defined(c_plusplus)
    int c_class;                /* C++ InputOutput, InputOnly*/
#else
    int class;                  /* InputOutput, InputOnly*/
#endif
    int bit_gravity;            /* one of bit gravity values */
    int win_gravity;            /* one of the window gravity values */
    int backing_store;          /* NotUseful, WhenMapped, Always */
    unsigned long backing_planes;/* planes to be preserved if possible */
    unsigned long backing_pixel;/* value to be used when restoring planes */
    Bool save_under;            /* boolean, should bits under be saved? */
    Colormap colormap;          /* color map to be associated with window */
    Bool map_installed;         /* boolean, is color map currently installed*/
    int map_state;              /* IsUnmapped, IsUnviewable, IsViewable */
    long all_event_masks;       /* set of events all people have interest in*/
    long your_event_mask;       /* my event mask */
    long do_not_propagate_mask; /* set of events that should not propagate */
    Bool override_redirect;     /* boolean value for override-redirect */
    Screen *screen;             /* back pointer to correct screen */
} XWindowAttributes;

/*
 * Data structure for host setting; getting routines.
 *
 */

typedef struct {
        int family;             /* for example FamilyInternet */
        int length;             /* length of address, in bytes */
        char *address;          /* pointer to where to find the bytes */
} XHostAddress;

/*
 * Data structure for "image" data, used by image manipulation routines.
 */
typedef struct _XImage {
    int width, height;          /* size of image */
    int xoffset;                /* number of pixels offset in X direction */
    int format;                 /* XYBitmap, XYPixmap, ZPixmap */
    char *data;                 /* pointer to image data */
    int byte_order;             /* data byte order, LSBFirst, MSBFirst */
    int bitmap_unit;            /* quant. of scanline 8, 16, 32 */
    int bitmap_bit_order;       /* LSBFirst, MSBFirst */
    int bitmap_pad;             /* 8, 16, 32 either XY or ZPixmap */
    int depth;                  /* depth of image */
    int bytes_per_line;         /* accelarator to next line */
    int bits_per_pixel;         /* bits per pixel (ZPixmap) */
    unsigned long red_mask;     /* bits in z arrangment */
    unsigned long green_mask;
    unsigned long blue_mask;
    XPointer obdata;            /* hook for the object routines to hang on */
    struct funcs {              /* image manipulation routines */
#if NeedFunctionPrototypes
        struct _XImage *(*create_image)(
                struct _XDisplay* /* display */,
                Visual*         /* visual */,
                unsigned int    /* depth */,
                int             /* format */,
                int             /* offset */,
                char*           /* data */,
                unsigned int    /* width */,
                unsigned int    /* height */,
                int             /* bitmap_pad */,
                int             /* bytes_per_line */);
        int (*destroy_image)        (struct _XImage *);
        unsigned long (*get_pixel)  (struct _XImage *, int, int);
        int (*put_pixel)            (struct _XImage *, int, int, unsigned long);
        struct _XImage *(*sub_image)(struct _XImage *, int, int, unsigned int, 
unsigned int);
        int (*add_pixel)            (struct _XImage *, long);
#else
        struct _XImage *(*create_image)();
        int (*destroy_image)();
        unsigned long (*get_pixel)();
        int (*put_pixel)();
        struct _XImage *(*sub_image)();
        int (*add_pixel)();
#endif
        } f;
} XImage;

/* 
 * Data structure for XReconfigureWindow
 */
typedef struct {
    int x, y;
    int width, height;
    int border_width;
    Window sibling;
    int stack_mode;
} XWindowChanges;

/*
 * Data structure used by color operations
 */
typedef struct {
        unsigned long pixel;
        unsigned short red, green, blue;
        char flags;  /* do_red, do_green, do_blue */
        char pad;
} XColor;

/* 
 * Data structures for graphics operations.  On most machines, these are
 * congruent with the wire protocol structures, so reformatting the data
 * can be avoided on these architectures.
 */
typedef struct {
    short x1, y1, x2, y2;
} XSegment;

typedef struct {
    short x, y;
} XPoint;
    
typedef struct {
    short x, y;
    unsigned short width, height;
} XRectangle;
    
typedef struct {
    short x, y;
    unsigned short width, height;
    short angle1, angle2;
} XArc;


/* Data structure for XChangeKeyboardControl */

typedef struct {
        int key_click_percent;
        int bell_percent;
        int bell_pitch;
        int bell_duration;
        int led;
        int led_mode;
        int key;
        int auto_repeat_mode;   /* On, Off, Default */
} XKeyboardControl;

/* Data structure for XGetKeyboardControl */

typedef struct {
        int key_click_percent;
        int bell_percent;
        unsigned int bell_pitch, bell_duration;
        unsigned long led_mask;
        int global_auto_repeat;
        char auto_repeats[32];
} XKeyboardState;

/* Data structure for XGetMotionEvents.  */

typedef struct {
        Time time;
        short x, y;
} XTimeCoord;

/* Data structure for X{Set,Get}ModifierMapping */

typedef struct {
        int max_keypermod;      /* The server's max # of keys per modifier */
        KeyCode *modifiermap;   /* An 8 by max_keypermod array of modifiers */
} XModifierKeymap;


/*
 * Display datatype maintaining display specific data.
 * The contents of this structure are implementation dependent.
 * A Display should be treated as opaque by application code.
 */
#ifndef XLIB_ILLEGAL_ACCESS
typedef struct _XDisplay Display;
#endif

struct _XPrivate;               /* Forward declare before use for C++ */
struct _XrmHashBucketRec;

typedef struct 
#ifdef XLIB_ILLEGAL_ACCESS
_XDisplay
#endif
{
        XExtData *ext_data;     /* hook for extension to hang data */
        struct _XPrivate *private1;
        int fd;                 /* Network socket. */
        int private2;
        int proto_major_version;/* major version of server's X protocol */
        int proto_minor_version;/* minor version of servers X protocol */
        char *vendor;           /* vendor of the server hardware */
        XID private3;
        XID private4;
        XID private5;
        int private6;
        XID (*resource_alloc)(  /* allocator function */
#if NeedFunctionPrototypes
                struct _XDisplay*
#endif
        );
        int byte_order;         /* screen byte order, LSBFirst, MSBFirst */
        int bitmap_unit;        /* padding and data requirements */
        int bitmap_pad;         /* padding requirements on bitmaps */
        int bitmap_bit_order;   /* LeastSignificant or MostSignificant */
        int nformats;           /* number of pixmap formats in list */
        ScreenFormat *pixmap_format;    /* pixmap format list */
        int private8;
        int release;            /* release of the server */
        struct _XPrivate *private9, *private10;
        int qlen;               /* Length of input event queue */
        unsigned long last_request_read; /* seq number of last event read */
        unsigned long request;  /* sequence number of last request. */
        XPointer private11;
        XPointer private12;
        XPointer private13;
        XPointer private14;
        unsigned max_request_size; /* maximum number 32 bit words in request*/
        struct _XrmHashBucketRec *db;
        int (*private15)(
#if NeedFunctionPrototypes
                struct _XDisplay*
#endif
                );
        char *display_name;     /* "host:display" string used on this connect*/
        int default_screen;     /* default screen for operations */
        int nscreens;           /* number of screens on this server*/
        Screen *screens;        /* pointer to list of screens */
        unsigned long motion_buffer;    /* size of motion buffer */
        unsigned long private16;
        int min_keycode;        /* minimum defined keycode */
        int max_keycode;        /* maximum defined keycode */
        XPointer private17;
        XPointer private18;
        int private19;
        char *xdefaults;        /* contents of defaults from server */
        /* there is more to this structure, but it is private to Xlib */
}
#ifdef XLIB_ILLEGAL_ACCESS
Display, 
#endif
*_XPrivDisplay;

#if NeedFunctionPrototypes      /* prototypes require event type definitions */
#undef _XEVENT_
#endif
#ifndef _XEVENT_
/*
 * Definitions of specific events.
 */
typedef struct {
        int type;               /* of event */
        unsigned long serial;   /* # of last request processed by server */
        Bool send_event;        /* true if this came from a SendEvent request */
        Display *display;       /* Display the event was read from */
        Window window;          /* "event" window it is reported relative to */
        Window root;            /* root window that the event occurred on */
        Window subwindow;       /* child window */
        Time time;              /* milliseconds */
        int x, y;               /* pointer x, y coordinates in event window */
        int x_root, y_root;     /* coordinates relative to root */
        unsigned int state;     /* key or button mask */
        unsigned int keycode;   /* detail */
        Bool same_screen;       /* same screen flag */
} XKeyEvent;
typedef XKeyEvent XKeyPressedEvent;
typedef XKeyEvent XKeyReleasedEvent;

typedef struct {
        int type;               /* of event */
        unsigned long serial;   /* # of last request processed by server */
        Bool send_event;        /* true if this came from a SendEvent request */
        Display *display;       /* Display the event was read from */
        Window window;          /* "event" window it is reported relative to */
        Window root;            /* root window that the event occurred on */
        Window subwindow;       /* child window */
        Time time;              /* milliseconds */
        int x, y;               /* pointer x, y coordinates in event window */
        int x_root, y_root;     /* coordinates relative to root */
        unsigned int state;     /* key or button mask */
        unsigned int button;    /* detail */
        Bool same_screen;       /* same screen flag */
} XButtonEvent;
typedef XButtonEvent XButtonPressedEvent;
typedef XButtonEvent XButtonReleasedEvent;

typedef struct {
        int type;               /* of event */
        unsigned long serial;   /* # of last request processed by server */
        Bool send_event;        /* true if this came from a SendEvent request */
        Display *display;       /* Display the event was read from */
        Window window;          /* "event" window reported relative to */
        Window root;            /* root window that the event occurred on */
        Window subwindow;       /* child window */
        Time time;              /* milliseconds */
        int x, y;               /* pointer x, y coordinates in event window */
        int x_root, y_root;     /* coordinates relative to root */
        unsigned int state;     /* key or button mask */
        char is_hint;           /* detail */
        Bool same_screen;       /* same screen flag */
} XMotionEvent;
typedef XMotionEvent XPointerMovedEvent;

typedef struct {
        int type;               /* of event */
        unsigned long serial;   /* # of last request processed by server */
        Bool send_event;        /* true if this came from a SendEvent request */
        Display *display;       /* Display the event was read from */
        Window window;          /* "event" window reported relative to */
        Window root;            /* root window that the event occurred on */
        Window subwindow;       /* child window */
        Time time;              /* milliseconds */
        int x, y;               /* pointer x, y coordinates in event window */
        int x_root, y_root;     /* coordinates relative to root */
        int mode;               /* NotifyNormal, NotifyGrab, NotifyUngrab */
        int detail;
        /*
         * NotifyAncestor, NotifyVirtual, NotifyInferior, 
         * NotifyNonlinear,NotifyNonlinearVirtual
         */
        Bool same_screen;       /* same screen flag */
        Bool focus;             /* boolean focus */
        unsigned int state;     /* key or button mask */
} XCrossingEvent;
typedef XCrossingEvent XEnterWindowEvent;
typedef XCrossingEvent XLeaveWindowEvent;

typedef struct {
        int type;               /* FocusIn or FocusOut */
        unsigned long serial;   /* # of last request processed by server */
        Bool send_event;        /* true if this came from a SendEvent request */
        Display *display;       /* Display the event was read from */
        Window window;          /* window of event */
        int mode;               /* NotifyNormal, NotifyGrab, NotifyUngrab */
        int detail;
        /*
         * NotifyAncestor, NotifyVirtual, NotifyInferior, 
         * NotifyNonlinear,NotifyNonlinearVirtual, NotifyPointer,
         * NotifyPointerRoot, NotifyDetailNone 
         */
} XFocusChangeEvent;
typedef XFocusChangeEvent XFocusInEvent;
typedef XFocusChangeEvent XFocusOutEvent;

/* generated on EnterWindow and FocusIn  when KeyMapState selected */
typedef struct {
        int type;
        unsigned long serial;   /* # of last request processed by server */
        Bool send_event;        /* true if this came from a SendEvent request */
        Display *display;       /* Display the event was read from */
        Window window;
        char key_vector[32];
} XKeymapEvent; 

typedef struct {
        int type;
        unsigned long serial;   /* # of last request processed by server */
        Bool send_event;        /* true if this came from a SendEvent request */
        Display *display;       /* Display the event was read from */
        Window window;
        int x, y;
        int width, height;
        int count;              /* if non-zero, at least this many more */
} XExposeEvent;

typedef struct {
        int type;
        unsigned long serial;   /* # of last request processed by server */
        Bool send_event;        /* true if this came from a SendEvent request */
        Display *display;       /* Display the event was read from */
        Drawable drawable;
        int x, y;
        int width, height;
        int count;              /* if non-zero, at least this many more */
        int major_code;         /* core is CopyArea or CopyPlane */
        int minor_code;         /* not defined in the core */
} XGraphicsExposeEvent;

typedef struct {
        int type;
        unsigned long serial;   /* # of last request processed by server */
        Bool send_event;        /* true if this came from a SendEvent request */
        Display *display;       /* Display the event was read from */
        Drawable drawable;
        int major_code;         /* core is CopyArea or CopyPlane */
        int minor_code;         /* not defined in the core */
} XNoExposeEvent;

typedef struct {
        int type;
        unsigned long serial;   /* # of last request processed by server */
        Bool send_event;        /* true if this came from a SendEvent request */
        Display *display;       /* Display the event was read from */
        Window window;
        int state;              /* Visibility state */
} XVisibilityEvent;

typedef struct {
        int type;
        unsigned long serial;   /* # of last request processed by server */
        Bool send_event;        /* true if this came from a SendEvent request */
        Display *display;       /* Display the event was read from */
        Window parent;          /* parent of the window */
        Window window;          /* window id of window created */
        int x, y;               /* window location */
        int width, height;      /* size of window */
        int border_width;       /* border width */
        Bool override_redirect; /* creation should be overridden */
} XCreateWindowEvent;

typedef struct {
        int type;
        unsigned long serial;   /* # of last request processed by server */
        Bool send_event;        /* true if this came from a SendEvent request */
        Display *display;       /* Display the event was read from */
        Window event;
        Window window;
} XDestroyWindowEvent;

typedef struct {
        int type;
        unsigned long serial;   /* # of last request processed by server */
        Bool send_event;        /* true if this came from a SendEvent request */
        Display *display;       /* Display the event was read from */
        Window event;
        Window window;
        Bool from_configure;
} XUnmapEvent;

typedef struct {
        int type;
        unsigned long serial;   /* # of last request processed by server */
        Bool send_event;        /* true if this came from a SendEvent request */
        Display *display;       /* Display the event was read from */
        Window event;
        Window window;
        Bool override_redirect; /* boolean, is override set... */
} XMapEvent;

typedef struct {
        int type;
        unsigned long serial;   /* # of last request processed by server */
        Bool send_event;        /* true if this came from a SendEvent request */
        Display *display;       /* Display the event was read from */
        Window parent;
        Window window;
} XMapRequestEvent;

typedef struct {
        int type;
        unsigned long serial;   /* # of last request processed by server */
        Bool send_event;        /* true if this came from a SendEvent request */
        Display *display;       /* Display the event was read from */
        Window event;
        Window window;
        Window parent;
        int x, y;
        Bool override_redirect;
} XReparentEvent;

typedef struct {
        int type;
        unsigned long serial;   /* # of last request processed by server */
        Bool send_event;        /* true if this came from a SendEvent request */
        Display *display;       /* Display the event was read from */
        Window event;
        Window window;
        int x, y;
        int width, height;
        int border_width;
        Window above;
        Bool override_redirect;
} XConfigureEvent;

typedef struct {
        int type;
        unsigned long serial;   /* # of last request processed by server */
        Bool send_event;        /* true if this came from a SendEvent request */
        Display *display;       /* Display the event was read from */
        Window event;
        Window window;
        int x, y;
} XGravityEvent;

typedef struct {
        int type;
        unsigned long serial;   /* # of last request processed by server */
        Bool send_event;        /* true if this came from a SendEvent request */
        Display *display;       /* Display the event was read from */
        Window window;
        int width, height;
} XResizeRequestEvent;

typedef struct {
        int type;
        unsigned long serial;   /* # of last request processed by server */
        Bool send_event;        /* true if this came from a SendEvent request */
        Display *display;       /* Display the event was read from */
        Window parent;
        Window window;
        int x, y;
        int width, height;
        int border_width;
        Window above;
        int detail;             /* Above, Below, TopIf, BottomIf, Opposite */
        unsigned long value_mask;
} XConfigureRequestEvent;

typedef struct {
        int type;
        unsigned long serial;   /* # of last request processed by server */
        Bool send_event;        /* true if this came from a SendEvent request */
        Display *display;       /* Display the event was read from */
        Window event;
        Window window;
        int place;              /* PlaceOnTop, PlaceOnBottom */
} XCirculateEvent;

typedef struct {
        int type;
        unsigned long serial;   /* # of last request processed by server */
        Bool send_event;        /* true if this came from a SendEvent request */
        Display *display;       /* Display the event was read from */
        Window parent;
        Window window;
        int place;              /* PlaceOnTop, PlaceOnBottom */
} XCirculateRequestEvent;

typedef struct {
        int type;
        unsigned long serial;   /* # of last request processed by server */
        Bool send_event;        /* true if this came from a SendEvent request */
        Display *display;       /* Display the event was read from */
        Window window;
        Atom atom;
        Time time;
        int state;              /* NewValue, Deleted */
} XPropertyEvent;

typedef struct {
        int type;
        unsigned long serial;   /* # of last request processed by server */
        Bool send_event;        /* true if this came from a SendEvent request */
        Display *display;       /* Display the event was read from */
        Window window;
        Atom selection;
        Time time;
} XSelectionClearEvent;

typedef struct {
        int type;
        unsigned long serial;   /* # of last request processed by server */
        Bool send_event;        /* true if this came from a SendEvent request */
        Display *display;       /* Display the event was read from */
        Window owner;
        Window requestor;
        Atom selection;
        Atom target;
        Atom property;
        Time time;
} XSelectionRequestEvent;

typedef struct {
        int type;
        unsigned long serial;   /* # of last request processed by server */
        Bool send_event;        /* true if this came from a SendEvent request */
        Display *display;       /* Display the event was read from */
        Window requestor;
        Atom selection;
        Atom target;
        Atom property;          /* ATOM or None */
        Time time;
} XSelectionEvent;

typedef struct {
        int type;
        unsigned long serial;   /* # of last request processed by server */
        Bool send_event;        /* true if this came from a SendEvent request */
        Display *display;       /* Display the event was read from */
        Window window;
        Colormap colormap;      /* COLORMAP or None */
#if defined(__cplusplus) || defined(c_plusplus)
        Bool c_new;             /* C++ */
#else
        Bool new;
#endif
        int state;              /* ColormapInstalled, ColormapUninstalled */
} XColormapEvent;

typedef struct {
        int type;
        unsigned long serial;   /* # of last request processed by server */
        Bool send_event;        /* true if this came from a SendEvent request */
        Display *display;       /* Display the event was read from */
        Window window;
        Atom message_type;
        int format;
        union {
                char b[20];
                short s[10];
                long l[5];
                } data;
} XClientMessageEvent;

typedef struct {
        int type;
        unsigned long serial;   /* # of last request processed by server */
        Bool send_event;        /* true if this came from a SendEvent request */
        Display *display;       /* Display the event was read from */
        Window window;          /* unused */
        int request;            /* one of MappingModifier, MappingKeyboard,
                                   MappingPointer */
        int first_keycode;      /* first keycode */
        int count;              /* defines range of change w. first_keycode*/
} XMappingEvent;

typedef struct {
        int type;
        Display *display;       /* Display the event was read from */
        XID resourceid;         /* resource id */
        unsigned long serial;   /* serial number of failed request */
        unsigned char error_code;       /* error code of failed request */
        unsigned char request_code;     /* Major op-code of failed request */
        unsigned char minor_code;       /* Minor op-code of failed request */
} XErrorEvent;

typedef struct {
        int type;
        unsigned long serial;   /* # of last request processed by server */
        Bool send_event;        /* true if this came from a SendEvent request */
        Display *display;/* Display the event was read from */
        Window window;  /* window on which event was requested in event mask */
} XAnyEvent;

/*
 * this union is defined so Xlib can always use the same sized
 * event structure internally, to avoid memory fragmentation.
 */
typedef union _XEvent {
        int type;               /* must not be changed; first element */
        XAnyEvent xany;
        XKeyEvent xkey;
        XButtonEvent xbutton;
        XMotionEvent xmotion;
        XCrossingEvent xcrossing;
        XFocusChangeEvent xfocus;
        XExposeEvent xexpose;
        XGraphicsExposeEvent xgraphicsexpose;
        XNoExposeEvent xnoexpose;
        XVisibilityEvent xvisibility;
        XCreateWindowEvent xcreatewindow;
        XDestroyWindowEvent xdestroywindow;
        XUnmapEvent xunmap;
        XMapEvent xmap;
        XMapRequestEvent xmaprequest;
        XReparentEvent xreparent;
        XConfigureEvent xconfigure;
        XGravityEvent xgravity;
        XResizeRequestEvent xresizerequest;
        XConfigureRequestEvent xconfigurerequest;
        XCirculateEvent xcirculate;
        XCirculateRequestEvent xcirculaterequest;
        XPropertyEvent xproperty;
        XSelectionClearEvent xselectionclear;
        XSelectionRequestEvent xselectionrequest;
        XSelectionEvent xselection;
        XColormapEvent xcolormap;
        XClientMessageEvent xclient;
        XMappingEvent xmapping;
        XErrorEvent xerror;
        XKeymapEvent xkeymap;
        long pad[24];
} XEvent;
#endif

#define XAllocID(dpy) ((*((_XPrivDisplay)dpy)->resource_alloc)((dpy)))

/*
 * per character font metric information.
 */
typedef struct {
    short       lbearing;       /* origin to left edge of raster */
    short       rbearing;       /* origin to right edge of raster */
    short       width;          /* advance to next char's origin */
    short       ascent;         /* baseline to top edge of raster */
    short       descent;        /* baseline to bottom edge of raster */
    unsigned short attributes;  /* per char flags (not predefined) */
} XCharStruct;

/*
 * To allow arbitrary information with fonts, there are additional properties
 * returned.
 */
typedef struct {
    Atom name;
    unsigned long card32;
} XFontProp;

typedef struct {
    XExtData    *ext_data;      /* hook for extension to hang data */
    Font        fid;            /* Font id for this font */
    unsigned    direction;      /* hint about direction the font is painted */
    unsigned    min_char_or_byte2;/* first character */
    unsigned    max_char_or_byte2;/* last character */
    unsigned    min_byte1;      /* first row that exists */
    unsigned    max_byte1;      /* last row that exists */
    Bool        all_chars_exist;/* flag if all characters have non-zero size*/
    unsigned    default_char;   /* char to print for undefined character */
    int         n_properties;   /* how many properties there are */
    XFontProp   *properties;    /* pointer to array of additional properties*/
    XCharStruct min_bounds;     /* minimum bounds over all existing char*/
    XCharStruct max_bounds;     /* maximum bounds over all existing char*/
    XCharStruct *per_char;      /* first_char to last_char information */
    int         ascent;         /* log. extent above baseline for spacing */
    int         descent;        /* log. descent below baseline for spacing */
} XFontStruct;

/*
 * PolyText routines take these as arguments.
 */
typedef struct {
    char *chars;                /* pointer to string */
    int nchars;                 /* number of characters */
    int delta;                  /* delta between strings */
    Font font;                  /* font to print it in, None don't change */
} XTextItem;

typedef struct {                /* normal 16 bit characters are two bytes */
    unsigned char byte1;
    unsigned char byte2;
} XChar2b;

typedef struct {
    XChar2b *chars;             /* two byte characters */
    int nchars;                 /* number of characters */
    int delta;                  /* delta between strings */
    Font font;                  /* font to print it in, None don't change */
} XTextItem16;


typedef union { Display *display;
                GC gc;
                Visual *visual;
                Screen *screen;
                ScreenFormat *pixmap_format;
                XFontStruct *font; } XEDataObject;

typedef struct {
    XRectangle      max_ink_extent;
    XRectangle      max_logical_extent;
} XFontSetExtents;

/* unused:
typedef void (*XOMProc)();
 */

typedef struct _XOM *XOM;
typedef struct _XOC *XOC, *XFontSet;

typedef struct {
    char           *chars;
    int             nchars;
    int             delta;
    XFontSet        font_set;
} XmbTextItem;

typedef struct {
    wchar_t        *chars;
    int             nchars;
    int             delta;
    XFontSet        font_set;
} XwcTextItem;

#define XNRequiredCharSet "requiredCharSet"
#define XNQueryOrientation "queryOrientation"
#define XNBaseFontName "baseFontName"
#define XNOMAutomatic "omAutomatic"
#define XNMissingCharSet "missingCharSet"
#define XNDefaultString "defaultString"
#define XNOrientation "orientation"
#define XNDirectionalDependentDrawing "directionalDependentDrawing"
#define XNContextualDrawing "contextualDrawing"
#define XNFontInfo "fontInfo"

typedef struct {
    int charset_count;
    char **charset_list;
} XOMCharSetList;

typedef enum {
    XOMOrientation_LTR_TTB,
    XOMOrientation_RTL_TTB,
    XOMOrientation_TTB_LTR,
    XOMOrientation_TTB_RTL,
    XOMOrientation_Context
} XOrientation;

typedef struct {
    int num_orientation;
    XOrientation *orientation;  /* Input Text description */
} XOMOrientation;

typedef struct {
    int num_font;
    XFontStruct **font_struct_list;
    char **font_name_list;
} XOMFontInfo;

typedef struct _XIM *XIM;
typedef struct _XIC *XIC;

typedef void (*XIMProc)(
#if NeedFunctionPrototypes
    XIM,
    XPointer,
    XPointer
#endif
);

typedef Bool (*XICProc)(
#if NeedFunctionPrototypes
    XIC,
    XPointer,
    XPointer
#endif
);

typedef void (*XIDProc)(
#if NeedFunctionPrototypes
    Display*,
    XPointer,
    XPointer
#endif
);

typedef unsigned long XIMStyle;

typedef struct {
    unsigned short count_styles;
    XIMStyle *supported_styles;
} XIMStyles;

#define XIMPreeditArea          0x0001L
#define XIMPreeditCallbacks     0x0002L
#define XIMPreeditPosition      0x0004L
#define XIMPreeditNothing       0x0008L
#define XIMPreeditNone          0x0010L
#define XIMStatusArea           0x0100L
#define XIMStatusCallbacks      0x0200L
#define XIMStatusNothing        0x0400L
#define XIMStatusNone           0x0800L

#define XNVaNestedList "XNVaNestedList"
#define XNQueryInputStyle "queryInputStyle"
#define XNClientWindow "clientWindow"
#define XNInputStyle "inputStyle"
#define XNFocusWindow "focusWindow"
#define XNResourceName "resourceName"
#define XNResourceClass "resourceClass"
#define XNGeometryCallback "geometryCallback"
#define XNDestroyCallback "destroyCallback"
#define XNFilterEvents "filterEvents"
#define XNPreeditStartCallback "preeditStartCallback"
#define XNPreeditDoneCallback "preeditDoneCallback"
#define XNPreeditDrawCallback "preeditDrawCallback"
#define XNPreeditCaretCallback "preeditCaretCallback"
#define XNPreeditStateNotifyCallback "preeditStateNotifyCallback"
#define XNPreeditAttributes "preeditAttributes"
#define XNStatusStartCallback "statusStartCallback"
#define XNStatusDoneCallback "statusDoneCallback"
#define XNStatusDrawCallback "statusDrawCallback"
#define XNStatusAttributes "statusAttributes"
#define XNArea "area"
#define XNAreaNeeded "areaNeeded"
#define XNSpotLocation "spotLocation"
#define XNColormap "colorMap"
#define XNStdColormap "stdColorMap"
#define XNForeground "foreground"
#define XNBackground "background"
#define XNBackgroundPixmap "backgroundPixmap"
#define XNFontSet "fontSet"
#define XNLineSpace "lineSpace"
#define XNCursor "cursor"

#define XNQueryIMValuesList "queryIMValuesList"
#define XNQueryICValuesList "queryICValuesList"
#define XNVisiblePosition "visiblePosition"
#define XNR6PreeditCallback "r6PreeditCallback"
#define XNStringConversionCallback "stringConversionCallback"
#define XNStringConversion "stringConversion"
#define XNResetState "resetState"
#define XNHotKey "hotKey"
#define XNHotKeyState "hotKeyState"
#define XNPreeditState "preeditState"
#define XNSeparatorofNestedList "separatorofNestedList"

#define XBufferOverflow         -1
#define XLookupNone             1
#define XLookupChars            2
#define XLookupKeySym           3
#define XLookupBoth             4

#if NeedFunctionPrototypes
typedef void *XVaNestedList;
#else
typedef XPointer XVaNestedList;
#endif

typedef struct {
    XPointer client_data;
    XIMProc callback;
} XIMCallback;

typedef struct {
    XPointer client_data;
    XICProc callback;
} XICCallback;

typedef unsigned long XIMFeedback;

#define XIMReverse              1L
#define XIMUnderline            (1L<<1) 
#define XIMHighlight            (1L<<2)
#define XIMPrimary              (1L<<5)
#define XIMSecondary            (1L<<6)
#define XIMTertiary             (1L<<7)
#define XIMVisibleToForward     (1L<<8)
#define XIMVisibleToBackword    (1L<<9)
#define XIMVisibleToCenter      (1L<<10)

typedef struct _XIMText {
    unsigned short length;
    XIMFeedback *feedback;
    Bool encoding_is_wchar; 
    union {
        char *multi_byte;
        wchar_t *wide_char;
    } string; 
} XIMText;

typedef unsigned long    XIMPreeditState;

#define XIMPreeditUnKnown       0L
#define XIMPreeditEnable        1L
#define XIMPreeditDisable       (1L<<1)

typedef struct  _XIMPreeditStateNotifyCallbackStruct {
    XIMPreeditState state;
} XIMPreeditStateNotifyCallbackStruct;

typedef unsigned long    XIMResetState;

#define XIMInitialState         1L
#define XIMPreserveState        (1L<<1)

typedef unsigned long XIMStringConversionFeedback;

#define XIMStringConversionLeftEdge     (0x00000001)
#define XIMStringConversionRightEdge    (0x00000002)
#define XIMStringConversionTopEdge      (0x00000004)
#define XIMStringConversionBottomEdge   (0x00000008)
#define XIMStringConversionConcealed    (0x00000010)
#define XIMStringConversionWrapped      (0x00000020)

typedef struct _XIMStringConversionText {
    unsigned short length;
    XIMStringConversionFeedback *feedback;
    Bool encoding_is_wchar; 
    union {
        char *mbs;
        wchar_t *wcs;
    } string; 
} XIMStringConversionText;

typedef unsigned short  XIMStringConversionPosition;

typedef unsigned short  XIMStringConversionType;

#define XIMStringConversionBuffer       (0x0001)
#define XIMStringConversionLine         (0x0002)
#define XIMStringConversionWord         (0x0003)
#define XIMStringConversionChar         (0x0004)

typedef unsigned short  XIMStringConversionOperation;

#define XIMStringConversionSubstitution (0x0001)
#define XIMStringConversionRetrieval    (0x0002)

typedef enum {
    XIMForwardChar, XIMBackwardChar,
    XIMForwardWord, XIMBackwardWord,
    XIMCaretUp, XIMCaretDown,
    XIMNextLine, XIMPreviousLine,
    XIMLineStart, XIMLineEnd, 
    XIMAbsolutePosition,
    XIMDontChange
} XIMCaretDirection;

typedef struct _XIMStringConversionCallbackStruct {
    XIMStringConversionPosition position;
    XIMCaretDirection direction;
    XIMStringConversionOperation operation;
    unsigned short factor;
    XIMStringConversionText *text;
} XIMStringConversionCallbackStruct;

typedef struct _XIMPreeditDrawCallbackStruct {
    int caret;          /* Cursor offset within pre-edit string */
    int chg_first;      /* Starting change position */
    int chg_length;     /* Length of the change in character count */
    XIMText *text;
} XIMPreeditDrawCallbackStruct;

typedef enum {
    XIMIsInvisible,     /* Disable caret feedback */ 
    XIMIsPrimary,       /* UI defined caret feedback */
    XIMIsSecondary      /* UI defined caret feedback */
} XIMCaretStyle;

typedef struct _XIMPreeditCaretCallbackStruct {
    int position;                /* Caret offset within pre-edit string */
    XIMCaretDirection direction; /* Caret moves direction */
    XIMCaretStyle style;         /* Feedback of the caret */
} XIMPreeditCaretCallbackStruct;

typedef enum {
    XIMTextType,
    XIMBitmapType
} XIMStatusDataType;
        
typedef struct _XIMStatusDrawCallbackStruct {
    XIMStatusDataType type;
    union {
        XIMText *text;
        Pixmap  bitmap;
    } data;
} XIMStatusDrawCallbackStruct;

typedef struct _XIMHotKeyTrigger {
    KeySym       keysym;
    int          modifier;
    int          modifier_mask;
} XIMHotKeyTrigger;

typedef struct _XIMHotKeyTriggers {
    int                  num_hot_key;
    XIMHotKeyTrigger    *key;
} XIMHotKeyTriggers;

typedef unsigned long    XIMHotKeyState;

#define XIMHotKeyStateON        (0x0001L)
#define XIMHotKeyStateOFF       (0x0002L)

typedef struct {
    unsigned short count_values;
    char **supported_values;
} XIMValuesList;

_XFUNCPROTOBEGIN

#if defined(WIN32) && !defined(_XLIBINT_)
#define _Xdebug (*_Xdebug_p)
#endif

extern int _Xdebug;

extern XFontStruct *XLoadQueryFont(
#if NeedFunctionPrototypes
    Display*            /* display */,
    _Xconst char*       /* name */
#endif
);

extern XFontStruct *XQueryFont(
#if NeedFunctionPrototypes
    Display*            /* display */,
    XID                 /* font_ID */
#endif
);


extern XTimeCoord *XGetMotionEvents(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    Time                /* start */,
    Time                /* stop */,
    int*                /* nevents_return */
#endif
);

extern XModifierKeymap *XDeleteModifiermapEntry(
#if NeedFunctionPrototypes
    XModifierKeymap*    /* modmap */,
#if NeedWidePrototypes
    unsigned int        /* keycode_entry */,
#else
    KeyCode             /* keycode_entry */,
#endif
    int                 /* modifier */
#endif
);

extern XModifierKeymap  *XGetModifierMapping(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);

extern XModifierKeymap  *XInsertModifiermapEntry(
#if NeedFunctionPrototypes
    XModifierKeymap*    /* modmap */,
#if NeedWidePrototypes
    unsigned int        /* keycode_entry */,
#else
    KeyCode             /* keycode_entry */,
#endif
    int                 /* modifier */    
#endif
);

extern XModifierKeymap *XNewModifiermap(
#if NeedFunctionPrototypes
    int                 /* max_keys_per_mod */
#endif
);

extern XImage *XCreateImage(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Visual*             /* visual */,
    unsigned int        /* depth */,
    int                 /* format */,
    int                 /* offset */,
    char*               /* data */,
    unsigned int        /* width */,
    unsigned int        /* height */,
    int                 /* bitmap_pad */,
    int                 /* bytes_per_line */
#endif
);
extern Status XInitImage(
#if NeedFunctionPrototypes
    XImage*             /* image */
#endif
);
extern XImage *XGetImage(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    int                 /* x */,
    int                 /* y */,
    unsigned int        /* width */,
    unsigned int        /* height */,
    unsigned long       /* plane_mask */,
    int                 /* format */
#endif
);
extern XImage *XGetSubImage(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    int                 /* x */,
    int                 /* y */,
    unsigned int        /* width */,
    unsigned int        /* height */,
    unsigned long       /* plane_mask */,
    int                 /* format */,
    XImage*             /* dest_image */,
    int                 /* dest_x */,
    int                 /* dest_y */
#endif
);

/* 
 * X function declarations.
 */
extern Display *XOpenDisplay(
#if NeedFunctionPrototypes
    _Xconst char*       /* display_name */
#endif
);

extern void XrmInitialize(
#if NeedFunctionPrototypes
    void
#endif
);

extern char *XFetchBytes(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int*                /* nbytes_return */
#endif
);
extern char *XFetchBuffer(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int*                /* nbytes_return */,
    int                 /* buffer */
#endif
);
extern char *XGetAtomName(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Atom                /* atom */
#endif
);
extern Status XGetAtomNames(
#if NeedFunctionPrototypes
    Display*            /* dpy */,
    Atom*               /* atoms */,
    int                 /* count */,
    char**              /* names_return */
#endif
);
extern char *XGetDefault(
#if NeedFunctionPrototypes
    Display*            /* display */,
    _Xconst char*       /* program */,
    _Xconst char*       /* option */              
#endif
);
extern char *XDisplayName(
#if NeedFunctionPrototypes
    _Xconst char*       /* string */
#endif
);
extern char *XKeysymToString(
#if NeedFunctionPrototypes
    KeySym              /* keysym */
#endif
);

extern int (*XSynchronize(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Bool                /* onoff */
#endif
))(
#if NeedNestedPrototypes
    Display*            /* display */
#endif
);
extern int (*XSetAfterFunction(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int (*) (
#if NeedNestedPrototypes
             Display*   /* display */
#endif
            )           /* procedure */
#endif
))(
#if NeedNestedPrototypes
    Display*            /* display */
#endif
);
extern Atom XInternAtom(
#if NeedFunctionPrototypes
    Display*            /* display */,
    _Xconst char*       /* atom_name */,
    Bool                /* only_if_exists */             
#endif
);
extern Status XInternAtoms(
#if NeedFunctionPrototypes
    Display*            /* dpy */,
    char**              /* names */,
    int                 /* count */,
    Bool                /* onlyIfExists */,
    Atom*               /* atoms_return */
#endif
);
extern Colormap XCopyColormapAndFree(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Colormap            /* colormap */
#endif
);
extern Colormap XCreateColormap(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    Visual*             /* visual */,
    int                 /* alloc */                      
#endif
);
extern Cursor XCreatePixmapCursor(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Pixmap              /* source */,
    Pixmap              /* mask */,
    XColor*             /* foreground_color */,
    XColor*             /* background_color */,
    unsigned int        /* x */,
    unsigned int        /* y */                    
#endif
);
extern Cursor XCreateGlyphCursor(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Font                /* source_font */,
    Font                /* mask_font */,
    unsigned int        /* source_char */,
    unsigned int        /* mask_char */,
    XColor _Xconst *    /* foreground_color */,
    XColor _Xconst *    /* background_color */
#endif
);
extern Cursor XCreateFontCursor(
#if NeedFunctionPrototypes
    Display*            /* display */,
    unsigned int        /* shape */
#endif
);
extern Font XLoadFont(
#if NeedFunctionPrototypes
    Display*            /* display */,
    _Xconst char*       /* name */
#endif
);
extern GC XCreateGC(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    unsigned long       /* valuemask */,
    XGCValues*          /* values */
#endif
);
extern GContext XGContextFromGC(
#if NeedFunctionPrototypes
    GC                  /* gc */
#endif
);
extern void XFlushGC(
#if NeedFunctionPrototypes
    Display*            /* display */,
    GC                  /* gc */
#endif
);
extern Pixmap XCreatePixmap(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    unsigned int        /* width */,
    unsigned int        /* height */,
    unsigned int        /* depth */                     
#endif
);
extern Pixmap XCreateBitmapFromData(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    _Xconst char*       /* data */,
    unsigned int        /* width */,
    unsigned int        /* height */
#endif
);
extern Pixmap XCreatePixmapFromBitmapData(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    char*               /* data */,
    unsigned int        /* width */,
    unsigned int        /* height */,
    unsigned long       /* fg */,
    unsigned long       /* bg */,
    unsigned int        /* depth */
#endif
);
extern Window XCreateSimpleWindow(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* parent */,
    int                 /* x */,
    int                 /* y */,
    unsigned int        /* width */,
    unsigned int        /* height */,
    unsigned int        /* border_width */,
    unsigned long       /* border */,
    unsigned long       /* background */
#endif
);
extern Window XGetSelectionOwner(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Atom                /* selection */
#endif
);
extern Window XCreateWindow(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* parent */,
    int                 /* x */,
    int                 /* y */,
    unsigned int        /* width */,
    unsigned int        /* height */,
    unsigned int        /* border_width */,
    int                 /* depth */,
    unsigned int        /* class */,
    Visual*             /* visual */,
    unsigned long       /* valuemask */,
    XSetWindowAttributes*       /* attributes */
#endif
); 
extern Colormap *XListInstalledColormaps(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    int*                /* num_return */
#endif
);
extern char **XListFonts(
#if NeedFunctionPrototypes
    Display*            /* display */,
    _Xconst char*       /* pattern */,
    int                 /* maxnames */,
    int*                /* actual_count_return */
#endif
);
extern char **XListFontsWithInfo(
#if NeedFunctionPrototypes
    Display*            /* display */,
    _Xconst char*       /* pattern */,
    int                 /* maxnames */,
    int*                /* count_return */,
    XFontStruct**       /* info_return */
#endif
);
extern char **XGetFontPath(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int*                /* npaths_return */
#endif
);
extern char **XListExtensions(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int*                /* nextensions_return */
#endif
);
extern Atom *XListProperties(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    int*                /* num_prop_return */
#endif
);
extern XHostAddress *XListHosts(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int*                /* nhosts_return */,
    Bool*               /* state_return */
#endif
);
extern KeySym XKeycodeToKeysym(
#if NeedFunctionPrototypes
    Display*            /* display */,
#if NeedWidePrototypes
    unsigned int        /* keycode */,
#else
    KeyCode             /* keycode */,
#endif
    int                 /* index */
#endif
);
extern KeySym XLookupKeysym(
#if NeedFunctionPrototypes
    XKeyEvent*          /* key_event */,
    int                 /* index */
#endif
);
extern KeySym *XGetKeyboardMapping(
#if NeedFunctionPrototypes
    Display*            /* display */,
#if NeedWidePrototypes
    unsigned int        /* first_keycode */,
#else
    KeyCode             /* first_keycode */,
#endif
    int                 /* keycode_count */,
    int*                /* keysyms_per_keycode_return */
#endif
);
extern KeySym XStringToKeysym(
#if NeedFunctionPrototypes
    _Xconst char*       /* string */
#endif
);
extern long XMaxRequestSize(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);
extern long XExtendedMaxRequestSize(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);
extern char *XResourceManagerString(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);
extern char *XScreenResourceString(
#if NeedFunctionPrototypes
        Screen*         /* screen */
#endif
);
extern unsigned long XDisplayMotionBufferSize(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);
extern VisualID XVisualIDFromVisual(
#if NeedFunctionPrototypes
    Visual*             /* visual */
#endif
);

/* multithread routines */

extern Status XInitThreads(
#if NeedFunctionPrototypes
    void
#endif
);

extern void XLockDisplay(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);

extern void XUnlockDisplay(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);

/* routines for dealing with extensions */

extern XExtCodes *XInitExtension(
#if NeedFunctionPrototypes
    Display*            /* display */,
    _Xconst char*       /* name */
#endif
);

extern XExtCodes *XAddExtension(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);
extern XExtData *XFindOnExtensionList(
#if NeedFunctionPrototypes
    XExtData**          /* structure */,
    int                 /* number */
#endif
);
extern XExtData **XEHeadOfExtensionList(
#if NeedFunctionPrototypes
    XEDataObject        /* object */
#endif
);

/* these are routines for which there are also macros */
extern Window XRootWindow(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int                 /* screen_number */
#endif
);
extern Window XDefaultRootWindow(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);
extern Window XRootWindowOfScreen(
#if NeedFunctionPrototypes
    Screen*             /* screen */
#endif
);
extern Visual *XDefaultVisual(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int                 /* screen_number */
#endif
);
extern Visual *XDefaultVisualOfScreen(
#if NeedFunctionPrototypes
    Screen*             /* screen */
#endif
);
extern GC XDefaultGC(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int                 /* screen_number */
#endif
);
extern GC XDefaultGCOfScreen(
#if NeedFunctionPrototypes
    Screen*             /* screen */
#endif
);
extern unsigned long XBlackPixel(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int                 /* screen_number */
#endif
);
extern unsigned long XWhitePixel(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int                 /* screen_number */
#endif
);
extern unsigned long XAllPlanes(
#if NeedFunctionPrototypes
    void
#endif
);
extern unsigned long XBlackPixelOfScreen(
#if NeedFunctionPrototypes
    Screen*             /* screen */
#endif
);
extern unsigned long XWhitePixelOfScreen(
#if NeedFunctionPrototypes
    Screen*             /* screen */
#endif
);
extern unsigned long XNextRequest(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);
extern unsigned long XLastKnownRequestProcessed(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);
extern char *XServerVendor(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);
extern char *XDisplayString(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);
extern Colormap XDefaultColormap(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int                 /* screen_number */
#endif
);
extern Colormap XDefaultColormapOfScreen(
#if NeedFunctionPrototypes
    Screen*             /* screen */
#endif
);
extern Display *XDisplayOfScreen(
#if NeedFunctionPrototypes
    Screen*             /* screen */
#endif
);
extern Screen *XScreenOfDisplay(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int                 /* screen_number */
#endif
);
extern Screen *XDefaultScreenOfDisplay(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);
extern long XEventMaskOfScreen(
#if NeedFunctionPrototypes
    Screen*             /* screen */
#endif
);

extern int XScreenNumberOfScreen(
#if NeedFunctionPrototypes
    Screen*             /* screen */
#endif
);

typedef int (*XErrorHandler) (      /* WARNING, this type not in Xlib spec */
#if NeedFunctionPrototypes
    Display*            /* display */,
    XErrorEvent*        /* error_event */
#endif
);

extern XErrorHandler XSetErrorHandler (
#if NeedFunctionPrototypes
    XErrorHandler       /* handler */
#endif
);


typedef int (*XIOErrorHandler) (    /* WARNING, this type not in Xlib spec */
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);

extern XIOErrorHandler XSetIOErrorHandler (
#if NeedFunctionPrototypes
    XIOErrorHandler     /* handler */
#endif
);


extern XPixmapFormatValues *XListPixmapFormats(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int*                /* count_return */
#endif
);
extern int *XListDepths(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int                 /* screen_number */,
    int*                /* count_return */
#endif
);

/* ICCCM routines for things that don't require special include files; */
/* other declarations are given in Xutil.h                             */
extern Status XReconfigureWMWindow(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    int                 /* screen_number */,
    unsigned int        /* mask */,
    XWindowChanges*     /* changes */
#endif
);

extern Status XGetWMProtocols(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    Atom**              /* protocols_return */,
    int*                /* count_return */
#endif
);
extern Status XSetWMProtocols(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    Atom*               /* protocols */,
    int                 /* count */
#endif
);
extern Status XIconifyWindow(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    int                 /* screen_number */
#endif
);
extern Status XWithdrawWindow(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    int                 /* screen_number */
#endif
);
extern Status XGetCommand(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    char***             /* argv_return */,
    int*                /* argc_return */
#endif
);
extern Status XGetWMColormapWindows(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    Window**            /* windows_return */,
    int*                /* count_return */
#endif
);
extern Status XSetWMColormapWindows(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    Window*             /* colormap_windows */,
    int                 /* count */
#endif
);
extern void XFreeStringList(
#if NeedFunctionPrototypes
    char**              /* list */
#endif
);
extern int XSetTransientForHint(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    Window              /* prop_window */
#endif
);

/* The following are given in alphabetical order */

extern int XActivateScreenSaver(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);

extern int XAddHost(
#if NeedFunctionPrototypes
    Display*            /* display */,
    XHostAddress*       /* host */
#endif
);

extern int XAddHosts(
#if NeedFunctionPrototypes
    Display*            /* display */,
    XHostAddress*       /* hosts */,
    int                 /* num_hosts */    
#endif
);

extern int XAddToExtensionList(
#if NeedFunctionPrototypes
    struct _XExtData**  /* structure */,
    XExtData*           /* ext_data */
#endif
);

extern int XAddToSaveSet(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */
#endif
);

extern Status XAllocColor(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Colormap            /* colormap */,
    XColor*             /* screen_in_out */
#endif
);

extern Status XAllocColorCells(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Colormap            /* colormap */,
    Bool                /* contig */,
    unsigned long*      /* plane_masks_return */,
    unsigned int        /* nplanes */,
    unsigned long*      /* pixels_return */,
    unsigned int        /* npixels */
#endif
);

extern Status XAllocColorPlanes(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Colormap            /* colormap */,
    Bool                /* contig */,
    unsigned long*      /* pixels_return */,
    int                 /* ncolors */,
    int                 /* nreds */,
    int                 /* ngreens */,
    int                 /* nblues */,
    unsigned long*      /* rmask_return */,
    unsigned long*      /* gmask_return */,
    unsigned long*      /* bmask_return */
#endif
);

extern Status XAllocNamedColor(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Colormap            /* colormap */,
    _Xconst char*       /* color_name */,
    XColor*             /* screen_def_return */,
    XColor*             /* exact_def_return */
#endif
);

extern int XAllowEvents(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int                 /* event_mode */,
    Time                /* time */
#endif
);

extern int XAutoRepeatOff(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);

extern int XAutoRepeatOn(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);

extern int XBell(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int                 /* percent */
#endif
);

extern int XBitmapBitOrder(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);

extern int XBitmapPad(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);

extern int XBitmapUnit(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);

extern int XCellsOfScreen(
#if NeedFunctionPrototypes
    Screen*             /* screen */
#endif
);

extern int XChangeActivePointerGrab(
#if NeedFunctionPrototypes
    Display*            /* display */,
    unsigned int        /* event_mask */,
    Cursor              /* cursor */,
    Time                /* time */
#endif
);

extern int XChangeGC(
#if NeedFunctionPrototypes
    Display*            /* display */,
    GC                  /* gc */,
    unsigned long       /* valuemask */,
    XGCValues*          /* values */
#endif
);

extern int XChangeKeyboardControl(
#if NeedFunctionPrototypes
    Display*            /* display */,
    unsigned long       /* value_mask */,
    XKeyboardControl*   /* values */
#endif
);

extern int XChangeKeyboardMapping(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int                 /* first_keycode */,
    int                 /* keysyms_per_keycode */,
    KeySym*             /* keysyms */,
    int                 /* num_codes */
#endif
);

extern int XChangePointerControl(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Bool                /* do_accel */,
    Bool                /* do_threshold */,
    int                 /* accel_numerator */,
    int                 /* accel_denominator */,
    int                 /* threshold */
#endif
);

extern int XChangeProperty(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    Atom                /* property */,
    Atom                /* type */,
    int                 /* format */,
    int                 /* mode */,
    _Xconst unsigned char*      /* data */,
    int                 /* nelements */
#endif
);

extern int XChangeSaveSet(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    int                 /* change_mode */
#endif
);

extern int XChangeWindowAttributes(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    unsigned long       /* valuemask */,
    XSetWindowAttributes* /* attributes */
#endif
);

extern Bool XCheckIfEvent(
#if NeedFunctionPrototypes
    Display*            /* display */,
    XEvent*             /* event_return */,
    Bool (*) (
#if NeedNestedPrototypes
               Display*                 /* display */,
               XEvent*                  /* event */,
               XPointer                 /* arg */
#endif
             )          /* predicate */,
    XPointer            /* arg */
#endif
);

extern Bool XCheckMaskEvent(
#if NeedFunctionPrototypes
    Display*            /* display */,
    long                /* event_mask */,
    XEvent*             /* event_return */
#endif
);

extern Bool XCheckTypedEvent(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int                 /* event_type */,
    XEvent*             /* event_return */
#endif
);

extern Bool XCheckTypedWindowEvent(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    int                 /* event_type */,
    XEvent*             /* event_return */
#endif
);

extern Bool XCheckWindowEvent(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    long                /* event_mask */,
    XEvent*             /* event_return */
#endif
);

extern int XCirculateSubwindows(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    int                 /* direction */
#endif
);

extern int XCirculateSubwindowsDown(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */
#endif
);

extern int XCirculateSubwindowsUp(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */
#endif
);

extern int XClearArea(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    int                 /* x */,
    int                 /* y */,
    unsigned int        /* width */,
    unsigned int        /* height */,
    Bool                /* exposures */
#endif
);

extern int XClearWindow(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */
#endif
);

extern int XCloseDisplay(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);

extern int XConfigureWindow(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    unsigned int        /* value_mask */,
    XWindowChanges*     /* values */             
#endif
);

extern int XConnectionNumber(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);

extern int XConvertSelection(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Atom                /* selection */,
    Atom                /* target */,
    Atom                /* property */,
    Window              /* requestor */,
    Time                /* time */
#endif
);

extern int XCopyArea(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* src */,
    Drawable            /* dest */,
    GC                  /* gc */,
    int                 /* src_x */,
    int                 /* src_y */,
    unsigned int        /* width */,
    unsigned int        /* height */,
    int                 /* dest_x */,
    int                 /* dest_y */
#endif
);

extern int XCopyGC(
#if NeedFunctionPrototypes
    Display*            /* display */,
    GC                  /* src */,
    unsigned long       /* valuemask */,
    GC                  /* dest */
#endif
);

extern int XCopyPlane(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* src */,
    Drawable            /* dest */,
    GC                  /* gc */,
    int                 /* src_x */,
    int                 /* src_y */,
    unsigned int        /* width */,
    unsigned int        /* height */,
    int                 /* dest_x */,
    int                 /* dest_y */,
    unsigned long       /* plane */
#endif
);

extern int XDefaultDepth(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int                 /* screen_number */
#endif
);

extern int XDefaultDepthOfScreen(
#if NeedFunctionPrototypes
    Screen*             /* screen */
#endif
);

extern int XDefaultScreen(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);

extern int XDefineCursor(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    Cursor              /* cursor */
#endif
);

extern int XDeleteProperty(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    Atom                /* property */
#endif
);

extern int XDestroyWindow(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */
#endif
);

extern int XDestroySubwindows(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */
#endif
);

extern int XDoesBackingStore(
#if NeedFunctionPrototypes
    Screen*             /* screen */    
#endif
);

extern Bool XDoesSaveUnders(
#if NeedFunctionPrototypes
    Screen*             /* screen */
#endif
);

extern int XDisableAccessControl(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);


extern int XDisplayCells(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int                 /* screen_number */
#endif
);

extern int XDisplayHeight(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int                 /* screen_number */
#endif
);

extern int XDisplayHeightMM(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int                 /* screen_number */
#endif
);

extern int XDisplayKeycodes(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int*                /* min_keycodes_return */,
    int*                /* max_keycodes_return */
#endif
);

extern int XDisplayPlanes(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int                 /* screen_number */
#endif
);

extern int XDisplayWidth(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int                 /* screen_number */
#endif
);

extern int XDisplayWidthMM(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int                 /* screen_number */
#endif
);

extern int XDrawArc(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    GC                  /* gc */,
    int                 /* x */,
    int                 /* y */,
    unsigned int        /* width */,
    unsigned int        /* height */,
    int                 /* angle1 */,
    int                 /* angle2 */
#endif
);

extern int XDrawArcs(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    GC                  /* gc */,
    XArc*               /* arcs */,
    int                 /* narcs */
#endif
);

extern int XDrawImageString(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    GC                  /* gc */,
    int                 /* x */,
    int                 /* y */,
    _Xconst char*       /* string */,
    int                 /* length */
#endif
);

extern int XDrawImageString16(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    GC                  /* gc */,
    int                 /* x */,
    int                 /* y */,
    _Xconst XChar2b*    /* string */,
    int                 /* length */
#endif
);

extern int XDrawLine(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    GC                  /* gc */,
    int                 /* x1 */,
    int                 /* y1 */,
    int                 /* x2 */,
    int                 /* y2 */
#endif
);

extern int XDrawLines(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    GC                  /* gc */,
    XPoint*             /* points */,
    int                 /* npoints */,
    int                 /* mode */
#endif
);

extern int XDrawPoint(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    GC                  /* gc */,
    int                 /* x */,
    int                 /* y */
#endif
);

extern int XDrawPoints(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    GC                  /* gc */,
    XPoint*             /* points */,
    int                 /* npoints */,
    int                 /* mode */
#endif
);

extern int XDrawRectangle(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    GC                  /* gc */,
    int                 /* x */,
    int                 /* y */,
    unsigned int        /* width */,
    unsigned int        /* height */
#endif
);

extern int XDrawRectangles(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    GC                  /* gc */,
    XRectangle*         /* rectangles */,
    int                 /* nrectangles */
#endif
);

extern int XDrawSegments(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    GC                  /* gc */,
    XSegment*           /* segments */,
    int                 /* nsegments */
#endif
);

extern int XDrawString(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    GC                  /* gc */,
    int                 /* x */,
    int                 /* y */,
    _Xconst char*       /* string */,
    int                 /* length */
#endif
);

extern int XDrawString16(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    GC                  /* gc */,
    int                 /* x */,
    int                 /* y */,
    _Xconst XChar2b*    /* string */,
    int                 /* length */
#endif
);

extern int XDrawText(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    GC                  /* gc */,
    int                 /* x */,
    int                 /* y */,
    XTextItem*          /* items */,
    int                 /* nitems */
#endif
);

extern int XDrawText16(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    GC                  /* gc */,
    int                 /* x */,
    int                 /* y */,
    XTextItem16*        /* items */,
    int                 /* nitems */
#endif
);

extern int XEnableAccessControl(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);

extern int XEventsQueued(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int                 /* mode */
#endif
);

extern Status XFetchName(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    char**              /* window_name_return */
#endif
);

extern int XFillArc(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    GC                  /* gc */,
    int                 /* x */,
    int                 /* y */,
    unsigned int        /* width */,
    unsigned int        /* height */,
    int                 /* angle1 */,
    int                 /* angle2 */
#endif
);

extern int XFillArcs(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    GC                  /* gc */,
    XArc*               /* arcs */,
    int                 /* narcs */
#endif
);

extern int XFillPolygon(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    GC                  /* gc */,
    XPoint*             /* points */,
    int                 /* npoints */,
    int                 /* shape */,
    int                 /* mode */
#endif
);

extern int XFillRectangle(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    GC                  /* gc */,
    int                 /* x */,
    int                 /* y */,
    unsigned int        /* width */,
    unsigned int        /* height */
#endif
);

extern int XFillRectangles(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    GC                  /* gc */,
    XRectangle*         /* rectangles */,
    int                 /* nrectangles */
#endif
);

extern int XFlush(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);

extern int XForceScreenSaver(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int                 /* mode */
#endif
);

extern int XFree(
#if NeedFunctionPrototypes
    void*               /* data */
#endif
);

extern int XFreeColormap(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Colormap            /* colormap */
#endif
);

extern int XFreeColors(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Colormap            /* colormap */,
    unsigned long*      /* pixels */,
    int                 /* npixels */,
    unsigned long       /* planes */
#endif
);

extern int XFreeCursor(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Cursor              /* cursor */
#endif
);

extern int XFreeExtensionList(
#if NeedFunctionPrototypes
    char**              /* list */    
#endif
);

extern int XFreeFont(
#if NeedFunctionPrototypes
    Display*            /* display */,
    XFontStruct*        /* font_struct */
#endif
);

extern int XFreeFontInfo(
#if NeedFunctionPrototypes
    char**              /* names */,
    XFontStruct*        /* free_info */,
    int                 /* actual_count */
#endif
);

extern int XFreeFontNames(
#if NeedFunctionPrototypes
    char**              /* list */
#endif
);

extern int XFreeFontPath(
#if NeedFunctionPrototypes
    char**              /* list */
#endif
);

extern int XFreeGC(
#if NeedFunctionPrototypes
    Display*            /* display */,
    GC                  /* gc */
#endif
);

extern int XFreeModifiermap(
#if NeedFunctionPrototypes
    XModifierKeymap*    /* modmap */
#endif
);

extern int XFreePixmap(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Pixmap              /* pixmap */
#endif
);

extern int XGeometry(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int                 /* screen */,
    _Xconst char*       /* position */,
    _Xconst char*       /* default_position */,
    unsigned int        /* bwidth */,
    unsigned int        /* fwidth */,
    unsigned int        /* fheight */,
    int                 /* xadder */,
    int                 /* yadder */,
    int*                /* x_return */,
    int*                /* y_return */,
    int*                /* width_return */,
    int*                /* height_return */
#endif
);

extern int XGetErrorDatabaseText(
#if NeedFunctionPrototypes
    Display*            /* display */,
    _Xconst char*       /* name */,
    _Xconst char*       /* message */,
    _Xconst char*       /* default_string */,
    char*               /* buffer_return */,
    int                 /* length */
#endif
);

extern int XGetErrorText(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int                 /* code */,
    char*               /* buffer_return */,
    int                 /* length */
#endif
);

extern Bool XGetFontProperty(
#if NeedFunctionPrototypes
    XFontStruct*        /* font_struct */,
    Atom                /* atom */,
    unsigned long*      /* value_return */
#endif
);

extern Status XGetGCValues(
#if NeedFunctionPrototypes
    Display*            /* display */,
    GC                  /* gc */,
    unsigned long       /* valuemask */,
    XGCValues*          /* values_return */
#endif
);

extern Status XGetGeometry(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    Window*             /* root_return */,
    int*                /* x_return */,
    int*                /* y_return */,
    unsigned int*       /* width_return */,
    unsigned int*       /* height_return */,
    unsigned int*       /* border_width_return */,
    unsigned int*       /* depth_return */
#endif
);

extern Status XGetIconName(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    char**              /* icon_name_return */
#endif
);

extern int XGetInputFocus(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window*             /* focus_return */,
    int*                /* revert_to_return */
#endif
);

extern int XGetKeyboardControl(
#if NeedFunctionPrototypes
    Display*            /* display */,
    XKeyboardState*     /* values_return */
#endif
);

extern int XGetPointerControl(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int*                /* accel_numerator_return */,
    int*                /* accel_denominator_return */,
    int*                /* threshold_return */
#endif
);

extern int XGetPointerMapping(
#if NeedFunctionPrototypes
    Display*            /* display */,
    unsigned char*      /* map_return */,
    int                 /* nmap */
#endif
);

extern int XGetScreenSaver(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int*                /* timeout_return */,
    int*                /* interval_return */,
    int*                /* prefer_blanking_return */,
    int*                /* allow_exposures_return */
#endif
);

extern Status XGetTransientForHint(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    Window*             /* prop_window_return */
#endif
);

extern int XGetWindowProperty(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    Atom                /* property */,
    long                /* long_offset */,
    long                /* long_length */,
    Bool                /* delete */,
    Atom                /* req_type */,
    Atom*               /* actual_type_return */,
    int*                /* actual_format_return */,
    unsigned long*      /* nitems_return */,
    unsigned long*      /* bytes_after_return */,
    unsigned char**     /* prop_return */
#endif
);

extern Status XGetWindowAttributes(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    XWindowAttributes*  /* window_attributes_return */
#endif
);

extern int XGrabButton(
#if NeedFunctionPrototypes
    Display*            /* display */,
    unsigned int        /* button */,
    unsigned int        /* modifiers */,
    Window              /* grab_window */,
    Bool                /* owner_events */,
    unsigned int        /* event_mask */,
    int                 /* pointer_mode */,
    int                 /* keyboard_mode */,
    Window              /* confine_to */,
    Cursor              /* cursor */
#endif
);

extern int XGrabKey(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int                 /* keycode */,
    unsigned int        /* modifiers */,
    Window              /* grab_window */,
    Bool                /* owner_events */,
    int                 /* pointer_mode */,
    int                 /* keyboard_mode */
#endif
);

extern int XGrabKeyboard(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* grab_window */,
    Bool                /* owner_events */,
    int                 /* pointer_mode */,
    int                 /* keyboard_mode */,
    Time                /* time */
#endif
);

extern int XGrabPointer(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* grab_window */,
    Bool                /* owner_events */,
    unsigned int        /* event_mask */,
    int                 /* pointer_mode */,
    int                 /* keyboard_mode */,
    Window              /* confine_to */,
    Cursor              /* cursor */,
    Time                /* time */
#endif
);

extern int XGrabServer(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);

extern int XHeightMMOfScreen(
#if NeedFunctionPrototypes
    Screen*             /* screen */
#endif
);

extern int XHeightOfScreen(
#if NeedFunctionPrototypes
    Screen*             /* screen */
#endif
);

extern int XIfEvent(
#if NeedFunctionPrototypes
    Display*            /* display */,
    XEvent*             /* event_return */,
    Bool (*) (
#if NeedNestedPrototypes
               Display*                 /* display */,
               XEvent*                  /* event */,
               XPointer                 /* arg */
#endif
             )          /* predicate */,
    XPointer            /* arg */
#endif
);

extern int XImageByteOrder(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);

extern int XInstallColormap(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Colormap            /* colormap */
#endif
);

extern KeyCode XKeysymToKeycode(
#if NeedFunctionPrototypes
    Display*            /* display */,
    KeySym              /* keysym */
#endif
);

extern int XKillClient(
#if NeedFunctionPrototypes
    Display*            /* display */,
    XID                 /* resource */
#endif
);

extern Status XLookupColor(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Colormap            /* colormap */,
    _Xconst char*       /* color_name */,
    XColor*             /* exact_def_return */,
    XColor*             /* screen_def_return */
#endif
);

extern int XLowerWindow(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */
#endif
);

extern int XMapRaised(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */
#endif
);

extern int XMapSubwindows(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */
#endif
);

extern int XMapWindow(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */
#endif
);

extern int XMaskEvent(
#if NeedFunctionPrototypes
    Display*            /* display */,
    long                /* event_mask */,
    XEvent*             /* event_return */
#endif
);

extern int XMaxCmapsOfScreen(
#if NeedFunctionPrototypes
    Screen*             /* screen */
#endif
);

extern int XMinCmapsOfScreen(
#if NeedFunctionPrototypes
    Screen*             /* screen */
#endif
);

extern int XMoveResizeWindow(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    int                 /* x */,
    int                 /* y */,
    unsigned int        /* width */,
    unsigned int        /* height */
#endif
);

extern int XMoveWindow(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    int                 /* x */,
    int                 /* y */
#endif
);

extern int XNextEvent(
#if NeedFunctionPrototypes
    Display*            /* display */,
    XEvent*             /* event_return */
#endif
);

extern int XNoOp(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);

extern Status XParseColor(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Colormap            /* colormap */,
    _Xconst char*       /* spec */,
    XColor*             /* exact_def_return */
#endif
);

extern int XParseGeometry(
#if NeedFunctionPrototypes
    _Xconst char*       /* parsestring */,
    int*                /* x_return */,
    int*                /* y_return */,
    unsigned int*       /* width_return */,
    unsigned int*       /* height_return */
#endif
);

extern int XPeekEvent(
#if NeedFunctionPrototypes
    Display*            /* display */,
    XEvent*             /* event_return */
#endif
);

extern int XPeekIfEvent(
#if NeedFunctionPrototypes
    Display*            /* display */,
    XEvent*             /* event_return */,
    Bool (*) (
#if NeedNestedPrototypes
               Display*         /* display */,
               XEvent*          /* event */,
               XPointer         /* arg */
#endif
             )          /* predicate */,
    XPointer            /* arg */
#endif
);

extern int XPending(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);

extern int XPlanesOfScreen(
#if NeedFunctionPrototypes
    Screen*             /* screen */
    
#endif
);

extern int XProtocolRevision(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);

extern int XProtocolVersion(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);


extern int XPutBackEvent(
#if NeedFunctionPrototypes
    Display*            /* display */,
    XEvent*             /* event */
#endif
);

extern int XPutImage(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    GC                  /* gc */,
    XImage*             /* image */,
    int                 /* src_x */,
    int                 /* src_y */,
    int                 /* dest_x */,
    int                 /* dest_y */,
    unsigned int        /* width */,
    unsigned int        /* height */      
#endif
);

extern int XQLength(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);

extern Status XQueryBestCursor(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    unsigned int        /* width */,
    unsigned int        /* height */,
    unsigned int*       /* width_return */,
    unsigned int*       /* height_return */
#endif
);

extern Status XQueryBestSize(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int                 /* class */,
    Drawable            /* which_screen */,
    unsigned int        /* width */,
    unsigned int        /* height */,
    unsigned int*       /* width_return */,
    unsigned int*       /* height_return */
#endif
);

extern Status XQueryBestStipple(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* which_screen */,
    unsigned int        /* width */,
    unsigned int        /* height */,
    unsigned int*       /* width_return */,
    unsigned int*       /* height_return */
#endif
);

extern Status XQueryBestTile(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* which_screen */,
    unsigned int        /* width */,
    unsigned int        /* height */,
    unsigned int*       /* width_return */,
    unsigned int*       /* height_return */
#endif
);

extern int XQueryColor(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Colormap            /* colormap */,
    XColor*             /* def_in_out */
#endif
);

extern int XQueryColors(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Colormap            /* colormap */,
    XColor*             /* defs_in_out */,
    int                 /* ncolors */
#endif
);

extern Bool XQueryExtension(
#if NeedFunctionPrototypes
    Display*            /* display */,
    _Xconst char*       /* name */,
    int*                /* major_opcode_return */,
    int*                /* first_event_return */,
    int*                /* first_error_return */
#endif
);

extern int XQueryKeymap(
#if NeedFunctionPrototypes
    Display*            /* display */,
    char [32]           /* keys_return */
#endif
);

extern Bool XQueryPointer(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    Window*             /* root_return */,
    Window*             /* child_return */,
    int*                /* root_x_return */,
    int*                /* root_y_return */,
    int*                /* win_x_return */,
    int*                /* win_y_return */,
    unsigned int*       /* mask_return */
#endif
);

extern int XQueryTextExtents(
#if NeedFunctionPrototypes
    Display*            /* display */,
    XID                 /* font_ID */,
    _Xconst char*       /* string */,
    int                 /* nchars */,
    int*                /* direction_return */,
    int*                /* font_ascent_return */,
    int*                /* font_descent_return */,
    XCharStruct*        /* overall_return */    
#endif
);

extern int XQueryTextExtents16(
#if NeedFunctionPrototypes
    Display*            /* display */,
    XID                 /* font_ID */,
    _Xconst XChar2b*    /* string */,
    int                 /* nchars */,
    int*                /* direction_return */,
    int*                /* font_ascent_return */,
    int*                /* font_descent_return */,
    XCharStruct*        /* overall_return */
#endif
);

extern Status XQueryTree(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    Window*             /* root_return */,
    Window*             /* parent_return */,
    Window**            /* children_return */,
    unsigned int*       /* nchildren_return */
#endif
);

extern int XRaiseWindow(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */
#endif
);

extern int XReadBitmapFile(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    _Xconst char*       /* filename */,
    unsigned int*       /* width_return */,
    unsigned int*       /* height_return */,
    Pixmap*             /* bitmap_return */,
    int*                /* x_hot_return */,
    int*                /* y_hot_return */
#endif
);

extern int XReadBitmapFileData(
#if NeedFunctionPrototypes
    _Xconst char*       /* filename */,
    unsigned int*       /* width_return */,
    unsigned int*       /* height_return */,
    unsigned char**     /* data_return */,
    int*                /* x_hot_return */,
    int*                /* y_hot_return */
#endif
);

extern int XRebindKeysym(
#if NeedFunctionPrototypes
    Display*            /* display */,
    KeySym              /* keysym */,
    KeySym*             /* list */,
    int                 /* mod_count */,
    _Xconst unsigned char*      /* string */,
    int                 /* bytes_string */
#endif
);

extern int XRecolorCursor(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Cursor              /* cursor */,
    XColor*             /* foreground_color */,
    XColor*             /* background_color */
#endif
);

extern int XRefreshKeyboardMapping(
#if NeedFunctionPrototypes
    XMappingEvent*      /* event_map */    
#endif
);

extern int XRemoveFromSaveSet(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */
#endif
);

extern int XRemoveHost(
#if NeedFunctionPrototypes
    Display*            /* display */,
    XHostAddress*       /* host */
#endif
);

extern int XRemoveHosts(
#if NeedFunctionPrototypes
    Display*            /* display */,
    XHostAddress*       /* hosts */,
    int                 /* num_hosts */
#endif
);

extern int XReparentWindow(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    Window              /* parent */,
    int                 /* x */,
    int                 /* y */
#endif
);

extern int XResetScreenSaver(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);

extern int XResizeWindow(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    unsigned int        /* width */,
    unsigned int        /* height */
#endif
);

extern int XRestackWindows(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window*             /* windows */,
    int                 /* nwindows */
#endif
);

extern int XRotateBuffers(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int                 /* rotate */
#endif
);

extern int XRotateWindowProperties(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    Atom*               /* properties */,
    int                 /* num_prop */,
    int                 /* npositions */
#endif
);

extern int XScreenCount(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);

extern int XSelectInput(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    long                /* event_mask */
#endif
);

extern Status XSendEvent(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    Bool                /* propagate */,
    long                /* event_mask */,
    XEvent*             /* event_send */
#endif
);

extern int XSetAccessControl(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int                 /* mode */
#endif
);

extern int XSetArcMode(
#if NeedFunctionPrototypes
    Display*            /* display */,
    GC                  /* gc */,
    int                 /* arc_mode */
#endif
);

extern int XSetBackground(
#if NeedFunctionPrototypes
    Display*            /* display */,
    GC                  /* gc */,
    unsigned long       /* background */
#endif
);

extern int XSetClipMask(
#if NeedFunctionPrototypes
    Display*            /* display */,
    GC                  /* gc */,
    Pixmap              /* pixmap */
#endif
);

extern int XSetClipOrigin(
#if NeedFunctionPrototypes
    Display*            /* display */,
    GC                  /* gc */,
    int                 /* clip_x_origin */,
    int                 /* clip_y_origin */
#endif
);

extern int XSetClipRectangles(
#if NeedFunctionPrototypes
    Display*            /* display */,
    GC                  /* gc */,
    int                 /* clip_x_origin */,
    int                 /* clip_y_origin */,
    XRectangle*         /* rectangles */,
    int                 /* n */,
    int                 /* ordering */
#endif
);

extern int XSetCloseDownMode(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int                 /* close_mode */
#endif
);

extern int XSetCommand(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    char**              /* argv */,
    int                 /* argc */
#endif
);

extern int XSetDashes(
#if NeedFunctionPrototypes
    Display*            /* display */,
    GC                  /* gc */,
    int                 /* dash_offset */,
    _Xconst char*       /* dash_list */,
    int                 /* n */
#endif
);

extern int XSetFillRule(
#if NeedFunctionPrototypes
    Display*            /* display */,
    GC                  /* gc */,
    int                 /* fill_rule */
#endif
);

extern int XSetFillStyle(
#if NeedFunctionPrototypes
    Display*            /* display */,
    GC                  /* gc */,
    int                 /* fill_style */
#endif
);

extern int XSetFont(
#if NeedFunctionPrototypes
    Display*            /* display */,
    GC                  /* gc */,
    Font                /* font */
#endif
);

extern int XSetFontPath(
#if NeedFunctionPrototypes
    Display*            /* display */,
    char**              /* directories */,
    int                 /* ndirs */          
#endif
);

extern int XSetForeground(
#if NeedFunctionPrototypes
    Display*            /* display */,
    GC                  /* gc */,
    unsigned long       /* foreground */
#endif
);

extern int XSetFunction(
#if NeedFunctionPrototypes
    Display*            /* display */,
    GC                  /* gc */,
    int                 /* function */
#endif
);

extern int XSetGraphicsExposures(
#if NeedFunctionPrototypes
    Display*            /* display */,
    GC                  /* gc */,
    Bool                /* graphics_exposures */
#endif
);

extern int XSetIconName(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    _Xconst char*       /* icon_name */
#endif
);

extern int XSetInputFocus(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* focus */,
    int                 /* revert_to */,
    Time                /* time */
#endif
);

extern int XSetLineAttributes(
#if NeedFunctionPrototypes
    Display*            /* display */,
    GC                  /* gc */,
    unsigned int        /* line_width */,
    int                 /* line_style */,
    int                 /* cap_style */,
    int                 /* join_style */
#endif
);

extern int XSetModifierMapping(
#if NeedFunctionPrototypes
    Display*            /* display */,
    XModifierKeymap*    /* modmap */
#endif
);

extern int XSetPlaneMask(
#if NeedFunctionPrototypes
    Display*            /* display */,
    GC                  /* gc */,
    unsigned long       /* plane_mask */
#endif
);

extern int XSetPointerMapping(
#if NeedFunctionPrototypes
    Display*            /* display */,
    _Xconst unsigned char*      /* map */,
    int                 /* nmap */
#endif
);

extern int XSetScreenSaver(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int                 /* timeout */,
    int                 /* interval */,
    int                 /* prefer_blanking */,
    int                 /* allow_exposures */
#endif
);

extern int XSetSelectionOwner(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Atom                /* selection */,
    Window              /* owner */,
    Time                /* time */
#endif
);

extern int XSetState(
#if NeedFunctionPrototypes
    Display*            /* display */,
    GC                  /* gc */,
    unsigned long       /* foreground */,
    unsigned long       /* background */,
    int                 /* function */,
    unsigned long       /* plane_mask */
#endif
);

extern int XSetStipple(
#if NeedFunctionPrototypes
    Display*            /* display */,
    GC                  /* gc */,
    Pixmap              /* stipple */
#endif
);

extern int XSetSubwindowMode(
#if NeedFunctionPrototypes
    Display*            /* display */,
    GC                  /* gc */,
    int                 /* subwindow_mode */
#endif
);

extern int XSetTSOrigin(
#if NeedFunctionPrototypes
    Display*            /* display */,
    GC                  /* gc */,
    int                 /* ts_x_origin */,
    int                 /* ts_y_origin */
#endif
);

extern int XSetTile(
#if NeedFunctionPrototypes
    Display*            /* display */,
    GC                  /* gc */,
    Pixmap              /* tile */
#endif
);

extern int XSetWindowBackground(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    unsigned long       /* background_pixel */
#endif
);

extern int XSetWindowBackgroundPixmap(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    Pixmap              /* background_pixmap */
#endif
);

extern int XSetWindowBorder(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    unsigned long       /* border_pixel */
#endif
);

extern int XSetWindowBorderPixmap(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    Pixmap              /* border_pixmap */
#endif
);

extern int XSetWindowBorderWidth(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    unsigned int        /* width */
#endif
);

extern int XSetWindowColormap(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    Colormap            /* colormap */
#endif
);

extern int XStoreBuffer(
#if NeedFunctionPrototypes
    Display*            /* display */,
    _Xconst char*       /* bytes */,
    int                 /* nbytes */,
    int                 /* buffer */
#endif
);

extern int XStoreBytes(
#if NeedFunctionPrototypes
    Display*            /* display */,
    _Xconst char*       /* bytes */,
    int                 /* nbytes */
#endif
);

extern int XStoreColor(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Colormap            /* colormap */,
    XColor*             /* color */
#endif
);

extern int XStoreColors(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Colormap            /* colormap */,
    XColor*             /* color */,
    int                 /* ncolors */
#endif
);

extern int XStoreName(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    _Xconst char*       /* window_name */
#endif
);

extern int XStoreNamedColor(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Colormap            /* colormap */,
    _Xconst char*       /* color */,
    unsigned long       /* pixel */,
    int                 /* flags */
#endif
);

extern int XSync(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Bool                /* discard */
#endif
);

extern int XTextExtents(
#if NeedFunctionPrototypes
    XFontStruct*        /* font_struct */,
    _Xconst char*       /* string */,
    int                 /* nchars */,
    int*                /* direction_return */,
    int*                /* font_ascent_return */,
    int*                /* font_descent_return */,
    XCharStruct*        /* overall_return */
#endif
);

extern int XTextExtents16(
#if NeedFunctionPrototypes
    XFontStruct*        /* font_struct */,
    _Xconst XChar2b*    /* string */,
    int                 /* nchars */,
    int*                /* direction_return */,
    int*                /* font_ascent_return */,
    int*                /* font_descent_return */,
    XCharStruct*        /* overall_return */
#endif
);

extern int XTextWidth(
#if NeedFunctionPrototypes
    XFontStruct*        /* font_struct */,
    _Xconst char*       /* string */,
    int                 /* count */
#endif
);

extern int XTextWidth16(
#if NeedFunctionPrototypes
    XFontStruct*        /* font_struct */,
    _Xconst XChar2b*    /* string */,
    int                 /* count */
#endif
);

extern Bool XTranslateCoordinates(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* src_w */,
    Window              /* dest_w */,
    int                 /* src_x */,
    int                 /* src_y */,
    int*                /* dest_x_return */,
    int*                /* dest_y_return */,
    Window*             /* child_return */
#endif
);

extern int XUndefineCursor(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */
#endif
);

extern int XUngrabButton(
#if NeedFunctionPrototypes
    Display*            /* display */,
    unsigned int        /* button */,
    unsigned int        /* modifiers */,
    Window              /* grab_window */
#endif
);

extern int XUngrabKey(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int                 /* keycode */,
    unsigned int        /* modifiers */,
    Window              /* grab_window */
#endif
);

extern int XUngrabKeyboard(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Time                /* time */
#endif
);

extern int XUngrabPointer(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Time                /* time */
#endif
);

extern int XUngrabServer(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);

extern int XUninstallColormap(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Colormap            /* colormap */
#endif
);

extern int XUnloadFont(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Font                /* font */
#endif
);

extern int XUnmapSubwindows(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */
#endif
);

extern int XUnmapWindow(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */
#endif
);

extern int XVendorRelease(
#if NeedFunctionPrototypes
    Display*            /* display */
#endif
);

extern int XWarpPointer(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* src_w */,
    Window              /* dest_w */,
    int                 /* src_x */,
    int                 /* src_y */,
    unsigned int        /* src_width */,
    unsigned int        /* src_height */,
    int                 /* dest_x */,
    int                 /* dest_y */         
#endif
);

extern int XWidthMMOfScreen(
#if NeedFunctionPrototypes
    Screen*             /* screen */
#endif
);

extern int XWidthOfScreen(
#if NeedFunctionPrototypes
    Screen*             /* screen */
#endif
);

extern int XWindowEvent(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    long                /* event_mask */,
    XEvent*             /* event_return */
#endif
);

extern int XWriteBitmapFile(
#if NeedFunctionPrototypes
    Display*            /* display */,
    _Xconst char*       /* filename */,
    Pixmap              /* bitmap */,
    unsigned int        /* width */,
    unsigned int        /* height */,
    int                 /* x_hot */,
    int                 /* y_hot */                  
#endif
);

extern Bool XSupportsLocale (void);

extern char *XSetLocaleModifiers(
    const char*         /* modifier_list */
);

extern XOM XOpenOM(
#if NeedFunctionPrototypes
    Display*                    /* display */,
    struct _XrmHashBucketRec*   /* rdb */,
    _Xconst char*               /* res_name */,
    _Xconst char*               /* res_class */
#endif
);

extern Status XCloseOM(
#if NeedFunctionPrototypes
    XOM                 /* om */
#endif
);

extern char *XSetOMValues(
#if NeedVarargsPrototypes
    XOM                 /* om */,
    ...
#endif
);

extern char *XGetOMValues(
#if NeedVarargsPrototypes
    XOM                 /* om */,
    ...
#endif
);

extern Display *XDisplayOfOM(
#if NeedFunctionPrototypes
    XOM                 /* om */
#endif
);

extern char *XLocaleOfOM(
#if NeedFunctionPrototypes
    XOM                 /* om */
#endif
);

extern XOC XCreateOC(
#if NeedVarargsPrototypes
    XOM                 /* om */,
    ...
#endif
);

extern void XDestroyOC(
#if NeedFunctionPrototypes
    XOC                 /* oc */
#endif
);

extern XOM XOMOfOC(
#if NeedFunctionPrototypes
    XOC                 /* oc */
#endif
);

extern char *XSetOCValues(
#if NeedVarargsPrototypes
    XOC                 /* oc */,
    ...
#endif
);

extern char *XGetOCValues(
#if NeedVarargsPrototypes
    XOC                 /* oc */,
    ...
#endif
);

extern XFontSet XCreateFontSet(
#if NeedFunctionPrototypes
    Display*            /* display */,
    _Xconst char*       /* base_font_name_list */,
    char***             /* missing_charset_list */,
    int*                /* missing_charset_count */,
    char**              /* def_string */
#endif
);

extern void XFreeFontSet(
#if NeedFunctionPrototypes
    Display*            /* display */,
    XFontSet            /* font_set */
#endif
);

extern int XFontsOfFontSet(
#if NeedFunctionPrototypes
    XFontSet            /* font_set */,
    XFontStruct***      /* font_struct_list */,
    char***             /* font_name_list */
#endif
);

extern char *XBaseFontNameListOfFontSet(
#if NeedFunctionPrototypes
    XFontSet            /* font_set */
#endif
);

extern char *XLocaleOfFontSet(
#if NeedFunctionPrototypes
    XFontSet            /* font_set */
#endif
);

extern Bool XContextDependentDrawing(
#if NeedFunctionPrototypes
    XFontSet            /* font_set */
#endif
);

extern Bool XDirectionalDependentDrawing(
#if NeedFunctionPrototypes
    XFontSet            /* font_set */
#endif
);

extern Bool XContextualDrawing(
#if NeedFunctionPrototypes
    XFontSet            /* font_set */
#endif
);

extern XFontSetExtents *XExtentsOfFontSet(
#if NeedFunctionPrototypes
    XFontSet            /* font_set */
#endif
);

extern int XmbTextEscapement(
#if NeedFunctionPrototypes
    XFontSet            /* font_set */,
    _Xconst char*       /* text */,
    int                 /* bytes_text */
#endif
);

extern int XwcTextEscapement(
#if NeedFunctionPrototypes
    XFontSet            /* font_set */,
    _Xconst wchar_t*    /* text */,
    int                 /* num_wchars */
#endif
);

extern int Xutf8TextEscapement(
#if NeedFunctionPrototypes
    XFontSet            /* font_set */,
    _Xconst char*       /* text */,
    int                 /* bytes_text */
#endif
);

extern int XmbTextExtents(
#if NeedFunctionPrototypes
    XFontSet            /* font_set */,
    _Xconst char*       /* text */,
    int                 /* bytes_text */,
    XRectangle*         /* overall_ink_return */,
    XRectangle*         /* overall_logical_return */
#endif
);

extern int XwcTextExtents(
#if NeedFunctionPrototypes
    XFontSet            /* font_set */,
    _Xconst wchar_t*    /* text */,
    int                 /* num_wchars */,
    XRectangle*         /* overall_ink_return */,
    XRectangle*         /* overall_logical_return */
#endif
);

extern int Xutf8TextExtents(
#if NeedFunctionPrototypes
    XFontSet            /* font_set */,
    _Xconst char*       /* text */,
    int                 /* bytes_text */,
    XRectangle*         /* overall_ink_return */,
    XRectangle*         /* overall_logical_return */
#endif
);

extern Status XmbTextPerCharExtents(
#if NeedFunctionPrototypes
    XFontSet            /* font_set */,
    _Xconst char*       /* text */,
    int                 /* bytes_text */,
    XRectangle*         /* ink_extents_buffer */,
    XRectangle*         /* logical_extents_buffer */,
    int                 /* buffer_size */,
    int*                /* num_chars */,
    XRectangle*         /* overall_ink_return */,
    XRectangle*         /* overall_logical_return */
#endif
);

extern Status XwcTextPerCharExtents(
#if NeedFunctionPrototypes
    XFontSet            /* font_set */,
    _Xconst wchar_t*    /* text */,
    int                 /* num_wchars */,
    XRectangle*         /* ink_extents_buffer */,
    XRectangle*         /* logical_extents_buffer */,
    int                 /* buffer_size */,
    int*                /* num_chars */,
    XRectangle*         /* overall_ink_return */,
    XRectangle*         /* overall_logical_return */
#endif
);

extern Status Xutf8TextPerCharExtents(
#if NeedFunctionPrototypes
    XFontSet            /* font_set */,
    _Xconst char*       /* text */,
    int                 /* bytes_text */,
    XRectangle*         /* ink_extents_buffer */,
    XRectangle*         /* logical_extents_buffer */,
    int                 /* buffer_size */,
    int*                /* num_chars */,
    XRectangle*         /* overall_ink_return */,
    XRectangle*         /* overall_logical_return */
#endif
);

extern void XmbDrawText(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    GC                  /* gc */,
    int                 /* x */,
    int                 /* y */,
    XmbTextItem*        /* text_items */,
    int                 /* nitems */
#endif
);

extern void XwcDrawText(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    GC                  /* gc */,
    int                 /* x */,
    int                 /* y */,
    XwcTextItem*        /* text_items */,
    int                 /* nitems */
#endif
);

extern void Xutf8DrawText(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    GC                  /* gc */,
    int                 /* x */,
    int                 /* y */,
    XmbTextItem*        /* text_items */,
    int                 /* nitems */
#endif
);

extern void XmbDrawString(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    XFontSet            /* font_set */,
    GC                  /* gc */,
    int                 /* x */,
    int                 /* y */,
    _Xconst char*       /* text */,
    int                 /* bytes_text */
#endif
);

extern void XwcDrawString(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    XFontSet            /* font_set */,
    GC                  /* gc */,
    int                 /* x */,
    int                 /* y */,
    _Xconst wchar_t*    /* text */,
    int                 /* num_wchars */
#endif
);

extern void Xutf8DrawString(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    XFontSet            /* font_set */,
    GC                  /* gc */,
    int                 /* x */,
    int                 /* y */,
    _Xconst char*       /* text */,
    int                 /* bytes_text */
#endif
);

extern void XmbDrawImageString(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    XFontSet            /* font_set */,
    GC                  /* gc */,
    int                 /* x */,
    int                 /* y */,
    _Xconst char*       /* text */,
    int                 /* bytes_text */
#endif
);

extern void XwcDrawImageString(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    XFontSet            /* font_set */,
    GC                  /* gc */,
    int                 /* x */,
    int                 /* y */,
    _Xconst wchar_t*    /* text */,
    int                 /* num_wchars */
#endif
);

extern void Xutf8DrawImageString(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Drawable            /* d */,
    XFontSet            /* font_set */,
    GC                  /* gc */,
    int                 /* x */,
    int                 /* y */,
    _Xconst char*       /* text */,
    int                 /* bytes_text */
#endif
);

extern XIM XOpenIM(
#if NeedFunctionPrototypes
    Display*                    /* dpy */,
    struct _XrmHashBucketRec*   /* rdb */,
    char*                       /* res_name */,
    char*                       /* res_class */
#endif
);

extern Status XCloseIM(
#if NeedFunctionPrototypes
    XIM /* im */
#endif
);

extern char *XSetIMValues(
#if NeedVarargsPrototypes
    XIM /* im */, ...
#endif
);

extern char *XGetIMValues(
#if NeedVarargsPrototypes
    XIM /* im */, ...
#endif
);

extern Display *XDisplayOfIM(
#if NeedFunctionPrototypes
    XIM /* im */
#endif
);

extern char *XLocaleOfIM(
#if NeedFunctionPrototypes
    XIM /* im*/
#endif
);

extern XIC XCreateIC(
#if NeedVarargsPrototypes
    XIM /* im */, ...
#endif
);

extern void XDestroyIC(
#if NeedFunctionPrototypes
    XIC /* ic */
#endif
);

extern void XSetICFocus(
#if NeedFunctionPrototypes
    XIC /* ic */
#endif
);

extern void XUnsetICFocus(
#if NeedFunctionPrototypes
    XIC /* ic */
#endif
);

extern wchar_t *XwcResetIC(
#if NeedFunctionPrototypes
    XIC /* ic */
#endif
);

extern char *XmbResetIC(
#if NeedFunctionPrototypes
    XIC /* ic */
#endif
);

extern char *Xutf8ResetIC(
#if NeedFunctionPrototypes
    XIC /* ic */
#endif
);

extern char *XSetICValues(
#if NeedVarargsPrototypes
    XIC /* ic */, ...
#endif
);

extern char *XGetICValues(
#if NeedVarargsPrototypes
    XIC /* ic */, ...
#endif
);

extern XIM XIMOfIC(
#if NeedFunctionPrototypes
    XIC /* ic */
#endif
);

extern Bool XFilterEvent(
#if NeedFunctionPrototypes
    XEvent*     /* event */,
    Window      /* window */
#endif
);

extern int XmbLookupString(
#if NeedFunctionPrototypes
    XIC                 /* ic */,
    XKeyPressedEvent*   /* event */,
    char*               /* buffer_return */,
    int                 /* bytes_buffer */,
    KeySym*             /* keysym_return */,
    Status*             /* status_return */
#endif
);

extern int XwcLookupString(
#if NeedFunctionPrototypes
    XIC                 /* ic */,
    XKeyPressedEvent*   /* event */,
    wchar_t*            /* buffer_return */,
    int                 /* wchars_buffer */,
    KeySym*             /* keysym_return */,
    Status*             /* status_return */
#endif
);

extern int Xutf8LookupString(
#if NeedFunctionPrototypes
    XIC                 /* ic */,
    XKeyPressedEvent*   /* event */,
    char*               /* buffer_return */,
    int                 /* bytes_buffer */,
    KeySym*             /* keysym_return */,
    Status*             /* status_return */
#endif
);

extern XVaNestedList XVaCreateNestedList(
#if NeedVarargsPrototypes
    int /*unused*/, ...
#endif
);

/* internal connections for IMs */

extern Bool XRegisterIMInstantiateCallback(
#if NeedFunctionPrototypes
    Display*                    /* dpy */,
    struct _XrmHashBucketRec*   /* rdb */,
    char*                       /* res_name */,
    char*                       /* res_class */,
    XIDProc                     /* callback */,
    XPointer                    /* client_data */
#endif
);

extern Bool XUnregisterIMInstantiateCallback(
#if NeedFunctionPrototypes
    Display*                    /* dpy */,
    struct _XrmHashBucketRec*   /* rdb */,
    char*                       /* res_name */,
    char*                       /* res_class */,
    XIDProc                     /* callback */,
    XPointer                    /* client_data */
#endif
);

typedef void (*XConnectionWatchProc)(
#if NeedFunctionPrototypes
    Display*                    /* dpy */,
    XPointer                    /* client_data */,
    int                         /* fd */,
    Bool                        /* opening */,   /* open or close flag */
    XPointer*                   /* watch_data */ /* open sets, close uses */
#endif
);
    

extern Status XInternalConnectionNumbers(
#if NeedFunctionPrototypes
    Display*                    /* dpy */,
    int**                       /* fd_return */,
    int*                        /* count_return */
#endif
);

extern void XProcessInternalConnection(
#if NeedFunctionPrototypes
    Display*                    /* dpy */,
    int                         /* fd */
#endif
);

extern Status XAddConnectionWatch(
#if NeedFunctionPrototypes
    Display*                    /* dpy */,
    XConnectionWatchProc        /* callback */,
    XPointer                    /* client_data */
#endif
);

extern void XRemoveConnectionWatch(
#if NeedFunctionPrototypes
    Display*                    /* dpy */,
    XConnectionWatchProc        /* callback */,
    XPointer                    /* client_data */
#endif
);

extern void XSetAuthorization(
#if NeedFunctionPrototypes
    char *                      /* name */,
    int                         /* namelen */, 
    char *                      /* data */,
    int                         /* datalen */
#endif
);

_XFUNCPROTOEND

#endif /* _XLIB_H_ */

reply via email to

[Prev in Thread] Current Thread [Next in Thread]