> In a second patch I incorporated a statement > > PATH=/bin:/usr/bin/:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin > > Would this be sufficient?
No. On my NixOS GNU/Linux system ‘netstat’ is currently available at /nix/store/6bmfw4xakvlak8p4j60024rl11fri34f-net-tools-1.60/bin/netstat, so no, that won’t be sufficient. :-) Weirdos. ‘AC_PATH_PROG’ is really needed, as well as graceful handling of the lack of ‘netstat’ by skipping the test. Good point, the test suite is still quite rudimentary so we need to fix problems as they are reported. In general, the build system of GNU packages should not assume any fix location for its dependencies. Since one is assuming that netstat (in this case) is in PATH no such assumptions are made.
