More build fixes.

This commit is contained in:
Themaister 2011-03-07 20:22:55 +01:00
parent 3ef0276b2a
commit 0be1b0b88b
3 changed files with 7 additions and 1 deletions

View File

@ -53,6 +53,10 @@ ifeq ($(HAVE_XML), 1)
LIBS += -lxml2
endif
ifeq ($(HAVE_FILTER), 1)
DEFINES += -DHAVE_FILTER
endif
ifeq ($(HAVE_FREETYPE), 1)
OBJ += gfx/fonts.o
DEFINES += -DHAVE_FREETYPE -Ifreetype2

View File

@ -15,6 +15,8 @@ if [ $HAVE_DYNAMIC != yes ]; then
add_define_make libsnes $LIBSNES
fi
check_lib FILTER -ldl dlopen
check_lib ALSA -lasound snd_pcm_open
check_header OSS sys/soundcard.h

View File

@ -10,7 +10,7 @@ PACKAGE_VERSION=0.3.1
add_command_line_enable DYNAMIC "Enable dynamic loading of libsnes library." no
add_command_line_string LIBSNES "libsnes library used" "-lsnes"
add_command_line_enable FFMPEG "Enable FFmpeg recording support" no
add_command_line_enable FILTER "Disable CPU filter support" yes
add_command_line_enable FILTER "Enable CPU filter support" auto
add_command_line_enable SRC "Enable libsamplerate support" no
add_command_line_enable CONFIGFILE "Disable support for config file" yes
add_command_line_enable CG "Enable Cg shader support" auto