Commit 77951934 authored by Gildas Bazin's avatar Gildas Bazin

* configure.ac, activex/Makefile.am: conditional compile of the activex plugin.

parent c3e5a7dd
......@@ -56,6 +56,8 @@ DIST_misc = \
LIBRARIES_libvlc = $(top_builddir)/lib/libvlc.a
if BUILD_ACTIVEX
noinst_LIBRARIES_activex = libaxvlc.a
axvlc_DATA = axvlc$(LIBEXT)
axvlcdir = $(libdir)
......@@ -97,6 +99,12 @@ noinst_axvlc_rcdir = $(libdir)
axvlc_rc.$(OBJEXT): axvlc_rc.rc inplace.bmp $(axvlc_tlb_DATA)
$(WINDRES) -DVERSION=$(VERSION) -DVERSION_NUMBER=`echo $(VERSION).0.0.0 | sed 's/\([0-9]*\)[^.]*\.*\([0-9]*\)[^.]*\.*\([0-9]*\)[^.]*\.*\([0-9]*\).*/\1,\2,\3,\4/'` --include-dir $(srcdir) -i $< -o $@
else
clean-tlb:
endif
###############################################################################
# Stamp rules
###############################################################################
......
......@@ -3931,6 +3931,7 @@ then
AC_CHECK_HEADERS(objsafe.h,
VLC_ADD_CXXFLAGS([activex],[-DHAVE_OBJSAFE_HEADER])
)
activex=:
],
[ AC_MSG_ERROR([required OLE headers are missing from your system]) ]
)
......@@ -3938,6 +3939,7 @@ then
fi
AC_ARG_VAR(MIDL, [Microsoft IDL compiler (Win32 platform only)])
AM_CONDITIONAL(HAS_MIDL_COMPILER, test -n "${MIDL}")
AM_CONDITIONAL(BUILD_ACTIVEX,${activex})
dnl
dnl Mozilla plugin
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment