configure: remove --enable-directx
This used to require extra SDKs in days of yore but now just always build those libraries on WNT. Change-Id: I92c0a35917df42e136c022c762f0333f657a9ec6
This commit is contained in:
parent
e5772fbc81
commit
3f405b1af3
5 changed files with 5 additions and 28 deletions
|
@ -336,7 +336,7 @@ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
|
|||
$(if $(filter-out MACOSX WNT,$(OS)),desktopbe1) \
|
||||
$(if $(USING_X11),desktop_detector) \
|
||||
$(call gb_Helper_optional,SCRIPTING,dlgprov) \
|
||||
$(if $(ENABLE_DIRECTX),directx9canvas) \
|
||||
$(if $(filter WNT,$(OS)),directx9canvas) \
|
||||
$(if $(ENABLE_OPENGL_CANVAS),oglcanvas) \
|
||||
drawinglayer \
|
||||
editeng \
|
||||
|
@ -357,7 +357,7 @@ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
|
|||
fwk \
|
||||
fwl \
|
||||
fwm \
|
||||
$(if $(ENABLE_DIRECTX),gdipluscanvas) \
|
||||
$(if $(filter WNT,$(OS)),gdipluscanvas) \
|
||||
guesslang \
|
||||
$(if $(filter DESKTOP,$(BUILD_TYPE)),helplinker) \
|
||||
i18npool \
|
||||
|
@ -569,7 +569,7 @@ $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooo, \
|
|||
$(if $(ENABLE_VLC),avmediavlc) \
|
||||
$(if $(ENABLE_GSTREAMER_1_0),avmediagst) \
|
||||
$(if $(ENABLE_GSTREAMER_0_10),avmediagst_0_10) \
|
||||
$(if $(ENABLE_DIRECTX),avmediawin) \
|
||||
$(if $(filter WNT,$(OS)),avmediawin) \
|
||||
cached1 \
|
||||
collator_data \
|
||||
comphelper \
|
||||
|
|
|
@ -39,7 +39,7 @@ $(eval $(call gb_Module_add_targets,canvas,\
|
|||
))
|
||||
endif
|
||||
|
||||
ifneq ($(ENABLE_DIRECTX),)
|
||||
ifeq ($(OS),WNT)
|
||||
$(eval $(call gb_Module_add_targets,canvas,\
|
||||
Library_directx9canvas \
|
||||
Library_gdipluscanvas \
|
||||
|
|
|
@ -122,7 +122,6 @@ export ENABLE_DBUS=@ENABLE_DBUS@
|
|||
export ENABLE_DCONF=@ENABLE_DCONF@
|
||||
export ENABLE_DEBUG=@ENABLE_DEBUG@
|
||||
export ENABLE_DEBUGINFO_FOR=@ENABLE_DEBUGINFO_FOR@
|
||||
export ENABLE_DIRECTX=@ENABLE_DIRECTX@
|
||||
export ENABLE_EOT=@ENABLE_EOT@
|
||||
export ENABLE_EVOAB2=@ENABLE_EVOAB2@
|
||||
export ENABLE_FIREBIRD_SDBC=@ENABLE_FIREBIRD_SDBC@
|
||||
|
|
22
configure.ac
22
configure.ac
|
@ -1116,13 +1116,6 @@ libo_FUZZ_ARG_ENABLE(evolution2,
|
|||
enabled.])
|
||||
)
|
||||
|
||||
libo_FUZZ_ARG_ENABLE(directx,
|
||||
AS_HELP_STRING([--disable-directx],
|
||||
[Remove DirectX implementation for the new XCanvas interface.
|
||||
The DirectX support requires more stuff installed on Windows to
|
||||
compile. (DirectX SDK, GDI+ libs)])
|
||||
)
|
||||
|
||||
AC_ARG_ENABLE(avahi,
|
||||
AS_HELP_STRING([--enable-avahi],
|
||||
[Determines whether to use Avahi to advertise Impress to remote controls.])
|
||||
|
@ -3632,21 +3625,6 @@ MSPDB_PATH="$formatted_path"
|
|||
AC_SUBST(MSVC_CXX)
|
||||
AC_SUBST(SHOWINCLUDES_PREFIX)
|
||||
|
||||
if test "$_os" = "WINNT"; then
|
||||
AC_MSG_CHECKING([whether to use DirectX])
|
||||
if test "$enable_directx" = "yes" -o "$enable_directx" = ""; then
|
||||
ENABLE_DIRECTX="TRUE"
|
||||
AC_MSG_RESULT([yes])
|
||||
else
|
||||
ENABLE_DIRECTX=""
|
||||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
else
|
||||
ENABLE_DIRECTX=""
|
||||
fi
|
||||
|
||||
AC_SUBST(ENABLE_DIRECTX)
|
||||
|
||||
#
|
||||
# unowinreg.dll
|
||||
#
|
||||
|
|
|
@ -191,7 +191,7 @@ $(eval $(call gb_Rdb_add_components,services,\
|
|||
$(if $(ENABLE_CAIRO_CANVAS), \
|
||||
canvas/source/cairo/cairocanvas \
|
||||
) \
|
||||
$(if $(ENABLE_DIRECTX), \
|
||||
$(if $(filter WNT,$(OS)), \
|
||||
canvas/source/directx/directx9canvas \
|
||||
canvas/source/directx/gdipluscanvas \
|
||||
) \
|
||||
|
|
Loading…
Reference in a new issue