AC_CHECK_HEADER(osl.h, [], have_osl=no)
AC_CHECK_LIB([osl], [osl_open_table], [], have_osl=no)
-if test "$have_osl" = "no"; then
+if test "$have_osl" = "yes"; then
+ AC_SUBST(osl_cppflags)
+ osl_ldflags="$osl_libs -losl"
+ AC_SUBST(osl_ldflags)
+else
AC_MSG_WARN([libosl not found, can not build para_server.
Download libosl at
http://systemlinux.org/~maan/osl
git clone git://git.tuebingen.mpg.de/osl
])
fi
-AC_SUBST(osl_cppflags)
CPPFLAGS="$OLD_CPPFLAGS"
LDFLAGS="$OLD_LDFLAGS"
LIBS="$OLD_LIBS"
version
ggo
"
- server_ldflags="$server_ldflags $osl_libs -losl"
else
build_server="no"
fi