I noticed that on OpenBSD GeoIP.h detection logic did not work by default.
From configure.ac I noticed that there is a workaround for FreeBSD, which
involves hardcoding /usr/local in CPPFLAGS. As I get, GeoIP didn't include
pkg-config file, which was the reason for custom logic here. Since it does
ship geoip.pc now, I propose to use it and only fall back to detection logic if
PKG_CHECK_MODULES fails.
Also, it appears that providing "[AC_INCLUDES_DEFAULT]" as fourth argument to
AC_CHECK_HEADER fixes detection logic on OpenBSD.
I prepared a changeset with a fix here:
http://code.google.com/r/czarkoff-build-system/source/detail?r=47e828d959689bf9f
ed7e6ea6c8bbec34cc185a3
Original issue reported on code.google.com by czarkoff on 12 Nov 2014 at 9:35
Original issue reported on code.google.com by
czarkoff
on 12 Nov 2014 at 9:35