[vlc-devel] [PATCH] OS/2: Add live555 supports
KO Myung-Hun
komh78 at gmail.com
Sun Jul 15 17:34:04 CEST 2012
KO Myung-Hun wrote:
> ---
> configure.ac | 9 ++++++++-
> 1 files changed, 8 insertions(+), 1 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 1861e90..255125e 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1581,7 +1581,12 @@ AS_IF([test "${enable_live555}" != "no" -a -n "${CXX}"], [
> AC_LANG_PUSH(C++)
> VLC_SAVE_FLAGS
> AS_IF([test -z "${CONTRIB_DIR}"], [
> - CPPFLAGS_live555="-I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment"
> + AS_IF([test ${SYS} != "os2"], [
> + CPPFLAGS_live555="-I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment"
> + ], [
> + CPPFLAGS_live555="-I/usr/lib/live/liveMedia/include -I/usr/lib/live/groupsock/include -I/usr/lib/live/BasicUsageEnvironment/include -I/usr/lib/live/UsageEnvironment/include"
> + LDFLAGS_live555="-L/usr/live/lib/liveMedia -L/usr/live/lib//groupsock -L/usr/live/lib/BasicUsageEnvironment -L/usr/live/lib/UsageEnvironment"
> + ])
> ], [
> CPPFLAGS_live555="-I${CONTRIB_DIR}/include/liveMedia -I${CONTRIB_DIR}/include/groupsock -I${CONTRIB_DIR}/include/BasicUsageEnvironment -I${CONTRIB_DIR}/include/UsageEnvironment"
> ])
> @@ -1589,6 +1594,7 @@ AS_IF([test "${enable_live555}" != "no" -a -n "${CXX}"], [
> CPPFLAGS_live555="${CPPFLAGS_live555} -DSOLARIS"
> ])
> CPPFLAGS="${CPPFLAGS} ${CPPFLAGS_live555}"
> + LDFLAGS="${LDFLAGS} ${LDFLAGS_live555}"
>
> AC_CACHE_CHECK([for live555 version 1324598400 or later], [ac_cv_live555], [
> AC_PREPROC_IFELSE([AC_LANG_PROGRAM([
> @@ -1623,6 +1629,7 @@ You can get an updated one from http://www.live555.com/liveMedia .])
> dnl We need to check for pic because live555 don't provide shared libs
> dnl and we want to build a plugins so we need -fPIC on some arch.
> VLC_ADD_CXXFLAGS([live555], [${CPPFLAGS_live555}])
> + VLC_ADD_LDFLAGS([live555], [${LDFLAGS_live555}])
> AC_CHECK_LIB(liveMedia_pic, main, [
> VLC_ADD_PLUGIN([live555])
> VLC_ADD_LIBS([live555], [-lliveMedia_pic ${other_libs_pic}])
Ping 2?
--
KO Myung-Hun
Using Mozilla SeaMonkey 2.7.2
Under OS/2 Warp 4 for Korean with FixPak #15
In VirtualBox v4.1.18 on Intel Core i7-3615QM 2.30GHz with 8GB RAM
Korean OS/2 User Community : http://www.ecomstation.co.kr
More information about the vlc-devel
mailing list