configure: Check for tpacket, ncurses, libgeoip

Check for some more libraries we make use of in the configure step.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>