Browse files Fix --enable-irqbalance-ui logic

Before this patch --enable-irqbalance-ui disabled compilation/
installation of the ui because AC_ARG_WITH is used wrong.
The third arguement to AC_ARG_WITH is _action-if-present_ which means
that this action gets triggered once the --enable option has been
submitted to configure on command line no matter if it's enabled or
See also chapter 3.1
  • Loading branch information...
Polynomial-C committed Jul 9, 2018
1 parent 8ad74cd commit bc56dbd4eead9ad19ff1d84dc8810123c96503c0
Showing with 2 additions and 2 deletions.
  1. +2 −2
@@ -43,9 +43,9 @@ AM_PROG_CC_C_O
[Dont build the irqbalance ui component])],
[with_irqbalanceui=false], [with_irqbalanceui=true])
[with_irqbalanceui=$withval], [with_irqbalanceui=yes])
AM_CONDITIONAL([IRQBALANCEUI], [test x$with_irqbalanceui = xtrue])
AM_CONDITIONAL([IRQBALANCEUI], [test x$with_irqbalanceui = xyes])
[ AS_HELP_STRING([--with-systemd],[Add systemd-lib support])]

0 comments on commit bc56dbd

Please sign in to comment.