📄 aclocal.m4
字号:
dnl Verify that the include path used by c++ has include files thatdnl have support for multicast. A relatively common problem is thatdnl gcc/g++ may be installed at a site prior to multicast includes beingdnl installed, or perhaps gcc/g++ were installed on a network filesystemdnl on a machine that did not have multicast includes patches in /usr/include.dnldnl Either of those cases cause rtpmon compilation to fail. The easiest waydnl to fix this is to set either CPPFLAGS (*not* CXXFLAGS or CFLAGS) ordnl C_INCLUDE_PATH to -I/path/to/multicast/includes. CPPFLAGS is used bydnl autoconf and many Makefiles; C_INCLUDE_PATH is gcc-specific.AC_DEFUN(RTPMON_PROG_CXX_MCAST,[ AC_REQUIRE([AC_PROG_CXXCPP]) AC_LANG_SAVE AC_LANG_CPLUSPLUS AC_MSG_CHECKING(for struct ip_mreq in netinet/in.h for C++) AC_EGREP_HEADER(struct ip_mreq, netinet/in.h, [AC_MSG_RESULT(yes)], [AC_MSG_RESULT(no) AC_MSG_ERROR([installation or configuration problem: C++ compiler cannotfind multicast-patched include files])] ) AC_LANG_RESTORE])
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -