Minor syntactical change to make this a little easier to comprehend.

llvm-svn: 18888
This commit is contained in:
Reid Spencer 2004-12-13 09:37:41 +00:00
parent ff17d0439d
commit a125162bb0
1 changed files with 2 additions and 5 deletions

View File

@ -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])