[PATCH xf86-video-nouveau 17/17] config: Suggest upstream to find macros in case they are missing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]<

 



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@xxxxxxxxx>
---
 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])
-- 
2.19.1

_______________________________________________
Nouveau mailing list
Nouveau@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/nouveau




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux