From 8a90309401963aa43f89f91e204ec9cac5ade704 Mon Sep 17 00:00:00 2001 From: Rhys Kidd Date: Mon, 21 Jan 2019 00:52:23 -0500 Subject: config: Suggest upstream to find macros in case they are missing Added upstream suggestion to error message in case xorg macros or xserver macros are missing. No actual package manager references in suggestion since these are 'user' and/or 'distribution' preferences. (Cherry picked from xf86-video-intel 90538ecfff9c324d61419f451d41d26ab026f232) Signed-off-by: Rhys Kidd --- configure.ac | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index edca095..1998f71 100644 --- a/configure.ac +++ b/configure.ac @@ -43,14 +43,18 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS m4_ifndef([XORG_MACROS_VERSION], - [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])]) + [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen + Hint: either install from source, https://gitlab.freedesktop.org/xorg/util/macros.git or, + depending on you distribution, try package 'xutils-dev' or 'xorg-x11-util-macros'])]) 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])]) + [m4_fatal([must install xorg-server macros before running autoconf/autogen + Hint: either install from source, https://gitlab.freedesktop.org/xorg/xserver.git or, + depending on your distribution, try package 'xserver-xorg-dev' or 'xorg-x11-server-devel'])]) # Initialize libtool LT_INIT([disable-static]) -- cgit v1.2.3