summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac6
-rw-r--r--src/video_out/Makefile.am8
2 files changed, 10 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 56c99d920..ca25c673e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1977,9 +1977,9 @@ AC_SUBST(MKINSTALLDIRS)
dnl Make Objective-C work with automake 1.7.x
-if test x"am__api_version" = "x1.7"; then
- AM_CONDITIONAL([am__fastdepOBJC], false)
-fi
+dnl if test x"am__api_version" = "x1.7"; then
+dnl AM_CONDITIONAL([am__fastdepOBJC], false)
+dnl fi
dnl ---------------------------------------------
diff --git a/src/video_out/Makefile.am b/src/video_out/Makefile.am
index dca4fb711..1a7291c92 100644
--- a/src/video_out/Makefile.am
+++ b/src/video_out/Makefile.am
@@ -1,6 +1,10 @@
include $(top_srcdir)/misc/Makefile.common
-SUBDIRS = libdha vidix macosx
+if HAVE_MACOSX_VIDEO
+macosx_subdirs = macosx
+endif
+
+SUBDIRS = libdha vidix $(macosx_subdirs)
EXTRA_DIST = video_out_directfb.c video_out_opengl.c video_out_directx.c video_out_macosx.c
@@ -165,11 +169,13 @@ xineplug_vo_out_none_la_SOURCES = video_out_none.c
xineplug_vo_out_none_la_LIBADD = $(XINE_LIB)
xineplug_vo_out_none_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+if HAVE_MACOSX_VIDEO
xineplug_vo_out_macosx_la_SOURCES = alphablend.c video_out_macosx.m
xineplug_vo_out_macosx_la_LIBADD = $(MLIB_LIBS) $(OPENGL_LIBS) $(GLUT_LIBS) \
$(GLU_LIBS) $(X_LIBS) $(XINE_LIB) macosx/libxine_macosx_video.la
xineplug_vo_out_macosx_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@ -framework Cocoa -framework OpenGL -lobjc -umbrella AppKit
xineplug_vo_out_macosx_la_OBJCFLAGS = $(OBJCFLAGS) $(AM_CFLAGS)
+endif
noinst_HEADERS = alphablend.h deinterlace.h video_out_syncfb.h \
yuv2rgb.h x11osd.h