[Xcb-commit] configure.ac
Julien Danjou
jdanjou at kemper.freedesktop.org
Fri Nov 7 02:03:01 PST 2008
configure.ac | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit aed42bbb2266540f9725e86825abefe3debd82e1
Author: Julien Danjou <julien at danjou.info>
Date: Fri Nov 7 11:02:08 2008 +0100
configure: stop if m4 is not found
Signed-off-by: Julien Danjou <julien at danjou.info>
diff --git a/configure.ac b/configure.ac
index 6e6968a..0d85f37 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,7 +3,10 @@ AC_INIT([xcb-util],0.3.0,[xcb at lists.freedesktop.org])
AC_CONFIG_SRCDIR([Makefile.am])
AM_INIT_AUTOMAKE([foreign dist-bzip2])
-AC_CHECK_PROGS(M4, m4)
+AC_CHECK_PROGS(M4, m4, [no])
+if test $M4 = "no"; then
+ AC_MSG_ERROR([Can't find m4, please install it and try again])
+fi
AC_CHECK_PROGS(GPERF, gperf, [no])
if test $GPERF = "no"; then
AC_MSG_ERROR([Can't find gperf, please install it and try again])
More information about the xcb-commit
mailing list