Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a flag to build 'vendor' #149

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}

AUTOMAKE_OPTIONS = foreign

SUBDIRS = common decode encode vainfo videoprocess vendor/intel vendor/intel/sfcsample
SUBDIRS = common decode encode vainfo videoprocess

if USE_X11
SUBDIRS += putsurface
Expand All @@ -38,6 +38,11 @@ if ENABLE_TESTS
SUBDIRS += test
endif

if ENABLE_VENDOR_INTEL
SUBDIRS += vendor/intel
SUBDIRS += vendor/intel/sfcsample
endif

# Extra clean files so that maintainer-clean removes *everything*
MAINTAINERCLEANFILES = \
aclocal.m4 compile config.guess config.sub \
Expand Down
9 changes: 8 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@ AC_ARG_ENABLE([tests],
[], [enable_tests="no"])


AC_ARG_ENABLE([vendor_intel],
[AC_HELP_STRING([--enable-vendor-intel],
[build intel specific code @<:@default=no@:>@])],
[], [enable_vendor_intel="no"])

LT_INIT
AC_DISABLE_STATIC
AC_PROG_CC
Expand Down Expand Up @@ -205,6 +210,7 @@ if test "$USE_DRM:$USE_X11:$USE_WAYLAND" = "no:no:no"; then
fi

AM_CONDITIONAL(ENABLE_TESTS, test "$enable_tests" = "yes")
AM_CONDITIONAL(ENABLE_VENDOR_INTEL, test "$enable_vendor_intel" = "yes")

AC_OUTPUT([
Makefile
Expand Down Expand Up @@ -232,5 +238,6 @@ echo
echo Libva VA-API version ............. : $LIBVA_API_VERSION
echo Installation prefix .............. : $prefix
echo Extra window systems ............. : $BACKENDS
echo Enable Unit-tests .................... : $enable_tests
echo Enable Unit-tests ................ : $enable_tests
echo Enable vendor-Intel .............. : $enable_vendor_intel
echo