--- a/configure.ac 2022-01-24 08:05:16.000000000 +0300 +++ b/configure.ac 2023-11-07 17:40:09.892268034 +0300 @@ -97,7 +97,8 @@ AC_SUBST(xorgconfdir) # X Server SDK location is required to install header files -sdkdir=`$PKG_CONFIG --variable=sdkdir xorg-server` +#sdkdir=`$PKG_CONFIG --variable=sdkdir xorg-server` +sdkdir="/usr/include/xorg" # Workaround overriding sdkdir to be able to create a tarball when user has no # write permission in sdkdir. See DISTCHECK_CONFIGURE_FLAGS in Makefile.am