
As i could not find it anywere, I wrote an lirc interface-plugin that 
lets you controll vlc using an IR remote control. The following 
functions can be asigned to buttons on the remote.
*play
*pause
*next in playlist
*prev in playlist
*fast playback
*slow motion
*stop
*exit

Somone should have a look at my changes to the configure.in file, 
because i do not know the syntax.

Please CC me any comments as I'm not on the list.

Sigmund Augdal


-- Attached file included as plaintext by Listar --

diff --new-file -C2 -r vlc-0.2.92/Makefile.opts vlc-0.2.92-lirc/Makefile.opts
*** vlc-0.2.92/Makefile.opts	Thu Jan  1 01:00:00 1970
--- vlc-0.2.92-lirc/Makefile.opts	Sun Feb  3 13:34:31 2002
***************
*** 0 ****
--- 1,329 ----
+ # Generated automatically from Makefile.opts.in by configure.
+ ###############################################################################
+ # vlc (VideoLAN Client) options Makefile
+ # (c)1998 VideoLAN
+ ###############################################################################
+ 
+ HAVE_MAKEFILE_OPTS = 1
+ 
+ ###############################################################################
+ # Configuration
+ ###############################################################################
+ 
+ # 
+ # Plugins to build
+ # WARNING: if you do not have a dynamic loader on your platform, remove
+ # the plugins in this line and put them as built-ins, otherwise your
+ # application won't be able to load them.
+ # 
+ PLUGINS := ac3_spdif spu_dec dsp x11 xvideo sdl gtk lirc
+ 
+ # 
+ # Built-in modules to build
+ # WARNING: do NOT put gtk and gnome together in this rule.
+ # 
+ BUILTINS := es ps ts memcpy yuv idct idctclassic motion imdct downmix mpeg_adec lpcm_adec ac3_adec mpeg_vdec  memcpymmx yuvmmx idctmmx motionmmx memcpymmxext idctmmxext motionmmxext memcpy3dn imdct3dn downmix3dn imdctsse downmixsse dvd vcd dummy null rc
+ 
+ # 
+ # Additional build options
+ # 
+ SYS = linux
+ ALIASES = gvlc
+ INSTALL = /usr/bin/install -c
+ ARCH = i686 mmx
+ 
+ #
+ # Compilation options
+ #
+ DEBUG = 0
+ TRACE = 0
+ CPROF = 0
+ GPROF = 0
+ OPTIMS = 1
+ TUNING = pentiumpro
+ RELEASE = 
+ 
+ # 
+ # Build environment
+ # 
+ CC = gcc
+ CFLAGS =  -finline-limit-30000
+ SHELL = /bin/sh
+ RANLIB = ranlib
+ WINDRES = 
+ MOC = 
+ DLL_PATH = .
+ 
+ # 
+ # Installation environment
+ # 
+ exec_prefix = ${prefix}
+ prefix = /usr/local
+ bindir = ${exec_prefix}/bin
+ datadir = ${prefix}/share
+ libdir = ${exec_prefix}/lib
+ includedir = ${prefix}/include
+ 
+ #
+ # Libraries for special cases
+ #
+ LIB_ALSA = 
+ LIB_ALTIVEC = 
+ LIB_ARTS = 
+ LIB_BEOS = 
+ LIB_DARWIN = 
+ LIB_DIRECTX = 
+ LIB_DVD =  lib/libdvdcss.a 
+ LIB_DVD_PLUGIN =  ../../lib/libdvdcss.a 
+ LIB_DVDREAD = 
+ LIB_DVDREAD_PLUGIN = 
+ LIB_ESD = 
+ LIB_GGI = 
+ LIB_GLIDE = 
+ LIB_GNOME = 
+ LIB_GTK = -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk  -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
+ LIB_IMDCT =  -lm
+ LIB_IMDCT3DN =  -lm
+ LIB_IMDCTSSE =  -lm
+ LIB_KDE = 
+ LIB_LIBDVDCSS = 
+ LIB_MACOSX = 
+ LIB_MAD = 
+ LIB_NCURSES = 
+ LIB_QNX = 
+ LIB_QT = 
+ LIB_RC = 
+ LIB_SDL = -L/usr/lib -lSDL -lpthread -L/usr/X11R6/lib -lXxf86dga_pic -lXxf86vm_pic -lXv_pic
+ LIB_TS = 
+ LIB_X11 = -L/usr/X11R6/lib -lX11 -lXext
+ LIB_XVIDEO = -L/usr/X11R6/lib -lX11 -lXext -lXv_pic
+ LIB_YUV =  -lm
+ 
+ #
+ # CFLAGS for special cases
+ #
+ CFLAGS_VLC = 
+ CFLAGS_ALTIVEC = 
+ CFLAGS_DVD =  -I../../extras/libdvdcss
+ CFLAGS_DVDREAD = 
+ CFLAGS_ARTS = 
+ CFLAGS_ESD = 
+ CFLAGS_LIBDVDCSS = 
+ CFLAGS_ESD = 
+ CFLAGS_GTK = -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
+ CFLAGS_MAD = 
+ CFLAGS_SDL = -I/usr/include/SDL -D_REENTRANT
+ CFLAGS_X11 = -I/usr/X11R6/include
+ 
+ #
+ # Additional objects
+ #
+ OBJ_DVD = 
+ OBJ_LIBDVDCSS = 
+ 
+ #
+ # Other special cases
+ #
+ NEED_GETOPT = 0
+ NEED_LIBDVDCSS = 1
+ 
+ ###############################################################################
+ # Configuration pre-processing
+ ###############################################################################
+ 
+ # PROGRAM_OPTIONS is an identification string of the compilation options
+ PROGRAM_OPTIONS = $(SYS) $(ARCH)
+ ifeq ($(DEBUG),1)
+ PROGRAM_OPTIONS += DEBUG
+ DEFINE += -DDEBUG
+ endif
+ ifeq ($(TRACE),1)
+ PROGRAM_OPTIONS += TRACE
+ DEFINE += -DTRACE
+ endif
+ ifeq ($(CPROF),1)
+ PROGRAM_OPTIONS += CPROF
+ DEFINE += -DCPROF
+ endif
+ ifeq ($(GPROF),1)
+ PROGRAM_OPTIONS += GPROF
+ DEFINE += -DGPROF
+ endif
+ 
+ # PROGRAM_BUILD is a complete identification of the build
+ # (we can't use fancy options with date since OSes like Solaris
+ # or FreeBSD have strange date implementations)
+ ifeq ($(SYS),beos)
+ # XXX: beos does not support hostname (how lame...)
+ PROGRAM_BUILD = `date` $(USER)
+ else
+ PROGRAM_BUILD = `date` $(USER)@`hostname`
+ endif
+ 
+ # PROGRAM_VERSION is the current vlc version
+ PROGRAM_VERSION=0.2.92_2002-02-03
+ LIBDVDCSS_VERSION=1.0.1_2002-02-03
+ 
+ # DEFINE will contain some of the constants definitions decided in Makefile, 
+ # including SYS_xx. It will be passed to C compiler.
+ DEFINE_CONSTANTS := -DSYS_$(shell echo $(SYS) | sed -e 's/-.*//' | tr '[a-z].' '[A-Z]_')
+ DEFINE += $(DEFINE_CONSTANTS)
+ 
+ # On Linux and Solaris, activate 64-bit off_t (by default under BSD)
+ DEFINE += -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98
+ 
+ ###############################################################################
+ # Tuning and other variables - do not change anything except if you know
+ # exactly what you are doing
+ ###############################################################################
+ 
+ #
+ # C headers directories
+ #
+ INCLUDE += 
+ INCLUDE += -Iinclude -Iextras
+ 
+ #
+ # Libraries needed by built-in modules
+ #
+ # Let's go for a crude hack !
+ LIB_MOTIONALTIVEC := $(LIB_ALTIVEC)
+ LIB_IDCTALTIVEC := $(LIB_ALTIVEC)
+ ifneq (,$(BUILTINS))
+ LIB_BUILTINS := $(shell for i in ${BUILTINS} ; do echo $$i | tr '[a-z]' '[A-Z]' | sed -e 's/.*/$$LIB_&/' ; done)
+ LIB += $(LIB_BUILTINS)
+ endif
+ 
+ #
+ # Libraries
+ #
+ ifneq (,$(findstring mingw32,$(SYS)))
+ LIB += -lws2_32 -lnetapi32
+ endif
+ 
+ LIB +=  -ldl -lpthread -llirc_client
+ 
+ #
+ # C compiler flags: mainstream compilation
+ #
+ DEFINE += 
+ CFLAGS += $(DEFINE) $(INCLUDE)
+ CFLAGS += -Wall -Winline
+ CFLAGS += -pipe
+ CFLAGS += -D_REENTRANT
+ CFLAGS += -D_GNU_SOURCE
+ 
+ ifeq ($(RELEASE),1)
+ CFLAGS += -DRELEASE
+ endif
+ 
+ # flags needed for clean beos compilation
+ ifeq ($(SYS),beos)
+ CFLAGS += -Wno-multichar -Wno-ctor-dtor-privacy -Woverloaded-virtual
+ endif
+ 
+ ifneq (,$(findstring darwin,$(SYS)))
+ CFLAGS += -no-cpp-precomp
+ endif
+ 
+ ifneq (,$(findstring mingw32,$(SYS)))
+ CFLAGS += -fnative-struct -D_OFF_T_ -D_off_t=long
+ endif
+ 
+ ifneq (,$(findstring bsd,$(SYS)))
+ CFLAGS += -pthread
+ endif
+ 
+ # Optimizations : don't compile debug versions with them
+ ifeq ($(OPTIMS),1)
+ CFLAGS += -O3
+ CFLAGS += -ffast-math -funroll-loops
+ ifneq ($(DEBUG),1)
+ ifneq ($(GPROF),1)
+ ifneq ($(CPROF),1)
+ CFLAGS += -fomit-frame-pointer
+ endif
+ endif
+ endif
+ 
+ ifneq (,$(findstring powerpc,$(ARCH)))
+ # Optimizations for PowerPC
+ CFLAGS += -mmultiple -mhard-float -mstring -mcpu=powerpc
+ ifneq (,$(TUNING))
+ CFLAGS += -mtune=$(TUNING)
+ endif
+ else
+ ifneq (,$(findstring sparc,$(ARCH)))
+ # Optimizations for Sparc
+ CFLAGS += -mhard-float
+ ifneq (,$(TUNING))
+ CFLAGS += -mcpu=$(TUNING)
+ endif
+ else
+ # Generic optimizations
+ ifneq (,$(TUNING))
+ CFLAGS += -mcpu=$(TUNING)
+ endif
+ endif
+ endif
+ 
+ #end of optimisations
+ endif
+ 
+ #
+ # C compiler flags: dependancies
+ #
+ DCFLAGS += $(INCLUDE)
+ DCFLAGS += -MM
+ 
+ #
+ # C compiler flags: linking
+ #
+ LCFLAGS +=  $(LIB)
+ LCFLAGS += -Wall
+ ifneq ($(DEBUG),1)
+ ifneq ($(GPROF),1)
+ ifneq ($(CPROF),1)
+ #LCFLAGS += -s
+ endif
+ endif
+ endif
+ ifneq (,$(findstring mingw32,$(SYS)))
+ LCFLAGS += -mwindows -Xlinker --force-exe-suffix
+ endif
+ 
+ #
+ # C compiler and linker flags: setting soname
+ #
+ SOFLAGS = -Wl,-soname -Wl,
+ 
+ #
+ # C compiler flags: plugin compilation
+ #
+ ifneq (,$(findstring mingw32,$(SYS)))
+ PCFLAGS += -fnative-struct
+ else
+ PCFLAGS += -fPIC
+ endif
+ 
+ #
+ # C compiler flags: plugin linking
+ #
+ PLCFLAGS +=  -shared
+ 
+ #
+ # Debugging and profiling support
+ #
+ ifeq ($(DEBUG),1)
+ CFLAGS += -g
+ endif
+ 
+ ifeq ($(CPROF),1)
+ CFLAGS += -finstrument-functions
+ endif
+ 
+ ifeq ($(GPROF),1)
+ CFLAGS += -pg
+ endif
+ 
+ 
diff --new-file -C2 -r vlc-0.2.92/config.cache vlc-0.2.92-lirc/config.cache
*** vlc-0.2.92/config.cache	Thu Jan  1 01:00:00 1970
--- vlc-0.2.92-lirc/config.cache	Sun Feb  3 13:34:13 2002
***************
*** 0 ****
--- 1,115 ----
+ # 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.  It is not useful on other systems.
+ # If it contains results you don't want to keep, you may remove or edit it.
+ #
+ # By default, configure uses ./config.cache as the cache file,
+ # creating it if it does not exist already.  You can give configure
+ # the --cache-file=FILE option to use a different cache file; that is
+ # what configure does when it calls configure scripts in
+ # subdirectories, so they share the cache.
+ # Giving --cache-file=/dev/null disables caching, for debugging configure.
+ # config.status only pays attention to the cache file if you give it the
+ # --recheck option to rerun configure.
+ #
+ ac_cv_3dnow_inline=${ac_cv_3dnow_inline=yes}
+ ac_cv_altivec_inline=${ac_cv_altivec_inline=no}
+ ac_cv_c_altivec=${ac_cv_c_altivec=no}
+ ac_cv_c_attr_align_try=${ac_cv_c_attr_align_try=64}
+ ac_cv_c_attribute_aligned=${ac_cv_c_attribute_aligned=64}
+ ac_cv_c_bigendian=${ac_cv_c_bigendian=no}
+ ac_cv_c_boolean_t_cthreads_h=${ac_cv_c_boolean_t_cthreads_h=no}
+ ac_cv_c_boolean_t_pthread_h=${ac_cv_c_boolean_t_pthread_h=no}
+ ac_cv_c_boolean_t_sys_types_h=${ac_cv_c_boolean_t_sys_types_h=no}
+ ac_cv_c_const=${ac_cv_c_const=yes}
+ ac_cv_c_inline_limit=${ac_cv_c_inline_limit=yes}
+ ac_cv_c_ntohl_sys_param_h=${ac_cv_c_ntohl_sys_param_h=no}
+ ac_cv_func_connect=${ac_cv_func_connect=yes}
+ ac_cv_func_gethostbyname=${ac_cv_func_gethostbyname=yes}
+ ac_cv_func_getopt_long=${ac_cv_func_getopt_long=yes}
+ ac_cv_func_getpagesize=${ac_cv_func_getpagesize=yes}
+ ac_cv_func_gettimeofday=${ac_cv_func_gettimeofday=yes}
+ ac_cv_func_inet_aton=${ac_cv_func_inet_aton=yes}
+ ac_cv_func_memalign=${ac_cv_func_memalign=yes}
+ ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes}
+ ac_cv_func_nanosleep=${ac_cv_func_nanosleep=yes}
+ ac_cv_func_putenv=${ac_cv_func_putenv=yes}
+ ac_cv_func_select=${ac_cv_func_select=yes}
+ ac_cv_func_setenv=${ac_cv_func_setenv=yes}
+ ac_cv_func_sigrelse=${ac_cv_func_sigrelse=yes}
+ ac_cv_func_strerror=${ac_cv_func_strerror=yes}
+ ac_cv_func_strtod=${ac_cv_func_strtod=yes}
+ ac_cv_func_strtol=${ac_cv_func_strtol=yes}
+ ac_cv_func_swab=${ac_cv_func_swab=yes}
+ ac_cv_func_usleep=${ac_cv_func_usleep=yes}
+ ac_cv_func_valloc=${ac_cv_func_valloc=yes}
+ ac_cv_func_vasprintf=${ac_cv_func_vasprintf=yes}
+ ac_cv_gtk_headers=${ac_cv_gtk_headers=yes}
+ ac_cv_header_Cocoa_Cocoa_h=${ac_cv_header_Cocoa_Cocoa_h=no}
+ ac_cv_header_Ph_h=${ac_cv_header_Ph_h=no}
+ ac_cv_header_SDL_SDL_h=${ac_cv_header_SDL_SDL_h=yes}
+ ac_cv_header_X11_Xlib_h=${ac_cv_header_X11_Xlib_h=yes}
+ ac_cv_header_X11_extensions_Xv_h=${ac_cv_header_X11_extensions_Xv_h=yes}
+ ac_cv_header__sys_dev_scsi_scsi_ioctl_h=${ac_cv_header__sys_dev_scsi_scsi_ioctl_h=no}
+ ac_cv_header_arpa_inet_h=${ac_cv_header_arpa_inet_h=yes}
+ ac_cv_header_cthreads_h=${ac_cv_header_cthreads_h=no}
+ ac_cv_header_dlfcn_h=${ac_cv_header_dlfcn_h=yes}
+ ac_cv_header_dvd_h=${ac_cv_header_dvd_h=no}
+ ac_cv_header_fcntl_h=${ac_cv_header_fcntl_h=yes}
+ ac_cv_header_gdk_gdk_h=${ac_cv_header_gdk_gdk_h=yes}
+ ac_cv_header_getopt_h=${ac_cv_header_getopt_h=yes}
+ ac_cv_header_glib_h=${ac_cv_header_glib_h=yes}
+ ac_cv_header_gtk_gtk_h=${ac_cv_header_gtk_gtk_h=yes}
+ ac_cv_header_image_h=${ac_cv_header_image_h=no}
+ ac_cv_header_kernel_OS_h=${ac_cv_header_kernel_OS_h=no}
+ ac_cv_header_kernel_scheduler_h=${ac_cv_header_kernel_scheduler_h=no}
+ ac_cv_header_linux_cdrom_h=${ac_cv_header_linux_cdrom_h=yes}
+ ac_cv_header_lirc_lirc_client_h=${ac_cv_header_lirc_lirc_client_h=yes}
+ ac_cv_header_machine_param_h=${ac_cv_header_machine_param_h=no}
+ ac_cv_header_machine_soundcard_h=${ac_cv_header_machine_soundcard_h=no}
+ ac_cv_header_net_if_h=${ac_cv_header_net_if_h=yes}
+ ac_cv_header_netinet_in_h=${ac_cv_header_netinet_in_h=yes}
+ ac_cv_header_pthread_h=${ac_cv_header_pthread_h=yes}
+ ac_cv_header_stdc=${ac_cv_header_stdc=yes}
+ ac_cv_header_stddef_h=${ac_cv_header_stddef_h=yes}
+ ac_cv_header_strings_h=${ac_cv_header_strings_h=yes}
+ ac_cv_header_sys_cdio_h=${ac_cv_header_sys_cdio_h=no}
+ ac_cv_header_sys_dvdio_h=${ac_cv_header_sys_dvdio_h=no}
+ ac_cv_header_sys_ioctl_h=${ac_cv_header_sys_ioctl_h=yes}
+ ac_cv_header_sys_scsi_scsi_types_h=${ac_cv_header_sys_scsi_scsi_types_h=no}
+ ac_cv_header_sys_socket_h=${ac_cv_header_sys_socket_h=yes}
+ ac_cv_header_sys_sockio_h=${ac_cv_header_sys_sockio_h=no}
+ ac_cv_header_sys_soundcard_h=${ac_cv_header_sys_soundcard_h=yes}
+ ac_cv_header_sys_time_h=${ac_cv_header_sys_time_h=yes}
+ ac_cv_header_sys_times_h=${ac_cv_header_sys_times_h=yes}
+ ac_cv_header_time=${ac_cv_header_time=yes}
+ ac_cv_header_unistd_h=${ac_cv_header_unistd_h=yes}
+ ac_cv_header_winioctl_h=${ac_cv_header_winioctl_h=no}
+ ac_cv_ld_altivec=${ac_cv_ld_altivec=no}
+ ac_cv_ld_darwin=${ac_cv_ld_darwin=no}
+ ac_cv_ld_plugins=${ac_cv_ld_plugins=yes}
+ ac_cv_ld_soname=${ac_cv_ld_soname='-Wl,-soname -Wl,'}
+ ac_cv_lib_Xv_pic_XvSetPortAttribute=${ac_cv_lib_Xv_pic_XvSetPortAttribute=yes}
+ ac_cv_lib_dl_dlopen=${ac_cv_lib_dl_dlopen=yes}
+ ac_cv_lib_lirc_client_lirc_init=${ac_cv_lib_lirc_client_lirc_init=yes}
+ ac_cv_lib_m_pow=${ac_cv_lib_m_pow=yes}
+ ac_cv_lib_pthread_pthread_attr_init=${ac_cv_lib_pthread_pthread_attr_init=yes}
+ ac_cv_lib_threads_cthread_fork=${ac_cv_lib_threads_cthread_fork=no}
+ ac_cv_mmx_inline=${ac_cv_mmx_inline=yes}
+ ac_cv_mmxext_inline=${ac_cv_mmxext_inline=yes}
+ ac_cv_path_GTK_CONFIG=${ac_cv_path_GTK_CONFIG=/usr/bin/gtk-config}
+ ac_cv_path_SDL11_CONFIG=${ac_cv_path_SDL11_CONFIG=no}
+ ac_cv_path_SDL12_CONFIG=${ac_cv_path_SDL12_CONFIG=no}
+ ac_cv_path_SDL_CONFIG=${ac_cv_path_SDL_CONFIG=/usr/bin/sdl-config}
+ ac_cv_path_install=${ac_cv_path_install='/usr/bin/install -c'}
+ ac_cv_prog_CC=${ac_cv_prog_CC=gcc}
+ ac_cv_prog_CPP=${ac_cv_prog_CPP='gcc -E'}
+ ac_cv_prog_RANLIB=${ac_cv_prog_RANLIB=ranlib}
+ ac_cv_prog_cc_cross=${ac_cv_prog_cc_cross=no}
+ ac_cv_prog_cc_g=${ac_cv_prog_cc_g=yes}
+ ac_cv_prog_cc_works=${ac_cv_prog_cc_works=yes}
+ ac_cv_prog_gcc=${ac_cv_prog_gcc=yes}
+ ac_cv_prog_make_make_set=${ac_cv_prog_make_make_set=yes}
+ ac_cv_sse_inline=${ac_cv_sse_inline=yes}
+ ac_cv_type_signal=${ac_cv_type_signal=void}
+ ac_cv_type_size_t=${ac_cv_type_size_t=yes}
diff --new-file -C2 -r vlc-0.2.92/config.log vlc-0.2.92-lirc/config.log
*** vlc-0.2.92/config.log	Thu Jan  1 01:00:00 1970
--- vlc-0.2.92-lirc/config.log	Sun Feb  3 13:34:31 2002
***************
*** 0 ****
--- 1,109 ----
+ This file contains any messages produced by compilers while
+ running configure, to aid debugging if configure makes a mistake.
+ 
+ configure:663: checking host system type
+ configure:684: checking target system type
+ configure:702: checking build system type
+ configure:751: checking whether make sets ${MAKE}
+ configure:780: checking for gcc
+ configure:893: checking whether the C compiler (gcc  ) works
+ configure:909: gcc -o conftest    conftest.c  1>&5
+ configure:935: checking whether the C compiler (gcc  ) is a cross-compiler
+ configure:940: checking whether we are using GNU C
+ configure:968: checking whether gcc accepts -g
+ configure:1000: checking how to run the C preprocessor
+ configure:1088: checking for ranlib
+ configure:1165: checking for a BSD compatible install
+ configure:1220: checking whether byte ordering is bigendian
+ configure:1371: checking for gettimeofday
+ configure:1371: checking for select
+ configure:1371: checking for strerror
+ configure:1371: checking for strtod
+ configure:1371: checking for strtol
+ configure:1426: checking for setenv
+ configure:1426: checking for putenv
+ configure:1479: checking for connect
+ configure:1569: checking for gethostbyname
+ configure:1659: checking for nanosleep
+ configure:1793: checking for usleep
+ configure:1846: checking for inet_aton
+ configure:1938: checking for vasprintf
+ configure:1993: checking for swab
+ configure:2048: checking for memalign
+ configure:2048: checking for valloc
+ configure:2104: checking for sigrelse
+ configure:2159: checking for getopt_long
+ configure:2259: checking for unistd.h
+ configure:2298: checking for getpagesize
+ configure:2351: checking for working mmap
+ configure:2522: checking return type of signal handlers
+ configure:2563: checking for dlopen in -ldl
+ configure:2603: checking for pow in -lm
+ configure:2650: checking for pthread_attr_init in -lpthread
+ configure:2827: checking for cthread_fork in -lthreads
+ configure:2904: checking for stddef.h
+ configure:2904: checking for getopt.h
+ configure:2904: checking for strings.h
+ configure:2944: checking for sys/sockio.h
+ configure:2944: checking for fcntl.h
+ configure:2944: checking for sys/time.h
+ configure:2944: checking for sys/times.h
+ configure:2984: checking for sys/soundcard.h
+ configure:2984: checking for machine/soundcard.h
+ configure:3024: checking for dlfcn.h
+ configure:3024: checking for image.h
+ configure:3064: checking for arpa/inet.h
+ configure:3064: checking for net/if.h
+ configure:3064: checking for netinet/in.h
+ configure:3064: checking for sys/socket.h
+ configure:3104: checking for machine/param.h
+ configure:3145: checking for cthreads.h
+ configure:3145: checking for pthread.h
+ configure:3145: checking for kernel/scheduler.h
+ configure:3145: checking for kernel/OS.h
+ configure:3183: checking for ntohl in sys/param.h
+ configure:3217: checking if $CC accepts -finline-limit
+ configure:3248: checking if $CC accepts -bundle -undefined error
+ configure:3279: checking if $CC accepts -shared
+ configure:3311: checking for soname setting
+ configure:3375: checking __attribute__ ((aligned ())) support
+ configure:3413: checking for boolean_t in sys/types.h
+ configure:3446: checking for boolean_t in pthread.h
+ configure:3479: checking for boolean_t in cthreads.h
+ configure:3512: checking for working const
+ configure:3587: checking for ANSI C header files
+ configure:3691: checking for size_t
+ configure:3724: checking whether time.h and sys/time.h may both be included
+ configure:3772: checking if $CC groks MMX inline assembly
+ configure:3802: checking if $CC groks MMX EXT inline assembly
+ configure:3832: checking if $CC groks 3D Now! inline assembly
+ configure:3866: checking if $CC groks SSE inline assembly
+ configure:3900: checking if $CC groks Altivec inline assembly
+ configure:3959: checking if $CC groks Altivec C extensions
+ configure:4021: checking if linker needs -framework vecLib
+ configure:4151: checking for winioctl.h
+ configure:4194: checking for sys/ioctl.h
+ configure:4230: checking for sys/cdio.h
+ configure:4230: checking for sys/dvdio.h
+ configure:4230: checking for linux/cdrom.h
+ configure:4230: checking for dvd.h
+ configure:4271: sys/cdio.h: No such file or directory
+ configure:4304: sys/dvdio.h: No such file or directory
+ configure:4356: dvd.h: No such file or directory
+ configure:4377: checking for /sys/dev/scsi/scsi_ioctl.h
+ configure:4427: checking for sys/scsi/scsi_types.h
+ configure:5099: checking for Cocoa/Cocoa.h
+ configure:5153: checking for Ph.h
+ configure:5240: checking for X11/Xlib.h
+ configure:5303: checking for X11/extensions/Xv.h
+ configure:5337: checking for XvSetPortAttribute in -lXv_pic
+ configure:5412: checking for sdl12-config
+ configure:5452: checking for sdl11-config
+ configure:5493: checking for sdl-config
+ configure:5550: checking for SDL/SDL.h
+ configure:5867: checking for gtk-config
+ configure:5913: checking for gtk/gtk.h
+ configure:5913: checking for glib.h
+ configure:5913: checking for gdk/gdk.h
+ configure:5964: checking for lirc_init in -llirc_client
+ configure:6000: checking for lirc/lirc_client.h
diff --new-file -C2 -r vlc-0.2.92/config.status vlc-0.2.92-lirc/config.status
*** vlc-0.2.92/config.status	Thu Jan  1 01:00:00 1970
--- vlc-0.2.92-lirc/config.status	Sun Feb  3 13:34:31 2002
***************
*** 0 ****
--- 1,536 ----
+ #! /bin/sh
+ # Generated automatically by configure.
+ # Run this file to recreate the current configuration.
+ # This directory was configured as follows,
+ # on host hobbes:
+ #
+ # ./configure  --enable-lirc
+ #
+ # Compiler output produced by configure, useful for debugging
+ # configure, is in ./config.log if it exists.
+ 
+ ac_cs_usage="Usage: ./config.status [--recheck] [--version] [--help]"
+ for ac_option
+ do
+   case "$ac_option" in
+   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+     echo "running ${CONFIG_SHELL-/bin/sh} ./configure  --enable-lirc --no-create --no-recursion"
+     exec ${CONFIG_SHELL-/bin/sh} ./configure  --enable-lirc --no-create --no-recursion ;;
+   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
+     echo "./config.status generated by autoconf version 2.13"
+     exit 0 ;;
+   -help | --help | --hel | --he | --h)
+     echo "$ac_cs_usage"; exit 0 ;;
+   *) echo "$ac_cs_usage"; exit 1 ;;
+   esac
+ done
+ 
+ ac_given_srcdir=.
+ ac_given_INSTALL="/usr/bin/install -c"
+ 
+ trap 'rm -fr Makefile.opts include/config.h include/defs.h conftest*; exit 1' 1 2 15
+ 
+ # Protect against being on the right side of a sed subst in config.status.
+ sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\&%]/\\&/g;
+  s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
+ /^[ 	]*VPATH[ 	]*=[^:]*$/d
+ 
+ s%@SHELL@%/bin/sh%g
+ s%@CFLAGS@% -finline-limit-30000%g
+ s%@CPPFLAGS@%%g
+ s%@CXXFLAGS@%%g
+ s%@FFLAGS@%%g
+ s%@DEFS@%-DHAVE_CONFIG_H%g
+ s%@LDFLAGS@%%g
+ s%@LIBS@%%g
+ s%@exec_prefix@%${prefix}%g
+ s%@prefix@%/usr/local%g
+ s%@program_transform_name@%s,x,x,%g
+ s%@bindir@%${exec_prefix}/bin%g
+ s%@sbindir@%${exec_prefix}/sbin%g
+ s%@libexecdir@%${exec_prefix}/libexec%g
+ s%@datadir@%${prefix}/share%g
+ s%@sysconfdir@%${prefix}/etc%g
+ s%@sharedstatedir@%${prefix}/com%g
+ s%@localstatedir@%${prefix}/var%g
+ s%@libdir@%${exec_prefix}/lib%g
+ s%@includedir@%${prefix}/include%g
+ s%@oldincludedir@%/usr/include%g
+ s%@infodir@%${prefix}/info%g
+ s%@mandir@%${prefix}/man%g
+ s%@host@%i686-pc-linux-gnu%g
+ s%@host_alias@%i686-pc-linux-gnu%g
+ s%@host_cpu@%i686%g
+ s%@host_vendor@%pc%g
+ s%@host_os@%linux-gnu%g
+ s%@target@%i686-pc-linux-gnu%g
+ s%@target_alias@%i686-pc-linux-gnu%g
+ s%@target_cpu@%i686%g
+ s%@target_vendor@%pc%g
+ s%@target_os@%linux-gnu%g
+ s%@build@%i686-pc-linux-gnu%g
+ s%@build_alias@%i686-pc-linux-gnu%g
+ s%@build_cpu@%i686%g
+ s%@build_vendor@%pc%g
+ s%@build_os@%linux-gnu%g
+ s%@VLC_VERSION@%0.2.92_2002-02-03%g
+ s%@VLC_CODENAME@%Ourumov%g
+ s%@LIBDVDCSS_VERSION@%1.0.1_2002-02-03%g
+ s%@SET_MAKE@%%g
+ s%@CC@%gcc%g
+ s%@CPP@%gcc -E%g
+ s%@RANLIB@%ranlib%g
+ s%@INSTALL_PROGRAM@%${INSTALL}%g
+ s%@INSTALL_SCRIPT@%${INSTALL_PROGRAM}%g
+ s%@INSTALL_DATA@%${INSTALL} -m 644%g
+ s%@WINDRES@%%g
+ s%@ESD_CONFIG@%%g
+ s%@ARTS_CONFIG@%%g
+ s%@SDL12_CONFIG@%no%g
+ s%@SDL11_CONFIG@%no%g
+ s%@SDL_CONFIG@%/usr/bin/sdl-config%g
+ s%@GNOME_CONFIG@%%g
+ s%@GTK_CONFIG@%/usr/bin/gtk-config%g
+ s%@SYS@%linux%g
+ s%@ARCH@%i686 mmx%g
+ s%@PLUGINS@% ac3_spdif spu_dec dsp x11 xvideo sdl gtk lirc%g
+ s%@BUILTINS@% es ps ts memcpy yuv idct idctclassic motion imdct downmix mpeg_adec lpcm_adec ac3_adec mpeg_vdec  memcpymmx yuvmmx idctmmx motionmmx memcpymmxext idctmmxext motionmmxext memcpy3dn imdct3dn downmix3dn imdctsse downmixsse dvd vcd dummy null rc%g
+ s%@ALIASES@% gvlc%g
+ s%@DEFINE@%%g
+ s%@INCLUDE@%%g
+ s%@DEBUG@%0%g
+ s%@ASM@%%g
+ s%@TRACE@%0%g
+ s%@CPROF@%0%g
+ s%@GPROF@%0%g
+ s%@OPTIMS@%1%g
+ s%@TUNING@%pentiumpro%g
+ s%@RELEASE@%%g
+ s%@MOC@%%g
+ s%@DLL_PATH@%.%g
+ s%@LCFLAGS@%%g
+ s%@PLCFLAGS@% -shared%g
+ s%@SOFLAGS@%-Wl,-soname -Wl,%g
+ s%@LIB@% -ldl -lpthread -llirc_client%g
+ s%@LIB_ALSA@%%g
+ s%@LIB_ALTIVEC@%%g
+ s%@LIB_ARTS@%%g
+ s%@LIB_BEOS@%%g
+ s%@LIB_DARWIN@%%g
+ s%@LIB_DIRECTX@%%g
+ s%@LIB_DVD@% lib/libdvdcss.a %g
+ s%@LIB_DVD_PLUGIN@% ../../lib/libdvdcss.a %g
+ s%@LIB_DVDREAD@%%g
+ s%@LIB_DVDREAD_PLUGIN@%%g
+ s%@LIB_ESD@%%g
+ s%@LIB_GGI@%%g
+ s%@LIB_GLIDE@%%g
+ s%@LIB_GNOME@%%g
+ s%@LIB_GTK@%-L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk  -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm%g
+ s%@LIB_IMDCT@% -lm%g
+ s%@LIB_IMDCT3DN@% -lm%g
+ s%@LIB_IMDCTSSE@% -lm%g
+ s%@LIB_KDE@%%g
+ s%@LIB_LIBDVDCSS@%%g
+ s%@LIB_MACOSX@%%g
+ s%@LIB_MAD@%%g
+ s%@LIB_NCURSES@%%g
+ s%@LIB_QNX@%%g
+ s%@LIB_QT@%%g
+ s%@LIB_RC@%%g
+ s%@LIB_SDL@%-L/usr/lib -lSDL -lpthread -L/usr/X11R6/lib -lXxf86dga_pic -lXxf86vm_pic -lXv_pic%g
+ s%@LIB_TS@%%g
+ s%@LIB_X11@%-L/usr/X11R6/lib -lX11 -lXext%g
+ s%@LIB_XVIDEO@%-L/usr/X11R6/lib -lX11 -lXext -lXv_pic%g
+ s%@LIB_YUV@% -lm%g
+ s%@CFLAGS_VLC@%%g
+ s%@CFLAGS_ALTIVEC@%%g
+ s%@CFLAGS_DVD@% -I../../extras/libdvdcss%g
+ s%@CFLAGS_DVDREAD@%%g
+ s%@CFLAGS_LIBDVDCSS@%%g
+ s%@CFLAGS_ARTS@%%g
+ s%@CFLAGS_ESD@%%g
+ s%@CFLAGS_GTK@%-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include%g
+ s%@CFLAGS_MAD@%%g
+ s%@CFLAGS_SDL@%-I/usr/include/SDL -D_REENTRANT%g
+ s%@CFLAGS_X11@%-I/usr/X11R6/include%g
+ s%@OBJ_DVD@%%g
+ s%@OBJ_LIBDVDCSS@%%g
+ s%@NEED_GETOPT@%0%g
+ s%@NEED_LIBDVDCSS@%1%g
+ 
+ CEOF
+ 
+ # 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_cmds=90 # Maximum number of lines to put in a sed script.
+ ac_file=1 # Number of current file.
+ ac_beg=1 # First line for current file.
+ ac_end=$ac_max_sed_cmds # 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" conftest.subs > conftest.s$ac_file
+   else
+     sed "${ac_end}q" conftest.subs > conftest.s$ac_file
+   fi
+   if test ! -s conftest.s$ac_file; then
+     ac_more_lines=false
+     rm -f conftest.s$ac_file
+   else
+     if test -z "$ac_sed_cmds"; then
+       ac_sed_cmds="sed -f conftest.s$ac_file"
+     else
+       ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
+     fi
+     ac_file=`expr $ac_file + 1`
+     ac_beg=$ac_end
+     ac_end=`expr $ac_end + $ac_max_sed_cmds`
+   fi
+ done
+ if test -z "$ac_sed_cmds"; then
+   ac_sed_cmds=cat
+ fi
+ 
+ CONFIG_FILES=${CONFIG_FILES-"Makefile.opts include/config.h"}
+ for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
+   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
+   case "$ac_file" in
+   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
+        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
+   *) ac_file_in="${ac_file}.in" ;;
+   esac
+ 
+   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
+ 
+   # Remove last slash and all that follows it.  Not all systems have dirname.
+   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
+   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
+     # The file is in a subdirectory.
+     test ! -d "$ac_dir" && mkdir "$ac_dir"
+     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
+     # A "../" for each directory in $ac_dir_suffix.
+     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
+   else
+     ac_dir_suffix= ac_dots=
+   fi
+ 
+   case "$ac_given_srcdir" in
+   .)  srcdir=.
+       if test -z "$ac_dots"; then top_srcdir=.
+       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
+   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
+   *) # Relative path.
+     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
+     top_srcdir="$ac_dots$ac_given_srcdir" ;;
+   esac
+ 
+   case "$ac_given_INSTALL" in
+   [/$]*) INSTALL="$ac_given_INSTALL" ;;
+   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
+   esac
+ 
+   echo creating "$ac_file"
+   rm -f "$ac_file"
+   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
+   case "$ac_file" in
+   *Makefile*) ac_comsub="1i\\
+ # $configure_input" ;;
+   *) ac_comsub= ;;
+   esac
+ 
+   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
+   sed -e "$ac_comsub
+ s%@configure_input@%$configure_input%g
+ s%@srcdir@%$srcdir%g
+ s%@top_srcdir@%$top_srcdir%g
+ s%@INSTALL@%$INSTALL%g
+ " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
+ fi; done
+ rm -f conftest.s*
+ 
+ # 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='\3'
+ ac_dD='%g'
+ # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
+ ac_uA='s%^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
+ ac_uB='\([ 	]\)%\1#\2define\3'
+ ac_uC=' '
+ ac_uD='\4%g'
+ # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
+ ac_eA='s%^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
+ ac_eB='$%\1#\2define\3'
+ ac_eC=' '
+ ac_eD='%g'
+ 
+ if test "${CONFIG_HEADERS+set}" != set; then
+   CONFIG_HEADERS="include/defs.h"
+ fi
+ for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
+   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
+   case "$ac_file" in
+   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
+        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
+   *) ac_file_in="${ac_file}.in" ;;
+   esac
+ 
+   echo creating $ac_file
+ 
+   rm -f conftest.frag conftest.in conftest.out
+   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
+   cat $ac_file_inputs > conftest.in
+ 
+   cat > conftest.frag <<CEOF
+ ${ac_dA}HAVE_GETTIMEOFDAY${ac_dB}HAVE_GETTIMEOFDAY${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_GETTIMEOFDAY${ac_uB}HAVE_GETTIMEOFDAY${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_GETTIMEOFDAY${ac_eB}HAVE_GETTIMEOFDAY${ac_eC}1${ac_eD}
+ ${ac_dA}HAVE_SELECT${ac_dB}HAVE_SELECT${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_SELECT${ac_uB}HAVE_SELECT${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_SELECT${ac_eB}HAVE_SELECT${ac_eC}1${ac_eD}
+ ${ac_dA}HAVE_STRERROR${ac_dB}HAVE_STRERROR${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_STRERROR${ac_uB}HAVE_STRERROR${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_STRERROR${ac_eB}HAVE_STRERROR${ac_eC}1${ac_eD}
+ ${ac_dA}HAVE_STRTOD${ac_dB}HAVE_STRTOD${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_STRTOD${ac_uB}HAVE_STRTOD${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_STRTOD${ac_eB}HAVE_STRTOD${ac_eC}1${ac_eD}
+ CEOF
+   sed -f conftest.frag conftest.in > conftest.out
+   rm -f conftest.in
+   mv conftest.out conftest.in
+ 
+   cat > conftest.frag <<CEOF
+ ${ac_dA}HAVE_STRTOL${ac_dB}HAVE_STRTOL${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_STRTOL${ac_uB}HAVE_STRTOL${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_STRTOL${ac_eB}HAVE_STRTOL${ac_eC}1${ac_eD}
+ ${ac_dA}HAVE_SETENV${ac_dB}HAVE_SETENV${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_SETENV${ac_uB}HAVE_SETENV${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_SETENV${ac_eB}HAVE_SETENV${ac_eC}1${ac_eD}
+ ${ac_dA}HAVE_PUTENV${ac_dB}HAVE_PUTENV${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_PUTENV${ac_uB}HAVE_PUTENV${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_PUTENV${ac_eB}HAVE_PUTENV${ac_eC}1${ac_eD}
+ ${ac_dA}HAVE_USLEEP${ac_dB}HAVE_USLEEP${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_USLEEP${ac_uB}HAVE_USLEEP${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_USLEEP${ac_eB}HAVE_USLEEP${ac_eC}1${ac_eD}
+ CEOF
+   sed -f conftest.frag conftest.in > conftest.out
+   rm -f conftest.in
+   mv conftest.out conftest.in
+ 
+   cat > conftest.frag <<CEOF
+ ${ac_dA}HAVE_VASPRINTF${ac_dB}HAVE_VASPRINTF${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_VASPRINTF${ac_uB}HAVE_VASPRINTF${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_VASPRINTF${ac_eB}HAVE_VASPRINTF${ac_eC}1${ac_eD}
+ ${ac_dA}HAVE_SWAB${ac_dB}HAVE_SWAB${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_SWAB${ac_uB}HAVE_SWAB${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_SWAB${ac_eB}HAVE_SWAB${ac_eC}1${ac_eD}
+ ${ac_dA}HAVE_MEMALIGN${ac_dB}HAVE_MEMALIGN${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_MEMALIGN${ac_uB}HAVE_MEMALIGN${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_MEMALIGN${ac_eB}HAVE_MEMALIGN${ac_eC}1${ac_eD}
+ ${ac_dA}HAVE_VALLOC${ac_dB}HAVE_VALLOC${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_VALLOC${ac_uB}HAVE_VALLOC${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_VALLOC${ac_eB}HAVE_VALLOC${ac_eC}1${ac_eD}
+ CEOF
+   sed -f conftest.frag conftest.in > conftest.out
+   rm -f conftest.in
+   mv conftest.out conftest.in
+ 
+   cat > conftest.frag <<CEOF
+ ${ac_dA}HAVE_SIGRELSE${ac_dB}HAVE_SIGRELSE${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_SIGRELSE${ac_uB}HAVE_SIGRELSE${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_SIGRELSE${ac_eB}HAVE_SIGRELSE${ac_eC}1${ac_eD}
+ ${ac_dA}HAVE_GETOPT_LONG${ac_dB}HAVE_GETOPT_LONG${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_GETOPT_LONG${ac_uB}HAVE_GETOPT_LONG${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_GETOPT_LONG${ac_eB}HAVE_GETOPT_LONG${ac_eC}1${ac_eD}
+ ${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_UNISTD_H${ac_eB}HAVE_UNISTD_H${ac_eC}1${ac_eD}
+ ${ac_dA}HAVE_GETPAGESIZE${ac_dB}HAVE_GETPAGESIZE${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_GETPAGESIZE${ac_uB}HAVE_GETPAGESIZE${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_GETPAGESIZE${ac_eB}HAVE_GETPAGESIZE${ac_eC}1${ac_eD}
+ CEOF
+   sed -f conftest.frag conftest.in > conftest.out
+   rm -f conftest.in
+   mv conftest.out conftest.in
+ 
+   cat > conftest.frag <<CEOF
+ ${ac_dA}HAVE_MMAP${ac_dB}HAVE_MMAP${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_MMAP${ac_uB}HAVE_MMAP${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_MMAP${ac_eB}HAVE_MMAP${ac_eC}1${ac_eD}
+ ${ac_dA}RETSIGTYPE${ac_dB}RETSIGTYPE${ac_dC}void${ac_dD}
+ ${ac_uA}RETSIGTYPE${ac_uB}RETSIGTYPE${ac_uC}void${ac_uD}
+ ${ac_eA}RETSIGTYPE${ac_eB}RETSIGTYPE${ac_eC}void${ac_eD}
+ ${ac_dA}PTHREAD_COND_T_IN_PTHREAD_H${ac_dB}PTHREAD_COND_T_IN_PTHREAD_H${ac_dC}1${ac_dD}
+ ${ac_uA}PTHREAD_COND_T_IN_PTHREAD_H${ac_uB}PTHREAD_COND_T_IN_PTHREAD_H${ac_uC}1${ac_uD}
+ ${ac_eA}PTHREAD_COND_T_IN_PTHREAD_H${ac_eB}PTHREAD_COND_T_IN_PTHREAD_H${ac_eC}1${ac_eD}
+ ${ac_dA}STRNCASECMP_IN_STRINGS_H${ac_dB}STRNCASECMP_IN_STRINGS_H${ac_dC}1${ac_dD}
+ ${ac_uA}STRNCASECMP_IN_STRINGS_H${ac_uB}STRNCASECMP_IN_STRINGS_H${ac_uC}1${ac_uD}
+ ${ac_eA}STRNCASECMP_IN_STRINGS_H${ac_eB}STRNCASECMP_IN_STRINGS_H${ac_eC}1${ac_eD}
+ CEOF
+   sed -f conftest.frag conftest.in > conftest.out
+   rm -f conftest.in
+   mv conftest.out conftest.in
+ 
+   cat > conftest.frag <<CEOF
+ ${ac_dA}HAVE_STDDEF_H${ac_dB}HAVE_STDDEF_H${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_STDDEF_H${ac_uB}HAVE_STDDEF_H${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_STDDEF_H${ac_eB}HAVE_STDDEF_H${ac_eC}1${ac_eD}
+ ${ac_dA}HAVE_GETOPT_H${ac_dB}HAVE_GETOPT_H${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_GETOPT_H${ac_uB}HAVE_GETOPT_H${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_GETOPT_H${ac_eB}HAVE_GETOPT_H${ac_eC}1${ac_eD}
+ ${ac_dA}HAVE_STRINGS_H${ac_dB}HAVE_STRINGS_H${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_STRINGS_H${ac_uB}HAVE_STRINGS_H${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_STRINGS_H${ac_eB}HAVE_STRINGS_H${ac_eC}1${ac_eD}
+ ${ac_dA}HAVE_FCNTL_H${ac_dB}HAVE_FCNTL_H${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_FCNTL_H${ac_uB}HAVE_FCNTL_H${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_FCNTL_H${ac_eB}HAVE_FCNTL_H${ac_eC}1${ac_eD}
+ CEOF
+   sed -f conftest.frag conftest.in > conftest.out
+   rm -f conftest.in
+   mv conftest.out conftest.in
+ 
+   cat > conftest.frag <<CEOF
+ ${ac_dA}HAVE_SYS_TIME_H${ac_dB}HAVE_SYS_TIME_H${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_SYS_TIME_H${ac_uB}HAVE_SYS_TIME_H${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_SYS_TIME_H${ac_eB}HAVE_SYS_TIME_H${ac_eC}1${ac_eD}
+ ${ac_dA}HAVE_SYS_TIMES_H${ac_dB}HAVE_SYS_TIMES_H${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_SYS_TIMES_H${ac_uB}HAVE_SYS_TIMES_H${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_SYS_TIMES_H${ac_eB}HAVE_SYS_TIMES_H${ac_eC}1${ac_eD}
+ ${ac_dA}HAVE_SYS_SOUNDCARD_H${ac_dB}HAVE_SYS_SOUNDCARD_H${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_SYS_SOUNDCARD_H${ac_uB}HAVE_SYS_SOUNDCARD_H${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_SYS_SOUNDCARD_H${ac_eB}HAVE_SYS_SOUNDCARD_H${ac_eC}1${ac_eD}
+ ${ac_dA}HAVE_DLFCN_H${ac_dB}HAVE_DLFCN_H${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_DLFCN_H${ac_uB}HAVE_DLFCN_H${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_DLFCN_H${ac_eB}HAVE_DLFCN_H${ac_eC}1${ac_eD}
+ CEOF
+   sed -f conftest.frag conftest.in > conftest.out
+   rm -f conftest.in
+   mv conftest.out conftest.in
+ 
+   cat > conftest.frag <<CEOF
+ ${ac_dA}HAVE_ARPA_INET_H${ac_dB}HAVE_ARPA_INET_H${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_ARPA_INET_H${ac_uB}HAVE_ARPA_INET_H${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_ARPA_INET_H${ac_eB}HAVE_ARPA_INET_H${ac_eC}1${ac_eD}
+ ${ac_dA}HAVE_NET_IF_H${ac_dB}HAVE_NET_IF_H${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_NET_IF_H${ac_uB}HAVE_NET_IF_H${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_NET_IF_H${ac_eB}HAVE_NET_IF_H${ac_eC}1${ac_eD}
+ ${ac_dA}HAVE_NETINET_IN_H${ac_dB}HAVE_NETINET_IN_H${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_NETINET_IN_H${ac_uB}HAVE_NETINET_IN_H${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_NETINET_IN_H${ac_eB}HAVE_NETINET_IN_H${ac_eC}1${ac_eD}
+ ${ac_dA}HAVE_SYS_SOCKET_H${ac_dB}HAVE_SYS_SOCKET_H${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_SYS_SOCKET_H${ac_uB}HAVE_SYS_SOCKET_H${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_SYS_SOCKET_H${ac_eB}HAVE_SYS_SOCKET_H${ac_eC}1${ac_eD}
+ CEOF
+   sed -f conftest.frag conftest.in > conftest.out
+   rm -f conftest.in
+   mv conftest.out conftest.in
+ 
+   cat > conftest.frag <<CEOF
+ ${ac_dA}HAVE_PTHREAD_H${ac_dB}HAVE_PTHREAD_H${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_PTHREAD_H${ac_uB}HAVE_PTHREAD_H${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_PTHREAD_H${ac_eB}HAVE_PTHREAD_H${ac_eC}1${ac_eD}
+ ${ac_dA}ATTRIBUTE_ALIGNED_MAX${ac_dB}ATTRIBUTE_ALIGNED_MAX${ac_dC}64${ac_dD}
+ ${ac_uA}ATTRIBUTE_ALIGNED_MAX${ac_uB}ATTRIBUTE_ALIGNED_MAX${ac_uC}64${ac_uD}
+ ${ac_eA}ATTRIBUTE_ALIGNED_MAX${ac_eB}ATTRIBUTE_ALIGNED_MAX${ac_eC}64${ac_eD}
+ ${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD}
+ ${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD}
+ ${ac_eA}STDC_HEADERS${ac_eB}STDC_HEADERS${ac_eC}1${ac_eD}
+ ${ac_dA}TIME_WITH_SYS_TIME${ac_dB}TIME_WITH_SYS_TIME${ac_dC}1${ac_dD}
+ ${ac_uA}TIME_WITH_SYS_TIME${ac_uB}TIME_WITH_SYS_TIME${ac_uC}1${ac_uD}
+ ${ac_eA}TIME_WITH_SYS_TIME${ac_eB}TIME_WITH_SYS_TIME${ac_eC}1${ac_eD}
+ CEOF
+   sed -f conftest.frag conftest.in > conftest.out
+   rm -f conftest.in
+   mv conftest.out conftest.in
+ 
+   cat > conftest.frag <<CEOF
+ ${ac_dA}CAN_COMPILE_3DNOW${ac_dB}CAN_COMPILE_3DNOW${ac_dC}1${ac_dD}
+ ${ac_uA}CAN_COMPILE_3DNOW${ac_uB}CAN_COMPILE_3DNOW${ac_uC}1${ac_uD}
+ ${ac_eA}CAN_COMPILE_3DNOW${ac_eB}CAN_COMPILE_3DNOW${ac_eC}1${ac_eD}
+ ${ac_dA}CAN_COMPILE_SSE${ac_dB}CAN_COMPILE_SSE${ac_dC}1${ac_dD}
+ ${ac_uA}CAN_COMPILE_SSE${ac_uB}CAN_COMPILE_SSE${ac_uC}1${ac_uD}
+ ${ac_eA}CAN_COMPILE_SSE${ac_eB}CAN_COMPILE_SSE${ac_eC}1${ac_eD}
+ ${ac_dA}HAVE_SYS_IOCTL_H${ac_dB}HAVE_SYS_IOCTL_H${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_SYS_IOCTL_H${ac_uB}HAVE_SYS_IOCTL_H${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_SYS_IOCTL_H${ac_eB}HAVE_SYS_IOCTL_H${ac_eC}1${ac_eD}
+ ${ac_dA}HAVE_LINUX_CDROM_H${ac_dB}HAVE_LINUX_CDROM_H${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_LINUX_CDROM_H${ac_uB}HAVE_LINUX_CDROM_H${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_LINUX_CDROM_H${ac_eB}HAVE_LINUX_CDROM_H${ac_eC}1${ac_eD}
+ CEOF
+   sed -f conftest.frag conftest.in > conftest.out
+   rm -f conftest.in
+   mv conftest.out conftest.in
+ 
+   cat > conftest.frag <<CEOF
+ ${ac_dA}DVD_STRUCT_IN_LINUX_CDROM_H${ac_dB}DVD_STRUCT_IN_LINUX_CDROM_H${ac_dC}1${ac_dD}
+ ${ac_uA}DVD_STRUCT_IN_LINUX_CDROM_H${ac_uB}DVD_STRUCT_IN_LINUX_CDROM_H${ac_uC}1${ac_uD}
+ ${ac_eA}DVD_STRUCT_IN_LINUX_CDROM_H${ac_eB}DVD_STRUCT_IN_LINUX_CDROM_H${ac_eC}1${ac_eD}
+ ${ac_dA}HAVE_LINUX_DVD_STRUCT${ac_dB}HAVE_LINUX_DVD_STRUCT${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_LINUX_DVD_STRUCT${ac_uB}HAVE_LINUX_DVD_STRUCT${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_LINUX_DVD_STRUCT${ac_eB}HAVE_LINUX_DVD_STRUCT${ac_eC}1${ac_eD}
+ ${ac_dA}HAVE_X11_XLIB_H${ac_dB}HAVE_X11_XLIB_H${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_X11_XLIB_H${ac_uB}HAVE_X11_XLIB_H${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_X11_XLIB_H${ac_eB}HAVE_X11_XLIB_H${ac_eC}1${ac_eD}
+ ${ac_dA}HAVE_X11_EXTENSIONS_XV_H${ac_dB}HAVE_X11_EXTENSIONS_XV_H${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_X11_EXTENSIONS_XV_H${ac_uB}HAVE_X11_EXTENSIONS_XV_H${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_X11_EXTENSIONS_XV_H${ac_eB}HAVE_X11_EXTENSIONS_XV_H${ac_eC}1${ac_eD}
+ CEOF
+   sed -f conftest.frag conftest.in > conftest.out
+   rm -f conftest.in
+   mv conftest.out conftest.in
+ 
+   cat > conftest.frag <<CEOF
+ ${ac_dA}HAVE_SDL_SDL_H${ac_dB}HAVE_SDL_SDL_H${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_SDL_SDL_H${ac_uB}HAVE_SDL_SDL_H${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_SDL_SDL_H${ac_eB}HAVE_SDL_SDL_H${ac_eC}1${ac_eD}
+ ${ac_dA}SDL_INCLUDE_FILE${ac_dB}SDL_INCLUDE_FILE${ac_dC}<SDL/SDL.h>${ac_dD}
+ ${ac_uA}SDL_INCLUDE_FILE${ac_uB}SDL_INCLUDE_FILE${ac_uC}<SDL/SDL.h>${ac_uD}
+ ${ac_eA}SDL_INCLUDE_FILE${ac_eB}SDL_INCLUDE_FILE${ac_eC}<SDL/SDL.h>${ac_eD}
+ ${ac_dA}HAVE_GTK_GTK_H${ac_dB}HAVE_GTK_GTK_H${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_GTK_GTK_H${ac_uB}HAVE_GTK_GTK_H${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_GTK_GTK_H${ac_eB}HAVE_GTK_GTK_H${ac_eC}1${ac_eD}
+ ${ac_dA}HAVE_GLIB_H${ac_dB}HAVE_GLIB_H${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_GLIB_H${ac_uB}HAVE_GLIB_H${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_GLIB_H${ac_eB}HAVE_GLIB_H${ac_eC}1${ac_eD}
+ CEOF
+   sed -f conftest.frag conftest.in > conftest.out
+   rm -f conftest.in
+   mv conftest.out conftest.in
+ 
+   cat > conftest.frag <<CEOF
+ ${ac_dA}HAVE_GDK_GDK_H${ac_dB}HAVE_GDK_GDK_H${ac_dC}1${ac_dD}
+ ${ac_uA}HAVE_GDK_GDK_H${ac_uB}HAVE_GDK_GDK_H${ac_uC}1${ac_uD}
+ ${ac_eA}HAVE_GDK_GDK_H${ac_eB}HAVE_GDK_GDK_H${ac_eC}1${ac_eD}
+ s%^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
+ CEOF
+   sed -f conftest.frag conftest.in > conftest.out
+   rm -f conftest.in
+   mv conftest.out conftest.in
+ 
+   rm -f conftest.frag conftest.h
+   echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
+   cat conftest.in >> conftest.h
+   rm -f conftest.in
+   if cmp -s $ac_file conftest.h 2>/dev/null; then
+     echo "$ac_file is unchanged"
+     rm -f conftest.h
+   else
+     # Remove last slash and all that follows it.  Not all systems have dirname.
+       ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
+       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
+       # The file is in a subdirectory.
+       test ! -d "$ac_dir" && mkdir "$ac_dir"
+     fi
+     rm -f $ac_file
+     mv conftest.h $ac_file
+   fi
+ fi; done
+ 
+ 
+ 
+ exit 0
diff --new-file -C2 -r vlc-0.2.92/configure vlc-0.2.92-lirc/configure
*** vlc-0.2.92/configure	Mon Dec 31 19:35:02 2001
--- vlc-0.2.92-lirc/configure	Sun Feb  3 13:33:49 2002
***************
*** 93,96 ****
--- 93,98 ----
    --with-gtk-config-path=path gtk-config path (default search in \$PATH)"
  ac_help="$ac_help
+   --disable-lirc		lirc support (default enable)"
+ ac_help="$ac_help
    --enable-alsa           Alsa sound drivers support (Only for linux)
                            (default disabled)"
***************
*** 658,662 ****
  
  echo $ac_n "checking host system type""... $ac_c" 1>&6
! echo "configure:661: checking host system type" >&5
  
  host_alias=$host
--- 660,664 ----
  
  echo $ac_n "checking host system type""... $ac_c" 1>&6
! echo "configure:663: checking host system type" >&5
  
  host_alias=$host
***************
*** 679,683 ****
  
  echo $ac_n "checking target system type""... $ac_c" 1>&6
! echo "configure:682: checking target system type" >&5
  
  target_alias=$target
--- 681,685 ----
  
  echo $ac_n "checking target system type""... $ac_c" 1>&6
! echo "configure:684: checking target system type" >&5
  
  target_alias=$target
***************
*** 697,701 ****
  
  echo $ac_n "checking build system type""... $ac_c" 1>&6
! echo "configure:700: checking build system type" >&5
  
  build_alias=$build
--- 699,703 ----
  
  echo $ac_n "checking build system type""... $ac_c" 1>&6
! echo "configure:702: checking build system type" >&5
  
  build_alias=$build
***************
*** 746,750 ****
  
  echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
! echo "configure:749: checking whether ${MAKE-make} sets \${MAKE}" >&5
  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
--- 748,752 ----
  
  echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
! echo "configure:751: checking whether ${MAKE-make} sets \${MAKE}" >&5
  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
***************
*** 775,779 ****
  set dummy gcc; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:778: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 777,781 ----
  set dummy gcc; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:780: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 805,809 ****
  set dummy cc; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:808: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 807,811 ----
  set dummy cc; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:810: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 856,860 ****
  set dummy cl; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:859: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 858,862 ----
  set dummy cl; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:861: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 888,892 ****
  
  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
! echo "configure:891: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
  
  ac_ext=c
--- 890,894 ----
  
  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
! echo "configure:893: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
  
  ac_ext=c
***************
*** 899,908 ****
  cat > conftest.$ac_ext << EOF
  
! #line 902 "configure"
  #include "confdefs.h"
  
  main(){return(0);}
  EOF
! if { (eval echo configure:907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    ac_cv_prog_cc_works=yes
    # If we can't run a trivial program, we are probably using a cross compiler.
--- 901,910 ----
  cat > conftest.$ac_ext << EOF
  
! #line 904 "configure"
  #include "confdefs.h"
  
  main(){return(0);}
  EOF
! if { (eval echo configure:909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    ac_cv_prog_cc_works=yes
    # If we can't run a trivial program, we are probably using a cross compiler.
***************
*** 930,939 ****
  fi
  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
! echo "configure:933: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
  cross_compiling=$ac_cv_prog_cc_cross
  
  echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
! echo "configure:938: checking whether we are using GNU C" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 932,941 ----
  fi
  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
! echo "configure:935: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
  cross_compiling=$ac_cv_prog_cc_cross
  
  echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
! echo "configure:940: checking whether we are using GNU C" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 944,948 ****
  #endif
  EOF
! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    ac_cv_prog_gcc=yes
  else
--- 946,950 ----
  #endif
  EOF
! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:949: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    ac_cv_prog_gcc=yes
  else
***************
*** 963,967 ****
  CFLAGS=
  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
! echo "configure:966: checking whether ${CC-cc} accepts -g" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 965,969 ----
  CFLAGS=
  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
! echo "configure:968: checking whether ${CC-cc} accepts -g" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 995,999 ****
  
  echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
! echo "configure:998: checking how to run the C preprocessor" >&5
  # On Suns, sometimes $CPP names a directory.
  if test -n "$CPP" && test -d "$CPP"; then
--- 997,1001 ----
  
  echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
! echo "configure:1000: checking how to run the C preprocessor" >&5
  # On Suns, sometimes $CPP names a directory.
  if test -n "$CPP" && test -d "$CPP"; then
***************
*** 1010,1014 ****
    # not just through cpp.
    cat > conftest.$ac_ext <<EOF
! #line 1013 "configure"
  #include "confdefs.h"
  #include <assert.h>
--- 1012,1016 ----
    # not just through cpp.
    cat > conftest.$ac_ext <<EOF
! #line 1015 "configure"
  #include "confdefs.h"
  #include <assert.h>
***************
*** 1016,1020 ****
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:1019: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
--- 1018,1022 ----
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:1021: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
***************
*** 1027,1031 ****
    CPP="${CC-cc} -E -traditional-cpp"
    cat > conftest.$ac_ext <<EOF
! #line 1030 "configure"
  #include "confdefs.h"
  #include <assert.h>
--- 1029,1033 ----
    CPP="${CC-cc} -E -traditional-cpp"
    cat > conftest.$ac_ext <<EOF
! #line 1032 "configure"
  #include "confdefs.h"
  #include <assert.h>
***************
*** 1033,1037 ****
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:1036: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
--- 1035,1039 ----
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:1038: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
***************
*** 1044,1048 ****
    CPP="${CC-cc} -nologo -E"
    cat > conftest.$ac_ext <<EOF
! #line 1047 "configure"
  #include "confdefs.h"
  #include <assert.h>
--- 1046,1050 ----
    CPP="${CC-cc} -nologo -E"
    cat > conftest.$ac_ext <<EOF
! #line 1049 "configure"
  #include "confdefs.h"
  #include <assert.h>
***************
*** 1050,1054 ****
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:1053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
--- 1052,1056 ----
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:1055: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
***************
*** 1083,1087 ****
  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1086: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 1085,1089 ----
  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1088: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 1115,1119 ****
  set dummy ranlib; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1118: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 1117,1121 ----
  set dummy ranlib; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1120: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 1160,1164 ****
  # ./install, which can be erroneously created by make from ./install.sh.
  echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
! echo "configure:1163: checking for a BSD compatible install" >&5
  if test -z "$INSTALL"; then
  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
--- 1162,1166 ----
  # ./install, which can be erroneously created by make from ./install.sh.
  echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
! echo "configure:1165: checking for a BSD compatible install" >&5
  if test -z "$INSTALL"; then
  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
***************
*** 1215,1219 ****
  if test x${cross_compiling} != xyes; then
    echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
! echo "configure:1218: checking whether byte ordering is bigendian" >&5
  if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 1217,1221 ----
  if test x${cross_compiling} != xyes; then
    echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
! echo "configure:1220: checking whether byte ordering is bigendian" >&5
  if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 1222,1226 ****
  # See if sys/param.h defines the BYTE_ORDER macro.
  cat > conftest.$ac_ext <<EOF
! #line 1225 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
--- 1224,1228 ----
  # See if sys/param.h defines the BYTE_ORDER macro.
  cat > conftest.$ac_ext <<EOF
! #line 1227 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
***************
*** 1233,1241 ****
  ; return 0; }
  EOF
! if { (eval echo configure:1236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    # It does; now see whether it defined to BIG_ENDIAN or not.
  cat > conftest.$ac_ext <<EOF
! #line 1240 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
--- 1235,1243 ----
  ; return 0; }
  EOF
! if { (eval echo configure:1238: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    # It does; now see whether it defined to BIG_ENDIAN or not.
  cat > conftest.$ac_ext <<EOF
! #line 1242 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
***************
*** 1248,1252 ****
  ; return 0; }
  EOF
! if { (eval echo configure:1251: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_c_bigendian=yes
--- 1250,1254 ----
  ; return 0; }
  EOF
! if { (eval echo configure:1253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_c_bigendian=yes
***************
*** 1268,1272 ****
  else
    cat > conftest.$ac_ext <<EOF
! #line 1271 "configure"
  #include "confdefs.h"
  main () {
--- 1270,1274 ----
  else
    cat > conftest.$ac_ext <<EOF
! #line 1273 "configure"
  #include "confdefs.h"
  main () {
***************
*** 1281,1285 ****
  }
  EOF
! if { (eval echo configure:1284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  then
    ac_cv_c_bigendian=no
--- 1283,1287 ----
  }
  EOF
! if { (eval echo configure:1286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  then
    ac_cv_c_bigendian=no
***************
*** 1321,1325 ****
                    ac_cv_c_bigendian=unknown
        echo $ac_n "checking what the byte order looks to be""... $ac_c" 1>&6
! echo "configure:1324: checking what the byte order looks to be" >&5
          cat >conftest.c <<EOF
          short am[] = { 0x4249, 0x4765, 0x6e44, 0x6961, 0x6e53, 0x7953, 0 };
--- 1323,1327 ----
                    ac_cv_c_bigendian=unknown
        echo $ac_n "checking what the byte order looks to be""... $ac_c" 1>&6
! echo "configure:1326: checking what the byte order looks to be" >&5
          cat >conftest.c <<EOF
          short am[] = { 0x4249, 0x4765, 0x6e44, 0x6961, 0x6e53, 0x7953, 0 };
***************
*** 1366,1375 ****
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:1369: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 1374 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
--- 1368,1377 ----
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:1371: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 1376 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
***************
*** 1394,1398 ****
  ; return 0; }
  EOF
! if { (eval echo configure:1397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
--- 1396,1400 ----
  ; return 0; }
  EOF
! if { (eval echo configure:1399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
***************
*** 1421,1430 ****
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:1424: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 1429 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
--- 1423,1432 ----
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:1426: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 1431 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
***************
*** 1449,1453 ****
  ; return 0; }
  EOF
! if { (eval echo configure:1452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
--- 1451,1455 ----
  ; return 0; }
  EOF
! if { (eval echo configure:1454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
***************
*** 1474,1483 ****
  
  echo $ac_n "checking for connect""... $ac_c" 1>&6
! echo "configure:1477: checking for connect" >&5
  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 1482 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
--- 1476,1485 ----
  
  echo $ac_n "checking for connect""... $ac_c" 1>&6
! echo "configure:1479: checking for connect" >&5
  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 1484 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
***************
*** 1502,1506 ****
  ; return 0; }
  EOF
! if { (eval echo configure:1505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_connect=yes"
--- 1504,1508 ----
  ; return 0; }
  EOF
! if { (eval echo configure:1507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_connect=yes"
***************
*** 1521,1525 ****
  
    echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
! echo "configure:1524: checking for connect in -lsocket" >&5
  ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
--- 1523,1527 ----
  
    echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
! echo "configure:1526: checking for connect in -lsocket" >&5
  ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
***************
*** 1529,1533 ****
  LIBS="-lsocket  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 1532 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 1531,1535 ----
  LIBS="-lsocket  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 1534 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 1540,1544 ****
  ; return 0; }
  EOF
! if { (eval echo configure:1543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
--- 1542,1546 ----
  ; return 0; }
  EOF
! if { (eval echo configure:1545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
***************
*** 1564,1573 ****
  
  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
! echo "configure:1567: checking for gethostbyname" >&5
  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 1572 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
--- 1566,1575 ----
  
  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
! echo "configure:1569: checking for gethostbyname" >&5
  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 1574 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
***************
*** 1592,1596 ****
  ; return 0; }
  EOF
! if { (eval echo configure:1595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_gethostbyname=yes"
--- 1594,1598 ----
  ; return 0; }
  EOF
! if { (eval echo configure:1597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_gethostbyname=yes"
***************
*** 1611,1615 ****
  
    echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
! echo "configure:1614: checking for gethostbyname in -lnsl" >&5
  ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
--- 1613,1617 ----
  
    echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
! echo "configure:1616: checking for gethostbyname in -lnsl" >&5
  ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
***************
*** 1619,1623 ****
  LIBS="-lnsl  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 1622 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 1621,1625 ----
  LIBS="-lnsl  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 1624 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 1630,1634 ****
  ; return 0; }
  EOF
! if { (eval echo configure:1633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
--- 1632,1636 ----
  ; return 0; }
  EOF
! if { (eval echo configure:1635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
***************
*** 1654,1663 ****
  
  echo $ac_n "checking for nanosleep""... $ac_c" 1>&6
! echo "configure:1657: checking for nanosleep" >&5
  if eval "test \"`echo '$''{'ac_cv_func_nanosleep'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 1662 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
--- 1656,1665 ----
  
  echo $ac_n "checking for nanosleep""... $ac_c" 1>&6
! echo "configure:1659: checking for nanosleep" >&5
  if eval "test \"`echo '$''{'ac_cv_func_nanosleep'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 1664 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
***************
*** 1682,1686 ****
  ; return 0; }
  EOF
! if { (eval echo configure:1685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_nanosleep=yes"
--- 1684,1688 ----
  ; return 0; }
  EOF
! if { (eval echo configure:1687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_nanosleep=yes"
***************
*** 1701,1705 ****
  
    echo $ac_n "checking for nanosleep in -lrt""... $ac_c" 1>&6
! echo "configure:1704: checking for nanosleep in -lrt" >&5
  ac_lib_var=`echo rt'_'nanosleep | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
--- 1703,1707 ----
  
    echo $ac_n "checking for nanosleep in -lrt""... $ac_c" 1>&6
! echo "configure:1706: checking for nanosleep in -lrt" >&5
  ac_lib_var=`echo rt'_'nanosleep | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
***************
*** 1709,1713 ****
  LIBS="-lrt  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 1712 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 1711,1715 ----
  LIBS="-lrt  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 1714 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 1720,1724 ****
  ; return 0; }
  EOF
! if { (eval echo configure:1723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
--- 1722,1726 ----
  ; return 0; }
  EOF
! if { (eval echo configure:1725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
***************
*** 1740,1744 ****
  
      echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
! echo "configure:1743: checking for nanosleep in -lposix4" >&5
  ac_lib_var=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
--- 1742,1746 ----
  
      echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
! echo "configure:1745: checking for nanosleep in -lposix4" >&5
  ac_lib_var=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
***************
*** 1748,1752 ****
  LIBS="-lposix4  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 1751 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 1750,1754 ----
  LIBS="-lposix4  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 1753 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 1759,1763 ****
  ; return 0; }
  EOF
! if { (eval echo configure:1762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
--- 1761,1765 ----
  ; return 0; }
  EOF
! if { (eval echo configure:1764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
***************
*** 1788,1797 ****
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:1791: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 1796 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
--- 1790,1799 ----
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:1793: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 1798 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
***************
*** 1816,1820 ****
  ; return 0; }
  EOF
! if { (eval echo configure:1819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
--- 1818,1822 ----
  ; return 0; }
  EOF
! if { (eval echo configure:1821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
***************
*** 1841,1850 ****
  
  echo $ac_n "checking for inet_aton""... $ac_c" 1>&6
! echo "configure:1844: checking for inet_aton" >&5
  if eval "test \"`echo '$''{'ac_cv_func_inet_aton'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 1849 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
--- 1843,1852 ----
  
  echo $ac_n "checking for inet_aton""... $ac_c" 1>&6
! echo "configure:1846: checking for inet_aton" >&5
  if eval "test \"`echo '$''{'ac_cv_func_inet_aton'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 1851 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
***************
*** 1869,1873 ****
  ; return 0; }
  EOF
! if { (eval echo configure:1872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_inet_aton=yes"
--- 1871,1875 ----
  ; return 0; }
  EOF
! if { (eval echo configure:1874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_inet_aton=yes"
***************
*** 1888,1892 ****
  
    echo $ac_n "checking for inet_aton in -lresolv""... $ac_c" 1>&6
! echo "configure:1891: checking for inet_aton in -lresolv" >&5
  ac_lib_var=`echo resolv'_'inet_aton | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
--- 1890,1894 ----
  
    echo $ac_n "checking for inet_aton in -lresolv""... $ac_c" 1>&6
! echo "configure:1893: checking for inet_aton in -lresolv" >&5
  ac_lib_var=`echo resolv'_'inet_aton | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
***************
*** 1896,1900 ****
  LIBS="-lresolv  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 1899 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 1898,1902 ----
  LIBS="-lresolv  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 1901 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 1907,1911 ****
  ; return 0; }
  EOF
! if { (eval echo configure:1910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
--- 1909,1913 ----
  ; return 0; }
  EOF
! if { (eval echo configure:1912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
***************
*** 1933,1942 ****
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:1936: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 1941 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
--- 1935,1944 ----
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:1938: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 1943 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
***************
*** 1961,1965 ****
  ; return 0; }
  EOF
! if { (eval echo configure:1964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
--- 1963,1967 ----
  ; return 0; }
  EOF
! if { (eval echo configure:1966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
***************
*** 1988,1997 ****
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:1991: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 1996 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
--- 1990,1999 ----
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:1993: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 1998 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
***************
*** 2016,2020 ****
  ; return 0; }
  EOF
! if { (eval echo configure:2019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
--- 2018,2022 ----
  ; return 0; }
  EOF
! if { (eval echo configure:2021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
***************
*** 2043,2052 ****
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:2046: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 2051 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
--- 2045,2054 ----
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:2048: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 2053 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
***************
*** 2071,2075 ****
  ; return 0; }
  EOF
! if { (eval echo configure:2074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
--- 2073,2077 ----
  ; return 0; }
  EOF
! if { (eval echo configure:2076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
***************
*** 2099,2108 ****
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:2102: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 2107 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
--- 2101,2110 ----
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:2104: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 2109 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
***************
*** 2127,2131 ****
  ; return 0; }
  EOF
! if { (eval echo configure:2130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
--- 2129,2133 ----
  ; return 0; }
  EOF
! if { (eval echo configure:2132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
***************
*** 2154,2163 ****
  NEED_GETOPT=0
  echo $ac_n "checking for getopt_long""... $ac_c" 1>&6
! echo "configure:2157: checking for getopt_long" >&5
  if eval "test \"`echo '$''{'ac_cv_func_getopt_long'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 2162 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
--- 2156,2165 ----
  NEED_GETOPT=0
  echo $ac_n "checking for getopt_long""... $ac_c" 1>&6
! echo "configure:2159: checking for getopt_long" >&5
  if eval "test \"`echo '$''{'ac_cv_func_getopt_long'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 2164 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
***************
*** 2182,2186 ****
  ; return 0; }
  EOF
! if { (eval echo configure:2185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_getopt_long=yes"
--- 2184,2188 ----
  ; return 0; }
  EOF
! if { (eval echo configure:2187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_getopt_long=yes"
***************
*** 2204,2208 ****
   # FreeBSD has a gnugetopt library for this:
    echo $ac_n "checking for getopt_long in -lgnugetopt""... $ac_c" 1>&6
! echo "configure:2207: checking for getopt_long in -lgnugetopt" >&5
  ac_lib_var=`echo gnugetopt'_'getopt_long | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
--- 2206,2210 ----
   # FreeBSD has a gnugetopt library for this:
    echo $ac_n "checking for getopt_long in -lgnugetopt""... $ac_c" 1>&6
! echo "configure:2209: checking for getopt_long in -lgnugetopt" >&5
  ac_lib_var=`echo gnugetopt'_'getopt_long | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
***************
*** 2212,2216 ****
  LIBS="-lgnugetopt  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 2215 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 2214,2218 ----
  LIBS="-lgnugetopt  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 2217 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 2223,2227 ****
  ; return 0; }
  EOF
! if { (eval echo configure:2226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
--- 2225,2229 ----
  ; return 0; }
  EOF
! if { (eval echo configure:2228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
***************
*** 2254,2268 ****
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:2257: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 2262 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:2267: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
--- 2256,2270 ----
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:2259: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 2264 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:2269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
***************
*** 2293,2302 ****
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:2296: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 2301 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
--- 2295,2304 ----
  do
  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:2298: checking for $ac_func" >&5
  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 2303 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
***************
*** 2321,2325 ****
  ; return 0; }
  EOF
! if { (eval echo configure:2324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
--- 2323,2327 ----
  ; return 0; }
  EOF
! if { (eval echo configure:2326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
***************
*** 2346,2350 ****
  
  echo $ac_n "checking for working mmap""... $ac_c" 1>&6
! echo "configure:2349: checking for working mmap" >&5
  if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 2348,2352 ----
  
  echo $ac_n "checking for working mmap""... $ac_c" 1>&6
! echo "configure:2351: checking for working mmap" >&5
  if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 2354,2358 ****
  else
    cat > conftest.$ac_ext <<EOF
! #line 2357 "configure"
  #include "confdefs.h"
  
--- 2356,2360 ----
  else
    cat > conftest.$ac_ext <<EOF
! #line 2359 "configure"
  #include "confdefs.h"
  
***************
*** 2494,2498 ****
  
  EOF
! if { (eval echo configure:2497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  then
    ac_cv_func_mmap_fixed_mapped=yes
--- 2496,2500 ----
  
  EOF
! if { (eval echo configure:2499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  then
    ac_cv_func_mmap_fixed_mapped=yes
***************
*** 2517,2526 ****
  
  echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
! echo "configure:2520: checking return type of signal handlers" >&5
  if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 2525 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
--- 2519,2528 ----
  
  echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
! echo "configure:2522: checking return type of signal handlers" >&5
  if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 2527 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
***************
*** 2539,2543 ****
  ; return 0; }
  EOF
! if { (eval echo configure:2542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_type_signal=void
--- 2541,2545 ----
  ; return 0; }
  EOF
! if { (eval echo configure:2544: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_type_signal=void
***************
*** 2558,2562 ****
  
  echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
! echo "configure:2561: checking for dlopen in -ldl" >&5
  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
--- 2560,2564 ----
  
  echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
! echo "configure:2563: checking for dlopen in -ldl" >&5
  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
***************
*** 2566,2570 ****
  LIBS="-ldl  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 2569 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 2568,2572 ----
  LIBS="-ldl  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 2571 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 2577,2581 ****
  ; return 0; }
  EOF
! if { (eval echo configure:2580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
--- 2579,2583 ----
  ; return 0; }
  EOF
! if { (eval echo configure:2582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
***************
*** 2598,2602 ****
  
  echo $ac_n "checking for pow in -lm""... $ac_c" 1>&6
! echo "configure:2601: checking for pow in -lm" >&5
  ac_lib_var=`echo m'_'pow | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
--- 2600,2604 ----
  
  echo $ac_n "checking for pow in -lm""... $ac_c" 1>&6
! echo "configure:2603: checking for pow in -lm" >&5
  ac_lib_var=`echo m'_'pow | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
***************
*** 2606,2610 ****
  LIBS="-lm  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 2609 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 2608,2612 ----
  LIBS="-lm  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 2611 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 2617,2621 ****
  ; return 0; }
  EOF
! if { (eval echo configure:2620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
--- 2619,2623 ----
  ; return 0; }
  EOF
! if { (eval echo configure:2622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
***************
*** 2645,2649 ****
  if test "x${THREAD_LIB}" = xerror; then
    echo $ac_n "checking for pthread_attr_init in -lpthread""... $ac_c" 1>&6
! echo "configure:2648: checking for pthread_attr_init in -lpthread" >&5
  ac_lib_var=`echo pthread'_'pthread_attr_init | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
--- 2647,2651 ----
  if test "x${THREAD_LIB}" = xerror; then
    echo $ac_n "checking for pthread_attr_init in -lpthread""... $ac_c" 1>&6
! echo "configure:2650: checking for pthread_attr_init in -lpthread" >&5
  ac_lib_var=`echo pthread'_'pthread_attr_init | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
***************
*** 2653,2657 ****
  LIBS="-lpthread  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 2656 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 2655,2659 ----
  LIBS="-lpthread  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 2658 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 2664,2668 ****
  ; return 0; }
  EOF
! if { (eval echo configure:2667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
--- 2666,2670 ----
  ; return 0; }
  EOF
! if { (eval echo configure:2669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
***************
*** 2687,2691 ****
  if test "x${THREAD_LIB}" = xerror; then
    echo $ac_n "checking for pthread_attr_init in -lpthreads""... $ac_c" 1>&6
! echo "configure:2690: checking for pthread_attr_init in -lpthreads" >&5
  ac_lib_var=`echo pthreads'_'pthread_attr_init | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
--- 2689,2693 ----
  if test "x${THREAD_LIB}" = xerror; then
    echo $ac_n "checking for pthread_attr_init in -lpthreads""... $ac_c" 1>&6
! echo "configure:2692: checking for pthread_attr_init in -lpthreads" >&5
  ac_lib_var=`echo pthreads'_'pthread_attr_init | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
***************
*** 2695,2699 ****
  LIBS="-lpthreads  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 2698 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 2697,2701 ----
  LIBS="-lpthreads  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 2700 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 2706,2710 ****
  ; return 0; }
  EOF
! if { (eval echo configure:2709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
--- 2708,2712 ----
  ; return 0; }
  EOF
! if { (eval echo configure:2711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
***************
*** 2729,2733 ****
  if test "x${THREAD_LIB}" = xerror; then
    echo $ac_n "checking for pthread_attr_init in -lc_r""... $ac_c" 1>&6
! echo "configure:2732: checking for pthread_attr_init in -lc_r" >&5
  ac_lib_var=`echo c_r'_'pthread_attr_init | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
--- 2731,2735 ----
  if test "x${THREAD_LIB}" = xerror; then
    echo $ac_n "checking for pthread_attr_init in -lc_r""... $ac_c" 1>&6
! echo "configure:2734: checking for pthread_attr_init in -lc_r" >&5
  ac_lib_var=`echo c_r'_'pthread_attr_init | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
***************
*** 2737,2741 ****
  LIBS="-lc_r  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 2740 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 2739,2743 ----
  LIBS="-lc_r  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 2742 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 2748,2752 ****
  ; return 0; }
  EOF
! if { (eval echo configure:2751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
--- 2750,2754 ----
  ; return 0; }
  EOF
! if { (eval echo configure:2753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
***************
*** 2771,2780 ****
  if test "x${THREAD_LIB}" = xerror; then
    echo $ac_n "checking for pthread_attr_init""... $ac_c" 1>&6
! echo "configure:2774: checking for pthread_attr_init" >&5
  if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_init'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 2779 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
--- 2773,2782 ----
  if test "x${THREAD_LIB}" = xerror; then
    echo $ac_n "checking for pthread_attr_init""... $ac_c" 1>&6
! echo "configure:2776: checking for pthread_attr_init" >&5
  if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_init'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 2781 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
***************
*** 2799,2803 ****
  ; return 0; }
  EOF
! if { (eval echo configure:2802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_pthread_attr_init=yes"
--- 2801,2805 ----
  ; return 0; }
  EOF
! if { (eval echo configure:2804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_func_pthread_attr_init=yes"
***************
*** 2822,2826 ****
  
  echo $ac_n "checking for cthread_fork in -lthreads""... $ac_c" 1>&6
! echo "configure:2825: checking for cthread_fork in -lthreads" >&5
  ac_lib_var=`echo threads'_'cthread_fork | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
--- 2824,2828 ----
  
  echo $ac_n "checking for cthread_fork in -lthreads""... $ac_c" 1>&6
! echo "configure:2827: checking for cthread_fork in -lthreads" >&5
  ac_lib_var=`echo threads'_'cthread_fork | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
***************
*** 2830,2834 ****
  LIBS="-lthreads  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 2833 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 2832,2836 ----
  LIBS="-lthreads  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 2835 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 2841,2845 ****
  ; return 0; }
  EOF
! if { (eval echo configure:2844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
--- 2843,2847 ----
  ; return 0; }
  EOF
! if { (eval echo configure:2846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
***************
*** 2863,2867 ****
  
  cat > conftest.$ac_ext <<EOF
! #line 2866 "configure"
  #include "confdefs.h"
  #include <pthread.h>
--- 2865,2869 ----
  
  cat > conftest.$ac_ext <<EOF
! #line 2868 "configure"
  #include "confdefs.h"
  #include <pthread.h>
***************
*** 2879,2883 ****
  
  cat > conftest.$ac_ext <<EOF
! #line 2882 "configure"
  #include "confdefs.h"
  #include <strings.h>
--- 2881,2885 ----
  
  cat > conftest.$ac_ext <<EOF
! #line 2884 "configure"
  #include "confdefs.h"
  #include <strings.h>
***************
*** 2899,2913 ****
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:2902: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 2907 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:2912: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
--- 2901,2915 ----
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:2904: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 2909 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:2914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
***************
*** 2939,2953 ****
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:2942: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 2947 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:2952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
--- 2941,2955 ----
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:2944: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 2949 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:2954: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
***************
*** 2979,2993 ****
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:2982: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 2987 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:2992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
--- 2981,2995 ----
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:2984: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 2989 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:2994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
***************
*** 3019,3033 ****
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:3022: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 3027 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:3032: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
--- 3021,3035 ----
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:3024: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 3029 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:3034: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
***************
*** 3059,3073 ****
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:3062: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 3067 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:3072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
--- 3061,3075 ----
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:3064: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 3069 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:3074: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
***************
*** 3099,3113 ****
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:3102: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 3107 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:3112: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
--- 3101,3115 ----
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:3104: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 3109 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:3114: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
***************
*** 3140,3154 ****
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:3143: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 3148 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:3153: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
--- 3142,3156 ----
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:3145: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 3150 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:3155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
***************
*** 3178,3182 ****
  
  echo $ac_n "checking for ntohl in sys/param.h""... $ac_c" 1>&6
! echo "configure:3181: checking for ntohl in sys/param.h" >&5
  if eval "test \"`echo '$''{'ac_cv_c_ntohl_sys_param_h'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 3180,3184 ----
  
  echo $ac_n "checking for ntohl in sys/param.h""... $ac_c" 1>&6
! echo "configure:3183: checking for ntohl in sys/param.h" >&5
  if eval "test \"`echo '$''{'ac_cv_c_ntohl_sys_param_h'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 3184,3188 ****
    CFLAGS="${save_CFLAGS} -Wall -Werror"
       cat > conftest.$ac_ext <<EOF
! #line 3187 "configure"
  #include "confdefs.h"
  #include <sys/param.h>
--- 3186,3190 ----
    CFLAGS="${save_CFLAGS} -Wall -Werror"
       cat > conftest.$ac_ext <<EOF
! #line 3189 "configure"
  #include "confdefs.h"
  #include <sys/param.h>
***************
*** 3191,3195 ****
  ; return 0; }
  EOF
! if { (eval echo configure:3194: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_c_ntohl_sys_param_h=yes
--- 3193,3197 ----
  ; return 0; }
  EOF
! if { (eval echo configure:3196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_c_ntohl_sys_param_h=yes
***************
*** 3212,3216 ****
  
  echo $ac_n "checking if \$CC accepts -finline-limit""... $ac_c" 1>&6
! echo "configure:3215: checking if \$CC accepts -finline-limit" >&5
  if eval "test \"`echo '$''{'ac_cv_c_inline_limit'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 3214,3218 ----
  
  echo $ac_n "checking if \$CC accepts -finline-limit""... $ac_c" 1>&6
! echo "configure:3217: checking if \$CC accepts -finline-limit" >&5
  if eval "test \"`echo '$''{'ac_cv_c_inline_limit'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 3218,3222 ****
    CFLAGS="${save_CFLAGS} -finline-limit-30000"
       cat > conftest.$ac_ext <<EOF
! #line 3221 "configure"
  #include "confdefs.h"
  
--- 3220,3224 ----
    CFLAGS="${save_CFLAGS} -finline-limit-30000"
       cat > conftest.$ac_ext <<EOF
! #line 3223 "configure"
  #include "confdefs.h"
  
***************
*** 3225,3229 ****
  ; return 0; }
  EOF
! if { (eval echo configure:3228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_c_inline_limit=yes
--- 3227,3231 ----
  ; return 0; }
  EOF
! if { (eval echo configure:3230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_c_inline_limit=yes
***************
*** 3243,3247 ****
  
  echo $ac_n "checking if \$CC accepts -bundle -undefined error""... $ac_c" 1>&6
! echo "configure:3246: checking if \$CC accepts -bundle -undefined error" >&5
  if eval "test \"`echo '$''{'ac_cv_ld_darwin'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 3245,3249 ----
  
  echo $ac_n "checking if \$CC accepts -bundle -undefined error""... $ac_c" 1>&6
! echo "configure:3248: checking if \$CC accepts -bundle -undefined error" >&5
  if eval "test \"`echo '$''{'ac_cv_ld_darwin'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 3249,3253 ****
    CFLAGS="${save_CFLAGS} -bundle -undefined error"
       cat > conftest.$ac_ext <<EOF
! #line 3252 "configure"
  #include "confdefs.h"
  
--- 3251,3255 ----
    CFLAGS="${save_CFLAGS} -bundle -undefined error"
       cat > conftest.$ac_ext <<EOF
! #line 3254 "configure"
  #include "confdefs.h"
  
***************
*** 3256,3260 ****
  ; return 0; }
  EOF
! if { (eval echo configure:3259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_ld_darwin=yes
--- 3258,3262 ----
  ; return 0; }
  EOF
! if { (eval echo configure:3261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_ld_darwin=yes
***************
*** 3274,3278 ****
  
  echo $ac_n "checking if \$CC accepts -shared""... $ac_c" 1>&6
! echo "configure:3277: checking if \$CC accepts -shared" >&5
  if eval "test \"`echo '$''{'ac_cv_ld_plugins'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 3276,3280 ----
  
  echo $ac_n "checking if \$CC accepts -shared""... $ac_c" 1>&6
! echo "configure:3279: checking if \$CC accepts -shared" >&5
  if eval "test \"`echo '$''{'ac_cv_ld_plugins'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 3280,3284 ****
    CFLAGS="${save_CFLAGS} -shared"
       cat > conftest.$ac_ext <<EOF
! #line 3283 "configure"
  #include "confdefs.h"
  
--- 3282,3286 ----
    CFLAGS="${save_CFLAGS} -shared"
       cat > conftest.$ac_ext <<EOF
! #line 3285 "configure"
  #include "confdefs.h"
  
***************
*** 3287,3291 ****
  ; return 0; }
  EOF
! if { (eval echo configure:3290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_ld_plugins=yes
--- 3289,3293 ----
  ; return 0; }
  EOF
! if { (eval echo configure:3292: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_ld_plugins=yes
***************
*** 3306,3310 ****
  if test x"${SOFLAGS}" = x; then
      echo $ac_n "checking for soname setting""... $ac_c" 1>&6
! echo "configure:3309: checking for soname setting" >&5
  if eval "test \"`echo '$''{'ac_cv_ld_soname'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 3308,3312 ----
  if test x"${SOFLAGS}" = x; then
      echo $ac_n "checking for soname setting""... $ac_c" 1>&6
! echo "configure:3311: checking for soname setting" >&5
  if eval "test \"`echo '$''{'ac_cv_ld_soname'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 3315,3319 ****
          LDFLAGS="${save_LDFLAGS} ${try_SOFLAGS}foo.so.0"
          cat > conftest.$ac_ext <<EOF
! #line 3318 "configure"
  #include "confdefs.h"
  
--- 3317,3321 ----
          LDFLAGS="${save_LDFLAGS} ${try_SOFLAGS}foo.so.0"
          cat > conftest.$ac_ext <<EOF
! #line 3320 "configure"
  #include "confdefs.h"
  
***************
*** 3322,3326 ****
  ; return 0; }
  EOF
! if { (eval echo configure:3325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    ac_cv_ld_soname="${try_SOFLAGS}"
--- 3324,3328 ----
  ; return 0; }
  EOF
! if { (eval echo configure:3327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    ac_cv_ld_soname="${try_SOFLAGS}"
***************
*** 3334,3338 ****
              LDFLAGS="${save_LDFLAGS} ${try_SOFLAGS}foo.so.0"
              cat > conftest.$ac_ext <<EOF
! #line 3337 "configure"
  #include "confdefs.h"
  
--- 3336,3340 ----
              LDFLAGS="${save_LDFLAGS} ${try_SOFLAGS}foo.so.0"
              cat > conftest.$ac_ext <<EOF
! #line 3339 "configure"
  #include "confdefs.h"
  
***************
*** 3341,3345 ****
  ; return 0; }
  EOF
! if { (eval echo configure:3344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    ac_cv_ld_soname="${try_SOFLAGS}"
--- 3343,3347 ----
  ; return 0; }
  EOF
! if { (eval echo configure:3346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    ac_cv_ld_soname="${try_SOFLAGS}"
***************
*** 3370,3374 ****
  
  echo $ac_n "checking __attribute__ ((aligned ())) support""... $ac_c" 1>&6
! echo "configure:3373: checking __attribute__ ((aligned ())) support" >&5
  if eval "test \"`echo '$''{'ac_cv_c_attribute_aligned'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 3372,3376 ----
  
  echo $ac_n "checking __attribute__ ((aligned ())) support""... $ac_c" 1>&6
! echo "configure:3375: checking __attribute__ ((aligned ())) support" >&5
  if eval "test \"`echo '$''{'ac_cv_c_attribute_aligned'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 3378,3382 ****
      for ac_cv_c_attr_align_try in 2 4 8 16 32 64; do
          cat > conftest.$ac_ext <<EOF
! #line 3381 "configure"
  #include "confdefs.h"
  
--- 3380,3384 ----
      for ac_cv_c_attr_align_try in 2 4 8 16 32 64; do
          cat > conftest.$ac_ext <<EOF
! #line 3383 "configure"
  #include "confdefs.h"
  
***************
*** 3385,3389 ****
  ; return 0; }
  EOF
! if { (eval echo configure:3388: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_c_attribute_aligned=$ac_cv_c_attr_align_try
--- 3387,3391 ----
  ; return 0; }
  EOF
! if { (eval echo configure:3390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_c_attribute_aligned=$ac_cv_c_attr_align_try
***************
*** 3408,3417 ****
  
  echo $ac_n "checking for boolean_t in sys/types.h""... $ac_c" 1>&6
! echo "configure:3411: checking for boolean_t in sys/types.h" >&5
  if eval "test \"`echo '$''{'ac_cv_c_boolean_t_sys_types_h'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 3416 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
--- 3410,3419 ----
  
  echo $ac_n "checking for boolean_t in sys/types.h""... $ac_c" 1>&6
! echo "configure:3413: checking for boolean_t in sys/types.h" >&5
  if eval "test \"`echo '$''{'ac_cv_c_boolean_t_sys_types_h'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 3418 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
***************
*** 3420,3424 ****
  ; return 0; }
  EOF
! if { (eval echo configure:3423: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_c_boolean_t_sys_types_h=yes
--- 3422,3426 ----
  ; return 0; }
  EOF
! if { (eval echo configure:3425: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_c_boolean_t_sys_types_h=yes
***************
*** 3441,3450 ****
  
  echo $ac_n "checking for boolean_t in pthread.h""... $ac_c" 1>&6
! echo "configure:3444: checking for boolean_t in pthread.h" >&5
  if eval "test \"`echo '$''{'ac_cv_c_boolean_t_pthread_h'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 3449 "configure"
  #include "confdefs.h"
  #include <pthread.h>
--- 3443,3452 ----
  
  echo $ac_n "checking for boolean_t in pthread.h""... $ac_c" 1>&6
! echo "configure:3446: checking for boolean_t in pthread.h" >&5
  if eval "test \"`echo '$''{'ac_cv_c_boolean_t_pthread_h'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 3451 "configure"
  #include "confdefs.h"
  #include <pthread.h>
***************
*** 3453,3457 ****
  ; return 0; }
  EOF
! if { (eval echo configure:3456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_c_boolean_t_pthread_h=yes
--- 3455,3459 ----
  ; return 0; }
  EOF
! if { (eval echo configure:3458: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_c_boolean_t_pthread_h=yes
***************
*** 3474,3483 ****
  
  echo $ac_n "checking for boolean_t in cthreads.h""... $ac_c" 1>&6
! echo "configure:3477: checking for boolean_t in cthreads.h" >&5
  if eval "test \"`echo '$''{'ac_cv_c_boolean_t_cthreads_h'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 3482 "configure"
  #include "confdefs.h"
  #include <cthreads.h>
--- 3476,3485 ----
  
  echo $ac_n "checking for boolean_t in cthreads.h""... $ac_c" 1>&6
! echo "configure:3479: checking for boolean_t in cthreads.h" >&5
  if eval "test \"`echo '$''{'ac_cv_c_boolean_t_cthreads_h'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 3484 "configure"
  #include "confdefs.h"
  #include <cthreads.h>
***************
*** 3486,3490 ****
  ; return 0; }
  EOF
! if { (eval echo configure:3489: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_c_boolean_t_cthreads_h=yes
--- 3488,3492 ----
  ; return 0; }
  EOF
! if { (eval echo configure:3491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_c_boolean_t_cthreads_h=yes
***************
*** 3507,3516 ****
  
  echo $ac_n "checking for working const""... $ac_c" 1>&6
! echo "configure:3510: checking for working const" >&5
  if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 3515 "configure"
  #include "confdefs.h"
  
--- 3509,3518 ----
  
  echo $ac_n "checking for working const""... $ac_c" 1>&6
! echo "configure:3512: checking for working const" >&5
  if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 3517 "configure"
  #include "confdefs.h"
  
***************
*** 3561,3565 ****
  ; return 0; }
  EOF
! if { (eval echo configure:3564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_c_const=yes
--- 3563,3567 ----
  ; return 0; }
  EOF
! if { (eval echo configure:3566: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_c_const=yes
***************
*** 3582,3591 ****
  
  echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
! echo "configure:3585: checking for ANSI C header files" >&5
  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 3590 "configure"
  #include "confdefs.h"
  #include <stdlib.h>
--- 3584,3593 ----
  
  echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
! echo "configure:3587: checking for ANSI C header files" >&5
  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 3592 "configure"
  #include "confdefs.h"
  #include <stdlib.h>
***************
*** 3595,3599 ****
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:3598: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
--- 3597,3601 ----
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:3600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
***************
*** 3612,3616 ****
    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  cat > conftest.$ac_ext <<EOF
! #line 3615 "configure"
  #include "confdefs.h"
  #include <string.h>
--- 3614,3618 ----
    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  cat > conftest.$ac_ext <<EOF
! #line 3617 "configure"
  #include "confdefs.h"
  #include <string.h>
***************
*** 3630,3634 ****
    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  cat > conftest.$ac_ext <<EOF
! #line 3633 "configure"
  #include "confdefs.h"
  #include <stdlib.h>
--- 3632,3636 ----
    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  cat > conftest.$ac_ext <<EOF
! #line 3635 "configure"
  #include "confdefs.h"
  #include <stdlib.h>
***************
*** 3651,3655 ****
  else
    cat > conftest.$ac_ext <<EOF
! #line 3654 "configure"
  #include "confdefs.h"
  #include <ctype.h>
--- 3653,3657 ----
  else
    cat > conftest.$ac_ext <<EOF
! #line 3656 "configure"
  #include "confdefs.h"
  #include <ctype.h>
***************
*** 3662,3666 ****
  
  EOF
! if { (eval echo configure:3665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  then
    :
--- 3664,3668 ----
  
  EOF
! if { (eval echo configure:3667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  then
    :
***************
*** 3686,3695 ****
  
  echo $ac_n "checking for size_t""... $ac_c" 1>&6
! echo "configure:3689: checking for size_t" >&5
  if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 3694 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
--- 3688,3697 ----
  
  echo $ac_n "checking for size_t""... $ac_c" 1>&6
! echo "configure:3691: checking for size_t" >&5
  if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 3696 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
***************
*** 3719,3728 ****
  
  echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
! echo "configure:3722: checking whether time.h and sys/time.h may both be included" >&5
  if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 3727 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
--- 3721,3730 ----
  
  echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
! echo "configure:3724: checking whether time.h and sys/time.h may both be included" >&5
  if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 3729 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
***************
*** 3733,3737 ****
  ; return 0; }
  EOF
! if { (eval echo configure:3736: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_header_time=yes
--- 3735,3739 ----
  ; return 0; }
  EOF
! if { (eval echo configure:3738: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_header_time=yes
***************
*** 3767,3776 ****
  
  echo $ac_n "checking if \$CC groks MMX inline assembly""... $ac_c" 1>&6
! echo "configure:3770: checking if \$CC groks MMX inline assembly" >&5
  if eval "test \"`echo '$''{'ac_cv_mmx_inline'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 3775 "configure"
  #include "confdefs.h"
  
--- 3769,3778 ----
  
  echo $ac_n "checking if \$CC groks MMX inline assembly""... $ac_c" 1>&6
! echo "configure:3772: checking if \$CC groks MMX inline assembly" >&5
  if eval "test \"`echo '$''{'ac_cv_mmx_inline'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 3777 "configure"
  #include "confdefs.h"
  
***************
*** 3779,3783 ****
  ; return 0; }
  EOF
! if { (eval echo configure:3782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_mmx_inline=yes
--- 3781,3785 ----
  ; return 0; }
  EOF
! if { (eval echo configure:3784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_mmx_inline=yes
***************
*** 3797,3806 ****
  
  echo $ac_n "checking if \$CC groks MMX EXT inline assembly""... $ac_c" 1>&6
! echo "configure:3800: checking if \$CC groks MMX EXT inline assembly" >&5
  if eval "test \"`echo '$''{'ac_cv_mmxext_inline'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 3805 "configure"
  #include "confdefs.h"
  
--- 3799,3808 ----
  
  echo $ac_n "checking if \$CC groks MMX EXT inline assembly""... $ac_c" 1>&6
! echo "configure:3802: checking if \$CC groks MMX EXT inline assembly" >&5
  if eval "test \"`echo '$''{'ac_cv_mmxext_inline'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 3807 "configure"
  #include "confdefs.h"
  
***************
*** 3809,3813 ****
  ; return 0; }
  EOF
! if { (eval echo configure:3812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_mmxext_inline=yes
--- 3811,3815 ----
  ; return 0; }
  EOF
! if { (eval echo configure:3814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_mmxext_inline=yes
***************
*** 3827,3836 ****
  
  echo $ac_n "checking if \$CC groks 3D Now! inline assembly""... $ac_c" 1>&6
! echo "configure:3830: checking if \$CC groks 3D Now! inline assembly" >&5
  if eval "test \"`echo '$''{'ac_cv_3dnow_inline'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 3835 "configure"
  #include "confdefs.h"
  
--- 3829,3838 ----
  
  echo $ac_n "checking if \$CC groks 3D Now! inline assembly""... $ac_c" 1>&6
! echo "configure:3832: checking if \$CC groks 3D Now! inline assembly" >&5
  if eval "test \"`echo '$''{'ac_cv_3dnow_inline'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 3837 "configure"
  #include "confdefs.h"
  
***************
*** 3839,3843 ****
  ; return 0; }
  EOF
! if { (eval echo configure:3842: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_3dnow_inline=yes
--- 3841,3845 ----
  ; return 0; }
  EOF
! if { (eval echo configure:3844: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_3dnow_inline=yes
***************
*** 3861,3870 ****
  
  echo $ac_n "checking if \$CC groks SSE inline assembly""... $ac_c" 1>&6
! echo "configure:3864: checking if \$CC groks SSE inline assembly" >&5
  if eval "test \"`echo '$''{'ac_cv_sse_inline'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 3869 "configure"
  #include "confdefs.h"
  
--- 3863,3872 ----
  
  echo $ac_n "checking if \$CC groks SSE inline assembly""... $ac_c" 1>&6
! echo "configure:3866: checking if \$CC groks SSE inline assembly" >&5
  if eval "test \"`echo '$''{'ac_cv_sse_inline'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 3871 "configure"
  #include "confdefs.h"
  
***************
*** 3873,3877 ****
  ; return 0; }
  EOF
! if { (eval echo configure:3876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_sse_inline=yes
--- 3875,3879 ----
  ; return 0; }
  EOF
! if { (eval echo configure:3878: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_sse_inline=yes
***************
*** 3895,3904 ****
  
  echo $ac_n "checking if \$CC groks Altivec inline assembly""... $ac_c" 1>&6
! echo "configure:3898: checking if \$CC groks Altivec inline assembly" >&5
  if eval "test \"`echo '$''{'ac_cv_altivec_inline'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 3903 "configure"
  #include "confdefs.h"
  
--- 3897,3906 ----
  
  echo $ac_n "checking if \$CC groks Altivec inline assembly""... $ac_c" 1>&6
! echo "configure:3900: checking if \$CC groks Altivec inline assembly" >&5
  if eval "test \"`echo '$''{'ac_cv_altivec_inline'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 3905 "configure"
  #include "confdefs.h"
  
***************
*** 3907,3911 ****
  ; return 0; }
  EOF
! if { (eval echo configure:3910: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_altivec_inline=yes
--- 3909,3913 ----
  ; return 0; }
  EOF
! if { (eval echo configure:3912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_altivec_inline=yes
***************
*** 3917,3921 ****
            CFLAGS="$CFLAGS -Wa,-m7400"
            cat > conftest.$ac_ext <<EOF
! #line 3920 "configure"
  #include "confdefs.h"
  
--- 3919,3923 ----
            CFLAGS="$CFLAGS -Wa,-m7400"
            cat > conftest.$ac_ext <<EOF
! #line 3922 "configure"
  #include "confdefs.h"
  
***************
*** 3924,3928 ****
  ; return 0; }
  EOF
! if { (eval echo configure:3927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_altivec_inline="-Wa,-m7400"
--- 3926,3930 ----
  ; return 0; }
  EOF
! if { (eval echo configure:3929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_altivec_inline="-Wa,-m7400"
***************
*** 3954,3958 ****
  
  echo $ac_n "checking if \$CC groks Altivec C extensions""... $ac_c" 1>&6
! echo "configure:3957: checking if \$CC groks Altivec C extensions" >&5
  if eval "test \"`echo '$''{'ac_cv_c_altivec'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 3956,3960 ----
  
  echo $ac_n "checking if \$CC groks Altivec C extensions""... $ac_c" 1>&6
! echo "configure:3959: checking if \$CC groks Altivec C extensions" >&5
  if eval "test \"`echo '$''{'ac_cv_c_altivec'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 3962,3966 ****
       # Darwin test
       cat > conftest.$ac_ext <<EOF
! #line 3965 "configure"
  #include "confdefs.h"
  
--- 3964,3968 ----
       # Darwin test
       cat > conftest.$ac_ext <<EOF
! #line 3967 "configure"
  #include "confdefs.h"
  
***************
*** 3969,3973 ****
  ; return 0; }
  EOF
! if { (eval echo configure:3972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_c_altivec=-faltivec
--- 3971,3975 ----
  ; return 0; }
  EOF
! if { (eval echo configure:3974: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_c_altivec=-faltivec
***************
*** 3980,3984 ****
          CFLAGS="$save_CFLAGS $CFLAGS_ALTIVEC -fvec"
          cat > conftest.$ac_ext <<EOF
! #line 3983 "configure"
  #include "confdefs.h"
  
--- 3982,3986 ----
          CFLAGS="$save_CFLAGS $CFLAGS_ALTIVEC -fvec"
          cat > conftest.$ac_ext <<EOF
! #line 3985 "configure"
  #include "confdefs.h"
  
***************
*** 3987,3991 ****
  ; return 0; }
  EOF
! if { (eval echo configure:3990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_c_altivec="-fvec"
--- 3989,3993 ----
  ; return 0; }
  EOF
! if { (eval echo configure:3992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    rm -rf conftest*
    ac_cv_c_altivec="-fvec"
***************
*** 4016,4020 ****
  
  echo $ac_n "checking if linker needs -framework vecLib""... $ac_c" 1>&6
! echo "configure:4019: checking if linker needs -framework vecLib" >&5
  if eval "test \"`echo '$''{'ac_cv_ld_altivec'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 4018,4022 ----
  
  echo $ac_n "checking if linker needs -framework vecLib""... $ac_c" 1>&6
! echo "configure:4021: checking if linker needs -framework vecLib" >&5
  if eval "test \"`echo '$''{'ac_cv_ld_altivec'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 4023,4027 ****
       LDFLAGS="$LDFLAGS -framework vecLib"
       cat > conftest.$ac_ext <<EOF
! #line 4026 "configure"
  #include "confdefs.h"
  
--- 4025,4029 ----
       LDFLAGS="$LDFLAGS -framework vecLib"
       cat > conftest.$ac_ext <<EOF
! #line 4028 "configure"
  #include "confdefs.h"
  
***************
*** 4030,4034 ****
  ; return 0; }
  EOF
! if { (eval echo configure:4033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    ac_cv_ld_altivec=yes
--- 4032,4036 ----
  ; return 0; }
  EOF
! if { (eval echo configure:4035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    ac_cv_ld_altivec=yes
***************
*** 4071,4075 ****
  set dummy ${ac_tool_prefix}windres; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:4074: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 4073,4077 ----
  set dummy ${ac_tool_prefix}windres; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:4076: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 4103,4107 ****
  set dummy windres; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:4106: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 4105,4109 ----
  set dummy windres; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:4108: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 4146,4160 ****
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4149: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4154 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4159: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
--- 4148,4162 ----
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4151: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4156 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
***************
*** 4189,4203 ****
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4192: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4197 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
--- 4191,4205 ----
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4194: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4199 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
***************
*** 4225,4239 ****
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4228: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4233 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
--- 4227,4241 ----
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4230: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4235 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
***************
*** 4265,4269 ****
    OPENBSD_DVD_STRUCT=0
          cat > conftest.$ac_ext <<EOF
! #line 4268 "configure"
  #include "confdefs.h"
  #include <sys/cdio.h>
--- 4267,4271 ----
    OPENBSD_DVD_STRUCT=0
          cat > conftest.$ac_ext <<EOF
! #line 4270 "configure"
  #include "confdefs.h"
  #include <sys/cdio.h>
***************
*** 4278,4282 ****
  
      cat > conftest.$ac_ext <<EOF
! #line 4281 "configure"
  #include "confdefs.h"
  #include <sys/cdio.h>
--- 4280,4284 ----
  
      cat > conftest.$ac_ext <<EOF
! #line 4283 "configure"
  #include "confdefs.h"
  #include <sys/cdio.h>
***************
*** 4298,4302 ****
  
          cat > conftest.$ac_ext <<EOF
! #line 4301 "configure"
  #include "confdefs.h"
  #include <sys/dvdio.h>
--- 4300,4304 ----
  
          cat > conftest.$ac_ext <<EOF
! #line 4303 "configure"
  #include "confdefs.h"
  #include <sys/dvdio.h>
***************
*** 4311,4315 ****
  
      cat > conftest.$ac_ext <<EOF
! #line 4314 "configure"
  #include "confdefs.h"
  #include <sys/dvdio.h>
--- 4313,4317 ----
  
      cat > conftest.$ac_ext <<EOF
! #line 4316 "configure"
  #include "confdefs.h"
  #include <sys/dvdio.h>
***************
*** 4331,4335 ****
  
          cat > conftest.$ac_ext <<EOF
! #line 4334 "configure"
  #include "confdefs.h"
  #include <linux/cdrom.h>
--- 4333,4337 ----
  
          cat > conftest.$ac_ext <<EOF
! #line 4336 "configure"
  #include "confdefs.h"
  #include <linux/cdrom.h>
***************
*** 4350,4354 ****
          NEED_BSDI_LIBDVD=0
    cat > conftest.$ac_ext <<EOF
! #line 4353 "configure"
  #include "confdefs.h"
  #include <dvd.h>
--- 4352,4356 ----
          NEED_BSDI_LIBDVD=0
    cat > conftest.$ac_ext <<EOF
! #line 4355 "configure"
  #include "confdefs.h"
  #include <dvd.h>
***************
*** 4372,4386 ****
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4375: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4380 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
--- 4374,4388 ----
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4377: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4382 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
***************
*** 4422,4436 ****
          ac_safe=`echo "sys/scsi/scsi_types.h" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for sys/scsi/scsi_types.h""... $ac_c" 1>&6
! echo "configure:4425: checking for sys/scsi/scsi_types.h" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4430 "configure"
  #include "confdefs.h"
  #include <sys/scsi/scsi_types.h>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
--- 4424,4438 ----
          ac_safe=`echo "sys/scsi/scsi_types.h" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for sys/scsi/scsi_types.h""... $ac_c" 1>&6
! echo "configure:4427: checking for sys/scsi/scsi_types.h" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4432 "configure"
  #include "confdefs.h"
  #include <sys/scsi/scsi_types.h>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4437: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
***************
*** 4451,4465 ****
      ac_safe=`echo "sys/scsi/impl/uscsi.h" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for sys/scsi/impl/uscsi.h""... $ac_c" 1>&6
! echo "configure:4454: checking for sys/scsi/impl/uscsi.h" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4459 "configure"
  #include "confdefs.h"
  #include <sys/scsi/impl/uscsi.h>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4464: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
--- 4453,4467 ----
      ac_safe=`echo "sys/scsi/impl/uscsi.h" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for sys/scsi/impl/uscsi.h""... $ac_c" 1>&6
! echo "configure:4456: checking for sys/scsi/impl/uscsi.h" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4461 "configure"
  #include "confdefs.h"
  #include <sys/scsi/impl/uscsi.h>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4466: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
***************
*** 4616,4620 ****
     if test x$enableval = xyes; then
      echo $ac_n "checking for pth_init in -lpth""... $ac_c" 1>&6
! echo "configure:4619: checking for pth_init in -lpth" >&5
  ac_lib_var=`echo pth'_'pth_init | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
--- 4618,4622 ----
     if test x$enableval = xyes; then
      echo $ac_n "checking for pth_init in -lpth""... $ac_c" 1>&6
! echo "configure:4621: checking for pth_init in -lpth" >&5
  ac_lib_var=`echo pth'_'pth_init | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
***************
*** 4624,4628 ****
  LIBS="-lpth  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 4627 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 4626,4630 ----
  LIBS="-lpth  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 4629 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 4635,4639 ****
  ; return 0; }
  EOF
! if { (eval echo configure:4638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
--- 4637,4641 ----
  ; return 0; }
  EOF
! if { (eval echo configure:4640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
***************
*** 4663,4667 ****
  
      cat > conftest.$ac_ext <<EOF
! #line 4666 "configure"
  #include "confdefs.h"
  #include <pth.h>
--- 4665,4669 ----
  
      cat > conftest.$ac_ext <<EOF
! #line 4668 "configure"
  #include "confdefs.h"
  #include <pth.h>
***************
*** 4784,4788 ****
  then
    cat > conftest.$ac_ext <<EOF
! #line 4787 "configure"
  #include "confdefs.h"
  #include <linux/cdrom.h>
--- 4786,4790 ----
  then
    cat > conftest.$ac_ext <<EOF
! #line 4789 "configure"
  #include "confdefs.h"
  #include <linux/cdrom.h>
***************
*** 4857,4871 ****
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4860: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4865 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
--- 4859,4873 ----
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4862: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 4867 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4872: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
***************
*** 4897,4901 ****
  
        echo $ac_n "checking for mad_bit_init in -lmad""... $ac_c" 1>&6
! echo "configure:4900: checking for mad_bit_init in -lmad" >&5
  ac_lib_var=`echo mad'_'mad_bit_init | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
--- 4899,4903 ----
  
        echo $ac_n "checking for mad_bit_init in -lmad""... $ac_c" 1>&6
! echo "configure:4902: checking for mad_bit_init in -lmad" >&5
  ac_lib_var=`echo mad'_'mad_bit_init | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
***************
*** 4905,4909 ****
  LIBS="-lmad  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 4908 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 4907,4911 ----
  LIBS="-lmad  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 4910 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 4916,4920 ****
  ; return 0; }
  EOF
! if { (eval echo configure:4919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
--- 4918,4922 ----
  ; return 0; }
  EOF
! if { (eval echo configure:4921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
***************
*** 4986,4990 ****
  set dummy esd-config; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:4989: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_path_ESD_CONFIG'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 4988,4992 ----
  set dummy esd-config; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:4991: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_path_ESD_CONFIG'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 5037,5041 ****
  set dummy artsc-config; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:5040: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_path_ARTS_CONFIG'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 5039,5043 ----
  set dummy artsc-config; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:5042: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_path_ARTS_CONFIG'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 5094,5108 ****
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5097: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5102 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5107: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
--- 5096,5110 ----
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5099: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5104 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5109: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
***************
*** 5148,5162 ****
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5151: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5156 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
--- 5150,5164 ----
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5153: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5158 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
***************
*** 5235,5249 ****
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5238: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5243 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5248: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
--- 5237,5251 ----
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5240: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5245 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
***************
*** 5298,5312 ****
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5301: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5306 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
--- 5300,5314 ----
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5303: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5308 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
***************
*** 5332,5336 ****
      CFLAGS="$CFLAGS -L$x_libraries -lX11 -lXext"
      echo $ac_n "checking for XvSetPortAttribute in -lXv_pic""... $ac_c" 1>&6
! echo "configure:5335: checking for XvSetPortAttribute in -lXv_pic" >&5
  ac_lib_var=`echo Xv_pic'_'XvSetPortAttribute | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
--- 5334,5338 ----
      CFLAGS="$CFLAGS -L$x_libraries -lX11 -lXext"
      echo $ac_n "checking for XvSetPortAttribute in -lXv_pic""... $ac_c" 1>&6
! echo "configure:5337: checking for XvSetPortAttribute in -lXv_pic" >&5
  ac_lib_var=`echo Xv_pic'_'XvSetPortAttribute | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
***************
*** 5340,5344 ****
  LIBS="-lXv_pic  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 5343 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 5342,5346 ----
  LIBS="-lXv_pic  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 5345 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 5351,5355 ****
  ; return 0; }
  EOF
! if { (eval echo configure:5354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
--- 5353,5357 ----
  ; return 0; }
  EOF
! if { (eval echo configure:5356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
***************
*** 5407,5411 ****
  set dummy sdl12-config; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:5410: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_path_SDL12_CONFIG'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 5409,5413 ----
  set dummy sdl12-config; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:5412: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_path_SDL12_CONFIG'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 5447,5451 ****
  set dummy sdl11-config; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:5450: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_path_SDL11_CONFIG'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 5449,5453 ----
  set dummy sdl11-config; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:5452: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_path_SDL11_CONFIG'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 5488,5492 ****
  set dummy sdl-config; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:5491: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_path_SDL_CONFIG'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 5490,5494 ----
  set dummy sdl-config; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:5493: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_path_SDL_CONFIG'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 5545,5559 ****
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5548: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5553 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
--- 5547,5561 ----
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5550: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5555 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
***************
*** 5625,5639 ****
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5628: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5633 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5638: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
--- 5627,5641 ----
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5630: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5635 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5640: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
***************
*** 5664,5668 ****
      else
        echo $ac_n "checking for directX headers in ${withval}""... $ac_c" 1>&6
! echo "configure:5667: checking for directX headers in ${withval}" >&5
        if test -f ${withval}/include/directx.h
        then
--- 5666,5670 ----
      else
        echo $ac_n "checking for directX headers in ${withval}""... $ac_c" 1>&6
! echo "configure:5669: checking for directX headers in ${withval}" >&5
        if test -f ${withval}/include/directx.h
        then
***************
*** 5747,5751 ****
  set dummy gnome-config; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:5750: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_path_GNOME_CONFIG'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 5749,5753 ----
  set dummy gnome-config; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:5752: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_path_GNOME_CONFIG'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 5792,5806 ****
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5795: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5800 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5805: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
--- 5794,5808 ----
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5797: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5802 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
***************
*** 5862,5866 ****
  set dummy gtk-config; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:5865: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 5864,5868 ----
  set dummy gtk-config; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:5867: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 5908,5922 ****
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5911: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5916 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
--- 5910,5924 ----
  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:5913: checking for $ac_hdr" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5918 "configure"
  #include "confdefs.h"
  #include <$ac_hdr>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5923: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
***************
*** 5955,5958 ****
--- 5957,6059 ----
  fi
  
+ 
+ have_lirc=yes
+ 
+ echo $ac_n "checking for lirc_init in -llirc_client""... $ac_c" 1>&6
+ echo "configure:5964: checking for lirc_init in -llirc_client" >&5
+ ac_lib_var=`echo lirc_client'_'lirc_init | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   ac_save_LIBS="$LIBS"
+ LIBS="-llirc_client  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 5972 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* 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; }
+ EOF
+ if { (eval echo configure:5983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=no"
+ fi
+ rm -f conftest*
+ LIBS="$ac_save_LIBS"
+ 
+ fi
+ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+   echo "$ac_t""yes" 1>&6
+   ac_safe=`echo "lirc/lirc_client.h" | sed 'y%./+-%__p_%'`
+ echo $ac_n "checking for lirc/lirc_client.h""... $ac_c" 1>&6
+ echo "configure:6000: checking for lirc/lirc_client.h" >&5
+ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+ #line 6005 "configure"
+ #include "confdefs.h"
+ #include <lirc/lirc_client.h>
+ EOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+ { (eval echo configure:6010: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+ if test -z "$ac_err"; then
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=yes"
+ else
+   echo "$ac_err" >&5
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   rm -rf conftest*
+   eval "ac_cv_header_$ac_safe=no"
+ fi
+ rm -f conftest*
+ fi
+ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
+   echo "$ac_t""yes" 1>&6
+   true
+ else
+   echo "$ac_t""no" 1>&6
+ have_lirc=no
+ fi
+ 
+ else
+   echo "$ac_t""no" 1>&6
+ have_lirc=no
+ fi
+  
+ 
+ if test "$have_lirc" = "yes"; then
+   true;
+ else
+   { echo "configure: error: *** LIRC client support not available ***" 1>&2; exit 1; };
+ fi
+ 
+ # Check whether --enable-lirc or --disable-lirc was given.
+ if test "${enable_lirc+set}" = set; then
+   enableval="$enable_lirc"
+   :
+ fi
+ 
+ if test x$enable_lirc != xno
+ then
+   if test x$have_lirc = "xyes"
+   then
+     PLUGINS="${PLUGINS} lirc"
+     LIB="${LIB} -llirc_client"
+   fi
+ fi
+ 
  # Check whether --enable-alsa or --disable-alsa was given.
  if test "${enable_alsa+set}" = set; then
***************
*** 5962,5976 ****
       ac_safe=`echo "alsa/asoundlib.h" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for alsa/asoundlib.h""... $ac_c" 1>&6
! echo "configure:5965: checking for alsa/asoundlib.h" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 5970 "configure"
  #include "confdefs.h"
  #include <alsa/asoundlib.h>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5975: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
--- 6063,6077 ----
       ac_safe=`echo "alsa/asoundlib.h" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for alsa/asoundlib.h""... $ac_c" 1>&6
! echo "configure:6066: checking for alsa/asoundlib.h" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 6071 "configure"
  #include "confdefs.h"
  #include <alsa/asoundlib.h>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:6076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
***************
*** 5989,5993 ****
    echo "$ac_t""yes" 1>&6
    echo $ac_n "checking for main in -lasound""... $ac_c" 1>&6
! echo "configure:5992: checking for main in -lasound" >&5
  ac_lib_var=`echo asound'_'main | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
--- 6090,6094 ----
    echo "$ac_t""yes" 1>&6
    echo $ac_n "checking for main in -lasound""... $ac_c" 1>&6
! echo "configure:6093: checking for main in -lasound" >&5
  ac_lib_var=`echo asound'_'main | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
***************
*** 5997,6001 ****
  LIBS="-lasound  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 6000 "configure"
  #include "confdefs.h"
  
--- 6098,6102 ----
  LIBS="-lasound  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 6101 "configure"
  #include "confdefs.h"
  
***************
*** 6004,6008 ****
  ; return 0; }
  EOF
! if { (eval echo configure:6007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
--- 6105,6109 ----
  ; return 0; }
  EOF
! if { (eval echo configure:6108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
diff --new-file -C2 -r vlc-0.2.92/configure.in vlc-0.2.92-lirc/configure.in
*** vlc-0.2.92/configure.in	Mon Dec 31 19:35:02 2001
--- vlc-0.2.92-lirc/configure.in	Sun Feb  3 13:33:12 2002
***************
*** 1185,1188 ****
--- 1185,1217 ----
  fi
  
+ dnl Check for LIRC client support
+ dnl This really is not worth making a separate file for it. 
+ 
+ have_lirc=yes
+ AC_REQUIRE_CPP
+ AC_CHECK_LIB(lirc_client,lirc_init,
+   AC_CHECK_HEADER(lirc/lirc_client.h,true,have_lirc=no),have_lirc=no) 
+ 
+ if test "$have_lirc" = "yes"; then
+ dnl  AC_DEFINE(HAVE_LIRC);
+   true;
+ else
+   AC_MSG_ERROR([*** LIRC client support not available ***]);
+ fi
+ 
+ dnl
+ dnl  Lirc plugin
+ dnl
+ AC_ARG_ENABLE(lirc,
+   [  --disable-lirc		lirc support (default enable)])
+ if test x$enable_lirc != xno
+ then
+   if test x$have_lirc = "xyes"
+   then
+     PLUGINS="${PLUGINS} lirc"
+     LIB="${LIB} -llirc_client"
+   fi
+ fi
+ 
  dnl
  dnl  ALSA module
diff --new-file -C2 -r vlc-0.2.92/doc/lirc/example.lircrc vlc-0.2.92-lirc/doc/lirc/example.lircrc
*** vlc-0.2.92/doc/lirc/example.lircrc	Thu Jan  1 01:00:00 1970
--- vlc-0.2.92-lirc/doc/lirc/example.lircrc	Sun Feb  3 13:33:37 2002
***************
*** 0 ****
--- 1,48 ----
+ begin
+   prog = vlc
+   button = PLAY_UP
+   config = PLAY
+   config = PAUSE
+ end
+ 
+ begin
+   prog = vlc
+   button = STOP_UP
+   config = STOP
+ end
+ 
+ begin
+   prog = vlc
+   button = POWER_UP
+   config = QUIT
+ end
+ 
+ begin
+   prog = vlc
+   button = SKIP_FORWARD_UP
+   config = NEXT
+ end
+ 
+ begin
+   prog = vlc
+   button = SKIP_BACKWARD
+   config = LAST
+ end
+ 
+ begin
+   prog = vlc
+   button = RED_BUTTON_UP
+   config = FULLSCREEN
+ end
+ 
+ begin
+   prog = vlc
+   button = REWIND_UP
+   config = SLOW
+ end
+ 
+ begin
+   prog = vlc
+   button = FORWARD_UP
+   config = FAST
+ end
diff --new-file -C2 -r vlc-0.2.92/include/config.h vlc-0.2.92-lirc/include/config.h
*** vlc-0.2.92/include/config.h	Thu Jan  1 01:00:00 1970
--- vlc-0.2.92-lirc/include/config.h	Sun Feb  3 13:34:32 2002
***************
*** 0 ****
--- 1,517 ----
+ /*****************************************************************************
+  * config.h: limits and configuration
+  * Defines all compilation-time configuration constants and size limits
+  *****************************************************************************
+  * Copyright (C) 1999, 2000, 2001 VideoLAN
+  *
+  * Authors: Vincent Seguin <seguin@via.ecp.fr>
+  *          Samuel Hocevar <sam@via.ecp.fr>
+  *
+  * This program is free software; you can redistribute it and/or modify
+  * it under the terms of the GNU General Public License as published by
+  * the Free Software Foundation; either version 2 of the License, or
+  * (at your option) any later version.
+  * 
+  * This program is distributed in the hope that it will be useful,
+  * but WITHOUT ANY WARRANTY; without even the implied warranty of
+  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  * GNU General Public License for more details.
+  *
+  * You should have received a copy of the GNU General Public License
+  * along with this program; if not, write to the Free Software
+  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
+  *****************************************************************************/
+ 
+ /* Conventions regarding names of symbols and variables
+  * ----------------------------------------------------
+  *
+  * - Symbols should begin with a prefix indicating in which module they are
+  *   used, such as INTF_, VOUT_ or ADEC_.
+  *
+  * - Regarding environment variables, which are used as initialization
+  *  parameters for threads :
+  *   + variable names should end with '_VAR'
+  *   + environment variable default value should end with '_DEFAULT'
+  *   + values having a special meaning with '_VAL'
+  *
+  */
+ 
+ #ifdef HAVE_CONFIG_H
+ #else
+ #define HAVE_CONFIG_H
+ 
+ /*****************************************************************************
+  * Program information
+  *****************************************************************************/
+ 
+ /* Program version and copyright message */
+ #define VERSION_MESSAGE     "vlc 0.2.92_2002-02-03 Ourumov " \
+                           /* "(" PROGRAM_BUILD ") (" PROGRAM_OPTIONS ")\n" */ \
+                             "Copyright 1996-2001 VideoLAN\n"
+ #define COPYRIGHT_MESSAGE   "VideoLAN Client - version 0.2.92_2002-02-03" \
+                             " Ourumov - (C)1996-2001 VideoLAN"
+ 
+ #define VERSION             "0.2.92_2002-02-03"
+ 
+ /*****************************************************************************
+  * Debugging options - define or undefine symbols
+  *****************************************************************************/
+ #ifdef TRACE
+ /* General trace support, which depends of the TRACE define, is determined
+  * in the Makefile */
+ 
+ /* Modules specific debugging - this will produce a lot of output, but can be
+  * useful to track a bug */
+ //#define TRACE_INTF
+ //#define TRACE_INPUT
+ //#define TRACE_AUDIO
+ #define TRACE_VOUT
+ #define TRACE_VPAR
+ 
+ /* Trace log file - if defined, a file can be used to store all messages. If
+  * TRACE_LOG_ONLY is defined, debug messages will only be printed to the log and
+  * will not appear on the screen */
+ #define TRACE_LOG                       "vlc-trace.log"
+ #define TRACE_LOG_ONLY
+ 
+ #endif
+ 
+ /*****************************************************************************
+  * General configuration
+  *****************************************************************************/
+ 
+ #define CLOCK_FREQ 1000000
+ 
+ 
+ /* Automagically spawn audio and video decoder threads */
+ #define AUTO_SPAWN
+ 
+ /* When creating or destroying threads in blocking mode, delay to poll thread
+  * status */
+ #define THREAD_SLEEP                    ((int)(0.010*CLOCK_FREQ))
+ 
+ /* When a thread waits on a condition in debug mode, delay to wait before
+  * outputting an error message (in second) */
+ #define THREAD_COND_TIMEOUT				5
+ 
+ /* Environment variable containing the memcpy method */
+ #define MEMCPY_METHOD_VAR               "vlc_memcpy"
+ 
+ /*
+  * Paths
+  */
+ 
+ #define DATA_PATH                       "/usr/local/share/videolan"
+ #define PLUGIN_PATH                     "/usr/local/lib/videolan/vlc"
+ 
+ #define MAX_PLUGIN_COUNT                32
+ 
+ /*****************************************************************************
+  * Interface configuration
+  *****************************************************************************/
+ 
+ /* Environment variable containing the display method */
+ #define INTF_METHOD_VAR                 "vlc_intf"
+ #define INTF_METHOD_DEFAULT             "gtk"
+ 
+ /* Environment variable used to store startup script name and default value */
+ #define INTF_INIT_SCRIPT_VAR            "vlcrc"
+ #define INTF_INIT_SCRIPT_DEFAULT        ".vlcrc"
+ 
+ /* Environment variable used to store channels file and default value */
+ #define INTF_CHANNELS_VAR               "vlc_channels"
+ #define INTF_CHANNELS_DEFAULT           "vlc.channels"
+ 
+ /* Base delay in micro second for interface sleeps */
+ #define INTF_IDLE_SLEEP                 ((int)(0.050*CLOCK_FREQ))
+ 
+ /* Step for changing gamma, and minimum and maximum values */
+ #define INTF_GAMMA_STEP                 .1
+ #define INTF_GAMMA_LIMIT                3
+ 
+ /* Maximum number of channels */
+ #define INTF_MAX_CHANNELS               10
+ 
+ /* Default search path for interface file browser */
+ #define INTF_PATH_VAR                   "vlc_search_path"
+ #define INTF_PATH_DEFAULT               ""
+ 
+ /* Environment variable containing the standard output method */
+ #define INTF_STDOUT_VAR                 "vlc_stdout"
+ #define INTF_STDOUT_DEFAULT             ""
+ 
+ /*****************************************************************************
+  * Input thread configuration
+  *****************************************************************************/
+ 
+ /* Environment variable containing the input method */
+ #define INPUT_METHOD_VAR                "vlc_input"
+ #define INPUT_METHOD_DEFAULT            "ps"
+ 
+ /* XXX?? */
+ #define INPUT_IDLE_SLEEP                ((int)(0.100*CLOCK_FREQ))
+ 
+ /*
+  * General limitations
+  */
+ 
+ /* Maximum number of input threads - this value is used exclusively by
+  * interface, and is in fact an interface limitation */
+ #define INPUT_MAX_THREADS               10
+ 
+ /* Maximum size of a data packet (128 kB) */
+ #define INPUT_MAX_PACKET_SIZE           131072
+ 
+ /* Maximum length of a pre-parsed chunk (4 MB) */
+ #define INPUT_PREPARSE_LENGTH           4194304
+ 
+ /* Maximum length of a hostname or source name */
+ #define INPUT_MAX_SOURCE_LENGTH         100
+ 
+ /* Maximum memory the input is allowed to use (20 MB) */
+ #define INPUT_MAX_ALLOCATION            20971520
+ 
+ /* Default network protocol */
+ #define INPUT_NETWORK_PROTOCOL_VAR      "vlc_network_protocol"
+ #define INPUT_NETWORK_PROTOCOL_DEFAULT  "ts"
+ 
+ /* Default input port */
+ #define INPUT_PORT_VAR                  "vlc_server_port"
+ #define INPUT_PORT_DEFAULT              1234
+ 
+ /* FIXME : Delete those ! */
+ /* Default remote server */
+ #define INPUT_SERVER_VAR                "vlc_server"
+ #define INPUT_SERVER_DEFAULT            "138.195.143.220"
+ 
+ /* Broadcast mode */
+ #define INPUT_BROADCAST_VAR             "vlc_broadcast"
+ #define INPUT_BROADCAST_DEFAULT         0
+ 
+ /* Default broadcast address */
+ #define INPUT_BCAST_ADDR_VAR            "vlc_broadcast_addr"
+ #define INPUT_BCAST_ADDR_DEFAULT        "138.195.143.255"
+ 
+ /* Channels mode */
+ #define INPUT_NETWORK_CHANNEL_VAR       "vlc_channel"
+ #define INPUT_NETWORK_CHANNEL_DEFAULT   0
+ 
+ /*
+  * Channel method
+  */
+ 
+ /* Default network interface and environment variable */
+ #define INPUT_IFACE_VAR                 "vlc_iface"
+ #define INPUT_IFACE_DEFAULT             "eth0"
+ 
+ /* Default server and port */
+ #define INPUT_CHANNEL_SERVER_VAR           "vlc_channel_server"
+ #define INPUT_CHANNEL_SERVER_DEFAULT       "138.195.143.120"
+ #define INPUT_CHANNEL_PORT_VAR             "vlc_channel_port"
+ #define INPUT_CHANNEL_PORT_DEFAULT         6010
+ 
+ /* Delay between channel changes - this is required to avoid flooding the 
+  * channel server */
+ #define INPUT_CHANNEL_CHANGE_DELAY         (mtime_t)(5*CLOCK_FREQ)
+ 
+ /* Duration between the time we receive the data packet, and the time we will
+  * mark it to be presented */
+ #define DEFAULT_PTS_DELAY               (mtime_t)(.2*CLOCK_FREQ)
+ 
+ /* DVD defaults */
+ #define INPUT_DVD_DEVICE_VAR            "vlc_dvd_device"
+ #define INPUT_DVD_DEVICE_DEFAULT        "/dev/dvd"
+ 
+ #define INPUT_TITLE_VAR                 "vlc_input_title"
+ #define INPUT_CHAPTER_VAR               "vlc_input_chapter"
+ #define INPUT_ANGLE_VAR                 "vlc_input_angle"
+ #define INPUT_AUDIO_VAR                 "vlc_input_audio"
+ #define INPUT_CHANNEL_VAR               "vlc_input_channel"
+ #define INPUT_SUBTITLE_VAR              "vlc_input_subtitle"
+ 
+ /* VCD defaults */
+ #define INPUT_VCD_DEVICE_VAR            "vlc_vcd_device"
+ #define INPUT_VCD_DEVICE_DEFAULT        "/dev/cdrom"
+ 
+ /*****************************************************************************
+  * Audio configuration
+  *****************************************************************************/
+ 
+ /* Maximum number of audio output threads */
+ #define AOUT_MAX_THREADS                10
+ 
+ /* Environment variable containing the audio output method */
+ #define AOUT_METHOD_VAR                 "vlc_aout"
+ #define AOUT_METHOD_DEFAULT             "dsp"
+ 
+ /* Environment variable used to store dsp device name, and default value */
+ #define AOUT_DSP_VAR                    "vlc_dsp"
+ #define AOUT_DSP_DEFAULT                "/dev/dsp"
+ 
+ /* Default audio output format (AOUT_FMT_S16_NE = Native Endianess) */
+ #define AOUT_FORMAT_DEFAULT             AOUT_FMT_S16_NE
+ /* #define AOUT_FORMAT_DEFAULT          AOUT_FMT_S8 */
+ /* #define AOUT_FORMAT_DEFAULT          AOUT_FMT_U8 */
+ /* #define AOUT_FORMAT_DEFAULT          AOUT_FMT_S16_BE */
+ /* #define AOUT_FORMAT_DEFAULT          AOUT_FMT_S16_LE */
+ /* #define AOUT_FORMAT_DEFAULT          AOUT_FMT_U16_BE */
+ /* #define AOUT_FORMAT_DEFAULT          AOUT_FMT_U16_LE */
+ 
+ /* Environment variable for stereo, and default value */
+ #define AOUT_STEREO_VAR                 "vlc_stereo"
+ #define AOUT_STEREO_DEFAULT             1
+ 
+ /* Environment variable for spdif mode */
+ #define AOUT_SPDIF_VAR                  "vlc_spdif"
+ #define AOUT_SPDIF_DEFAULT              0
+ 
+ /* Environment variable containing the AC3 downmix method */
+ #define DOWNMIX_METHOD_VAR              "vlc_downmix"
+ 
+ /* Environment variable containing the AC3 IMDCT method */
+ #define IMDCT_METHOD_VAR                "vlc_imdct"
+ 
+ /* Volume */
+ #define VOLUME_DEFAULT                  512
+ #define VOLUME_STEP                     128
+ #define VOLUME_MAX                      1024
+ 
+ /* Environment variable for volume */
+ #define AOUT_VOLUME_VAR                 "vlc_volume"
+ 
+ /* Environment variable for output rate, and default value */
+ #define AOUT_RATE_VAR                   "vlc_audio_rate"
+ #define AOUT_RATE_DEFAULT               44100
+ 
+ /* Number of audio output frames contained in an audio output fifo.
+  * (AOUT_FIFO_SIZE + 1) must be a power of 2, in order to optimise the
+  * %(AOUT_FIFO_SIZE + 1) operation with an &AOUT_FIFO_SIZE.
+  * With 511 we have at least 511*384/2/48000=2 seconds of sound */
+ #define AOUT_FIFO_SIZE                  511
+ 
+ /* Maximum number of audio fifos. The value of AOUT_MAX_FIFOS should be a power
+  * of two, in order to optimize the '/AOUT_MAX_FIFOS' and '*AOUT_MAX_FIFOS'
+  * operations with '>>' and '<<' (gcc changes this at compilation-time) */
+ #define AOUT_MAX_FIFOS                  2
+ 
+ /* Duration (in microseconds) of an audio output buffer should be :
+  * - short, in order to be able to play a new song very quickly (especially a
+  *   song from the interface)
+  * - long, in order to perform the buffer calculations as few as possible */
+ #define AOUT_BUFFER_DURATION            100000
+ 
+ /* Environment variable for MPEG audio decoder */
+ #define ADEC_MPEG_VAR                   "vlc_mpeg_adec"
+ 
+ /*****************************************************************************
+  * Video configuration
+  *****************************************************************************/
+ 
+ /* Maximum number of video output threads */
+ #define VOUT_MAX_THREADS                10
+ 
+ /*
+  * Default settings for video output threads
+  */
+ 
+ /* Environment variable containing the display method */
+ #define VOUT_METHOD_VAR                 "vlc_vout"
+ #define VOUT_METHOD_DEFAULT             "x11"
+ 
+ /* Environment variable containing the motion compensation method */
+ #define MOTION_METHOD_VAR               "vlc_motion"
+ 
+ /* Environment variable containing the IDCT method */
+ #define IDCT_METHOD_VAR                 "vlc_idct"
+ 
+ /* Environment variable containing the YUV method */
+ #define YUV_METHOD_VAR                  "vlc_yuv"
+ 
+ /* Environment variable used in place of DISPLAY if available */
+ #define VOUT_DISPLAY_VAR                "vlc_display"
+ 
+ /* Default dimensions for display window - these dimensions are enough for the
+  * standard width and height broadcasted MPEG-2 streams or DVDs */
+ #define VOUT_WIDTH_VAR                  "vlc_width"
+ #define VOUT_WIDTH_DEFAULT              720
+ #define VOUT_HEIGHT_VAR                 "vlc_height"
+ #define VOUT_HEIGHT_DEFAULT             576
+ #define VOUT_DEPTH_VAR                  "vlc_depth"
+ #define VOUT_DEPTH_DEFAULT              15
+ 
+ /* Maximum width of a scaled source picture - this should be relatively high,
+  * since higher stream values will result in no display at all. */
+ #define VOUT_MAX_WIDTH                  4096
+ 
+ /* Video heap size - remember that a decompressed picture is big
+  * (~1 Mbyte) before using huge values */
+ #define VOUT_MAX_PICTURES               8
+ 
+ /* Number of simultaneous subpictures */
+ #define VOUT_MAX_SUBPICTURES            8
+ 
+ /* Maximum number of active areas in a rendering buffer. Active areas are areas
+  * of the picture which need to be cleared before re-using the buffer. If a
+  * picture, including its many additions such as subtitles, additionnal user
+  * informations and interface, has too many active areas, some of them are
+  * joined. */
+ #define VOUT_MAX_AREAS                  5
+ 
+ /* Environment variable for grayscale output mode, and default value */
+ #define VOUT_GRAYSCALE_VAR              "vlc_grayscale"
+ #define VOUT_GRAYSCALE_DEFAULT          0
+ 
+ /* Environment variable for fullscreen mode, and default value */
+ #define VOUT_FULLSCREEN_VAR             "vlc_fullscreen"
+ #define VOUT_FULLSCREEN_DEFAULT         0
+ 
+ /* Environment variable for overlay mode, and default value */
+ #define VOUT_OVERLAY_VAR                "vlc_overlay"
+ #define VOUT_OVERLAY_DEFAULT            0
+ 
+ /* Default gamma */
+ #define VOUT_GAMMA_VAR                  "vlc_gamma"
+ #define VOUT_GAMMA_DEFAULT              0.
+ 
+ /* Default fonts */
+ #define VOUT_DEFAULT_FONT               "default8x9.psf"
+ #define VOUT_LARGE_FONT                 "default8x16.psf"
+ 
+ /* Statistics are displayed every n loops (=~ pictures) */
+ #define VOUT_STATS_NB_LOOPS             100
+ 
+ /*
+  * Time settings
+  */
+ 
+ /* Time during which the thread will sleep if it has nothing to
+  * display (in micro-seconds) */
+ #define VOUT_IDLE_SLEEP                 ((int)(0.020*CLOCK_FREQ))
+ 
+ /* Maximum lap of time allowed between the beginning of rendering and
+  * display. If, compared to the current date, the next image is too
+  * late, the thread will perform an idle loop. This time should be
+  * at least VOUT_IDLE_SLEEP plus the time required to render a few
+  * images, to avoid trashing of decoded images */
+ #define VOUT_DISPLAY_DELAY              ((int)(0.500*CLOCK_FREQ))
+ 
+ /* Delay (in microseconds) before an idle screen is displayed */
+ #define VOUT_IDLE_DELAY                 (5*CLOCK_FREQ)
+ 
+ /* Number of pictures required to computes the FPS rate */
+ #define VOUT_FPS_SAMPLES                20
+ 
+ /* Better be in advance when awakening than late... */
+ #define VOUT_MWAIT_TOLERANCE            ((int)(0.020*CLOCK_FREQ))
+ 
+ /* Time to sleep when waiting for a buffer (from vout or the video fifo).
+  * It should be approximately the time needed to perform a complete picture
+  * loop. Since it only happens when the video heap is full, it does not need
+  * to be too low, even if it blocks the decoder. */
+ #define VOUT_OUTMEM_SLEEP               ((int)(0.020*CLOCK_FREQ))
+ 
+ /* The default video output window title */
+ #define VOUT_TITLE                      "VideoLAN Client 0.2.92_2002-02-03"
+ 
+ /* Environment variable for framebuffer device, and default value */
+ #define VOUT_FB_DEV_VAR                 "vlc_fb_dev"
+ #define VOUT_FB_DEV_DEFAULT             "/dev/fb0"
+ 
+ /* Environment variable for XVideo adaptor, and default value */
+ #define VOUT_XVADAPTOR_VAR              "vlc_xv_adaptor"
+ 
+ /*****************************************************************************
+  * Video parser configuration
+  *****************************************************************************/
+ 
+ #define VPAR_IDLE_SLEEP                 ((int)(0.010*CLOCK_FREQ))
+ 
+ /* Optimization level, from 0 to 2 - 1 is generally a good compromise. Remember
+  * that raising this level dramatically lengthens the compilation time. */
+ #ifdef RELEASE
+ #   define VPAR_OPTIM_LEVEL             2
+ #else
+ #   define VPAR_OPTIM_LEVEL             1
+ #endif
+ 
+ /* Maximum number of macroblocks in a picture. */
+ #define MAX_MB                          2048
+ 
+ /* The synchro variable name */
+ #define VPAR_SYNCHRO_VAR                "vlc_synchro"
+ 
+ /*****************************************************************************
+  * Video decoder configuration
+  *****************************************************************************/
+ 
+ #define VDEC_IDLE_SLEEP                 ((int)(0.100*CLOCK_FREQ))
+ 
+ /* Maximum range of values out of the IDCT + motion compensation. */
+ #define VDEC_CROPRANGE                  2048
+ 
+ /* Environment variable containing the SMP value. */
+ #define VDEC_SMP_VAR                   "vlc_smp"
+ 
+ /* No SMP by default, since it slows down things on non-smp machines. */
+ #define VDEC_SMP_DEFAULT                0
+ 
+ /* Nice increments for decoders -- necessary for x11 scheduling */
+ #define VDEC_NICE                       3
+ 
+ /*****************************************************************************
+  * Messages and console interfaces configuration
+  *****************************************************************************/
+ 
+ /* Maximal size of a message to be stored in the mesage queue,
+  * it is needed when vasprintf is not avalaible */
+ #define INTF_MAX_MSG_SIZE              512
+ 
+ /* Maximal size of the message queue - in case of overflow, all messages in the
+  * queue are printed by the calling thread */
+ #define INTF_MSG_QSIZE                  64
+ 
+ /* Interface warnig message level */
+ #define INTF_WARNING_VAR                "vlc_warning_level"
+ #define INTF_WARNING_DEFAULT            0
+ 
+ /* Define to enable messages queues - disabling messages queue can be useful
+  * when debugging, since it allows messages which would not be printed
+  * due to a crash to be printed anyway */
+ #ifndef DEBUG
+ #define INTF_MSG_QUEUE
+ #endif
+ 
+ /* Format of the header for debug messages. The arguments following this header
+  * are the file (char *), the function (char *) and the line (int) in which the
+  * message function was called */
+ #define INTF_MSG_DBG_FORMAT             "## %s:%s(),%i: "
+ 
+ /* Max number of arguments on a command line, including the function name */
+ #define INTF_MAX_ARGS                   20
+ 
+ /* Maximal size of a command line in a script */
+ #define INTF_MAX_CMD_SIZE               240
+ 
+ /* Number of memorized lines in console window text zone */
+ #define INTF_CONSOLE_MAX_TEXT           100
+ 
+ /* Maximal number of commands which can be saved in history list */
+ #define INTF_CONSOLE_MAX_HISTORY        20
+ 
+ /****************************************************************************
+  * Playlist defaults
+  ****************************************************************************/
+ 
+ /* Launch on start-up */
+ #define PLAYLIST_STARTUP_VAR            "vlc_playlist_on_start_up"
+ #define PLAYLIST_STARTUP_DEFAULT        0
+ 
+ /* Enqueue drag'n dropped item */
+ #define PLAYLIST_ENQUEUE_VAR            "vlc_playlist_enqueue"
+ #define PLAYLIST_ENQUEUE_DEFAULT        0
+ 
+ /* Loop on playlist end */
+ #define PLAYLIST_LOOP_VAR               "vlc_playlist_loop"
+ #define PLAYLIST_LOOP_DEFAULT           0
+ 
+ #endif
diff --new-file -C2 -r vlc-0.2.92/include/defs.h vlc-0.2.92-lirc/include/defs.h
*** vlc-0.2.92/include/defs.h	Thu Jan  1 01:00:00 1970
--- vlc-0.2.92-lirc/include/defs.h	Sun Feb  3 13:34:14 2002
***************
*** 0 ****
--- 1,262 ----
+ /* include/defs.h.  Generated automatically by configure.  */
+ /* include/defs.h.in.  Generated automatically from configure.in by autoheader 2.13.  */
+ 
+ /* Define to empty if the keyword does not work.  */
+ /* #undef const */
+ 
+ /* Define if you have a working `mmap' system call.  */
+ #define HAVE_MMAP 1
+ 
+ /* Define as the return type of signal handlers (int or void).  */
+ #define RETSIGTYPE void
+ 
+ /* Define to `unsigned' if <sys/types.h> doesn't define.  */
+ /* #undef size_t */
+ 
+ /* Define if you have the ANSI C header files.  */
+ #define STDC_HEADERS 1
+ 
+ /* Define if you can safely include both <sys/time.h> and <time.h>.  */
+ #define TIME_WITH_SYS_TIME 1
+ 
+ /* Define if your processor stores words with the most significant
+    byte first (like Motorola and SPARC, unlike Intel and VAX).  */
+ /* #undef WORDS_BIGENDIAN */
+ 
+ /* Define if you have the getpagesize function.  */
+ #define HAVE_GETPAGESIZE 1
+ 
+ /* Define if you have the gettimeofday function.  */
+ #define HAVE_GETTIMEOFDAY 1
+ 
+ /* Define if you have the memalign function.  */
+ #define HAVE_MEMALIGN 1
+ 
+ /* Define if you have the putenv function.  */
+ #define HAVE_PUTENV 1
+ 
+ /* Define if you have the select function.  */
+ #define HAVE_SELECT 1
+ 
+ /* Define if you have the setenv function.  */
+ #define HAVE_SETENV 1
+ 
+ /* Define if you have the sigrelse function.  */
+ #define HAVE_SIGRELSE 1
+ 
+ /* Define if you have the strerror function.  */
+ #define HAVE_STRERROR 1
+ 
+ /* Define if you have the strtod function.  */
+ #define HAVE_STRTOD 1
+ 
+ /* Define if you have the strtol function.  */
+ #define HAVE_STRTOL 1
+ 
+ /* Define if you have the swab function.  */
+ #define HAVE_SWAB 1
+ 
+ /* Define if you have the usleep function.  */
+ #define HAVE_USLEEP 1
+ 
+ /* Define if you have the valloc function.  */
+ #define HAVE_VALLOC 1
+ 
+ /* Define if you have the vasprintf function.  */
+ #define HAVE_VASPRINTF 1
+ 
+ /* Define if you have the </sys/dev/scsi/scsi_ioctl.h> header file.  */
+ /* #undef HAVE__SYS_DEV_SCSI_SCSI_IOCTL_H */
+ 
+ /* Define if you have the <Cocoa/Cocoa.h> header file.  */
+ /* #undef HAVE_COCOA_COCOA_H */
+ 
+ /* Define if you have the <Ph.h> header file.  */
+ /* #undef HAVE_PH_H */
+ 
+ /* Define if you have the <X11/Xlib.h> header file.  */
+ #define HAVE_X11_XLIB_H 1
+ 
+ /* Define if you have the <X11/extensions/Xv.h> header file.  */
+ #define HAVE_X11_EXTENSIONS_XV_H 1
+ 
+ /* Define if you have the <arpa/inet.h> header file.  */
+ #define HAVE_ARPA_INET_H 1
+ 
+ /* Define if you have the <cthreads.h> header file.  */
+ /* #undef HAVE_CTHREADS_H */
+ 
+ /* Define if you have the <directx.h> header file.  */
+ /* #undef HAVE_DIRECTX_H */
+ 
+ /* Define if you have the <dlfcn.h> header file.  */
+ #define HAVE_DLFCN_H 1
+ 
+ /* Define if you have the <dvd.h> header file.  */
+ /* #undef HAVE_DVD_H */
+ 
+ /* Define if you have the <fcntl.h> header file.  */
+ #define HAVE_FCNTL_H 1
+ 
+ /* Define if you have the <gdk/gdk.h> header file.  */
+ #define HAVE_GDK_GDK_H 1
+ 
+ /* Define if you have the <getopt.h> header file.  */
+ #define HAVE_GETOPT_H 1
+ 
+ /* Define if you have the <glib.h> header file.  */
+ #define HAVE_GLIB_H 1
+ 
+ /* Define if you have the <gnome.h> header file.  */
+ /* #undef HAVE_GNOME_H */
+ 
+ /* Define if you have the <gtk/gtk.h> header file.  */
+ #define HAVE_GTK_GTK_H 1
+ 
+ /* Define if you have the <image.h> header file.  */
+ /* #undef HAVE_IMAGE_H */
+ 
+ /* Define if you have the <kernel/OS.h> header file.  */
+ /* #undef HAVE_KERNEL_OS_H */
+ 
+ /* Define if you have the <kernel/scheduler.h> header file.  */
+ /* #undef HAVE_KERNEL_SCHEDULER_H */
+ 
+ /* Define if you have the <linux/cdrom.h> header file.  */
+ #define HAVE_LINUX_CDROM_H 1
+ 
+ /* Define if you have the <machine/param.h> header file.  */
+ /* #undef HAVE_MACHINE_PARAM_H */
+ 
+ /* Define if you have the <machine/soundcard.h> header file.  */
+ /* #undef HAVE_MACHINE_SOUNDCARD_H */
+ 
+ /* Define if you have the <mad.h> header file.  */
+ /* #undef HAVE_MAD_H */
+ 
+ /* Define if you have the <net/if.h> header file.  */
+ #define HAVE_NET_IF_H 1
+ 
+ /* Define if you have the <netinet/in.h> header file.  */
+ #define HAVE_NETINET_IN_H 1
+ 
+ /* Define if you have the <pthread.h> header file.  */
+ #define HAVE_PTHREAD_H 1
+ 
+ /* Define if you have the <stddef.h> header file.  */
+ #define HAVE_STDDEF_H 1
+ 
+ /* Define if you have the <strings.h> header file.  */
+ #define HAVE_STRINGS_H 1
+ 
+ /* Define if you have the <sys/cdio.h> header file.  */
+ /* #undef HAVE_SYS_CDIO_H */
+ 
+ /* Define if you have the <sys/dvdio.h> header file.  */
+ /* #undef HAVE_SYS_DVDIO_H */
+ 
+ /* Define if you have the <sys/ioctl.h> header file.  */
+ #define HAVE_SYS_IOCTL_H 1
+ 
+ /* Define if you have the <sys/socket.h> header file.  */
+ #define HAVE_SYS_SOCKET_H 1
+ 
+ /* Define if you have the <sys/sockio.h> header file.  */
+ /* #undef HAVE_SYS_SOCKIO_H */
+ 
+ /* Define if you have the <sys/soundcard.h> header file.  */
+ #define HAVE_SYS_SOUNDCARD_H 1
+ 
+ /* Define if you have the <sys/time.h> header file.  */
+ #define HAVE_SYS_TIME_H 1
+ 
+ /* Define if you have the <sys/times.h> header file.  */
+ #define HAVE_SYS_TIMES_H 1
+ 
+ /* Define if you have the <unistd.h> header file.  */
+ #define HAVE_UNISTD_H 1
+ 
+ /* Define if you have the <winioctl.h> header file.  */
+ /* #undef HAVE_WINIOCTL_H */
+ 
+ /* Define if you have the mad library (-lmad).  */
+ /* #undef HAVE_LIBMAD */
+ 
+ /* Define if you have the pth library (-lpth).  */
+ /* #undef HAVE_LIBPTH */
+ 
+ /* css decryption with player keys */
+ /* #undef HAVE_CSSKEYS */
+ 
+ /* long getopt support */
+ #define HAVE_GETOPT_LONG 1
+ 
+ /* getopt support */
+ #define HAVE_GETOPT_LONG 1
+ 
+ /* Define if <pthread.h> defines pthread_cond_t. */
+ #define PTHREAD_COND_T_IN_PTHREAD_H 1
+ 
+ /* Define if <strings.h> defines strncasecmp. */
+ #define STRNCASECMP_IN_STRINGS_H 1
+ 
+ /* Define if <sys/param.h> defines ntohl. */
+ /* #undef NTOHL_IN_SYS_PARAM_H */
+ 
+ /* Maximum supported data alignment */
+ #define ATTRIBUTE_ALIGNED_MAX 64
+ 
+ /* Define if <sys/types.h> defines boolean_t. */
+ /* #undef BOOLEAN_T_IN_SYS_TYPES_H */
+ 
+ /* Define if <pthread.h> defines boolean_t. */
+ /* #undef BOOLEAN_T_IN_PTHREAD_H */
+ 
+ /* Define if <cthreads.h> defines boolean_t. */
+ /* #undef BOOLEAN_T_IN_CTHREADS_H */
+ 
+ /* Define if $CC groks 3D Now! inline assembly. */
+ #define CAN_COMPILE_3DNOW 1
+ 
+ /* Define if $CC groks SSE inline assembly. */
+ #define CAN_COMPILE_SSE 1
+ 
+ /* Define if $CC groks ALTIVEC inline assembly. */
+ /* #undef CAN_COMPILE_ALTIVEC */
+ 
+ /* Define if your compiler groks C altivec extensions. */
+ /* #undef CAN_COMPILE_C_ALTIVEC */
+ 
+ /* Define if <sys/cdio.h> defines dvd_struct. */
+ /* #undef DVD_STRUCT_IN_SYS_CDIO_H */
+ 
+ /* Define if <sys/dvdio.h> defines dvd_struct. */
+ /* #undef DVD_STRUCT_IN_SYS_DVDIO_H */
+ 
+ /* Define if <linux/cdrom.h> defines DVD_STRUCT. */
+ #define DVD_STRUCT_IN_LINUX_CDROM_H 1
+ 
+ /* Define if <dvd.h> defines DVD_STRUCT. */
+ /* #undef DVD_STRUCT_IN_DVD_H */
+ 
+ /* Define if <extras/BSDI_dvdioctl/dvd.h> defines DVD_STRUCT. */
+ /* #undef DVD_STRUCT_IN_BSDI_DVDIOCTL_DVD_H */
+ 
+ /* Have userspace SCSI headers. */
+ /* #undef SOLARIS_USCSI */
+ 
+ /* Define if Linux-like dvd_struct is defined. */
+ #define HAVE_LINUX_DVD_STRUCT 1
+ 
+ /* Define if OpenBSD-like dvd_struct is defined. */
+ /* #undef HAVE_OPENBSD_DVD_STRUCT */
+ 
+ /* Define if FreeBSD-like dvd_struct is defined. */
+ /* #undef HAVE_BSD_DVD_STRUCT */
+ 
+ /* Define if <pth.h> defines pth_init */
+ /* #undef PTH_INIT_IN_PTH_H */
+ 
+ /* Indicate whether we should use SDL/SDL.h or SDL11/SDL.h */
+ #define SDL_INCLUDE_FILE <SDL/SDL.h>
+ 
diff --new-file -C2 -r vlc-0.2.92/plugins/lirc/Makefile vlc-0.2.92-lirc/plugins/lirc/Makefile
*** vlc-0.2.92/plugins/lirc/Makefile	Thu Jan  1 01:00:00 1970
--- vlc-0.2.92-lirc/plugins/lirc/Makefile	Sun Feb  3 13:32:49 2002
***************
*** 0 ****
--- 1,31 ----
+ ###############################################################################
+ # vlc (VideoLAN Client) dummy and null module makefile
+ # (c)2001 VideoLAN
+ ###############################################################################
+ 
+ #
+ # Objects
+ #
+ 
+ PLUGIN_LIRC = intf_lirc.o lirc.o
+ BUILTIN_LIRC = $(PLUGIN_LIRC:%.o=BUILTIN_%.o)
+ PLUGIN_C = $(PLUGIN_LIRC)
+ BUILTIN_C = $(BUILTIN_LIRC)
+ ALL_OBJ = $(PLUGIN_C) $(BUILTIN_C)
+ 
+ #
+ # Virtual targets
+ #
+ 
+ include ../../Makefile.modules
+ 
+ #
+ # Real targets
+ #
+ 
+ ../lirc.so: $(PLUGIN_LIRC)
+ 	$(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) -llirc_client 
+ 
+ ../lirc.a: $(BUILTIN_LIRC)
+ 	ar r $@ $^
+ 	$(RANLIB) $@
diff --new-file -C2 -r vlc-0.2.92/plugins/lirc/intf_lirc.c vlc-0.2.92-lirc/plugins/lirc/intf_lirc.c
*** vlc-0.2.92/plugins/lirc/intf_lirc.c	Thu Jan  1 01:00:00 1970
--- vlc-0.2.92-lirc/plugins/lirc/intf_lirc.c	Sun Feb  3 13:32:49 2002
***************
*** 0 ****
--- 1,279 ----
+ /*****************************************************************************
+  * intf_lirc.c: remotecontrol interface plugin
+  *****************************************************************************
+  * Copyright (C) 2000, 2001 VideoLAN
+  * $Id: intf_dummy.c,v 1.12 2001/12/07 18:33:07 sam Exp $
+  *
+  * Authors: Sigmund Augdal (sigmunau@idi.ntnu.no)
+  *
+  * This program is free software; you can redistribute it and/or modify
+  * it under the terms of the GNU General Public License as published by
+  * the Free Software Foundation; either version 2 of the License, or
+  * (at your option) any later version.
+  * 
+  * This program is distributed in the hope that it will be useful,
+  * but WITHOUT ANY WARRANTY; without even the implied warranty of
+  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  * GNU General Public License for more details.
+  *
+  * You should have received a copy of the GNU General Public License
+  * along with this program; if not, write to the Free Software
+  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
+  *****************************************************************************/
+ 
+ #define MODULE_NAME lirc
+ #include "modules_inner.h"
+ 
+ /*****************************************************************************
+  * Preamble
+  *****************************************************************************/
+ #include "defs.h"
+ 
+ #include <stdlib.h>                                      /* malloc(), free() */
+ #include <string.h>
+ 
+ #include "common.h"
+ #include "intf_msg.h"
+ #include "threads.h"
+ #include "mtime.h"
+ #include "tests.h"
+ 
+ #include "stream_control.h"
+ #include "input_ext-intf.h"
+ #include "intf_msg.h"
+ #include "interface.h"
+ #include "intf_playlist.h"
+ 
+ #include "video.h"
+ #include "video_output.h"
+ 
+ #include "modules.h"
+ #include "modules_export.h"
+ #include <lirc/lirc_client.h>
+ 
+ /*****************************************************************************
+  * intf_sys_t: description and status of FB interface
+  *****************************************************************************/
+ typedef struct intf_sys_s
+ {
+     struct lirc_config *config;
+     vlc_mutex_t         change_lock;
+ } intf_sys_t;
+ 
+ /*****************************************************************************
+  * Local prototypes.
+  *****************************************************************************/
+ static int  intf_Probe     ( probedata_t *p_data );
+ static int  intf_Open      ( intf_thread_t *p_intf );
+ static void intf_Close     ( intf_thread_t *p_intf );
+ static void intf_Run       ( intf_thread_t *p_intf );
+ 
+ /*****************************************************************************
+  * Functions exported as capabilities. They are declared as static so that
+  * we don't pollute the namespace too much.
+  *****************************************************************************/
+ void _M( intf_getfunctions )( function_list_t * p_function_list )
+ {
+     p_function_list->pf_probe = intf_Probe;
+     p_function_list->functions.intf.pf_open  = intf_Open;
+     p_function_list->functions.intf.pf_close = intf_Close;
+     p_function_list->functions.intf.pf_run   = intf_Run;
+ }
+ 
+ /*****************************************************************************
+  * intf_Probe: probe the interface and return a score
+  *****************************************************************************
+  * This function tries to initialize Gnome and returns a score to the
+  * plugin manager so that it can select the best plugin.
+  *****************************************************************************/
+ static int intf_Probe( probedata_t *p_data )
+ {
+     intf_Msg("Probing lirc module");
+     if( TestMethod( INTF_METHOD_VAR, "lirc" ) )
+     {
+         return( 999 );
+     }
+ 
+     return( 8 );
+ }
+ 
+ /*****************************************************************************
+  * intf_Open: initialize dummy interface
+  *****************************************************************************/
+ static int intf_Open( intf_thread_t *p_intf )
+ {
+     /* Non-buffered stdout */
+     setvbuf( stdout, (char *)NULL, _IOLBF, 0 );
+ 
+     /* Allocate instance and initialize some members */
+     p_intf->p_sys = malloc( sizeof( intf_sys_t ) );
+     if( p_intf->p_sys == NULL )
+     {
+ 	intf_ErrMsg("no mem?");
+         return( 1 );
+     };
+ 
+     if(lirc_init("vlc", 1)==-1) 
+ 	{
+ 	    intf_ErrMsg("lirc failed to initilize");
+ 	    return (1);
+ 	}
+ 
+     if(lirc_readconfig(NULL,&p_intf->p_sys->config,NULL)!=0) {
+ 	intf_ErrMsg("lirc_readconfig faild");
+ 	return(1);
+     }
+     return( 0 );
+ }
+ 
+ /*****************************************************************************
+  * intf_Close: destroy dummy interface
+  *****************************************************************************/
+ static void intf_Close( intf_thread_t *p_intf )
+ {
+     /* Destroy structure */
+     intf_ErrMsg("closing lirc-plugin");
+     lirc_freeconfig(p_intf->p_sys->config);
+     lirc_deinit();
+     free( p_intf->p_sys );
+ }
+ 
+ 
+ /*****************************************************************************
+  * intf_Run: main loop
+  *****************************************************************************/
+ static void intf_Run( intf_thread_t *p_intf )
+ {
+     intf_Msg("%i items in playlist", p_main->p_playlist->i_size);
+     while( !p_intf->b_die )
+     {
+         char *code;
+ 	char *c;
+ 	int ret;
+ 	p_intf->pf_manage( p_intf );
+ 	/* Manage core vlc functions through the callback */
+ 	while (!p_intf->b_die && lirc_nextcode(&code)==0 ) {
+ 	    if(code==NULL) continue;
+ 	    while ((ret=lirc_code2char(p_intf->p_sys->config,code,&c))==0 && c!=NULL &&  !p_intf->b_die ) {
+ 		intf_Msg("Got config \"%s\"\n",c);
+ 		//handle configstrings from .lircrc
+ 
+ 		if (!strcmp(c,"PLAY")) {
+ 		    if( p_intf->p_input != NULL )
+ 			{
+ 			    input_SetStatus( p_intf->p_input, INPUT_STATUS_PLAY );
+ 			    p_main->p_playlist->b_stopped = 0;
+ 			}
+ 		    else
+ 			{
+ 			    vlc_mutex_lock( &p_main->p_playlist->change_lock );
+ 
+ 			    if( p_main->p_playlist->b_stopped )
+ 				{
+ 				    if( p_main->p_playlist->i_size )
+ 					{
+ 					    vlc_mutex_unlock( &p_main->p_playlist->change_lock );
+ 					    intf_PlaylistJumpto( p_main->p_playlist,
+ 								 p_main->p_playlist->i_index );
+ 					}
+ 				}
+ 			    else
+ 				{
+ 
+ 				    vlc_mutex_unlock( &p_main->p_playlist->change_lock );
+ 				}
+ 
+ 			}
+ 		}
+ 
+ 		if (!strcmp(c,"PAUSE")) {
+ 		    if( p_intf->p_input != NULL )
+ 			{
+ 			    input_SetStatus( p_intf->p_input, INPUT_STATUS_PAUSE );
+ 			    
+ 			    vlc_mutex_lock( &p_main->p_playlist->change_lock );
+ 			    p_main->p_playlist->b_stopped = 0;
+ 			    vlc_mutex_unlock( &p_main->p_playlist->change_lock );
+ 			}
+ 		}
+ 
+ 		if (!strcmp(c,"NEXT")) {
+ 		    if (p_intf->p_input != NULL) {
+ 			p_intf->p_input->b_eof = 1;
+ 		    }
+ 		}
+ 
+ 		if (!strcmp(c,"LAST")) {
+ 		    if (p_intf->p_input != NULL) {
+ 			/* FIXME: temporary hack */
+ 			intf_PlaylistPrev( p_main->p_playlist );
+ 			intf_PlaylistPrev( p_main->p_playlist );
+ 			p_intf->p_input->b_eof = 1;
+ 		    }
+ 		}
+ 
+ 		if (!strcmp(c,"STOP")) {
+ 		    if( p_intf->p_input != NULL )
+ 			{
+ 			    /* end playing item */
+ 			    p_intf->p_input->b_eof = 1;
+ 			    
+ 			    /* update playlist */
+ 			    vlc_mutex_lock( &p_main->p_playlist->change_lock );
+ 			    
+ 			    p_main->p_playlist->i_index--;
+ 			    p_main->p_playlist->b_stopped = 1;
+ 			    
+ 			    vlc_mutex_unlock( &p_main->p_playlist->change_lock );
+ 			    
+ 			}
+ 		}
+ 
+ 		if (!strcmp(c,"QUIT")) {
+ 		    p_intf->b_die = 1;
+ 		}
+ 
+ 		if (!strcmp(c,"FULLSCREEN")) {
+ 		    vlc_mutex_lock( &p_vout_bank->lock );
+ 		    /* XXX: only fullscreen the first video output */
+ 		    if( p_vout_bank->i_count )
+ 			{
+ 			    p_vout_bank->pp_vout[0]->i_changes
+ 				|= VOUT_FULLSCREEN_CHANGE;
+ 			}
+ 		    vlc_mutex_unlock( &p_vout_bank->lock );
+ 		}
+ 
+ 		if (!strcmp(c,"FAST")) {
+ 		    if( p_intf->p_input != NULL )
+ 			{
+ 			    input_SetStatus( p_intf->p_input, INPUT_STATUS_FASTER );
+ 			    
+ 			    vlc_mutex_lock( &p_main->p_playlist->change_lock );
+ 			    p_main->p_playlist->b_stopped = 0;
+ 			    vlc_mutex_unlock( &p_main->p_playlist->change_lock );
+ 			}
+ 		    
+ 		}
+ 
+ 		if(!strcmp(c,"SLOW")) {
+ 		    if( p_intf->p_input != NULL )
+ 			{
+ 			    input_SetStatus( p_intf->p_input, INPUT_STATUS_SLOWER );
+ 			    
+ 			    vlc_mutex_lock( &p_main->p_playlist->change_lock );
+ 			    p_main->p_playlist->b_stopped = 0;
+ 			    vlc_mutex_unlock( &p_main->p_playlist->change_lock );
+ 			}
+ 		}
+ 	    }
+ 
+ 	    p_intf->pf_manage( p_intf );
+ 	    free(code);
+ 	    if(ret==-1) break;
+ 	}
+ 	
+     }
+     
+ }
+ 
diff --new-file -C2 -r vlc-0.2.92/plugins/lirc/lirc.c vlc-0.2.92-lirc/plugins/lirc/lirc.c
*** vlc-0.2.92/plugins/lirc/lirc.c	Thu Jan  1 01:00:00 1970
--- vlc-0.2.92-lirc/plugins/lirc/lirc.c	Sun Feb  3 13:32:49 2002
***************
*** 0 ****
--- 1,74 ----
+ /*****************************************************************************
+  * dummy.c : dummy plugin for vlc
+  *****************************************************************************
+  * Copyright (C) 2000, 2001 VideoLAN
+  * $Id: dummy.c,v 1.11 2001/11/28 15:08:05 massiot Exp $
+  *
+  * Authors: Samuel Hocevar <sam@zoy.org>
+  *
+  * This program is free software; you can redistribute it and/or modify
+  * it under the terms of the GNU General Public License as published by
+  * the Free Software Foundation; either version 2 of the License, or
+  * (at your option) any later version.
+  * 
+  * This program is distributed in the hope that it will be useful,
+  * but WITHOUT ANY WARRANTY; without even the implied warranty of
+  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  * GNU General Public License for more details.
+  *
+  * You should have received a copy of the GNU General Public License
+  * along with this program; if not, write to the Free Software
+  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
+  *****************************************************************************/
+ 
+ #define MODULE_NAME lirc
+ #include "modules_inner.h"
+ 
+ /*****************************************************************************
+  * Preamble
+  *****************************************************************************/
+ #include "defs.h"
+ 
+ #include <stdlib.h>                                      /* malloc(), free() */
+ #include <string.h>
+ 
+ #include "config.h"
+ #include "common.h"                                     /* boolean_t, byte_t */
+ #include "intf_msg.h"
+ #include "threads.h"
+ #include "mtime.h"
+ 
+ #include "modules.h"
+ #include "modules_export.h"
+ 
+ /*****************************************************************************
+  * Capabilities defined in the other files.
+  *****************************************************************************/
+ //void _M( input_getfunctions ) ( function_list_t * p_function_list );
+ //void _M( aout_getfunctions )  ( function_list_t * p_function_list );
+ //void _M( vout_getfunctions )  ( function_list_t * p_function_list );
+ void _M( intf_getfunctions )  ( function_list_t * p_function_list );
+ 
+ /*****************************************************************************
+  * Build configuration tree.
+  *****************************************************************************/
+ MODULE_CONFIG_START
+ ADD_WINDOW( "Configuration for dummy module" )
+     ADD_COMMENT( "use ~/.lircrc" )
+ MODULE_CONFIG_STOP
+ 
+ MODULE_INIT_START
+     p_module->i_capabilities = MODULE_CAPABILITY_INTF;
+     p_module->psz_longname = "remote control module";
+ MODULE_INIT_STOP
+ 
+ MODULE_ACTIVATE_START
+ //    _M( input_getfunctions )( &p_module->p_functions->input );
+ //    _M( aout_getfunctions )( &p_module->p_functions->aout );
+ //    _M( vout_getfunctions )( &p_module->p_functions->vout );
+     _M( intf_getfunctions )( &p_module->p_functions->intf );
+ MODULE_ACTIVATE_STOP
+ 
+ MODULE_DEACTIVATE_START
+ MODULE_DEACTIVATE_STOP
+ 


-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html

