[Intel-gfx] [PATCH v4 1/5] drm: Add config for detecting libdrm

Mike Frysinger vapier at gentoo.org
Tue Aug 25 14:09:29 PDT 2015


On 24 Aug 2015 14:42, Patrik Jakobsson wrote:
> +PKG_CHECK_MODULES([LIBDRM], [libdrm],
> +		  [CPPFLAGS="$CPPFLAGS $LIBDRM_CFLAGS"
> +		   AC_CHECK_HEADERS([drm.h i915_drm.h])],
> +		  [AC_CHECK_HEADERS([drm/drm.h drm/i915_drm.h])])

i would make the drm/xxx headers unconditional -- add them to the big
block that does:
AC_CHECK_HEADERS(m4_normalize([
	...
]))

otherwise seems fine
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20150825/71ddd7a2/attachment.sig>


More information about the Intel-gfx mailing list