[vlc-devel] [PATCH] OS/2: Add live555 supports
Rémi Denis-Courmont
remi at remlab.net
Sun Jul 15 17:59:03 CEST 2012
I don't understand where the paths are coming from, nor why LDFLAGS is used.
Le mardi 10 juillet 2012 09:47:55 KO Myung-Hun, vous avez écrit :
> ---
> 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}])
--
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis
More information about the vlc-devel
mailing list