If libosl is not found, configure will exit with an error message describing how
to download and install libosl. We could make it optional and build only the
client side of paraslash if libosl is not available, but that seems not be worth the
trouble as everyone likely wants to build para_server anyway.
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