You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.5 KiB

  1. Revert upstream commit bf9297132d219539e07506c125c6801dd77202f4
  2. to prevent building the UI component. Also disable manpage.
  3. --- a/Makefile.am
  4. +++ b/Makefile.am
  5. @@ -24,19 +24,14 @@ AUTOMAKE_OPTIONS = no-dependencies
  6. ACLOCAL_AMFLAGS = -I m4
  7. EXTRA_DIST = COPYING autogen.sh misc/irqbalance.service misc/irqbalance.env
  8. -UI_DIR = ui
  9. AM_CFLAGS = $(LIBCAP_NG_CFLAGS) $(GLIB_CFLAGS)
  10. AM_CPPFLAGS = -I${top_srcdir} -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE
  11. noinst_HEADERS = bitmap.h constants.h cpumask.h irqbalance.h non-atomic.h \
  12. - types.h $(UI_DIR)/helpers.h $(UI_DIR)/irqbalance-ui.h $(UI_DIR)/ui.h
  13. -sbin_PROGRAMS = irqbalance irqbalance-ui
  14. + types.h
  15. +sbin_PROGRAMS = irqbalance
  16. irqbalance_SOURCES = activate.c bitmap.c classify.c cputree.c irqbalance.c \
  17. irqlist.c numa.c placement.c procinterrupts.c
  18. irqbalance_LDADD = $(LIBCAP_NG_LIBS) $(GLIB_LIBS)
  19. -irqbalance_ui_SOURCES = $(UI_DIR)/helpers.c $(UI_DIR)/irqbalance-ui.c \
  20. - $(UI_DIR)/ui.c
  21. -irqbalance_ui_LDADD = $(GLIB_LIBS) $(CURSES_LIBS)
  22. -dist_man_MANS = irqbalance.1
  23. CONFIG_CLEAN_FILES = debug*.list config/*
  24. clean-generic:
  25. --- a/configure.ac
  26. +++ b/configure.ac
  27. @@ -3,7 +3,7 @@ AC_PREREQ(2.12)dnl
  28. AM_CONFIG_HEADER(config.h)
  29. AC_CONFIG_MACRO_DIR([m4])
  30. -AM_INIT_AUTOMAKE([foreign] [subdir-objects])
  31. +AM_INIT_AUTOMAKE([foreign])
  32. AM_PROG_LIBTOOL
  33. AC_SUBST(LIBTOOL_DEPS)
  34. @@ -26,8 +26,6 @@ AC_CHECK_FUNCS(getopt_long)
  35. AC_CHECK_LIB(numa, numa_available)
  36. AC_CHECK_LIB(m, floor)
  37. -AC_CHECK_LIB(curses, mvprintw)
  38. -
  39. AC_C_CONST
  40. AC_C_INLINE
  41. AM_PROG_CC_C_O