Kaynağa Gözat

configure.ac: AC_PROG_YACC needs to be done even when gcc plugin is not enabled, otherwise make dist[check] fails

Nathalie Furmento 13 yıl önce
ebeveyn
işleme
94e279876b
1 değiştirilmiş dosya ile 4 ekleme ve 4 silme
  1. 4 4
      configure.ac

+ 4 - 4
configure.ac

@@ -1095,10 +1095,6 @@ if test "x$enable_gcc_plugin" = "xyes"; then
 
    build_gcc_plugin="yes"
 
-   # Bison is used to generate the C expression parser.  The generated
-   # parser is part of the distribution, though.
-   AC_PROG_YACC
-
    # GNU Guile 1.8/2.0 is used to run the test suite.
    AC_PATH_PROG([GUILE], [guile])
    if test "x$GUILE" != "x"; then
@@ -1111,6 +1107,10 @@ else
    run_gcc_plugin_test_suite="no"
 fi
 
+# Bison is used to generate the C expression parser.  The generated
+# parser is part of the distribution, though.
+AC_PROG_YACC
+
 AM_CONDITIONAL([BUILD_GCC_PLUGIN], [test "x$build_gcc_plugin" = "xyes"])
 AM_CONDITIONAL([HAVE_GUILE], [test "x$GUILE" != "x"])