summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorU. Artie Eoff <ullysses.a.eoff@intel.com>2010-12-21 17:42:38 -0700
committerChris Wilson <chris@chris-wilson.co.uk>2011-01-04 10:44:46 +0000
commit90538ecfff9c324d61419f451d41d26ab026f232 (patch)
tree640479380673e7be947dbbf8b8103f3dd9244087
parent6d50f5a140dbefdf86eb25d18d08473aa7e42acc (diff)
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. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--configure.ac7
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index e6517e65..ddb37a41 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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