Commit da5309ff authored by Christophe Mutricy's avatar Christophe Mutricy

configure.ac: Solaris fix for live555. Patch courtesy of Alexander Gall

parent 77e453ac
......@@ -1519,6 +1519,9 @@ if test "${enable_livedotcom}" = "yes"; then
AC_LANG_PUSH(C++)
CPPFLAGS_save="${CPPFLAGS}"
CPPFLAGS_livedotcom="-I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment"
if test "${SYS}" = "solaris"; then
CPPFLAGS_livedotcom="${CPPFLAGS_livedotcom} -DSOLARIS"
fi
CPPFLAGS="${CPPFLAGS} ${CPPFLAGS_livedotcom}"
AC_CHECK_HEADERS(liveMedia.hh, [
VLC_ADD_CXXFLAGS([livedotcom], [${CPPFLAGS_livedotcom}])
......@@ -1567,6 +1570,9 @@ if test "${enable_livedotcom}" = "yes"; then
VLC_ADD_CXXFLAGS([livedotcom],[-I${real_livedotcom_tree}/groupsock/include])
VLC_ADD_CXXFLAGS([livedotcom],[-I${real_livedotcom_tree}/liveMedia/include])
VLC_ADD_CXXFLAGS([livedotcom],[-I${real_livedotcom_tree}/UsageEnvironment/include ])
if test "${SYS}" = "solaris"; then
VLC_ADD_CXXFLAGS([livedotcom],[-DSOLARIS])
fi
else
dnl The given live.com wasn't built
AC_MSG_RESULT(no)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment