summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gmail.com>2011-05-14 02:43:58 +0200
committerChristoph Brill <egore911@egore911.de>2011-05-15 21:43:47 +0200
commit4d4c4d0ff5a381a5d574845cf72673f9fee43734 (patch)
treeb8d9957cc27860ecdead3660aba7e6a7894bf7e8 /configure.ac
parentec791423531a12129358a2e10b4f9b4721fcd761 (diff)
build: report a fatal error if XORG_DRIVER_CHECK_EXT is undefined.
Just to give a bit of an idea of what the problem is when configure fails later on. Signed-off-by: Diego Elio Pettenò <flameeyes@gmail.com> Signed-off-by: Christoph Brill <egore911@egore911.de>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index cda82fc..2fe5289 100644
--- a/configure.ac
+++ b/configure.ac
@@ -49,6 +49,8 @@ XORG_ENABLE_UNIT_TESTS
AC_CHECK_LIB([m], [rint])
# Store the list of server defined optional extensions in REQUIRED_MODULES
+m4_ifndef([XORG_DRIVER_CHECK_EXT],
+ [m4_fatal([must install xorg-server development files before running autoconf/autogen])])
XORG_DRIVER_CHECK_EXT(RANDR, randrproto)
# Obtain compiler/linker options for the Synaptics driver dependencies