Hi Pekka,

> 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))])

can you please indent here to show that one depends on the other one to
fail.

Regards

Marcel


_______________________________________________
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman

Reply via email to