changeset 26368:92f1c7f009c4

Makefile: Fix compilation on systems with dvb support libmenu/menu_dvbin.c was added to sources if HAVE_DVBIN was defined, even if LIBMENU was not defined. This caused a compilation failure on systems with dvb support unless you ran configure with --enable-menu. Fix by making compilation of menu_dvbin conditional on both HAVE_DVBIN and LIBMENU.
author uau
date Fri, 11 Apr 2008 23:06:30 +0000
parents 204178f10efa
children ad825aff822b
files Makefile
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Fri Apr 11 17:45:17 2008 +0000
+++ b/Makefile	Fri Apr 11 23:06:30 2008 +0000
@@ -98,7 +98,9 @@
                input/input.c \
 
 SRCS_MPLAYER-$(APPLE_REMOTE) += input/ar.c
+ifeq ($(LIBMENU), yes)
 SRCS_MPLAYER-$(DVBIN)        += libmenu/menu_dvbin.c
+endif
 SRCS_MPLAYER-$(GUI_GTK)      += gui/app.c \
                                 gui/bitmap.c \
                                 gui/cfg.c \