summaryrefslogtreecommitdiffstats
path: root/autoconf/m4/bison.m4
diff options
context:
space:
mode:
Diffstat (limited to 'autoconf/m4/bison.m4')
-rw-r--r--autoconf/m4/bison.m47
1 files changed, 2 insertions, 5 deletions
diff --git a/autoconf/m4/bison.m4 b/autoconf/m4/bison.m4
index b077d1f..e186af0 100644
--- a/autoconf/m4/bison.m4
+++ b/autoconf/m4/bison.m4
@@ -6,12 +6,9 @@
# 2) BISON is set to bison
#
AC_DEFUN([AC_PROG_BISON],
-[AC_CACHE_CHECK([],[llvm_cv_has_bison],
-[AC_PROG_YACC()
-])
+[AC_CACHE_CHECK([],[llvm_cv_has_bison],[AC_PROG_YACC()])
if test "$YACC" != "bison -y"; then
AC_MSG_ERROR([bison not found but required])
else
AC_SUBST(BISON,[bison],[location of bison])
-fi
-])
+fi])