> 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. :-) ‘AC_PATH_PROG’ is really needed, as well as graceful handling of the lack of ‘netstat’ by skipping the test. A AC_PATH_PROG is definitly a good idea, and we should have our own netstat as well :-) In general, the build system of GNU packages should not assume any fix location for its dependencies. Right, and the test suite doesn't do that. If netstat is in PATH, then it will be found; NixOS is kinda special in that way which is good since it makes things better for us.
