Skip to content

Commit

Permalink
configure.ac: fail if flex is not found
Browse files Browse the repository at this point in the history
We use the same mechanism in PCSC 3f89340785934785cf1490d3e788eefb25c50a69
  • Loading branch information
LudovicRousseau committed Mar 2, 2023
1 parent 5469f5c commit eec7cdf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_MAKE_SET
AC_PROG_LN_S
AM_PROG_LEX
AC_PROG_LEX([noyywrap])
if test $LEX = ":"
then
AC_MSG_ERROR([no lex or flex found])
fi
AM_PROG_AR
PKG_PROG_PKG_CONFIG

Expand Down

0 comments on commit eec7cdf

Please sign in to comment.