summaryrefslogtreecommitdiff
path: root/autoconf/m4
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-12-13 09:37:41 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-12-13 09:37:41 +0000
commit145f8577dbd45510f2300cfe1bc858221ec5cfa0 (patch)
treefb27c98cd018ba59fe1ec5e1cee8cc11c18eb86a /autoconf/m4
parent12786d535d33f1313530b3b1975b365fc2045a17 (diff)
downloadllvm-145f8577dbd45510f2300cfe1bc858221ec5cfa0.tar.gz
llvm-145f8577dbd45510f2300cfe1bc858221ec5cfa0.tar.bz2
llvm-145f8577dbd45510f2300cfe1bc858221ec5cfa0.tar.xz
Minor syntactical change to make this a little easier to comprehend.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18888 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf/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 b077d1feed..e186af0101 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])