+########################################################################### 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