瀏覽代碼

configure: Don't abort when Bison isn't there.

This reverts r4122 and r4116.
Ludovic Courtès 13 年之前
父節點
當前提交
dba0521de2
共有 1 個文件被更改,包括 1 次插入8 次删除
  1. 1 8
      configure.ac

+ 1 - 8
configure.ac

@@ -1121,14 +1121,7 @@ fi
 
 # Bison is used to generate the C expression parser.  The generated
 # parser is part of the distribution, though.
-AC_PATH_PROG([YACC], [yacc])
-if test "x$YACC" = "x"; then
-    AC_MSG_ERROR([Compiler yacc not available])
-fi
-AC_PATH_PROG([BISON], [bison])
-if test "x$BISON" = "x"; then
-    AC_MSG_ERROR([Compiler bison not available])
-fi
+AC_PROG_YACC
 
 AM_CONDITIONAL([BUILD_GCC_PLUGIN], [test "x$build_gcc_plugin" = "xyes"])
 AM_CONDITIONAL([HAVE_GUILE], [test "x$GUILE" != "x"])