diff options
author | Julien Danjou <julien@danjou.info> | 2008-11-07 11:02:08 +0100 |
---|---|---|
committer | Arnaud Fontaine <arnau@debian.org> | 2010-11-14 20:11:48 +0900 |
commit | f6666bd9e0f98b38bc94832380dcf8b8b6ec0504 (patch) | |
tree | 96d559acce4eb743a890bde6ce9180fee97c3227 | |
parent | 16896bf416a1c3927e75ff5abbdb934b8a048c3e (diff) | |
download | util-keysyms-f6666bd9e0f98b38bc94832380dcf8b8b6ec0504.tar.gz |
configure: stop if m4 is not found
Signed-off-by: Julien Danjou <julien@danjou.info>
-rw-r--r-- | configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 5e9556e..d3b5f72 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,10 @@ AC_INIT([xcb-util],0.3.0,[xcb@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]) |