From b399d61aff92ec82cb0adc29160a8d44dfab2ab7 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 14 Sep 2013 04:00:46 +0000 Subject: [PATCH] build: Move relevant parts to gui section. The definition of gui_objs and INIT_GUI_ERRLISTS belongs to the gui section so move it there. --- configure.ac | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index cc0273ff..162818e3 100644 --- a/configure.ac +++ b/configure.ac @@ -1089,6 +1089,9 @@ if test "$have_curses" = "yes"; then ggo " gui_objs="add_cmdline($gui_cmdline_objs) $gui_errlist_objs" + AC_SUBST(gui_objs, add_dot_o($gui_objs)) + AC_DEFINE_UNQUOTED(INIT_GUI_ERRLISTS, + objlist_to_errlist($gui_errlist_objs), errors used by para_gui) else build_gui="no" AC_MSG_WARN([no curses lib, cannot build para_gui]) @@ -1515,10 +1518,6 @@ AC_SUBST(filter_objs, add_dot_o($filter_objs)) AC_DEFINE_UNQUOTED(INIT_FILTER_ERRLISTS, objlist_to_errlist($filter_errlist_objs), errors used by para_filter) -AC_SUBST(gui_objs, add_dot_o($gui_objs)) -AC_DEFINE_UNQUOTED(INIT_GUI_ERRLISTS, - objlist_to_errlist($gui_errlist_objs), errors used by para_gui) - enum="$(for i in $filters; do printf "${i}_FILTER, " | tr '[a-z]' '[A-Z]'; done)" AC_DEFINE_UNQUOTED(FILTER_ENUM, $enum NUM_SUPPORTED_FILTERS, enum of supported filters) -- 2.39.5