From: Pekka Pessi <pekka.pe...@nokia.com> Older Debians and friends expose __ns_initparse and their resolv.h defines ns_initparse is __ns_initparse. --- configure.ac | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac index 7762f5c..b7bfd67 100644 --- a/configure.ac +++ b/configure.ac @@ -174,8 +174,9 @@ AM_CONDITIONAL(MEEGO_BUILTIN, test "${enable_meego}" = "builtin") AC_CHECK_HEADERS(resolv.h, dummy=yes, AC_MSG_ERROR(resolver header files are required)) -AC_CHECK_LIB(resolv, ns_initparse, dummy=yes, - AC_MSG_ERROR(resolver library support is required)) +AC_CHECK_LIB(resolv, ns_initparse, dummy=yes,[ +AC_CHECK_LIB(resolv, __ns_initparse, dummy=yes, + AC_MSG_ERROR(resolver library support is required))]) AC_CHECK_LIB(dl, dlopen, dummy=yes, AC_MSG_ERROR(dynamic linking loader is required)) -- 1.7.0.4 _______________________________________________ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman