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
+ time daemon crypt http_send close_on_fork
ipc dccp_send fd user_list chunk_queue afs aft mood score attribute
blob playlist sha1 sched acl send_common udp_send color fec"
server_ldflags="-losl"
fade_errlist_objs="fade exec string fd"
-
+########################################################################### osl
+have_osl=yes
+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_ERROR([libosl not found, type the following to download:
+ git clone git://git.tuebingen.mpg.de/osl
+Install the library with
+ (cd osl && make && sudo make install)
+ ])
+fi
########################################################################### ssl
dnl @synopsis CHECK_SSL
dnl