This changes the summary at the end of the configure script to
output one line per optional executable rather than to list all
optional executables in a single line.
The new build_xxx variables are also useful to compute the set of
all $all_errlist_objects at a single location, which will be done
in a subsequent patch.
AC_CHECK_HEADER(osl.h, [], have_osl=no)
AC_CHECK_LIB([osl], [osl_open_table], [], have_osl=no)
if test "$have_osl" = "no"; then
AC_CHECK_HEADER(osl.h, [], have_osl=no)
AC_CHECK_LIB([osl], [osl_open_table], [], have_osl=no)
if test "$have_osl" = "no"; then
AC_MSG_WARN([libosl not found, can not build para_server.
Download libosl at
http://systemlinux.org/~maan/osl
AC_MSG_WARN([libosl not found, can not build para_server.
Download libosl at
http://systemlinux.org/~maan/osl
git clone git://git.tuebingen.mpg.de/osl
])
else
git clone git://git.tuebingen.mpg.de/osl
])
else
- extras="$extras server"
executables="$executables server"
server_cmdline_objs="add_cmdline(server)"
server_errlist_objs="
executables="$executables server"
server_cmdline_objs="add_cmdline(server)"
server_errlist_objs="
)
if test "$have_curses" = "yes"; then
AC_SUBST(curses_cppflags)
)
if test "$have_curses" = "yes"; then
AC_SUBST(curses_cppflags)
executables="$executables gui"
else
executables="$executables gui"
else
AC_MSG_WARN([no curses lib, cannot build para_gui])
fi
CPPFLAGS="$OLD_CPPFLAGS"
AC_MSG_WARN([no curses lib, cannot build para_gui])
fi
CPPFLAGS="$OLD_CPPFLAGS"
LIBS="$OLD_LIBS"
########################################################################### fade
if test -n "$mixers"; then
LIBS="$OLD_LIBS"
########################################################################### fade
if test -n "$mixers"; then
executables="$executables fade"
all_errlist_objs="$all_errlist_objs fade"
fade_errlist_objs="$fade_errlist_objs fade exec string fd version ggo"
executables="$executables fade"
all_errlist_objs="$all_errlist_objs fade"
fade_errlist_objs="$fade_errlist_objs fade exec string fd version ggo"
AC_DEFINE_UNQUOTED(MIXER_ARRAY, $array, array of supported mixers)
mixer_summary="supported mixers:: $mixers, default: $default_mixer"
else
AC_DEFINE_UNQUOTED(MIXER_ARRAY, $array, array of supported mixers)
mixer_summary="supported mixers:: $mixers, default: $default_mixer"
else
AC_MSG_WARN([no mixer support])
mixer_summary="para_fade: no"
fi
AC_MSG_WARN([no mixer support])
mixer_summary="para_fade: no"
fi
id3 version2 support: $have_libid3tag
filters: $filters
writers: $writers
id3 version2 support: $have_libid3tag
filters: $filters
writers: $writers
-optional executables: $extras
+para_server: $build_server
+para_gui: $build_gui
+para_fade: $build_fade