libnids is used by dsniff, but libnids only builds a static library
due to being coded in 2005 before much use of `.dylib` etc. By
patching libnids to build a shared library, we can get dsniff to
link against it and against glib and gthread correctly without
`LDFLAGS` hacking.
- Add deps on automake anb libtool to run `autoreconf`
- Run autoreconf to fix any issues in 2005 era configure.
- Add configure flag to `--enable-shared`
- Add patch to fix errors building shared with `-soname` and `.so`
- Works well with superenv and dnsiff
FixesHomebrew/homebrew#14363ClosesHomebrew/homebrew#15011.
Signed-off-by: Max Howell <mxcl@me.com>