Commit 7755dab3 authored by Jean-Paul Saman's avatar Jean-Paul Saman

If --disable-xosd is given then xosdtext is not build.

If --enable-xose is given then xosdtext is build also.
parent 5efb3f69
...@@ -2004,7 +2004,7 @@ then ...@@ -2004,7 +2004,7 @@ then
fi ]) fi ])
AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no, ${FREETYPE_PATH}) AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no, ${FREETYPE_PATH})
if test "x${FREETYPE_CONFIG}" != "xno" if test "x${FREETYPE_CONFIG}" != "xno" -a "x${have_xosd}" = "xtrue"
then then
PLUGINS="${PLUGINS} osdtext" PLUGINS="${PLUGINS} osdtext"
CFLAGS_osdtext="${CFLAGS_osdtext} `${FREETYPE_CONFIG} --cflags`" CFLAGS_osdtext="${CFLAGS_osdtext} `${FREETYPE_CONFIG} --cflags`"
...@@ -2896,7 +2896,8 @@ if test "x${NEED_QTE_MAIN}" != "xno" ...@@ -2896,7 +2896,8 @@ if test "x${NEED_QTE_MAIN}" != "xno"
then then
PLUGINS="${PLUGINS} qte_main" PLUGINS="${PLUGINS} qte_main"
CPPFLAGS_qte="${CPPFLAGS_qte} -DNEED_QTE_MAIN" CPPFLAGS_qte="${CPPFLAGS_qte} -DNEED_QTE_MAIN"
CPPFLAGS_opie="${CPPFLAGS_opie} -DNEED_QTE_MAIN" CPPFLAGS_opie="${CPPFLAGS_opie} -DNEED_QTE_MAIN"
CFLAGS_vout_sdl="${CFLAGS_vout_sdl} -DNEED_QTE_MAIN"
CPPFLAGS_qte_main="${CFLAGS_qte_main} ${CPPFLAGS_qte}" CPPFLAGS_qte_main="${CFLAGS_qte_main} ${CPPFLAGS_qte}"
LDFLAGS_qte_main="${LDFLAGS_qte_main} ${LDFLAGS_qte}" LDFLAGS_qte_main="${LDFLAGS_qte_main} ${LDFLAGS_qte}"
fi fi
......
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