summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRhys Kidd <rhyskidd@gmail.com>2019-01-21 00:52:23 -0500
committerIlia Mirkin <imirkin@alum.mit.edu>2019-01-21 21:29:55 -0500
commit8a90309401963aa43f89f91e204ec9cac5ade704 (patch)
tree99d5f3f5a16ec92896afb39f757f0beae7bf32f1
parentfcddd2c8e6e4a738bf28028e6d4ad5be34c8b2ae (diff)
downloadxorg-driver-xf86-video-nouveau-8a90309401963aa43f89f91e204ec9cac5ade704.tar.gz
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 <rhyskidd@gmail.com>
-rw-r--r--configure.ac8
1 files 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])