AC_CHECK_HEADER(osl.h, [], have_osl=no)
AC_CHECK_LIB([osl], [osl_open_table], [], have_osl=no)
if test "$have_osl" = "no"; then
+ build_server="no"
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
- extras="$extras server"
+ build_server="yes"
executables="$executables server"
server_cmdline_objs="add_cmdline(server)"
server_errlist_objs="
)
if test "$have_curses" = "yes"; then
AC_SUBST(curses_cppflags)
- extras="$extras gui"
+ build_gui="yes"
executables="$executables gui"
else
+ build_gui="no"
AC_MSG_WARN([no curses lib, cannot build para_gui])
fi
CPPFLAGS="$OLD_CPPFLAGS"
LIBS="$OLD_LIBS"
########################################################################### fade
if test -n "$mixers"; then
- extras="$extras fade"
+ build_fade="yes"
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
+ build_fade="no"
AC_MSG_WARN([no mixer support])
mixer_summary="para_fade: no"
fi
id3 version2 support: $have_libid3tag
filters: $filters
writers: $writers
-optional executables: $extras
+
$mixer_summary
+para_server: $build_server
+para_gui: $build_gui
+para_fade: $build_fade
])