diff options
author | Julien Danjou <julien@danjou.info> | 2008-11-07 11:02:08 +0100 |
---|---|---|
committer | Julien Danjou <julien@danjou.info> | 2008-11-07 11:02:08 +0100 |
commit | 685133ce53e3f6effde40464fe9f316723d28b14 (patch) | |
tree | d62ef55037623b0b7a90a24320f27a8a9a28a259 | |
parent | 282cfce82c0ecdb549c5d0a33558d06489d39f6b (diff) |
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 6e6968a..0d85f37 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]) |