]> git.tue.mpg.de Git - paraslash.git/commitdiff
build: Move relevant parts to gui section.
authorAndre Noll <maan@systemlinux.org>
Sat, 14 Sep 2013 04:00:46 +0000 (04:00 +0000)
committerAndre Noll <maan@systemlinux.org>
Sun, 1 Dec 2013 10:57:20 +0000 (11:57 +0100)
The definition of gui_objs and INIT_GUI_ERRLISTS belongs to the
gui section so move it there.

configure.ac

index cc0273ff5f64da3f1d00c22743037f0719c876d4..162818e3e97e0052d750b8309083b75030859e6b 100644 (file)
@@ -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)