Skip to content

Commit

Permalink
Don't die when lex or yacc can't be found.
Browse files Browse the repository at this point in the history
  • Loading branch information
pikhq committed Aug 6, 2017
1 parent cac5350 commit 5311413
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ tryyacc yacc
tryyacc ${CROSS_COMPILE}bison
tryyacc bison
printf "%s\n" "$YACC"
test -n "$YACC" || { echo "$0: cannot find yacc. Will try to use pre-provided source." ; exit 1 ; }
test -n "$YACC" || echo "$0: cannot find yacc. Will try to use pre-provided source."

#
# Find a lex to use
Expand All @@ -250,7 +250,7 @@ trylex lex
trylex ${CROSS_COMPILE}flex
trylex lex
printf "%s\n" "$LEX"
test -n "$LEX" || { echo "$0: cannot find lex. Will try to use pre-provided source." ; exit 1 ; }
test -n "$LEX" || echo "$0: cannot find lex. Will try to use pre-provided source."


#
Expand Down

0 comments on commit 5311413

Please sign in to comment.