X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=configure.ac;h=73f6fdbff7b745cd598a3e912260587b0523a0bd;hp=06b7e524a61cf74061466fe518129ab6d5fe14b2;hb=8d7f47e8cec74e4d209cfa1f6c4c0cec3b0e5019;hpb=e0133f661a998cf76eafd8ed36769c5d840410f6 diff --git a/configure.ac b/configure.ac index 06b7e524..73f6fdbf 100644 --- a/configure.ac +++ b/configure.ac @@ -15,6 +15,12 @@ AC_MSG_CHECKING(os type) OSTYPE="`$UNAMEPATH -s`" AC_MSG_RESULT("$OSTYPE") +if test "$OSTYPE" = "SunOS"; then + # needed on SunOS for socket magic + arch_cppflags="-D_XOPEN_SOURCE=500 -D__EXTENSIONS__" + AC_SUBST(arch_cppflags) +fi + AC_C_BIGENDIAN() AC_PROG_CC @@ -72,7 +78,7 @@ AC_CHECK_FUNCS([atexit dup2 memchr memmove memset \ [AC_MSG_ERROR([function not found, cannot live without it])]) all_errlist_objs="server mp3_afh afh_common vss command net string signal time -daemon stat crypt http_send close_on_fork ipc dccp +daemon stat crypt http_send close_on_fork ipc dccp_send fd user_list chunk_queue afs osl aft mood score attribute blob ringbuffer playlist sha1 rbtree sched audiod grab_client filter_chain wav compress http_recv dccp_recv recv_common write_common file_write audiod_command @@ -81,7 +87,7 @@ all_executables="server audiod recv filter audioc write client fsck" recv_cmdline_objs="recv.cmdline http_recv.cmdline dccp_recv.cmdline" recv_errlist_objs="http_recv recv_common recv time string net dccp_recv - dccp fd sched stdout" + fd sched stdout" recv_ldflags="" receivers=" http dccp" @@ -100,7 +106,7 @@ audiod_cmdline_objs="audiod.cmdline grab_client.cmdline compress_filter.cmdline http_recv.cmdline dccp_recv.cmdline file_write.cmdline client.cmdline audiod_command_list" audiod_errlist_objs="audiod signal string daemon stat net - time grab_client filter_chain wav compress http_recv dccp dccp_recv + time grab_client filter_chain wav compress http_recv dccp_recv recv_common fd sched write_common file_write audiod_command crypt client_common" audiod_ldflags="" @@ -109,7 +115,7 @@ audiod_audio_formats="" server_cmdline_objs="server.cmdline server_command_list afs_command_list" server_errlist_objs="server afh_common mp3_afh vss command net string signal time daemon stat crypt http_send close_on_fork - ipc dccp dccp_send fd user_list chunk_queue afs osl aft mood score attribute + ipc dccp_send fd user_list chunk_queue afs osl aft mood score attribute blob playlist sha1 rbtree sched" server_ldflags="" server_audio_formats=" mp3" @@ -549,10 +555,11 @@ AC_DEFINE_UNQUOTED(DEFINE_ERRLIST_OBJECT_ENUM, ################################################################## status items status_items="basename status num_played mtime bitrate frequency file_size -status_flags format score audio_file_info tag_info1 tag_info2 afs_mode +status_flags format score audio_file_info taginfo1 taginfo2 afs_mode attributes_txt decoder_flags audiod_status play_time attributes_bitmap offset seconds_total stream_start current_time audiod_uptime image_id -lyrics_id duration directory" +lyrics_id duration directory lyrics_name image_name path hash channels +last_played" # $1: prefix, $2: items AC_DEFUN([make_enum_items], [$(