mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 00:40:13 +00:00
configure: option to disable reflector
The option will likely not be used alone but rather implicitly by --disable-all and it can be used to speed-up the compilation if reflector is not needed (and maybe also if its compilation is failing).
This commit is contained in:
@@ -52,7 +52,9 @@ SYSTEM = @system@
|
||||
GUI_EXE ?= @GUI_EXE@
|
||||
GUI_TARGET = @GUI_TARGET@
|
||||
QT_CFLAGS = @QT_CFLAGS@
|
||||
ifeq (@REFLECTOR_REQ@,yes)
|
||||
REFLECTOR_TARGET ?= bin/hd-rum-transcode$(EXEEXT)
|
||||
endif
|
||||
TEST_TARGET = bin/run_tests$(EXEEXT)
|
||||
|
||||
PACKAGE_TARNAME ?= @PACKAGE_TARNAME@
|
||||
|
||||
12
configure.ac
12
configure.ac
@@ -3245,6 +3245,18 @@ fi
|
||||
|
||||
ENSURE_FEATURE_PRESENT([$sdl_mixer_req], [$sdl_mixer], [SDL_mixer deps not found!])
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Reflector
|
||||
# -----------------------------------------------------------------------------
|
||||
AC_ARG_ENABLE(reflector,
|
||||
AS_HELP_STRING([--disable-reflector], [disables reflector (default is enabled)]),
|
||||
[reflector_req=$enableval],
|
||||
[reflector_req=$build_default])
|
||||
if test "$reflector_req" != no; then
|
||||
REFLECTOR_REQ=yes
|
||||
fi
|
||||
AC_SUBST(REFLECTOR_REQ)
|
||||
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
# We need to add libraries then
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user