[PATCH xf86-video-amdgpu] Check GBM_BO_USE_LINEAR correctly
Michel Dänzer
michel at daenzer.net
Thu May 28 17:58:55 PDT 2015
On 29.05.2015 01:02, Jammy Zhou wrote:
>
> diff --git a/configure.ac b/configure.ac
> index c2411d9..e39654e 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -158,6 +158,17 @@ if test "x$have_list_h" = xyes; then
> #include "list.h"])
> fi
>
> +AC_CHECK_HEADERS([gbm.h],
> + [have_gbm_h="yes"], [have_gbm_h="no"],
> + [#include <stdlib.h>])
> +
> +if test "x$have_gbm_h" = xyes; then
Please remove these checks, we require GBM with PKG_CHECK_MODULES.
With that fixed,
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the xorg-driver-ati
mailing list