X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/a81071233128e8c31507b9aa6c5f70906ab523f5..026816664ff8283a55f91915843a8ff0ac5cf86c:/configure.ac diff --git a/configure.ac b/configure.ac index 74d8fced..688803af 100644 --- a/configure.ac +++ b/configure.ac @@ -161,16 +161,7 @@ AC_ARG_ENABLE([yacc], [AC_HELP_STRING([--disable-yacc], [do not build a yacc command or an -ly library])], , [enable_yacc=yes]) -case $enable_yacc in -yes) - YACC_SCRIPT=src/yacc - YACC_LIBRARY=lib/liby.a;; -*) - YACC_SCRIPT= - YACC_LIBRARY=;; -esac -AC_SUBST([YACC_SCRIPT]) -AC_SUBST([YACC_LIBRARY]) +AM_CONDITIONAL([ENABLE_YACC], [test "$enable_yacc" = yes]) # Checks for programs. AM_MISSING_PROG([DOT], [dot])