Skip to content

Commit

Permalink
introduce HAVE_TEMPFANCONTROL automake conditional
Browse files Browse the repository at this point in the history
Both dm8000 and dm800se support TempFanControl
  • Loading branch information
pieterg committed Jan 20, 2011
1 parent 4efa092 commit d54da90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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]),
Expand Down
2 changes: 1 addition & 1 deletion lib/python/Plugins/SystemPlugins/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ SUBDIRS = SoftwareManager PositionerSetup Satfinder \
CableScan FastScan OSDPositionSetup OSD3DSetup \
VideoEnhancement WirelessLan NetworkWizard

if DM8000
if HAVE_TEMPFANCONTROL
SUBDIRS += TempFanControl
endif

Expand Down

0 comments on commit d54da90

Please sign in to comment.