ao_ldflags := @ao_ldflags@
readline_ldflags := @readline_ldflags@
samplerate_ldflags := @samplerate_ldflags@
+osl_ldflags := @osl_ldflags@
build_date := $(shell date)
uname_s := $(shell uname -s 2>/dev/null || echo "UNKNOWN_OS")
para_recv para_afh para_play para_server: LDFLAGS += $(id3tag_ldflags)
para_write para_play para_audiod: LDFLAGS += $(ao_ldflags)
para_client para_audioc para_play : LDFLAGS += $(readline_ldflags)
+para_server: LDFLAGS += $(osl_ldflags)
para_audiod \
para_filter \
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