From 6cf2793e302624252a2acd357cf7615ac3b9e07d Mon Sep 17 00:00:00 2001 From: Blake Harnden <32446120+bharnden@users.noreply.github.com> Date: Tue, 8 Mar 2022 16:50:09 -0800 Subject: [PATCH] install: removed netgraph checks in configure.ac, removed referenced to netgraph in docs --- configure.ac | 40 +++++++++++++++++++--------------------- docs/gui.md | 9 ++++----- 2 files changed, 23 insertions(+), 26 deletions(-) diff --git a/configure.ac b/configure.ac index e9604a6d..113782b5 100644 --- a/configure.ac +++ b/configure.ac @@ -83,27 +83,6 @@ if test "x$enable_daemon" = "xyes"; then want_python=yes want_linux_netns=yes - # Checks for libraries. - AC_CHECK_LIB([netgraph], [NgMkSockNode]) - - # Checks for header files. - AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h stdint.h stdlib.h string.h sys/ioctl.h sys/mount.h sys/socket.h sys/time.h termios.h unistd.h]) - - # Checks for typedefs, structures, and compiler characteristics. - AC_C_INLINE - AC_TYPE_INT32_T - AC_TYPE_PID_T - AC_TYPE_SIZE_T - AC_TYPE_SSIZE_T - AC_TYPE_UINT32_T - AC_TYPE_UINT8_T - - # Checks for library functions. - AC_FUNC_FORK - AC_FUNC_MALLOC - AC_FUNC_REALLOC - AC_CHECK_FUNCS([atexit dup2 gettimeofday memset socket strerror uname]) - AM_PATH_PYTHON(3.6) AS_IF([$PYTHON -m grpc_tools.protoc -h &> /dev/null], [], [AC_MSG_ERROR([please install python grpcio-tools])]) @@ -160,6 +139,25 @@ fi if [ test "x$enable_daemon" = "xyes" || test "x$enable_vnodedonly" = "xyes" ] ; then want_linux_netns=yes + + # Checks for header files. + AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h stdint.h stdlib.h string.h sys/ioctl.h sys/mount.h sys/socket.h sys/time.h termios.h unistd.h]) + + # Checks for typedefs, structures, and compiler characteristics. + AC_C_INLINE + AC_TYPE_INT32_T + AC_TYPE_PID_T + AC_TYPE_SIZE_T + AC_TYPE_SSIZE_T + AC_TYPE_UINT32_T + AC_TYPE_UINT8_T + + # Checks for library functions. + AC_FUNC_FORK + AC_FUNC_MALLOC + AC_FUNC_REALLOC + AC_CHECK_FUNCS([atexit dup2 gettimeofday memset socket strerror uname]) + PKG_CHECK_MODULES(libev, libev, AC_MSG_RESULT([found libev using pkgconfig OK]) AC_SUBST(libev_CFLAGS) diff --git a/docs/gui.md b/docs/gui.md index 325f2b54..633cf829 100644 --- a/docs/gui.md +++ b/docs/gui.md @@ -253,11 +253,10 @@ Here are some standard widgets: Only half of the line is drawn because each router may be in a different adjacency state with respect to the other. * **Throughput** - displays the kilobits-per-second throughput above each link, - using statistics gathered from the ng_pipe Netgraph node that implements each - link. If the throughput exceeds a certain threshold, the link will become - highlighted. For wireless nodes which broadcast data to all nodes in range, - the throughput rate is displayed next to the node and the node will become - circled if the threshold is exceeded. + using statistics gathered from each link. If the throughput exceeds a certain + threshold, the link will become highlighted. For wireless nodes which broadcast + data to all nodes in range, the throughput rate is displayed next to the node and + the node will become circled if the threshold is exceeded. #### Observer Widgets