CHECK_WITH([vdpau],[video decode+presentation api for unix],[VDPAU],[yes])
CHECK_WITH([nv],[nvenc/nvdec ffnvcodec api],[NV],[yes])
CHECK_WITH([cuda],[nv cuda plugins],[CUDA],[auto])
+CHECK_WITH([clang],[use clang instead of gcc/g++],[CLANG],[no])
if test "x$WANT_LV2" != "xno"; then
GTK2_LIBS=`pkg-config --libs gtk+-2.0`
[ . ])
PKG_3RD([x265],[auto],
- [x265_3.0],
+ [x265_3.1.2],
[ libx265.a ],
[ . source ])
rm -f conftest.asm conftest.o
REQUIRE_PROG(YASM, [yasm])
fi
-if test "x$X86" = "x0" ; then
- # incompatible instruction set
- PKG_dav1d=no
-fi
## end arch dep tests
echo " using: with-vdpau = $WANT_VDPAU"
echo " using: with-nv = $WANT_NV"
echo " using: with-cuda = $WANT_CUDA"
+echo " using: with-clang = $WANT_CLANG"
echo ""
echo " using: thirdparty build = $WANT_CIN_3RDPARTY"
echo " using: single-user = $WANT_CINBIN_BUILD"
echo ""
# build extras
+if test "x$WANT_CLANG" = "xyes" ; then
+ FFMPEG_EXTRA_CFG+=' --cc=clang --cxx=clang++'
+fi
if test "x$HAVE_tiff" = "xyes"; then
if test "x$HAVE_jbig" = "xyes"; then
EXTRA_LIBS+=' -ljbig'
echo "SHELL := /bin/bash"
echo "export SHELL"
echo "WANT_JOBS := $WANT_JOBS"
+if test "x$WANT_CLANG" = "xyes" ; then
+ echo "CC = clang"
+ echo "CXX = clang++"
+ echo "export CC CXX"
+fi
echo ""
echo "OBJDIR := $OBJDIR"
echo "BINDIR := \$(TOPDIR)/bin"