gui_other_objs="gui gui_theme"
gui_objs="$gui_cmdline_objs $gui_errlist_objs $gui_other_objs"
+fade_cmdline_objs="fade.cmdline"
+fade_errlist_objs="fade exec close_on_fork string fd"
+
+
+
########################################################################### ssl
dnl @synopsis CHECK_SSL
dnl
if test "$OSTYPE" != "Linux"; then
have_alsa="no"
fi
-msg="=> can not build para_fade, and no alsa support for para_audiod/para_write"
+msg="=> will not build para_fade"
if test "$have_alsa" = "yes"; then
- AC_CHECK_HEADER(linux/soundcard.h,
- [extras="$extras para_fade"],
+ AC_CHECK_HEADER(linux/soundcard.h, [
+ extras="$extras para_fade"
+ all_executables="$all_executables fade"
+ ],
[
have_alsa="no"
AC_MSG_WARN([no linux/soundcard.h $msg])
]
)
fi
-
+msg="=> no alsa support for para_audiod/para_write"
if test "$have_alsa" = "yes"; then
AC_CHECK_HEADERS([alsa/asoundlib.h], [], [
have_alsa="no"
AC_DEFUN([objlist_to_errlist],[$(for i in $@; do printf "DEFINE_ERRLIST($(echo $i| tr 'a-z' 'A-Z'));"; done) [const char **para_errlist[[]]] = {$(for i in $@; do printf "PARA_ERRLIST($(echo $i | tr 'a-z' 'A-Z')), "; done) }])
############################################################# error2.h
-
AC_DEFUN([define_safe_error_enums],
[
exe=""
fsck_objs="$fsck_cmdline_objs $fsck_errlist_objs"
audioc_objs="$audioc_cmdline_objs $audioc_errlist_objs"
afh_objs="$afh_cmdline_objs $afh_errlist_objs"
+fade_objs="$fade_cmdline_objs $fade_errlist_objs"
AC_SUBST(recv_objs, add_dot_o($recv_objs))
AC_SUBST(recv_ldflags, $recv_ldflags)
AC_DEFINE_UNQUOTED(INIT_GUI_ERRLISTS,
objlist_to_errlist($gui_errlist_objs), errors used by para_gui)
+AC_SUBST(fade_objs, add_dot_o($fade_objs))
+AC_DEFINE_UNQUOTED(INIT_FADE_ERRLISTS,
+ objlist_to_errlist($fade_errlist_objs), errors used by para_fade)
+
enum="$(for i in $writers; do printf "${i}_WRITE, " | tr '[a-z]' '[A-Z]'; done)"
AC_DEFINE_UNQUOTED(WRITER_ENUM, $enum NUM_SUPPORTED_WRITERS,
enum of supported writers)