Skip to contentSkip to conversation

configure: suggest upstream to find macros in case they're missing.

PATCH In review U. Artie Eoff 2 participants 2 messages Dec 22, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configure: suggest upstream to find macros in case they're missing.

added upstream suggestion to error message in case xorg macros or xserver macros are missing. removed package manager references in suggestion since these are 'user' and/or 'distribution' preferences.

---
 configure.ac |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
configure.ac +5 -2
index e6517e6..ddb37a4 100644
@@ -37,14 +37,17 @@ AM_MAINTAINER_MODE
 # 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.
-  Try "apt-get install xutils-dev" or "yum install xorg-x11-util-macros"])])
+  Hint: either install from source, git://anongit.freedesktop.org/xorg/util/macros 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.
-  Try "apt-get install xserver-xorg-dev" or "yum install xorg-x11-server-devel"])])
+  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
Signature · 1 line
1.7.3.3
#1 lore raw
Quoted 3 lines · U. Artie Eoff

added upstream suggestion to error message in case xorg macros or xserver macros are missing. removed package manager references in suggestion since these are 'user' and/or 'distribution' preferences.

Yeah...I'm personally not super excited about having distribution-specific instructions in configure. Maybe that's partly because they don't apply to my distribution... :) But it's whatever you guys want to do...not a big deal.