From 66e7106d393368b2dd0d04c08f31781ed997380b Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 25 May 2015 01:21:50 +0800 Subject: sgsn: Integrate c-ares with the osmocom event loop c-ares is an asynchronous DNS resolver and we need it to resolve the GGSN address. This is integrating the library into our infrastructure. We will create and maintain a list of registered FDs (c-ares is currently only using one of them) and (re-)schedule the timer after events occurred. --- openbsc/configure.ac | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'openbsc/configure.ac') diff --git a/openbsc/configure.ac b/openbsc/configure.ac index 394972f46..fb6feb9b9 100644 --- a/openbsc/configure.ac +++ b/openbsc/configure.ac @@ -79,6 +79,11 @@ PKG_CHECK_MODULES(LIBGTP, libgtp, , found_libgtp=no) AM_CONDITIONAL(HAVE_LIBGTP, test "$found_libgtp" = yes) AC_SUBST(found_libgtp) +found_libcares=yes +PKG_CHECK_MODULES([LIBCARES], [libcares], [], [found_libcares=no]) +AM_CONDITIONAL(HAVE_LIBCARES, test "$found_libcares" = yes) +AC_SUBST(found_libcares) + dnl checks for header files AC_HEADER_STDC AC_CHECK_HEADERS(dahdi/user.h,,AC_MSG_WARN(DAHDI input driver will not be built)) -- cgit v1.2.3