Commit 46522421 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix UPnP headers check

parent 165ae853
...@@ -3675,11 +3675,11 @@ if test "${CXX}" != "" -a "${enable_cyberlink}" = "yes" || (test "${enable_cyber ...@@ -3675,11 +3675,11 @@ if test "${CXX}" != "" -a "${enable_cyberlink}" = "yes" || (test "${enable_cyber
AC_MSG_RESULT(no) AC_MSG_RESULT(no)
AC_MSG_ERROR([cannot cd to ${with_cyberlink_tree}]) AC_MSG_ERROR([cannot cd to ${with_cyberlink_tree}])
fi fi
CXXFLAGS_save="${CXXFLAGS}" CPPFLAGS_save="${CPPFLAGS}"
CXXFLAGS_cyberlink="-I${real_cyberlink_tree}/include" CPPFLAGS_cyberlink="-I${real_cyberlink_tree}/include"
CXXFLAGS="${CXXFLAGS} ${CXXFLAGS_cyberlink}" CPPFLAGS="${CPPFLAGS} ${CPPFLAGS_cyberlink}"
AC_CHECK_HEADERS([cybergarage/upnp/MediaServer.h], AC_CHECK_HEADERS([cybergarage/upnp/MediaServer.h],
[ VLC_ADD_CXXFLAGS([upnp], [${CXXFLAGS_cyberlink}]) [ VLC_ADD_CXXFLAGS([upnp], [${CPPFLAGS_cyberlink}])
VLC_ADD_PLUGINS([upnp]) VLC_ADD_PLUGINS([upnp])
],[ ],[
AC_MSG_ERROR([cannot find CyberLink for C++ headers]) AC_MSG_ERROR([cannot find CyberLink for C++ headers])
...@@ -3693,7 +3693,7 @@ if test "${CXX}" != "" -a "${enable_cyberlink}" = "yes" || (test "${enable_cyber ...@@ -3693,7 +3693,7 @@ if test "${CXX}" != "" -a "${enable_cyberlink}" = "yes" || (test "${enable_cyber
AC_MSG_RESULT(no) AC_MSG_RESULT(no)
AC_MSG_ERROR([cannot find ${real_cyberlink_tree}/lib/unix/libclink.a, make sure you compiled CyberLink for C++ in ${with_cyberlink_tree}]) AC_MSG_ERROR([cannot find ${real_cyberlink_tree}/lib/unix/libclink.a, make sure you compiled CyberLink for C++ in ${with_cyberlink_tree}])
fi fi
CXXFLAGS="${CXXFLAGS_save}" CPPFLAGS="${CPPFLAGS_save}"
AC_LANG_POP([C++]) AC_LANG_POP([C++])
fi fi
fi fi
......
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