[PATCH] use $PKG_CONFIG
Aleksander Morgado
aleksander at lanedo.com
Sun Sep 23 19:38:48 PDT 2012
On 09/23/2012 11:20 PM, Mike Frysinger wrote:
> The build system sets up this variable for us, so use it rather than
> hardcoding "pkg-config" which might be the wrong one.
>
Pushed, Thanks.
Also fixed the same issue in ModemManager.
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
> configure.ac | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index 0a6686d..b2def16 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -42,7 +42,7 @@ PKG_CHECK_MODULES(QMICLI,
> AC_SUBST(QMICLI_CFLAGS)
> AC_SUBST(QMICLI_LIBS)
>
> -GLIB_MKENUMS=`pkg-config --variable=glib_mkenums glib-2.0`
> +GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
> AC_SUBST(GLIB_MKENUMS)
>
> dnl Documentation
>
--
Aleksander
More information about the libqmi-devel
mailing list