Permalink
Browse files

introduce HAVE_TEMPFANCONTROL automake conditional

Both dm8000 and dm800se support TempFanControl
  • Loading branch information...
pieterg committed Jan 20, 2011
1 parent 4efa092 commit d54da90430dfeb5915e83b0f680ff6ada0fd2db3
Showing with 3 additions and 2 deletions.
  1. +2 −1 configure.ac
  2. +1 −1 lib/python/Plugins/SystemPlugins/Makefile.am
View
@@ -51,8 +51,9 @@ AC_ARG_WITH(boxtype,
[BOXTYPE="$withval"],[BOXTYPE="dm800"])
AC_SUBST(BOXTYPE)
AC_DEFINE_UNQUOTED(BOXTYPE,"$BOXTYPE",[box type])
+
AM_CONDITIONAL(DREAMBOX, test `echo "$BOXTYPE" | cut -b 1-2` == "dm")
-AM_CONDITIONAL(DM8000, test "$BOXTYPE" == dm8000)
+AM_CONDITIONAL(HAVE_TEMPFANCONTROL, test "$BOXTYPE" == dm8000 -o "$BOXTYPE" == dm800se)
AC_ARG_WITH(textlcd,
AC_HELP_STRING([--with-textlcd], [use ascii based lcd, yes or no]),
@@ -6,7 +6,7 @@ SUBDIRS = SoftwareManager PositionerSetup Satfinder \
CableScan FastScan OSDPositionSetup OSD3DSetup \
VideoEnhancement WirelessLan NetworkWizard
-if DM8000
+if HAVE_TEMPFANCONTROL
SUBDIRS += TempFanControl
endif

0 comments on commit d54da90

Please sign in to comment.