# Test for existence of libGeoIP
my $found = 0;
foreach (split(/\s+/, $Config{libpth})) {
  if (-f "$_/libGeoIP." . $Config{so}) {
    $found = 1;
    last;
  }
}