From: Emil Velikov <emil.velikov@xxxxxxxxxxxxx> Signed-off-by: Emil Velikov <emil.velikov at collabora.com> --- Noticed while skimming through the intel driver - haven't came across this while building the amdgpu driver. --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac index 7b7a4b1..91fbb7b 100644 --- a/configure.ac +++ b/configure.ac @@ -43,6 +43,12 @@ m4_ifndef([XORG_MACROS_VERSION], XORG_MACROS_VERSION(1.8) XORG_DEFAULT_OPTIONS +# Require X.Org server macros (i.e. XORG_DRIVER_CHECK_EXT) to check for required modules +m4_ifndef([XORG_DRIVER_CHECK_EXT], + [m4_fatal([must install xorg-server macros before running autoconf/autogen. + Hint: either install from source, git://anongit.freedesktop.org/xorg/xserver or, + depending on your distribution, try package 'xserver-xorg-dev' or 'xorg-x11-server-devel'])]) + # Initialize libtool AC_DISABLE_STATIC AC_PROG_LIBTOOL -- 2.16.0