dnl # dnl # commit 1471ca9aa71cd37b6a7476bb6f06a3a8622ea1bd dnl # fbdev: allow passing more than one aperture for handoff dnl # AC_DEFUN([AC_AMDGPU_FB_INFO_APERTURES], [AC_MSG_CHECKING([whether fb_info_apertures() is available]) AC_KERNEL_TRY_COMPILE([ #include ],[ struct fb_info *pfi = NULL; pfi->apertures = pfi->apertures; ],[ AC_MSG_RESULT(yes) AC_DEFINE(HAVE_FB_INFO_APERTURES, 1, [fb_info_apertures() is available]) ],[ AC_MSG_RESULT(no) ]) ])