[Mesa-dev] [PATCH] configure.ac: honour --disable-libunwind if the .pc file is present
Eric Anholt
eric at anholt.net
Thu Apr 13 19:03:48 UTC 2017
Emil Velikov <emil.l.velikov at gmail.com> writes:
> From: Emil Velikov <emil.velikov at collabora.com>
>
> We should check the presence in order to determine if we should
> [implicitly] set the CFLAGS/LIBS
>
> Cc: Eric Anholt <eric at anholt.net>
> Reported-by: Eric Anholt <eric at anholt.net>
> Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
> ---
> configure.ac | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index 7246c6017a2..cceb8df4f09 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1048,12 +1048,15 @@ AC_ARG_ENABLE([libunwind],
> [LIBUNWIND="$enableval"],
> [LIBUNWIND="auto"])
>
> -PKG_CHECK_MODULES(LIBUNWIND, libunwind, [HAVE_LIBUNWIND=yes], [HAVE_LIBUNWIND=no])
> +PKG_CHECK_EXISTS([libomxil-bellagio >= $LIBOMXIL_BELLAGIO_REQUIRED], [enable_omx=yes], [enable_omx=no])
> +
> +PKG_CHECK_EXISTS(libunwind, [HAVE_LIBUNWIND=yes], [HAVE_LIBUNWIND=no])
some stray change in here about omx. Other than that, looks fine.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170413/adc6a9cd/attachment.sig>
More information about the mesa-dev
mailing list