summaryrefslogtreecommitdiffstats
path: root/llvm
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
commita125162bb0306a92cce3f03e9e837f98f2cbb032 (patch)
tree47f7066993b38eb5ed56fe73b3b6dc73fcf09137 /llvm
parentff17d0439d37f410109bbd701504147f8d713c12 (diff)
downloadbcm5719-llvm-a125162bb0306a92cce3f03e9e837f98f2cbb032.tar.gz
bcm5719-llvm-a125162bb0306a92cce3f03e9e837f98f2cbb032.zip
Minor syntactical change to make this a little easier to comprehend.
llvm-svn: 18888
Diffstat (limited to 'llvm')
-rw-r--r--llvm/autoconf/m4/bison.m47
1 files changed, 2 insertions, 5 deletions
diff --git a/llvm/autoconf/m4/bison.m4 b/llvm/autoconf/m4/bison.m4
index b077d1feed1..e186af01012 100644
--- a/llvm/autoconf/m4/bison.m4
+++ b/llvm/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])
OpenPOWER on IntegriCloud