Installscript-make.conf

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(make.conf)
(Anhang)
Zeile 93: Zeile 93:
  
 
# use DEV as DVD Writer (= -D --dvd=DEV in config/plugins/burn).
 
# use DEV as DVD Writer (= -D --dvd=DEV in config/plugins/burn).
#DDVDDEV=/dev/dvd
+
#DDVDDEV = /dev/dvd
  
 
# use DIR to store ISO images (= -i DIR  --iso=DIR in config/plugins/burn).
 
# use DIR to store ISO images (= -i DIR  --iso=DIR in config/plugins/burn).
#ISODIR=/video
+
#ISODIR = $(VIDEODIR)
  
 
# ----------------------------------------------------------------------------
 
# ----------------------------------------------------------------------------
Zeile 107: Zeile 107:
 
# the consoles.
 
# the consoles.
 
# So the default is /bin/login.
 
# So the default is /bin/login.
#CONSOLE_USE_SHELL_INSTEAD_LOGIN=1
+
#CONSOLE_USE_SHELL_INSTEAD_LOGIN = 1
 +
 
 +
# ----------------------------------------------------------------------------
 +
# em84xx
 +
# ----------------------------------------------------------------------------
 +
 
 +
# Compile with EM4MB=1 if are proud owner of a chip/board with at least 4MB sdram.
 +
#EM4MB = 1
 +
 
 +
# If you have no dvd-drive or the drive is not recognized by the loaddriver-script, please add.
 +
#EMNODVD = 1
 +
 
 +
# If you have a dvd drive, but its connected as primary master and not as secondary master (default), use this switch.
 +
#EMDVDPRIMARY = 1
  
 
# ----------------------------------------------------------------------------
 
# ----------------------------------------------------------------------------
Zeile 115: Zeile 128:
 
# comment this out if you want to use Perl compatible regular expressions (PCRE).
 
# comment this out if you want to use Perl compatible regular expressions (PCRE).
 
ifeq (exists, $(shell test -e $(PREFIX)/include/pcre.h -o -e /usr/include/pcre.h && echo exists))
 
ifeq (exists, $(shell test -e $(PREFIX)/include/pcre.h -o -e /usr/include/pcre.h && echo exists))
HAVE_PCREPOSIX=1
+
HAVE_PCREPOSIX = 1
 
endif
 
endif
  
Zeile 123: Zeile 136:
  
 
# added preliminary NTSC support.
 
# added preliminary NTSC support.
#NTSC_SYSTEM=1
+
#FEMON_NTSC = 1
 +
 
 +
# enable debuging.
 +
#FEMON_DEBUG = 1
  
 
# ----------------------------------------------------------------------------
 
# ----------------------------------------------------------------------------
Zeile 131: Zeile 147:
 
# Install imlib2, set path below and uncomment the lines.
 
# Install imlib2, set path below and uncomment the lines.
 
# to enable support for dvb- and fb-devices.
 
# to enable support for dvb- and fb-devices.
HAVE_IMLIB=1
+
HAVE_IMLIB = 1
  
 
# Install directFB and libsoftmpeg to use an directFB-output-device.
 
# Install directFB and libsoftmpeg to use an directFB-output-device.
 
# If you wont use libsoftmpeg, in future(dosent work at the moment) ffmpeg will be used for PbP.
 
# If you wont use libsoftmpeg, in future(dosent work at the moment) ffmpeg will be used for PbP.
 
# You can use only directFB without ffmpeg, imlib and libsoftmpeg, but without Pbp.
 
# You can use only directFB without ffmpeg, imlib and libsoftmpeg, but without Pbp.
#HAVE_DFB=1
+
#HAVE_DFB = 1
#HAVE_SOFTMPEG=1
+
#HAVE_SOFTMPEG = 1
  
 
# USE FASTMEMCPY WITH CPUACCEL.
 
# USE FASTMEMCPY WITH CPUACCEL.
HAVE_FAST_MEMCPY=1
+
#HAVE_FAST_MEMCPY = 1
  
 
# FIX FOR USING PVR350-FRAMEBUFFER.
 
# FIX FOR USING PVR350-FRAMEBUFFER.
#HAVE_PVRFB=1
+
#HAVE_PVRFB = 1
 +
 
 +
# ----------------------------------------------------------------------------
 +
# lcr
 +
# ----------------------------------------------------------------------------
 +
 
 +
# enable debuging.
 +
#LCR_DEBUG = 1
 +
# added preliminary NTSC support.
 +
#LCR_NTSC = 1
  
 
# ----------------------------------------------------------------------------
 
# ----------------------------------------------------------------------------
Zeile 151: Zeile 176:
 
# To link the c-client-library statically to the plugin.
 
# To link the c-client-library statically to the plugin.
 
ifeq (exists, $(shell test -d $(SRCDIR)/imap && echo exists))
 
ifeq (exists, $(shell test -d $(SRCDIR)/imap && echo exists))
IMAPDIR   = $(SRCDIR)/imap/c-client
+
IMAPDIR = $(SRCDIR)/imap/c-client
 
IMAPINCDIR = $(IMAPDIR)
 
IMAPINCDIR = $(IMAPDIR)
 
IMAPLFLAGS = $(IMAPDIR)/c-client.a -lssl -lpam
 
IMAPLFLAGS = $(IMAPDIR)/c-client.a -lssl -lpam
Zeile 161: Zeile 186:
  
 
# Uncomment these if you have the appropriate libraries.
 
# Uncomment these if you have the appropriate libraries.
HAVE_LIBJPEG=1
+
HAVE_LIBJPEG = 1
#HAVE_LIBID3TAG=1
+
#HAVE_LIBID3TAG = 1
  
 
ifeq (exists, $(shell test `which xml2-config 2>/dev/null` && echo exists))
 
ifeq (exists, $(shell test `which xml2-config 2>/dev/null` && echo exists))
HAVE_LIBXML2=1
+
HAVE_LIBXML2 = 1
 
endif
 
endif
  
 
ifeq (exists, $(shell test `which Magick-config 2>/dev/null` && echo exists))
 
ifeq (exists, $(shell test `which Magick-config 2>/dev/null` && echo exists))
HAVE_MAGICK=1
+
HAVE_MAGICK = 1
MAGICK_VERSION=$(shell Magick-config --version|cut -d. -f1)
+
MAGICK_VERSION = $(shell Magick-config --version | cut -d. -f1)
 
endif
 
endif
  
 
# VDR Plugin Only, Uncomment this if you only have a single device in your vdr machine.
 
# VDR Plugin Only, Uncomment this if you only have a single device in your vdr machine.
#SINGLE_DEVICE=1
+
#SINGLE_DEVICE = 1
  
 
# If you're having problems with CAMs and switching channels uncomment, this line.
 
# If you're having problems with CAMs and switching channels uncomment, this line.
#CAM_CHANGE_HACK=1
+
#CAM_CHANGE_HACK = 1
  
 
# ----------------------------------------------------------------------------
 
# ----------------------------------------------------------------------------
Zeile 184: Zeile 209:
  
 
# uncomment the following line, if you want OSS sound output.
 
# uncomment the following line, if you want OSS sound output.
#WITH_OSS_OUTPUT=1
+
#WITH_OSS_OUTPUT = 1
  
 
# if you dont want one of the plugins.
 
# if you dont want one of the plugins.
#WITHOUT_MP3=1
+
#WITHOUT_MP3 = 1
#WITHOUT_MPLAYER=1
+
#WITHOUT_MPLAYER = 1
  
 
# if you dont have libsndfile installed.
 
# if you dont have libsndfile installed.
ifeq (notexists, $(shell test -z `which sndfile-info 2>/dev/null` && echo notexists))
+
ifeq (notexists, $(shell test ! -e $(PREFIX)/include/sndfile.h -a ! -e /usr/include/sndfile.h && echo notexists))
WITHOUT_LIBSNDFILE=1
+
WITHOUT_LIBSNDFILE = 1
 
endif
 
endif
  
 
# uncomment the following line, if you dont have libvorbisfile installed.
 
# uncomment the following line, if you dont have libvorbisfile installed.
 
ifeq (notexists, $(shell test ! -e $(PREFIX)/lib/libvorbisfile.a -a ! -e /usr/lib/libvorbisfile.a && echo notexists))
 
ifeq (notexists, $(shell test ! -e $(PREFIX)/lib/libvorbisfile.a -a ! -e /usr/lib/libvorbisfile.a && echo notexists))
WITHOUT_LIBVORBISFILE=1
+
WITHOUT_LIBVORBISFILE = 1
 
endif
 
endif
  
 
# see HISTORY.
 
# see HISTORY.
#BROKEN_PCM=1
+
#BROKEN_PCM = 1
  
 
# ----------------------------------------------------------------------------
 
# ----------------------------------------------------------------------------
Zeile 209: Zeile 234:
 
# optionally libvorbis and libvorbisfile to replay OGG Vorbis files.
 
# optionally libvorbis and libvorbisfile to replay OGG Vorbis files.
 
ifeq (exists, $(shell test -e $(PREFIX)/lib/libvorbisfile.a -o -e /usr/lib/libvorbisfile.a && echo exists))
 
ifeq (exists, $(shell test -e $(PREFIX)/lib/libvorbisfile.a -o -e /usr/lib/libvorbisfile.a && echo exists))
HAVE_VORBISFILE=1
+
HAVE_VORBISFILE = 1
 
endif
 
endif
  
 
# optionally libFLAC++ to replay FLAC files.
 
# optionally libFLAC++ to replay FLAC files.
 
ifeq (exists, $(shell test `which flac 2>/dev/null` && echo exists))
 
ifeq (exists, $(shell test `which flac 2>/dev/null` && echo exists))
HAVE_FLAC=1
+
HAVE_FLAC = 1
 
endif
 
endif
  
 
# optionally libsndfile to replay .wav files.
 
# optionally libsndfile to replay .wav files.
ifeq (exists, $(shell test `which sndfile-info 2>/dev/null` && echo exists))
+
ifeq (exists, $(shell test -e $(PREFIX)/include/sndfile.h -o -e /usr/include/sndfile.h && echo exists))
HAVE_SNDFILE=1
+
HAVE_SNDFILE = 1
 
endif
 
endif
  
 
# if you do not want to compile in code for embedded sql.
 
# if you do not want to compile in code for embedded sql.
HAVE_ONLY_SERVER=1
+
HAVE_ONLY_SERVER = 1
  
 
# define what database you want to use.
 
# define what database you want to use.
#HAVE_SQLITE=1
+
#HAVE_SQLITE = 1
HAVE_MYSQL=1
+
HAVE_MYSQL = 1
 +
 
 +
# ----------------------------------------------------------------------------
 +
# osdimage
 +
# ----------------------------------------------------------------------------
 +
 
 +
# if you have the appropriate libraries.
 +
ifeq (exists, $(shell test `which Magick-config 2>/dev/null` && echo exists))
 +
HAVE_MAGICK = 1
 +
endif
 +
 
 +
# recommended for 16-color-OSD.
 +
ifeq (exists, $(shell test `which jpegtopnm 2>/dev/null` && echo exists))
 +
HAVE_NETPBM = 1
 +
endif
  
 
# ----------------------------------------------------------------------------
 
# ----------------------------------------------------------------------------
Zeile 235: Zeile 274:
 
# enable to fully support yaepg plugin.
 
# enable to fully support yaepg plugin.
 
ifeq (exists, $(shell test -f $(VDRDIR)/fontyaepg.c && echo exists))
 
ifeq (exists, $(shell test -f $(VDRDIR)/fontyaepg.c && echo exists))
SET_VIDEO_WINDOW=1
+
SET_VIDEO_WINDOW = 1
 
endif
 
endif
  
Zeile 243: Zeile 282:
  
 
# If your Primary Device doesn't support Stillpicture, you can deactivate it here.
 
# If your Primary Device doesn't support Stillpicture, you can deactivate it here.
USE_STILLPICTURE=1
+
USE_STILLPICTURE = 1
 +
 
 +
# ----------------------------------------------------------------------------
 +
# skinelchi
 +
# ----------------------------------------------------------------------------
 +
 
 +
# uncomment this, if you have ImageMagick and want see pictures from epg4vdr.
 +
ifeq (exists, $(shell test `which Magick-config 2>/dev/null` && echo exists))
 +
HAVE_MAGICK = 1
 +
endif
 +
 
 +
# uncomment this, if vdr patched with YAEPG-PATCH and you want see video-window in menu.
 +
ifeq (exists, $(shell test -f $(VDRDIR)/fontyaepg.c && echo exists))
 +
HAVE_YAEPG_PATCH = 1
 +
endif
 +
 
 +
# only experimentell - uncomment this, if you want some infos of videostatus in DisplayChannel and DisplayReplay.
 +
#VIDEOSTATUS = 1
 +
 
 +
# for commandline-options and for threads in DisplayMenu.c for screenshot-display of video-window and for epgimages.
 +
#DEBUG = 1
  
 
# ----------------------------------------------------------------------------
 
# ----------------------------------------------------------------------------
Zeile 251: Zeile 310:
 
# XV support by Stefan Lucke.
 
# XV support by Stefan Lucke.
 
ifeq (exists, $(shell test `which xf86version 2>/dev/null` && echo exists))
 
ifeq (exists, $(shell test `which xf86version 2>/dev/null` && echo exists))
XV_SUPPORT=1
+
XV_SUPPORT = 1
 
# Set this if you want to be able to toggle suspend mode by keyboard (XV only).
 
# Set this if you want to be able to toggle suspend mode by keyboard (XV only).
SUSPEND_BY_KEY=1
+
SUSPEND_BY_KEY = 1
 
endif
 
endif
  
 
# DFB is very experimental (works only with my matrox G200, comments are welcome).
 
# DFB is very experimental (works only with my matrox G200, comments are welcome).
 
ifeq (exists, $(shell test `which directfb-config dfb++-config 2>/dev/null | wc -l` -eq 2 && echo exists))
 
ifeq (exists, $(shell test `which directfb-config dfb++-config 2>/dev/null | wc -l` -eq 2 && echo exists))
DFB_SUPPORT=1
+
DFB_SUPPORT = 1
 
endif
 
endif
  
 
# FB is unaccellerated and should work with any FB with 16bit color depth.
 
# FB is unaccellerated and should work with any FB with 16bit color depth.
FB_SUPPORT=1
+
FB_SUPPORT = 1
  
 
# Vidix support by Vadim Catana.
 
# Vidix support by Vadim Catana.
 
ifeq (exists, $(shell test -e $(PREFIX)/include/vidix/vidixlib.h -o -e /usr/include/vidix/vidixlib.h && echo exists))
 
ifeq (exists, $(shell test -e $(PREFIX)/include/vidix/vidixlib.h -o -e /usr/include/vidix/vidixlib.h && echo exists))
VIDIX_SUPPORT=1
+
VIDIX_SUPPORT = 1
 
# installation directory
 
# installation directory
 
VIDIX_DIR = $(PREFIX)
 
VIDIX_DIR = $(PREFIX)
Zeile 273: Zeile 332:
 
# Enable the usage from some deinterlacing pp-filters of libavcodec.
 
# Enable the usage from some deinterlacing pp-filters of libavcodec.
 
ifeq (exists, $(shell test -e $(PREFIX)/include/postproc/postprocess.h -o -e /usr/include/postproc/postprocess.h && echo exists))
 
ifeq (exists, $(shell test -e $(PREFIX)/include/postproc/postprocess.h -o -e /usr/include/postproc/postprocess.h && echo exists))
PP_LIBAVCODEC=1
+
PP_LIBAVCODEC = 1
 
endif
 
endif
  
 
# Set this if you want to use DPMS.
 
# Set this if you want to use DPMS.
LIBXDPMS_SUPPORT=1
+
LIBXDPMS_SUPPORT = 1
  
 
# if you want output methods build as a single lib comment the following line.
 
# if you want output methods build as a single lib comment the following line.
#USE_SUBPLUGINS=1
+
#USE_SUBPLUGINS = 1
  
 
# ----------------------------------------------------------------------------
 
# ----------------------------------------------------------------------------
Zeile 287: Zeile 346:
  
 
# Uncomment these if you have the appropriate libraries.
 
# Uncomment these if you have the appropriate libraries.
HAVE_IMAGEMAGICK=1
+
HAVE_IMAGEMAGICK = 1
#HAVE_IMLIB2=1
+
#HAVE_IMLIB2 = 1
  
 
# comment this out if you don't want to use FreeType font rendering.
 
# comment this out if you don't want to use FreeType font rendering.
 
ifeq (exists, $(shell test `which freetype-config 2>/dev/null` && echo exists))
 
ifeq (exists, $(shell test `which freetype-config 2>/dev/null` && echo exists))
HAVE_FREETYPE=1
+
HAVE_FREETYPE = 1
 
endif
 
endif
  
Zeile 300: Zeile 359:
  
 
# uncomment this line, if you want to encode DVD's.
 
# uncomment this line, if you want to encode DVD's.
VDRRIP_DVD=1
+
VDRRIP_DVD = 1
 
+
# ----------------------------------------------------------------------------
+
# weatherng
+
# ----------------------------------------------------------------------------
+
 
+
# Uncomment these if you have the appropriate libraries.
+
HAVE_MAGICK=1
+
#HAVE_IMLIB2=1
+
 
+
# Uncomment these, if you own a modded 4Mb FF-Card.
+
#HAVE_4MB=1
+
  
 
# ----------------------------------------------------------------------------
 
# ----------------------------------------------------------------------------
Zeile 319: Zeile 367:
 
# enable to fully support yaepg plugin.
 
# enable to fully support yaepg plugin.
 
ifeq (exists, $(shell test -f $(VDRDIR)/fontyaepg.c && echo exists))
 
ifeq (exists, $(shell test -f $(VDRDIR)/fontyaepg.c && echo exists))
VDR_XINE_SET_VIDEO_WINDOW=1
+
VDR_XINE_SET_VIDEO_WINDOW = 1
 
endif
 
endif
  

Version vom 9. August 2005, 13:31 Uhr

Beschreibung

Makefile ist identisch mit der Make.config.template aus den VDR Sourcen, siehe: VDR Installation.

Lediglich die Optionen der Plugins werden aus den Modulen in diese Datei übertragen.

make.conf

Datei
../setup/config/make.conf
# ----------------------------------------------------------------------------
# User defined Makefile options for the Video Disk Recorder
# ----------------------------------------------------------------------------
#
# Change the parameters as necessary.
#
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
# $Id: Make.config.template 1.3 2003/08/09 11:03:25 kls Exp $

# ----------------------------------------------------------------------------
# The C compiler and options
# ----------------------------------------------------------------------------

#CC       = gcc
#CFLAGS   = -O2
#CXX      = g++
#CXXFLAGS = -fPIC -g -O2 -Wall -Woverloaded-virtual

ifeq (exists, $(shell test -x /usr/bin/crux && echo exists))
CXXFLAGS = -fPIC -g -O2 -Wall -Woverloaded-virtual -D__user=
endif

# ----------------------------------------------------------------------------
# The directory environment
# ----------------------------------------------------------------------------

PREFIX = /usr/local
SRCDIR = $(PREFIX)/src
VDRDIR = $(SRCDIR)/VDR
FFMDIR = $(SRCDIR)/ffmpeg

ifeq (exists, $(shell test -d /usr/src/linux/include/linux/dvb && echo exists))
DVBDIR = /usr/src/linux
else
DVBDIR = $(SRCDIR)/DVB
endif

export PREFIX

#MANDIR = $(PREFIX)/man
#BINDIR = $(PREFIX)/bin

#PLUGINDIR = $(VDRDIR)/PLUGINS
#PLUGINLIBDIR = $(PLUGINDIR)/lib
VIDEODIR = $(shell echo $${VIDEODIR:-/video})

# ----------------------------------------------------------------------------
# Includes and Defines (add further entries here)
# ----------------------------------------------------------------------------

DEFINES += -D_GNU_SOURCE

# ----------------------------------------------------------------------------
# The remote control
# ----------------------------------------------------------------------------

LIRC_DEVICE = /dev/lircd
RCU_DEVICE = /dev/ttyS1

# ----------------------------------------------------------------------------
# If your video directory will be on a VFAT partition
# ----------------------------------------------------------------------------

VFAT = 1

# ----------------------------------------------------------------------------
# Enable Debuging
# ----------------------------------------------------------------------------

#DEBUG = 1
#DBG = 1


Anhang

Ab hier wird angehangen, sollte man anpassen (logisch, deshalb die Erweiterung conf).

Datei
../setup/config/make.conf
# ----------------------------------------------------------------------------
# burn
# ----------------------------------------------------------------------------

# use DEV as DVD Writer (= -D --dvd=DEV in config/plugins/burn).
#DDVDDEV = /dev/dvd

# use DIR to store ISO images (= -i DIR  --iso=DIR in config/plugins/burn).
#ISODIR = $(VIDEODIR)

# ----------------------------------------------------------------------------
# console
# ----------------------------------------------------------------------------

# This program will be used to realize a console.
# Be carefull! If your VDR runs as root, then every.
# user can kill your machine if you don't protect.
# the consoles.
# So the default is /bin/login.
#CONSOLE_USE_SHELL_INSTEAD_LOGIN = 1

# ----------------------------------------------------------------------------
# em84xx
# ----------------------------------------------------------------------------

# Compile with EM4MB=1 if are proud owner of a chip/board with at least 4MB sdram.
#EM4MB = 1

# If you have no dvd-drive or the drive is not recognized by the loaddriver-script, please add.
#EMNODVD = 1

# If you have a dvd drive, but its connected as primary master and not as secondary master (default), use this switch.
#EMDVDPRIMARY = 1

# ----------------------------------------------------------------------------
# epgsearch
# ----------------------------------------------------------------------------

# comment this out if you want to use Perl compatible regular expressions (PCRE).
ifeq (exists, $(shell test -e $(PREFIX)/include/pcre.h -o -e /usr/include/pcre.h && echo exists))
HAVE_PCREPOSIX = 1
endif

# ----------------------------------------------------------------------------
# femon
# ----------------------------------------------------------------------------

# added preliminary NTSC support.
#FEMON_NTSC = 1

# enable debuging.
#FEMON_DEBUG = 1

# ----------------------------------------------------------------------------
# graphtft
# ----------------------------------------------------------------------------

# Install imlib2, set path below and uncomment the lines.
# to enable support for dvb- and fb-devices.
HAVE_IMLIB = 1

# Install directFB and libsoftmpeg to use an directFB-output-device.
# If you wont use libsoftmpeg, in future(dosent work at the moment) ffmpeg will be used for PbP.
# You can use only directFB without ffmpeg, imlib and libsoftmpeg, but without Pbp.
#HAVE_DFB = 1
#HAVE_SOFTMPEG = 1

# USE FASTMEMCPY WITH CPUACCEL.
#HAVE_FAST_MEMCPY = 1

# FIX FOR USING PVR350-FRAMEBUFFER.
#HAVE_PVRFB = 1

# ----------------------------------------------------------------------------
# lcr
# ----------------------------------------------------------------------------

# enable debuging.
#LCR_DEBUG = 1
# added preliminary NTSC support.
#LCR_NTSC = 1

# ----------------------------------------------------------------------------
# mailbox
# ----------------------------------------------------------------------------

# To link the c-client-library statically to the plugin.
ifeq (exists, $(shell test -d $(SRCDIR)/imap && echo exists))
IMAPDIR = $(SRCDIR)/imap/c-client
IMAPINCDIR = $(IMAPDIR)
IMAPLFLAGS = $(IMAPDIR)/c-client.a -lssl -lpam
endif

# ----------------------------------------------------------------------------
# mediamvp
# ----------------------------------------------------------------------------

# Uncomment these if you have the appropriate libraries.
HAVE_LIBJPEG = 1
#HAVE_LIBID3TAG = 1

ifeq (exists, $(shell test `which xml2-config 2>/dev/null` && echo exists))
HAVE_LIBXML2 = 1
endif

ifeq (exists, $(shell test `which Magick-config 2>/dev/null` && echo exists))
HAVE_MAGICK = 1
MAGICK_VERSION = $(shell Magick-config --version | cut -d. -f1)
endif

# VDR Plugin Only, Uncomment this if you only have a single device in your vdr machine.
#SINGLE_DEVICE = 1

# If you're having problems with CAMs and switching channels uncomment, this line.
#CAM_CHANGE_HACK = 1

# ----------------------------------------------------------------------------
# mp3
# ----------------------------------------------------------------------------

# uncomment the following line, if you want OSS sound output.
#WITH_OSS_OUTPUT = 1

# if you dont want one of the plugins.
#WITHOUT_MP3 = 1
#WITHOUT_MPLAYER = 1

# if you dont have libsndfile installed.
ifeq (notexists, $(shell test ! -e $(PREFIX)/include/sndfile.h -a ! -e /usr/include/sndfile.h && echo notexists))
WITHOUT_LIBSNDFILE = 1
endif

# uncomment the following line, if you dont have libvorbisfile installed.
ifeq (notexists, $(shell test ! -e $(PREFIX)/lib/libvorbisfile.a -a ! -e /usr/lib/libvorbisfile.a && echo notexists))
WITHOUT_LIBVORBISFILE = 1
endif

# see HISTORY.
#BROKEN_PCM = 1

# ----------------------------------------------------------------------------
# muggle
# ----------------------------------------------------------------------------

# optionally libvorbis and libvorbisfile to replay OGG Vorbis files.
ifeq (exists, $(shell test -e $(PREFIX)/lib/libvorbisfile.a -o -e /usr/lib/libvorbisfile.a && echo exists))
HAVE_VORBISFILE = 1
endif

# optionally libFLAC++ to replay FLAC files.
ifeq (exists, $(shell test `which flac 2>/dev/null` && echo exists))
HAVE_FLAC = 1
endif

# optionally libsndfile to replay .wav files.
ifeq (exists, $(shell test -e $(PREFIX)/include/sndfile.h -o -e /usr/include/sndfile.h && echo exists))
HAVE_SNDFILE = 1
endif

# if you do not want to compile in code for embedded sql.
HAVE_ONLY_SERVER = 1

# define what database you want to use.
#HAVE_SQLITE = 1
HAVE_MYSQL = 1

# ----------------------------------------------------------------------------
# osdimage
# ----------------------------------------------------------------------------

# if you have the appropriate libraries.
ifeq (exists, $(shell test `which Magick-config 2>/dev/null` && echo exists))
HAVE_MAGICK = 1
endif

# recommended for 16-color-OSD.
ifeq (exists, $(shell test `which jpegtopnm 2>/dev/null` && echo exists))
HAVE_NETPBM = 1
endif

# ----------------------------------------------------------------------------
# pvr350
# ----------------------------------------------------------------------------

# enable to fully support yaepg plugin.
ifeq (exists, $(shell test -f $(VDRDIR)/fontyaepg.c && echo exists))
SET_VIDEO_WINDOW = 1
endif

# ----------------------------------------------------------------------------
# radio
# ----------------------------------------------------------------------------

# If your Primary Device doesn't support Stillpicture, you can deactivate it here.
USE_STILLPICTURE = 1

# ----------------------------------------------------------------------------
# skinelchi
# ----------------------------------------------------------------------------

# uncomment this, if you have ImageMagick and want see pictures from epg4vdr.
ifeq (exists, $(shell test `which Magick-config 2>/dev/null` && echo exists))
HAVE_MAGICK = 1
endif

# uncomment this, if vdr patched with YAEPG-PATCH and you want see video-window in menu.
ifeq (exists, $(shell test -f $(VDRDIR)/fontyaepg.c && echo exists))
HAVE_YAEPG_PATCH = 1
endif

# only experimentell - uncomment this, if you want some infos of videostatus in DisplayChannel and DisplayReplay.
#VIDEOSTATUS = 1

# for commandline-options and for threads in DisplayMenu.c for screenshot-display of video-window and for epgimages.
#DEBUG = 1

# ----------------------------------------------------------------------------
# softdevice
# ----------------------------------------------------------------------------

# XV support by Stefan Lucke.
ifeq (exists, $(shell test `which xf86version 2>/dev/null` && echo exists))
XV_SUPPORT = 1
# Set this if you want to be able to toggle suspend mode by keyboard (XV only).
SUSPEND_BY_KEY = 1
endif

# DFB is very experimental (works only with my matrox G200, comments are welcome).
ifeq (exists, $(shell test `which directfb-config dfb++-config 2>/dev/null | wc -l` -eq 2 && echo exists))
DFB_SUPPORT = 1
endif

# FB is unaccellerated and should work with any FB with 16bit color depth.
FB_SUPPORT = 1

# Vidix support by Vadim Catana.
ifeq (exists, $(shell test -e $(PREFIX)/include/vidix/vidixlib.h -o -e /usr/include/vidix/vidixlib.h && echo exists))
VIDIX_SUPPORT = 1
# installation directory
VIDIX_DIR = $(PREFIX)
endif

# Enable the usage from some deinterlacing pp-filters of libavcodec.
ifeq (exists, $(shell test -e $(PREFIX)/include/postproc/postprocess.h -o -e /usr/include/postproc/postprocess.h && echo exists))
PP_LIBAVCODEC = 1
endif

# Set this if you want to use DPMS.
LIBXDPMS_SUPPORT = 1

# if you want output methods build as a single lib comment the following line.
#USE_SUBPLUGINS = 1

# ----------------------------------------------------------------------------
# text2skin
# ----------------------------------------------------------------------------

# Uncomment these if you have the appropriate libraries.
HAVE_IMAGEMAGICK = 1
#HAVE_IMLIB2 = 1

# comment this out if you don't want to use FreeType font rendering.
ifeq (exists, $(shell test `which freetype-config 2>/dev/null` && echo exists))
HAVE_FREETYPE = 1
endif

# ----------------------------------------------------------------------------
# vdrrip
# ----------------------------------------------------------------------------

# uncomment this line, if you want to encode DVD's.
VDRRIP_DVD = 1

# ----------------------------------------------------------------------------
# xine
# ----------------------------------------------------------------------------

# enable to fully support yaepg plugin.
ifeq (exists, $(shell test -f $(VDRDIR)/fontyaepg.c && echo exists))
VDR_XINE_SET_VIDEO_WINDOW = 1
endif

# where are these utilities for image grabbing? (default: anywhere on your PATH)
ifeq (exists, $(shell test `which y4mscaler 2>/dev/null` && echo exists))
VDR_XINE_Y4MSCALER = $(shell which y4mscaler)
endif
ifeq (exists, $(shell test `which y4mtoppm 2>/dev/null` && echo exists))
VDR_XINE_Y4MTOPPM = $(shell which y4mtoppm)
endif
ifeq (exists, $(shell test `which pnmcut 2>/dev/null` && echo exists))
VDR_XINE_PNMCUT = $(shell which pnmcut)
endif
ifeq (exists, $(shell test `which pnmtojpeg 2>/dev/null` && echo exists))
VDR_XINE_PNMTOJPEG = $(shell which pnmtojpeg)
endif