From: Andre Noll Date: Sat, 14 Sep 2013 04:00:46 +0000 (+0000) Subject: build: Move relevant parts to gui section. X-Git-Tag: v0.5.1~1^2~17 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=b399d61aff92ec82cb0adc29160a8d44dfab2ab7;p=paraslash.git 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. --- 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)