> +# Check existance of netstat before proceeding.
   > +netstat > /dev/null
   > +if [ ! $? -eq 0 ]; then
   > +    echo "netstat is required"
   > +    exit 77
   > +fi

   Sounds good to me, though it doesn’t allow you to distinguish
   between “not found” and some other netstat failure (unlike
   AC_PATH_PROG([NETSTAT], [netstat]) + @NETSTAT@.)

If netstat fails, for whatever reason, then you're SOL anyway.  This
makes it easy to test with different version, just frob PATH.

Reply via email to