Hi, > AC_PROG_YACC > #if test x"$YACC" != x"yes"; then > # AC_MSG_ERROR([Please install bison before installing.]) > #fi > AC_PROG_LEX > if test "x$LEX" != xflex; then > AC_MSG_ERROR([Please install flex before installing.]) > fi ... > > The problem is, while running ./configure built from this file, do check > existence of YACC (as bison, when the 3 line following AC_PROG_YACC, it > is showing unary error), but is not exiting once error is detected. As, > the run, it shows: > checking for bison... no > checking for byacc... no Obviously, your check is wrong, YACC is never set to 'yes'. Have a peek into autoconf manual to figure out by yourself: http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Particular-Programs.html#Particular-Programs Regards, Andrejs Cainikovs. _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx https://lists.gnu.org/mailman/listinfo/autoconf