Index: configure.ac =================================================================== --- configure.ac (revision 183280) +++ configure.ac (working copy) @@ -157,6 +157,19 @@ fi AC_SUBST(DOWNLOAD) +if test main/ast_expr2.y -nt main/ast_expr2.c ; then + if test -d main/.svn ; then + AC_PATH_PROG([WC], [wc], :) + AC_PATH_PROG([SVN], [svn], :) + AC_PATH_PROG([TOUCH], [touch], :) + if test `${SVN} diff main/ast_expr2.y | ${WC} -l` -gt 0 ; then + AC_PATH_PROG([BISON], [bison], :) + else + ${TOUCH} main/ast_expr2.c + fi + fi +fi + AC_CHECK_TOOL([SOXMIX], [soxmix], [:]) if test "${SOXMIX}" != ":" ; then AC_DEFINE([HAVE_SOXMIX], 1, [Define to 1 if your system has soxmix application.])