Hi Grant,

> Ensure that the DBUS_{CFLAGS,LIBS} substitutions are performed before
> checking for dbus_watch_get_unix_fd. This allows handling cross-compiled
> or other environments in which dbus-1 is not installed in a standard
> system location where the target environment dbus-1 version might be
> uprev'd from the host environment version.
> 
> ---
>  configure.ac |   20 ++++++++++++++++++--
>  1 files changed, 18 insertions(+), 2 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index bae9ce8..fbb1dce 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -306,11 +306,27 @@ fi
>  
>  PKG_CHECK_MODULES(DBUS, dbus-1 >= 1.0, dummy=yes,
>                               AC_MSG_ERROR(D-Bus >= 1.0 is required))
> +
> +# Ensure that we perform the DBUS_{CFLAGS,LIBS} substitutions before
> +# checking for dbus_watch_get_unix_fd so that we can handle
> +# cross-compiled or other environments in which dbus-1 is not
> +# installed in a standard system location where the target environment
> +# dbus-1 version might be uprev'd from the host environment.

at this point in time we might just require D-Bus 1.2 or even better 1.4
anyway.

Regards

Marcel


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

Reply via email to