aclocal.m4

来自「rtpmon-1.0a7.tar.gz for UNIX like」· M4 代码 · 共 25 行

M4
25
字号
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 + =
减小字号Ctrl + -
显示快捷键?