/[svn]/ircd-hybrid/trunk/m4/ax_arg_libgeoip.m4
ViewVC logotype

Contents of /ircd-hybrid/trunk/m4/ax_arg_libgeoip.m4

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4981 - (show annotations)
Fri Dec 5 14:31:27 2014 UTC (8 years, 2 months ago) by michael
File size: 318 byte(s)
- Add m4/ax_arg_libgeoip.m4 and tidy up configure.ac a bit

1 AC_DEFUN([AX_ARG_LIBGEOIP],[
2 AC_ARG_ENABLE(libgeoip,
3 [AS_HELP_STRING([--disable-libgeoip],[Disable GeoIP support])], [],
4 [AC_CHECK_HEADER(GeoIP.h,
5 [AC_SEARCH_LIBS(GeoIP_id_by_ipnum_v6_gl, GeoIP,
6 [AC_DEFINE(HAVE_LIBGEOIP, 1, [Define to 1 if libGeoIP (-lGeoIP) is available.])])])], [])
7 ])

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28