projects
/
petitboot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7aa2d8a
)
configure: Add check for lex, yacc
author
Geoff Levand
<geoff@infradead.org>
Sat, 6 Jan 2018 00:47:39 +0000
(
00:47
+0000)
committer
Samuel Mendoza-Jonas
<sam@mendozajonas.com>
Wed, 10 Jan 2018 02:34:54 +0000
(13:34 +1100)
Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 3ed41eee7bdd984b73794f92158b1acfaab008cd..f394de6369cf2c3f54c67bf91d92b0ef52546e00 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-26,7
+26,13
@@
AS_IF([test "x$CFLAGS" = "x"], [AC_SUBST([CFLAGS], [""])])
AC_PROG_CC
AC_PROG_LEX
AC_PROG_CC
AC_PROG_LEX
+if test -z "$($LEX --version)"; then
+ AC_MSG_ERROR([[Please install flex/lex]])
+fi
AC_PROG_YACC
AC_PROG_YACC
+if test -z "$($YACC --version)"; then
+ AC_MSG_ERROR([[Please install bison/yacc]])
+fi
AC_PROG_INSTALL
AM_INIT_AUTOMAKE
AC_PROG_INSTALL
AM_INIT_AUTOMAKE