1265N/A PKG_CHECK_MODULES(DRM, [libdrm >= 2.4.23])
1265N/A PKG_CHECK_MODULES(PCIACCESS, [pciaccess >= 0.10])
1089N/A-sdkdir=`$PKG_CONFIG --variable=sdkdir xorg-server`
567N/A+AC_ARG_WITH(xorg-sdk-dir,
1265N/A+ AC_HELP_STRING([--with-xorg-sdk-dir=DIR],
1265N/A+ [Default xorg sdk include directory [[default is taken from pkgconfig]]]),
1265N/A+ [sdkdir=$(pkg-config --variable=sdkdir xorg-server)])
1089N/A CFLAGS="$XORG_CFLAGS $DRI_CFLAGS $DRM_CFLAGS"