Skip to content

Commit

Permalink
[FCC] add --with-fcc build flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Huevos committed Aug 10, 2023
1 parent f1d65aa commit 9f9a1f0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
11 changes: 11 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,17 @@ if test x"$with_lcddev" != xno ; then
AC_DEFINE_UNQUOTED(LCD_DEV, "$withval", [Defines which device to use for lcd (e.g. /dev/fb1)])
fi

AC_ARG_WITH(fcc,
AC_HELP_STRING([--with-fcc], [add FCC system plugin]),
[[with_fcc=$withval]],
[[with_fcc=no]]
)

AM_CONDITIONAL(HAVE_FCC, test x"$with_fcc" = xyes)
if test x"$with_fcc" = xyes ; then
AC_DEFINE(HAVE_FCC, 1,[add FCC system plugin])
fi

AC_CHECK_HEADERS([sys/klog.h])
AC_CHECK_FUNCS([klogctl])

Expand Down
7 changes: 5 additions & 2 deletions lib/python/Plugins/SystemPlugins/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ SUBDIRS = PositionerSetup Satfinder \
DefaultServicesScanner CommonInterfaceAssignment \
VideoClippingSetup \
VideoEnhancement WirelessLan NetworkWizard \
SABnzbdSetup FastScan SatelliteEquipmentControl DiseqcTester \
FastChannelChange
SABnzbdSetup FastScan SatelliteEquipmentControl DiseqcTester

if VUSOLO2
SUBDIRS += CableScan
Expand Down Expand Up @@ -64,4 +63,8 @@ if HAVE_OSDANIMATION
SUBDIRS += AnimationSetup
endif

if HAVE_FCC
SUBDIRS += FastChannelChange
endif

install_PYTHON = __init__.py

0 comments on commit 9f9a1f0

Please sign in to comment.